@atlaskit/onboarding 13.0.5 → 14.0.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.
Files changed (65) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/cjs/components/modal.js +10 -14
  3. package/dist/cjs/components/node-resolver-spotlight-target.compiled.css +1 -0
  4. package/dist/cjs/components/node-resolver-spotlight-target.js +12 -13
  5. package/dist/cjs/components/spotlight-card.compiled.css +20 -0
  6. package/dist/cjs/components/spotlight-card.js +34 -55
  7. package/dist/cjs/components/spotlight-dialog.js +2 -2
  8. package/dist/cjs/components/spotlight-inner.js +1 -2
  9. package/dist/cjs/components/spotlight-manager.js +1 -2
  10. package/dist/cjs/components/theme.js +44 -48
  11. package/dist/cjs/styled/blanket.compiled.css +4 -0
  12. package/dist/cjs/styled/blanket.js +13 -17
  13. package/dist/cjs/styled/dialog.compiled.css +10 -0
  14. package/dist/cjs/styled/dialog.js +24 -30
  15. package/dist/cjs/styled/modal.compiled.css +26 -0
  16. package/dist/cjs/styled/modal.js +29 -54
  17. package/dist/cjs/styled/target.compiled.css +8 -0
  18. package/dist/cjs/styled/target.js +34 -57
  19. package/dist/es2019/components/modal.js +9 -14
  20. package/dist/es2019/components/node-resolver-spotlight-target.compiled.css +1 -0
  21. package/dist/es2019/components/node-resolver-spotlight-target.js +8 -11
  22. package/dist/es2019/components/spotlight-card.compiled.css +20 -0
  23. package/dist/es2019/components/spotlight-card.js +33 -54
  24. package/dist/es2019/components/spotlight-dialog.js +1 -1
  25. package/dist/es2019/components/spotlight-inner.js +1 -2
  26. package/dist/es2019/components/spotlight-manager.js +1 -2
  27. package/dist/es2019/components/theme.js +44 -45
  28. package/dist/es2019/styled/blanket.compiled.css +4 -0
  29. package/dist/es2019/styled/blanket.js +9 -17
  30. package/dist/es2019/styled/dialog.compiled.css +10 -0
  31. package/dist/es2019/styled/dialog.js +20 -29
  32. package/dist/es2019/styled/modal.compiled.css +26 -0
  33. package/dist/es2019/styled/modal.js +26 -54
  34. package/dist/es2019/styled/target.compiled.css +9 -0
  35. package/dist/es2019/styled/target.js +21 -49
  36. package/dist/esm/components/modal.js +9 -14
  37. package/dist/esm/components/node-resolver-spotlight-target.compiled.css +1 -0
  38. package/dist/esm/components/node-resolver-spotlight-target.js +8 -11
  39. package/dist/esm/components/spotlight-card.compiled.css +20 -0
  40. package/dist/esm/components/spotlight-card.js +33 -54
  41. package/dist/esm/components/spotlight-dialog.js +1 -1
  42. package/dist/esm/components/spotlight-inner.js +1 -2
  43. package/dist/esm/components/spotlight-manager.js +1 -2
  44. package/dist/esm/components/theme.js +44 -45
  45. package/dist/esm/styled/blanket.compiled.css +4 -0
  46. package/dist/esm/styled/blanket.js +9 -17
  47. package/dist/esm/styled/dialog.compiled.css +10 -0
  48. package/dist/esm/styled/dialog.js +21 -31
  49. package/dist/esm/styled/modal.compiled.css +26 -0
  50. package/dist/esm/styled/modal.js +26 -54
  51. package/dist/esm/styled/target.compiled.css +8 -0
  52. package/dist/esm/styled/target.js +30 -57
  53. package/dist/types/components/modal.d.ts +8 -9
  54. package/dist/types/components/node-resolver-spotlight-target.d.ts +1 -2
  55. package/dist/types/styled/blanket.d.ts +1 -6
  56. package/dist/types/styled/dialog.d.ts +3 -4
  57. package/dist/types/styled/modal.d.ts +5 -6
  58. package/dist/types/styled/target.d.ts +3 -5
  59. package/dist/types-ts4.5/components/modal.d.ts +8 -9
  60. package/dist/types-ts4.5/components/node-resolver-spotlight-target.d.ts +1 -2
  61. package/dist/types-ts4.5/styled/blanket.d.ts +1 -6
  62. package/dist/types-ts4.5/styled/dialog.d.ts +3 -4
  63. package/dist/types-ts4.5/styled/modal.d.ts +5 -6
  64. package/dist/types-ts4.5/styled/target.d.ts +3 -5
  65. package/package.json +8 -7
