@atlaskit/onboarding 11.6.0 → 11.7.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +2 -1
  3. package/__perf__/default.tsx +1 -3
  4. package/dist/cjs/components/modal.js +3 -1
  5. package/dist/cjs/components/spotlight-card.js +4 -0
  6. package/dist/cjs/components/spotlight-dialog.js +1 -1
  7. package/dist/cjs/styled/blanket.js +3 -1
  8. package/dist/cjs/styled/dialog.js +5 -1
  9. package/dist/cjs/styled/modal.js +8 -1
  10. package/dist/cjs/styled/target.js +7 -2
  11. package/dist/es2019/components/modal.js +5 -0
  12. package/dist/es2019/components/spotlight-card.js +5 -0
  13. package/dist/es2019/components/spotlight-dialog.js +1 -1
  14. package/dist/es2019/styled/blanket.js +4 -0
  15. package/dist/es2019/styled/dialog.js +5 -1
  16. package/dist/es2019/styled/modal.js +7 -1
  17. package/dist/es2019/styled/target.js +7 -2
  18. package/dist/esm/components/modal.js +5 -0
  19. package/dist/esm/components/spotlight-card.js +5 -0
  20. package/dist/esm/components/spotlight-dialog.js +1 -1
  21. package/dist/esm/styled/blanket.js +4 -0
  22. package/dist/esm/styled/dialog.js +5 -1
  23. package/dist/esm/styled/modal.js +7 -1
  24. package/dist/esm/styled/target.js +7 -2
  25. package/dist/types/components/modal.d.ts +3 -0
  26. package/dist/types/components/spotlight-card.d.ts +3 -0
  27. package/dist/types/components/spotlight.d.ts +8 -8
  28. package/dist/types/styled/blanket.d.ts +3 -0
  29. package/dist/types/styled/dialog.d.ts +4 -1
  30. package/dist/types/styled/modal.d.ts +4 -1
  31. package/dist/types/styled/target.d.ts +3 -0
  32. package/dist/types-ts4.5/components/modal.d.ts +3 -0
  33. package/dist/types-ts4.5/components/spotlight-card.d.ts +3 -0
  34. package/dist/types-ts4.5/components/spotlight.d.ts +8 -8
  35. package/dist/types-ts4.5/styled/blanket.d.ts +3 -0
  36. package/dist/types-ts4.5/styled/dialog.d.ts +4 -1
  37. package/dist/types-ts4.5/styled/modal.d.ts +4 -1
  38. package/dist/types-ts4.5/styled/target.d.ts +3 -0
  39. package/package.json +103 -103
  40. package/report.api.md +157 -173
