@atlaskit/modal-dialog 16.6.7 → 17.0.0

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/modal-dialog
2
2
 
3
+ ## 17.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`0c7c7be927bde`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0c7c7be927bde) -
8
+ Remove deprecated Volt re-export shims from public package entry points. Consumers should import
9
+ from the replacement subpaths or implementation entry points instead.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 16.6.7
4
16
 
5
17
  ### Patch Changes
@@ -6,44 +6,9 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.FullScreenModalDialog = void 0;
9
- Object.defineProperty(exports, "ModalBody", {
10
- enumerable: true,
11
- get: function get() {
12
- return _modalBody.default;
13
- }
14
- });
15
- Object.defineProperty(exports, "ModalFooter", {
16
- enumerable: true,
17
- get: function get() {
18
- return _modalFooter.default;
19
- }
20
- });
21
- Object.defineProperty(exports, "ModalHeader", {
22
- enumerable: true,
23
- get: function get() {
24
- return _modalHeader.default;
25
- }
26
- });
27
- Object.defineProperty(exports, "ModalTitle", {
28
- enumerable: true,
29
- get: function get() {
30
- return _modalTitle.default;
31
- }
32
- });
33
- Object.defineProperty(exports, "ModalTransition", {
34
- enumerable: true,
35
- get: function get() {
36
- return _modalTransition.default;
37
- }
38
- });
39
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
40
10
  var _react = _interopRequireWildcard(require("react"));
41
11
  var _modalWrapper = _interopRequireDefault(require("./internal/components/modal-wrapper"));
42
- var _modalTransition = _interopRequireDefault(require("./modal-transition"));
43
- var _modalHeader = _interopRequireDefault(require("./modal-header"));
44
- var _modalTitle = _interopRequireDefault(require("./modal-title"));
45
- var _modalBody = _interopRequireDefault(require("./modal-body"));
46
- var _modalFooter = _interopRequireDefault(require("./modal-footer"));
47
12
  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); }
48
13
  // eslint-disable-next-line @repo/internal/react/require-jsdoc
49
14
  var FullScreenModalDialog = exports.FullScreenModalDialog = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
@@ -89,29 +54,4 @@ var FullScreenModalDialog = exports.FullScreenModalDialog = /*#__PURE__*/(0, _re
89
54
  ref: ref
90
55
  }));
91
56
  });
92
- FullScreenModalDialog.displayName = 'FullScreenModalDialog';
93
-
94
- /**
95
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
96
- * Retained only while consumers migrate off this re-export.
97
- */
98
-
99
- /**
100
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
101
- * Retained only while consumers migrate off this re-export.
102
- */
103
-
104
- /**
105
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
106
- * Retained only while consumers migrate off this re-export.
107
- */
108
-
109
- /**
110
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
111
- * Retained only while consumers migrate off this re-export.
112
- */
113
-
114
- /**
115
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
116
- * Retained only while consumers migrate off this re-export.
117
- */
57
+ FullScreenModalDialog.displayName = 'FullScreenModalDialog';
@@ -93,7 +93,7 @@ function useModalCloseHandler(providedOnClose) {
93
93
  action: 'closed',
94
94
  componentName: 'modalDialog',
95
95
  packageName: "@atlaskit/modal-dialog",
96
- packageVersion: "16.6.6"
96
+ packageVersion: "16.6.7"
97
97
  });
98
98
  }
99
99
  function getScrollMode(_ref) {
@@ -45,30 +45,4 @@ export const FullScreenModalDialog = /*#__PURE__*/forwardRef((props, ref) => {
45
45
  ref: ref
46
46
  }));
47
47
  });
48
- FullScreenModalDialog.displayName = 'FullScreenModalDialog';
49
-
50
- /**
51
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
52
- * Retained only while consumers migrate off this re-export.
53
- */
54
- export { default as ModalTransition } from './modal-transition';
55
- /**
56
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
57
- * Retained only while consumers migrate off this re-export.
58
- */
59
- export { default as ModalHeader } from './modal-header';
60
- /**
61
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
62
- * Retained only while consumers migrate off this re-export.
63
- */
64
- export { default as ModalTitle } from './modal-title';
65
- /**
66
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
67
- * Retained only while consumers migrate off this re-export.
68
- */
69
- export { default as ModalBody } from './modal-body';
70
- /**
71
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
72
- * Retained only while consumers migrate off this re-export.
73
- */
74
- export { default as ModalFooter } from './modal-footer';
48
+ FullScreenModalDialog.displayName = 'FullScreenModalDialog';
@@ -83,7 +83,7 @@ function useModalCloseHandler(providedOnClose) {
83
83
  action: 'closed',
84
84
  componentName: 'modalDialog',
85
85
  packageName: "@atlaskit/modal-dialog",
86
- packageVersion: "16.6.6"
86
+ packageVersion: "16.6.7"
87
87
  });
88
88
  }
89
89
  function getScrollMode({
@@ -45,30 +45,4 @@ export var FullScreenModalDialog = /*#__PURE__*/forwardRef(function (props, ref)
45
45
  ref: ref
46
46
  }));
47
47
  });
