@atlaskit/onboarding 11.10.1 → 11.10.3
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 +14 -0
- package/dist/cjs/components/spotlight-dialog.js +21 -10
- package/dist/es2019/components/spotlight-dialog.js +15 -4
- package/dist/esm/components/spotlight-dialog.js +21 -10
- package/dist/types/components/spotlight-dialog.d.ts +11 -2
- package/dist/types-ts4.5/components/spotlight-dialog.d.ts +11 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/onboarding
|
|
2
2
|
|
|
3
|
+
## 11.10.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 11.10.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#120049](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120049)
|
|
14
|
+
[`77504ff274f72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77504ff274f72) -
|
|
15
|
+
DSP-19576: Assign names to anonymous default exports
|
|
16
|
+
|
|
3
17
|
## 11.10.1
|
|
4
18
|
|
|
5
19
|
### Patch 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.
|
|
31
|
-
var
|
|
32
|
-
(0, _inherits2.default)(
|
|
33
|
-
var _super = _createSuper(
|
|
34
|
-
function
|
|
30
|
+
var packageVersion = "11.10.3";
|
|
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,
|
|
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)(
|
|
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
|
|
149
|
+
return SpotlightDialogComponent;
|
|
150
150
|
}(_react.Component);
|
|
151
151
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
152
|
-
|
|
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
|
-
})(
|
|
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.
|
|
11
|
-
class
|
|
10
|
+
const packageVersion = "11.10.3";
|
|
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
|
-
|
|
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
|
-
})(
|
|
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.
|
|
21
|
-
var
|
|
22
|
-
_inherits(
|
|
23
|
-
var _super = _createSuper(
|
|
24
|
-
function
|
|
20
|
+
var packageVersion = "11.10.3";
|
|
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,
|
|
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(
|
|
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
|
|
139
|
+
return SpotlightDialogComponent;
|
|
140
140
|
}(Component);
|
|
141
141
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
142
|
-
|
|
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
|
-
})(
|
|
166
|
+
})(SpotlightDialogComponent));
|
|
167
|
+
export default SpotlightDialog;
|
|
@@ -57,5 +57,14 @@ export interface SpotlightDialogProps extends WithAnalyticsEventsProps {
|
|
|
57
57
|
*/
|
|
58
58
|
testId?: string;
|
|
59
59
|
}
|
|
60
|
-
|
|
61
|
-
|
|
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
|
-
|
|
61
|
-
|
|
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.
|
|
3
|
+
"version": "11.10.3",
|
|
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": "^
|
|
44
|
+
"@atlaskit/button": "^19.0.0",
|
|
45
45
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
46
46
|
"@atlaskit/heading": "^2.4.0",
|
|
47
47
|
"@atlaskit/modal-dialog": "^12.14.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/portal": "^4.6.0",
|
|
52
52
|
"@atlaskit/primitives": "^11.0.0",
|
|
53
53
|
"@atlaskit/theme": "^12.11.0",
|
|
54
|
-
"@atlaskit/tokens": "^1.
|
|
54
|
+
"@atlaskit/tokens": "^1.56.0",
|
|
55
55
|
"@babel/runtime": "^7.0.0",
|
|
56
56
|
"@emotion/react": "^11.7.1",
|
|
57
57
|
"bind-event-listener": "^3.0.0",
|