package/package.json CHANGED
@@ -1,104 +1,104 @@
1
1
  {
2
- "name": "@atlaskit/onboarding",
3
- "version": "11.6.0",
4
- "description": "An onboarding spotlight introduces new features to users through focused messages or multi-step tours.",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- ">=4.5 <4.9": {
17
- "*": [
18
- "dist/types-ts4.5/*",
19
- "dist/types-ts4.5/index.d.ts"
20
- ]
21
- }
22
- },
23
- "sideEffects": false,
24
- "atlaskit:src": "src/index.tsx",
25
- "af:exports": {
26
- ".": "./src/index.tsx",
27
- "./types": "./src/types.tsx"
28
- },
29
- "homepage": "https://atlassian.design/components/onboarding/",
30
- "atlassian": {
31
- "team": "Design System Team",
32
- "releaseModel": "continuous",
33
- "productPushConsumption": [
34
- "jira"
35
- ],
36
- "website": {
37
- "name": "Onboarding (spotlight)",
38
- "category": "Components"
39
- },
40
- "runReact18": true
41
- },
42
- "dependencies": {
43
- "@atlaskit/analytics-next": "^9.3.0",
44
- "@atlaskit/button": "^17.17.0",
45
- "@atlaskit/ds-lib": "^2.3.0",
46
- "@atlaskit/heading": "^2.3.0",
47
- "@atlaskit/modal-dialog": "^12.13.0",
48
- "@atlaskit/motion": "^1.6.0",
49
- "@atlaskit/popper": "^6.0.0",
50
- "@atlaskit/portal": "^4.5.0",
51
- "@atlaskit/primitives": "^7.0.0",
52
- "@atlaskit/theme": "^12.9.0",
53
- "@atlaskit/tokens": "^1.49.0",
54
- "@babel/runtime": "^7.0.0",
55
- "@emotion/react": "^11.7.1",
56
- "bind-event-listener": "^3.0.0",
57
- "exenv": "^1.2.2",
58
- "memoize-one": "^6.0.0",
59
- "react-focus-lock": "^2.9.5",
60
- "react-node-resolver": "^1.0.1",
61
- "react-scrolllock": "^5.0.1",
62
- "react-transition-group": "^4.4.1",
63
- "scroll-into-view-if-needed": "^2.2.20"
64
- },
65
- "peerDependencies": {
66
- "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
67
- "react-dom": "^16.8.0"
68
- },
69
- "devDependencies": {
70
- "@af/accessibility-testing": "*",
71
- "@af/integration-testing": "*",
72
- "@af/visual-regression": "*",
73
- "@atlaskit/ssr": "*",
74
- "@atlaskit/visual-regression": "*",
75
- "@testing-library/react": "^12.1.5",
76
- "@testing-library/react-hooks": "^8.0.1",
77
- "@types/exenv": "^1.2.0",
78
- "@types/react-node-resolver": "^2.0.0",
79
- "@types/react-transition-group": "^2.0.6",
80
- "raf-stub": "^2.0.1",
81
- "react-dom": "^16.8.0",
82
- "react-lorem-component": "^0.13.0",
83
- "typescript": "~5.4.2"
84
- },
85
- "techstack": {
86
- "@atlassian/frontend": {
87
- "import-structure": "atlassian-conventions"
88
- },
89
- "@repo/internal": {
90
- "dom-events": "use-bind-event-listener",
91
- "analytics": "analytics-next",
92
- "design-tokens": [
93
- "color",
94
- "spacing"
95
- ],
96
- "styling": [
97
- "static",
98
- "emotion"
99
- ],
100
- "design-system": "v1",
101
- "deprecation": "no-deprecated-imports"
102
- }
103
- }
104
- }
2
+ "name": "@atlaskit/onboarding",
3
+ "version": "11.7.0",
4
+ "description": "An onboarding spotlight introduces new features to users through focused messages or multi-step tours.",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
23
+ "sideEffects": false,
24
+ "atlaskit:src": "src/index.tsx",
25
+ "af:exports": {
26
+ ".": "./src/index.tsx",
27
+ "./types": "./src/types.tsx"
28
+ },
29
+ "homepage": "https://atlassian.design/components/onboarding/",
30
+ "atlassian": {
31
+ "team": "Design System Team",
32
+ "releaseModel": "continuous",
33
+ "productPushConsumption": [
34
+ "jira"
35
+ ],
36
+ "website": {
37
+ "name": "Onboarding (spotlight)",
38
+ "category": "Components"
39
+ },
40
+ "runReact18": true
41
+ },
42
+ "dependencies": {
43
+ "@atlaskit/analytics-next": "^9.3.0",
44
+ "@atlaskit/button": "^17.17.0",
45
+ "@atlaskit/ds-lib": "^2.3.0",
46
+ "@atlaskit/heading": "^2.4.0",
47
+ "@atlaskit/modal-dialog": "^12.14.0",
48
+ "@atlaskit/motion": "^1.7.0",
49
+ "@atlaskit/popper": "^6.1.0",
50
+ "@atlaskit/portal": "^4.6.0",
51
+ "@atlaskit/primitives": "^7.4.0",
52
+ "@atlaskit/theme": "^12.10.0",
53
+ "@atlaskit/tokens": "^1.51.0",
54
+ "@babel/runtime": "^7.0.0",
55
+ "@emotion/react": "^11.7.1",
56
+ "bind-event-listener": "^3.0.0",
57
+ "exenv": "^1.2.2",
58
+ "memoize-one": "^6.0.0",
59
+ "react-focus-lock": "^2.9.5",
60
+ "react-node-resolver": "^1.0.1",
61
+ "react-scrolllock": "^5.0.1",
62
+ "react-transition-group": "^4.4.1",
63
+ "scroll-into-view-if-needed": "^2.2.20"
64
+ },
65
+ "peerDependencies": {
66
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
67
+ "react-dom": "^16.8.0"
68
+ },
69
+ "devDependencies": {
70
+ "@af/accessibility-testing": "*",
71
+ "@af/integration-testing": "*",
72
+ "@af/visual-regression": "*",
73
+ "@atlaskit/ssr": "*",
74
+ "@atlaskit/visual-regression": "*",
75
+ "@testing-library/react": "^12.1.5",
76
+ "@testing-library/react-hooks": "^8.0.1",
77
+ "@types/exenv": "^1.2.0",
78
+ "@types/react-node-resolver": "^2.0.0",
79
+ "@types/react-transition-group": "^2.0.6",
80
+ "raf-stub": "^2.0.1",
81
+ "react-dom": "^16.8.0",
82
+ "react-lorem-component": "^0.13.0",
83
+ "typescript": "~5.4.2"
84
+ },
85
+ "techstack": {
86
+ "@atlassian/frontend": {
87
+ "import-structure": "atlassian-conventions"
88
+ },
89
+ "@repo/internal": {
90
+ "dom-events": "use-bind-event-listener",
91
+ "analytics": "analytics-next",
92
+ "design-tokens": [
93
+ "color",
94
+ "spacing"
95
+ ],
96
+ "styling": [
97
+ "static",
98
+ "emotion"
99
+ ],
100
+ "design-system": "v1",
101
+ "deprecation": "no-deprecated-imports"
102
+ }
103
+ }
104
+ }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/onboarding"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -35,10 +36,10 @@ import { ThemeProp } from '@atlaskit/theme/components';
35
36
 
