@react-spectrum/statuslight 3.5.11 → 3.5.12

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.
@@ -0,0 +1,57 @@
1
+ require("./vars.571171ed.css");
2
+ var $7e20c9d2bb376434$exports = require("./statuslight_vars_css.main.js");
3
+ var $8aavy$reactspectrumutils = require("@react-spectrum/utils");
4
+ var $8aavy$reactariautils = require("@react-aria/utils");
5
+ var $8aavy$react = require("react");
6
+ var $8aavy$reactspectrumprovider = require("@react-spectrum/provider");
7
+
8
+
9
+ function $parcel$interopDefault(a) {
10
+ return a && a.__esModule ? a.default : a;
11
+ }
12
+
13
+ function $parcel$export(e, n, v, s) {
14
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
15
+ }
16
+
17
+ $parcel$export(module.exports, "StatusLight", () => $ba01d1490c4da3ea$export$5f84c37a31c6e41c);
18
+ /*
19
+ * Copyright 2020 Adobe. All rights reserved.
20
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
21
+ * you may not use this file except in compliance with the License. You may obtain a copy
22
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
23
+ *
24
+ * Unless required by applicable law or agreed to in writing, software distributed under
25
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
26
+ * OF ANY KIND, either express or implied. See the License for the specific language
27
+ * governing permissions and limitations under the License.
28
+ */
29
+
30
+
31
+
32
+
33
+ function $ba01d1490c4da3ea$var$StatusLight(props, ref) {
34
+ let { variant: variant, children: children, isDisabled: isDisabled, role: role, ...otherProps } = (0, $8aavy$reactspectrumprovider.useProviderProps)(props);
35
+ let domRef = (0, $8aavy$reactspectrumutils.useDOMRef)(ref);
36
+ let { styleProps: styleProps } = (0, $8aavy$reactspectrumutils.useStyleProps)(otherProps);
37
+ if (!children && !props["aria-label"]) console.warn("If no children are provided, an aria-label must be specified");
38
+ if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled StatusLight must have a role.");
39
+ return /*#__PURE__*/ (0, ($parcel$interopDefault($8aavy$react))).createElement("div", {
40
+ ...(0, $8aavy$reactariautils.filterDOMProps)(otherProps, {
41
+ labelable: !!role
42
+ }),
43
+ ...styleProps,
44
+ role: role,
45
+ className: (0, $8aavy$reactspectrumutils.classNames)((0, ($parcel$interopDefault($7e20c9d2bb376434$exports))), "spectrum-StatusLight", `spectrum-StatusLight--${variant}`, {
46
+ "is-disabled": isDisabled
47
+ }, styleProps.className),
48
+ ref: domRef
49
+ }, children);
50
+ }
51
+ /**
52
+ * Status lights are used to color code categories and labels commonly found in data visualization.
53
+ * When status lights have a semantic meaning, they should use semantic variant colors.
54
+ */ let $ba01d1490c4da3ea$export$5f84c37a31c6e41c = /*#__PURE__*/ (0, $8aavy$react.forwardRef)($ba01d1490c4da3ea$var$StatusLight);
55
+
56
+
57
+ //# sourceMappingURL=StatusLight.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAUD,SAAS,kCAAY,KAA+B,EAAE,GAA2B;IAC/E,IAAI,WACF,OAAO,YACP,QAAQ,cACR,UAAU,QACV,IAAI,EACJ,GAAG,YACJ,GAAG,CAAA,GAAA,6CAAe,EAAE;IACrB,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IACvB,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IAEjC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,aAAa,EACnC,QAAQ,IAAI,CAAC;IAGf,IAAI,CAAC,QAAS,CAAA,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,kBAAkB,AAAD,GAC1D,QAAQ,IAAI,CAAC;IAGf,qBACE,0DAAC;QACE,GAAG,CAAA,GAAA,oCAAa,EAAE,YAAY;YAAC,WAAW,CAAC,CAAC;QAAI,EAAE;QAClD,GAAG,UAAU;QACd,MAAM;QACN,WAAW,CAAA,GAAA,oCAAS,EAClB,CAAA,GAAA,mDAAK,GACL,wBACA,CAAC,sBAAsB,EAAE,QAAQ,CAAC,EAClC;YACE,eAAe;QACjB,GACA,WAAW,SAAS;QAEtB,KAAK;OACJ;AAGP;AAEA;;;CAGC,GACD,IAAI,0DAAe,CAAA,GAAA,uBAAS,EAAE","sources":["packages/@react-spectrum/statuslight/src/StatusLight.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {forwardRef} from 'react';\nimport {SpectrumStatusLightProps} from '@react-types/statuslight';\nimport styles from '@adobe/spectrum-css-temp/components/statuslight/vars.css';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction StatusLight(props: SpectrumStatusLightProps, ref: DOMRef<HTMLDivElement>) {\n let {\n variant,\n children,\n isDisabled,\n role,\n ...otherProps\n } = useProviderProps(props);\n let domRef = useDOMRef(ref);\n let {styleProps} = useStyleProps(otherProps);\n\n if (!children && !props['aria-label']) {\n console.warn('If no children are provided, an aria-label must be specified');\n }\n\n if (!role && (props['aria-label'] || props['aria-labelledby'])) {\n console.warn('A labelled StatusLight must have a role.');\n }\n\n return (\n <div\n {...filterDOMProps(otherProps, {labelable: !!role})}\n {...styleProps}\n role={role}\n className={classNames(\n styles,\n 'spectrum-StatusLight',\n `spectrum-StatusLight--${variant}`,\n {\n 'is-disabled': isDisabled\n },\n styleProps.className\n )}\n ref={domRef}>\n {children}\n </div>\n );\n}\n\n/**\n * Status lights are used to color code categories and labels commonly found in data visualization.\n * When status lights have a semantic meaning, they should use semantic variant colors.\n */\nlet _StatusLight = forwardRef(StatusLight);\nexport {_StatusLight as StatusLight};\n"],"names":[],"version":3,"file":"StatusLight.main.js.map"}
@@ -0,0 +1,52 @@
1
+ import "./vars.571171ed.css";
2
+ import $k8ZOF$statuslight_vars_cssmodulejs from "./statuslight_vars_css.mjs";
3
+ import {useDOMRef as $k8ZOF$useDOMRef, useStyleProps as $k8ZOF$useStyleProps, classNames as $k8ZOF$classNames} from "@react-spectrum/utils";
4
+ import {filterDOMProps as $k8ZOF$filterDOMProps} from "@react-aria/utils";
5
+ import $k8ZOF$react, {forwardRef as $k8ZOF$forwardRef} from "react";
6
+ import {useProviderProps as $k8ZOF$useProviderProps} from "@react-spectrum/provider";
7
+
8
+
9
+ function $parcel$interopDefault(a) {
10
+ return a && a.__esModule ? a.default : a;
11
+ }
12
+ /*
13
+ * Copyright 2020 Adobe. All rights reserved.
14
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
15
+ * you may not use this file except in compliance with the License. You may obtain a copy
16
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software distributed under
19
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
20
+ * OF ANY KIND, either express or implied. See the License for the specific language
21
+ * governing permissions and limitations under the License.
22
+ */
23
+
24
+
25
+
26
+
27
+ function $df8f173c8bd4ebc0$var$StatusLight(props, ref) {
28
+ let { variant: variant, children: children, isDisabled: isDisabled, role: role, ...otherProps } = (0, $k8ZOF$useProviderProps)(props);
29
+ let domRef = (0, $k8ZOF$useDOMRef)(ref);
30
+ let { styleProps: styleProps } = (0, $k8ZOF$useStyleProps)(otherProps);
31
+ if (!children && !props["aria-label"]) console.warn("If no children are provided, an aria-label must be specified");
32
+ if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled StatusLight must have a role.");
33
+ return /*#__PURE__*/ (0, $k8ZOF$react).createElement("div", {
34
+ ...(0, $k8ZOF$filterDOMProps)(otherProps, {
35
+ labelable: !!role
36
+ }),
37
+ ...styleProps,
38
+ role: role,
39
+ className: (0, $k8ZOF$classNames)((0, ($parcel$interopDefault($k8ZOF$statuslight_vars_cssmodulejs))), "spectrum-StatusLight", `spectrum-StatusLight--${variant}`, {
40
+ "is-disabled": isDisabled
41
+ }, styleProps.className),
42
+ ref: domRef
43
+ }, children);
44
+ }
45
+ /**
46
+ * Status lights are used to color code categories and labels commonly found in data visualization.
47
+ * When status lights have a semantic meaning, they should use semantic variant colors.
48
+ */ let $df8f173c8bd4ebc0$export$5f84c37a31c6e41c = /*#__PURE__*/ (0, $k8ZOF$forwardRef)($df8f173c8bd4ebc0$var$StatusLight);
49
+
50
+
51
+ export {$df8f173c8bd4ebc0$export$5f84c37a31c6e41c as StatusLight};
52
+ //# sourceMappingURL=StatusLight.mjs.map
@@ -0,0 +1,52 @@
1
+ import "./vars.571171ed.css";
2
+ import $k8ZOF$statuslight_vars_cssmodulejs from "./statuslight_vars_css.module.js";
3
+ import {useDOMRef as $k8ZOF$useDOMRef, useStyleProps as $k8ZOF$useStyleProps, classNames as $k8ZOF$classNames} from "@react-spectrum/utils";
4
+ import {filterDOMProps as $k8ZOF$filterDOMProps} from "@react-aria/utils";
5
+ import $k8ZOF$react, {forwardRef as $k8ZOF$forwardRef} from "react";
6
+ import {useProviderProps as $k8ZOF$useProviderProps} from "@react-spectrum/provider";
7
+
8
+
9
+ function $parcel$interopDefault(a) {
10
+ return a && a.__esModule ? a.default : a;
11
+ }
12
+ /*
13
+ * Copyright 2020 Adobe. All rights reserved.
14
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
15
+ * you may not use this file except in compliance with the License. You may obtain a copy
16
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software distributed under
19
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
20
+ * OF ANY KIND, either express or implied. See the License for the specific language
21
+ * governing permissions and limitations under the License.
22
+ */
23
+
24
+
25
+
26
+
27
+ function $df8f173c8bd4ebc0$var$StatusLight(props, ref) {
28
+ let { variant: variant, children: children, isDisabled: isDisabled, role: role, ...otherProps } = (0, $k8ZOF$useProviderProps)(props);
29
+ let domRef = (0, $k8ZOF$useDOMRef)(ref);
30
+ let { styleProps: styleProps } = (0, $k8ZOF$useStyleProps)(otherProps);
31
+ if (!children && !props["aria-label"]) console.warn("If no children are provided, an aria-label must be specified");
32
+ if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled StatusLight must have a role.");
33
+ return /*#__PURE__*/ (0, $k8ZOF$react).createElement("div", {
34
+ ...(0, $k8ZOF$filterDOMProps)(otherProps, {
35
+ labelable: !!role
36
+ }),
37
+ ...styleProps,
38
+ role: role,
39
+ className: (0, $k8ZOF$classNames)((0, ($parcel$interopDefault($k8ZOF$statuslight_vars_cssmodulejs))), "spectrum-StatusLight", `spectrum-StatusLight--${variant}`, {
40
+ "is-disabled": isDisabled
41
+ }, styleProps.className),
42
+ ref: domRef
43
+ }, children);
44
+ }
45
+ /**
46
+ * Status lights are used to color code categories and labels commonly found in data visualization.
47
+ * When status lights have a semantic meaning, they should use semantic variant colors.
48
+ */ let $df8f173c8bd4ebc0$export$5f84c37a31c6e41c = /*#__PURE__*/ (0, $k8ZOF$forwardRef)($df8f173c8bd4ebc0$var$StatusLight);
49
+
50
+
51
+ export {$df8f173c8bd4ebc0$export$5f84c37a31c6e41c as StatusLight};
52
+ //# sourceMappingURL=StatusLight.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAUD,SAAS,kCAAY,KAA+B,EAAE,GAA2B;IAC/E,IAAI,WACF,OAAO,YACP,QAAQ,cACR,UAAU,QACV,IAAI,EACJ,GAAG,YACJ,GAAG,CAAA,GAAA,uBAAe,EAAE;IACrB,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IACvB,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IAEjC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,aAAa,EACnC,QAAQ,IAAI,CAAC;IAGf,IAAI,CAAC,QAAS,CAAA,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,kBAAkB,AAAD,GAC1D,QAAQ,IAAI,CAAC;IAGf,qBACE,gCAAC;QACE,GAAG,CAAA,GAAA,qBAAa,EAAE,YAAY;YAAC,WAAW,CAAC,CAAC;QAAI,EAAE;QAClD,GAAG,UAAU;QACd,MAAM;QACN,WAAW,CAAA,GAAA,iBAAS,EAClB,CAAA,GAAA,6DAAK,GACL,wBACA,CAAC,sBAAsB,EAAE,QAAQ,CAAC,EAClC;YACE,eAAe;QACjB,GACA,WAAW,SAAS;QAEtB,KAAK;OACJ;AAGP;AAEA;;;CAGC,GACD,IAAI,0DAAe,CAAA,GAAA,iBAAS,EAAE","sources":["packages/@react-spectrum/statuslight/src/StatusLight.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {forwardRef} from 'react';\nimport {SpectrumStatusLightProps} from '@react-types/statuslight';\nimport styles from '@adobe/spectrum-css-temp/components/statuslight/vars.css';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction StatusLight(props: SpectrumStatusLightProps, ref: DOMRef<HTMLDivElement>) {\n let {\n variant,\n children,\n isDisabled,\n role,\n ...otherProps\n } = useProviderProps(props);\n let domRef = useDOMRef(ref);\n let {styleProps} = useStyleProps(otherProps);\n\n if (!children && !props['aria-label']) {\n console.warn('If no children are provided, an aria-label must be specified');\n }\n\n if (!role && (props['aria-label'] || props['aria-labelledby'])) {\n console.warn('A labelled StatusLight must have a role.');\n }\n\n return (\n <div\n {...filterDOMProps(otherProps, {labelable: !!role})}\n {...styleProps}\n role={role}\n className={classNames(\n styles,\n 'spectrum-StatusLight',\n `spectrum-StatusLight--${variant}`,\n {\n 'is-disabled': isDisabled\n },\n styleProps.className\n )}\n ref={domRef}>\n {children}\n </div>\n );\n}\n\n/**\n * Status lights are used to color code categories and labels commonly found in data visualization.\n * When status lights have a semantic meaning, they should use semantic variant colors.\n */\nlet _StatusLight = forwardRef(StatusLight);\nexport {_StatusLight as StatusLight};\n"],"names":[],"version":3,"file":"StatusLight.module.js.map"}
package/dist/import.mjs CHANGED
@@ -1,17 +1,5 @@
1
- import "./main.css";
2
- import {useDOMRef as $71ACv$useDOMRef, useStyleProps as $71ACv$useStyleProps, classNames as $71ACv$classNames} from "@react-spectrum/utils";
3
- import {filterDOMProps as $71ACv$filterDOMProps} from "@react-aria/utils";
4
- import $71ACv$react, {forwardRef as $71ACv$forwardRef} from "react";
5
- import {useProviderProps as $71ACv$useProviderProps} from "@react-spectrum/provider";
1
+ import {StatusLight as $df8f173c8bd4ebc0$export$5f84c37a31c6e41c} from "./StatusLight.mjs";
6
2
 
