@atlaskit/drawer 10.0.2 → 10.0.4
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 +15 -0
- package/dist/cjs/compiled/drawer-panel/drawer-content.js +1 -3
- package/dist/cjs/compiled/drawer.js +3 -3
- package/dist/cjs/components/index.js +3 -3
- package/dist/es2019/compiled/drawer-panel/drawer-content.js +1 -3
- package/dist/es2019/compiled/drawer.js +3 -3
- package/dist/es2019/components/index.js +3 -3
- package/dist/esm/compiled/drawer-panel/drawer-content.js +1 -3
- package/dist/esm/compiled/drawer.js +3 -3
- package/dist/esm/components/index.js +3 -3
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/drawer
|
|
2
2
|
|
|
3
|
+
## 10.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#129972](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129972)
|
|
8
|
+
[`b2d69a39e6687`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b2d69a39e6687) -
|
|
9
|
+
Update `@compiled/react` dependency for improved type checking support.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 10.0.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 10.0.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -63,9 +63,7 @@ var DrawerContent = exports.DrawerContent = function DrawerContent(_ref2) {
|
|
|
63
63
|
(0, _context.useEnsureIsInsideDrawer)();
|
|
64
64
|
(0, _usePreventProgrammaticScroll.default)();
|
|
65
65
|
return /*#__PURE__*/React.createElement(_reactScrolllock.default, null, /*#__PURE__*/React.createElement(DrawerContentBase, {
|
|
66
|
-
scrollContentLabel: scrollContentLabel
|
|
67
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
68
|
-
,
|
|
66
|
+
scrollContentLabel: scrollContentLabel,
|
|
69
67
|
xcss: xcss
|
|
70
68
|
}, children));
|
|
71
69
|
};
|
|
@@ -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: "10.0.
|
|
70
|
+
packageVersion: "10.0.4",
|
|
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: "10.0.
|
|
93
|
+
packageVersion: "10.0.4",
|
|
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: "10.0.
|
|
105
|
+
packageVersion: "10.0.4",
|
|
106
106
|
analyticsData: {
|
|
107
107
|
trigger: 'backButton'
|
|
108
108
|
}
|
|
@@ -72,7 +72,7 @@ var Drawer = function Drawer(_ref2) {
|
|
|
72
72
|
action: 'dismissed',
|
|
73
73
|
componentName: 'drawer',
|
|
74
74
|
packageName: "@atlaskit/drawer",
|
|
75
|
-
packageVersion: "10.0.
|
|
75
|
+
packageVersion: "10.0.4",
|
|
76
76
|
analyticsData: {
|
|
77
77
|
trigger: 'escKey'
|
|
78
78
|
}
|
|
@@ -95,7 +95,7 @@ var Drawer = function Drawer(_ref2) {
|
|
|
95
95
|
action: 'dismissed',
|
|
96
96
|
componentName: 'drawer',
|
|
97
97
|
packageName: "@atlaskit/drawer",
|
|
98
|
-
packageVersion: "10.0.
|
|
98
|
+
packageVersion: "10.0.4",
|
|
99
99
|
analyticsData: {
|
|
100
100
|
trigger: 'blanket'
|
|
101
101
|
}
|
|
@@ -107,7 +107,7 @@ var Drawer = function Drawer(_ref2) {
|
|
|
107
107
|
action: 'dismissed',
|
|
108
108
|
componentName: 'drawer',
|
|
109
109
|
packageName: "@atlaskit/drawer",
|
|
110
|
-
packageVersion: "10.0.
|
|
110
|
+
packageVersion: "10.0.4",
|
|
111
111
|
analyticsData: {
|
|
112
112
|
trigger: 'backButton'
|
|
113
113
|
}
|
|
@@ -50,9 +50,7 @@ export const DrawerContent = ({
|
|
|
50
50
|
useEnsureIsInsideDrawer();
|
|
51
51
|
usePreventProgrammaticScroll();
|
|
52
52
|
return /*#__PURE__*/React.createElement(ScrollLock, null, /*#__PURE__*/React.createElement(DrawerContentBase, {
|
|
53
|
-
scrollContentLabel: scrollContentLabel
|
|
54
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
55
|
-
,
|
|
53
|
+
scrollContentLabel: scrollContentLabel,
|
|
56
54
|
xcss: xcss
|
|
57
55
|
}, children));
|
|
58
56
|
};
|
|
@@ -51,7 +51,7 @@ export const Drawer = ({
|
|
|
51
51
|
action: 'dismissed',
|
|
52
52
|
componentName: 'drawer',
|
|
53
53
|
packageName: "@atlaskit/drawer",
|
|
54
|
-
packageVersion: "10.0.
|
|
54
|
+
packageVersion: "10.0.4",
|
|
55
55
|
analyticsData: {
|
|
56
56
|
trigger: 'escKey'
|
|
57
57
|
}
|
|
@@ -72,7 +72,7 @@ export const Drawer = ({
|
|
|
72
72
|
action: 'dismissed',
|
|
73
73
|
componentName: 'drawer',
|
|
74
74
|
packageName: "@atlaskit/drawer",
|
|
75
|
-
packageVersion: "10.0.
|
|
75
|
+
packageVersion: "10.0.4",
|
|
76
76
|
analyticsData: {
|
|
77
77
|
trigger: 'blanket'
|
|
78
78
|
}
|
|
@@ -82,7 +82,7 @@ export const Drawer = ({
|
|
|
82
82
|
action: 'dismissed',
|
|
83
83
|
componentName: 'drawer',
|
|
84
84
|
packageName: "@atlaskit/drawer",
|
|
85
|
-
packageVersion: "10.0.
|
|
85
|
+
packageVersion: "10.0.4",
|
|
86
86
|
analyticsData: {
|
|
87
87
|
trigger: 'backButton'
|
|
88
88
|
}
|
|
@@ -57,7 +57,7 @@ const Drawer = ({
|
|
|
57
57
|
action: 'dismissed',
|
|
58
58
|
componentName: 'drawer',
|
|
59
59
|
packageName: "@atlaskit/drawer",
|
|
60
|
-
packageVersion: "10.0.
|
|
60
|
+
packageVersion: "10.0.4",
|
|
61
61
|
analyticsData: {
|
|
62
62
|
trigger: 'escKey'
|
|
63
63
|
}
|
|
@@ -78,7 +78,7 @@ const Drawer = ({
|
|
|
78
78
|
action: 'dismissed',
|
|
79
79
|
componentName: 'drawer',
|
|
80
80
|
packageName: "@atlaskit/drawer",
|
|
81
|
-
packageVersion: "10.0.
|
|
81
|
+
packageVersion: "10.0.4",
|
|
82
82
|
analyticsData: {
|
|
83
83
|
trigger: 'blanket'
|
|
84
84
|
}
|
|
@@ -88,7 +88,7 @@ const Drawer = ({
|
|
|
88
88
|
action: 'dismissed',
|
|
89
89
|
componentName: 'drawer',
|
|
90
90
|
packageName: "@atlaskit/drawer",
|
|
91
|
-
packageVersion: "10.0.
|
|
91
|
+
packageVersion: "10.0.4",
|
|
92
92
|
analyticsData: {
|
|
93
93
|
trigger: 'backButton'
|
|
94
94
|
}
|
|
@@ -53,9 +53,7 @@ export var DrawerContent = function DrawerContent(_ref2) {
|
|
|
53
53
|
useEnsureIsInsideDrawer();
|
|
54
54
|
usePreventProgrammaticScroll();
|
|
55
55
|
return /*#__PURE__*/React.createElement(ScrollLock, null, /*#__PURE__*/React.createElement(DrawerContentBase, {
|
|
56
|
-
scrollContentLabel: scrollContentLabel
|
|
57
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
58
|
-
,
|
|
56
|
+
scrollContentLabel: scrollContentLabel,
|
|
59
57
|
xcss: xcss
|
|
60
58
|
}, children));
|
|
61
59
|
};
|
|
@@ -56,7 +56,7 @@ export var Drawer = function Drawer(_ref2) {
|
|
|
56
56
|
action: 'dismissed',
|
|
57
57
|
componentName: 'drawer',
|
|
58
58
|
packageName: "@atlaskit/drawer",
|
|
59
|
-
packageVersion: "10.0.
|
|
59
|
+
packageVersion: "10.0.4",
|
|
60
60
|
analyticsData: {
|
|
61
61
|
trigger: 'escKey'
|
|
62
62
|
}
|
|
@@ -79,7 +79,7 @@ export var Drawer = function Drawer(_ref2) {
|
|
|
79
79
|
action: 'dismissed',
|
|
80
80
|
componentName: 'drawer',
|
|
81
81
|
packageName: "@atlaskit/drawer",
|
|
82
|
-
packageVersion: "10.0.
|
|
82
|
+
packageVersion: "10.0.4",
|
|
83
83
|
analyticsData: {
|
|
84
84
|
trigger: 'blanket'
|
|
85
85
|
}
|
|
@@ -91,7 +91,7 @@ export var Drawer = function Drawer(_ref2) {
|
|
|
91
91
|
action: 'dismissed',
|
|
92
92
|
componentName: 'drawer',
|
|
93
93
|
packageName: "@atlaskit/drawer",
|
|
94
|
-
packageVersion: "10.0.
|
|
94
|
+
packageVersion: "10.0.4",
|
|
95
95
|
analyticsData: {
|
|
96
96
|
trigger: 'backButton'
|
|
97
97
|
}
|
|
@@ -61,7 +61,7 @@ var Drawer = function Drawer(_ref2) {
|
|
|
61
61
|
action: 'dismissed',
|
|
62
62
|
componentName: 'drawer',
|
|
63
63
|
packageName: "@atlaskit/drawer",
|
|
64
|
-
packageVersion: "10.0.
|
|
64
|
+
packageVersion: "10.0.4",
|
|
65
65
|
analyticsData: {
|
|
66
66
|
trigger: 'escKey'
|
|
67
67
|
}
|
|
@@ -84,7 +84,7 @@ var Drawer = function Drawer(_ref2) {
|
|
|
84
84
|
action: 'dismissed',
|
|
85
85
|
componentName: 'drawer',
|
|
86
86
|
packageName: "@atlaskit/drawer",
|
|
87
|
-
packageVersion: "10.0.
|
|
87
|
+
packageVersion: "10.0.4",
|
|
88
88
|
analyticsData: {
|
|
89
89
|
trigger: 'blanket'
|
|
90
90
|
}
|
|
@@ -96,7 +96,7 @@ var Drawer = function Drawer(_ref2) {
|
|
|
96
96
|
action: 'dismissed',
|
|
97
97
|
componentName: 'drawer',
|
|
98
98
|
packageName: "@atlaskit/drawer",
|
|
99
|
-
packageVersion: "10.0.
|
|
99
|
+
packageVersion: "10.0.4",
|
|
100
100
|
analyticsData: {
|
|
101
101
|
trigger: 'backButton'
|
|
102
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/drawer",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.4",
|
|
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/"
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
"@atlaskit/blanket": "^15.0.0",
|
|
61
61
|
"@atlaskit/button": "^21.1.0",
|
|
62
62
|
"@atlaskit/css": "^0.10.0",
|
|
63
|
-
"@atlaskit/icon": "^
|
|
63
|
+
"@atlaskit/icon": "^25.0.0",
|
|
64
64
|
"@atlaskit/layering": "^2.0.0",
|
|
65
|
-
"@atlaskit/motion": "^5.
|
|
65
|
+
"@atlaskit/motion": "^5.1.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
67
|
-
"@atlaskit/portal": "^5.
|
|
67
|
+
"@atlaskit/portal": "^5.1.0",
|
|
68
68
|
"@atlaskit/theme": "^18.0.0",
|
|
69
|
-
"@atlaskit/tokens": "^4.
|
|
69
|
+
"@atlaskit/tokens": "^4.5.0",
|
|
70
70
|
"@babel/runtime": "^7.0.0",
|
|
71
|
-
"@compiled/react": "^0.18.
|
|
71
|
+
"@compiled/react": "^0.18.3",
|
|
72
72
|
"@emotion/react": "^11.7.1",
|
|
73
73
|
"bind-event-listener": "^3.0.0",
|
|
74
74
|
"exenv": "^1.2.2",
|
|
@@ -81,21 +81,21 @@
|
|
|
81
81
|
"react": "^18.2.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@af/accessibility-testing": "
|
|
85
|
-
"@af/integration-testing": "
|
|
86
|
-
"@af/visual-regression": "
|
|
84
|
+
"@af/accessibility-testing": "^2.0.0",
|
|
85
|
+
"@af/integration-testing": "^0.5.0",
|
|
86
|
+
"@af/visual-regression": "^1.3.0",
|
|
87
87
|
"@atlaskit/code": "^16.0.0",
|
|
88
|
-
"@atlaskit/docs": "
|
|
88
|
+
"@atlaskit/docs": "^10.0.0",
|
|
89
89
|
"@atlaskit/dropdown-menu": "^13.0.0",
|
|
90
90
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
91
91
|
"@atlaskit/form": "^12.0.0",
|
|
92
92
|
"@atlaskit/inline-message": "^14.0.0",
|
|
93
|
-
"@atlaskit/link": "
|
|
93
|
+
"@atlaskit/link": "^3.0.0",
|
|
94
94
|
"@atlaskit/menu": "^3.1.0",
|
|
95
|
-
"@atlaskit/modal-dialog": "^13.
|
|
96
|
-
"@atlaskit/primitives": "^14.
|
|
97
|
-
"@atlaskit/section-message": "
|
|
98
|
-
"@atlaskit/ssr": "
|
|
95
|
+
"@atlaskit/modal-dialog": "^13.4.0",
|
|
96
|
+
"@atlaskit/primitives": "^14.2.0",
|
|
97
|
+
"@atlaskit/section-message": "^8.2.0",
|
|
98
|
+
"@atlaskit/ssr": "^0.4.0",
|
|
99
99
|
"@testing-library/react": "^13.4.0",
|
|
100
100
|
"@testing-library/user-event": "^14.4.3",
|
|
101
101
|
"@types/exenv": "^1.2.0",
|