@atlaskit/modal-dialog 15.2.7 → 15.2.8
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,14 @@
|
|
|
1
1
|
# @atlaskit/modal-dialog
|
|
2
2
|
|
|
3
|
+
## 15.2.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6d0485dce81c4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6d0485dce81c4) -
|
|
8
|
+
Internal: updated to the new `@atlaskit/top-layer` `Popover`/`Dialog` behaviour where the host
|
|
9
|
+
element unmounts after the exit animation completes. No consumer action required.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 15.2.7
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -114,7 +114,7 @@ var InternalModalWrapper = /*#__PURE__*/(0, _react.forwardRef)(function (props,
|
|
|
114
114
|
action: 'closed',
|
|
115
115
|
componentName: 'modalDialog',
|
|
116
116
|
packageName: "@atlaskit/modal-dialog",
|
|
117
|
-
packageVersion: "15.2.
|
|
117
|
+
packageVersion: "15.2.7"
|
|
118
118
|
});
|
|
119
119
|
var onBlanketClicked = (0, _react.useCallback)(function (e) {
|
|
120
120
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -331,7 +331,9 @@ var InternalModalWrapper = /*#__PURE__*/(0, _react.forwardRef)(function (props,
|
|
|
331
331
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
332
332
|
,
|
|
333
333
|
style: dialogStyle
|
|
334
|
-
}), /*#__PURE__*/React.createElement(_dialogScrollLock.DialogScrollLock,
|
|
334
|
+
}), /*#__PURE__*/React.createElement(_dialogScrollLock.DialogScrollLock, {
|
|
335
|
+
isOpen: true
|
|
336
|
+
}), dialogPositionStyles &&
|
|
335
337
|
/*#__PURE__*/
|
|
336
338
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles
|
|
337
339
|
React.createElement("style", null, dialogPositionStyles), /*#__PURE__*/React.createElement("div", {
|
|
@@ -100,7 +100,7 @@ const InternalModalWrapper = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
100
100
|
action: 'closed',
|
|
101
101
|
componentName: 'modalDialog',
|
|
102
102
|
packageName: "@atlaskit/modal-dialog",
|
|
103
|
-
packageVersion: "15.2.
|
|
103
|
+
packageVersion: "15.2.7"
|
|
104
104
|
});
|
|
105
105
|
const onBlanketClicked = useCallback(e => {
|
|
106
106
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -316,7 +316,9 @@ const InternalModalWrapper = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
316
316
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
317
317
|
,
|
|
318
318
|
style: dialogStyle
|
|
319
|
-
}), /*#__PURE__*/React.createElement(DialogScrollLock,
|
|
319
|
+
}), /*#__PURE__*/React.createElement(DialogScrollLock, {
|
|
320
|
+
isOpen: true
|
|
321
|
+
}), dialogPositionStyles &&
|
|
320
322
|
/*#__PURE__*/
|
|
321
323
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles
|
|
322
324
|
React.createElement("style", null, dialogPositionStyles), /*#__PURE__*/React.createElement("div", {
|
|
@@ -105,7 +105,7 @@ var InternalModalWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
105
105
|
action: 'closed',
|
|
106
106
|
componentName: 'modalDialog',
|
|
107
107
|
packageName: "@atlaskit/modal-dialog",
|
|
108
|
-
packageVersion: "15.2.
|
|
108
|
+
packageVersion: "15.2.7"
|
|
109
109
|
});
|
|
110
110
|
var onBlanketClicked = useCallback(function (e) {
|
|
111
111
|
if (shouldCloseOnOverlayClick) {
|
|
@@ -322,7 +322,9 @@ var InternalModalWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
322
322
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|
|
323
323
|
,
|
|
324
324
|
style: dialogStyle
|
|
325
|
-
}), /*#__PURE__*/React.createElement(DialogScrollLock,
|
|
325
|
+
}), /*#__PURE__*/React.createElement(DialogScrollLock, {
|
|
326
|
+
isOpen: true
|
|
327
|
+
}), dialogPositionStyles &&
|
|
326
328
|
/*#__PURE__*/
|
|
327
329
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles
|
|
328
330
|
React.createElement("style", null, dialogPositionStyles), /*#__PURE__*/React.createElement("div", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/modal-dialog",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.8",
|
|
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/"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/primitives": "^19.0.0",
|
|
49
49
|
"@atlaskit/theme": "^25.0.0",
|
|
50
50
|
"@atlaskit/tokens": "^13.3.0",
|
|
51
|
-
"@atlaskit/top-layer": "^0.
|
|
51
|
+
"@atlaskit/top-layer": "^0.16.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@compiled/react": "^0.20.0",
|
|
54
54
|
"bind-event-listener": "^3.0.0",
|