@react-spectrum/meter 3.1.0 → 3.1.4

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/main.css CHANGED
@@ -1,2 +1 @@
1
- ._spectrum-BarLoader_c74d2{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;width:var(--spectrum-global-dimension-size-2400);vertical-align:top;isolation:isolate}._spectrum-BarLoader-track_c74d2{overflow:hidden;width:var(--spectrum-global-dimension-size-2400);height:var(--spectrum-global-dimension-size-75);border-radius:var(--spectrum-barloader-large-border-radius);z-index:1}._spectrum-BarLoader-fill_c74d2{border:none;height:var(--spectrum-global-dimension-size-75);transition:width 1s}[dir=ltr] ._spectrum-BarLoader-label_c74d2,[dir=ltr] ._spectrum-BarLoader-percentage_c74d2{text-align:left}[dir=rtl] ._spectrum-BarLoader-label_c74d2,[dir=rtl] ._spectrum-BarLoader-percentage_c74d2{text-align:right}._spectrum-BarLoader-label_c74d2,._spectrum-BarLoader-percentage_c74d2{font-size:var(--spectrum-global-dimension-font-size-75);font-weight:var(--spectrum-global-font-weight-regular,400);line-height:var(--spectrum-global-font-line-height-small,1.3);margin-bottom:var(--spectrum-global-dimension-size-115)}._spectrum-BarLoader-label_c74d2{-ms-flex:1 1 0%;flex:1 1 0%}[dir=ltr] ._spectrum-BarLoader-percentage_c74d2{margin-left:var(--spectrum-global-dimension-size-150)}[dir=rtl] ._spectrum-BarLoader-percentage_c74d2{margin-right:var(--spectrum-global-dimension-size-150)}._spectrum-BarLoader-percentage_c74d2{-ms-flex-item-align:start;align-self:flex-start}._spectrum-BarLoader--sideLabel_c74d2{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-flow:row;flex-flow:row;-ms-flex-pack:justify;justify-content:space-between;width:auto}[dir=ltr] ._spectrum-BarLoader--sideLabel_c74d2 ._spectrum-BarLoader-label_c74d2{margin-right:var(--spectrum-global-dimension-size-150)}[dir=rtl] ._spectrum-BarLoader--sideLabel_c74d2 ._spectrum-BarLoader-label_c74d2{margin-left:var(--spectrum-global-dimension-size-150)}._spectrum-BarLoader--sideLabel_c74d2 ._spectrum-BarLoader-label_c74d2{margin-bottom:0}[dir=ltr] ._spectrum-BarLoader--sideLabel_c74d2 ._spectrum-BarLoader-percentage_c74d2{text-align:right}[dir=rtl] ._spectrum-BarLoader--sideLabel_c74d2 ._spectrum-BarLoader-percentage_c74d2{text-align:left}[dir=ltr] ._spectrum-BarLoader--sideLabel_c74d2 ._spectrum-BarLoader-percentage_c74d2{margin-left:var(--spectrum-global-dimension-size-150)}[dir=rtl] ._spectrum-BarLoader--sideLabel_c74d2 ._spectrum-BarLoader-percentage_c74d2{margin-right:var(--spectrum-global-dimension-size-150)}._spectrum-BarLoader--sideLabel_c74d2 ._spectrum-BarLoader-percentage_c74d2{-ms-flex-order:3;order:3;margin-bottom:0}._spectrum-BarLoader--small_c74d2{min-width:var(--spectrum-global-dimension-size-2400)}._spectrum-BarLoader--small_c74d2 ._spectrum-BarLoader-fill_c74d2{height:var(--spectrum-global-dimension-size-50)}._spectrum-BarLoader--small_c74d2 ._spectrum-BarLoader-track_c74d2{height:var(--spectrum-global-dimension-size-50);border-radius:var(--spectrum-barloader-small-border-radius)}._spectrum-BarLoader--indeterminate_c74d2 ._spectrum-BarLoader-fill_c74d2{width:var(--spectrum-global-dimension-size-1700);position:relative;animation-timing-function:var(--spectrum-global-animation-ease-in-out,cubic-bezier(.45,0,.4,1));will-change:transform}[dir=ltr] ._spectrum-BarLoader--indeterminate_c74d2 ._spectrum-BarLoader-fill_c74d2{animation:_indeterminate-loop-ltr_c74d2 var(--spectrum-global-animation-duration-2000,1s) infinite}[dir=rtl] ._spectrum-BarLoader--indeterminate_c74d2 ._spectrum-BarLoader-fill_c74d2{animation:_indeterminate-loop-rtl_c74d2 var(--spectrum-global-animation-duration-2000,1s) infinite}@keyframes _indeterminate-loop-ltr_c74d2{0%{transform:translate(calc(var(--spectrum-global-dimension-size-1700) * -1))}to{transform:translate(var(--spectrum-global-dimension-size-2400))}}@keyframes _indeterminate-loop-rtl_c74d2{0%{transform:translate(var(--spectrum-global-dimension-size-2400))}to{transform:translate(calc(var(--spectrum-global-dimension-size-2400) * -1))}}._spectrum-BarLoader_c74d2 ._spectrum-BarLoader-fill_c74d2{background:var(--spectrum-global-color-blue-500)}._spectrum-BarLoader_c74d2 ._spectrum-BarLoader-track_c74d2{background-color:var(--spectrum-alias-track-color-default,var(--spectrum-global-color-gray-300))}._spectrum-BarLoader_c74d2._spectrum-BarLoader--overBackground_c74d2 ._spectrum-BarLoader-fill_c74d2{background:var(--spectrum-global-color-static-white,#fff)}._spectrum-BarLoader_c74d2._spectrum-BarLoader--overBackground_c74d2 ._spectrum-BarLoader-label_c74d2,._spectrum-BarLoader_c74d2._spectrum-BarLoader--overBackground_c74d2 ._spectrum-BarLoader-percentage_c74d2{color:var(--spectrum-global-color-static-white,#fff)}._spectrum-BarLoader_c74d2._spectrum-BarLoader--overBackground_c74d2 ._spectrum-BarLoader-track_c74d2{background-color:var(--spectrum-alias-track-color-over-background,hsla(0,0%,100%,.2))}._spectrum-BarLoader_c74d2._is-positive_c74d2 ._spectrum-BarLoader-fill_c74d2{background:var(--spectrum-semantic-positive-color-status,var(--spectrum-global-color-green-400))}._spectrum-BarLoader_c74d2._is-warning_c74d2 ._spectrum-BarLoader-fill_c74d2{background:var(--spectrum-semantic-notice-color-status,var(--spectrum-global-color-orange-400))}._spectrum-BarLoader_c74d2._is-critical_c74d2 ._spectrum-BarLoader-fill_c74d2{background:var(--spectrum-semantic-negative-color-status,var(--spectrum-global-color-red-400))}._spectrum-BarLoader-label_c74d2,._spectrum-BarLoader-percentage_c74d2{color:var(--spectrum-alias-label-text-color,var(--spectrum-global-color-gray-700))}
2
- /*# sourceMappingURL=main.css.map */
1
+ .spectrum-BarLoader_48541f{min-width:var(--spectrum-global-dimension-static-size-600,48px);width:var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400));vertical-align:top;isolation:isolate;flex-flow:wrap;justify-content:space-between;align-items:center;display:inline-flex;position:relative}.spectrum-BarLoader_48541f.spectrum-BarLoader--indeterminate_48541f{max-width:var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400))}.spectrum-BarLoader_48541f.spectrum-BarLoader--indeterminate_48541f.spectrum-BarLoader--sideLabel_48541f .spectrum-BarLoader-track_48541f{max-width:var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400));width:100%}.spectrum-BarLoader-track_48541f{min-width:var(--spectrum-global-dimension-static-size-600,48px);width:100%;height:var(--spectrum-barloader-large-height,var(--spectrum-global-dimension-size-75));border-radius:var(--spectrum-barloader-large-border-radius);z-index:1;overflow:hidden}.spectrum-BarLoader-fill_48541f{height:var(--spectrum-barloader-large-height,var(--spectrum-global-dimension-size-75));border:0;transition:width 1s}[dir=ltr] .spectrum-BarLoader-label_48541f,[dir=ltr] .spectrum-BarLoader-percentage_48541f{text-align:left}[dir=rtl] .spectrum-BarLoader-label_48541f,[dir=rtl] .spectrum-BarLoader-percentage_48541f{text-align:right}.spectrum-BarLoader-label_48541f,.spectrum-BarLoader-percentage_48541f{font-size:var(--spectrum-fieldlabel-text-size,var(--spectrum-global-dimension-font-size-75));font-weight:var(--spectrum-fieldlabel-text-font-weight,var(--spectrum-global-font-weight-regular));line-height:var(--spectrum-fieldlabel-text-line-height,var(--spectrum-global-font-line-height-small));margin-bottom:var(--spectrum-barloader-large-label-gap-y,var(--spectrum-global-dimension-size-115))}.spectrum-BarLoader-label_48541f{flex:1}[dir=ltr] .spectrum-BarLoader-percentage_48541f{margin-left:var(--spectrum-barloader-small-label-gap-x,var(--spectrum-global-dimension-size-150))}[dir=rtl] .spectrum-BarLoader-percentage_48541f{margin-right:var(--spectrum-barloader-small-label-gap-x,var(--spectrum-global-dimension-size-150))}.spectrum-BarLoader-percentage_48541f{align-self:flex-start}.spectrum-BarLoader--sideLabel_48541f{min-width:-webkit-fit-content;min-width:fit-content;flex-flow:row;justify-content:space-between;display:inline-flex}.spectrum-BarLoader--sideLabel_48541f .spectrum-BarLoader-track_48541f{width:inherit}[dir=ltr] .spectrum-BarLoader--sideLabel_48541f .spectrum-BarLoader-label_48541f{margin-right:var(--spectrum-barloader-large-label-gap-x,var(--spectrum-global-dimension-size-150))}[dir=rtl] .spectrum-BarLoader--sideLabel_48541f .spectrum-BarLoader-label_48541f{margin-left:var(--spectrum-barloader-large-label-gap-x,var(--spectrum-global-dimension-size-150))}.spectrum-BarLoader--sideLabel_48541f .spectrum-BarLoader-label_48541f{margin-bottom:0}[dir=ltr] .spectrum-BarLoader--sideLabel_48541f .spectrum-BarLoader-percentage_48541f{text-align:right}[dir=rtl] .spectrum-BarLoader--sideLabel_48541f .spectrum-BarLoader-percentage_48541f{text-align:left}[dir=ltr] .spectrum-BarLoader--sideLabel_48541f .spectrum-BarLoader-percentage_48541f{margin-left:var(--spectrum-barloader-large-label-gap-x,var(--spectrum-global-dimension-size-150))}[dir=rtl] .spectrum-BarLoader--sideLabel_48541f .spectrum-BarLoader-percentage_48541f{margin-right:var(--spectrum-barloader-large-label-gap-x,var(--spectrum-global-dimension-size-150))}.spectrum-BarLoader--sideLabel_48541f .spectrum-BarLoader-percentage_48541f{order:3;margin-bottom:0}.spectrum-BarLoader--small_48541f{min-width:var(--spectrum-global-dimension-static-size-600,48px)}.spectrum-BarLoader--small_48541f .spectrum-BarLoader-fill_48541f{height:var(--spectrum-barloader-small-height,var(--spectrum-global-dimension-size-50))}.spectrum-BarLoader--small_48541f .spectrum-BarLoader-track_48541f{height:var(--spectrum-barloader-small-height,var(--spectrum-global-dimension-size-50));border-radius:var(--spectrum-barloader-small-border-radius)}.spectrum-BarLoader--indeterminate_48541f .spectrum-BarLoader-fill_48541f{width:var(--spectrum-barloader-large-indeterminate-fill-width,var(--spectrum-global-dimension-size-1700));animation-timing-function:var(--spectrum-barloader-large-indeterminate-animation-ease,var(--spectrum-global-animation-ease-in-out));will-change:transform;position:relative}[dir=ltr] .spectrum-BarLoader--indeterminate_48541f .spectrum-BarLoader-fill_48541f{animation:indeterminate-loop-ltr_48541f var(--spectrum-barloader-large-indeterminate-duration,var(--spectrum-global-animation-duration-2000))infinite}[dir=rtl] .spectrum-BarLoader--indeterminate_48541f .spectrum-BarLoader-fill_48541f{animation:indeterminate-loop-rtl_48541f var(--spectrum-barloader-large-indeterminate-duration,var(--spectrum-global-animation-duration-2000))infinite}@keyframes indeterminate-loop-ltr_48541f{0%{transform:translate(calc(var(--spectrum-barloader-large-indeterminate-fill-width,var(--spectrum-global-dimension-size-1700))*-1))}to{transform:translate(var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400)))}}@keyframes indeterminate-loop-rtl_48541f{0%{transform:translate(var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400)))}to{transform:translate(calc(var(--spectrum-barloader-large-width,var(--spectrum-global-dimension-size-2400))*-1))}}.spectrum-BarLoader_48541f .spectrum-BarLoader-fill_48541f{background:var(--spectrum-barloader-large-track-fill-color,var(--spectrum-global-color-blue-500))}.spectrum-BarLoader_48541f .spectrum-BarLoader-track_48541f{background-color:var(--spectrum-barloader-large-track-color,var(--spectrum-alias-track-color-default))}.spectrum-BarLoader_48541f.spectrum-BarLoader--overBackground_48541f .spectrum-BarLoader-fill_48541f{background:var(--spectrum-barloader-large-over-background-track-fill-color,var(--spectrum-global-color-static-white))}.spectrum-BarLoader_48541f.spectrum-BarLoader--overBackground_48541f .spectrum-BarLoader-label_48541f,.spectrum-BarLoader_48541f.spectrum-BarLoader--overBackground_48541f .spectrum-BarLoader-percentage_48541f{color:var(--spectrum-barloader-large-over-background-track-fill-color,var(--spectrum-global-color-static-white))}.spectrum-BarLoader_48541f.spectrum-BarLoader--overBackground_48541f .spectrum-BarLoader-track_48541f{background-color:var(--spectrum-barloader-large-over-background-track-color,var(--spectrum-alias-track-color-over-background))}.spectrum-BarLoader_48541f.is-positive_48541f .spectrum-BarLoader-fill_48541f{background:var(--spectrum-meter-large-track-color-positive,var(--spectrum-semantic-positive-color-status))}.spectrum-BarLoader_48541f.is-warning_48541f .spectrum-BarLoader-fill_48541f{background:var(--spectrum-meter-large-track-color-warning,var(--spectrum-semantic-notice-color-status))}.spectrum-BarLoader_48541f.is-critical_48541f .spectrum-BarLoader-fill_48541f{background:var(--spectrum-meter-large-track-color-critical,var(--spectrum-semantic-negative-color-status))}.spectrum-BarLoader-label_48541f,.spectrum-BarLoader-percentage_48541f{color:var(--spectrum-fieldlabel-text-color,var(--spectrum-alias-label-text-color));color:var(--spectrum-fieldlabel-text-color,var(--spectrum-alias-label-text-color));color:var(--spectrum-fieldlabel-text-color,var(--spectrum-alias-label-text-color))}@media (forced-colors:active){.spectrum-BarLoader-track_48541f{forced-color-adjust:none;--spectrum-barloader-large-track-fill-color:ButtonText;--spectrum-barloader-large-track-color:ButtonFace;border:1px solid ButtonText}}
package/dist/main.js CHANGED
@@ -1,75 +1,106 @@
1
- var {
2
- useMeter
3
- } = require("@react-aria/meter");
1
+ require("./main.css");
2
+ var $gw65L$reactspectrumutils = require("@react-spectrum/utils");
3
+ var $gw65L$reactspectrumprogress = require("@react-spectrum/progress");
4
+ var $gw65L$react = require("react");
5
+ var $gw65L$reactariameter = require("@react-aria/meter");
6
+
7
+ function $parcel$exportWildcard(dest, source) {
8
+ Object.keys(source).forEach(function(key) {
9
+ if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
10
+ return;
11
+ }
4
12
 
5
- var _react = $parcel$interopDefault(require("react"));
13
+ Object.defineProperty(dest, key, {
14
+ enumerable: true,
15
+ get: function get() {
16
+ return source[key];
17
+ }
18
+ });
19
+ });
6
20
 
