@atlaskit/modal-dialog 14.3.11 → 14.3.13

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/internal/components/modal-dialog.compiled.css +2 -2
  3. package/dist/cjs/internal/components/modal-dialog.js +1 -1
  4. package/dist/cjs/internal/components/modal-wrapper.js +1 -1
  5. package/dist/cjs/internal/components/positioner.compiled.css +1 -1
  6. package/dist/cjs/internal/components/positioner.js +12 -18
  7. package/dist/cjs/internal/components/scroll-container.compiled.css +2 -2
  8. package/dist/cjs/internal/components/scroll-container.js +2 -2
  9. package/dist/cjs/modal-body.compiled.css +1 -1
  10. package/dist/cjs/modal-body.js +1 -1
  11. package/dist/cjs/modal-footer.compiled.css +1 -1
  12. package/dist/cjs/modal-footer.js +1 -4
  13. package/dist/cjs/modal-header.compiled.css +1 -1
  14. package/dist/cjs/modal-header.js +1 -4
  15. package/dist/es2019/internal/components/modal-dialog.compiled.css +2 -2
  16. package/dist/es2019/internal/components/modal-dialog.js +1 -1
  17. package/dist/es2019/internal/components/modal-wrapper.js +1 -1
  18. package/dist/es2019/internal/components/positioner.compiled.css +1 -1
  19. package/dist/es2019/internal/components/positioner.js +9 -9
  20. package/dist/es2019/internal/components/scroll-container.compiled.css +2 -2
  21. package/dist/es2019/internal/components/scroll-container.js +2 -2
  22. package/dist/es2019/modal-body.compiled.css +1 -1
  23. package/dist/es2019/modal-body.js +1 -1
  24. package/dist/es2019/modal-footer.compiled.css +1 -1
  25. package/dist/es2019/modal-footer.js +1 -1
  26. package/dist/es2019/modal-header.compiled.css +1 -1
  27. package/dist/es2019/modal-header.js +1 -1
  28. package/dist/esm/internal/components/modal-dialog.compiled.css +2 -2
  29. package/dist/esm/internal/components/modal-dialog.js +1 -1
  30. package/dist/esm/internal/components/modal-wrapper.js +1 -1
  31. package/dist/esm/internal/components/positioner.compiled.css +1 -1
  32. package/dist/esm/internal/components/positioner.js +12 -17
  33. package/dist/esm/internal/components/scroll-container.compiled.css +2 -2
  34. package/dist/esm/internal/components/scroll-container.js +2 -2
  35. package/dist/esm/modal-body.compiled.css +1 -1
  36. package/dist/esm/modal-body.js +1 -1
  37. package/dist/esm/modal-footer.compiled.css +1 -1
  38. package/dist/esm/modal-footer.js +1 -4
  39. package/dist/esm/modal-header.compiled.css +1 -1
  40. package/dist/esm/modal-header.js +1 -4
  41. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/modal-dialog
2
2
 
