@atlaskit/onboarding 10.3.1 → 10.3.2
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/index.js +4 -4
- package/dist/cjs/components/spotlight-dialog.js +1 -1
- package/dist/cjs/components/spotlight-manager.js +1 -1
- package/dist/cjs/components/theme.js +1 -1
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/styled/dialog.js +1 -1
- package/dist/cjs/styled/modal.js +1 -1
- package/dist/cjs/styled/target.js +14 -5
- package/dist/cjs/utils/use-element-box.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/spotlight-dialog.js +1 -1
- package/dist/es2019/styled/target.js +9 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/spotlight-dialog.js +1 -1
- package/dist/esm/styled/target.js +12 -4
- package/dist/esm/version.json +1 -1
- package/dist/types/components/modal.d.ts +2 -2
- package/dist/types/styled/target.d.ts +3 -0
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/onboarding
|
|
2
2
|
|
|
3
|
+
## 10.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9a5740d1ec3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9a5740d1ec3) - [ux] The `pulse` prop now works correctly for `<SpotlightPulse />`. Previously, it was applying the pulse to the `SpotlightPulse` target regardless of the `pulse` value. Now it checks the value of `pulse` and applies the animation accordingly.
|
|
8
|
+
|
|
3
9
|
## 10.3.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -41,10 +41,10 @@ Object.defineProperty(exports, "SpotlightTransition", {
|
|
|
41
41
|
return _spotlightTransition.default;
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
|
-
Object.defineProperty(exports, "
|
|
44
|
+
Object.defineProperty(exports, "modalButtonTheme", {
|
|
45
45
|
enumerable: true,
|
|
46
46
|
get: function get() {
|
|
47
|
-
return
|
|
47
|
+
return _theme.modalButtonTheme;
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "spotlightButtonTheme", {
|
|
@@ -53,10 +53,10 @@ Object.defineProperty(exports, "spotlightButtonTheme", {
|
|
|
53
53
|
return _theme.spotlightButtonTheme;
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
Object.defineProperty(exports, "
|
|
56
|
+
Object.defineProperty(exports, "useSpotlight", {
|
|
57
57
|
enumerable: true,
|
|
58
58
|
get: function get() {
|
|
59
|
-
return
|
|
59
|
+
return _useSpotlight.default;
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
|
|
@@ -52,7 +52,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
52
52
|
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; } }
|
|
53
53
|
|
|
54
54
|
var packageName = "@atlaskit/onboarding";
|
|
55
|
-
var packageVersion = "10.3.
|
|
55
|
+
var packageVersion = "10.3.2";
|
|
56
56
|
|
|
57
57
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
58
58
|
(0, _inherits2.default)(SpotlightDialog, _Component);
|
|
@@ -7,7 +7,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
10
|
-
exports.default = exports.
|
|
10
|
+
exports.default = exports.TargetConsumer = exports.SpotlightContext = exports.SpotlightConsumer = void 0;
|
|
11
11
|
|
|
12
12
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ var _typeof3 = require("@babel/runtime/helpers/typeof");
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
10
|
-
exports.
|
|
10
|
+
exports.spotlightButtonTheme = exports.modalButtonTheme = void 0;
|
|
11
11
|
|
|
12
12
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
13
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -27,6 +27,12 @@ Object.defineProperty(exports, "SpotlightManager", {
|
|
|
27
27
|
return _components.SpotlightManager;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
+
Object.defineProperty(exports, "SpotlightPulse", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _target.Pulse;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
30
36
|
Object.defineProperty(exports, "SpotlightTarget", {
|
|
31
37
|
enumerable: true,
|
|
32
38
|
get: function get() {
|
|
@@ -57,12 +63,6 @@ Object.defineProperty(exports, "useSpotlight", {
|
|
|
57
63
|
return _components.useSpotlight;
|
|
58
64
|
}
|
|
59
65
|
});
|
|
60
|
-
Object.defineProperty(exports, "SpotlightPulse", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function get() {
|
|
63
|
-
return _target.Pulse;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
66
|
|
|
67
67
|
var _components = require("./components");
|
|
68
68
|
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.DialogImage = exports.DialogActionItemContainer = exports.DialogActionItem = void 0;
|
|
9
9
|
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
|
package/dist/cjs/styled/modal.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.ModalImage = exports.ModalHeading = exports.ModalBody = exports.ModalActionItem = exports.ModalActionContainer = void 0;
|
|
7
7
|
|
|
8
8
|
var _core = require("@emotion/core");
|
|
9
9
|
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.pulseKeyframesName = exports.TargetOverlay = exports.TargetInner = exports.Pulse = void 0;
|
|
9
9
|
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
|
|
@@ -34,7 +34,10 @@ var pulseKeyframes = (0, _core.keyframes)({
|
|
|
34
34
|
'66%, 100%': {
|
|
35
35
|
boxShadow: "".concat(baseShadow, ", 0 0 0 10px rgba(101, 84, 192, 0.01)")
|
|
36
36
|
}
|
|
37
|
-
});
|
|
37
|
+
}); // This is needed for unit tests
|
|
38
|
+
|
|
39
|
+
var pulseKeyframesName = pulseKeyframes.name;
|
|
40
|
+
exports.pulseKeyframesName = pulseKeyframesName;
|
|
38
41
|
var animationStyles = (0, _core.css)({
|
|
39
42
|
animation: "".concat(pulseKeyframes, " 3000ms ").concat(easing, " infinite")
|
|
40
43
|
}); // IE11 and Edge: z-index needed because fixed position calculates z-index relative
|
|
@@ -49,9 +52,11 @@ var Base = function Base(_ref) {
|
|
|
49
52
|
bgColor = _ref.bgColor,
|
|
50
53
|
radius = _ref.radius,
|
|
51
54
|
style = _ref.style,
|
|
52
|
-
|
|
55
|
+
testId = _ref.testId,
|
|
56
|
+
props = (0, _objectWithoutProperties2.default)(_ref, ["children", "bgColor", "radius", "style", "testId"]);
|
|
53
57
|
return (0, _core.jsx)("div", (0, _extends2.default)({
|
|
54
58
|
css: baseStyles,
|
|
59
|
+
"data-testid": testId,
|
|
55
60
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
56
61
|
backgroundColor: bgColor,
|
|
57
62
|
borderRadius: radius ? "".concat(radius, "px") : undefined
|
|
@@ -114,9 +119,13 @@ exports.TargetOverlay = TargetOverlay;
|
|
|
114
119
|
|
|
115
120
|
var Pulse = function Pulse(_ref3) {
|
|
116
121
|
var children = _ref3.children,
|
|
117
|
-
|
|
122
|
+
_ref3$pulse = _ref3.pulse,
|
|
123
|
+
pulse = _ref3$pulse === void 0 ? true : _ref3$pulse,
|
|
124
|
+
testId = _ref3.testId,
|
|
125
|
+
props = (0, _objectWithoutProperties2.default)(_ref3, ["children", "pulse", "testId"]);
|
|
118
126
|
return (0, _core.jsx)(Base, (0, _extends2.default)({}, props, {
|
|
119
|
-
css: animationStyles
|
|
127
|
+
css: [pulse && animationStyles],
|
|
128
|
+
testId: testId
|
|
120
129
|
}), children);
|
|
121
130
|
};
|
|
122
131
|
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.useElementBox = exports.ElementBox = void 0;
|
|
9
9
|
|
|
10
10
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
11
|
|
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.2";
|
|
11
11
|
|
|
12
12
|
class SpotlightDialog extends Component {
|
|
13
13
|
constructor(...args) {
|
|
@@ -15,7 +15,9 @@ const pulseKeyframes = keyframes({
|
|
|
15
15
|
'66%, 100%': {
|
|
16
16
|
boxShadow: `${baseShadow}, 0 0 0 10px rgba(101, 84, 192, 0.01)`
|
|
17
17
|
}
|
|
18
|
-
});
|
|
18
|
+
}); // This is needed for unit tests
|
|
19
|
+
|
|
20
|
+
export const pulseKeyframesName = pulseKeyframes.name;
|
|
19
21
|
const animationStyles = css({
|
|
20
22
|
animation: `${pulseKeyframes} 3000ms ${easing} infinite`
|
|
21
23
|
}); // IE11 and Edge: z-index needed because fixed position calculates z-index relative
|
|
@@ -30,9 +32,11 @@ const Base = ({
|
|
|
30
32
|
bgColor,
|
|
31
33
|
radius,
|
|
32
34
|
style,
|
|
35
|
+
testId,
|
|
33
36
|
...props
|
|
34
37
|
}) => jsx("div", _extends({
|
|
35
38
|
css: baseStyles,
|
|
39
|
+
"data-testid": testId,
|
|
36
40
|
style: { ...style,
|
|
37
41
|
backgroundColor: bgColor,
|
|
38
42
|
borderRadius: radius ? `${radius}px` : undefined
|
|
@@ -86,7 +90,10 @@ export const TargetOverlay = props => jsx("div", _extends({}, props, {
|
|
|
86
90
|
|
|
87
91
|
export const Pulse = ({
|
|
88
92
|
children,
|
|
93
|
+
pulse = true,
|
|
94
|
+
testId,
|
|
89
95
|
...props
|
|
90
96
|
}) => jsx(Base, _extends({}, props, {
|
|
91
|
-
css: animationStyles
|
|
97
|
+
css: [pulse && animationStyles],
|
|
98
|
+
testId: testId
|
|
92
99
|
}), children);
|
package/dist/es2019/version.json
CHANGED
|
@@ -23,7 +23,7 @@ import { DialogImage } from '../styled/dialog';
|
|
|
23
23
|
import SpotlightCard from './spotlight-card';
|
|
24
24
|
import ValueChanged from './value-changed';
|
|
25
25
|
var packageName = "@atlaskit/onboarding";
|
|
26
|
-
var packageVersion = "10.3.
|
|
26
|
+
var packageVersion = "10.3.2";
|
|
27
27
|
|
|
28
28
|
var SpotlightDialog = /*#__PURE__*/function (_Component) {
|
|
29
29
|
_inherits(SpotlightDialog, _Component);
|
|
@@ -21,7 +21,9 @@ var pulseKeyframes = keyframes({
|
|
|
21
21
|
'66%, 100%': {
|
|
22
22
|
boxShadow: "".concat(baseShadow, ", 0 0 0 10px rgba(101, 84, 192, 0.01)")
|
|
23
23
|
}
|
|
24
|
-
});
|
|
24
|
+
}); // This is needed for unit tests
|
|
25
|
+
|
|
26
|
+
export var pulseKeyframesName = pulseKeyframes.name;
|
|
25
27
|
var animationStyles = css({
|
|
26
28
|
animation: "".concat(pulseKeyframes, " 3000ms ").concat(easing, " infinite")
|
|
27
29
|
}); // IE11 and Edge: z-index needed because fixed position calculates z-index relative
|
|
@@ -36,10 +38,12 @@ var Base = function Base(_ref) {
|
|
|
36
38
|
bgColor = _ref.bgColor,
|
|
37
39
|
radius = _ref.radius,
|
|
38
40
|
style = _ref.style,
|
|
39
|
-
|
|
41
|
+
testId = _ref.testId,
|
|
42
|
+
props = _objectWithoutProperties(_ref, ["children", "bgColor", "radius", "style", "testId"]);
|
|
40
43
|
|
|
41
44
|
return jsx("div", _extends({
|
|
42
45
|
css: baseStyles,
|
|
46
|
+
"data-testid": testId,
|
|
43
47
|
style: _objectSpread(_objectSpread({}, style), {}, {
|
|
44
48
|
backgroundColor: bgColor,
|
|
45
49
|
borderRadius: radius ? "".concat(radius, "px") : undefined
|
|
@@ -98,9 +102,13 @@ export var TargetOverlay = function TargetOverlay(props) {
|
|
|
98
102
|
|
|
99
103
|
export var Pulse = function Pulse(_ref3) {
|
|
100
104
|
var children = _ref3.children,
|
|
101
|
-
|
|
105
|
+
_ref3$pulse = _ref3.pulse,
|
|
106
|
+
pulse = _ref3$pulse === void 0 ? true : _ref3$pulse,
|
|
107
|
+
testId = _ref3.testId,
|
|
108
|
+
props = _objectWithoutProperties(_ref3, ["children", "pulse", "testId"]);
|
|
102
109
|
|
|
103
110
|
return jsx(Base, _extends({}, props, {
|
|
104
|
-
css: animationStyles
|
|
111
|
+
css: [pulse && animationStyles],
|
|
112
|
+
testId: testId
|
|
105
113
|
}), children);
|
|
106
114
|
};
|
package/dist/esm/version.json
CHANGED
|
@@ -41,8 +41,8 @@ declare type ModalProps = {
|
|
|
41
41
|
* - [Examples](https://atlaskit.atlassian.com/packages/design-system/onboarding)
|
|
42
42
|
*/
|
|
43
43
|
export default class OnboardingModal extends Component<ModalProps> {
|
|
44
|
-
headerComponent: (props: ModalProps) => "symbol" | "object" | "clipPath" | "filter" | "mask" | "marker" | "small" | "ruby" | "table" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "s" | "samp" | "script" | "section" | "select" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" |
|
|
45
|
-
footerComponent: (props: ModalProps) => "symbol" | "object" | "clipPath" | "filter" | "mask" | "marker" | "small" | "ruby" | "table" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "s" | "samp" | "script" | "section" | "select" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" |
|
|
44
|
+
headerComponent: (props: ModalProps) => "symbol" | "object" | "clipPath" | "filter" | "mask" | "marker" | "small" | "ruby" | "table" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "s" | "samp" | "script" | "section" | "select" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentClass<HeaderComponentProps, any> | import("react").FunctionComponent<HeaderComponentProps> | (() => JSX.Element);
|
|
45
|
+
footerComponent: (props: ModalProps) => "symbol" | "object" | "clipPath" | "filter" | "mask" | "marker" | "small" | "ruby" | "table" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "s" | "samp" | "script" | "section" | "select" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentClass<FooterComponentProps, any> | import("react").FunctionComponent<FooterComponentProps> | (() => JSX.Element | null);
|
|
46
46
|
render(): JSX.Element;
|
|
47
47
|
}
|
|
48
48
|
export {};
|
|
@@ -3,10 +3,13 @@ declare type BaseProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
3
3
|
bgColor?: string;
|
|
4
4
|
radius?: number;
|
|
5
5
|
className?: string;
|
|
6
|
+
testId?: string;
|
|
6
7
|
};
|
|
7
8
|
declare type TargetProps = Omit<BaseProps, 'css'> & {
|
|
8
9
|
pulse?: boolean;
|
|
10
|
+
testId?: string;
|
|
9
11
|
};
|
|
12
|
+
export declare const pulseKeyframesName: string;
|
|
10
13
|
/**
|
|
11
14
|
* __Target inner__
|
|
12
15
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/onboarding",
|
|
3
|
-
"version": "10.3.
|
|
3
|
+
"version": "10.3.2",
|
|
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/"
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"atlassian": {
|
|
19
19
|
"team": "Design System Team",
|
|
20
20
|
"deprecatedAutoEntryPoints": true,
|
|
21
|
-
"inPublicMirror": true,
|
|
22
21
|
"releaseModel": "scheduled",
|
|
23
22
|
"website": {
|
|
24
23
|
"name": "Onboarding (spotlight)"
|