7
- var {
8
- ProgressBarBase
9
- } = require("@react-spectrum/progress");
21
+ return dest;
22
+ }
23
+ function $parcel$interopDefault(a) {
24
+ return a && a.__esModule ? a.default : a;
25
+ }
26
+ function $parcel$export(e, n, v, s) {
27
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
28
+ }
29
+ var $a8031f4bf4202bb9$exports = {};
10
30
 
11
- var {
12
- classNames
13
- } = require("@react-spectrum/utils");
31
+ $parcel$export($a8031f4bf4202bb9$exports, "Meter", () => $a8031f4bf4202bb9$export$62e3ae2a4090b879);
14
32
 
15
- var _babelRuntimeHelpersObjectWithoutPropertiesLoose = $parcel$interopDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
16
33
 
17
- var _babelRuntimeHelpersExtends = $parcel$interopDefault(require("@babel/runtime/helpers/extends"));
18
34
 
19
- require("./main.css");
35
+ var $20951f6d2e04a24b$exports = {};
20
36
 
21
- function $parcel$interopDefault(a) {
22
- return a && a.__esModule ? a.default : a;
23
- }
37
+ $parcel$export($20951f6d2e04a24b$exports, "spectrum-BarLoader", () => $20951f6d2e04a24b$export$162ba336fb0c239f, (v) => $20951f6d2e04a24b$export$162ba336fb0c239f = v);
38
+ $parcel$export($20951f6d2e04a24b$exports, "spectrum-BarLoader--indeterminate", () => $20951f6d2e04a24b$export$1249dfbb98223794, (v) => $20951f6d2e04a24b$export$1249dfbb98223794 = v);
39
+ $parcel$export($20951f6d2e04a24b$exports, "spectrum-BarLoader--sideLabel", () => $20951f6d2e04a24b$export$99af8802cc2a10dc, (v) => $20951f6d2e04a24b$export$99af8802cc2a10dc = v);
40
+ $parcel$export($20951f6d2e04a24b$exports, "spectrum-BarLoader-track", () => $20951f6d2e04a24b$export$3e2e13fb57b5c74b, (v) => $20951f6d2e04a24b$export$3e2e13fb57b5c74b = v);
41
+ $parcel$export($20951f6d2e04a24b$exports, "spectrum-BarLoader-fill", () => $20951f6d2e04a24b$export$84c9ee7bc724b71b, (v) => $20951f6d2e04a24b$export$84c9ee7bc724b71b = v);
42
+ $parcel$export($20951f6d2e04a24b$exports, "spectrum-BarLoader-label", () => $20951f6d2e04a24b$export$5379ba198163be86, (v) => $20951f6d2e04a24b$export$5379ba198163be86 = v);
43
+ $parcel$export($20951f6d2e04a24b$exports, "spectrum-BarLoader-percentage", () => $20951f6d2e04a24b$export$ecc9c825de9d1a18, (v) => $20951f6d2e04a24b$export$ecc9c825de9d1a18 = v);
44
+ $parcel$export($20951f6d2e04a24b$exports, "spectrum-BarLoader--small", () => $20951f6d2e04a24b$export$b945305960ad74a7, (v) => $20951f6d2e04a24b$export$b945305960ad74a7 = v);
45
+ $parcel$export($20951f6d2e04a24b$exports, "indeterminate-loop-ltr", () => $20951f6d2e04a24b$export$a889038a25113dd4, (v) => $20951f6d2e04a24b$export$a889038a25113dd4 = v);
46
+ $parcel$export($20951f6d2e04a24b$exports, "indeterminate-loop-rtl", () => $20951f6d2e04a24b$export$aeff243cf3356f00, (v) => $20951f6d2e04a24b$export$aeff243cf3356f00 = v);
47
+ $parcel$export($20951f6d2e04a24b$exports, "spectrum-BarLoader--overBackground", () => $20951f6d2e04a24b$export$55612d0bd9b5d41, (v) => $20951f6d2e04a24b$export$55612d0bd9b5d41 = v);
48
+ $parcel$export($20951f6d2e04a24b$exports, "is-positive", () => $20951f6d2e04a24b$export$aea9fd919467f03a, (v) => $20951f6d2e04a24b$export$aea9fd919467f03a = v);
49
+ $parcel$export($20951f6d2e04a24b$exports, "is-warning", () => $20951f6d2e04a24b$export$d4ebda6218901908, (v) => $20951f6d2e04a24b$export$d4ebda6218901908 = v);
50
+ $parcel$export($20951f6d2e04a24b$exports, "is-critical", () => $20951f6d2e04a24b$export$a1f608a9810da50f, (v) => $20951f6d2e04a24b$export$a1f608a9810da50f = v);
51
+ var $20951f6d2e04a24b$export$162ba336fb0c239f;
52
+ var $20951f6d2e04a24b$export$1249dfbb98223794;
53
+ var $20951f6d2e04a24b$export$99af8802cc2a10dc;
54
+ var $20951f6d2e04a24b$export$3e2e13fb57b5c74b;
55
+ var $20951f6d2e04a24b$export$84c9ee7bc724b71b;
56
+ var $20951f6d2e04a24b$export$5379ba198163be86;
57
+ var $20951f6d2e04a24b$export$ecc9c825de9d1a18;
58
+ var $20951f6d2e04a24b$export$b945305960ad74a7;
59
+ var $20951f6d2e04a24b$export$a889038a25113dd4;
60
+ var $20951f6d2e04a24b$export$aeff243cf3356f00;
61
+ var $20951f6d2e04a24b$export$55612d0bd9b5d41;
62
+ var $20951f6d2e04a24b$export$aea9fd919467f03a;
63
+ var $20951f6d2e04a24b$export$d4ebda6218901908;
64
+ var $20951f6d2e04a24b$export$a1f608a9810da50f;
65
+ $20951f6d2e04a24b$export$162ba336fb0c239f = "spectrum-BarLoader_48541f";
66
+ $20951f6d2e04a24b$export$1249dfbb98223794 = "spectrum-BarLoader--indeterminate_48541f";
67
+ $20951f6d2e04a24b$export$99af8802cc2a10dc = "spectrum-BarLoader--sideLabel_48541f";
68
+ $20951f6d2e04a24b$export$3e2e13fb57b5c74b = "spectrum-BarLoader-track_48541f";
69
+ $20951f6d2e04a24b$export$84c9ee7bc724b71b = "spectrum-BarLoader-fill_48541f";
70
+ $20951f6d2e04a24b$export$5379ba198163be86 = "spectrum-BarLoader-label_48541f";
71
+ $20951f6d2e04a24b$export$ecc9c825de9d1a18 = "spectrum-BarLoader-percentage_48541f";
72
+ $20951f6d2e04a24b$export$b945305960ad74a7 = "spectrum-BarLoader--small_48541f";
73
+ $20951f6d2e04a24b$export$a889038a25113dd4 = "indeterminate-loop-ltr_48541f";
74
+ $20951f6d2e04a24b$export$aeff243cf3356f00 = "indeterminate-loop-rtl_48541f";
75
+ $20951f6d2e04a24b$export$55612d0bd9b5d41 = "spectrum-BarLoader--overBackground_48541f";
76
+ $20951f6d2e04a24b$export$aea9fd919467f03a = "is-positive_48541f";
77
+ $20951f6d2e04a24b$export$d4ebda6218901908 = "is-warning_48541f";
78
+ $20951f6d2e04a24b$export$a1f608a9810da50f = "is-critical_48541f";
24
79
 
