@atlaskit/drawer 11.0.13 → 11.0.15
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 +12 -22
- package/dist/cjs/drawer-panel/drawer-content.js +1 -1
- package/dist/cjs/drawer.js +3 -3
- package/dist/es2019/drawer-panel/drawer-content.js +1 -1
- package/dist/es2019/drawer.js +3 -3
- package/dist/esm/drawer-panel/drawer-content.js +1 -1
- package/dist/esm/drawer.js +3 -3
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/drawer
|
|
2
2
|
|
|
3
|
+
## 11.0.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 11.0.14
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 11.0.13
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1003,7 +1015,6 @@
|
|
|
1003
1015
|
Breaking changes:
|
|
1004
1016
|
|
|
1005
1017
|
The following components have been removed from `@atlaskit/drawer`:
|
|
1006
|
-
|
|
1007
1018
|
- `DrawerItemTheme`
|
|
1008
1019
|
- `DrawerSkeletonHeader`
|
|
1009
1020
|
- `DrawerSkeletonItem`
|
|
@@ -1016,7 +1027,6 @@
|
|
|
1016
1027
|
more accessible and performant way.
|
|
1017
1028
|
|
|
1018
1029
|
Housekeeping:
|
|
1019
|
-
|
|
1020
1030
|
- Now exposes a `testId` property as a hook for automated testing.
|
|
1021
1031
|
- Package no longer depends on `styled-components` for styling
|
|
1022
1032
|
- Package no longer depends on `chromatism`
|
|
@@ -1251,7 +1261,6 @@
|
|
|
1251
1261
|
|
|
1252
1262
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1253
1263
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1254
|
-
|
|
1255
1264
|
- @atlaskit/docs@8.3.2
|
|
1256
1265
|
- @atlaskit/visual-regression@0.1.9
|
|
1257
1266
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -1437,12 +1446,10 @@
|
|
|
1437
1446
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
1438
1447
|
|
|
1439
1448
|
**Breaking changes**
|
|
1440
|
-
|
|
1441
1449
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1442
1450
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1443
1451
|
|
|
1444
1452
|
**Breaking changes to TypeScript annotations**
|
|
1445
|
-
|
|
1446
1453
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
1447
1454
|
props as a generic type.
|
|
1448
1455
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -1529,7 +1536,6 @@
|
|
|
1529
1536
|
### Patch Changes
|
|
1530
1537
|
|
|
1531
1538
|
- [patch][12e4a436a2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12e4a436a2):
|
|
1532
|
-
|
|
1533
1539
|
- Added focus lock to Drawer
|
|
1534
1540
|
|
|
1535
1541
|
## 4.1.5
|
|
@@ -1580,13 +1586,11 @@
|
|
|
1580
1586
|
## 4.1.0
|
|
1581
1587
|
|
|
1582
1588
|
- [minor][3301793aae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3301793aae):
|
|
1583
|
-
|
|
1584
1589
|
- Add DrawerSkeletonHeader, DrawerSkeletonItem and DrawerItemGroup components to drawer
|
|
1585
1590
|
|
|
1586
1591
|
## 4.0.0
|
|
1587
1592
|
|
|
1588
1593
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1589
|
-
|
|
1590
1594
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1591
1595
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1592
1596
|
|
|
@@ -1605,7 +1609,6 @@
|
|
|
1605
1609
|
## 3.0.8
|
|
1606
1610
|
|
|
1607
1611
|
- [patch][371becf9e2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/371becf9e2):
|
|
1608
|
-
|
|
1609
1612
|
- Internal changes only. Drawer is compatible with SSR.
|
|
1610
1613
|
|
|
1611
1614
|
## 3.0.7
|
|
@@ -1639,19 +1642,16 @@
|
|
|
1639
1642
|
## 3.0.5
|
|
1640
1643
|
|
|
1641
1644
|
- [patch][42d931a2fd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/42d931a2fd):
|
|
1642
|
-
|
|
1643
1645
|
- Move visual-regression to devDependncies
|
|
1644
1646
|
|
|
1645
1647
|
## 3.0.4
|
|
1646
1648
|
|
|
1647
1649
|
- [patch][a28eb04426](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a28eb04426):
|
|
1648
|
-
|
|
1649
1650
|
- Migrates package from emotion 9 to emotion 10. No behaviour or API changes.
|
|
1650
1651
|
|
|
1651
1652
|
## 3.0.3
|
|
1652
1653
|
|
|
1653
1654
|
- [patch][211463f820](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/211463f820):
|
|
1654
|
-
|
|
1655
1655
|
- Bugfix: fixes z-index problem causing drawer to appear underneath navigation.
|
|
1656
1656
|
|
|
1657
1657
|
- Updated dependencies
|
|
@@ -1661,7 +1661,6 @@
|
|
|
1661
1661
|
## 3.0.2
|
|
1662
1662
|
|
|
1663
1663
|
- [patch][37ee906cf7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/37ee906cf7):
|
|
1664
|
-
|
|
1665
1664
|
- Internal changes only. Drawer uses @atlaskit/portal and is now SSR compatible.
|
|
1666
1665
|
|
|
1667
1666
|
## 3.0.1
|
|
@@ -1681,7 +1680,6 @@
|
|
|
1681
1680
|
## 3.0.0
|
|
1682
1681
|
|
|
1683
1682
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1684
|
-
|
|
1685
1683
|
- Drop ES5 from all the flow modules
|
|
1686
1684
|
|
|
1687
1685
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -1738,7 +1736,6 @@
|
|
|
1738
1736
|
## 2.7.0
|
|
1739
1737
|
|
|
1740
1738
|
- [minor][9cfee26](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9cfee26):
|
|
1741
|
-
|
|
1742
1739
|
- Add data-test-selector to various components to help open and close the Notification Drawer
|
|
1743
1740
|
programmatically. This would support test automation
|
|
1744
1741
|
|
|
@@ -1759,7 +1756,6 @@
|
|
|
1759
1756
|
## 2.6.0
|
|
1760
1757
|
|
|
1761
1758
|
- [minor][53bf8be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/53bf8be):
|
|
1762
|
-
|
|
1763
1759
|
- Support onCloseComplete
|
|
1764
1760
|
|
|
1765
1761
|
## 2.5.4
|
|
@@ -1799,37 +1795,31 @@
|
|
|
1799
1795
|
## 2.5.1
|
|
1800
1796
|
|
|
1801
1797
|
- [patch][f480bab](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f480bab):
|
|
1802
|
-
|
|
1803
1798
|
- Convert padding to margin to fix a scrolling issue in global-search
|
|
1804
1799
|
|
|
1805
1800
|
## 2.5.0
|
|
1806
1801
|
|
|
1807
1802
|
- [minor][aacb208](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aacb208):
|
|
1808
|
-
|
|
1809
1803
|
- Export a new component, DrawerItemTheme, for theming the Drawer with the navigation item theme.
|
|
1810
1804
|
|
|
1811
1805
|
## 2.4.0
|
|
1812
1806
|
|
|
1813
1807
|
- [minor][6746a42](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6746a42):
|
|
1814
|
-
|
|
1815
1808
|
- Add extended width option and width transitions
|
|
1816
1809
|
|
|
1817
1810
|
## 2.3.1
|
|
1818
1811
|
|
|
1819
1812
|
- [patch][a6e5197](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a6e5197):
|
|
1820
|
-
|
|
1821
1813
|
- 1. Add canUseDOM to fix SSR issue in Drawer. 2) Update SSR tests in navigation-next to exclude
|
|
1822
1814
|
the examples with Hash, Router or Dom
|
|
1823
1815
|
|
|
1824
1816
|
## 2.3.0
|
|
1825
1817
|
|
|
1826
1818
|
- [patch][a637f5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a637f5e):
|
|
1827
|
-
|
|
1828
1819
|
- Refine and fix some flow type errors found by fixing @atlaskit/analytics-next HOCs to allow flow
|
|
1829
1820
|
to type check properly
|
|
1830
1821
|
|
|
1831
1822
|
- [minor][670597d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/670597d):
|
|
1832
|
-
|
|
1833
1823
|
- Make `width` prop optional and default it to 'narrow'
|
|
1834
1824
|
|
|
1835
1825
|
## 2.2.0
|
|
@@ -41,7 +41,7 @@ var DrawerContentBase = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, scro
|
|
|
41
41
|
className: (0, _runtime.ax)([styles.default, xcss]),
|
|
42
42
|
ref: (0, _useCallbackRef.mergeRefs)([ref, scrollableRef])
|
|
43
43
|
// tabindex is allowed here so that keyboard users can scroll content
|
|
44
|
-
// eslint-disable-next-line
|
|
44
|
+
// eslint-disable-next-line @atlassian/a11y/no-noninteractive-tabindex
|
|
45
45
|
,
|
|
46
46
|
tabIndex: showContentFocus ? 0 : undefined,
|
|
47
47
|
role: showContentFocus ? 'region' : undefined,
|
package/dist/cjs/drawer.js
CHANGED
|
@@ -67,7 +67,7 @@ var Drawer = exports.Drawer = function Drawer(_ref2) {
|
|
|
67
67
|
action: 'dismissed',
|
|
68
68
|
componentName: 'drawer',
|
|
69
69
|
packageName: "@atlaskit/drawer",
|
|
70
|
-
packageVersion: "
|
|
70
|
+
packageVersion: "11.0.14",
|
|
71
71
|
analyticsData: {
|
|
72
72
|
trigger: 'escKey'
|
|
73
73
|
}
|
|
@@ -90,7 +90,7 @@ var Drawer = exports.Drawer = function Drawer(_ref2) {
|
|
|
90
90
|
action: 'dismissed',
|
|
91
91
|
componentName: 'drawer',
|
|
92
92
|
packageName: "@atlaskit/drawer",
|
|
93
|
-
packageVersion: "
|
|
93
|
+
packageVersion: "11.0.14",
|
|
94
94
|
analyticsData: {
|
|
95
95
|
trigger: 'blanket'
|
|
96
96
|
}
|
|
@@ -102,7 +102,7 @@ var Drawer = exports.Drawer = function Drawer(_ref2) {
|
|
|
102
102
|
action: 'dismissed',
|
|
103
103
|
componentName: 'drawer',
|
|
104
104
|
packageName: "@atlaskit/drawer",
|
|
105
|
-
packageVersion: "
|
|
105
|
+
packageVersion: "11.0.14",
|
|
106
106
|
analyticsData: {
|
|
107
107
|
trigger: 'backButton'
|
|
108
108
|
}
|
|
@@ -28,7 +28,7 @@ const DrawerContentBase = /*#__PURE__*/forwardRef(({
|
|
|
28
28
|
className: ax([styles.default, xcss]),
|
|
29
29
|
ref: mergeRefs([ref, scrollableRef])
|
|
30
30
|
// tabindex is allowed here so that keyboard users can scroll content
|
|
31
|
-
// eslint-disable-next-line
|
|
31
|
+
// eslint-disable-next-line @atlassian/a11y/no-noninteractive-tabindex
|
|
32
32
|
,
|
|
33
33
|
tabIndex: showContentFocus ? 0 : undefined,
|
|
34
34
|
role: showContentFocus ? 'region' : undefined,
|
package/dist/es2019/drawer.js
CHANGED
|
@@ -52,7 +52,7 @@ export const Drawer = ({
|
|
|
52
52
|
action: 'dismissed',
|
|
53
53
|
componentName: 'drawer',
|
|
54
54
|
packageName: "@atlaskit/drawer",
|
|
55
|
-
packageVersion: "
|
|
55
|
+
packageVersion: "11.0.14",
|
|
56
56
|
analyticsData: {
|
|
57
57
|
trigger: 'escKey'
|
|
58
58
|
}
|
|
@@ -73,7 +73,7 @@ export const Drawer = ({
|
|
|
73
73
|
action: 'dismissed',
|
|
74
74
|
componentName: 'drawer',
|
|
75
75
|
packageName: "@atlaskit/drawer",
|
|
76
|
-
packageVersion: "
|
|
76
|
+
packageVersion: "11.0.14",
|
|
77
77
|
analyticsData: {
|
|
78
78
|
trigger: 'blanket'
|
|
79
79
|
}
|
|
@@ -83,7 +83,7 @@ export const Drawer = ({
|
|
|
83
83
|
action: 'dismissed',
|
|
84
84
|
componentName: 'drawer',
|
|
85
85
|
packageName: "@atlaskit/drawer",
|
|
86
|
-
packageVersion: "
|
|
86
|
+
packageVersion: "11.0.14",
|
|
87
87
|
analyticsData: {
|
|
88
88
|
trigger: 'backButton'
|
|
89
89
|
}
|
|
@@ -32,7 +32,7 @@ var DrawerContentBase = /*#__PURE__*/forwardRef(function (_ref, scrollableRef) {
|
|
|
32
32
|
className: ax([styles.default, xcss]),
|
|
33
33
|
ref: mergeRefs([ref, scrollableRef])
|
|
34
34
|
// tabindex is allowed here so that keyboard users can scroll content
|
|
35
|
-
// eslint-disable-next-line
|
|
35
|
+
// eslint-disable-next-line @atlassian/a11y/no-noninteractive-tabindex
|
|
36
36
|
,
|
|
37
37
|
tabIndex: showContentFocus ? 0 : undefined,
|
|
38
38
|
role: showContentFocus ? 'region' : undefined,
|
package/dist/esm/drawer.js
CHANGED
|
@@ -57,7 +57,7 @@ export var Drawer = function Drawer(_ref2) {
|
|
|
57
57
|
action: 'dismissed',
|
|
58
58
|
componentName: 'drawer',
|
|
59
59
|
packageName: "@atlaskit/drawer",
|
|
60
|
-
packageVersion: "
|
|
60
|
+
packageVersion: "11.0.14",
|
|
61
61
|
analyticsData: {
|
|
62
62
|
trigger: 'escKey'
|
|
63
63
|
}
|
|
@@ -80,7 +80,7 @@ export var Drawer = function Drawer(_ref2) {
|
|
|
80
80
|
action: 'dismissed',
|
|
81
81
|
componentName: 'drawer',
|
|
82
82
|
packageName: "@atlaskit/drawer",
|
|
83
|
-
packageVersion: "
|
|
83
|
+
packageVersion: "11.0.14",
|
|
84
84
|
analyticsData: {
|
|
85
85
|
trigger: 'blanket'
|
|
86
86
|
}
|
|
@@ -92,7 +92,7 @@ export var Drawer = function Drawer(_ref2) {
|
|
|
92
92
|
action: 'dismissed',
|
|
93
93
|
componentName: 'drawer',
|
|
94
94
|
packageName: "@atlaskit/drawer",
|
|
95
|
-
packageVersion: "
|
|
95
|
+
packageVersion: "11.0.14",
|
|
96
96
|
analyticsData: {
|
|
97
97
|
trigger: 'backButton'
|
|
98
98
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/drawer",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.15",
|
|
4
4
|
"description": "A drawer is a panel that slides in from the left side of the screen.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
41
41
|
"@atlaskit/blanket": "^15.0.0",
|
|
42
|
-
"@atlaskit/button": "^23.
|
|
43
|
-
"@atlaskit/css": "^0.
|
|
44
|
-
"@atlaskit/icon": "^28.
|
|
45
|
-
"@atlaskit/layering": "^3.
|
|
42
|
+
"@atlaskit/button": "^23.5.0",
|
|
43
|
+
"@atlaskit/css": "^0.15.0",
|
|
44
|
+
"@atlaskit/icon": "^28.5.0",
|
|
45
|
+
"@atlaskit/layering": "^3.1.0",
|
|
46
46
|
"@atlaskit/motion": "^5.3.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/portal": "^5.1.0",
|
|
49
49
|
"@atlaskit/theme": "^21.0.0",
|
|
50
|
-
"@atlaskit/tokens": "^
|
|
50
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
|
-
"@compiled/react": "^0.18.
|
|
52
|
+
"@compiled/react": "^0.18.6",
|
|
53
53
|
"bind-event-listener": "^3.0.0",
|
|
54
54
|
"exenv": "^1.2.2",
|
|
55
55
|
"react-focus-lock": "^2.9.5",
|
|
@@ -65,15 +65,15 @@
|
|
|
65
65
|
"@af/integration-testing": "workspace:^",
|
|
66
66
|
"@af/visual-regression": "workspace:^",
|
|
67
67
|
"@atlaskit/code": "^17.2.0",
|
|
68
|
-
"@atlaskit/docs": "^11.
|
|
68
|
+
"@atlaskit/docs": "^11.2.0",
|
|
69
69
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
70
70
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
71
71
|
"@atlaskit/form": "^14.2.0",
|
|
72
72
|
"@atlaskit/inline-message": "^15.3.0",
|
|
73
73
|
"@atlaskit/link": "^3.2.0",
|
|
74
74
|
"@atlaskit/menu": "^8.4.0",
|
|
75
|
-
"@atlaskit/modal-dialog": "^14.
|
|
76
|
-
"@atlaskit/primitives": "^
|
|
75
|
+
"@atlaskit/modal-dialog": "^14.5.0",
|
|
76
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
77
77
|
"@atlaskit/section-message": "^8.7.0",
|
|
78
78
|
"@atlassian/ssr-tests": "^0.3.0",
|
|
79
79
|
"@testing-library/react": "^13.4.0",
|