@react-spectrum/meter 3.5.17 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/import.mjs +2 -2
- package/dist/main.js +2 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -2
- package/dist/module.js.map +1 -1
- package/dist/types/src/index.d.ts +2 -0
- package/package.json +12 -29
- package/src/index.ts +3 -2
- package/dist/Meter.main.js +0 -50
- package/dist/Meter.main.js.map +0 -1
- package/dist/Meter.mjs +0 -45
- package/dist/Meter.module.js +0 -45
- package/dist/Meter.module.js.map +0 -1
- package/dist/barloader_vars_css.main.js +0 -73
- package/dist/barloader_vars_css.main.js.map +0 -1
- package/dist/barloader_vars_css.mjs +0 -75
- package/dist/barloader_vars_css.module.js +0 -75
- package/dist/barloader_vars_css.module.js.map +0 -1
- package/dist/meter.228d7fc4.css +0 -288
- package/dist/meter.228d7fc4.css.map +0 -1
- package/dist/types.d.ts +0 -11
- package/dist/types.d.ts.map +0 -1
- package/src/Meter.tsx +0 -49
package/dist/import.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {Meter as $
|
|
1
|
+
import {Meter as $7a4a44a92a2e40ba$re_export$Meter} from "@adobe/react-spectrum/Meter";
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright 2020 Adobe. All rights reserved.
|
|
@@ -14,5 +14,5 @@ import {Meter as $559585cb28581b56$export$62e3ae2a4090b879} from "./Meter.mjs";
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
export {$
|
|
17
|
+
export {$7a4a44a92a2e40ba$re_export$Meter as Meter};
|
|
18
18
|
//# sourceMappingURL=module.js.map
|
package/dist/main.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var $
|
|
1
|
+
var $eoY5b$adobereactspectrumMeter = require("@adobe/react-spectrum/Meter");
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
function $parcel$export(e, n, v, s) {
|
|
5
5
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
$parcel$export(module.exports, "Meter", ()
|
|
8
|
+
$parcel$export(module.exports, "Meter", function () { return $eoY5b$adobereactspectrumMeter.Meter; });
|
|
9
9
|
/*
|
|
10
10
|
* Copyright 2020 Adobe. All rights reserved.
|
|
11
11
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/meter/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Meter} from '
|
|
1
|
+
{"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/meter/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Meter} from '@adobe/react-spectrum/Meter';\n\nexport type {SpectrumMeterProps} from '@adobe/react-spectrum/Meter';\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {Meter as $
|
|
1
|
+
import {Meter as $7a4a44a92a2e40ba$re_export$Meter} from "@adobe/react-spectrum/Meter";
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
* Copyright 2020 Adobe. All rights reserved.
|
|
@@ -14,5 +14,5 @@ import {Meter as $559585cb28581b56$export$62e3ae2a4090b879} from "./Meter.module
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
export {$
|
|
17
|
+
export {$7a4a44a92a2e40ba$re_export$Meter as Meter};
|
|
18
18
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/meter/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Meter} from '
|
|
1
|
+
{"mappings":";;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/meter/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Meter} from '@adobe/react-spectrum/Meter';\n\nexport type {SpectrumMeterProps} from '@adobe/react-spectrum/Meter';\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/meter",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"module": "dist/module.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
"./dist/types.d.ts",
|
|
12
|
-
"./
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
9
|
+
".": {
|
|
10
|
+
"source": "./src/index.ts",
|
|
11
|
+
"types": "./dist/types/src/index.d.ts",
|
|
12
|
+
"import": "./dist/import.mjs",
|
|
13
|
+
"require": "./dist/main.js"
|
|
14
|
+
},
|
|
15
|
+
"./package.json": "./package.json"
|
|
16
16
|
},
|
|
17
|
-
"types": "dist/types.d.ts",
|
|
17
|
+
"types": "dist/types/src/index.d.ts",
|
|
18
18
|
"source": "src/index.ts",
|
|
19
19
|
"files": [
|
|
20
20
|
"dist",
|
|
@@ -24,39 +24,22 @@
|
|
|
24
24
|
"*.css"
|
|
25
25
|
],
|
|
26
26
|
"targets": {
|
|
27
|
-
"
|
|
28
|
-
"includeNodeModules": [
|
|
29
|
-
"@adobe/spectrum-css-temp"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"module": {
|
|
33
|
-
"includeNodeModules": [
|
|
34
|
-
"@adobe/spectrum-css-temp"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
27
|
+
"types": false
|
|
37
28
|
},
|
|
38
29
|
"repository": {
|
|
39
30
|
"type": "git",
|
|
40
31
|
"url": "https://github.com/adobe/react-spectrum"
|
|
41
32
|
},
|
|
42
33
|
"dependencies": {
|
|
43
|
-
"@react-
|
|
44
|
-
"@react-spectrum/progress": "^3.7.23",
|
|
45
|
-
"@react-spectrum/utils": "^3.12.12",
|
|
46
|
-
"@react-types/meter": "^3.4.15",
|
|
47
|
-
"@react-types/shared": "^3.33.1",
|
|
34
|
+
"@adobe/react-spectrum": "3.47.0",
|
|
48
35
|
"@swc/helpers": "^0.5.0"
|
|
49
36
|
},
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"@adobe/spectrum-css-temp": "3.0.0-alpha.1"
|
|
52
|
-
},
|
|
53
37
|
"peerDependencies": {
|
|
54
|
-
"@react-spectrum/provider": "^3.0.0",
|
|
55
38
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
|
|
56
39
|
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
|
|
57
40
|
},
|
|
58
41
|
"publishConfig": {
|
|
59
42
|
"access": "public"
|
|
60
43
|
},
|
|
61
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "a6999bdf494a2e9c0381a5881908328bdd22ddae"
|
|
62
45
|
}
|
package/src/index.ts
CHANGED
|
@@ -12,5 +12,6 @@
|
|
|
12
12
|
|
|
13
13
|
/// <reference types="css-module-types" />
|
|
14
14
|
|
|
15
|
-
export {Meter} from '
|
|
16
|
-
|
|
15
|
+
export {Meter} from '@adobe/react-spectrum/Meter';
|
|
16
|
+
|
|
17
|
+
export type {SpectrumMeterProps} from '@adobe/react-spectrum/Meter';
|
package/dist/Meter.main.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
require("./meter.228d7fc4.css");
|
|
2
|
-
var $9f78a6c009f32d0a$exports = require("./barloader_vars_css.main.js");
|
|
3
|
-
var $9BUL5$reactspectrumutils = require("@react-spectrum/utils");
|
|
4
|
-
var $9BUL5$reactspectrumprogress = require("@react-spectrum/progress");
|
|
5
|
-
var $9BUL5$react = require("react");
|
|
6
|
-
var $9BUL5$reactariameter = require("@react-aria/meter");
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function $parcel$interopDefault(a) {
|
|
10
|
-
return a && a.__esModule ? a.default : a;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
function $parcel$export(e, n, v, s) {
|
|
14
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
$parcel$export(module.exports, "Meter", () => $fc7fd823390a6f61$export$62e3ae2a4090b879);
|
|
18
|
-
/*
|
|
19
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
20
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
21
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
22
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
23
|
-
*
|
|
24
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
25
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
26
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
27
|
-
* governing permissions and limitations under the License.
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
const $fc7fd823390a6f61$export$62e3ae2a4090b879 = /*#__PURE__*/ (0, ($parcel$interopDefault($9BUL5$react))).forwardRef(function Meter(props, ref) {
|
|
34
|
-
let { variant: variant = 'informative', ...otherProps } = props;
|
|
35
|
-
const { meterProps: meterProps, labelProps: labelProps } = (0, $9BUL5$reactariameter.useMeter)(props);
|
|
36
|
-
return /*#__PURE__*/ (0, ($parcel$interopDefault($9BUL5$react))).createElement((0, $9BUL5$reactspectrumprogress.ProgressBarBase), {
|
|
37
|
-
...otherProps,
|
|
38
|
-
ref: ref,
|
|
39
|
-
barProps: meterProps,
|
|
40
|
-
labelProps: labelProps,
|
|
41
|
-
barClassName: (0, $9BUL5$reactspectrumutils.classNames)((0, ($parcel$interopDefault($9f78a6c009f32d0a$exports))), {
|
|
42
|
-
'is-positive': variant === 'positive',
|
|
43
|
-
'is-warning': variant === 'warning',
|
|
44
|
-
'is-critical': variant === 'critical'
|
|
45
|
-
})
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
//# sourceMappingURL=Meter.main.js.map
|
package/dist/Meter.main.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAcM,MAAM,0DAAQ,CAAA,GAAA,sCAAI,EAAE,UAAU,CAAC,SAAS,MAAM,KAAyB,EAAE,GAA2B;IACzG,IAAI,WAAC,UAAU,eAAe,GAAG,YAAW,GAAG;IAC/C,MAAM,cACJ,UAAU,cACV,UAAU,EACX,GAAG,CAAA,GAAA,8BAAO,EAAE;IAEb,qBACE,0DAAC,CAAA,GAAA,4CAAc;QACZ,GAAG,UAAU;QACd,KAAK;QACL,UAAU;QACV,YAAY;QACZ,cACE,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,mDAAK,GACL;YACE,eAAe,YAAY;YAC3B,cAAc,YAAY;YAC1B,eAAe,YAAY;QAC7B;;AAIV","sources":["packages/@react-spectrum/meter/src/Meter.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {ProgressBarBase} from '@react-spectrum/progress';\nimport React from 'react';\nimport {SpectrumMeterProps} from '@react-types/meter';\nimport styles from '@adobe/spectrum-css-temp/components/barloader/vars.css';\nimport {useMeter} from '@react-aria/meter';\n\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 */\nexport const Meter = React.forwardRef(function Meter(props: SpectrumMeterProps, ref: DOMRef<HTMLDivElement>) {\n let {variant = 'informative', ...otherProps} = props;\n const {\n meterProps,\n labelProps\n } = useMeter(props);\n\n return (\n <ProgressBarBase\n {...otherProps}\n ref={ref}\n barProps={meterProps}\n labelProps={labelProps}\n barClassName={\n classNames(\n styles,\n {\n 'is-positive': variant === 'positive',\n 'is-warning': variant === 'warning',\n 'is-critical': variant === 'critical'\n }\n )\n } />\n );\n});\n"],"names":[],"version":3,"file":"Meter.main.js.map"}
|
package/dist/Meter.mjs
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import "./meter.228d7fc4.css";
|
|
2
|
-
import $gnWwJ$barloader_vars_cssmodulejs from "./barloader_vars_css.mjs";
|
|
3
|
-
import {classNames as $gnWwJ$classNames} from "@react-spectrum/utils";
|
|
4
|
-
import {ProgressBarBase as $gnWwJ$ProgressBarBase} from "@react-spectrum/progress";
|
|
5
|
-
import $gnWwJ$react from "react";
|
|
6
|
-
import {useMeter as $gnWwJ$useMeter} from "@react-aria/meter";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function $parcel$interopDefault(a) {
|
|
10
|
-
return a && a.__esModule ? a.default : a;
|
|
11
|
-
}
|
|
12
|
-
/*
|
|
13
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
14
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
15
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
16
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
-
*
|
|
18
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
19
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
20
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
21
|
-
* governing permissions and limitations under the License.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const $559585cb28581b56$export$62e3ae2a4090b879 = /*#__PURE__*/ (0, $gnWwJ$react).forwardRef(function Meter(props, ref) {
|
|
28
|
-
let { variant: variant = 'informative', ...otherProps } = props;
|
|
29
|
-
const { meterProps: meterProps, labelProps: labelProps } = (0, $gnWwJ$useMeter)(props);
|
|
30
|
-
return /*#__PURE__*/ (0, $gnWwJ$react).createElement((0, $gnWwJ$ProgressBarBase), {
|
|
31
|
-
...otherProps,
|
|
32
|
-
ref: ref,
|
|
33
|
-
barProps: meterProps,
|
|
34
|
-
labelProps: labelProps,
|
|
35
|
-
barClassName: (0, $gnWwJ$classNames)((0, ($parcel$interopDefault($gnWwJ$barloader_vars_cssmodulejs))), {
|
|
36
|
-
'is-positive': variant === 'positive',
|
|
37
|
-
'is-warning': variant === 'warning',
|
|
38
|
-
'is-critical': variant === 'critical'
|
|
39
|
-
})
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
export {$559585cb28581b56$export$62e3ae2a4090b879 as Meter};
|
|
45
|
-
//# sourceMappingURL=Meter.module.js.map
|
package/dist/Meter.module.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import "./meter.228d7fc4.css";
|
|
2
|
-
import $gnWwJ$barloader_vars_cssmodulejs from "./barloader_vars_css.module.js";
|
|
3
|
-
import {classNames as $gnWwJ$classNames} from "@react-spectrum/utils";
|
|
4
|
-
import {ProgressBarBase as $gnWwJ$ProgressBarBase} from "@react-spectrum/progress";
|
|
5
|
-
import $gnWwJ$react from "react";
|
|
6
|
-
import {useMeter as $gnWwJ$useMeter} from "@react-aria/meter";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function $parcel$interopDefault(a) {
|
|
10
|
-
return a && a.__esModule ? a.default : a;
|
|
11
|
-
}
|
|
12
|
-
/*
|
|
13
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
14
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
15
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
16
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
-
*
|
|
18
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
19
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
20
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
21
|
-
* governing permissions and limitations under the License.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const $559585cb28581b56$export$62e3ae2a4090b879 = /*#__PURE__*/ (0, $gnWwJ$react).forwardRef(function Meter(props, ref) {
|
|
28
|
-
let { variant: variant = 'informative', ...otherProps } = props;
|
|
29
|
-
const { meterProps: meterProps, labelProps: labelProps } = (0, $gnWwJ$useMeter)(props);
|
|
30
|
-
return /*#__PURE__*/ (0, $gnWwJ$react).createElement((0, $gnWwJ$ProgressBarBase), {
|
|
31
|
-
...otherProps,
|
|
32
|
-
ref: ref,
|
|
33
|
-
barProps: meterProps,
|
|
34
|
-
labelProps: labelProps,
|
|
35
|
-
barClassName: (0, $gnWwJ$classNames)((0, ($parcel$interopDefault($gnWwJ$barloader_vars_cssmodulejs))), {
|
|
36
|
-
'is-positive': variant === 'positive',
|
|
37
|
-
'is-warning': variant === 'warning',
|
|
38
|
-
'is-critical': variant === 'critical'
|
|
39
|
-
})
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
export {$559585cb28581b56$export$62e3ae2a4090b879 as Meter};
|
|
45
|
-
//# sourceMappingURL=Meter.module.js.map
|
package/dist/Meter.module.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAcM,MAAM,0DAAQ,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC,SAAS,MAAM,KAAyB,EAAE,GAA2B;IACzG,IAAI,WAAC,UAAU,eAAe,GAAG,YAAW,GAAG;IAC/C,MAAM,cACJ,UAAU,cACV,UAAU,EACX,GAAG,CAAA,GAAA,eAAO,EAAE;IAEb,qBACE,gCAAC,CAAA,GAAA,sBAAc;QACZ,GAAG,UAAU;QACd,KAAK;QACL,UAAU;QACV,YAAY;QACZ,cACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,2DAAK,GACL;YACE,eAAe,YAAY;YAC3B,cAAc,YAAY;YAC1B,eAAe,YAAY;QAC7B;;AAIV","sources":["packages/@react-spectrum/meter/src/Meter.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {classNames} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {ProgressBarBase} from '@react-spectrum/progress';\nimport React from 'react';\nimport {SpectrumMeterProps} from '@react-types/meter';\nimport styles from '@adobe/spectrum-css-temp/components/barloader/vars.css';\nimport {useMeter} from '@react-aria/meter';\n\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 */\nexport const Meter = React.forwardRef(function Meter(props: SpectrumMeterProps, ref: DOMRef<HTMLDivElement>) {\n let {variant = 'informative', ...otherProps} = props;\n const {\n meterProps,\n labelProps\n } = useMeter(props);\n\n return (\n <ProgressBarBase\n {...otherProps}\n ref={ref}\n barProps={meterProps}\n labelProps={labelProps}\n barClassName={\n classNames(\n styles,\n {\n 'is-positive': variant === 'positive',\n 'is-warning': variant === 'warning',\n 'is-critical': variant === 'critical'\n }\n )\n } />\n );\n});\n"],"names":[],"version":3,"file":"Meter.module.js.map"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
function $parcel$export(e, n, v, s) {
|
|
3
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
$parcel$export(module.exports, "focus-ring", () => $9f78a6c009f32d0a$export$f39a09f249340e2a, (v) => $9f78a6c009f32d0a$export$f39a09f249340e2a = v);
|
|
7
|
-
$parcel$export(module.exports, "i18nFontFamily", () => $9f78a6c009f32d0a$export$8c4ee2c50c22c514, (v) => $9f78a6c009f32d0a$export$8c4ee2c50c22c514 = v);
|
|
8
|
-
$parcel$export(module.exports, "indeterminate-loop-ltr", () => $9f78a6c009f32d0a$export$a889038a25113dd4, (v) => $9f78a6c009f32d0a$export$a889038a25113dd4 = v);
|
|
9
|
-
$parcel$export(module.exports, "indeterminate-loop-rtl", () => $9f78a6c009f32d0a$export$aeff243cf3356f00, (v) => $9f78a6c009f32d0a$export$aeff243cf3356f00 = v);
|
|
10
|
-
$parcel$export(module.exports, "is-critical", () => $9f78a6c009f32d0a$export$a1f608a9810da50f, (v) => $9f78a6c009f32d0a$export$a1f608a9810da50f = v);
|
|
11
|
-
$parcel$export(module.exports, "is-positive", () => $9f78a6c009f32d0a$export$aea9fd919467f03a, (v) => $9f78a6c009f32d0a$export$aea9fd919467f03a = v);
|
|
12
|
-
$parcel$export(module.exports, "is-warning", () => $9f78a6c009f32d0a$export$d4ebda6218901908, (v) => $9f78a6c009f32d0a$export$d4ebda6218901908 = v);
|
|
13
|
-
$parcel$export(module.exports, "spectrum-BarLoader", () => $9f78a6c009f32d0a$export$162ba336fb0c239f, (v) => $9f78a6c009f32d0a$export$162ba336fb0c239f = v);
|
|
14
|
-
$parcel$export(module.exports, "spectrum-BarLoader--indeterminate", () => $9f78a6c009f32d0a$export$1249dfbb98223794, (v) => $9f78a6c009f32d0a$export$1249dfbb98223794 = v);
|
|
15
|
-
$parcel$export(module.exports, "spectrum-BarLoader--overBackground", () => $9f78a6c009f32d0a$export$55612d0bd9b5d41, (v) => $9f78a6c009f32d0a$export$55612d0bd9b5d41 = v);
|
|
16
|
-
$parcel$export(module.exports, "spectrum-BarLoader--sideLabel", () => $9f78a6c009f32d0a$export$99af8802cc2a10dc, (v) => $9f78a6c009f32d0a$export$99af8802cc2a10dc = v);
|
|
17
|
-
$parcel$export(module.exports, "spectrum-BarLoader--small", () => $9f78a6c009f32d0a$export$b945305960ad74a7, (v) => $9f78a6c009f32d0a$export$b945305960ad74a7 = v);
|
|
18
|
-
$parcel$export(module.exports, "spectrum-BarLoader--staticBlack", () => $9f78a6c009f32d0a$export$f45257a01e7aabeb, (v) => $9f78a6c009f32d0a$export$f45257a01e7aabeb = v);
|
|
19
|
-
$parcel$export(module.exports, "spectrum-BarLoader--staticWhite", () => $9f78a6c009f32d0a$export$734e9273ae1f542e, (v) => $9f78a6c009f32d0a$export$734e9273ae1f542e = v);
|
|
20
|
-
$parcel$export(module.exports, "spectrum-BarLoader-fill", () => $9f78a6c009f32d0a$export$84c9ee7bc724b71b, (v) => $9f78a6c009f32d0a$export$84c9ee7bc724b71b = v);
|
|
21
|
-
$parcel$export(module.exports, "spectrum-BarLoader-label", () => $9f78a6c009f32d0a$export$5379ba198163be86, (v) => $9f78a6c009f32d0a$export$5379ba198163be86 = v);
|
|
22
|
-
$parcel$export(module.exports, "spectrum-BarLoader-percentage", () => $9f78a6c009f32d0a$export$ecc9c825de9d1a18, (v) => $9f78a6c009f32d0a$export$ecc9c825de9d1a18 = v);
|
|
23
|
-
$parcel$export(module.exports, "spectrum-BarLoader-track", () => $9f78a6c009f32d0a$export$3e2e13fb57b5c74b, (v) => $9f78a6c009f32d0a$export$3e2e13fb57b5c74b = v);
|
|
24
|
-
$parcel$export(module.exports, "spectrum-FocusRing-ring", () => $9f78a6c009f32d0a$export$4109102f950813a6, (v) => $9f78a6c009f32d0a$export$4109102f950813a6 = v);
|
|
25
|
-
$parcel$export(module.exports, "spectrum-FocusRing", () => $9f78a6c009f32d0a$export$24c7f46a6e3605dd, (v) => $9f78a6c009f32d0a$export$24c7f46a6e3605dd = v);
|
|
26
|
-
$parcel$export(module.exports, "spectrum-FocusRing--quiet", () => $9f78a6c009f32d0a$export$2927016961429360, (v) => $9f78a6c009f32d0a$export$2927016961429360 = v);
|
|
27
|
-
var $9f78a6c009f32d0a$export$f39a09f249340e2a;
|
|
28
|
-
var $9f78a6c009f32d0a$export$8c4ee2c50c22c514;
|
|
29
|
-
var $9f78a6c009f32d0a$export$a889038a25113dd4;
|
|
30
|
-
var $9f78a6c009f32d0a$export$aeff243cf3356f00;
|
|
31
|
-
var $9f78a6c009f32d0a$export$a1f608a9810da50f;
|
|
32
|
-
var $9f78a6c009f32d0a$export$aea9fd919467f03a;
|
|
33
|
-
var $9f78a6c009f32d0a$export$d4ebda6218901908;
|
|
34
|
-
var $9f78a6c009f32d0a$export$162ba336fb0c239f;
|
|
35
|
-
var $9f78a6c009f32d0a$export$1249dfbb98223794;
|
|
36
|
-
var $9f78a6c009f32d0a$export$55612d0bd9b5d41;
|
|
37
|
-
var $9f78a6c009f32d0a$export$99af8802cc2a10dc;
|
|
38
|
-
var $9f78a6c009f32d0a$export$b945305960ad74a7;
|
|
39
|
-
var $9f78a6c009f32d0a$export$f45257a01e7aabeb;
|
|
40
|
-
var $9f78a6c009f32d0a$export$734e9273ae1f542e;
|
|
41
|
-
var $9f78a6c009f32d0a$export$84c9ee7bc724b71b;
|
|
42
|
-
var $9f78a6c009f32d0a$export$5379ba198163be86;
|
|
43
|
-
var $9f78a6c009f32d0a$export$ecc9c825de9d1a18;
|
|
44
|
-
var $9f78a6c009f32d0a$export$3e2e13fb57b5c74b;
|
|
45
|
-
var $9f78a6c009f32d0a$export$4109102f950813a6;
|
|
46
|
-
var $9f78a6c009f32d0a$export$24c7f46a6e3605dd;
|
|
47
|
-
var $9f78a6c009f32d0a$export$2927016961429360;
|
|
48
|
-
$9f78a6c009f32d0a$export$f39a09f249340e2a = `yaf-qa_focus-ring`;
|
|
49
|
-
$9f78a6c009f32d0a$export$8c4ee2c50c22c514 = `yaf-qa_i18nFontFamily`;
|
|
50
|
-
$9f78a6c009f32d0a$export$a889038a25113dd4 = `yaf-qa_indeterminate-loop-ltr`;
|
|
51
|
-
$9f78a6c009f32d0a$export$a889038a25113dd4;
|
|
52
|
-
$9f78a6c009f32d0a$export$aeff243cf3356f00 = `yaf-qa_indeterminate-loop-rtl`;
|
|
53
|
-
$9f78a6c009f32d0a$export$aeff243cf3356f00;
|
|
54
|
-
$9f78a6c009f32d0a$export$a1f608a9810da50f = `yaf-qa_is-critical`;
|
|
55
|
-
$9f78a6c009f32d0a$export$aea9fd919467f03a = `yaf-qa_is-positive`;
|
|
56
|
-
$9f78a6c009f32d0a$export$d4ebda6218901908 = `yaf-qa_is-warning`;
|
|
57
|
-
$9f78a6c009f32d0a$export$162ba336fb0c239f = `yaf-qa_spectrum-BarLoader`;
|
|
58
|
-
$9f78a6c009f32d0a$export$1249dfbb98223794 = `yaf-qa_spectrum-BarLoader--indeterminate`;
|
|
59
|
-
$9f78a6c009f32d0a$export$55612d0bd9b5d41 = `yaf-qa_spectrum-BarLoader--overBackground`;
|
|
60
|
-
$9f78a6c009f32d0a$export$99af8802cc2a10dc = `yaf-qa_spectrum-BarLoader--sideLabel`;
|
|
61
|
-
$9f78a6c009f32d0a$export$b945305960ad74a7 = `yaf-qa_spectrum-BarLoader--small`;
|
|
62
|
-
$9f78a6c009f32d0a$export$f45257a01e7aabeb = `yaf-qa_spectrum-BarLoader--staticBlack`;
|
|
63
|
-
$9f78a6c009f32d0a$export$734e9273ae1f542e = `yaf-qa_spectrum-BarLoader--staticWhite`;
|
|
64
|
-
$9f78a6c009f32d0a$export$84c9ee7bc724b71b = `yaf-qa_spectrum-BarLoader-fill`;
|
|
65
|
-
$9f78a6c009f32d0a$export$5379ba198163be86 = `yaf-qa_spectrum-BarLoader-label`;
|
|
66
|
-
$9f78a6c009f32d0a$export$ecc9c825de9d1a18 = `yaf-qa_spectrum-BarLoader-percentage`;
|
|
67
|
-
$9f78a6c009f32d0a$export$3e2e13fb57b5c74b = `yaf-qa_spectrum-BarLoader-track`;
|
|
68
|
-
$9f78a6c009f32d0a$export$4109102f950813a6 = `yaf-qa_spectrum-FocusRing-ring`;
|
|
69
|
-
$9f78a6c009f32d0a$export$24c7f46a6e3605dd = `yaf-qa_spectrum-FocusRing ${$9f78a6c009f32d0a$export$4109102f950813a6}`;
|
|
70
|
-
$9f78a6c009f32d0a$export$2927016961429360 = `yaf-qa_spectrum-FocusRing--quiet`;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
//# sourceMappingURL=barloader_vars_css.main.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AAEA,IAAA;AAEA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAtBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E;AACA,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E;AACA,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAuC,CAAC,yBAAyB,CAAC;AAClE,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,2CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,2CAA2C;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/barloader/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"barloader_vars_css.main.js.map"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
function $parcel$export(e, n, v, s) {
|
|
3
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
4
|
-
}
|
|
5
|
-
var $a43f840f49ffbe32$exports = {};
|
|
6
|
-
|
|
7
|
-
$parcel$export($a43f840f49ffbe32$exports, "focus-ring", () => $a43f840f49ffbe32$export$f39a09f249340e2a, (v) => $a43f840f49ffbe32$export$f39a09f249340e2a = v);
|
|
8
|
-
$parcel$export($a43f840f49ffbe32$exports, "i18nFontFamily", () => $a43f840f49ffbe32$export$8c4ee2c50c22c514, (v) => $a43f840f49ffbe32$export$8c4ee2c50c22c514 = v);
|
|
9
|
-
$parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-ltr", () => $a43f840f49ffbe32$export$a889038a25113dd4, (v) => $a43f840f49ffbe32$export$a889038a25113dd4 = v);
|
|
10
|
-
$parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-rtl", () => $a43f840f49ffbe32$export$aeff243cf3356f00, (v) => $a43f840f49ffbe32$export$aeff243cf3356f00 = v);
|
|
11
|
-
$parcel$export($a43f840f49ffbe32$exports, "is-critical", () => $a43f840f49ffbe32$export$a1f608a9810da50f, (v) => $a43f840f49ffbe32$export$a1f608a9810da50f = v);
|
|
12
|
-
$parcel$export($a43f840f49ffbe32$exports, "is-positive", () => $a43f840f49ffbe32$export$aea9fd919467f03a, (v) => $a43f840f49ffbe32$export$aea9fd919467f03a = v);
|
|
13
|
-
$parcel$export($a43f840f49ffbe32$exports, "is-warning", () => $a43f840f49ffbe32$export$d4ebda6218901908, (v) => $a43f840f49ffbe32$export$d4ebda6218901908 = v);
|
|
14
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader", () => $a43f840f49ffbe32$export$162ba336fb0c239f, (v) => $a43f840f49ffbe32$export$162ba336fb0c239f = v);
|
|
15
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--indeterminate", () => $a43f840f49ffbe32$export$1249dfbb98223794, (v) => $a43f840f49ffbe32$export$1249dfbb98223794 = v);
|
|
16
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--overBackground", () => $a43f840f49ffbe32$export$55612d0bd9b5d41, (v) => $a43f840f49ffbe32$export$55612d0bd9b5d41 = v);
|
|
17
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--sideLabel", () => $a43f840f49ffbe32$export$99af8802cc2a10dc, (v) => $a43f840f49ffbe32$export$99af8802cc2a10dc = v);
|
|
18
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--small", () => $a43f840f49ffbe32$export$b945305960ad74a7, (v) => $a43f840f49ffbe32$export$b945305960ad74a7 = v);
|
|
19
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticBlack", () => $a43f840f49ffbe32$export$f45257a01e7aabeb, (v) => $a43f840f49ffbe32$export$f45257a01e7aabeb = v);
|
|
20
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticWhite", () => $a43f840f49ffbe32$export$734e9273ae1f542e, (v) => $a43f840f49ffbe32$export$734e9273ae1f542e = v);
|
|
21
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-fill", () => $a43f840f49ffbe32$export$84c9ee7bc724b71b, (v) => $a43f840f49ffbe32$export$84c9ee7bc724b71b = v);
|
|
22
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-label", () => $a43f840f49ffbe32$export$5379ba198163be86, (v) => $a43f840f49ffbe32$export$5379ba198163be86 = v);
|
|
23
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-percentage", () => $a43f840f49ffbe32$export$ecc9c825de9d1a18, (v) => $a43f840f49ffbe32$export$ecc9c825de9d1a18 = v);
|
|
24
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-track", () => $a43f840f49ffbe32$export$3e2e13fb57b5c74b, (v) => $a43f840f49ffbe32$export$3e2e13fb57b5c74b = v);
|
|
25
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing-ring", () => $a43f840f49ffbe32$export$4109102f950813a6, (v) => $a43f840f49ffbe32$export$4109102f950813a6 = v);
|
|
26
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing", () => $a43f840f49ffbe32$export$24c7f46a6e3605dd, (v) => $a43f840f49ffbe32$export$24c7f46a6e3605dd = v);
|
|
27
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing--quiet", () => $a43f840f49ffbe32$export$2927016961429360, (v) => $a43f840f49ffbe32$export$2927016961429360 = v);
|
|
28
|
-
var $a43f840f49ffbe32$export$f39a09f249340e2a;
|
|
29
|
-
var $a43f840f49ffbe32$export$8c4ee2c50c22c514;
|
|
30
|
-
var $a43f840f49ffbe32$export$a889038a25113dd4;
|
|
31
|
-
var $a43f840f49ffbe32$export$aeff243cf3356f00;
|
|
32
|
-
var $a43f840f49ffbe32$export$a1f608a9810da50f;
|
|
33
|
-
var $a43f840f49ffbe32$export$aea9fd919467f03a;
|
|
34
|
-
var $a43f840f49ffbe32$export$d4ebda6218901908;
|
|
35
|
-
var $a43f840f49ffbe32$export$162ba336fb0c239f;
|
|
36
|
-
var $a43f840f49ffbe32$export$1249dfbb98223794;
|
|
37
|
-
var $a43f840f49ffbe32$export$55612d0bd9b5d41;
|
|
38
|
-
var $a43f840f49ffbe32$export$99af8802cc2a10dc;
|
|
39
|
-
var $a43f840f49ffbe32$export$b945305960ad74a7;
|
|
40
|
-
var $a43f840f49ffbe32$export$f45257a01e7aabeb;
|
|
41
|
-
var $a43f840f49ffbe32$export$734e9273ae1f542e;
|
|
42
|
-
var $a43f840f49ffbe32$export$84c9ee7bc724b71b;
|
|
43
|
-
var $a43f840f49ffbe32$export$5379ba198163be86;
|
|
44
|
-
var $a43f840f49ffbe32$export$ecc9c825de9d1a18;
|
|
45
|
-
var $a43f840f49ffbe32$export$3e2e13fb57b5c74b;
|
|
46
|
-
var $a43f840f49ffbe32$export$4109102f950813a6;
|
|
47
|
-
var $a43f840f49ffbe32$export$24c7f46a6e3605dd;
|
|
48
|
-
var $a43f840f49ffbe32$export$2927016961429360;
|
|
49
|
-
$a43f840f49ffbe32$export$f39a09f249340e2a = `yaf-qa_focus-ring`;
|
|
50
|
-
$a43f840f49ffbe32$export$8c4ee2c50c22c514 = `yaf-qa_i18nFontFamily`;
|
|
51
|
-
$a43f840f49ffbe32$export$a889038a25113dd4 = `yaf-qa_indeterminate-loop-ltr`;
|
|
52
|
-
$a43f840f49ffbe32$export$a889038a25113dd4;
|
|
53
|
-
$a43f840f49ffbe32$export$aeff243cf3356f00 = `yaf-qa_indeterminate-loop-rtl`;
|
|
54
|
-
$a43f840f49ffbe32$export$aeff243cf3356f00;
|
|
55
|
-
$a43f840f49ffbe32$export$a1f608a9810da50f = `yaf-qa_is-critical`;
|
|
56
|
-
$a43f840f49ffbe32$export$aea9fd919467f03a = `yaf-qa_is-positive`;
|
|
57
|
-
$a43f840f49ffbe32$export$d4ebda6218901908 = `yaf-qa_is-warning`;
|
|
58
|
-
$a43f840f49ffbe32$export$162ba336fb0c239f = `yaf-qa_spectrum-BarLoader`;
|
|
59
|
-
$a43f840f49ffbe32$export$1249dfbb98223794 = `yaf-qa_spectrum-BarLoader--indeterminate`;
|
|
60
|
-
$a43f840f49ffbe32$export$55612d0bd9b5d41 = `yaf-qa_spectrum-BarLoader--overBackground`;
|
|
61
|
-
$a43f840f49ffbe32$export$99af8802cc2a10dc = `yaf-qa_spectrum-BarLoader--sideLabel`;
|
|
62
|
-
$a43f840f49ffbe32$export$b945305960ad74a7 = `yaf-qa_spectrum-BarLoader--small`;
|
|
63
|
-
$a43f840f49ffbe32$export$f45257a01e7aabeb = `yaf-qa_spectrum-BarLoader--staticBlack`;
|
|
64
|
-
$a43f840f49ffbe32$export$734e9273ae1f542e = `yaf-qa_spectrum-BarLoader--staticWhite`;
|
|
65
|
-
$a43f840f49ffbe32$export$84c9ee7bc724b71b = `yaf-qa_spectrum-BarLoader-fill`;
|
|
66
|
-
$a43f840f49ffbe32$export$5379ba198163be86 = `yaf-qa_spectrum-BarLoader-label`;
|
|
67
|
-
$a43f840f49ffbe32$export$ecc9c825de9d1a18 = `yaf-qa_spectrum-BarLoader-percentage`;
|
|
68
|
-
$a43f840f49ffbe32$export$3e2e13fb57b5c74b = `yaf-qa_spectrum-BarLoader-track`;
|
|
69
|
-
$a43f840f49ffbe32$export$4109102f950813a6 = `yaf-qa_spectrum-FocusRing-ring`;
|
|
70
|
-
$a43f840f49ffbe32$export$24c7f46a6e3605dd = `yaf-qa_spectrum-FocusRing ${$a43f840f49ffbe32$export$4109102f950813a6}`;
|
|
71
|
-
$a43f840f49ffbe32$export$2927016961429360 = `yaf-qa_spectrum-FocusRing--quiet`;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
export {$a43f840f49ffbe32$exports as default};
|
|
75
|
-
//# sourceMappingURL=barloader_vars_css.module.js.map
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
function $parcel$export(e, n, v, s) {
|
|
3
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
4
|
-
}
|
|
5
|
-
var $a43f840f49ffbe32$exports = {};
|
|
6
|
-
|
|
7
|
-
$parcel$export($a43f840f49ffbe32$exports, "focus-ring", () => $a43f840f49ffbe32$export$f39a09f249340e2a, (v) => $a43f840f49ffbe32$export$f39a09f249340e2a = v);
|
|
8
|
-
$parcel$export($a43f840f49ffbe32$exports, "i18nFontFamily", () => $a43f840f49ffbe32$export$8c4ee2c50c22c514, (v) => $a43f840f49ffbe32$export$8c4ee2c50c22c514 = v);
|
|
9
|
-
$parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-ltr", () => $a43f840f49ffbe32$export$a889038a25113dd4, (v) => $a43f840f49ffbe32$export$a889038a25113dd4 = v);
|
|
10
|
-
$parcel$export($a43f840f49ffbe32$exports, "indeterminate-loop-rtl", () => $a43f840f49ffbe32$export$aeff243cf3356f00, (v) => $a43f840f49ffbe32$export$aeff243cf3356f00 = v);
|
|
11
|
-
$parcel$export($a43f840f49ffbe32$exports, "is-critical", () => $a43f840f49ffbe32$export$a1f608a9810da50f, (v) => $a43f840f49ffbe32$export$a1f608a9810da50f = v);
|
|
12
|
-
$parcel$export($a43f840f49ffbe32$exports, "is-positive", () => $a43f840f49ffbe32$export$aea9fd919467f03a, (v) => $a43f840f49ffbe32$export$aea9fd919467f03a = v);
|
|
13
|
-
$parcel$export($a43f840f49ffbe32$exports, "is-warning", () => $a43f840f49ffbe32$export$d4ebda6218901908, (v) => $a43f840f49ffbe32$export$d4ebda6218901908 = v);
|
|
14
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader", () => $a43f840f49ffbe32$export$162ba336fb0c239f, (v) => $a43f840f49ffbe32$export$162ba336fb0c239f = v);
|
|
15
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--indeterminate", () => $a43f840f49ffbe32$export$1249dfbb98223794, (v) => $a43f840f49ffbe32$export$1249dfbb98223794 = v);
|
|
16
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--overBackground", () => $a43f840f49ffbe32$export$55612d0bd9b5d41, (v) => $a43f840f49ffbe32$export$55612d0bd9b5d41 = v);
|
|
17
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--sideLabel", () => $a43f840f49ffbe32$export$99af8802cc2a10dc, (v) => $a43f840f49ffbe32$export$99af8802cc2a10dc = v);
|
|
18
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--small", () => $a43f840f49ffbe32$export$b945305960ad74a7, (v) => $a43f840f49ffbe32$export$b945305960ad74a7 = v);
|
|
19
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticBlack", () => $a43f840f49ffbe32$export$f45257a01e7aabeb, (v) => $a43f840f49ffbe32$export$f45257a01e7aabeb = v);
|
|
20
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader--staticWhite", () => $a43f840f49ffbe32$export$734e9273ae1f542e, (v) => $a43f840f49ffbe32$export$734e9273ae1f542e = v);
|
|
21
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-fill", () => $a43f840f49ffbe32$export$84c9ee7bc724b71b, (v) => $a43f840f49ffbe32$export$84c9ee7bc724b71b = v);
|
|
22
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-label", () => $a43f840f49ffbe32$export$5379ba198163be86, (v) => $a43f840f49ffbe32$export$5379ba198163be86 = v);
|
|
23
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-percentage", () => $a43f840f49ffbe32$export$ecc9c825de9d1a18, (v) => $a43f840f49ffbe32$export$ecc9c825de9d1a18 = v);
|
|
24
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-BarLoader-track", () => $a43f840f49ffbe32$export$3e2e13fb57b5c74b, (v) => $a43f840f49ffbe32$export$3e2e13fb57b5c74b = v);
|
|
25
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing-ring", () => $a43f840f49ffbe32$export$4109102f950813a6, (v) => $a43f840f49ffbe32$export$4109102f950813a6 = v);
|
|
26
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing", () => $a43f840f49ffbe32$export$24c7f46a6e3605dd, (v) => $a43f840f49ffbe32$export$24c7f46a6e3605dd = v);
|
|
27
|
-
$parcel$export($a43f840f49ffbe32$exports, "spectrum-FocusRing--quiet", () => $a43f840f49ffbe32$export$2927016961429360, (v) => $a43f840f49ffbe32$export$2927016961429360 = v);
|
|
28
|
-
var $a43f840f49ffbe32$export$f39a09f249340e2a;
|
|
29
|
-
var $a43f840f49ffbe32$export$8c4ee2c50c22c514;
|
|
30
|
-
var $a43f840f49ffbe32$export$a889038a25113dd4;
|
|
31
|
-
var $a43f840f49ffbe32$export$aeff243cf3356f00;
|
|
32
|
-
var $a43f840f49ffbe32$export$a1f608a9810da50f;
|
|
33
|
-
var $a43f840f49ffbe32$export$aea9fd919467f03a;
|
|
34
|
-
var $a43f840f49ffbe32$export$d4ebda6218901908;
|
|
35
|
-
var $a43f840f49ffbe32$export$162ba336fb0c239f;
|
|
36
|
-
var $a43f840f49ffbe32$export$1249dfbb98223794;
|
|
37
|
-
var $a43f840f49ffbe32$export$55612d0bd9b5d41;
|
|
38
|
-
var $a43f840f49ffbe32$export$99af8802cc2a10dc;
|
|
39
|
-
var $a43f840f49ffbe32$export$b945305960ad74a7;
|
|
40
|
-
var $a43f840f49ffbe32$export$f45257a01e7aabeb;
|
|
41
|
-
var $a43f840f49ffbe32$export$734e9273ae1f542e;
|
|
42
|
-
var $a43f840f49ffbe32$export$84c9ee7bc724b71b;
|
|
43
|
-
var $a43f840f49ffbe32$export$5379ba198163be86;
|
|
44
|
-
var $a43f840f49ffbe32$export$ecc9c825de9d1a18;
|
|
45
|
-
var $a43f840f49ffbe32$export$3e2e13fb57b5c74b;
|
|
46
|
-
var $a43f840f49ffbe32$export$4109102f950813a6;
|
|
47
|
-
var $a43f840f49ffbe32$export$24c7f46a6e3605dd;
|
|
48
|
-
var $a43f840f49ffbe32$export$2927016961429360;
|
|
49
|
-
$a43f840f49ffbe32$export$f39a09f249340e2a = `yaf-qa_focus-ring`;
|
|
50
|
-
$a43f840f49ffbe32$export$8c4ee2c50c22c514 = `yaf-qa_i18nFontFamily`;
|
|
51
|
-
$a43f840f49ffbe32$export$a889038a25113dd4 = `yaf-qa_indeterminate-loop-ltr`;
|
|
52
|
-
$a43f840f49ffbe32$export$a889038a25113dd4;
|
|
53
|
-
$a43f840f49ffbe32$export$aeff243cf3356f00 = `yaf-qa_indeterminate-loop-rtl`;
|
|
54
|
-
$a43f840f49ffbe32$export$aeff243cf3356f00;
|
|
55
|
-
$a43f840f49ffbe32$export$a1f608a9810da50f = `yaf-qa_is-critical`;
|
|
56
|
-
$a43f840f49ffbe32$export$aea9fd919467f03a = `yaf-qa_is-positive`;
|
|
57
|
-
$a43f840f49ffbe32$export$d4ebda6218901908 = `yaf-qa_is-warning`;
|
|
58
|
-
$a43f840f49ffbe32$export$162ba336fb0c239f = `yaf-qa_spectrum-BarLoader`;
|
|
59
|
-
$a43f840f49ffbe32$export$1249dfbb98223794 = `yaf-qa_spectrum-BarLoader--indeterminate`;
|
|
60
|
-
$a43f840f49ffbe32$export$55612d0bd9b5d41 = `yaf-qa_spectrum-BarLoader--overBackground`;
|
|
61
|
-
$a43f840f49ffbe32$export$99af8802cc2a10dc = `yaf-qa_spectrum-BarLoader--sideLabel`;
|
|
62
|
-
$a43f840f49ffbe32$export$b945305960ad74a7 = `yaf-qa_spectrum-BarLoader--small`;
|
|
63
|
-
$a43f840f49ffbe32$export$f45257a01e7aabeb = `yaf-qa_spectrum-BarLoader--staticBlack`;
|
|
64
|
-
$a43f840f49ffbe32$export$734e9273ae1f542e = `yaf-qa_spectrum-BarLoader--staticWhite`;
|
|
65
|
-
$a43f840f49ffbe32$export$84c9ee7bc724b71b = `yaf-qa_spectrum-BarLoader-fill`;
|
|
66
|
-
$a43f840f49ffbe32$export$5379ba198163be86 = `yaf-qa_spectrum-BarLoader-label`;
|
|
67
|
-
$a43f840f49ffbe32$export$ecc9c825de9d1a18 = `yaf-qa_spectrum-BarLoader-percentage`;
|
|
68
|
-
$a43f840f49ffbe32$export$3e2e13fb57b5c74b = `yaf-qa_spectrum-BarLoader-track`;
|
|
69
|
-
$a43f840f49ffbe32$export$4109102f950813a6 = `yaf-qa_spectrum-FocusRing-ring`;
|
|
70
|
-
$a43f840f49ffbe32$export$24c7f46a6e3605dd = `yaf-qa_spectrum-FocusRing ${$a43f840f49ffbe32$export$4109102f950813a6}`;
|
|
71
|
-
$a43f840f49ffbe32$export$2927016961429360 = `yaf-qa_spectrum-FocusRing--quiet`;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
export {$a43f840f49ffbe32$exports as default};
|
|
75
|
-
//# sourceMappingURL=barloader_vars_css.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AAEA,IAAA;AAEA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAtBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E;AACA,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E;AACA,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAAgC,CAAC,kBAAkB,CAAC;AACpD,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAuC,CAAC,yBAAyB,CAAC;AAClE,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,2CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAuC,CAAC,0BAA0B,EAAE,2CAA2C;AAC/G,4CAA8C,CAAC,gCAAgC,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/barloader/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"barloader_vars_css.module.js.map"}
|
package/dist/meter.228d7fc4.css
DELETED
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
.yaf-qa_i18nFontFamily {
|
|
2
|
-
font-synthesis: weight;
|
|
3
|
-
font-family: adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.yaf-qa_i18nFontFamily:lang(ar) {
|
|
7
|
-
font-family: myriad-arabic, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.yaf-qa_i18nFontFamily:lang(he) {
|
|
11
|
-
font-family: myriad-hebrew, adobe-clean, Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Trebuchet MS, Lucida Grande, sans-serif;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.yaf-qa_i18nFontFamily:lang(zh) {
|
|
15
|
-
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Heiti TC Light, sans-serif;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.yaf-qa_i18nFontFamily:lang(zh-Hans) {
|
|
19
|
-
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.yaf-qa_i18nFontFamily:lang(zh-Hant) {
|
|
23
|
-
font-family: adobe-clean-han-traditional, source-han-traditional, MingLiu, Microsoft JhengHei UI, Microsoft JhengHei, Heiti TC Light, sans-serif;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.yaf-qa_i18nFontFamily:lang(zh-SG), .yaf-qa_i18nFontFamily:lang(zh-CN) {
|
|
27
|
-
font-family: adobe-clean-han-simplified-c, source-han-simplified-c, SimSun, Heiti SC Light, sans-serif;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.yaf-qa_i18nFontFamily:lang(ko) {
|
|
31
|
-
font-family: adobe-clean-han-korean, source-han-korean, Malgun Gothic, Apple Gothic, sans-serif;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.yaf-qa_i18nFontFamily:lang(ja) {
|
|
35
|
-
font-family: adobe-clean-han-japanese, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ ProN W3, Osaka, YuGothic, Yu Gothic, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.yaf-qa_spectrum-FocusRing-ring {
|
|
39
|
-
--spectrum-focus-ring-border-radius: var(--spectrum-textfield-border-radius, var(--spectrum-alias-border-radius-regular));
|
|
40
|
-
--spectrum-focus-ring-gap: var(--spectrum-alias-input-focusring-gap);
|
|
41
|
-
--spectrum-focus-ring-size: var(--spectrum-alias-input-focusring-size);
|
|
42
|
-
--spectrum-focus-ring-border-size: 0px;
|
|
43
|
-
--spectrum-focus-ring-color: var(--spectrum-high-contrast-focus-ring-color, var(--spectrum-alias-focus-ring-color, var(--spectrum-alias-focus-color)));
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.yaf-qa_spectrum-FocusRing-ring:after {
|
|
47
|
-
border-radius: calc(var(--spectrum-focus-ring-border-radius) + var(--spectrum-focus-ring-gap));
|
|
48
|
-
content: "";
|
|
49
|
-
margin: calc(-1 * var(--spectrum-focus-ring-border-size));
|
|
50
|
-
pointer-events: none;
|
|
51
|
-
transition: box-shadow var(--spectrum-global-animation-duration-100, .13s) ease-out, margin var(--spectrum-global-animation-duration-100, .13s) ease-out;
|
|
52
|
-
display: block;
|
|
53
|
-
position: absolute;
|
|
54
|
-
inset: 0;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.yaf-qa_spectrum-FocusRing.yaf-qa_focus-ring:after {
|
|
58
|
-
margin: calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size));
|
|
59
|
-
box-shadow: 0 0 0 var(--spectrum-focus-ring-size) var(--spectrum-focus-ring-color);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.yaf-qa_spectrum-FocusRing--quiet:after {
|
|
63
|
-
border-radius: 0;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.yaf-qa_spectrum-FocusRing--quiet.yaf-qa_focus-ring:after {
|
|
67
|
-
margin: 0 0 calc(var(--spectrum-focus-ring-gap) * -1 - var(--spectrum-focus-ring-border-size)) 0;
|
|
68
|
-
box-shadow: 0 var(--spectrum-focus-ring-size) 0 var(--spectrum-focus-ring-color);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@media (forced-colors: active) {
|
|
72
|
-
.yaf-qa_spectrum-FocusRing, .yaf-qa_spectrum-FocusRing-ring, .yaf-qa_spectrum-FocusRing--quiet {
|
|
73
|
-
--spectrum-high-contrast-focus-ring-color: Highlight;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
:is(.yaf-qa_spectrum-FocusRing, .yaf-qa_spectrum-FocusRing-ring, .yaf-qa_spectrum-FocusRing--quiet):after {
|
|
77
|
-
forced-color-adjust: none;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.yaf-qa_spectrum-BarLoader {
|
|
82
|
-
min-inline-size: var(--spectrum-global-dimension-static-size-600, 48px);
|
|
83
|
-
inline-size: var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400));
|
|
84
|
-
vertical-align: top;
|
|
85
|
-
isolation: isolate;
|
|
86
|
-
flex-flow: wrap;
|
|
87
|
-
justify-content: space-between;
|
|
88
|
-
align-items: center;
|
|
89
|
-
display: inline-flex;
|
|
90
|
-
position: relative;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--indeterminate {
|
|
94
|
-
max-inline-size: var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400));
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--indeterminate.yaf-qa_spectrum-BarLoader--sideLabel .yaf-qa_spectrum-BarLoader-track {
|
|
98
|
-
max-inline-size: var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400));
|
|
99
|
-
inline-size: 100%;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.yaf-qa_spectrum-BarLoader-track {
|
|
103
|
-
min-inline-size: var(--spectrum-global-dimension-static-size-600, 48px);
|
|
104
|
-
inline-size: 100%;
|
|
105
|
-
height: var(--spectrum-barloader-large-height, var(--spectrum-global-dimension-size-75));
|
|
106
|
-
border-radius: var(--spectrum-barloader-large-border-radius);
|
|
107
|
-
z-index: 1;
|
|
108
|
-
overflow: hidden;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.yaf-qa_spectrum-BarLoader-fill {
|
|
112
|
-
height: var(--spectrum-barloader-large-height, var(--spectrum-global-dimension-size-75));
|
|
113
|
-
border: none;
|
|
114
|
-
transition: width 1s;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.yaf-qa_spectrum-BarLoader-label, .yaf-qa_spectrum-BarLoader-percentage {
|
|
118
|
-
font-size: var(--spectrum-fieldlabel-text-size, var(--spectrum-global-dimension-font-size-75));
|
|
119
|
-
font-weight: var(--spectrum-fieldlabel-text-font-weight, var(--spectrum-global-font-weight-regular));
|
|
120
|
-
line-height: var(--spectrum-fieldlabel-text-line-height, var(--spectrum-global-font-line-height-small));
|
|
121
|
-
text-align: start;
|
|
122
|
-
margin-bottom: var(--spectrum-barloader-large-label-gap-y, var(--spectrum-global-dimension-size-115));
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.yaf-qa_spectrum-BarLoader-label {
|
|
126
|
-
flex: 1;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.yaf-qa_spectrum-BarLoader-percentage {
|
|
130
|
-
align-self: flex-start;
|
|
131
|
-
margin-inline-start: var(--spectrum-barloader-small-label-gap-x, var(--spectrum-global-dimension-size-150));
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.yaf-qa_spectrum-BarLoader--sideLabel {
|
|
135
|
-
flex-flow: row;
|
|
136
|
-
justify-content: space-between;
|
|
137
|
-
min-inline-size: fit-content;
|
|
138
|
-
display: inline-flex;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.yaf-qa_spectrum-BarLoader--sideLabel .yaf-qa_spectrum-BarLoader-track {
|
|
142
|
-
inline-size: inherit;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.yaf-qa_spectrum-BarLoader--sideLabel .yaf-qa_spectrum-BarLoader-label {
|
|
146
|
-
margin-inline-end: var(--spectrum-barloader-large-label-gap-x, var(--spectrum-global-dimension-size-150));
|
|
147
|
-
margin-bottom: 0;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.yaf-qa_spectrum-BarLoader--sideLabel .yaf-qa_spectrum-BarLoader-percentage {
|
|
151
|
-
text-align: end;
|
|
152
|
-
margin-inline-start: var(--spectrum-barloader-large-label-gap-x, var(--spectrum-global-dimension-size-150));
|
|
153
|
-
order: 3;
|
|
154
|
-
margin-bottom: 0;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.yaf-qa_spectrum-BarLoader--small {
|
|
158
|
-
min-inline-size: var(--spectrum-global-dimension-static-size-600, 48px);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.yaf-qa_spectrum-BarLoader--small .yaf-qa_spectrum-BarLoader-fill {
|
|
162
|
-
height: var(--spectrum-barloader-small-height, var(--spectrum-global-dimension-size-50));
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.yaf-qa_spectrum-BarLoader--small .yaf-qa_spectrum-BarLoader-track {
|
|
166
|
-
height: var(--spectrum-barloader-small-height, var(--spectrum-global-dimension-size-50));
|
|
167
|
-
border-radius: var(--spectrum-barloader-small-border-radius);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.yaf-qa_spectrum-BarLoader--indeterminate .yaf-qa_spectrum-BarLoader-fill {
|
|
171
|
-
inline-size: var(--spectrum-barloader-large-indeterminate-fill-width, var(--spectrum-global-dimension-size-1700));
|
|
172
|
-
animation-duration: var(--spectrum-barloader-large-indeterminate-duration, var(--spectrum-global-animation-duration-2000));
|
|
173
|
-
animation-iteration-count: infinite;
|
|
174
|
-
animation-timing-function: var(--spectrum-barloader-large-indeterminate-animation-ease, var(--spectrum-global-animation-ease-in-out));
|
|
175
|
-
will-change: transform;
|
|
176
|
-
position: relative;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
[dir="ltr"] :is(.yaf-qa_spectrum-BarLoader--indeterminate .yaf-qa_spectrum-BarLoader-fill) {
|
|
180
|
-
animation-name: yaf-qa_indeterminate-loop-ltr;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
[dir="rtl"] :is(.yaf-qa_spectrum-BarLoader--indeterminate .yaf-qa_spectrum-BarLoader-fill) {
|
|
184
|
-
animation-name: yaf-qa_indeterminate-loop-rtl;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@keyframes yaf-qa_indeterminate-loop-ltr {
|
|
188
|
-
from {
|
|
189
|
-
transform: translate(calc(var(--spectrum-barloader-large-indeterminate-fill-width, var(--spectrum-global-dimension-size-1700)) * -1));
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
to {
|
|
193
|
-
transform: translate(var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400)));
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
@keyframes yaf-qa_indeterminate-loop-rtl {
|
|
198
|
-
from {
|
|
199
|
-
transform: translate(var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400)));
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
to {
|
|
203
|
-
transform: translate(calc(var(--spectrum-barloader-large-width, var(--spectrum-global-dimension-size-2400)) * -1));
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.yaf-qa_spectrum-BarLoader {
|
|
208
|
-
--spectrum-barloader-large-track-fill-color: var(--spectrum-accent-color-900);
|
|
209
|
-
--spectrum-barloader-static-black-track-color: #00000040;
|
|
210
|
-
--spectrum-barloader-static-black-fill-color: var(--spectrum-global-color-static-black, #000);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.yaf-qa_spectrum-BarLoader .yaf-qa_spectrum-BarLoader-fill {
|
|
214
|
-
background: var(--spectrum-barloader-large-track-fill-color, var(--spectrum-global-color-blue-500));
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.yaf-qa_spectrum-BarLoader .yaf-qa_spectrum-BarLoader-track {
|
|
218
|
-
background-color: var(--spectrum-barloader-large-track-color, var(--spectrum-alias-track-color-default));
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--overBackground .yaf-qa_spectrum-BarLoader-fill {
|
|
222
|
-
background: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--overBackground .yaf-qa_spectrum-BarLoader-label, .yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--overBackground .yaf-qa_spectrum-BarLoader-percentage {
|
|
226
|
-
color: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--overBackground .yaf-qa_spectrum-BarLoader-track {
|
|
230
|
-
background-color: var(--spectrum-barloader-large-over-background-track-color, var(--spectrum-alias-track-color-over-background));
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--staticWhite .yaf-qa_spectrum-BarLoader-fill {
|
|
234
|
-
background: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--staticWhite .yaf-qa_spectrum-BarLoader-label, .yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--staticWhite .yaf-qa_spectrum-BarLoader-percentage {
|
|
238
|
-
color: var(--spectrum-barloader-large-over-background-track-fill-color, var(--spectrum-global-color-static-white));
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--staticWhite .yaf-qa_spectrum-BarLoader-track {
|
|
242
|
-
background-color: var(--spectrum-barloader-large-over-background-track-color, var(--spectrum-alias-track-color-over-background));
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--staticBlack .yaf-qa_spectrum-BarLoader-track {
|
|
246
|
-
background-color: var(--spectrum-barloader-static-black-track-color);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--staticBlack .yaf-qa_spectrum-BarLoader-label, .yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--staticBlack .yaf-qa_spectrum-BarLoader-percentage {
|
|
250
|
-
color: var(--spectrum-barloader-static-black-fill-color);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_spectrum-BarLoader--staticBlack .yaf-qa_spectrum-BarLoader-fill {
|
|
254
|
-
background: var(--spectrum-barloader-static-black-fill-color);
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_is-positive .yaf-qa_spectrum-BarLoader-fill {
|
|
258
|
-
background: var(--spectrum-meter-large-track-color-positive, var(--spectrum-semantic-positive-color-status));
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_is-warning .yaf-qa_spectrum-BarLoader-fill {
|
|
262
|
-
background: var(--spectrum-meter-large-track-color-warning, var(--spectrum-semantic-notice-color-status));
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.yaf-qa_spectrum-BarLoader.yaf-qa_is-critical .yaf-qa_spectrum-BarLoader-fill {
|
|
266
|
-
background: var(--spectrum-meter-large-track-color-critical, var(--spectrum-semantic-negative-color-status));
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.yaf-qa_spectrum-BarLoader-label, .yaf-qa_spectrum-BarLoader-percentage {
|
|
270
|
-
color: var(--spectrum-fieldlabel-text-color, var(--spectrum-alias-label-text-color));
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
@media (forced-colors: active) {
|
|
274
|
-
.yaf-qa_spectrum-BarLoader-track {
|
|
275
|
-
forced-color-adjust: none;
|
|
276
|
-
--spectrum-barloader-large-track-fill-color: ButtonText;
|
|
277
|
-
--spectrum-barloader-large-over-background-track-fill-color: ButtonText;
|
|
278
|
-
--spectrum-barloader-large-over-background-track-color: ButtonFace;
|
|
279
|
-
--spectrum-barloader-static-black-track-color: ButtonFace;
|
|
280
|
-
--spectrum-barloader-static-black-fill-color: ButtonText;
|
|
281
|
-
--spectrum-meter-large-track-color-positive: ButtonText;
|
|
282
|
-
--spectrum-meter-large-track-color-warning: ButtonText;
|
|
283
|
-
--spectrum-meter-large-track-color-critical: ButtonText;
|
|
284
|
-
--spectrum-barloader-large-track-color: ButtonFace;
|
|
285
|
-
border: 1px solid buttontext;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
/*# sourceMappingURL=meter.228d7fc4.css.map */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":"AA4DA;;;;;AAIE;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAQA;;;;AAIA;;;;AAKF;;;;;;;;AAOE;;;;;;;;;;;AAqBE;;;;;AAQF;;;;AAKE;;;;;AAOJ;EACE;;;;EAIE;;;;;AAMJ;;;;;;;;;;;;AAWE;;;;AAKE;;;;;AAOJ;;;;;;;;;AAUA;;;;;;AAOA;;;;;;;;AASA;;;;AAIA;;;;;AAKA;;;;;;;AAME;;;;AAIA;;;;;AAIA;;;;;;;AAQF;;;;AAGE;;;;AAIA;;;;;AAMF;;;;;;;;;AAQE;;;;AAGA;;;;AAKF;;;;;;;;;;AASA;;;;;;;;;;AAqBA;;;;;;AAKE;;;;AAIA;;;;AAME;;;;AAIA;;;;AAKA;;;;AATA;;;;AAIA;;;;AAKA;;;;AAMA;;;;AAIA;;;;AAKA;;;;AAKA;;;;AAKA;;;;AAKA;;;;AAMJ;;;;AAeA;EACE","sources":["packages/@adobe/spectrum-css-temp/components/barloader/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"meter.228d7fc4.css.map"}
|
package/dist/types.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SpectrumMeterProps } from "@react-types/meter";
|
|
3
|
-
import { DOMRefValue } from "@react-types/shared";
|
|
4
|
-
/**
|
|
5
|
-
* Meters are visual representations of a quantity or an achievement.
|
|
6
|
-
* Their progress is determined by user actions, rather than system actions.
|
|
7
|
-
*/
|
|
8
|
-
export const Meter: React.ForwardRefExoticComponent<SpectrumMeterProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
|
|
9
|
-
export type { SpectrumMeterProps } from '@react-types/meter';
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;AAoBA;;;GAGG;AACH,OAAO,MAAM,6GAwBX,CAAC;ACjCH,YAAY,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC","sources":["packages/@react-spectrum/meter/src/packages/@react-spectrum/meter/src/Meter.tsx","packages/@react-spectrum/meter/src/packages/@react-spectrum/meter/src/index.ts","packages/@react-spectrum/meter/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {Meter} from './Meter';\nexport type {SpectrumMeterProps} from '@react-types/meter';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
package/src/Meter.tsx
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import {classNames} from '@react-spectrum/utils';
|
|
14
|
-
import {DOMRef} from '@react-types/shared';
|
|
15
|
-
import {ProgressBarBase} from '@react-spectrum/progress';
|
|
16
|
-
import React from 'react';
|
|
17
|
-
import {SpectrumMeterProps} from '@react-types/meter';
|
|
18
|
-
import styles from '@adobe/spectrum-css-temp/components/barloader/vars.css';
|
|
19
|
-
import {useMeter} from '@react-aria/meter';
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Meters are visual representations of a quantity or an achievement.
|
|
23
|
-
* Their progress is determined by user actions, rather than system actions.
|
|
24
|
-
*/
|
|
25
|
-
export const Meter = React.forwardRef(function Meter(props: SpectrumMeterProps, ref: DOMRef<HTMLDivElement>) {
|
|
26
|
-
let {variant = 'informative', ...otherProps} = props;
|
|
27
|
-
const {
|
|
28
|
-
meterProps,
|
|
29
|
-
labelProps
|
|
30
|
-
} = useMeter(props);
|
|
31
|
-
|
|
32
|
-
return (
|
|
33
|
-
<ProgressBarBase
|
|
34
|
-
{...otherProps}
|
|
35
|
-
ref={ref}
|
|
36
|
-
barProps={meterProps}
|
|
37
|
-
labelProps={labelProps}
|
|
38
|
-
barClassName={
|
|
39
|
-
classNames(
|
|
40
|
-
styles,
|
|
41
|
-
{
|
|
42
|
-
'is-positive': variant === 'positive',
|
|
43
|
-
'is-warning': variant === 'warning',
|
|
44
|
-
'is-critical': variant === 'critical'
|
|
45
|
-
}
|
|
46
|
-
)
|
|
47
|
-
} />
|
|
48
|
-
);
|
|
49
|
-
});
|