@atlaskit/onboarding 14.5.3 → 14.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/onboarding
2
2
 
3
+ ## 14.5.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b35eb5f6a4e6a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b35eb5f6a4e6a) -
8
+ Remove now inert `autoFocus` prop from modal dialog components.
9
+
10
+ ## 14.5.4
11
+
12
+ ### Patch Changes
13
+
14
+ - [`5db9e3f21a52f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5db9e3f21a52f) -
15
+ Internal refactoring
16
+ - Updated dependencies
17
+
3
18
  ## 14.5.3
4
19
 
5
20
  ### Patch Changes
@@ -55,9 +55,7 @@ var Clone = function Clone(props) {
55
55
  "data-testid": testId,
56
56
  pulse: pulse,
57
57
  bgColor: targetBgColor,
58
- radius: targetRadius
59
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
60
- ,
58
+ radius: targetRadius,
61
59
  style: style
62
60
  }, /*#__PURE__*/_react.default.createElement("div", {
63
61
  dangerouslySetInnerHTML: {
@@ -88,7 +88,7 @@ var BenefitsModal = exports.default = /*#__PURE__*/function (_Component) {
88
88
  key: "render",
89
89
  value: function render() {
90
90
  var _this$props = this.props,
91
- actions = _this$props.actions,
91
+ _actions = _this$props.actions,
92
92
  children = _this$props.children,
93
93
  heading = _this$props.heading,
94
94
  experimental_shouldShowPrimaryButtonOnRight = _this$props.experimental_shouldShowPrimaryButtonOnRight,
@@ -110,7 +110,6 @@ var BenefitsModal = exports.default = /*#__PURE__*/function (_Component) {
110
110
  // TODO: This is a problem that needs solving: https://product-fabric.atlassian.net/browse/DSP-22238
111
111
  // eslint-disable-next-line @atlaskit/design-system/use-modal-dialog-close-button
112
112
  _react.default.createElement(_modalDialog.default, (0, _extends2.default)({
113
- autoFocus: true,
114
113
  shouldCloseOnEscapePress: false,
115
114
  shouldCloseOnOverlayClick: false,
116
115
  shouldScrollInViewport: true
@@ -127,9 +127,7 @@ var SpotlightDialogComponent = /*#__PURE__*/function (_Component) {
127
127
  disabled: focusLockDisabled,
128
128
  returnFocus: false,
129
129
  autoFocus: true
130
- }, /*#__PURE__*/_react.default.createElement(_compiled.Box
131
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
132
- , {
130
+ }, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
133
131
  style: style,
134
132
  ref: ref,
135
133
  "aria-modal": true,
@@ -168,9 +168,7 @@ var SpotlightInner = /*#__PURE__*/function (_React$Component) {
168
168
  ref: ref
169
169
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
170
170
  ,
171
- className: className
172
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
173
- ,
171
+ className: className,
174
172
  style: style
175
173
  }, /*#__PURE__*/_react.default.createElement(_spotlightDialog.default, {
176
174
  testId: "".concat(testId, "--dialog"),
@@ -150,8 +150,7 @@ var SpotlightManager = exports.default = /*#__PURE__*/function (_PureComponent)
150
150
  ref: ref
151
151
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
152
152
  ,
153
- className: className
154
- /* eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766 */,
153
+ className: className,
155
154
  style: style,
156
155
  isTinted: blanketIsTinted,
157
156
  onBlanketClicked: onBlanketClicked
@@ -47,9 +47,7 @@ const Clone = props => {
47
47
  "data-testid": testId,
48
48
  pulse: pulse,
49
49
  bgColor: targetBgColor,
50
- radius: targetRadius
51
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
52
- ,
50
+ radius: targetRadius,
53
51
  style: style
54
52
  }, /*#__PURE__*/React.createElement("div", {
55
53
  dangerouslySetInnerHTML: {
@@ -62,7 +62,7 @@ export default class BenefitsModal extends Component {
62
62
  }
63
63
  render() {
64
64
  const {
65
- actions,
65
+ actions: _actions,
66
66
  children,
67
67
  heading,
68
68
  // All of the following props except `...rest` are unused but were being
@@ -88,7 +88,6 @@ export default class BenefitsModal extends Component {
88
88
  // TODO: This is a problem that needs solving: https://product-fabric.atlassian.net/browse/DSP-22238
89
89
  // eslint-disable-next-line @atlaskit/design-system/use-modal-dialog-close-button
90
90
  React.createElement(Modal, _extends({
91
- autoFocus: true,
92
91
  shouldCloseOnEscapePress: false,
93
92
  shouldCloseOnOverlayClick: false,
94
93
  shouldScrollInViewport: true
@@ -99,9 +99,7 @@ class SpotlightDialogComponent extends Component {
99
99
  disabled: focusLockDisabled,
100
100
  returnFocus: false,
101
101
  autoFocus: true
102
- }, /*#__PURE__*/React.createElement(Box
103
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
104
- , {
102
+ }, /*#__PURE__*/React.createElement(Box, {
105
103
  style: style,
106
104
  ref: ref,
107
105
  "aria-modal": true,
@@ -138,9 +138,7 @@ class SpotlightInner extends React.Component {
138
138
  ref: ref
139
139
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
140
140
  ,
141
- className: className
142
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
143
- ,
141
+ className: className,
144
142
  style: style
145
143
  }, /*#__PURE__*/React.createElement(SpotlightDialog, {
146
144
  testId: `${testId}--dialog`,
@@ -115,8 +115,7 @@ export default class SpotlightManager extends PureComponent {
115
115
  ref: ref
116
116
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
117
117
  ,
118
- className: className
119
- /* eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766 */,
118
+ className: className,
120
119
  style: style,
121
120
  isTinted: blanketIsTinted,
122
121
  onBlanketClicked: onBlanketClicked
@@ -47,9 +47,7 @@ var Clone = function Clone(props) {
47
47
  "data-testid": testId,
48
48
  pulse: pulse,
49
49
  bgColor: targetBgColor,
50
- radius: targetRadius
51
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
52
- ,
50
+ radius: targetRadius,
53
51
  style: style
54
52
  }, /*#__PURE__*/React.createElement("div", {
55
53
  dangerouslySetInnerHTML: {
@@ -80,7 +80,7 @@ var BenefitsModal = /*#__PURE__*/function (_Component) {
80
80
  key: "render",
81
81
  value: function render() {
82
82
  var _this$props = this.props,
83
- actions = _this$props.actions,
83
+ _actions = _this$props.actions,
84
84
  children = _this$props.children,
85
85
  heading = _this$props.heading,
86
86
  experimental_shouldShowPrimaryButtonOnRight = _this$props.experimental_shouldShowPrimaryButtonOnRight,
@@ -102,7 +102,6 @@ var BenefitsModal = /*#__PURE__*/function (_Component) {
102
102
  // TODO: This is a problem that needs solving: https://product-fabric.atlassian.net/browse/DSP-22238
103
103
  // eslint-disable-next-line @atlaskit/design-system/use-modal-dialog-close-button
104
104
  React.createElement(Modal, _extends({
105
- autoFocus: true,
106
105
  shouldCloseOnEscapePress: false,
107
106
  shouldCloseOnOverlayClick: false,
108
107
  shouldScrollInViewport: true
@@ -118,9 +118,7 @@ var SpotlightDialogComponent = /*#__PURE__*/function (_Component) {
118
118
  disabled: focusLockDisabled,
119
119
  returnFocus: false,
120
120
  autoFocus: true
121
- }, /*#__PURE__*/React.createElement(Box
122
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
123
- , {
121
+ }, /*#__PURE__*/React.createElement(Box, {
124
122
  style: style,
125
123
  ref: ref,
126
124
  "aria-modal": true,
@@ -161,9 +161,7 @@ var SpotlightInner = /*#__PURE__*/function (_React$Component) {
161
161
  ref: ref
162
162
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
163
163
  ,
164
- className: className
165
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
166
- ,
164
+ className: className,
167
165
  style: style
168
166
  }, /*#__PURE__*/React.createElement(SpotlightDialog, {
169
167
  testId: "".concat(testId, "--dialog"),
@@ -143,8 +143,7 @@ var SpotlightManager = /*#__PURE__*/function (_PureComponent) {
143
143
  ref: ref
144
144
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
145
145
  ,
146
- className: className
147
- /* eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766 */,
146
+ className: className,
148
147
  style: style,
149
148
  isTinted: blanketIsTinted,
150
149
  onBlanketClicked: onBlanketClicked
@@ -24,7 +24,7 @@ export declare const ModalBody: ({ children }: {
24
24
  *
25
25
  * @internal
26
26
  */
27
- export declare const ModalHeading: ({ children, id }: {
27
+ export declare const ModalHeading: ({ children, id, }: {
28
28
  children: ReactNode;
29
29
  id: string;
30
30
  }) => JSX.Element;
@@ -24,7 +24,7 @@ export declare const ModalBody: ({ children }: {
24
24
  *
25
25
  * @internal
26
26
  */
27
- export declare const ModalHeading: ({ children, id }: {
27
+ export declare const ModalHeading: ({ children, id, }: {
28
28
  children: ReactNode;
29
29
  id: string;
30
30
  }) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/onboarding",
3
- "version": "14.5.3",
3
+ "version": "14.5.5",
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/"
@@ -52,12 +52,12 @@
52
52
  }
53
53
  },
54
54
  "dependencies": {
55
- "@atlaskit/button": "^23.9.0",
55
+ "@atlaskit/button": "^23.10.0",
56
56
  "@atlaskit/css": "^0.19.0",
57
57
  "@atlaskit/ds-lib": "^5.3.0",
58
- "@atlaskit/heading": "^5.2.0",
58
+ "@atlaskit/heading": "^5.3.0",
59
59
  "@atlaskit/layering": "^3.6.0",
60
- "@atlaskit/modal-dialog": "^14.10.0",
60
+ "@atlaskit/modal-dialog": "^14.11.0",
61
61
  "@atlaskit/motion": "^5.3.0",
62
62
  "@atlaskit/platform-feature-flags": "^1.1.0",
63
63
  "@atlaskit/popper": "^7.1.0",
@@ -65,7 +65,7 @@
65
65
  "@atlaskit/primitives": "^18.0.0",
66
66
  "@atlaskit/tokens": "^11.0.0",
67
67
  "@babel/runtime": "^7.0.0",
68
- "@compiled/react": "^0.18.6",
68
+ "@compiled/react": "^0.20.0",
69
69
  "bind-event-listener": "^3.0.0",
70
70
  "exenv": "^1.2.2",
71
71
  "memoize-one": "^6.0.0",
@@ -82,7 +82,7 @@
82
82
  "@af/accessibility-testing": "workspace:^",
83
83
  "@af/integration-testing": "workspace:^",
84
84
  "@af/visual-regression": "workspace:^",
85
- "@atlaskit/theme": "^21.0.0",
85
+ "@atlaskit/theme": "^22.0.0",
86
86
  "@atlassian/ssr-tests": "workspace:^",
87
87
  "@testing-library/react": "^16.3.0",
88
88
  "@testing-library/user-event": "^14.4.3",