@atlaskit/tooltip 19.0.1 → 19.0.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 +8 -0
- package/dist/cjs/tooltip.js +1 -1
- package/dist/es2019/tooltip.js +1 -1
- 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/types.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/types.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/tooltip
|
|
2
2
|
|
|
3
|
+
## 19.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#103594](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103594)
|
|
8
|
+
[`7b1a8574e9c29`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7b1a8574e9c29) -
|
|
9
|
+
Fix or temporarily ignore TypeScript errors that occur in internal React 18 suites.
|
|
10
|
+
|
|
3
11
|
## 19.0.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cjs/tooltip.js
CHANGED
package/dist/es2019/tooltip.js
CHANGED
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<Pick<TooltipContainerProps, "
|
|
9
|
+
declare const TooltipContainer: import("react").ForwardRefExoticComponent<Pick<TooltipContainerProps, "truncate" | "style" | "className" | "children" | "testId" | "placement" | "onMouseOver" | "onMouseOut" | "id"> & 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<Pick<TooltipPrimitiveProps, "
|
|
22
|
+
declare const TooltipPrimitive: import("react").ForwardRefExoticComponent<Pick<TooltipPrimitiveProps, "truncate" | "style" | "className" | "children" | "testId" | "placement" | "onMouseOver" | "onMouseOut" | "id"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
23
|
export default TooltipPrimitive;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface TooltipProps {
|
|
|
34
34
|
/**
|
|
35
35
|
* Extend `TooltipPrimitive` to create your own tooltip and pass it as component.
|
|
36
36
|
*/
|
|
37
|
-
component?: ComponentType<TooltipPrimitiveProps
|
|
37
|
+
component?: ComponentType<TooltipPrimitiveProps> | React.ForwardRefExoticComponent<React.PropsWithoutRef<TooltipPrimitiveProps> & React.RefAttributes<HTMLElement>>;
|
|
38
38
|
/**
|
|
39
39
|
* Time in milliseconds to wait before showing and hiding the tooltip. Defaults to 300.
|
|
40
40
|
*/
|
|
@@ -102,7 +102,7 @@ export interface TooltipProps {
|
|
|
102
102
|
*/
|
|
103
103
|
tag?: keyof JSX.IntrinsicElements | React.ComponentType<React.AllHTMLAttributes<HTMLElement> & {
|
|
104
104
|
ref: React.Ref<HTMLElement>;
|
|
105
|
-
}
|
|
105
|
+
}> | React.ForwardRefExoticComponent<React.PropsWithoutRef<React.AllHTMLAttributes<HTMLElement>> & React.RefAttributes<HTMLElement>>;
|
|
106
106
|
/**
|
|
107
107
|
* Use this to show only one line of text, and truncate the text when it's too long. We no longer support truncating text in the tooltip as it's inaccessible, and this will be removed in a future release.
|
|
108
108
|
*/
|
|
@@ -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<Pick<TooltipContainerProps, "
|
|
9
|
+
declare const TooltipContainer: import("react").ForwardRefExoticComponent<Pick<TooltipContainerProps, "truncate" | "style" | "className" | "children" | "testId" | "placement" | "onMouseOver" | "onMouseOut" | "id"> & 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<Pick<TooltipPrimitiveProps, "
|
|
22
|
+
declare const TooltipPrimitive: import("react").ForwardRefExoticComponent<Pick<TooltipPrimitiveProps, "truncate" | "style" | "className" | "children" | "testId" | "placement" | "onMouseOver" | "onMouseOut" | "id"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
23
|
export default TooltipPrimitive;
|
|
@@ -34,7 +34,7 @@ export interface TooltipProps {
|
|
|
34
34
|
/**
|
|
35
35
|
* Extend `TooltipPrimitive` to create your own tooltip and pass it as component.
|
|
36
36
|
*/
|
|
37
|
-
component?: ComponentType<TooltipPrimitiveProps
|
|
37
|
+
component?: ComponentType<TooltipPrimitiveProps> | React.ForwardRefExoticComponent<React.PropsWithoutRef<TooltipPrimitiveProps> & React.RefAttributes<HTMLElement>>;
|
|
38
38
|
/**
|
|
39
39
|
* Time in milliseconds to wait before showing and hiding the tooltip. Defaults to 300.
|
|
40
40
|
*/
|
|
@@ -102,7 +102,7 @@ export interface TooltipProps {
|
|
|
102
102
|
*/
|
|
103
103
|
tag?: keyof JSX.IntrinsicElements | React.ComponentType<React.AllHTMLAttributes<HTMLElement> & {
|
|
104
104
|
ref: React.Ref<HTMLElement>;
|
|
105
|
-
}
|
|
105
|
+
}> | React.ForwardRefExoticComponent<React.PropsWithoutRef<React.AllHTMLAttributes<HTMLElement>> & React.RefAttributes<HTMLElement>>;
|
|
106
106
|
/**
|
|
107
107
|
* Use this to show only one line of text, and truncate the text when it's too long. We no longer support truncating text in the tooltip as it's inaccessible, and this will be removed in a future release.
|
|
108
108
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tooltip",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.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/"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/popper": "^6.3.0",
|
|
49
49
|
"@atlaskit/portal": "^4.10.0",
|
|
50
50
|
"@atlaskit/theme": "^14.0.0",
|
|
51
|
-
"@atlaskit/tokens": "^3.
|
|
51
|
+
"@atlaskit/tokens": "^3.1.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@compiled/react": "^0.18.1",
|
|
54
54
|
"@emotion/react": "^11.7.1",
|