@atlaskit/onboarding 10.3.9 → 10.4.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 +22 -0
- package/dist/cjs/components/spotlight-dialog.js +1 -1
- package/dist/cjs/components/theme.js +5 -5
- package/dist/cjs/index.js +10 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/spotlight-dialog.js +1 -1
- package/dist/es2019/components/theme.js +5 -5
- package/dist/es2019/index.js +12 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/spotlight-dialog.js +1 -1
- package/dist/esm/components/theme.js +5 -5
- package/dist/esm/index.js +12 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/components/spotlight.d.ts +7 -7
- package/dist/types/index.d.ts +12 -0
- package/package.json +5 -5
- package/types/package.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/onboarding
|
|
2
2
|
|
|
3
|
+
## 10.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`3124aa6ae24`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3124aa6ae24) - The onboarding package now exports a `ModalTransition` component for use with the benefits modal. This resolves an issue that can occur when using `ModalTransition` from a different version of `@atlaskit/modal-dialog` than the one that Onboarding is bringing in.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [`e7ad64befa5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ad64befa5) - [ux] Updated input tokens within `@atlaskit/onboarding`.
|
|
12
|
+
|
|
13
|
+
## 10.3.11
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) - Adjusts jsdoc strings to improve prop documentation
|
|
18
|
+
|
|
19
|
+
## 10.3.10
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 10.3.9
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -54,7 +54,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
54
54
|
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; } }
|
|
55
55
|
|
|
56
56
|
var packageName = "@atlaskit/onboarding";
|
|
57
|
-
var packageVersion = "10.
|
|
57
|
+
var packageVersion = "10.4.0";
|
|
58
58
|
|
|
59
59
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
60
60
|
(0, _inherits2.default)(SpotlightDialog, _Component);
|
|
@@ -31,12 +31,12 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
31
31
|
var spotlightTheme = {
|
|
32
32
|
default: {
|
|
33
33
|
background: {
|
|
34
|
-
default: "var(--ds-background-
|
|
35
|
-
hover: "var(--ds-background-
|
|
36
|
-
active: "var(--ds-background-
|
|
34
|
+
default: "var(--ds-background-inverse-subtle, ".concat(colors.P400, ")"),
|
|
35
|
+
hover: "var(--ds-background-inverse-subtle-hovered, ".concat(colors.P200, ")"),
|
|
36
|
+
active: "var(--ds-background-inverse-subtle-pressed, ".concat(colors.P500, ")"),
|
|
37
37
|
disabled: "var(--ds-background-disabled, ".concat(colors.P400, ")"),
|
|
38
|
-
selected: "var(--ds-background-
|
|
39
|
-
focus: "var(--ds-background-
|
|
38
|
+
selected: "var(--ds-background-inverse-subtle-pressed, ".concat(colors.R500, ")"),
|
|
39
|
+
focus: "var(--ds-background-inverse-subtle, ".concat(colors.P400, ")")
|
|
40
40
|
},
|
|
41
41
|
boxShadow: {
|
|
42
42
|
focus: "0 0 0 2px ".concat("var(--ds-border-discovery, ".concat(colors.P100, ")"))
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
@@ -9,6 +11,12 @@ Object.defineProperty(exports, "Modal", {
|
|
|
9
11
|
return _components.Modal;
|
|
10
12
|
}
|
|
11
13
|
});
|
|
14
|
+
Object.defineProperty(exports, "ModalTransition", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function get() {
|
|
17
|
+
return _modalTransition.default;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
12
20
|
Object.defineProperty(exports, "Spotlight", {
|
|
13
21
|
enumerable: true,
|
|
14
22
|
get: function get() {
|
|
@@ -64,6 +72,8 @@ Object.defineProperty(exports, "useSpotlight", {
|
|
|
64
72
|
}
|
|
65
73
|
});
|
|
66
74
|
|
|
75
|
+
var _modalTransition = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-transition"));
|
|
76
|
+
|
|
67
77
|
var _components = require("./components");
|
|
68
78
|
|
|
69
79
|
var _target = require("./styled/target");
|
package/dist/cjs/version.json
CHANGED
|
@@ -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.
|
|
10
|
+
const packageVersion = "10.4.0";
|
|
11
11
|
|
|
12
12
|
class SpotlightDialog extends Component {
|
|
13
13
|
constructor(...args) {
|
|
@@ -2,12 +2,12 @@ import * as colors from '@atlaskit/theme/colors';
|
|
|
2
2
|
const spotlightTheme = {
|
|
3
3
|
default: {
|
|
4
4
|
background: {
|
|
5
|
-
default: `var(--ds-background-
|
|
6
|
-
hover: `var(--ds-background-
|
|
7
|
-
active: `var(--ds-background-
|
|
5
|
+
default: `var(--ds-background-inverse-subtle, ${colors.P400})`,
|
|
6
|
+
hover: `var(--ds-background-inverse-subtle-hovered, ${colors.P200})`,
|
|
7
|
+
active: `var(--ds-background-inverse-subtle-pressed, ${colors.P500})`,
|
|
8
8
|
disabled: `var(--ds-background-disabled, ${colors.P400})`,
|
|
9
|
-
selected: `var(--ds-background-
|
|
10
|
-
focus: `var(--ds-background-
|
|
9
|
+
selected: `var(--ds-background-inverse-subtle-pressed, ${colors.R500})`,
|
|
10
|
+
focus: `var(--ds-background-inverse-subtle, ${colors.P400})`
|
|
11
11
|
},
|
|
12
12
|
boxShadow: {
|
|
13
13
|
focus: `0 0 0 2px ${`var(--ds-border-discovery, ${colors.P100})`}`
|
package/dist/es2019/index.js
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* We re-export this because products may have multiple versions of
|
|
3
|
+
* `@atlaskit/modal-dialog`.
|
|
4
|
+
*
|
|
5
|
+
* If a consumer uses the onboarding `Modal` with the `ModalTransition` from an
|
|
6
|
+
* incompatible version of `@atlaskit/modal-dialog`, then the modal can get
|
|
7
|
+
* stuck in an open state.
|
|
8
|
+
*
|
|
9
|
+
* See https://product-fabric.atlassian.net/browse/DSP-796 for more details
|
|
10
|
+
* and a reproduction.
|
|
11
|
+
*/
|
|
12
|
+
export { default as ModalTransition } from '@atlaskit/modal-dialog/modal-transition';
|
|
1
13
|
export { Modal, Spotlight, SpotlightCard, SpotlightManager, SpotlightTarget, SpotlightTransition, modalButtonTheme, spotlightButtonTheme, useSpotlight } from './components';
|
|
2
14
|
export { Pulse as SpotlightPulse } from './styled/target';
|
package/dist/es2019/version.json
CHANGED
|
@@ -24,7 +24,7 @@ import { DialogImage } from '../styled/dialog';
|
|
|
24
24
|
import SpotlightCard from './spotlight-card';
|
|
25
25
|
import ValueChanged from './value-changed';
|
|
26
26
|
var packageName = "@atlaskit/onboarding";
|
|
27
|
-
var packageVersion = "10.
|
|
27
|
+
var packageVersion = "10.4.0";
|
|
28
28
|
|
|
29
29
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
30
30
|
_inherits(SpotlightDialog, _Component);
|
|
@@ -12,12 +12,12 @@ import * as colors from '@atlaskit/theme/colors';
|
|
|
12
12
|
var spotlightTheme = {
|
|
13
13
|
default: {
|
|
14
14
|
background: {
|
|
15
|
-
default: "var(--ds-background-
|
|
16
|
-
hover: "var(--ds-background-
|
|
17
|
-
active: "var(--ds-background-
|
|
15
|
+
default: "var(--ds-background-inverse-subtle, ".concat(colors.P400, ")"),
|
|
16
|
+
hover: "var(--ds-background-inverse-subtle-hovered, ".concat(colors.P200, ")"),
|
|
17
|
+
active: "var(--ds-background-inverse-subtle-pressed, ".concat(colors.P500, ")"),
|
|
18
18
|
disabled: "var(--ds-background-disabled, ".concat(colors.P400, ")"),
|
|
19
|
-
selected: "var(--ds-background-
|
|
20
|
-
focus: "var(--ds-background-
|
|
19
|
+
selected: "var(--ds-background-inverse-subtle-pressed, ".concat(colors.R500, ")"),
|
|
20
|
+
focus: "var(--ds-background-inverse-subtle, ".concat(colors.P400, ")")
|
|
21
21
|
},
|
|
22
22
|
boxShadow: {
|
|
23
23
|
focus: "0 0 0 2px ".concat("var(--ds-border-discovery, ".concat(colors.P100, ")"))
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* We re-export this because products may have multiple versions of
|
|
3
|
+
* `@atlaskit/modal-dialog`.
|
|
4
|
+
*
|
|
5
|
+
* If a consumer uses the onboarding `Modal` with the `ModalTransition` from an
|
|
6
|
+
* incompatible version of `@atlaskit/modal-dialog`, then the modal can get
|
|
7
|
+
* stuck in an open state.
|
|
8
|
+
*
|
|
9
|
+
* See https://product-fabric.atlassian.net/browse/DSP-796 for more details
|
|
10
|
+
* and a reproduction.
|
|
11
|
+
*/
|
|
12
|
+
export { default as ModalTransition } from '@atlaskit/modal-dialog/modal-transition';
|
|
1
13
|
export { Modal, Spotlight, SpotlightCard, SpotlightManager, SpotlightTarget, SpotlightTransition, modalButtonTheme, spotlightButtonTheme, useSpotlight } from './components';
|
|
2
14
|
export { Pulse as SpotlightPulse } from './styled/target';
|
package/dist/esm/version.json
CHANGED
|
@@ -73,13 +73,13 @@ export interface SpotlightProps {
|
|
|
73
73
|
*/
|
|
74
74
|
targetReplacement?: ComponentType<any>;
|
|
75
75
|
/**
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
76
|
+
This prop is a unique string that appears as an attribute `data-testid` in the rendered HTML output serving as a hook for automated tests.
|
|
77
|
+
As this component is composed of multiple components we use this `testId` as a prefix:
|
|
78
|
+
|
|
79
|
+
- `"${testId}--dialog"` to identify the spotlight dialog
|
|
80
|
+
- `"${testId}--target"` to identify the spotlight target clone
|
|
81
|
+
|
|
82
|
+
Defaults to `"spotlight"`.
|
|
83
83
|
*/
|
|
84
84
|
testId?: string;
|
|
85
85
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* We re-export this because products may have multiple versions of
|
|
3
|
+
* `@atlaskit/modal-dialog`.
|
|
4
|
+
*
|
|
5
|
+
* If a consumer uses the onboarding `Modal` with the `ModalTransition` from an
|
|
6
|
+
* incompatible version of `@atlaskit/modal-dialog`, then the modal can get
|
|
7
|
+
* stuck in an open state.
|
|
8
|
+
*
|
|
9
|
+
* See https://product-fabric.atlassian.net/browse/DSP-796 for more details
|
|
10
|
+
* and a reproduction.
|
|
11
|
+
*/
|
|
12
|
+
export { default as ModalTransition } from '@atlaskit/modal-dialog/modal-transition';
|
|
1
13
|
export { Modal, Spotlight, SpotlightCard, SpotlightManager, SpotlightTarget, SpotlightTransition, modalButtonTheme, spotlightButtonTheme, useSpotlight, } from './components';
|
|
2
14
|
export { Pulse as SpotlightPulse } from './styled/target';
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/onboarding",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.4.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/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@atlaskit/popper": "^5.0.0",
|
|
31
31
|
"@atlaskit/portal": "^4.0.0",
|
|
32
32
|
"@atlaskit/theme": "^12.1.0",
|
|
33
|
-
"@atlaskit/tokens": "^0.
|
|
33
|
+
"@atlaskit/tokens": "^0.10.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
35
35
|
"@emotion/core": "^10.0.9",
|
|
36
36
|
"exenv": "^1.2.2",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"react-dom": "^16.8.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@atlaskit/avatar": "^
|
|
49
|
+
"@atlaskit/avatar": "^21.0.0",
|
|
50
50
|
"@atlaskit/docs": "*",
|
|
51
51
|
"@atlaskit/icon": "^21.10.0",
|
|
52
52
|
"@atlaskit/progress-indicator": "^9.2.0",
|
|
53
|
-
"@atlaskit/select": "^15.
|
|
53
|
+
"@atlaskit/select": "^15.3.0",
|
|
54
54
|
"@atlaskit/ssr": "*",
|
|
55
55
|
"@atlaskit/visual-regression": "*",
|
|
56
56
|
"@atlaskit/webdriver-runner": "*",
|