@atlaskit/modal-dialog 12.12.0 → 12.13.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,15 @@
1
1
  # @atlaskit/modal-dialog
2
2
 
3
+ ## 12.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#93686](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93686) [`acf6d58fc241`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/acf6d58fc241) - Add support for React 18.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
3
13
  ## 12.12.0
4
14
 
5
15
  ### Minor Changes
@@ -95,7 +95,7 @@ var ModalWrapper = function ModalWrapper(props) {
95
95
  action: 'closed',
96
96
  componentName: 'modalDialog',
97
97
  packageName: "@atlaskit/modal-dialog",
98
- packageVersion: "12.12.0"
98
+ packageVersion: "12.13.0"
99
99
  });
100
100
  var onBlanketClicked = (0, _react.useCallback)(function (e) {
101
101
  if (shouldCloseOnOverlayClick) {
@@ -80,7 +80,7 @@ const ModalWrapper = props => {
80
80
  action: 'closed',
81
81
  componentName: 'modalDialog',
82
82
  packageName: "@atlaskit/modal-dialog",
83
- packageVersion: "12.12.0"
83
+ packageVersion: "12.13.0"
84
84
  });
85
85
  const onBlanketClicked = useCallback(e => {
86
86
  if (shouldCloseOnOverlayClick) {
@@ -85,7 +85,7 @@ var ModalWrapper = function ModalWrapper(props) {
85
85
  action: 'closed',
86
86
  componentName: 'modalDialog',
87
87
  packageName: "@atlaskit/modal-dialog",
88
- packageVersion: "12.12.0"
88
+ packageVersion: "12.13.0"
89
89
  });
90
90
  var onBlanketClicked = useCallback(function (e) {
91
91
  if (shouldCloseOnOverlayClick) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/modal-dialog",
3
- "version": "12.12.0",
3
+ "version": "12.13.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/"
@@ -23,7 +23,8 @@
23
23
  "website": {
24
24
  "name": "Modal dialog",
25
25
  "category": "Components"
26
- }
26
+ },
27
+ "runReact18": true
27
28
  },
28
29
  "scripts": {
29
30
  "watch": "tsc --watch --noEmit --project './tsconfig.json'"
@@ -39,7 +40,7 @@
39
40
  "@atlaskit/motion": "^1.5.0",
40
41
  "@atlaskit/platform-feature-flags": "^0.2.0",
41
42
  "@atlaskit/portal": "^4.4.0",
42
- "@atlaskit/primitives": "^5.6.0",
43
+ "@atlaskit/primitives": "^5.7.0",
43
44
  "@atlaskit/theme": "^12.7.0",
44
45
  "@atlaskit/tokens": "^1.44.0",
45
46
  "@babel/runtime": "^7.0.0",
@@ -51,7 +52,7 @@
51
52
  "react-uid": "^2.2.0"
52
53
  },
53
54
  "peerDependencies": {
54
- "react": "^16.8.0"
55
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
55
56
  },
56
57
  "devDependencies": {
57
58
  "@af/accessibility-testing": "*",
@@ -60,7 +61,7 @@
60
61
  "@atlaskit/button": "*",
61
62
  "@atlaskit/checkbox": "^13.1.0",
62
63
  "@atlaskit/dropdown-menu": "^12.9.0",
63
- "@atlaskit/popup": "^1.14.0",
64
+ "@atlaskit/popup": "^1.15.0",
64
65
  "@atlaskit/radio": "^6.1.3",
65
66
  "@atlaskit/select": "^17.7.0",
66
67
  "@atlaskit/ssr": "*",