@atlaskit/drawer 9.2.0 → 9.2.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,19 @@
|
|
|
1
1
|
# @atlaskit/drawer
|
|
2
2
|
|
|
3
|
+
## 9.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 9.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#161638](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/161638)
|
|
14
|
+
[`d2e5e5ce0053d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d2e5e5ce0053d) -
|
|
15
|
+
Use new API of layering without UNSAFE prefix
|
|
16
|
+
|
|
3
17
|
## 9.2.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -72,7 +72,7 @@ var Drawer = exports.Drawer = function Drawer(_ref2) {
|
|
|
72
72
|
action: 'dismissed',
|
|
73
73
|
componentName: 'drawer',
|
|
74
74
|
packageName: "@atlaskit/drawer",
|
|
75
|
-
packageVersion: "9.2.
|
|
75
|
+
packageVersion: "9.2.2",
|
|
76
76
|
analyticsData: {
|
|
77
77
|
trigger: 'escKey'
|
|
78
78
|
}
|
|
@@ -95,7 +95,7 @@ var Drawer = exports.Drawer = function Drawer(_ref2) {
|
|
|
95
95
|
action: 'dismissed',
|
|
96
96
|
componentName: 'drawer',
|
|
97
97
|
packageName: "@atlaskit/drawer",
|
|
98
|
-
packageVersion: "9.2.
|
|
98
|
+
packageVersion: "9.2.2",
|
|
99
99
|
analyticsData: {
|
|
100
100
|
trigger: 'blanket'
|
|
101
101
|
}
|
|
@@ -107,7 +107,7 @@ var Drawer = exports.Drawer = function Drawer(_ref2) {
|
|
|
107
107
|
action: 'dismissed',
|
|
108
108
|
componentName: 'drawer',
|
|
109
109
|
packageName: "@atlaskit/drawer",
|
|
110
|
-
packageVersion: "9.2.
|
|
110
|
+
packageVersion: "9.2.2",
|
|
111
111
|
analyticsData: {
|
|
112
112
|
trigger: 'backButton'
|
|
113
113
|
}
|
|
@@ -140,7 +140,7 @@ var Drawer = exports.Drawer = function Drawer(_ref2) {
|
|
|
140
140
|
isFocusLockEnabled: isFocusLockEnabled,
|
|
141
141
|
shouldReturnFocus: shouldReturnFocus,
|
|
142
142
|
scrollContentLabel: scrollContentLabel
|
|
143
|
-
}, isOpen ? /*#__PURE__*/_react.default.createElement(_layering.
|
|
143
|
+
}, isOpen ? /*#__PURE__*/_react.default.createElement(_layering.Layering, {
|
|
144
144
|
isDisabled: false
|
|
145
145
|
}, children, /*#__PURE__*/_react.default.createElement(EscapeCloseManager, {
|
|
146
146
|
onClose: handleClose
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React, { useCallback, useEffect } from 'react';
|
|
3
3
|
import { canUseDOM } from 'exenv';
|
|
4
4
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
5
|
-
import {
|
|
5
|
+
import { Layering, useCloseOnEscapePress } from '@atlaskit/layering';
|
|
6
6
|
import Portal from '@atlaskit/portal';
|
|
7
7
|
import Blanket from './blanket';
|
|
8
8
|
import DrawerPrimitive from './primitives';
|
|
@@ -57,7 +57,7 @@ export const Drawer = ({
|
|
|
57
57
|
action: 'dismissed',
|
|
58
58
|
componentName: 'drawer',
|
|
59
59
|
packageName: "@atlaskit/drawer",
|
|
60
|
-
packageVersion: "9.2.
|
|
60
|
+
packageVersion: "9.2.2",
|
|
61
61
|
analyticsData: {
|
|
62
62
|
trigger: 'escKey'
|
|
63
63
|
}
|
|
@@ -78,7 +78,7 @@ export const Drawer = ({
|
|
|
78
78
|
action: 'dismissed',
|
|
79
79
|
componentName: 'drawer',
|
|
80
80
|
packageName: "@atlaskit/drawer",
|
|
81
|
-
packageVersion: "9.2.
|
|
81
|
+
packageVersion: "9.2.2",
|
|
82
82
|
analyticsData: {
|
|
83
83
|
trigger: 'blanket'
|
|
84
84
|
}
|
|
@@ -88,7 +88,7 @@ export const Drawer = ({
|
|
|
88
88
|
action: 'dismissed',
|
|
89
89
|
componentName: 'drawer',
|
|
90
90
|
packageName: "@atlaskit/drawer",
|
|
91
|
-
packageVersion: "9.2.
|
|
91
|
+
packageVersion: "9.2.2",
|
|
92
92
|
analyticsData: {
|
|
93
93
|
trigger: 'backButton'
|
|
94
94
|
}
|
|
@@ -121,7 +121,7 @@ export const Drawer = ({
|
|
|
121
121
|
isFocusLockEnabled: isFocusLockEnabled,
|
|
122
122
|
shouldReturnFocus: shouldReturnFocus,
|
|
123
123
|
scrollContentLabel: scrollContentLabel
|
|
124
|
-
}, isOpen ? /*#__PURE__*/React.createElement(
|
|
124
|
+
}, isOpen ? /*#__PURE__*/React.createElement(Layering, {
|
|
125
125
|
isDisabled: false
|
|
126
126
|
}, children, /*#__PURE__*/React.createElement(EscapeCloseManager, {
|
|
127
127
|
onClose: handleClose
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React, { useCallback, useEffect } from 'react';
|
|
3
3
|
import { canUseDOM } from 'exenv';
|
|
4
4
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
5
|
-
import {
|
|
5
|
+
import { Layering, useCloseOnEscapePress } from '@atlaskit/layering';
|
|
6
6
|
import Portal from '@atlaskit/portal';
|
|
7
7
|
import Blanket from './blanket';
|
|
8
8
|
import DrawerPrimitive from './primitives';
|
|
@@ -61,7 +61,7 @@ export var Drawer = function Drawer(_ref2) {
|
|
|
61
61
|
action: 'dismissed',
|
|
62
62
|
componentName: 'drawer',
|
|
63
63
|
packageName: "@atlaskit/drawer",
|
|
64
|
-
packageVersion: "9.2.
|
|
64
|
+
packageVersion: "9.2.2",
|
|
65
65
|
analyticsData: {
|
|
66
66
|
trigger: 'escKey'
|
|
67
67
|
}
|
|
@@ -84,7 +84,7 @@ export var Drawer = function Drawer(_ref2) {
|
|
|
84
84
|
action: 'dismissed',
|
|
85
85
|
componentName: 'drawer',
|
|
86
86
|
packageName: "@atlaskit/drawer",
|
|
87
|
-
packageVersion: "9.2.
|
|
87
|
+
packageVersion: "9.2.2",
|
|
88
88
|
analyticsData: {
|
|
89
89
|
trigger: 'blanket'
|
|
90
90
|
}
|
|
@@ -96,7 +96,7 @@ export var Drawer = function Drawer(_ref2) {
|
|
|
96
96
|
action: 'dismissed',
|
|
97
97
|
componentName: 'drawer',
|
|
98
98
|
packageName: "@atlaskit/drawer",
|
|
99
|
-
packageVersion: "9.2.
|
|
99
|
+
packageVersion: "9.2.2",
|
|
100
100
|
analyticsData: {
|
|
101
101
|
trigger: 'backButton'
|
|
102
102
|
}
|
|
@@ -129,7 +129,7 @@ export var Drawer = function Drawer(_ref2) {
|
|
|
129
129
|
isFocusLockEnabled: isFocusLockEnabled,
|
|
130
130
|
shouldReturnFocus: shouldReturnFocus,
|
|
131
131
|
scrollContentLabel: scrollContentLabel
|
|
132
|
-
}, isOpen ? /*#__PURE__*/React.createElement(
|
|
132
|
+
}, isOpen ? /*#__PURE__*/React.createElement(Layering, {
|
|
133
133
|
isDisabled: false
|
|
134
134
|
}, children, /*#__PURE__*/React.createElement(EscapeCloseManager, {
|
|
135
135
|
onClose: handleClose
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/drawer",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.2",
|
|
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/"
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@atlaskit/blanket": "^13.3.0",
|
|
41
41
|
"@atlaskit/button": "^20.3.0",
|
|
42
42
|
"@atlaskit/icon": "^22.24.0",
|
|
43
|
-
"@atlaskit/layering": "^0.
|
|
43
|
+
"@atlaskit/layering": "^0.8.0",
|
|
44
44
|
"@atlaskit/motion": "^1.9.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
46
46
|
"@atlaskit/portal": "^4.9.0",
|
|
47
47
|
"@atlaskit/theme": "^14.0.0",
|
|
48
|
-
"@atlaskit/tokens": "^2.
|
|
48
|
+
"@atlaskit/tokens": "^2.2.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@emotion/react": "^11.7.1",
|
|
51
51
|
"bind-event-listener": "^3.0.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@af/accessibility-testing": "*",
|
|
64
64
|
"@af/integration-testing": "*",
|
|
65
65
|
"@af/visual-regression": "*",
|
|
66
|
-
"@atlaskit/ds-lib": "^3.
|
|
66
|
+
"@atlaskit/ds-lib": "^3.2.0",
|
|
67
67
|
"@atlaskit/ssr": "*",
|
|
68
68
|
"@atlaskit/visual-regression": "*",
|
|
69
69
|
"@testing-library/react": "^12.1.5",
|