36
37
  // @public (undocumented)
37
38
  interface Action extends Omit<CustomThemeButtonProps, 'children'> {
38
- // (undocumented)
39
- key?: string;
40
- // (undocumented)
41
- text?: ReactNode;
39
+ // (undocumented)
40
+ key?: string;
41
+ // (undocumented)
42
+ text?: ReactNode;
42
43
  }
43
44
 
44
45
  // @public (undocumented)
@@ -46,244 +47,227 @@ type Actions = Action[];
46
47
 
47
48
  // @public (undocumented)
48
49
  type BaseProps = React.HTMLAttributes<HTMLDivElement> & {
49
- bgColor?: string;
50
- radius?: number;
51
- className?: string;
52
- testId?: string;
53
- children?: ReactNode;
50
+ bgColor?: string;
51
+ radius?: number;
52
+ className?: string;
53
+ testId?: string;
54
+ children?: ReactNode;
54
55
  };
55
56
 
56
57
  // @public @deprecated (undocumented)
57
58
  interface CardTokens {
58
- // @deprecated (undocumented)
59
- container: Record<string, string | undefined>;
59
+ // @deprecated (undocumented)
60
+ container: Record<string, string | undefined>;
60
61
  }
61
62
 
62
63
  // @public
63
64
  export class Modal extends Component<ModalProps> {
64
- // (undocumented)
65
- footerComponent: (
66
- props: ModalProps,
67
- ) => (() => jsx.JSX.Element | null) | ElementType<ModalFooterProps>;
68
- // (undocumented)
69
- headerComponent: (
70
- props: ModalProps,
71
- ) => (() => jsx.JSX.Element) | ElementType<ModalHeaderProps>;
72
- // (undocumented)
73
- render(): jsx.JSX.Element;
65
+ // (undocumented)
66
+ footerComponent: (
67
+ props: ModalProps,
68
+ ) => (() => jsx.JSX.Element | null) | ElementType<ModalFooterProps>;
69
+ // (undocumented)
70
+ headerComponent: (props: ModalProps) => (() => jsx.JSX.Element) | ElementType<ModalHeaderProps>;
71
+ // (undocumented)
72
+ render(): jsx.JSX.Element;
74
73
  }
