@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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/drawer
2
2
 
3
+ ## 11.0.26
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.0.25
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 11.0.24
4
16
 
5
17
  ### Patch Changes
@@ -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: "11.0.23",
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: "11.0.23",
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: "11.0.23",
105
+ packageVersion: "0.0.0-development",
106
106
  analyticsData: {
107
107
  trigger: 'backButton'
108
108
  }
@@ -52,7 +52,7 @@ export const Drawer = ({
52
52
  action: 'dismissed',
53
53
  componentName: 'drawer',
54
54
  packageName: "@atlaskit/drawer",
55
- packageVersion: "11.0.23",
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: "11.0.23",
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: "11.0.23",
86
+ packageVersion: "0.0.0-development",
87
87
  analyticsData: {
88
88
  trigger: 'backButton'
89
89
  }
@@ -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: "11.0.23",
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: "11.0.23",
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: "11.0.23",
95
+ packageVersion: "0.0.0-development",
96
96
  analyticsData: {
97
97
  trigger: 'backButton'
98
98
  }
@@ -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: 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;
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: import("react").Context<boolean>;
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: 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;
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: import("react").Context<boolean>;
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.24",
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": "^29.4.0",
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": "^10.0.0",
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": "^17.1.0",
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",