@atlaskit/onboarding 11.2.0 → 11.2.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/onboarding
|
|
2
2
|
|
|
3
|
+
## 11.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#67032](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67032) [`038e62a39d23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/038e62a39d23) - [ux] Ensure spotlight dialog always uses heading level 2. This will eventually become heading level 1 once the dialog becomes a true modal.
|
|
8
|
+
|
|
3
9
|
## 11.2.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -27,7 +27,7 @@ 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() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
29
29
|
var packageName = "@atlaskit/onboarding";
|
|
30
|
-
var packageVersion = "11.2.
|
|
30
|
+
var packageVersion = "11.2.1";
|
|
31
31
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
32
32
|
(0, _inherits2.default)(SpotlightDialog, _Component);
|
|
33
33
|
var _super = _createSuper(SpotlightDialog);
|
|
@@ -138,6 +138,10 @@ var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
|
138
138
|
},
|
|
139
139
|
heading: heading,
|
|
140
140
|
headingAfterElement: headingAfterElement
|
|
141
|
+
// This should be heading level 1 since this is technically a modal, including a focus lock on the modal window.
|
|
142
|
+
// But because it is not a _true_ modal, we are setting it to `2` until that is fixed.
|
|
143
|
+
,
|
|
144
|
+
headingLevel: 2
|
|
141
145
|
}, children))));
|
|
142
146
|
});
|
|
143
147
|
}
|
|
@@ -7,7 +7,7 @@ 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.2.
|
|
10
|
+
const packageVersion = "11.2.1";
|
|
11
11
|
class SpotlightDialog extends Component {
|
|
12
12
|
constructor(...args) {
|
|
13
13
|
super(...args);
|
|
@@ -109,6 +109,10 @@ class SpotlightDialog extends Component {
|
|
|
109
109
|
},
|
|
110
110
|
heading: heading,
|
|
111
111
|
headingAfterElement: headingAfterElement
|
|
112
|
+
// This should be heading level 1 since this is technically a modal, including a focus lock on the modal window.
|
|
113
|
+
// But because it is not a _true_ modal, we are setting it to `2` until that is fixed.
|
|
114
|
+
,
|
|
115
|
+
headingLevel: 2
|
|
112
116
|
}, children)))));
|
|
113
117
|
}
|
|
114
118
|
}
|
|
@@ -17,7 +17,7 @@ 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.2.
|
|
20
|
+
var packageVersion = "11.2.1";
|
|
21
21
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
22
22
|
_inherits(SpotlightDialog, _Component);
|
|
23
23
|
var _super = _createSuper(SpotlightDialog);
|
|
@@ -128,6 +128,10 @@ var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
|
128
128
|
},
|
|
129
129
|
heading: heading,
|
|
130
130
|
headingAfterElement: headingAfterElement
|
|
131
|
+
// This should be heading level 1 since this is technically a modal, including a focus lock on the modal window.
|
|
132
|
+
// But because it is not a _true_ modal, we are setting it to `2` until that is fixed.
|
|
133
|
+
,
|
|
134
|
+
headingLevel: 2
|
|
131
135
|
}, children))));
|
|
132
136
|
});
|
|
133
137
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/onboarding",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.1",
|
|
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/"
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
37
|
-
"@atlaskit/button": "^17.
|
|
37
|
+
"@atlaskit/button": "^17.2.0",
|
|
38
38
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
39
39
|
"@atlaskit/heading": "^1.4.0",
|
|
40
40
|
"@atlaskit/modal-dialog": "^12.10.0",
|
|
41
41
|
"@atlaskit/popper": "^5.5.0",
|
|
42
42
|
"@atlaskit/portal": "^4.4.0",
|
|
43
43
|
"@atlaskit/theme": "^12.6.0",
|
|
44
|
-
"@atlaskit/tokens": "^1.
|
|
44
|
+
"@atlaskit/tokens": "^1.33.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|
|
47
47
|
"bind-event-listener": "^2.1.1",
|