3
+ ## 14.3.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [`96f58298f6919`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/96f58298f6919) -
8
+ Converts `${gutter}px` to a hardcoded '60px' to avoid a Compiled bug.
9
+
10
+ ## 14.3.12
11
+
12
+ ### Patch Changes
13
+
14
+ - [`f0662cd7a143e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f0662cd7a143e) -
15
+ Internal changes to how borders are applied.
16
+ - Updated dependencies
17
+
3
18
  ## 14.3.11
4
19
 
5
20
  ### Patch Changes
@@ -17,8 +17,8 @@
17
17
  ._lcxv1wug{pointer-events:auto}
18
18
  ._m01u1kw7>form:only-child{max-height:inherit}
19
19
  ._p12fauwl{max-width:100vw}
20
- ._syaz1fxt{color:var(--ds-text,#172b4d)}._128m1bk5:focus-visible{outline-width:var(--ds-border-width-outline,2px)}
21
- ._1ah31bk5:focus-visible{outline-offset:var(--ds-border-width-outline,2px)}
20
+ ._syaz1fxt{color:var(--ds-text,#172b4d)}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
21
+ ._1ah3dkaa:focus-visible{outline-offset:var(--ds-border-width-focused,2px)}
22
22
  ._mizu1p6i:focus-visible{outline-color:var(--ds-border-focused,#388bff)}
23
23
  ._ra3xnqa1:focus-visible{outline-style:solid}
24
24
  @media screen and (-ms-high-contrast:active),screen and (forced-colors:active){._1cvmnqa1:focus-visible{outline-style:solid}._4davt94y:focus-visible{outline-width:1px}}
@@ -30,7 +30,7 @@ var _positioner = _interopRequireDefault(require("./positioner"));
30
30
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof3(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
31
31
  var LOCAL_CURRENT_SURFACE_CSS_VAR = '--ds-elevation-surface-current';
32
32
  var dialogStyles = {
33
- root: "_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _1bsb1osq _p12fauwl _4t3i1osq _1tkeidpf _c71l1kxc _2lx21bp4 _bfhk1bhr _syaz1fxt _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1p6i _1ah31bk5 _ra3xnqa1 _128m1bk5 _1cvmnqa1 _4davt94y _we1i1kw7 _zg7p1cd0 _yakv1kw7 _4lht1kw7 _1xlt6m9r",
33
+ root: "_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _1bsb1osq _p12fauwl _4t3i1osq _1tkeidpf _c71l1kxc _2lx21bp4 _bfhk1bhr _syaz1fxt _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1p6i _1ah3dkaa _ra3xnqa1 _128mdkaa _1cvmnqa1 _4davt94y _we1i1kw7 _zg7p1cd0 _yakv1kw7 _4lht1kw7 _1xlt6m9r",
34
34
  borderRadius: "_epkxfajl"
35
35
  };
36
36
  var viewportScrollStyles = null;
@@ -87,7 +87,7 @@ var InternalModalWrapper = function InternalModalWrapper(props) {
87
87
  action: 'closed',
88
88
  componentName: 'modalDialog',
89
89
  packageName: "@atlaskit/modal-dialog",
90
- packageVersion: "0.0.0-development"
90
+ packageVersion: "14.3.12"
91
91
  });
92
92
  var onBlanketClicked = (0, _react.useCallback)(function (e) {
93
93
  if (shouldCloseOnOverlayClick) {
@@ -13,4 +13,4 @@
13
13
  ._t9ec1b95{transform:translateY(var(--modal-dialog-translate-y))}
14
14
  ._t9ecglyw{transform:none}
15
15
  @media (prefers-reduced-motion:reduce){._1bumglyw{animation:none}._sedtglyw{transition:none}}
16
- @media (min-width:30rem){._1sg41wqb{margin-top:60px}._maxs1wug{margin-right:auto}._1jvh1wqb{margin-bottom:60px}._1uca1wug{margin-left:auto}._eoawglyw{pointer-events:none}._5ee41kr1{inset-block-start:var(--_imv74m)}._we1i18uh{max-width:calc(100vw - 90pt)}._e8uozwhf{max-height:calc(100vh - 119px)}._y1k5stnw{position:absolute}._5ee41wqb{inset-block-start:60px}._1urridpf{inset-inline-end:0}._1juqidpf{inset-inline-start:0}._yakv1wug{margin-inline-end:auto}._4lht1wug{margin-inline-start:auto}}
16
+ @media (min-width:30rem){._1f6n1wqb{margin-block:60px}._1eot1wug{margin-inline:auto}._eoawglyw{pointer-events:none}._5ee41nf8{inset-block-start:60px!important}._we1i18uh{max-width:calc(100vw - 90pt)}._e8uozwhf{max-height:calc(100vh - 119px)}._y1k5stnw{position:absolute}._5ee41wqb{inset-block-start:60px}._1urridpf{inset-inline-end:0}._1juqidpf{inset-inline-start:0}._yakv1wug{margin-inline-end:auto}._4lht1wug{margin-inline-start:auto}}
@@ -1,7 +1,6 @@
1
1
  /* positioner.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  "use strict";
3
3
 
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
4
  var _typeof = require("@babel/runtime/helpers/typeof");
6
5
  Object.defineProperty(exports, "__esModule", {
7
6
  value: true
@@ -10,22 +9,22 @@ exports.default = void 0;
10
9
  require("./positioner.compiled.css");
11
10
  var React = _interopRequireWildcard(require("react"));
12
11
  var _runtime = require("@compiled/react/runtime");
13
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
14
12
  var _curves = require("@atlaskit/motion/curves");
15
13
  var _durations = require("@atlaskit/motion/durations");
16
14
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
15
  var _constants = require("@atlaskit/theme/constants");
18
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
19
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
20
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21
- var gutter = 60;
22
- var maxWidthDimensions = "calc(100vw - ".concat(gutter * 2, "px)");
23
- var maxHeightDimensions = "calc(100vh - ".concat(gutter * 2 - 1, "px)");
24
-
25
17
  // Flex and min-content are set to constrain the height of the body and support multi-column scrolling experiences
26
18
  var positionerStyles = null;
19
+ var stackStyles = {
20
+ stackTransition: "_k8m01e03 _1bumglyw _sedtglyw",
21
+ stackTransform: "_t9ec1b95",
22
+ stackIdle: "_t9ecglyw"
23
+ };
24
+
25
+ // Hardcoded pixels are based off a 60px base gutter
27
26
  var scrollStyles = {
28
- viewport: "_4t3i1wug _kqswh2mm _1sg41wqb _maxs1wug _1jvh1wqb _1uca1wug _eoawglyw",
27
+ viewport: "_4t3i1wug _kqswh2mm _1f6n1wqb _1eot1wug _eoawglyw",
29
28
  body: "_we1i18uh _e8uozwhf _y1k5stnw _5ee41wqb _1urridpf _1juqidpf _yakv1wug _4lht1wug _eoawglyw",
30
29
  fullScreen: ""
31
30
  };
@@ -34,9 +33,6 @@ var scrollStyles = {
34
33
  * TODO: when tidying this feature gate, add `!important` to `scrollStyles.body`
35
34
  */
36
35
  var importantBodyFeatureGateStyles = null;
37
- var stackTransitionStyles = null;
38
- var stackTransformStyles = null;
39
- var stackIdleStyles = null;
40
36
  function getScrollBehavior(_ref) {
41
37
  var isFullScreen = _ref.isFullScreen,
42
38
  shouldScrollInViewport = _ref.shouldScrollInViewport;
@@ -59,17 +55,15 @@ var Positioner = function Positioner(props) {
59
55
  shouldScrollInViewport: shouldScrollInViewport
60
56
  });
61
57
  return /*#__PURE__*/React.createElement("div", {
62
- "data-testid": testId && "".concat(testId, "--positioner"),
63
- className: (0, _runtime.ax)(["_1e0c1txw _1bsb1osq _p12f1osq _4t3i1osq _kqsw1n9t _1pby16oo _2lx21bp4 _152tidpf _1e02idpf", "_k8m01e03 _1bumglyw _sedtglyw", stackIndex > 0 ? "_t9ec1b95" : "_t9ecglyw", scrollStyles[scrollBehavior], scrollBehavior === 'body' && (0, _platformFeatureFlags.fg)('platform_dst_modal_dialog_AFBH_1489') && "_5ee41kr1"]),
64
- style: _objectSpread(_objectSpread({}, {
58
+ style: {
65
59
  '--modal-dialog-translate-y': "calc(".concat(stackIndex, "px * ", "var(--ds-space-100, 8px)", ")"),
66
60
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
67
61
  transitionDuration: "".concat(_durations.durations.medium, "ms"),
68
62
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
69
63
  transitionTimingFunction: _curves.easeInOut
70
- }), {}, {
71
- "--_imv74m": (0, _runtime.ix)("".concat(gutter, "px !important"))
72
- })
64
+ },
65
+ "data-testid": testId && "".concat(testId, "--positioner"),
66
+ className: (0, _runtime.ax)(["_1e0c1txw _1bsb1osq _p12f1osq _4t3i1osq _kqsw1n9t _1pby16oo _2lx21bp4 _152tidpf _1e02idpf", stackStyles.stackTransition, stackIndex > 0 ? stackStyles.stackTransform : stackStyles.stackIdle, scrollStyles[scrollBehavior], scrollBehavior === 'body' && (0, _platformFeatureFlags.fg)('platform_dst_modal_dialog_AFBH_1489') && "_5ee41nf8"])
73
67
  }, children);
74
68
  };
75
69
 
@@ -1,6 +1,6 @@
1
1
 
2
- ._179rv2xi{border-block-end:var(--ds-border-width-outline,2px) solid var(--ds-border,#091e4224)}
3
- ._mqm2v2xi{border-block-start:var(--ds-border-width-outline,2px) solid var(--ds-border,#091e4224)}._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
2
+ ._179r187z{border-block-end:var(--ds-border-width-selected,2px) solid var(--ds-border,#091e4224)}
3
+ ._mqm2187z{border-block-start:var(--ds-border-width-selected,2px) solid var(--ds-border,#091e4224)}._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
4
4
  ._16jlkb7n{flex-grow:1}
5
5
  ._18m91wug{overflow-y:auto}
6
6
  ._1e0c1kw7{display:inherit}
@@ -22,8 +22,8 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
22
22
  var keylineColor = "var(--ds-border, #091E4224)";
23
23
  var styles = {
24
24
  base: "_16jlkb7n _1o9zkb7n _i0dl1kw7 _1e0c1kw7 _2lx21kw7 _6rthze3t _1pfhze3t _12l2ze3t _ahbqze3t _1reo15vq _18m91wug _1jykn7od _wzg61wug",
25
- topKeyline: "_mqm2v2xi",
26
- bottomKeyline: "_179rv2xi"
25
+ topKeyline: "_mqm2187z",
26
+ bottomKeyline: "_179r187z"
27
27
  };
28
28
  var keylineHeight = 2;
29
29
  /**
@@ -1,6 +1,6 @@
1
1
  ._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
2
  ._18zr1ejb{padding-inline:var(--ds-space-300,24px)}
3
- ._1rjc1bk5{padding-block:var(--ds-border-width-outline,2px)}
3
+ ._1rjcv77o{padding-block:var(--ds-space-025,2px)}
4
4
  ._16jlkb7n{flex-grow:1}
5
5
  ._1o9zkb7n{flex-shrink:1}
6
6
  ._i0dl1wug{flex-basis:auto}
@@ -17,7 +17,7 @@ var _useScroll = _interopRequireDefault(require("./internal/hooks/use-scroll"));
17
17
  var styles = {
18
18
  root: "_16jlkb7n _1o9zkb7n _i0dl1wug",
19
19
  font: "_11c82smr",
20
- paddingBlock: "_1rjc1bk5",
20
+ paddingBlock: "_1rjcv77o",
21
21
  paddingInline: "_18zr1ejb"
22
22
  };
23
23
  /**
@@ -2,7 +2,7 @@
2
2
  ._zulpu2gc{gap:var(--ds-space-100,8px)}._18zr1ejb{padding-inline:var(--ds-space-300,24px)}
3
3
  ._1bahesu3{justify-content:flex-end}
4
4
  ._1e0c1txw{display:flex}
5
- ._1pfhmufe{margin-block-start:var(--_t7lu6v)}
5
+ ._1pfh1i6y{margin-block-start:var(--ds-space-negative-025,-2px)}
6
6
  ._1q51pxbi{padding-block-start:var(--ds-space-200,1pc)}
7
7
  ._4cvr1h6o{align-items:center}
8
8
  ._85i51ejb{padding-block-end:var(--ds-space-300,24px)}
@@ -29,10 +29,7 @@ var ModalFooter = function ModalFooter(props) {
29
29
  var testId = userDefinedTestId || modalTestId && "".concat(modalTestId, "--footer");
30
30
  return /*#__PURE__*/React.createElement("div", {
31
31
  "data-testid": testId,
32
- className: (0, _runtime.ax)(["_zulpu2gc _18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bahesu3 _1pfhmufe _85i51ejb _1q51pxbi"]),
33
- style: {
34
- "--_t7lu6v": (0, _runtime.ix)("calc(-1 * ".concat("var(--ds-border-width-outline, 2px)", ")"))
35
- }
32
+ className: (0, _runtime.ax)(["_zulpu2gc _18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bahesu3 _1pfh1i6y _85i51ejb _1q51pxbi"])
36
33
  }, children);
37
34
  };
38
35
  var _default = exports.default = ModalFooter;
@@ -3,6 +3,6 @@
3
3
  ._1e0c1txw{display:flex}
4
4
  ._1q511ejb{padding-block-start:var(--ds-space-300,24px)}
5
5
  ._4cvr1h6o{align-items:center}
6
- ._6rthmufe{margin-block-end:var(--_t7lu6v)}
6
+ ._6rth1i6y{margin-block-end:var(--ds-space-negative-025,-2px)}
7
7
  ._85i5pxbi{padding-block-end:var(--ds-space-200,1pc)}
8
8
  ._kqswh2mm{position:relative}
@@ -42,10 +42,7 @@ var ModalHeader = function ModalHeader(props) {
42
42
  var shouldShowCloseButton = hasCloseButton && hasProvidedOnClose && onClose;
43
43
  return /*#__PURE__*/_react.default.createElement("div", {
44
44
  "data-testid": testId,
45
- className: (0, _runtime.ax)(["_18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bah1yb4 _6rthmufe _85i5pxbi _1q511ejb"]),
46
- style: {
47
- "--_t7lu6v": (0, _runtime.ix)("calc(-1 * ".concat("var(--ds-border-width-outline, 2px)", ")"))
48
- }
45
+ className: (0, _runtime.ax)(["_18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bah1yb4 _6rth1i6y _85i5pxbi _1q511ejb"])
49
46
  }, shouldShowCloseButton ?
50
47
  /*#__PURE__*/
51
48
  // The reason we are putting the close button first in the DOM and then
@@ -17,8 +17,8 @@
17
17
  ._lcxv1wug{pointer-events:auto}
18
18
  ._m01u1kw7>form:only-child{max-height:inherit}
19
19
  ._p12fauwl{max-width:100vw}
20
- ._syaz1fxt{color:var(--ds-text,#172b4d)}._128m1bk5:focus-visible{outline-width:var(--ds-border-width-outline,2px)}
21
- ._1ah31bk5:focus-visible{outline-offset:var(--ds-border-width-outline,2px)}
20
+ ._syaz1fxt{color:var(--ds-text,#172b4d)}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
21
+ ._1ah3dkaa:focus-visible{outline-offset:var(--ds-border-width-focused,2px)}
22
22
  ._mizu1p6i:focus-visible{outline-color:var(--ds-border-focused,#388bff)}
23
23
  ._ra3xnqa1:focus-visible{outline-style:solid}
24
24
  @media screen and (-ms-high-contrast:active),screen and (forced-colors:active){._1cvmnqa1:focus-visible{outline-style:solid}._4davt94y:focus-visible{outline-width:1px}}
@@ -19,7 +19,7 @@ import { dialogHeight, dialogWidth } from '../utils';
19
19
  import Positioner from './positioner';
20
20
  const LOCAL_CURRENT_SURFACE_CSS_VAR = '--ds-elevation-surface-current';
21
21
  const dialogStyles = {
22
- root: "_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _1bsb1osq _p12fauwl _4t3i1osq _1tkeidpf _c71l1kxc _2lx21bp4 _bfhk1bhr _syaz1fxt _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1p6i _1ah31bk5 _ra3xnqa1 _128m1bk5 _1cvmnqa1 _4davt94y _we1i1kw7 _zg7p1cd0 _yakv1kw7 _4lht1kw7 _1xlt6m9r",
22
+ root: "_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _1bsb1osq _p12fauwl _4t3i1osq _1tkeidpf _c71l1kxc _2lx21bp4 _bfhk1bhr _syaz1fxt _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1p6i _1ah3dkaa _ra3xnqa1 _128mdkaa _1cvmnqa1 _4davt94y _we1i1kw7 _zg7p1cd0 _yakv1kw7 _4lht1kw7 _1xlt6m9r",
23
23
  borderRadius: "_epkxfajl"
24
24
  };
25
25
  const viewportScrollStyles = null;
@@ -74,7 +74,7 @@ const InternalModalWrapper = props => {
74
74
  action: 'closed',
75
75
  componentName: 'modalDialog',
76
76
  packageName: "@atlaskit/modal-dialog",
77
- packageVersion: "0.0.0-development"
77
+ packageVersion: "14.3.12"
78
78
  });
79
79
  const onBlanketClicked = useCallback(e => {
80
80
  if (shouldCloseOnOverlayClick) {
@@ -13,4 +13,4 @@
13
13
  ._t9ec1b95{transform:translateY(var(--modal-dialog-translate-y))}
14
14
  ._t9ecglyw{transform:none}
15
15
  @media (prefers-reduced-motion:reduce){._1bumglyw{animation:none}._sedtglyw{transition:none}}
16
- @media (min-width:30rem){._1sg41wqb{margin-top:60px}._maxs1wug{margin-right:auto}._1jvh1wqb{margin-bottom:60px}._1uca1wug{margin-left:auto}._eoawglyw{pointer-events:none}._5ee41nf8{inset-block-start:60px!important}._we1i18uh{max-width:calc(100vw - 90pt)}._e8uozwhf{max-height:calc(100vh - 119px)}._y1k5stnw{position:absolute}._5ee41wqb{inset-block-start:60px}._1urridpf{inset-inline-end:0}._1juqidpf{inset-inline-start:0}._yakv1wug{margin-inline-end:auto}._4lht1wug{margin-inline-start:auto}}
16
+ @media (min-width:30rem){._1f6n1wqb{margin-block:60px}._1eot1wug{margin-inline:auto}._eoawglyw{pointer-events:none}._5ee41nf8{inset-block-start:60px!important}._we1i18uh{max-width:calc(100vw - 90pt)}._e8uozwhf{max-height:calc(100vh - 119px)}._y1k5stnw{position:absolute}._5ee41wqb{inset-block-start:60px}._1urridpf{inset-inline-end:0}._1juqidpf{inset-inline-start:0}._yakv1wug{margin-inline-end:auto}._4lht1wug{margin-inline-start:auto}}
@@ -6,14 +6,17 @@ import { easeInOut } from '@atlaskit/motion/curves';
6
6
  import { durations } from '@atlaskit/motion/durations';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
8
  import { layers } from '@atlaskit/theme/constants';
9
- const gutter = 60;
10
- const maxWidthDimensions = `calc(100vw - ${gutter * 2}px)`;
11
- const maxHeightDimensions = `calc(100vh - ${gutter * 2 - 1}px)`;
12
-
13
9
  // Flex and min-content are set to constrain the height of the body and support multi-column scrolling experiences
14
10
  const positionerStyles = null;
11
+ const stackStyles = {
12
+ stackTransition: "_k8m01e03 _1bumglyw _sedtglyw",
13
+ stackTransform: "_t9ec1b95",
14
+ stackIdle: "_t9ecglyw"
15
+ };
16
+
17
+ // Hardcoded pixels are based off a 60px base gutter
15
18
  const scrollStyles = {
16
- viewport: "_4t3i1wug _kqswh2mm _1sg41wqb _maxs1wug _1jvh1wqb _1uca1wug _eoawglyw",
19
+ viewport: "_4t3i1wug _kqswh2mm _1f6n1wqb _1eot1wug _eoawglyw",
17
20
  body: "_we1i18uh _e8uozwhf _y1k5stnw _5ee41wqb _1urridpf _1juqidpf _yakv1wug _4lht1wug _eoawglyw",
18
21
  fullScreen: ""
19
22
  };
@@ -22,9 +25,6 @@ const scrollStyles = {
22
25
  * TODO: when tidying this feature gate, add `!important` to `scrollStyles.body`
23
26
  */
24
27
  const importantBodyFeatureGateStyles = null;
25
- const stackTransitionStyles = null;
26
- const stackTransformStyles = null;
27
- const stackIdleStyles = null;
28
28
  function getScrollBehavior({
29
29
  isFullScreen,
30
30
  shouldScrollInViewport
@@ -58,7 +58,7 @@ const Positioner = props => {
58
58
  transitionTimingFunction: easeInOut
59
59
  },
60
60
  "data-testid": testId && `${testId}--positioner`,
61
- className: ax(["_1e0c1txw _1bsb1osq _p12f1osq _4t3i1osq _kqsw1n9t _1pby16oo _2lx21bp4 _152tidpf _1e02idpf", "_k8m01e03 _1bumglyw _sedtglyw", stackIndex > 0 ? "_t9ec1b95" : "_t9ecglyw", scrollStyles[scrollBehavior], scrollBehavior === 'body' && fg('platform_dst_modal_dialog_AFBH_1489') && "_5ee41nf8"])
61
+ className: ax(["_1e0c1txw _1bsb1osq _p12f1osq _4t3i1osq _kqsw1n9t _1pby16oo _2lx21bp4 _152tidpf _1e02idpf", stackStyles.stackTransition, stackIndex > 0 ? stackStyles.stackTransform : stackStyles.stackIdle, scrollStyles[scrollBehavior], scrollBehavior === 'body' && fg('platform_dst_modal_dialog_AFBH_1489') && "_5ee41nf8"])
62
62
  }, children);
63
63
  };
64
64
 
@@ -1,6 +1,6 @@
1
1
 
2
- ._179rv2xi{border-block-end:var(--ds-border-width-outline,2px) solid var(--ds-border,#091e4224)}
3
- ._mqm2v2xi{border-block-start:var(--ds-border-width-outline,2px) solid var(--ds-border,#091e4224)}._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
2
+ ._179r187z{border-block-end:var(--ds-border-width-selected,2px) solid var(--ds-border,#091e4224)}
3
+ ._mqm2187z{border-block-start:var(--ds-border-width-selected,2px) solid var(--ds-border,#091e4224)}._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
4
4
  ._16jlkb7n{flex-grow:1}
5
5
  ._18m91wug{overflow-y:auto}
6
6
  ._1e0c1kw7{display:inherit}
@@ -12,8 +12,8 @@ import { Focusable } from '@atlaskit/primitives/compiled';
12
12
  const keylineColor = "var(--ds-border, #091E4224)";
13
13
  const styles = {
14
14
  base: "_16jlkb7n _1o9zkb7n _i0dl1kw7 _1e0c1kw7 _2lx21kw7 _6rthze3t _1pfhze3t _12l2ze3t _ahbqze3t _1reo15vq _18m91wug _1jykn7od _wzg61wug",
15
- topKeyline: "_mqm2v2xi",
16
- bottomKeyline: "_179rv2xi"
15
+ topKeyline: "_mqm2187z",
16
+ bottomKeyline: "_179r187z"
17
17
  };
18
18
  const keylineHeight = 2;
19
19
  /**
@@ -1,6 +1,6 @@
1
1
  ._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
2
  ._18zr1ejb{padding-inline:var(--ds-space-300,24px)}
3
- ._1rjc1bk5{padding-block:var(--ds-border-width-outline,2px)}
3
+ ._1rjcv77o{padding-block:var(--ds-space-025,2px)}
4
4
  ._16jlkb7n{flex-grow:1}
5
5
  ._1o9zkb7n{flex-shrink:1}
6
6
  ._i0dl1wug{flex-basis:auto}
@@ -10,7 +10,7 @@ import useScroll from './internal/hooks/use-scroll';
10
10
  const styles = {
11
11
  root: "_16jlkb7n _1o9zkb7n _i0dl1wug",
12
12
  font: "_11c82smr",
13
- paddingBlock: "_1rjc1bk5",
13
+ paddingBlock: "_1rjcv77o",
14
14
  paddingInline: "_18zr1ejb"
15
15
  };
16
16
  /**
@@ -2,7 +2,7 @@
2
2
  ._zulpu2gc{gap:var(--ds-space-100,8px)}._18zr1ejb{padding-inline:var(--ds-space-300,24px)}
3
3
  ._1bahesu3{justify-content:flex-end}
4
4
  ._1e0c1txw{display:flex}
5
- ._1pfh1ezb{margin-block-start:calc(var(--ds-border-width-outline, 2px)*-1)}
5
+ ._1pfh1i6y{margin-block-start:var(--ds-space-negative-025,-2px)}
6
6
  ._1q51pxbi{padding-block-start:var(--ds-space-200,1pc)}
7
7
  ._4cvr1h6o{align-items:center}
8
8
  ._85i51ejb{padding-block-end:var(--ds-space-300,24px)}
@@ -24,7 +24,7 @@ const ModalFooter = props => {
24
24
  const testId = userDefinedTestId || modalTestId && `${modalTestId}--footer`;
25
25
  return /*#__PURE__*/React.createElement("div", {
26
26
  "data-testid": testId,
27
- className: ax(["_zulpu2gc _18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bahesu3 _1pfh1ezb _85i51ejb _1q51pxbi"])
27
+ className: ax(["_zulpu2gc _18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bahesu3 _1pfh1i6y _85i51ejb _1q51pxbi"])
28
28
  }, children);
29
29
  };
30
30
  export default ModalFooter;
@@ -3,6 +3,6 @@
3
3
  ._1e0c1txw{display:flex}
4
4
  ._1q511ejb{padding-block-start:var(--ds-space-300,24px)}
5
5
  ._4cvr1h6o{align-items:center}
6
- ._6rth1ezb{margin-block-end:calc(var(--ds-border-width-outline, 2px)*-1)}
6
+ ._6rth1i6y{margin-block-end:var(--ds-space-negative-025,-2px)}
7
7
  ._85i5pxbi{padding-block-end:var(--ds-space-200,1pc)}
8
8
  ._kqswh2mm{position:relative}
@@ -37,7 +37,7 @@ const ModalHeader = props => {
37
37
  const shouldShowCloseButton = hasCloseButton && hasProvidedOnClose && onClose;
38
38
  return /*#__PURE__*/React.createElement("div", {
39
39
  "data-testid": testId,
40
- className: ax(["_18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bah1yb4 _6rth1ezb _85i5pxbi _1q511ejb"])
40
+ className: ax(["_18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bah1yb4 _6rth1i6y _85i5pxbi _1q511ejb"])
41
41
  }, shouldShowCloseButton ?
42
42
  /*#__PURE__*/
43
43
  // The reason we are putting the close button first in the DOM and then
@@ -17,8 +17,8 @@
17
17
  ._lcxv1wug{pointer-events:auto}
18
18
  ._m01u1kw7>form:only-child{max-height:inherit}
19
19
  ._p12fauwl{max-width:100vw}
20
- ._syaz1fxt{color:var(--ds-text,#172b4d)}._128m1bk5:focus-visible{outline-width:var(--ds-border-width-outline,2px)}
21
- ._1ah31bk5:focus-visible{outline-offset:var(--ds-border-width-outline,2px)}
20
+ ._syaz1fxt{color:var(--ds-text,#172b4d)}._128mdkaa:focus-visible{outline-width:var(--ds-border-width-focused,2px)}
21
+ ._1ah3dkaa:focus-visible{outline-offset:var(--ds-border-width-focused,2px)}
22
22
  ._mizu1p6i:focus-visible{outline-color:var(--ds-border-focused,#388bff)}
23
23
  ._ra3xnqa1:focus-visible{outline-style:solid}
24
24
  @media screen and (-ms-high-contrast:active),screen and (forced-colors:active){._1cvmnqa1:focus-visible{outline-style:solid}._4davt94y:focus-visible{outline-width:1px}}
@@ -21,7 +21,7 @@ import { dialogHeight, dialogWidth } from '../utils';
21
21
  import Positioner from './positioner';
22
22
  var LOCAL_CURRENT_SURFACE_CSS_VAR = '--ds-elevation-surface-current';
23
23
  var dialogStyles = {
24
- root: "_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _1bsb1osq _p12fauwl _4t3i1osq _1tkeidpf _c71l1kxc _2lx21bp4 _bfhk1bhr _syaz1fxt _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1p6i _1ah31bk5 _ra3xnqa1 _128m1bk5 _1cvmnqa1 _4davt94y _we1i1kw7 _zg7p1cd0 _yakv1kw7 _4lht1kw7 _1xlt6m9r",
24
+ root: "_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _1bsb1osq _p12fauwl _4t3i1osq _1tkeidpf _c71l1kxc _2lx21bp4 _bfhk1bhr _syaz1fxt _1q1l1bhr _lcxv1wug _1mq81kw7 _m01u1kw7 _1dg11kw7 _mizu1p6i _1ah3dkaa _ra3xnqa1 _128mdkaa _1cvmnqa1 _4davt94y _we1i1kw7 _zg7p1cd0 _yakv1kw7 _4lht1kw7 _1xlt6m9r",
25
25
  borderRadius: "_epkxfajl"
26
26
  };
27
27
  var viewportScrollStyles = null;
@@ -78,7 +78,7 @@ var InternalModalWrapper = function InternalModalWrapper(props) {
78
78
  action: 'closed',
79
79
  componentName: 'modalDialog',
80
80
  packageName: "@atlaskit/modal-dialog",
81
- packageVersion: "0.0.0-development"
81
+ packageVersion: "14.3.12"
82
82
  });
83
83
  var onBlanketClicked = useCallback(function (e) {
84
84
  if (shouldCloseOnOverlayClick) {
@@ -13,4 +13,4 @@
13
13
  ._t9ec1b95{transform:translateY(var(--modal-dialog-translate-y))}
14
14
  ._t9ecglyw{transform:none}
15
15
  @media (prefers-reduced-motion:reduce){._1bumglyw{animation:none}._sedtglyw{transition:none}}
16
- @media (min-width:30rem){._1sg41wqb{margin-top:60px}._maxs1wug{margin-right:auto}._1jvh1wqb{margin-bottom:60px}._1uca1wug{margin-left:auto}._eoawglyw{pointer-events:none}._5ee41kr1{inset-block-start:var(--_imv74m)}._we1i18uh{max-width:calc(100vw - 90pt)}._e8uozwhf{max-height:calc(100vh - 119px)}._y1k5stnw{position:absolute}._5ee41wqb{inset-block-start:60px}._1urridpf{inset-inline-end:0}._1juqidpf{inset-inline-start:0}._yakv1wug{margin-inline-end:auto}._4lht1wug{margin-inline-start:auto}}
16
+ @media (min-width:30rem){._1f6n1wqb{margin-block:60px}._1eot1wug{margin-inline:auto}._eoawglyw{pointer-events:none}._5ee41nf8{inset-block-start:60px!important}._we1i18uh{max-width:calc(100vw - 90pt)}._e8uozwhf{max-height:calc(100vh - 119px)}._y1k5stnw{position:absolute}._5ee41wqb{inset-block-start:60px}._1urridpf{inset-inline-end:0}._1juqidpf{inset-inline-start:0}._yakv1wug{margin-inline-end:auto}._4lht1wug{margin-inline-start:auto}}
@@ -1,22 +1,22 @@
1
1
  /* positioner.tsx generated by @compiled/babel-plugin v0.36.1 */
2
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
2
  import "./positioner.compiled.css";
4
3
  import * as React from 'react';
5
4
  import { ax, ix } from "@compiled/react/runtime";
6
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
5
  import { easeInOut } from '@atlaskit/motion/curves';
9
6
  import { durations } from '@atlaskit/motion/durations';
10
7
  import { fg } from '@atlaskit/platform-feature-flags';
11
8
  import { layers } from '@atlaskit/theme/constants';
12
- var gutter = 60;
13
- var maxWidthDimensions = "calc(100vw - ".concat(gutter * 2, "px)");
14
- var maxHeightDimensions = "calc(100vh - ".concat(gutter * 2 - 1, "px)");
15
-
16
9
  // Flex and min-content are set to constrain the height of the body and support multi-column scrolling experiences
17
10
  var positionerStyles = null;
11
+ var stackStyles = {
12
+ stackTransition: "_k8m01e03 _1bumglyw _sedtglyw",
13
+ stackTransform: "_t9ec1b95",
14
+ stackIdle: "_t9ecglyw"
15
+ };
16
+
17
+ // Hardcoded pixels are based off a 60px base gutter
18
18
  var scrollStyles = {
19
- viewport: "_4t3i1wug _kqswh2mm _1sg41wqb _maxs1wug _1jvh1wqb _1uca1wug _eoawglyw",
19
+ viewport: "_4t3i1wug _kqswh2mm _1f6n1wqb _1eot1wug _eoawglyw",
20
20
  body: "_we1i18uh _e8uozwhf _y1k5stnw _5ee41wqb _1urridpf _1juqidpf _yakv1wug _4lht1wug _eoawglyw",
21
21
  fullScreen: ""
22
22
  };
@@ -25,9 +25,6 @@ var scrollStyles = {
25
25
  * TODO: when tidying this feature gate, add `!important` to `scrollStyles.body`
26
26
  */
27
27
  var importantBodyFeatureGateStyles = null;
28
- var stackTransitionStyles = null;
29
- var stackTransformStyles = null;
30
- var stackIdleStyles = null;
31
28
  function getScrollBehavior(_ref) {
32
29
  var isFullScreen = _ref.isFullScreen,
33
30
  shouldScrollInViewport = _ref.shouldScrollInViewport;
@@ -50,17 +47,15 @@ var Positioner = function Positioner(props) {
50
47
  shouldScrollInViewport: shouldScrollInViewport
51
48
  });
52
49
  return /*#__PURE__*/React.createElement("div", {
53
- "data-testid": testId && "".concat(testId, "--positioner"),
54
- className: ax(["_1e0c1txw _1bsb1osq _p12f1osq _4t3i1osq _kqsw1n9t _1pby16oo _2lx21bp4 _152tidpf _1e02idpf", "_k8m01e03 _1bumglyw _sedtglyw", stackIndex > 0 ? "_t9ec1b95" : "_t9ecglyw", scrollStyles[scrollBehavior], scrollBehavior === 'body' && fg('platform_dst_modal_dialog_AFBH_1489') && "_5ee41kr1"]),
55
- style: _objectSpread(_objectSpread({}, {
50
+ style: {
56
51
  '--modal-dialog-translate-y': "calc(".concat(stackIndex, "px * ", "var(--ds-space-100, 8px)", ")"),
57
52
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
58
53
  transitionDuration: "".concat(durations.medium, "ms"),
59
54
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
60
55
  transitionTimingFunction: easeInOut
61
- }), {}, {
62
- "--_imv74m": ix("".concat(gutter, "px !important"))
63
- })
56
+ },
57
+ "data-testid": testId && "".concat(testId, "--positioner"),
58
+ className: ax(["_1e0c1txw _1bsb1osq _p12f1osq _4t3i1osq _kqsw1n9t _1pby16oo _2lx21bp4 _152tidpf _1e02idpf", stackStyles.stackTransition, stackIndex > 0 ? stackStyles.stackTransform : stackStyles.stackIdle, scrollStyles[scrollBehavior], scrollBehavior === 'body' && fg('platform_dst_modal_dialog_AFBH_1489') && "_5ee41nf8"])
64
59
  }, children);
65
60
  };
66
61
 
@@ -1,6 +1,6 @@
1
1
 
2
- ._179rv2xi{border-block-end:var(--ds-border-width-outline,2px) solid var(--ds-border,#091e4224)}
3
- ._mqm2v2xi{border-block-start:var(--ds-border-width-outline,2px) solid var(--ds-border,#091e4224)}._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
2
+ ._179r187z{border-block-end:var(--ds-border-width-selected,2px) solid var(--ds-border,#091e4224)}
3
+ ._mqm2187z{border-block-start:var(--ds-border-width-selected,2px) solid var(--ds-border,#091e4224)}._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
4
4
  ._16jlkb7n{flex-grow:1}
5
5
  ._18m91wug{overflow-y:auto}
6
6
  ._1e0c1kw7{display:inherit}
@@ -13,8 +13,8 @@ import { Focusable } from '@atlaskit/primitives/compiled';
13
13
  var keylineColor = "var(--ds-border, #091E4224)";
14
14
  var styles = {
15
15
  base: "_16jlkb7n _1o9zkb7n _i0dl1kw7 _1e0c1kw7 _2lx21kw7 _6rthze3t _1pfhze3t _12l2ze3t _ahbqze3t _1reo15vq _18m91wug _1jykn7od _wzg61wug",
16
- topKeyline: "_mqm2v2xi",
17
- bottomKeyline: "_179rv2xi"
16
+ topKeyline: "_mqm2187z",
17
+ bottomKeyline: "_179r187z"
18
18
  };
19
19
  var keylineHeight = 2;
20
20
  /**
@@ -1,6 +1,6 @@
1
1
  ._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
2
  ._18zr1ejb{padding-inline:var(--ds-space-300,24px)}
3
- ._1rjc1bk5{padding-block:var(--ds-border-width-outline,2px)}
3
+ ._1rjcv77o{padding-block:var(--ds-space-025,2px)}
4
4
  ._16jlkb7n{flex-grow:1}
5
5
  ._1o9zkb7n{flex-shrink:1}
6
6
  ._i0dl1wug{flex-basis:auto}
@@ -10,7 +10,7 @@ import useScroll from './internal/hooks/use-scroll';
10
10
  var styles = {
11
11
  root: "_16jlkb7n _1o9zkb7n _i0dl1wug",
12
12
  font: "_11c82smr",
13
- paddingBlock: "_1rjc1bk5",
13
+ paddingBlock: "_1rjcv77o",
14
14
  paddingInline: "_18zr1ejb"
15
15
  };
16
16
  /**
@@ -2,7 +2,7 @@
2
2
  ._zulpu2gc{gap:var(--ds-space-100,8px)}._18zr1ejb{padding-inline:var(--ds-space-300,24px)}
3
3
  ._1bahesu3{justify-content:flex-end}
4
4
  ._1e0c1txw{display:flex}
5
- ._1pfhmufe{margin-block-start:var(--_t7lu6v)}
5
+ ._1pfh1i6y{margin-block-start:var(--ds-space-negative-025,-2px)}
6
6
  ._1q51pxbi{padding-block-start:var(--ds-space-200,1pc)}
7
7
  ._4cvr1h6o{align-items:center}
8
8
  ._85i51ejb{padding-block-end:var(--ds-space-300,24px)}
@@ -21,10 +21,7 @@ var ModalFooter = function ModalFooter(props) {
21
21
  var testId = userDefinedTestId || modalTestId && "".concat(modalTestId, "--footer");
22
22
  return /*#__PURE__*/React.createElement("div", {
23
23
  "data-testid": testId,
24
- className: ax(["_zulpu2gc _18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bahesu3 _1pfhmufe _85i51ejb _1q51pxbi"]),
25
- style: {
26
- "--_t7lu6v": ix("calc(-1 * ".concat("var(--ds-border-width-outline, 2px)", ")"))
27
- }
24
+ className: ax(["_zulpu2gc _18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bahesu3 _1pfh1i6y _85i51ejb _1q51pxbi"])
28
25
  }, children);
29
26
  };
30
27
  export default ModalFooter;
@@ -3,6 +3,6 @@
3
3
  ._1e0c1txw{display:flex}
4
4
  ._1q511ejb{padding-block-start:var(--ds-space-300,24px)}
5
5
  ._4cvr1h6o{align-items:center}
6
- ._6rthmufe{margin-block-end:var(--_t7lu6v)}
6
+ ._6rth1i6y{margin-block-end:var(--ds-space-negative-025,-2px)}
7
7
  ._85i5pxbi{padding-block-end:var(--ds-space-200,1pc)}
8
8
  ._kqswh2mm{position:relative}
@@ -35,10 +35,7 @@ var ModalHeader = function ModalHeader(props) {
35
35
  var shouldShowCloseButton = hasCloseButton && hasProvidedOnClose && onClose;
36
36
  return /*#__PURE__*/React.createElement("div", {
37
37
  "data-testid": testId,
38
- className: ax(["_18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bah1yb4 _6rthmufe _85i5pxbi _1q511ejb"]),
39
- style: {
40
- "--_t7lu6v": ix("calc(-1 * ".concat("var(--ds-border-width-outline, 2px)", ")"))
41
- }
38
+ className: ax(["_18zr1ejb _1e0c1txw _kqswh2mm _4cvr1h6o _1bah1yb4 _6rth1i6y _85i5pxbi _1q511ejb"])
42
39
  }, shouldShowCloseButton ?
43
40
  /*#__PURE__*/
44
41
  // The reason we are putting the close button first in the DOM and then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/modal-dialog",
3
- "version": "14.3.11",
3
+ "version": "14.3.13",
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/"
@@ -40,7 +40,7 @@
40
40
  "@atlaskit/portal": "^5.1.0",
41
41
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
42
42
  "@atlaskit/primitives": "^14.14.0",
43
- "@atlaskit/theme": "^20.0.0",
43
+ "@atlaskit/theme": "^21.0.0",
44
44
  "@atlaskit/tokens": "^6.3.0",
45
45
  "@babel/runtime": "^7.0.0",
46
46
  "@compiled/react": "^0.18.3",