@atlaskit/modal-dialog 12.4.0 → 12.4.1
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/scroll-container.js +2 -1
- package/dist/cjs/modal-title.js +2 -1
- package/dist/cjs/modal-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/internal/components/scroll-container.js +2 -1
- package/dist/es2019/modal-title.js +2 -1
- package/dist/es2019/modal-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/internal/components/scroll-container.js +2 -1
- package/dist/esm/modal-title.js +2 -1
- package/dist/esm/modal-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/modal-dialog
|
|
2
2
|
|
|
3
|
+
## 12.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
|
|
8
|
+
|
|
3
9
|
## 12.4.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -38,7 +38,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
38
38
|
/** @jsx jsx */
|
|
39
39
|
var baseStyles = (0, _react2.css)({
|
|
40
40
|
display: 'inherit',
|
|
41
|
-
|
|
41
|
+
// TODO Delete this comment after verifying spacing token -> previous value `0`
|
|
42
|
+
margin: "var(--ds-scale-0, 0px)",
|
|
42
43
|
flex: 'inherit',
|
|
43
44
|
flexDirection: 'inherit',
|
|
44
45
|
flexGrow: 1,
|
package/dist/cjs/modal-title.js
CHANGED
|
@@ -24,7 +24,8 @@ var adjustedLineHeight = 1.2;
|
|
|
24
24
|
var titleStyles = (0, _react.css)({
|
|
25
25
|
display: 'flex',
|
|
26
26
|
minWidth: 0,
|
|
27
|
-
|
|
27
|
+
// TODO Delete this comment after verifying spacing token -> previous value `0`
|
|
28
|
+
margin: "var(--ds-scale-0, 0px)",
|
|
28
29
|
alignItems: 'center',
|
|
29
30
|
fontSize: "".concat(fontSize, "px"),
|
|
30
31
|
fontStyle: 'inherit',
|
|
@@ -103,7 +103,7 @@ var ModalWrapper = function ModalWrapper(props) {
|
|
|
103
103
|
action: 'closed',
|
|
104
104
|
componentName: 'modalDialog',
|
|
105
105
|
packageName: "@atlaskit/modal-dialog",
|
|
106
|
-
packageVersion: "12.4.
|
|
106
|
+
packageVersion: "12.4.1"
|
|
107
107
|
});
|
|
108
108
|
var onBlanketClicked = (0, _react.useCallback)(function (e) {
|
|
109
109
|
if (shouldCloseOnOverlayClick) {
|
package/dist/cjs/version.json
CHANGED
|
@@ -11,7 +11,8 @@ import FocusRing from '@atlaskit/focus-ring';
|
|
|
11
11
|
import { keylineColor, keylineHeight } from '../constants';
|
|
12
12
|
const baseStyles = css({
|
|
13
13
|
display: 'inherit',
|
|
14
|
-
|
|
14
|
+
// TODO Delete this comment after verifying spacing token -> previous value `0`
|
|
15
|
+
margin: "var(--ds-scale-0, 0px)",
|
|
15
16
|
flex: 'inherit',
|
|
16
17
|
flexDirection: 'inherit',
|
|
17
18
|
flexGrow: 1,
|
|
@@ -10,7 +10,8 @@ const adjustedLineHeight = 1.2;
|
|
|
10
10
|
const titleStyles = css({
|
|
11
11
|
display: 'flex',
|
|
12
12
|
minWidth: 0,
|
|
13
|
-
|
|
13
|
+
// TODO Delete this comment after verifying spacing token -> previous value `0`
|
|
14
|
+
margin: "var(--ds-scale-0, 0px)",
|
|
14
15
|
alignItems: 'center',
|
|
15
16
|
fontSize: `${fontSize}px`,
|
|
16
17
|
fontStyle: 'inherit',
|
|
@@ -70,7 +70,7 @@ const ModalWrapper = props => {
|
|
|
70
70
|
action: 'closed',
|
|
71
71
|
componentName: 'modalDialog',
|
|
72
72
|
packageName: "@atlaskit/modal-dialog",
|
|
73
|
-
packageVersion: "12.4.
|
|
73
|
+
packageVersion: "12.4.1"
|
|
74
74
|
});
|
|
75
75
|
const onBlanketClicked = useCallback(e => {
|
|
76
76
|
if (shouldCloseOnOverlayClick) {
|
package/dist/es2019/version.json
CHANGED
|
@@ -13,7 +13,8 @@ import FocusRing from '@atlaskit/focus-ring';
|
|
|
13
13
|
import { keylineColor, keylineHeight } from '../constants';
|
|
14
14
|
var baseStyles = css({
|
|
15
15
|
display: 'inherit',
|
|
16
|
-
|
|
16
|
+
// TODO Delete this comment after verifying spacing token -> previous value `0`
|
|
17
|
+
margin: "var(--ds-scale-0, 0px)",
|
|
17
18
|
flex: 'inherit',
|
|
18
19
|
flexDirection: 'inherit',
|
|
19
20
|
flexGrow: 1,
|
package/dist/esm/modal-title.js
CHANGED
|
@@ -10,7 +10,8 @@ var adjustedLineHeight = 1.2;
|
|
|
10
10
|
var titleStyles = css({
|
|
11
11
|
display: 'flex',
|
|
12
12
|
minWidth: 0,
|
|
13
|
-
|
|
13
|
+
// TODO Delete this comment after verifying spacing token -> previous value `0`
|
|
14
|
+
margin: "var(--ds-scale-0, 0px)",
|
|
14
15
|
alignItems: 'center',
|
|
15
16
|
fontSize: "".concat(fontSize, "px"),
|
|
16
17
|
fontStyle: 'inherit',
|
|
@@ -74,7 +74,7 @@ var ModalWrapper = function ModalWrapper(props) {
|
|
|
74
74
|
action: 'closed',
|
|
75
75
|
componentName: 'modalDialog',
|
|
76
76
|
packageName: "@atlaskit/modal-dialog",
|
|
77
|
-
packageVersion: "12.4.
|
|
77
|
+
packageVersion: "12.4.1"
|
|
78
78
|
});
|
|
79
79
|
var onBlanketClicked = useCallback(function (e) {
|
|
80
80
|
if (shouldCloseOnOverlayClick) {
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/modal-dialog",
|
|
3
|
-
"version": "12.4.
|
|
3
|
+
"version": "12.4.1",
|
|
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/"
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"typesVersions": {
|
|
16
16
|
">=4.0 <4.5": {
|
|
17
17
|
"*": [
|
|
18
|
-
"dist/types-ts4.0/*"
|
|
18
|
+
"dist/types-ts4.0/*",
|
|
19
|
+
"dist/types-ts4.0/index.d.ts"
|
|
19
20
|
]
|
|
20
21
|
}
|
|
21
22
|
},
|
|
@@ -33,6 +34,7 @@
|
|
|
33
34
|
},
|
|
34
35
|
"atlaskit:src": "src/index.tsx",
|
|
35
36
|
"atlassian": {
|
|
37
|
+
"disableProductCI": true,
|
|
36
38
|
"team": "Design System Team",
|
|
37
39
|
"releaseModel": "scheduled",
|
|
38
40
|
"website": {
|
|
@@ -114,6 +116,7 @@
|
|
|
114
116
|
"design-system": "v1",
|
|
115
117
|
"ui-components": "lite-mode",
|
|
116
118
|
"analytics": "analytics-next",
|
|
119
|
+
"design-tokens": "spacing",
|
|
117
120
|
"theming": "tokens",
|
|
118
121
|
"deprecation": "no-deprecated-imports",
|
|
119
122
|
"styling": [
|