@react-spectrum/meter 3.0.0-nightly.2519 → 3.0.0-nightly.2531
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/import.mjs +87 -48
- package/dist/main.js +86 -47
- package/dist/main.js.map +1 -1
- package/dist/module.js +87 -48
- package/dist/module.js.map +1 -1
- package/package.json +8 -8
package/dist/import.mjs
CHANGED
|
@@ -4,59 +4,71 @@ import {ProgressBarBase as $dMbnw$ProgressBarBase} from "@react-spectrum/progres
|
|
|
4
4
|
import $dMbnw$react from "react";
|
|
5
5
|
import {useMeter as $dMbnw$useMeter} from "@react-aria/meter";
|
|
6
6
|
|
|
7
|
+
|
|
8
|
+
function $parcel$export(e, n, v, s) {
|
|
9
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
10
|
+
}
|
|
11
|
+
|
|
7
12
|
function $parcel$interopDefault(a) {
|
|
8
13
|
return a && a.__esModule ? a.default : a;
|
|
9
14
|
}
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
|
|
16
|
+
var $parcel$global = globalThis;
|
|
17
|
+
|
|
18
|
+
var $parcel$modules = {};
|
|
19
|
+
var $parcel$inits = {};
|
|
20
|
+
|
|
21
|
+
var parcelRequire = $parcel$global["parcelRequire7f0c"];
|
|
22
|
+
|
|
23
|
+
if (parcelRequire == null) {
|
|
24
|
+
parcelRequire = function(id) {
|
|
25
|
+
if (id in $parcel$modules) {
|
|
26
|
+
return $parcel$modules[id].exports;
|
|
27
|
+
}
|
|
28
|
+
if (id in $parcel$inits) {
|
|
29
|
+
var init = $parcel$inits[id];
|
|
30
|
+
delete $parcel$inits[id];
|
|
31
|
+
var module = {id: id, exports: {}};
|
|
32
|
+
$parcel$modules[id] = module;
|
|
33
|
+
init.call(module.exports, module, module.exports);
|
|
34
|
+
return module.exports;
|
|
35
|
+
}
|
|
36
|
+
var err = new Error("Cannot find module '" + id + "'");
|
|
37
|
+
err.code = 'MODULE_NOT_FOUND';
|
|
38
|
+
throw err;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
parcelRequire.register = function register(id, init) {
|
|
42
|
+
$parcel$inits[id] = init;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
$parcel$global["parcelRequire7f0c"] = parcelRequire;
|
|
12
46
|
}
|
|
13
|
-
/*
|
|
14
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
15
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
16
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
17
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
-
*
|
|
19
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
20
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
21
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
22
|
-
* governing permissions and limitations under the License.
|
|
23
|
-
*/ /// <reference types="css-module-types" />
|
|
24
|
-
/*
|
|
25
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
26
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
27
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
28
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
29
|
-
*
|
|
30
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
31
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
32
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
33
|
-
* governing permissions and limitations under the License.
|
|
34
|
-
*/
|
|
35
47
|
|
|
48
|
+
var parcelRegister = parcelRequire.register;
|
|
49
|
+
parcelRegister("e6hUg", function(module, exports) {
|
|
36
50
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
$parcel$export(
|
|
40
|
-
$parcel$export(
|
|
41
|
-
$parcel$export(
|
|
42
|
-
$parcel$export(
|
|
43
|
-
$parcel$export(
|
|
44
|
-
$parcel$export(
|
|
45
|
-
$parcel$export(
|
|
46
|
-
$parcel$export(
|
|
47
|
-
$parcel$export(
|
|
48
|
-
$parcel$export(
|
|
49
|
-
$parcel$export(
|
|
50
|
-
$parcel$export(
|
|
51
|
-
$parcel$export(
|
|
52
|
-
$parcel$export(
|
|
53
|
-
$parcel$export(
|
|
54
|
-
$parcel$export(
|
|
55
|
-
$parcel$export(
|
|
56
|
-
$parcel$export(
|
|
57
|
-
$parcel$export(
|
|
58
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing", () => $a43f840f49ffbe32$export$24c7f46a6e3605dd, (v) => $a43f840f49ffbe32$export$24c7f46a6e3605dd = v);
|
|
59
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing--quiet", () => $a43f840f49ffbe32$export$2927016961429360, (v) => $a43f840f49ffbe32$export$2927016961429360 = v);
|
|
51
|
+
$parcel$export(module.exports, "focus-ring", () => $a43f840f49ffbe32$export$f39a09f249340e2a, (v) => $a43f840f49ffbe32$export$f39a09f249340e2a = v);
|
|
52
|
+
$parcel$export(module.exports, "i18nFontFamily", () => $a43f840f49ffbe32$export$8c4ee2c50c22c514, (v) => $a43f840f49ffbe32$export$8c4ee2c50c22c514 = v);
|
|
53
|
+
$parcel$export(module.exports, "indeterminate-loop-ltr", () => $a43f840f49ffbe32$export$a889038a25113dd4, (v) => $a43f840f49ffbe32$export$a889038a25113dd4 = v);
|
|
54
|
+
$parcel$export(module.exports, "indeterminate-loop-rtl", () => $a43f840f49ffbe32$export$aeff243cf3356f00, (v) => $a43f840f49ffbe32$export$aeff243cf3356f00 = v);
|
|
55
|
+
$parcel$export(module.exports, "is-critical", () => $a43f840f49ffbe32$export$a1f608a9810da50f, (v) => $a43f840f49ffbe32$export$a1f608a9810da50f = v);
|
|
56
|
+
$parcel$export(module.exports, "is-positive", () => $a43f840f49ffbe32$export$aea9fd919467f03a, (v) => $a43f840f49ffbe32$export$aea9fd919467f03a = v);
|
|
57
|
+
$parcel$export(module.exports, "is-warning", () => $a43f840f49ffbe32$export$d4ebda6218901908, (v) => $a43f840f49ffbe32$export$d4ebda6218901908 = v);
|
|
58
|
+
$parcel$export(module.exports, "spectrum-BarLoader", () => $a43f840f49ffbe32$export$162ba336fb0c239f, (v) => $a43f840f49ffbe32$export$162ba336fb0c239f = v);
|
|
59
|
+
$parcel$export(module.exports, "spectrum-BarLoader--indeterminate", () => $a43f840f49ffbe32$export$1249dfbb98223794, (v) => $a43f840f49ffbe32$export$1249dfbb98223794 = v);
|
|
60
|
+
$parcel$export(module.exports, "spectrum-BarLoader--overBackground", () => $a43f840f49ffbe32$export$55612d0bd9b5d41, (v) => $a43f840f49ffbe32$export$55612d0bd9b5d41 = v);
|
|
61
|
+
$parcel$export(module.exports, "spectrum-BarLoader--sideLabel", () => $a43f840f49ffbe32$export$99af8802cc2a10dc, (v) => $a43f840f49ffbe32$export$99af8802cc2a10dc = v);
|
|
62
|
+
$parcel$export(module.exports, "spectrum-BarLoader--small", () => $a43f840f49ffbe32$export$b945305960ad74a7, (v) => $a43f840f49ffbe32$export$b945305960ad74a7 = v);
|
|
63
|
+
$parcel$export(module.exports, "spectrum-BarLoader--staticBlack", () => $a43f840f49ffbe32$export$f45257a01e7aabeb, (v) => $a43f840f49ffbe32$export$f45257a01e7aabeb = v);
|
|
64
|
+
$parcel$export(module.exports, "spectrum-BarLoader--staticWhite", () => $a43f840f49ffbe32$export$734e9273ae1f542e, (v) => $a43f840f49ffbe32$export$734e9273ae1f542e = v);
|
|
65
|
+
$parcel$export(module.exports, "spectrum-BarLoader-fill", () => $a43f840f49ffbe32$export$84c9ee7bc724b71b, (v) => $a43f840f49ffbe32$export$84c9ee7bc724b71b = v);
|
|
66
|
+
$parcel$export(module.exports, "spectrum-BarLoader-label", () => $a43f840f49ffbe32$export$5379ba198163be86, (v) => $a43f840f49ffbe32$export$5379ba198163be86 = v);
|
|
67
|
+
$parcel$export(module.exports, "spectrum-BarLoader-percentage", () => $a43f840f49ffbe32$export$ecc9c825de9d1a18, (v) => $a43f840f49ffbe32$export$ecc9c825de9d1a18 = v);
|
|
68
|
+
$parcel$export(module.exports, "spectrum-BarLoader-track", () => $a43f840f49ffbe32$export$3e2e13fb57b5c74b, (v) => $a43f840f49ffbe32$export$3e2e13fb57b5c74b = v);
|
|
69
|
+
$parcel$export(module.exports, "spectrum-FocusRing-ring", () => $a43f840f49ffbe32$export$4109102f950813a6, (v) => $a43f840f49ffbe32$export$4109102f950813a6 = v);
|
|
70
|
+
$parcel$export(module.exports, "spectrum-FocusRing", () => $a43f840f49ffbe32$export$24c7f46a6e3605dd, (v) => $a43f840f49ffbe32$export$24c7f46a6e3605dd = v);
|
|
71
|
+
$parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $a43f840f49ffbe32$export$2927016961429360, (v) => $a43f840f49ffbe32$export$2927016961429360 = v);
|
|
60
72
|
var $a43f840f49ffbe32$export$f39a09f249340e2a;
|
|
61
73
|
var $a43f840f49ffbe32$export$8c4ee2c50c22c514;
|
|
62
74
|
var $a43f840f49ffbe32$export$a889038a25113dd4;
|
|
@@ -102,7 +114,34 @@ $a43f840f49ffbe32$export$4109102f950813a6 = `uFrYBa_spectrum-FocusRing-ring`;
|
|
|
102
114
|
$a43f840f49ffbe32$export$24c7f46a6e3605dd = `uFrYBa_spectrum-FocusRing ${$a43f840f49ffbe32$export$4109102f950813a6}`;
|
|
103
115
|
$a43f840f49ffbe32$export$2927016961429360 = `uFrYBa_spectrum-FocusRing--quiet`;
|
|
104
116
|
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
/*
|
|
120
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
121
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
122
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
123
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
124
|
+
*
|
|
125
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
126
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
127
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
128
|
+
* governing permissions and limitations under the License.
|
|
129
|
+
*/ /// <reference types="css-module-types" />
|
|
130
|
+
/*
|
|
131
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
132
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
133
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
134
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
135
|
+
*
|
|
136
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
137
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
138
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
139
|
+
* governing permissions and limitations under the License.
|
|
140
|
+
*/
|
|
141
|
+
|
|
142
|
+
|
|
105
143
|
|
|
144
|
+
var $e6hUg = parcelRequire("e6hUg");
|
|
106
145
|
|
|
107
146
|
function $559585cb28581b56$var$Meter(props, ref) {
|
|
108
147
|
let { variant: variant, ...otherProps } = props;
|
|
@@ -112,7 +151,7 @@ function $559585cb28581b56$var$Meter(props, ref) {
|
|
|
112
151
|
ref: ref,
|
|
113
152
|
barProps: meterProps,
|
|
114
153
|
labelProps: labelProps,
|
|
115
|
-
barClassName: (0, $dMbnw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
154
|
+
barClassName: (0, $dMbnw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($e6hUg))), {
|
|
116
155
|
"is-positive": variant === "positive",
|
|
117
156
|
"is-warning": variant === "warning",
|
|
118
157
|
"is-critical": variant === "critical"
|
package/dist/main.js
CHANGED
|
@@ -4,61 +4,71 @@ var $6eMp1$reactspectrumprogress = require("@react-spectrum/progress");
|
|
|
4
4
|
var $6eMp1$react = require("react");
|
|
5
5
|
var $6eMp1$reactariameter = require("@react-aria/meter");
|
|
6
6
|
|
|
7
|
+
|
|
7
8
|
function $parcel$export(e, n, v, s) {
|
|
8
9
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
9
10
|
}
|
|
11
|
+
|
|
10
12
|
function $parcel$interopDefault(a) {
|
|
11
13
|
return a && a.__esModule ? a.default : a;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
|
-
$parcel$
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*
|
|
21
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
22
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
23
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
24
|
-
* governing permissions and limitations under the License.
|
|
25
|
-
*/ /// <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
|
-
*/
|
|
16
|
+
var $parcel$global = globalThis;
|
|
17
|
+
|
|
18
|
+
var $parcel$modules = {};
|
|
19
|
+
var $parcel$inits = {};
|
|
20
|
+
|
|
21
|
+
var parcelRequire = $parcel$global["parcelRequire7f0c"];
|
|
37
22
|
|
|
23
|
+
if (parcelRequire == null) {
|
|
24
|
+
parcelRequire = function(id) {
|
|
25
|
+
if (id in $parcel$modules) {
|
|
26
|
+
return $parcel$modules[id].exports;
|
|
27
|
+
}
|
|
28
|
+
if (id in $parcel$inits) {
|
|
29
|
+
var init = $parcel$inits[id];
|
|
30
|
+
delete $parcel$inits[id];
|
|
31
|
+
var module = {id: id, exports: {}};
|
|
32
|
+
$parcel$modules[id] = module;
|
|
33
|
+
init.call(module.exports, module, module.exports);
|
|
34
|
+
return module.exports;
|
|
35
|
+
}
|
|
36
|
+
var err = new Error("Cannot find module '" + id + "'");
|
|
37
|
+
err.code = 'MODULE_NOT_FOUND';
|
|
38
|
+
throw err;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
parcelRequire.register = function register(id, init) {
|
|
42
|
+
$parcel$inits[id] = init;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
$parcel$global["parcelRequire7f0c"] = parcelRequire;
|
|
46
|
+
}
|
|
38
47
|
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
$parcel$export(
|
|
43
|
-
$parcel$export(
|
|
44
|
-
$parcel$export(
|
|
45
|
-
$parcel$export(
|
|
46
|
-
$parcel$export(
|
|
47
|
-
$parcel$export(
|
|
48
|
-
$parcel$export(
|
|
49
|
-
$parcel$export(
|
|
50
|
-
$parcel$export(
|
|
51
|
-
$parcel$export(
|
|
52
|
-
$parcel$export(
|
|
53
|
-
$parcel$export(
|
|
54
|
-
$parcel$export(
|
|
55
|
-
$parcel$export(
|
|
56
|
-
$parcel$export(
|
|
57
|
-
$parcel$export(
|
|
58
|
-
$parcel$export(
|
|
59
|
-
$parcel$export(
|
|
60
|
-
$parcel$export(
|
|
61
|
-
$parcel$export(
|
|
48
|
+
var parcelRegister = parcelRequire.register;
|
|
49
|
+
parcelRegister("dGRrm", function(module, exports) {
|
|
50
|
+
|
|
51
|
+
$parcel$export(module.exports, "focus-ring", () => $9f78a6c009f32d0a$export$f39a09f249340e2a, (v) => $9f78a6c009f32d0a$export$f39a09f249340e2a = v);
|
|
52
|
+
$parcel$export(module.exports, "i18nFontFamily", () => $9f78a6c009f32d0a$export$8c4ee2c50c22c514, (v) => $9f78a6c009f32d0a$export$8c4ee2c50c22c514 = v);
|
|
53
|
+
$parcel$export(module.exports, "indeterminate-loop-ltr", () => $9f78a6c009f32d0a$export$a889038a25113dd4, (v) => $9f78a6c009f32d0a$export$a889038a25113dd4 = v);
|
|
54
|
+
$parcel$export(module.exports, "indeterminate-loop-rtl", () => $9f78a6c009f32d0a$export$aeff243cf3356f00, (v) => $9f78a6c009f32d0a$export$aeff243cf3356f00 = v);
|
|
55
|
+
$parcel$export(module.exports, "is-critical", () => $9f78a6c009f32d0a$export$a1f608a9810da50f, (v) => $9f78a6c009f32d0a$export$a1f608a9810da50f = v);
|
|
56
|
+
$parcel$export(module.exports, "is-positive", () => $9f78a6c009f32d0a$export$aea9fd919467f03a, (v) => $9f78a6c009f32d0a$export$aea9fd919467f03a = v);
|
|
57
|
+
$parcel$export(module.exports, "is-warning", () => $9f78a6c009f32d0a$export$d4ebda6218901908, (v) => $9f78a6c009f32d0a$export$d4ebda6218901908 = v);
|
|
58
|
+
$parcel$export(module.exports, "spectrum-BarLoader", () => $9f78a6c009f32d0a$export$162ba336fb0c239f, (v) => $9f78a6c009f32d0a$export$162ba336fb0c239f = v);
|
|
59
|
+
$parcel$export(module.exports, "spectrum-BarLoader--indeterminate", () => $9f78a6c009f32d0a$export$1249dfbb98223794, (v) => $9f78a6c009f32d0a$export$1249dfbb98223794 = v);
|
|
60
|
+
$parcel$export(module.exports, "spectrum-BarLoader--overBackground", () => $9f78a6c009f32d0a$export$55612d0bd9b5d41, (v) => $9f78a6c009f32d0a$export$55612d0bd9b5d41 = v);
|
|
61
|
+
$parcel$export(module.exports, "spectrum-BarLoader--sideLabel", () => $9f78a6c009f32d0a$export$99af8802cc2a10dc, (v) => $9f78a6c009f32d0a$export$99af8802cc2a10dc = v);
|
|
62
|
+
$parcel$export(module.exports, "spectrum-BarLoader--small", () => $9f78a6c009f32d0a$export$b945305960ad74a7, (v) => $9f78a6c009f32d0a$export$b945305960ad74a7 = v);
|
|
63
|
+
$parcel$export(module.exports, "spectrum-BarLoader--staticBlack", () => $9f78a6c009f32d0a$export$f45257a01e7aabeb, (v) => $9f78a6c009f32d0a$export$f45257a01e7aabeb = v);
|
|
64
|
+
$parcel$export(module.exports, "spectrum-BarLoader--staticWhite", () => $9f78a6c009f32d0a$export$734e9273ae1f542e, (v) => $9f78a6c009f32d0a$export$734e9273ae1f542e = v);
|
|
65
|
+
$parcel$export(module.exports, "spectrum-BarLoader-fill", () => $9f78a6c009f32d0a$export$84c9ee7bc724b71b, (v) => $9f78a6c009f32d0a$export$84c9ee7bc724b71b = v);
|
|
66
|
+
$parcel$export(module.exports, "spectrum-BarLoader-label", () => $9f78a6c009f32d0a$export$5379ba198163be86, (v) => $9f78a6c009f32d0a$export$5379ba198163be86 = v);
|
|
67
|
+
$parcel$export(module.exports, "spectrum-BarLoader-percentage", () => $9f78a6c009f32d0a$export$ecc9c825de9d1a18, (v) => $9f78a6c009f32d0a$export$ecc9c825de9d1a18 = v);
|
|
68
|
+
$parcel$export(module.exports, "spectrum-BarLoader-track", () => $9f78a6c009f32d0a$export$3e2e13fb57b5c74b, (v) => $9f78a6c009f32d0a$export$3e2e13fb57b5c74b = v);
|
|
69
|
+
$parcel$export(module.exports, "spectrum-FocusRing-ring", () => $9f78a6c009f32d0a$export$4109102f950813a6, (v) => $9f78a6c009f32d0a$export$4109102f950813a6 = v);
|
|
70
|
+
$parcel$export(module.exports, "spectrum-FocusRing", () => $9f78a6c009f32d0a$export$24c7f46a6e3605dd, (v) => $9f78a6c009f32d0a$export$24c7f46a6e3605dd = v);
|
|
71
|
+
$parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $9f78a6c009f32d0a$export$2927016961429360, (v) => $9f78a6c009f32d0a$export$2927016961429360 = v);
|
|
62
72
|
var $9f78a6c009f32d0a$export$f39a09f249340e2a;
|
|
63
73
|
var $9f78a6c009f32d0a$export$8c4ee2c50c22c514;
|
|
64
74
|
var $9f78a6c009f32d0a$export$a889038a25113dd4;
|
|
@@ -104,7 +114,36 @@ $9f78a6c009f32d0a$export$4109102f950813a6 = `uFrYBa_spectrum-FocusRing-ring`;
|
|
|
104
114
|
$9f78a6c009f32d0a$export$24c7f46a6e3605dd = `uFrYBa_spectrum-FocusRing ${$9f78a6c009f32d0a$export$4109102f950813a6}`;
|
|
105
115
|
$9f78a6c009f32d0a$export$2927016961429360 = `uFrYBa_spectrum-FocusRing--quiet`;
|
|
106
116
|
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
$parcel$export(module.exports, "Meter", () => $fc7fd823390a6f61$export$62e3ae2a4090b879);
|
|
121
|
+
/*
|
|
122
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
123
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
124
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
125
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
126
|
+
*
|
|
127
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
128
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
129
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
130
|
+
* governing permissions and limitations under the License.
|
|
131
|
+
*/ /// <reference types="css-module-types" />
|
|
132
|
+
/*
|
|
133
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
134
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
135
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
136
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
137
|
+
*
|
|
138
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
139
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
140
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
141
|
+
* governing permissions and limitations under the License.
|
|
142
|
+
*/
|
|
143
|
+
|
|
144
|
+
|
|
107
145
|
|
|
146
|
+
var $dGRrm = parcelRequire("dGRrm");
|
|
108
147
|
|
|
109
148
|
function $fc7fd823390a6f61$var$Meter(props, ref) {
|
|
110
149
|
let { variant: variant, ...otherProps } = props;
|
|
@@ -114,7 +153,7 @@ function $fc7fd823390a6f61$var$Meter(props, ref) {
|
|
|
114
153
|
ref: ref,
|
|
115
154
|
barProps: meterProps,
|
|
116
155
|
labelProps: labelProps,
|
|
117
|
-
barClassName: (0, $6eMp1$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
156
|
+
barClassName: (0, $6eMp1$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($dGRrm))), {
|
|
118
157
|
"is-positive": variant === "positive",
|
|
119
158
|
"is-warning": variant === "warning",
|
|
120
159
|
"is-critical": variant === "critical"
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
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;;;;;;ACtBhF;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;AAUD,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,6CAAK,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/@adobe/spectrum-css-temp/components/barloader/vars.css","packages/@react-spectrum/meter/src/index.ts","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\n@import './index.css';\n@import './skin.css';\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/// <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"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -4,59 +4,71 @@ import {ProgressBarBase as $dMbnw$ProgressBarBase} from "@react-spectrum/progres
|
|
|
4
4
|
import $dMbnw$react from "react";
|
|
5
5
|
import {useMeter as $dMbnw$useMeter} from "@react-aria/meter";
|
|
6
6
|
|
|
7
|
+
|
|
8
|
+
function $parcel$export(e, n, v, s) {
|
|
9
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
10
|
+
}
|
|
11
|
+
|
|
7
12
|
function $parcel$interopDefault(a) {
|
|
8
13
|
return a && a.__esModule ? a.default : a;
|
|
9
14
|
}
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
|
|
16
|
+
var $parcel$global = globalThis;
|
|
17
|
+
|
|
18
|
+
var $parcel$modules = {};
|
|
19
|
+
var $parcel$inits = {};
|
|
20
|
+
|
|
21
|
+
var parcelRequire = $parcel$global["parcelRequire7f0c"];
|
|
22
|
+
|
|
23
|
+
if (parcelRequire == null) {
|
|
24
|
+
parcelRequire = function(id) {
|
|
25
|
+
if (id in $parcel$modules) {
|
|
26
|
+
return $parcel$modules[id].exports;
|
|
27
|
+
}
|
|
28
|
+
if (id in $parcel$inits) {
|
|
29
|
+
var init = $parcel$inits[id];
|
|
30
|
+
delete $parcel$inits[id];
|
|
31
|
+
var module = {id: id, exports: {}};
|
|
32
|
+
$parcel$modules[id] = module;
|
|
33
|
+
init.call(module.exports, module, module.exports);
|
|
34
|
+
return module.exports;
|
|
35
|
+
}
|
|
36
|
+
var err = new Error("Cannot find module '" + id + "'");
|
|
37
|
+
err.code = 'MODULE_NOT_FOUND';
|
|
38
|
+
throw err;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
parcelRequire.register = function register(id, init) {
|
|
42
|
+
$parcel$inits[id] = init;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
$parcel$global["parcelRequire7f0c"] = parcelRequire;
|
|
12
46
|
}
|
|
13
|
-
/*
|
|
14
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
15
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
16
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
17
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
-
*
|
|
19
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
20
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
21
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
22
|
-
* governing permissions and limitations under the License.
|
|
23
|
-
*/ /// <reference types="css-module-types" />
|
|
24
|
-
/*
|
|
25
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
26
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
27
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
28
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
29
|
-
*
|
|
30
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
31
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
32
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
33
|
-
* governing permissions and limitations under the License.
|
|
34
|
-
*/
|
|
35
47
|
|
|
48
|
+
var parcelRegister = parcelRequire.register;
|
|
49
|
+
parcelRegister("e6hUg", function(module, exports) {
|
|
36
50
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
$parcel$export(
|
|
40
|
-
$parcel$export(
|
|
41
|
-
$parcel$export(
|
|
42
|
-
$parcel$export(
|
|
43
|
-
$parcel$export(
|
|
44
|
-
$parcel$export(
|
|
45
|
-
$parcel$export(
|
|
46
|
-
$parcel$export(
|
|
47
|
-
$parcel$export(
|
|
48
|
-
$parcel$export(
|
|
49
|
-
$parcel$export(
|
|
50
|
-
$parcel$export(
|
|
51
|
-
$parcel$export(
|
|
52
|
-
$parcel$export(
|
|
53
|
-
$parcel$export(
|
|
54
|
-
$parcel$export(
|
|
55
|
-
$parcel$export(
|
|
56
|
-
$parcel$export(
|
|
57
|
-
$parcel$export(
|
|
58
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing", () => $a43f840f49ffbe32$export$24c7f46a6e3605dd, (v) => $a43f840f49ffbe32$export$24c7f46a6e3605dd = v);
|
|
59
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing--quiet", () => $a43f840f49ffbe32$export$2927016961429360, (v) => $a43f840f49ffbe32$export$2927016961429360 = v);
|
|
51
|
+
$parcel$export(module.exports, "focus-ring", () => $a43f840f49ffbe32$export$f39a09f249340e2a, (v) => $a43f840f49ffbe32$export$f39a09f249340e2a = v);
|
|
52
|
+
$parcel$export(module.exports, "i18nFontFamily", () => $a43f840f49ffbe32$export$8c4ee2c50c22c514, (v) => $a43f840f49ffbe32$export$8c4ee2c50c22c514 = v);
|
|
53
|
+
$parcel$export(module.exports, "indeterminate-loop-ltr", () => $a43f840f49ffbe32$export$a889038a25113dd4, (v) => $a43f840f49ffbe32$export$a889038a25113dd4 = v);
|
|
54
|
+
$parcel$export(module.exports, "indeterminate-loop-rtl", () => $a43f840f49ffbe32$export$aeff243cf3356f00, (v) => $a43f840f49ffbe32$export$aeff243cf3356f00 = v);
|
|
55
|
+
$parcel$export(module.exports, "is-critical", () => $a43f840f49ffbe32$export$a1f608a9810da50f, (v) => $a43f840f49ffbe32$export$a1f608a9810da50f = v);
|
|
56
|
+
$parcel$export(module.exports, "is-positive", () => $a43f840f49ffbe32$export$aea9fd919467f03a, (v) => $a43f840f49ffbe32$export$aea9fd919467f03a = v);
|
|
57
|
+
$parcel$export(module.exports, "is-warning", () => $a43f840f49ffbe32$export$d4ebda6218901908, (v) => $a43f840f49ffbe32$export$d4ebda6218901908 = v);
|
|
58
|
+
$parcel$export(module.exports, "spectrum-BarLoader", () => $a43f840f49ffbe32$export$162ba336fb0c239f, (v) => $a43f840f49ffbe32$export$162ba336fb0c239f = v);
|
|
59
|
+
$parcel$export(module.exports, "spectrum-BarLoader--indeterminate", () => $a43f840f49ffbe32$export$1249dfbb98223794, (v) => $a43f840f49ffbe32$export$1249dfbb98223794 = v);
|
|
60
|
+
$parcel$export(module.exports, "spectrum-BarLoader--overBackground", () => $a43f840f49ffbe32$export$55612d0bd9b5d41, (v) => $a43f840f49ffbe32$export$55612d0bd9b5d41 = v);
|
|
61
|
+
$parcel$export(module.exports, "spectrum-BarLoader--sideLabel", () => $a43f840f49ffbe32$export$99af8802cc2a10dc, (v) => $a43f840f49ffbe32$export$99af8802cc2a10dc = v);
|
|
62
|
+
$parcel$export(module.exports, "spectrum-BarLoader--small", () => $a43f840f49ffbe32$export$b945305960ad74a7, (v) => $a43f840f49ffbe32$export$b945305960ad74a7 = v);
|
|
63
|
+
$parcel$export(module.exports, "spectrum-BarLoader--staticBlack", () => $a43f840f49ffbe32$export$f45257a01e7aabeb, (v) => $a43f840f49ffbe32$export$f45257a01e7aabeb = v);
|
|
64
|
+
$parcel$export(module.exports, "spectrum-BarLoader--staticWhite", () => $a43f840f49ffbe32$export$734e9273ae1f542e, (v) => $a43f840f49ffbe32$export$734e9273ae1f542e = v);
|
|
65
|
+
$parcel$export(module.exports, "spectrum-BarLoader-fill", () => $a43f840f49ffbe32$export$84c9ee7bc724b71b, (v) => $a43f840f49ffbe32$export$84c9ee7bc724b71b = v);
|
|
66
|
+
$parcel$export(module.exports, "spectrum-BarLoader-label", () => $a43f840f49ffbe32$export$5379ba198163be86, (v) => $a43f840f49ffbe32$export$5379ba198163be86 = v);
|
|
67
|
+
$parcel$export(module.exports, "spectrum-BarLoader-percentage", () => $a43f840f49ffbe32$export$ecc9c825de9d1a18, (v) => $a43f840f49ffbe32$export$ecc9c825de9d1a18 = v);
|
|
68
|
+
$parcel$export(module.exports, "spectrum-BarLoader-track", () => $a43f840f49ffbe32$export$3e2e13fb57b5c74b, (v) => $a43f840f49ffbe32$export$3e2e13fb57b5c74b = v);
|
|
69
|
+
$parcel$export(module.exports, "spectrum-FocusRing-ring", () => $a43f840f49ffbe32$export$4109102f950813a6, (v) => $a43f840f49ffbe32$export$4109102f950813a6 = v);
|
|
70
|
+
$parcel$export(module.exports, "spectrum-FocusRing", () => $a43f840f49ffbe32$export$24c7f46a6e3605dd, (v) => $a43f840f49ffbe32$export$24c7f46a6e3605dd = v);
|
|
71
|
+
$parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $a43f840f49ffbe32$export$2927016961429360, (v) => $a43f840f49ffbe32$export$2927016961429360 = v);
|
|
60
72
|
var $a43f840f49ffbe32$export$f39a09f249340e2a;
|
|
61
73
|
var $a43f840f49ffbe32$export$8c4ee2c50c22c514;
|
|
62
74
|
var $a43f840f49ffbe32$export$a889038a25113dd4;
|
|
@@ -102,7 +114,34 @@ $a43f840f49ffbe32$export$4109102f950813a6 = `uFrYBa_spectrum-FocusRing-ring`;
|
|
|
102
114
|
$a43f840f49ffbe32$export$24c7f46a6e3605dd = `uFrYBa_spectrum-FocusRing ${$a43f840f49ffbe32$export$4109102f950813a6}`;
|
|
103
115
|
$a43f840f49ffbe32$export$2927016961429360 = `uFrYBa_spectrum-FocusRing--quiet`;
|
|
104
116
|
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
/*
|
|
120
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
121
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
122
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
123
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
124
|
+
*
|
|
125
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
126
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
127
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
128
|
+
* governing permissions and limitations under the License.
|
|
129
|
+
*/ /// <reference types="css-module-types" />
|
|
130
|
+
/*
|
|
131
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
132
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
133
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
134
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
135
|
+
*
|
|
136
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
137
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
138
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
139
|
+
* governing permissions and limitations under the License.
|
|
140
|
+
*/
|
|
141
|
+
|
|
142
|
+
|
|
105
143
|
|
|
144
|
+
var $e6hUg = parcelRequire("e6hUg");
|
|
106
145
|
|
|
107
146
|
function $559585cb28581b56$var$Meter(props, ref) {
|
|
108
147
|
let { variant: variant, ...otherProps } = props;
|
|
@@ -112,7 +151,7 @@ function $559585cb28581b56$var$Meter(props, ref) {
|
|
|
112
151
|
ref: ref,
|
|
113
152
|
barProps: meterProps,
|
|
114
153
|
labelProps: labelProps,
|
|
115
|
-
barClassName: (0, $dMbnw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
154
|
+
barClassName: (0, $dMbnw$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($e6hUg))), {
|
|
116
155
|
"is-positive": variant === "positive",
|
|
117
156
|
"is-warning": variant === "warning",
|
|
118
157
|
"is-critical": variant === "critical"
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
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;;;;ACtBhF;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;AAUD,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,6CAAK,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/@adobe/spectrum-css-temp/components/barloader/vars.css","packages/@react-spectrum/meter/src/index.ts","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\n@import './index.css';\n@import './skin.css';\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/// <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"],"names":[],"version":3,"file":"module.js.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/meter",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.2531+068ecd12e",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@react-aria/meter": "3.0.0-nightly.
|
|
40
|
-
"@react-spectrum/progress": "3.0.0-nightly.
|
|
41
|
-
"@react-spectrum/utils": "3.0.0-nightly.
|
|
42
|
-
"@react-types/meter": "3.3.6-nightly.
|
|
43
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
39
|
+
"@react-aria/meter": "3.0.0-nightly.2531+068ecd12e",
|
|
40
|
+
"@react-spectrum/progress": "3.0.0-nightly.2531+068ecd12e",
|
|
41
|
+
"@react-spectrum/utils": "3.0.0-nightly.2531+068ecd12e",
|
|
42
|
+
"@react-types/meter": "3.3.6-nightly.4242+068ecd12e",
|
|
43
|
+
"@react-types/shared": "3.0.0-nightly.2531+068ecd12e",
|
|
44
44
|
"@swc/helpers": "^0.5.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
|
47
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.2531+068ecd12e"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@react-spectrum/provider": "^3.0.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "068ecd12e8a8c61546dfda691b04ca87cbdae687"
|
|
57
57
|
}
|