@atlaskit/tooltip 20.5.1 → 20.5.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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/tooltip
|
|
2
2
|
|
|
3
|
+
## 20.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 20.5.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -995,7 +1001,6 @@
|
|
|
995
1001
|
[`d36905cfe9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d36905cfe9) - Fixed
|
|
996
1002
|
incorrect function signature for onShow and onHide props, and added improved typing for these
|
|
997
1003
|
props.
|
|
998
|
-
|
|
999
1004
|
- **old:** analyticsEvent was the first argument
|
|
1000
1005
|
- **change:** analyticsEvent became the second argument unintentionally (bug introduced 17.0.0)
|
|
1001
1006
|
- **now:** restoring old behavior, analyticsEvent as the first argument
|
|
@@ -1045,7 +1050,6 @@
|
|
|
1045
1050
|
- [#4424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4424)
|
|
1046
1051
|
[`83586f015e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83586f015e) - Tooltip
|
|
1047
1052
|
has been refactored to improve performance and be compliant with the lite-mode specification.
|
|
1048
|
-
|
|
1049
1053
|
- Removed `react-transition-group` in favor of `@atlaskit/motion` to reduce bundle size
|
|
1050
1054
|
- Removed `react-node-resolver` because of its use of `React.findDOMNode` which has been marked as
|
|
1051
1055
|
deprecated by the React team (more below...)
|
|
@@ -1203,7 +1207,6 @@
|
|
|
1203
1207
|
|
|
1204
1208
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1205
1209
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1206
|
-
|
|
1207
1210
|
- @atlaskit/docs@8.3.2
|
|
1208
1211
|
- @atlaskit/visual-regression@0.1.9
|
|
1209
1212
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -1413,12 +1416,10 @@
|
|
|
1413
1416
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
1414
1417
|
|
|
1415
1418
|
**Breaking changes**
|
|
1416
|
-
|
|
1417
1419
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1418
1420
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1419
1421
|
|
|
1420
1422
|
**Breaking changes to TypeScript annotations**
|
|
1421
|
-
|
|
1422
1423
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
1423
1424
|
props as a generic type.
|
|
1424
1425
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -1518,7 +1519,6 @@
|
|
|
1518
1519
|
### Major Changes
|
|
1519
1520
|
|
|
1520
1521
|
- [major][67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
|
|
1521
|
-
|
|
1522
1522
|
- @atlaskit/tooltip has been converted to Typescript. Typescript consumers will now get static
|
|
1523
1523
|
type safety. Flow types are no longer provided. No API or behavioural changes.
|
|
1524
1524
|
|
|
@@ -1534,7 +1534,6 @@
|
|
|
1534
1534
|
## 14.0.2
|
|
1535
1535
|
|
|
1536
1536
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
1537
|
-
|
|
1538
1537
|
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
1539
1538
|
Request #5942 for details
|
|
1540
1539
|
|
|
@@ -1547,7 +1546,6 @@
|
|
|
1547
1546
|
## 14.0.0
|
|
1548
1547
|
|
|
1549
1548
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1550
|
-
|
|
1551
1549
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1552
1550
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1553
1551
|
|
|
@@ -1603,7 +1601,6 @@
|
|
|
1603
1601
|
## 13.0.0
|
|
1604
1602
|
|
|
1605
1603
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1606
|
-
|
|
1607
1604
|
- Drop ES5 from all the flow modules
|
|
1608
1605
|
|
|
1609
1606
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -1648,7 +1645,6 @@
|
|
|
1648
1645
|
## 12.1.17
|
|
1649
1646
|
|
|
1650
1647
|
- [patch][c4edb3ab4d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c4edb3ab4d):
|
|
1651
|
-
|
|
1652
1648
|
- Move tooltip to render popper in portal to maintain ref that Popper needs to initially position
|
|
1653
1649
|
the tooltip
|
|
1654
1650
|
|
|
@@ -1670,7 +1666,6 @@
|
|
|
1670
1666
|
## 12.1.14
|
|
1671
1667
|
|
|
1672
1668
|
- [patch][8f179c4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8f179c4):
|
|
1673
|
-
|
|
1674
1669
|
- Remove scroll listener in componentWillMount in Tooltip to fix potential memory leak from
|
|
1675
1670
|
'close' tooltip not properly unmounting when hiding Examples modal via the X button
|
|
1676
1671
|
|
|
@@ -1726,7 +1721,6 @@
|
|
|
1726
1721
|
## 12.1.7
|
|
1727
1722
|
|
|
1728
1723
|
- [patch][3b03f52](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3b03f52):
|
|
1729
|
-
|
|
1730
1724
|
- Use @atlaskit/popper internally instead of a custom approach to position management
|
|
1731
1725
|
|
|
1732
1726
|
## 12.1.6
|
|
@@ -40,9 +40,9 @@ var TooltipPrimitive = /*#__PURE__*/(0, _react.forwardRef)(function TooltipPrimi
|
|
|
40
40
|
,
|
|
41
41
|
className: (0, _runtime.ax)(["_80om73ad", className])
|
|
42
42
|
// Because the tooltip should not be focusable, there is no reason to have key events.
|
|
43
|
-
/* eslint-disable-next-line
|
|
43
|
+
/* eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events */,
|
|
44
44
|
onMouseOut: onMouseOut
|
|
45
|
-
/* eslint-disable-next-line
|
|
45
|
+
/* eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events */,
|
|
46
46
|
onMouseOver: onMouseOver,
|
|
47
47
|
"data-placement": placement,
|
|
48
48
|
"data-testid": testId,
|
|
@@ -33,9 +33,9 @@ const TooltipPrimitive = /*#__PURE__*/forwardRef(function TooltipPrimitive({
|
|
|
33
33
|
,
|
|
34
34
|
className: ax(["_80om73ad", className])
|
|
35
35
|
// Because the tooltip should not be focusable, there is no reason to have key events.
|
|
36
|
-
/* eslint-disable-next-line
|
|
36
|
+
/* eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events */,
|
|
37
37
|
onMouseOut: onMouseOut
|
|
38
|
-
/* eslint-disable-next-line
|
|
38
|
+
/* eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events */,
|
|
39
39
|
onMouseOver: onMouseOver,
|
|
40
40
|
"data-placement": placement,
|
|
41
41
|
"data-testid": testId,
|
|
@@ -32,9 +32,9 @@ var TooltipPrimitive = /*#__PURE__*/forwardRef(function TooltipPrimitive(_ref, r
|
|
|
32
32
|
,
|
|
33
33
|
className: ax(["_80om73ad", className])
|
|
34
34
|
// Because the tooltip should not be focusable, there is no reason to have key events.
|
|
35
|
-
/* eslint-disable-next-line
|
|
35
|
+
/* eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events */,
|
|
36
36
|
onMouseOut: onMouseOut
|
|
37
|
-
/* eslint-disable-next-line
|
|
37
|
+
/* eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events */,
|
|
38
38
|
onMouseOver: onMouseOver,
|
|
39
39
|
"data-placement": placement,
|
|
40
40
|
"data-testid": testId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tooltip",
|
|
3
|
-
"version": "20.5.
|
|
3
|
+
"version": "20.5.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/"
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
36
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
37
|
-
"@atlaskit/layering": "^3.
|
|
37
|
+
"@atlaskit/layering": "^3.1.0",
|
|
38
38
|
"@atlaskit/motion": "^5.3.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/popper": "^7.1.0",
|
|
41
41
|
"@atlaskit/portal": "^5.1.0",
|
|
42
42
|
"@atlaskit/theme": "^21.0.0",
|
|
43
|
-
"@atlaskit/tokens": "^
|
|
43
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
|
-
"@compiled/react": "^0.18.
|
|
45
|
+
"@compiled/react": "^0.18.6",
|
|
46
46
|
"bind-event-listener": "^3.0.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
"@af/accessibility-testing": "workspace:^",
|
|
54
54
|
"@af/integration-testing": "workspace:^",
|
|
55
55
|
"@af/visual-regression": "workspace:^",
|
|
56
|
-
"@atlaskit/button": "^23.
|
|
57
|
-
"@atlaskit/css": "^0.
|
|
58
|
-
"@atlaskit/docs": "^11.
|
|
59
|
-
"@atlaskit/icon": "^28.
|
|
56
|
+
"@atlaskit/button": "^23.5.0",
|
|
57
|
+
"@atlaskit/css": "^0.15.0",
|
|
58
|
+
"@atlaskit/docs": "^11.2.0",
|
|
59
|
+
"@atlaskit/icon": "^28.5.0",
|
|
60
60
|
"@atlaskit/link": "^3.2.0",
|
|
61
|
-
"@atlaskit/primitives": "^
|
|
61
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
62
62
|
"@atlaskit/section-message": "^8.7.0",
|
|
63
63
|
"@atlassian/ssr-tests": "^0.3.0",
|
|
64
64
|
"@testing-library/react": "^13.4.0",
|