@react-spectrum/meter 3.4.10 → 3.5.0

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,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.mjs.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.mjs.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"}
package/dist/import.mjs CHANGED
@@ -1,17 +1,5 @@
1
- import "./main.css";
2
- import {classNames as $dMbnw$classNames} from "@react-spectrum/utils";
3
- import {ProgressBarBase as $dMbnw$ProgressBarBase} from "@react-spectrum/progress";
4
- import $dMbnw$react from "react";
5
- import {useMeter as $dMbnw$useMeter} from "@react-aria/meter";
1
+ import {Meter as $559585cb28581b56$export$62e3ae2a4090b879} from "./Meter.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,109 +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 $a43f840f49ffbe32$exports = {};
40
-
41
- $parcel$export($a43f840f49ffbe32$exports, "focus-ring", () => $a43f840f49ffbe32$export$f39a09f249340e2a, (v) => $a43f840f49ffbe32$export$f39a09f249340e2a = v);
42
- $parcel$export($a43f840f49ffbe32$exports, "i18nFontFamily", () => $a43f840f49ffbe32$export$8c4ee2c50c22c514, (v) => $a43f840f49ffbe32$export$8c4ee2c50c22c514 = v);
43
- $parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-ltr", () => $a43f840f49ffbe32$export$a889038a25113dd4, (v) => $a43f840f49ffbe32$export$a889038a25113dd4 = v);
44
- $parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-rtl", () => $a43f840f49ffbe32$export$aeff243cf3356f00, (v) => $a43f840f49ffbe32$export$aeff243cf3356f00 = v);
45
- $parcel$export($a43f840f49ffbe32$exports, "is-critical", () => $a43f840f49ffbe32$export$a1f608a9810da50f, (v) => $a43f840f49ffbe32$export$a1f608a9810da50f = v);
46
- $parcel$export($a43f840f49ffbe32$exports, "is-positive", () => $a43f840f49ffbe32$export$aea9fd919467f03a, (v) => $a43f840f49ffbe32$export$aea9fd919467f03a = v);
47
- $parcel$export($a43f840f49ffbe32$exports, "is-warning", () => $a43f840f49ffbe32$export$d4ebda6218901908, (v) => $a43f840f49ffbe32$export$d4ebda6218901908 = v);
48
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader", () => $a43f840f49ffbe32$export$162ba336fb0c239f, (v) => $a43f840f49ffbe32$export$162ba336fb0c239f = v);
49
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--indeterminate", () => $a43f840f49ffbe32$export$1249dfbb98223794, (v) => $a43f840f49ffbe32$export$1249dfbb98223794 = v);
50
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--overBackground", () => $a43f840f49ffbe32$export$55612d0bd9b5d41, (v) => $a43f840f49ffbe32$export$55612d0bd9b5d41 = v);
51
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--sideLabel", () => $a43f840f49ffbe32$export$99af8802cc2a10dc, (v) => $a43f840f49ffbe32$export$99af8802cc2a10dc = v);
52
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--small", () => $a43f840f49ffbe32$export$b945305960ad74a7, (v) => $a43f840f49ffbe32$export$b945305960ad74a7 = v);
53
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticBlack", () => $a43f840f49ffbe32$export$f45257a01e7aabeb, (v) => $a43f840f49ffbe32$export$f45257a01e7aabeb = v);
54
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticWhite", () => $a43f840f49ffbe32$export$734e9273ae1f542e, (v) => $a43f840f49ffbe32$export$734e9273ae1f542e = v);
55
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-fill", () => $a43f840f49ffbe32$export$84c9ee7bc724b71b, (v) => $a43f840f49ffbe32$export$84c9ee7bc724b71b = v);
56
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-label", () => $a43f840f49ffbe32$export$5379ba198163be86, (v) => $a43f840f49ffbe32$export$5379ba198163be86 = v);
57
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-percentage", () => $a43f840f49ffbe32$export$ecc9c825de9d1a18, (v) => $a43f840f49ffbe32$export$ecc9c825de9d1a18 = v);
58
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-track", () => $a43f840f49ffbe32$export$3e2e13fb57b5c74b, (v) => $a43f840f49ffbe32$export$3e2e13fb57b5c74b = v);
59
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing-ring", () => $a43f840f49ffbe32$export$4109102f950813a6, (v) => $a43f840f49ffbe32$export$4109102f950813a6 = v);
60
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing", () => $a43f840f49ffbe32$export$24c7f46a6e3605dd, (v) => $a43f840f49ffbe32$export$24c7f46a6e3605dd = v);
61
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing--quiet", () => $a43f840f49ffbe32$export$2927016961429360, (v) => $a43f840f49ffbe32$export$2927016961429360 = v);
62
- var $a43f840f49ffbe32$export$f39a09f249340e2a;
63
- var $a43f840f49ffbe32$export$8c4ee2c50c22c514;
64
- var $a43f840f49ffbe32$export$a889038a25113dd4;
65
- var $a43f840f49ffbe32$export$aeff243cf3356f00;
66
- var $a43f840f49ffbe32$export$a1f608a9810da50f;
67
- var $a43f840f49ffbe32$export$aea9fd919467f03a;
68
- var $a43f840f49ffbe32$export$d4ebda6218901908;
69
- var $a43f840f49ffbe32$export$162ba336fb0c239f;
70
- var $a43f840f49ffbe32$export$1249dfbb98223794;
71
- var $a43f840f49ffbe32$export$55612d0bd9b5d41;
72
- var $a43f840f49ffbe32$export$99af8802cc2a10dc;
73
- var $a43f840f49ffbe32$export$b945305960ad74a7;
74
- var $a43f840f49ffbe32$export$f45257a01e7aabeb;
75
- var $a43f840f49ffbe32$export$734e9273ae1f542e;
76
- var $a43f840f49ffbe32$export$84c9ee7bc724b71b;
77
- var $a43f840f49ffbe32$export$5379ba198163be86;
78
- var $a43f840f49ffbe32$export$ecc9c825de9d1a18;
79
- var $a43f840f49ffbe32$export$3e2e13fb57b5c74b;
80
- var $a43f840f49ffbe32$export$4109102f950813a6;
81
- var $a43f840f49ffbe32$export$24c7f46a6e3605dd;
82
- var $a43f840f49ffbe32$export$2927016961429360;
83
- $a43f840f49ffbe32$export$f39a09f249340e2a = `uFrYBa_focus-ring`;
84
- $a43f840f49ffbe32$export$8c4ee2c50c22c514 = `uFrYBa_i18nFontFamily`;
85
- $a43f840f49ffbe32$export$a889038a25113dd4 = `uFrYBa_indeterminate-loop-ltr`;
86
- $a43f840f49ffbe32$export$a889038a25113dd4;
87
- $a43f840f49ffbe32$export$aeff243cf3356f00 = `uFrYBa_indeterminate-loop-rtl`;
88
- $a43f840f49ffbe32$export$aeff243cf3356f00;
89
- $a43f840f49ffbe32$export$a1f608a9810da50f = `uFrYBa_is-critical`;
90
- $a43f840f49ffbe32$export$aea9fd919467f03a = `uFrYBa_is-positive`;
91
- $a43f840f49ffbe32$export$d4ebda6218901908 = `uFrYBa_is-warning`;
92
- $a43f840f49ffbe32$export$162ba336fb0c239f = `uFrYBa_spectrum-BarLoader`;
93
- $a43f840f49ffbe32$export$1249dfbb98223794 = `uFrYBa_spectrum-BarLoader--indeterminate`;
94
- $a43f840f49ffbe32$export$55612d0bd9b5d41 = `uFrYBa_spectrum-BarLoader--overBackground`;
95
- $a43f840f49ffbe32$export$99af8802cc2a10dc = `uFrYBa_spectrum-BarLoader--sideLabel`;
96
- $a43f840f49ffbe32$export$b945305960ad74a7 = `uFrYBa_spectrum-BarLoader--small`;
97
- $a43f840f49ffbe32$export$f45257a01e7aabeb = `uFrYBa_spectrum-BarLoader--staticBlack`;
98
- $a43f840f49ffbe32$export$734e9273ae1f542e = `uFrYBa_spectrum-BarLoader--staticWhite`;
99
- $a43f840f49ffbe32$export$84c9ee7bc724b71b = `uFrYBa_spectrum-BarLoader-fill`;
100
- $a43f840f49ffbe32$export$5379ba198163be86 = `uFrYBa_spectrum-BarLoader-label`;
101
- $a43f840f49ffbe32$export$ecc9c825de9d1a18 = `uFrYBa_spectrum-BarLoader-percentage`;
102
- $a43f840f49ffbe32$export$3e2e13fb57b5c74b = `uFrYBa_spectrum-BarLoader-track`;
103
- $a43f840f49ffbe32$export$4109102f950813a6 = `uFrYBa_spectrum-FocusRing-ring`;
104
- $a43f840f49ffbe32$export$24c7f46a6e3605dd = `uFrYBa_spectrum-FocusRing ${$a43f840f49ffbe32$export$4109102f950813a6}`;
105
- $a43f840f49ffbe32$export$2927016961429360 = `uFrYBa_spectrum-FocusRing--quiet`;
106
-
107
-
108
-
109
- function $559585cb28581b56$var$Meter(props, ref) {
110
- let { variant: variant, ...otherProps } = props;
111
- const { meterProps: meterProps, labelProps: labelProps } = (0, $dMbnw$useMeter)(props);
112
- return /*#__PURE__*/ (0, $dMbnw$react).createElement((0, $dMbnw$ProgressBarBase), {
113
- ...otherProps,
114
- ref: ref,
115
- barProps: meterProps,
116
- labelProps: labelProps,
117
- barClassName: (0, $dMbnw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a43f840f49ffbe32$exports))), {
118
- "is-positive": variant === "positive",
119
- "is-warning": variant === "warning",
120
- "is-critical": variant === "critical"
121
- })
122
- });
123
- }
124
- /**
125
- * Meters are visual representations of a quantity or an achievement.
126
- * Their progress is determined by user actions, rather than system actions.
127
- */ let $559585cb28581b56$export$62e3ae2a4090b879 = /*#__PURE__*/ (0, $dMbnw$react).forwardRef($559585cb28581b56$var$Meter);
128
-
129
14
 
