New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dhis2-ui/tooltip

Package Overview
Dependencies
Maintainers
2
Versions
328
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dhis2-ui/tooltip - npm Package Compare versions

Comparing version 6.10.0 to 6.10.1

23

build/cjs/tooltip.js

@@ -56,12 +56,2 @@ "use strict";

};
/**
* @module
* @param {Tooltip.PropTypes} props
* @returns {React.Component}
*
* @example import { Tooltip } from '@dhis2/ui-core'
*
* @see Specification: {@link https://github.com/dhis2/design-system/blob/master/molecules/tooltip.md|Design system}
* @see Live demo: {@link /demo/?path=/story/tooltips--default-fluid|Storybook}
*/

@@ -133,15 +123,2 @@ const Tooltip = ({

};
/**
* @typedef {Object} PropTypes
* @static
* @prop {Node|function} [children]
* @prop {string} [className]
* @prop {number} [closeDelay=400] Time (in ms) until tooltip closes after mouse out
* @prop {Node} [content]
* @prop {string} [dataTest=dhis2-uicore-tooltip]
* @prop {number} [maxWidth=300]
* @prop {number} [openDelay=200] Time (in ms) until tooltip opens after mouse over
* @prop {('top'|'bottom'|'right'|'left')} [placement=top]
*/
Tooltip.propTypes = {

@@ -148,0 +125,0 @@ /** If child is a function, it's called with `{ onMouseOver, onMouseOut, ref }` args to apply to a reference element. If child is a node, it is wrapped in a `span` with the appropriate attributes and handlers. */

@@ -35,12 +35,2 @@ import _JSXStyle from "styled-jsx/style";

};
/**
* @module
* @param {Tooltip.PropTypes} props
* @returns {React.Component}
*
* @example import { Tooltip } from '@dhis2/ui-core'
*
* @see Specification: {@link https://github.com/dhis2/design-system/blob/master/molecules/tooltip.md|Design system}
* @see Live demo: {@link /demo/?path=/story/tooltips--default-fluid|Storybook}
*/

@@ -111,15 +101,2 @@ const Tooltip = ({

};
/**
* @typedef {Object} PropTypes
* @static
* @prop {Node|function} [children]
* @prop {string} [className]
* @prop {number} [closeDelay=400] Time (in ms) until tooltip closes after mouse out
* @prop {Node} [content]
* @prop {string} [dataTest=dhis2-uicore-tooltip]
* @prop {number} [maxWidth=300]
* @prop {number} [openDelay=200] Time (in ms) until tooltip opens after mouse over
* @prop {('top'|'bottom'|'right'|'left')} [placement=top]
*/
Tooltip.propTypes = {

@@ -126,0 +103,0 @@ /** If child is a function, it's called with `{ onMouseOver, onMouseOut, ref }` args to apply to a reference element. If child is a node, it is wrapped in a `span` with the appropriate attributes and handlers. */

8

package.json
{
"name": "@dhis2-ui/tooltip",
"version": "6.10.0",
"version": "6.10.1",
"description": "UI Tooltip",

@@ -33,6 +33,6 @@ "repository": {

"dependencies": {
"@dhis2-ui/layer": "6.10.0",
"@dhis2-ui/popper": "6.10.0",
"@dhis2-ui/layer": "6.10.1",
"@dhis2-ui/popper": "6.10.1",
"@dhis2/prop-types": "^1.6.4",
"@dhis2/ui-constants": "6.10.0",
"@dhis2/ui-constants": "6.10.1",
"classnames": "^2.3.1",

@@ -39,0 +39,0 @@ "prop-types": "^15.7.2"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc