@atlaskit/spotlight 0.2.6 → 0.3.1

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 (79) hide show
  1. package/CHANGELOG.md +19 -1
  2. package/constellation/index/examples.mdx +1 -19
  3. package/dist/cjs/controllers/context.js +5 -2
  4. package/dist/cjs/ui/actions/index.js +3 -2
  5. package/dist/cjs/ui/body/index.compiled.css +2 -1
  6. package/dist/cjs/ui/body/index.js +4 -3
  7. package/dist/cjs/ui/card/caret/index.compiled.css +6 -4
  8. package/dist/cjs/ui/card/caret/index.js +9 -9
  9. package/dist/cjs/ui/dismiss-control/index.js +4 -3
  10. package/dist/cjs/ui/footer/index.js +3 -2
  11. package/dist/cjs/ui/header/index.js +3 -2
  12. package/dist/cjs/ui/headline/index.js +4 -1
  13. package/dist/cjs/ui/media/index.js +3 -2
  14. package/dist/cjs/ui/popover-provider/index.js +6 -3
  15. package/dist/cjs/ui/primary-action/index.js +4 -3
  16. package/dist/cjs/ui/secondary-action/index.js +4 -3
  17. package/dist/cjs/ui/show-more-control/index.js +4 -3
  18. package/dist/cjs/ui/step-count/index.js +4 -3
  19. package/dist/es2019/controllers/context.js +4 -1
  20. package/dist/es2019/ui/actions/index.js +2 -1
  21. package/dist/es2019/ui/body/index.compiled.css +2 -1
  22. package/dist/es2019/ui/body/index.js +3 -2
  23. package/dist/es2019/ui/card/caret/index.compiled.css +6 -4
  24. package/dist/es2019/ui/card/caret/index.js +9 -9
  25. package/dist/es2019/ui/dismiss-control/index.js +2 -1
  26. package/dist/es2019/ui/footer/index.js +2 -1
  27. package/dist/es2019/ui/header/index.js +2 -1
  28. package/dist/es2019/ui/headline/index.js +4 -1
  29. package/dist/es2019/ui/media/index.js +2 -1
  30. package/dist/es2019/ui/popover-provider/index.js +3 -1
  31. package/dist/es2019/ui/primary-action/index.js +2 -1
  32. package/dist/es2019/ui/secondary-action/index.js +2 -1
  33. package/dist/es2019/ui/show-more-control/index.js +2 -1
  34. package/dist/es2019/ui/step-count/index.js +2 -1
  35. package/dist/esm/controllers/context.js +4 -1
  36. package/dist/esm/ui/actions/index.js +2 -1
  37. package/dist/esm/ui/body/index.compiled.css +2 -1
  38. package/dist/esm/ui/body/index.js +3 -2
  39. package/dist/esm/ui/card/caret/index.compiled.css +6 -4
  40. package/dist/esm/ui/card/caret/index.js +9 -9
  41. package/dist/esm/ui/dismiss-control/index.js +2 -1
  42. package/dist/esm/ui/footer/index.js +2 -1
  43. package/dist/esm/ui/header/index.js +2 -1
  44. package/dist/esm/ui/headline/index.js +4 -1
  45. package/dist/esm/ui/media/index.js +2 -1
  46. package/dist/esm/ui/popover-provider/index.js +3 -1
  47. package/dist/esm/ui/primary-action/index.js +2 -1
  48. package/dist/esm/ui/secondary-action/index.js +2 -1
  49. package/dist/esm/ui/show-more-control/index.js +2 -1
  50. package/dist/esm/ui/step-count/index.js +2 -1
  51. package/dist/types/controllers/context.d.ts +7 -3
  52. package/dist/types/ui/actions/index.d.ts +6 -2
  53. package/dist/types/ui/body/index.d.ts +6 -2
  54. package/dist/types/ui/card/caret/index.d.ts +0 -4
  55. package/dist/types/ui/dismiss-control/index.d.ts +1 -2
  56. package/dist/types/ui/footer/index.d.ts +6 -2
  57. package/dist/types/ui/header/index.d.ts +6 -2
  58. package/dist/types/ui/headline/index.d.ts +6 -2
  59. package/dist/types/ui/media/index.d.ts +6 -2
  60. package/dist/types/ui/popover-provider/index.d.ts +6 -2
  61. package/dist/types/ui/primary-action/index.d.ts +6 -2
  62. package/dist/types/ui/secondary-action/index.d.ts +6 -2
  63. package/dist/types/ui/show-more-control/index.d.ts +1 -2
  64. package/dist/types/ui/step-count/index.d.ts +6 -2
  65. package/dist/types-ts4.5/controllers/context.d.ts +7 -3
  66. package/dist/types-ts4.5/ui/actions/index.d.ts +6 -2
  67. package/dist/types-ts4.5/ui/body/index.d.ts +6 -2
  68. package/dist/types-ts4.5/ui/card/caret/index.d.ts +0 -4
  69. package/dist/types-ts4.5/ui/dismiss-control/index.d.ts +1 -2
  70. package/dist/types-ts4.5/ui/footer/index.d.ts +6 -2
  71. package/dist/types-ts4.5/ui/header/index.d.ts +6 -2
  72. package/dist/types-ts4.5/ui/headline/index.d.ts +6 -2
  73. package/dist/types-ts4.5/ui/media/index.d.ts +6 -2
  74. package/dist/types-ts4.5/ui/popover-provider/index.d.ts +6 -2
  75. package/dist/types-ts4.5/ui/primary-action/index.d.ts +6 -2
  76. package/dist/types-ts4.5/ui/secondary-action/index.d.ts +6 -2
  77. package/dist/types-ts4.5/ui/show-more-control/index.d.ts +1 -2
  78. package/dist/types-ts4.5/ui/step-count/index.d.ts +6 -2
  79. package/package.json +2 -2