130
15
 
131
16
 
package/dist/main.js CHANGED
@@ -1,19 +1,11 @@
1
- require("./main.css");
2
- var $6eMp1$reactspectrumutils = require("@react-spectrum/utils");
3
- var $6eMp1$reactspectrumprogress = require("@react-spectrum/progress");
4
- var $6eMp1$react = require("react");
5
- var $6eMp1$reactariameter = require("@react-aria/meter");
1
+ var $fc7fd823390a6f61$exports = require("./Meter.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, "Meter", () => $fc7fd823390a6f61$export$62e3ae2a4090b879);
8
+ $parcel$export(module.exports, "Meter", () => $fc7fd823390a6f61$exports.Meter);
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,109 +17,6 @@ $parcel$export(module.exports, "Meter", () => $fc7fd823390a6f61$export$62e3ae2a4
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 $9f78a6c009f32d0a$exports = {};
42
-
43
- $parcel$export($9f78a6c009f32d0a$exports, "focus-ring", () => $9f78a6c009f32d0a$export$f39a09f249340e2a, (v) => $9f78a6c009f32d0a$export$f39a09f249340e2a = v);
44
- $parcel$export($9f78a6c009f32d0a$exports, "i18nFontFamily", () => $9f78a6c009f32d0a$export$8c4ee2c50c22c514, (v) => $9f78a6c009f32d0a$export$8c4ee2c50c22c514 = v);
45
- $parcel$export($9f78a6c009f32d0a$exports, "indeterminate-loop-ltr", () => $9f78a6c009f32d0a$export$a889038a25113dd4, (v) => $9f78a6c009f32d0a$export$a889038a25113dd4 = v);
46
- $parcel$export($9f78a6c009f32d0a$exports, "indeterminate-loop-rtl", () => $9f78a6c009f32d0a$export$aeff243cf3356f00, (v) => $9f78a6c009f32d0a$export$aeff243cf3356f00 = v);
47
- $parcel$export($9f78a6c009f32d0a$exports, "is-critical", () => $9f78a6c009f32d0a$export$a1f608a9810da50f, (v) => $9f78a6c009f32d0a$export$a1f608a9810da50f = v);
48
- $parcel$export($9f78a6c009f32d0a$exports, "is-positive", () => $9f78a6c009f32d0a$export$aea9fd919467f03a, (v) => $9f78a6c009f32d0a$export$aea9fd919467f03a = v);
49
- $parcel$export($9f78a6c009f32d0a$exports, "is-warning", () => $9f78a6c009f32d0a$export$d4ebda6218901908, (v) => $9f78a6c009f32d0a$export$d4ebda6218901908 = v);
50
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-BarLoader", () => $9f78a6c009f32d0a$export$162ba336fb0c239f, (v) => $9f78a6c009f32d0a$export$162ba336fb0c239f = v);
51
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-BarLoader--indeterminate", () => $9f78a6c009f32d0a$export$1249dfbb98223794, (v) => $9f78a6c009f32d0a$export$1249dfbb98223794 = v);
52
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-BarLoader--overBackground", () => $9f78a6c009f32d0a$export$55612d0bd9b5d41, (v) => $9f78a6c009f32d0a$export$55612d0bd9b5d41 = v);
53
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-BarLoader--sideLabel", () => $9f78a6c009f32d0a$export$99af8802cc2a10dc, (v) => $9f78a6c009f32d0a$export$99af8802cc2a10dc = v);
54
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-BarLoader--small", () => $9f78a6c009f32d0a$export$b945305960ad74a7, (v) => $9f78a6c009f32d0a$export$b945305960ad74a7 = v);
55
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-BarLoader--staticBlack", () => $9f78a6c009f32d0a$export$f45257a01e7aabeb, (v) => $9f78a6c009f32d0a$export$f45257a01e7aabeb = v);
56
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-BarLoader--staticWhite", () => $9f78a6c009f32d0a$export$734e9273ae1f542e, (v) => $9f78a6c009f32d0a$export$734e9273ae1f542e = v);
57
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-BarLoader-fill", () => $9f78a6c009f32d0a$export$84c9ee7bc724b71b, (v) => $9f78a6c009f32d0a$export$84c9ee7bc724b71b = v);
58
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-BarLoader-label", () => $9f78a6c009f32d0a$export$5379ba198163be86, (v) => $9f78a6c009f32d0a$export$5379ba198163be86 = v);
59
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-BarLoader-percentage", () => $9f78a6c009f32d0a$export$ecc9c825de9d1a18, (v) => $9f78a6c009f32d0a$export$ecc9c825de9d1a18 = v);
60
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-BarLoader-track", () => $9f78a6c009f32d0a$export$3e2e13fb57b5c74b, (v) => $9f78a6c009f32d0a$export$3e2e13fb57b5c74b = v);
61
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-FocusRing-ring", () => $9f78a6c009f32d0a$export$4109102f950813a6, (v) => $9f78a6c009f32d0a$export$4109102f950813a6 = v);
62
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-FocusRing", () => $9f78a6c009f32d0a$export$24c7f46a6e3605dd, (v) => $9f78a6c009f32d0a$export$24c7f46a6e3605dd = v);
63
- $parcel$export($9f78a6c009f32d0a$exports, "spectrum-FocusRing--quiet", () => $9f78a6c009f32d0a$export$2927016961429360, (v) => $9f78a6c009f32d0a$export$2927016961429360 = v);
64
- var $9f78a6c009f32d0a$export$f39a09f249340e2a;
65
- var $9f78a6c009f32d0a$export$8c4ee2c50c22c514;
66
- var $9f78a6c009f32d0a$export$a889038a25113dd4;
67
- var $9f78a6c009f32d0a$export$aeff243cf3356f00;
68
- var $9f78a6c009f32d0a$export$a1f608a9810da50f;
69
- var $9f78a6c009f32d0a$export$aea9fd919467f03a;
70
- var $9f78a6c009f32d0a$export$d4ebda6218901908;
71
- var $9f78a6c009f32d0a$export$162ba336fb0c239f;
72
- var $9f78a6c009f32d0a$export$1249dfbb98223794;
73
- var $9f78a6c009f32d0a$export$55612d0bd9b5d41;
74
- var $9f78a6c009f32d0a$export$99af8802cc2a10dc;
75
- var $9f78a6c009f32d0a$export$b945305960ad74a7;
76
- var $9f78a6c009f32d0a$export$f45257a01e7aabeb;
77
- var $9f78a6c009f32d0a$export$734e9273ae1f542e;
78
- var $9f78a6c009f32d0a$export$84c9ee7bc724b71b;
79
- var $9f78a6c009f32d0a$export$5379ba198163be86;
80
- var $9f78a6c009f32d0a$export$ecc9c825de9d1a18;
81
- var $9f78a6c009f32d0a$export$3e2e13fb57b5c74b;
82
- var $9f78a6c009f32d0a$export$4109102f950813a6;
83
- var $9f78a6c009f32d0a$export$24c7f46a6e3605dd;
84
- var $9f78a6c009f32d0a$export$2927016961429360;
85
- $9f78a6c009f32d0a$export$f39a09f249340e2a = `uFrYBa_focus-ring`;
86
- $9f78a6c009f32d0a$export$8c4ee2c50c22c514 = `uFrYBa_i18nFontFamily`;
87
- $9f78a6c009f32d0a$export$a889038a25113dd4 = `uFrYBa_indeterminate-loop-ltr`;
88
- $9f78a6c009f32d0a$export$a889038a25113dd4;
89
- $9f78a6c009f32d0a$export$aeff243cf3356f00 = `uFrYBa_indeterminate-loop-rtl`;
90
- $9f78a6c009f32d0a$export$aeff243cf3356f00;
91
- $9f78a6c009f32d0a$export$a1f608a9810da50f = `uFrYBa_is-critical`;
92
- $9f78a6c009f32d0a$export$aea9fd919467f03a = `uFrYBa_is-positive`;
93
- $9f78a6c009f32d0a$export$d4ebda6218901908 = `uFrYBa_is-warning`;
94
- $9f78a6c009f32d0a$export$162ba336fb0c239f = `uFrYBa_spectrum-BarLoader`;
95
- $9f78a6c009f32d0a$export$1249dfbb98223794 = `uFrYBa_spectrum-BarLoader--indeterminate`;
96
- $9f78a6c009f32d0a$export$55612d0bd9b5d41 = `uFrYBa_spectrum-BarLoader--overBackground`;
97
- $9f78a6c009f32d0a$export$99af8802cc2a10dc = `uFrYBa_spectrum-BarLoader--sideLabel`;
98
- $9f78a6c009f32d0a$export$b945305960ad74a7 = `uFrYBa_spectrum-BarLoader--small`;
99
- $9f78a6c009f32d0a$export$f45257a01e7aabeb = `uFrYBa_spectrum-BarLoader--staticBlack`;
100
- $9f78a6c009f32d0a$export$734e9273ae1f542e = `uFrYBa_spectrum-BarLoader--staticWhite`;
101
- $9f78a6c009f32d0a$export$84c9ee7bc724b71b = `uFrYBa_spectrum-BarLoader-fill`;
102
- $9f78a6c009f32d0a$export$5379ba198163be86 = `uFrYBa_spectrum-BarLoader-label`;
103
- $9f78a6c009f32d0a$export$ecc9c825de9d1a18 = `uFrYBa_spectrum-BarLoader-percentage`;
104
- $9f78a6c009f32d0a$export$3e2e13fb57b5c74b = `uFrYBa_spectrum-BarLoader-track`;
105
- $9f78a6c009f32d0a$export$4109102f950813a6 = `uFrYBa_spectrum-FocusRing-ring`;
106
- $9f78a6c009f32d0a$export$24c7f46a6e3605dd = `uFrYBa_spectrum-FocusRing ${$9f78a6c009f32d0a$export$4109102f950813a6}`;
107
- $9f78a6c009f32d0a$export$2927016961429360 = `uFrYBa_spectrum-FocusRing--quiet`;
108
-
109
-
110
-
111
- function $fc7fd823390a6f61$var$Meter(props, ref) {
112
- let { variant: variant, ...otherProps } = props;
113
- const { meterProps: meterProps, labelProps: labelProps } = (0, $6eMp1$reactariameter.useMeter)(props);
114
- return /*#__PURE__*/ (0, ($parcel$interopDefault($6eMp1$react))).createElement((0, $6eMp1$reactspectrumprogress.ProgressBarBase), {
115
- ...otherProps,
116
- ref: ref,
117
- barProps: meterProps,
118
- labelProps: labelProps,
119
- barClassName: (0, $6eMp1$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($9f78a6c009f32d0a$exports))), {
120
- "is-positive": variant === "positive",
121
- "is-warning": variant === "warning",
122
- "is-critical": variant === "critical"
123
- })
124
- });
125
- }
126
- /**
127
- * Meters are visual representations of a quantity or an achievement.
128
- * Their progress is determined by user actions, rather than system actions.
129
- */ let $fc7fd823390a6f61$export$62e3ae2a4090b879 = /*#__PURE__*/ (0, ($parcel$interopDefault($6eMp1$react))).forwardRef($fc7fd823390a6f61$var$Meter);
130
-
131
20
 
