@atlaskit/drawer 11.0.14 → 11.0.16

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,17 @@
1
1
  # @atlaskit/drawer
2
2
 
3
+ ## 11.0.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.0.15
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 11.0.14
4
16
 
5
17
  ### Patch Changes
@@ -1009,7 +1021,6 @@
1009
1021
  Breaking changes:
1010
1022
 
1011
1023
  The following components have been removed from `@atlaskit/drawer`:
1012
-
1013
1024
  - `DrawerItemTheme`
1014
1025
  - `DrawerSkeletonHeader`
1015
1026
  - `DrawerSkeletonItem`
@@ -1022,7 +1033,6 @@
1022
1033
  more accessible and performant way.
1023
1034
 
1024
1035
  Housekeeping:
1025
-
1026
1036
  - Now exposes a `testId` property as a hook for automated testing.
1027
1037
  - Package no longer depends on `styled-components` for styling
1028
1038
  - Package no longer depends on `chromatism`
@@ -1257,7 +1267,6 @@
1257
1267
 
1258
1268
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
1259
1269
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1260
-
1261
1270
  - @atlaskit/docs@8.3.2
1262
1271
  - @atlaskit/visual-regression@0.1.9
1263
1272
  - @atlaskit/analytics-next@6.3.5
@@ -1443,12 +1452,10 @@
1443
1452
  safety. Flow types are no longer provided. No behavioural changes.
1444
1453
 
1445
1454
  **Breaking changes**
1446
-
1447
1455
  - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
1448
1456
  - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
1449
1457
 
1450
1458
  **Breaking changes to TypeScript annotations**
1451
-
1452
1459
  - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
1453
1460
  props as a generic type.
1454
1461
  - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
@@ -1535,7 +1542,6 @@
1535
1542
  ### Patch Changes
1536
1543
 
1537
1544
  - [patch][12e4a436a2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12e4a436a2):
1538
-
1539
1545
  - Added focus lock to Drawer
1540
1546
 
1541
1547
  ## 4.1.5
@@ -1586,13 +1592,11 @@
1586
1592
  ## 4.1.0
1587
1593
 
1588
1594
  - [minor][3301793aae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3301793aae):
1589
-
1590
1595
  - Add DrawerSkeletonHeader, DrawerSkeletonItem and DrawerItemGroup components to drawer
1591
1596
 
1592
1597
  ## 4.0.0
1593
1598
 
1594
1599
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1595
-
1596
1600
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
1597
1601
  this package, please ensure you use at least this version of react and react-dom.
1598
1602
 
@@ -1611,7 +1615,6 @@
1611
1615
  ## 3.0.8
1612
1616
 
1613
1617
  - [patch][371becf9e2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/371becf9e2):
1614
-
1615
1618
  - Internal changes only. Drawer is compatible with SSR.
1616
1619
 
1617
1620
  ## 3.0.7
@@ -1645,19 +1648,16 @@
1645
1648
  ## 3.0.5
1646
1649
 
1647
1650
  - [patch][42d931a2fd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/42d931a2fd):
1648
-
1649
1651
  - Move visual-regression to devDependncies
1650
1652
 
1651
1653
  ## 3.0.4
1652
1654
 
1653
1655
  - [patch][a28eb04426](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a28eb04426):
1654
-
1655
1656
  - Migrates package from emotion 9 to emotion 10. No behaviour or API changes.
1656
1657
 
1657
1658
  ## 3.0.3
1658
1659
 
1659
1660
  - [patch][211463f820](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/211463f820):
1660
-
1661
1661
  - Bugfix: fixes z-index problem causing drawer to appear underneath navigation.
1662
1662
 
1663
1663
  - Updated dependencies
@@ -1667,7 +1667,6 @@
1667
1667
  ## 3.0.2
1668
1668
 
1669
1669
  - [patch][37ee906cf7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/37ee906cf7):
1670
-
1671
1670
  - Internal changes only. Drawer uses @atlaskit/portal and is now SSR compatible.
1672
1671
 
1673
1672
  ## 3.0.1
@@ -1687,7 +1686,6 @@
1687
1686
  ## 3.0.0
1688
1687
 
1689
1688
  - [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
1690
-
1691
1689
  - Drop ES5 from all the flow modules
1692
1690
 
1693
1691
  ### Dropping CJS support in all @atlaskit packages
@@ -1744,7 +1742,6 @@
1744
1742
  ## 2.7.0
1745
1743
 
1746
1744
  - [minor][9cfee26](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9cfee26):
1747
-
1748
1745
  - Add data-test-selector to various components to help open and close the Notification Drawer
1749
1746
  programmatically. This would support test automation
1750
1747
 
@@ -1765,7 +1762,6 @@
1765
1762
  ## 2.6.0
1766
1763
 
1767
1764
  - [minor][53bf8be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/53bf8be):
1768
-
1769
1765
  - Support onCloseComplete
1770
1766
 
1771
1767
  ## 2.5.4
@@ -1805,37 +1801,31 @@
1805
1801
  ## 2.5.1
1806
1802
 
1807
1803
  - [patch][f480bab](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f480bab):
1808
-
1809
1804
  - Convert padding to margin to fix a scrolling issue in global-search
1810
1805
 
1811
1806
  ## 2.5.0
1812
1807
 
1813
1808
  - [minor][aacb208](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aacb208):
1814
-
1815
1809
  - Export a new component, DrawerItemTheme, for theming the Drawer with the navigation item theme.
1816
1810
 
1817
1811
  ## 2.4.0
1818
1812
 
1819
1813
  - [minor][6746a42](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6746a42):
1820
-
1821
1814
  - Add extended width option and width transitions
1822
1815
 
1823
1816
  ## 2.3.1
1824
1817
 
1825
1818
  - [patch][a6e5197](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a6e5197):
1826
-
1827
1819
  - 1. Add canUseDOM to fix SSR issue in Drawer. 2) Update SSR tests in navigation-next to exclude
