@atlaskit/spotlight 0.0.2 → 0.0.4

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/spotlight
2
2
 
3
+ ## 0.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.0.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#193958](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/193958)
14
+ [`6fb7706c6ce32`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6fb7706c6ce32) -
15
+ Create Header and Headline components.
16
+ - Updated dependencies
17
+
3
18
  ## 0.0.2
4
19
 
5
20
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -9,4 +9,18 @@ Object.defineProperty(exports, "Spotlight", {
9
9
  return _spotlight.Spotlight;
10
10
  }
11
11
  });
12
- var _spotlight = require("./ui/spotlight");
12
+ Object.defineProperty(exports, "SpotlightHeader", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _header.SpotlightHeader;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "SpotlightHeadline", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _headline.SpotlightHeadline;
22
+ }
23
+ });
24
+ var _spotlight = require("./ui/spotlight");
25
+ var _header = require("./ui/header");
26
+ var _headline = require("./ui/headline");
@@ -0,0 +1,4 @@
1
+ ._1q51utpp{padding-block-start:var(--ds-space-150,9pt)}
2
+ ._85i5utpp{padding-block-end:var(--ds-space-150,9pt)}
3
+ ._bozgpxbi{padding-inline-start:var(--ds-space-200,1pc)}
4
+ ._y4tiutpp{padding-inline-end:var(--ds-space-150,9pt)}
@@ -0,0 +1,35 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ "use strict";
3
+
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.SpotlightHeader = void 0;
9
+ require("./index.compiled.css");
10
+ var _runtime = require("@compiled/react/runtime");
11
+ var _react = _interopRequireWildcard(require("react"));
12
+ var _compiled = require("@atlaskit/primitives/compiled");
13
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
14
+ var styles = {
15
+ root: "_bozgpxbi _y4tiutpp _1q51utpp _85i5utpp"
16
+ };
17
+ /**
18
+ * __SpotlightHeader__
19
+ *
20
+ * `SpotlightHeader` should be placed at the top of a `Spotlight`, and is
21
+ * intended to show the `SpotlightHeadline` component, as well as `SpotLightControls`.
22
+ *
23
+ */
24
+ var SpotlightHeader = exports.SpotlightHeader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
25
+ var children = _ref.children,
26
+ testId = _ref.testId;
27
+ return /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
28
+ ref: ref,
29
+ testId: testId,
30
+ xcss: styles.root,
31
+ alignItems: "center",
32
+ justifyContent: "space-between",
33
+ gap: "space.100"
34
+ }, children);
35
+ });
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.SpotlightHeadline = void 0;
9
+ var _react = _interopRequireWildcard(require("react"));
10
+ var _heading = _interopRequireDefault(require("@atlaskit/heading"));
11
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
12
+ /**
13
+ * __SpotlightHeadline__
14
+ *
15
+ * `SpotlightHeadline` is required in a `Spotlight`. The content should be brief and direct to quickly hook the user on the intent.
16
+ *
17
+ */
18
+ var SpotlightHeadline = exports.SpotlightHeadline = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
19
+ var children = _ref.children,
20
+ testId = _ref.testId;
21
+ return /*#__PURE__*/_react.default.createElement(_heading.default, {
22
+ ref: ref,
23
+ testId: testId,
24
+ size: "xsmall"
25
+ }, children);
26
+ });
@@ -0,0 +1,3 @@
1
+
2
+ ._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}._1bsbaq3k{width:295px}
3
+ ._kqswh2mm{position:relative}
@@ -1,25 +1,33 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
1
2
  "use strict";
2
3
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
5
  Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.Spotlight = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- // TODO: Fill in the component {description} and ensure links point to the correct {packageName} location.
10
- // Remove links that the component does not have (such as usage). If there are no links remove them all.
9
+ require("./index.compiled.css");
10
+ var _react = _interopRequireWildcard(require("react"));
11
+ var React = _react;
12
+ var _runtime = require("@compiled/react/runtime");
13
+ var _compiled = require("@atlaskit/primitives/compiled");
14
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
15
+ var styles = {
16
+ root: "_2rkopd34 _kqswh2mm _1bsbaq3k"
17
+ };
11
18
  /**
12
19
  * __Spotlight__
13
20
  *
14
- * A spotlight {description}.
21
+ * The base UI card that wraps composable spotlight components.
15
22
  *
16
- * - [Examples](https://atlassian.design/components/{packageName}/examples)
17
- * - [Code](https://atlassian.design/components/{packageName}/code)
18
- * - [Usage](https://atlassian.design/components/{packageName}/usage)
19
23
  */