25
- // ASSET: /Users/govett/dev/react-spectrum-v3/node_modules/@adobe/spectrum-css-temp/components/barloader/vars.css
26
- var $b76be3b356c6ec92c2715ea3e4dc0e69$exports = {};
27
- $b76be3b356c6ec92c2715ea3e4dc0e69$exports = {
28
- "spectrum-BarLoader": "_spectrum-BarLoader_c74d2",
29
- "spectrum-BarLoader-track": "_spectrum-BarLoader-track_c74d2",
30
- "spectrum-BarLoader-fill": "_spectrum-BarLoader-fill_c74d2",
31
- "spectrum-BarLoader-label": "_spectrum-BarLoader-label_c74d2",
32
- "spectrum-BarLoader-percentage": "_spectrum-BarLoader-percentage_c74d2",
33
- "spectrum-BarLoader--sideLabel": "_spectrum-BarLoader--sideLabel_c74d2",
34
- "spectrum-BarLoader--small": "_spectrum-BarLoader--small_c74d2",
35
- "spectrum-BarLoader--indeterminate": "_spectrum-BarLoader--indeterminate_c74d2",
36
- "indeterminate-loop-ltr": "_indeterminate-loop-ltr_c74d2",
37
- "indeterminate-loop-rtl": "_indeterminate-loop-rtl_c74d2",
38
- "spectrum-BarLoader--overBackground": "_spectrum-BarLoader--overBackground_c74d2",
39
- "is-positive": "_is-positive_c74d2",
40
- "is-warning": "_is-warning_c74d2",
41
- "is-critical": "_is-critical_c74d2"
42
- };
43
- var $b76be3b356c6ec92c2715ea3e4dc0e69$$interop$default = $parcel$interopDefault($b76be3b356c6ec92c2715ea3e4dc0e69$exports);
44
80
 