132
21
 
133
22
 
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;ACVD,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;;;;ADFhF,SAAS,4BAAM,KAAyB,EAAE,GAA2B;IACnE,IAAI,WAAC,OAAO,EAAE,GAAG,YAAW,GAAG;IAC/B,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,gEAAK,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/index.ts","packages/@react-spectrum/meter/src/Meter.tsx","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/// <reference types=\"css-module-types\" />\n\nexport {Meter} from './Meter';\nexport type {SpectrumMeterProps} from '@react-types/meter';\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} 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, ...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","/*\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/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 CHANGED
@@ -1,17 +1,5 @@
1
- import "./main.css";
2
- import {classNames as $dMbnw$classNames} from "@react-spectrum/utils";
3
- import {ProgressBarBase as $dMbnw$ProgressBarBase} from "@react-spectrum/progress";
4
- import $dMbnw$react from "react";
5
- import {useMeter as $dMbnw$useMeter} from "@react-aria/meter";
1
+ import {Meter as $559585cb28581b56$export$62e3ae2a4090b879} from "./Meter.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,109 +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 $a43f840f49ffbe32$exports = {};
40
-
41
- $parcel$export($a43f840f49ffbe32$exports, "focus-ring", () => $a43f840f49ffbe32$export$f39a09f249340e2a, (v) => $a43f840f49ffbe32$export$f39a09f249340e2a = v);
42
- $parcel$export($a43f840f49ffbe32$exports, "i18nFontFamily", () => $a43f840f49ffbe32$export$8c4ee2c50c22c514, (v) => $a43f840f49ffbe32$export$8c4ee2c50c22c514 = v);
43
- $parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-ltr", () => $a43f840f49ffbe32$export$a889038a25113dd4, (v) => $a43f840f49ffbe32$export$a889038a25113dd4 = v);
44
- $parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-rtl", () => $a43f840f49ffbe32$export$aeff243cf3356f00, (v) => $a43f840f49ffbe32$export$aeff243cf3356f00 = v);
45
- $parcel$export($a43f840f49ffbe32$exports, "is-critical", () => $a43f840f49ffbe32$export$a1f608a9810da50f, (v) => $a43f840f49ffbe32$export$a1f608a9810da50f = v);
46
- $parcel$export($a43f840f49ffbe32$exports, "is-positive", () => $a43f840f49ffbe32$export$aea9fd919467f03a, (v) => $a43f840f49ffbe32$export$aea9fd919467f03a = v);
47
- $parcel$export($a43f840f49ffbe32$exports, "is-warning", () => $a43f840f49ffbe32$export$d4ebda6218901908, (v) => $a43f840f49ffbe32$export$d4ebda6218901908 = v);
48
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader", () => $a43f840f49ffbe32$export$162ba336fb0c239f, (v) => $a43f840f49ffbe32$export$162ba336fb0c239f = v);
49
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--indeterminate", () => $a43f840f49ffbe32$export$1249dfbb98223794, (v) => $a43f840f49ffbe32$export$1249dfbb98223794 = v);
50
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--overBackground", () => $a43f840f49ffbe32$export$55612d0bd9b5d41, (v) => $a43f840f49ffbe32$export$55612d0bd9b5d41 = v);
51
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--sideLabel", () => $a43f840f49ffbe32$export$99af8802cc2a10dc, (v) => $a43f840f49ffbe32$export$99af8802cc2a10dc = v);
52
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--small", () => $a43f840f49ffbe32$export$b945305960ad74a7, (v) => $a43f840f49ffbe32$export$b945305960ad74a7 = v);
53
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticBlack", () => $a43f840f49ffbe32$export$f45257a01e7aabeb, (v) => $a43f840f49ffbe32$export$f45257a01e7aabeb = v);
54
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticWhite", () => $a43f840f49ffbe32$export$734e9273ae1f542e, (v) => $a43f840f49ffbe32$export$734e9273ae1f542e = v);
55
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-fill", () => $a43f840f49ffbe32$export$84c9ee7bc724b71b, (v) => $a43f840f49ffbe32$export$84c9ee7bc724b71b = v);
56
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-label", () => $a43f840f49ffbe32$export$5379ba198163be86, (v) => $a43f840f49ffbe32$export$5379ba198163be86 = v);
57
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-percentage", () => $a43f840f49ffbe32$export$ecc9c825de9d1a18, (v) => $a43f840f49ffbe32$export$ecc9c825de9d1a18 = v);
58
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-track", () => $a43f840f49ffbe32$export$3e2e13fb57b5c74b, (v) => $a43f840f49ffbe32$export$3e2e13fb57b5c74b = v);
59
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing-ring", () => $a43f840f49ffbe32$export$4109102f950813a6, (v) => $a43f840f49ffbe32$export$4109102f950813a6 = v);
60
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing", () => $a43f840f49ffbe32$export$24c7f46a6e3605dd, (v) => $a43f840f49ffbe32$export$24c7f46a6e3605dd = v);
61
- $parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing--quiet", () => $a43f840f49ffbe32$export$2927016961429360, (v) => $a43f840f49ffbe32$export$2927016961429360 = v);
62
- var $a43f840f49ffbe32$export$f39a09f249340e2a;
63
- var $a43f840f49ffbe32$export$8c4ee2c50c22c514;
64
- var $a43f840f49ffbe32$export$a889038a25113dd4;
65
- var $a43f840f49ffbe32$export$aeff243cf3356f00;
66
- var $a43f840f49ffbe32$export$a1f608a9810da50f;
67
- var $a43f840f49ffbe32$export$aea9fd919467f03a;
68
- var $a43f840f49ffbe32$export$d4ebda6218901908;
69
- var $a43f840f49ffbe32$export$162ba336fb0c239f;
70
- var $a43f840f49ffbe32$export$1249dfbb98223794;
71
- var $a43f840f49ffbe32$export$55612d0bd9b5d41;
72
- var $a43f840f49ffbe32$export$99af8802cc2a10dc;
73
- var $a43f840f49ffbe32$export$b945305960ad74a7;
74
- var $a43f840f49ffbe32$export$f45257a01e7aabeb;
75
- var $a43f840f49ffbe32$export$734e9273ae1f542e;
76
- var $a43f840f49ffbe32$export$84c9ee7bc724b71b;
77
- var $a43f840f49ffbe32$export$5379ba198163be86;
78
- var $a43f840f49ffbe32$export$ecc9c825de9d1a18;
79
- var $a43f840f49ffbe32$export$3e2e13fb57b5c74b;
80
- var $a43f840f49ffbe32$export$4109102f950813a6;
81
- var $a43f840f49ffbe32$export$24c7f46a6e3605dd;
82
- var $a43f840f49ffbe32$export$2927016961429360;
83
- $a43f840f49ffbe32$export$f39a09f249340e2a = `uFrYBa_focus-ring`;
84
- $a43f840f49ffbe32$export$8c4ee2c50c22c514 = `uFrYBa_i18nFontFamily`;
85
- $a43f840f49ffbe32$export$a889038a25113dd4 = `uFrYBa_indeterminate-loop-ltr`;
86
- $a43f840f49ffbe32$export$a889038a25113dd4;
87
- $a43f840f49ffbe32$export$aeff243cf3356f00 = `uFrYBa_indeterminate-loop-rtl`;
88
- $a43f840f49ffbe32$export$aeff243cf3356f00;
89
- $a43f840f49ffbe32$export$a1f608a9810da50f = `uFrYBa_is-critical`;
90
- $a43f840f49ffbe32$export$aea9fd919467f03a = `uFrYBa_is-positive`;
91
- $a43f840f49ffbe32$export$d4ebda6218901908 = `uFrYBa_is-warning`;
92
- $a43f840f49ffbe32$export$162ba336fb0c239f = `uFrYBa_spectrum-BarLoader`;
93
- $a43f840f49ffbe32$export$1249dfbb98223794 = `uFrYBa_spectrum-BarLoader--indeterminate`;
94
- $a43f840f49ffbe32$export$55612d0bd9b5d41 = `uFrYBa_spectrum-BarLoader--overBackground`;
95
- $a43f840f49ffbe32$export$99af8802cc2a10dc = `uFrYBa_spectrum-BarLoader--sideLabel`;
96
- $a43f840f49ffbe32$export$b945305960ad74a7 = `uFrYBa_spectrum-BarLoader--small`;
97
- $a43f840f49ffbe32$export$f45257a01e7aabeb = `uFrYBa_spectrum-BarLoader--staticBlack`;
98
- $a43f840f49ffbe32$export$734e9273ae1f542e = `uFrYBa_spectrum-BarLoader--staticWhite`;
99
- $a43f840f49ffbe32$export$84c9ee7bc724b71b = `uFrYBa_spectrum-BarLoader-fill`;
100
- $a43f840f49ffbe32$export$5379ba198163be86 = `uFrYBa_spectrum-BarLoader-label`;
101
- $a43f840f49ffbe32$export$ecc9c825de9d1a18 = `uFrYBa_spectrum-BarLoader-percentage`;
102
- $a43f840f49ffbe32$export$3e2e13fb57b5c74b = `uFrYBa_spectrum-BarLoader-track`;
103
- $a43f840f49ffbe32$export$4109102f950813a6 = `uFrYBa_spectrum-FocusRing-ring`;
104
- $a43f840f49ffbe32$export$24c7f46a6e3605dd = `uFrYBa_spectrum-FocusRing ${$a43f840f49ffbe32$export$4109102f950813a6}`;
105
- $a43f840f49ffbe32$export$2927016961429360 = `uFrYBa_spectrum-FocusRing--quiet`;
106
-
107
-
108
-
109
- function $559585cb28581b56$var$Meter(props, ref) {
110
- let { variant: variant, ...otherProps } = props;
111
- const { meterProps: meterProps, labelProps: labelProps } = (0, $dMbnw$useMeter)(props);
112
- return /*#__PURE__*/ (0, $dMbnw$react).createElement((0, $dMbnw$ProgressBarBase), {
113
- ...otherProps,
114
- ref: ref,
115
- barProps: meterProps,
116
- labelProps: labelProps,
117
- barClassName: (0, $dMbnw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($a43f840f49ffbe32$exports))), {
118
- "is-positive": variant === "positive",
119
- "is-warning": variant === "warning",
120
- "is-critical": variant === "critical"
121
- })
122
- });
123
- }
124
- /**
125
- * Meters are visual representations of a quantity or an achievement.
126
- * Their progress is determined by user actions, rather than system actions.
127
- */ let $559585cb28581b56$export$62e3ae2a4090b879 = /*#__PURE__*/ (0, $dMbnw$react).forwardRef($559585cb28581b56$var$Meter);
128
-
129
14
 