@@ -1,32 +1,28 @@
1
+ /* dialog.tsx generated by @compiled/babel-plugin v0.36.1 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
6
  Object.defineProperty(exports, "__esModule", {
5
7
  value: true
6
8
  });
7
9
  exports.DialogImage = exports.DialogActionItemContainer = exports.DialogActionItem = void 0;
10
+ require("./dialog.compiled.css");
11
+ var React = _interopRequireWildcard(require("react"));
12
+ var _runtime = require("@compiled/react/runtime");
8
13
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
14
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
- var _react = require("@emotion/react");
15
+ var _compiled = require("@atlaskit/primitives/compiled");
11
16
  var _excluded = ["alt"];
12
- /**
13
- * @jsxRuntime classic
14
- * @jsx jsx
15
- */
16
- var imageStyles = (0, _react.css)({
17
- maxWidth: '100%',
18
- height: 'auto'
19
- });
20
- var actionItemContainerStyles = (0, _react.css)({
21
- display: 'flex',
22
- margin: "var(--ds-space-0, 0px)".concat(" -4px"),
23
- /* When there is more than one action, place primary action visually on the
24
- right, but keep it's position as the first focusable element in the DOM */
25
- flexDirection: 'row-reverse'
26
- });
27
- var actionItemStyles = (0, _react.css)({
28
- margin: "var(--ds-space-0, 0px)".concat(" ", "var(--ds-space-050, 4px)")
29
- });
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
+ var imageStyles = null;
20
+ var actionItemContainerStyles = {
21
+ root: "_1e0c1txw _2lx21sbv _6rthze3t _1pfhze3t _12l2r5cr _ahbqr5cr"
22
+ };
23
+ var actionItemStyles = {
24
+ root: "_6rthze3t _1pfhze3t _12l21b66 _ahbq1b66"
25
+ };
30
26
 
31
27
  /**
32
28
  * __Dialog image__
@@ -38,13 +34,11 @@ var actionItemStyles = (0, _react.css)({
38
34
  var DialogImage = exports.DialogImage = function DialogImage(_ref) {
39
35
  var alt = _ref.alt,
40
36
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
41
- return (
42
- // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
43
- (0, _react.jsx)("img", (0, _extends2.default)({
44
- css: imageStyles,
45
- alt: alt
46
- }, props))
47
- );
37
+ return /*#__PURE__*/React.createElement("img", (0, _extends2.default)({
38
+ alt: alt
39
+ }, props, {
40
+ className: (0, _runtime.ax)(["_p12f1osq _4t3i1wug"])
41
+ }));
48
42
  };
49
43
 
50
44
  /**
@@ -56,8 +50,8 @@ var DialogImage = exports.DialogImage = function DialogImage(_ref) {
56
50
  */