20
- var Spotlight = exports.Spotlight = function Spotlight(_ref) {
21
- var testId = _ref.testId;
22
- return /*#__PURE__*/_react.default.createElement("div", {
23
- "data-testid": testId
24
- }, "TODO");
25
- };
24
+ var Spotlight = exports.Spotlight = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
25
+ var children = _ref.children,
26
+ testId = _ref.testId;
27
+ return /*#__PURE__*/React.createElement(_compiled.Box, {
28
+ ref: ref,
29
+ xcss: styles.root,
30
+ backgroundColor: "color.background.neutral.bold",
31
+ testId: testId
32
+ }, children);
33
+ });
@@ -1 +1,3 @@
1
- export { Spotlight } from './ui/spotlight';
1
+ export { Spotlight } from './ui/spotlight';
2
+ export { SpotlightHeader } from './ui/header';
3
+ export { SpotlightHeadline } from './ui/headline';
@@ -0,0 +1,4 @@
1
+ ._1q51utpp{padding-block-start:var(--ds-space-150,9pt)}
2
+ ._85i5utpp{padding-block-end:var(--ds-space-150,9pt)}
3
+ ._bozgpxbi{padding-inline-start:var(--ds-space-200,1pc)}
4
+ ._y4tiutpp{padding-inline-end:var(--ds-space-150,9pt)}
@@ -0,0 +1,28 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./index.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React, { forwardRef } from 'react';
5
+ import { Flex } from '@atlaskit/primitives/compiled';
6
+ const styles = {
7
+ root: "_bozgpxbi _y4tiutpp _1q51utpp _85i5utpp"
8
+ };
9
+ /**
10
+ * __SpotlightHeader__
11
+ *
12
+ * `SpotlightHeader` should be placed at the top of a `Spotlight`, and is
13
+ * intended to show the `SpotlightHeadline` component, as well as `SpotLightControls`.
14
+ *
15
+ */
16
+ export const SpotlightHeader = /*#__PURE__*/forwardRef(({
17
+ children,
18
+ testId
19
+ }, ref) => {
20
+ return /*#__PURE__*/React.createElement(Flex, {
21
+ ref: ref,
22
+ testId: testId,
23
+ xcss: styles.root,
24
+ alignItems: "center",
25
+ justifyContent: "space-between",
26
+ gap: "space.100"
27
+ }, children);
28
+ });
@@ -0,0 +1,18 @@
1
+ import React, { forwardRef } from 'react';
2
+ import Heading from '@atlaskit/heading';
3
+ /**
4
+ * __SpotlightHeadline__
5
+ *
6
+ * `SpotlightHeadline` is required in a `Spotlight`. The content should be brief and direct to quickly hook the user on the intent.
7
+ *
8
+ */
9
+ export const SpotlightHeadline = /*#__PURE__*/forwardRef(({
10
+ children,
11
+ testId
12
+ }, ref) => {
13
+ return /*#__PURE__*/React.createElement(Heading, {
14
+ ref: ref,
15
+ testId: testId,
16
+ size: "xsmall"
17
+ }, children);
18
+ });
@@ -0,0 +1,3 @@
1
+
2
+ ._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}._1bsbaq3k{width:295px}
3
+ ._kqswh2mm{position:relative}
@@ -1,19 +1,26 @@
1
- import React from 'react';
2
- // TODO: Fill in the component {description} and ensure links point to the correct {packageName} location.
3
- // Remove links that the component does not have (such as usage). If there are no links remove them all.
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./index.compiled.css";
3
+ import * as React from 'react';
4
+ import { ax, ix } from "@compiled/react/runtime";
5
+ import { forwardRef } from 'react';
6
+ import { Box } from '@atlaskit/primitives/compiled';
7
+ const styles = {
8
+ root: "_2rkopd34 _kqswh2mm _1bsbaq3k"
9
+ };
4
10
  /**
5
11
  * __Spotlight__
6
12
  *
7
- * A spotlight {description}.
13
+ * The base UI card that wraps composable spotlight components.
8
14
  *
9
- * - [Examples](https://atlassian.design/components/{packageName}/examples)
10
- * - [Code](https://atlassian.design/components/{packageName}/code)
11
- * - [Usage](https://atlassian.design/components/{packageName}/usage)
12
15
  */