@@ -1,5 +1,8 @@
1
+ /* context.tsx generated by @compiled/babel-plugin v0.36.1 */
1
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
- import React, { createContext, useState } from 'react';
3
+ import * as React from 'react';
4
+ import { ax, ix } from "@compiled/react/runtime";
5
+ import { createContext, useState } from 'react';
3
6
 
4
7
  // eslint-disable-next-line @repo/internal/react/consistent-types-definitions
5
8
 
@@ -1,7 +1,8 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
+ import * as React from 'react';
3
4
  import { ax, ix } from "@compiled/react/runtime";
4
- import React, { forwardRef } from 'react';
5
+ import { forwardRef } from 'react';
5
6
  import { Flex } from '@atlaskit/primitives/compiled';
6
7
  var styles = {
7
8
  root: "_1bsb1osq"
@@ -1,2 +1,3 @@
1
1
  ._18zrpxbi{padding-inline:var(--ds-space-200,1pc)}
2
- ._1q51u2gc{padding-block-start:var(--ds-space-100,8px)}
2
+ ._1q51u2gc{padding-block-start:var(--ds-space-100,8px)}
3
+ ._syaz15cr{color:var(--ds-text-inverse,#fff)}
@@ -1,10 +1,11 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
+ import * as React from 'react';
3
4
  import { ax, ix } from "@compiled/react/runtime";
4
- import React, { forwardRef } from 'react';
5
+ import { forwardRef } from 'react';
5
6
  import { Box } from '@atlaskit/primitives/compiled';
6
7
  var styles = {
7
- root: "_18zrpxbi _1q51u2gc"
8
+ root: "_18zrpxbi _syaz15cr _1q51u2gc"
8
9
  };
9
10
  /**
10
11
  * __SpotlightBody__
@@ -1,8 +1,10 @@
1
- ._13lit94y{border-top-left-radius:1px}
2
1
  ._1bsbo7ao{width:15px}
3
- ._1o0zt94y{border-bottom-right-radius:1px}
2
+ ._1eint94y{border-end-end-radius:1px}
3
+ ._1pby1fw0{z-index:700}
4
+ ._1s1gt94y{border-start-start-radius:1px}
5
+ ._1yxnt94y{border-end-start-radius:1px}
4
6
  ._4t3io7ao{height:15px}
7
+ ._5fbct94y{border-start-end-radius:1px}
5
8
  ._bfhkcdhy{background-color:var(--ds-background-neutral-bold,#44546f)}
6
- ._mrkbt94y{border-bottom-left-radius:1px}
7
- ._qrwqt94y{border-top-right-radius:1px}
9
+ ._kqswh2mm{position:relative}
8
10
  ._t9ecjyd4{transform:rotate(45deg)}
@@ -5,15 +5,15 @@ import { ax, ix } from "@compiled/react/runtime";
5
5
  import { forwardRef, useContext } from 'react';
6
6
  import { SpotlightContext } from '../../../controllers/context';
7
7
  var styles = {
8
- root: "_1bsbo7ao _4t3io7ao _t9ecjyd4 _bfhkcdhy",
9
- 'top-start': "_1o0zt94y",
10
- 'top-end': "_1o0zt94y",
11
- 'bottom-start': "_13lit94y",
12
- 'bottom-end': "_13lit94y",
13
- 'right-start': "_mrkbt94y",
14
- 'right-end': "_mrkbt94y",
15
- 'left-start': "_qrwqt94y",
16
- 'left-end': "_qrwqt94y"
8
+ root: "_kqswh2mm _1pby1fw0 _1bsbo7ao _4t3io7ao _t9ecjyd4 _bfhkcdhy",
9
+ 'top-start': "_1eint94y",
10
+ 'top-end': "_1eint94y",
11
+ 'bottom-start': "_1s1gt94y",
12
+ 'bottom-end': "_1s1gt94y",
13
+ 'right-start': "_1yxnt94y",
14
+ 'right-end': "_1yxnt94y",
15
+ 'left-start': "_5fbct94y",
16
+ 'left-end': "_5fbct94y"
17
17
  };
18
18
  /**
19
19
  * __Caret__
@@ -1,7 +1,8 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
+ import * as React from 'react';
3
4
  import { ax, ix } from "@compiled/react/runtime";
4
- import React, { forwardRef } from 'react';
5
+ import { forwardRef } from 'react';
5
6
  import CrossIcon from '@atlaskit/icon/core/cross';
6
7
  import { Pressable } from '@atlaskit/primitives/compiled';
7
8
  var styles = {
@@ -1,7 +1,8 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
+ import * as React from 'react';
3
4
  import { ax, ix } from "@compiled/react/runtime";
4
- import React, { forwardRef } from 'react';
5
+ import { forwardRef } from 'react';
5
6
  import { Flex } from '@atlaskit/primitives/compiled';
6
7
  var styles = {
7
8
  root: "_bozgpxbi _y4tiutpp _1bsb1osq"
@@ -1,7 +1,8 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
+ import * as React from 'react';
3
4
  import { ax, ix } from "@compiled/react/runtime";
4
- import React, { forwardRef } from 'react';
5
+ import { forwardRef } from 'react';
5
6
  import { Flex } from '@atlaskit/primitives/compiled';
6
7
  var styles = {
7
8
  root: "_bozgpxbi _y4tiutpp"
@@ -1,4 +1,7 @@
1
- import React, { forwardRef } from 'react';
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import * as React from 'react';
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import { forwardRef } from 'react';
2
5
  import Heading from '@atlaskit/heading';
3
6
  /**
4
7
  * __SpotlightHeadline__
@@ -1,7 +1,8 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
+ import * as React from 'react';
3
4
  import { ax, ix } from "@compiled/react/runtime";
4
- import React, { forwardRef } from 'react';
5
+ import { forwardRef } from 'react';
5
6
  import { Box } from '@atlaskit/primitives/compiled';
6
7
  var styles = {
7
8
  root: "_1bsbaq3k _4t3ihcro"
@@ -1,4 +1,6 @@
1
- import React from 'react';
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import * as React from 'react';
3
+ import { ax, ix } from "@compiled/react/runtime";
2
4
  import { Manager } from '@atlaskit/popper';
3
5
  import { SpotlightContextProvider } from '../../controllers/context';
4
6
 
@@ -1,7 +1,8 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
+ import * as React from 'react';
3
4
  import { ax, ix } from "@compiled/react/runtime";
4
- import React, { forwardRef } from 'react';
5
+ import { forwardRef } from 'react';
5
6
  import { Pressable, Text } from '@atlaskit/primitives/compiled';
6
7
  var styles = {
7
8
  root: "_2rko12b0 _1dqonqa1 _189ee4h9 _1h6dz9xs _syaz15cr _bfhkcdhy _irr31bsc _1di61b6k"
@@ -1,7 +1,8 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
+ import * as React from 'react';
3
4
  import { ax, ix } from "@compiled/react/runtime";
4
- import React, { forwardRef } from 'react';
5
+ import { forwardRef } from 'react';
5
6
  import { Pressable, Text } from '@atlaskit/primitives/compiled';
6
7
  var styles = {
7
8
  root: "_2rko12b0 _syaz15cr _bfhkcdhy _irr31bsc _1di61b6k"
@@ -1,7 +1,8 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
+ import * as React from 'react';
3
4
  import { ax, ix } from "@compiled/react/runtime";
4
- import React, { forwardRef } from 'react';
5
+ import { forwardRef } from 'react';
5
6
  import ShowMoreHorizontalIcon from '@atlaskit/icon/core/show-more-horizontal';
6
7
  import { Pressable } from '@atlaskit/primitives/compiled';
7
8
  var styles = {
@@ -1,7 +1,8 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
2
  import "./index.compiled.css";
3
+ import * as React from 'react';
3
4
  import { ax, ix } from "@compiled/react/runtime";
4
- import React, { forwardRef } from 'react';
5
+ import { forwardRef } from 'react';
5
6
  import { Flex, Text } from '@atlaskit/primitives/compiled';
6
7
  var styles = {
7
8
  root: "_1ul91ris"
@@ -1,11 +1,15 @@
1
- import React, { type Dispatch, type ReactNode, type SetStateAction } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type Dispatch, type ReactNode, type SetStateAction } from 'react';
2
6
  import type { Placement } from '../types';
3
7
  interface SpotlightContextType {
4
8
  placement: Placement;
5
9
  setPlacement: Dispatch<SetStateAction<Placement>>;
6
10
  }
7
- export declare const SpotlightContext: React.Context<SpotlightContextType>;
11
+ export declare const SpotlightContext: import("react").Context<SpotlightContextType>;
8
12
  export declare const SpotlightContextProvider: ({ children }: {
9
13
  children: ReactNode;
10
- }) => React.JSX.Element;
14
+ }) => JSX.Element;
11
15
  export {};
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightActionsProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -17,4 +21,4 @@ export interface SpotlightActionsProps {
17
21
  * `SpotlightActions` groups `SpotlightAction` components.
18
22
  *
19
23
  */
20
- export declare const SpotlightActions: React.ForwardRefExoticComponent<SpotlightActionsProps & React.RefAttributes<HTMLDivElement>>;
24
+ export declare const SpotlightActions: import("react").ForwardRefExoticComponent<SpotlightActionsProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightBodyProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -18,4 +22,4 @@ export interface SpotlightBodyProps {
18
22
  * `SpotlightBody` is required in a `Spotlight`. The content should be brief and direct to elaborate on the intent.
19
23
  *
20
24
  */
21
- export declare const SpotlightBody: React.ForwardRefExoticComponent<SpotlightBodyProps & React.RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightBody: import("react").ForwardRefExoticComponent<SpotlightBodyProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,3 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
1
  export interface CaretProps {
6
2
  /**
7
3
  * A `testId` prop is provided for specified elements, which is a unique
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { type PressableProps } from '@atlaskit/primitives/compiled';
3
2
  export interface SpotlightDismissControlProps {
4
3
  /**
@@ -18,4 +17,4 @@ export interface SpotlightDismissControlProps {
18
17
  * SpotlightDismissControl allows the user to close the `Spotlight`.
19
18
  *
20
19
  */
21
- export declare const SpotlightDismissControl: React.ForwardRefExoticComponent<SpotlightDismissControlProps & React.RefAttributes<HTMLButtonElement>>;
20
+ export declare const SpotlightDismissControl: import("react").ForwardRefExoticComponent<SpotlightDismissControlProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightFooterProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -17,4 +21,4 @@ export interface SpotlightFooterProps {
17
21
  * `SpotlightFooter` is intended to display the `SpotlightActions` and `SpotLightStepCount` components.
18
22
  *
19
23
  */
20
- export declare const SpotlightFooter: React.ForwardRefExoticComponent<SpotlightFooterProps & React.RefAttributes<HTMLDivElement>>;
24
+ export declare const SpotlightFooter: import("react").ForwardRefExoticComponent<SpotlightFooterProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightHeaderProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -18,4 +22,4 @@ export interface SpotlightHeaderProps {
18
22
  * intended to show the `SpotlightHeadline` component, as well as `SpotLightControls`.
19
23
  *
20
24
  */
21
- export declare const SpotlightHeader: React.ForwardRefExoticComponent<SpotlightHeaderProps & React.RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightHeader: import("react").ForwardRefExoticComponent<SpotlightHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightHeadlineProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -17,4 +21,4 @@ export interface SpotlightHeadlineProps {
17
21
  * `SpotlightHeadline` is required in a `Spotlight`. The content should be brief and direct to quickly hook the user on the intent.
18
22
  *
19
23
  */
20
- export declare const SpotlightHeadline: React.ForwardRefExoticComponent<SpotlightHeadlineProps & React.RefAttributes<HTMLHeadingElement>>;
24
+ export declare const SpotlightHeadline: import("react").ForwardRefExoticComponent<SpotlightHeadlineProps & import("react").RefAttributes<HTMLHeadingElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightMediaProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -18,4 +22,4 @@ export interface SpotlightMediaProps {
18
22
  * `SpotlightMedia` is optional in a `Spotlight`.
19
23
  *
20
24
  */
21
- export declare const SpotlightMedia: React.ForwardRefExoticComponent<SpotlightMediaProps & React.RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightMedia: import("react").ForwardRefExoticComponent<SpotlightMediaProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  /**
3
7
  * __Popover provider__
4
8
  *
@@ -7,4 +11,4 @@ import React, { type ReactNode } from 'react';
7
11
  */
8
12
  export declare const PopoverProvider: ({ children }: {
9
13
  children: ReactNode;
10
- }) => React.JSX.Element;
14
+ }) => JSX.Element;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  import { type PressableProps } from '@atlaskit/primitives/compiled';
3
7
  export interface SpotlightPrimaryActionProps {
4
8
  /**
@@ -23,4 +27,4 @@ export interface SpotlightPrimaryActionProps {
23
27
  * for single step spotlights, or to show the next step on multi step spotlight tours.
24
28
  *
25
29
  */
26
- export declare const SpotlightPrimaryAction: React.ForwardRefExoticComponent<SpotlightPrimaryActionProps & React.RefAttributes<HTMLButtonElement>>;
30
+ export declare const SpotlightPrimaryAction: import("react").ForwardRefExoticComponent<SpotlightPrimaryActionProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  import { type PressableProps } from '@atlaskit/primitives/compiled';
3
7
  export interface SpotlightSecondaryActionProps {
4
8
  /**
@@ -23,4 +27,4 @@ export interface SpotlightSecondaryActionProps {
23
27
  * It is intended to be used to go back to the previous step in multi step spotlight tours, or other similar actions.
24
28
  *
25
29
  */
26
- export declare const SpotlightSecondaryAction: React.ForwardRefExoticComponent<SpotlightSecondaryActionProps & React.RefAttributes<HTMLButtonElement>>;
30
+ export declare const SpotlightSecondaryAction: import("react").ForwardRefExoticComponent<SpotlightSecondaryActionProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { type PressableProps } from '@atlaskit/primitives/compiled';
3
2
  export interface SpotlightShowMoreControlProps {
4
3
  /**
@@ -18,4 +17,4 @@ export interface SpotlightShowMoreControlProps {
18
17
  * SpotlightShowMoreControl allows the user to close the `Spotlight`.
19
18
  *
20
19
  */
21
- export declare const SpotlightShowMoreControl: React.ForwardRefExoticComponent<SpotlightShowMoreControlProps & React.RefAttributes<HTMLButtonElement>>;
20
+ export declare const SpotlightShowMoreControl: import("react").ForwardRefExoticComponent<SpotlightShowMoreControlProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightStepCountProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -17,4 +21,4 @@ export interface SpotlightStepCountProps {
17
21
  * `SpotlightStepCount` groups `SpotlightAction` components.
18
22
  *
19
23
  */
20
- export declare const SpotlightStepCount: React.ForwardRefExoticComponent<SpotlightStepCountProps & React.RefAttributes<HTMLSpanElement>>;
24
+ export declare const SpotlightStepCount: import("react").ForwardRefExoticComponent<SpotlightStepCountProps & import("react").RefAttributes<HTMLSpanElement>>;
@@ -1,11 +1,15 @@
1
- import React, { type Dispatch, type ReactNode, type SetStateAction } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type Dispatch, type ReactNode, type SetStateAction } from 'react';
2
6
  import type { Placement } from '../types';
3
7
  interface SpotlightContextType {
4
8
  placement: Placement;
5
9
  setPlacement: Dispatch<SetStateAction<Placement>>;
6
10
  }
7
- export declare const SpotlightContext: React.Context<SpotlightContextType>;
11
+ export declare const SpotlightContext: import("react").Context<SpotlightContextType>;
8
12
  export declare const SpotlightContextProvider: ({ children }: {
9
13
  children: ReactNode;
10
- }) => React.JSX.Element;
14
+ }) => JSX.Element;
11
15
  export {};
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightActionsProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -17,4 +21,4 @@ export interface SpotlightActionsProps {
17
21
  * `SpotlightActions` groups `SpotlightAction` components.
18
22
  *
19
23
  */
20
- export declare const SpotlightActions: React.ForwardRefExoticComponent<SpotlightActionsProps & React.RefAttributes<HTMLDivElement>>;
24
+ export declare const SpotlightActions: import("react").ForwardRefExoticComponent<SpotlightActionsProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightBodyProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -18,4 +22,4 @@ export interface SpotlightBodyProps {
18
22
  * `SpotlightBody` is required in a `Spotlight`. The content should be brief and direct to elaborate on the intent.
19
23
  *
20
24
  */
21
- export declare const SpotlightBody: React.ForwardRefExoticComponent<SpotlightBodyProps & React.RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightBody: import("react").ForwardRefExoticComponent<SpotlightBodyProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,3 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
1
  export interface CaretProps {
6
2
  /**
7
3
  * A `testId` prop is provided for specified elements, which is a unique
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { type PressableProps } from '@atlaskit/primitives/compiled';
3
2
  export interface SpotlightDismissControlProps {
4
3
  /**
@@ -18,4 +17,4 @@ export interface SpotlightDismissControlProps {
18
17
  * SpotlightDismissControl allows the user to close the `Spotlight`.
19
18
  *
20
19
  */
21
- export declare const SpotlightDismissControl: React.ForwardRefExoticComponent<SpotlightDismissControlProps & React.RefAttributes<HTMLButtonElement>>;
20
+ export declare const SpotlightDismissControl: import("react").ForwardRefExoticComponent<SpotlightDismissControlProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightFooterProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -17,4 +21,4 @@ export interface SpotlightFooterProps {
17
21
  * `SpotlightFooter` is intended to display the `SpotlightActions` and `SpotLightStepCount` components.
18
22
  *
19
23
  */
20
- export declare const SpotlightFooter: React.ForwardRefExoticComponent<SpotlightFooterProps & React.RefAttributes<HTMLDivElement>>;
24
+ export declare const SpotlightFooter: import("react").ForwardRefExoticComponent<SpotlightFooterProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightHeaderProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -18,4 +22,4 @@ export interface SpotlightHeaderProps {
18
22
  * intended to show the `SpotlightHeadline` component, as well as `SpotLightControls`.
19
23
  *
20
24
  */
21
- export declare const SpotlightHeader: React.ForwardRefExoticComponent<SpotlightHeaderProps & React.RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightHeader: import("react").ForwardRefExoticComponent<SpotlightHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightHeadlineProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -17,4 +21,4 @@ export interface SpotlightHeadlineProps {
17
21
  * `SpotlightHeadline` is required in a `Spotlight`. The content should be brief and direct to quickly hook the user on the intent.
18
22
  *
19
23
  */
20
- export declare const SpotlightHeadline: React.ForwardRefExoticComponent<SpotlightHeadlineProps & React.RefAttributes<HTMLHeadingElement>>;
24
+ export declare const SpotlightHeadline: import("react").ForwardRefExoticComponent<SpotlightHeadlineProps & import("react").RefAttributes<HTMLHeadingElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightMediaProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -18,4 +22,4 @@ export interface SpotlightMediaProps {
18
22
  * `SpotlightMedia` is optional in a `Spotlight`.
19
23
  *
20
24
  */
21
- export declare const SpotlightMedia: React.ForwardRefExoticComponent<SpotlightMediaProps & React.RefAttributes<HTMLDivElement>>;
25
+ export declare const SpotlightMedia: import("react").ForwardRefExoticComponent<SpotlightMediaProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  /**
3
7
  * __Popover provider__
4
8
  *
@@ -7,4 +11,4 @@ import React, { type ReactNode } from 'react';
7
11
  */
8
12
  export declare const PopoverProvider: ({ children }: {
9
13
  children: ReactNode;
10
- }) => React.JSX.Element;
14
+ }) => JSX.Element;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  import { type PressableProps } from '@atlaskit/primitives/compiled';
3
7
  export interface SpotlightPrimaryActionProps {
4
8
  /**
@@ -23,4 +27,4 @@ export interface SpotlightPrimaryActionProps {
23
27
  * for single step spotlights, or to show the next step on multi step spotlight tours.
24
28
  *
25
29
  */
26
- export declare const SpotlightPrimaryAction: React.ForwardRefExoticComponent<SpotlightPrimaryActionProps & React.RefAttributes<HTMLButtonElement>>;
30
+ export declare const SpotlightPrimaryAction: import("react").ForwardRefExoticComponent<SpotlightPrimaryActionProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  import { type PressableProps } from '@atlaskit/primitives/compiled';
3
7
  export interface SpotlightSecondaryActionProps {
4
8
  /**
@@ -23,4 +27,4 @@ export interface SpotlightSecondaryActionProps {
23
27
  * It is intended to be used to go back to the previous step in multi step spotlight tours, or other similar actions.
24
28
  *
25
29
  */
26
- export declare const SpotlightSecondaryAction: React.ForwardRefExoticComponent<SpotlightSecondaryActionProps & React.RefAttributes<HTMLButtonElement>>;
30
+ export declare const SpotlightSecondaryAction: import("react").ForwardRefExoticComponent<SpotlightSecondaryActionProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { type PressableProps } from '@atlaskit/primitives/compiled';
3
2
  export interface SpotlightShowMoreControlProps {
4
3
  /**
@@ -18,4 +17,4 @@ export interface SpotlightShowMoreControlProps {
18
17
  * SpotlightShowMoreControl allows the user to close the `Spotlight`.
19
18
  *
20
19
  */
21
- export declare const SpotlightShowMoreControl: React.ForwardRefExoticComponent<SpotlightShowMoreControlProps & React.RefAttributes<HTMLButtonElement>>;
20
+ export declare const SpotlightShowMoreControl: import("react").ForwardRefExoticComponent<SpotlightShowMoreControlProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,8 @@
1
- import React, { type ReactNode } from 'react';
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
2
6
  export interface SpotlightStepCountProps {
3
7
  /**
4
8
  * A `testId` prop is provided for specified elements, which is a unique
@@ -17,4 +21,4 @@ export interface SpotlightStepCountProps {
17
21
  * `SpotlightStepCount` groups `SpotlightAction` components.
18
22
  *
19
23
  */
20
- export declare const SpotlightStepCount: React.ForwardRefExoticComponent<SpotlightStepCountProps & React.RefAttributes<HTMLSpanElement>>;
24
+ export declare const SpotlightStepCount: import("react").ForwardRefExoticComponent<SpotlightStepCountProps & import("react").RefAttributes<HTMLSpanElement>>;