@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.
- package/CHANGELOG.md +19 -1
- package/constellation/index/examples.mdx +1 -19
- package/dist/cjs/controllers/context.js +5 -2
- package/dist/cjs/ui/actions/index.js +3 -2
- package/dist/cjs/ui/body/index.compiled.css +2 -1
- package/dist/cjs/ui/body/index.js +4 -3
- package/dist/cjs/ui/card/caret/index.compiled.css +6 -4
- package/dist/cjs/ui/card/caret/index.js +9 -9
- package/dist/cjs/ui/dismiss-control/index.js +4 -3
- package/dist/cjs/ui/footer/index.js +3 -2
- package/dist/cjs/ui/header/index.js +3 -2
- package/dist/cjs/ui/headline/index.js +4 -1
- package/dist/cjs/ui/media/index.js +3 -2
- package/dist/cjs/ui/popover-provider/index.js +6 -3
- package/dist/cjs/ui/primary-action/index.js +4 -3
- package/dist/cjs/ui/secondary-action/index.js +4 -3
- package/dist/cjs/ui/show-more-control/index.js +4 -3
- package/dist/cjs/ui/step-count/index.js +4 -3
- package/dist/es2019/controllers/context.js +4 -1
- package/dist/es2019/ui/actions/index.js +2 -1
- package/dist/es2019/ui/body/index.compiled.css +2 -1
- package/dist/es2019/ui/body/index.js +3 -2
- package/dist/es2019/ui/card/caret/index.compiled.css +6 -4
- package/dist/es2019/ui/card/caret/index.js +9 -9
- package/dist/es2019/ui/dismiss-control/index.js +2 -1
- package/dist/es2019/ui/footer/index.js +2 -1
- package/dist/es2019/ui/header/index.js +2 -1
- package/dist/es2019/ui/headline/index.js +4 -1
- package/dist/es2019/ui/media/index.js +2 -1
- package/dist/es2019/ui/popover-provider/index.js +3 -1
- package/dist/es2019/ui/primary-action/index.js +2 -1
- package/dist/es2019/ui/secondary-action/index.js +2 -1
- package/dist/es2019/ui/show-more-control/index.js +2 -1
- package/dist/es2019/ui/step-count/index.js +2 -1
- package/dist/esm/controllers/context.js +4 -1
- package/dist/esm/ui/actions/index.js +2 -1
- package/dist/esm/ui/body/index.compiled.css +2 -1
- package/dist/esm/ui/body/index.js +3 -2
- package/dist/esm/ui/card/caret/index.compiled.css +6 -4
- package/dist/esm/ui/card/caret/index.js +9 -9
- package/dist/esm/ui/dismiss-control/index.js +2 -1
- package/dist/esm/ui/footer/index.js +2 -1
- package/dist/esm/ui/header/index.js +2 -1
- package/dist/esm/ui/headline/index.js +4 -1
- package/dist/esm/ui/media/index.js +2 -1
- package/dist/esm/ui/popover-provider/index.js +3 -1
- package/dist/esm/ui/primary-action/index.js +2 -1
- package/dist/esm/ui/secondary-action/index.js +2 -1
- package/dist/esm/ui/show-more-control/index.js +2 -1
- package/dist/esm/ui/step-count/index.js +2 -1
- package/dist/types/controllers/context.d.ts +7 -3
- package/dist/types/ui/actions/index.d.ts +6 -2
- package/dist/types/ui/body/index.d.ts +6 -2
- package/dist/types/ui/card/caret/index.d.ts +0 -4
- package/dist/types/ui/dismiss-control/index.d.ts +1 -2
- package/dist/types/ui/footer/index.d.ts +6 -2
- package/dist/types/ui/header/index.d.ts +6 -2
- package/dist/types/ui/headline/index.d.ts +6 -2
- package/dist/types/ui/media/index.d.ts +6 -2
- package/dist/types/ui/popover-provider/index.d.ts +6 -2
- package/dist/types/ui/primary-action/index.d.ts +6 -2
- package/dist/types/ui/secondary-action/index.d.ts +6 -2
- package/dist/types/ui/show-more-control/index.d.ts +1 -2
- package/dist/types/ui/step-count/index.d.ts +6 -2
- package/dist/types-ts4.5/controllers/context.d.ts +7 -3
- package/dist/types-ts4.5/ui/actions/index.d.ts +6 -2
- package/dist/types-ts4.5/ui/body/index.d.ts +6 -2
- package/dist/types-ts4.5/ui/card/caret/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/dismiss-control/index.d.ts +1 -2
- package/dist/types-ts4.5/ui/footer/index.d.ts +6 -2
- package/dist/types-ts4.5/ui/header/index.d.ts +6 -2
- package/dist/types-ts4.5/ui/headline/index.d.ts +6 -2
- package/dist/types-ts4.5/ui/media/index.d.ts +6 -2
- package/dist/types-ts4.5/ui/popover-provider/index.d.ts +6 -2
- package/dist/types-ts4.5/ui/primary-action/index.d.ts +6 -2
- package/dist/types-ts4.5/ui/secondary-action/index.d.ts +6 -2
- package/dist/types-ts4.5/ui/show-more-control/index.d.ts +1 -2
- package/dist/types-ts4.5/ui/step-count/index.d.ts +6 -2
- 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
|
|
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
|
|
5
|
+
import { forwardRef } from 'react';
|
|
5
6
|
import { Flex } from '@atlaskit/primitives/compiled';
|
|
6
7
|
var styles = {
|
|
7
8
|
root: "_1bsb1osq"
|
|
@@ -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
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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': "
|
|
10
|
-
'top-end': "
|
|
11
|
-
'bottom-start': "
|
|
12
|
-
'bottom-end': "
|
|
13
|
-
'right-start': "
|
|
14
|
-
'right-end': "
|
|
15
|
-
'left-start': "
|
|
16
|
-
'left-end': "
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
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:
|
|
11
|
+
export declare const SpotlightContext: import("react").Context<SpotlightContextType>;
|
|
8
12
|
export declare const SpotlightContextProvider: ({ children }: {
|
|
9
13
|
children: ReactNode;
|
|
10
|
-
}) =>
|
|
14
|
+
}) => JSX.Element;
|
|
11
15
|
export {};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
24
|
+
export declare const SpotlightActions: import("react").ForwardRefExoticComponent<SpotlightActionsProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
25
|
+
export declare const SpotlightBody: import("react").ForwardRefExoticComponent<SpotlightBodyProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -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:
|
|
20
|
+
export declare const SpotlightDismissControl: import("react").ForwardRefExoticComponent<SpotlightDismissControlProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
24
|
+
export declare const SpotlightFooter: import("react").ForwardRefExoticComponent<SpotlightFooterProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
25
|
+
export declare const SpotlightHeader: import("react").ForwardRefExoticComponent<SpotlightHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
24
|
+
export declare const SpotlightHeadline: import("react").ForwardRefExoticComponent<SpotlightHeadlineProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
25
|
+
export declare const SpotlightMedia: import("react").ForwardRefExoticComponent<SpotlightMediaProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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
|
-
}) =>
|
|
14
|
+
}) => JSX.Element;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
30
|
+
export declare const SpotlightPrimaryAction: import("react").ForwardRefExoticComponent<SpotlightPrimaryActionProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
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:
|
|
20
|
+
export declare const SpotlightShowMoreControl: import("react").ForwardRefExoticComponent<SpotlightShowMoreControlProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
24
|
+
export declare const SpotlightStepCount: import("react").ForwardRefExoticComponent<SpotlightStepCountProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
|
|
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:
|
|
11
|
+
export declare const SpotlightContext: import("react").Context<SpotlightContextType>;
|
|
8
12
|
export declare const SpotlightContextProvider: ({ children }: {
|
|
9
13
|
children: ReactNode;
|
|
10
|
-
}) =>
|
|
14
|
+
}) => JSX.Element;
|
|
11
15
|
export {};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
24
|
+
export declare const SpotlightActions: import("react").ForwardRefExoticComponent<SpotlightActionsProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
25
|
+
export declare const SpotlightBody: import("react").ForwardRefExoticComponent<SpotlightBodyProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -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:
|
|
20
|
+
export declare const SpotlightDismissControl: import("react").ForwardRefExoticComponent<SpotlightDismissControlProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
24
|
+
export declare const SpotlightFooter: import("react").ForwardRefExoticComponent<SpotlightFooterProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
25
|
+
export declare const SpotlightHeader: import("react").ForwardRefExoticComponent<SpotlightHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
24
|
+
export declare const SpotlightHeadline: import("react").ForwardRefExoticComponent<SpotlightHeadlineProps & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
25
|
+
export declare const SpotlightMedia: import("react").ForwardRefExoticComponent<SpotlightMediaProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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
|
-
}) =>
|
|
14
|
+
}) => JSX.Element;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
30
|
+
export declare const SpotlightPrimaryAction: import("react").ForwardRefExoticComponent<SpotlightPrimaryActionProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
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:
|
|
20
|
+
export declare const SpotlightShowMoreControl: import("react").ForwardRefExoticComponent<SpotlightShowMoreControlProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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:
|
|
24
|
+
export declare const SpotlightStepCount: import("react").ForwardRefExoticComponent<SpotlightStepCountProps & import("react").RefAttributes<HTMLSpanElement>>;
|