@atlaskit/onboarding 10.8.4 → 10.8.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 +6 -0
- package/dist/cjs/components/spotlight-card.js +1 -1
- package/dist/cjs/components/spotlight-dialog.js +1 -1
- package/dist/cjs/styled/modal.js +2 -5
- package/dist/cjs/styled/target.js +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/spotlight-card.js +2 -2
- package/dist/es2019/components/spotlight-dialog.js +1 -1
- package/dist/es2019/styled/modal.js +2 -5
- package/dist/es2019/styled/target.js +2 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/spotlight-card.js +2 -2
- package/dist/esm/components/spotlight-dialog.js +1 -1
- package/dist/esm/styled/modal.js +2 -5
- package/dist/esm/styled/target.js +2 -2
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/onboarding
|
|
2
2
|
|
|
3
|
+
## 10.8.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
8
|
+
|
|
3
9
|
## 10.8.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -56,7 +56,7 @@ var containerStyles = (0, _react2.css)({
|
|
|
56
56
|
height: 'fit-content',
|
|
57
57
|
zIndex: _constants.layers.spotlight() + 1,
|
|
58
58
|
background: "var(--ds-background-discovery-bold, ".concat(_colors.P300, ")"),
|
|
59
|
-
borderRadius: "
|
|
59
|
+
borderRadius: "var(--ds-border-radius, 3px)",
|
|
60
60
|
color: "var(--ds-text-inverse, ".concat(_colors.N0, ")"),
|
|
61
61
|
overflow: 'auto'
|
|
62
62
|
});
|
|
@@ -27,7 +27,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
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 = "10.8.
|
|
30
|
+
var packageVersion = "10.8.5";
|
|
31
31
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
32
32
|
(0, _inherits2.default)(SpotlightDialog, _Component);
|
|
33
33
|
var _super = _createSuper(SpotlightDialog);
|
package/dist/cjs/styled/modal.js
CHANGED
|
@@ -6,12 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.ModalImage = exports.ModalHeading = exports.ModalBody = exports.ModalActionItem = exports.ModalActionContainer = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
var _components = require("@atlaskit/theme/components");
|
|
9
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
10
9
|
var _typography = require("@atlaskit/theme/typography");
|
|
11
10
|
/** @jsx jsx */
|
|
12
11
|
|
|
13
|
-
var borderRadius = (0, _constants.borderRadius)();
|
|
14
|
-
|
|
15
12
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
16
13
|
var lightH600Styles = (0, _react.css)((0, _typography.h600)({
|
|
17
14
|
theme: {
|
|
@@ -35,8 +32,8 @@ var modalHeadingStyles = (0, _react.css)({
|
|
|
35
32
|
var modalImageStyles = (0, _react.css)({
|
|
36
33
|
width: '100%',
|
|
37
34
|
height: 'auto',
|
|
38
|
-
borderTopLeftRadius: "
|
|
39
|
-
borderTopRightRadius: "
|
|
35
|
+
borderTopLeftRadius: "var(--ds-border-radius, 3px)",
|
|
36
|
+
borderTopRightRadius: "var(--ds-border-radius, 3px)",
|
|
40
37
|
'@media (min-width: 320px) and (max-width: 480px)': {
|
|
41
38
|
borderRadius: 0
|
|
42
39
|
}
|
|
@@ -82,9 +82,9 @@ var targetOverlayStyles = (0, _react.css)({
|
|
|
82
82
|
width: '100%',
|
|
83
83
|
height: '100%',
|
|
84
84
|
position: 'absolute',
|
|
85
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
85
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
86
86
|
top: 0,
|
|
87
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
87
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
88
88
|
left: 0
|
|
89
89
|
});
|
|
90
90
|
|
package/dist/cjs/version.json
CHANGED
|
@@ -5,7 +5,7 @@ import Button, { Theme as ButtonTheme } from '@atlaskit/button/custom-theme-butt
|
|
|
5
5
|
import Heading from '@atlaskit/heading';
|
|
6
6
|
import { N0, N50A, N60A, P300 } from '@atlaskit/theme/colors';
|
|
7
7
|
import { createTheme } from '@atlaskit/theme/components';
|
|
8
|
-
import {
|
|
8
|
+
import { layers } from '@atlaskit/theme/constants';
|
|
9
9
|
import { DialogActionItem, DialogActionItemContainer } from '../styled/dialog';
|
|
10
10
|
import { spotlightButtonTheme } from './theme';
|
|
11
11
|
const bodyStyles = css({
|
|
@@ -42,7 +42,7 @@ const containerStyles = css({
|
|
|
42
42
|
height: 'fit-content',
|
|
43
43
|
zIndex: layers.spotlight() + 1,
|
|
44
44
|
background: `var(--ds-background-discovery-bold, ${P300})`,
|
|
45
|
-
borderRadius:
|
|
45
|
+
borderRadius: "var(--ds-border-radius, 3px)",
|
|
46
46
|
color: `var(--ds-text-inverse, ${N0})`,
|
|
47
47
|
overflow: 'auto'
|
|
48
48
|
});
|
|
@@ -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 = "10.8.
|
|
10
|
+
const packageVersion = "10.8.5";
|
|
11
11
|
class SpotlightDialog extends Component {
|
|
12
12
|
constructor(...args) {
|
|
13
13
|
super(...args);
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { css, jsx } from '@emotion/react';
|
|
4
4
|
import { useGlobalTheme } from '@atlaskit/theme/components';
|
|
5
|
-
import { borderRadius as getBorderRadius } from '@atlaskit/theme/constants';
|
|
6
5
|
import { h600 } from '@atlaskit/theme/typography';
|
|
7
|
-
const borderRadius = getBorderRadius();
|
|
8
|
-
|
|
9
6
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
10
7
|
const lightH600Styles = css(h600({
|
|
11
8
|
theme: {
|
|
@@ -29,8 +26,8 @@ const modalHeadingStyles = css({
|
|
|
29
26
|
const modalImageStyles = css({
|
|
30
27
|
width: '100%',
|
|
31
28
|
height: 'auto',
|
|
32
|
-
borderTopLeftRadius:
|
|
33
|
-
borderTopRightRadius:
|
|
29
|
+
borderTopLeftRadius: "var(--ds-border-radius, 3px)",
|
|
30
|
+
borderTopRightRadius: "var(--ds-border-radius, 3px)",
|
|
34
31
|
'@media (min-width: 320px) and (max-width: 480px)': {
|
|
35
32
|
borderRadius: 0
|
|
36
33
|
}
|
|
@@ -65,9 +65,9 @@ const targetOverlayStyles = css({
|
|
|
65
65
|
width: '100%',
|
|
66
66
|
height: '100%',
|
|
67
67
|
position: 'absolute',
|
|
68
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
68
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
69
69
|
top: 0,
|
|
70
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
70
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
71
71
|
left: 0
|
|
72
72
|
});
|
|
73
73
|
|
package/dist/es2019/version.json
CHANGED
|
@@ -7,7 +7,7 @@ import Button, { Theme as ButtonTheme } from '@atlaskit/button/custom-theme-butt
|
|
|
7
7
|
import Heading from '@atlaskit/heading';
|
|
8
8
|
import { N0, N50A, N60A, P300 } from '@atlaskit/theme/colors';
|
|
9
9
|
import { createTheme } from '@atlaskit/theme/components';
|
|
10
|
-
import {
|
|
10
|
+
import { layers } from '@atlaskit/theme/constants';
|
|
11
11
|
import { DialogActionItem, DialogActionItemContainer } from '../styled/dialog';
|
|
12
12
|
import { spotlightButtonTheme } from './theme';
|
|
13
13
|
var bodyStyles = css({
|
|
@@ -46,7 +46,7 @@ var containerStyles = css({
|
|
|
46
46
|
height: 'fit-content',
|
|
47
47
|
zIndex: layers.spotlight() + 1,
|
|
48
48
|
background: "var(--ds-background-discovery-bold, ".concat(P300, ")"),
|
|
49
|
-
borderRadius: "
|
|
49
|
+
borderRadius: "var(--ds-border-radius, 3px)",
|
|
50
50
|
color: "var(--ds-text-inverse, ".concat(N0, ")"),
|
|
51
51
|
overflow: 'auto'
|
|
52
52
|
});
|
|
@@ -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 = "10.8.
|
|
20
|
+
var packageVersion = "10.8.5";
|
|
21
21
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
22
22
|
_inherits(SpotlightDialog, _Component);
|
|
23
23
|
var _super = _createSuper(SpotlightDialog);
|
package/dist/esm/styled/modal.js
CHANGED
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { css, jsx } from '@emotion/react';
|
|
4
4
|
import { useGlobalTheme } from '@atlaskit/theme/components';
|
|
5
|
-
import { borderRadius as getBorderRadius } from '@atlaskit/theme/constants';
|
|
6
5
|
import { h600 } from '@atlaskit/theme/typography';
|
|
7
|
-
var borderRadius = getBorderRadius();
|
|
8
|
-
|
|
9
6
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
10
7
|
var lightH600Styles = css(h600({
|
|
11
8
|
theme: {
|
|
@@ -29,8 +26,8 @@ var modalHeadingStyles = css({
|
|
|
29
26
|
var modalImageStyles = css({
|
|
30
27
|
width: '100%',
|
|
31
28
|
height: 'auto',
|
|
32
|
-
borderTopLeftRadius: "
|
|
33
|
-
borderTopRightRadius: "
|
|
29
|
+
borderTopLeftRadius: "var(--ds-border-radius, 3px)",
|
|
30
|
+
borderTopRightRadius: "var(--ds-border-radius, 3px)",
|
|
34
31
|
'@media (min-width: 320px) and (max-width: 480px)': {
|
|
35
32
|
borderRadius: 0
|
|
36
33
|
}
|
|
@@ -74,9 +74,9 @@ var targetOverlayStyles = css({
|
|
|
74
74
|
width: '100%',
|
|
75
75
|
height: '100%',
|
|
76
76
|
position: 'absolute',
|
|
77
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
77
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
78
78
|
top: 0,
|
|
79
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
79
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
80
80
|
left: 0
|
|
81
81
|
});
|
|
82
82
|
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/onboarding",
|
|
3
|
-
"version": "10.8.
|
|
3
|
+
"version": "10.8.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/"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/popper": "^5.5.0",
|
|
42
42
|
"@atlaskit/portal": "^4.3.0",
|
|
43
43
|
"@atlaskit/theme": "^12.5.0",
|
|
44
|
-
"@atlaskit/tokens": "^1.
|
|
44
|
+
"@atlaskit/tokens": "^1.11.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|
|
47
47
|
"bind-event-listener": "^2.1.1",
|