75
74
 
76
75
  // @public @deprecated (undocumented)
77
- export const modalButtonTheme: (
78
- current: any,
79
- themeProps: Record<string, any>,
80
- ) => any;
76
+ export const modalButtonTheme: (current: any, themeProps: Record<string, any>) => any;
81
77
 
82
78
  // @public (undocumented)
83
79
  type ModalProps = {
84
- actions?: Actions;
85
- children: ReactNode;
86
- image?: string;
87
- header?: ElementType<ModalHeaderProps>;
88
- footer?: ElementType<ModalFooterProps>;
89
- heading?: string;
90
- experimental_shouldShowPrimaryButtonOnRight?: boolean;
80
+ actions?: Actions;
81
+ children: ReactNode;
82
+ image?: string;
83
+ header?: ElementType<ModalHeaderProps>;
84
+ footer?: ElementType<ModalFooterProps>;
85
+ heading?: string;
86
+ experimental_shouldShowPrimaryButtonOnRight?: boolean;
91
87
  };
92
88
 
93
89
  export { ModalTransition };
94
90
 
95
91
  // @public
96
92
  export const Spotlight: ({
97
- dialogWidth,
98
- pulse,
99
- testId,
100
- targetNode,
101
- target,
102
- ...rest
93
+ dialogWidth,
94
+ pulse,
95
+ testId,
96
+ targetNode,
97
+ target,
98
+ ...rest
103
99
  }: SpotlightProps) => JSX.Element;
104
100
 
105
101
  // @public @deprecated (undocumented)
106
- export const spotlightButtonTheme: (
107
- current: any,
108
- themeProps: Record<string, any>,
109
- ) => any;
102
+ export const spotlightButtonTheme: (current: any, themeProps: Record<string, any>) => any;
110
103
 
111
104
  // @public
112
105
  export const SpotlightCard: ForwardRefExoticComponent<
113
- SpotlightCardProps & RefAttributes<HTMLDivElement>
106
+ SpotlightCardProps & RefAttributes<HTMLDivElement>
114
107
  >;
115
108
 
116
109
  // @public (undocumented)
117
110
  interface SpotlightCardProps {
118
- actions?: Actions;
119
- actionsBeforeElement?: ReactNode;
120
- children?: ReactNode;
121
- components?: {
122
- Header?: ComponentType<any>;
123
- Footer?: ComponentType<any>;
124
- };
125
- heading?: ReactNode;
126
- headingAfterElement?: ReactNode;
127
- headingId?: string;
128
- image?: ReactNode | string;
129
- // @deprecated (undocumented)
130
- innerRef?: Ref<HTMLDivElement> | null;
131
- isFlat?: boolean;
132
- testId?: string;
133
- // @deprecated (undocumented)
134
- theme?: ThemeProp<CardTokens, {}>;
135
- width?: '100%' | number;
111
+ actions?: Actions;
112
+ actionsBeforeElement?: ReactNode;
113
+ children?: ReactNode;
114
+ components?: {
115
+ Header?: ComponentType<any>;
116
+ Footer?: ComponentType<any>;
117
+ };
118
+ heading?: ReactNode;
119
+ headingAfterElement?: ReactNode;
120
+ headingId?: string;
121
+ image?: ReactNode | string;
122
+ // @deprecated (undocumented)
123
+ innerRef?: Ref<HTMLDivElement> | null;
124
+ isFlat?: boolean;
125
+ testId?: string;
126
+ // @deprecated (undocumented)
127
+ theme?: ThemeProp<CardTokens, {}>;
128
+ width?: '100%' | number;
136
129
  }
137
130
 
138
131
  // @public
139
132
  export class SpotlightManager extends PureComponent<