7
-
8
- function $parcel$interopDefault(a) {
9
- return a && a.__esModule ? a.default : a;
10
- }
11
-
12
- function $parcel$export(e, n, v, s) {
13
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
14
- }
15
3
  /*
16
4
  * Copyright 2020 Adobe. All rights reserved.
17
5
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -23,110 +11,6 @@ function $parcel$export(e, n, v, s) {
23
11
  * OF ANY KIND, either express or implied. See the License for the specific language
24
12
  * governing permissions and limitations under the License.
25
13
  */ /// <reference types="css-module-types" />
26
- /*
27
- * Copyright 2020 Adobe. All rights reserved.
28
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
29
- * you may not use this file except in compliance with the License. You may obtain a copy
30
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing, software distributed under
33
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
34
- * OF ANY KIND, either express or implied. See the License for the specific language
35
- * governing permissions and limitations under the License.
36
- */
37
-
38
-
39
- var $7661ca422872705f$exports = {};
40
-
41
- $parcel$export($7661ca422872705f$exports, "focus-ring", () => $7661ca422872705f$export$f39a09f249340e2a, (v) => $7661ca422872705f$export$f39a09f249340e2a = v);
42
- $parcel$export($7661ca422872705f$exports, "i18nFontFamily", () => $7661ca422872705f$export$8c4ee2c50c22c514, (v) => $7661ca422872705f$export$8c4ee2c50c22c514 = v);
43
- $parcel$export($7661ca422872705f$exports, "is-disabled", () => $7661ca422872705f$export$d35bc1e505d1ebbf, (v) => $7661ca422872705f$export$d35bc1e505d1ebbf = v);
44
- $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing-ring", () => $7661ca422872705f$export$4109102f950813a6, (v) => $7661ca422872705f$export$4109102f950813a6 = v);
45
- $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing", () => $7661ca422872705f$export$24c7f46a6e3605dd, (v) => $7661ca422872705f$export$24c7f46a6e3605dd = v);
46
- $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing--quiet", () => $7661ca422872705f$export$2927016961429360, (v) => $7661ca422872705f$export$2927016961429360 = v);
47
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight", () => $7661ca422872705f$export$11d3697e7e5c1bef, (v) => $7661ca422872705f$export$11d3697e7e5c1bef = v);
48
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--active", () => $7661ca422872705f$export$b40c603f4b579265, (v) => $7661ca422872705f$export$b40c603f4b579265 = v);
49
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--celery", () => $7661ca422872705f$export$e9a22f483095fe3e, (v) => $7661ca422872705f$export$e9a22f483095fe3e = v);
50
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--chartreuse", () => $7661ca422872705f$export$f05bd1f10c0cc15f, (v) => $7661ca422872705f$export$f05bd1f10c0cc15f = v);
51
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--fuchsia", () => $7661ca422872705f$export$cbaba642d0afd312, (v) => $7661ca422872705f$export$cbaba642d0afd312 = v);
52
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--indigo", () => $7661ca422872705f$export$8b77e0c07c11635a, (v) => $7661ca422872705f$export$8b77e0c07c11635a = v);
53
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--info", () => $7661ca422872705f$export$945a5d9a4e8494e6, (v) => $7661ca422872705f$export$945a5d9a4e8494e6 = v);
54
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--magenta", () => $7661ca422872705f$export$43990cc5ba9a0059, (v) => $7661ca422872705f$export$43990cc5ba9a0059 = v);
55
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--negative", () => $7661ca422872705f$export$1974c2646528dc4f, (v) => $7661ca422872705f$export$1974c2646528dc4f = v);
56
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--neutral", () => $7661ca422872705f$export$bbf75dd99797a93e, (v) => $7661ca422872705f$export$bbf75dd99797a93e = v);
57
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--notice", () => $7661ca422872705f$export$30a5e512ed4618b, (v) => $7661ca422872705f$export$30a5e512ed4618b = v);
58
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--positive", () => $7661ca422872705f$export$141dae5af9534f54, (v) => $7661ca422872705f$export$141dae5af9534f54 = v);
59
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--purple", () => $7661ca422872705f$export$975baced4f8182b4, (v) => $7661ca422872705f$export$975baced4f8182b4 = v);
60
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--seafoam", () => $7661ca422872705f$export$d14bcd2d3ae8238c, (v) => $7661ca422872705f$export$d14bcd2d3ae8238c = v);
61
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--yellow", () => $7661ca422872705f$export$b22c4af54e28c6c, (v) => $7661ca422872705f$export$b22c4af54e28c6c = v);
62
- var $7661ca422872705f$export$f39a09f249340e2a;
63
- var $7661ca422872705f$export$8c4ee2c50c22c514;
64
- var $7661ca422872705f$export$d35bc1e505d1ebbf;
65
- var $7661ca422872705f$export$4109102f950813a6;
66
- var $7661ca422872705f$export$24c7f46a6e3605dd;
67
- var $7661ca422872705f$export$2927016961429360;
68
- var $7661ca422872705f$export$11d3697e7e5c1bef;
69
- var $7661ca422872705f$export$b40c603f4b579265;
70
- var $7661ca422872705f$export$e9a22f483095fe3e;
71
- var $7661ca422872705f$export$f05bd1f10c0cc15f;
72
- var $7661ca422872705f$export$cbaba642d0afd312;
73
- var $7661ca422872705f$export$8b77e0c07c11635a;
74
- var $7661ca422872705f$export$945a5d9a4e8494e6;
75
- var $7661ca422872705f$export$43990cc5ba9a0059;
76
- var $7661ca422872705f$export$1974c2646528dc4f;
77
- var $7661ca422872705f$export$bbf75dd99797a93e;
78
- var $7661ca422872705f$export$30a5e512ed4618b;
79
- var $7661ca422872705f$export$141dae5af9534f54;
80
- var $7661ca422872705f$export$975baced4f8182b4;
81
- var $7661ca422872705f$export$d14bcd2d3ae8238c;
82
- var $7661ca422872705f$export$b22c4af54e28c6c;
83
- $7661ca422872705f$export$f39a09f249340e2a = `j59EQa_focus-ring`;
84
- $7661ca422872705f$export$8c4ee2c50c22c514 = `j59EQa_i18nFontFamily`;
85
- $7661ca422872705f$export$d35bc1e505d1ebbf = `j59EQa_is-disabled`;
86
- $7661ca422872705f$export$4109102f950813a6 = `j59EQa_spectrum-FocusRing-ring`;
87
- $7661ca422872705f$export$24c7f46a6e3605dd = `j59EQa_spectrum-FocusRing ${$7661ca422872705f$export$4109102f950813a6}`;
88
- $7661ca422872705f$export$2927016961429360 = `j59EQa_spectrum-FocusRing--quiet`;
89
- $7661ca422872705f$export$11d3697e7e5c1bef = `j59EQa_spectrum-StatusLight`;
90
- $7661ca422872705f$export$b40c603f4b579265 = `j59EQa_spectrum-StatusLight--active`;
91
- $7661ca422872705f$export$e9a22f483095fe3e = `j59EQa_spectrum-StatusLight--celery`;
92
- $7661ca422872705f$export$f05bd1f10c0cc15f = `j59EQa_spectrum-StatusLight--chartreuse`;
93
- $7661ca422872705f$export$cbaba642d0afd312 = `j59EQa_spectrum-StatusLight--fuchsia`;
94
- $7661ca422872705f$export$8b77e0c07c11635a = `j59EQa_spectrum-StatusLight--indigo`;
95
- $7661ca422872705f$export$945a5d9a4e8494e6 = `j59EQa_spectrum-StatusLight--info`;
96
- $7661ca422872705f$export$43990cc5ba9a0059 = `j59EQa_spectrum-StatusLight--magenta`;
97
- $7661ca422872705f$export$1974c2646528dc4f = `j59EQa_spectrum-StatusLight--negative`;
98
- $7661ca422872705f$export$bbf75dd99797a93e = `j59EQa_spectrum-StatusLight--neutral`;
99
- $7661ca422872705f$export$30a5e512ed4618b = `j59EQa_spectrum-StatusLight--notice`;
100
- $7661ca422872705f$export$141dae5af9534f54 = `j59EQa_spectrum-StatusLight--positive`;
101
- $7661ca422872705f$export$975baced4f8182b4 = `j59EQa_spectrum-StatusLight--purple`;
102
- $7661ca422872705f$export$d14bcd2d3ae8238c = `j59EQa_spectrum-StatusLight--seafoam`;
103
- $7661ca422872705f$export$b22c4af54e28c6c = `j59EQa_spectrum-StatusLight--yellow`;
104
-
105
-
106
-
107
- function $df8f173c8bd4ebc0$var$StatusLight(props, ref) {
108
- let { variant: variant, children: children, isDisabled: isDisabled, role: role, ...otherProps } = (0, $71ACv$useProviderProps)(props);
109
- let domRef = (0, $71ACv$useDOMRef)(ref);
110
- let { styleProps: styleProps } = (0, $71ACv$useStyleProps)(otherProps);
111
- if (!children && !props["aria-label"]) console.warn("If no children are provided, an aria-label must be specified");
112
- if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled StatusLight must have a role.");
113
- return /*#__PURE__*/ (0, $71ACv$react).createElement("div", {
114
- ...(0, $71ACv$filterDOMProps)(otherProps, {
115
- labelable: !!role
116
- }),
117
- ...styleProps,
118
- role: role,
119
- className: (0, $71ACv$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7661ca422872705f$exports))), "spectrum-StatusLight", `spectrum-StatusLight--${variant}`, {
120
- "is-disabled": isDisabled
121
- }, styleProps.className),
122
- ref: domRef
123
- }, children);
124
- }
125
- /**
126
- * Status lights are used to color code categories and labels commonly found in data visualization.
127
- * When status lights have a semantic meaning, they should use semantic variant colors.
128
- */ let $df8f173c8bd4ebc0$export$5f84c37a31c6e41c = /*#__PURE__*/ (0, $71ACv$forwardRef)($df8f173c8bd4ebc0$var$StatusLight);
129
-
130
14
 
