@atlaskit/onboarding 14.6.2 → 15.0.0

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 (71) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/cjs/components/spotlight-manager.js +4 -1
  3. package/dist/cjs/components/spotlight-transition.js +1 -0
  4. package/dist/cjs/components/theme.js +4 -3
  5. package/dist/cjs/styled/dialog.js +2 -0
  6. package/dist/cjs/styled/modal.js +4 -0
  7. package/dist/cjs/styled/target.compiled.css +1 -1
  8. package/dist/cjs/styled/target.js +4 -2
  9. package/dist/es2019/components/index.js +15 -1
  10. package/dist/es2019/components/spotlight-manager.js +3 -1
  11. package/dist/es2019/components/spotlight-transition.js +1 -0
  12. package/dist/es2019/components/theme.js +4 -3
  13. package/dist/es2019/styled/dialog.js +2 -0
  14. package/dist/es2019/styled/modal.js +4 -0
  15. package/dist/es2019/styled/target.compiled.css +1 -1
  16. package/dist/es2019/styled/target.js +4 -2
  17. package/dist/esm/components/index.js +15 -1
  18. package/dist/esm/components/spotlight-manager.js +3 -1
  19. package/dist/esm/components/spotlight-transition.js +1 -0
  20. package/dist/esm/components/theme.js +4 -3
  21. package/dist/esm/styled/dialog.js +2 -0
  22. package/dist/esm/styled/modal.js +4 -0
  23. package/dist/esm/styled/target.compiled.css +1 -1
  24. package/dist/esm/styled/target.js +4 -2
  25. package/modal/package.json +1 -8
  26. package/modal-transition/package.json +1 -8
  27. package/package.json +16 -42
  28. package/spotlight/package.json +1 -8
  29. package/spotlight-card/package.json +1 -8
  30. package/spotlight-manager/package.json +1 -8
  31. package/spotlight-target/package.json +1 -8
  32. package/spotlight-transition/package.json +1 -8
  33. package/target/package.json +1 -8
  34. package/theme/package.json +1 -8
  35. package/types/package.json +1 -8
  36. package/use-spotlight/package.json +1 -8
  37. package/dist/types-ts4.5/components/clone.d.ts +0 -54
  38. package/dist/types-ts4.5/components/index.d.ts +0 -10
  39. package/dist/types-ts4.5/components/modal-transition.d.ts +0 -17
  40. package/dist/types-ts4.5/components/modal.d.ts +0 -54
  41. package/dist/types-ts4.5/components/node-resolver-spotlight-inner.d.ts +0 -18
  42. package/dist/types-ts4.5/components/node-resolver-spotlight-target.d.ts +0 -27
  43. package/dist/types-ts4.5/components/spotlight-card.d.ts +0 -14
  44. package/dist/types-ts4.5/components/spotlight-dialog.d.ts +0 -86
  45. package/dist/types-ts4.5/components/spotlight-inner.d.ts +0 -58
  46. package/dist/types-ts4.5/components/spotlight-manager.d.ts +0 -83
  47. package/dist/types-ts4.5/components/spotlight-target.d.ts +0 -50
  48. package/dist/types-ts4.5/components/spotlight-transition.d.ts +0 -45
  49. package/dist/types-ts4.5/components/spotlight.d.ts +0 -15
  50. package/dist/types-ts4.5/components/theme.d.ts +0 -10
  51. package/dist/types-ts4.5/components/use-spotlight.d.ts +0 -9
  52. package/dist/types-ts4.5/components/value-changed.d.ts +0 -11
  53. package/dist/types-ts4.5/entry-points/modal-transition.d.ts +0 -1
  54. package/dist/types-ts4.5/entry-points/modal.d.ts +0 -1
  55. package/dist/types-ts4.5/entry-points/spotlight-card.d.ts +0 -1
  56. package/dist/types-ts4.5/entry-points/spotlight-manager.d.ts +0 -3
  57. package/dist/types-ts4.5/entry-points/spotlight-target.d.ts +0 -1
  58. package/dist/types-ts4.5/entry-points/spotlight-transition.d.ts +0 -2
  59. package/dist/types-ts4.5/entry-points/spotlight.d.ts +0 -1
  60. package/dist/types-ts4.5/entry-points/target.d.ts +0 -1
  61. package/dist/types-ts4.5/entry-points/theme.d.ts +0 -1
  62. package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
  63. package/dist/types-ts4.5/entry-points/use-spotlight.d.ts +0 -1
  64. package/dist/types-ts4.5/index.d.ts +0 -2
  65. package/dist/types-ts4.5/styled/blanket.d.ts +0 -19
  66. package/dist/types-ts4.5/styled/dialog.d.ts +0 -33
  67. package/dist/types-ts4.5/styled/modal.d.ts +0 -51
  68. package/dist/types-ts4.5/styled/target.d.ts +0 -45
  69. package/dist/types-ts4.5/types.d.ts +0 -173
  70. package/dist/types-ts4.5/utils/use-element-box.d.ts +0 -20
  71. package/dist/types-ts4.5/utils/use-element-observer.d.ts +0 -16
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @atlaskit/onboarding
2
2
 
