@atlaskit/onboarding 11.5.8 → 11.6.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.
- package/CHANGELOG.md +10 -1
- package/dist/cjs/components/spotlight-card.js +2 -1
- package/dist/cjs/components/spotlight-dialog.js +1 -1
- package/dist/es2019/components/spotlight-card.js +2 -1
- package/dist/es2019/components/spotlight-dialog.js +1 -1
- package/dist/esm/components/spotlight-card.js +2 -1
- package/dist/esm/components/spotlight-dialog.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/onboarding
|
|
2
2
|
|
|
3
|
+
## 11.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109747](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109747)
|
|
8
|
+
[`abd5924f09fbd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/abd5924f09fbd) -
|
|
9
|
+
Internal change to manually set Heading colour to avoid potential context issues. This should
|
|
10
|
+
resolve issues where the Heading colour may have been incorrectly set.
|
|
11
|
+
|
|
3
12
|
## 11.5.8
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -68,7 +77,7 @@
|
|
|
68
77
|
|
|
69
78
|
- [#93698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93698)
|
|
70
79
|
[`36175212c2f4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/36175212c2f4) -
|
|
71
|
-
Add support for React 18.
|
|
80
|
+
Add support for React 18 in non-strict mode.
|
|
72
81
|
|
|
73
82
|
## 11.4.0
|
|
74
83
|
|
|
@@ -112,7 +112,8 @@ var SpotlightCard = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
112
112
|
}, heading || headingAfterElement ? (0, _react2.jsx)(Header, null, (0, _react2.jsx)(_heading.default, {
|
|
113
113
|
id: headingId,
|
|
114
114
|
size: "medium",
|
|
115
|
-
as: "h".concat(headingLevel)
|
|
115
|
+
as: "h".concat(headingLevel),
|
|
116
|
+
color: "color.text.inverse"
|
|
116
117
|
}, heading), headingAfterElement) : null, (0, _react2.jsx)(_primitives.Text, null, children), actions.length > 0 || actionsBeforeElement ? (0, _react2.jsx)(Footer, null, actionsBeforeElement || (0, _react2.jsx)("span", null), (0, _react2.jsx)(_dialog.DialogActionItemContainer, null, actions.map(function (_ref3, idx) {
|
|
117
118
|
var text = _ref3.text,
|
|
118
119
|
key = _ref3.key,
|
|
@@ -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() { 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.
|
|
30
|
+
var packageVersion = "11.6.0";
|
|
31
31
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
32
32
|
(0, _inherits2.default)(SpotlightDialog, _Component);
|
|
33
33
|
var _super = _createSuper(SpotlightDialog);
|
|
@@ -96,7 +96,8 @@ const SpotlightCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
96
96
|
}, heading || headingAfterElement ? jsx(Header, null, jsx(Heading, {
|
|
97
97
|
id: headingId,
|
|
98
98
|
size: "medium",
|
|
99
|
-
as: `h${headingLevel}
|
|
99
|
+
as: `h${headingLevel}`,
|
|
100
|
+
color: "color.text.inverse"
|
|
100
101
|
}, heading), headingAfterElement) : null, jsx(Text, null, children), actions.length > 0 || actionsBeforeElement ? jsx(Footer, null, actionsBeforeElement || jsx("span", null), jsx(DialogActionItemContainer, null, actions.map(({
|
|
101
102
|
text,
|
|
102
103
|
key,
|
|
@@ -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.
|
|
10
|
+
const packageVersion = "11.6.0";
|
|
11
11
|
class SpotlightDialog extends Component {
|
|
12
12
|
constructor(...args) {
|
|
13
13
|
super(...args);
|
|
@@ -102,7 +102,8 @@ var SpotlightCard = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
102
102
|
}, heading || headingAfterElement ? jsx(Header, null, jsx(Heading, {
|
|
103
103
|
id: headingId,
|
|
104
104
|
size: "medium",
|
|
105
|
-
as: "h".concat(headingLevel)
|
|
105
|
+
as: "h".concat(headingLevel),
|
|
106
|
+
color: "color.text.inverse"
|
|
106
107
|
}, heading), headingAfterElement) : null, jsx(Text, null, children), actions.length > 0 || actionsBeforeElement ? jsx(Footer, null, actionsBeforeElement || jsx("span", null), jsx(DialogActionItemContainer, null, actions.map(function (_ref3, idx) {
|
|
107
108
|
var text = _ref3.text,
|
|
108
109
|
key = _ref3.key,
|
|
@@ -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.
|
|
20
|
+
var packageVersion = "11.6.0";
|
|
21
21
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
22
22
|
_inherits(SpotlightDialog, _Component);
|
|
23
23
|
var _super = _createSuper(SpotlightDialog);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/onboarding",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.6.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/"
|