1828
1820
  the examples with Hash, Router or Dom
1829
1821
 
1830
1822
  ## 2.3.0
1831
1823
 
1832
1824
  - [patch][a637f5e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a637f5e):
1833
-
1834
1825
  - Refine and fix some flow type errors found by fixing @atlaskit/analytics-next HOCs to allow flow
1835
1826
  to type check properly
1836
1827
 
1837
1828
  - [minor][670597d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/670597d):
1838
-
1839
1829
  - Make `width` prop optional and default it to 'narrow'
1840
1830
 
1841
1831
  ## 2.2.0
@@ -41,7 +41,6 @@ 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 @atlassian/a11y/no-noninteractive-tabindex
45
44
  ,
46
45
  tabIndex: showContentFocus ? 0 : undefined,
47
46
  role: showContentFocus ? 'region' : undefined,
@@ -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: "0.0.0-development",
70
+ packageVersion: "11.0.15",
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: "0.0.0-development",
93
+ packageVersion: "11.0.15",
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: "0.0.0-development",
105
+ packageVersion: "11.0.15",
106
106
  analyticsData: {
107
107
  trigger: 'backButton'
108
108
  }
@@ -28,7 +28,6 @@ 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 @atlassian/a11y/no-noninteractive-tabindex
32
31
  ,
33
32
  tabIndex: showContentFocus ? 0 : undefined,
34
33
  role: showContentFocus ? 'region' : undefined,
@@ -52,7 +52,7 @@ export const Drawer = ({
52
52
  action: 'dismissed',
53
53
  componentName: 'drawer',
54
54
  packageName: "@atlaskit/drawer",
55
- packageVersion: "0.0.0-development",
55
+ packageVersion: "11.0.15",
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: "0.0.0-development",
76
+ packageVersion: "11.0.15",
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: "0.0.0-development",
86
+ packageVersion: "11.0.15",
87
87
  analyticsData: {
88
88
  trigger: 'backButton'
89
89
  }
@@ -32,7 +32,6 @@ 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 @atlassian/a11y/no-noninteractive-tabindex
36
35
  ,
37
36
  tabIndex: showContentFocus ? 0 : undefined,
38
37
  role: showContentFocus ? 'region' : undefined,
@@ -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: "0.0.0-development",
60
+ packageVersion: "11.0.15",
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: "0.0.0-development",
83
+ packageVersion: "11.0.15",
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: "0.0.0-development",
95
+ packageVersion: "11.0.15",
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.14",
3
+ "version": "11.0.16",
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.5.0",
42
+ "@atlaskit/button": "^23.6.0",
43
43
  "@atlaskit/css": "^0.15.0",
44
44
  "@atlaskit/icon": "^28.5.0",
45
- "@atlaskit/layering": "^3.1.0",
45
+ "@atlaskit/layering": "^3.2.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": "^6.5.0",
50
+ "@atlaskit/tokens": "^8.0.0",
51
51
  "@babel/runtime": "^7.0.0",
52
- "@compiled/react": "^0.18.3",
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",
@@ -64,18 +64,18 @@
64
64
  "@af/accessibility-testing": "workspace:^",
65
65
  "@af/integration-testing": "workspace:^",
66
66
  "@af/visual-regression": "workspace:^",
67
- "@atlaskit/code": "^17.2.0",
68
- "@atlaskit/docs": "^11.1.0",
67
+ "@atlaskit/code": "^17.3.0",
68
+ "@atlaskit/docs": "^11.2.0",
69
69
  "@atlaskit/dropdown-menu": "^16.3.0",
70
- "@atlaskit/ds-lib": "^5.1.0",
70
+ "@atlaskit/ds-lib": "^5.2.0",
71
71
  "@atlaskit/form": "^14.2.0",
72
- "@atlaskit/inline-message": "^15.3.0",
72
+ "@atlaskit/inline-message": "^15.4.0",
73
73
  "@atlaskit/link": "^3.2.0",
74
74
  "@atlaskit/menu": "^8.4.0",
75
- "@atlaskit/modal-dialog": "^14.5.0",
76
- "@atlaskit/primitives": "^15.0.0",
77
- "@atlaskit/section-message": "^8.7.0",
78
- "@atlassian/ssr-tests": "^0.3.0",
75
+ "@atlaskit/modal-dialog": "^14.6.0",
76
+ "@atlaskit/primitives": "^16.1.0",
77
+ "@atlaskit/section-message": "^8.9.0",
78
+ "@atlassian/ssr-tests": "workspace:^",
79
79
  "@testing-library/react": "^13.4.0",
80
80
  "@testing-library/user-event": "^14.4.3",
81
81
  "@types/exenv": "^1.2.0",