@react-spectrum/meter 3.0.0-nightly.1383 → 3.0.0-nightly.1395
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 +1 -3
- package/dist/main.js +55 -55
- package/dist/main.js.map +1 -1
- package/dist/module.js +55 -55
- package/dist/module.js.map +1 -1
- package/package.json +8 -8
package/dist/main.css
CHANGED
|
@@ -1,3 +1 @@
|
|
|
1
|
-
.
|
|
2
|
-
._spectrum-BarLoader-percentage_48541f{text-align:left}[dir=rtl] ._spectrum-BarLoader-label_48541f,[dir=rtl]
|
|
3
|
-
._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{-ms-flex:1 1 0%;flex:1 1 0%}[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{-ms-flex-item-align:start;align-self:flex-start}._spectrum-BarLoader--sideLabel_48541f{-ms-flex-pack:justify;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-flow:row;flex-flow:row;justify-content:space-between;min-width:-webkit-fit-content;min-width:fit-content}._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{-ms-flex-order:3;margin-bottom:0;order:3}._spectrum-BarLoader--small_48541f{min-width:var(--spectrum-global-dimension-static-size-600,48px)}._spectrum-BarLoader--small_48541f ._spectrum-BarLoader-fill_48541f,._spectrum-BarLoader--small_48541f ._spectrum-BarLoader-track_48541f{height:var(--spectrum-barloader-small-height,var(--spectrum-global-dimension-size-50))}._spectrum-BarLoader--small_48541f ._spectrum-BarLoader-track_48541f{border-radius:var(--spectrum-barloader-small-border-radius)}._spectrum-BarLoader--indeterminate_48541f ._spectrum-BarLoader-fill_48541f{animation-timing-function:var(--spectrum-barloader-large-indeterminate-animation-ease,var(--spectrum-global-animation-ease-in-out));position:relative;width:var(--spectrum-barloader-large-indeterminate-fill-width,var(--spectrum-global-dimension-size-1700));will-change:transform}[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))}@media (forced-colors:active){._spectrum-BarLoader-track_48541f{--spectrum-barloader-large-track-fill-color:ButtonText;--spectrum-barloader-large-track-color:ButtonFace;border:1px solid ButtonText;forced-color-adjust:none}}
|
|
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,8 +1,8 @@
|
|
|
1
1
|
require("./main.css");
|
|
2
|
-
var $
|
|
3
|
-
var $
|
|
4
|
-
var $
|
|
5
|
-
var $
|
|
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
6
|
|
|
7
7
|
function $parcel$exportWildcard(dest, source) {
|
|
8
8
|
Object.keys(source).forEach(function(key) {
|
|
@@ -26,68 +26,68 @@ function $parcel$interopDefault(a) {
|
|
|
26
26
|
function $parcel$export(e, n, v, s) {
|
|
27
27
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
28
28
|
}
|
|
29
|
-
var $
|
|
29
|
+
var $a8031f4bf4202bb9$exports = {};
|
|
30
30
|
|
|
31
|
-
$parcel$export($
|
|
31
|
+
$parcel$export($a8031f4bf4202bb9$exports, "Meter", () => $a8031f4bf4202bb9$export$62e3ae2a4090b879);
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var $
|
|
35
|
+
var $20951f6d2e04a24b$exports = {};
|
|
36
36
|
|
|
37
|
-
$parcel$export($
|
|
38
|
-
$parcel$export($
|
|
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
|
-
var $
|
|
52
|
-
var $
|
|
53
|
-
var $
|
|
54
|
-
var $
|
|
55
|
-
var $
|
|
56
|
-
var $
|
|
57
|
-
var $
|
|
58
|
-
var $
|
|
59
|
-
var $
|
|
60
|
-
var $
|
|
61
|
-
var $
|
|
62
|
-
var $
|
|
63
|
-
var $
|
|
64
|
-
var $
|
|
65
|
-
$
|
|
66
|
-
$
|
|
67
|
-
$
|
|
68
|
-
$
|
|
69
|
-
$
|
|
70
|
-
$
|
|
71
|
-
$
|
|
72
|
-
$
|
|
73
|
-
$
|
|
74
|
-
$
|
|
75
|
-
$
|
|
76
|
-
$
|
|
77
|
-
$
|
|
78
|
-
$
|
|
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";
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
function $
|
|
82
|
+
function $a8031f4bf4202bb9$var$Meter(props, ref) {
|
|
83
83
|
let { variant: variant , ...otherProps } = props;
|
|
84
|
-
const { meterProps: meterProps , labelProps: labelProps } = $
|
|
85
|
-
return(/*#__PURE__*/ ($parcel$interopDefault($
|
|
84
|
+
const { meterProps: meterProps , labelProps: labelProps } = $gw65L$reactariameter.useMeter(props);
|
|
85
|
+
return(/*#__PURE__*/ ($parcel$interopDefault($gw65L$react)).createElement($gw65L$reactspectrumprogress.ProgressBarBase, {
|
|
86
86
|
...otherProps,
|
|
87
87
|
ref: ref,
|
|
88
88
|
barProps: meterProps,
|
|
89
89
|
labelProps: labelProps,
|
|
90
|
-
barClassName: $
|
|
90
|
+
barClassName: $gw65L$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($20951f6d2e04a24b$exports)), {
|
|
91
91
|
'is-positive': variant === 'positive',
|
|
92
92
|
'is-warning': variant === 'warning',
|
|
93
93
|
'is-critical': variant === 'critical'
|
|
@@ -97,10 +97,10 @@ function $c51407887d40d631$var$Meter(props, ref) {
|
|
|
97
97
|
/**
|
|
98
98
|
* Meters are visual representations of a quantity or an achievement.
|
|
99
99
|
* Their progress is determined by user actions, rather than system actions.
|
|
100
|
-
*/ let $
|
|
100
|
+
*/ let $a8031f4bf4202bb9$export$62e3ae2a4090b879 = /*#__PURE__*/ ($parcel$interopDefault($gw65L$react)).forwardRef($a8031f4bf4202bb9$var$Meter);
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
$parcel$exportWildcard(module.exports, $
|
|
103
|
+
$parcel$exportWildcard(module.exports, $a8031f4bf4202bb9$exports);
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
//# sourceMappingURL=main.js.map
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,8 +1,8 @@
|
|
|
1
1
|
import "./main.css";
|
|
2
|
-
import {classNames as $
|
|
3
|
-
import {ProgressBarBase as $
|
|
4
|
-
import $
|
|
5
|
-
import {useMeter as $
|
|
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";
|
|
6
6
|
|
|
7
7
|
function $parcel$interopDefault(a) {
|
|
8
8
|
return a && a.__esModule ? a.default : a;
|
|
@@ -10,68 +10,68 @@ function $parcel$interopDefault(a) {
|
|
|
10
10
|
function $parcel$export(e, n, v, s) {
|
|
11
11
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
12
12
|
}
|
|
13
|
-
var $
|
|
13
|
+
var $2c5012c9654b17d1$exports = {};
|
|
14
14
|
|
|
15
|
-
$parcel$export($
|
|
15
|
+
$parcel$export($2c5012c9654b17d1$exports, "Meter", () => $2c5012c9654b17d1$export$62e3ae2a4090b879);
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var $
|
|
19
|
+
var $389470f9fbcf800d$exports = {};
|
|
20
20
|
|
|
21
|
-
$parcel$export($
|
|
22
|
-
$parcel$export($
|
|
23
|
-
$parcel$export($
|
|
24
|
-
$parcel$export($
|
|
25
|
-
$parcel$export($
|
|
26
|
-
$parcel$export($
|
|
27
|
-
$parcel$export($
|
|
28
|
-
$parcel$export($
|
|
29
|
-
$parcel$export($
|
|
30
|
-
$parcel$export($
|
|
31
|
-
$parcel$export($
|
|
32
|
-
$parcel$export($
|
|
33
|
-
$parcel$export($
|
|
34
|
-
$parcel$export($
|
|
35
|
-
var $
|
|
36
|
-
var $
|
|
37
|
-
var $
|
|
38
|
-
var $
|
|
39
|
-
var $
|
|
40
|
-
var $
|
|
41
|
-
var $
|
|
42
|
-
var $
|
|
43
|
-
var $
|
|
44
|
-
var $
|
|
45
|
-
var $
|
|
46
|
-
var $
|
|
47
|
-
var $
|
|
48
|
-
var $
|
|
49
|
-
$
|
|
50
|
-
$
|
|
51
|
-
$
|
|
52
|
-
$
|
|
53
|
-
$
|
|
54
|
-
$
|
|
55
|
-
$
|
|
56
|
-
$
|
|
57
|
-
$
|
|
58
|
-
$
|
|
59
|
-
$
|
|
60
|
-
$
|
|
61
|
-
$
|
|
62
|
-
$
|
|
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
63
|
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
function $
|
|
66
|
+
function $2c5012c9654b17d1$var$Meter(props, ref) {
|
|
67
67
|
let { variant: variant , ...otherProps } = props;
|
|
68
|
-
const { meterProps: meterProps , labelProps: labelProps } = $
|
|
69
|
-
return(/*#__PURE__*/ $
|
|
68
|
+
const { meterProps: meterProps , labelProps: labelProps } = $8xQFc$useMeter(props);
|
|
69
|
+
return(/*#__PURE__*/ $8xQFc$react.createElement($8xQFc$ProgressBarBase, {
|
|
70
70
|
...otherProps,
|
|
71
71
|
ref: ref,
|
|
72
72
|
barProps: meterProps,
|
|
73
73
|
labelProps: labelProps,
|
|
74
|
-
barClassName: $
|
|
74
|
+
barClassName: $8xQFc$classNames((/*@__PURE__*/$parcel$interopDefault($389470f9fbcf800d$exports)), {
|
|
75
75
|
'is-positive': variant === 'positive',
|
|
76
76
|
'is-warning': variant === 'warning',
|
|
77
77
|
'is-critical': variant === 'critical'
|
|
@@ -81,10 +81,10 @@ function $dd527325be0479c4$var$Meter(props, ref) {
|
|
|
81
81
|
/**
|
|
82
82
|
* Meters are visual representations of a quantity or an achievement.
|
|
83
83
|
* Their progress is determined by user actions, rather than system actions.
|
|
84
|
-
*/ let $
|
|
84
|
+
*/ let $2c5012c9654b17d1$export$62e3ae2a4090b879 = /*#__PURE__*/ $8xQFc$react.forwardRef($2c5012c9654b17d1$var$Meter);
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
export {$
|
|
89
|
+
export {$2c5012c9654b17d1$export$62e3ae2a4090b879 as Meter};
|
|
90
90
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,
|
|
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"}
|
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.1395+b2abc5d94",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.6.2",
|
|
35
|
-
"@react-aria/meter": "3.0.0-nightly.
|
|
36
|
-
"@react-spectrum/progress": "3.0.0-nightly.
|
|
37
|
-
"@react-spectrum/utils": "3.0.0-nightly.
|
|
38
|
-
"@react-types/meter": "3.1.3-nightly.
|
|
39
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
35
|
+
"@react-aria/meter": "3.0.0-nightly.1395+b2abc5d94",
|
|
36
|
+
"@react-spectrum/progress": "3.0.0-nightly.1395+b2abc5d94",
|
|
37
|
+
"@react-spectrum/utils": "3.0.0-nightly.1395+b2abc5d94",
|
|
38
|
+
"@react-types/meter": "3.1.3-nightly.3086+b2abc5d94",
|
|
39
|
+
"@react-types/shared": "3.0.0-nightly.1395+b2abc5d94"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
|
42
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.1395+b2abc5d94"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@react-spectrum/provider": "^3.0.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "b2abc5d94162a7bd614fffcdf11e3d3754dc7d9f"
|
|
52
52
|
}
|