@react-spectrum/icon 3.3.2 → 3.3.5
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 -2
- package/dist/main.js +238 -156
- package/dist/main.js.map +1 -1
- package/dist/module.js +224 -138
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/main.css.map +0 -1
package/dist/main.css
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
.
|
|
2
|
-
/*# sourceMappingURL=main.css.map */
|
|
1
|
+
.spectrum-Icon_368b34,.spectrum-UIIcon_368b34{color:inherit;fill:currentColor;pointer-events:none;display:inline-block}.spectrum-Icon_368b34:not(:root),.spectrum-UIIcon_368b34:not(:root){overflow:hidden}@media (forced-colors:active){.spectrum-Icon_368b34,.spectrum-UIIcon_368b34{forced-color-adjust:auto}}.spectrum-Icon--sizeXXS_368b34,.spectrum-Icon--sizeXXS_368b34 img,.spectrum-Icon--sizeXXS_368b34 svg{height:calc(var(--spectrum-alias-workflow-icon-size,var(--spectrum-global-dimension-size-225))/2);width:calc(var(--spectrum-alias-workflow-icon-size,var(--spectrum-global-dimension-size-225))/2)}.spectrum-Icon--sizeXS_368b34,.spectrum-Icon--sizeXS_368b34 img,.spectrum-Icon--sizeXS_368b34 svg{height:calc(var(--spectrum-global-dimension-size-300)/2);width:calc(var(--spectrum-global-dimension-size-300)/2)}.spectrum-Icon--sizeS_368b34,.spectrum-Icon--sizeS_368b34 img,.spectrum-Icon--sizeS_368b34 svg{height:var(--spectrum-alias-workflow-icon-size,var(--spectrum-global-dimension-size-225));width:var(--spectrum-alias-workflow-icon-size,var(--spectrum-global-dimension-size-225))}.spectrum-Icon--sizeM_368b34,.spectrum-Icon--sizeM_368b34 img,.spectrum-Icon--sizeM_368b34 svg{height:var(--spectrum-global-dimension-size-300);width:var(--spectrum-global-dimension-size-300)}.spectrum-Icon--sizeL_368b34,.spectrum-Icon--sizeL_368b34 img,.spectrum-Icon--sizeL_368b34 svg{height:calc(var(--spectrum-alias-workflow-icon-size,var(--spectrum-global-dimension-size-225))*2);width:calc(var(--spectrum-alias-workflow-icon-size,var(--spectrum-global-dimension-size-225))*2)}.spectrum-Icon--sizeXL_368b34,.spectrum-Icon--sizeXL_368b34 img,.spectrum-Icon--sizeXL_368b34 svg{height:calc(var(--spectrum-global-dimension-size-300)*2);width:calc(var(--spectrum-global-dimension-size-300)*2)}.spectrum-Icon--sizeXXL_368b34,.spectrum-Icon--sizeXXL_368b34 img,.spectrum-Icon--sizeXXL_368b34 svg{height:calc(var(--spectrum-global-dimension-size-300)*3);width:calc(var(--spectrum-global-dimension-size-300)*3)}.spectrum--medium_368b34 .spectrum-UIIcon--large_368b34{display:none}.spectrum--medium_368b34 .spectrum-UIIcon--medium_368b34{display:inline}.spectrum--large_368b34 .spectrum-UIIcon--medium_368b34{display:none}.spectrum--large_368b34 .spectrum-UIIcon--large_368b34{display:inline}.spectrum--large_368b34{--ui-icon-large-display:block;--ui-icon-medium-display:none}.spectrum--medium_368b34{--ui-icon-medium-display:block;--ui-icon-large-display:none}.spectrum-UIIcon--large_368b34{display:var(--ui-icon-large-display)}.spectrum-UIIcon--medium_368b34{display:var(--ui-icon-medium-display)}.spectrum-UIIcon-AlertMedium_368b34{width:var(--spectrum-icon-alert-medium-width,var(--spectrum-global-dimension-size-225));height:var(--spectrum-icon-alert-medium-height,var(--spectrum-global-dimension-size-225))}.spectrum-UIIcon-AlertSmall_368b34{width:var(--spectrum-icon-alert-small-width,var(--spectrum-global-dimension-size-175));height:var(--spectrum-icon-alert-small-height,var(--spectrum-global-dimension-size-175))}.spectrum-UIIcon-ArrowDownSmall_368b34{width:var(--spectrum-icon-arrow-down-small-width,var(--spectrum-global-dimension-size-100));height:var(--spectrum-icon-arrow-down-small-height)}.spectrum-UIIcon-ArrowLeftMedium_368b34{width:var(--spectrum-icon-arrow-left-medium-width,var(--spectrum-global-dimension-size-175));height:var(--spectrum-icon-arrow-left-medium-height)}.spectrum-UIIcon-Asterisk_368b34{width:var(--spectrum-fieldlabel-asterisk-size,var(--spectrum-global-dimension-size-100));height:var(--spectrum-fieldlabel-asterisk-size,var(--spectrum-global-dimension-size-100))}.spectrum-UIIcon-CheckmarkMedium_368b34{width:var(--spectrum-icon-checkmark-medium-width);height:var(--spectrum-icon-checkmark-medium-height)}.spectrum-UIIcon-CheckmarkSmall_368b34{width:var(--spectrum-icon-checkmark-small-width);height:var(--spectrum-icon-checkmark-small-height)}.spectrum-UIIcon-ChevronDownMedium_368b34{width:var(--spectrum-icon-chevron-down-medium-width);height:var(--spectrum-icon-chevron-down-medium-height,var(--spectrum-global-dimension-size-75))}.spectrum-UIIcon-ChevronDownSmall_368b34{width:var(--spectrum-icon-chevron-down-small-width,var(--spectrum-global-dimension-size-100));height:var(--spectrum-icon-chevron-down-small-height,var(--spectrum-global-dimension-size-75))}.spectrum-UIIcon-ChevronLeftLarge_368b34{width:var(--spectrum-icon-chevron-left-large-width);height:var(--spectrum-icon-chevron-left-large-height,var(--spectrum-global-dimension-size-200))}.spectrum-UIIcon-ChevronLeftMedium_368b34{width:var(--spectrum-icon-chevron-left-medium-width,var(--spectrum-global-dimension-size-75));height:var(--spectrum-icon-chevron-left-medium-height)}.spectrum-UIIcon-ChevronRightLarge_368b34{width:var(--spectrum-icon-chevron-right-large-width);height:var(--spectrum-icon-chevron-right-large-height,var(--spectrum-global-dimension-size-200))}.spectrum-UIIcon-ChevronRightMedium_368b34{width:var(--spectrum-icon-chevron-right-medium-width,var(--spectrum-global-dimension-size-75));height:var(--spectrum-icon-chevron-right-medium-height)}.spectrum-UIIcon-ChevronRightSmall_368b34{width:var(--spectrum-icon-chevron-right-small-width,var(--spectrum-global-dimension-size-75));height:var(--spectrum-icon-chevron-right-small-height,var(--spectrum-global-dimension-size-100))}.spectrum-UIIcon-ChevronUpSmall_368b34{width:var(--spectrum-icon-chevron-up-small-width,var(--spectrum-global-dimension-size-100));height:var(--spectrum-icon-chevron-up-small-height,var(--spectrum-global-dimension-size-75))}.spectrum-UIIcon-CornerTriangle_368b34{width:var(--spectrum-icon-cornertriangle-width,var(--spectrum-global-dimension-size-65));height:var(--spectrum-icon-cornertriangle-height,var(--spectrum-global-dimension-size-65))}.spectrum-UIIcon-CrossLarge_368b34{width:var(--spectrum-icon-cross-large-width);height:var(--spectrum-icon-cross-large-height)}.spectrum-UIIcon-CrossMedium_368b34{width:var(--spectrum-icon-cross-medium-width,var(--spectrum-global-dimension-size-100));height:var(--spectrum-icon-cross-medium-height,var(--spectrum-global-dimension-size-100))}.spectrum-UIIcon-CrossSmall_368b34{width:var(--spectrum-icon-cross-small-width,var(--spectrum-global-dimension-size-100));height:var(--spectrum-icon-cross-small-height,var(--spectrum-global-dimension-size-100))}.spectrum-UIIcon-DashSmall_368b34{width:var(--spectrum-icon-dash-small-width);height:var(--spectrum-icon-dash-small-height)}.spectrum-UIIcon-DoubleGripper_368b34{width:var(--spectrum-icon-doublegripper-width,var(--spectrum-global-dimension-size-200));height:var(--spectrum-icon-doublegripper-height,var(--spectrum-global-dimension-size-50))}.spectrum-UIIcon-FolderBreadcrumb_368b34{width:var(--spectrum-icon-folderbreadcrumb-width,var(--spectrum-global-dimension-size-225));height:var(--spectrum-icon-folderbreadcrumb-height,var(--spectrum-global-dimension-size-225))}.spectrum-UIIcon-HelpMedium_368b34{width:var(--spectrum-icon-info-medium-width,var(--spectrum-global-dimension-size-225));height:var(--spectrum-icon-info-medium-height,var(--spectrum-global-dimension-size-225))}.spectrum-UIIcon-HelpSmall_368b34{width:var(--spectrum-icon-info-small-width,var(--spectrum-global-dimension-size-175));height:var(--spectrum-icon-info-small-height,var(--spectrum-global-dimension-size-175))}.spectrum-UIIcon-InfoMedium_368b34{width:var(--spectrum-icon-info-medium-width,var(--spectrum-global-dimension-size-225));height:var(--spectrum-icon-info-medium-height,var(--spectrum-global-dimension-size-225))}.spectrum-UIIcon-InfoSmall_368b34{width:var(--spectrum-icon-info-small-width,var(--spectrum-global-dimension-size-175));height:var(--spectrum-icon-info-small-height,var(--spectrum-global-dimension-size-175))}.spectrum-UIIcon-ListGripper_368b34{width:var(--spectrum-global-dimension-size-75);height:var(--spectrum-global-dimension-size-150)}.spectrum-UIIcon-Magnifier_368b34{width:var(--spectrum-icon-magnifier-width,var(--spectrum-global-dimension-size-200));height:var(--spectrum-icon-magnifier-height,var(--spectrum-global-dimension-size-200))}.spectrum-UIIcon-SkipLeft_368b34{width:var(--spectrum-icon-skip-left-width);height:var(--spectrum-icon-skip-left-height)}.spectrum-UIIcon-SkipRight_368b34{width:var(--spectrum-icon-skip-right-width);height:var(--spectrum-icon-skip-right-height)}.spectrum-UIIcon-Star_368b34{width:var(--spectrum-icon-star-width,var(--spectrum-global-dimension-size-225));height:var(--spectrum-icon-star-height,var(--spectrum-global-dimension-size-225))}.spectrum-UIIcon-StarOutline_368b34{width:var(--spectrum-icon-star-outline-width,var(--spectrum-global-dimension-size-225));height:var(--spectrum-icon-star-outline-height,var(--spectrum-global-dimension-size-225))}.spectrum-UIIcon-SuccessMedium_368b34{width:var(--spectrum-icon-success-medium-width,var(--spectrum-global-dimension-size-225));height:var(--spectrum-icon-success-medium-height,var(--spectrum-global-dimension-size-225))}.spectrum-UIIcon-SuccessSmall_368b34{width:var(--spectrum-icon-success-small-width,var(--spectrum-global-dimension-size-175));height:var(--spectrum-icon-success-small-height,var(--spectrum-global-dimension-size-175))}.spectrum-UIIcon-TripleGripper_368b34{width:var(--spectrum-icon-triplegripper-width);height:var(--spectrum-icon-triplegripper-height,var(--spectrum-global-dimension-size-85))}
|
package/dist/main.js
CHANGED
|
@@ -1,169 +1,251 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
1
|
+
require("./main.css");
|
|
2
|
+
var $khAmQ$reactspectrumutils = require("@react-spectrum/utils");
|
|
3
|
+
var $khAmQ$reactariautils = require("@react-aria/utils");
|
|
4
|
+
var $khAmQ$react = require("react");
|
|
5
|
+
var $khAmQ$reactspectrumprovider = require("@react-spectrum/provider");
|
|
6
|
+
|
|
7
|
+
function $parcel$exportWildcard(dest, source) {
|
|
8
|
+
Object.keys(source).forEach(function(key) {
|
|
9
|
+
if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(dest, key, {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function get() {
|
|
16
|
+
return source[key];
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
return dest;
|
|
22
|
+
}
|
|
23
|
+
function $parcel$interopDefault(a) {
|
|
24
|
+
return a && a.__esModule ? a.default : a;
|
|
25
|
+
}
|
|
26
|
+
function $parcel$export(e, n, v, s) {
|
|
27
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
28
|
+
}
|
|
29
|
+
var $2f297c87d3047269$exports = {};
|
|
30
|
+
|
|
31
|
+
$parcel$export($2f297c87d3047269$exports, "Icon", () => $2f297c87d3047269$export$f04a61298a47a40f);
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
var $5ef39e0c80b682c7$exports = {};
|
|
36
|
+
|
|
37
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-Icon", () => $5ef39e0c80b682c7$export$d374b04f30360026, (v) => $5ef39e0c80b682c7$export$d374b04f30360026 = v);
|
|
38
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon", () => $5ef39e0c80b682c7$export$c7db7fdc5aac13aa, (v) => $5ef39e0c80b682c7$export$c7db7fdc5aac13aa = v);
|
|
39
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-Icon--sizeXXS", () => $5ef39e0c80b682c7$export$cab8448604b31f43, (v) => $5ef39e0c80b682c7$export$cab8448604b31f43 = v);
|
|
40
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-Icon--sizeXS", () => $5ef39e0c80b682c7$export$557c0af6873b4222, (v) => $5ef39e0c80b682c7$export$557c0af6873b4222 = v);
|
|
41
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-Icon--sizeS", () => $5ef39e0c80b682c7$export$34ce05647f0c65e, (v) => $5ef39e0c80b682c7$export$34ce05647f0c65e = v);
|
|
42
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-Icon--sizeM", () => $5ef39e0c80b682c7$export$8f1693ac47916bbf, (v) => $5ef39e0c80b682c7$export$8f1693ac47916bbf = v);
|
|
43
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-Icon--sizeL", () => $5ef39e0c80b682c7$export$8d23c37ef2a4f13e, (v) => $5ef39e0c80b682c7$export$8d23c37ef2a4f13e = v);
|
|
44
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-Icon--sizeXL", () => $5ef39e0c80b682c7$export$c6e70a22e841bc1b, (v) => $5ef39e0c80b682c7$export$c6e70a22e841bc1b = v);
|
|
45
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-Icon--sizeXXL", () => $5ef39e0c80b682c7$export$b37777493a27e620, (v) => $5ef39e0c80b682c7$export$b37777493a27e620 = v);
|
|
46
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum--medium", () => $5ef39e0c80b682c7$export$4c0c83b3f4303ef8, (v) => $5ef39e0c80b682c7$export$4c0c83b3f4303ef8 = v);
|
|
47
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon--large", () => $5ef39e0c80b682c7$export$2265a487ad399d8b, (v) => $5ef39e0c80b682c7$export$2265a487ad399d8b = v);
|
|
48
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon--medium", () => $5ef39e0c80b682c7$export$a6044013cf72ddc9, (v) => $5ef39e0c80b682c7$export$a6044013cf72ddc9 = v);
|
|
49
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum--large", () => $5ef39e0c80b682c7$export$a88a8dbe29386d31, (v) => $5ef39e0c80b682c7$export$a88a8dbe29386d31 = v);
|
|
50
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-AlertMedium", () => $5ef39e0c80b682c7$export$83be8302c01b6478, (v) => $5ef39e0c80b682c7$export$83be8302c01b6478 = v);
|
|
51
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-AlertSmall", () => $5ef39e0c80b682c7$export$57b49d6ee2e9f187, (v) => $5ef39e0c80b682c7$export$57b49d6ee2e9f187 = v);
|
|
52
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-ArrowDownSmall", () => $5ef39e0c80b682c7$export$81968d05e3681b3f, (v) => $5ef39e0c80b682c7$export$81968d05e3681b3f = v);
|
|
53
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-ArrowLeftMedium", () => $5ef39e0c80b682c7$export$c0d655f335b5bc31, (v) => $5ef39e0c80b682c7$export$c0d655f335b5bc31 = v);
|
|
54
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-Asterisk", () => $5ef39e0c80b682c7$export$cca4342eca45562, (v) => $5ef39e0c80b682c7$export$cca4342eca45562 = v);
|
|
55
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-CheckmarkMedium", () => $5ef39e0c80b682c7$export$edc4a2e9af971b26, (v) => $5ef39e0c80b682c7$export$edc4a2e9af971b26 = v);
|
|
56
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-CheckmarkSmall", () => $5ef39e0c80b682c7$export$9e665cb12e71e037, (v) => $5ef39e0c80b682c7$export$9e665cb12e71e037 = v);
|
|
57
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-ChevronDownMedium", () => $5ef39e0c80b682c7$export$2f91b7a7627906d5, (v) => $5ef39e0c80b682c7$export$2f91b7a7627906d5 = v);
|
|
58
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-ChevronDownSmall", () => $5ef39e0c80b682c7$export$56efb4ec9eb35c07, (v) => $5ef39e0c80b682c7$export$56efb4ec9eb35c07 = v);
|
|
59
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-ChevronLeftLarge", () => $5ef39e0c80b682c7$export$5861dfe1d581a528, (v) => $5ef39e0c80b682c7$export$5861dfe1d581a528 = v);
|
|
60
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-ChevronLeftMedium", () => $5ef39e0c80b682c7$export$595a122b60890c78, (v) => $5ef39e0c80b682c7$export$595a122b60890c78 = v);
|
|
61
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-ChevronRightLarge", () => $5ef39e0c80b682c7$export$596373794435f8bc, (v) => $5ef39e0c80b682c7$export$596373794435f8bc = v);
|
|
62
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-ChevronRightMedium", () => $5ef39e0c80b682c7$export$32b379a02cafbfb3, (v) => $5ef39e0c80b682c7$export$32b379a02cafbfb3 = v);
|
|
63
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-ChevronRightSmall", () => $5ef39e0c80b682c7$export$ee5de2c4d7c8faa4, (v) => $5ef39e0c80b682c7$export$ee5de2c4d7c8faa4 = v);
|
|
64
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-ChevronUpSmall", () => $5ef39e0c80b682c7$export$c1cbae72fd236fd9, (v) => $5ef39e0c80b682c7$export$c1cbae72fd236fd9 = v);
|
|
65
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-CornerTriangle", () => $5ef39e0c80b682c7$export$636d8cde4f6b7e6, (v) => $5ef39e0c80b682c7$export$636d8cde4f6b7e6 = v);
|
|
66
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-CrossLarge", () => $5ef39e0c80b682c7$export$1f0ad4082256e3df, (v) => $5ef39e0c80b682c7$export$1f0ad4082256e3df = v);
|
|
67
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-CrossMedium", () => $5ef39e0c80b682c7$export$1e0848411e254295, (v) => $5ef39e0c80b682c7$export$1e0848411e254295 = v);
|
|
68
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-CrossSmall", () => $5ef39e0c80b682c7$export$1c1bddac0ae5fbe5, (v) => $5ef39e0c80b682c7$export$1c1bddac0ae5fbe5 = v);
|
|
69
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-DashSmall", () => $5ef39e0c80b682c7$export$98de2b9917cd3b6a, (v) => $5ef39e0c80b682c7$export$98de2b9917cd3b6a = v);
|
|
70
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-DoubleGripper", () => $5ef39e0c80b682c7$export$3c956876cb11c1e1, (v) => $5ef39e0c80b682c7$export$3c956876cb11c1e1 = v);
|
|
71
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-FolderBreadcrumb", () => $5ef39e0c80b682c7$export$55cf2795737352fc, (v) => $5ef39e0c80b682c7$export$55cf2795737352fc = v);
|
|
72
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-HelpMedium", () => $5ef39e0c80b682c7$export$d5d1e3e09ea6cd5, (v) => $5ef39e0c80b682c7$export$d5d1e3e09ea6cd5 = v);
|
|
73
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-HelpSmall", () => $5ef39e0c80b682c7$export$f51b22382127207d, (v) => $5ef39e0c80b682c7$export$f51b22382127207d = v);
|
|
74
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-InfoMedium", () => $5ef39e0c80b682c7$export$825a6c2340d3b7e5, (v) => $5ef39e0c80b682c7$export$825a6c2340d3b7e5 = v);
|
|
75
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-InfoSmall", () => $5ef39e0c80b682c7$export$4828f4a6bfd26c04, (v) => $5ef39e0c80b682c7$export$4828f4a6bfd26c04 = v);
|
|
76
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-ListGripper", () => $5ef39e0c80b682c7$export$1254ece141a8dac6, (v) => $5ef39e0c80b682c7$export$1254ece141a8dac6 = v);
|
|
77
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-Magnifier", () => $5ef39e0c80b682c7$export$a33650c9f4cc191e, (v) => $5ef39e0c80b682c7$export$a33650c9f4cc191e = v);
|
|
78
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-SkipLeft", () => $5ef39e0c80b682c7$export$9eb19533e4b8cc28, (v) => $5ef39e0c80b682c7$export$9eb19533e4b8cc28 = v);
|
|
79
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-SkipRight", () => $5ef39e0c80b682c7$export$67704939e41f705a, (v) => $5ef39e0c80b682c7$export$67704939e41f705a = v);
|
|
80
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-Star", () => $5ef39e0c80b682c7$export$c4d219c150b98c92, (v) => $5ef39e0c80b682c7$export$c4d219c150b98c92 = v);
|
|
81
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-StarOutline", () => $5ef39e0c80b682c7$export$bcda0a6a6d7202af, (v) => $5ef39e0c80b682c7$export$bcda0a6a6d7202af = v);
|
|
82
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-SuccessMedium", () => $5ef39e0c80b682c7$export$d18d2d837989a797, (v) => $5ef39e0c80b682c7$export$d18d2d837989a797 = v);
|
|
83
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-SuccessSmall", () => $5ef39e0c80b682c7$export$506ac7a1a72a2c65, (v) => $5ef39e0c80b682c7$export$506ac7a1a72a2c65 = v);
|
|
84
|
+
$parcel$export($5ef39e0c80b682c7$exports, "spectrum-UIIcon-TripleGripper", () => $5ef39e0c80b682c7$export$12b8600bcd969018, (v) => $5ef39e0c80b682c7$export$12b8600bcd969018 = v);
|
|
85
|
+
var $5ef39e0c80b682c7$export$d374b04f30360026;
|
|
86
|
+
var $5ef39e0c80b682c7$export$c7db7fdc5aac13aa;
|
|
87
|
+
var $5ef39e0c80b682c7$export$cab8448604b31f43;
|
|
88
|
+
var $5ef39e0c80b682c7$export$557c0af6873b4222;
|
|
89
|
+
var $5ef39e0c80b682c7$export$34ce05647f0c65e;
|
|
90
|
+
var $5ef39e0c80b682c7$export$8f1693ac47916bbf;
|
|
91
|
+
var $5ef39e0c80b682c7$export$8d23c37ef2a4f13e;
|
|
92
|
+
var $5ef39e0c80b682c7$export$c6e70a22e841bc1b;
|
|
93
|
+
var $5ef39e0c80b682c7$export$b37777493a27e620;
|
|
94
|
+
var $5ef39e0c80b682c7$export$4c0c83b3f4303ef8;
|
|
95
|
+
var $5ef39e0c80b682c7$export$2265a487ad399d8b;
|
|
96
|
+
var $5ef39e0c80b682c7$export$a6044013cf72ddc9;
|
|
97
|
+
var $5ef39e0c80b682c7$export$a88a8dbe29386d31;
|
|
98
|
+
var $5ef39e0c80b682c7$export$83be8302c01b6478;
|
|
99
|
+
var $5ef39e0c80b682c7$export$57b49d6ee2e9f187;
|
|
100
|
+
var $5ef39e0c80b682c7$export$81968d05e3681b3f;
|
|
101
|
+
var $5ef39e0c80b682c7$export$c0d655f335b5bc31;
|
|
102
|
+
var $5ef39e0c80b682c7$export$cca4342eca45562;
|
|
103
|
+
var $5ef39e0c80b682c7$export$edc4a2e9af971b26;
|
|
104
|
+
var $5ef39e0c80b682c7$export$9e665cb12e71e037;
|
|
105
|
+
var $5ef39e0c80b682c7$export$2f91b7a7627906d5;
|
|
106
|
+
var $5ef39e0c80b682c7$export$56efb4ec9eb35c07;
|
|
107
|
+
var $5ef39e0c80b682c7$export$5861dfe1d581a528;
|
|
108
|
+
var $5ef39e0c80b682c7$export$595a122b60890c78;
|
|
109
|
+
var $5ef39e0c80b682c7$export$596373794435f8bc;
|
|
110
|
+
var $5ef39e0c80b682c7$export$32b379a02cafbfb3;
|
|
111
|
+
var $5ef39e0c80b682c7$export$ee5de2c4d7c8faa4;
|
|
112
|
+
var $5ef39e0c80b682c7$export$c1cbae72fd236fd9;
|
|
113
|
+
var $5ef39e0c80b682c7$export$636d8cde4f6b7e6;
|
|
114
|
+
var $5ef39e0c80b682c7$export$1f0ad4082256e3df;
|
|
115
|
+
var $5ef39e0c80b682c7$export$1e0848411e254295;
|
|
116
|
+
var $5ef39e0c80b682c7$export$1c1bddac0ae5fbe5;
|
|
117
|
+
var $5ef39e0c80b682c7$export$98de2b9917cd3b6a;
|
|
118
|
+
var $5ef39e0c80b682c7$export$3c956876cb11c1e1;
|
|
119
|
+
var $5ef39e0c80b682c7$export$55cf2795737352fc;
|
|
120
|
+
var $5ef39e0c80b682c7$export$d5d1e3e09ea6cd5;
|
|
121
|
+
var $5ef39e0c80b682c7$export$f51b22382127207d;
|
|
122
|
+
var $5ef39e0c80b682c7$export$825a6c2340d3b7e5;
|
|
123
|
+
var $5ef39e0c80b682c7$export$4828f4a6bfd26c04;
|
|
124
|
+
var $5ef39e0c80b682c7$export$1254ece141a8dac6;
|
|
125
|
+
var $5ef39e0c80b682c7$export$a33650c9f4cc191e;
|
|
126
|
+
var $5ef39e0c80b682c7$export$9eb19533e4b8cc28;
|
|
127
|
+
var $5ef39e0c80b682c7$export$67704939e41f705a;
|
|
128
|
+
var $5ef39e0c80b682c7$export$c4d219c150b98c92;
|
|
129
|
+
var $5ef39e0c80b682c7$export$bcda0a6a6d7202af;
|
|
130
|
+
var $5ef39e0c80b682c7$export$d18d2d837989a797;
|
|
131
|
+
var $5ef39e0c80b682c7$export$506ac7a1a72a2c65;
|
|
132
|
+
var $5ef39e0c80b682c7$export$12b8600bcd969018;
|
|
133
|
+
$5ef39e0c80b682c7$export$d374b04f30360026 = "spectrum-Icon_368b34";
|
|
134
|
+
$5ef39e0c80b682c7$export$c7db7fdc5aac13aa = "spectrum-UIIcon_368b34";
|
|
135
|
+
$5ef39e0c80b682c7$export$cab8448604b31f43 = "spectrum-Icon--sizeXXS_368b34";
|
|
136
|
+
$5ef39e0c80b682c7$export$557c0af6873b4222 = "spectrum-Icon--sizeXS_368b34";
|
|
137
|
+
$5ef39e0c80b682c7$export$34ce05647f0c65e = "spectrum-Icon--sizeS_368b34";
|
|
138
|
+
$5ef39e0c80b682c7$export$8f1693ac47916bbf = "spectrum-Icon--sizeM_368b34";
|
|
139
|
+
$5ef39e0c80b682c7$export$8d23c37ef2a4f13e = "spectrum-Icon--sizeL_368b34";
|
|
140
|
+
$5ef39e0c80b682c7$export$c6e70a22e841bc1b = "spectrum-Icon--sizeXL_368b34";
|
|
141
|
+
$5ef39e0c80b682c7$export$b37777493a27e620 = "spectrum-Icon--sizeXXL_368b34";
|
|
142
|
+
$5ef39e0c80b682c7$export$4c0c83b3f4303ef8 = "spectrum--medium_368b34";
|
|
143
|
+
$5ef39e0c80b682c7$export$2265a487ad399d8b = "spectrum-UIIcon--large_368b34";
|
|
144
|
+
$5ef39e0c80b682c7$export$a6044013cf72ddc9 = "spectrum-UIIcon--medium_368b34";
|
|
145
|
+
$5ef39e0c80b682c7$export$a88a8dbe29386d31 = "spectrum--large_368b34";
|
|
146
|
+
$5ef39e0c80b682c7$export$83be8302c01b6478 = "spectrum-UIIcon-AlertMedium_368b34";
|
|
147
|
+
$5ef39e0c80b682c7$export$57b49d6ee2e9f187 = "spectrum-UIIcon-AlertSmall_368b34";
|
|
148
|
+
$5ef39e0c80b682c7$export$81968d05e3681b3f = "spectrum-UIIcon-ArrowDownSmall_368b34";
|
|
149
|
+
$5ef39e0c80b682c7$export$c0d655f335b5bc31 = "spectrum-UIIcon-ArrowLeftMedium_368b34";
|
|
150
|
+
$5ef39e0c80b682c7$export$cca4342eca45562 = "spectrum-UIIcon-Asterisk_368b34";
|
|
151
|
+
$5ef39e0c80b682c7$export$edc4a2e9af971b26 = "spectrum-UIIcon-CheckmarkMedium_368b34";
|
|
152
|
+
$5ef39e0c80b682c7$export$9e665cb12e71e037 = "spectrum-UIIcon-CheckmarkSmall_368b34";
|
|
153
|
+
$5ef39e0c80b682c7$export$2f91b7a7627906d5 = "spectrum-UIIcon-ChevronDownMedium_368b34";
|
|
154
|
+
$5ef39e0c80b682c7$export$56efb4ec9eb35c07 = "spectrum-UIIcon-ChevronDownSmall_368b34";
|
|
155
|
+
$5ef39e0c80b682c7$export$5861dfe1d581a528 = "spectrum-UIIcon-ChevronLeftLarge_368b34";
|
|
156
|
+
$5ef39e0c80b682c7$export$595a122b60890c78 = "spectrum-UIIcon-ChevronLeftMedium_368b34";
|
|
157
|
+
$5ef39e0c80b682c7$export$596373794435f8bc = "spectrum-UIIcon-ChevronRightLarge_368b34";
|
|
158
|
+
$5ef39e0c80b682c7$export$32b379a02cafbfb3 = "spectrum-UIIcon-ChevronRightMedium_368b34";
|
|
159
|
+
$5ef39e0c80b682c7$export$ee5de2c4d7c8faa4 = "spectrum-UIIcon-ChevronRightSmall_368b34";
|
|
160
|
+
$5ef39e0c80b682c7$export$c1cbae72fd236fd9 = "spectrum-UIIcon-ChevronUpSmall_368b34";
|
|
161
|
+
$5ef39e0c80b682c7$export$636d8cde4f6b7e6 = "spectrum-UIIcon-CornerTriangle_368b34";
|
|
162
|
+
$5ef39e0c80b682c7$export$1f0ad4082256e3df = "spectrum-UIIcon-CrossLarge_368b34";
|
|
163
|
+
$5ef39e0c80b682c7$export$1e0848411e254295 = "spectrum-UIIcon-CrossMedium_368b34";
|
|
164
|
+
$5ef39e0c80b682c7$export$1c1bddac0ae5fbe5 = "spectrum-UIIcon-CrossSmall_368b34";
|
|
165
|
+
$5ef39e0c80b682c7$export$98de2b9917cd3b6a = "spectrum-UIIcon-DashSmall_368b34";
|
|
166
|
+
$5ef39e0c80b682c7$export$3c956876cb11c1e1 = "spectrum-UIIcon-DoubleGripper_368b34";
|
|
167
|
+
$5ef39e0c80b682c7$export$55cf2795737352fc = "spectrum-UIIcon-FolderBreadcrumb_368b34";
|
|
168
|
+
$5ef39e0c80b682c7$export$d5d1e3e09ea6cd5 = "spectrum-UIIcon-HelpMedium_368b34";
|
|
169
|
+
$5ef39e0c80b682c7$export$f51b22382127207d = "spectrum-UIIcon-HelpSmall_368b34";
|
|
170
|
+
$5ef39e0c80b682c7$export$825a6c2340d3b7e5 = "spectrum-UIIcon-InfoMedium_368b34";
|
|
171
|
+
$5ef39e0c80b682c7$export$4828f4a6bfd26c04 = "spectrum-UIIcon-InfoSmall_368b34";
|
|
172
|
+
$5ef39e0c80b682c7$export$1254ece141a8dac6 = "spectrum-UIIcon-ListGripper_368b34";
|
|
173
|
+
$5ef39e0c80b682c7$export$a33650c9f4cc191e = "spectrum-UIIcon-Magnifier_368b34";
|
|
174
|
+
$5ef39e0c80b682c7$export$9eb19533e4b8cc28 = "spectrum-UIIcon-SkipLeft_368b34";
|
|
175
|
+
$5ef39e0c80b682c7$export$67704939e41f705a = "spectrum-UIIcon-SkipRight_368b34";
|
|
176
|
+
$5ef39e0c80b682c7$export$c4d219c150b98c92 = "spectrum-UIIcon-Star_368b34";
|
|
177
|
+
$5ef39e0c80b682c7$export$bcda0a6a6d7202af = "spectrum-UIIcon-StarOutline_368b34";
|
|
178
|
+
$5ef39e0c80b682c7$export$d18d2d837989a797 = "spectrum-UIIcon-SuccessMedium_368b34";
|
|
179
|
+
$5ef39e0c80b682c7$export$506ac7a1a72a2c65 = "spectrum-UIIcon-SuccessSmall_368b34";
|
|
180
|
+
$5ef39e0c80b682c7$export$12b8600bcd969018 = "spectrum-UIIcon-TripleGripper_368b34";
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
function $2f297c87d3047269$var$iconColorValue(value) {
|
|
185
|
+
return `var(--spectrum-semantic-${value}-color-icon)`;
|
|
186
|
+
}
|
|
187
|
+
const $2f297c87d3047269$var$iconStyleProps = {
|
|
188
|
+
...$khAmQ$reactspectrumutils.baseStyleProps,
|
|
189
|
+
color: [
|
|
190
|
+
'color',
|
|
191
|
+
$2f297c87d3047269$var$iconColorValue
|
|
192
|
+
]
|
|
193
|
+
};
|
|
194
|
+
function $2f297c87d3047269$export$f04a61298a47a40f(props) {
|
|
195
|
+
props = $khAmQ$reactspectrumutils.useSlotProps(props, 'icon');
|
|
196
|
+
let { children: children , size: size , 'aria-label': ariaLabel , 'aria-hidden': ariaHidden , ...otherProps } = props;
|
|
197
|
+
let { styleProps: styleProps } = $khAmQ$reactspectrumutils.useStyleProps(otherProps, $2f297c87d3047269$var$iconStyleProps);
|
|
198
|
+
let provider = $khAmQ$reactspectrumprovider.useProvider();
|
|
199
|
+
let scale = 'M';
|
|
200
|
+
if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
|
|
201
|
+
if (!ariaHidden) ariaHidden = undefined;
|
|
202
|
+
// Use user specified size, falling back to provider scale if size is undef
|
|
203
|
+
let iconSize = size ? size : scale;
|
|
204
|
+
return(/*#__PURE__*/ ($parcel$interopDefault($khAmQ$react)).cloneElement(children, {
|
|
205
|
+
...$khAmQ$reactariautils.filterDOMProps(otherProps),
|
|
206
|
+
...styleProps,
|
|
207
|
+
focusable: 'false',
|
|
208
|
+
'aria-label': ariaLabel,
|
|
209
|
+
'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
|
|
210
|
+
role: 'img',
|
|
211
|
+
className: $khAmQ$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($5ef39e0c80b682c7$exports)), children.props.className, 'spectrum-Icon', `spectrum-Icon--size${iconSize}`, styleProps.className)
|
|
212
|
+
}));
|
|
213
|
+
}
|
|
6
214
|
|
|
7
|
-
var {
|
|
8
|
-
filterDOMProps
|
|
9
|
-
} = require("@react-aria/utils");
|
|
10
215
|
|
|
11
|
-
var {
|
|
12
|
-
baseStyleProps,
|
|
13
|
-
classNames,
|
|
14
|
-
useSlotProps,
|
|
15
|
-
useStyleProps
|
|
16
|
-
} = require("@react-spectrum/utils");
|
|
216
|
+
var $722df481e3c1f593$exports = {};
|
|
17
217
|
|
|
18
|
-
|
|
218
|
+
$parcel$export($722df481e3c1f593$exports, "UIIcon", () => $722df481e3c1f593$export$906cc5990ff10700);
|
|
19
219
|
|
|
20
|
-
var _babelRuntimeHelpersObjectWithoutPropertiesLoose = $parcel$interopDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
21
220
|
|
|
22
|
-
require("./main.css");
|
|
23
221
|
|
|
24
|
-
function $parcel$interopDefault(a) {
|
|
25
|
-
return a && a.__esModule ? a.default : a;
|
|
26
|
-
}
|
|
27
222
|
|
|
28
|
-
// ASSET: /Users/govett/dev/react-spectrum-v3/node_modules/@adobe/spectrum-css-temp/components/icon/vars.css
|
|
29
|
-
var $b35c5b15aff1f74941511439de8f0ba8$exports = {};
|
|
30
|
-
$b35c5b15aff1f74941511439de8f0ba8$exports = {
|
|
31
|
-
"spectrum-Icon": "_spectrum-Icon_8ac98",
|
|
32
|
-
"spectrum-UIIcon": "_spectrum-UIIcon_8ac98",
|
|
33
|
-
"spectrum-Icon--sizeXXS": "_spectrum-Icon--sizeXXS_8ac98",
|
|
34
|
-
"spectrum-Icon--sizeXS": "_spectrum-Icon--sizeXS_8ac98",
|
|
35
|
-
"spectrum-Icon--sizeS": "_spectrum-Icon--sizeS_8ac98",
|
|
36
|
-
"spectrum-Icon--sizeM": "_spectrum-Icon--sizeM_8ac98",
|
|
37
|
-
"spectrum-Icon--sizeL": "_spectrum-Icon--sizeL_8ac98",
|
|
38
|
-
"spectrum-Icon--sizeXL": "_spectrum-Icon--sizeXL_8ac98",
|
|
39
|
-
"spectrum-Icon--sizeXXL": "_spectrum-Icon--sizeXXL_8ac98",
|
|
40
|
-
"spectrum--medium": "_spectrum--medium_8ac98",
|
|
41
|
-
"spectrum-UIIcon--large": "_spectrum-UIIcon--large_8ac98",
|
|
42
|
-
"spectrum-UIIcon--medium": "_spectrum-UIIcon--medium_8ac98",
|
|
43
|
-
"spectrum--large": "_spectrum--large_8ac98",
|
|
44
|
-
"spectrum-UIIcon-AlertMedium": "_spectrum-UIIcon-AlertMedium_8ac98",
|
|
45
|
-
"spectrum-UIIcon-AlertSmall": "_spectrum-UIIcon-AlertSmall_8ac98",
|
|
46
|
-
"spectrum-UIIcon-ArrowDownSmall": "_spectrum-UIIcon-ArrowDownSmall_8ac98",
|
|
47
|
-
"spectrum-UIIcon-ArrowLeftMedium": "_spectrum-UIIcon-ArrowLeftMedium_8ac98",
|
|
48
|
-
"spectrum-UIIcon-Asterisk": "_spectrum-UIIcon-Asterisk_8ac98",
|
|
49
|
-
"spectrum-UIIcon-CheckmarkMedium": "_spectrum-UIIcon-CheckmarkMedium_8ac98",
|
|
50
|
-
"spectrum-UIIcon-CheckmarkSmall": "_spectrum-UIIcon-CheckmarkSmall_8ac98",
|
|
51
|
-
"spectrum-UIIcon-ChevronDownMedium": "_spectrum-UIIcon-ChevronDownMedium_8ac98",
|
|
52
|
-
"spectrum-UIIcon-ChevronDownSmall": "_spectrum-UIIcon-ChevronDownSmall_8ac98",
|
|
53
|
-
"spectrum-UIIcon-ChevronLeftLarge": "_spectrum-UIIcon-ChevronLeftLarge_8ac98",
|
|
54
|
-
"spectrum-UIIcon-ChevronLeftMedium": "_spectrum-UIIcon-ChevronLeftMedium_8ac98",
|
|
55
|
-
"spectrum-UIIcon-ChevronRightLarge": "_spectrum-UIIcon-ChevronRightLarge_8ac98",
|
|
56
|
-
"spectrum-UIIcon-ChevronRightMedium": "_spectrum-UIIcon-ChevronRightMedium_8ac98",
|
|
57
|
-
"spectrum-UIIcon-ChevronRightSmall": "_spectrum-UIIcon-ChevronRightSmall_8ac98",
|
|
58
|
-
"spectrum-UIIcon-ChevronUpSmall": "_spectrum-UIIcon-ChevronUpSmall_8ac98",
|
|
59
|
-
"spectrum-UIIcon-CornerTriangle": "_spectrum-UIIcon-CornerTriangle_8ac98",
|
|
60
|
-
"spectrum-UIIcon-CrossLarge": "_spectrum-UIIcon-CrossLarge_8ac98",
|
|
61
|
-
"spectrum-UIIcon-CrossMedium": "_spectrum-UIIcon-CrossMedium_8ac98",
|
|
62
|
-
"spectrum-UIIcon-CrossSmall": "_spectrum-UIIcon-CrossSmall_8ac98",
|
|
63
|
-
"spectrum-UIIcon-DashSmall": "_spectrum-UIIcon-DashSmall_8ac98",
|
|
64
|
-
"spectrum-UIIcon-DoubleGripper": "_spectrum-UIIcon-DoubleGripper_8ac98",
|
|
65
|
-
"spectrum-UIIcon-FolderBreadcrumb": "_spectrum-UIIcon-FolderBreadcrumb_8ac98",
|
|
66
|
-
"spectrum-UIIcon-HelpMedium": "_spectrum-UIIcon-HelpMedium_8ac98",
|
|
67
|
-
"spectrum-UIIcon-HelpSmall": "_spectrum-UIIcon-HelpSmall_8ac98",
|
|
68
|
-
"spectrum-UIIcon-InfoMedium": "_spectrum-UIIcon-InfoMedium_8ac98",
|
|
69
|
-
"spectrum-UIIcon-InfoSmall": "_spectrum-UIIcon-InfoSmall_8ac98",
|
|
70
|
-
"spectrum-UIIcon-Magnifier": "_spectrum-UIIcon-Magnifier_8ac98",
|
|
71
|
-
"spectrum-UIIcon-SkipLeft": "_spectrum-UIIcon-SkipLeft_8ac98",
|
|
72
|
-
"spectrum-UIIcon-SkipRight": "_spectrum-UIIcon-SkipRight_8ac98",
|
|
73
|
-
"spectrum-UIIcon-Star": "_spectrum-UIIcon-Star_8ac98",
|
|
74
|
-
"spectrum-UIIcon-StarOutline": "_spectrum-UIIcon-StarOutline_8ac98",
|
|
75
|
-
"spectrum-UIIcon-SuccessMedium": "_spectrum-UIIcon-SuccessMedium_8ac98",
|
|
76
|
-
"spectrum-UIIcon-SuccessSmall": "_spectrum-UIIcon-SuccessSmall_8ac98",
|
|
77
|
-
"spectrum-UIIcon-TripleGripper": "_spectrum-UIIcon-TripleGripper_8ac98"
|
|
78
|
-
};
|
|
79
223
|
|
|
80
|
-
function $
|
|
81
|
-
|
|
224
|
+
function $722df481e3c1f593$export$906cc5990ff10700(props) {
|
|
225
|
+
props = $khAmQ$reactspectrumutils.useSlotProps(props, 'icon');
|
|
226
|
+
let { children: children , 'aria-label': ariaLabel , 'aria-hidden': ariaHidden , ...otherProps } = props;
|
|
227
|
+
let { styleProps: styleProps } = $khAmQ$reactspectrumutils.useStyleProps(otherProps);
|
|
228
|
+
let provider = $khAmQ$reactspectrumprovider.useProvider();
|
|
229
|
+
let scale = 'M';
|
|
230
|
+
if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
|
|
231
|
+
if (!ariaHidden) ariaHidden = undefined;
|
|
232
|
+
return(/*#__PURE__*/ ($parcel$interopDefault($khAmQ$react)).cloneElement(children, {
|
|
233
|
+
...$khAmQ$reactariautils.filterDOMProps(otherProps),
|
|
234
|
+
...styleProps,
|
|
235
|
+
scale: scale,
|
|
236
|
+
focusable: 'false',
|
|
237
|
+
'aria-label': ariaLabel,
|
|
238
|
+
'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
|
|
239
|
+
role: 'img',
|
|
240
|
+
className: $khAmQ$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($5ef39e0c80b682c7$exports)), children.props.className, 'spectrum-Icon', {
|
|
241
|
+
[`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']
|
|
242
|
+
}, styleProps.className)
|
|
243
|
+
}));
|
|
82
244
|
}
|
|
83
245
|
|
|
84
|
-
const $f9f19014aa8aad151b33659ca$var$iconStyleProps = _babelRuntimeHelpersExtends({}, baseStyleProps, {
|
|
85
|
-
color: ['color', $f9f19014aa8aad151b33659ca$var$iconColorValue]
|
|
86
|
-
});
|
|
87
|
-
/**
|
|
88
|
-
* Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and rational principles of the design system in both metaphor and style.
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
var $b35c5b15aff1f74941511439de8f0ba8$$interop$default = $parcel$interopDefault($b35c5b15aff1f74941511439de8f0ba8$exports);
|
|
93
|
-
|
|
94
|
-
function Icon(props) {
|
|
95
|
-
props = useSlotProps(props, 'icon');
|
|
96
|
-
|
|
97
|
-
let {
|
|
98
|
-
children,
|
|
99
|
-
size,
|
|
100
|
-
'aria-label': ariaLabel,
|
|
101
|
-
'aria-hidden': ariaHidden
|
|
102
|
-
} = props,
|
|
103
|
-
otherProps = _babelRuntimeHelpersObjectWithoutPropertiesLoose(props, ["children", "size", "aria-label", "aria-hidden"]);
|
|
104
|
-
|
|
105
|
-
let {
|
|
106
|
-
styleProps
|
|
107
|
-
} = useStyleProps(otherProps, $f9f19014aa8aad151b33659ca$var$iconStyleProps);
|
|
108
|
-
let provider = useProvider();
|
|
109
|
-
let scale = 'M';
|
|
110
|
-
|
|
111
|
-
if (provider !== null) {
|
|
112
|
-
scale = provider.scale === 'large' ? 'L' : 'M';
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
if (!ariaHidden) {
|
|
116
|
-
ariaHidden = undefined;
|
|
117
|
-
} // Use user specified size, falling back to provider scale if size is undef
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
let iconSize = size ? size : scale;
|
|
121
|
-
return /*#__PURE__*/_react.cloneElement(children, _babelRuntimeHelpersExtends({}, filterDOMProps(otherProps), styleProps, {
|
|
122
|
-
focusable: 'false',
|
|
123
|
-
'aria-label': ariaLabel,
|
|
124
|
-
'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
|
|
125
|
-
role: 'img',
|
|
126
|
-
className: classNames($b35c5b15aff1f74941511439de8f0ba8$$interop$default, children.props.className, 'spectrum-Icon', "spectrum-Icon--size" + iconSize, styleProps.className)
|
|
127
|
-
}));
|
|
128
|
-
}
|
|
129
246
|
|
|
130
|
-
exports
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
props = useSlotProps(props, 'icon');
|
|
134
|
-
|
|
135
|
-
let {
|
|
136
|
-
children,
|
|
137
|
-
'aria-label': ariaLabel,
|
|
138
|
-
'aria-hidden': ariaHidden
|
|
139
|
-
} = props,
|
|
140
|
-
otherProps = _babelRuntimeHelpersObjectWithoutPropertiesLoose(props, ["children", "aria-label", "aria-hidden"]);
|
|
141
|
-
|
|
142
|
-
let {
|
|
143
|
-
styleProps
|
|
144
|
-
} = useStyleProps(otherProps);
|
|
145
|
-
let provider = useProvider();
|
|
146
|
-
let scale = 'M';
|
|
147
|
-
|
|
148
|
-
if (provider !== null) {
|
|
149
|
-
scale = provider.scale === 'large' ? 'L' : 'M';
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
if (!ariaHidden) {
|
|
153
|
-
ariaHidden = undefined;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
return /*#__PURE__*/_react.cloneElement(children, _babelRuntimeHelpersExtends({}, filterDOMProps(otherProps), styleProps, {
|
|
157
|
-
scale,
|
|
158
|
-
focusable: 'false',
|
|
159
|
-
'aria-label': ariaLabel,
|
|
160
|
-
'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
|
|
161
|
-
role: 'img',
|
|
162
|
-
className: classNames($b35c5b15aff1f74941511439de8f0ba8$$interop$default, children.props.className, 'spectrum-Icon', {
|
|
163
|
-
["spectrum-UIIcon-" + children.type['displayName']]: children.type['displayName']
|
|
164
|
-
}, styleProps.className)
|
|
165
|
-
}));
|
|
166
|
-
}
|
|
247
|
+
$parcel$exportWildcard(module.exports, $2f297c87d3047269$exports);
|
|
248
|
+
$parcel$exportWildcard(module.exports, $722df481e3c1f593$exports);
|
|
249
|
+
|
|
167
250
|
|
|
168
|
-
exports.UIIcon = UIIcon;
|
|
169
251
|
//# sourceMappingURL=main.js.map
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,SAASA,sBAAT,CAAgCC,CAAhC,EAAmC;AACjC,SAAOA,CAAC,IAAIA,CAAC,CAACC,UAAP,GAAoBD,CAAC,CAACE,OAAtB,GAAgCF,CAAvC;AACD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CA,EAAAA,KAAK,GAAGC,YAAY,CAACD,KAAD,EAAQ,MAAR,CAApB;;AACA,MAAI;AACFE,IAAAA,QADE;AAEF,kBAAcE,SAFZ;AAGF,mBAAeC;AAHb,MAKAL,KALJ;AAAA,MAIKM,UAJL,oDAKIN,KALJ;;AAOA,MAAI;AAACO,IAAAA;AAAD,MAAeC,aAAa,CAACF,UAAD,CAAhC;AACA,MAAIG,QAAQ,GAAGC,WAAW,EAA1B;AACA,MAAIC,KAAK,GAAG,GAAZ;;AACA,MAAIF,QAAQ,KAAK,IAAjB,EAAuB;AACrBE,IAAAA,KAAK,GAAGF,QAAQ,CAACE,KAAT,KAAmB,OAAnB,GAA6B,GAA7B,GAAmC,GAA3C;AACD;;AAED,MAAI,CAACN,UAAL,EAAiB;AACfA,IAAAA,UAAU,GAAGO,SAAb;AACD;;AAED,sBAAOE,MAAK,CAACC,YAAN,CAAmBb,QAAnB,kCACFc,cAAc,CAACV,UAAD,CADZ,EAEFC,UAFE;AAGLI,IAAAA,KAHK;AAILM,IAAAA,SAAS,EAAE,OAJN;AAKL,kBAAcb,SALT;AAML,mBAAgBA,SAAS,GAAIC,UAAU,IAAIO,SAAlB,GAA+B,IANnD;AAOLM,IAAAA,IAAI,EAAE,KAPD;AAQLC,IAAAA,SAAS,EAAEC,UAAU,qDAEnBlB,QAAQ,CAACF,KAAT,CAAemB,SAFI,EAGnB,eAHmB,EAInB;AACE,4BAAoBjB,QAAQ,CAACoB,IAAT,CAAc,aAAd,CAApB,GAAqDpB,QAAQ,CAACoB,IAAT,CAAc,aAAd;AADvD,KAJmB,EAOnBf,UAAU,CAACY,SAPQ;AARhB,KAAP;AAiBD","sources":["./node_modules/@parcel/scope-hoisting/lib/helpers.js","./node_modules/@adobe/spectrum-css-temp/components/icon/vars.css","./packages/@react-spectrum/icon/src/Icon.tsx","./packages/@react-spectrum/icon/src/UIIcon.tsx"],"sourcesContent":["function $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\nfunction $parcel$defineInteropFlag(a) {\n Object.defineProperty(a, '__esModule', {value: true});\n}\n\nfunction $parcel$exportWildcard(dest, source) {\n Object.keys(source).forEach(function(key) {\n if (key === 'default' || key === '__esModule') {\n return;\n }\n\n Object.defineProperty(dest, key, {\n enumerable: true,\n get: function get() {\n return source[key];\n },\n });\n });\n\n return dest;\n}\n\nfunction $parcel$missingModule(name) {\n var err = new Error(\"Cannot find module '\" + name + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n}\n\nvar $parcel$global =\n typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n","/*\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 {AriaLabelingProps, DOMProps, IconColorValue, StyleProps} from '@react-types/shared';\nimport {baseStyleProps, classNames, StyleHandlers, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '@react-spectrum/provider';\n\ninterface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n /**\n * A screen reader only label for the Icon.\n */\n 'aria-label'?: string,\n /**\n * The content to display. Should be an SVG.\n */\n children: ReactElement,\n /**\n * Size of Icon (changes based on scale).\n */\n size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' |'XL' | 'XXL',\n /**\n * A slot to place the icon in.\n * @default 'icon'\n */\n slot?: string,\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true',\n /**\n * Color of the Icon.\n */\n color?: IconColorValue\n}\n\nexport type IconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nfunction iconColorValue(value: IconColorValue) {\n return `var(--spectrum-semantic-${value}-color-icon)`;\n}\n\nconst iconStyleProps: StyleHandlers = {\n ...baseStyleProps,\n color: ['color', iconColorValue]\n};\n\n/**\n * Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and rational principles of the design system in both metaphor and style.\n */\nexport function Icon(props: IconProps) {\n props = useSlotProps(props, 'icon');\n let {\n children,\n size,\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaHidden,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps, iconStyleProps);\n\n let provider = useProvider();\n let scale = 'M';\n if (provider !== null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n // Use user specified size, falling back to provider scale if size is undef\n let iconSize = size ? size : scale;\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': (ariaLabel ? (ariaHidden || undefined) : true),\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n `spectrum-Icon--size${iconSize}`,\n styleProps.className)\n });\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared';\nimport {classNames, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '@react-spectrum/provider';\n\ninterface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n children: ReactElement,\n slot?: string,\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true'\n}\n\nexport type UIIconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nexport function UIIcon(props: IconProps) {\n props = useSlotProps(props, 'icon');\n let {\n children,\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaHidden,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let provider = useProvider();\n let scale = 'M';\n if (provider !== null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n scale,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': (ariaLabel ? (ariaHidden || undefined) : true),\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n {\n [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']\n },\n styleProps.className)\n });\n}\n"],"names":["$parcel$interopDefault","a","__esModule","default","iconColorValue","value","iconStyleProps","baseStyleProps","color","Icon","props","useSlotProps","children","size","ariaLabel","ariaHidden","otherProps","styleProps","useStyleProps","provider","useProvider","scale","undefined","iconSize","React","cloneElement","filterDOMProps","focusable","role","className","classNames","UIIcon","type"],"version":3,"file":"main.js.map"}
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEAA,GAA+B;AAC/B,GAAiC;AACjC,GAAwC;AACxC,GAAuC;AACvC,GAAsC;AACtC,GAAsC;AACtC,GAAsC;AACtC,GAAuC;AACvC,GAAwC;AACxC,GAAkC;AAClC,GAAwC;AACxC,GAAyC;AACzC,GAAiC;AACjC,GAA6C;AAC7C,GAA4C;AAC5C,GAAgD;AAChD,GAAiD;AACjD,GAA0C;AAC1C,GAAiD;AACjD,GAAgD;AAChD,GAAmD;AACnD,GAAkD;AAClD,GAAkD;AAClD,GAAmD;AACnD,GAAmD;AACnD,GAAoD;AACpD,GAAmD;AACnD,GAAgD;AAChD,GAAgD;AAChD,GAA4C;AAC5C,GAA6C;AAC7C,GAA4C;AAC5C,GAA2C;AAC3C,GAA+C;AAC/C,GAAkD;AAClD,GAA4C;AAC5C,GAA2C;AAC3C,GAA4C;AAC5C,GAA2C;AAC3C,GAA6C;AAC7C,GAA2C;AAC3C,GAA0C;AAC1C,GAA2C;AAC3C,GAAsC;AACtC,GAA6C;AAC7C,GAA+C;AAC/C,GAA8C;AAC9C,GAA+C;AA/C/C,yCAA+B,GAAG,CAAsB;AACxD,yCAAiC,GAAG,CAAwB;AAC5D,yCAAwC,GAAG,CAA+B;AAC1E,yCAAuC,GAAG,CAA8B;AACxE,wCAAsC,GAAG,CAA6B;AACtE,yCAAsC,GAAG,CAA6B;AACtE,yCAAsC,GAAG,CAA6B;AACtE,yCAAuC,GAAG,CAA8B;AACxE,yCAAwC,GAAG,CAA+B;AAC1E,yCAAkC,GAAG,CAAyB;AAC9D,yCAAwC,GAAG,CAA+B;AAC1E,yCAAyC,GAAG,CAAgC;AAC5E,yCAAiC,GAAG,CAAwB;A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G,CAAC,CAAC,aAAA,UAAU,EAAA,CAAC,GAAG,uCAAa,CAAC,UAAU;IAC3C,GAAG,CAAC,QAAQ,GAAG,wCAAW;IAC1B,GAAG,CAAC,KAAK,GAAG,CAAG;IACf,EAAE,EAAE,QAAQ,KAAK,IAAI,EACnB,KAAK,GAAG,QAAQ,CAAC,KAAK,KAAK,CAAO,SAAG,CAAG,KAAG,CAAG;IAGhD,EAAE,GAAG,UAAU,EACb,UAAU,GAAG,SAAS;IAGxB,MAAM,eAAC,sCAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;WAChC,oCAAc,CAAC,UAAU;WACzB,UAAU;eACb,KAAK;QACL,SAAS,EAAE,CAAO;QAClB,CAAY,aAAE,SAAS;QACvB,CAAa,cAAG,SAAS,GAAI,UAAU,IAAI,SAAS,GAAI,IAAI;QAC5D,IAAI,EAAE,CAAK;QACX,SAAS,EAAE,oCAAU,CACnB,gEAAM,EACN,QAAQ,CAAC,KAAK,CAAC,SAAS,EACxB,CAAe,gBACf,CAAC;cACG,gBAAgB,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAa,kBAAM,QAAQ,CAAC,IAAI,CAAC,CAAa;QAClF,CAAC,EACD,UAAU,CAAC,SAAS;IACxB,CAAC;AACH,CAAC;;","sources":["packages/@react-spectrum/icon/src/index.ts","packages/@react-spectrum/icon/src/Icon.tsx","packages/@adobe/spectrum-css-temp/components/icon/vars.css","packages/@react-spectrum/icon/src/UIIcon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport * from './Icon';\nexport * from './UIIcon';\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 {AriaLabelingProps, DOMProps, IconColorValue, StyleProps} from '@react-types/shared';\nimport {baseStyleProps, classNames, StyleHandlers, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '@react-spectrum/provider';\n\ninterface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n /**\n * A screen reader only label for the Icon.\n */\n 'aria-label'?: string,\n /**\n * The content to display. Should be an SVG.\n */\n children: ReactElement,\n /**\n * Size of Icon (changes based on scale).\n */\n size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' |'XL' | 'XXL',\n /**\n * A slot to place the icon in.\n * @default 'icon'\n */\n slot?: string,\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true',\n /**\n * Color of the Icon.\n */\n color?: IconColorValue\n}\n\nexport type IconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nfunction iconColorValue(value: IconColorValue) {\n return `var(--spectrum-semantic-${value}-color-icon)`;\n}\n\nconst iconStyleProps: StyleHandlers = {\n ...baseStyleProps,\n color: ['color', iconColorValue]\n};\n\n/**\n * Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and rational principles of the design system in both metaphor and style.\n */\nexport function Icon(props: IconProps) {\n props = useSlotProps(props, 'icon');\n let {\n children,\n size,\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaHidden,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps, iconStyleProps);\n\n let provider = useProvider();\n let scale = 'M';\n if (provider !== null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n // Use user specified size, falling back to provider scale if size is undef\n let iconSize = size ? size : scale;\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': (ariaLabel ? (ariaHidden || undefined) : true),\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n `spectrum-Icon--size${iconSize}`,\n styleProps.className)\n });\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n","/*\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 {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared';\nimport {classNames, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '@react-spectrum/provider';\n\ninterface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n children: ReactElement,\n slot?: string,\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true'\n}\n\nexport type UIIconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nexport function UIIcon(props: IconProps) {\n props = useSlotProps(props, 'icon');\n let {\n children,\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaHidden,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let provider = useProvider();\n let scale = 'M';\n if (provider !== null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n scale,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': (ariaLabel ? (ariaHidden || undefined) : true),\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n {\n [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']\n },\n styleProps.className)\n });\n}\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -1,148 +1,234 @@
|
|
|
1
|
-
import { useProvider } from "@react-spectrum/provider";
|
|
2
|
-
import _react from "react";
|
|
3
|
-
import { filterDOMProps } from "@react-aria/utils";
|
|
4
|
-
import { baseStyleProps, classNames, useSlotProps, useStyleProps } from "@react-spectrum/utils";
|
|
5
|
-
import _babelRuntimeHelpersEsmExtends from "@babel/runtime/helpers/esm/extends";
|
|
6
|
-
import _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
7
1
|
import "./main.css";
|
|
2
|
+
import {baseStyleProps as $1Thsl$baseStyleProps, useSlotProps as $1Thsl$useSlotProps, useStyleProps as $1Thsl$useStyleProps, classNames as $1Thsl$classNames} from "@react-spectrum/utils";
|
|
3
|
+
import {filterDOMProps as $1Thsl$filterDOMProps} from "@react-aria/utils";
|
|
4
|
+
import $1Thsl$react from "react";
|
|
5
|
+
import {useProvider as $1Thsl$useProvider} from "@react-spectrum/provider";
|
|
8
6
|
|
|
9
7
|
function $parcel$interopDefault(a) {
|
|
10
8
|
return a && a.__esModule ? a.default : a;
|
|
11
9
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
$
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
10
|
+
function $parcel$export(e, n, v, s) {
|
|
11
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
12
|
+
}
|
|
13
|
+
var $6bfb67578ee6effd$exports = {};
|
|
14
|
+
|
|
15
|
+
$parcel$export($6bfb67578ee6effd$exports, "Icon", () => $6bfb67578ee6effd$export$f04a61298a47a40f);
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
var $6edfbdaffbc9baf9$exports = {};
|
|
20
|
+
|
|
21
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon", () => $6edfbdaffbc9baf9$export$d374b04f30360026, (v) => $6edfbdaffbc9baf9$export$d374b04f30360026 = v);
|
|
22
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon", () => $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa, (v) => $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa = v);
|
|
23
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXXS", () => $6edfbdaffbc9baf9$export$cab8448604b31f43, (v) => $6edfbdaffbc9baf9$export$cab8448604b31f43 = v);
|
|
24
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXS", () => $6edfbdaffbc9baf9$export$557c0af6873b4222, (v) => $6edfbdaffbc9baf9$export$557c0af6873b4222 = v);
|
|
25
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeS", () => $6edfbdaffbc9baf9$export$34ce05647f0c65e, (v) => $6edfbdaffbc9baf9$export$34ce05647f0c65e = v);
|
|
26
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeM", () => $6edfbdaffbc9baf9$export$8f1693ac47916bbf, (v) => $6edfbdaffbc9baf9$export$8f1693ac47916bbf = v);
|
|
27
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeL", () => $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e, (v) => $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e = v);
|
|
28
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXL", () => $6edfbdaffbc9baf9$export$c6e70a22e841bc1b, (v) => $6edfbdaffbc9baf9$export$c6e70a22e841bc1b = v);
|
|
29
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXXL", () => $6edfbdaffbc9baf9$export$b37777493a27e620, (v) => $6edfbdaffbc9baf9$export$b37777493a27e620 = v);
|
|
30
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum--medium", () => $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8, (v) => $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8 = v);
|
|
31
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon--large", () => $6edfbdaffbc9baf9$export$2265a487ad399d8b, (v) => $6edfbdaffbc9baf9$export$2265a487ad399d8b = v);
|
|
32
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon--medium", () => $6edfbdaffbc9baf9$export$a6044013cf72ddc9, (v) => $6edfbdaffbc9baf9$export$a6044013cf72ddc9 = v);
|
|
33
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum--large", () => $6edfbdaffbc9baf9$export$a88a8dbe29386d31, (v) => $6edfbdaffbc9baf9$export$a88a8dbe29386d31 = v);
|
|
34
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-AlertMedium", () => $6edfbdaffbc9baf9$export$83be8302c01b6478, (v) => $6edfbdaffbc9baf9$export$83be8302c01b6478 = v);
|
|
35
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-AlertSmall", () => $6edfbdaffbc9baf9$export$57b49d6ee2e9f187, (v) => $6edfbdaffbc9baf9$export$57b49d6ee2e9f187 = v);
|
|
36
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ArrowDownSmall", () => $6edfbdaffbc9baf9$export$81968d05e3681b3f, (v) => $6edfbdaffbc9baf9$export$81968d05e3681b3f = v);
|
|
37
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ArrowLeftMedium", () => $6edfbdaffbc9baf9$export$c0d655f335b5bc31, (v) => $6edfbdaffbc9baf9$export$c0d655f335b5bc31 = v);
|
|
38
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Asterisk", () => $6edfbdaffbc9baf9$export$cca4342eca45562, (v) => $6edfbdaffbc9baf9$export$cca4342eca45562 = v);
|
|
39
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CheckmarkMedium", () => $6edfbdaffbc9baf9$export$edc4a2e9af971b26, (v) => $6edfbdaffbc9baf9$export$edc4a2e9af971b26 = v);
|
|
40
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CheckmarkSmall", () => $6edfbdaffbc9baf9$export$9e665cb12e71e037, (v) => $6edfbdaffbc9baf9$export$9e665cb12e71e037 = v);
|
|
41
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronDownMedium", () => $6edfbdaffbc9baf9$export$2f91b7a7627906d5, (v) => $6edfbdaffbc9baf9$export$2f91b7a7627906d5 = v);
|
|
42
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronDownSmall", () => $6edfbdaffbc9baf9$export$56efb4ec9eb35c07, (v) => $6edfbdaffbc9baf9$export$56efb4ec9eb35c07 = v);
|
|
43
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronLeftLarge", () => $6edfbdaffbc9baf9$export$5861dfe1d581a528, (v) => $6edfbdaffbc9baf9$export$5861dfe1d581a528 = v);
|
|
44
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronLeftMedium", () => $6edfbdaffbc9baf9$export$595a122b60890c78, (v) => $6edfbdaffbc9baf9$export$595a122b60890c78 = v);
|
|
45
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightLarge", () => $6edfbdaffbc9baf9$export$596373794435f8bc, (v) => $6edfbdaffbc9baf9$export$596373794435f8bc = v);
|
|
46
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightMedium", () => $6edfbdaffbc9baf9$export$32b379a02cafbfb3, (v) => $6edfbdaffbc9baf9$export$32b379a02cafbfb3 = v);
|
|
47
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightSmall", () => $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4, (v) => $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4 = v);
|
|
48
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronUpSmall", () => $6edfbdaffbc9baf9$export$c1cbae72fd236fd9, (v) => $6edfbdaffbc9baf9$export$c1cbae72fd236fd9 = v);
|
|
49
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CornerTriangle", () => $6edfbdaffbc9baf9$export$636d8cde4f6b7e6, (v) => $6edfbdaffbc9baf9$export$636d8cde4f6b7e6 = v);
|
|
50
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossLarge", () => $6edfbdaffbc9baf9$export$1f0ad4082256e3df, (v) => $6edfbdaffbc9baf9$export$1f0ad4082256e3df = v);
|
|
51
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossMedium", () => $6edfbdaffbc9baf9$export$1e0848411e254295, (v) => $6edfbdaffbc9baf9$export$1e0848411e254295 = v);
|
|
52
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossSmall", () => $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5, (v) => $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5 = v);
|
|
53
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-DashSmall", () => $6edfbdaffbc9baf9$export$98de2b9917cd3b6a, (v) => $6edfbdaffbc9baf9$export$98de2b9917cd3b6a = v);
|
|
54
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-DoubleGripper", () => $6edfbdaffbc9baf9$export$3c956876cb11c1e1, (v) => $6edfbdaffbc9baf9$export$3c956876cb11c1e1 = v);
|
|
55
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-FolderBreadcrumb", () => $6edfbdaffbc9baf9$export$55cf2795737352fc, (v) => $6edfbdaffbc9baf9$export$55cf2795737352fc = v);
|
|
56
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-HelpMedium", () => $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5, (v) => $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5 = v);
|
|
57
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-HelpSmall", () => $6edfbdaffbc9baf9$export$f51b22382127207d, (v) => $6edfbdaffbc9baf9$export$f51b22382127207d = v);
|
|
58
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-InfoMedium", () => $6edfbdaffbc9baf9$export$825a6c2340d3b7e5, (v) => $6edfbdaffbc9baf9$export$825a6c2340d3b7e5 = v);
|
|
59
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-InfoSmall", () => $6edfbdaffbc9baf9$export$4828f4a6bfd26c04, (v) => $6edfbdaffbc9baf9$export$4828f4a6bfd26c04 = v);
|
|
60
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ListGripper", () => $6edfbdaffbc9baf9$export$1254ece141a8dac6, (v) => $6edfbdaffbc9baf9$export$1254ece141a8dac6 = v);
|
|
61
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Magnifier", () => $6edfbdaffbc9baf9$export$a33650c9f4cc191e, (v) => $6edfbdaffbc9baf9$export$a33650c9f4cc191e = v);
|
|
62
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SkipLeft", () => $6edfbdaffbc9baf9$export$9eb19533e4b8cc28, (v) => $6edfbdaffbc9baf9$export$9eb19533e4b8cc28 = v);
|
|
63
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SkipRight", () => $6edfbdaffbc9baf9$export$67704939e41f705a, (v) => $6edfbdaffbc9baf9$export$67704939e41f705a = v);
|
|
64
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Star", () => $6edfbdaffbc9baf9$export$c4d219c150b98c92, (v) => $6edfbdaffbc9baf9$export$c4d219c150b98c92 = v);
|
|
65
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-StarOutline", () => $6edfbdaffbc9baf9$export$bcda0a6a6d7202af, (v) => $6edfbdaffbc9baf9$export$bcda0a6a6d7202af = v);
|
|
66
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SuccessMedium", () => $6edfbdaffbc9baf9$export$d18d2d837989a797, (v) => $6edfbdaffbc9baf9$export$d18d2d837989a797 = v);
|
|
67
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SuccessSmall", () => $6edfbdaffbc9baf9$export$506ac7a1a72a2c65, (v) => $6edfbdaffbc9baf9$export$506ac7a1a72a2c65 = v);
|
|
68
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-TripleGripper", () => $6edfbdaffbc9baf9$export$12b8600bcd969018, (v) => $6edfbdaffbc9baf9$export$12b8600bcd969018 = v);
|
|
69
|
+
var $6edfbdaffbc9baf9$export$d374b04f30360026;
|
|
70
|
+
var $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa;
|
|
71
|
+
var $6edfbdaffbc9baf9$export$cab8448604b31f43;
|
|
72
|
+
var $6edfbdaffbc9baf9$export$557c0af6873b4222;
|
|
73
|
+
var $6edfbdaffbc9baf9$export$34ce05647f0c65e;
|
|
74
|
+
var $6edfbdaffbc9baf9$export$8f1693ac47916bbf;
|
|
75
|
+
var $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e;
|
|
76
|
+
var $6edfbdaffbc9baf9$export$c6e70a22e841bc1b;
|
|
77
|
+
var $6edfbdaffbc9baf9$export$b37777493a27e620;
|
|
78
|
+
var $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8;
|
|
79
|
+
var $6edfbdaffbc9baf9$export$2265a487ad399d8b;
|
|
80
|
+
var $6edfbdaffbc9baf9$export$a6044013cf72ddc9;
|
|
81
|
+
var $6edfbdaffbc9baf9$export$a88a8dbe29386d31;
|
|
82
|
+
var $6edfbdaffbc9baf9$export$83be8302c01b6478;
|
|
83
|
+
var $6edfbdaffbc9baf9$export$57b49d6ee2e9f187;
|
|
84
|
+
var $6edfbdaffbc9baf9$export$81968d05e3681b3f;
|
|
85
|
+
var $6edfbdaffbc9baf9$export$c0d655f335b5bc31;
|
|
86
|
+
var $6edfbdaffbc9baf9$export$cca4342eca45562;
|
|
87
|
+
var $6edfbdaffbc9baf9$export$edc4a2e9af971b26;
|
|
88
|
+
var $6edfbdaffbc9baf9$export$9e665cb12e71e037;
|
|
89
|
+
var $6edfbdaffbc9baf9$export$2f91b7a7627906d5;
|
|
90
|
+
var $6edfbdaffbc9baf9$export$56efb4ec9eb35c07;
|
|
91
|
+
var $6edfbdaffbc9baf9$export$5861dfe1d581a528;
|
|
92
|
+
var $6edfbdaffbc9baf9$export$595a122b60890c78;
|
|
93
|
+
var $6edfbdaffbc9baf9$export$596373794435f8bc;
|
|
94
|
+
var $6edfbdaffbc9baf9$export$32b379a02cafbfb3;
|
|
95
|
+
var $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4;
|
|
96
|
+
var $6edfbdaffbc9baf9$export$c1cbae72fd236fd9;
|
|
97
|
+
var $6edfbdaffbc9baf9$export$636d8cde4f6b7e6;
|
|
98
|
+
var $6edfbdaffbc9baf9$export$1f0ad4082256e3df;
|
|
99
|
+
var $6edfbdaffbc9baf9$export$1e0848411e254295;
|
|
100
|
+
var $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5;
|
|
101
|
+
var $6edfbdaffbc9baf9$export$98de2b9917cd3b6a;
|
|
102
|
+
var $6edfbdaffbc9baf9$export$3c956876cb11c1e1;
|
|
103
|
+
var $6edfbdaffbc9baf9$export$55cf2795737352fc;
|
|
104
|
+
var $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5;
|
|
105
|
+
var $6edfbdaffbc9baf9$export$f51b22382127207d;
|
|
106
|
+
var $6edfbdaffbc9baf9$export$825a6c2340d3b7e5;
|
|
107
|
+
var $6edfbdaffbc9baf9$export$4828f4a6bfd26c04;
|
|
108
|
+
var $6edfbdaffbc9baf9$export$1254ece141a8dac6;
|
|
109
|
+
var $6edfbdaffbc9baf9$export$a33650c9f4cc191e;
|
|
110
|
+
var $6edfbdaffbc9baf9$export$9eb19533e4b8cc28;
|
|
111
|
+
var $6edfbdaffbc9baf9$export$67704939e41f705a;
|
|
112
|
+
var $6edfbdaffbc9baf9$export$c4d219c150b98c92;
|
|
113
|
+
var $6edfbdaffbc9baf9$export$bcda0a6a6d7202af;
|
|
114
|
+
var $6edfbdaffbc9baf9$export$d18d2d837989a797;
|
|
115
|
+
var $6edfbdaffbc9baf9$export$506ac7a1a72a2c65;
|
|
116
|
+
var $6edfbdaffbc9baf9$export$12b8600bcd969018;
|
|
117
|
+
$6edfbdaffbc9baf9$export$d374b04f30360026 = "spectrum-Icon_368b34";
|
|
118
|
+
$6edfbdaffbc9baf9$export$c7db7fdc5aac13aa = "spectrum-UIIcon_368b34";
|
|
119
|
+
$6edfbdaffbc9baf9$export$cab8448604b31f43 = "spectrum-Icon--sizeXXS_368b34";
|
|
120
|
+
$6edfbdaffbc9baf9$export$557c0af6873b4222 = "spectrum-Icon--sizeXS_368b34";
|
|
121
|
+
$6edfbdaffbc9baf9$export$34ce05647f0c65e = "spectrum-Icon--sizeS_368b34";
|
|
122
|
+
$6edfbdaffbc9baf9$export$8f1693ac47916bbf = "spectrum-Icon--sizeM_368b34";
|
|
123
|
+
$6edfbdaffbc9baf9$export$8d23c37ef2a4f13e = "spectrum-Icon--sizeL_368b34";
|
|
124
|
+
$6edfbdaffbc9baf9$export$c6e70a22e841bc1b = "spectrum-Icon--sizeXL_368b34";
|
|
125
|
+
$6edfbdaffbc9baf9$export$b37777493a27e620 = "spectrum-Icon--sizeXXL_368b34";
|
|
126
|
+
$6edfbdaffbc9baf9$export$4c0c83b3f4303ef8 = "spectrum--medium_368b34";
|
|
127
|
+
$6edfbdaffbc9baf9$export$2265a487ad399d8b = "spectrum-UIIcon--large_368b34";
|
|
128
|
+
$6edfbdaffbc9baf9$export$a6044013cf72ddc9 = "spectrum-UIIcon--medium_368b34";
|
|
129
|
+
$6edfbdaffbc9baf9$export$a88a8dbe29386d31 = "spectrum--large_368b34";
|
|
130
|
+
$6edfbdaffbc9baf9$export$83be8302c01b6478 = "spectrum-UIIcon-AlertMedium_368b34";
|
|
131
|
+
$6edfbdaffbc9baf9$export$57b49d6ee2e9f187 = "spectrum-UIIcon-AlertSmall_368b34";
|
|
132
|
+
$6edfbdaffbc9baf9$export$81968d05e3681b3f = "spectrum-UIIcon-ArrowDownSmall_368b34";
|
|
133
|
+
$6edfbdaffbc9baf9$export$c0d655f335b5bc31 = "spectrum-UIIcon-ArrowLeftMedium_368b34";
|
|
134
|
+
$6edfbdaffbc9baf9$export$cca4342eca45562 = "spectrum-UIIcon-Asterisk_368b34";
|
|
135
|
+
$6edfbdaffbc9baf9$export$edc4a2e9af971b26 = "spectrum-UIIcon-CheckmarkMedium_368b34";
|
|
136
|
+
$6edfbdaffbc9baf9$export$9e665cb12e71e037 = "spectrum-UIIcon-CheckmarkSmall_368b34";
|
|
137
|
+
$6edfbdaffbc9baf9$export$2f91b7a7627906d5 = "spectrum-UIIcon-ChevronDownMedium_368b34";
|
|
138
|
+
$6edfbdaffbc9baf9$export$56efb4ec9eb35c07 = "spectrum-UIIcon-ChevronDownSmall_368b34";
|
|
139
|
+
$6edfbdaffbc9baf9$export$5861dfe1d581a528 = "spectrum-UIIcon-ChevronLeftLarge_368b34";
|
|
140
|
+
$6edfbdaffbc9baf9$export$595a122b60890c78 = "spectrum-UIIcon-ChevronLeftMedium_368b34";
|
|
141
|
+
$6edfbdaffbc9baf9$export$596373794435f8bc = "spectrum-UIIcon-ChevronRightLarge_368b34";
|
|
142
|
+
$6edfbdaffbc9baf9$export$32b379a02cafbfb3 = "spectrum-UIIcon-ChevronRightMedium_368b34";
|
|
143
|
+
$6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4 = "spectrum-UIIcon-ChevronRightSmall_368b34";
|
|
144
|
+
$6edfbdaffbc9baf9$export$c1cbae72fd236fd9 = "spectrum-UIIcon-ChevronUpSmall_368b34";
|
|
145
|
+
$6edfbdaffbc9baf9$export$636d8cde4f6b7e6 = "spectrum-UIIcon-CornerTriangle_368b34";
|
|
146
|
+
$6edfbdaffbc9baf9$export$1f0ad4082256e3df = "spectrum-UIIcon-CrossLarge_368b34";
|
|
147
|
+
$6edfbdaffbc9baf9$export$1e0848411e254295 = "spectrum-UIIcon-CrossMedium_368b34";
|
|
148
|
+
$6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5 = "spectrum-UIIcon-CrossSmall_368b34";
|
|
149
|
+
$6edfbdaffbc9baf9$export$98de2b9917cd3b6a = "spectrum-UIIcon-DashSmall_368b34";
|
|
150
|
+
$6edfbdaffbc9baf9$export$3c956876cb11c1e1 = "spectrum-UIIcon-DoubleGripper_368b34";
|
|
151
|
+
$6edfbdaffbc9baf9$export$55cf2795737352fc = "spectrum-UIIcon-FolderBreadcrumb_368b34";
|
|
152
|
+
$6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5 = "spectrum-UIIcon-HelpMedium_368b34";
|
|
153
|
+
$6edfbdaffbc9baf9$export$f51b22382127207d = "spectrum-UIIcon-HelpSmall_368b34";
|
|
154
|
+
$6edfbdaffbc9baf9$export$825a6c2340d3b7e5 = "spectrum-UIIcon-InfoMedium_368b34";
|
|
155
|
+
$6edfbdaffbc9baf9$export$4828f4a6bfd26c04 = "spectrum-UIIcon-InfoSmall_368b34";
|
|
156
|
+
$6edfbdaffbc9baf9$export$1254ece141a8dac6 = "spectrum-UIIcon-ListGripper_368b34";
|
|
157
|
+
$6edfbdaffbc9baf9$export$a33650c9f4cc191e = "spectrum-UIIcon-Magnifier_368b34";
|
|
158
|
+
$6edfbdaffbc9baf9$export$9eb19533e4b8cc28 = "spectrum-UIIcon-SkipLeft_368b34";
|
|
159
|
+
$6edfbdaffbc9baf9$export$67704939e41f705a = "spectrum-UIIcon-SkipRight_368b34";
|
|
160
|
+
$6edfbdaffbc9baf9$export$c4d219c150b98c92 = "spectrum-UIIcon-Star_368b34";
|
|
161
|
+
$6edfbdaffbc9baf9$export$bcda0a6a6d7202af = "spectrum-UIIcon-StarOutline_368b34";
|
|
162
|
+
$6edfbdaffbc9baf9$export$d18d2d837989a797 = "spectrum-UIIcon-SuccessMedium_368b34";
|
|
163
|
+
$6edfbdaffbc9baf9$export$506ac7a1a72a2c65 = "spectrum-UIIcon-SuccessSmall_368b34";
|
|
164
|
+
$6edfbdaffbc9baf9$export$12b8600bcd969018 = "spectrum-UIIcon-TripleGripper_368b34";
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
function $6bfb67578ee6effd$var$iconColorValue(value) {
|
|
169
|
+
return `var(--spectrum-semantic-${value}-color-icon)`;
|
|
170
|
+
}
|
|
171
|
+
const $6bfb67578ee6effd$var$iconStyleProps = {
|
|
172
|
+
...$1Thsl$baseStyleProps,
|
|
173
|
+
color: [
|
|
174
|
+
'color',
|
|
175
|
+
$6bfb67578ee6effd$var$iconColorValue
|
|
176
|
+
]
|
|
63
177
|
};
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
178
|
+
function $6bfb67578ee6effd$export$f04a61298a47a40f(props) {
|
|
179
|
+
props = $1Thsl$useSlotProps(props, 'icon');
|
|
180
|
+
let { children: children , size: size , 'aria-label': ariaLabel , 'aria-hidden': ariaHidden , ...otherProps } = props;
|
|
181
|
+
let { styleProps: styleProps } = $1Thsl$useStyleProps(otherProps, $6bfb67578ee6effd$var$iconStyleProps);
|
|
182
|
+
let provider = $1Thsl$useProvider();
|
|
183
|
+
let scale = 'M';
|
|
184
|
+
if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
|
|
185
|
+
if (!ariaHidden) ariaHidden = undefined;
|
|
186
|
+
// Use user specified size, falling back to provider scale if size is undef
|
|
187
|
+
let iconSize = size ? size : scale;
|
|
188
|
+
return(/*#__PURE__*/ $1Thsl$react.cloneElement(children, {
|
|
189
|
+
...$1Thsl$filterDOMProps(otherProps),
|
|
190
|
+
...styleProps,
|
|
191
|
+
focusable: 'false',
|
|
192
|
+
'aria-label': ariaLabel,
|
|
193
|
+
'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
|
|
194
|
+
role: 'img',
|
|
195
|
+
className: $1Thsl$classNames((/*@__PURE__*/$parcel$interopDefault($6edfbdaffbc9baf9$exports)), children.props.className, 'spectrum-Icon', `spectrum-Icon--size${iconSize}`, styleProps.className)
|
|
196
|
+
}));
|
|
67
197
|
}
|
|
68
198
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
'
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
if (!ariaHidden) {
|
|
100
|
-
ariaHidden = undefined;
|
|
101
|
-
} // Use user specified size, falling back to provider scale if size is undef
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
let iconSize = size ? size : scale;
|
|
105
|
-
return /*#__PURE__*/_react.cloneElement(children, _babelRuntimeHelpersEsmExtends({}, filterDOMProps(otherProps), styleProps, {
|
|
106
|
-
focusable: 'false',
|
|
107
|
-
'aria-label': ariaLabel,
|
|
108
|
-
'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
|
|
109
|
-
role: 'img',
|
|
110
|
-
className: classNames($e0403de4450d623122b2d93055f70571$$interop$default, children.props.className, 'spectrum-Icon', "spectrum-Icon--size" + iconSize, styleProps.className)
|
|
111
|
-
}));
|
|
112
|
-
}
|
|
113
|
-
export function UIIcon(props) {
|
|
114
|
-
props = useSlotProps(props, 'icon');
|
|
115
|
-
|
|
116
|
-
let {
|
|
117
|
-
children,
|
|
118
|
-
'aria-label': ariaLabel,
|
|
119
|
-
'aria-hidden': ariaHidden
|
|
120
|
-
} = props,
|
|
121
|
-
otherProps = _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose(props, ["children", "aria-label", "aria-hidden"]);
|
|
122
|
-
|
|
123
|
-
let {
|
|
124
|
-
styleProps
|
|
125
|
-
} = useStyleProps(otherProps);
|
|
126
|
-
let provider = useProvider();
|
|
127
|
-
let scale = 'M';
|
|
128
|
-
|
|
129
|
-
if (provider !== null) {
|
|
130
|
-
scale = provider.scale === 'large' ? 'L' : 'M';
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
if (!ariaHidden) {
|
|
134
|
-
ariaHidden = undefined;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
return /*#__PURE__*/_react.cloneElement(children, _babelRuntimeHelpersEsmExtends({}, filterDOMProps(otherProps), styleProps, {
|
|
138
|
-
scale,
|
|
139
|
-
focusable: 'false',
|
|
140
|
-
'aria-label': ariaLabel,
|
|
141
|
-
'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
|
|
142
|
-
role: 'img',
|
|
143
|
-
className: classNames($e0403de4450d623122b2d93055f70571$$interop$default, children.props.className, 'spectrum-Icon', {
|
|
144
|
-
["spectrum-UIIcon-" + children.type['displayName']]: children.type['displayName']
|
|
145
|
-
}, styleProps.className)
|
|
146
|
-
}));
|
|
199
|
+
|
|
200
|
+
var $9ba43a63383852e3$exports = {};
|
|
201
|
+
|
|
202
|
+
$parcel$export($9ba43a63383852e3$exports, "UIIcon", () => $9ba43a63383852e3$export$906cc5990ff10700);
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
function $9ba43a63383852e3$export$906cc5990ff10700(props) {
|
|
209
|
+
props = $1Thsl$useSlotProps(props, 'icon');
|
|
210
|
+
let { children: children , 'aria-label': ariaLabel , 'aria-hidden': ariaHidden , ...otherProps } = props;
|
|
211
|
+
let { styleProps: styleProps } = $1Thsl$useStyleProps(otherProps);
|
|
212
|
+
let provider = $1Thsl$useProvider();
|
|
213
|
+
let scale = 'M';
|
|
214
|
+
if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
|
|
215
|
+
if (!ariaHidden) ariaHidden = undefined;
|
|
216
|
+
return(/*#__PURE__*/ $1Thsl$react.cloneElement(children, {
|
|
217
|
+
...$1Thsl$filterDOMProps(otherProps),
|
|
218
|
+
...styleProps,
|
|
219
|
+
scale: scale,
|
|
220
|
+
focusable: 'false',
|
|
221
|
+
'aria-label': ariaLabel,
|
|
222
|
+
'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
|
|
223
|
+
role: 'img',
|
|
224
|
+
className: $1Thsl$classNames((/*@__PURE__*/$parcel$interopDefault($6edfbdaffbc9baf9$exports)), children.props.className, 'spectrum-Icon', {
|
|
225
|
+
[`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']
|
|
226
|
+
}, styleProps.className)
|
|
227
|
+
}));
|
|
147
228
|
}
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
export {$6bfb67578ee6effd$export$f04a61298a47a40f as Icon, $9ba43a63383852e3$export$906cc5990ff10700 as UIIcon};
|
|
148
234
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;AAAA,SAASA,sBAAT,CAAgCC,CAAhC,EAAmC;AACjC,SAAOA,CAAC,IAAIA,CAAC,CAACC,UAAP,GAAoBD,CAAC,CAACE,OAAtB,GAAgCF,CAAvC;AACD;;;;ACFD,4CAAiB;AACf,mBAAiB,sBADF;AAEf,qBAAmB,wBAFJ;AAGf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I;AACFE,IAAAA,QADE;AAEF,kBAAcE,SAFZ;AAGF,mBAAeC;AAHb,MAKAL,KALJ;AAAA,MAIKM,UAJL,uDAKIN,KALJ;;AAOA,MAAI;AAACO,IAAAA;AAAD,MAAeC,aAAa,CAACF,UAAD,CAAhC;AACA,MAAIG,QAAQ,GAAGC,WAAW,EAA1B;AACA,MAAIC,KAAK,GAAG,GAAZ;;AACA,MAAIF,QAAQ,KAAK,IAAjB,EAAuB;AACrBE,IAAAA,KAAK,GAAGF,QAAQ,CAACE,KAAT,KAAmB,OAAnB,GAA6B,GAA7B,GAAmC,GAA3C;AACD;;AAED,MAAI,CAACN,UAAL,EAAiB;AACfA,IAAAA,UAAU,GAAGO,SAAb;AACD;;AAED,sBAAOE,MAAK,CAACC,YAAN,CAAmBb,QAAnB,qCACFc,cAAc,CAACV,UAAD,CADZ,EAEFC,UAFE;AAGLI,IAAAA,KAHK;AAILM,IAAAA,SAAS,EAAE,OAJN;AAKL,kBAAcb,SALT;AAML,mBAAgBA,SAAS,GAAIC,UAAU,IAAIO,SAAlB,GAA+B,IANnD;AAOLM,IAAAA,IAAI,EAAE,KAPD;AAQLC,IAAAA,SAAS,EAAEC,UAAU,qDAEnBlB,QAAQ,CAACF,KAAT,CAAemB,SAFI,EAGnB,eAHmB,EAInB;AACE,4BAAoBjB,QAAQ,CAACoB,IAAT,CAAc,aAAd,CAApB,GAAqDpB,QAAQ,CAACoB,IAAT,CAAc,aAAd;AADvD,KAJmB,EAOnBf,UAAU,CAACY,SAPQ;AARhB,KAAP;AAiBD","sources":["./node_modules/@parcel/scope-hoisting/lib/helpers.js","./node_modules/@adobe/spectrum-css-temp/components/icon/vars.css","./packages/@react-spectrum/icon/src/Icon.tsx","./packages/@react-spectrum/icon/src/UIIcon.tsx"],"sourcesContent":["function $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\nfunction $parcel$defineInteropFlag(a) {\n Object.defineProperty(a, '__esModule', {value: true});\n}\n\nfunction $parcel$exportWildcard(dest, source) {\n Object.keys(source).forEach(function(key) {\n if (key === 'default' || key === '__esModule') {\n return;\n }\n\n Object.defineProperty(dest, key, {\n enumerable: true,\n get: function get() {\n return source[key];\n },\n });\n });\n\n return dest;\n}\n\nfunction $parcel$missingModule(name) {\n var err = new Error(\"Cannot find module '\" + name + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n}\n\nvar $parcel$global =\n typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n","/*\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 {AriaLabelingProps, DOMProps, IconColorValue, StyleProps} from '@react-types/shared';\nimport {baseStyleProps, classNames, StyleHandlers, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '@react-spectrum/provider';\n\ninterface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n /**\n * A screen reader only label for the Icon.\n */\n 'aria-label'?: string,\n /**\n * The content to display. Should be an SVG.\n */\n children: ReactElement,\n /**\n * Size of Icon (changes based on scale).\n */\n size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' |'XL' | 'XXL',\n /**\n * A slot to place the icon in.\n * @default 'icon'\n */\n slot?: string,\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true',\n /**\n * Color of the Icon.\n */\n color?: IconColorValue\n}\n\nexport type IconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nfunction iconColorValue(value: IconColorValue) {\n return `var(--spectrum-semantic-${value}-color-icon)`;\n}\n\nconst iconStyleProps: StyleHandlers = {\n ...baseStyleProps,\n color: ['color', iconColorValue]\n};\n\n/**\n * Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and rational principles of the design system in both metaphor and style.\n */\nexport function Icon(props: IconProps) {\n props = useSlotProps(props, 'icon');\n let {\n children,\n size,\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaHidden,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps, iconStyleProps);\n\n let provider = useProvider();\n let scale = 'M';\n if (provider !== null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n // Use user specified size, falling back to provider scale if size is undef\n let iconSize = size ? size : scale;\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': (ariaLabel ? (ariaHidden || undefined) : true),\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n `spectrum-Icon--size${iconSize}`,\n styleProps.className)\n });\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared';\nimport {classNames, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '@react-spectrum/provider';\n\ninterface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n children: ReactElement,\n slot?: string,\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true'\n}\n\nexport type UIIconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nexport function UIIcon(props: IconProps) {\n props = useSlotProps(props, 'icon');\n let {\n children,\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaHidden,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let provider = useProvider();\n let scale = 'M';\n if (provider !== null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n scale,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': (ariaLabel ? (ariaHidden || undefined) : true),\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n {\n [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']\n },\n styleProps.className)\n });\n}\n"],"names":["$parcel$interopDefault","a","__esModule","default","iconColorValue","value","iconStyleProps","baseStyleProps","color","Icon","props","useSlotProps","children","size","ariaLabel","ariaHidden","otherProps","styleProps","useStyleProps","provider","useProvider","scale","undefined","iconSize","React","cloneElement","filterDOMProps","focusable","role","className","classNames","UIIcon","type"],"version":3,"file":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AAG,kBAAW;IAC1B,GAAG,CAAC,KAAK,GAAG,CAAG;IACf,EAAE,EAAE,QAAQ,KAAK,IAAI,EACnB,KAAK,GAAG,QAAQ,CAAC,KAAK,KAAK,CAAO,SAAG,CAAG,KAAG,CAAG;IAGhD,EAAE,GAAG,UAAU,EACb,UAAU,GAAG,SAAS;IAGxB,MAAM,eAAC,YAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;WAChC,qBAAc,CAAC,UAAU;WACzB,UAAU;eACb,KAAK;QACL,SAAS,EAAE,CAAO;QAClB,CAAY,aAAE,SAAS;QACvB,CAAa,cAAG,SAAS,GAAI,UAAU,IAAI,SAAS,GAAI,IAAI;QAC5D,IAAI,EAAE,CAAK;QACX,SAAS,EAAE,iBAAU,CACnB,gEAAM,EACN,QAAQ,CAAC,KAAK,CAAC,SAAS,EACxB,CAAe,gBACf,CAAC;cACG,gBAAgB,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAa,kBAAM,QAAQ,CAAC,IAAI,CAAC,CAAa;QAClF,CAAC,EACD,UAAU,CAAC,SAAS;IACxB,CAAC;AACH,CAAC;;","sources":["packages/@react-spectrum/icon/src/index.ts","packages/@react-spectrum/icon/src/Icon.tsx","packages/@adobe/spectrum-css-temp/components/icon/vars.css","packages/@react-spectrum/icon/src/UIIcon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport * from './Icon';\nexport * from './UIIcon';\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 {AriaLabelingProps, DOMProps, IconColorValue, StyleProps} from '@react-types/shared';\nimport {baseStyleProps, classNames, StyleHandlers, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '@react-spectrum/provider';\n\ninterface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n /**\n * A screen reader only label for the Icon.\n */\n 'aria-label'?: string,\n /**\n * The content to display. Should be an SVG.\n */\n children: ReactElement,\n /**\n * Size of Icon (changes based on scale).\n */\n size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' |'XL' | 'XXL',\n /**\n * A slot to place the icon in.\n * @default 'icon'\n */\n slot?: string,\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true',\n /**\n * Color of the Icon.\n */\n color?: IconColorValue\n}\n\nexport type IconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nfunction iconColorValue(value: IconColorValue) {\n return `var(--spectrum-semantic-${value}-color-icon)`;\n}\n\nconst iconStyleProps: StyleHandlers = {\n ...baseStyleProps,\n color: ['color', iconColorValue]\n};\n\n/**\n * Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and rational principles of the design system in both metaphor and style.\n */\nexport function Icon(props: IconProps) {\n props = useSlotProps(props, 'icon');\n let {\n children,\n size,\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaHidden,\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps, iconStyleProps);\n\n let provider = useProvider();\n let scale = 'M';\n if (provider !== null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n // Use user specified size, falling back to provider scale if size is undef\n let iconSize = size ? size : scale;\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': (ariaLabel ? (ariaHidden || undefined) : true),\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n `spectrum-Icon--size${iconSize}`,\n styleProps.className)\n });\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n","/*\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 {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared';\nimport {classNames, useSlotProps, useStyleProps} from '@react-spectrum/utils';\nimport {filterDOMProps} from '@react-aria/utils';\nimport React, {ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '@react-spectrum/provider';\n\ninterface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n children: ReactElement,\n slot?: string,\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true'\n}\n\nexport type UIIconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nexport function UIIcon(props: IconProps) {\n props = useSlotProps(props, 'icon');\n let {\n children,\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaHidden,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let provider = useProvider();\n let scale = 'M';\n if (provider !== null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n scale,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': (ariaLabel ? (ariaHidden || undefined) : true),\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n {\n [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']\n },\n styleProps.className)\n });\n}\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/dist/types.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export type IconPropsWithoutChildren = Omit<IconProps, 'children'>;
|
|
|
31
31
|
/**
|
|
32
32
|
* Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and rational principles of the design system in both metaphor and style.
|
|
33
33
|
*/
|
|
34
|
-
export function Icon(props: IconProps): React.ReactElement<any, string |
|
|
34
|
+
export function Icon(props: IconProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
35
35
|
interface _IconProps1 extends DOMProps, AriaLabelingProps, StyleProps {
|
|
36
36
|
children: ReactElement;
|
|
37
37
|
slot?: string;
|
|
@@ -41,6 +41,6 @@ interface _IconProps1 extends DOMProps, AriaLabelingProps, StyleProps {
|
|
|
41
41
|
'aria-hidden'?: boolean | 'false' | 'true';
|
|
42
42
|
}
|
|
43
43
|
export type UIIconPropsWithoutChildren = Omit<_IconProps1, 'children'>;
|
|
44
|
-
export function UIIcon(props: _IconProps1): React.ReactElement<any, string |
|
|
44
|
+
export function UIIcon(props: _IconProps1): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
45
45
|
|
|
46
46
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":"
|
|
1
|
+
{"mappings":";;AAmBA,mBAAoB,SAAQ,QAAQ,EAAE,iBAAiB,EAAE,UAAU;IACjE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAE,IAAI,GAAG,KAAK,CAAC;IACpD;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IAC3C;;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAA;CACvB;AAED,uCAAuC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AAWnE;;GAEG;AACH,qBAAqB,KAAK,EAAE,SAAS,sEAqCpC;AC/ED,qBAAoB,SAAQ,QAAQ,EAAE,iBAAiB,EAAE,UAAU;IACjE,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAA;CAC3C;AAED,yCAAyC,IAAI,CAAC,WAAS,EAAE,UAAU,CAAC,CAAC;AAErE,uBAAuB,KAAK,EAAE,WAAS,sEAqCtC","sources":["packages/@react-spectrum/icon/src/packages/@react-spectrum/icon/src/Icon.tsx","packages/@react-spectrum/icon/src/packages/@react-spectrum/icon/src/UIIcon.tsx","packages/@react-spectrum/icon/src/packages/@react-spectrum/icon/src/index.ts","packages/@react-spectrum/icon/src/index.ts"],"sourcesContent":[null,null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport * from './Icon';\nexport * from './UIIcon';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/icon",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.5",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.6.2",
|
|
35
|
-
"@react-aria/utils": "^3.
|
|
36
|
-
"@react-spectrum/utils": "^3.6.
|
|
37
|
-
"@react-types/shared": "^3.
|
|
35
|
+
"@react-aria/utils": "^3.11.3",
|
|
36
|
+
"@react-spectrum/utils": "^3.6.6",
|
|
37
|
+
"@react-types/shared": "^3.11.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@adobe/spectrum-css-temp": "3.0.0-alpha.1"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "ed8d8d984c2f7f2c31e8b18795b97858a95e4729"
|
|
50
50
|
}
|
package/dist/main.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":"AAYA,8CAEE,oBAAqB,CAGrB,aAAc,CAGd,iBAAkB,CAQlB,mBACF,CANE,oEACE,eACF,CCFA,qGAGE,0DAAyC,CACzC,yDACF,CAIA,kGAGE,0DAAwC,CACxC,yDACF,CAIA,+FAGE,gDAAuC,CACvC,+CACF,CAIA,+FAGE,gDAAuC,CACvC,+CACF,CAIA,+FAGE,0DAAuC,CACvC,yDACF,CAIA,kGAGE,0DAAwC,CACxC,yDACF,CAIA,qGAGE,0DAAyC,CACzC,yDACF,CCpEA,wDACE,YACF,CACA,yDACE,cACF,CAIA,wDACE,YACF,CACA,uDACE,cACF,CAIF,wBACE,6BAA+B,CAC/B,6BACF,CACA,yBACE,8BAAgC,CAChC,4BACF,CAEA,+BACE,oCACF,CACA,gCACE,qCACF,CAGA,oCACE,+CAAoD,CACpD,gDACF,CACA,mCACE,+CAAmD,CACnD,gDACF,CACA,uCACE,+CAAwD,CACxD,mDACF,CACA,wCACE,+CAAyD,CACzD,oDACF,CACA,iCACE,+CAAqD,CACrD,gDACF,CACA,wCACE,iDAAwD,CACxD,mDACF,CACA,uCACE,gDAAuD,CACvD,kDACF,CACA,0CACE,oDAA2D,CAC3D,+CACF,CACA,yCACE,+CAA0D,CAC1D,+CACF,CACA,yCACE,mDAA0D,CAC1D,gDACF,CACA,0CACE,8CAA2D,CAC3D,sDACF,CACA,0CACE,oDAA2D,CAC3D,gDACF,CACA,2CACE,8CAA4D,CAC5D,uDACF,CACA,0CACE,8CAA2D,CAC3D,gDACF,CACA,uCACE,+CAAwD,CACxD,+CACF,CACA,uCACE,8CAAsD,CACtD,+CACF,CACA,mCACE,4CAAmD,CACnD,8CACF,CAKA,uEACE,+CAAmD,CACnD,gDACF,CACA,kCACE,2CAAkD,CAClD,6CACF,CACA,sCACE,+CAAqD,CACrD,+CACF,CAKA,4EACE,+CAAmD,CACnD,gDACF,CACA,kCACE,+CAAkD,CAClD,gDACF,CACA,mCACE,+CAAmD,CACnD,gDACF,CACA,kCACE,+CAAkD,CAClD,gDACF,CACA,kCACE,+CAAiD,CACjD,gDACF,CACA,iCACE,0CAAiD,CACjD,4CACF,CACA,kCACE,2CAAkD,CAClD,6CACF,CASA,uGACE,+CAAsD,CACtD,gDACF,CACA,qCACE,+CAAqD,CACrD,gDACF,CACA,sCACE,8CAAqD,CACrD,+CACF","sources":["./node_modules/@adobe/spectrum-css-temp/components/icon/icons.css","./node_modules/@adobe/spectrum-css-temp/components/icon/workflow-icons.css","./node_modules/@adobe/spectrum-css-temp/components/icon/ui-icons.css"],"sourcesContent":["/*\nCopyright 2019 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n.spectrum-Icon,\n.spectrum-UIIcon {\n display: inline-block;\n\n /* Inherit the text color */\n color: inherit;\n\n /* Fill should match the current text color */\n fill: currentColor;\n\n /* Hide the svg overflow in IE. */\n &:not(:root) {\n overflow: hidden;\n }\n\n /* Don't catch clicks or hover, otherwise they may not escape the SVG */\n pointer-events: none;\n}\n","/*\nCopyright 2019 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n:root {\n --spectrum-icon-size-s: var(--spectrum-alias-workflow-icon-size);\n --spectrum-icon-size-m: var(--spectrum-global-dimension-size-300);\n --spectrum-icon-size-xxs: calc(var(--spectrum-icon-size-s) / 2);\n --spectrum-icon-size-xs: calc(var(--spectrum-icon-size-m) / 2);\n --spectrum-icon-size-l: calc(var(--spectrum-icon-size-s) * 2);\n --spectrum-icon-size-xl: calc(var(--spectrum-icon-size-m) * 2);\n --spectrum-icon-size-xxl: calc(var(--spectrum-icon-size-m) * 3);\n}\n\n.spectrum-Icon--sizeXXS {\n &,\n img,\n svg {\n block-size: var(--spectrum-icon-size-xxs);\n inline-size: var(--spectrum-icon-size-xxs);\n }\n}\n\n.spectrum-Icon--sizeXS {\n &,\n img,\n svg {\n block-size: var(--spectrum-icon-size-xs);\n inline-size: var(--spectrum-icon-size-xs);\n }\n}\n\n.spectrum-Icon--sizeS {\n &,\n img,\n svg {\n block-size: var(--spectrum-icon-size-s);\n inline-size: var(--spectrum-icon-size-s);\n }\n}\n\n.spectrum-Icon--sizeM {\n &,\n img,\n svg {\n block-size: var(--spectrum-icon-size-m);\n inline-size: var(--spectrum-icon-size-m);\n }\n}\n\n.spectrum-Icon--sizeL {\n &,\n img,\n svg {\n block-size: var(--spectrum-icon-size-l);\n inline-size: var(--spectrum-icon-size-l);\n }\n}\n\n.spectrum-Icon--sizeXL {\n &,\n img,\n svg {\n block-size: var(--spectrum-icon-size-xl);\n inline-size: var(--spectrum-icon-size-xl);\n }\n}\n\n.spectrum-Icon--sizeXXL {\n &,\n img,\n svg {\n block-size: var(--spectrum-icon-size-xxl);\n inline-size: var(--spectrum-icon-size-xxl);\n }\n}\n","/*\nCopyright 2019 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n/* Hide UI icons on older browsers with SVG 1.1 implementations */\n.spectrum--medium {\n .spectrum-UIIcon--large {\n display: none;\n }\n .spectrum-UIIcon--medium {\n display: inline;\n }\n}\n\n.spectrum--large {\n .spectrum-UIIcon--medium {\n display: none;\n }\n .spectrum-UIIcon--large {\n display: inline;\n }\n}\n\n/* Hide UI icons on browsers that implement SVG 2 correctly (Firefox 56+) */\n.spectrum--large {\n x--ui-icon-large-display: block;\n x--ui-icon-medium-display: none;\n}\n.spectrum--medium {\n x--ui-icon-medium-display: block;\n x--ui-icon-large-display: none;\n}\n\n.spectrum-UIIcon--large {\n display: xvar(--ui-icon-large-display);\n}\n.spectrum-UIIcon--medium {\n display: xvar(--ui-icon-medium-display);\n}\n\n/* UI Icons */\n.spectrum-UIIcon-AlertMedium {\n inline-size: var(--spectrum-icon-alert-medium-width);\n block-size: var(--spectrum-icon-alert-medium-height);\n}\n.spectrum-UIIcon-AlertSmall {\n inline-size: var(--spectrum-icon-alert-small-width);\n block-size: var(--spectrum-icon-alert-small-height);\n}\n.spectrum-UIIcon-ArrowDownSmall {\n inline-size: var(--spectrum-icon-arrow-down-small-width);\n block-size: var(--spectrum-icon-arrow-down-small-height);\n}\n.spectrum-UIIcon-ArrowLeftMedium {\n inline-size: var(--spectrum-icon-arrow-left-medium-width);\n block-size: var(--spectrum-icon-arrow-left-medium-height);\n}\n.spectrum-UIIcon-Asterisk {\n inline-size: var(--spectrum-fieldlabel-asterisk-size);\n block-size: var(--spectrum-fieldlabel-asterisk-size);\n}\n.spectrum-UIIcon-CheckmarkMedium {\n inline-size: var(--spectrum-icon-checkmark-medium-width);\n block-size: var(--spectrum-icon-checkmark-medium-height);\n}\n.spectrum-UIIcon-CheckmarkSmall {\n inline-size: var(--spectrum-icon-checkmark-small-width);\n block-size: var(--spectrum-icon-checkmark-small-height);\n}\n.spectrum-UIIcon-ChevronDownMedium {\n inline-size: var(--spectrum-icon-chevron-down-medium-width);\n block-size: var(--spectrum-icon-chevron-down-medium-height);\n}\n.spectrum-UIIcon-ChevronDownSmall {\n inline-size: var(--spectrum-icon-chevron-down-small-width);\n block-size: var(--spectrum-icon-chevron-down-small-height);\n}\n.spectrum-UIIcon-ChevronLeftLarge {\n inline-size: var(--spectrum-icon-chevron-left-large-width);\n block-size: var(--spectrum-icon-chevron-left-large-height);\n}\n.spectrum-UIIcon-ChevronLeftMedium {\n inline-size: var(--spectrum-icon-chevron-left-medium-width);\n block-size: var(--spectrum-icon-chevron-left-medium-height);\n}\n.spectrum-UIIcon-ChevronRightLarge {\n inline-size: var(--spectrum-icon-chevron-right-large-width);\n block-size: var(--spectrum-icon-chevron-right-large-height);\n}\n.spectrum-UIIcon-ChevronRightMedium {\n inline-size: var(--spectrum-icon-chevron-right-medium-width);\n block-size: var(--spectrum-icon-chevron-right-medium-height);\n}\n.spectrum-UIIcon-ChevronRightSmall {\n inline-size: var(--spectrum-icon-chevron-right-small-width);\n block-size: var(--spectrum-icon-chevron-right-small-height);\n}\n.spectrum-UIIcon-ChevronUpSmall {\n inline-size: var(--spectrum-icon-chevron-up-small-width);\n block-size: var(--spectrum-icon-chevron-up-small-height);\n}\n.spectrum-UIIcon-CornerTriangle {\n inline-size: var(--spectrum-icon-cornertriangle-width);\n block-size: var(--spectrum-icon-cornertriangle-height);\n}\n.spectrum-UIIcon-CrossLarge {\n inline-size: var(--spectrum-icon-cross-large-width);\n block-size: var(--spectrum-icon-cross-large-height);\n}\n.spectrum-UIIcon-CrossMedium {\n inline-size: var(--spectrum-icon-cross-medium-width);\n block-size: var(--spectrum-icon-cross-medium-height);\n}\n.spectrum-UIIcon-CrossSmall {\n inline-size: var(--spectrum-icon-cross-small-width);\n block-size: var(--spectrum-icon-cross-small-height);\n}\n.spectrum-UIIcon-DashSmall {\n inline-size: var(--spectrum-icon-dash-small-width);\n block-size: var(--spectrum-icon-dash-small-height);\n}\n.spectrum-UIIcon-DoubleGripper {\n inline-size: var(--spectrum-icon-doublegripper-width);\n block-size: var(--spectrum-icon-doublegripper-height);\n}\n.spectrum-UIIcon-FolderBreadcrumb {\n inline-size: var(--spectrum-icon-folderbreadcrumb-width);\n block-size: var(--spectrum-icon-folderbreadcrumb-height);\n}\n.spectrum-UIIcon-HelpMedium {\n inline-size: var(--spectrum-icon-info-medium-width);\n block-size: var(--spectrum-icon-info-medium-height);\n}\n.spectrum-UIIcon-HelpSmall {\n inline-size: var(--spectrum-icon-info-small-width);\n block-size: var(--spectrum-icon-info-small-height);\n}\n.spectrum-UIIcon-InfoMedium {\n inline-size: var(--spectrum-icon-info-medium-width);\n block-size: var(--spectrum-icon-info-medium-height);\n}\n.spectrum-UIIcon-InfoSmall {\n inline-size: var(--spectrum-icon-info-small-width);\n block-size: var(--spectrum-icon-info-small-height);\n}\n.spectrum-UIIcon-Magnifier {\n inline-size: var(--spectrum-icon-magnifier-width);\n block-size: var(--spectrum-icon-magnifier-height);\n}\n.spectrum-UIIcon-SkipLeft {\n inline-size: var(--spectrum-icon-skip-left-width);\n block-size: var(--spectrum-icon-skip-left-height);\n}\n.spectrum-UIIcon-SkipRight {\n inline-size: var(--spectrum-icon-skip-right-width);\n block-size: var(--spectrum-icon-skip-right-height);\n}\n.spectrum-UIIcon-Star {\n inline-size: var(--spectrum-icon-star-width);\n block-size: var(--spectrum-icon-star-height);\n}\n.spectrum-UIIcon-StarOutline {\n inline-size: var(--spectrum-icon-star-outline-width);\n block-size: var(--spectrum-icon-star-outline-height);\n}\n.spectrum-UIIcon-SuccessMedium {\n inline-size: var(--spectrum-icon-success-medium-width);\n block-size: var(--spectrum-icon-success-medium-height);\n}\n.spectrum-UIIcon-SuccessSmall {\n inline-size: var(--spectrum-icon-success-small-width);\n block-size: var(--spectrum-icon-success-small-height);\n}\n.spectrum-UIIcon-TripleGripper {\n inline-size: var(--spectrum-icon-triplegripper-width);\n block-size: var(--spectrum-icon-triplegripper-height);\n}\n"],"names":[],"version":3,"file":"main.css.map"}
|