@atlaskit/tooltip 19.1.1 → 19.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/tooltip.js +2 -3
- package/dist/es2019/tooltip.js +2 -3
- package/dist/esm/tooltip.js +2 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/cjs/tooltip.js
CHANGED
|
@@ -17,7 +17,6 @@ var _useCloseOnEscapePress = _interopRequireDefault(require("@atlaskit/ds-lib/us
|
|
|
17
17
|
var _useStableRef = _interopRequireDefault(require("@atlaskit/ds-lib/use-stable-ref"));
|
|
18
18
|
var _openLayerObserver = require("@atlaskit/layering/experimental/open-layer-observer");
|
|
19
19
|
var _motion = require("@atlaskit/motion");
|
|
20
|
-
var _durations = require("@atlaskit/motion/durations");
|
|
21
20
|
var _popper = require("@atlaskit/popper");
|
|
22
21
|
var _portal = _interopRequireDefault(require("@atlaskit/portal"));
|
|
23
22
|
var _constants = require("@atlaskit/theme/constants");
|
|
@@ -34,7 +33,7 @@ var tooltipZIndex = _constants.layers.tooltip();
|
|
|
34
33
|
var analyticsAttributes = {
|
|
35
34
|
componentName: 'tooltip',
|
|
36
35
|
packageName: "@atlaskit/tooltip",
|
|
37
|
-
packageVersion: "19.1.
|
|
36
|
+
packageVersion: "19.1.2"
|
|
38
37
|
};
|
|
39
38
|
|
|
40
39
|
// Inverts motion direction
|
|
@@ -493,7 +492,7 @@ function Tooltip(_ref) {
|
|
|
493
492
|
entranceDirection: direction,
|
|
494
493
|
exitDirection: direction,
|
|
495
494
|
onFinish: onAnimationFinished,
|
|
496
|
-
duration: state
|
|
495
|
+
duration: state !== 'show-immediate' ? 'medium' : 'none'
|
|
497
496
|
}, function (_ref6) {
|
|
498
497
|
var className = _ref6.className;
|
|
499
498
|
return /*#__PURE__*/_react.default.createElement(Container, {
|
package/dist/es2019/tooltip.js
CHANGED
|
@@ -7,7 +7,6 @@ import useCloseOnEscapePress from '@atlaskit/ds-lib/use-close-on-escape-press';
|
|
|
7
7
|
import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
|
|
8
8
|
import { useNotifyOpenLayerObserver } from '@atlaskit/layering/experimental/open-layer-observer';
|
|
9
9
|
import { ExitingPersistence, FadeIn } from '@atlaskit/motion';
|
|
10
|
-
import { mediumDurationMs } from '@atlaskit/motion/durations';
|
|
11
10
|
import { Popper } from '@atlaskit/popper';
|
|
12
11
|
import Portal from '@atlaskit/portal';
|
|
13
12
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -20,7 +19,7 @@ const tooltipZIndex = layers.tooltip();
|
|
|
20
19
|
const analyticsAttributes = {
|
|
21
20
|
componentName: 'tooltip',
|
|
22
21
|
packageName: "@atlaskit/tooltip",
|
|
23
|
-
packageVersion: "19.1.
|
|
22
|
+
packageVersion: "19.1.2"
|
|
24
23
|
};
|
|
25
24
|
|
|
26
25
|
// Inverts motion direction
|
|
@@ -468,7 +467,7 @@ function Tooltip({
|
|
|
468
467
|
entranceDirection: direction,
|
|
469
468
|
exitDirection: direction,
|
|
470
469
|
onFinish: onAnimationFinished,
|
|
471
|
-
duration: state
|
|
470
|
+
duration: state !== 'show-immediate' ? 'medium' : 'none'
|
|
472
471
|
}, ({
|
|
473
472
|
className
|
|
474
473
|
}) => /*#__PURE__*/React.createElement(Container, {
|
package/dist/esm/tooltip.js
CHANGED
|
@@ -11,7 +11,6 @@ import useCloseOnEscapePress from '@atlaskit/ds-lib/use-close-on-escape-press';
|
|
|
11
11
|
import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
|
|
12
12
|
import { useNotifyOpenLayerObserver } from '@atlaskit/layering/experimental/open-layer-observer';
|
|
13
13
|
import { ExitingPersistence, FadeIn } from '@atlaskit/motion';
|
|
14
|
-
import { mediumDurationMs } from '@atlaskit/motion/durations';
|
|
15
14
|
import { Popper } from '@atlaskit/popper';
|
|
16
15
|
import Portal from '@atlaskit/portal';
|
|
17
16
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -24,7 +23,7 @@ var tooltipZIndex = layers.tooltip();
|
|
|
24
23
|
var analyticsAttributes = {
|
|
25
24
|
componentName: 'tooltip',
|
|
26
25
|
packageName: "@atlaskit/tooltip",
|
|
27
|
-
packageVersion: "19.1.
|
|
26
|
+
packageVersion: "19.1.2"
|
|
28
27
|
};
|
|
29
28
|
|
|
30
29
|
// Inverts motion direction
|
|
@@ -483,7 +482,7 @@ function Tooltip(_ref) {
|
|
|
483
482
|
entranceDirection: direction,
|
|
484
483
|
exitDirection: direction,
|
|
485
484
|
onFinish: onAnimationFinished,
|
|
486
|
-
duration: state
|
|
485
|
+
duration: state !== 'show-immediate' ? 'medium' : 'none'
|
|
487
486
|
}, function (_ref6) {
|
|
488
487
|
var className = _ref6.className;
|
|
489
488
|
return /*#__PURE__*/React.createElement(Container, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tooltip",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.2",
|
|
4
4
|
"description": "A tooltip is a floating, non-actionable label used to explain a user interface element or feature.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/analytics-next": "^10.3.0",
|
|
45
45
|
"@atlaskit/ds-lib": "^3.5.0",
|
|
46
46
|
"@atlaskit/layering": "^1.1.0",
|
|
47
|
-
"@atlaskit/motion": "^
|
|
47
|
+
"@atlaskit/motion": "^2.0.0",
|
|
48
48
|
"@atlaskit/popper": "^6.4.0",
|
|
49
49
|
"@atlaskit/portal": "^4.11.0",
|
|
50
50
|
"@atlaskit/theme": "^15.0.0",
|