131
15
 
132
16
 
package/dist/main.js CHANGED
@@ -1,19 +1,11 @@
1
- require("./main.css");
2
- var $cYKEG$reactspectrumutils = require("@react-spectrum/utils");
3
- var $cYKEG$reactariautils = require("@react-aria/utils");
4
- var $cYKEG$react = require("react");
5
- var $cYKEG$reactspectrumprovider = require("@react-spectrum/provider");
1
+ var $ba01d1490c4da3ea$exports = require("./StatusLight.main.js");
6
2
 
7
3
 
8
4
  function $parcel$export(e, n, v, s) {
9
5
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
10
6
  }
11
7
 
12
- function $parcel$interopDefault(a) {
13
- return a && a.__esModule ? a.default : a;
14
- }
15
-
16
- $parcel$export(module.exports, "StatusLight", () => $ba01d1490c4da3ea$export$5f84c37a31c6e41c);
8
+ $parcel$export(module.exports, "StatusLight", () => $ba01d1490c4da3ea$exports.StatusLight);
17
9
  /*
18
10
  * Copyright 2020 Adobe. All rights reserved.
19
11
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -25,110 +17,6 @@ $parcel$export(module.exports, "StatusLight", () => $ba01d1490c4da3ea$export$5f8
25
17
  * OF ANY KIND, either express or implied. See the License for the specific language
26
18
  * governing permissions and limitations under the License.
27
19
  */ /// <reference types="css-module-types" />
28
- /*
29
- * Copyright 2020 Adobe. All rights reserved.
30
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
31
- * you may not use this file except in compliance with the License. You may obtain a copy
32
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
33
- *
34
- * Unless required by applicable law or agreed to in writing, software distributed under
35
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
36
- * OF ANY KIND, either express or implied. See the License for the specific language
37
- * governing permissions and limitations under the License.
38
- */
39
-
40
-
41
- var $7e20c9d2bb376434$exports = {};
42
-
43
- $parcel$export($7e20c9d2bb376434$exports, "focus-ring", () => $7e20c9d2bb376434$export$f39a09f249340e2a, (v) => $7e20c9d2bb376434$export$f39a09f249340e2a = v);
44
- $parcel$export($7e20c9d2bb376434$exports, "i18nFontFamily", () => $7e20c9d2bb376434$export$8c4ee2c50c22c514, (v) => $7e20c9d2bb376434$export$8c4ee2c50c22c514 = v);
45
- $parcel$export($7e20c9d2bb376434$exports, "is-disabled", () => $7e20c9d2bb376434$export$d35bc1e505d1ebbf, (v) => $7e20c9d2bb376434$export$d35bc1e505d1ebbf = v);
46
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-FocusRing-ring", () => $7e20c9d2bb376434$export$4109102f950813a6, (v) => $7e20c9d2bb376434$export$4109102f950813a6 = v);
47
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-FocusRing", () => $7e20c9d2bb376434$export$24c7f46a6e3605dd, (v) => $7e20c9d2bb376434$export$24c7f46a6e3605dd = v);
48
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-FocusRing--quiet", () => $7e20c9d2bb376434$export$2927016961429360, (v) => $7e20c9d2bb376434$export$2927016961429360 = v);
49
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight", () => $7e20c9d2bb376434$export$11d3697e7e5c1bef, (v) => $7e20c9d2bb376434$export$11d3697e7e5c1bef = v);
50
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--active", () => $7e20c9d2bb376434$export$b40c603f4b579265, (v) => $7e20c9d2bb376434$export$b40c603f4b579265 = v);
51
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--celery", () => $7e20c9d2bb376434$export$e9a22f483095fe3e, (v) => $7e20c9d2bb376434$export$e9a22f483095fe3e = v);
52
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--chartreuse", () => $7e20c9d2bb376434$export$f05bd1f10c0cc15f, (v) => $7e20c9d2bb376434$export$f05bd1f10c0cc15f = v);
53
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--fuchsia", () => $7e20c9d2bb376434$export$cbaba642d0afd312, (v) => $7e20c9d2bb376434$export$cbaba642d0afd312 = v);
54
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--indigo", () => $7e20c9d2bb376434$export$8b77e0c07c11635a, (v) => $7e20c9d2bb376434$export$8b77e0c07c11635a = v);
55
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--info", () => $7e20c9d2bb376434$export$945a5d9a4e8494e6, (v) => $7e20c9d2bb376434$export$945a5d9a4e8494e6 = v);
56
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--magenta", () => $7e20c9d2bb376434$export$43990cc5ba9a0059, (v) => $7e20c9d2bb376434$export$43990cc5ba9a0059 = v);
57
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--negative", () => $7e20c9d2bb376434$export$1974c2646528dc4f, (v) => $7e20c9d2bb376434$export$1974c2646528dc4f = v);
58
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--neutral", () => $7e20c9d2bb376434$export$bbf75dd99797a93e, (v) => $7e20c9d2bb376434$export$bbf75dd99797a93e = v);
59
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--notice", () => $7e20c9d2bb376434$export$30a5e512ed4618b, (v) => $7e20c9d2bb376434$export$30a5e512ed4618b = v);
60
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--positive", () => $7e20c9d2bb376434$export$141dae5af9534f54, (v) => $7e20c9d2bb376434$export$141dae5af9534f54 = v);
61
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--purple", () => $7e20c9d2bb376434$export$975baced4f8182b4, (v) => $7e20c9d2bb376434$export$975baced4f8182b4 = v);
62
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--seafoam", () => $7e20c9d2bb376434$export$d14bcd2d3ae8238c, (v) => $7e20c9d2bb376434$export$d14bcd2d3ae8238c = v);
63
- $parcel$export($7e20c9d2bb376434$exports, "spectrum-StatusLight--yellow", () => $7e20c9d2bb376434$export$b22c4af54e28c6c, (v) => $7e20c9d2bb376434$export$b22c4af54e28c6c = v);
64
- var $7e20c9d2bb376434$export$f39a09f249340e2a;
65
- var $7e20c9d2bb376434$export$8c4ee2c50c22c514;
66
- var $7e20c9d2bb376434$export$d35bc1e505d1ebbf;
67
- var $7e20c9d2bb376434$export$4109102f950813a6;
68
- var $7e20c9d2bb376434$export$24c7f46a6e3605dd;
69
- var $7e20c9d2bb376434$export$2927016961429360;
70
- var $7e20c9d2bb376434$export$11d3697e7e5c1bef;
71
- var $7e20c9d2bb376434$export$b40c603f4b579265;
72
- var $7e20c9d2bb376434$export$e9a22f483095fe3e;
73
- var $7e20c9d2bb376434$export$f05bd1f10c0cc15f;
74
- var $7e20c9d2bb376434$export$cbaba642d0afd312;
75
- var $7e20c9d2bb376434$export$8b77e0c07c11635a;
76
- var $7e20c9d2bb376434$export$945a5d9a4e8494e6;
77
- var $7e20c9d2bb376434$export$43990cc5ba9a0059;
78
- var $7e20c9d2bb376434$export$1974c2646528dc4f;
79
- var $7e20c9d2bb376434$export$bbf75dd99797a93e;
80
- var $7e20c9d2bb376434$export$30a5e512ed4618b;
81
- var $7e20c9d2bb376434$export$141dae5af9534f54;
82
- var $7e20c9d2bb376434$export$975baced4f8182b4;
83
- var $7e20c9d2bb376434$export$d14bcd2d3ae8238c;
84
- var $7e20c9d2bb376434$export$b22c4af54e28c6c;
85
- $7e20c9d2bb376434$export$f39a09f249340e2a = `j59EQa_focus-ring`;
86
- $7e20c9d2bb376434$export$8c4ee2c50c22c514 = `j59EQa_i18nFontFamily`;
87
- $7e20c9d2bb376434$export$d35bc1e505d1ebbf = `j59EQa_is-disabled`;
88
- $7e20c9d2bb376434$export$4109102f950813a6 = `j59EQa_spectrum-FocusRing-ring`;
89
- $7e20c9d2bb376434$export$24c7f46a6e3605dd = `j59EQa_spectrum-FocusRing ${$7e20c9d2bb376434$export$4109102f950813a6}`;
90
- $7e20c9d2bb376434$export$2927016961429360 = `j59EQa_spectrum-FocusRing--quiet`;
91
- $7e20c9d2bb376434$export$11d3697e7e5c1bef = `j59EQa_spectrum-StatusLight`;
92
- $7e20c9d2bb376434$export$b40c603f4b579265 = `j59EQa_spectrum-StatusLight--active`;
93
- $7e20c9d2bb376434$export$e9a22f483095fe3e = `j59EQa_spectrum-StatusLight--celery`;
94
- $7e20c9d2bb376434$export$f05bd1f10c0cc15f = `j59EQa_spectrum-StatusLight--chartreuse`;
95
- $7e20c9d2bb376434$export$cbaba642d0afd312 = `j59EQa_spectrum-StatusLight--fuchsia`;
96
- $7e20c9d2bb376434$export$8b77e0c07c11635a = `j59EQa_spectrum-StatusLight--indigo`;
97
- $7e20c9d2bb376434$export$945a5d9a4e8494e6 = `j59EQa_spectrum-StatusLight--info`;
98
- $7e20c9d2bb376434$export$43990cc5ba9a0059 = `j59EQa_spectrum-StatusLight--magenta`;
99
- $7e20c9d2bb376434$export$1974c2646528dc4f = `j59EQa_spectrum-StatusLight--negative`;
100
- $7e20c9d2bb376434$export$bbf75dd99797a93e = `j59EQa_spectrum-StatusLight--neutral`;
101
- $7e20c9d2bb376434$export$30a5e512ed4618b = `j59EQa_spectrum-StatusLight--notice`;
102
- $7e20c9d2bb376434$export$141dae5af9534f54 = `j59EQa_spectrum-StatusLight--positive`;
103
- $7e20c9d2bb376434$export$975baced4f8182b4 = `j59EQa_spectrum-StatusLight--purple`;
104
- $7e20c9d2bb376434$export$d14bcd2d3ae8238c = `j59EQa_spectrum-StatusLight--seafoam`;
105
- $7e20c9d2bb376434$export$b22c4af54e28c6c = `j59EQa_spectrum-StatusLight--yellow`;
106
-
107
-
108
-
109
- function $ba01d1490c4da3ea$var$StatusLight(props, ref) {
110
- let { variant: variant, children: children, isDisabled: isDisabled, role: role, ...otherProps } = (0, $cYKEG$reactspectrumprovider.useProviderProps)(props);
111
- let domRef = (0, $cYKEG$reactspectrumutils.useDOMRef)(ref);
112
- let { styleProps: styleProps } = (0, $cYKEG$reactspectrumutils.useStyleProps)(otherProps);
113
- if (!children && !props["aria-label"]) console.warn("If no children are provided, an aria-label must be specified");
114
- if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled StatusLight must have a role.");
115
- return /*#__PURE__*/ (0, ($parcel$interopDefault($cYKEG$react))).createElement("div", {
116
- ...(0, $cYKEG$reactariautils.filterDOMProps)(otherProps, {
117
- labelable: !!role
118
- }),
119
- ...styleProps,
120
- role: role,
121
- className: (0, $cYKEG$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7e20c9d2bb376434$exports))), "spectrum-StatusLight", `spectrum-StatusLight--${variant}`, {
122
- "is-disabled": isDisabled
123
- }, styleProps.className),
124
- ref: domRef
125
- }, children);
126
- }
127
- /**
128
- * Status lights are used to color code categories and labels commonly found in data visualization.
129
- * When status lights have a semantic meaning, they should use semantic variant colors.
130
- */ let $ba01d1490c4da3ea$export$5f84c37a31c6e41c = /*#__PURE__*/ (0, $cYKEG$react.forwardRef)($ba01d1490c4da3ea$var$StatusLight);
131
-
132
20
 
