@atlaskit/modal-dialog 12.10.2 → 12.10.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 +6 -0
- package/dist/cjs/internal/constants.js +1 -1
- package/dist/cjs/modal-wrapper.js +1 -1
- package/dist/es2019/internal/constants.js +1 -1
- package/dist/es2019/modal-wrapper.js +1 -1
- package/dist/esm/internal/constants.js +1 -1
- package/dist/esm/modal-wrapper.js +1 -1
- package/dist/types/internal/constants.d.ts +1 -1
- package/dist/types-ts4.5/internal/constants.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/modal-dialog
|
|
2
2
|
|
|
3
|
+
## 12.10.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#60920](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/60920) [`a77a99360fa2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a77a99360fa2) - Revert previous modal gutter change.
|
|
8
|
+
|
|
3
9
|
## 12.10.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -16,7 +16,7 @@ var width = exports.width = {
|
|
|
16
16
|
},
|
|
17
17
|
defaultValue: 'medium'
|
|
18
18
|
};
|
|
19
|
-
var gutter = exports.gutter =
|
|
19
|
+
var gutter = exports.gutter = 60;
|
|
20
20
|
var gridSize = (0, _constants.gridSize)();
|
|
21
21
|
var borderRadius = exports.borderRadius = (0, _constants.borderRadius)();
|
|
22
22
|
var verticalOffset = exports.verticalOffset = gridSize * 2;
|
|
@@ -87,7 +87,7 @@ var ModalWrapper = function ModalWrapper(props) {
|
|
|
87
87
|
action: 'closed',
|
|
88
88
|
componentName: 'modalDialog',
|
|
89
89
|
packageName: "@atlaskit/modal-dialog",
|
|
90
|
-
packageVersion: "12.10.
|
|
90
|
+
packageVersion: "12.10.3"
|
|
91
91
|
});
|
|
92
92
|
var onBlanketClicked = (0, _react.useCallback)(function (e) {
|
|
93
93
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -72,7 +72,7 @@ const ModalWrapper = props => {
|
|
|
72
72
|
action: 'closed',
|
|
73
73
|
componentName: 'modalDialog',
|
|
74
74
|
packageName: "@atlaskit/modal-dialog",
|
|
75
|
-
packageVersion: "12.10.
|
|
75
|
+
packageVersion: "12.10.3"
|
|
76
76
|
});
|
|
77
77
|
const onBlanketClicked = useCallback(e => {
|
|
78
78
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -77,7 +77,7 @@ var ModalWrapper = function ModalWrapper(props) {
|
|
|
77
77
|
action: 'closed',
|
|
78
78
|
componentName: 'modalDialog',
|
|
79
79
|
packageName: "@atlaskit/modal-dialog",
|
|
80
|
-
packageVersion: "12.10.
|
|
80
|
+
packageVersion: "12.10.3"
|
|
81
81
|
});
|
|
82
82
|
var onBlanketClicked = useCallback(function (e) {
|
|
83
83
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -8,7 +8,7 @@ interface Width {
|
|
|
8
8
|
defaultValue: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const width: Width;
|
|
11
|
-
export declare const gutter =
|
|
11
|
+
export declare const gutter = 60;
|
|
12
12
|
export declare const borderRadius: number;
|
|
13
13
|
export declare const verticalOffset: number;
|
|
14
14
|
export declare const padding: number;
|
|
@@ -8,7 +8,7 @@ interface Width {
|
|
|
8
8
|
defaultValue: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const width: Width;
|
|
11
|
-
export declare const gutter =
|
|
11
|
+
export declare const gutter = 60;
|
|
12
12
|
export declare const borderRadius: number;
|
|
13
13
|
export declare const verticalOffset: number;
|
|
14
14
|
export declare const padding: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/modal-dialog",
|
|
3
|
-
"version": "12.10.
|
|
3
|
+
"version": "12.10.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/"
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"@atlaskit/motion": "^1.5.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
41
41
|
"@atlaskit/portal": "^4.4.0",
|
|
42
|
-
"@atlaskit/primitives": "^1.
|
|
42
|
+
"@atlaskit/primitives": "^1.15.0",
|
|
43
43
|
"@atlaskit/theme": "^12.6.0",
|
|
44
|
-
"@atlaskit/tokens": "^1.
|
|
44
|
+
"@atlaskit/tokens": "^1.30.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|
|
47
47
|
"bind-event-listener": "^2.1.1",
|