@atlaskit/tooltip 19.0.3 → 19.1.1
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 +18 -0
- package/dist/cjs/tooltip-container.compiled.css +5 -2
- package/dist/cjs/tooltip-container.js +2 -3
- package/dist/cjs/tooltip.js +1 -1
- package/dist/es2019/tooltip-container.compiled.css +5 -2
- package/dist/es2019/tooltip-container.js +2 -2
- package/dist/es2019/tooltip.js +1 -1
- package/dist/esm/tooltip-container.compiled.css +5 -2
- package/dist/esm/tooltip-container.js +2 -3
- package/dist/esm/tooltip.js +1 -1
- package/dist/types/tooltip-container.d.ts +1 -1
- package/dist/types/tooltip-primitive.d.ts +1 -1
- package/dist/types/tooltip.d.ts +2 -2
- package/dist/types-ts4.5/tooltip-container.d.ts +1 -1
- package/dist/types-ts4.5/tooltip-primitive.d.ts +1 -1
- package/dist/types-ts4.5/tooltip.d.ts +2 -2
- package/package.json +13 -13
- package/__perf__/default.tsx +0 -11
- package/__perf__/examples.tsx +0 -59
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/tooltip
|
|
2
2
|
|
|
3
|
+
## 19.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 19.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
14
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
15
|
+
Update `React` from v16 to v18
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 19.0.3
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
|
-
._1yt4nmcz{padding:var(--_a5vo3x)}
|
|
3
2
|
._2rko1sit{border-radius:var(--ds-border-radius,3px)}
|
|
4
3
|
._152tze3t{inset-block-start:var(--ds-space-0,0)}
|
|
5
4
|
._18m915vq{overflow-y:hidden}
|
|
6
5
|
._1bto1l2s{text-overflow:ellipsis}
|
|
7
6
|
._1e02ze3t{inset-inline-start:var(--ds-space-0,0)}
|
|
8
7
|
._1i4q1hna{overflow-wrap:break-word}
|
|
8
|
+
._1q51v77o{padding-block-start:var(--ds-space-025,2px)}
|
|
9
9
|
._1reo15vq{overflow-x:hidden}
|
|
10
|
+
._85i5v77o{padding-block-end:var(--ds-space-025,2px)}
|
|
10
11
|
._bfhkpioe{background-color:var(--_yr7xfv)}
|
|
12
|
+
._bozg12x7{padding-inline-start:var(--ds-space-075,6px)}
|
|
11
13
|
._o5721q9c{white-space:nowrap}
|
|
12
14
|
._p12f1pna{max-width:420px}
|
|
13
15
|
._p12fp3fh{max-width:15pc}
|
|
14
16
|
._slp31hna{word-wrap:break-word}
|
|
15
17
|
._syaz1i9p{color:var(--_ywovvi)}
|
|
16
|
-
._vchhusvi{box-sizing:border-box}
|
|
18
|
+
._vchhusvi{box-sizing:border-box}
|
|
19
|
+
._y4ti12x7{padding-inline-end:var(--ds-space-075,6px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* tooltip-container.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* tooltip-container.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -41,14 +41,13 @@ var TooltipContainer = /*#__PURE__*/(0, _react.forwardRef)(function TooltipConta
|
|
|
41
41
|
,
|
|
42
42
|
|
|
43
43
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
44
|
-
className: (0, _runtime.ax)(["
|
|
44
|
+
className: (0, _runtime.ax)(["_2rko1sit _11c8qk37 _vchhusvi _p12fp3fh _bfhkpioe _syaz1i9p _152tze3t _1e02ze3t _1i4q1hna _85i5v77o _1q51v77o _y4ti12x7 _bozg12x7 _slp31hna", truncate && "_1reo15vq _18m915vq _p12f1pna _1bto1l2s _o5721q9c", className]),
|
|
45
45
|
placement: placement,
|
|
46
46
|
testId: testId,
|
|
47
47
|
id: id,
|
|
48
48
|
onMouseOut: onMouseOut,
|
|
49
49
|
onMouseOver: onMouseOver,
|
|
50
50
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
51
|
-
"--_a5vo3x": (0, _runtime.ix)("var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-075, 6px)")),
|
|
52
51
|
"--_yr7xfv": (0, _runtime.ix)("var(--ds-background-neutral-bold, ".concat(_colors.N800, ")")),
|
|
53
52
|
"--_ywovvi": (0, _runtime.ix)("var(--ds-text-inverse, ".concat(_colors.N0, ")"))
|
|
54
53
|
})
|
package/dist/cjs/tooltip.js
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
|
-
._1yt41ppf{padding:var(--ds-space-025,2px) var(--ds-space-075,6px)}
|
|
3
2
|
._2rko1sit{border-radius:var(--ds-border-radius,3px)}
|
|
4
3
|
._152tze3t{inset-block-start:var(--ds-space-0,0)}
|
|
5
4
|
._18m915vq{overflow-y:hidden}
|
|
6
5
|
._1bto1l2s{text-overflow:ellipsis}
|
|
7
6
|
._1e02ze3t{inset-inline-start:var(--ds-space-0,0)}
|
|
8
7
|
._1i4q1hna{overflow-wrap:break-word}
|
|
8
|
+
._1q51v77o{padding-block-start:var(--ds-space-025,2px)}
|
|
9
9
|
._1reo15vq{overflow-x:hidden}
|
|
10
|
+
._85i5v77o{padding-block-end:var(--ds-space-025,2px)}
|
|
10
11
|
._bfhkgkf6{background-color:var(--ds-background-neutral-bold,#172b4d)}
|
|
12
|
+
._bozg12x7{padding-inline-start:var(--ds-space-075,6px)}
|
|
11
13
|
._o5721q9c{white-space:nowrap}
|
|
12
14
|
._p12f1pna{max-width:420px}
|
|
13
15
|
._p12fp3fh{max-width:15pc}
|
|
14
16
|
._slp31hna{word-wrap:break-word}
|
|
15
17
|
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
16
|
-
._vchhusvi{box-sizing:border-box}
|
|
18
|
+
._vchhusvi{box-sizing:border-box}
|
|
19
|
+
._y4ti12x7{padding-inline-end:var(--ds-space-075,6px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* tooltip-container.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* tooltip-container.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import "./tooltip-container.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -30,7 +30,7 @@ const TooltipContainer = /*#__PURE__*/forwardRef(function TooltipContainer({
|
|
|
30
30
|
style: style
|
|
31
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
32
32
|
,
|
|
33
|
-
className: ax(["
|
|
33
|
+
className: ax(["_2rko1sit _11c8qk37 _vchhusvi _p12fp3fh _bfhkgkf6 _syaz15cr _152tze3t _1e02ze3t _1i4q1hna _85i5v77o _1q51v77o _y4ti12x7 _bozg12x7 _slp31hna", truncate && "_1reo15vq _18m915vq _p12f1pna _1bto1l2s _o5721q9c", className]),
|
|
34
34
|
placement: placement,
|
|
35
35
|
testId: testId,
|
|
36
36
|
id: id,
|
package/dist/es2019/tooltip.js
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
|
|
2
|
-
._1yt4nmcz{padding:var(--_a5vo3x)}
|
|
3
2
|
._2rko1sit{border-radius:var(--ds-border-radius,3px)}
|
|
4
3
|
._152tze3t{inset-block-start:var(--ds-space-0,0)}
|
|
5
4
|
._18m915vq{overflow-y:hidden}
|
|
6
5
|
._1bto1l2s{text-overflow:ellipsis}
|
|
7
6
|
._1e02ze3t{inset-inline-start:var(--ds-space-0,0)}
|
|
8
7
|
._1i4q1hna{overflow-wrap:break-word}
|
|
8
|
+
._1q51v77o{padding-block-start:var(--ds-space-025,2px)}
|
|
9
9
|
._1reo15vq{overflow-x:hidden}
|
|
10
|
+
._85i5v77o{padding-block-end:var(--ds-space-025,2px)}
|
|
10
11
|
._bfhkpioe{background-color:var(--_yr7xfv)}
|
|
12
|
+
._bozg12x7{padding-inline-start:var(--ds-space-075,6px)}
|
|
11
13
|
._o5721q9c{white-space:nowrap}
|
|
12
14
|
._p12f1pna{max-width:420px}
|
|
13
15
|
._p12fp3fh{max-width:15pc}
|
|
14
16
|
._slp31hna{word-wrap:break-word}
|
|
15
17
|
._syaz1i9p{color:var(--_ywovvi)}
|
|
16
|
-
._vchhusvi{box-sizing:border-box}
|
|
18
|
+
._vchhusvi{box-sizing:border-box}
|
|
19
|
+
._y4ti12x7{padding-inline-end:var(--ds-space-075,6px)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* tooltip-container.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* tooltip-container.tsx generated by @compiled/babel-plugin v0.36.0 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./tooltip-container.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -31,14 +31,13 @@ var TooltipContainer = /*#__PURE__*/forwardRef(function TooltipContainer(_ref, r
|
|
|
31
31
|
,
|
|
32
32
|
|
|
33
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
34
|
-
className: ax(["
|
|
34
|
+
className: ax(["_2rko1sit _11c8qk37 _vchhusvi _p12fp3fh _bfhkpioe _syaz1i9p _152tze3t _1e02ze3t _1i4q1hna _85i5v77o _1q51v77o _y4ti12x7 _bozg12x7 _slp31hna", truncate && "_1reo15vq _18m915vq _p12f1pna _1bto1l2s _o5721q9c", className]),
|
|
35
35
|
placement: placement,
|
|
36
36
|
testId: testId,
|
|
37
37
|
id: id,
|
|
38
38
|
onMouseOut: onMouseOut,
|
|
39
39
|
onMouseOver: onMouseOver,
|
|
40
40
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
41
|
-
"--_a5vo3x": ix("var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-075, 6px)")),
|
|
42
41
|
"--_yr7xfv": ix("var(--ds-background-neutral-bold, ".concat(N800, ")")),
|
|
43
42
|
"--_ywovvi": ix("var(--ds-text-inverse, ".concat(N0, ")"))
|
|
44
43
|
})
|
package/dist/esm/tooltip.js
CHANGED
|
@@ -6,5 +6,5 @@ export interface TooltipContainerProps extends TooltipPrimitiveProps {
|
|
|
6
6
|
* Used as the default tooltip container component for the exported `Tooltip` component.
|
|
7
7
|
* Adds some styles to the tooltip primitive.
|
|
8
8
|
*/
|
|
9
|
-
declare const TooltipContainer: import("react").ForwardRefExoticComponent<
|
|
9
|
+
declare const TooltipContainer: import("react").ForwardRefExoticComponent<Omit<TooltipContainerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
10
|
export default TooltipContainer;
|
|
@@ -19,5 +19,5 @@ export interface TooltipPrimitiveProps {
|
|
|
19
19
|
/**
|
|
20
20
|
* The lower level component for rendering a tooltip.
|
|
21
21
|
*/
|
|
22
|
-
declare const TooltipPrimitive: import("react").ForwardRefExoticComponent<
|
|
22
|
+
declare const TooltipPrimitive: import("react").ForwardRefExoticComponent<Omit<TooltipPrimitiveProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
23
|
export default TooltipPrimitive;
|
package/dist/types/tooltip.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type TooltipProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* __Tooltip__
|
|
5
5
|
*
|
|
6
6
|
* A tooltip is a floating, non-actionable label used to explain a user interface element or feature.
|
|
7
7
|
*/
|
|
8
|
-
declare function Tooltip({ children, position, mousePosition, content, truncate, component: Container, tag: TargetContainer, testId, delay, onShow, onHide, canAppear, hideTooltipOnClick, hideTooltipOnMouseDown, analyticsContext, strategy, ignoreTooltipPointerEvents, isScreenReaderAnnouncementDisabled, }: TooltipProps): JSX.Element;
|
|
8
|
+
declare function Tooltip({ children, position, mousePosition, content, truncate, component: Container, tag: TargetContainer, testId, delay, onShow, onHide, canAppear, hideTooltipOnClick, hideTooltipOnMouseDown, analyticsContext, strategy, ignoreTooltipPointerEvents, isScreenReaderAnnouncementDisabled, }: TooltipProps): React.JSX.Element;
|
|
9
9
|
declare namespace Tooltip {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
|
@@ -6,5 +6,5 @@ export interface TooltipContainerProps extends TooltipPrimitiveProps {
|
|
|
6
6
|
* Used as the default tooltip container component for the exported `Tooltip` component.
|
|
7
7
|
* Adds some styles to the tooltip primitive.
|
|
8
8
|
*/
|
|
9
|
-
declare const TooltipContainer: import("react").ForwardRefExoticComponent<
|
|
9
|
+
declare const TooltipContainer: import("react").ForwardRefExoticComponent<Omit<TooltipContainerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
10
|
export default TooltipContainer;
|
|
@@ -19,5 +19,5 @@ export interface TooltipPrimitiveProps {
|
|
|
19
19
|
/**
|
|
20
20
|
* The lower level component for rendering a tooltip.
|
|
21
21
|
*/
|
|
22
|
-
declare const TooltipPrimitive: import("react").ForwardRefExoticComponent<
|
|
22
|
+
declare const TooltipPrimitive: import("react").ForwardRefExoticComponent<Omit<TooltipPrimitiveProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
23
|
export default TooltipPrimitive;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type TooltipProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* __Tooltip__
|
|
5
5
|
*
|
|
6
6
|
* A tooltip is a floating, non-actionable label used to explain a user interface element or feature.
|
|
7
7
|
*/
|
|
8
|
-
declare function Tooltip({ children, position, mousePosition, content, truncate, component: Container, tag: TargetContainer, testId, delay, onShow, onHide, canAppear, hideTooltipOnClick, hideTooltipOnMouseDown, analyticsContext, strategy, ignoreTooltipPointerEvents, isScreenReaderAnnouncementDisabled, }: TooltipProps): JSX.Element;
|
|
8
|
+
declare function Tooltip({ children, position, mousePosition, content, truncate, component: Container, tag: TargetContainer, testId, delay, onShow, onHide, canAppear, hideTooltipOnClick, hideTooltipOnMouseDown, analyticsContext, strategy, ignoreTooltipPointerEvents, isScreenReaderAnnouncementDisabled, }: TooltipProps): React.JSX.Element;
|
|
9
9
|
declare namespace Tooltip {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tooltip",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.1.1",
|
|
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/"
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"./utilities": "./src/utilities.ts"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@atlaskit/analytics-next": "^10.
|
|
45
|
-
"@atlaskit/ds-lib": "^3.
|
|
46
|
-
"@atlaskit/layering": "^1.
|
|
47
|
-
"@atlaskit/motion": "^1.
|
|
48
|
-
"@atlaskit/popper": "^6.
|
|
49
|
-
"@atlaskit/portal": "^4.
|
|
50
|
-
"@atlaskit/theme": "^
|
|
51
|
-
"@atlaskit/tokens": "^3.
|
|
44
|
+
"@atlaskit/analytics-next": "^10.3.0",
|
|
45
|
+
"@atlaskit/ds-lib": "^3.5.0",
|
|
46
|
+
"@atlaskit/layering": "^1.1.0",
|
|
47
|
+
"@atlaskit/motion": "^1.10.0",
|
|
48
|
+
"@atlaskit/popper": "^6.4.0",
|
|
49
|
+
"@atlaskit/portal": "^4.11.0",
|
|
50
|
+
"@atlaskit/theme": "^15.0.0",
|
|
51
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@compiled/react": "^0.18.1",
|
|
54
54
|
"@emotion/react": "^11.7.1",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@af/accessibility-testing": "*",
|
|
63
63
|
"@af/integration-testing": "*",
|
|
64
|
-
"@atlaskit/button": "^20.
|
|
65
|
-
"@atlaskit/css": "^0.
|
|
64
|
+
"@atlaskit/button": "^20.5.0",
|
|
65
|
+
"@atlaskit/css": "^0.8.0",
|
|
66
66
|
"@atlaskit/ssr": "*",
|
|
67
67
|
"@atlaskit/visual-regression": "*",
|
|
68
68
|
"@testing-library/dom": "^10.1.0",
|
|
69
|
-
"@testing-library/react": "^
|
|
69
|
+
"@testing-library/react": "^13.4.0",
|
|
70
70
|
"@types/react-redux": "^5.0.0",
|
|
71
71
|
"jest-in-case": "^1.0.2",
|
|
72
|
-
"react-dom": "^
|
|
72
|
+
"react-dom": "^18.2.0",
|
|
73
73
|
"react-redux": "^5.1.2",
|
|
74
74
|
"storybook-addon-performance": "^0.17.3",
|
|
75
75
|
"typescript": "~5.4.2"
|
package/__perf__/default.tsx
DELETED
package/__perf__/examples.tsx
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import React, { useLayoutEffect } from 'react';
|
|
2
|
-
|
|
3
|
-
import { findByTestId, fireEvent } from '@testing-library/dom';
|
|
4
|
-
import { type InteractionTaskArgs, type PublicInteractionTask } from 'storybook-addon-performance';
|
|
5
|
-
|
|
6
|
-
import Tooltip from '../src';
|
|
7
|
-
|
|
8
|
-
function Child() {
|
|
9
|
-
return <div id="tooltip-reference">New tooltip</div>;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
function DefaultTooltip() {
|
|
13
|
-
useLayoutEffect(() => {}, []);
|
|
14
|
-
return (
|
|
15
|
-
<Tooltip delay={0} content="Hello World" testId="tooltip">
|
|
16
|
-
<Child />
|
|
17
|
-
</Tooltip>
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const tooltip = () => <DefaultTooltip />;
|
|
22
|
-
|
|
23
|
-
const interactionTasks: PublicInteractionTask[] = [
|
|
24
|
-
{
|
|
25
|
-
name: 'Display tooltip',
|
|
26
|
-
description: 'Hover over div and wait for tooltip to load',
|
|
27
|
-
run: async ({ container, controls }: InteractionTaskArgs): Promise<void> => {
|
|
28
|
-
const element: HTMLElement | null = container.querySelector('#tooltip-reference');
|
|
29
|
-
if (!element) {
|
|
30
|
-
throw new Error('no div found');
|
|
31
|
-
}
|
|
32
|
-
const parent: HTMLElement | null = container.parentElement;
|
|
33
|
-
if (parent == null) {
|
|
34
|
-
throw new Error('Could not find parent element');
|
|
35
|
-
}
|
|
36
|
-
const tooltip = parent.querySelector('[data-testid="tooltip"]');
|
|
37
|
-
if (tooltip != null) {
|
|
38
|
-
throw new Error('Unexpected tooltip found');
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
await controls.time(async () => {
|
|
42
|
-
fireEvent.mouseOver(element);
|
|
43
|
-
|
|
44
|
-
await findByTestId(parent, 'tooltip');
|
|
45
|
-
});
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
];
|
|
49
|
-
|
|
50
|
-
tooltip.story = {
|
|
51
|
-
name: 'Default Tooltip',
|
|
52
|
-
parameters: {
|
|
53
|
-
performance: {
|
|
54
|
-
interactions: interactionTasks,
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export default tooltip;
|