48
- FullScreenModalDialog.displayName = 'FullScreenModalDialog';
49
-
50
- /**
51
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
52
- * Retained only while consumers migrate off this re-export.
53
- */
54
- export { default as ModalTransition } from './modal-transition';
55
- /**
56
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
57
- * Retained only while consumers migrate off this re-export.
58
- */
59
- export { default as ModalHeader } from './modal-header';
60
- /**
61
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
62
- * Retained only while consumers migrate off this re-export.
63
- */
64
- export { default as ModalTitle } from './modal-title';
65
- /**
66
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
67
- * Retained only while consumers migrate off this re-export.
68
- */
69
- export { default as ModalBody } from './modal-body';
70
- /**
71
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
72
- * Retained only while consumers migrate off this re-export.
73
- */
74
- export { default as ModalFooter } from './modal-footer';
48
+ FullScreenModalDialog.displayName = 'FullScreenModalDialog';
@@ -84,7 +84,7 @@ function useModalCloseHandler(providedOnClose) {
84
84
  action: 'closed',
85
85
  componentName: 'modalDialog',
86
86
  packageName: "@atlaskit/modal-dialog",
87
- packageVersion: "16.6.6"
87
+ packageVersion: "16.6.7"
88
88
  });
89
89
  }
90
90
  function getScrollMode(_ref) {
@@ -3,28 +3,3 @@ import type { ModalDialogProps } from './types';
3
3
  export interface FullScreenModalDialogProps extends Omit<ModalDialogProps, 'width' | 'height' | 'shouldScrollInViewport' | 'shouldCloseOnOverlayClick' | 'isBlanketHidden'> {
4
4
  }
5
5
  export declare const FullScreenModalDialog: React.ForwardRefExoticComponent<React.PropsWithoutRef<FullScreenModalDialogProps> & React.RefAttributes<HTMLElement>>;
6
- /**
7
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
8
- * Retained only while consumers migrate off this re-export.
9
- */
10
- export { default as ModalTransition } from './modal-transition';
11
- /**
12
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
13
- * Retained only while consumers migrate off this re-export.
14
- */
15
- export { default as ModalHeader } from './modal-header';
16
- /**
17
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
18
- * Retained only while consumers migrate off this re-export.
19
- */
20
- export { default as ModalTitle } from './modal-title';
21
- /**
22
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
23
- * Retained only while consumers migrate off this re-export.
24
- */
25
- export { default as ModalBody } from './modal-body';
26
- /**
27
- * @deprecated Volt migration shim. Import from the explicit subpath instead.
28
- * Retained only while consumers migrate off this re-export.
29
- */
30
- export { default as ModalFooter } from './modal-footer';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/modal-dialog",
3
- "version": "16.6.7",
3
+ "version": "17.0.0",
4
4
  "description": "A modal dialog displays content that requires user interaction, in a layer above the page.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -42,17 +42,17 @@
42
42
  "@atlaskit/button": "^25.4.0",
43
43
  "@atlaskit/css": "^1.1.0",
44
44
  "@atlaskit/ds-lib": "^8.0.0",
45
- "@atlaskit/icon": "^37.7.0",
46
- "@atlaskit/layering": "^5.2.0",
47
- "@atlaskit/motion": "^8.8.0",
45
+ "@atlaskit/icon": "^38.0.0",
46
+ "@atlaskit/layering": "^6.0.0",
47
+ "@atlaskit/motion": "^9.0.0",
48
48
  "@atlaskit/platform-feature-flags": "^2.2.0",
49
49
  "@atlaskit/portal": "^7.0.0",
50
- "@atlaskit/pragmatic-drag-and-drop": "^3.1.0",
50
+ "@atlaskit/pragmatic-drag-and-drop": "^4.0.0",
51
51
  "@atlaskit/primitives": "^22.5.0",
52
52
  "@atlaskit/react-compiler-gating": "^0.2.0",
53
53
  "@atlaskit/theme": "^28.2.0",
54
- "@atlaskit/tokens": "^19.0.0",
55
- "@atlaskit/top-layer": "^5.1.0",
54
+ "@atlaskit/tokens": "^20.0.0",
55
+ "@atlaskit/top-layer": "^6.0.0",
56
56
  "@babel/runtime": "^7.0.0",
57
57
  "@compiled/react": "^1.0.2",
58
58
  "bind-event-listener": "^3.0.0",
@@ -67,23 +67,23 @@
67
67
  "@af/accessibility-testing": "workspace:^",
68
68
  "@af/integration-testing": "workspace:^",
69
69
  "@af/visual-regression": "workspace:^",
70
- "@atlaskit/avatar": "^28.0.0",
70
+ "@atlaskit/avatar": "^29.0.0",
71
71
  "@atlaskit/avatar-group": "^14.3.0",
72
72
  "@atlaskit/banner": "^15.3.0",
73
- "@atlaskit/breadcrumbs": "^17.7.0",
73
+ "@atlaskit/breadcrumbs": "^17.8.0",
74
74
  "@atlaskit/checkbox": "^19.2.0",
75
- "@atlaskit/code": "^19.2.0",
76
- "@atlaskit/datetime-picker": "^18.7.0",
75
+ "@atlaskit/code": "^20.0.0",
76
+ "@atlaskit/datetime-picker": "^19.0.0",
77
77
  "@atlaskit/docs": "^12.2.0",
78
78
  "@atlaskit/dropdown-menu": "^18.3.0",
79
- "@atlaskit/flag": "^18.5.0",
80
- "@atlaskit/form": "^17.2.0",
81
- "@atlaskit/heading": "^7.2.0",
79
+ "@atlaskit/flag": "^19.0.0",
80
+ "@atlaskit/form": "^18.0.0",
81
+ "@atlaskit/heading": "^8.0.0",
82
82
  "@atlaskit/link": "^5.1.0",
83
83
  "@atlaskit/popup": "^6.3.0",
84
84
  "@atlaskit/radio": "^10.2.0",
85
85
  "@atlaskit/section-message": "^10.2.0",
86
- "@atlaskit/select": "^22.11.0",
86
+ "@atlaskit/select": "^23.0.0",
87
87
  "@atlaskit/spotlight": "^4.2.0",
88
88
  "@atlaskit/textfield": "^10.2.0",
89
89
  "@atlaskit/tooltip": "^24.3.0",