3
+ ## 15.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
8
+ Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
9
+
10
+ Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
11
+
12
+ Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
13
+
14
+ ```diff
15
+ - "typesVersions": {
16
+ - ">=4.5 <4.9": {
17
+ - "*": [
18
+ - "dist/types-ts4.5/*",
19
+ - "dist/types-ts4.5/index.d.ts"
20
+ - ]
21
+ - }
22
+ - },
23
+ ```
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies
28
+
3
29
  ## 14.6.2
4
30
 
5
31
  ### Patch Changes
@@ -33,6 +33,9 @@ var SpotlightContext = exports.SpotlightContext = /*#__PURE__*/(0, _react.create
33
33
  });
34
34
  var SpotlightStateConsumer = exports.SpotlightConsumer = SpotlightContext.Consumer;
35
35
  var SpotlightStateProvider = SpotlightContext.Provider;
36
+
37
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
38
+
36
39
  var Container = function Container(_ref) {
37
40
  var Wrapper = _ref.component,
38
41
  children = _ref.children;
@@ -50,7 +53,7 @@ var Container = function Container(_ref) {
50
53
  *
51
54
  * @deprecated Use `@atlaskit/spotlight` instead.
52
55
  */
53
- // eslint-disable-next-line @repo/internal/react/no-class-components
56
+ // eslint-disable-next-line @repo/internal/react/no-class-components, @atlaskit/volt-strict-mode/no-multiple-exports
54
57
  var SpotlightManager = exports.default = /*#__PURE__*/function (_PureComponent) {
55
58
  function SpotlightManager() {
56
59
  var _this;
@@ -92,4 +92,5 @@ var SpotlightTransition = /*#__PURE__*/function (_React$Component) {
92
92
  var SpotlightTransitionConsumer = exports.SpotlightTransitionConsumer = SpotlightTransitionContext.Consumer;
93
93
 
94
94
  // eslint-disable-next-line @repo/internal/react/require-jsdoc
95
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
95
96
  var _default = exports.default = SpotlightTransition;
@@ -18,7 +18,7 @@ var spotlightTheme = {
18
18
  default: "var(--ds-background-inverse-subtle, #00000029)",
19
19
  hover: "var(--ds-background-inverse-subtle-hovered, #0000003D)",
20
20
  active: "var(--ds-background-inverse-subtle-pressed, #00000052)",
21
- disabled: "var(--ds-background-disabled, #17171708)",
21
+ disabled: "var(--ds-background-disabled, #0515240F)",
22
22
  selected: "var(--ds-background-inverse-subtle-pressed, #00000052)",
23
23
  focus: "var(--ds-background-inverse-subtle, #00000029)"
24
24
  },
@@ -82,8 +82,8 @@ var modalTheme = {
82
82
  hover: "var(--ds-background-discovery-bold-hovered, #803FA5)",
83
83
  active: "var(--ds-background-discovery-bold-pressed, #673286)",
84
84
  disabled: {
85
- light: "var(--ds-background-disabled, #17171708)",
86
- dark: "var(--ds-background-disabled, #17171708)"
85
+ light: "var(--ds-background-disabled, #0515240F)",
86
+ dark: "var(--ds-background-disabled, #0515240F)"
87
87
  },
88
88
  selected: "var(--ds-background-selected-hovered, #CFE1FD)",
89
89
  focus: "var(--ds-background-discovery-bold-hovered, #803FA5)"
@@ -141,6 +141,7 @@ var spotlightButtonTheme = exports.spotlightButtonTheme = function spotlightButt
141
141
  * @deprecated
142
142
  * Custom button themes are deprecated and will be removed in the future.
143
143
  */
144
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
144
145
  var modalButtonTheme = exports.modalButtonTheme = function modalButtonTheme(current, themeProps) {
145
146
  var _current2 = current(themeProps),
146
147
  buttonStyles = _current2.buttonStyles,
@@ -47,6 +47,7 @@ var DialogImage = exports.DialogImage = function DialogImage(_ref) {
47
47
  *
48
48
  * @internal
49
49
  */
50
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
50
51
  var DialogActionItemContainer = exports.DialogActionItemContainer = function DialogActionItemContainer(_ref2) {
51
52
  var children = _ref2.children;
52
53
  return /*#__PURE__*/React.createElement(_compiled.Box, {
@@ -61,6 +62,7 @@ var DialogActionItemContainer = exports.DialogActionItemContainer = function Dia
61
62
  *
62
63
  * @internal
63
64
  */
65
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
64
66
  var DialogActionItem = exports.DialogActionItem = function DialogActionItem(_ref3) {
65
67
  var children = _ref3.children;
66
68
  return /*#__PURE__*/React.createElement(_compiled.Box, {
@@ -37,6 +37,7 @@ var ModalBody = exports.ModalBody = function ModalBody(_ref) {
37
37
  *
38
38
  * @internal
39
39
  */
40
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
40
41
  var ModalHeading = exports.ModalHeading = function ModalHeading(_ref2) {
41
42
  var children = _ref2.children,
42
43
  id = _ref2.id;
@@ -51,6 +52,7 @@ var ModalHeading = exports.ModalHeading = function ModalHeading(_ref2) {
51
52
  *
52
53
  * @internal
53
54
  */
55
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
54
56
  var ModalImage = exports.ModalImage = function ModalImage(_ref3) {
55
57
  var alt = _ref3.alt,
56
58
  src = _ref3.src;
@@ -66,6 +68,7 @@ var ModalImage = exports.ModalImage = function ModalImage(_ref3) {
66
68
  *
67
69
  * @internal
68
70
  */
71
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
69
72
  var ModalActionContainer = exports.ModalActionContainer = function ModalActionContainer(_ref4) {
70
73
  var children = _ref4.children,
71
74
  shouldReverseButtonOrder = _ref4.shouldReverseButtonOrder;
@@ -79,6 +82,7 @@ var ModalActionContainer = exports.ModalActionContainer = function ModalActionCo
79
82
  *
80
83
  * @internal
81
84
  */
85
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
82
86
  var ModalActionItem = exports.ModalActionItem = function ModalActionItem(_ref5) {
83
87
  var children = _ref5.children;
84
88
  return /*#__PURE__*/React.createElement(_compiled.Box, {
@@ -4,7 +4,7 @@
4
4
  ._1e02ze3t{inset-inline-start:var(--ds-space-0,0)}
5
5
  ._1pglmcjr{animation-timing-function:cubic-bezier(.55,.055,.675,.19)}
6
6
  ._4t3i1osq{height:100%}
7
- ._5sagi11n{animation-duration:3s}
7
+ ._5sag19pg{animation-duration:var(--ds-duration-xxlong,3s)}
8
8
  ._j7hq10vn{animation-name:k2lcpkd}
9
9
  ._kqswstnw{position:absolute}
10
10
  ._tip812c5{animation-iteration-count:infinite}
@@ -66,7 +66,7 @@ var TargetInner = exports.TargetInner = function TargetInner(_ref2) {
66
66
  bgColor: bgColor
67
67
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
68
68
  ,
69
- className: (0, _runtime.ax)([pulse && "", pulse && "_5sagi11n _tip812c5 _j7hq10vn _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
69
+ className: (0, _runtime.ax)([pulse && "", pulse && "_5sag19pg _tip812c5 _j7hq10vn _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
70
70
  radius: radius,
71
71
  testId: testId
72
72
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
@@ -87,6 +87,7 @@ var targetOverlayStyles = null;
87
87
  *
88
88
  * @internal
89
89
  */
90
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
90
91
  var TargetOverlay = exports.TargetOverlay = function TargetOverlay(_ref3) {
91
92
  var onClick = _ref3.onClick,
92
93
  props = (0, _objectWithoutProperties2.default)(_ref3, _excluded3);
@@ -112,6 +113,7 @@ var TargetOverlay = exports.TargetOverlay = function TargetOverlay(_ref3) {
112
113
  *
113
114
  * @deprecated Use `@atlaskit/spotlight` instead.
114
115
  */
116
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
115
117
  var Pulse = exports.Pulse = function Pulse(_ref4) {
116
118
  var bgColor = _ref4.bgColor,
117
119
  children = _ref4.children,
@@ -125,7 +127,7 @@ var Pulse = exports.Pulse = function Pulse(_ref4) {
125
127
  bgColor: bgColor
126
128
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
127
129
  ,
128
- className: (0, _runtime.ax)([pulse && "", pulse && "_5sagi11n _tip812c5 _j7hq10vn _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
130
+ className: (0, _runtime.ax)([pulse && "", pulse && "_5sag19pg _tip812c5 _j7hq10vn _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
129
131
  radius: radius,
130
132
  testId: testId
131
133
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
@@ -7,4 +7,18 @@ import SpotlightTarget from './spotlight-target';
7
7
  import SpotlightTransition from './spotlight-transition';
8
8
  import useSpotlight from './use-spotlight';
9
9
  export { spotlightButtonTheme, modalButtonTheme } from './theme';
10
- export { Modal, Spotlight, SpotlightCard, SpotlightManager, SpotlightTarget, SpotlightTransition, useSpotlight, ModalTransition };
10
+ export { Modal,
11
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
12
+ Spotlight,
13
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
14
+ SpotlightCard,
15
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
16
+ SpotlightManager,
17
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
18
+ SpotlightTarget,
19
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
20
+ SpotlightTransition,
21
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
22
+ useSpotlight,
23
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
24
+ ModalTransition };
@@ -16,6 +16,8 @@ const SpotlightContext = /*#__PURE__*/createContext({
16
16
  const SpotlightStateConsumer = SpotlightContext.Consumer;
17
17
  const SpotlightStateProvider = SpotlightContext.Provider;
18
18
  export { TargetConsumer };
19
+
20
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
19
21
  export { SpotlightContext, SpotlightStateConsumer as SpotlightConsumer };
20
22
  const Container = ({
21
23
  component: Wrapper,
@@ -33,7 +35,7 @@ const Container = ({
33
35
  *
34
36
  * @deprecated Use `@atlaskit/spotlight` instead.
35
37
  */
36
- // eslint-disable-next-line @repo/internal/react/no-class-components
38
+ // eslint-disable-next-line @repo/internal/react/no-class-components, @atlaskit/volt-strict-mode/no-multiple-exports
37
39
  export default class SpotlightManager extends PureComponent {
38
40
  constructor(...args) {
39
41
  super(...args);
@@ -65,4 +65,5 @@ class SpotlightTransition extends React.Component {
65
65
  export const SpotlightTransitionConsumer = SpotlightTransitionContext.Consumer;
66
66
 
67
67
  // eslint-disable-next-line @repo/internal/react/require-jsdoc
68
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
68
69
  export default SpotlightTransition;
@@ -4,7 +4,7 @@ const spotlightTheme = {
4
4
  default: "var(--ds-background-inverse-subtle, #00000029)",
5
5
  hover: "var(--ds-background-inverse-subtle-hovered, #0000003D)",
6
6
  active: "var(--ds-background-inverse-subtle-pressed, #00000052)",
7
- disabled: "var(--ds-background-disabled, #17171708)",
7
+ disabled: "var(--ds-background-disabled, #0515240F)",
8
8
  selected: "var(--ds-background-inverse-subtle-pressed, #00000052)",
9
9
  focus: "var(--ds-background-inverse-subtle, #00000029)"
10
10
  },
@@ -68,8 +68,8 @@ const modalTheme = {
68
68
  hover: "var(--ds-background-discovery-bold-hovered, #803FA5)",
69
69
  active: "var(--ds-background-discovery-bold-pressed, #673286)",
70
70
  disabled: {
71
- light: "var(--ds-background-disabled, #17171708)",
72
- dark: "var(--ds-background-disabled, #17171708)"
71
+ light: "var(--ds-background-disabled, #0515240F)",
72
+ dark: "var(--ds-background-disabled, #0515240F)"
73
73
  },
74
74
  selected: "var(--ds-background-selected-hovered, #CFE1FD)",
75
75
  focus: "var(--ds-background-discovery-bold-hovered, #803FA5)"
@@ -133,6 +133,7 @@ export const spotlightButtonTheme = (current, themeProps) => {
133
133
  * @deprecated
134
134
  * Custom button themes are deprecated and will be removed in the future.
135
135
  */
136
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
136
137
  export const modalButtonTheme = (current, themeProps) => {
137
138
  const {
138
139
  buttonStyles,
@@ -35,6 +35,7 @@ export const DialogImage = ({
35
35
  *
36
36
  * @internal
37
37
  */
38
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
38
39
  export const DialogActionItemContainer = ({
39
40
  children
40
41
  }) => /*#__PURE__*/React.createElement(Box, {
@@ -48,6 +49,7 @@ export const DialogActionItemContainer = ({
48
49
  *
49
50
  * @internal
50
51
  */
52
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
51
53
  export const DialogActionItem = ({
52
54
  children
53
55
  }) => /*#__PURE__*/React.createElement(Box, {
@@ -28,6 +28,7 @@ export const ModalBody = ({
28
28
  *
29
29
  * @internal
30
30
  */
31
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
31
32
  export const ModalHeading = ({
32
33
  children,
33
34
  id
@@ -43,6 +44,7 @@ export const ModalHeading = ({
43
44
  *
44
45
  * @internal
45
46
  */
47
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
46
48
  export const ModalImage = ({
47
49
  alt,
48
50
  src
@@ -57,6 +59,7 @@ export const ModalImage = ({
57
59
  *
58
60
  * @internal
59
61
  */
62
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
60
63
  export const ModalActionContainer = ({
61
64
  children,
62
65
  shouldReverseButtonOrder
@@ -69,6 +72,7 @@ export const ModalActionContainer = ({
69
72
  *
70
73
  * @internal
71
74
  */
75
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
72
76
  export const ModalActionItem = ({
73
77
  children
74
78
  }) => /*#__PURE__*/React.createElement(Box, {
@@ -4,7 +4,7 @@
4
4
  ._1e02ze3t{inset-inline-start:var(--ds-space-0,0)}
5
5
  ._1pglmcjr{animation-timing-function:cubic-bezier(.55,.055,.675,.19)}
6
6
  ._4t3i1osq{height:100%}
7
- ._5sagi11n{animation-duration:3s}
7
+ ._5sag19pg{animation-duration:var(--ds-duration-xxlong,3s)}
8
8
  ._j7hqfamb{animation-name:kb6d39w}
9
9
  ._kqswstnw{position:absolute}
10
10
  ._tip812c5{animation-iteration-count:infinite}
@@ -52,7 +52,7 @@ export const TargetInner = ({
52
52
  bgColor: bgColor
53
53
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
54
54
  ,
55
- className: ax([pulse && "", pulse && "_5sagi11n _tip812c5 _j7hqfamb _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
55
+ className: ax([pulse && "", pulse && "_5sag19pg _tip812c5 _j7hqfamb _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
56
56
  radius: radius,
57
57
  testId: testId
58
58
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
@@ -70,6 +70,7 @@ const targetOverlayStyles = null;
70
70
  *
71
71
  * @internal
72
72
  */
73
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
73
74
  export const TargetOverlay = ({
74
75
  onClick,
75
76
  ...props
@@ -94,6 +95,7 @@ export const TargetOverlay = ({
94
95
  *
95
96
  * @deprecated Use `@atlaskit/spotlight` instead.
96
97
  */
98
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
97
99
  export const Pulse = ({
98
100
  bgColor,
99
101
  children,
@@ -106,7 +108,7 @@ export const Pulse = ({
106
108
  bgColor: bgColor
107
109
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
108
110
  ,
109
- className: ax([pulse && "", pulse && "_5sagi11n _tip812c5 _j7hqfamb _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
111
+ className: ax([pulse && "", pulse && "_5sag19pg _tip812c5 _j7hqfamb _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
110
112
  radius: radius,
111
113
  testId: testId
112
114
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
@@ -7,4 +7,18 @@ import SpotlightTarget from './spotlight-target';
7
7
  import SpotlightTransition from './spotlight-transition';
8
8
  import useSpotlight from './use-spotlight';
9
9
  export { spotlightButtonTheme, modalButtonTheme } from './theme';
10
- export { Modal, Spotlight, SpotlightCard, SpotlightManager, SpotlightTarget, SpotlightTransition, useSpotlight, ModalTransition };
10
+ export { Modal,
11
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
12
+ Spotlight,
13
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
14
+ SpotlightCard,
15
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
16
+ SpotlightManager,
17
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
18
+ SpotlightTarget,
19
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
20
+ SpotlightTransition,
21
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
22
+ useSpotlight,
23
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
24
+ ModalTransition };
@@ -25,6 +25,8 @@ var SpotlightContext = /*#__PURE__*/createContext({
25
25
  var SpotlightStateConsumer = SpotlightContext.Consumer;
26
26
  var SpotlightStateProvider = SpotlightContext.Provider;
27
27
  export { TargetConsumer };
28
+
29
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
28
30
  export { SpotlightContext, SpotlightStateConsumer as SpotlightConsumer };
29
31
  var Container = function Container(_ref) {
30
32
  var Wrapper = _ref.component,
@@ -43,7 +45,7 @@ var Container = function Container(_ref) {
43
45
  *
44
46
  * @deprecated Use `@atlaskit/spotlight` instead.
45
47
  */
46
- // eslint-disable-next-line @repo/internal/react/no-class-components
48
+ // eslint-disable-next-line @repo/internal/react/no-class-components, @atlaskit/volt-strict-mode/no-multiple-exports
47
49
  var SpotlightManager = /*#__PURE__*/function (_PureComponent) {
48
50
  function SpotlightManager() {
49
51
  var _this;
@@ -83,4 +83,5 @@ var SpotlightTransition = /*#__PURE__*/function (_React$Component) {
83
83
  export var SpotlightTransitionConsumer = SpotlightTransitionContext.Consumer;
84
84
 
85
85
  // eslint-disable-next-line @repo/internal/react/require-jsdoc
86
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
86
87
  export default SpotlightTransition;
@@ -11,7 +11,7 @@ var spotlightTheme = {
11
11
  default: "var(--ds-background-inverse-subtle, #00000029)",
12
12
  hover: "var(--ds-background-inverse-subtle-hovered, #0000003D)",
13
13
  active: "var(--ds-background-inverse-subtle-pressed, #00000052)",
14
- disabled: "var(--ds-background-disabled, #17171708)",
14
+ disabled: "var(--ds-background-disabled, #0515240F)",
15
15
  selected: "var(--ds-background-inverse-subtle-pressed, #00000052)",
16
16
  focus: "var(--ds-background-inverse-subtle, #00000029)"
17
17
  },
@@ -75,8 +75,8 @@ var modalTheme = {
75
75
  hover: "var(--ds-background-discovery-bold-hovered, #803FA5)",
76
76
  active: "var(--ds-background-discovery-bold-pressed, #673286)",
77
77
  disabled: {
78
- light: "var(--ds-background-disabled, #17171708)",
79
- dark: "var(--ds-background-disabled, #17171708)"
78
+ light: "var(--ds-background-disabled, #0515240F)",
79
+ dark: "var(--ds-background-disabled, #0515240F)"
80
80
  },
81
81
  selected: "var(--ds-background-selected-hovered, #CFE1FD)",
82
82
  focus: "var(--ds-background-discovery-bold-hovered, #803FA5)"
@@ -134,6 +134,7 @@ export var spotlightButtonTheme = function spotlightButtonTheme(current, themePr
134
134
  * @deprecated
135
135
  * Custom button themes are deprecated and will be removed in the future.
136
136
  */
137
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
137
138
  export var modalButtonTheme = function modalButtonTheme(current, themeProps) {
138
139
  var _current2 = current(themeProps),
139
140
  buttonStyles = _current2.buttonStyles,
@@ -38,6 +38,7 @@ export var DialogImage = function DialogImage(_ref) {
38
38
  *
39
39
  * @internal
40
40
  */
41
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
41
42
  export var DialogActionItemContainer = function DialogActionItemContainer(_ref2) {
42
43
  var children = _ref2.children;
43
44
  return /*#__PURE__*/React.createElement(Box, {
@@ -52,6 +53,7 @@ export var DialogActionItemContainer = function DialogActionItemContainer(_ref2)
52
53
  *
53
54
  * @internal
54
55
  */
56
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
55
57
  export var DialogActionItem = function DialogActionItem(_ref3) {
56
58
  var children = _ref3.children;
57
59
  return /*#__PURE__*/React.createElement(Box, {
@@ -29,6 +29,7 @@ export var ModalBody = function ModalBody(_ref) {
29
29
  *
30
30
  * @internal
31
31
  */
32
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
32
33
  export var ModalHeading = function ModalHeading(_ref2) {
33
34
  var children = _ref2.children,
34
35
  id = _ref2.id;
@@ -43,6 +44,7 @@ export var ModalHeading = function ModalHeading(_ref2) {
43
44
  *
44
45
  * @internal
45
46
  */
47
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
46
48
  export var ModalImage = function ModalImage(_ref3) {
47
49
  var alt = _ref3.alt,
48
50
  src = _ref3.src;
@@ -58,6 +60,7 @@ export var ModalImage = function ModalImage(_ref3) {
58
60
  *
59
61
  * @internal
60
62
  */
63
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
61
64
  export var ModalActionContainer = function ModalActionContainer(_ref4) {
62
65
  var children = _ref4.children,
63
66
  shouldReverseButtonOrder = _ref4.shouldReverseButtonOrder;
@@ -71,6 +74,7 @@ export var ModalActionContainer = function ModalActionContainer(_ref4) {
71
74
  *
72
75
  * @internal
73
76
  */
77
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
74
78
  export var ModalActionItem = function ModalActionItem(_ref5) {
75
79
  var children = _ref5.children;
76
80
  return /*#__PURE__*/React.createElement(Box, {
@@ -4,7 +4,7 @@
4
4
  ._1e02ze3t{inset-inline-start:var(--ds-space-0,0)}
5
5
  ._1pglmcjr{animation-timing-function:cubic-bezier(.55,.055,.675,.19)}
6
6
  ._4t3i1osq{height:100%}
7
- ._5sagi11n{animation-duration:3s}
7
+ ._5sag19pg{animation-duration:var(--ds-duration-xxlong,3s)}
8
8
  ._j7hq10vn{animation-name:k2lcpkd}
9
9
  ._kqswstnw{position:absolute}
10
10
  ._tip812c5{animation-iteration-count:infinite}
@@ -57,7 +57,7 @@ export var TargetInner = function TargetInner(_ref2) {
57
57
  bgColor: bgColor
58
58
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
59
59
  ,
60
- className: ax([pulse && "", pulse && "_5sagi11n _tip812c5 _j7hq10vn _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
60
+ className: ax([pulse && "", pulse && "_5sag19pg _tip812c5 _j7hq10vn _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
61
61
  radius: radius,
62
62
  testId: testId
63
63
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
@@ -78,6 +78,7 @@ var targetOverlayStyles = null;
78
78
  *
79
79
  * @internal
80
80
  */
81
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
81
82
  export var TargetOverlay = function TargetOverlay(_ref3) {
82
83
  var onClick = _ref3.onClick,
83
84
  props = _objectWithoutProperties(_ref3, _excluded3);
@@ -103,6 +104,7 @@ export var TargetOverlay = function TargetOverlay(_ref3) {
103
104
  *
104
105
  * @deprecated Use `@atlaskit/spotlight` instead.
105
106
  */
107
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports, @repo/internal/react/require-jsdoc
106
108
  export var Pulse = function Pulse(_ref4) {
107
109
  var bgColor = _ref4.bgColor,
108
110
  children = _ref4.children,
@@ -116,7 +118,7 @@ export var Pulse = function Pulse(_ref4) {
116
118
  bgColor: bgColor
117
119
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
118
120
  ,
119
- className: ax([pulse && "", pulse && "_5sagi11n _tip812c5 _j7hq10vn _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
121
+ className: ax([pulse && "", pulse && "_5sag19pg _tip812c5 _j7hq10vn _1pglmcjr _16qs1peg", "_1bumglyw _sedtglyw", className]),
120
122
  radius: radius,
121
123
  testId: testId
122
124
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "**/*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/modal.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/modal.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/modal.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "**/*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/modal-transition.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/modal-transition.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/modal-transition.d.ts"
17
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/onboarding",
3
- "version": "14.6.2",
3
+ "version": "15.0.0",
4
4
  "description": "An onboarding spotlight introduces new features to users through focused messages or multi-step tours.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -12,14 +12,6 @@
12
12
  "module": "dist/esm/index.js",
13
13
  "module:es2019": "dist/es2019/index.js",
14
14
  "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- ">=4.5 <4.9": {
17
- "*": [
18
- "dist/types-ts4.5/*",
19
- "dist/types-ts4.5/index.d.ts"
20
- ]
21
- }
22
- },
23
15
  "sideEffects": [
24
16
  "**/*.compiled.css"
25
17
  ],
@@ -62,18 +54,18 @@
62
54
  }
63
55
  },
64
56
  "dependencies": {
65
- "@atlaskit/button": "^23.11.0",
66
- "@atlaskit/css": "^0.19.0",
67
- "@atlaskit/ds-lib": "^7.0.0",
68
- "@atlaskit/heading": "^5.4.0",
69
- "@atlaskit/layering": "^3.7.0",
70
- "@atlaskit/modal-dialog": "^15.0.0",
71
- "@atlaskit/motion": "^6.2.0",
72
- "@atlaskit/platform-feature-flags": "^1.1.0",
73
- "@atlaskit/popper": "^7.2.0",
74
- "@atlaskit/portal": "^5.5.0",
75
- "@atlaskit/primitives": "^19.0.0",
76
- "@atlaskit/tokens": "^13.0.0",
57
+ "@atlaskit/button": "^24.0.0",
58
+ "@atlaskit/css": "^1.0.0",
59
+ "@atlaskit/ds-lib": "^8.0.0",
60
+ "@atlaskit/heading": "^6.0.0",
61
+ "@atlaskit/layering": "^4.0.0",
62
+ "@atlaskit/modal-dialog": "^16.0.0",
63
+ "@atlaskit/motion": "^7.0.0",
64
+ "@atlaskit/platform-feature-flags": "^2.0.0",
65
+ "@atlaskit/popper": "^8.0.0",
66
+ "@atlaskit/portal": "^6.0.0",
67
+ "@atlaskit/primitives": "^20.0.0",
68
+ "@atlaskit/tokens": "^14.0.0",
77
69
  "@babel/runtime": "^7.0.0",
78
70
  "@compiled/react": "^0.20.0",
79
71
  "bind-event-listener": "^3.0.0",
@@ -92,15 +84,16 @@
92
84
  "@af/accessibility-testing": "workspace:^",
93
85
  "@af/integration-testing": "workspace:^",
94
86
  "@af/visual-regression": "workspace:^",
95
- "@atlaskit/theme": "^23.2.0",
87
+ "@atlaskit/theme": "^26.0.0",
96
88
  "@atlassian/react-compiler-gating": "workspace:^",
97
89
  "@atlassian/ssr-tests": "workspace:^",
98
- "@atlassian/testing-library": "^0.5.0",
90
+ "@atlassian/testing-library": "^0.6.0",
99
91
  "@testing-library/react": "^16.3.0",
100
92
  "@testing-library/user-event": "^14.4.3",
101
93
  "@types/exenv": "^1.2.0",
102
94
  "@types/react-node-resolver": "^2.0.0",
103
95
  "raf-stub": "^2.0.1",
96
+ "react": "^18.2.0",
104
97
  "react-dom": "^18.2.0",
105
98
  "react-lorem-component": "^0.13.0"
106
99
  },
@@ -115,24 +108,5 @@
115
108
  "type": "boolean",
116
109
  "referenceOnly": true
117
110
  }
118
- },
119
- "techstack": {
120
- "@atlassian/frontend": {
121
- "import-structure": "atlassian-conventions"
122
- },
123
- "@repo/internal": {
124
- "dom-events": "use-bind-event-listener",
125
- "analytics": "analytics-next",
126
- "design-tokens": [
127
- "color",
128
- "spacing"
129
- ],
130
- "styling": [
131
- "static",
132
- "emotion"
133
- ],
134
- "design-system": "v1",
135
- "deprecation": "no-deprecated-imports"
136
- }
137
111
  }
138
112
  }