@react-spectrum/meter 3.4.11 → 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.
- package/dist/Meter.main.js +54 -0
- package/dist/Meter.main.js.map +1 -0
- package/dist/Meter.mjs +49 -0
- package/dist/Meter.module.js +49 -0
- package/dist/Meter.module.js.map +1 -0
- package/dist/barloader_vars_css.main.js +73 -0
- package/dist/barloader_vars_css.main.js.map +1 -0
- package/dist/barloader_vars_css.mjs +75 -0
- package/dist/barloader_vars_css.module.js +75 -0
- package/dist/barloader_vars_css.module.js.map +1 -0
- package/dist/import.mjs +1 -116
- package/dist/main.js +2 -113
- package/dist/main.js.map +1 -1
- package/dist/module.js +1 -116
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/{main.css → vars.37cf232d.css} +17 -31
- package/dist/vars.37cf232d.css.map +1 -0
- package/package.json +7 -7
- package/src/Meter.tsx +1 -1
- package/dist/main.css.map +0 -1
|
@@ -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 "./
|
|
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.
|
|
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
|
-
|
|
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":"
|
|
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 "./
|
|
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
|
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
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<
|
|
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
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
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"}
|
|
@@ -23,11 +23,7 @@
|
|
|
23
23
|
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.uFrYBa_i18nFontFamily:lang(zh-SG) {
|
|
27
|
-
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.uFrYBa_i18nFontFamily:lang(zh-CN) {
|
|
26
|
+
.uFrYBa_i18nFontFamily:lang(zh-SG), .uFrYBa_i18nFontFamily:lang(zh-CN) {
|
|
31
27
|
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
|
32
28
|
}
|
|
33
29
|
|
|
@@ -55,13 +51,7 @@
|
|
|
55
51
|
transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
|
|
56
52
|
display: block;
|
|
57
53
|
position: absolute;
|
|
58
|
-
|
|
59
|
-
bottom: 0;
|
|
60
|
-
left: 0;
|
|
61
|
-
right: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.uFrYBa_spectrum-FocusRing {
|
|
54
|
+
inset: 0;
|
|
65
55
|
}
|
|
66
56
|
|
|
67
57
|
.uFrYBa_spectrum-FocusRing.uFrYBa_focus-ring:after {
|
|
@@ -78,6 +68,16 @@
|
|
|
78
68
|
box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
|
|
79
69
|
}
|
|
80
70
|
|
|
71
|
+
@media (forced-colors: active) {
|
|
72
|
+
.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
81
|
.uFrYBa_spectrum-BarLoader {
|
|
82
82
|
min-inline-size: var(--spectrum-global-dimension-static-size-600, 48px);
|
|
83
83
|
inline-size: var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400));
|
|
@@ -134,7 +134,6 @@
|
|
|
134
134
|
.uFrYBa_spectrum-BarLoader--sideLabel {
|
|
135
135
|
flex-flow: row;
|
|
136
136
|
justify-content: space-between;
|
|
137
|
-
min-inline-size: -moz-fit-content;
|
|
138
137
|
min-inline-size: fit-content;
|
|
139
138
|
display: inline-flex;
|
|
140
139
|
}
|
|
@@ -223,11 +222,7 @@
|
|
|
223
222
|
background: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
|
|
224
223
|
}
|
|
225
224
|
|
|
226
|
-
.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-label {
|
|
227
|
-
color: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-percentage {
|
|
225
|
+
.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-label, .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--overBackground .uFrYBa_spectrum-BarLoader-percentage {
|
|
231
226
|
color: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
|
|
232
227
|
}
|
|
233
228
|
|
|
@@ -239,11 +234,7 @@
|
|
|
239
234
|
background: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
|
|
240
235
|
}
|
|
241
236
|
|
|
242
|
-
.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-label {
|
|
243
|
-
color: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-percentage {
|
|
237
|
+
.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-label, .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticWhite .uFrYBa_spectrum-BarLoader-percentage {
|
|
247
238
|
color: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
|
|
248
239
|
}
|
|
249
240
|
|
|
@@ -255,11 +246,7 @@
|
|
|
255
246
|
background-color: var(--spectrum-barloader-static-black-track-color);
|
|
256
247
|
}
|
|
257
248
|
|
|
258
|
-
.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-label {
|
|
259
|
-
color: var(--spectrum-barloader-static-black-fill-color);
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-percentage {
|
|
249
|
+
.uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-label, .uFrYBa_spectrum-BarLoader.uFrYBa_spectrum-BarLoader--staticBlack .uFrYBa_spectrum-BarLoader-percentage {
|
|
263
250
|
color: var(--spectrum-barloader-static-black-fill-color);
|
|
264
251
|
}
|
|
265
252
|
|
|
@@ -295,8 +282,7 @@
|
|
|
295
282
|
--spectrum-meter-large-track-color-warning: ButtonText;
|
|
296
283
|
--spectrum-meter-large-track-color-critical: ButtonText;
|
|
297
284
|
--spectrum-barloader-large-track-color: ButtonFace;
|
|
298
|
-
border: 1px solid
|
|
285
|
+
border: 1px solid buttontext;
|
|
299
286
|
}
|
|
300
287
|
}
|
|
301
|
-
|
|
302
|
-
/*# sourceMappingURL=main.css.map */
|
|
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.
|
|
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.
|
|
40
|
-
"@react-spectrum/progress": "^3.7.
|
|
41
|
-
"@react-spectrum/utils": "^3.11.
|
|
42
|
-
"@react-types/meter": "^3.
|
|
43
|
-
"@react-types/shared": "^3.
|
|
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": "
|
|
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.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;;;;AAiBF;;;AAII;;;;;AAQF;;;;AAKE;;;;;AAOJ;;;;;;;;;;;;AAWE;;;;AAKE;;;;;AAOJ;;;;;;;;;AAUA;;;;;;AAOA;;;;;;;;AASA;;;;AAIA;;;;;AAKA;;;;;;;;AAME;;;;AAIA;;;;;AAIA;;;;;;;AAQF;;;;AAGE;;;;AAIA;;;;;AAMF;;;;;;;;;AAQE;;;;AAGA;;;;AAKF;;;;;;;;;;AASA;;;;;;;;;;AAqBA;;;;;;AAKE;;;;AAIA;;;;AAME;;;;AAIA;;;;AAAA;;;;AAKA;;;;AATA;;;;AAIA;;;;AAAA;;;;AAKA;;;;AAMA;;;;AAIA;;;;AAAA;;;;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":"main.css.map"}
|