140
- SpotlightManagerProps,
141
- {
142
- spotlightCount: number;
143
- targets: {
144
- [key: string]: HTMLElement | void;
145
- };
146
- }
133
+ SpotlightManagerProps,
134
+ {
135
+ spotlightCount: number;
136
+ targets: {
137
+ [key: string]: HTMLElement | void;
138
+ };
139
+ }
147
140
  > {
148
- // (undocumented)
149
- componentDidMount(): void;
150
- // (undocumented)
151
- static defaultProps: {
152
- blanketIsTinted: boolean;
153
- };
154
- // (undocumented)
155
- getStateProviderValue: MemoizedFn<
156
- (
157
- this: any,
158
- targets: any,
159
- ) => {
160
- opened: () => void;
161
- closed: () => void;
162
- targets: any;
163
- }
164
- >;
165
- // (undocumented)
166
- render(): JSX.Element;
167
- // (undocumented)
168
- spotlightClose: () => void;
169
- // (undocumented)
170
- spotlightOpen: () => void;
171
- // (undocumented)
172
- state: {
173
- spotlightCount: number;
174
- targets: {};
175
- };
176
- // (undocumented)
177
- targetRef: (name: string) => (element: HTMLElement | void) => void;
141
+ // (undocumented)
142
+ componentDidMount(): void;
143
+ // (undocumented)
144
+ static defaultProps: {
145
+ blanketIsTinted: boolean;
146
+ };
147
+ // (undocumented)
148
+ getStateProviderValue: MemoizedFn<
149
+ (
150
+ this: any,
151
+ targets: any,
152
+ ) => {
153
+ opened: () => void;
154
+ closed: () => void;
155
+ targets: any;
156
+ }
157
+ >;
158
+ // (undocumented)
159
+ render(): JSX.Element;
160
+ // (undocumented)
161
+ spotlightClose: () => void;
162
+ // (undocumented)
163
+ spotlightOpen: () => void;
164
+ // (undocumented)
165
+ state: {
166
+ spotlightCount: number;
167
+ targets: {};
168
+ };
169
+ // (undocumented)
170
+ targetRef: (name: string) => (element: HTMLElement | void) => void;
178
171
  }
179
172
 
180
173
  // @public (undocumented)
181
174
  interface SpotlightManagerProps {
182
- blanketIsTinted?: boolean;
183
- children: ReactNode;
184
- // @deprecated (undocumented)
185
- component?: ElementType;
175
+ blanketIsTinted?: boolean;
176
+ children: ReactNode;
177
+ // @deprecated (undocumented)
178
+ component?: ElementType;
186
179
  }
187
180
 
188
181
  // @public (undocumented)
189
182
  interface SpotlightProps {
190
- actions?: Actions;
191
- actionsBeforeElement?: ReactNode;
192
- children?: ReactNode;
193
- dialogPlacement?:
194
- | 'bottom center'
195
- | 'bottom left'
196
- | 'bottom right'
197
- | 'left bottom'
198
- | 'left middle'
199
- | 'left top'
200
- | 'right bottom'
201
- | 'right middle'
202
- | 'right top'
203
- | 'top center'
204
- | 'top left'
205
- | 'top right';
206
- dialogWidth?: number;
207
- footer?: ComponentType<any>;
208
- header?: ComponentType<any>;
209
- heading?: string;
210
- headingAfterElement?: ReactNode;
211
- image?: string;
212
- pulse?: boolean;
213
- target?: string;
214
- targetBgColor?: string;
215
- targetNode?: HTMLElement;
216
- targetOnClick?: (eventData: {
217
- event: MouseEvent_2<HTMLElement>;
218
- target?: string;
219
- }) => void;
220
- targetRadius?: number;
221
- targetReplacement?: ComponentType<any>;
222
- testId?: string;
183
+ actions?: Actions;
184
+ actionsBeforeElement?: ReactNode;
185
+ children?: ReactNode;
186
+ dialogPlacement?:
187
+ | 'bottom center'
188
+ | 'bottom left'
189
+ | 'bottom right'
190
+ | 'left bottom'
191
+ | 'left middle'
192
+ | 'left top'
193
+ | 'right bottom'
194
+ | 'right middle'
195
+ | 'right top'
196
+ | 'top center'
197
+ | 'top left'
198
+ | 'top right';
199
+ dialogWidth?: number;
200
+ footer?: ComponentType<any>;
201
+ header?: ComponentType<any>;
202
+ heading?: string;
203
+ headingAfterElement?: ReactNode;
204
+ image?: string;
205
+ pulse?: boolean;
206
+ target?: string;
207
+ targetBgColor?: string;
208
+ targetNode?: HTMLElement;
209
+ targetOnClick?: (eventData: { event: MouseEvent_2<HTMLElement>; target?: string }) => void;
210
+ targetRadius?: number;
211
+ targetReplacement?: ComponentType<any>;
212
+ testId?: string;
223
213
  }
