@atlaskit/spotlight 0.3.0 → 0.3.2
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 +15 -0
- package/dist/cjs/controllers/context.js +5 -2
- package/dist/cjs/ui/actions/index.js +3 -2
- package/dist/cjs/ui/body/index.js +3 -2
- package/dist/cjs/ui/card/caret/index.js +2 -0
- package/dist/cjs/ui/card/index.compiled.css +1 -0
- package/dist/cjs/ui/card/index.js +2 -0
- 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-content/index.js +2 -0
- 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.js +2 -1
- package/dist/es2019/ui/card/caret/index.js +2 -0
- package/dist/es2019/ui/card/index.compiled.css +1 -0
- package/dist/es2019/ui/card/index.js +2 -0
- 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-content/index.js +2 -0
- 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.js +2 -1
- package/dist/esm/ui/card/caret/index.js +2 -0
- package/dist/esm/ui/card/index.compiled.css +1 -0
- package/dist/esm/ui/card/index.js +2 -0
- 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-content/index.js +2 -0
- 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/index.d.ts +1 -0
- package/dist/types/types.d.ts +1 -1
- 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/index.d.ts +1 -0
- package/dist/types-ts4.5/types.d.ts +1 -1
- 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/offerings.json +33 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/spotlight
|
|
2
2
|
|
|
3
|
+
## 0.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ec2250eef3ec9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ec2250eef3ec9) -
|
|
8
|
+
Spotlight now accepts `top-center` and `bottom-center` placements to ensure SpotlightCard content
|
|
9
|
+
can be seen on small viewports.
|
|
10
|
+
|
|
11
|
+
## 0.3.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`89687a02d7e6b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/89687a02d7e6b) -
|
|
16
|
+
Internal changes to support @compiled/react.
|
|
17
|
+
|
|
3
18
|
## 0.3.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* context.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
"use strict";
|
|
2
3
|
|
|
3
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -6,8 +7,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
7
|
value: true
|
|
7
8
|
});
|
|
8
9
|
exports.SpotlightContextProvider = exports.SpotlightContext = void 0;
|
|
9
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var React = _react;
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
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); }
|
|
12
15
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
13
16
|
|
|
@@ -26,7 +29,7 @@ var SpotlightContextProvider = exports.SpotlightContextProvider = function Spotl
|
|
|
26
29
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
27
30
|
placement = _useState2[0],
|
|
28
31
|
setPlacement = _useState2[1];
|
|
29
|
-
return /*#__PURE__*/
|
|
32
|
+
return /*#__PURE__*/React.createElement(SpotlightContext.Provider, {
|
|
30
33
|
value: {
|
|
31
34
|
placement: placement,
|
|
32
35
|
setPlacement: setPlacement
|
|
@@ -7,8 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SpotlightActions = void 0;
|
|
9
9
|
require("./index.compiled.css");
|
|
10
|
-
var _runtime = require("@compiled/react/runtime");
|
|
11
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var React = _react;
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
12
13
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
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); }
|
|
14
15
|
var styles = {
|
|
@@ -23,7 +24,7 @@ var styles = {
|
|
|
23
24
|
var SpotlightActions = exports.SpotlightActions = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
24
25
|
var children = _ref.children,
|
|
25
26
|
testId = _ref.testId;
|
|
26
|
-
return /*#__PURE__*/
|
|
27
|
+
return /*#__PURE__*/React.createElement(_compiled.Flex, {
|
|
27
28
|
ref: ref,
|
|
28
29
|
testId: testId,
|
|
29
30
|
xcss: styles.root,
|
|
@@ -7,8 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SpotlightBody = void 0;
|
|
9
9
|
require("./index.compiled.css");
|
|
10
|
-
var _runtime = require("@compiled/react/runtime");
|
|
11
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var React = _react;
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
12
13
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
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); }
|
|
14
15
|
var styles = {
|
|
@@ -23,7 +24,7 @@ var styles = {
|
|
|
23
24
|
var SpotlightBody = exports.SpotlightBody = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
24
25
|
var children = _ref.children,
|
|
25
26
|
testId = _ref.testId;
|
|
26
|
-
return /*#__PURE__*/
|
|
27
|
+
return /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
27
28
|
ref: ref,
|
|
28
29
|
xcss: styles.root,
|
|
29
30
|
testId: testId
|
|
@@ -15,8 +15,10 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
15
15
|
var styles = {
|
|
16
16
|
root: "_kqswh2mm _1pby1fw0 _1bsbo7ao _4t3io7ao _t9ecjyd4 _bfhkcdhy",
|
|
17
17
|
'top-start': "_1eint94y",
|
|
18
|
+
'top-center': "_1eint94y",
|
|
18
19
|
'top-end': "_1eint94y",
|
|
19
20
|
'bottom-start': "_1s1gt94y",
|
|
21
|
+
'bottom-center': "_1s1gt94y",
|
|
20
22
|
'bottom-end': "_1s1gt94y",
|
|
21
23
|
'right-start': "_1yxnt94y",
|
|
22
24
|
'right-end': "_1yxnt94y",
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
._16qs9g9j{box-shadow:var(--ds-shadow-overflow,0 0 8px #091e4228,0 0 1px #091e421e)}
|
|
6
6
|
._1bsbaq3k{width:295px}
|
|
7
7
|
._1e0212x7{inset-inline-start:var(--ds-space-075,6px)}
|
|
8
|
+
._1e021qz4{inset-inline-start:-140px}
|
|
8
9
|
._1e02c7mi{inset-inline-start:var(--ds-space-negative-250,-20px)}
|
|
9
10
|
._1e0c1txw{display:flex}
|
|
10
11
|
._1q51u2gc{padding-block-start:var(--ds-space-100,8px)}
|
|
@@ -21,10 +21,12 @@ var styles = {
|
|
|
21
21
|
};
|
|
22
22
|
var placementStyles = {
|
|
23
23
|
'top-start': "_u7co12x7 _rjxpc7mi",
|
|
24
|
+
'top-center': "_u7co12x7 _1e021qz4",
|
|
24
25
|
'top-end': "_u7co12x7 _1e02c7mi",
|
|
25
26
|
'right-start': "_1e0212x7 _u7comgjw",
|
|
26
27
|
'right-end': "_1e0212x7 _152tmgjw",
|
|
27
28
|
'bottom-start': "_152t12x7 _rjxpc7mi",
|
|
29
|
+
'bottom-center': "_152t12x7 _1e021qz4",
|
|
28
30
|
'bottom-end': "_152t12x7 _1e02c7mi",
|
|
29
31
|
'left-start': "_rjxp12x7 _u7comgjw",
|
|
30
32
|
'left-end': "_rjxp12x7 _152tmgjw"
|
|
@@ -8,8 +8,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
});
|
|
9
9
|
exports.SpotlightDismissControl = void 0;
|
|
10
10
|
require("./index.compiled.css");
|
|
11
|
-
var _runtime = require("@compiled/react/runtime");
|
|
12
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
+
var React = _react;
|
|
13
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
14
|
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
|
|
14
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
15
16
|
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); }
|
|
@@ -25,12 +26,12 @@ var styles = {
|
|
|
25
26
|
var SpotlightDismissControl = exports.SpotlightDismissControl = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
26
27
|
var onClick = _ref.onClick,
|
|
27
28
|
testId = _ref.testId;
|
|
28
|
-
return /*#__PURE__*/
|
|
29
|
+
return /*#__PURE__*/React.createElement(_compiled.Pressable, {
|
|
29
30
|
xcss: styles.root,
|
|
30
31
|
onClick: onClick,
|
|
31
32
|
ref: ref,
|
|
32
33
|
testId: testId
|
|
33
|
-
}, /*#__PURE__*/
|
|
34
|
+
}, /*#__PURE__*/React.createElement(_cross.default, {
|
|
34
35
|
label: "Close"
|
|
35
36
|
}));
|
|
36
37
|
});
|
|
@@ -7,8 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SpotlightFooter = void 0;
|
|
9
9
|
require("./index.compiled.css");
|
|
10
|
-
var _runtime = require("@compiled/react/runtime");
|
|
11
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var React = _react;
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
12
13
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
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); }
|
|
14
15
|
var styles = {
|
|
@@ -23,7 +24,7 @@ var styles = {
|
|
|
23
24
|
var SpotlightFooter = exports.SpotlightFooter = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
24
25
|
var children = _ref.children,
|
|
25
26
|
testId = _ref.testId;
|
|
26
|
-
return /*#__PURE__*/
|
|
27
|
+
return /*#__PURE__*/React.createElement(_compiled.Flex, {
|
|
27
28
|
ref: ref,
|
|
28
29
|
testId: testId,
|
|
29
30
|
xcss: styles.root,
|
|
@@ -7,8 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SpotlightHeader = void 0;
|
|
9
9
|
require("./index.compiled.css");
|
|
10
|
-
var _runtime = require("@compiled/react/runtime");
|
|
11
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var React = _react;
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
12
13
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
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); }
|
|
14
15
|
var styles = {
|
|
@@ -24,7 +25,7 @@ var styles = {
|
|
|
24
25
|
var SpotlightHeader = exports.SpotlightHeader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
25
26
|
var children = _ref.children,
|
|
26
27
|
testId = _ref.testId;
|
|
27
|
-
return /*#__PURE__*/
|
|
28
|
+
return /*#__PURE__*/React.createElement(_compiled.Flex, {
|
|
28
29
|
ref: ref,
|
|
29
30
|
testId: testId,
|
|
30
31
|
xcss: styles.root,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
"use strict";
|
|
2
3
|
|
|
3
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -7,6 +8,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
8
|
});
|
|
8
9
|
exports.SpotlightHeadline = void 0;
|
|
9
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var React = _react;
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
10
13
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
11
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); }
|
|
12
15
|
/**
|
|
@@ -18,7 +21,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
18
21
|
var SpotlightHeadline = exports.SpotlightHeadline = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
19
22
|
var children = _ref.children,
|
|
20
23
|
testId = _ref.testId;
|
|
21
|
-
return /*#__PURE__*/
|
|
24
|
+
return /*#__PURE__*/React.createElement(_heading.default, {
|
|
22
25
|
ref: ref,
|
|
23
26
|
testId: testId,
|
|
24
27
|
size: "xsmall"
|
|
@@ -7,8 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SpotlightMedia = void 0;
|
|
9
9
|
require("./index.compiled.css");
|
|
10
|
-
var _runtime = require("@compiled/react/runtime");
|
|
11
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var React = _react;
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
12
13
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
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); }
|
|
14
15
|
var styles = {
|
|
@@ -23,7 +24,7 @@ var styles = {
|
|
|
23
24
|
var SpotlightMedia = exports.SpotlightMedia = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
24
25
|
var children = _ref.children,
|
|
25
26
|
testId = _ref.testId;
|
|
26
|
-
return /*#__PURE__*/
|
|
27
|
+
return /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
27
28
|
ref: ref,
|
|
28
29
|
xcss: styles.root,
|
|
29
30
|
testId: testId
|
|
@@ -38,8 +38,10 @@ var offset = [0, 2];
|
|
|
38
38
|
*/
|
|
39
39
|
var popperPlacementMap = {
|
|
40
40
|
'top-start': 'top',
|
|
41
|
+
'top-center': 'top',
|
|
41
42
|
'top-end': 'top',
|
|
42
43
|
'bottom-start': 'bottom',
|
|
44
|
+
'bottom-center': 'bottom',
|
|
43
45
|
'bottom-end': 'bottom',
|
|
44
46
|
'right-start': 'right',
|
|
45
47
|
'right-end': 'right',
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
"use strict";
|
|
2
3
|
|
|
3
|
-
var
|
|
4
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.PopoverProvider = void 0;
|
|
8
|
-
var
|
|
9
|
+
var React = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _runtime = require("@compiled/react/runtime");
|
|
9
11
|
var _popper = require("@atlaskit/popper");
|
|
10
12
|
var _context = require("../../controllers/context");
|
|
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); }
|
|
11
14
|
/**
|
|
12
15
|
* __Popover provider__
|
|
13
16
|
*
|
|
@@ -16,5 +19,5 @@ var _context = require("../../controllers/context");
|
|
|
16
19
|
*/
|
|
17
20
|
var PopoverProvider = exports.PopoverProvider = function PopoverProvider(_ref) {
|
|
18
21
|
var children = _ref.children;
|
|
19
|
-
return /*#__PURE__*/
|
|
22
|
+
return /*#__PURE__*/React.createElement(_context.SpotlightContextProvider, null, /*#__PURE__*/React.createElement(_popper.Manager, null, children));
|
|
20
23
|
};
|
|
@@ -7,8 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SpotlightPrimaryAction = void 0;
|
|
9
9
|
require("./index.compiled.css");
|
|
10
|
-
var _runtime = require("@compiled/react/runtime");
|
|
11
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var React = _react;
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
12
13
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
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); }
|
|
14
15
|
var styles = {
|
|
@@ -25,12 +26,12 @@ var SpotlightPrimaryAction = exports.SpotlightPrimaryAction = /*#__PURE__*/(0, _
|
|
|
25
26
|
var onClick = _ref.onClick,
|
|
26
27
|
children = _ref.children,
|
|
27
28
|
testId = _ref.testId;
|
|
28
|
-
return /*#__PURE__*/
|
|
29
|
+
return /*#__PURE__*/React.createElement(_compiled.Pressable, {
|
|
29
30
|
ref: ref,
|
|
30
31
|
testId: testId,
|
|
31
32
|
xcss: styles.root,
|
|
32
33
|
onClick: onClick
|
|
33
|
-
}, /*#__PURE__*/
|
|
34
|
+
}, /*#__PURE__*/React.createElement(_compiled.Text, {
|
|
34
35
|
as: "span"
|
|
35
36
|
}, children));
|
|
36
37
|
});
|
|
@@ -7,8 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SpotlightSecondaryAction = void 0;
|
|
9
9
|
require("./index.compiled.css");
|
|
10
|
-
var _runtime = require("@compiled/react/runtime");
|
|
11
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var React = _react;
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
12
13
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
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); }
|
|
14
15
|
var styles = {
|
|
@@ -25,12 +26,12 @@ var SpotlightSecondaryAction = exports.SpotlightSecondaryAction = /*#__PURE__*/(
|
|
|
25
26
|
var onClick = _ref.onClick,
|
|
26
27
|
children = _ref.children,
|
|
27
28
|
testId = _ref.testId;
|
|
28
|
-
return /*#__PURE__*/
|
|
29
|
+
return /*#__PURE__*/React.createElement(_compiled.Pressable, {
|
|
29
30
|
ref: ref,
|
|
30
31
|
testId: testId,
|
|
31
32
|
xcss: styles.root,
|
|
32
33
|
onClick: onClick
|
|
33
|
-
}, /*#__PURE__*/
|
|
34
|
+
}, /*#__PURE__*/React.createElement(_compiled.Text, {
|
|
34
35
|
as: "span"
|
|
35
36
|
}, children));
|
|
36
37
|
});
|
|
@@ -8,8 +8,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
});
|
|
9
9
|
exports.SpotlightShowMoreControl = void 0;
|
|
10
10
|
require("./index.compiled.css");
|
|
11
|
-
var _runtime = require("@compiled/react/runtime");
|
|
12
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
+
var React = _react;
|
|
13
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
14
|
var _showMoreHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/show-more-horizontal"));
|
|
14
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
15
16
|
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); }
|
|
@@ -25,12 +26,12 @@ var styles = {
|
|
|
25
26
|
var SpotlightShowMoreControl = exports.SpotlightShowMoreControl = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
26
27
|
var onClick = _ref.onClick,
|
|
27
28
|
testId = _ref.testId;
|
|
28
|
-
return /*#__PURE__*/
|
|
29
|
+
return /*#__PURE__*/React.createElement(_compiled.Pressable, {
|
|
29
30
|
xcss: styles.root,
|
|
30
31
|
onClick: onClick,
|
|
31
32
|
ref: ref,
|
|
32
33
|
testId: testId
|
|
33
|
-
}, /*#__PURE__*/
|
|
34
|
+
}, /*#__PURE__*/React.createElement(_showMoreHorizontal.default, {
|
|
34
35
|
label: "Show more"
|
|
35
36
|
}));
|
|
36
37
|
});
|
|
@@ -7,8 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.SpotlightStepCount = void 0;
|
|
9
9
|
require("./index.compiled.css");
|
|
10
|
-
var _runtime = require("@compiled/react/runtime");
|
|
11
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var React = _react;
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
12
13
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
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); }
|
|
14
15
|
var styles = {
|
|
@@ -23,9 +24,9 @@ var styles = {
|
|
|
23
24
|
var SpotlightStepCount = exports.SpotlightStepCount = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
24
25
|
var children = _ref.children,
|
|
25
26
|
testId = _ref.testId;
|
|
26
|
-
return /*#__PURE__*/
|
|
27
|
+
return /*#__PURE__*/React.createElement(_compiled.Flex, {
|
|
27
28
|
xcss: styles.root
|
|
28
|
-
}, /*#__PURE__*/
|
|
29
|
+
}, /*#__PURE__*/React.createElement(_compiled.Text, {
|
|
29
30
|
ref: ref,
|
|
30
31
|
testId: testId
|
|
31
32
|
}, children));
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/* context.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 { createContext, useState } from 'react';
|
|
2
5
|
|
|
3
6
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
4
7
|
|
|
@@ -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
|
const styles = {
|
|
7
8
|
root: "_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 { Box } from '@atlaskit/primitives/compiled';
|
|
6
7
|
const styles = {
|
|
7
8
|
root: "_18zrpxbi _syaz15cr _1q51u2gc"
|
|
@@ -7,8 +7,10 @@ import { SpotlightContext } from '../../../controllers/context';
|
|
|
7
7
|
const styles = {
|
|
8
8
|
root: "_kqswh2mm _1pby1fw0 _1bsbo7ao _4t3io7ao _t9ecjyd4 _bfhkcdhy",
|
|
9
9
|
'top-start': "_1eint94y",
|
|
10
|
+
'top-center': "_1eint94y",
|
|
10
11
|
'top-end': "_1eint94y",
|
|
11
12
|
'bottom-start': "_1s1gt94y",
|
|
13
|
+
'bottom-center': "_1s1gt94y",
|
|
12
14
|
'bottom-end': "_1s1gt94y",
|
|
13
15
|
'right-start': "_1yxnt94y",
|
|
14
16
|
'right-end': "_1yxnt94y",
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
._16qs9g9j{box-shadow:var(--ds-shadow-overflow,0 0 8px #091e4228,0 0 1px #091e421e)}
|
|
6
6
|
._1bsbaq3k{width:295px}
|
|
7
7
|
._1e0212x7{inset-inline-start:var(--ds-space-075,6px)}
|
|
8
|
+
._1e021qz4{inset-inline-start:-140px}
|
|
8
9
|
._1e02c7mi{inset-inline-start:var(--ds-space-negative-250,-20px)}
|
|
9
10
|
._1e0c1txw{display:flex}
|
|
10
11
|
._1q51u2gc{padding-block-start:var(--ds-space-100,8px)}
|
|
@@ -13,10 +13,12 @@ const styles = {
|
|
|
13
13
|
};
|
|
14
14
|
const placementStyles = {
|
|
15
15
|
'top-start': "_u7co12x7 _rjxpc7mi",
|
|
16
|
+
'top-center': "_u7co12x7 _1e021qz4",
|
|
16
17
|
'top-end': "_u7co12x7 _1e02c7mi",
|
|
17
18
|
'right-start': "_1e0212x7 _u7comgjw",
|
|
18
19
|
'right-end': "_1e0212x7 _152tmgjw",
|
|
19
20
|
'bottom-start': "_152t12x7 _rjxpc7mi",
|
|
21
|
+
'bottom-center': "_152t12x7 _1e021qz4",
|
|
20
22
|
'bottom-end': "_152t12x7 _1e02c7mi",
|
|
21
23
|
'left-start': "_rjxp12x7 _u7comgjw",
|
|
22
24
|
'left-end': "_rjxp12x7 _152tmgjw"
|
|
@@ -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
|
const 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
|
const 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
|
const 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
|
const styles = {
|
|
7
8
|
root: "_1bsbaq3k _4t3ihcro"
|
|
@@ -30,8 +30,10 @@ const offset = [0, 2];
|
|
|
30
30
|
*/
|
|
31
31
|
const popperPlacementMap = {
|
|
32
32
|
'top-start': 'top',
|
|
33
|
+
'top-center': 'top',
|
|
33
34
|
'top-end': 'top',
|
|
34
35
|
'bottom-start': 'bottom',
|
|
36
|
+
'bottom-center': 'bottom',
|
|
35
37
|
'bottom-end': 'bottom',
|
|
36
38
|
'right-start': 'right',
|
|
37
39
|
'right-end': 'right',
|
|
@@ -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
|
const 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
|
const 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
|
const 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
|
const styles = {
|
|
7
8
|
root: "_1ul91ris"
|
|
@@ -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,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: "_18zrpxbi _syaz15cr _1q51u2gc"
|
|
@@ -7,8 +7,10 @@ import { SpotlightContext } from '../../../controllers/context';
|
|
|
7
7
|
var styles = {
|
|
8
8
|
root: "_kqswh2mm _1pby1fw0 _1bsbo7ao _4t3io7ao _t9ecjyd4 _bfhkcdhy",
|
|
9
9
|
'top-start': "_1eint94y",
|
|
10
|
+
'top-center': "_1eint94y",
|
|
10
11
|
'top-end': "_1eint94y",
|
|
11
12
|
'bottom-start': "_1s1gt94y",
|
|
13
|
+
'bottom-center': "_1s1gt94y",
|
|
12
14
|
'bottom-end': "_1s1gt94y",
|
|
13
15
|
'right-start': "_1yxnt94y",
|
|
14
16
|
'right-end': "_1yxnt94y",
|