130
15
 
131
16
 
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;ACVD,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;;;;ADFhF,SAAS,4BAAM,KAAyB,EAAE,GAA2B;IACnE,IAAI,WAAC,OAAO,EAAE,GAAG,YAAW,GAAG;IAC/B,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,gEAAK,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/index.ts","packages/@react-spectrum/meter/src/Meter.tsx","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/// <reference types=\"css-module-types\" />\n\nexport {Meter} from './Meter';\nexport type {SpectrumMeterProps} from '@react-types/meter';\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} 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, ...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","/*\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/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"}
package/dist/types.d.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  import React from "react";
2
2
  import { SpectrumMeterProps } from "@react-types/meter";
3
+ import { DOMRefValue } from "@react-types/shared";
3
4
  /**
4
5
  * Meters are visual representations of a quantity or an achievement.
5
6
  * Their progress is determined by user actions, rather than system actions.
6
7
  */
7
- export let Meter: React.ForwardRefExoticComponent<SpectrumMeterProps & React.RefAttributes<import("@react-types/shared").DOMRefValue<HTMLDivElement>>>;
8
+ export let Meter: React.ForwardRefExoticComponent<SpectrumMeterProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
8
9
  export type { SpectrumMeterProps } from '@react-types/meter';
9
10
 
10
11
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"mappings":";;AA8CA;;;GAGG;AACH,OAAA,IAAI,2IAAgC,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"}
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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/meter",
3
- "version": "3.4.10",
3
+ "version": "3.5.0",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,11 +36,11 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/meter": "^3.4.10",
40
- "@react-spectrum/progress": "^3.7.4",
41
- "@react-spectrum/utils": "^3.11.4",
42
- "@react-types/meter": "^3.3.6",
43
- "@react-types/shared": "^3.22.0",
39
+ "@react-aria/meter": "^3.4.12",
40
+ "@react-spectrum/progress": "^3.7.6",
41
+ "@react-spectrum/utils": "^3.11.6",
42
+ "@react-types/meter": "^3.4.0",
43
+ "@react-types/shared": "^3.23.0",
44
44
  "@swc/helpers": "^0.5.0"
