@atlaskit/onboarding 10.3.4 → 10.3.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-dialog.js +1 -1
- package/dist/cjs/styled/target.js +13 -8
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/spotlight-dialog.js +1 -1
- package/dist/es2019/styled/target.js +6 -3
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/spotlight-dialog.js +1 -1
- package/dist/esm/styled/target.js +13 -8
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -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.3.
|
|
57
|
+
var packageVersion = "10.3.5";
|
|
58
58
|
|
|
59
59
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
60
60
|
(0, _inherits2.default)(SpotlightDialog, _Component);
|
|
@@ -64,7 +64,8 @@ var Base = function Base(_ref) {
|
|
|
64
64
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
65
65
|
backgroundColor: bgColor,
|
|
66
66
|
borderRadius: radius ? "".concat(radius, "px") : undefined
|
|
67
|
-
})
|
|
67
|
+
}) // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
68
|
+
|
|
68
69
|
}, props), children);
|
|
69
70
|
};
|
|
70
71
|
/**
|
|
@@ -80,9 +81,11 @@ var TargetInner = function TargetInner(_ref2) {
|
|
|
80
81
|
var children = _ref2.children,
|
|
81
82
|
pulse = _ref2.pulse,
|
|
82
83
|
props = (0, _objectWithoutProperties2.default)(_ref2, _excluded2);
|
|
83
|
-
return (
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
return (// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
85
|
+
(0, _core.jsx)(Base, (0, _extends2.default)({}, props, {
|
|
86
|
+
css: [pulse && animationStyles]
|
|
87
|
+
}), children)
|
|
88
|
+
);
|
|
86
89
|
};
|
|
87
90
|
|
|
88
91
|
exports.TargetInner = TargetInner;
|
|
@@ -127,10 +130,12 @@ var Pulse = function Pulse(_ref3) {
|
|
|
127
130
|
pulse = _ref3$pulse === void 0 ? true : _ref3$pulse,
|
|
128
131
|
testId = _ref3.testId,
|
|
129
132
|
props = (0, _objectWithoutProperties2.default)(_ref3, _excluded3);
|
|
130
|
-
return (
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
133
|
+
return (// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
134
|
+
(0, _core.jsx)(Base, (0, _extends2.default)({}, props, {
|
|
135
|
+
css: [pulse && animationStyles],
|
|
136
|
+
testId: testId
|
|
137
|
+
}), children)
|
|
138
|
+
);
|
|
134
139
|
};
|
|
135
140
|
|
|
136
141
|
exports.Pulse = Pulse;
|
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.3.
|
|
10
|
+
const packageVersion = "10.3.5";
|
|
11
11
|
|
|
12
12
|
class SpotlightDialog extends Component {
|
|
13
13
|
constructor(...args) {
|
|
@@ -40,7 +40,8 @@ const Base = ({
|
|
|
40
40
|
style: { ...style,
|
|
41
41
|
backgroundColor: bgColor,
|
|
42
42
|
borderRadius: radius ? `${radius}px` : undefined
|
|
43
|
-
}
|
|
43
|
+
} // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
44
|
+
|
|
44
45
|
}, props), children);
|
|
45
46
|
/**
|
|
46
47
|
* __Target inner__
|
|
@@ -55,7 +56,8 @@ export const TargetInner = ({
|
|
|
55
56
|
children,
|
|
56
57
|
pulse,
|
|
57
58
|
...props
|
|
58
|
-
}) =>
|
|
59
|
+
}) => // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
60
|
+
jsx(Base, _extends({}, props, {
|
|
59
61
|
css: [pulse && animationStyles]
|
|
60
62
|
}), children);
|
|
61
63
|
const targetOverlayStyles = css({
|
|
@@ -93,7 +95,8 @@ export const Pulse = ({
|
|
|
93
95
|
pulse = true,
|
|
94
96
|
testId,
|
|
95
97
|
...props
|
|
96
|
-
}) =>
|
|
98
|
+
}) => // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
99
|
+
jsx(Base, _extends({}, props, {
|
|
97
100
|
css: [pulse && animationStyles],
|
|
98
101
|
testId: testId
|
|
99
102
|
}), children);
|
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.3.
|
|
27
|
+
var packageVersion = "10.3.5";
|
|
28
28
|
|
|
29
29
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
30
30
|
_inherits(SpotlightDialog, _Component);
|
|
@@ -50,7 +50,8 @@ var Base = function Base(_ref) {
|
|
|
50
50
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
51
51
|
backgroundColor: bgColor,
|
|
52
52
|
borderRadius: radius ? "".concat(radius, "px") : undefined
|
|
53
|
-
})
|
|
53
|
+
}) // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
54
|
+
|
|
54
55
|
}, props), children);
|
|
55
56
|
};
|
|
56
57
|
/**
|
|
@@ -67,9 +68,11 @@ export var TargetInner = function TargetInner(_ref2) {
|
|
|
67
68
|
pulse = _ref2.pulse,
|
|
68
69
|
props = _objectWithoutProperties(_ref2, _excluded2);
|
|
69
70
|
|
|
70
|
-
return
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
return (// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
72
|
+
jsx(Base, _extends({}, props, {
|
|
73
|
+
css: [pulse && animationStyles]
|
|
74
|
+
}), children)
|
|
75
|
+
);
|
|
73
76
|
};
|
|
74
77
|
var targetOverlayStyles = css({
|
|
75
78
|
width: '100%',
|
|
@@ -110,8 +113,10 @@ export var Pulse = function Pulse(_ref3) {
|
|
|
110
113
|
testId = _ref3.testId,
|
|
111
114
|
props = _objectWithoutProperties(_ref3, _excluded3);
|
|
112
115
|
|
|
113
|
-
return
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
116
|
+
return (// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
117
|
+
jsx(Base, _extends({}, props, {
|
|
118
|
+
css: [pulse && animationStyles],
|
|
119
|
+
testId: testId
|
|
120
|
+
}), children)
|
|
121
|
+
);
|
|
117
122
|
};
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/onboarding",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.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/"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/avatar": "^20.5.0",
|
|
50
50
|
"@atlaskit/docs": "*",
|
|
51
51
|
"@atlaskit/icon": "^21.10.0",
|
|
52
|
-
"@atlaskit/progress-indicator": "^9.
|
|
52
|
+
"@atlaskit/progress-indicator": "^9.2.0",
|
|
53
53
|
"@atlaskit/select": "^15.2.2",
|
|
54
54
|
"@atlaskit/ssr": "*",
|
|
55
55
|
"@atlaskit/visual-regression": "*",
|