@atlaskit/onboarding 11.5.3 → 11.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 +19 -1
- package/dist/cjs/components/spotlight-card.js +0 -1
- package/dist/cjs/components/spotlight-dialog.js +1 -1
- package/dist/cjs/styled/target.js +0 -8
- package/dist/es2019/components/spotlight-card.js +0 -1
- package/dist/es2019/components/spotlight-dialog.js +1 -1
- package/dist/es2019/styled/target.js +0 -8
- package/dist/esm/components/spotlight-card.js +0 -1
- package/dist/esm/components/spotlight-dialog.js +1 -1
- package/dist/esm/styled/target.js +0 -8
- package/dist/types/styled/target.d.ts +1 -1
- package/dist/types-ts4.5/styled/target.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/onboarding
|
|
2
2
|
|
|
3
|
+
## 11.5.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#97580](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97580)
|
|
8
|
+
[`e07d5ea81fc8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e07d5ea81fc8) -
|
|
9
|
+
Update internal usage of typography heading
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 11.5.4
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#96898](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96898)
|
|
17
|
+
[`255626d6dcd8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/255626d6dcd8) -
|
|
18
|
+
[ux] Remove zIndex for legacy browsers
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 11.5.3
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -21,7 +39,7 @@
|
|
|
21
39
|
|
|
22
40
|
- [#95529](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95529)
|
|
23
41
|
[`48e3bdade8f8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/48e3bdade8f8) -
|
|
24
|
-
|
|
42
|
+
Internal changes.
|
|
25
43
|
|
|
26
44
|
## 11.5.0
|
|
27
45
|
|
|
@@ -123,7 +123,6 @@ var SpotlightCard = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
123
123
|
css: bodyStyles
|
|
124
124
|
}, heading || headingAfterElement ? (0, _react2.jsx)(Header, null, (0, _react2.jsx)(_heading.default, {
|
|
125
125
|
id: headingId,
|
|
126
|
-
color: "inverse",
|
|
127
126
|
size: "medium",
|
|
128
127
|
as: "h".concat(headingLevel)
|
|
129
128
|
}, 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) {
|
|
@@ -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.5.
|
|
30
|
+
var packageVersion = "11.5.5";
|
|
31
31
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
32
32
|
(0, _inherits2.default)(SpotlightDialog, _Component);
|
|
33
33
|
var _super = _createSuper(SpotlightDialog);
|
|
@@ -11,7 +11,6 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
11
11
|
var _react = require("@emotion/react");
|
|
12
12
|
var _motion = require("@atlaskit/motion");
|
|
13
13
|
var _colors = require("@atlaskit/theme/colors");
|
|
14
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
15
14
|
var _excluded = ["children", "bgColor", "radius", "style", "testId"],
|
|
16
15
|
_excluded2 = ["children", "pulse"],
|
|
17
16
|
_excluded3 = ["children", "pulse", "testId"];
|
|
@@ -38,12 +37,6 @@ var animationStyles = (0, _react.css)({
|
|
|
38
37
|
// is applied so we still have a functioning semantic affordance.
|
|
39
38
|
boxShadow: baseShadow
|
|
40
39
|
});
|
|
41
|
-
|
|
42
|
-
// IE11 and Edge: z-index needed because fixed position calculates z-index relative
|
|
43
|
-
// to body instead of nearest stacking context (Portal in our case).
|
|
44
|
-
var baseStyles = (0, _react.css)({
|
|
45
|
-
zIndex: _constants.layers.spotlight() + 1
|
|
46
|
-
});
|
|
47
40
|
var Base = function Base(_ref) {
|
|
48
41
|
var children = _ref.children,
|
|
49
42
|
bgColor = _ref.bgColor,
|
|
@@ -52,7 +45,6 @@ var Base = function Base(_ref) {
|
|
|
52
45
|
testId = _ref.testId,
|
|
53
46
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
54
47
|
return (0, _react.jsx)("div", (0, _extends2.default)({
|
|
55
|
-
css: baseStyles,
|
|
56
48
|
"data-testid": testId,
|
|
57
49
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
58
50
|
backgroundColor: bgColor,
|
|
@@ -104,7 +104,6 @@ const SpotlightCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
104
104
|
css: bodyStyles
|
|
105
105
|
}, heading || headingAfterElement ? jsx(Header, null, jsx(Heading, {
|
|
106
106
|
id: headingId,
|
|
107
|
-
color: "inverse",
|
|
108
107
|
size: "medium",
|
|
109
108
|
as: `h${headingLevel}`
|
|
110
109
|
}, heading), headingAfterElement) : null, jsx(Text, null, children), actions.length > 0 || actionsBeforeElement ? jsx(Footer, null, actionsBeforeElement || jsx("span", null), jsx(DialogActionItemContainer, null, actions.map(({
|
|
@@ -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.5.
|
|
10
|
+
const packageVersion = "11.5.5";
|
|
11
11
|
class SpotlightDialog extends Component {
|
|
12
12
|
constructor(...args) {
|
|
13
13
|
super(...args);
|
|
@@ -4,7 +4,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
import { css, jsx, keyframes } from '@emotion/react';
|
|
5
5
|
import { reduceMotionAsPerUserPreference } from '@atlaskit/motion';
|
|
6
6
|
import { P300 } from '@atlaskit/theme/colors';
|
|
7
|
-
import { layers } from '@atlaskit/theme/constants';
|
|
8
7
|
// NOTE:
|
|
9
8
|
// Pulse color "rgb(101, 84, 192)" derived from "colors.P300"
|
|
10
9
|
const baseShadow = `0 0 0 2px ${`var(--ds-border-discovery, ${P300})`}`;
|
|
@@ -25,12 +24,6 @@ const animationStyles = css({
|
|
|
25
24
|
// is applied so we still have a functioning semantic affordance.
|
|
26
25
|
boxShadow: baseShadow
|
|
27
26
|
});
|
|
28
|
-
|
|
29
|
-
// IE11 and Edge: z-index needed because fixed position calculates z-index relative
|
|
30
|
-
// to body instead of nearest stacking context (Portal in our case).
|
|
31
|
-
const baseStyles = css({
|
|
32
|
-
zIndex: layers.spotlight() + 1
|
|
33
|
-
});
|
|
34
27
|
const Base = ({
|
|
35
28
|
children,
|
|
36
29
|
bgColor,
|
|
@@ -39,7 +32,6 @@ const Base = ({
|
|
|
39
32
|
testId,
|
|
40
33
|
...props
|
|
41
34
|
}) => jsx("div", _extends({
|
|
42
|
-
css: baseStyles,
|
|
43
35
|
"data-testid": testId,
|
|
44
36
|
style: {
|
|
45
37
|
...style,
|
|
@@ -113,7 +113,6 @@ var SpotlightCard = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
113
113
|
css: bodyStyles
|
|
114
114
|
}, heading || headingAfterElement ? jsx(Header, null, jsx(Heading, {
|
|
115
115
|
id: headingId,
|
|
116
|
-
color: "inverse",
|
|
117
116
|
size: "medium",
|
|
118
117
|
as: "h".concat(headingLevel)
|
|
119
118
|
}, 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) {
|
|
@@ -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.5.
|
|
20
|
+
var packageVersion = "11.5.5";
|
|
21
21
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
22
22
|
_inherits(SpotlightDialog, _Component);
|
|
23
23
|
var _super = _createSuper(SpotlightDialog);
|
|
@@ -11,7 +11,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
11
11
|
import { css, jsx, keyframes } from '@emotion/react';
|
|
12
12
|
import { reduceMotionAsPerUserPreference } from '@atlaskit/motion';
|
|
13
13
|
import { P300 } from '@atlaskit/theme/colors';
|
|
14
|
-
import { layers } from '@atlaskit/theme/constants';
|
|
15
14
|
// NOTE:
|
|
16
15
|
// Pulse color "rgb(101, 84, 192)" derived from "colors.P300"
|
|
17
16
|
var baseShadow = "0 0 0 2px ".concat("var(--ds-border-discovery, ".concat(P300, ")"));
|
|
@@ -32,12 +31,6 @@ var animationStyles = css({
|
|
|
32
31
|
// is applied so we still have a functioning semantic affordance.
|
|
33
32
|
boxShadow: baseShadow
|
|
34
33
|
});
|
|
35
|
-
|
|
36
|
-
// IE11 and Edge: z-index needed because fixed position calculates z-index relative
|
|
37
|
-
// to body instead of nearest stacking context (Portal in our case).
|
|
38
|
-
var baseStyles = css({
|
|
39
|
-
zIndex: layers.spotlight() + 1
|
|
40
|
-
});
|
|
41
34
|
var Base = function Base(_ref) {
|
|
42
35
|
var children = _ref.children,
|
|
43
36
|
bgColor = _ref.bgColor,
|
|
@@ -46,7 +39,6 @@ var Base = function Base(_ref) {
|
|
|
46
39
|
testId = _ref.testId,
|
|
47
40
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
48
41
|
return jsx("div", _extends({
|
|
49
|
-
css: baseStyles,
|
|
50
42
|
"data-testid": testId,
|
|
51
43
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
52
44
|
backgroundColor: bgColor,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/onboarding",
|
|
3
|
-
"version": "11.5.
|
|
3
|
+
"version": "11.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/"
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
44
44
|
"@atlaskit/button": "^17.14.0",
|
|
45
45
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
46
|
-
"@atlaskit/heading": "^2.
|
|
46
|
+
"@atlaskit/heading": "^2.3.0",
|
|
47
47
|
"@atlaskit/modal-dialog": "^12.13.0",
|
|
48
48
|
"@atlaskit/motion": "^1.5.0",
|
|
49
49
|
"@atlaskit/popper": "^5.5.0",
|
|
50
|
-
"@atlaskit/portal": "^4.
|
|
51
|
-
"@atlaskit/primitives": "^6.
|
|
50
|
+
"@atlaskit/portal": "^4.5.0",
|
|
51
|
+
"@atlaskit/primitives": "^6.1.0",
|
|
52
52
|
"@atlaskit/theme": "^12.7.0",
|
|
53
53
|
"@atlaskit/tokens": "^1.45.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|