@dhis2-ui/tooltip
Advanced tools
Comparing version 6.10.0 to 6.10.1
@@ -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. */ |
{ | ||
"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" |
73335
1222
+ Added@dhis2-ui/layer@6.10.1(transitive)
+ Added@dhis2-ui/popper@6.10.1(transitive)
+ Added@dhis2/ui-constants@6.10.1(transitive)
- Removed@dhis2-ui/layer@6.10.0(transitive)
- Removed@dhis2-ui/popper@6.10.0(transitive)
- Removed@dhis2/ui-constants@6.10.0(transitive)
Updated@dhis2-ui/layer@6.10.1
Updated@dhis2-ui/popper@6.10.1
Updated@dhis2/ui-constants@6.10.1