133
21
 
134
22
 
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;ACVD,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AApBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAA+C,CAAC,iCAAiC,CAAC;AAClF,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,2CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,2CAAiD,CAAC,mCAAmC,CAAC;;;;ADAtF,SAAS,kCAAY,KAA+B,EAAE,GAA2B;IAC/E,IAAI,WACF,OAAO,YACP,QAAQ,cACR,UAAU,QACV,IAAI,EACJ,GAAG,YACJ,GAAG,CAAA,GAAA,6CAAe,EAAE;IACrB,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IACvB,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IAEjC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,aAAa,EACnC,QAAQ,IAAI,CAAC;IAGf,IAAI,CAAC,QAAS,CAAA,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,kBAAkB,AAAD,GAC1D,QAAQ,IAAI,CAAC;IAGf,qBACE,0DAAC;QACE,GAAG,CAAA,GAAA,oCAAa,EAAE,YAAY;YAAC,WAAW,CAAC,CAAC;QAAI,EAAE;QAClD,GAAG,UAAU;QACd,MAAM;QACN,WAAW,CAAA,GAAA,oCAAS,EAClB,CAAA,GAAA,gEAAK,GACL,wBACA,CAAC,sBAAsB,EAAE,QAAQ,CAAC,EAClC;YACE,eAAe;QACjB,GACA,WAAW,SAAS;QAEtB,KAAK;OACJ;AAGP;AAEA;;;CAGC,GACD,IAAI,0DAAe,CAAA,GAAA,uBAAS,EAAE;","sources":["packages/@react-spectrum/statuslight/src/index.ts","packages/@react-spectrum/statuslight/src/StatusLight.tsx","packages/@adobe/spectrum-css-temp/components/statuslight/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {StatusLight} from './StatusLight';\nexport type {SpectrumStatusLightProps} from '@react-types/statuslight';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {forwardRef} from 'react';\nimport {SpectrumStatusLightProps} from '@react-types/statuslight';\nimport styles from '@adobe/spectrum-css-temp/components/statuslight/vars.css';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction StatusLight(props: SpectrumStatusLightProps, ref: DOMRef<HTMLDivElement>) {\n let {\n variant,\n children,\n isDisabled,\n role,\n ...otherProps\n } = useProviderProps(props);\n let domRef = useDOMRef(ref);\n let {styleProps} = useStyleProps(otherProps);\n\n if (!children && !props['aria-label']) {\n console.warn('If no children are provided, an aria-label must be specified');\n }\n\n if (!role && (props['aria-label'] || props['aria-labelledby'])) {\n console.warn('A labelled StatusLight must have a role.');\n }\n\n return (\n <div\n {...filterDOMProps(otherProps, {labelable: !!role})}\n {...styleProps}\n role={role}\n className={classNames(\n styles,\n 'spectrum-StatusLight',\n `spectrum-StatusLight--${variant}`,\n {\n 'is-disabled': isDisabled\n },\n styleProps.className\n )}\n ref={domRef}>\n {children}\n </div>\n );\n}\n\n/**\n * Status lights are used to color code categories and labels commonly found in data visualization.\n * When status lights have a semantic meaning, they should use semantic variant colors.\n */\nlet _StatusLight = forwardRef(StatusLight);\nexport {_StatusLight as StatusLight};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/statuslight/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {StatusLight} from './StatusLight';\nexport type {SpectrumStatusLightProps} from '@react-types/statuslight';\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js CHANGED
@@ -1,17 +1,5 @@
1
- import "./main.css";
2
- import {useDOMRef as $71ACv$useDOMRef, useStyleProps as $71ACv$useStyleProps, classNames as $71ACv$classNames} from "@react-spectrum/utils";
3
- import {filterDOMProps as $71ACv$filterDOMProps} from "@react-aria/utils";
4
- import $71ACv$react, {forwardRef as $71ACv$forwardRef} from "react";
5
- import {useProviderProps as $71ACv$useProviderProps} from "@react-spectrum/provider";
1
+ import {StatusLight as $df8f173c8bd4ebc0$export$5f84c37a31c6e41c} from "./StatusLight.module.js";
6
2
 
7
-
8
- function $parcel$interopDefault(a) {
9
- return a && a.__esModule ? a.default : a;
10
- }
11
-
12
- function $parcel$export(e, n, v, s) {
13
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
14
- }
15
3
  /*
16
4
  * Copyright 2020 Adobe. All rights reserved.
17
5
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -23,110 +11,6 @@ function $parcel$export(e, n, v, s) {
23
11
  * OF ANY KIND, either express or implied. See the License for the specific language
24
12
  * governing permissions and limitations under the License.
25
13
  */ /// <reference types="css-module-types" />