13
- export const Spotlight = ({
16
+ export const Spotlight = /*#__PURE__*/forwardRef(({
17
+ children,
14
18
  testId
15
- }) => {
16
- return /*#__PURE__*/React.createElement("div", {
17
- "data-testid": testId
18
- }, "TODO");
19
- };
19
+ }, ref) => {
20
+ return /*#__PURE__*/React.createElement(Box, {
21
+ ref: ref,
22
+ xcss: styles.root,
23
+ backgroundColor: "color.background.neutral.bold",
24
+ testId: testId
25
+ }, children);
26
+ });
package/dist/esm/index.js CHANGED
@@ -1 +1,3 @@
1
- export { Spotlight } from './ui/spotlight';
1
+ export { Spotlight } from './ui/spotlight';
2
+ export { SpotlightHeader } from './ui/header';
3
+ export { SpotlightHeadline } from './ui/headline';
@@ -0,0 +1,4 @@
1
+ ._1q51utpp{padding-block-start:var(--ds-space-150,9pt)}
2
+ ._85i5utpp{padding-block-end:var(--ds-space-150,9pt)}
3
+ ._bozgpxbi{padding-inline-start:var(--ds-space-200,1pc)}
4
+ ._y4tiutpp{padding-inline-end:var(--ds-space-150,9pt)}
@@ -0,0 +1,27 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./index.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React, { forwardRef } from 'react';
5
+ import { Flex } from '@atlaskit/primitives/compiled';
6
+ var styles = {
7
+ root: "_bozgpxbi _y4tiutpp _1q51utpp _85i5utpp"
8
+ };
9
+ /**
10
+ * __SpotlightHeader__
11
+ *
12
+ * `SpotlightHeader` should be placed at the top of a `Spotlight`, and is
13
+ * intended to show the `SpotlightHeadline` component, as well as `SpotLightControls`.
14
+ *
15
+ */
16
+ export var SpotlightHeader = /*#__PURE__*/forwardRef(function (_ref, ref) {
17
+ var children = _ref.children,
18
+ testId = _ref.testId;
19
+ return /*#__PURE__*/React.createElement(Flex, {
20
+ ref: ref,
21
+ testId: testId,
22
+ xcss: styles.root,
23
+ alignItems: "center",
24
+ justifyContent: "space-between",
25
+ gap: "space.100"
26
+ }, children);
27
+ });
@@ -0,0 +1,17 @@
1
+ import React, { forwardRef } from 'react';
2
+ import Heading from '@atlaskit/heading';
3
+ /**
4
+ * __SpotlightHeadline__
5
+ *
6
+ * `SpotlightHeadline` is required in a `Spotlight`. The content should be brief and direct to quickly hook the user on the intent.
7
+ *
8
+ */
9
+ export var SpotlightHeadline = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
+ var children = _ref.children,
11
+ testId = _ref.testId;
12
+ return /*#__PURE__*/React.createElement(Heading, {
13
+ ref: ref,
14
+ testId: testId,
15
+ size: "xsmall"
16
+ }, children);
17
+ });
@@ -0,0 +1,3 @@
1
+
2
+ ._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}._1bsbaq3k{width:295px}
3
+ ._kqswh2mm{position:relative}
@@ -1,18 +1,25 @@
1
- import React from 'react';
2
- // TODO: Fill in the component {description} and ensure links point to the correct {packageName} location.
3
- // Remove links that the component does not have (such as usage). If there are no links remove them all.
1
+ /* index.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./index.compiled.css";
3
+ import * as React from 'react';
4
+ import { ax, ix } from "@compiled/react/runtime";
5
+ import { forwardRef } from 'react';
6
+ import { Box } from '@atlaskit/primitives/compiled';
7
+ var styles = {
8
+ root: "_2rkopd34 _kqswh2mm _1bsbaq3k"
9
+ };
4
10
  /**
5
11
  * __Spotlight__
6
12
  *
7
- * A spotlight {description}.
13
+ * The base UI card that wraps composable spotlight components.
8
14
  *
9
- * - [Examples](https://atlassian.design/components/{packageName}/examples)
10
- * - [Code](https://atlassian.design/components/{packageName}/code)
11
- * - [Usage](https://atlassian.design/components/{packageName}/usage)
12
15
  */
