@atlaskit/onboarding 11.10.0 → 11.10.2

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,19 @@
1
1
  # @atlaskit/onboarding
2
2
 
3
+ ## 11.10.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#120049](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120049)
8
+ [`77504ff274f72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77504ff274f72) -
9
+ DSP-19576: Assign names to anonymous default exports
10
+
11
+ ## 11.10.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 11.10.0
4
18
 
5
19
  ### Minor Changes
@@ -27,13 +27,13 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
27
27
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
28
28
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
29
29
  var packageName = "@atlaskit/onboarding";
30
- var packageVersion = "11.10.0";
31
- var SpotlightDialog = /*#__PURE__*/function (_Component) {
32
- (0, _inherits2.default)(SpotlightDialog, _Component);
33
- var _super = _createSuper(SpotlightDialog);
34
- function SpotlightDialog() {
30
+ var packageVersion = "11.10.2";
31
+ var SpotlightDialogComponent = /*#__PURE__*/function (_Component) {
32
+ (0, _inherits2.default)(SpotlightDialogComponent, _Component);
33
+ var _super = _createSuper(SpotlightDialogComponent);
34
+ function SpotlightDialogComponent() {
35
35
  var _this;
36
- (0, _classCallCheck2.default)(this, SpotlightDialog);
36
+ (0, _classCallCheck2.default)(this, SpotlightDialogComponent);
37
37
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
38
38
  args[_key] = arguments[_key];
39
39
  }
@@ -43,7 +43,7 @@ var SpotlightDialog = /*#__PURE__*/function (_Component) {
43
43
  });
44
44
  return _this;
45
45
  }
46
- (0, _createClass2.default)(SpotlightDialog, [{
46
+ (0, _createClass2.default)(SpotlightDialogComponent, [{
47
47
  key: "componentDidMount",
48
48
  value: function componentDidMount() {
49
49
  var _this2 = this;
@@ -146,10 +146,20 @@ var SpotlightDialog = /*#__PURE__*/function (_Component) {
146
146
  });
147
147
  }
148
148
  }]);
149
- return SpotlightDialog;
149
+ return SpotlightDialogComponent;
150
150
  }(_react.Component);
151
151
  var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
152
- var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
152
+
153
+ /**
154
+ * __Spotlight dialog__
155
+ *
156
+ * An onboarding spotlight introduces new features to users through focused messages or multi-step tours.
157
+ *
158
+ * - [Examples](https://atlassian.design/components/onboarding/examples)
159
+ * - [Code](https://atlassian.design/components/onboarding/code)
160
+ * - [Usage](https://atlassian.design/components/onboarding/usage)
161
+ */
162
+ var SpotlightDialog = (0, _analyticsNext.withAnalyticsContext)({
153
163
  componentName: 'spotlight',
154
164
  packageName: packageName,
155
165
  packageVersion: packageVersion
@@ -163,4 +173,5 @@ var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
163
173
  packageVersion: packageVersion
164
174
  }
165
175
  })
166
- })(SpotlightDialog));
176
+ })(SpotlightDialogComponent));
177
+ var _default = exports.default = SpotlightDialog;
@@ -7,8 +7,8 @@ import { DialogImage } from '../styled/dialog';
7
7
  import SpotlightCard from './spotlight-card';
8
8
  import ValueChanged from './value-changed';
9
9
  const packageName = "@atlaskit/onboarding";
10
- const packageVersion = "11.10.0";
11
- class SpotlightDialog extends Component {
10
+ const packageVersion = "11.10.2";
11
+ class SpotlightDialogComponent extends Component {
12
12
  constructor(...args) {
13
13
  super(...args);
14
14
  _defineProperty(this, "state", {
@@ -117,7 +117,17 @@ class SpotlightDialog extends Component {
117
117
  }
118
118
  }
119
119
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
120
- export default withAnalyticsContext({
120
+
121
+ /**
122
+ * __Spotlight dialog__
123
+ *
124
+ * An onboarding spotlight introduces new features to users through focused messages or multi-step tours.
125
+ *
126
+ * - [Examples](https://atlassian.design/components/onboarding/examples)
127
+ * - [Code](https://atlassian.design/components/onboarding/code)
128
+ * - [Usage](https://atlassian.design/components/onboarding/usage)
129
+ */
130
+ const SpotlightDialog = withAnalyticsContext({
121
131
  componentName: 'spotlight',
122
132
  packageName,
123
133
  packageVersion
@@ -131,4 +141,5 @@ export default withAnalyticsContext({
131
141
  packageVersion
132
142
  }
133
143
  })
134
- })(SpotlightDialog));
144
+ })(SpotlightDialogComponent));
145
+ export default SpotlightDialog;
@@ -17,13 +17,13 @@ import { DialogImage } from '../styled/dialog';
17
17
  import SpotlightCard from './spotlight-card';
18
18
  import ValueChanged from './value-changed';
19
19
  var packageName = "@atlaskit/onboarding";
20
- var packageVersion = "11.10.0";
21
- var SpotlightDialog = /*#__PURE__*/function (_Component) {
22
- _inherits(SpotlightDialog, _Component);
23
- var _super = _createSuper(SpotlightDialog);
24
- function SpotlightDialog() {
20
+ var packageVersion = "11.10.2";
21
+ var SpotlightDialogComponent = /*#__PURE__*/function (_Component) {
22
+ _inherits(SpotlightDialogComponent, _Component);
23
+ var _super = _createSuper(SpotlightDialogComponent);
24
+ function SpotlightDialogComponent() {
25
25
  var _this;
26
- _classCallCheck(this, SpotlightDialog);
26
+ _classCallCheck(this, SpotlightDialogComponent);
27
27
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
28
28
  args[_key] = arguments[_key];
29
29
  }
@@ -33,7 +33,7 @@ var SpotlightDialog = /*#__PURE__*/function (_Component) {
33
33
  });
34
34
  return _this;
35
35
  }
36
- _createClass(SpotlightDialog, [{
36
+ _createClass(SpotlightDialogComponent, [{
37
37
  key: "componentDidMount",
38
38
  value: function componentDidMount() {
39
39
  var _this2 = this;
@@ -136,10 +136,20 @@ var SpotlightDialog = /*#__PURE__*/function (_Component) {
136
136
  });
137
137
  }
138
138
  }]);
139
- return SpotlightDialog;
139
+ return SpotlightDialogComponent;
140
140
  }(Component);
141
141
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
142
- export default withAnalyticsContext({
142
+
143
+ /**
144
+ * __Spotlight dialog__
145
+ *
146
+ * An onboarding spotlight introduces new features to users through focused messages or multi-step tours.
147
+ *
148
+ * - [Examples](https://atlassian.design/components/onboarding/examples)
149
+ * - [Code](https://atlassian.design/components/onboarding/code)
150
+ * - [Usage](https://atlassian.design/components/onboarding/usage)
151
+ */
152
+ var SpotlightDialog = withAnalyticsContext({
143
153
  componentName: 'spotlight',
144
154
  packageName: packageName,
145
155
  packageVersion: packageVersion
@@ -153,4 +163,5 @@ export default withAnalyticsContext({
153
163
  packageVersion: packageVersion
154
164
  }
155
165
  })
156
- })(SpotlightDialog));
166
+ })(SpotlightDialogComponent));
167
+ export default SpotlightDialog;
@@ -57,5 +57,14 @@ export interface SpotlightDialogProps extends WithAnalyticsEventsProps {
57
57
  */
58
58
  testId?: string;
59
59
  }
60
- declare const _default: React.ForwardRefExoticComponent<Pick<Omit<SpotlightDialogProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "children" | "footer" | "header" | "image" | "key" | "testId" | "analyticsContext" | "actions" | "heading" | "targetNode" | "actionsBeforeElement" | "headingAfterElement" | "dialogPlacement" | "dialogWidth" | "animationStyles"> & React.RefAttributes<any>>;
61
- export default _default;
60
+ /**
61
+ * __Spotlight dialog__
62
+ *
63
+ * An onboarding spotlight introduces new features to users through focused messages or multi-step tours.
64
+ *
65
+ * - [Examples](https://atlassian.design/components/onboarding/examples)
66
+ * - [Code](https://atlassian.design/components/onboarding/code)
67
+ * - [Usage](https://atlassian.design/components/onboarding/usage)
68
+ */
69
+ declare const SpotlightDialog: React.ForwardRefExoticComponent<Pick<Omit<SpotlightDialogProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "children" | "footer" | "header" | "image" | "key" | "testId" | "analyticsContext" | "actions" | "heading" | "targetNode" | "actionsBeforeElement" | "headingAfterElement" | "dialogPlacement" | "dialogWidth" | "animationStyles"> & React.RefAttributes<any>>;
70
+ export default SpotlightDialog;
@@ -57,5 +57,14 @@ export interface SpotlightDialogProps extends WithAnalyticsEventsProps {
57
57
  */
58
58
  testId?: string;
59
59
  }
60
- declare const _default: React.ForwardRefExoticComponent<Pick<Omit<SpotlightDialogProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "children" | "footer" | "header" | "image" | "key" | "testId" | "analyticsContext" | "actions" | "heading" | "targetNode" | "actionsBeforeElement" | "headingAfterElement" | "dialogPlacement" | "dialogWidth" | "animationStyles"> & React.RefAttributes<any>>;
61
- export default _default;
60
+ /**
61
+ * __Spotlight dialog__
62
+ *
63
+ * An onboarding spotlight introduces new features to users through focused messages or multi-step tours.
64
+ *
65
+ * - [Examples](https://atlassian.design/components/onboarding/examples)
66
+ * - [Code](https://atlassian.design/components/onboarding/code)
67
+ * - [Usage](https://atlassian.design/components/onboarding/usage)
68
+ */
69
+ declare const SpotlightDialog: React.ForwardRefExoticComponent<Pick<Omit<SpotlightDialogProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "children" | "footer" | "header" | "image" | "key" | "testId" | "analyticsContext" | "actions" | "heading" | "targetNode" | "actionsBeforeElement" | "headingAfterElement" | "dialogPlacement" | "dialogWidth" | "animationStyles"> & React.RefAttributes<any>>;
70
+ export default SpotlightDialog;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/onboarding",
3
- "version": "11.10.0",
3
+ "version": "11.10.2",
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/"
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@atlaskit/analytics-next": "^9.3.0",
44
- "@atlaskit/button": "^18.2.0",
44
+ "@atlaskit/button": "^18.4.0",
45
45
  "@atlaskit/ds-lib": "^2.3.0",
46
46
  "@atlaskit/heading": "^2.4.0",
47
47
  "@atlaskit/modal-dialog": "^12.14.0",
@@ -49,9 +49,9 @@
49
49
  "@atlaskit/platform-feature-flags": "^0.3.0",
50
50
  "@atlaskit/popper": "^6.1.0",
51
51
  "@atlaskit/portal": "^4.6.0",
52
- "@atlaskit/primitives": "^10.0.0",
52
+ "@atlaskit/primitives": "^11.0.0",
53
53
  "@atlaskit/theme": "^12.11.0",
54
- "@atlaskit/tokens": "^1.53.0",
54
+ "@atlaskit/tokens": "^1.54.0",
55
55
  "@babel/runtime": "^7.0.0",
56
56
  "@emotion/react": "^11.7.1",
57
57
  "bind-event-listener": "^3.0.0",