26
- /*
27
- * Copyright 2020 Adobe. All rights reserved.
28
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
29
- * you may not use this file except in compliance with the License. You may obtain a copy
30
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
31
- *
32
- * Unless required by applicable law or agreed to in writing, software distributed under
33
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
34
- * OF ANY KIND, either express or implied. See the License for the specific language
35
- * governing permissions and limitations under the License.
36
- */
37
-
38
-
39
- var $7661ca422872705f$exports = {};
40
-
41
- $parcel$export($7661ca422872705f$exports, "focus-ring", () => $7661ca422872705f$export$f39a09f249340e2a, (v) => $7661ca422872705f$export$f39a09f249340e2a = v);
42
- $parcel$export($7661ca422872705f$exports, "i18nFontFamily", () => $7661ca422872705f$export$8c4ee2c50c22c514, (v) => $7661ca422872705f$export$8c4ee2c50c22c514 = v);
43
- $parcel$export($7661ca422872705f$exports, "is-disabled", () => $7661ca422872705f$export$d35bc1e505d1ebbf, (v) => $7661ca422872705f$export$d35bc1e505d1ebbf = v);
44
- $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing-ring", () => $7661ca422872705f$export$4109102f950813a6, (v) => $7661ca422872705f$export$4109102f950813a6 = v);
45
- $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing", () => $7661ca422872705f$export$24c7f46a6e3605dd, (v) => $7661ca422872705f$export$24c7f46a6e3605dd = v);
46
- $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing--quiet", () => $7661ca422872705f$export$2927016961429360, (v) => $7661ca422872705f$export$2927016961429360 = v);
47
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight", () => $7661ca422872705f$export$11d3697e7e5c1bef, (v) => $7661ca422872705f$export$11d3697e7e5c1bef = v);
48
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--active", () => $7661ca422872705f$export$b40c603f4b579265, (v) => $7661ca422872705f$export$b40c603f4b579265 = v);
49
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--celery", () => $7661ca422872705f$export$e9a22f483095fe3e, (v) => $7661ca422872705f$export$e9a22f483095fe3e = v);
50
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--chartreuse", () => $7661ca422872705f$export$f05bd1f10c0cc15f, (v) => $7661ca422872705f$export$f05bd1f10c0cc15f = v);
51
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--fuchsia", () => $7661ca422872705f$export$cbaba642d0afd312, (v) => $7661ca422872705f$export$cbaba642d0afd312 = v);
52
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--indigo", () => $7661ca422872705f$export$8b77e0c07c11635a, (v) => $7661ca422872705f$export$8b77e0c07c11635a = v);
53
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--info", () => $7661ca422872705f$export$945a5d9a4e8494e6, (v) => $7661ca422872705f$export$945a5d9a4e8494e6 = v);
54
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--magenta", () => $7661ca422872705f$export$43990cc5ba9a0059, (v) => $7661ca422872705f$export$43990cc5ba9a0059 = v);
55
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--negative", () => $7661ca422872705f$export$1974c2646528dc4f, (v) => $7661ca422872705f$export$1974c2646528dc4f = v);
56
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--neutral", () => $7661ca422872705f$export$bbf75dd99797a93e, (v) => $7661ca422872705f$export$bbf75dd99797a93e = v);
57
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--notice", () => $7661ca422872705f$export$30a5e512ed4618b, (v) => $7661ca422872705f$export$30a5e512ed4618b = v);
58
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--positive", () => $7661ca422872705f$export$141dae5af9534f54, (v) => $7661ca422872705f$export$141dae5af9534f54 = v);
59
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--purple", () => $7661ca422872705f$export$975baced4f8182b4, (v) => $7661ca422872705f$export$975baced4f8182b4 = v);
60
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--seafoam", () => $7661ca422872705f$export$d14bcd2d3ae8238c, (v) => $7661ca422872705f$export$d14bcd2d3ae8238c = v);
61
- $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--yellow", () => $7661ca422872705f$export$b22c4af54e28c6c, (v) => $7661ca422872705f$export$b22c4af54e28c6c = v);
62
- var $7661ca422872705f$export$f39a09f249340e2a;
63
- var $7661ca422872705f$export$8c4ee2c50c22c514;
64
- var $7661ca422872705f$export$d35bc1e505d1ebbf;
65
- var $7661ca422872705f$export$4109102f950813a6;
66
- var $7661ca422872705f$export$24c7f46a6e3605dd;
67
- var $7661ca422872705f$export$2927016961429360;
68
- var $7661ca422872705f$export$11d3697e7e5c1bef;
69
- var $7661ca422872705f$export$b40c603f4b579265;
70
- var $7661ca422872705f$export$e9a22f483095fe3e;
71
- var $7661ca422872705f$export$f05bd1f10c0cc15f;
72
- var $7661ca422872705f$export$cbaba642d0afd312;
73
- var $7661ca422872705f$export$8b77e0c07c11635a;
74
- var $7661ca422872705f$export$945a5d9a4e8494e6;
75
- var $7661ca422872705f$export$43990cc5ba9a0059;
76
- var $7661ca422872705f$export$1974c2646528dc4f;
77
- var $7661ca422872705f$export$bbf75dd99797a93e;
78
- var $7661ca422872705f$export$30a5e512ed4618b;
79
- var $7661ca422872705f$export$141dae5af9534f54;
80
- var $7661ca422872705f$export$975baced4f8182b4;
81
- var $7661ca422872705f$export$d14bcd2d3ae8238c;
82
- var $7661ca422872705f$export$b22c4af54e28c6c;
83
- $7661ca422872705f$export$f39a09f249340e2a = `j59EQa_focus-ring`;
84
- $7661ca422872705f$export$8c4ee2c50c22c514 = `j59EQa_i18nFontFamily`;
85
- $7661ca422872705f$export$d35bc1e505d1ebbf = `j59EQa_is-disabled`;
86
- $7661ca422872705f$export$4109102f950813a6 = `j59EQa_spectrum-FocusRing-ring`;
87
- $7661ca422872705f$export$24c7f46a6e3605dd = `j59EQa_spectrum-FocusRing ${$7661ca422872705f$export$4109102f950813a6}`;
88
- $7661ca422872705f$export$2927016961429360 = `j59EQa_spectrum-FocusRing--quiet`;
89
- $7661ca422872705f$export$11d3697e7e5c1bef = `j59EQa_spectrum-StatusLight`;
90
- $7661ca422872705f$export$b40c603f4b579265 = `j59EQa_spectrum-StatusLight--active`;
91
- $7661ca422872705f$export$e9a22f483095fe3e = `j59EQa_spectrum-StatusLight--celery`;
92
- $7661ca422872705f$export$f05bd1f10c0cc15f = `j59EQa_spectrum-StatusLight--chartreuse`;
93
- $7661ca422872705f$export$cbaba642d0afd312 = `j59EQa_spectrum-StatusLight--fuchsia`;
94
- $7661ca422872705f$export$8b77e0c07c11635a = `j59EQa_spectrum-StatusLight--indigo`;
95
- $7661ca422872705f$export$945a5d9a4e8494e6 = `j59EQa_spectrum-StatusLight--info`;
96
- $7661ca422872705f$export$43990cc5ba9a0059 = `j59EQa_spectrum-StatusLight--magenta`;
97
- $7661ca422872705f$export$1974c2646528dc4f = `j59EQa_spectrum-StatusLight--negative`;
98
- $7661ca422872705f$export$bbf75dd99797a93e = `j59EQa_spectrum-StatusLight--neutral`;
99
- $7661ca422872705f$export$30a5e512ed4618b = `j59EQa_spectrum-StatusLight--notice`;
100
- $7661ca422872705f$export$141dae5af9534f54 = `j59EQa_spectrum-StatusLight--positive`;
101
- $7661ca422872705f$export$975baced4f8182b4 = `j59EQa_spectrum-StatusLight--purple`;
102
- $7661ca422872705f$export$d14bcd2d3ae8238c = `j59EQa_spectrum-StatusLight--seafoam`;
103
- $7661ca422872705f$export$b22c4af54e28c6c = `j59EQa_spectrum-StatusLight--yellow`;
104
-
105
-
106
-
107
- function $df8f173c8bd4ebc0$var$StatusLight(props, ref) {
108
- let { variant: variant, children: children, isDisabled: isDisabled, role: role, ...otherProps } = (0, $71ACv$useProviderProps)(props);
109
- let domRef = (0, $71ACv$useDOMRef)(ref);
110
- let { styleProps: styleProps } = (0, $71ACv$useStyleProps)(otherProps);
111
- if (!children && !props["aria-label"]) console.warn("If no children are provided, an aria-label must be specified");
112
- if (!role && (props["aria-label"] || props["aria-labelledby"])) console.warn("A labelled StatusLight must have a role.");
113
- return /*#__PURE__*/ (0, $71ACv$react).createElement("div", {
114
- ...(0, $71ACv$filterDOMProps)(otherProps, {
115
- labelable: !!role
116
- }),
117
- ...styleProps,
118
- role: role,
119
- className: (0, $71ACv$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($7661ca422872705f$exports))), "spectrum-StatusLight", `spectrum-StatusLight--${variant}`, {
120
- "is-disabled": isDisabled
121
- }, styleProps.className),
122
- ref: domRef
123
- }, children);
124
- }
125
- /**
126
- * Status lights are used to color code categories and labels commonly found in data visualization.
127
- * When status lights have a semantic meaning, they should use semantic variant colors.
128
- */ let $df8f173c8bd4ebc0$export$5f84c37a31c6e41c = /*#__PURE__*/ (0, $71ACv$forwardRef)($df8f173c8bd4ebc0$var$StatusLight);
129
-
130
14
 
131
15
 