13
- export var Spotlight = function Spotlight(_ref) {
14
- var testId = _ref.testId;
15
- return /*#__PURE__*/React.createElement("div", {
16
- "data-testid": testId
17
- }, "TODO");
18
- };
16
+ export var Spotlight = /*#__PURE__*/forwardRef(function (_ref, ref) {
17
+ var children = _ref.children,
18
+ testId = _ref.testId;
19
+ return /*#__PURE__*/React.createElement(Box, {
20
+ ref: ref,
21
+ xcss: styles.root,
22
+ backgroundColor: "color.background.neutral.bold",
23
+ testId: testId
24
+ }, children);
25
+ });
@@ -1 +1,3 @@
1
- export { Spotlight } from './ui/spotlight';
1
+ export { Spotlight, type SpotlightProps } from './ui/spotlight';
2
+ export { SpotlightHeader, type SpotlightHeaderProps } from './ui/header';
3
+ export { SpotlightHeadline } from './ui/headline';
@@ -0,0 +1,21 @@
1
+ import React, { type ReactNode } from 'react';
2
+ export interface SpotlightHeaderProps {
3
+ /**
4
+ * A `testId` prop is provided for specified elements, which is a unique
5
+ * string that appears as a data attribute `data-testid` in the rendered code,
6
+ * serving as a hook for automated tests
7
+ */
8
+ testId?: string;
9
+ /**
10
+ * Elements to be rendered inside the `SpotlightHeader`.
11
+ */
12
+ children?: ReactNode;
13
+ }
14
+ /**
15
+ * __SpotlightHeader__
16
+ *
17
+ * `SpotlightHeader` should be placed at the top of a `Spotlight`, and is
18
+ * intended to show the `SpotlightHeadline` component, as well as `SpotLightControls`.
19
+ *
20
+ */
21
+ export declare const SpotlightHeader: React.ForwardRefExoticComponent<SpotlightHeaderProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,20 @@
1
+ import React, { type ReactNode } from 'react';
2
+ export interface SpotlightHeadlineProps {
3
+ /**
4
+ * A `testId` prop is provided for specified elements, which is a unique
5
+ * string that appears as a data attribute `data-testid` in the rendered code,
6
+ * serving as a hook for automated tests
7
+ */
8
+ testId?: string;
9
+ /**
10
+ * A brief and direct title to quickly hook the user on the intent.
11
+ */
12
+ children?: ReactNode;
13
+ }
14
+ /**
15
+ * __SpotlightHeadline__
16
+ *
17
+ * `SpotlightHeadline` is required in a `Spotlight`. The content should be brief and direct to quickly hook the user on the intent.
18
+ *
19
+ */
20
+ export declare const SpotlightHeadline: React.ForwardRefExoticComponent<SpotlightHeadlineProps & React.RefAttributes<HTMLHeadingElement>>;
@@ -1,15 +1,24 @@
1
- import React from 'react';
2
- interface SpotlightProps {
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
6
+ export interface SpotlightProps {
7
+ /**
8
+ * A `testId` prop is provided for specified elements, which is a unique
9
+ * string that appears as a data attribute `data-testid` in the rendered code,
10
+ * serving as a hook for automated tests
11
+ */
3
12
  testId?: string;
13
+ /**
14
+ * Elements to be rendered inside the spotlight.
15
+ */
16
+ children?: ReactNode;
4
17
  }
5
18
  /**
6
19
  * __Spotlight__
7
20
  *
8
- * A spotlight {description}.
21
+ * The base UI card that wraps composable spotlight components.
9
22
  *
10
- * - [Examples](https://atlassian.design/components/{packageName}/examples)
11
- * - [Code](https://atlassian.design/components/{packageName}/code)
12
- * - [Usage](https://atlassian.design/components/{packageName}/usage)
13
23
  */
14
- export declare const Spotlight: ({ testId }: SpotlightProps) => React.JSX.Element;
15
- export {};
24
+ export declare const Spotlight: import("react").ForwardRefExoticComponent<SpotlightProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1 +1,3 @@
1
- export { Spotlight } from './ui/spotlight';
1
+ export { Spotlight, type SpotlightProps } from './ui/spotlight';
2
+ export { SpotlightHeader, type SpotlightHeaderProps } from './ui/header';
3
+ export { SpotlightHeadline } from './ui/headline';
@@ -0,0 +1,21 @@
1
+ import React, { type ReactNode } from 'react';
2
+ export interface SpotlightHeaderProps {
3
+ /**
4
+ * A `testId` prop is provided for specified elements, which is a unique
5
+ * string that appears as a data attribute `data-testid` in the rendered code,
6
+ * serving as a hook for automated tests
7
+ */
8
+ testId?: string;
9
+ /**
10
+ * Elements to be rendered inside the `SpotlightHeader`.
11
+ */
12
+ children?: ReactNode;
13
+ }
14
+ /**
15
+ * __SpotlightHeader__
16
+ *
17
+ * `SpotlightHeader` should be placed at the top of a `Spotlight`, and is
18
+ * intended to show the `SpotlightHeadline` component, as well as `SpotLightControls`.
19
+ *
20
+ */
21
+ export declare const SpotlightHeader: React.ForwardRefExoticComponent<SpotlightHeaderProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,20 @@
1
+ import React, { type ReactNode } from 'react';
2
+ export interface SpotlightHeadlineProps {
3
+ /**
4
+ * A `testId` prop is provided for specified elements, which is a unique
5
+ * string that appears as a data attribute `data-testid` in the rendered code,
6
+ * serving as a hook for automated tests
7
+ */
8
+ testId?: string;
9
+ /**
10
+ * A brief and direct title to quickly hook the user on the intent.
11
+ */
12
+ children?: ReactNode;
13
+ }
14
+ /**
15
+ * __SpotlightHeadline__
16
+ *
17
+ * `SpotlightHeadline` is required in a `Spotlight`. The content should be brief and direct to quickly hook the user on the intent.
18
+ *
19
+ */
20
+ export declare const SpotlightHeadline: React.ForwardRefExoticComponent<SpotlightHeadlineProps & React.RefAttributes<HTMLHeadingElement>>;
@@ -1,15 +1,24 @@
1
- import React from 'react';
2
- interface SpotlightProps {
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import { type ReactNode } from 'react';
6
+ export interface SpotlightProps {
7
+ /**
8
+ * A `testId` prop is provided for specified elements, which is a unique
9
+ * string that appears as a data attribute `data-testid` in the rendered code,
10
+ * serving as a hook for automated tests
11
+ */
3
12
  testId?: string;
13
+ /**
14
+ * Elements to be rendered inside the spotlight.
15
+ */
16
+ children?: ReactNode;
4
17
  }
5
18
  /**
6
19
  * __Spotlight__
7
20
  *
8
- * A spotlight {description}.
21
+ * The base UI card that wraps composable spotlight components.
9
22
  *
10
- * - [Examples](https://atlassian.design/components/{packageName}/examples)
11
- * - [Code](https://atlassian.design/components/{packageName}/code)
12
- * - [Usage](https://atlassian.design/components/{packageName}/usage)
13
23
  */
14
- export declare const Spotlight: ({ testId }: SpotlightProps) => React.JSX.Element;
15
- export {};
24
+ export declare const Spotlight: import("react").ForwardRefExoticComponent<SpotlightProps & import("react").RefAttributes<HTMLDivElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/spotlight",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "A spotlight introduces users to various points of interest across Atlassian through focused messages or multi-step tours.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,8 +30,9 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@atlaskit/css": "^0.12.0",
33
- "@atlaskit/primitives": "^14.10.0",
34
- "@atlaskit/tokens": "^5.6.0",
33
+ "@atlaskit/heading": "^5.2.0",
34
+ "@atlaskit/primitives": "^14.11.0",
35
+ "@atlaskit/tokens": "^6.0.0",
35
36
  "@babel/runtime": "^7.0.0",
36
37
  "@compiled/react": "^0.18.3"
37
38
  },