@atlaskit/drawer 11.0.24 → 11.0.26
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 -0
- 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 +4 -3
- package/dist/types-ts4.5/context.d.ts +4 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
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: "0.0.0-development",
|
|
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: "0.0.0-development",
|
|
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: "0.0.0-development",
|
|
106
106
|
analyticsData: {
|
|
107
107
|
trigger: 'backButton'
|
|
108
108
|
}
|
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: "0.0.0-development",
|
|
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: "0.0.0-development",
|
|
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: "0.0.0-development",
|
|
87
87
|
analyticsData: {
|
|
88
88
|
trigger: 'backButton'
|
|
89
89
|
}
|
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: "0.0.0-development",
|
|
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: "0.0.0-development",
|
|
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: "0.0.0-development",
|
|
96
96
|
analyticsData: {
|
|
97
97
|
trigger: 'backButton'
|
|
98
98
|
}
|
package/dist/types/context.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { type Context, type SyntheticEvent } from 'react';
|
|
1
2
|
/**
|
|
2
3
|
* Context used to share the `onClose` prop value with sub-components.
|
|
3
4
|
*/
|
|
4
|
-
export declare const OnCloseContext:
|
|
5
|
-
export declare const useOnClose: () => ((event:
|
|
5
|
+
export declare const OnCloseContext: Context<((event: SyntheticEvent<HTMLElement>, analyticsEvent?: any) => void) | undefined>;
|
|
6
|
+
export declare const useOnClose: () => ((event: SyntheticEvent<HTMLElement>, analyticsEvent?: any) => void) | undefined;
|
|
6
7
|
/**
|
|
7
8
|
* Used to ensure Drawer sub-components are used within a Drawer component,
|
|
8
9
|
* and provide a useful error message if not.
|
|
9
10
|
*/
|
|
10
|
-
export declare const EnsureIsInsideDrawerContext:
|
|
11
|
+
export declare const EnsureIsInsideDrawerContext: Context<boolean>;
|
|
11
12
|
export declare const useEnsureIsInsideDrawer: () => void;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { type Context, type SyntheticEvent } from 'react';
|
|
1
2
|
/**
|
|
2
3
|
* Context used to share the `onClose` prop value with sub-components.
|
|
3
4
|
*/
|
|
4
|
-
export declare const OnCloseContext:
|
|
5
|
-
export declare const useOnClose: () => ((event:
|
|
5
|
+
export declare const OnCloseContext: Context<((event: SyntheticEvent<HTMLElement>, analyticsEvent?: any) => void) | undefined>;
|
|
6
|
+
export declare const useOnClose: () => ((event: SyntheticEvent<HTMLElement>, analyticsEvent?: any) => void) | undefined;
|
|
6
7
|
/**
|
|
7
8
|
* Used to ensure Drawer sub-components are used within a Drawer component,
|
|
8
9
|
* and provide a useful error message if not.
|
|
9
10
|
*/
|
|
10
|
-
export declare const EnsureIsInsideDrawerContext:
|
|
11
|
+
export declare const EnsureIsInsideDrawerContext: Context<boolean>;
|
|
11
12
|
export declare const useEnsureIsInsideDrawer: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/drawer",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.26",
|
|
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/"
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"@atlaskit/blanket": "^15.0.0",
|
|
42
42
|
"@atlaskit/button": "^23.9.0",
|
|
43
43
|
"@atlaskit/css": "^0.19.0",
|
|
44
|
-
"@atlaskit/icon": "^
|
|
44
|
+
"@atlaskit/icon": "^30.0.0",
|
|
45
45
|
"@atlaskit/layering": "^3.6.0",
|
|
46
46
|
"@atlaskit/motion": "^5.3.0",
|
|
47
47
|
"@atlaskit/portal": "^5.2.0",
|
|
48
48
|
"@atlaskit/theme": "^21.0.0",
|
|
49
|
-
"@atlaskit/tokens": "^
|
|
49
|
+
"@atlaskit/tokens": "^11.0.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@compiled/react": "^0.18.6",
|
|
52
52
|
"bind-event-listener": "^3.0.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@atlaskit/link": "^3.3.0",
|
|
73
73
|
"@atlaskit/menu": "^8.4.0",
|
|
74
74
|
"@atlaskit/modal-dialog": "^14.10.0",
|
|
75
|
-
"@atlaskit/primitives": "^
|
|
75
|
+
"@atlaskit/primitives": "^18.0.0",
|
|
76
76
|
"@atlaskit/section-message": "^8.12.0",
|
|
77
77
|
"@atlassian/ssr-tests": "workspace:^",
|
|
78
78
|
"@testing-library/react": "^16.3.0",
|