132
16
 
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;ACVD,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AApBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAA+C,CAAC,iCAAiC,CAAC;AAClF,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,2CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,2CAAiD,CAAC,mCAAmC,CAAC;;;;ADAtF,SAAS,kCAAY,KAA+B,EAAE,GAA2B;IAC/E,IAAI,WACF,OAAO,YACP,QAAQ,cACR,UAAU,QACV,IAAI,EACJ,GAAG,YACJ,GAAG,CAAA,GAAA,uBAAe,EAAE;IACrB,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IACvB,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IAEjC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,aAAa,EACnC,QAAQ,IAAI,CAAC;IAGf,IAAI,CAAC,QAAS,CAAA,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,kBAAkB,AAAD,GAC1D,QAAQ,IAAI,CAAC;IAGf,qBACE,gCAAC;QACE,GAAG,CAAA,GAAA,qBAAa,EAAE,YAAY;YAAC,WAAW,CAAC,CAAC;QAAI,EAAE;QAClD,GAAG,UAAU;QACd,MAAM;QACN,WAAW,CAAA,GAAA,iBAAS,EAClB,CAAA,GAAA,gEAAK,GACL,wBACA,CAAC,sBAAsB,EAAE,QAAQ,CAAC,EAClC;YACE,eAAe;QACjB,GACA,WAAW,SAAS;QAEtB,KAAK;OACJ;AAGP;AAEA;;;CAGC,GACD,IAAI,0DAAe,CAAA,GAAA,iBAAS,EAAE;","sources":["packages/@react-spectrum/statuslight/src/index.ts","packages/@react-spectrum/statuslight/src/StatusLight.tsx","packages/@adobe/spectrum-css-temp/components/statuslight/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {StatusLight} from './StatusLight';\nexport type {SpectrumStatusLightProps} from '@react-types/statuslight';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {forwardRef} from 'react';\nimport {SpectrumStatusLightProps} from '@react-types/statuslight';\nimport styles from '@adobe/spectrum-css-temp/components/statuslight/vars.css';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction StatusLight(props: SpectrumStatusLightProps, ref: DOMRef<HTMLDivElement>) {\n let {\n variant,\n children,\n isDisabled,\n role,\n ...otherProps\n } = useProviderProps(props);\n let domRef = useDOMRef(ref);\n let {styleProps} = useStyleProps(otherProps);\n\n if (!children && !props['aria-label']) {\n console.warn('If no children are provided, an aria-label must be specified');\n }\n\n if (!role && (props['aria-label'] || props['aria-labelledby'])) {\n console.warn('A labelled StatusLight must have a role.');\n }\n\n return (\n <div\n {...filterDOMProps(otherProps, {labelable: !!role})}\n {...styleProps}\n role={role}\n className={classNames(\n styles,\n 'spectrum-StatusLight',\n `spectrum-StatusLight--${variant}`,\n {\n 'is-disabled': isDisabled\n },\n styleProps.className\n )}\n ref={domRef}>\n {children}\n </div>\n );\n}\n\n/**\n * Status lights are used to color code categories and labels commonly found in data visualization.\n * When status lights have a semantic meaning, they should use semantic variant colors.\n */\nlet _StatusLight = forwardRef(StatusLight);\nexport {_StatusLight as StatusLight};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/statuslight/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {StatusLight} from './StatusLight';\nexport type {SpectrumStatusLightProps} from '@react-types/statuslight';\n"],"names":[],"version":3,"file":"module.js.map"}
@@ -0,0 +1,71 @@
1
+
2
+ function $parcel$export(e, n, v, s) {
3
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
4
+ }
5
+
6
+ $parcel$export(module.exports, "focus-ring", () => $7e20c9d2bb376434$export$f39a09f249340e2a, (v) => $7e20c9d2bb376434$export$f39a09f249340e2a = v);
7
+ $parcel$export(module.exports, "i18nFontFamily", () => $7e20c9d2bb376434$export$8c4ee2c50c22c514, (v) => $7e20c9d2bb376434$export$8c4ee2c50c22c514 = v);
8
+ $parcel$export(module.exports, "is-disabled", () => $7e20c9d2bb376434$export$d35bc1e505d1ebbf, (v) => $7e20c9d2bb376434$export$d35bc1e505d1ebbf = v);
9
+ $parcel$export(module.exports, "spectrum-FocusRing-ring", () => $7e20c9d2bb376434$export$4109102f950813a6, (v) => $7e20c9d2bb376434$export$4109102f950813a6 = v);
10
+ $parcel$export(module.exports, "spectrum-FocusRing", () => $7e20c9d2bb376434$export$24c7f46a6e3605dd, (v) => $7e20c9d2bb376434$export$24c7f46a6e3605dd = v);
11
+ $parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $7e20c9d2bb376434$export$2927016961429360, (v) => $7e20c9d2bb376434$export$2927016961429360 = v);
12
+ $parcel$export(module.exports, "spectrum-StatusLight", () => $7e20c9d2bb376434$export$11d3697e7e5c1bef, (v) => $7e20c9d2bb376434$export$11d3697e7e5c1bef = v);
13
+ $parcel$export(module.exports, "spectrum-StatusLight--active", () => $7e20c9d2bb376434$export$b40c603f4b579265, (v) => $7e20c9d2bb376434$export$b40c603f4b579265 = v);
14
+ $parcel$export(module.exports, "spectrum-StatusLight--celery", () => $7e20c9d2bb376434$export$e9a22f483095fe3e, (v) => $7e20c9d2bb376434$export$e9a22f483095fe3e = v);
15
+ $parcel$export(module.exports, "spectrum-StatusLight--chartreuse", () => $7e20c9d2bb376434$export$f05bd1f10c0cc15f, (v) => $7e20c9d2bb376434$export$f05bd1f10c0cc15f = v);
16
+ $parcel$export(module.exports, "spectrum-StatusLight--fuchsia", () => $7e20c9d2bb376434$export$cbaba642d0afd312, (v) => $7e20c9d2bb376434$export$cbaba642d0afd312 = v);
17
+ $parcel$export(module.exports, "spectrum-StatusLight--indigo", () => $7e20c9d2bb376434$export$8b77e0c07c11635a, (v) => $7e20c9d2bb376434$export$8b77e0c07c11635a = v);
18
+ $parcel$export(module.exports, "spectrum-StatusLight--info", () => $7e20c9d2bb376434$export$945a5d9a4e8494e6, (v) => $7e20c9d2bb376434$export$945a5d9a4e8494e6 = v);
19
+ $parcel$export(module.exports, "spectrum-StatusLight--magenta", () => $7e20c9d2bb376434$export$43990cc5ba9a0059, (v) => $7e20c9d2bb376434$export$43990cc5ba9a0059 = v);
20
+ $parcel$export(module.exports, "spectrum-StatusLight--negative", () => $7e20c9d2bb376434$export$1974c2646528dc4f, (v) => $7e20c9d2bb376434$export$1974c2646528dc4f = v);
21
+ $parcel$export(module.exports, "spectrum-StatusLight--neutral", () => $7e20c9d2bb376434$export$bbf75dd99797a93e, (v) => $7e20c9d2bb376434$export$bbf75dd99797a93e = v);
22
+ $parcel$export(module.exports, "spectrum-StatusLight--notice", () => $7e20c9d2bb376434$export$30a5e512ed4618b, (v) => $7e20c9d2bb376434$export$30a5e512ed4618b = v);
23
+ $parcel$export(module.exports, "spectrum-StatusLight--positive", () => $7e20c9d2bb376434$export$141dae5af9534f54, (v) => $7e20c9d2bb376434$export$141dae5af9534f54 = v);
24
+ $parcel$export(module.exports, "spectrum-StatusLight--purple", () => $7e20c9d2bb376434$export$975baced4f8182b4, (v) => $7e20c9d2bb376434$export$975baced4f8182b4 = v);
25
+ $parcel$export(module.exports, "spectrum-StatusLight--seafoam", () => $7e20c9d2bb376434$export$d14bcd2d3ae8238c, (v) => $7e20c9d2bb376434$export$d14bcd2d3ae8238c = v);
26
+ $parcel$export(module.exports, "spectrum-StatusLight--yellow", () => $7e20c9d2bb376434$export$b22c4af54e28c6c, (v) => $7e20c9d2bb376434$export$b22c4af54e28c6c = v);
27
+ var $7e20c9d2bb376434$export$f39a09f249340e2a;
28
+ var $7e20c9d2bb376434$export$8c4ee2c50c22c514;
29
+ var $7e20c9d2bb376434$export$d35bc1e505d1ebbf;
30
+ var $7e20c9d2bb376434$export$4109102f950813a6;
31
+ var $7e20c9d2bb376434$export$24c7f46a6e3605dd;
32
+ var $7e20c9d2bb376434$export$2927016961429360;
33
+ var $7e20c9d2bb376434$export$11d3697e7e5c1bef;
34
+ var $7e20c9d2bb376434$export$b40c603f4b579265;
35
+ var $7e20c9d2bb376434$export$e9a22f483095fe3e;
36
+ var $7e20c9d2bb376434$export$f05bd1f10c0cc15f;
37
+ var $7e20c9d2bb376434$export$cbaba642d0afd312;
38
+ var $7e20c9d2bb376434$export$8b77e0c07c11635a;
39
+ var $7e20c9d2bb376434$export$945a5d9a4e8494e6;
40
+ var $7e20c9d2bb376434$export$43990cc5ba9a0059;
41
+ var $7e20c9d2bb376434$export$1974c2646528dc4f;
42
+ var $7e20c9d2bb376434$export$bbf75dd99797a93e;
43
+ var $7e20c9d2bb376434$export$30a5e512ed4618b;
44
+ var $7e20c9d2bb376434$export$141dae5af9534f54;
45
+ var $7e20c9d2bb376434$export$975baced4f8182b4;
46
+ var $7e20c9d2bb376434$export$d14bcd2d3ae8238c;
47
+ var $7e20c9d2bb376434$export$b22c4af54e28c6c;
48
+ $7e20c9d2bb376434$export$f39a09f249340e2a = `j59EQa_focus-ring`;
49
+ $7e20c9d2bb376434$export$8c4ee2c50c22c514 = `j59EQa_i18nFontFamily`;
50
+ $7e20c9d2bb376434$export$d35bc1e505d1ebbf = `j59EQa_is-disabled`;
51
+ $7e20c9d2bb376434$export$4109102f950813a6 = `j59EQa_spectrum-FocusRing-ring`;
52
+ $7e20c9d2bb376434$export$24c7f46a6e3605dd = `j59EQa_spectrum-FocusRing ${$7e20c9d2bb376434$export$4109102f950813a6}`;
53
+ $7e20c9d2bb376434$export$2927016961429360 = `j59EQa_spectrum-FocusRing--quiet`;
54
+ $7e20c9d2bb376434$export$11d3697e7e5c1bef = `j59EQa_spectrum-StatusLight`;
55
+ $7e20c9d2bb376434$export$b40c603f4b579265 = `j59EQa_spectrum-StatusLight--active`;
56
+ $7e20c9d2bb376434$export$e9a22f483095fe3e = `j59EQa_spectrum-StatusLight--celery`;
57
+ $7e20c9d2bb376434$export$f05bd1f10c0cc15f = `j59EQa_spectrum-StatusLight--chartreuse`;
58
+ $7e20c9d2bb376434$export$cbaba642d0afd312 = `j59EQa_spectrum-StatusLight--fuchsia`;
59
+ $7e20c9d2bb376434$export$8b77e0c07c11635a = `j59EQa_spectrum-StatusLight--indigo`;
60
+ $7e20c9d2bb376434$export$945a5d9a4e8494e6 = `j59EQa_spectrum-StatusLight--info`;
61
+ $7e20c9d2bb376434$export$43990cc5ba9a0059 = `j59EQa_spectrum-StatusLight--magenta`;
62
+ $7e20c9d2bb376434$export$1974c2646528dc4f = `j59EQa_spectrum-StatusLight--negative`;
63
+ $7e20c9d2bb376434$export$bbf75dd99797a93e = `j59EQa_spectrum-StatusLight--neutral`;
64
+ $7e20c9d2bb376434$export$30a5e512ed4618b = `j59EQa_spectrum-StatusLight--notice`;
65
+ $7e20c9d2bb376434$export$141dae5af9534f54 = `j59EQa_spectrum-StatusLight--positive`;
66
+ $7e20c9d2bb376434$export$975baced4f8182b4 = `j59EQa_spectrum-StatusLight--purple`;
67
+ $7e20c9d2bb376434$export$d14bcd2d3ae8238c = `j59EQa_spectrum-StatusLight--seafoam`;
68
+ $7e20c9d2bb376434$export$b22c4af54e28c6c = `j59EQa_spectrum-StatusLight--yellow`;
69
+
70
+
71
+ //# sourceMappingURL=statuslight_vars_css.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AApBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAA+C,CAAC,iCAAiC,CAAC;AAClF,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,2CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,2CAAiD,CAAC,mCAAmC,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/statuslight/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"statuslight_vars_css.main.js.map"}
@@ -0,0 +1,73 @@
1
+
2
+ function $parcel$export(e, n, v, s) {
3
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
4
+ }
5
+ var $7661ca422872705f$exports = {};
6
+
7
+ $parcel$export($7661ca422872705f$exports, "focus-ring", () => $7661ca422872705f$export$f39a09f249340e2a, (v) => $7661ca422872705f$export$f39a09f249340e2a = v);
8
+ $parcel$export($7661ca422872705f$exports, "i18nFontFamily", () => $7661ca422872705f$export$8c4ee2c50c22c514, (v) => $7661ca422872705f$export$8c4ee2c50c22c514 = v);
9
+ $parcel$export($7661ca422872705f$exports, "is-disabled", () => $7661ca422872705f$export$d35bc1e505d1ebbf, (v) => $7661ca422872705f$export$d35bc1e505d1ebbf = v);
10
+ $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing-ring", () => $7661ca422872705f$export$4109102f950813a6, (v) => $7661ca422872705f$export$4109102f950813a6 = v);
11
+ $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing", () => $7661ca422872705f$export$24c7f46a6e3605dd, (v) => $7661ca422872705f$export$24c7f46a6e3605dd = v);
12
+ $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing--quiet", () => $7661ca422872705f$export$2927016961429360, (v) => $7661ca422872705f$export$2927016961429360 = v);
13
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight", () => $7661ca422872705f$export$11d3697e7e5c1bef, (v) => $7661ca422872705f$export$11d3697e7e5c1bef = v);
14
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--active", () => $7661ca422872705f$export$b40c603f4b579265, (v) => $7661ca422872705f$export$b40c603f4b579265 = v);
15
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--celery", () => $7661ca422872705f$export$e9a22f483095fe3e, (v) => $7661ca422872705f$export$e9a22f483095fe3e = v);
16
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--chartreuse", () => $7661ca422872705f$export$f05bd1f10c0cc15f, (v) => $7661ca422872705f$export$f05bd1f10c0cc15f = v);
17
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--fuchsia", () => $7661ca422872705f$export$cbaba642d0afd312, (v) => $7661ca422872705f$export$cbaba642d0afd312 = v);
18
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--indigo", () => $7661ca422872705f$export$8b77e0c07c11635a, (v) => $7661ca422872705f$export$8b77e0c07c11635a = v);
19
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--info", () => $7661ca422872705f$export$945a5d9a4e8494e6, (v) => $7661ca422872705f$export$945a5d9a4e8494e6 = v);
20
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--magenta", () => $7661ca422872705f$export$43990cc5ba9a0059, (v) => $7661ca422872705f$export$43990cc5ba9a0059 = v);
21
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--negative", () => $7661ca422872705f$export$1974c2646528dc4f, (v) => $7661ca422872705f$export$1974c2646528dc4f = v);
22
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--neutral", () => $7661ca422872705f$export$bbf75dd99797a93e, (v) => $7661ca422872705f$export$bbf75dd99797a93e = v);
23
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--notice", () => $7661ca422872705f$export$30a5e512ed4618b, (v) => $7661ca422872705f$export$30a5e512ed4618b = v);
24
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--positive", () => $7661ca422872705f$export$141dae5af9534f54, (v) => $7661ca422872705f$export$141dae5af9534f54 = v);
25
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--purple", () => $7661ca422872705f$export$975baced4f8182b4, (v) => $7661ca422872705f$export$975baced4f8182b4 = v);
26
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--seafoam", () => $7661ca422872705f$export$d14bcd2d3ae8238c, (v) => $7661ca422872705f$export$d14bcd2d3ae8238c = v);
27
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--yellow", () => $7661ca422872705f$export$b22c4af54e28c6c, (v) => $7661ca422872705f$export$b22c4af54e28c6c = v);
28
+ var $7661ca422872705f$export$f39a09f249340e2a;
29
+ var $7661ca422872705f$export$8c4ee2c50c22c514;
30
+ var $7661ca422872705f$export$d35bc1e505d1ebbf;
31
+ var $7661ca422872705f$export$4109102f950813a6;
32
+ var $7661ca422872705f$export$24c7f46a6e3605dd;
33
+ var $7661ca422872705f$export$2927016961429360;
34
+ var $7661ca422872705f$export$11d3697e7e5c1bef;
35
+ var $7661ca422872705f$export$b40c603f4b579265;
36
+ var $7661ca422872705f$export$e9a22f483095fe3e;
37
+ var $7661ca422872705f$export$f05bd1f10c0cc15f;
38
+ var $7661ca422872705f$export$cbaba642d0afd312;
39
+ var $7661ca422872705f$export$8b77e0c07c11635a;
40
+ var $7661ca422872705f$export$945a5d9a4e8494e6;
41
+ var $7661ca422872705f$export$43990cc5ba9a0059;
42
+ var $7661ca422872705f$export$1974c2646528dc4f;
43
+ var $7661ca422872705f$export$bbf75dd99797a93e;
44
+ var $7661ca422872705f$export$30a5e512ed4618b;
45
+ var $7661ca422872705f$export$141dae5af9534f54;
46
+ var $7661ca422872705f$export$975baced4f8182b4;
47
+ var $7661ca422872705f$export$d14bcd2d3ae8238c;
48
+ var $7661ca422872705f$export$b22c4af54e28c6c;
49
+ $7661ca422872705f$export$f39a09f249340e2a = `j59EQa_focus-ring`;
50
+ $7661ca422872705f$export$8c4ee2c50c22c514 = `j59EQa_i18nFontFamily`;
51
+ $7661ca422872705f$export$d35bc1e505d1ebbf = `j59EQa_is-disabled`;
52
+ $7661ca422872705f$export$4109102f950813a6 = `j59EQa_spectrum-FocusRing-ring`;
53
+ $7661ca422872705f$export$24c7f46a6e3605dd = `j59EQa_spectrum-FocusRing ${$7661ca422872705f$export$4109102f950813a6}`;
54
+ $7661ca422872705f$export$2927016961429360 = `j59EQa_spectrum-FocusRing--quiet`;
55
+ $7661ca422872705f$export$11d3697e7e5c1bef = `j59EQa_spectrum-StatusLight`;
56
+ $7661ca422872705f$export$b40c603f4b579265 = `j59EQa_spectrum-StatusLight--active`;
57
+ $7661ca422872705f$export$e9a22f483095fe3e = `j59EQa_spectrum-StatusLight--celery`;
58
+ $7661ca422872705f$export$f05bd1f10c0cc15f = `j59EQa_spectrum-StatusLight--chartreuse`;
59
+ $7661ca422872705f$export$cbaba642d0afd312 = `j59EQa_spectrum-StatusLight--fuchsia`;
60
+ $7661ca422872705f$export$8b77e0c07c11635a = `j59EQa_spectrum-StatusLight--indigo`;
61
+ $7661ca422872705f$export$945a5d9a4e8494e6 = `j59EQa_spectrum-StatusLight--info`;
62
+ $7661ca422872705f$export$43990cc5ba9a0059 = `j59EQa_spectrum-StatusLight--magenta`;
63
+ $7661ca422872705f$export$1974c2646528dc4f = `j59EQa_spectrum-StatusLight--negative`;
64
+ $7661ca422872705f$export$bbf75dd99797a93e = `j59EQa_spectrum-StatusLight--neutral`;
65
+ $7661ca422872705f$export$30a5e512ed4618b = `j59EQa_spectrum-StatusLight--notice`;
66
+ $7661ca422872705f$export$141dae5af9534f54 = `j59EQa_spectrum-StatusLight--positive`;
67
+ $7661ca422872705f$export$975baced4f8182b4 = `j59EQa_spectrum-StatusLight--purple`;
68
+ $7661ca422872705f$export$d14bcd2d3ae8238c = `j59EQa_spectrum-StatusLight--seafoam`;
69
+ $7661ca422872705f$export$b22c4af54e28c6c = `j59EQa_spectrum-StatusLight--yellow`;
70
+
71
+
72
+ export {$7661ca422872705f$exports as default};
73
+ //# sourceMappingURL=statuslight_vars_css.mjs.map
@@ -0,0 +1,73 @@
1
+
2
+ function $parcel$export(e, n, v, s) {
3
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
4
+ }
5
+ var $7661ca422872705f$exports = {};
6
+
7
+ $parcel$export($7661ca422872705f$exports, "focus-ring", () => $7661ca422872705f$export$f39a09f249340e2a, (v) => $7661ca422872705f$export$f39a09f249340e2a = v);
8
+ $parcel$export($7661ca422872705f$exports, "i18nFontFamily", () => $7661ca422872705f$export$8c4ee2c50c22c514, (v) => $7661ca422872705f$export$8c4ee2c50c22c514 = v);
9
+ $parcel$export($7661ca422872705f$exports, "is-disabled", () => $7661ca422872705f$export$d35bc1e505d1ebbf, (v) => $7661ca422872705f$export$d35bc1e505d1ebbf = v);
10
+ $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing-ring", () => $7661ca422872705f$export$4109102f950813a6, (v) => $7661ca422872705f$export$4109102f950813a6 = v);
11
+ $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing", () => $7661ca422872705f$export$24c7f46a6e3605dd, (v) => $7661ca422872705f$export$24c7f46a6e3605dd = v);
12
+ $parcel$export($7661ca422872705f$exports, "spectrum-FocusRing--quiet", () => $7661ca422872705f$export$2927016961429360, (v) => $7661ca422872705f$export$2927016961429360 = v);
13
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight", () => $7661ca422872705f$export$11d3697e7e5c1bef, (v) => $7661ca422872705f$export$11d3697e7e5c1bef = v);
14
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--active", () => $7661ca422872705f$export$b40c603f4b579265, (v) => $7661ca422872705f$export$b40c603f4b579265 = v);
15
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--celery", () => $7661ca422872705f$export$e9a22f483095fe3e, (v) => $7661ca422872705f$export$e9a22f483095fe3e = v);
16
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--chartreuse", () => $7661ca422872705f$export$f05bd1f10c0cc15f, (v) => $7661ca422872705f$export$f05bd1f10c0cc15f = v);
17
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--fuchsia", () => $7661ca422872705f$export$cbaba642d0afd312, (v) => $7661ca422872705f$export$cbaba642d0afd312 = v);
18
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--indigo", () => $7661ca422872705f$export$8b77e0c07c11635a, (v) => $7661ca422872705f$export$8b77e0c07c11635a = v);
19
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--info", () => $7661ca422872705f$export$945a5d9a4e8494e6, (v) => $7661ca422872705f$export$945a5d9a4e8494e6 = v);
20
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--magenta", () => $7661ca422872705f$export$43990cc5ba9a0059, (v) => $7661ca422872705f$export$43990cc5ba9a0059 = v);
21
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--negative", () => $7661ca422872705f$export$1974c2646528dc4f, (v) => $7661ca422872705f$export$1974c2646528dc4f = v);
22
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--neutral", () => $7661ca422872705f$export$bbf75dd99797a93e, (v) => $7661ca422872705f$export$bbf75dd99797a93e = v);
23
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--notice", () => $7661ca422872705f$export$30a5e512ed4618b, (v) => $7661ca422872705f$export$30a5e512ed4618b = v);
24
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--positive", () => $7661ca422872705f$export$141dae5af9534f54, (v) => $7661ca422872705f$export$141dae5af9534f54 = v);
25
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--purple", () => $7661ca422872705f$export$975baced4f8182b4, (v) => $7661ca422872705f$export$975baced4f8182b4 = v);
26
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--seafoam", () => $7661ca422872705f$export$d14bcd2d3ae8238c, (v) => $7661ca422872705f$export$d14bcd2d3ae8238c = v);
27
+ $parcel$export($7661ca422872705f$exports, "spectrum-StatusLight--yellow", () => $7661ca422872705f$export$b22c4af54e28c6c, (v) => $7661ca422872705f$export$b22c4af54e28c6c = v);
28
+ var $7661ca422872705f$export$f39a09f249340e2a;
29
+ var $7661ca422872705f$export$8c4ee2c50c22c514;
30
+ var $7661ca422872705f$export$d35bc1e505d1ebbf;
31
+ var $7661ca422872705f$export$4109102f950813a6;
32
+ var $7661ca422872705f$export$24c7f46a6e3605dd;
33
+ var $7661ca422872705f$export$2927016961429360;
34
+ var $7661ca422872705f$export$11d3697e7e5c1bef;
35
+ var $7661ca422872705f$export$b40c603f4b579265;
36
+ var $7661ca422872705f$export$e9a22f483095fe3e;
37
+ var $7661ca422872705f$export$f05bd1f10c0cc15f;
38
+ var $7661ca422872705f$export$cbaba642d0afd312;
39
+ var $7661ca422872705f$export$8b77e0c07c11635a;
40
+ var $7661ca422872705f$export$945a5d9a4e8494e6;
41
+ var $7661ca422872705f$export$43990cc5ba9a0059;
42
+ var $7661ca422872705f$export$1974c2646528dc4f;
43
+ var $7661ca422872705f$export$bbf75dd99797a93e;
44
+ var $7661ca422872705f$export$30a5e512ed4618b;
45
+ var $7661ca422872705f$export$141dae5af9534f54;
46
+ var $7661ca422872705f$export$975baced4f8182b4;
47
+ var $7661ca422872705f$export$d14bcd2d3ae8238c;
48
+ var $7661ca422872705f$export$b22c4af54e28c6c;
49
+ $7661ca422872705f$export$f39a09f249340e2a = `j59EQa_focus-ring`;
50
+ $7661ca422872705f$export$8c4ee2c50c22c514 = `j59EQa_i18nFontFamily`;
51
+ $7661ca422872705f$export$d35bc1e505d1ebbf = `j59EQa_is-disabled`;
52
+ $7661ca422872705f$export$4109102f950813a6 = `j59EQa_spectrum-FocusRing-ring`;
53
+ $7661ca422872705f$export$24c7f46a6e3605dd = `j59EQa_spectrum-FocusRing ${$7661ca422872705f$export$4109102f950813a6}`;
54
+ $7661ca422872705f$export$2927016961429360 = `j59EQa_spectrum-FocusRing--quiet`;
55
+ $7661ca422872705f$export$11d3697e7e5c1bef = `j59EQa_spectrum-StatusLight`;
56
+ $7661ca422872705f$export$b40c603f4b579265 = `j59EQa_spectrum-StatusLight--active`;
57
+ $7661ca422872705f$export$e9a22f483095fe3e = `j59EQa_spectrum-StatusLight--celery`;
58
+ $7661ca422872705f$export$f05bd1f10c0cc15f = `j59EQa_spectrum-StatusLight--chartreuse`;
59
+ $7661ca422872705f$export$cbaba642d0afd312 = `j59EQa_spectrum-StatusLight--fuchsia`;
60
+ $7661ca422872705f$export$8b77e0c07c11635a = `j59EQa_spectrum-StatusLight--indigo`;
61
+ $7661ca422872705f$export$945a5d9a4e8494e6 = `j59EQa_spectrum-StatusLight--info`;
62
+ $7661ca422872705f$export$43990cc5ba9a0059 = `j59EQa_spectrum-StatusLight--magenta`;
63
+ $7661ca422872705f$export$1974c2646528dc4f = `j59EQa_spectrum-StatusLight--negative`;
64
+ $7661ca422872705f$export$bbf75dd99797a93e = `j59EQa_spectrum-StatusLight--neutral`;
65
+ $7661ca422872705f$export$30a5e512ed4618b = `j59EQa_spectrum-StatusLight--notice`;
66
+ $7661ca422872705f$export$141dae5af9534f54 = `j59EQa_spectrum-StatusLight--positive`;
67
+ $7661ca422872705f$export$975baced4f8182b4 = `j59EQa_spectrum-StatusLight--purple`;
68
+ $7661ca422872705f$export$d14bcd2d3ae8238c = `j59EQa_spectrum-StatusLight--seafoam`;
69
+ $7661ca422872705f$export$b22c4af54e28c6c = `j59EQa_spectrum-StatusLight--yellow`;
70
+
71
+
72
+ export {$7661ca422872705f$exports as default};
73
+ //# sourceMappingURL=statuslight_vars_css.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AApBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAA+C,CAAC,iCAAiC,CAAC;AAClF,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,2CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,2CAAiD,CAAC,mCAAmC,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/statuslight/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"statuslight_vars_css.module.js.map"}
package/dist/types.d.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  import React from "react";
2
2
  import { SpectrumStatusLightProps } from "@react-types/statuslight";