45
- function $eeef15d2d894316d5d31205c88ac$var$Meter(props, ref) {
46
- let {
47
- variant
48
- } = props,
49
- otherProps = _babelRuntimeHelpersObjectWithoutPropertiesLoose(props, ["variant"]);
50
81
 
51
- const {
52
- meterProps,
53
- labelProps
54
- } = useMeter(props);
55
- return /*#__PURE__*/_react.createElement(ProgressBarBase, _babelRuntimeHelpersExtends({}, otherProps, {
56
- ref: ref,
57
- barProps: meterProps,
58
- labelProps: labelProps,
59
- barClassName: classNames($b76be3b356c6ec92c2715ea3e4dc0e69$$interop$default, {
60
- 'is-positive': variant === 'positive',
61
- 'is-warning': variant === 'warning',
62
- 'is-critical': variant === 'critical'
63
- })
64
- }));
82
+ function $a8031f4bf4202bb9$var$Meter(props, ref) {
83
+ let { variant: variant , ...otherProps } = props;
84
+ const { meterProps: meterProps , labelProps: labelProps } = $gw65L$reactariameter.useMeter(props);
85
+ return(/*#__PURE__*/ ($parcel$interopDefault($gw65L$react)).createElement($gw65L$reactspectrumprogress.ProgressBarBase, {
86
+ ...otherProps,
87
+ ref: ref,
88
+ barProps: meterProps,
89
+ labelProps: labelProps,
90
+ barClassName: $gw65L$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($20951f6d2e04a24b$exports)), {
91
+ 'is-positive': variant === 'positive',
92
+ 'is-warning': variant === 'warning',
93
+ 'is-critical': variant === 'critical'
94
+ })
95
+ }));
65
96
  }
66
97
  /**
67
98
  * Meters are visual representations of a quantity or an achievement.
68
99
  * Their progress is determined by user actions, rather than system actions.
69
- */
100
+ */ let $a8031f4bf4202bb9$export$62e3ae2a4090b879 = /*#__PURE__*/ ($parcel$interopDefault($gw65L$react)).forwardRef($a8031f4bf4202bb9$var$Meter);
101
+
70
102
 
103
+ $parcel$exportWildcard(module.exports, $a8031f4bf4202bb9$exports);
71
104
 
72
- let Meter = _react.forwardRef($eeef15d2d894316d5d31205c88ac$var$Meter);
73
105
 