57
51
  var DialogActionItemContainer = exports.DialogActionItemContainer = function DialogActionItemContainer(_ref2) {
58
52
  var children = _ref2.children;
59
- return (0, _react.jsx)("div", {
60
- css: actionItemContainerStyles
53
+ return /*#__PURE__*/React.createElement(_compiled.Box, {
54
+ xcss: actionItemContainerStyles.root
61
55
  }, children);
62
56
  };
63
57
 
@@ -70,7 +64,7 @@ var DialogActionItemContainer = exports.DialogActionItemContainer = function Dia
70
64
  */
71
65
  var DialogActionItem = exports.DialogActionItem = function DialogActionItem(_ref3) {
72
66
  var children = _ref3.children;
73
- return (0, _react.jsx)("div", {
74
- css: actionItemStyles
67
+ return /*#__PURE__*/React.createElement(_compiled.Box, {
68
+ xcss: actionItemStyles.root
75
69
  }, children);
76
70
  };
@@ -0,0 +1,26 @@
1
+ ._11c8lodh{font:var(--ds-font-heading-medium,normal 500 20px/24px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
+ ._12l21b66{margin-inline-end:var(--ds-space-050,4px)}
3
+ ._1bah1h6o{justify-content:center}
4
+ ._1bsb1osq{width:100%}
5
+ ._1e0c1txw{display:flex}
6
+ ._1n261g80{flex-wrap:wrap}
7
+ ._1pfhze3t{margin-block-start:var(--ds-space-0,0)}
8
+ ._1q511jfw{padding-block-start:var(--ds-space-500,40px)}
9
+ ._1q51ze3t{padding-block-start:var(--ds-space-0,0)}
10
+ ._1s1g1sit{border-start-start-radius:var(--ds-border-radius,3px)}
11
+ ._2lx21sbv{flex-direction:row-reverse}
12
+ ._2lx2vrvc{flex-direction:row}
13
+ ._4t3i1wug{height:auto}
14
+ ._5fbc1sit{border-start-end-radius:var(--ds-border-radius,3px)}
15
+ ._6rth1b66{margin-block-end:var(--ds-space-050,4px)}
16
+ ._6rthu2gc{margin-block-end:var(--ds-space-100,8px)}
17
+ ._85i514no{padding-block-end:36px}
18
+ ._85i51jfw{padding-block-end:var(--ds-space-500,40px)}
19
+ ._ahbq1b66{margin-inline-start:var(--ds-space-050,4px)}
20
+ ._bozg1jfw{padding-inline-start:var(--ds-space-500,40px)}
21
+ ._bozgpxbi{padding-inline-start:var(--ds-space-200,1pc)}
22
+ ._syaz1kw7{color:inherit}
23
+ ._y3gn1h6o{text-align:center}
24
+ ._y4ti1jfw{padding-inline-end:var(--ds-space-500,40px)}
25
+ ._y4tipxbi{padding-inline-end:var(--ds-space-200,1pc)}
26
+ @media (min-width:320px) and (max-width:480px){._j722idpf{border-radius:0}}
@@ -1,49 +1,27 @@
1
+ /* modal.tsx generated by @compiled/babel-plugin v0.36.1 */
1
2
  "use strict";
2
3
 
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
8
  exports.ModalImage = exports.ModalHeading = exports.ModalBody = exports.ModalActionItem = exports.ModalActionContainer = void 0;
7
- var _react = require("@emotion/react");
8
- /**
9
- * @jsxRuntime classic
10
- * @jsx jsx
11
- */
12
-
13
- var modalBodyStyles = (0, _react.css)({
14
- padding: "var(--ds-space-500, 40px)".concat(" ", "var(--ds-space-200, 16px)"),
15
- textAlign: 'center'
16
- });
9
+ require("./modal.compiled.css");
10
+ var React = _interopRequireWildcard(require("react"));
11
+ var _runtime = require("@compiled/react/runtime");
12
+ var _compiled = require("@atlaskit/primitives/compiled");
13
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
+ var modalBodyStyles = null;
17
16
 
18
17
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-array-arguments -- Ignored via go/DSP-18766
19
- var modalHeadingStyles = (0, _react.css)({
20
- color: 'inherit',
21
- font: "var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
22
- marginBlockEnd: "var(--ds-space-100, 8px)"
23
- });
24
- var modalImageStyles = (0, _react.css)({
25
- width: '100%',
26
- height: 'auto',
27
- borderStartEndRadius: "var(--ds-border-radius, 3px)",
28
- borderStartStartRadius: "var(--ds-border-radius, 3px)",
29
- // eslint-disable-next-line @atlaskit/design-system/no-nested-styles
30
- '@media (min-width: 320px) and (max-width: 480px)': {
31
- borderRadius: 0
32
- }
33
- });
34
- var modalActionContainerStyles = (0, _react.css)({
35
- display: 'flex',
36
- padding: "var(--ds-space-0, 0px)".concat(" ", "var(--ds-space-500, 40px)", " 36px"),
37
- justifyContent: 'center',
38
- flexDirection: 'row',
39
- flexFlow: 'wrap'
40
- });
41
- var modalActionContainerReversedStyles = (0, _react.css)({
42
- flexDirection: 'row-reverse'
43
- });
44
- var modalActionItemStyles = (0, _react.css)({
45
- margin: "var(--ds-space-0, 0px)".concat(" ", "var(--ds-space-050, 4px)", " ", "var(--ds-space-050, 4px)")
46
- });
18
+ var modalHeadingStyles = null;
19
+ var modalImageStyles = null;
20
+ var modalActionContainerStyles = null;
21
+ var modalActionContainerReversedStyles = null;
22
+ var modalActionItemStyles = {
23
+ root: "_6rth1b66 _1pfhze3t _12l21b66 _ahbq1b66"
24
+ };
47
25
 
48
26
  /**
49
27
  * __Modal body__
@@ -52,8 +30,8 @@ var modalActionItemStyles = (0, _react.css)({
52
30
  */
53
31
  var ModalBody = exports.ModalBody = function ModalBody(_ref) {
54
32
  var children = _ref.children;
55
- return (0, _react.jsx)("div", {
56
- css: modalBodyStyles
33
+ return /*#__PURE__*/React.createElement("div", {
34
+ className: (0, _runtime.ax)(["_85i51jfw _1q511jfw _y4tipxbi _bozgpxbi _y3gn1h6o"])
57
35
  }, children);
58
36
  };
59
37
 
@@ -65,13 +43,10 @@ var ModalBody = exports.ModalBody = function ModalBody(_ref) {
65
43
  var ModalHeading = exports.ModalHeading = function ModalHeading(_ref2) {
66
44
  var children = _ref2.children,
67
45
  id = _ref2.id;
68
- return (
69
- // eslint-disable-next-line @atlaskit/design-system/use-heading
70
- (0, _react.jsx)("h1", {
71
- css: modalHeadingStyles,
72
- id: id
73
- }, children)
74
- );
46
+ return /*#__PURE__*/React.createElement("h1", {
47
+ id: id,
48
+ className: (0, _runtime.ax)(["_11c8lodh _syaz1kw7 _6rthu2gc"])
49
+ }, children);
75
50
  };
76
51
 
77
52
  /**
@@ -82,10 +57,10 @@ var ModalHeading = exports.ModalHeading = function ModalHeading(_ref2) {
82
57
  var ModalImage = exports.ModalImage = function ModalImage(_ref3) {
83
58
  var alt = _ref3.alt,
84
59
  src = _ref3.src;
85
- return (0, _react.jsx)("img", {
86
- css: modalImageStyles,
60
+ return /*#__PURE__*/React.createElement("img", {
87
61
  alt: alt,
88
- src: src
62
+ src: src,
63
+ className: (0, _runtime.ax)(["_1bsb1osq _4t3i1wug _5fbc1sit _1s1g1sit _j722idpf"])
89
64
  });
90
65
  };
91
66
 
@@ -97,8 +72,8 @@ var ModalImage = exports.ModalImage = function ModalImage(_ref3) {
97
72
  var ModalActionContainer = exports.ModalActionContainer = function ModalActionContainer(_ref4) {
98
73
  var children = _ref4.children,
99
74
  shouldReverseButtonOrder = _ref4.shouldReverseButtonOrder;
100
- return (0, _react.jsx)("div", {
101
- css: [modalActionContainerStyles, shouldReverseButtonOrder && modalActionContainerReversedStyles]
75
+ return /*#__PURE__*/React.createElement("div", {
76
+ className: (0, _runtime.ax)(["_2lx2vrvc _1n261g80 _1e0c1txw _1bah1h6o _85i514no _1q51ze3t _y4ti1jfw _bozg1jfw", shouldReverseButtonOrder && "_2lx21sbv"])
102
77
  }, children);
103
78
  };
104
79
 
@@ -109,7 +84,7 @@ var ModalActionContainer = exports.ModalActionContainer = function ModalActionCo
109
84
  */
110
85
  var ModalActionItem = exports.ModalActionItem = function ModalActionItem(_ref5) {
111
86
  var children = _ref5.children;
112
- return (0, _react.jsx)("div", {
113
- css: modalActionItemStyles
87
+ return /*#__PURE__*/React.createElement(_compiled.Box, {
88
+ xcss: modalActionItemStyles.root
114
89
  }, children);
115
90
  };
@@ -0,0 +1,8 @@
1
+
2
+ ._y44v1rys{animation:var(--_mb5lf8)}._152tze3t{inset-block-start:var(--ds-space-0,0)}
3
+ ._16qs1wx8{box-shadow:0 0 0 2px var(--ds-border-discovery,#8270db)}
4
+ ._1bsb1osq{width:100%}
5
+ ._1e02ze3t{inset-inline-start:var(--ds-space-0,0)}
6
+ ._4t3i1osq{height:100%}
7
+ ._kqswstnw{position:absolute}
8
+ @media (prefers-reduced-motion:reduce){._1bumglyw{animation:none}._sedtglyw{transition:none}}
@@ -1,47 +1,33 @@
1
+ /* target.tsx generated by @compiled/babel-plugin v0.36.1 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
6
  Object.defineProperty(exports, "__esModule", {
5
7
  value: true
6
8
  });
7
- exports.pulseKeyframesName = exports.TargetOverlay = exports.TargetInner = exports.Pulse = void 0;
9
+ exports.TargetOverlay = exports.TargetInner = exports.Pulse = void 0;
10
+ require("./target.compiled.css");
11
+ var React = _interopRequireWildcard(require("react"));
12
+ var _runtime = require("@compiled/react/runtime");
8
13
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
14
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
15
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
- var _react = require("@emotion/react");
12
- var _motion = require("@atlaskit/motion");
13
- var _colors = require("@atlaskit/theme/colors");
14
16
  var _excluded = ["bgColor", "children", "className", "radius", "testId", "style"],
15
17
  _excluded2 = ["bgColor", "children", "className", "pulse", "radius", "testId"],
16
18
  _excluded3 = ["onClick"],
17
19
  _excluded4 = ["bgColor", "children", "className", "radius", "pulse", "testId"];
18
- /**
19
- * @jsxRuntime classic
20
- * @jsx jsx
21
- */
20
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
21
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
22
22
  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; }
23
23
  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; }
24
+ var reduceMotionAsPerUserPreference = null;
24
25
  // NOTE:
25
26
  // Pulse color "rgb(101, 84, 192)" derived from "colors.P300"
26
- var baseShadow = "0 0 0 2px ".concat("var(--ds-border-discovery, ".concat(_colors.P300, ")"));
27
+ var baseShadow = "0 0 0 2px ".concat("var(--ds-border-discovery, #8270DB)");
27
28
  var easing = 'cubic-bezier(0.55, 0.055, 0.675, 0.19)';
28
- var pulseKeyframes = (0, _react.keyframes)({
29
- '0%, 33%': {
30
- boxShadow: "".concat(baseShadow, ", 0 0 0 ", "var(--ds-border-discovery, rgba(101, 84, 192, 1))")
31
- },
32
- '66%, 100%': {
33
- boxShadow: "".concat(baseShadow, ", 0 0 0 10px rgba(101, 84, 192, 0.01)")
34
- }
35
- });
36
- // This is needed for unit tests
37
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
38
- var pulseKeyframesName = exports.pulseKeyframesName = pulseKeyframes.name;
39
- var animationStyles = (0, _react.css)({
40
- animation: "".concat(pulseKeyframes, " 3000ms ").concat(easing, " infinite"),
41
- // Keep a purple boxshadow on the Pulse component if `prefers-reduced-motion`
42
- // is applied so we still have a functioning semantic affordance.
43
- boxShadow: baseShadow
44
- });
29
+ var pulseKeyframes = null;
30
+ var animationStyles = null;
45
31
  var Base = function Base(_ref) {
46
32
  var bgColor = _ref.bgColor,
47
33
  children = _ref.children,
@@ -50,7 +36,7 @@ var Base = function Base(_ref) {
50
36
  testId = _ref.testId,
51
37
  style = _ref.style,
52
38
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
53
- return (0, _react.jsx)("div", (0, _extends2.default)({
39
+ return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
54
40
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
55
41
  className: className,
56
42
  "data-testid": testId,
@@ -77,26 +63,21 @@ var TargetInner = exports.TargetInner = function TargetInner(_ref2) {
77
63
  radius = _ref2.radius,
78
64
  testId = _ref2.testId,
79
65
  props = (0, _objectWithoutProperties2.default)(_ref2, _excluded2);
80
- return (0, _react.jsx)(Base, (0, _extends2.default)({
66
+ return /*#__PURE__*/React.createElement(Base, (0, _extends2.default)({
81
67
  bgColor: bgColor
82
68
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
83
69
  ,
84
- className: className,
70
+ className: (0, _runtime.ax)([pulse && "_y44v1rys _16qs1wx8", "_1bumglyw _sedtglyw", className]),
85
71
  radius: radius,
86
72
  testId: testId
87
73
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
88
74
  }, props, {
89
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
90
- css: [pulse && animationStyles, _motion.reduceMotionAsPerUserPreference]
75
+ style: _objectSpread(_objectSpread({}, props.style), {}, {
76
+ "--_mb5lf8": (0, _runtime.ix)("".concat(pulseKeyframes, " 3000ms ").concat(easing, " infinite"))
77
+ })
91
78
  }), children);
92
79
  };
93
- var targetOverlayStyles = (0, _react.css)({
94
- width: '100%',
95
- height: '100%',
96
- position: 'absolute',
97
- insetBlockStart: "var(--ds-space-0, 0)",
98
- insetInlineStart: "var(--ds-space-0, 0)"
99
- });
80
+ var targetOverlayStyles = null;
100
81
 
101
82
  /**
102
83
  * __Target overlay__
@@ -109,20 +90,16 @@ var targetOverlayStyles = (0, _react.css)({
109
90
  var TargetOverlay = exports.TargetOverlay = function TargetOverlay(_ref3) {
110
91
  var onClick = _ref3.onClick,
111
92
  props = (0, _objectWithoutProperties2.default)(_ref3, _excluded3);
112
- return (
113
- // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
114
- (0, _react.jsx)("div", (0, _extends2.default)({
115
- onClick: onClick
116
- // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
117
- }, props, {
118
- css: targetOverlayStyles
119
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
120
- ,
121
- style: {
122
- cursor: onClick ? 'pointer' : 'auto'
123
- }
124
- }))
125
- );
93
+ return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
94
+ onClick: onClick
95
+ // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
96
+ }, props, {
97
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
98
+ style: {
99
+ cursor: onClick ? 'pointer' : 'auto'
100
+ },
101
+ className: (0, _runtime.ax)(["_1bsb1osq _4t3i1osq _kqswstnw _152tze3t _1e02ze3t"])
102
+ }));
126
103
  };
127
104
 
128
105
  /**
@@ -143,17 +120,17 @@ var Pulse = exports.Pulse = function Pulse(_ref4) {
143
120
  pulse = _ref4$pulse === void 0 ? true : _ref4$pulse,
144
121
  testId = _ref4.testId,
145
122
  props = (0, _objectWithoutProperties2.default)(_ref4, _excluded4);
146
- return (0, _react.jsx)(Base, (0, _extends2.default)({
123
+ return /*#__PURE__*/React.createElement(Base, (0, _extends2.default)({
147
124
  bgColor: bgColor
148
125
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
149
126
  ,
150
- className: className,
127
+ className: (0, _runtime.ax)([pulse && "_y44v1rys _16qs1wx8", "_1bumglyw _sedtglyw", className]),
151
128
  radius: radius,
152
129
  testId: testId
153
130
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
154
131
  }, props, {
155
- css: [pulse && animationStyles,
156
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
157
- _motion.reduceMotionAsPerUserPreference]
132
+ style: _objectSpread(_objectSpread({}, props.style), {}, {
133
+ "--_mb5lf8": (0, _runtime.ix)("".concat(pulseKeyframes, " 3000ms ").concat(easing, " infinite"))
134
+ })
158
135
  }), children);
159
136
  };
@@ -1,11 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
- /**
4
- * @jsxRuntime classic
5
- * @jsx jsx
6
- */
7
- import { Component } from 'react';
8
- import { jsx } from '@emotion/react';
3
+ import React, { Component } from 'react';
9
4
  import Button, { Theme as ButtonTheme } from '@atlaskit/button/custom-theme-button';
10
5
  import Modal, { ModalBody, useModal } from '@atlaskit/modal-dialog';
11
6
  import { ModalBody as Body, ModalHeading as Heading, ModalActionContainer, ModalActionItem, ModalImage } from '../styled/modal';
@@ -31,7 +26,7 @@ export default class BenefitsModal extends Component {
31
26
  header: HeaderElement,
32
27
  image: src
33
28
  } = props;
34
- const ImageElement = () => jsx(ModalImage, {
29
+ const ImageElement = () => /*#__PURE__*/React.createElement(ModalImage, {
35
30
  src: src,
36
31
  alt: ""
37
32
  });
@@ -43,9 +38,9 @@ export default class BenefitsModal extends Component {
43
38
  actions: actionList,
44
39
  experimental_shouldShowPrimaryButtonOnRight = false
45
40
  } = props;
46
- const ActionsElement = () => actionList ? jsx(ButtonTheme.Provider, {
41
+ const ActionsElement = () => actionList ? /*#__PURE__*/React.createElement(ButtonTheme.Provider, {
47
42
  value: modalButtonTheme
48
- }, jsx(ModalActionContainer, {
43
+ }, /*#__PURE__*/React.createElement(ModalActionContainer, {
49
44
  shouldReverseButtonOrder: experimental_shouldShowPrimaryButtonOnRight
50
45
  }, actionList.map(({
51
46
  text,
@@ -53,9 +48,9 @@ export default class BenefitsModal extends Component {
53
48
  ...rest
54
49
  }, idx) => {
55
50
  const variant = idx ? 'subtle-link' : 'primary';
56
- return jsx(ModalActionItem, {
51
+ return /*#__PURE__*/React.createElement(ModalActionItem, {
57
52
  key: key || (typeof text === 'string' ? text : `${idx}`)
58
- }, jsx(Button, _extends({
53
+ }, /*#__PURE__*/React.createElement(Button, _extends({
59
54
  appearance: variant,
60
55
  autoFocus: !idx
61
56
  }, rest), text));
@@ -82,11 +77,11 @@ export default class BenefitsModal extends Component {
82
77
  const {
83
78
  titleId
84
79
  } = useModal();
85
- return jsx(Heading, {
80
+ return /*#__PURE__*/React.createElement(Heading, {
86
81
  id: titleId
87
82
  }, heading);
88
83
  };
89
- return jsx(Modal, _extends({
84
+ return /*#__PURE__*/React.createElement(Modal, _extends({
90
85
  autoFocus: true,
91
86
  shouldCloseOnEscapePress: false,
92
87
  shouldCloseOnOverlayClick: false,
@@ -99,6 +94,6 @@ export default class BenefitsModal extends Component {
99
94
  header: header,
100
95
  heading: heading,
101
96
  image: image
102
- }, rest), jsx(Header, null), jsx(ModalBody, null, jsx(Body, null, heading && jsx(CustomHeader, null), children)), jsx(Footer, null));
97
+ }, rest), /*#__PURE__*/React.createElement(Header, null), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(Body, null, heading && /*#__PURE__*/React.createElement(CustomHeader, null), children)), /*#__PURE__*/React.createElement(Footer, null));
103
98
  }
104
99
  }
@@ -0,0 +1 @@
1
+ ._1e0c1bgi{display:contents}
@@ -1,13 +1,10 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
1
+ /* node-resolver-spotlight-target.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./node-resolver-spotlight-target.compiled.css";
3
+ import * as React from 'react';
4
+ import { ax, ix } from "@compiled/react/runtime";
5
5
  import { useEffect, useRef } from 'react';
6
- import { css, jsx } from '@emotion/react';
7
6
  import NodeResolver from 'react-node-resolver';
8
- const spanStyles = css({
9
- display: 'contents'
10
- });
7
+ const spanStyles = null;
11
8
  /**
12
9
  * A wrapper component that conditionally applies a NodeResolver to its children.
13
10
  *
@@ -37,13 +34,13 @@ const NodeResolverSpotlightTarget = ({
37
34
  };
38
35
  }, [hasNodeResolver, name, getTargetRef]);
39
36
  if (hasNodeResolver) {
40
- return jsx(NodeResolver, {
37
+ return /*#__PURE__*/React.createElement(NodeResolver, {
41
38
  innerRef: getTargetRef(name)
42
39
  }, children);
43
40
  }
44
- return jsx("span", {
41
+ return /*#__PURE__*/React.createElement("span", {
45
42
  ref: divRef,
46
- css: spanStyles
43
+ className: ax(["_1e0c1bgi"])
47
44
  }, children);
48
45
  };
49
46
  export default NodeResolverSpotlightTarget;
@@ -0,0 +1,20 @@
1
+
2
+ ._2rkoglpi{border-radius:var(--ds-border-radius,4px)}._16qszucj{box-shadow:var(--ds-shadow-raised,0 1px 1px #091e4240,0 0 1px #091e424f)}
3
+ ._18m91wug{overflow-y:auto}
4
+ ._1bah1yb4{justify-content:space-between}
5
+ ._1e0c1txw{display:flex}
6
+ ._1e0c1ule{display:block}
7
+ ._1q51pxbi{padding-block-start:var(--ds-space-200,1pc)}
8
+ ._1q51u2gc{padding-block-start:var(--ds-space-100,8px)}
9
+ ._1reo1wug{overflow-x:auto}
10
+ ._1ul91lit{min-width:10pc}
11
+ ._2lx21bp4{flex-direction:column}
12
+ ._4cvr1h6o{align-items:center}
13
+ ._4cvr1q9y{align-items:baseline}
14
+ ._4t3i1ns9{height:-moz-fit-content;height:fit-content}
15
+ ._85i5pxbi{padding-block-end:var(--ds-space-200,1pc)}
16
+ ._85i5u2gc{padding-block-end:var(--ds-space-100,8px)}
17
+ ._bozgv47k{padding-inline-start:var(--ds-space-250,20px)}
18
+ ._p12f1ogm{max-width:600px}
19
+ ._syaz15cr{color:var(--ds-text-inverse,#fff)}
20
+ ._y4tiv47k{padding-inline-end:var(--ds-space-250,20px)}