3
+ import { DOMRefValue } from "@react-types/shared";
3
4
  /**
4
5
  * Status lights are used to color code categories and labels commonly found in data visualization.
5
6
  * When status lights have a semantic meaning, they should use semantic variant colors.
6
7
  */
7
- export let StatusLight: React.ForwardRefExoticComponent<SpectrumStatusLightProps & React.RefAttributes<import("@react-types/shared").DOMRefValue<HTMLDivElement>>>;
8
+ export let StatusLight: React.ForwardRefExoticComponent<SpectrumStatusLightProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
8
9
  export type { SpectrumStatusLightProps } from '@react-types/statuslight';
9
10
 
10
11
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"mappings":";;AA2DA;;;GAGG;AACH,OAAA,IAAI,uJAAsC,CAAC;AChD3C,YAAY,EAAC,wBAAwB,EAAC,MAAM,0BAA0B,CAAC","sources":["packages/@react-spectrum/statuslight/src/packages/@react-spectrum/statuslight/src/StatusLight.tsx","packages/@react-spectrum/statuslight/src/packages/@react-spectrum/statuslight/src/index.ts","packages/@react-spectrum/statuslight/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {StatusLight} from './StatusLight';\nexport type {SpectrumStatusLightProps} from '@react-types/statuslight';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";;;AA2DA;;;GAGG;AACH,OAAA,IAAI,yHAAsC,CAAC;AChD3C,YAAY,EAAC,wBAAwB,EAAC,MAAM,0BAA0B,CAAC","sources":["packages/@react-spectrum/statuslight/src/packages/@react-spectrum/statuslight/src/StatusLight.tsx","packages/@react-spectrum/statuslight/src/packages/@react-spectrum/statuslight/src/index.ts","packages/@react-spectrum/statuslight/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {StatusLight} from './StatusLight';\nexport type {SpectrumStatusLightProps} from '@react-types/statuslight';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
@@ -23,11 +23,7 @@
23
23
  font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
24
24
  }
