@react-spectrum/meter 3.0.0-nightly-641446f65-240905

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/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @react-spectrum/meter
2
+
3
+ This package is part of [react-spectrum](https://github.com/adobe/react-spectrum). See the repo for more details.
@@ -0,0 +1,54 @@
1
+ require("./vars.37cf232d.css");
2
+ var $9f78a6c009f32d0a$exports = require("./barloader_vars_css.main.js");
3
+ var $9BUL5$reactspectrumutils = require("@react-spectrum/utils");
4
+ var $9BUL5$reactspectrumprogress = require("@react-spectrum/progress");
5
+ var $9BUL5$react = require("react");
6
+ var $9BUL5$reactariameter = require("@react-aria/meter");
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, "Meter", () => $fc7fd823390a6f61$export$62e3ae2a4090b879);
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 $fc7fd823390a6f61$var$Meter(props, ref) {
34
+ let { variant: variant = 'informative', ...otherProps } = props;
35
+ const { meterProps: meterProps, labelProps: labelProps } = (0, $9BUL5$reactariameter.useMeter)(props);
36
+ return /*#__PURE__*/ (0, ($parcel$interopDefault($9BUL5$react))).createElement((0, $9BUL5$reactspectrumprogress.ProgressBarBase), {
37
+ ...otherProps,
38
+ ref: ref,
39
+ barProps: meterProps,
40
+ labelProps: labelProps,
41
+ barClassName: (0, $9BUL5$reactspectrumutils.classNames)((0, ($parcel$interopDefault($9f78a6c009f32d0a$exports))), {
42
+ 'is-positive': variant === 'positive',
43
+ 'is-warning': variant === 'warning',
44
+ 'is-critical': variant === 'critical'
45
+ })
46
+ });
47
+ }
48
+ /**
49
+ * Meters are visual representations of a quantity or an achievement.
50
+ * Their progress is determined by user actions, rather than system actions.
51
+ */ let $fc7fd823390a6f61$export$62e3ae2a4090b879 = /*#__PURE__*/ (0, ($parcel$interopDefault($9BUL5$react))).forwardRef($fc7fd823390a6f61$var$Meter);
52
+
53
+
54
+ //# sourceMappingURL=Meter.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAUD,SAAS,4BAAM,KAAyB,EAAE,GAA2B;IACnE,IAAI,WAAC,UAAU,eAAe,GAAG,YAAW,GAAG;IAC/C,MAAM,cACJ,UAAU,cACV,UAAU,EACX,GAAG,CAAA,GAAA,8BAAO,EAAE;IAEb,qBACE,0DAAC,CAAA,GAAA,4CAAc;QACZ,GAAG,UAAU;QACd,KAAK;QACL,UAAU;QACV,YAAY;QACZ,cACE,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,mDAAK,GACL;YACE,eAAe,YAAY;YAC3B,cAAc,YAAY;YAC1B,eAAe,YAAY;QAC7B;;AAIV;AAEA;;;CAGC,GACD,IAAI,0DAAS,CAAA,GAAA,sCAAI,EAAE,UAAU,CAAC","sources":["packages/@react-spectrum/meter/src/Meter.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} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {ProgressBarBase} from '@react-spectrum/progress';\nimport React from 'react';\nimport {SpectrumMeterProps} from '@react-types/meter';\nimport styles from '@adobe/spectrum-css-temp/components/barloader/vars.css';\nimport {useMeter} from '@react-aria/meter';\n\nfunction Meter(props: SpectrumMeterProps, ref: DOMRef<HTMLDivElement>) {\n let {variant = 'informative', ...otherProps} = props;\n const {\n meterProps,\n labelProps\n } = useMeter(props);\n\n return (\n <ProgressBarBase\n {...otherProps}\n ref={ref}\n barProps={meterProps}\n labelProps={labelProps}\n barClassName={\n classNames(\n styles,\n {\n 'is-positive': variant === 'positive',\n 'is-warning': variant === 'warning',\n 'is-critical': variant === 'critical'\n }\n )\n } />\n );\n}\n\n/**\n * Meters are visual representations of a quantity or an achievement.\n * Their progress is determined by user actions, rather than system actions.\n */\nlet _Meter = React.forwardRef(Meter);\nexport {_Meter as Meter};\n"],"names":[],"version":3,"file":"Meter.main.js.map"}
package/dist/Meter.mjs ADDED
@@ -0,0 +1,49 @@
1
+ import "./vars.37cf232d.css";
2
+ import $gnWwJ$barloader_vars_cssmodulejs from "./barloader_vars_css.mjs";
3
+ import {classNames as $gnWwJ$classNames} from "@react-spectrum/utils";
4
+ import {ProgressBarBase as $gnWwJ$ProgressBarBase} from "@react-spectrum/progress";
5
+ import $gnWwJ$react from "react";
6
+ import {useMeter as $gnWwJ$useMeter} from "@react-aria/meter";
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 $559585cb28581b56$var$Meter(props, ref) {
28
+ let { variant: variant = 'informative', ...otherProps } = props;
29
+ const { meterProps: meterProps, labelProps: labelProps } = (0, $gnWwJ$useMeter)(props);
30
+ return /*#__PURE__*/ (0, $gnWwJ$react).createElement((0, $gnWwJ$ProgressBarBase), {
31
+ ...otherProps,
32
+ ref: ref,
33
+ barProps: meterProps,
34
+ labelProps: labelProps,
35
+ barClassName: (0, $gnWwJ$classNames)((0, ($parcel$interopDefault($gnWwJ$barloader_vars_cssmodulejs))), {
36
+ 'is-positive': variant === 'positive',
37
+ 'is-warning': variant === 'warning',
38
+ 'is-critical': variant === 'critical'
39
+ })
40
+ });
41
+ }
42
+ /**
43
+ * Meters are visual representations of a quantity or an achievement.
44
+ * Their progress is determined by user actions, rather than system actions.
45
+ */ let $559585cb28581b56$export$62e3ae2a4090b879 = /*#__PURE__*/ (0, $gnWwJ$react).forwardRef($559585cb28581b56$var$Meter);
46
+
47
+
48
+ export {$559585cb28581b56$export$62e3ae2a4090b879 as Meter};
49
+ //# sourceMappingURL=Meter.module.js.map
@@ -0,0 +1,49 @@
1
+ import "./vars.37cf232d.css";
2
+ import $gnWwJ$barloader_vars_cssmodulejs from "./barloader_vars_css.module.js";
3
+ import {classNames as $gnWwJ$classNames} from "@react-spectrum/utils";
4
+ import {ProgressBarBase as $gnWwJ$ProgressBarBase} from "@react-spectrum/progress";
5
+ import $gnWwJ$react from "react";
6
+ import {useMeter as $gnWwJ$useMeter} from "@react-aria/meter";
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 $559585cb28581b56$var$Meter(props, ref) {
28
+ let { variant: variant = 'informative', ...otherProps } = props;
29
+ const { meterProps: meterProps, labelProps: labelProps } = (0, $gnWwJ$useMeter)(props);
30
+ return /*#__PURE__*/ (0, $gnWwJ$react).createElement((0, $gnWwJ$ProgressBarBase), {
31
+ ...otherProps,
32
+ ref: ref,
33
+ barProps: meterProps,
34
+ labelProps: labelProps,
35
+ barClassName: (0, $gnWwJ$classNames)((0, ($parcel$interopDefault($gnWwJ$barloader_vars_cssmodulejs))), {
36
+ 'is-positive': variant === 'positive',
37
+ 'is-warning': variant === 'warning',
38
+ 'is-critical': variant === 'critical'
39
+ })
40
+ });
41
+ }
42
+ /**
43
+ * Meters are visual representations of a quantity or an achievement.
44
+ * Their progress is determined by user actions, rather than system actions.
45
+ */ let $559585cb28581b56$export$62e3ae2a4090b879 = /*#__PURE__*/ (0, $gnWwJ$react).forwardRef($559585cb28581b56$var$Meter);
46
+
47
+
48
+ export {$559585cb28581b56$export$62e3ae2a4090b879 as Meter};
49
+ //# sourceMappingURL=Meter.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAUD,SAAS,4BAAM,KAAyB,EAAE,GAA2B;IACnE,IAAI,WAAC,UAAU,eAAe,GAAG,YAAW,GAAG;IAC/C,MAAM,cACJ,UAAU,cACV,UAAU,EACX,GAAG,CAAA,GAAA,eAAO,EAAE;IAEb,qBACE,gCAAC,CAAA,GAAA,sBAAc;QACZ,GAAG,UAAU;QACd,KAAK;QACL,UAAU;QACV,YAAY;QACZ,cACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,2DAAK,GACL;YACE,eAAe,YAAY;YAC3B,cAAc,YAAY;YAC1B,eAAe,YAAY;QAC7B;;AAIV;AAEA;;;CAGC,GACD,IAAI,0DAAS,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC","sources":["packages/@react-spectrum/meter/src/Meter.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} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {ProgressBarBase} from '@react-spectrum/progress';\nimport React from 'react';\nimport {SpectrumMeterProps} from '@react-types/meter';\nimport styles from '@adobe/spectrum-css-temp/components/barloader/vars.css';\nimport {useMeter} from '@react-aria/meter';\n\nfunction Meter(props: SpectrumMeterProps, ref: DOMRef<HTMLDivElement>) {\n let {variant = 'informative', ...otherProps} = props;\n const {\n meterProps,\n labelProps\n } = useMeter(props);\n\n return (\n <ProgressBarBase\n {...otherProps}\n ref={ref}\n barProps={meterProps}\n labelProps={labelProps}\n barClassName={\n classNames(\n styles,\n {\n 'is-positive': variant === 'positive',\n 'is-warning': variant === 'warning',\n 'is-critical': variant === 'critical'\n }\n )\n } />\n );\n}\n\n/**\n * Meters are visual representations of a quantity or an achievement.\n * Their progress is determined by user actions, rather than system actions.\n */\nlet _Meter = React.forwardRef(Meter);\nexport {_Meter as Meter};\n"],"names":[],"version":3,"file":"Meter.module.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
+
6
+ $parcel$export(module.exports, "focus-ring", () => $9f78a6c009f32d0a$export$f39a09f249340e2a, (v) => $9f78a6c009f32d0a$export$f39a09f249340e2a = v);
7
+ $parcel$export(module.exports, "i18nFontFamily", () => $9f78a6c009f32d0a$export$8c4ee2c50c22c514, (v) => $9f78a6c009f32d0a$export$8c4ee2c50c22c514 = v);
8
+ $parcel$export(module.exports, "indeterminate-loop-ltr", () => $9f78a6c009f32d0a$export$a889038a25113dd4, (v) => $9f78a6c009f32d0a$export$a889038a25113dd4 = v);
9
+ $parcel$export(module.exports, "indeterminate-loop-rtl", () => $9f78a6c009f32d0a$export$aeff243cf3356f00, (v) => $9f78a6c009f32d0a$export$aeff243cf3356f00 = v);
10
+ $parcel$export(module.exports, "is-critical", () => $9f78a6c009f32d0a$export$a1f608a9810da50f, (v) => $9f78a6c009f32d0a$export$a1f608a9810da50f = v);
11
+ $parcel$export(module.exports, "is-positive", () => $9f78a6c009f32d0a$export$aea9fd919467f03a, (v) => $9f78a6c009f32d0a$export$aea9fd919467f03a = v);
12
+ $parcel$export(module.exports, "is-warning", () => $9f78a6c009f32d0a$export$d4ebda6218901908, (v) => $9f78a6c009f32d0a$export$d4ebda6218901908 = v);
13
+ $parcel$export(module.exports, "spectrum-BarLoader", () => $9f78a6c009f32d0a$export$162ba336fb0c239f, (v) => $9f78a6c009f32d0a$export$162ba336fb0c239f = v);
14
+ $parcel$export(module.exports, "spectrum-BarLoader--indeterminate", () => $9f78a6c009f32d0a$export$1249dfbb98223794, (v) => $9f78a6c009f32d0a$export$1249dfbb98223794 = v);
15
+ $parcel$export(module.exports, "spectrum-BarLoader--overBackground", () => $9f78a6c009f32d0a$export$55612d0bd9b5d41, (v) => $9f78a6c009f32d0a$export$55612d0bd9b5d41 = v);
16
+ $parcel$export(module.exports, "spectrum-BarLoader--sideLabel", () => $9f78a6c009f32d0a$export$99af8802cc2a10dc, (v) => $9f78a6c009f32d0a$export$99af8802cc2a10dc = v);
17
+ $parcel$export(module.exports, "spectrum-BarLoader--small", () => $9f78a6c009f32d0a$export$b945305960ad74a7, (v) => $9f78a6c009f32d0a$export$b945305960ad74a7 = v);
18
+ $parcel$export(module.exports, "spectrum-BarLoader--staticBlack", () => $9f78a6c009f32d0a$export$f45257a01e7aabeb, (v) => $9f78a6c009f32d0a$export$f45257a01e7aabeb = v);
19
+ $parcel$export(module.exports, "spectrum-BarLoader--staticWhite", () => $9f78a6c009f32d0a$export$734e9273ae1f542e, (v) => $9f78a6c009f32d0a$export$734e9273ae1f542e = v);
20
+ $parcel$export(module.exports, "spectrum-BarLoader-fill", () => $9f78a6c009f32d0a$export$84c9ee7bc724b71b, (v) => $9f78a6c009f32d0a$export$84c9ee7bc724b71b = v);
21
+ $parcel$export(module.exports, "spectrum-BarLoader-label", () => $9f78a6c009f32d0a$export$5379ba198163be86, (v) => $9f78a6c009f32d0a$export$5379ba198163be86 = v);
22
+ $parcel$export(module.exports, "spectrum-BarLoader-percentage", () => $9f78a6c009f32d0a$export$ecc9c825de9d1a18, (v) => $9f78a6c009f32d0a$export$ecc9c825de9d1a18 = v);
23
+ $parcel$export(module.exports, "spectrum-BarLoader-track", () => $9f78a6c009f32d0a$export$3e2e13fb57b5c74b, (v) => $9f78a6c009f32d0a$export$3e2e13fb57b5c74b = v);
24
+ $parcel$export(module.exports, "spectrum-FocusRing-ring", () => $9f78a6c009f32d0a$export$4109102f950813a6, (v) => $9f78a6c009f32d0a$export$4109102f950813a6 = v);
25
+ $parcel$export(module.exports, "spectrum-FocusRing", () => $9f78a6c009f32d0a$export$24c7f46a6e3605dd, (v) => $9f78a6c009f32d0a$export$24c7f46a6e3605dd = v);
26
+ $parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $9f78a6c009f32d0a$export$2927016961429360, (v) => $9f78a6c009f32d0a$export$2927016961429360 = v);
27
+ var $9f78a6c009f32d0a$export$f39a09f249340e2a;
28
+ var $9f78a6c009f32d0a$export$8c4ee2c50c22c514;
29
+ var $9f78a6c009f32d0a$export$a889038a25113dd4;
30
+ var $9f78a6c009f32d0a$export$aeff243cf3356f00;
31
+ var $9f78a6c009f32d0a$export$a1f608a9810da50f;
32
+ var $9f78a6c009f32d0a$export$aea9fd919467f03a;
33
+ var $9f78a6c009f32d0a$export$d4ebda6218901908;
34
+ var $9f78a6c009f32d0a$export$162ba336fb0c239f;
35
+ var $9f78a6c009f32d0a$export$1249dfbb98223794;
36
+ var $9f78a6c009f32d0a$export$55612d0bd9b5d41;
37
+ var $9f78a6c009f32d0a$export$99af8802cc2a10dc;
38
+ var $9f78a6c009f32d0a$export$b945305960ad74a7;
39
+ var $9f78a6c009f32d0a$export$f45257a01e7aabeb;
40
+ var $9f78a6c009f32d0a$export$734e9273ae1f542e;
41
+ var $9f78a6c009f32d0a$export$84c9ee7bc724b71b;
42
+ var $9f78a6c009f32d0a$export$5379ba198163be86;
43
+ var $9f78a6c009f32d0a$export$ecc9c825de9d1a18;
44
+ var $9f78a6c009f32d0a$export$3e2e13fb57b5c74b;
45
+ var $9f78a6c009f32d0a$export$4109102f950813a6;
46
+ var $9f78a6c009f32d0a$export$24c7f46a6e3605dd;
47
+ var $9f78a6c009f32d0a$export$2927016961429360;
48
+ $9f78a6c009f32d0a$export$f39a09f249340e2a = `uFrYBa_focus-ring`;
49
+ $9f78a6c009f32d0a$export$8c4ee2c50c22c514 = `uFrYBa_i18nFontFamily`;
50
+ $9f78a6c009f32d0a$export$a889038a25113dd4 = `uFrYBa_indeterminate-loop-ltr`;
51
+ $9f78a6c009f32d0a$export$a889038a25113dd4;
52
+ $9f78a6c009f32d0a$export$aeff243cf3356f00 = `uFrYBa_indeterminate-loop-rtl`;
53
+ $9f78a6c009f32d0a$export$aeff243cf3356f00;
54
+ $9f78a6c009f32d0a$export$a1f608a9810da50f = `uFrYBa_is-critical`;
55
+ $9f78a6c009f32d0a$export$aea9fd919467f03a = `uFrYBa_is-positive`;
56
+ $9f78a6c009f32d0a$export$d4ebda6218901908 = `uFrYBa_is-warning`;
57
+ $9f78a6c009f32d0a$export$162ba336fb0c239f = `uFrYBa_spectrum-BarLoader`;
58
+ $9f78a6c009f32d0a$export$1249dfbb98223794 = `uFrYBa_spectrum-BarLoader--indeterminate`;
59
+ $9f78a6c009f32d0a$export$55612d0bd9b5d41 = `uFrYBa_spectrum-BarLoader--overBackground`;
60
+ $9f78a6c009f32d0a$export$99af8802cc2a10dc = `uFrYBa_spectrum-BarLoader--sideLabel`;
61
+ $9f78a6c009f32d0a$export$b945305960ad74a7 = `uFrYBa_spectrum-BarLoader--small`;
62
+ $9f78a6c009f32d0a$export$f45257a01e7aabeb = `uFrYBa_spectrum-BarLoader--staticBlack`;
63
+ $9f78a6c009f32d0a$export$734e9273ae1f542e = `uFrYBa_spectrum-BarLoader--staticWhite`;
64
+ $9f78a6c009f32d0a$export$84c9ee7bc724b71b = `uFrYBa_spectrum-BarLoader-fill`;
65
+ $9f78a6c009f32d0a$export$5379ba198163be86 = `uFrYBa_spectrum-BarLoader-label`;
66
+ $9f78a6c009f32d0a$export$ecc9c825de9d1a18 = `uFrYBa_spectrum-BarLoader-percentage`;
67
+ $9f78a6c009f32d0a$export$3e2e13fb57b5c74b = `uFrYBa_spectrum-BarLoader-track`;
68
+ $9f78a6c009f32d0a$export$4109102f950813a6 = `uFrYBa_spectrum-FocusRing-ring`;
69
+ $9f78a6c009f32d0a$export$24c7f46a6e3605dd = `uFrYBa_spectrum-FocusRing ${$9f78a6c009f32d0a$export$4109102f950813a6}`;
70
+ $9f78a6c009f32d0a$export$2927016961429360 = `uFrYBa_spectrum-FocusRing--quiet`;
71
+
72
+
73
+ //# sourceMappingURL=barloader_vars_css.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AAEA,IAAA;AAEA,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;AAtBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E;AACA,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E;AACA,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAuC,CAAC,yBAAyB,CAAC;AAClE,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,2CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/barloader/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":"barloader_vars_css.main.js.map"}
@@ -0,0 +1,75 @@
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 $a43f840f49ffbe32$exports = {};
6
+
7
+ $parcel$export($a43f840f49ffbe32$exports, "focus-ring", () => $a43f840f49ffbe32$export$f39a09f249340e2a, (v) => $a43f840f49ffbe32$export$f39a09f249340e2a = v);
8
+ $parcel$export($a43f840f49ffbe32$exports, "i18nFontFamily", () => $a43f840f49ffbe32$export$8c4ee2c50c22c514, (v) => $a43f840f49ffbe32$export$8c4ee2c50c22c514 = v);
9
+ $parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-ltr", () => $a43f840f49ffbe32$export$a889038a25113dd4, (v) => $a43f840f49ffbe32$export$a889038a25113dd4 = v);
10
+ $parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-rtl", () => $a43f840f49ffbe32$export$aeff243cf3356f00, (v) => $a43f840f49ffbe32$export$aeff243cf3356f00 = v);
11
+ $parcel$export($a43f840f49ffbe32$exports, "is-critical", () => $a43f840f49ffbe32$export$a1f608a9810da50f, (v) => $a43f840f49ffbe32$export$a1f608a9810da50f = v);
12
+ $parcel$export($a43f840f49ffbe32$exports, "is-positive", () => $a43f840f49ffbe32$export$aea9fd919467f03a, (v) => $a43f840f49ffbe32$export$aea9fd919467f03a = v);
13
+ $parcel$export($a43f840f49ffbe32$exports, "is-warning", () => $a43f840f49ffbe32$export$d4ebda6218901908, (v) => $a43f840f49ffbe32$export$d4ebda6218901908 = v);
14
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader", () => $a43f840f49ffbe32$export$162ba336fb0c239f, (v) => $a43f840f49ffbe32$export$162ba336fb0c239f = v);
15
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--indeterminate", () => $a43f840f49ffbe32$export$1249dfbb98223794, (v) => $a43f840f49ffbe32$export$1249dfbb98223794 = v);
16
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--overBackground", () => $a43f840f49ffbe32$export$55612d0bd9b5d41, (v) => $a43f840f49ffbe32$export$55612d0bd9b5d41 = v);
17
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--sideLabel", () => $a43f840f49ffbe32$export$99af8802cc2a10dc, (v) => $a43f840f49ffbe32$export$99af8802cc2a10dc = v);
18
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--small", () => $a43f840f49ffbe32$export$b945305960ad74a7, (v) => $a43f840f49ffbe32$export$b945305960ad74a7 = v);
19
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticBlack", () => $a43f840f49ffbe32$export$f45257a01e7aabeb, (v) => $a43f840f49ffbe32$export$f45257a01e7aabeb = v);
20
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticWhite", () => $a43f840f49ffbe32$export$734e9273ae1f542e, (v) => $a43f840f49ffbe32$export$734e9273ae1f542e = v);
21
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-fill", () => $a43f840f49ffbe32$export$84c9ee7bc724b71b, (v) => $a43f840f49ffbe32$export$84c9ee7bc724b71b = v);
22
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-label", () => $a43f840f49ffbe32$export$5379ba198163be86, (v) => $a43f840f49ffbe32$export$5379ba198163be86 = v);
23
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-percentage", () => $a43f840f49ffbe32$export$ecc9c825de9d1a18, (v) => $a43f840f49ffbe32$export$ecc9c825de9d1a18 = v);
24
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-track", () => $a43f840f49ffbe32$export$3e2e13fb57b5c74b, (v) => $a43f840f49ffbe32$export$3e2e13fb57b5c74b = v);
25
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing-ring", () => $a43f840f49ffbe32$export$4109102f950813a6, (v) => $a43f840f49ffbe32$export$4109102f950813a6 = v);
26
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing", () => $a43f840f49ffbe32$export$24c7f46a6e3605dd, (v) => $a43f840f49ffbe32$export$24c7f46a6e3605dd = v);
27
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing--quiet", () => $a43f840f49ffbe32$export$2927016961429360, (v) => $a43f840f49ffbe32$export$2927016961429360 = v);
28
+ var $a43f840f49ffbe32$export$f39a09f249340e2a;
29
+ var $a43f840f49ffbe32$export$8c4ee2c50c22c514;
30
+ var $a43f840f49ffbe32$export$a889038a25113dd4;
31
+ var $a43f840f49ffbe32$export$aeff243cf3356f00;
32
+ var $a43f840f49ffbe32$export$a1f608a9810da50f;
33
+ var $a43f840f49ffbe32$export$aea9fd919467f03a;
34
+ var $a43f840f49ffbe32$export$d4ebda6218901908;
35
+ var $a43f840f49ffbe32$export$162ba336fb0c239f;
36
+ var $a43f840f49ffbe32$export$1249dfbb98223794;
37
+ var $a43f840f49ffbe32$export$55612d0bd9b5d41;
38
+ var $a43f840f49ffbe32$export$99af8802cc2a10dc;
39
+ var $a43f840f49ffbe32$export$b945305960ad74a7;
40
+ var $a43f840f49ffbe32$export$f45257a01e7aabeb;
41
+ var $a43f840f49ffbe32$export$734e9273ae1f542e;
42
+ var $a43f840f49ffbe32$export$84c9ee7bc724b71b;
43
+ var $a43f840f49ffbe32$export$5379ba198163be86;
44
+ var $a43f840f49ffbe32$export$ecc9c825de9d1a18;
45
+ var $a43f840f49ffbe32$export$3e2e13fb57b5c74b;
46
+ var $a43f840f49ffbe32$export$4109102f950813a6;
47
+ var $a43f840f49ffbe32$export$24c7f46a6e3605dd;
48
+ var $a43f840f49ffbe32$export$2927016961429360;
49
+ $a43f840f49ffbe32$export$f39a09f249340e2a = `uFrYBa_focus-ring`;
50
+ $a43f840f49ffbe32$export$8c4ee2c50c22c514 = `uFrYBa_i18nFontFamily`;
51
+ $a43f840f49ffbe32$export$a889038a25113dd4 = `uFrYBa_indeterminate-loop-ltr`;
52
+ $a43f840f49ffbe32$export$a889038a25113dd4;
53
+ $a43f840f49ffbe32$export$aeff243cf3356f00 = `uFrYBa_indeterminate-loop-rtl`;
54
+ $a43f840f49ffbe32$export$aeff243cf3356f00;
55
+ $a43f840f49ffbe32$export$a1f608a9810da50f = `uFrYBa_is-critical`;
56
+ $a43f840f49ffbe32$export$aea9fd919467f03a = `uFrYBa_is-positive`;
57
+ $a43f840f49ffbe32$export$d4ebda6218901908 = `uFrYBa_is-warning`;
58
+ $a43f840f49ffbe32$export$162ba336fb0c239f = `uFrYBa_spectrum-BarLoader`;
59
+ $a43f840f49ffbe32$export$1249dfbb98223794 = `uFrYBa_spectrum-BarLoader--indeterminate`;
60
+ $a43f840f49ffbe32$export$55612d0bd9b5d41 = `uFrYBa_spectrum-BarLoader--overBackground`;
61
+ $a43f840f49ffbe32$export$99af8802cc2a10dc = `uFrYBa_spectrum-BarLoader--sideLabel`;
62
+ $a43f840f49ffbe32$export$b945305960ad74a7 = `uFrYBa_spectrum-BarLoader--small`;
63
+ $a43f840f49ffbe32$export$f45257a01e7aabeb = `uFrYBa_spectrum-BarLoader--staticBlack`;
64
+ $a43f840f49ffbe32$export$734e9273ae1f542e = `uFrYBa_spectrum-BarLoader--staticWhite`;
65
+ $a43f840f49ffbe32$export$84c9ee7bc724b71b = `uFrYBa_spectrum-BarLoader-fill`;
66
+ $a43f840f49ffbe32$export$5379ba198163be86 = `uFrYBa_spectrum-BarLoader-label`;
67
+ $a43f840f49ffbe32$export$ecc9c825de9d1a18 = `uFrYBa_spectrum-BarLoader-percentage`;
68
+ $a43f840f49ffbe32$export$3e2e13fb57b5c74b = `uFrYBa_spectrum-BarLoader-track`;
69
+ $a43f840f49ffbe32$export$4109102f950813a6 = `uFrYBa_spectrum-FocusRing-ring`;
70
+ $a43f840f49ffbe32$export$24c7f46a6e3605dd = `uFrYBa_spectrum-FocusRing ${$a43f840f49ffbe32$export$4109102f950813a6}`;
71
+ $a43f840f49ffbe32$export$2927016961429360 = `uFrYBa_spectrum-FocusRing--quiet`;
72
+
73
+
74
+ export {$a43f840f49ffbe32$exports as default};
75
+ //# sourceMappingURL=barloader_vars_css.module.js.map
@@ -0,0 +1,75 @@
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 $a43f840f49ffbe32$exports = {};
6
+
7
+ $parcel$export($a43f840f49ffbe32$exports, "focus-ring", () => $a43f840f49ffbe32$export$f39a09f249340e2a, (v) => $a43f840f49ffbe32$export$f39a09f249340e2a = v);
8
+ $parcel$export($a43f840f49ffbe32$exports, "i18nFontFamily", () => $a43f840f49ffbe32$export$8c4ee2c50c22c514, (v) => $a43f840f49ffbe32$export$8c4ee2c50c22c514 = v);
9
+ $parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-ltr", () => $a43f840f49ffbe32$export$a889038a25113dd4, (v) => $a43f840f49ffbe32$export$a889038a25113dd4 = v);
10
+ $parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-rtl", () => $a43f840f49ffbe32$export$aeff243cf3356f00, (v) => $a43f840f49ffbe32$export$aeff243cf3356f00 = v);
11
+ $parcel$export($a43f840f49ffbe32$exports, "is-critical", () => $a43f840f49ffbe32$export$a1f608a9810da50f, (v) => $a43f840f49ffbe32$export$a1f608a9810da50f = v);
12
+ $parcel$export($a43f840f49ffbe32$exports, "is-positive", () => $a43f840f49ffbe32$export$aea9fd919467f03a, (v) => $a43f840f49ffbe32$export$aea9fd919467f03a = v);
13
+ $parcel$export($a43f840f49ffbe32$exports, "is-warning", () => $a43f840f49ffbe32$export$d4ebda6218901908, (v) => $a43f840f49ffbe32$export$d4ebda6218901908 = v);
14
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader", () => $a43f840f49ffbe32$export$162ba336fb0c239f, (v) => $a43f840f49ffbe32$export$162ba336fb0c239f = v);
15
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--indeterminate", () => $a43f840f49ffbe32$export$1249dfbb98223794, (v) => $a43f840f49ffbe32$export$1249dfbb98223794 = v);
16
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--overBackground", () => $a43f840f49ffbe32$export$55612d0bd9b5d41, (v) => $a43f840f49ffbe32$export$55612d0bd9b5d41 = v);
17
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--sideLabel", () => $a43f840f49ffbe32$export$99af8802cc2a10dc, (v) => $a43f840f49ffbe32$export$99af8802cc2a10dc = v);
18
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--small", () => $a43f840f49ffbe32$export$b945305960ad74a7, (v) => $a43f840f49ffbe32$export$b945305960ad74a7 = v);
19
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticBlack", () => $a43f840f49ffbe32$export$f45257a01e7aabeb, (v) => $a43f840f49ffbe32$export$f45257a01e7aabeb = v);
20
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticWhite", () => $a43f840f49ffbe32$export$734e9273ae1f542e, (v) => $a43f840f49ffbe32$export$734e9273ae1f542e = v);
21
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-fill", () => $a43f840f49ffbe32$export$84c9ee7bc724b71b, (v) => $a43f840f49ffbe32$export$84c9ee7bc724b71b = v);
22
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-label", () => $a43f840f49ffbe32$export$5379ba198163be86, (v) => $a43f840f49ffbe32$export$5379ba198163be86 = v);
23
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-percentage", () => $a43f840f49ffbe32$export$ecc9c825de9d1a18, (v) => $a43f840f49ffbe32$export$ecc9c825de9d1a18 = v);
24
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-track", () => $a43f840f49ffbe32$export$3e2e13fb57b5c74b, (v) => $a43f840f49ffbe32$export$3e2e13fb57b5c74b = v);
25
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing-ring", () => $a43f840f49ffbe32$export$4109102f950813a6, (v) => $a43f840f49ffbe32$export$4109102f950813a6 = v);
26
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing", () => $a43f840f49ffbe32$export$24c7f46a6e3605dd, (v) => $a43f840f49ffbe32$export$24c7f46a6e3605dd = v);
27
+ $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing--quiet", () => $a43f840f49ffbe32$export$2927016961429360, (v) => $a43f840f49ffbe32$export$2927016961429360 = v);
28
+ var $a43f840f49ffbe32$export$f39a09f249340e2a;
29
+ var $a43f840f49ffbe32$export$8c4ee2c50c22c514;
30
+ var $a43f840f49ffbe32$export$a889038a25113dd4;
31
+ var $a43f840f49ffbe32$export$aeff243cf3356f00;
32
+ var $a43f840f49ffbe32$export$a1f608a9810da50f;
33
+ var $a43f840f49ffbe32$export$aea9fd919467f03a;
34
+ var $a43f840f49ffbe32$export$d4ebda6218901908;
35
+ var $a43f840f49ffbe32$export$162ba336fb0c239f;
36
+ var $a43f840f49ffbe32$export$1249dfbb98223794;
37
+ var $a43f840f49ffbe32$export$55612d0bd9b5d41;
38
+ var $a43f840f49ffbe32$export$99af8802cc2a10dc;
39
+ var $a43f840f49ffbe32$export$b945305960ad74a7;
40
+ var $a43f840f49ffbe32$export$f45257a01e7aabeb;
41
+ var $a43f840f49ffbe32$export$734e9273ae1f542e;
42
+ var $a43f840f49ffbe32$export$84c9ee7bc724b71b;
43
+ var $a43f840f49ffbe32$export$5379ba198163be86;
44
+ var $a43f840f49ffbe32$export$ecc9c825de9d1a18;
45
+ var $a43f840f49ffbe32$export$3e2e13fb57b5c74b;
46
+ var $a43f840f49ffbe32$export$4109102f950813a6;
47
+ var $a43f840f49ffbe32$export$24c7f46a6e3605dd;
48
+ var $a43f840f49ffbe32$export$2927016961429360;
49
+ $a43f840f49ffbe32$export$f39a09f249340e2a = `uFrYBa_focus-ring`;
50
+ $a43f840f49ffbe32$export$8c4ee2c50c22c514 = `uFrYBa_i18nFontFamily`;
51
+ $a43f840f49ffbe32$export$a889038a25113dd4 = `uFrYBa_indeterminate-loop-ltr`;
52
+ $a43f840f49ffbe32$export$a889038a25113dd4;
53
+ $a43f840f49ffbe32$export$aeff243cf3356f00 = `uFrYBa_indeterminate-loop-rtl`;
54
+ $a43f840f49ffbe32$export$aeff243cf3356f00;
55
+ $a43f840f49ffbe32$export$a1f608a9810da50f = `uFrYBa_is-critical`;
56
+ $a43f840f49ffbe32$export$aea9fd919467f03a = `uFrYBa_is-positive`;
57
+ $a43f840f49ffbe32$export$d4ebda6218901908 = `uFrYBa_is-warning`;
58
+ $a43f840f49ffbe32$export$162ba336fb0c239f = `uFrYBa_spectrum-BarLoader`;
59
+ $a43f840f49ffbe32$export$1249dfbb98223794 = `uFrYBa_spectrum-BarLoader--indeterminate`;
60
+ $a43f840f49ffbe32$export$55612d0bd9b5d41 = `uFrYBa_spectrum-BarLoader--overBackground`;
61
+ $a43f840f49ffbe32$export$99af8802cc2a10dc = `uFrYBa_spectrum-BarLoader--sideLabel`;
62
+ $a43f840f49ffbe32$export$b945305960ad74a7 = `uFrYBa_spectrum-BarLoader--small`;
63
+ $a43f840f49ffbe32$export$f45257a01e7aabeb = `uFrYBa_spectrum-BarLoader--staticBlack`;
64
+ $a43f840f49ffbe32$export$734e9273ae1f542e = `uFrYBa_spectrum-BarLoader--staticWhite`;
65
+ $a43f840f49ffbe32$export$84c9ee7bc724b71b = `uFrYBa_spectrum-BarLoader-fill`;
66
+ $a43f840f49ffbe32$export$5379ba198163be86 = `uFrYBa_spectrum-BarLoader-label`;
67
+ $a43f840f49ffbe32$export$ecc9c825de9d1a18 = `uFrYBa_spectrum-BarLoader-percentage`;
68
+ $a43f840f49ffbe32$export$3e2e13fb57b5c74b = `uFrYBa_spectrum-BarLoader-track`;
69
+ $a43f840f49ffbe32$export$4109102f950813a6 = `uFrYBa_spectrum-FocusRing-ring`;
70
+ $a43f840f49ffbe32$export$24c7f46a6e3605dd = `uFrYBa_spectrum-FocusRing ${$a43f840f49ffbe32$export$4109102f950813a6}`;
71
+ $a43f840f49ffbe32$export$2927016961429360 = `uFrYBa_spectrum-FocusRing--quiet`;
72
+
73
+
74
+ export {$a43f840f49ffbe32$exports as default};
75
+ //# sourceMappingURL=barloader_vars_css.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AAEA,IAAA;AAEA,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;AAtBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E;AACA,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E;AACA,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAuC,CAAC,yBAAyB,CAAC;AAClE,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,2CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,0CAA0C,CAAC;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/barloader/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":"barloader_vars_css.module.js.map"}
@@ -0,0 +1,18 @@
1
+ import {Meter as $559585cb28581b56$export$62e3ae2a4090b879} from "./Meter.mjs";
2
+
3
+ /*
4
+ * Copyright 2020 Adobe. All rights reserved.
5
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License. You may obtain a copy
7
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software distributed under
10
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
11
+ * OF ANY KIND, either express or implied. See the License for the specific language
12
+ * governing permissions and limitations under the License.
13
+ */ /// <reference types="css-module-types" />
14
+
15
+
16
+
17
+ export {$559585cb28581b56$export$62e3ae2a4090b879 as Meter};
18
+ //# sourceMappingURL=module.js.map
package/dist/main.js ADDED
@@ -0,0 +1,23 @@
1
+ var $fc7fd823390a6f61$exports = require("./Meter.main.js");
2
+
3
+
4
+ function $parcel$export(e, n, v, s) {
5
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
6
+ }
7
+
8
+ $parcel$export(module.exports, "Meter", () => $fc7fd823390a6f61$exports.Meter);
9
+ /*
10
+ * Copyright 2020 Adobe. All rights reserved.
11
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License. You may obtain a copy
13
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software distributed under
16
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
17
+ * OF ANY KIND, either express or implied. See the License for the specific language
18
+ * governing permissions and limitations under the License.
19
+ */ /// <reference types="css-module-types" />
20
+
21
+
22
+
23
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/meter/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 {Meter} from './Meter';\nexport type {SpectrumMeterProps} from '@react-types/meter';\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js ADDED
@@ -0,0 +1,18 @@
1
+ import {Meter as $559585cb28581b56$export$62e3ae2a4090b879} from "./Meter.module.js";
2
+
3
+ /*
4
+ * Copyright 2020 Adobe. All rights reserved.
5
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License. You may obtain a copy
7
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software distributed under
10
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
11
+ * OF ANY KIND, either express or implied. See the License for the specific language
12
+ * governing permissions and limitations under the License.
13
+ */ /// <reference types="css-module-types" />
14
+
15
+
16
+
17
+ export {$559585cb28581b56$export$62e3ae2a4090b879 as Meter};
18
+ //# sourceMappingURL=module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/meter/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 {Meter} from './Meter';\nexport type {SpectrumMeterProps} from '@react-types/meter';\n"],"names":[],"version":3,"file":"module.js.map"}
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { SpectrumMeterProps } from "@react-types/meter";
3
+ import { DOMRefValue } from "@react-types/shared";
4
+ /**
5
+ * Meters are visual representations of a quantity or an achievement.
6
+ * Their progress is determined by user actions, rather than system actions.
7
+ */
8
+ export let Meter: React.ForwardRefExoticComponent<SpectrumMeterProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
9
+ export type { SpectrumMeterProps } from '@react-types/meter';
10
+
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;AA8CA;;;GAGG;AACH,OAAA,IAAI,6GAAgC,CAAC;ACnCrC,YAAY,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC","sources":["packages/@react-spectrum/meter/src/packages/@react-spectrum/meter/src/Meter.tsx","packages/@react-spectrum/meter/src/packages/@react-spectrum/meter/src/index.ts","packages/@react-spectrum/meter/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 {Meter} from './Meter';\nexport type {SpectrumMeterProps} from '@react-types/meter';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
@@ -0,0 +1,288 @@
1
+ .uFrYBa_i18nFontFamily {
2
+ font-synthesis: weight;
3
+ font-family: adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
4
+ }
5
+
6
+ .uFrYBa_i18nFontFamily:lang(ar) {
7
+ font-family: myriad-arabic, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
8
+ }
9
+
10
+ .uFrYBa_i18nFontFamily:lang(he) {
11
+ font-family: myriad-hebrew, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
12
+ }
13
+
14
+ .uFrYBa_i18nFontFamily:lang(zh) {
15
+ font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
16
+ }
17
+
18
+ .uFrYBa_i18nFontFamily:lang(zh-Hans) {
19
+ font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
20
+ }
21
+
22
+ .uFrYBa_i18nFontFamily:lang(zh-Hant) {
23
+ font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
24
+ }
25
+
26
+ .uFrYBa_i18nFontFamily:lang(zh-SG), .uFrYBa_i18nFontFamily:lang(zh-CN) {
27
+ font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
28
+ }
29
+
30
+ .uFrYBa_i18nFontFamily:lang(ko) {
31
+ font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
32
+ }
33
+
34
+ .uFrYBa_i18nFontFamily:lang(ja) {
35
+ font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
36
+ }
37
+
38
+ .uFrYBa_spectrum-FocusRing-ring {
39
+ --spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));
40
+ --spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);
41
+ --spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);
42
+ --spectrum-focus-ring-border-size: 0px;
43
+ --spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)));
44
+ }
45
+
46
+ .uFrYBa_spectrum-FocusRing-ring:after {
47
+ border-radius: calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));
48
+ content: "";
49
+ margin: calc(-1 * var(--spectrum-focus-ring-border-size));
50
+ pointer-events: none;
51
+ transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
52
+ display: block;
53
+ position: absolute;
54
+ inset: 0;
55
+ }
56
+
57
+ .uFrYBa_spectrum-FocusRing.uFrYBa_focus-ring:after {
58
+ margin: calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));
59
+ box-shadow: 0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color);
60
+ }
61
+
62
+ .uFrYBa_spectrum-FocusRing--quiet:after {
63
+ border-radius: 0;
64
+ }
65
+
66
+ .uFrYBa_spectrum-FocusRing--quiet.uFrYBa_focus-ring:after {
67
+ margin: 0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;
68
+ box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
69
+ }
70
+
71
+ @media (forced-colors: active) {
72
+ .uFrYBa_spectrum-FocusRing, .uFrYBa_spectrum-FocusRing-ring, .uFrYBa_spectrum-FocusRing--quiet {
73
+ --spectrum-high-contrast-focus-ring-color: Highlight;
74
+ }
75
+
76
+ :is(.uFrYBa_spectrum-FocusRing, .uFrYBa_spectrum-FocusRing-ring, .uFrYBa_spectrum-FocusRing--quiet):after {
77
+ forced-color-adjust: none;
78
+ }
79
+ }
80
+
81
+ .uFrYBa_spectrum-BarLoader {
82
+ min-inline-size: var(--spectrum-global-dimension-static-size-600, 48px);
83
+ inline-size: var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400));
84
+ vertical-align: top;
85
+ isolation: isolate;
86
+ flex-flow: wrap;
87
+ justify-content: space-between;
88
+ align-items: center;
89
+ display: inline-flex;
90
+ position: relative;
91
+ }
92
+
93
+ .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--indeterminate {
94
+ max-inline-size: var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400));
95
+ }
96
+
97
+ .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--indeterminate.uFrYBa_spectrum-BarLoader--sideLabel .uFrYBa_spectrum-BarLoader-track {
98
+ max-inline-size: var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400));
99
+ inline-size: 100%;
100
+ }
101
+
102
+ .uFrYBa_spectrum-BarLoader-track {
103
+ min-inline-size: var(--spectrum-global-dimension-static-size-600, 48px);
104
+ height: var(--spectrum-barloader-large-height, var(--spectrum-global-dimension-size-75));
105
+ border-radius: var(--spectrum-barloader-large-border-radius);
106
+ z-index: 1;
107
+ inline-size: 100%;
108
+ overflow: hidden;
109
+ }
110
+
111
+ .uFrYBa_spectrum-BarLoader-fill {
112
+ height: var(--spectrum-barloader-large-height, var(--spectrum-global-dimension-size-75));
113
+ border: none;
114
+ transition: width 1s;
115
+ }
116
+
117
+ .uFrYBa_spectrum-BarLoader-label, .uFrYBa_spectrum-BarLoader-percentage {
118
+ font-size: var(--spectrum-fieldlabel-text-size, var(--spectrum-global-dimension-font-size-75));
119
+ font-weight: var(--spectrum-fieldlabel-text-font-weight, var(--spectrum-global-font-weight-regular));
120
+ line-height: var(--spectrum-fieldlabel-text-line-height, var(--spectrum-global-font-line-height-small));
121
+ text-align: start;
122
+ margin-bottom: var(--spectrum-barloader-large-label-gap-y, var(--spectrum-global-dimension-size-115));
123
+ }
124
+
125
+ .uFrYBa_spectrum-BarLoader-label {
126
+ flex: 1;
127
+ }
128
+
129
+ .uFrYBa_spectrum-BarLoader-percentage {
130
+ align-self: flex-start;
131
+ margin-inline-start: var(--spectrum-barloader-small-label-gap-x, var(--spectrum-global-dimension-size-150));
132
+ }
133
+
134
+ .uFrYBa_spectrum-BarLoader--sideLabel {
135
+ flex-flow: row;
136
+ justify-content: space-between;
137
+ min-inline-size: fit-content;
138
+ display: inline-flex;
139
+ }
140
+
141
+ .uFrYBa_spectrum-BarLoader--sideLabel .uFrYBa_spectrum-BarLoader-track {
142
+ inline-size: inherit;
143
+ }
144
+
145
+ .uFrYBa_spectrum-BarLoader--sideLabel .uFrYBa_spectrum-BarLoader-label {
146
+ margin-inline-end: var(--spectrum-barloader-large-label-gap-x, var(--spectrum-global-dimension-size-150));
147
+ margin-bottom: 0;
148
+ }
149
+
150
+ .uFrYBa_spectrum-BarLoader--sideLabel .uFrYBa_spectrum-BarLoader-percentage {
151
+ text-align: end;
152
+ margin-inline-start: var(--spectrum-barloader-large-label-gap-x, var(--spectrum-global-dimension-size-150));
153
+ order: 3;
154
+ margin-bottom: 0;
155
+ }
156
+
157
+ .uFrYBa_spectrum-BarLoader--small {
158
+ min-inline-size: var(--spectrum-global-dimension-static-size-600, 48px);
159
+ }
160
+
161
+ .uFrYBa_spectrum-BarLoader--small .uFrYBa_spectrum-BarLoader-fill {
162
+ height: var(--spectrum-barloader-small-height, var(--spectrum-global-dimension-size-50));
163
+ }
164
+
165
+ .uFrYBa_spectrum-BarLoader--small .uFrYBa_spectrum-BarLoader-track {
166
+ height: var(--spectrum-barloader-small-height, var(--spectrum-global-dimension-size-50));
167
+ border-radius: var(--spectrum-barloader-small-border-radius);
168
+ }
169
+
170
+ .uFrYBa_spectrum-BarLoader--indeterminate .uFrYBa_spectrum-BarLoader-fill {
171
+ inline-size: var(--spectrum-barloader-large-indeterminate-fill-width, var(--spectrum-global-dimension-size-1700));
172
+ animation-duration: var(--spectrum-barloader-large-indeterminate-duration, var(--spectrum-global-animation-duration-2000));
173
+ animation-iteration-count: infinite;
174
+ animation-timing-function: var(--spectrum-barloader-large-indeterminate-animation-ease, var(--spectrum-global-animation-ease-in-out));
175
+ will-change: transform;
176
+ position: relative;
177
+ }
178
+
179
+ [dir="ltr"] :is(.uFrYBa_spectrum-BarLoader--indeterminate .uFrYBa_spectrum-BarLoader-fill) {
180
+ animation-name: uFrYBa_indeterminate-loop-ltr;
181
+ }
182
+
183
+ [dir="rtl"] :is(.uFrYBa_spectrum-BarLoader--indeterminate .uFrYBa_spectrum-BarLoader-fill) {
184
+ animation-name: uFrYBa_indeterminate-loop-rtl;
185
+ }
186
+
187
+ @keyframes uFrYBa_indeterminate-loop-ltr {
188
+ from {
189
+ transform: translate(calc(var(--spectrum-barloader-large-indeterminate-fill-width, var(--spectrum-global-dimension-size-1700)) * -1));
190
+ }
191
+
192
+ to {
193
+ transform: translate(var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400)));
194
+ }
195
+ }
196
+
197
+ @keyframes uFrYBa_indeterminate-loop-rtl {
198
+ from {
199
+ transform: translate(var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400)));
200
+ }
201
+
202
+ to {
203
+ transform: translate(calc(var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400)) * -1));
204
+ }
205
+ }
206
+
207
+ .uFrYBa_spectrum-BarLoader {
208
+ --spectrum-barloader-large-track-fill-color: var(--spectrum-accent-color-900);
209
+ --spectrum-barloader-static-black-track-color: #00000040;
210
+ --spectrum-barloader-static-black-fill-color: var(--spectrum-global-color-static-black, #000);
211
+ }
212
+
213
+ .uFrYBa_spectrum-BarLoader .uFrYBa_spectrum-BarLoader-fill {
214
+ background: var(--spectrum-barloader-large-track-fill-color, var(--spectrum-global-color-blue-500));
215
+ }
216
+
217
+ .uFrYBa_spectrum-BarLoader .uFrYBa_spectrum-BarLoader-track {
218
+ background-color: var(--spectrum-barloader-large-track-color, var(--spectrum-alias-track-color-default));
219
+ }
220
+
221
+ .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-fill {
222
+ background: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
223
+ }
224
+
225
+ .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-label, .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-percentage {
226
+ color: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
227
+ }
228
+
229
+ .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-track {
230
+ background-color: var(--spectrum-barloader-large-over-background-track-color, var(--spectrum-alias-track-color-over-background));
231
+ }
232
+
233
+ .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-fill {
234
+ background: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
235
+ }
236
+
237
+ .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-label, .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-percentage {
238
+ color: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
239
+ }
240
+
241
+ .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-track {
242
+ background-color: var(--spectrum-barloader-large-over-background-track-color, var(--spectrum-alias-track-color-over-background));
243
+ }
244
+
245
+ .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-track {
246
+ background-color: var(--spectrum-barloader-static-black-track-color);
247
+ }
248
+
249
+ .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-label, .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-percentage {
250
+ color: var(--spectrum-barloader-static-black-fill-color);
251
+ }
252
+
253
+ .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-fill {
254
+ background: var(--spectrum-barloader-static-black-fill-color);
255
+ }
256
+
257
+ .uFrYBa_spectrum-BarLoader.uFrYBa_is-positive .uFrYBa_spectrum-BarLoader-fill {
258
+ background: var(--spectrum-meter-large-track-color-positive, var(--spectrum-semantic-positive-color-status));
259
+ }
260
+
261
+ .uFrYBa_spectrum-BarLoader.uFrYBa_is-warning .uFrYBa_spectrum-BarLoader-fill {
262
+ background: var(--spectrum-meter-large-track-color-warning, var(--spectrum-semantic-notice-color-status));
263
+ }
264
+
265
+ .uFrYBa_spectrum-BarLoader.uFrYBa_is-critical .uFrYBa_spectrum-BarLoader-fill {
266
+ background: var(--spectrum-meter-large-track-color-critical, var(--spectrum-semantic-negative-color-status));
267
+ }
268
+
269
+ .uFrYBa_spectrum-BarLoader-label, .uFrYBa_spectrum-BarLoader-percentage {
270
+ color: var(--spectrum-fieldlabel-text-color, var(--spectrum-alias-label-text-color));
271
+ }
272
+
273
+ @media (forced-colors: active) {
274
+ .uFrYBa_spectrum-BarLoader-track {
275
+ forced-color-adjust: none;
276
+ --spectrum-barloader-large-track-fill-color: ButtonText;
277
+ --spectrum-barloader-large-over-background-track-fill-color: ButtonText;
278
+ --spectrum-barloader-large-over-background-track-color: ButtonFace;
279
+ --spectrum-barloader-static-black-track-color: ButtonFace;
280
+ --spectrum-barloader-static-black-fill-color: ButtonText;
281
+ --spectrum-meter-large-track-color-positive: ButtonText;
282
+ --spectrum-meter-large-track-color-warning: ButtonText;
283
+ --spectrum-meter-large-track-color-critical: ButtonText;
284
+ --spectrum-barloader-large-track-color: ButtonFace;
285
+ border: 1px solid buttontext;
286
+ }
287
+ }
288
+ /*# sourceMappingURL=vars.37cf232d.css.map */
@@ -0,0 +1 @@
1
+ {"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ;;;;;;;;;;;;AAWE;;;;AAKE;;;;;AAOJ;;;;;;;;;AAUA;;;;;;AAOA;;;;;;;;AASA;;;;AAIA;;;;;AAKA;;;;;;;AAME;;;;AAIA;;;;;AAIA;;;;;;;AAQF;;;;AAGE;;;;AAIA;;;;;AAMF;;;;;;;;;AAQE;;;;AAGA;;;;AAKF;;;;;;;;;;AASA;;;;;;;;;;AAqBA;;;;;;AAKE;;;;AAIA;;;;AAME;;;;AAIA;;;;AAKA;;;;AATA;;;;AAIA;;;;AAKA;;;;AAMA;;;;AAIA;;;;AAKA;;;;AAKA;;;;AAKA;;;;AAKA;;;;AAMJ;;;;AAeA;EACE","sources":["packages/@adobe/spectrum-css-temp/components/barloader/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.37cf232d.css.map"}
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "@react-spectrum/meter",
3
+ "version": "3.0.0-nightly-641446f65-240905",
4
+ "description": "Spectrum UI components in React",
5
+ "license": "Apache-2.0",
6
+ "main": "dist/main.js",
7
+ "module": "dist/module.js",
8
+ "exports": {
9
+ "types": "./dist/types.d.ts",
10
+ "import": "./dist/import.mjs",
11
+ "require": "./dist/main.js"
12
+ },
13
+ "types": "dist/types.d.ts",
14
+ "source": "src/index.ts",
15
+ "files": [
16
+ "dist",
17
+ "src"
18
+ ],
19
+ "sideEffects": [
20
+ "*.css"
21
+ ],
22
+ "targets": {
23
+ "main": {
24
+ "includeNodeModules": [
25
+ "@adobe/spectrum-css-temp"
26
+ ]
27
+ },
28
+ "module": {
29
+ "includeNodeModules": [
30
+ "@adobe/spectrum-css-temp"
31
+ ]
32
+ }
33
+ },
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "https://github.com/adobe/react-spectrum"
37
+ },
38
+ "dependencies": {
39
+ "@react-aria/meter": "^3.0.0-nightly-641446f65-240905",
40
+ "@react-spectrum/progress": "^3.0.0-nightly-641446f65-240905",
41
+ "@react-spectrum/utils": "^3.0.0-nightly-641446f65-240905",
42
+ "@react-types/meter": "^3.0.0-nightly-641446f65-240905",
43
+ "@react-types/shared": "^3.0.0-nightly-641446f65-240905",
44
+ "@swc/helpers": "^0.5.0"
45
+ },
46
+ "devDependencies": {
47
+ "@adobe/spectrum-css-temp": "3.0.0-alpha.1"
48
+ },
49
+ "peerDependencies": {
50
+ "@react-spectrum/provider": "^3.0.0-nightly-641446f65-240905",
51
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
52
+ },
53
+ "publishConfig": {
54
+ "access": "public"
55
+ },
56
+ "stableVersion": "3.5.3"
57
+ }
package/src/Meter.tsx ADDED
@@ -0,0 +1,52 @@
1
+ /*
2
+ * Copyright 2020 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+
13
+ import {classNames} from '@react-spectrum/utils';
14
+ import {DOMRef} from '@react-types/shared';
15
+ import {ProgressBarBase} from '@react-spectrum/progress';
16
+ import React from 'react';
17
+ import {SpectrumMeterProps} from '@react-types/meter';
18
+ import styles from '@adobe/spectrum-css-temp/components/barloader/vars.css';
19
+ import {useMeter} from '@react-aria/meter';
20
+
21
+ function Meter(props: SpectrumMeterProps, ref: DOMRef<HTMLDivElement>) {
22
+ let {variant = 'informative', ...otherProps} = props;
23
+ const {
24
+ meterProps,
25
+ labelProps
26
+ } = useMeter(props);
27
+
28
+ return (
29
+ <ProgressBarBase
30
+ {...otherProps}
31
+ ref={ref}
32
+ barProps={meterProps}
33
+ labelProps={labelProps}
34
+ barClassName={
35
+ classNames(
36
+ styles,
37
+ {
38
+ 'is-positive': variant === 'positive',
39
+ 'is-warning': variant === 'warning',
40
+ 'is-critical': variant === 'critical'
41
+ }
42
+ )
43
+ } />
44
+ );
45
+ }
46
+
47
+ /**
48
+ * Meters are visual representations of a quantity or an achievement.
49
+ * Their progress is determined by user actions, rather than system actions.
50
+ */
51
+ let _Meter = React.forwardRef(Meter);
52
+ export {_Meter as Meter};
package/src/index.ts ADDED
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Copyright 2020 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+
13
+ /// <reference types="css-module-types" />
14
+
15
+ export {Meter} from './Meter';
16
+ export type {SpectrumMeterProps} from '@react-types/meter';