@atlaskit/onboarding 15.1.9 → 15.3.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 +31 -0
- package/dist/cjs/components/modal.js +5 -3
- package/dist/cjs/components/spotlight-card.js +1 -1
- package/dist/cjs/components/spotlight-dialog.js +2 -2
- package/dist/cjs/components/spotlight-target.js +2 -2
- package/dist/cjs/utils/use-element-box.js +3 -3
- package/dist/es2019/components/modal.js +3 -1
- package/dist/es2019/components/spotlight-card.js +1 -1
- package/dist/es2019/components/spotlight-dialog.js +1 -1
- package/dist/es2019/components/spotlight-target.js +1 -1
- package/dist/es2019/utils/use-element-box.js +1 -1
- package/dist/esm/components/modal.js +3 -1
- package/dist/esm/components/spotlight-card.js +1 -1
- package/dist/esm/components/spotlight-dialog.js +1 -1
- package/dist/esm/components/spotlight-target.js +1 -1
- package/dist/esm/utils/use-element-box.js +1 -1
- package/dist/types/components/modal.d.ts +2 -1
- package/package.json +12 -12
- package/onboarding.docs.tsx +0 -50
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @atlaskit/onboarding
|
|
2
2
|
|
|
3
|
+
## 15.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`d82e6f76528ab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d82e6f76528ab) -
|
|
8
|
+
Add direct subpath package exports as part of the linking-platform, search, media, and
|
|
9
|
+
design-system barrel-removal (de-barrel) migration.
|
|
10
|
+
|
|
11
|
+
These packages now expose their individual modules via explicit `package.json` `exports` subpaths
|
|
12
|
+
so that consumers can import directly from the leaf module (e.g. `@atlaskit/pkg/thing`) instead of
|
|
13
|
+
the package barrel/index. This adds new public entry points without changing or removing any
|
|
14
|
+
existing exports, so it is a backwards-compatible additive change.
|
|
15
|
+
|
|
16
|
+
No runtime behaviour changes; this is an API-surface (entry-point) addition to support
|
|
17
|
+
tree-shaking and to unblock removal of the barrel index files.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
23
|
+
## 15.2.0
|
|
24
|
+
|
|
25
|
+
### Minor Changes
|
|
26
|
+
|
|
27
|
+
- [`0075efb228821`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0075efb228821) -
|
|
28
|
+
Autofix: barrel removal (imports + exports)
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
|
|
3
34
|
## 15.1.9
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
|
@@ -16,7 +16,9 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
16
16
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
17
17
|
var _react = _interopRequireWildcard(require("react"));
|
|
18
18
|
var _customThemeButton = _interopRequireWildcard(require("@atlaskit/button/custom-theme-button"));
|
|
19
|
-
var _modalDialog =
|
|
19
|
+
var _modalDialog = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-dialog"));
|
|
20
|
+
var _modalBody = _interopRequireDefault(require("@atlaskit/modal-dialog/modal-body"));
|
|
21
|
+
var _hooks = require("@atlaskit/modal-dialog/hooks");
|
|
20
22
|
var _modal = require("../styled/modal");
|
|
21
23
|
var _theme = require("./theme");
|
|
22
24
|
var _excluded = ["text", "key"],
|
|
@@ -99,7 +101,7 @@ var BenefitsModal = exports.default = /*#__PURE__*/function (_Component) {
|
|
|
99
101
|
var Header = this.headerComponent(this.props);
|
|
100
102
|
var Footer = this.footerComponent(this.props);
|
|
101
103
|
var CustomHeader = function CustomHeader() {
|
|
102
|
-
var _useModal = (0,
|
|
104
|
+
var _useModal = (0, _hooks.useModal)(),
|
|
103
105
|
titleId = _useModal.titleId;
|
|
104
106
|
return /*#__PURE__*/_react.default.createElement(_modal.ModalHeading, {
|
|
105
107
|
id: titleId
|
|
@@ -121,7 +123,7 @@ var BenefitsModal = exports.default = /*#__PURE__*/function (_Component) {
|
|
|
121
123
|
header: header,
|
|
122
124
|
heading: heading,
|
|
123
125
|
image: image
|
|
124
|
-
}, rest), /*#__PURE__*/_react.default.createElement(Header, null), /*#__PURE__*/_react.default.createElement(
|
|
126
|
+
}, rest), /*#__PURE__*/_react.default.createElement(Header, null), /*#__PURE__*/_react.default.createElement(_modalBody.default, null, /*#__PURE__*/_react.default.createElement(_modal.ModalBody, null, heading && /*#__PURE__*/_react.default.createElement(CustomHeader, null), children)), /*#__PURE__*/_react.default.createElement(Footer, null))
|
|
125
127
|
);
|
|
126
128
|
}
|
|
127
129
|
}]);
|
|
@@ -14,7 +14,7 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
14
14
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
15
|
var _customThemeButton = _interopRequireWildcard(require("@atlaskit/button/custom-theme-button"));
|
|
16
16
|
var _css = require("@atlaskit/css");
|
|
17
|
-
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
17
|
+
var _heading = _interopRequireDefault(require("@atlaskit/heading/heading"));
|
|
18
18
|
var _useLayering2 = require("@atlaskit/layering/use-layering");
|
|
19
19
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
20
20
|
var _dialog = require("../styled/dialog");
|
|
@@ -14,7 +14,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
14
14
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
15
15
|
var _react = _interopRequireWildcard(require("react"));
|
|
16
16
|
var _reactFocusLock = _interopRequireDefault(require("react-focus-lock"));
|
|
17
|
-
var
|
|
17
|
+
var _main = require("@atlaskit/popper/main");
|
|
18
18
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
19
19
|
var _dialog = require("../styled/dialog");
|
|
20
20
|
var _spotlightCard = _interopRequireDefault(require("./spotlight-card"));
|
|
@@ -112,7 +112,7 @@ var SpotlightDialogComponent = /*#__PURE__*/function (_Component) {
|
|
|
112
112
|
tether: false
|
|
113
113
|
}
|
|
114
114
|
}];
|
|
115
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
115
|
+
return /*#__PURE__*/_react.default.createElement(_main.Popper, {
|
|
116
116
|
modifiers: modifiers,
|
|
117
117
|
referenceElement: targetNode,
|
|
118
118
|
placement: translatedPlacement
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
10
10
|
var _nodeResolverSpotlightTarget = _interopRequireDefault(require("./node-resolver-spotlight-target"));
|
|
11
11
|
var _spotlightManager = require("./spotlight-manager");
|
|
12
12
|
/**
|
|
@@ -31,7 +31,7 @@ var SpotlightTarget = function SpotlightTarget(_ref) {
|
|
|
31
31
|
}
|
|
32
32
|
return getTargetRef ? /*#__PURE__*/_react.default.createElement(_nodeResolverSpotlightTarget.default, {
|
|
33
33
|
name: name,
|
|
34
|
-
hasNodeResolver: !(0,
|
|
34
|
+
hasNodeResolver: !(0, _fg.fg)('platform_design_system_team_onboarding_noderesolve'),
|
|
35
35
|
getTargetRef: getTargetRef
|
|
36
36
|
}, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, children)) : children;
|
|
37
37
|
});
|
|
@@ -9,7 +9,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _bindEventListener = require("bind-event-listener");
|
|
11
11
|
var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
|
|
12
|
-
var
|
|
12
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
13
13
|
// The minimum interval between position updates in milliseconds
|
|
14
14
|
var POSITION_UPDATE_INTERVAL = 200;
|
|
15
15
|
var getElementRect = function getElementRect(element) {
|
|
@@ -37,7 +37,7 @@ var useResizeAwareElementBox = function useResizeAwareElementBox(element, update
|
|
|
37
37
|
setBox = _useState2[1];
|
|
38
38
|
(0, _react.useLayoutEffect)(function () {
|
|
39
39
|
if (updateMethod === 'resizeListener') {
|
|
40
|
-
if ((0,
|
|
40
|
+
if ((0, _fg.fg)('scroll-lock-replacement')) {
|
|
41
41
|
// use setTimeout 0 to defer the state update to avoid content shifting when pages have scrollbars
|
|
42
42
|
// more details are https://www.loom.com/share/96a5d7c2afd74146a3c005bf20a8c69e?sid=968b00c1-e5ab-4ea0-9fe4-e534fe7088e4
|
|
43
43
|
setTimeout(function () {
|
|
@@ -87,7 +87,7 @@ var usePollingElementBox = function usePollingElementBox(element, updateMethod)
|
|
|
87
87
|
setTop = _useState0[1];
|
|
88
88
|
(0, _react.useLayoutEffect)(function () {
|
|
89
89
|
if (updateMethod === 'polling') {
|
|
90
|
-
if ((0,
|
|
90
|
+
if ((0, _fg.fg)('scroll-lock-replacement')) {
|
|
91
91
|
// use setTimeout 0 to defer the state update to avoid content shifting when pages have scrollbars
|
|
92
92
|
// more details are https://www.loom.com/share/96a5d7c2afd74146a3c005bf20a8c69e?sid=968b00c1-e5ab-4ea0-9fe4-e534fe7088e4
|
|
93
93
|
setTimeout(function () {
|
|
@@ -2,7 +2,9 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import React, { Component } from 'react';
|
|
4
4
|
import Button, { Theme as ButtonTheme } from '@atlaskit/button/custom-theme-button';
|
|
5
|
-
import Modal
|
|
5
|
+
import Modal from '@atlaskit/modal-dialog/modal-dialog';
|
|
6
|
+
import ModalBody from '@atlaskit/modal-dialog/modal-body';
|
|
7
|
+
import { useModal } from '@atlaskit/modal-dialog/hooks';
|
|
6
8
|
import { ModalBody as Body, ModalHeading as Heading, ModalActionContainer, ModalActionItem, ModalImage } from '../styled/modal';
|
|
7
9
|
import { modalButtonTheme } from './theme';
|
|
8
10
|
|
|
@@ -5,7 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { forwardRef } from 'react';
|
|
6
6
|
import Button, { Theme as ButtonTheme } from '@atlaskit/button/custom-theme-button';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
|
-
import Heading from '@atlaskit/heading';
|
|
8
|
+
import Heading from '@atlaskit/heading/heading';
|
|
9
9
|
import { useLayering } from '@atlaskit/layering/use-layering';
|
|
10
10
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
11
11
|
import { DialogActionItem, DialogActionItemContainer } from '../styled/dialog';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
3
|
import FocusLock from 'react-focus-lock';
|
|
4
|
-
import { Popper } from '@atlaskit/popper';
|
|
4
|
+
import { Popper } from '@atlaskit/popper/main';
|
|
5
5
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
6
6
|
import { DialogImage } from '../styled/dialog';
|
|
7
7
|
import SpotlightCard from './spotlight-card';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
import NodeResolverSpotlightTarget from './node-resolver-spotlight-target';
|
|
4
4
|
import { TargetConsumer } from './spotlight-manager';
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
2
2
|
import { bind } from 'bind-event-listener';
|
|
3
3
|
import __noop from '@atlaskit/ds-lib/noop';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
5
|
// The minimum interval between position updates in milliseconds
|
|
6
6
|
const POSITION_UPDATE_INTERVAL = 200;
|
|
7
7
|
const getElementRect = element => {
|
|
@@ -12,7 +12,9 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
12
12
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
13
13
|
import React, { Component } from 'react';
|
|
14
14
|
import Button, { Theme as ButtonTheme } from '@atlaskit/button/custom-theme-button';
|
|
15
|
-
import Modal
|
|
15
|
+
import Modal from '@atlaskit/modal-dialog/modal-dialog';
|
|
16
|
+
import ModalBody from '@atlaskit/modal-dialog/modal-body';
|
|
17
|
+
import { useModal } from '@atlaskit/modal-dialog/hooks';
|
|
16
18
|
import { ModalBody as Body, ModalHeading as Heading, ModalActionContainer, ModalActionItem, ModalImage } from '../styled/modal';
|
|
17
19
|
import { modalButtonTheme } from './theme';
|
|
18
20
|
|
|
@@ -7,7 +7,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
7
7
|
import { forwardRef } from 'react';
|
|
8
8
|
import Button, { Theme as ButtonTheme } from '@atlaskit/button/custom-theme-button';
|
|
9
9
|
import { cx } from '@atlaskit/css';
|
|
10
|
-
import Heading from '@atlaskit/heading';
|
|
10
|
+
import Heading from '@atlaskit/heading/heading';
|
|
11
11
|
import { useLayering } from '@atlaskit/layering/use-layering';
|
|
12
12
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
13
13
|
import { DialogActionItem, DialogActionItemContainer } from '../styled/dialog';
|
|
@@ -8,7 +8,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
8
8
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
9
|
import React, { Component } from 'react';
|
|
10
10
|
import FocusLock from 'react-focus-lock';
|
|
11
|
-
import { Popper } from '@atlaskit/popper';
|
|
11
|
+
import { Popper } from '@atlaskit/popper/main';
|
|
12
12
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
13
13
|
import { DialogImage } from '../styled/dialog';
|
|
14
14
|
import SpotlightCard from './spotlight-card';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
3
3
|
import NodeResolverSpotlightTarget from './node-resolver-spotlight-target';
|
|
4
4
|
import { TargetConsumer } from './spotlight-manager';
|
|
5
5
|
/**
|
|
@@ -2,7 +2,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
2
2
|
import { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
3
3
|
import { bind } from 'bind-event-listener';
|
|
4
4
|
import __noop from '@atlaskit/ds-lib/noop';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
6
|
// The minimum interval between position updates in milliseconds
|
|
7
7
|
var POSITION_UPDATE_INTERVAL = 200;
|
|
8
8
|
var getElementRect = function getElementRect(element) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Component, type ElementType, type ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ModalFooterProps as FooterComponentProps } from '@atlaskit/modal-dialog/modal-footer';
|
|
3
|
+
import type { ModalHeaderProps as HeaderComponentProps } from '@atlaskit/modal-dialog/modal-header';
|
|
3
4
|
import { type Actions } from '../types';
|
|
4
5
|
type ModalProps = {
|
|
5
6
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/onboarding",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.3.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/"
|
|
@@ -54,21 +54,21 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@atlaskit/button": "^25.
|
|
57
|
+
"@atlaskit/button": "^25.2.0",
|
|
58
58
|
"@atlaskit/css": "^1.0.0",
|
|
59
59
|
"@atlaskit/ds-lib": "^8.0.0",
|
|
60
|
-
"@atlaskit/heading": "^7.
|
|
61
|
-
"@atlaskit/layering": "^5.
|
|
62
|
-
"@atlaskit/modal-dialog": "^16.
|
|
63
|
-
"@atlaskit/motion": "^8.
|
|
60
|
+
"@atlaskit/heading": "^7.1.0",
|
|
61
|
+
"@atlaskit/layering": "^5.1.0",
|
|
62
|
+
"@atlaskit/modal-dialog": "^16.5.0",
|
|
63
|
+
"@atlaskit/motion": "^8.3.0",
|
|
64
64
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
65
|
-
"@atlaskit/popper": "^9.
|
|
66
|
-
"@atlaskit/portal": "^6.
|
|
67
|
-
"@atlaskit/primitives": "^22.
|
|
65
|
+
"@atlaskit/popper": "^9.3.0",
|
|
66
|
+
"@atlaskit/portal": "^6.3.0",
|
|
67
|
+
"@atlaskit/primitives": "^22.4.0",
|
|
68
68
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
69
|
-
"@atlaskit/tokens": "^16.
|
|
69
|
+
"@atlaskit/tokens": "^16.8.0",
|
|
70
70
|
"@babel/runtime": "^7.0.0",
|
|
71
|
-
"@compiled/react": "^1.0.
|
|
71
|
+
"@compiled/react": "^1.0.2",
|
|
72
72
|
"bind-event-listener": "^3.0.0",
|
|
73
73
|
"exenv": "^1.2.2",
|
|
74
74
|
"memoize-one": "^6.0.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@af/accessibility-testing": "workspace:^",
|
|
86
86
|
"@af/integration-testing": "workspace:^",
|
|
87
87
|
"@af/visual-regression": "workspace:^",
|
|
88
|
-
"@atlaskit/theme": "^
|
|
88
|
+
"@atlaskit/theme": "^28.1.0",
|
|
89
89
|
"@atlassian/ssr-tests": "workspace:^",
|
|
90
90
|
"@atlassian/testing-library": "^0.11.0",
|
|
91
91
|
"@testing-library/react": "^16.3.0",
|
package/onboarding.docs.tsx
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Structured MCP docs for `@atlaskit/onboarding`.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import path from 'path';
|
|
6
|
-
|
|
7
|
-
import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
|
|
8
|
-
|
|
9
|
-
import packageJson from './package.json';
|
|
10
|
-
|
|
11
|
-
const packagePath = path.resolve(__dirname);
|
|
12
|
-
|
|
13
|
-
const documentation: StructuredContentSource = {
|
|
14
|
-
package: {
|
|
15
|
-
package: '@atlaskit/onboarding',
|
|
16
|
-
packagePath,
|
|
17
|
-
packageJson,
|
|
18
|
-
overview:
|
|
19
|
-
'An onboarding spotlight introduces new features to users through focused messages or multi-step tours. Note that this package is deprecated in favor of `@atlaskit/spotlight`.',
|
|
20
|
-
},
|
|
21
|
-
components: [
|
|
22
|
-
{
|
|
23
|
-
name: 'Spotlight',
|
|
24
|
-
description: 'A component that highlights a specific element on the page with a message.',
|
|
25
|
-
status: 'deprecated',
|
|
26
|
-
import: {
|
|
27
|
-
name: 'Spotlight',
|
|
28
|
-
package: '@atlaskit/onboarding/spotlight',
|
|
29
|
-
type: 'default',
|
|
30
|
-
packagePath,
|
|
31
|
-
packageJson,
|
|
32
|
-
},
|
|
33
|
-
usageGuidelines: [
|
|
34
|
-
'Use `Spotlight` to guide users through new features.',
|
|
35
|
-
'Consider migrating to `@atlaskit/spotlight` for new implementations.',
|
|
36
|
-
],
|
|
37
|
-
keywords: ['onboarding', 'spotlight', 'tour'],
|
|
38
|
-
categories: ['messaging'],
|
|
39
|
-
examples: [
|
|
40
|
-
{
|
|
41
|
-
name: 'Spotlight basic',
|
|
42
|
-
description: 'Basic usage of Spotlight.',
|
|
43
|
-
source: path.resolve(packagePath, './examples/10-spotlight-basic.tsx'),
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
export default documentation;
|