25
25
 
26
- .j59EQa_i18nFontFamily:lang(zh-SG) {
27
- font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
28
- }
29
-
30
- .j59EQa_i18nFontFamily:lang(zh-CN) {
26
+ .j59EQa_i18nFontFamily:lang(zh-SG), .j59EQa_i18nFontFamily:lang(zh-CN) {
31
27
  font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
32
28
  }
33
29
 
@@ -55,13 +51,7 @@
55
51
  transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
56
52
  display: block;
57
53
  position: absolute;
58
- top: 0;
59
- bottom: 0;
60
- left: 0;
61
- right: 0;
62
- }
63
-
64
- .j59EQa_spectrum-FocusRing {
54
+ inset: 0;
65
55
  }
66
56
 
67
57
  .j59EQa_spectrum-FocusRing.j59EQa_focus-ring:after {
@@ -78,6 +68,16 @@
78
68
  box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
79
69
  }
80
70
 
71
+ @media (forced-colors: active) {
72
+ .j59EQa_spectrum-FocusRing, .j59EQa_spectrum-FocusRing-ring, .j59EQa_spectrum-FocusRing--quiet {
73
+ --spectrum-high-contrast-focus-ring-color: Highlight;
74
+ }
75
+
76
+ :is(.j59EQa_spectrum-FocusRing, .j59EQa_spectrum-FocusRing-ring, .j59EQa_spectrum-FocusRing--quiet):after {
77
+ forced-color-adjust: none;
78
+ }
79
+ }
80
+
81
81
  .j59EQa_spectrum-StatusLight {
82
82
  min-block-size: var(--spectrum-statuslight-height, var(--spectrum-alias-single-line-height));
83
83
  padding: calc(var(--spectrum-global-dimension-size-65) - 1px) 0 calc(var(--spectrum-global-dimension-size-65) + 1px) 0;
@@ -190,8 +190,7 @@
190
190
  }
191
191
 
192
192
  .j59EQa_spectrum-StatusLight:before {
193
- border: 1px solid ButtonText;
193
+ border: 1px solid buttontext;
194
194
  }
195
195
  }
196
-
197
- /*# sourceMappingURL=main.css.map */
196
+ /*# sourceMappingURL=vars.571171ed.css.map */
@@ -0,0 +1 @@
1
+ {"mappings":"AA2DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ;;;;;;;;;;;;AAaA;;;;;;;;;;;AAcA;;;;AAgBA;;;;AAGE;;;;AAIE;;;;AAJF;;;;AAIE;;;;AAMJ;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKA;;;;AAGE;;;;AAKF;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;EACE;;;;;;;EAKE","sources":["packages/@adobe/spectrum-css-temp/components/statuslight/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"vars.571171ed.css.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/statuslight",
3
- "version": "3.5.11",
3
+ "version": "3.5.12",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,10 +36,10 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/utils": "^3.23.2",
40
- "@react-spectrum/utils": "^3.11.5",
41
- "@react-types/shared": "^3.22.1",
42
- "@react-types/statuslight": "^3.3.7",
39
+ "@react-aria/utils": "^3.24.0",
40
+ "@react-spectrum/utils": "^3.11.6",
41
+ "@react-types/shared": "^3.23.0",
42
+ "@react-types/statuslight": "^3.3.8",
43
43
  "@swc/helpers": "^0.5.0"
44
44
  },
45
45
  "devDependencies": {
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "de9f84a22583fc741c29b341d14cd35ef4cca161"
55
+ "gitHead": "f645f29edc1322153fd60af4640cbcab1d992dbd"
56
56
  }
package/dist/main.css.map DELETED
@@ -1 +0,0 @@
1
- {"mappings":"AA2DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;;;;AAiBF;;;AAII;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;;;;AAaA;;;;;;;;;;;AAcA;;;;AAgBA;;;;AAGE;;;;AAIE;;;;AAJF;;;;AAIE;;;;AAMJ;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKA;;;;AAGE;;;;AAKF;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;EACE;;;;;;;EAKE","sources":["packages/@adobe/spectrum-css-temp/components/statuslight/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.css.map"}