@atlaskit/drawer 11.0.23 → 11.0.25

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.25
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.0.24
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 11.0.23
4
16
 
5
17
  ### Patch Changes
@@ -28,8 +28,7 @@ var DrawerCloseButton = exports.DrawerCloseButton = function DrawerCloseButton(_
28
28
  testId: testId,
29
29
  icon: Icon ? function (iconProps) {
30
30
  return /*#__PURE__*/_react.default.createElement(Icon, (0, _extends2.default)({}, iconProps, {
31
- size: "large",
32
- LEGACY_size: "large"
31
+ size: "large"
33
32
  }));
34
33
  } : _arrowLeft.default,
35
34
  label: label,
@@ -12,5 +12,5 @@
12
12
  ._1reo15vq{overflow-x:hidden}
13
13
  ._4t3i1kxc{height:100vh}
14
14
  ._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
15
- ._ect41gqc{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
15
+ ._ect4ttxp{font-family:var(--ds-font-family-body,"Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
16
16
  ._kqsw1n9t{position:fixed}
@@ -17,7 +17,7 @@ var _focusLock = _interopRequireDefault(require("./focus-lock"));
17
17
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
18
18
  var LOCAL_CURRENT_SURFACE_CSS_VAR = '--ds-elevation-surface-current';
19
19
  var styles = {
20
- root: "_1reo15vq _18m915vq _1e0c1txw _4t3i1kxc _kqsw1n9t _1pbybfng _bfhk1bhr _1q1l1bhr _152tze3t _1e02ze3t _ect41gqc",
20
+ root: "_1reo15vq _18m915vq _1e0c1txw _4t3i1kxc _kqsw1n9t _1pbybfng _bfhk1bhr _1q1l1bhr _152tze3t _1e02ze3t _ect4ttxp",
21
21
  full: "_1bsbauwl",
22
22
  extended: "_1bsb1mwr",
23
23
  narrow: "_1bsb1gwv",
@@ -19,8 +19,7 @@ export const DrawerCloseButton = ({
19
19
  onClick: onClose,
20
20
  testId: testId,
21
21
  icon: Icon ? iconProps => /*#__PURE__*/React.createElement(Icon, _extends({}, iconProps, {
22
- size: "large",
23
- LEGACY_size: "large"
22
+ size: "large"
24
23
  })) : ArrowLeft,
25
24
  label: label,
26
25
  shape: "circle",
@@ -12,5 +12,5 @@
12
12
  ._1reo15vq{overflow-x:hidden}
13
13
  ._4t3i1kxc{height:100vh}
14
14
  ._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
15
- ._ect41gqc{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
15
+ ._ect4ttxp{font-family:var(--ds-font-family-body,"Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
16
16
  ._kqsw1n9t{position:fixed}
@@ -8,7 +8,7 @@ import { EnsureIsInsideDrawerContext, OnCloseContext } from '../context';
8
8
  import FocusLock from './focus-lock';
9
9
  const LOCAL_CURRENT_SURFACE_CSS_VAR = '--ds-elevation-surface-current';
10
10
  const styles = {
11
- root: "_1reo15vq _18m915vq _1e0c1txw _4t3i1kxc _kqsw1n9t _1pbybfng _bfhk1bhr _1q1l1bhr _152tze3t _1e02ze3t _ect41gqc",
11
+ root: "_1reo15vq _18m915vq _1e0c1txw _4t3i1kxc _kqsw1n9t _1pbybfng _bfhk1bhr _1q1l1bhr _152tze3t _1e02ze3t _ect4ttxp",
12
12
  full: "_1bsbauwl",
13
13
  extended: "_1bsb1mwr",
14
14
  narrow: "_1bsb1gwv",
@@ -21,8 +21,7 @@ export var DrawerCloseButton = function DrawerCloseButton(_ref) {
21
21
  testId: testId,
22
22
  icon: Icon ? function (iconProps) {
23
23
  return /*#__PURE__*/React.createElement(Icon, _extends({}, iconProps, {
24
- size: "large",
25
- LEGACY_size: "large"
24
+ size: "large"
26
25
  }));
27
26
  } : ArrowLeft,
28
27
  label: label,
@@ -12,5 +12,5 @@
12
12
  ._1reo15vq{overflow-x:hidden}
13
13
  ._4t3i1kxc{height:100vh}
14
14
  ._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
15
- ._ect41gqc{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
15
+ ._ect4ttxp{font-family:var(--ds-font-family-body,"Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
16
16
  ._kqsw1n9t{position:fixed}
@@ -8,7 +8,7 @@ import { EnsureIsInsideDrawerContext, OnCloseContext } from '../context';
8
8
  import FocusLock from './focus-lock';
9
9
  var LOCAL_CURRENT_SURFACE_CSS_VAR = '--ds-elevation-surface-current';
10
10
  var styles = {
11
- root: "_1reo15vq _18m915vq _1e0c1txw _4t3i1kxc _kqsw1n9t _1pbybfng _bfhk1bhr _1q1l1bhr _152tze3t _1e02ze3t _ect41gqc",
11
+ root: "_1reo15vq _18m915vq _1e0c1txw _4t3i1kxc _kqsw1n9t _1pbybfng _bfhk1bhr _1q1l1bhr _152tze3t _1e02ze3t _ect4ttxp",
12
12
  full: "_1bsbauwl",
13
13
  extended: "_1bsb1mwr",
14
14
  narrow: "_1bsb1gwv",
@@ -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.23",
3
+ "version": "11.0.25",
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.3.0",
45
- "@atlaskit/layering": "^3.5.0",
44
+ "@atlaskit/icon": "^30.0.0",
45
+ "@atlaskit/layering": "^3.6.0",
46
46
  "@atlaskit/motion": "^5.3.0",
47
- "@atlaskit/portal": "^5.1.0",
47
+ "@atlaskit/portal": "^5.2.0",
48
48
  "@atlaskit/theme": "^21.0.0",
49
- "@atlaskit/tokens": "^9.1.0",
49
+ "@atlaskit/tokens": "^10.1.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@compiled/react": "^0.18.6",
52
52
  "bind-event-listener": "^3.0.0",
@@ -64,18 +64,18 @@
64
64
  "@af/integration-testing": "workspace:^",
65
65
  "@af/visual-regression": "workspace:^",
66
66
  "@atlaskit/code": "^17.4.0",
67
- "@atlaskit/docs": "^11.2.0",
67
+ "@atlaskit/docs": "^11.3.0",
68
68
  "@atlaskit/dropdown-menu": "^16.4.0",
69
69
  "@atlaskit/ds-lib": "^5.3.0",
70
- "@atlaskit/form": "^15.2.0",
70
+ "@atlaskit/form": "^15.3.0",
71
71
  "@atlaskit/inline-message": "^15.5.0",
72
72
  "@atlaskit/link": "^3.3.0",
73
73
  "@atlaskit/menu": "^8.4.0",
74
- "@atlaskit/modal-dialog": "^14.9.0",
75
- "@atlaskit/primitives": "^17.0.0",
76
- "@atlaskit/section-message": "^8.11.0",
74
+ "@atlaskit/modal-dialog": "^14.10.0",
75
+ "@atlaskit/primitives": "^17.1.0",
76
+ "@atlaskit/section-message": "^8.12.0",
77
77
  "@atlassian/ssr-tests": "workspace:^",
78
- "@testing-library/react": "^13.4.0",
78
+ "@testing-library/react": "^16.3.0",
79
79
  "@testing-library/user-event": "^14.4.3",
80
80
  "@types/exenv": "^1.2.0",
81
81
  "react-dom": "^18.2.0",