@atlaskit/drawer 11.0.6 → 11.0.7
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 +6 -0
- package/constants/package.json +1 -1
- package/dist/cjs/drawer.js +3 -3
- package/dist/es2019/drawer.js +3 -3
- package/dist/esm/drawer.js +3 -3
- package/dist/types/context.d.ts +2 -3
- package/dist/types/drawer-panel/drawer-content.d.ts +0 -1
- package/dist/types/drawer-panel/drawer-panel.d.ts +0 -1
- package/dist/types/drawer-panel/drawer-sidebar.d.ts +0 -1
- package/dist/types-ts4.5/context.d.ts +2 -3
- package/dist/types-ts4.5/drawer-panel/drawer-content.d.ts +0 -1
- package/dist/types-ts4.5/drawer-panel/drawer-panel.d.ts +0 -1
- package/dist/types-ts4.5/drawer-panel/drawer-sidebar.d.ts +0 -1
- package/package.json +7 -8
package/CHANGELOG.md
CHANGED
package/constants/package.json
CHANGED
package/dist/cjs/drawer.js
CHANGED
|
@@ -66,7 +66,7 @@ var Drawer = exports.Drawer = function Drawer(_ref2) {
|
|
|
66
66
|
action: 'dismissed',
|
|
67
67
|
componentName: 'drawer',
|
|
68
68
|
packageName: "@atlaskit/drawer",
|
|
69
|
-
packageVersion: "11.0.
|
|
69
|
+
packageVersion: "11.0.6",
|
|
70
70
|
analyticsData: {
|
|
71
71
|
trigger: 'escKey'
|
|
72
72
|
}
|
|
@@ -89,7 +89,7 @@ var Drawer = exports.Drawer = function Drawer(_ref2) {
|
|
|
89
89
|
action: 'dismissed',
|
|
90
90
|
componentName: 'drawer',
|
|
91
91
|
packageName: "@atlaskit/drawer",
|
|
92
|
-
packageVersion: "11.0.
|
|
92
|
+
packageVersion: "11.0.6",
|
|
93
93
|
analyticsData: {
|
|
94
94
|
trigger: 'blanket'
|
|
95
95
|
}
|
|
@@ -101,7 +101,7 @@ var Drawer = exports.Drawer = function Drawer(_ref2) {
|
|
|
101
101
|
action: 'dismissed',
|
|
102
102
|
componentName: 'drawer',
|
|
103
103
|
packageName: "@atlaskit/drawer",
|
|
104
|
-
packageVersion: "11.0.
|
|
104
|
+
packageVersion: "11.0.6",
|
|
105
105
|
analyticsData: {
|
|
106
106
|
trigger: 'backButton'
|
|
107
107
|
}
|
package/dist/es2019/drawer.js
CHANGED
|
@@ -51,7 +51,7 @@ export const Drawer = ({
|
|
|
51
51
|
action: 'dismissed',
|
|
52
52
|
componentName: 'drawer',
|
|
53
53
|
packageName: "@atlaskit/drawer",
|
|
54
|
-
packageVersion: "11.0.
|
|
54
|
+
packageVersion: "11.0.6",
|
|
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: "11.0.
|
|
75
|
+
packageVersion: "11.0.6",
|
|
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: "11.0.
|
|
85
|
+
packageVersion: "11.0.6",
|
|
86
86
|
analyticsData: {
|
|
87
87
|
trigger: 'backButton'
|
|
88
88
|
}
|
package/dist/esm/drawer.js
CHANGED
|
@@ -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: "11.0.
|
|
59
|
+
packageVersion: "11.0.6",
|
|
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: "11.0.
|
|
82
|
+
packageVersion: "11.0.6",
|
|
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: "11.0.
|
|
94
|
+
packageVersion: "11.0.6",
|
|
95
95
|
analyticsData: {
|
|
96
96
|
trigger: 'backButton'
|
|
97
97
|
}
|
package/dist/types/context.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
/**
|
|
3
2
|
* Context used to share the `onClose` prop value with sub-components.
|
|
4
3
|
*/
|
|
5
|
-
export declare const OnCloseContext: import("react").Context<((event: import("react").SyntheticEvent<HTMLElement
|
|
6
|
-
export declare const useOnClose: () => ((event: import("react").SyntheticEvent<HTMLElement
|
|
4
|
+
export declare const OnCloseContext: import("react").Context<((event: import("react").SyntheticEvent<HTMLElement>, analyticsEvent?: any) => void) | undefined>;
|
|
5
|
+
export declare const useOnClose: () => ((event: import("react").SyntheticEvent<HTMLElement>, analyticsEvent?: any) => void) | undefined;
|
|
7
6
|
/**
|
|
8
7
|
* Used to ensure Drawer sub-components are used within a Drawer component,
|
|
9
8
|
* and provide a useful error message if not.
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
/**
|
|
3
2
|
* Context used to share the `onClose` prop value with sub-components.
|
|
4
3
|
*/
|
|
5
|
-
export declare const OnCloseContext: import("react").Context<((event: import("react").SyntheticEvent<HTMLElement
|
|
6
|
-
export declare const useOnClose: () => ((event: import("react").SyntheticEvent<HTMLElement
|
|
4
|
+
export declare const OnCloseContext: import("react").Context<((event: import("react").SyntheticEvent<HTMLElement>, analyticsEvent?: any) => void) | undefined>;
|
|
5
|
+
export declare const useOnClose: () => ((event: import("react").SyntheticEvent<HTMLElement>, analyticsEvent?: any) => void) | undefined;
|
|
7
6
|
/**
|
|
8
7
|
* Used to ensure Drawer sub-components are used within a Drawer component,
|
|
9
8
|
* and provide a useful error message if not.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/drawer",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.7",
|
|
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/"
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
45
45
|
"@atlaskit/blanket": "^15.0.0",
|
|
46
|
-
"@atlaskit/button": "^23.
|
|
46
|
+
"@atlaskit/button": "^23.4.0",
|
|
47
47
|
"@atlaskit/css": "^0.12.0",
|
|
48
|
-
"@atlaskit/icon": "^
|
|
48
|
+
"@atlaskit/icon": "^28.0.0",
|
|
49
49
|
"@atlaskit/layering": "^3.0.0",
|
|
50
|
-
"@atlaskit/motion": "^5.
|
|
50
|
+
"@atlaskit/motion": "^5.3.0",
|
|
51
51
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
52
52
|
"@atlaskit/portal": "^5.1.0",
|
|
53
53
|
"@atlaskit/theme": "^19.0.0",
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
"@atlaskit/docs": "^11.0.0",
|
|
73
73
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
74
74
|
"@atlaskit/ds-lib": "^5.0.0",
|
|
75
|
-
"@atlaskit/form": "^12.
|
|
75
|
+
"@atlaskit/form": "^12.1.0",
|
|
76
76
|
"@atlaskit/inline-message": "^15.3.0",
|
|
77
77
|
"@atlaskit/link": "^3.2.0",
|
|
78
|
-
"@atlaskit/menu": "^8.
|
|
78
|
+
"@atlaskit/menu": "^8.3.0",
|
|
79
79
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
80
80
|
"@atlaskit/primitives": "^14.11.0",
|
|
81
81
|
"@atlaskit/section-message": "^8.5.0",
|
|
@@ -84,8 +84,7 @@
|
|
|
84
84
|
"@testing-library/user-event": "^14.4.3",
|
|
85
85
|
"@types/exenv": "^1.2.0",
|
|
86
86
|
"react-dom": "^18.2.0",
|
|
87
|
-
"react-lorem-component": "^0.13.0"
|
|
88
|
-
"typescript": "~5.4.2"
|
|
87
|
+
"react-lorem-component": "^0.13.0"
|
|
89
88
|
},
|
|
90
89
|
"techstack": {
|
|
91
90
|
"@atlassian/frontend": {
|