@atlaskit/modal-dialog 12.2.7 → 12.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 +6 -0
- package/dist/cjs/internal/components/positioner.js +0 -2
- package/dist/cjs/modal-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/internal/components/positioner.js +0 -2
- package/dist/es2019/modal-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/internal/components/positioner.js +0 -2
- package/dist/esm/modal-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/hooks/package.json +1 -0
- package/modal-body/package.json +1 -0
- package/modal-dialog/package.json +1 -0
- package/modal-footer/package.json +1 -0
- package/modal-header/package.json +1 -0
- package/modal-title/package.json +1 -0
- package/modal-transition/package.json +1 -0
- package/package.json +1 -1
- package/types/package.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/modal-dialog
|
|
2
2
|
|
|
3
|
+
## 12.2.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0d1c80fe00d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d1c80fe00d) - [ux] The width of the modal dialog now respect the custom value of the `width` prop.
|
|
8
|
+
|
|
3
9
|
## 12.2.7
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -28,7 +28,6 @@ var positionerStyles = (0, _core.css)({
|
|
|
28
28
|
left: 0
|
|
29
29
|
});
|
|
30
30
|
var viewportScrollStyles = (0, _core.css)({
|
|
31
|
-
width: 'max-content',
|
|
32
31
|
height: 'auto',
|
|
33
32
|
position: 'relative',
|
|
34
33
|
'@media (min-width: 480px)': {
|
|
@@ -37,7 +36,6 @@ var viewportScrollStyles = (0, _core.css)({
|
|
|
37
36
|
});
|
|
38
37
|
var bodyScrollStyles = (0, _core.css)({
|
|
39
38
|
'@media (min-width: 480px)': {
|
|
40
|
-
width: 'max-content',
|
|
41
39
|
maxWidth: maxWidthDimensions,
|
|
42
40
|
maxHeight: maxHeightDimensions,
|
|
43
41
|
marginRight: 'auto',
|
|
@@ -86,7 +86,7 @@ var ModalWrapper = function ModalWrapper(props) {
|
|
|
86
86
|
action: 'closed',
|
|
87
87
|
componentName: 'modalDialog',
|
|
88
88
|
packageName: "@atlaskit/modal-dialog",
|
|
89
|
-
packageVersion: "12.2.
|
|
89
|
+
packageVersion: "12.2.8"
|
|
90
90
|
});
|
|
91
91
|
var onBlanketClicked = (0, _react.useCallback)(function (e) {
|
|
92
92
|
if (shouldCloseOnOverlayClick) {
|
package/dist/cjs/version.json
CHANGED
|
@@ -16,7 +16,6 @@ const positionerStyles = css({
|
|
|
16
16
|
left: 0
|
|
17
17
|
});
|
|
18
18
|
const viewportScrollStyles = css({
|
|
19
|
-
width: 'max-content',
|
|
20
19
|
height: 'auto',
|
|
21
20
|
position: 'relative',
|
|
22
21
|
'@media (min-width: 480px)': {
|
|
@@ -25,7 +24,6 @@ const viewportScrollStyles = css({
|
|
|
25
24
|
});
|
|
26
25
|
const bodyScrollStyles = css({
|
|
27
26
|
'@media (min-width: 480px)': {
|
|
28
|
-
width: 'max-content',
|
|
29
27
|
maxWidth: maxWidthDimensions,
|
|
30
28
|
maxHeight: maxHeightDimensions,
|
|
31
29
|
marginRight: 'auto',
|
|
@@ -50,7 +50,7 @@ const ModalWrapper = props => {
|
|
|
50
50
|
action: 'closed',
|
|
51
51
|
componentName: 'modalDialog',
|
|
52
52
|
packageName: "@atlaskit/modal-dialog",
|
|
53
|
-
packageVersion: "12.2.
|
|
53
|
+
packageVersion: "12.2.8"
|
|
54
54
|
});
|
|
55
55
|
const onBlanketClicked = useCallback(e => {
|
|
56
56
|
if (shouldCloseOnOverlayClick) {
|
package/dist/es2019/version.json
CHANGED
|
@@ -16,7 +16,6 @@ var positionerStyles = css({
|
|
|
16
16
|
left: 0
|
|
17
17
|
});
|
|
18
18
|
var viewportScrollStyles = css({
|
|
19
|
-
width: 'max-content',
|
|
20
19
|
height: 'auto',
|
|
21
20
|
position: 'relative',
|
|
22
21
|
'@media (min-width: 480px)': {
|
|
@@ -25,7 +24,6 @@ var viewportScrollStyles = css({
|
|
|
25
24
|
});
|
|
26
25
|
var bodyScrollStyles = css({
|
|
27
26
|
'@media (min-width: 480px)': {
|
|
28
|
-
width: 'max-content',
|
|
29
27
|
maxWidth: maxWidthDimensions,
|
|
30
28
|
maxHeight: maxHeightDimensions,
|
|
31
29
|
marginRight: 'auto',
|
|
@@ -57,7 +57,7 @@ var ModalWrapper = function ModalWrapper(props) {
|
|
|
57
57
|
action: 'closed',
|
|
58
58
|
componentName: 'modalDialog',
|
|
59
59
|
packageName: "@atlaskit/modal-dialog",
|
|
60
|
-
packageVersion: "12.2.
|
|
60
|
+
packageVersion: "12.2.8"
|
|
61
61
|
});
|
|
62
62
|
var onBlanketClicked = useCallback(function (e) {
|
|
63
63
|
if (shouldCloseOnOverlayClick) {
|
package/dist/esm/version.json
CHANGED
package/hooks/package.json
CHANGED
package/modal-body/package.json
CHANGED
package/modal-title/package.json
CHANGED
package/package.json
CHANGED