@atlaskit/modal-dialog 15.1.1 → 15.1.3
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/internal/components/modal-dialog.js +3 -1
- package/dist/cjs/internal/components/modal-wrapper.js +1 -1
- package/dist/es2019/internal/components/modal-dialog.js +3 -1
- package/dist/es2019/internal/components/modal-wrapper.js +1 -1
- package/dist/esm/internal/components/modal-dialog.js +3 -1
- package/dist/esm/internal/components/modal-wrapper.js +1 -1
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -43,6 +43,8 @@ var dialogWidth = exports.dialogWidth = function dialogWidth(input) {
|
|
|
43
43
|
}
|
|
44
44
|
return typeof input === 'number' ? "".concat(input, "px") : input;
|
|
45
45
|
};
|
|
46
|
+
|
|
47
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
46
48
|
var dialogHeight = exports.dialogHeight = function dialogHeight(input) {
|
|
47
49
|
if (!input) {
|
|
48
50
|
return 'auto';
|
|
@@ -185,5 +187,5 @@ var ModalDialog = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
185
187
|
}))));
|
|
186
188
|
});
|
|
187
189
|
|
|
188
|
-
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
190
|
+
// eslint-disable-next-line @repo/internal/react/require-jsdoc, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
189
191
|
var _default = exports.default = ModalDialog;
|
|
@@ -113,7 +113,7 @@ var InternalModalWrapper = /*#__PURE__*/(0, _react.forwardRef)(function (props,
|
|
|
113
113
|
action: 'closed',
|
|
114
114
|
componentName: 'modalDialog',
|
|
115
115
|
packageName: "@atlaskit/modal-dialog",
|
|
116
|
-
packageVersion: "
|
|
116
|
+
packageVersion: "15.1.2"
|
|
117
117
|
});
|
|
118
118
|
var onBlanketClicked = (0, _react.useCallback)(function (e) {
|
|
119
119
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -32,6 +32,8 @@ export const dialogWidth = input => {
|
|
|
32
32
|
}
|
|
33
33
|
return typeof input === 'number' ? `${input}px` : input;
|
|
34
34
|
};
|
|
35
|
+
|
|
36
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
35
37
|
export const dialogHeight = input => {
|
|
36
38
|
if (!input) {
|
|
37
39
|
return 'auto';
|
|
@@ -166,5 +168,5 @@ const ModalDialog = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
166
168
|
}), children)))));
|
|
167
169
|
});
|
|
168
170
|
|
|
169
|
-
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
171
|
+
// eslint-disable-next-line @repo/internal/react/require-jsdoc, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
170
172
|
export default ModalDialog;
|
|
@@ -99,7 +99,7 @@ const InternalModalWrapper = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
99
99
|
action: 'closed',
|
|
100
100
|
componentName: 'modalDialog',
|
|
101
101
|
packageName: "@atlaskit/modal-dialog",
|
|
102
|
-
packageVersion: "
|
|
102
|
+
packageVersion: "15.1.2"
|
|
103
103
|
});
|
|
104
104
|
const onBlanketClicked = useCallback(e => {
|
|
105
105
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -34,6 +34,8 @@ export var dialogWidth = function dialogWidth(input) {
|
|
|
34
34
|
}
|
|
35
35
|
return typeof input === 'number' ? "".concat(input, "px") : input;
|
|
36
36
|
};
|
|
37
|
+
|
|
38
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
37
39
|
export var dialogHeight = function dialogHeight(input) {
|
|
38
40
|
if (!input) {
|
|
39
41
|
return 'auto';
|
|
@@ -176,5 +178,5 @@ var ModalDialog = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
176
178
|
}))));
|
|
177
179
|
});
|
|
178
180
|
|
|
179
|
-
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
181
|
+
// eslint-disable-next-line @repo/internal/react/require-jsdoc, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
180
182
|
export default ModalDialog;
|
|
@@ -104,7 +104,7 @@ var InternalModalWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
104
104
|
action: 'closed',
|
|
105
105
|
componentName: 'modalDialog',
|
|
106
106
|
packageName: "@atlaskit/modal-dialog",
|
|
107
|
-
packageVersion: "
|
|
107
|
+
packageVersion: "15.1.2"
|
|
108
108
|
});
|
|
109
109
|
var onBlanketClicked = useCallback(function (e) {
|
|
110
110
|
if (shouldCloseOnOverlayClick) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/modal-dialog",
|
|
3
|
-
"version": "15.1.
|
|
3
|
+
"version": "15.1.3",
|
|
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/"
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@atlaskit/portal": "^5.5.0",
|
|
47
47
|
"@atlaskit/pragmatic-drag-and-drop": "^1.8.0",
|
|
48
48
|
"@atlaskit/primitives": "^19.0.0",
|
|
49
|
-
"@atlaskit/theme": "^
|
|
49
|
+
"@atlaskit/theme": "^24.0.0",
|
|
50
50
|
"@atlaskit/tokens": "^13.0.0",
|
|
51
|
-
"@atlaskit/top-layer": "^0.
|
|
51
|
+
"@atlaskit/top-layer": "^0.8.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@compiled/react": "^0.20.0",
|
|
54
54
|
"bind-event-listener": "^3.0.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@af/accessibility-testing": "workspace:^",
|
|
64
64
|
"@af/integration-testing": "workspace:^",
|
|
65
65
|
"@af/visual-regression": "workspace:^",
|
|
66
|
-
"@atlaskit/avatar": "^25.
|
|
66
|
+
"@atlaskit/avatar": "^25.15.0",
|
|
67
67
|
"@atlaskit/avatar-group": "^12.10.0",
|
|
68
68
|
"@atlaskit/banner": "^14.1.0",
|
|
69
69
|
"@atlaskit/breadcrumbs": "^16.1.0",
|
|
@@ -72,13 +72,13 @@
|
|
|
72
72
|
"@atlaskit/datetime-picker": "^17.8.0",
|
|
73
73
|
"@atlaskit/docs": "^11.8.0",
|
|
74
74
|
"@atlaskit/dropdown-menu": "^16.9.0",
|
|
75
|
-
"@atlaskit/flag": "^17.
|
|
75
|
+
"@atlaskit/flag": "^17.12.0",
|
|
76
76
|
"@atlaskit/form": "^15.5.0",
|
|
77
77
|
"@atlaskit/heading": "^5.4.0",
|
|
78
78
|
"@atlaskit/link": "^3.4.0",
|
|
79
79
|
"@atlaskit/popup": "^4.20.0",
|
|
80
80
|
"@atlaskit/radio": "^8.6.0",
|
|
81
|
-
"@atlaskit/section-message": "^8.
|
|
81
|
+
"@atlaskit/section-message": "^8.13.0",
|
|
82
82
|
"@atlaskit/select": "^21.12.0",
|
|
83
83
|
"@atlaskit/spotlight": "^0.14.0",
|
|
84
84
|
"@atlaskit/textfield": "^8.3.0",
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
"@testing-library/user-event": "^14.4.3",
|
|
94
94
|
"@types/raf-schd": "^4.0.1",
|
|
95
95
|
"jscodeshift": "^17.0.0",
|
|
96
|
+
"react": "^18.2.0",
|
|
96
97
|
"react-dom": "^18.2.0",
|
|
97
98
|
"react-lorem-component": "^0.13.0",
|
|
98
99
|
"react-sweet-state": "^2.6.5",
|