45
45
  },
46
46
  "devDependencies": {
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "f040ff62678e6a31375b96c05396df0bae660350"
56
+ "gitHead": "f645f29edc1322153fd60af4640cbcab1d992dbd"
57
57
  }
package/src/Meter.tsx CHANGED
@@ -19,7 +19,7 @@ import styles from '@adobe/spectrum-css-temp/components/barloader/vars.css';
19
19
  import {useMeter} from '@react-aria/meter';
20
20
 
21
21
  function Meter(props: SpectrumMeterProps, ref: DOMRef<HTMLDivElement>) {
22
- let {variant, ...otherProps} = props;
22
+ let {variant = 'informative', ...otherProps} = props;
23
23
  const {
24
24
  meterProps,
25
25
  labelProps
package/dist/main.css DELETED
@@ -1 +0,0 @@
1
- .uFrYBa_i18nFontFamily{font-synthesis:weight;font-family:adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.uFrYBa_i18nFontFamily:lang(ar){font-family:myriad-arabic,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.uFrYBa_i18nFontFamily:lang(he){font-family:myriad-hebrew,adobe-clean,Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Trebuchet MS,Lucida Grande,sans-serif}.uFrYBa_i18nFontFamily:lang(zh){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Heiti TC Light,sans-serif}.uFrYBa_i18nFontFamily:lang(zh-Hans){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.uFrYBa_i18nFontFamily:lang(zh-Hant){font-family:adobe-clean-han-traditional,source-han-traditional,MingLiu,Microsoft JhengHei UI,Microsoft JhengHei,Heiti TC Light,sans-serif}.uFrYBa_i18nFontFamily:lang(zh-SG),.uFrYBa_i18nFontFamily:lang(zh-CN){font-family:adobe-clean-han-simplified-c,source-han-simplified-c,SimSun,Heiti SC Light,sans-serif}.uFrYBa_i18nFontFamily:lang(ko){font-family:adobe-clean-han-korean,source-han-korean,Malgun Gothic,Apple Gothic,sans-serif}.uFrYBa_i18nFontFamily:lang(ja){font-family:adobe-clean-han-japanese,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ ProN W3,Osaka,YuGothic,Yu Gothic,メイリオ,Meiryo,MS Pゴシック,MS PGothic,sans-serif}.uFrYBa_spectrum-FocusRing-ring{--spectrum-focus-ring-border-radius:var(--spectrum-textfield-border-radius,var(--spectrum-alias-border-radius-regular));--spectrum-focus-ring-gap:var(--spectrum-alias-input-focusring-gap);--spectrum-focus-ring-size:var(--spectrum-alias-input-focusring-size);--spectrum-focus-ring-border-size:0px;--spectrum-focus-ring-color:var(--spectrum-high-contrast-focus-ring-color,var(--spectrum-alias-focus-ring-color,var(--spectrum-alias-focus-color)))}.uFrYBa_spectrum-FocusRing-ring:after{border-radius:calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));content:"";margin:calc(-1*var(--spectrum-focus-ring-border-size));pointer-events:none;transition:box-shadow var(--spectrum-global-animation-duration-100,.13s)ease-out,margin var(--spectrum-global-animation-duration-100,.13s)ease-out;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.uFrYBa_spectrum-FocusRing.uFrYBa_focus-ring:after{margin:calc(var(--spectrum-focus-ring-gap)*-1 - var(--spectrum-focus-ring-border-size));box-shadow:0 0 0 var(--spectrum-focus-ring-size)var(--spectrum-focus-ring-color)}.uFrYBa_spectrum-FocusRing--quiet:after{border-radius:0}.uFrYBa_spectrum-FocusRing--quiet.uFrYBa_focus-ring:after{margin:0 0 calc(var(--spectrum-focus-ring-gap)*-1 - var(--spectrum-focus-ring-border-size))0;box-shadow:0 var(--spectrum-focus-ring-size)0 var(--spectrum-focus-ring-color)}.uFrYBa_spectrum-BarLoader{min-inline-size:var(--spectrum-global-dimension-static-size-600,48px);inline-size:var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400));vertical-align:top;isolation:isolate;flex-flow:wrap;justify-content:space-between;align-items:center;display:inline-flex;position:relative}.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--indeterminate{max-inline-size:var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400))}.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--indeterminate.uFrYBa_spectrum-BarLoader--sideLabel .uFrYBa_spectrum-BarLoader-track{max-inline-size:var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400));inline-size:100%}.uFrYBa_spectrum-BarLoader-track{min-inline-size:var(--spectrum-global-dimension-static-size-600,48px);height:var(--spectrum-barloader-large-height,var(--spectrum-global-dimension-size-75));border-radius:var(--spectrum-barloader-large-border-radius);z-index:1;inline-size:100%;overflow:hidden}.uFrYBa_spectrum-BarLoader-fill{height:var(--spectrum-barloader-large-height,var(--spectrum-global-dimension-size-75));border:none;transition:width 1s}.uFrYBa_spectrum-BarLoader-label,.uFrYBa_spectrum-BarLoader-percentage{font-size:var(--spectrum-fieldlabel-text-size,var(--spectrum-global-dimension-font-size-75));font-weight:var(--spectrum-fieldlabel-text-font-weight,var(--spectrum-global-font-weight-regular));line-height:var(--spectrum-fieldlabel-text-line-height,var(--spectrum-global-font-line-height-small));text-align:start;margin-bottom:var(--spectrum-barloader-large-label-gap-y,var(--spectrum-global-dimension-size-115))}.uFrYBa_spectrum-BarLoader-label{flex:1}.uFrYBa_spectrum-BarLoader-percentage{align-self:flex-start;margin-inline-start:var(--spectrum-barloader-small-label-gap-x,var(--spectrum-global-dimension-size-150))}.uFrYBa_spectrum-BarLoader--sideLabel{flex-flow:row;justify-content:space-between;min-inline-size:-moz-fit-content;min-inline-size:fit-content;display:inline-flex}.uFrYBa_spectrum-BarLoader--sideLabel .uFrYBa_spectrum-BarLoader-track{inline-size:inherit}.uFrYBa_spectrum-BarLoader--sideLabel .uFrYBa_spectrum-BarLoader-label{margin-inline-end:var(--spectrum-barloader-large-label-gap-x,var(--spectrum-global-dimension-size-150));margin-bottom:0}.uFrYBa_spectrum-BarLoader--sideLabel .uFrYBa_spectrum-BarLoader-percentage{text-align:end;margin-inline-start:var(--spectrum-barloader-large-label-gap-x,var(--spectrum-global-dimension-size-150));order:3;margin-bottom:0}.uFrYBa_spectrum-BarLoader--small{min-inline-size:var(--spectrum-global-dimension-static-size-600,48px)}.uFrYBa_spectrum-BarLoader--small .uFrYBa_spectrum-BarLoader-fill{height:var(--spectrum-barloader-small-height,var(--spectrum-global-dimension-size-50))}.uFrYBa_spectrum-BarLoader--small .uFrYBa_spectrum-BarLoader-track{height:var(--spectrum-barloader-small-height,var(--spectrum-global-dimension-size-50));border-radius:var(--spectrum-barloader-small-border-radius)}.uFrYBa_spectrum-BarLoader--indeterminate .uFrYBa_spectrum-BarLoader-fill{inline-size:var(--spectrum-barloader-large-indeterminate-fill-width,var(--spectrum-global-dimension-size-1700));animation-duration:var(--spectrum-barloader-large-indeterminate-duration,var(--spectrum-global-animation-duration-2000));animation-iteration-count:infinite;animation-timing-function:var(--spectrum-barloader-large-indeterminate-animation-ease,var(--spectrum-global-animation-ease-in-out));will-change:transform;position:relative}[dir=ltr] :is(.uFrYBa_spectrum-BarLoader--indeterminate .uFrYBa_spectrum-BarLoader-fill){animation-name:uFrYBa_indeterminate-loop-ltr}[dir=rtl] :is(.uFrYBa_spectrum-BarLoader--indeterminate .uFrYBa_spectrum-BarLoader-fill){animation-name:uFrYBa_indeterminate-loop-rtl}@keyframes uFrYBa_indeterminate-loop-ltr{0%{transform:translate(calc(var(--spectrum-barloader-large-indeterminate-fill-width,var(--spectrum-global-dimension-size-1700))*-1))}to{transform:translate(var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400)))}}@keyframes uFrYBa_indeterminate-loop-rtl{0%{transform:translate(var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400)))}to{transform:translate(calc(var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400))*-1))}}.uFrYBa_spectrum-BarLoader{--spectrum-barloader-large-track-fill-color:var(--spectrum-accent-color-900);--spectrum-barloader-static-black-track-color:#00000040;--spectrum-barloader-static-black-fill-color:var(--spectrum-global-color-static-black,#000)}.uFrYBa_spectrum-BarLoader .uFrYBa_spectrum-BarLoader-fill{background:var(--spectrum-barloader-large-track-fill-color,var(--spectrum-global-color-blue-500))}.uFrYBa_spectrum-BarLoader .uFrYBa_spectrum-BarLoader-track{background-color:var(--spectrum-barloader-large-track-color,var(--spectrum-alias-track-color-default))}.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-fill{background:var(--spectrum-barloader-large-over-background-track-fill-color,var(--spectrum-global-color-static-white))}.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-label,.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-percentage{color:var(--spectrum-barloader-large-over-background-track-fill-color,var(--spectrum-global-color-static-white))}.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-track{background-color:var(--spectrum-barloader-large-over-background-track-color,var(--spectrum-alias-track-color-over-background))}.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-fill{background:var(--spectrum-barloader-large-over-background-track-fill-color,var(--spectrum-global-color-static-white))}.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-label,.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-percentage{color:var(--spectrum-barloader-large-over-background-track-fill-color,var(--spectrum-global-color-static-white))}.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-track{background-color:var(--spectrum-barloader-large-over-background-track-color,var(--spectrum-alias-track-color-over-background))}.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-track{background-color:var(--spectrum-barloader-static-black-track-color)}.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-label,.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-percentage{color:var(--spectrum-barloader-static-black-fill-color)}.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-fill{background:var(--spectrum-barloader-static-black-fill-color)}.uFrYBa_spectrum-BarLoader.uFrYBa_is-positive .uFrYBa_spectrum-BarLoader-fill{background:var(--spectrum-meter-large-track-color-positive,var(--spectrum-semantic-positive-color-status))}.uFrYBa_spectrum-BarLoader.uFrYBa_is-warning .uFrYBa_spectrum-BarLoader-fill{background:var(--spectrum-meter-large-track-color-warning,var(--spectrum-semantic-notice-color-status))}.uFrYBa_spectrum-BarLoader.uFrYBa_is-critical .uFrYBa_spectrum-BarLoader-fill{background:var(--spectrum-meter-large-track-color-critical,var(--spectrum-semantic-negative-color-status))}.uFrYBa_spectrum-BarLoader-label,.uFrYBa_spectrum-BarLoader-percentage{color:var(--spectrum-fieldlabel-text-color,var(--spectrum-alias-label-text-color))}@media (forced-colors:active){.uFrYBa_spectrum-BarLoader-track{forced-color-adjust:none;--spectrum-barloader-large-track-fill-color:ButtonText;--spectrum-barloader-large-over-background-track-fill-color:ButtonText;--spectrum-barloader-large-over-background-track-color:ButtonFace;--spectrum-barloader-static-black-track-color:ButtonFace;--spectrum-barloader-static-black-fill-color:ButtonText;--spectrum-meter-large-track-color-positive:ButtonText;--spectrum-meter-large-track-color-warning:ButtonText;--spectrum-meter-large-track-color-critical:ButtonText;--spectrum-barloader-large-track-color:ButtonFace;border:1px solid ButtonText}}