@atlaskit/tooltip 20.0.6 → 20.1.0
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 +9 -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/types.d.ts +5 -1
- package/dist/types-ts4.5/types.d.ts +5 -1
- package/package.json +10 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/tooltip
|
|
2
2
|
|
|
3
|
+
## 20.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#161235](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/161235)
|
|
8
|
+
[`cfa80fa55b0d6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cfa80fa55b0d6) -
|
|
9
|
+
The `truncate` prop has been marked as deprecated, as it is inaccessible. It will be be removed in
|
|
10
|
+
a future release.
|
|
11
|
+
|
|
3
12
|
## 20.0.6
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/cjs/tooltip.js
CHANGED
package/dist/es2019/tooltip.js
CHANGED
package/dist/esm/tooltip.js
CHANGED
package/dist/types/types.d.ts
CHANGED
|
@@ -104,7 +104,11 @@ export interface TooltipProps {
|
|
|
104
104
|
ref: React.Ref<HTMLElement>;
|
|
105
105
|
}> | React.ForwardRefExoticComponent<React.PropsWithoutRef<React.AllHTMLAttributes<HTMLElement>> & React.RefAttributes<HTMLElement>>;
|
|
106
106
|
/**
|
|
107
|
-
* Use this to show only one line of text, and truncate the text when it's too long.
|
|
107
|
+
* Use this to show only one line of text, and truncate the text when it's too long.
|
|
108
|
+
*
|
|
109
|
+
* We no longer support truncating text in the tooltip as it's inaccessible, and this prop will be removed in a future release.
|
|
110
|
+
*
|
|
111
|
+
* @deprecated
|
|
108
112
|
*/
|
|
109
113
|
truncate?: boolean;
|
|
110
114
|
/**
|
|
@@ -104,7 +104,11 @@ export interface TooltipProps {
|
|
|
104
104
|
ref: React.Ref<HTMLElement>;
|
|
105
105
|
}> | React.ForwardRefExoticComponent<React.PropsWithoutRef<React.AllHTMLAttributes<HTMLElement>> & React.RefAttributes<HTMLElement>>;
|
|
106
106
|
/**
|
|
107
|
-
* Use this to show only one line of text, and truncate the text when it's too long.
|
|
107
|
+
* Use this to show only one line of text, and truncate the text when it's too long.
|
|
108
|
+
*
|
|
109
|
+
* We no longer support truncating text in the tooltip as it's inaccessible, and this prop will be removed in a future release.
|
|
110
|
+
*
|
|
111
|
+
* @deprecated
|
|
108
112
|
*/
|
|
109
113
|
truncate?: boolean;
|
|
110
114
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tooltip",
|
|
3
|
-
"version": "20.0
|
|
3
|
+
"version": "20.1.0",
|
|
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/"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/popper": "^7.0.0",
|
|
50
50
|
"@atlaskit/portal": "^5.1.0",
|
|
51
51
|
"@atlaskit/theme": "^18.0.0",
|
|
52
|
-
"@atlaskit/tokens": "^4.
|
|
52
|
+
"@atlaskit/tokens": "^4.9.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@compiled/react": "^0.18.3",
|
|
55
55
|
"@emotion/react": "^11.7.1",
|
|
@@ -63,12 +63,12 @@
|
|
|
63
63
|
"@af/accessibility-testing": "workspace:^",
|
|
64
64
|
"@af/integration-testing": "workspace:^",
|
|
65
65
|
"@af/visual-regression": "workspace:^",
|
|
66
|
-
"@atlaskit/button": "^23.
|
|
66
|
+
"@atlaskit/button": "^23.2.0",
|
|
67
67
|
"@atlaskit/css": "^0.10.0",
|
|
68
68
|
"@atlaskit/docs": "^10.0.0",
|
|
69
|
-
"@atlaskit/icon": "^
|
|
70
|
-
"@atlaskit/link": "^3.
|
|
71
|
-
"@atlaskit/primitives": "^14.
|
|
69
|
+
"@atlaskit/icon": "^26.3.0",
|
|
70
|
+
"@atlaskit/link": "^3.2.0",
|
|
71
|
+
"@atlaskit/primitives": "^14.8.0",
|
|
72
72
|
"@atlaskit/section-message": "^8.2.0",
|
|
73
73
|
"@atlassian/ssr-tests": "^0.2.0",
|
|
74
74
|
"@testing-library/react": "^13.4.0",
|
|
@@ -107,6 +107,10 @@
|
|
|
107
107
|
},
|
|
108
108
|
"platform-tooltip-focus-visible": {
|
|
109
109
|
"type": "boolean"
|
|
110
|
+
},
|
|
111
|
+
"platform-component-visual-refresh": {
|
|
112
|
+
"type": "boolean",
|
|
113
|
+
"referenceOnly": true
|
|
110
114
|
}
|
|
111
115
|
}
|
|
112
116
|
}
|