74
- exports.Meter = Meter;
75
106
  //# sourceMappingURL=main.js.map
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,SAASA,sBAAT,CAAgCC,CAAhC,EAAmC;AACjC,SAAOA,CAAC,IAAIA,CAAC,CAACC,UAAP,GAAoBD,CAAC,CAACE,OAAtB,GAAgCF,CAAvC;AACD;;;;ACFD,4CAAiB;AACf,wBAAsB,2BADP;AAEf,8BAA4B,iCAFb;AAGf,6BAA2B,gCAHZ;AAIf,8BAA4B,iCAJb;AAKf,mCAAiC,sCALlB;AAMf,mCAAiC,sCANlB;AAOf,+BAA6B,kCAPd;AAQf,uCAAqC,0CARtB;AASf,4BAA0B,+BATX;AAUf,4BAA0B,+BAVX;AAWf,wCAAsC,2CAXvB;AAYf,iBAAe,oBAZA;AAaf,gBAAc,mBAbC;AAcf,iBAAe;AAdA,CAAjB;;;ACoBA,SAASG,uCAAT,CAAeC,KAAf,EAA0CC,GAA1C,EAAuE;AACrE,MAAI;AAACC,IAAAA;AAAD,MAA2BF,KAA/B;AAAA,MAAiBG,UAAjB,oDAA+BH,KAA/B;;AACA,QAAM;AACJI,IAAAA,UADI;AAEJC,IAAAA;AAFI,MAGFC,QAAQ,CAACN,KAAD,CAHZ;AAKA,sBACE,qBAAC,eAAD,kCACMG,UADN;AAEE,IAAA,GAAG,EAAEF,GAFP;AAGE,IAAA,QAAQ,EAAEG,UAHZ;AAIE,IAAA,UAAU,EAAEC,UAJd;AAKE,IAAA,YAAY,EACVE,UAAU,qDAER;AACE,qBAAeL,OAAO,KAAK,UAD7B;AAEE,oBAAcA,OAAO,KAAK,SAF5B;AAGE,qBAAeA,OAAO,KAAK;AAH7B,KAFQ;AANd,KADF;AAiBD;AAED;;;;;;AAIA,IAAIM,KAAM,GAAGC,MAAK,CAACC,UAAN,CAAiBX,uCAAjB,CAAb","sources":["./node_modules/@parcel/scope-hoisting/lib/helpers.js","./node_modules/@adobe/spectrum-css-temp/components/barloader/vars.css","./packages/@react-spectrum/meter/src/Meter.tsx"],"sourcesContent":["function $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\nfunction $parcel$defineInteropFlag(a) {\n Object.defineProperty(a, '__esModule', {value: true});\n}\n\nfunction $parcel$exportWildcard(dest, source) {\n Object.keys(source).forEach(function(key) {\n if (key === 'default' || key === '__esModule') {\n return;\n }\n\n Object.defineProperty(dest, key, {\n enumerable: true,\n get: function get() {\n return source[key];\n },\n });\n });\n\n return dest;\n}\n\nfunction $parcel$missingModule(name) {\n var err = new Error(\"Cannot find module '\" + name + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n}\n\nvar $parcel$global =\n typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","/*\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":["$parcel$interopDefault","a","__esModule","default","Meter","props","ref","variant","otherProps","meterProps","labelProps","useMeter","classNames","_Meter","React","forwardRef"],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEAA,GAAoC;AACpC,GAAmD;AACnD,GAA+C;AAC/C,GAA0C;AAC1C,GAAyC;AACzC,GAA0C;AAC1C,GAA+C;AAC/C,GAA2C;AAC3C,GAAwC;AACxC,GAAwC;AACxC,GAAoD;AACpD,GAA6B;AAC7B,GAA4B;AAC5B,GAA6B;AAb7B,yCAAoC,GAAG,CAA2B;AAClE,yCAAmD,GAAG,CAA0C;AAChG,yCAA+C,GAAG,CAAsC;AACxF,yCAA0C,GAAG,CAAiC;AAC9E,yCAAyC,GAAG,CAAgC;AAC5E,yCAA0C,GAAG,CAAiC;AAC9E,yCAA+C,GAAG,CAAsC;AACxF,yCAA2C,GAAG,CAAkC;AAChF,yCAAwC,GAAG,CAA+B;AAC1E,yCAAwC,GAAG,CAA+B;AAC1E,wCAAoD,GAAG,CAA2C;AAClG,yCAA6B,GAAG,CAAoB;AACpD,yCAA4B,GAAG,CAAmB;AAClD,yCAA6B,GAAG,CAAoB;;;;SDO3C,2BAAK,CAAC,KAAyB,EAAE,GAA2B,EAAE,CAAC;IACtE,GAAG,CAAC,CAAC,UAAA,OAAO,MAAK,UAAU,CAAA,CAAC,GAAG,KAAK;IACpC,KAAK,CAAC,CAAC,aACL,UAAU,eACV,UAAU,EACZ,CAAC,GAAG,8BAAQ,CAAC,KAAK;IAElB,MAAM,oEACH,4CAAe;WACV,UAAU;QACd,GAAG,EAAE,GAAG;QACR,QAAQ,EAAE,UAAU;QACpB,UAAU,EAAE,UAAU;QACtB,YAAY,EACV,oCAAU,CACR,gEAAM,EACN,CAAC;YACC,CAAa,cAAE,OAAO,KAAK,CAAU;YACrC,CAAY,aAAE,OAAO,KAAK,CAAS;YACnC,CAAa,cAAE,OAAO,KAAK,CAAU;QACvC,CAAC;;AAIX,CAAC;AAED,EAGG,AAHH;;;CAGG,AAHH,EAGG,CACH,GAAG,CAAC,yCAAM,iBAAG,sCAAK,CAAC,UAAU,CAAC,2BAAK","sources":["packages/@react-spectrum/meter/src/index.ts","packages/@react-spectrum/meter/src/Meter.tsx","packages/@adobe/spectrum-css-temp/components/barloader/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport * from './Meter';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {ProgressBarBase} from '@react-spectrum/progress';\nimport React from 'react';\nimport {SpectrumMeterProps} from '@react-types/meter';\nimport styles from '@adobe/spectrum-css-temp/components/barloader/vars.css';\nimport {useMeter} from '@react-aria/meter';\n\nfunction Meter(props: SpectrumMeterProps, ref: DOMRef<HTMLDivElement>) {\n let {variant, ...otherProps} = props;\n const {\n meterProps,\n labelProps\n } = useMeter(props);\n\n return (\n <ProgressBarBase\n {...otherProps}\n ref={ref}\n barProps={meterProps}\n labelProps={labelProps}\n barClassName={\n classNames(\n styles,\n {\n 'is-positive': variant === 'positive',\n 'is-warning': variant === 'warning',\n 'is-critical': variant === 'critical'\n }\n )\n } />\n );\n}\n\n/**\n * Meters are visual representations of a quantity or an achievement.\n * Their progress is determined by user actions, rather than system actions.\n */\nlet _Meter = React.forwardRef(Meter);\nexport {_Meter as Meter};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js CHANGED
@@ -1,61 +1,90 @@
1
- import { useMeter } from "@react-aria/meter";
2
- import _react from "react";
3
- import { ProgressBarBase } from "@react-spectrum/progress";
4
- import { classNames } from "@react-spectrum/utils";
5
- import _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
6
- import _babelRuntimeHelpersEsmExtends from "@babel/runtime/helpers/esm/extends";
7
1
  import "./main.css";
2
+ import {classNames as $8xQFc$classNames} from "@react-spectrum/utils";
3
+ import {ProgressBarBase as $8xQFc$ProgressBarBase} from "@react-spectrum/progress";
4
+ import $8xQFc$react from "react";
5
+ import {useMeter as $8xQFc$useMeter} from "@react-aria/meter";
8
6
 
9
7
  function $parcel$interopDefault(a) {
10
8
  return a && a.__esModule ? a.default : a;
11
9
  }
10
+ function $parcel$export(e, n, v, s) {
11
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
12
+ }
13
+ var $2c5012c9654b17d1$exports = {};
14
+
15
+ $parcel$export($2c5012c9654b17d1$exports, "Meter", () => $2c5012c9654b17d1$export$62e3ae2a4090b879);
16
+
17
+
18
+
19
+ var $389470f9fbcf800d$exports = {};
12
20
 
13
- // ASSET: /Users/govett/dev/react-spectrum-v3/node_modules/@adobe/spectrum-css-temp/components/barloader/vars.css
14
- var $eae5301468e7259fd99d852e67771$exports = {};
15
- $eae5301468e7259fd99d852e67771$exports = {
16
- "spectrum-BarLoader": "_spectrum-BarLoader_c74d2",
17
- "spectrum-BarLoader-track": "_spectrum-BarLoader-track_c74d2",
18
- "spectrum-BarLoader-fill": "_spectrum-BarLoader-fill_c74d2",
19
- "spectrum-BarLoader-label": "_spectrum-BarLoader-label_c74d2",
20
- "spectrum-BarLoader-percentage": "_spectrum-BarLoader-percentage_c74d2",
21
- "spectrum-BarLoader--sideLabel": "_spectrum-BarLoader--sideLabel_c74d2",
22
- "spectrum-BarLoader--small": "_spectrum-BarLoader--small_c74d2",
23
- "spectrum-BarLoader--indeterminate": "_spectrum-BarLoader--indeterminate_c74d2",
24
- "indeterminate-loop-ltr": "_indeterminate-loop-ltr_c74d2",
25
- "indeterminate-loop-rtl": "_indeterminate-loop-rtl_c74d2",
26
- "spectrum-BarLoader--overBackground": "_spectrum-BarLoader--overBackground_c74d2",
27
- "is-positive": "_is-positive_c74d2",
28
- "is-warning": "_is-warning_c74d2",
29
- "is-critical": "_is-critical_c74d2"
30
- };
31
- var $eae5301468e7259fd99d852e67771$$interop$default = $parcel$interopDefault($eae5301468e7259fd99d852e67771$exports);
32
-
33
- function $bcb2e2f8c69b8e81c8ae8ad355ffd7f$var$Meter(props, ref) {
34
- let {
35
- variant
36
- } = props,
37
- otherProps = _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose(props, ["variant"]);
38
-
39
- const {
40
- meterProps,
41
- labelProps
42
- } = useMeter(props);
43
- return /*#__PURE__*/_react.createElement(ProgressBarBase, _babelRuntimeHelpersEsmExtends({}, otherProps, {
44
- ref: ref,
45
- barProps: meterProps,
46
- labelProps: labelProps,
47
- barClassName: classNames($eae5301468e7259fd99d852e67771$$interop$default, {
48
- 'is-positive': variant === 'positive',
49
- 'is-warning': variant === 'warning',
50
- 'is-critical': variant === 'critical'
51
- })
52
- }));
21
+ $parcel$export($389470f9fbcf800d$exports, "spectrum-BarLoader", () => $389470f9fbcf800d$export$162ba336fb0c239f, (v) => $389470f9fbcf800d$export$162ba336fb0c239f = v);
22
+ $parcel$export($389470f9fbcf800d$exports, "spectrum-BarLoader--indeterminate", () => $389470f9fbcf800d$export$1249dfbb98223794, (v) => $389470f9fbcf800d$export$1249dfbb98223794 = v);
23
+ $parcel$export($389470f9fbcf800d$exports, "spectrum-BarLoader--sideLabel", () => $389470f9fbcf800d$export$99af8802cc2a10dc, (v) => $389470f9fbcf800d$export$99af8802cc2a10dc = v);
24
+ $parcel$export($389470f9fbcf800d$exports, "spectrum-BarLoader-track", () => $389470f9fbcf800d$export$3e2e13fb57b5c74b, (v) => $389470f9fbcf800d$export$3e2e13fb57b5c74b = v);
25
+ $parcel$export($389470f9fbcf800d$exports, "spectrum-BarLoader-fill", () => $389470f9fbcf800d$export$84c9ee7bc724b71b, (v) => $389470f9fbcf800d$export$84c9ee7bc724b71b = v);
26
+ $parcel$export($389470f9fbcf800d$exports, "spectrum-BarLoader-label", () => $389470f9fbcf800d$export$5379ba198163be86, (v) => $389470f9fbcf800d$export$5379ba198163be86 = v);
27
+ $parcel$export($389470f9fbcf800d$exports, "spectrum-BarLoader-percentage", () => $389470f9fbcf800d$export$ecc9c825de9d1a18, (v) => $389470f9fbcf800d$export$ecc9c825de9d1a18 = v);
28
+ $parcel$export($389470f9fbcf800d$exports, "spectrum-BarLoader--small", () => $389470f9fbcf800d$export$b945305960ad74a7, (v) => $389470f9fbcf800d$export$b945305960ad74a7 = v);
29
+ $parcel$export($389470f9fbcf800d$exports, "indeterminate-loop-ltr", () => $389470f9fbcf800d$export$a889038a25113dd4, (v) => $389470f9fbcf800d$export$a889038a25113dd4 = v);
30
+ $parcel$export($389470f9fbcf800d$exports, "indeterminate-loop-rtl", () => $389470f9fbcf800d$export$aeff243cf3356f00, (v) => $389470f9fbcf800d$export$aeff243cf3356f00 = v);
31
+ $parcel$export($389470f9fbcf800d$exports, "spectrum-BarLoader--overBackground", () => $389470f9fbcf800d$export$55612d0bd9b5d41, (v) => $389470f9fbcf800d$export$55612d0bd9b5d41 = v);
32
+ $parcel$export($389470f9fbcf800d$exports, "is-positive", () => $389470f9fbcf800d$export$aea9fd919467f03a, (v) => $389470f9fbcf800d$export$aea9fd919467f03a = v);
33
+ $parcel$export($389470f9fbcf800d$exports, "is-warning", () => $389470f9fbcf800d$export$d4ebda6218901908, (v) => $389470f9fbcf800d$export$d4ebda6218901908 = v);
34
+ $parcel$export($389470f9fbcf800d$exports, "is-critical", () => $389470f9fbcf800d$export$a1f608a9810da50f, (v) => $389470f9fbcf800d$export$a1f608a9810da50f = v);
35
+ var $389470f9fbcf800d$export$162ba336fb0c239f;
36
+ var $389470f9fbcf800d$export$1249dfbb98223794;
37
+ var $389470f9fbcf800d$export$99af8802cc2a10dc;
38
+ var $389470f9fbcf800d$export$3e2e13fb57b5c74b;
39
+ var $389470f9fbcf800d$export$84c9ee7bc724b71b;
40
+ var $389470f9fbcf800d$export$5379ba198163be86;
41
+ var $389470f9fbcf800d$export$ecc9c825de9d1a18;
42
+ var $389470f9fbcf800d$export$b945305960ad74a7;
43
+ var $389470f9fbcf800d$export$a889038a25113dd4;
44
+ var $389470f9fbcf800d$export$aeff243cf3356f00;
45
+ var $389470f9fbcf800d$export$55612d0bd9b5d41;
46
+ var $389470f9fbcf800d$export$aea9fd919467f03a;
47
+ var $389470f9fbcf800d$export$d4ebda6218901908;
48
+ var $389470f9fbcf800d$export$a1f608a9810da50f;
49
+ $389470f9fbcf800d$export$162ba336fb0c239f = "spectrum-BarLoader_48541f";
50
+ $389470f9fbcf800d$export$1249dfbb98223794 = "spectrum-BarLoader--indeterminate_48541f";
51
+ $389470f9fbcf800d$export$99af8802cc2a10dc = "spectrum-BarLoader--sideLabel_48541f";
52
+ $389470f9fbcf800d$export$3e2e13fb57b5c74b = "spectrum-BarLoader-track_48541f";
53
+ $389470f9fbcf800d$export$84c9ee7bc724b71b = "spectrum-BarLoader-fill_48541f";
54
+ $389470f9fbcf800d$export$5379ba198163be86 = "spectrum-BarLoader-label_48541f";
55
+ $389470f9fbcf800d$export$ecc9c825de9d1a18 = "spectrum-BarLoader-percentage_48541f";
56
+ $389470f9fbcf800d$export$b945305960ad74a7 = "spectrum-BarLoader--small_48541f";
57
+ $389470f9fbcf800d$export$a889038a25113dd4 = "indeterminate-loop-ltr_48541f";
58
+ $389470f9fbcf800d$export$aeff243cf3356f00 = "indeterminate-loop-rtl_48541f";
59
+ $389470f9fbcf800d$export$55612d0bd9b5d41 = "spectrum-BarLoader--overBackground_48541f";
60
+ $389470f9fbcf800d$export$aea9fd919467f03a = "is-positive_48541f";
61
+ $389470f9fbcf800d$export$d4ebda6218901908 = "is-warning_48541f";
62
+ $389470f9fbcf800d$export$a1f608a9810da50f = "is-critical_48541f";
63
+
64
+
65
+
66
+ function $2c5012c9654b17d1$var$Meter(props, ref) {
67
+ let { variant: variant , ...otherProps } = props;
68
+ const { meterProps: meterProps , labelProps: labelProps } = $8xQFc$useMeter(props);
69
+ return(/*#__PURE__*/ $8xQFc$react.createElement($8xQFc$ProgressBarBase, {
70
+ ...otherProps,
71
+ ref: ref,
72
+ barProps: meterProps,
73
+ labelProps: labelProps,
74
+ barClassName: $8xQFc$classNames((/*@__PURE__*/$parcel$interopDefault($389470f9fbcf800d$exports)), {
75
+ 'is-positive': variant === 'positive',
76
+ 'is-warning': variant === 'warning',
77
+ 'is-critical': variant === 'critical'
78
+ })
79
+ }));
53
80
  }
54
81
  /**
55
82
  * Meters are visual representations of a quantity or an achievement.
56
83
  * Their progress is determined by user actions, rather than system actions.
57
- */
84
+ */ let $2c5012c9654b17d1$export$62e3ae2a4090b879 = /*#__PURE__*/ $8xQFc$react.forwardRef($2c5012c9654b17d1$var$Meter);
85
+
86
+
58
87
 
59
88
 
60
- export let Meter = _react.forwardRef($bcb2e2f8c69b8e81c8ae8ad355ffd7f$var$Meter);
89
+ export {$2c5012c9654b17d1$export$62e3ae2a4090b879 as Meter};
61
90
  //# sourceMappingURL=module.js.map
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;AAAA,SAASA,sBAAT,CAAgCC,CAAhC,EAAmC;AACjC,SAAOA,CAAC,IAAIA,CAAC,CAACC,UAAP,GAAoBD,CAAC,CAACE,OAAtB,GAAgCF,CAAvC;AACD;;;;ACFD,yCAAiB;AACf,wBAAsB,2BADP;AAEf,8BAA4B,iCAFb;AAGf,6BAA2B,gCAHZ;AAIf,8BAA4B,iCAJb;AAKf,mCAAiC,sCALlB;AAMf,mCAAiC,sCANlB;AAOf,+BAA6B,kCAPd;AAQf,uCAAqC,0CARtB;AASf,4BAA0B,+BATX;AAUf,4BAA0B,+BAVX;AAWf,wCAAsC,2CAXvB;AAYf,iBAAe,oBAZA;AAaf,gBAAc,mBAbC;AAcf,iBAAe;AAdA,CAAjB;;;ACoBA,SAASG,0CAAT,CAAeC,KAAf,EAA0CC,GAA1C,EAAuE;AACrE,MAAI;AAACC,IAAAA;AAAD,MAA2BF,KAA/B;AAAA,MAAiBG,UAAjB,uDAA+BH,KAA/B;;AACA,QAAM;AACJI,IAAAA,UADI;AAEJC,IAAAA;AAFI,MAGFC,QAAQ,CAACN,KAAD,CAHZ;AAKA,sBACE,qBAAC,eAAD,qCACMG,UADN;AAEE,IAAA,GAAG,EAAEF,GAFP;AAGE,IAAA,QAAQ,EAAEG,UAHZ;AAIE,IAAA,UAAU,EAAEC,UAJd;AAKE,IAAA,YAAY,EACVE,UAAU,kDAER;AACE,qBAAeL,OAAO,KAAK,UAD7B;AAEE,oBAAcA,OAAO,KAAK,SAF5B;AAGE,qBAAeA,OAAO,KAAK;AAH7B,KAFQ;AANd,KADF;AAiBD;AAED;;;;;;OAIA,IAAIM,KAAM,GAAGC,MAAK,CAACC,UAAN,CAAiBX,0CAAjB,CAAb","sources":["./node_modules/@parcel/scope-hoisting/lib/helpers.js","./node_modules/@adobe/spectrum-css-temp/components/barloader/vars.css","./packages/@react-spectrum/meter/src/Meter.tsx"],"sourcesContent":["function $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\nfunction $parcel$defineInteropFlag(a) {\n Object.defineProperty(a, '__esModule', {value: true});\n}\n\nfunction $parcel$exportWildcard(dest, source) {\n Object.keys(source).forEach(function(key) {\n if (key === 'default' || key === '__esModule') {\n return;\n }\n\n Object.defineProperty(dest, key, {\n enumerable: true,\n get: function get() {\n return source[key];\n },\n });\n });\n\n return dest;\n}\n\nfunction $parcel$missingModule(name) {\n var err = new Error(\"Cannot find module '\" + name + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n}\n\nvar $parcel$global =\n typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","/*\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":["$parcel$interopDefault","a","__esModule","default","Meter","props","ref","variant","otherProps","meterProps","labelProps","useMeter","classNames","_Meter","React","forwardRef"],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEAA,GAAoC;AACpC,GAAmD;AACnD,GAA+C;AAC/C,GAA0C;AAC1C,GAAyC;AACzC,GAA0C;AAC1C,GAA+C;AAC/C,GAA2C;AAC3C,GAAwC;AACxC,GAAwC;AACxC,GAAoD;AACpD,GAA6B;AAC7B,GAA4B;AAC5B,GAA6B;AAb7B,yCAAoC,GAAG,CAA2B;AAClE,yCAAmD,GAAG,CAA0C;AAChG,yCAA+C,GAAG,CAAsC;AACxF,yCAA0C,GAAG,CAAiC;AAC9E,yCAAyC,GAAG,CAAgC;AAC5E,yCAA0C,GAAG,CAAiC;AAC9E,yCAA+C,GAAG,CAAsC;AACxF,yCAA2C,GAAG,CAAkC;AAChF,yCAAwC,GAAG,CAA+B;AAC1E,yCAAwC,GAAG,CAA+B;AAC1E,wCAAoD,GAAG,CAA2C;AAClG,yCAA6B,GAAG,CAAoB;AACpD,yCAA4B,GAAG,CAAmB;AAClD,yCAA6B,GAAG,CAAoB;;;;SDO3C,2BAAK,CAAC,KAAyB,EAAE,GAA2B,EAAE,CAAC;IACtE,GAAG,CAAC,CAAC,UAAA,OAAO,MAAK,UAAU,CAAA,CAAC,GAAG,KAAK;IACpC,KAAK,CAAC,CAAC,aACL,UAAU,eACV,UAAU,EACZ,CAAC,GAAG,eAAQ,CAAC,KAAK;IAElB,MAAM,0CACH,sBAAe;WACV,UAAU;QACd,GAAG,EAAE,GAAG;QACR,QAAQ,EAAE,UAAU;QACpB,UAAU,EAAE,UAAU;QACtB,YAAY,EACV,iBAAU,CACR,gEAAM,EACN,CAAC;YACC,CAAa,cAAE,OAAO,KAAK,CAAU;YACrC,CAAY,aAAE,OAAO,KAAK,CAAS;YACnC,CAAa,cAAE,OAAO,KAAK,CAAU;QACvC,CAAC;;AAIX,CAAC;AAED,EAGG,AAHH;;;CAGG,AAHH,EAGG,CACH,GAAG,CAAC,yCAAM,iBAAG,YAAK,CAAC,UAAU,CAAC,2BAAK","sources":["packages/@react-spectrum/meter/src/index.ts","packages/@react-spectrum/meter/src/Meter.tsx","packages/@adobe/spectrum-css-temp/components/barloader/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport * from './Meter';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {ProgressBarBase} from '@react-spectrum/progress';\nimport React from 'react';\nimport {SpectrumMeterProps} from '@react-types/meter';\nimport styles from '@adobe/spectrum-css-temp/components/barloader/vars.css';\nimport {useMeter} from '@react-aria/meter';\n\nfunction Meter(props: SpectrumMeterProps, ref: DOMRef<HTMLDivElement>) {\n let {variant, ...otherProps} = props;\n const {\n meterProps,\n labelProps\n } = useMeter(props);\n\n return (\n <ProgressBarBase\n {...otherProps}\n ref={ref}\n barProps={meterProps}\n labelProps={labelProps}\n barClassName={\n classNames(\n styles,\n {\n 'is-positive': variant === 'positive',\n 'is-warning': variant === 'warning',\n 'is-critical': variant === 'critical'\n }\n )\n } />\n );\n}\n\n/**\n * Meters are visual representations of a quantity or an achievement.\n * Their progress is determined by user actions, rather than system actions.\n */\nlet _Meter = React.forwardRef(Meter);\nexport {_Meter as Meter};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
@@ -1 +1 @@
1
- {"mappings":"A;A;AA8CA;A;A;GAGG;AACH,OAAA,IAAI,2IAAgC,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"],"sourcesContent":[null,null],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";;AA8CA;;;GAGG;AACH,OAAA,IAAI,2IAAgC,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 * from './Meter';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/meter",
3
- "version": "3.1.0",
3
+ "version": "3.1.4",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -32,21 +32,21 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.6.2",
35
- "@react-aria/meter": "^3.1.0",
36
- "@react-spectrum/progress": "^3.1.0",
37
- "@react-spectrum/utils": "^3.1.0",
38
- "@react-types/meter": "^3.1.0",
39
- "@react-types/shared": "^3.1.0"
35
+ "@react-aria/meter": "^3.1.4",
36
+ "@react-spectrum/progress": "^3.1.4",
37
+ "@react-spectrum/utils": "^3.6.4",
38
+ "@react-types/meter": "^3.1.3",
39
+ "@react-types/shared": "^3.11.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@adobe/spectrum-css-temp": "^3.0.0-alpha.1"
42
+ "@adobe/spectrum-css-temp": "3.0.0-alpha.1"
43
43
  },
44
44
  "peerDependencies": {
45
- "@react-spectrum/provider": "^3.0.0-rc.1",
46
- "react": "^16.8.0"
45
+ "@react-spectrum/provider": "^3.0.0",
46
+ "react": "^16.8.0 || ^17.0.0-rc.1"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "211099972fe75ee581892efd01a7f89dfb9cdf69"
51
+ "gitHead": "54c2366c4f31bd4bf619126131cd583c12972acc"
52
52
  }
package/dist/main.css.map DELETED
@@ -1 +0,0 @@
1
- {"mappings":"AAcA,2BACE,iBAAkB,CAClB,0BAAoB,CAApB,mBAAoB,CACpB,sBAAmB,CAAnB,kBAAmB,CACnB,qBAA8B,CAA9B,6BAA8B,CAC9B,qBAAmB,CAAnB,kBAAmB,CACnB,gDAA4C,CAC5C,kBAAmB,CACnB,iBACF,CAEA,iCAEE,eAAgB,CAChB,gDAA4C,CAC5C,+CAA8C,CAC9C,2DAA4D,CAC5D,SACF,CAEA,gCACE,WAAY,CACZ,+CAA8C,CAE9C,mBACF,CAEA,2FAKE,eAEF,CAPA,2FAKE,gBAEF,CAPA,uEAEE,uDAA+C,CAC/C,0DAAwD,CACxD,6DAAwD,CAExD,uDACF,CAEA,iCACE,eAAY,CAAZ,WACF,CAEA,gDAEE,qDACF,CAHA,gDAEE,sDACF,CAHA,sCACE,yBAAsB,CAAtB,qBAEF,CAEA,sCACE,0BAAoB,CAApB,mBAAoB,CACpB,iBAAc,CAAd,aAAc,CACd,qBAA8B,CAA9B,6BAA8B,CAC9B,UAYF,CAVE,iFACE,sDAEF,CAHA,iFACE,qDAEF,CAHA,uEAEE,eACF,CACA,sFAEE,gBAGF,CALA,sFAEE,eAGF,CALA,sFAGE,qDAEF,CALA,sFAGE,sDAEF,CALA,4EACE,gBAAQ,CAAR,OAAQ,CAGR,eACF,CAGF,kCACE,oDAUF,CARE,kEACE,+CACF,CAEA,mEACE,+CAA8C,CAC9C,2DACF,CAEF,0EACE,gDAA+D,CAC/D,iBAAkB,CAClB,+FAAuF,CACvF,qBACF,CAEA,oFACE,kGACF,CACA,oFACE,kGACF,CAEA,yCACE,GACE,0EACF,CACA,GACE,+DACF,CACF,CAEA,yCACE,GACE,+DACF,CACA,GACE,0EACF,CACF,CC1GE,2DACE,gDACF,CAEA,4DACE,gGACF,CAGE,qGACE,yDACF,CAEA,iNAEE,oDACF,CAEA,sGACE,qFACF,CAGA,8EACE,gGACF,CAGA,6EACE,+FACF,CAGA,8EACE,8FACF,CAWJ,uEAEE,kFACF","sources":["./node_modules/@adobe/spectrum-css-temp/components/barloader/index.css","./node_modules/@adobe/spectrum-css-temp/components/barloader/skin.css"],"sourcesContent":["/*\nCopyright 2019 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n@import '../commons/index.css';\n\n.spectrum-BarLoader {\n position: relative;\n display: inline-flex;\n flex-flow: row wrap;\n justify-content: space-between;\n align-items: center;\n width: var(--spectrum-barloader-large-width);\n vertical-align: top;\n isolation: isolate;\n}\n\n.spectrum-BarLoader-track {\n /* Visually apply border radius to child elements */\n overflow: hidden;\n width: var(--spectrum-barloader-large-width);\n height: var(--spectrum-barloader-large-height);\n border-radius: var(--spectrum-barloader-large-border-radius);\n z-index: 1; /* to fix a weird webkit bug with rounded corners and masking */\n}\n\n.spectrum-BarLoader-fill {\n border: none;\n height: var(--spectrum-barloader-large-height);\n\n transition: width 1s;\n}\n\n.spectrum-BarLoader-label,\n.spectrum-BarLoader-percentage {\n font-size: var(--spectrum-fieldlabel-text-size);\n font-weight: var(--spectrum-fieldlabel-text-font-weight);\n line-height: var(--spectrum-fieldlabel-text-line-height);\n text-align: start;\n margin-bottom: var(--spectrum-barloader-large-label-gap-y);\n}\n\n.spectrum-BarLoader-label {\n flex: 1 1 0%;\n}\n\n.spectrum-BarLoader-percentage {\n align-self: flex-start;\n margin-inline-start: var(--spectrum-barloader-small-label-gap-x);\n}\n\n.spectrum-BarLoader--sideLabel {\n display: inline-flex;\n flex-flow: row;\n justify-content: space-between;\n inline-size: auto;\n\n .spectrum-BarLoader-label {\n margin-inline-end: var(--spectrum-barloader-large-label-gap-x);\n margin-bottom: 0;\n }\n .spectrum-BarLoader-percentage {\n order: 3;\n text-align: end;\n margin-inline-start: var(--spectrum-barloader-large-label-gap-x);\n margin-bottom: 0;\n }\n}\n\n.spectrum-BarLoader--small {\n min-width: var(--spectrum-barloader-small-width);\n\n .spectrum-BarLoader-fill {\n height: var(--spectrum-barloader-small-height);\n }\n\n .spectrum-BarLoader-track {\n height: var(--spectrum-barloader-small-height);\n border-radius: var(--spectrum-barloader-small-border-radius);\n }\n}\n.spectrum-BarLoader--indeterminate .spectrum-BarLoader-fill {\n width: var(--spectrum-barloader-large-indeterminate-fill-width);\n position: relative;\n animation-timing-function: var(--spectrum-barloader-large-indeterminate-animation-ease);\n will-change: transform;\n}\n\n[dir='ltr'] .spectrum-BarLoader--indeterminate .spectrum-BarLoader-fill {\n animation: indeterminate-loop-ltr var(--spectrum-barloader-large-indeterminate-duration) infinite;\n}\n[dir='rtl'] .spectrum-BarLoader--indeterminate .spectrum-BarLoader-fill {\n animation: indeterminate-loop-rtl var(--spectrum-barloader-large-indeterminate-duration) infinite;\n}\n\n@keyframes indeterminate-loop-ltr {\n from {\n transform: translate(calc(var(--spectrum-barloader-large-indeterminate-fill-width) * -1));\n }\n to {\n transform: translate(var(--spectrum-barloader-large-width));\n }\n}\n\n@keyframes indeterminate-loop-rtl {\n from {\n transform: translate(var(--spectrum-barloader-large-width));\n }\n to {\n transform: translate(calc(var(--spectrum-barloader-large-width) * -1));\n }\n}\n","/*\nCopyright 2019 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n.spectrum-BarLoader {\n .spectrum-BarLoader-fill {\n background: var(--spectrum-barloader-large-track-fill-color);\n }\n\n .spectrum-BarLoader-track {\n background-color: var(--spectrum-barloader-large-track-color);\n }\n\n &.spectrum-BarLoader--overBackground {\n .spectrum-BarLoader-fill {\n background: var(--spectrum-barloader-large-over-background-track-fill-color);\n }\n\n .spectrum-BarLoader-label,\n .spectrum-BarLoader-percentage {\n color: var(--spectrum-barloader-large-over-background-track-fill-color);\n }\n\n .spectrum-BarLoader-track {\n background-color: var(--spectrum-barloader-large-over-background-track-color);\n }\n }\n &.is-positive {\n .spectrum-BarLoader-fill {\n background: var(--spectrum-meter-large-track-color-positive);\n }\n }\n &.is-warning {\n .spectrum-BarLoader-fill {\n background: var(--spectrum-meter-large-track-color-warning);\n }\n }\n &.is-critical {\n .spectrum-BarLoader-fill {\n background: var(--spectrum-meter-large-track-color-critical);\n }\n }\n}\n.spectrum-BarLoader-label,\n.spectrum-BarLoader-percentage {\n color: var(--spectrum-fieldlabel-text-color);\n}\n.spectrum-BarLoader-label,\n.spectrum-BarLoader-percentage {\n color: var(--spectrum-fieldlabel-text-color);\n}\n.spectrum-BarLoader-label,\n.spectrum-BarLoader-percentage {\n color: var(--spectrum-fieldlabel-text-color);\n}\n"],"names":[],"version":3,"file":"main.css.map"}