224
214
 
225
215
  // @public
226
216
  export const SpotlightPulse: ({
227
- children,
228
- pulse,
229
- testId,
230
- ...props
217
+ children,
218
+ pulse,
219
+ testId,
220
+ ...props
231
221
  }: TargetProps) => jsx.JSX.Element;
232
222
 
233
223
  // @public
234
- export const SpotlightTarget: ({
235
- children,
236
- name,
237
- }: SpotlightTargetProps) => JSX.Element;
224
+ export const SpotlightTarget: ({ children, name }: SpotlightTargetProps) => JSX.Element;
238
225
 
239
226
  // @public (undocumented)
240
227
  interface SpotlightTargetProps {
241
- children: ReactNode;
242
- name: string;
228
+ children: ReactNode;
229
+ name: string;
243
230
  }
244
231
 
245
232
  // @public
246
- export class SpotlightTransition extends React_2.Component<
247
- SpotlightTransitionProps,
248
- State
249
- > {
250
- // (undocumented)
251
- static getDerivedStateFromProps(
252
- props: SpotlightTransitionProps,
253
- state: State,
254
- ): {
255
- currentChildren: React_2.ReactNode;
256
- };
257
- // (undocumented)
258
- onExited: () => void;
259
- // (undocumented)
260
- render(): JSX.Element;
261
- // (undocumented)
262
- state: {
263
- currentChildren: undefined;
264
- };
233
+ export class SpotlightTransition extends React_2.Component<SpotlightTransitionProps, State> {
234
+ // (undocumented)
235
+ static getDerivedStateFromProps(
236
+ props: SpotlightTransitionProps,
237
+ state: State,
238
+ ): {
239
+ currentChildren: React_2.ReactNode;
240
+ };
241
+ // (undocumented)
242
+ onExited: () => void;
243
+ // (undocumented)
244
+ render(): JSX.Element;
245
+ // (undocumented)
246
+ state: {
247
+ currentChildren: undefined;
248
+ };
265
249
  }
266
250
 
267
251
  // @public (undocumented)
268
252
  interface SpotlightTransitionProps {
269
- children?: ReactNode;
253
+ children?: ReactNode;
270
254
  }
271
255
 
272
256
  // @public (undocumented)
273
257
  interface State {
274
- // (undocumented)
275
- currentChildren: ReactNode;
258
+ // (undocumented)
259
+ currentChildren: ReactNode;
276
260
  }
277
261
 
278
262
  // @public (undocumented)
279
263
  type TargetProps = Omit<BaseProps, 'css'> & {
280
- pulse?: boolean;
281
- testId?: string;
264
+ pulse?: boolean;
265
+ testId?: string;
282
266
  };
283
267
 
284
268
  // @public
285
269
  export function useSpotlight(): {
286
- isTargetRendered: (target: string) => boolean;
270
+ isTargetRendered: (target: string) => boolean;
287
271
  };
288
272
 
289
273
  // (No @packageDocumentation comment for this package)
@@ -297,8 +281,8 @@ export function useSpotlight(): {
297
281
 
298
282
  ```json
299
283
  {
300
- "react": "^16.8.0",
301
- "react-dom": "^16.8.0"
284
+ "react": "^16.8.0",
285
+ "react-dom": "^16.8.0"
302
286
  }
303
287
  ```
304
288