@react-spectrum/icon 3.3.2 → 3.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.css CHANGED
@@ -1,2 +1 @@
1
- ._spectrum-Icon_8ac98,._spectrum-UIIcon_8ac98{display:inline-block;color:inherit;fill:currentColor;pointer-events:none}._spectrum-Icon_8ac98:not(:root),._spectrum-UIIcon_8ac98:not(:root){overflow:hidden}._spectrum-Icon--sizeXXS_8ac98,._spectrum-Icon--sizeXXS_8ac98 img,._spectrum-Icon--sizeXXS_8ac98 svg{height:calc(var(--spectrum-global-dimension-size-225) / 2);width:calc(var(--spectrum-global-dimension-size-225) / 2)}._spectrum-Icon--sizeXS_8ac98,._spectrum-Icon--sizeXS_8ac98 img,._spectrum-Icon--sizeXS_8ac98 svg{height:calc(var(--spectrum-global-dimension-size-300) / 2);width:calc(var(--spectrum-global-dimension-size-300) / 2)}._spectrum-Icon--sizeS_8ac98,._spectrum-Icon--sizeS_8ac98 img,._spectrum-Icon--sizeS_8ac98 svg{height:var(--spectrum-global-dimension-size-225);width:var(--spectrum-global-dimension-size-225)}._spectrum-Icon--sizeM_8ac98,._spectrum-Icon--sizeM_8ac98 img,._spectrum-Icon--sizeM_8ac98 svg{height:var(--spectrum-global-dimension-size-300);width:var(--spectrum-global-dimension-size-300)}._spectrum-Icon--sizeL_8ac98,._spectrum-Icon--sizeL_8ac98 img,._spectrum-Icon--sizeL_8ac98 svg{height:calc(var(--spectrum-global-dimension-size-225) * 2);width:calc(var(--spectrum-global-dimension-size-225) * 2)}._spectrum-Icon--sizeXL_8ac98,._spectrum-Icon--sizeXL_8ac98 img,._spectrum-Icon--sizeXL_8ac98 svg{height:calc(var(--spectrum-global-dimension-size-300) * 2);width:calc(var(--spectrum-global-dimension-size-300) * 2)}._spectrum-Icon--sizeXXL_8ac98,._spectrum-Icon--sizeXXL_8ac98 img,._spectrum-Icon--sizeXXL_8ac98 svg{height:calc(var(--spectrum-global-dimension-size-300) * 3);width:calc(var(--spectrum-global-dimension-size-300) * 3)}._spectrum--medium_8ac98 ._spectrum-UIIcon--large_8ac98{display:none}._spectrum--medium_8ac98 ._spectrum-UIIcon--medium_8ac98{display:inline}._spectrum--large_8ac98 ._spectrum-UIIcon--medium_8ac98{display:none}._spectrum--large_8ac98 ._spectrum-UIIcon--large_8ac98{display:inline}._spectrum--large_8ac98{--ui-icon-large-display:block;--ui-icon-medium-display:none}._spectrum--medium_8ac98{--ui-icon-medium-display:block;--ui-icon-large-display:none}._spectrum-UIIcon--large_8ac98{display:var(--ui-icon-large-display)}._spectrum-UIIcon--medium_8ac98{display:var(--ui-icon-medium-display)}._spectrum-UIIcon-AlertMedium_8ac98{width:var(--spectrum-global-dimension-size-225);height:var(--spectrum-global-dimension-size-225)}._spectrum-UIIcon-AlertSmall_8ac98{width:var(--spectrum-global-dimension-size-175);height:var(--spectrum-global-dimension-size-175)}._spectrum-UIIcon-ArrowDownSmall_8ac98{width:var(--spectrum-global-dimension-size-100);height:var(--spectrum-icon-arrow-down-small-height)}._spectrum-UIIcon-ArrowLeftMedium_8ac98{width:var(--spectrum-global-dimension-size-175);height:var(--spectrum-icon-arrow-left-medium-height)}._spectrum-UIIcon-Asterisk_8ac98{width:var(--spectrum-global-dimension-size-100);height:var(--spectrum-global-dimension-size-100)}._spectrum-UIIcon-CheckmarkMedium_8ac98{width:var(--spectrum-icon-checkmark-medium-width);height:var(--spectrum-icon-checkmark-medium-height)}._spectrum-UIIcon-CheckmarkSmall_8ac98{width:var(--spectrum-icon-checkmark-small-width);height:var(--spectrum-icon-checkmark-small-height)}._spectrum-UIIcon-ChevronDownMedium_8ac98{width:var(--spectrum-icon-chevron-down-medium-width);height:var(--spectrum-global-dimension-size-75)}._spectrum-UIIcon-ChevronDownSmall_8ac98{width:var(--spectrum-global-dimension-size-100);height:var(--spectrum-global-dimension-size-75)}._spectrum-UIIcon-ChevronLeftLarge_8ac98{width:var(--spectrum-icon-chevron-left-large-width);height:var(--spectrum-global-dimension-size-200)}._spectrum-UIIcon-ChevronLeftMedium_8ac98{width:var(--spectrum-global-dimension-size-75);height:var(--spectrum-icon-chevron-left-medium-height)}._spectrum-UIIcon-ChevronRightLarge_8ac98{width:var(--spectrum-icon-chevron-right-large-width);height:var(--spectrum-global-dimension-size-200)}._spectrum-UIIcon-ChevronRightMedium_8ac98{width:var(--spectrum-global-dimension-size-75);height:var(--spectrum-icon-chevron-right-medium-height)}._spectrum-UIIcon-ChevronRightSmall_8ac98{width:var(--spectrum-global-dimension-size-75);height:var(--spectrum-global-dimension-size-100)}._spectrum-UIIcon-ChevronUpSmall_8ac98{width:var(--spectrum-global-dimension-size-100);height:var(--spectrum-global-dimension-size-75)}._spectrum-UIIcon-CornerTriangle_8ac98{width:var(--spectrum-global-dimension-size-65);height:var(--spectrum-global-dimension-size-65)}._spectrum-UIIcon-CrossLarge_8ac98{width:var(--spectrum-icon-cross-large-width);height:var(--spectrum-icon-cross-large-height)}._spectrum-UIIcon-CrossMedium_8ac98,._spectrum-UIIcon-CrossSmall_8ac98{width:var(--spectrum-global-dimension-size-100);height:var(--spectrum-global-dimension-size-100)}._spectrum-UIIcon-DashSmall_8ac98{width:var(--spectrum-icon-dash-small-width);height:var(--spectrum-icon-dash-small-height)}._spectrum-UIIcon-DoubleGripper_8ac98{width:var(--spectrum-global-dimension-size-200);height:var(--spectrum-global-dimension-size-50)}._spectrum-UIIcon-FolderBreadcrumb_8ac98,._spectrum-UIIcon-HelpMedium_8ac98{width:var(--spectrum-global-dimension-size-225);height:var(--spectrum-global-dimension-size-225)}._spectrum-UIIcon-HelpSmall_8ac98{width:var(--spectrum-global-dimension-size-175);height:var(--spectrum-global-dimension-size-175)}._spectrum-UIIcon-InfoMedium_8ac98{width:var(--spectrum-global-dimension-size-225);height:var(--spectrum-global-dimension-size-225)}._spectrum-UIIcon-InfoSmall_8ac98{width:var(--spectrum-global-dimension-size-175);height:var(--spectrum-global-dimension-size-175)}._spectrum-UIIcon-Magnifier_8ac98{width:var(--spectrum-global-dimension-size-200);height:var(--spectrum-global-dimension-size-200)}._spectrum-UIIcon-SkipLeft_8ac98{width:var(--spectrum-icon-skip-left-width);height:var(--spectrum-icon-skip-left-height)}._spectrum-UIIcon-SkipRight_8ac98{width:var(--spectrum-icon-skip-right-width);height:var(--spectrum-icon-skip-right-height)}._spectrum-UIIcon-Star_8ac98,._spectrum-UIIcon-StarOutline_8ac98,._spectrum-UIIcon-SuccessMedium_8ac98{width:var(--spectrum-global-dimension-size-225);height:var(--spectrum-global-dimension-size-225)}._spectrum-UIIcon-SuccessSmall_8ac98{width:var(--spectrum-global-dimension-size-175);height:var(--spectrum-global-dimension-size-175)}._spectrum-UIIcon-TripleGripper_8ac98{width:var(--spectrum-icon-triplegripper-width);height:var(--spectrum-global-dimension-size-85)}
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-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,248 @@
1
- var {
2
- useProvider
3
- } = require("@react-spectrum/provider");
4
-
5
- var _react = $parcel$interopDefault(require("react"));
1
+ require("./main.css");
2
+ var $lbxS3$reactspectrumutils = require("@react-spectrum/utils");
3
+ var $lbxS3$reactariautils = require("@react-aria/utils");
4
+ var $lbxS3$react = require("react");
5
+ var $lbxS3$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 $90f0aba8589f9ebe$exports = {};
30
+
31
+ $parcel$export($90f0aba8589f9ebe$exports, "Icon", () => $90f0aba8589f9ebe$export$f04a61298a47a40f);
32
+
33
+
34
+
35
+ var $17e9b7ce1e5ba82e$exports = {};
36
+
37
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-Icon", () => $17e9b7ce1e5ba82e$export$d374b04f30360026, (v) => $17e9b7ce1e5ba82e$export$d374b04f30360026 = v);
38
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon", () => $17e9b7ce1e5ba82e$export$c7db7fdc5aac13aa, (v) => $17e9b7ce1e5ba82e$export$c7db7fdc5aac13aa = v);
39
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-Icon--sizeXXS", () => $17e9b7ce1e5ba82e$export$cab8448604b31f43, (v) => $17e9b7ce1e5ba82e$export$cab8448604b31f43 = v);
40
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-Icon--sizeXS", () => $17e9b7ce1e5ba82e$export$557c0af6873b4222, (v) => $17e9b7ce1e5ba82e$export$557c0af6873b4222 = v);
41
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-Icon--sizeS", () => $17e9b7ce1e5ba82e$export$34ce05647f0c65e, (v) => $17e9b7ce1e5ba82e$export$34ce05647f0c65e = v);
42
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-Icon--sizeM", () => $17e9b7ce1e5ba82e$export$8f1693ac47916bbf, (v) => $17e9b7ce1e5ba82e$export$8f1693ac47916bbf = v);
43
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-Icon--sizeL", () => $17e9b7ce1e5ba82e$export$8d23c37ef2a4f13e, (v) => $17e9b7ce1e5ba82e$export$8d23c37ef2a4f13e = v);
44
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-Icon--sizeXL", () => $17e9b7ce1e5ba82e$export$c6e70a22e841bc1b, (v) => $17e9b7ce1e5ba82e$export$c6e70a22e841bc1b = v);
45
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-Icon--sizeXXL", () => $17e9b7ce1e5ba82e$export$b37777493a27e620, (v) => $17e9b7ce1e5ba82e$export$b37777493a27e620 = v);
46
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum--medium", () => $17e9b7ce1e5ba82e$export$4c0c83b3f4303ef8, (v) => $17e9b7ce1e5ba82e$export$4c0c83b3f4303ef8 = v);
47
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon--large", () => $17e9b7ce1e5ba82e$export$2265a487ad399d8b, (v) => $17e9b7ce1e5ba82e$export$2265a487ad399d8b = v);
48
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon--medium", () => $17e9b7ce1e5ba82e$export$a6044013cf72ddc9, (v) => $17e9b7ce1e5ba82e$export$a6044013cf72ddc9 = v);
49
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum--large", () => $17e9b7ce1e5ba82e$export$a88a8dbe29386d31, (v) => $17e9b7ce1e5ba82e$export$a88a8dbe29386d31 = v);
50
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-AlertMedium", () => $17e9b7ce1e5ba82e$export$83be8302c01b6478, (v) => $17e9b7ce1e5ba82e$export$83be8302c01b6478 = v);
51
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-AlertSmall", () => $17e9b7ce1e5ba82e$export$57b49d6ee2e9f187, (v) => $17e9b7ce1e5ba82e$export$57b49d6ee2e9f187 = v);
52
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-ArrowDownSmall", () => $17e9b7ce1e5ba82e$export$81968d05e3681b3f, (v) => $17e9b7ce1e5ba82e$export$81968d05e3681b3f = v);
53
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-ArrowLeftMedium", () => $17e9b7ce1e5ba82e$export$c0d655f335b5bc31, (v) => $17e9b7ce1e5ba82e$export$c0d655f335b5bc31 = v);
54
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-Asterisk", () => $17e9b7ce1e5ba82e$export$cca4342eca45562, (v) => $17e9b7ce1e5ba82e$export$cca4342eca45562 = v);
55
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-CheckmarkMedium", () => $17e9b7ce1e5ba82e$export$edc4a2e9af971b26, (v) => $17e9b7ce1e5ba82e$export$edc4a2e9af971b26 = v);
56
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-CheckmarkSmall", () => $17e9b7ce1e5ba82e$export$9e665cb12e71e037, (v) => $17e9b7ce1e5ba82e$export$9e665cb12e71e037 = v);
57
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-ChevronDownMedium", () => $17e9b7ce1e5ba82e$export$2f91b7a7627906d5, (v) => $17e9b7ce1e5ba82e$export$2f91b7a7627906d5 = v);
58
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-ChevronDownSmall", () => $17e9b7ce1e5ba82e$export$56efb4ec9eb35c07, (v) => $17e9b7ce1e5ba82e$export$56efb4ec9eb35c07 = v);
59
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-ChevronLeftLarge", () => $17e9b7ce1e5ba82e$export$5861dfe1d581a528, (v) => $17e9b7ce1e5ba82e$export$5861dfe1d581a528 = v);
60
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-ChevronLeftMedium", () => $17e9b7ce1e5ba82e$export$595a122b60890c78, (v) => $17e9b7ce1e5ba82e$export$595a122b60890c78 = v);
61
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-ChevronRightLarge", () => $17e9b7ce1e5ba82e$export$596373794435f8bc, (v) => $17e9b7ce1e5ba82e$export$596373794435f8bc = v);
62
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-ChevronRightMedium", () => $17e9b7ce1e5ba82e$export$32b379a02cafbfb3, (v) => $17e9b7ce1e5ba82e$export$32b379a02cafbfb3 = v);
63
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-ChevronRightSmall", () => $17e9b7ce1e5ba82e$export$ee5de2c4d7c8faa4, (v) => $17e9b7ce1e5ba82e$export$ee5de2c4d7c8faa4 = v);
64
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-ChevronUpSmall", () => $17e9b7ce1e5ba82e$export$c1cbae72fd236fd9, (v) => $17e9b7ce1e5ba82e$export$c1cbae72fd236fd9 = v);
65
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-CornerTriangle", () => $17e9b7ce1e5ba82e$export$636d8cde4f6b7e6, (v) => $17e9b7ce1e5ba82e$export$636d8cde4f6b7e6 = v);
66
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-CrossLarge", () => $17e9b7ce1e5ba82e$export$1f0ad4082256e3df, (v) => $17e9b7ce1e5ba82e$export$1f0ad4082256e3df = v);
67
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-CrossMedium", () => $17e9b7ce1e5ba82e$export$1e0848411e254295, (v) => $17e9b7ce1e5ba82e$export$1e0848411e254295 = v);
68
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-CrossSmall", () => $17e9b7ce1e5ba82e$export$1c1bddac0ae5fbe5, (v) => $17e9b7ce1e5ba82e$export$1c1bddac0ae5fbe5 = v);
69
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-DashSmall", () => $17e9b7ce1e5ba82e$export$98de2b9917cd3b6a, (v) => $17e9b7ce1e5ba82e$export$98de2b9917cd3b6a = v);
70
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-DoubleGripper", () => $17e9b7ce1e5ba82e$export$3c956876cb11c1e1, (v) => $17e9b7ce1e5ba82e$export$3c956876cb11c1e1 = v);
71
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-FolderBreadcrumb", () => $17e9b7ce1e5ba82e$export$55cf2795737352fc, (v) => $17e9b7ce1e5ba82e$export$55cf2795737352fc = v);
72
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-HelpMedium", () => $17e9b7ce1e5ba82e$export$d5d1e3e09ea6cd5, (v) => $17e9b7ce1e5ba82e$export$d5d1e3e09ea6cd5 = v);
73
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-HelpSmall", () => $17e9b7ce1e5ba82e$export$f51b22382127207d, (v) => $17e9b7ce1e5ba82e$export$f51b22382127207d = v);
74
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-InfoMedium", () => $17e9b7ce1e5ba82e$export$825a6c2340d3b7e5, (v) => $17e9b7ce1e5ba82e$export$825a6c2340d3b7e5 = v);
75
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-InfoSmall", () => $17e9b7ce1e5ba82e$export$4828f4a6bfd26c04, (v) => $17e9b7ce1e5ba82e$export$4828f4a6bfd26c04 = v);
76
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-Magnifier", () => $17e9b7ce1e5ba82e$export$a33650c9f4cc191e, (v) => $17e9b7ce1e5ba82e$export$a33650c9f4cc191e = v);
77
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-SkipLeft", () => $17e9b7ce1e5ba82e$export$9eb19533e4b8cc28, (v) => $17e9b7ce1e5ba82e$export$9eb19533e4b8cc28 = v);
78
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-SkipRight", () => $17e9b7ce1e5ba82e$export$67704939e41f705a, (v) => $17e9b7ce1e5ba82e$export$67704939e41f705a = v);
79
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-Star", () => $17e9b7ce1e5ba82e$export$c4d219c150b98c92, (v) => $17e9b7ce1e5ba82e$export$c4d219c150b98c92 = v);
80
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-StarOutline", () => $17e9b7ce1e5ba82e$export$bcda0a6a6d7202af, (v) => $17e9b7ce1e5ba82e$export$bcda0a6a6d7202af = v);
81
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-SuccessMedium", () => $17e9b7ce1e5ba82e$export$d18d2d837989a797, (v) => $17e9b7ce1e5ba82e$export$d18d2d837989a797 = v);
82
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-SuccessSmall", () => $17e9b7ce1e5ba82e$export$506ac7a1a72a2c65, (v) => $17e9b7ce1e5ba82e$export$506ac7a1a72a2c65 = v);
83
+ $parcel$export($17e9b7ce1e5ba82e$exports, "spectrum-UIIcon-TripleGripper", () => $17e9b7ce1e5ba82e$export$12b8600bcd969018, (v) => $17e9b7ce1e5ba82e$export$12b8600bcd969018 = v);
84
+ var $17e9b7ce1e5ba82e$export$d374b04f30360026;
85
+ var $17e9b7ce1e5ba82e$export$c7db7fdc5aac13aa;
86
+ var $17e9b7ce1e5ba82e$export$cab8448604b31f43;
87
+ var $17e9b7ce1e5ba82e$export$557c0af6873b4222;
88
+ var $17e9b7ce1e5ba82e$export$34ce05647f0c65e;
89
+ var $17e9b7ce1e5ba82e$export$8f1693ac47916bbf;
90
+ var $17e9b7ce1e5ba82e$export$8d23c37ef2a4f13e;
91
+ var $17e9b7ce1e5ba82e$export$c6e70a22e841bc1b;
92
+ var $17e9b7ce1e5ba82e$export$b37777493a27e620;
93
+ var $17e9b7ce1e5ba82e$export$4c0c83b3f4303ef8;
94
+ var $17e9b7ce1e5ba82e$export$2265a487ad399d8b;
95
+ var $17e9b7ce1e5ba82e$export$a6044013cf72ddc9;
96
+ var $17e9b7ce1e5ba82e$export$a88a8dbe29386d31;
97
+ var $17e9b7ce1e5ba82e$export$83be8302c01b6478;
98
+ var $17e9b7ce1e5ba82e$export$57b49d6ee2e9f187;
99
+ var $17e9b7ce1e5ba82e$export$81968d05e3681b3f;
100
+ var $17e9b7ce1e5ba82e$export$c0d655f335b5bc31;
101
+ var $17e9b7ce1e5ba82e$export$cca4342eca45562;
102
+ var $17e9b7ce1e5ba82e$export$edc4a2e9af971b26;
103
+ var $17e9b7ce1e5ba82e$export$9e665cb12e71e037;
104
+ var $17e9b7ce1e5ba82e$export$2f91b7a7627906d5;
105
+ var $17e9b7ce1e5ba82e$export$56efb4ec9eb35c07;
106
+ var $17e9b7ce1e5ba82e$export$5861dfe1d581a528;
107
+ var $17e9b7ce1e5ba82e$export$595a122b60890c78;
108
+ var $17e9b7ce1e5ba82e$export$596373794435f8bc;
109
+ var $17e9b7ce1e5ba82e$export$32b379a02cafbfb3;
110
+ var $17e9b7ce1e5ba82e$export$ee5de2c4d7c8faa4;
111
+ var $17e9b7ce1e5ba82e$export$c1cbae72fd236fd9;
112
+ var $17e9b7ce1e5ba82e$export$636d8cde4f6b7e6;
113
+ var $17e9b7ce1e5ba82e$export$1f0ad4082256e3df;
114
+ var $17e9b7ce1e5ba82e$export$1e0848411e254295;
115
+ var $17e9b7ce1e5ba82e$export$1c1bddac0ae5fbe5;
116
+ var $17e9b7ce1e5ba82e$export$98de2b9917cd3b6a;
117
+ var $17e9b7ce1e5ba82e$export$3c956876cb11c1e1;
118
+ var $17e9b7ce1e5ba82e$export$55cf2795737352fc;
119
+ var $17e9b7ce1e5ba82e$export$d5d1e3e09ea6cd5;
120
+ var $17e9b7ce1e5ba82e$export$f51b22382127207d;
121
+ var $17e9b7ce1e5ba82e$export$825a6c2340d3b7e5;
122
+ var $17e9b7ce1e5ba82e$export$4828f4a6bfd26c04;
123
+ var $17e9b7ce1e5ba82e$export$a33650c9f4cc191e;
124
+ var $17e9b7ce1e5ba82e$export$9eb19533e4b8cc28;
125
+ var $17e9b7ce1e5ba82e$export$67704939e41f705a;
126
+ var $17e9b7ce1e5ba82e$export$c4d219c150b98c92;
127
+ var $17e9b7ce1e5ba82e$export$bcda0a6a6d7202af;
128
+ var $17e9b7ce1e5ba82e$export$d18d2d837989a797;
129
+ var $17e9b7ce1e5ba82e$export$506ac7a1a72a2c65;
130
+ var $17e9b7ce1e5ba82e$export$12b8600bcd969018;
131
+ $17e9b7ce1e5ba82e$export$d374b04f30360026 = "spectrum-Icon_368b34";
132
+ $17e9b7ce1e5ba82e$export$c7db7fdc5aac13aa = "spectrum-UIIcon_368b34";
133
+ $17e9b7ce1e5ba82e$export$cab8448604b31f43 = "spectrum-Icon--sizeXXS_368b34";
134
+ $17e9b7ce1e5ba82e$export$557c0af6873b4222 = "spectrum-Icon--sizeXS_368b34";
135
+ $17e9b7ce1e5ba82e$export$34ce05647f0c65e = "spectrum-Icon--sizeS_368b34";
136
+ $17e9b7ce1e5ba82e$export$8f1693ac47916bbf = "spectrum-Icon--sizeM_368b34";
137
+ $17e9b7ce1e5ba82e$export$8d23c37ef2a4f13e = "spectrum-Icon--sizeL_368b34";
138
+ $17e9b7ce1e5ba82e$export$c6e70a22e841bc1b = "spectrum-Icon--sizeXL_368b34";
139
+ $17e9b7ce1e5ba82e$export$b37777493a27e620 = "spectrum-Icon--sizeXXL_368b34";
140
+ $17e9b7ce1e5ba82e$export$4c0c83b3f4303ef8 = "spectrum--medium_368b34";
141
+ $17e9b7ce1e5ba82e$export$2265a487ad399d8b = "spectrum-UIIcon--large_368b34";
142
+ $17e9b7ce1e5ba82e$export$a6044013cf72ddc9 = "spectrum-UIIcon--medium_368b34";
143
+ $17e9b7ce1e5ba82e$export$a88a8dbe29386d31 = "spectrum--large_368b34";
144
+ $17e9b7ce1e5ba82e$export$83be8302c01b6478 = "spectrum-UIIcon-AlertMedium_368b34";
145
+ $17e9b7ce1e5ba82e$export$57b49d6ee2e9f187 = "spectrum-UIIcon-AlertSmall_368b34";
146
+ $17e9b7ce1e5ba82e$export$81968d05e3681b3f = "spectrum-UIIcon-ArrowDownSmall_368b34";
147
+ $17e9b7ce1e5ba82e$export$c0d655f335b5bc31 = "spectrum-UIIcon-ArrowLeftMedium_368b34";
148
+ $17e9b7ce1e5ba82e$export$cca4342eca45562 = "spectrum-UIIcon-Asterisk_368b34";
149
+ $17e9b7ce1e5ba82e$export$edc4a2e9af971b26 = "spectrum-UIIcon-CheckmarkMedium_368b34";
150
+ $17e9b7ce1e5ba82e$export$9e665cb12e71e037 = "spectrum-UIIcon-CheckmarkSmall_368b34";
151
+ $17e9b7ce1e5ba82e$export$2f91b7a7627906d5 = "spectrum-UIIcon-ChevronDownMedium_368b34";
152
+ $17e9b7ce1e5ba82e$export$56efb4ec9eb35c07 = "spectrum-UIIcon-ChevronDownSmall_368b34";
153
+ $17e9b7ce1e5ba82e$export$5861dfe1d581a528 = "spectrum-UIIcon-ChevronLeftLarge_368b34";
154
+ $17e9b7ce1e5ba82e$export$595a122b60890c78 = "spectrum-UIIcon-ChevronLeftMedium_368b34";
155
+ $17e9b7ce1e5ba82e$export$596373794435f8bc = "spectrum-UIIcon-ChevronRightLarge_368b34";
156
+ $17e9b7ce1e5ba82e$export$32b379a02cafbfb3 = "spectrum-UIIcon-ChevronRightMedium_368b34";
157
+ $17e9b7ce1e5ba82e$export$ee5de2c4d7c8faa4 = "spectrum-UIIcon-ChevronRightSmall_368b34";
158
+ $17e9b7ce1e5ba82e$export$c1cbae72fd236fd9 = "spectrum-UIIcon-ChevronUpSmall_368b34";
159
+ $17e9b7ce1e5ba82e$export$636d8cde4f6b7e6 = "spectrum-UIIcon-CornerTriangle_368b34";
160
+ $17e9b7ce1e5ba82e$export$1f0ad4082256e3df = "spectrum-UIIcon-CrossLarge_368b34";
161
+ $17e9b7ce1e5ba82e$export$1e0848411e254295 = "spectrum-UIIcon-CrossMedium_368b34";
162
+ $17e9b7ce1e5ba82e$export$1c1bddac0ae5fbe5 = "spectrum-UIIcon-CrossSmall_368b34";
163
+ $17e9b7ce1e5ba82e$export$98de2b9917cd3b6a = "spectrum-UIIcon-DashSmall_368b34";
164
+ $17e9b7ce1e5ba82e$export$3c956876cb11c1e1 = "spectrum-UIIcon-DoubleGripper_368b34";
165
+ $17e9b7ce1e5ba82e$export$55cf2795737352fc = "spectrum-UIIcon-FolderBreadcrumb_368b34";
166
+ $17e9b7ce1e5ba82e$export$d5d1e3e09ea6cd5 = "spectrum-UIIcon-HelpMedium_368b34";
167
+ $17e9b7ce1e5ba82e$export$f51b22382127207d = "spectrum-UIIcon-HelpSmall_368b34";
168
+ $17e9b7ce1e5ba82e$export$825a6c2340d3b7e5 = "spectrum-UIIcon-InfoMedium_368b34";
169
+ $17e9b7ce1e5ba82e$export$4828f4a6bfd26c04 = "spectrum-UIIcon-InfoSmall_368b34";
170
+ $17e9b7ce1e5ba82e$export$a33650c9f4cc191e = "spectrum-UIIcon-Magnifier_368b34";
171
+ $17e9b7ce1e5ba82e$export$9eb19533e4b8cc28 = "spectrum-UIIcon-SkipLeft_368b34";
172
+ $17e9b7ce1e5ba82e$export$67704939e41f705a = "spectrum-UIIcon-SkipRight_368b34";
173
+ $17e9b7ce1e5ba82e$export$c4d219c150b98c92 = "spectrum-UIIcon-Star_368b34";
174
+ $17e9b7ce1e5ba82e$export$bcda0a6a6d7202af = "spectrum-UIIcon-StarOutline_368b34";
175
+ $17e9b7ce1e5ba82e$export$d18d2d837989a797 = "spectrum-UIIcon-SuccessMedium_368b34";
176
+ $17e9b7ce1e5ba82e$export$506ac7a1a72a2c65 = "spectrum-UIIcon-SuccessSmall_368b34";
177
+ $17e9b7ce1e5ba82e$export$12b8600bcd969018 = "spectrum-UIIcon-TripleGripper_368b34";
178
+
179
+
180
+
181
+ function $90f0aba8589f9ebe$var$iconColorValue(value) {
182
+ return `var(--spectrum-semantic-${value}-color-icon)`;
183
+ }
184
+ const $90f0aba8589f9ebe$var$iconStyleProps = {
185
+ ...$lbxS3$reactspectrumutils.baseStyleProps,
186
+ color: [
187
+ 'color',
188
+ $90f0aba8589f9ebe$var$iconColorValue
189
+ ]
190
+ };
191
+ function $90f0aba8589f9ebe$export$f04a61298a47a40f(props) {
192
+ props = $lbxS3$reactspectrumutils.useSlotProps(props, 'icon');
193
+ let { children: children , size: size , 'aria-label': ariaLabel , 'aria-hidden': ariaHidden , ...otherProps } = props;
194
+ let { styleProps: styleProps } = $lbxS3$reactspectrumutils.useStyleProps(otherProps, $90f0aba8589f9ebe$var$iconStyleProps);
195
+ let provider = $lbxS3$reactspectrumprovider.useProvider();
196
+ let scale = 'M';
197
+ if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
198
+ if (!ariaHidden) ariaHidden = undefined;
199
+ // Use user specified size, falling back to provider scale if size is undef
200
+ let iconSize = size ? size : scale;
201
+ return(/*#__PURE__*/ ($parcel$interopDefault($lbxS3$react)).cloneElement(children, {
202
+ ...$lbxS3$reactariautils.filterDOMProps(otherProps),
203
+ ...styleProps,
204
+ focusable: 'false',
205
+ 'aria-label': ariaLabel,
206
+ 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
207
+ role: 'img',
208
+ className: $lbxS3$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($17e9b7ce1e5ba82e$exports)), children.props.className, 'spectrum-Icon', `spectrum-Icon--size${iconSize}`, styleProps.className)
209
+ }));
210
+ }
6
211
 
7
- var {
8
- filterDOMProps
9
- } = require("@react-aria/utils");
10
212
 
11
- var {
12
- baseStyleProps,
13
- classNames,
14
- useSlotProps,
15
- useStyleProps
16
- } = require("@react-spectrum/utils");
213
+ var $9553e2b654a1e620$exports = {};
17
214
 
18
- var _babelRuntimeHelpersExtends = $parcel$interopDefault(require("@babel/runtime/helpers/extends"));
215
+ $parcel$export($9553e2b654a1e620$exports, "UIIcon", () => $9553e2b654a1e620$export$906cc5990ff10700);
19
216
 
20
- var _babelRuntimeHelpersObjectWithoutPropertiesLoose = $parcel$interopDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
21
217
 
22
- require("./main.css");
23
218
 
24
- function $parcel$interopDefault(a) {
25
- return a && a.__esModule ? a.default : a;
26
- }
27
219
 
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
220
 
80
- function $f9f19014aa8aad151b33659ca$var$iconColorValue(value) {
81
- return "var(--spectrum-semantic-" + value + "-color-icon)";
221
+ function $9553e2b654a1e620$export$906cc5990ff10700(props) {
222
+ props = $lbxS3$reactspectrumutils.useSlotProps(props, 'icon');
223
+ let { children: children , 'aria-label': ariaLabel , 'aria-hidden': ariaHidden , ...otherProps } = props;
224
+ let { styleProps: styleProps } = $lbxS3$reactspectrumutils.useStyleProps(otherProps);
225
+ let provider = $lbxS3$reactspectrumprovider.useProvider();
226
+ let scale = 'M';
227
+ if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
228
+ if (!ariaHidden) ariaHidden = undefined;
229
+ return(/*#__PURE__*/ ($parcel$interopDefault($lbxS3$react)).cloneElement(children, {
230
+ ...$lbxS3$reactariautils.filterDOMProps(otherProps),
231
+ ...styleProps,
232
+ scale: scale,
233
+ focusable: 'false',
234
+ 'aria-label': ariaLabel,
235
+ 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
236
+ role: 'img',
237
+ className: $lbxS3$reactspectrumutils.classNames((/*@__PURE__*/$parcel$interopDefault($17e9b7ce1e5ba82e$exports)), children.props.className, 'spectrum-Icon', {
238
+ [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']
239
+ }, styleProps.className)
240
+ }));
82
241
  }
83
242
 
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
243
 
130
- exports.Icon = Icon;
131
-
132
- function UIIcon(props) {
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
- }
244
+ $parcel$exportWildcard(module.exports, $90f0aba8589f9ebe$exports);
245
+ $parcel$exportWildcard(module.exports, $9553e2b654a1e620$exports);
246
+
167
247
 
168
- exports.UIIcon = UIIcon;
169
248
  //# 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,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AAT,CAAgBrB,KAAhB,EAAkC;AACvCA,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,GAA2C;AAC3C,GAA0C;AAC1C,GAA2C;AAC3C,GAAsC;AACtC,GAA6C;AAC7C,GAA+C;AAC/C,GAA8C;AAC9C,GAA+C;AA9C/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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A,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,231 @@
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 $g2IY6$baseStyleProps, useSlotProps as $g2IY6$useSlotProps, useStyleProps as $g2IY6$useStyleProps, classNames as $g2IY6$classNames} from "@react-spectrum/utils";
3
+ import {filterDOMProps as $g2IY6$filterDOMProps} from "@react-aria/utils";
4
+ import $g2IY6$react from "react";
5
+ import {useProvider as $g2IY6$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
- // ASSET: /Users/govett/dev/react-spectrum-v3/node_modules/@adobe/spectrum-css-temp/components/icon/vars.css
14
- var $e0403de4450d623122b2d93055f70571$exports = {};
15
- $e0403de4450d623122b2d93055f70571$exports = {
16
- "spectrum-Icon": "_spectrum-Icon_8ac98",
17
- "spectrum-UIIcon": "_spectrum-UIIcon_8ac98",
18
- "spectrum-Icon--sizeXXS": "_spectrum-Icon--sizeXXS_8ac98",
19
- "spectrum-Icon--sizeXS": "_spectrum-Icon--sizeXS_8ac98",
20
- "spectrum-Icon--sizeS": "_spectrum-Icon--sizeS_8ac98",
21
- "spectrum-Icon--sizeM": "_spectrum-Icon--sizeM_8ac98",
22
- "spectrum-Icon--sizeL": "_spectrum-Icon--sizeL_8ac98",
23
- "spectrum-Icon--sizeXL": "_spectrum-Icon--sizeXL_8ac98",
24
- "spectrum-Icon--sizeXXL": "_spectrum-Icon--sizeXXL_8ac98",
25
- "spectrum--medium": "_spectrum--medium_8ac98",
26
- "spectrum-UIIcon--large": "_spectrum-UIIcon--large_8ac98",
27
- "spectrum-UIIcon--medium": "_spectrum-UIIcon--medium_8ac98",
28
- "spectrum--large": "_spectrum--large_8ac98",
29
- "spectrum-UIIcon-AlertMedium": "_spectrum-UIIcon-AlertMedium_8ac98",
30
- "spectrum-UIIcon-AlertSmall": "_spectrum-UIIcon-AlertSmall_8ac98",
31
- "spectrum-UIIcon-ArrowDownSmall": "_spectrum-UIIcon-ArrowDownSmall_8ac98",
32
- "spectrum-UIIcon-ArrowLeftMedium": "_spectrum-UIIcon-ArrowLeftMedium_8ac98",
33
- "spectrum-UIIcon-Asterisk": "_spectrum-UIIcon-Asterisk_8ac98",
34
- "spectrum-UIIcon-CheckmarkMedium": "_spectrum-UIIcon-CheckmarkMedium_8ac98",
35
- "spectrum-UIIcon-CheckmarkSmall": "_spectrum-UIIcon-CheckmarkSmall_8ac98",
36
- "spectrum-UIIcon-ChevronDownMedium": "_spectrum-UIIcon-ChevronDownMedium_8ac98",
37
- "spectrum-UIIcon-ChevronDownSmall": "_spectrum-UIIcon-ChevronDownSmall_8ac98",
38
- "spectrum-UIIcon-ChevronLeftLarge": "_spectrum-UIIcon-ChevronLeftLarge_8ac98",
39
- "spectrum-UIIcon-ChevronLeftMedium": "_spectrum-UIIcon-ChevronLeftMedium_8ac98",
40
- "spectrum-UIIcon-ChevronRightLarge": "_spectrum-UIIcon-ChevronRightLarge_8ac98",
41
- "spectrum-UIIcon-ChevronRightMedium": "_spectrum-UIIcon-ChevronRightMedium_8ac98",
42
- "spectrum-UIIcon-ChevronRightSmall": "_spectrum-UIIcon-ChevronRightSmall_8ac98",
43
- "spectrum-UIIcon-ChevronUpSmall": "_spectrum-UIIcon-ChevronUpSmall_8ac98",
44
- "spectrum-UIIcon-CornerTriangle": "_spectrum-UIIcon-CornerTriangle_8ac98",
45
- "spectrum-UIIcon-CrossLarge": "_spectrum-UIIcon-CrossLarge_8ac98",
46
- "spectrum-UIIcon-CrossMedium": "_spectrum-UIIcon-CrossMedium_8ac98",
47
- "spectrum-UIIcon-CrossSmall": "_spectrum-UIIcon-CrossSmall_8ac98",
48
- "spectrum-UIIcon-DashSmall": "_spectrum-UIIcon-DashSmall_8ac98",
49
- "spectrum-UIIcon-DoubleGripper": "_spectrum-UIIcon-DoubleGripper_8ac98",
50
- "spectrum-UIIcon-FolderBreadcrumb": "_spectrum-UIIcon-FolderBreadcrumb_8ac98",
51
- "spectrum-UIIcon-HelpMedium": "_spectrum-UIIcon-HelpMedium_8ac98",
52
- "spectrum-UIIcon-HelpSmall": "_spectrum-UIIcon-HelpSmall_8ac98",
53
- "spectrum-UIIcon-InfoMedium": "_spectrum-UIIcon-InfoMedium_8ac98",
54
- "spectrum-UIIcon-InfoSmall": "_spectrum-UIIcon-InfoSmall_8ac98",
55
- "spectrum-UIIcon-Magnifier": "_spectrum-UIIcon-Magnifier_8ac98",
56
- "spectrum-UIIcon-SkipLeft": "_spectrum-UIIcon-SkipLeft_8ac98",
57
- "spectrum-UIIcon-SkipRight": "_spectrum-UIIcon-SkipRight_8ac98",
58
- "spectrum-UIIcon-Star": "_spectrum-UIIcon-Star_8ac98",
59
- "spectrum-UIIcon-StarOutline": "_spectrum-UIIcon-StarOutline_8ac98",
60
- "spectrum-UIIcon-SuccessMedium": "_spectrum-UIIcon-SuccessMedium_8ac98",
61
- "spectrum-UIIcon-SuccessSmall": "_spectrum-UIIcon-SuccessSmall_8ac98",
62
- "spectrum-UIIcon-TripleGripper": "_spectrum-UIIcon-TripleGripper_8ac98"
10
+ function $parcel$export(e, n, v, s) {
11
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
12
+ }
13
+ var $095fb0f3c15b57e7$exports = {};
14
+
15
+ $parcel$export($095fb0f3c15b57e7$exports, "Icon", () => $095fb0f3c15b57e7$export$f04a61298a47a40f);
16
+
17
+
18
+
19
+ var $336bf6b5045920dd$exports = {};
20
+
21
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-Icon", () => $336bf6b5045920dd$export$d374b04f30360026, (v) => $336bf6b5045920dd$export$d374b04f30360026 = v);
22
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon", () => $336bf6b5045920dd$export$c7db7fdc5aac13aa, (v) => $336bf6b5045920dd$export$c7db7fdc5aac13aa = v);
23
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-Icon--sizeXXS", () => $336bf6b5045920dd$export$cab8448604b31f43, (v) => $336bf6b5045920dd$export$cab8448604b31f43 = v);
24
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-Icon--sizeXS", () => $336bf6b5045920dd$export$557c0af6873b4222, (v) => $336bf6b5045920dd$export$557c0af6873b4222 = v);
25
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-Icon--sizeS", () => $336bf6b5045920dd$export$34ce05647f0c65e, (v) => $336bf6b5045920dd$export$34ce05647f0c65e = v);
26
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-Icon--sizeM", () => $336bf6b5045920dd$export$8f1693ac47916bbf, (v) => $336bf6b5045920dd$export$8f1693ac47916bbf = v);
27
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-Icon--sizeL", () => $336bf6b5045920dd$export$8d23c37ef2a4f13e, (v) => $336bf6b5045920dd$export$8d23c37ef2a4f13e = v);
28
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-Icon--sizeXL", () => $336bf6b5045920dd$export$c6e70a22e841bc1b, (v) => $336bf6b5045920dd$export$c6e70a22e841bc1b = v);
29
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-Icon--sizeXXL", () => $336bf6b5045920dd$export$b37777493a27e620, (v) => $336bf6b5045920dd$export$b37777493a27e620 = v);
30
+ $parcel$export($336bf6b5045920dd$exports, "spectrum--medium", () => $336bf6b5045920dd$export$4c0c83b3f4303ef8, (v) => $336bf6b5045920dd$export$4c0c83b3f4303ef8 = v);
31
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon--large", () => $336bf6b5045920dd$export$2265a487ad399d8b, (v) => $336bf6b5045920dd$export$2265a487ad399d8b = v);
32
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon--medium", () => $336bf6b5045920dd$export$a6044013cf72ddc9, (v) => $336bf6b5045920dd$export$a6044013cf72ddc9 = v);
33
+ $parcel$export($336bf6b5045920dd$exports, "spectrum--large", () => $336bf6b5045920dd$export$a88a8dbe29386d31, (v) => $336bf6b5045920dd$export$a88a8dbe29386d31 = v);
34
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-AlertMedium", () => $336bf6b5045920dd$export$83be8302c01b6478, (v) => $336bf6b5045920dd$export$83be8302c01b6478 = v);
35
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-AlertSmall", () => $336bf6b5045920dd$export$57b49d6ee2e9f187, (v) => $336bf6b5045920dd$export$57b49d6ee2e9f187 = v);
36
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-ArrowDownSmall", () => $336bf6b5045920dd$export$81968d05e3681b3f, (v) => $336bf6b5045920dd$export$81968d05e3681b3f = v);
37
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-ArrowLeftMedium", () => $336bf6b5045920dd$export$c0d655f335b5bc31, (v) => $336bf6b5045920dd$export$c0d655f335b5bc31 = v);
38
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-Asterisk", () => $336bf6b5045920dd$export$cca4342eca45562, (v) => $336bf6b5045920dd$export$cca4342eca45562 = v);
39
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-CheckmarkMedium", () => $336bf6b5045920dd$export$edc4a2e9af971b26, (v) => $336bf6b5045920dd$export$edc4a2e9af971b26 = v);
40
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-CheckmarkSmall", () => $336bf6b5045920dd$export$9e665cb12e71e037, (v) => $336bf6b5045920dd$export$9e665cb12e71e037 = v);
41
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-ChevronDownMedium", () => $336bf6b5045920dd$export$2f91b7a7627906d5, (v) => $336bf6b5045920dd$export$2f91b7a7627906d5 = v);
42
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-ChevronDownSmall", () => $336bf6b5045920dd$export$56efb4ec9eb35c07, (v) => $336bf6b5045920dd$export$56efb4ec9eb35c07 = v);
43
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-ChevronLeftLarge", () => $336bf6b5045920dd$export$5861dfe1d581a528, (v) => $336bf6b5045920dd$export$5861dfe1d581a528 = v);
44
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-ChevronLeftMedium", () => $336bf6b5045920dd$export$595a122b60890c78, (v) => $336bf6b5045920dd$export$595a122b60890c78 = v);
45
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-ChevronRightLarge", () => $336bf6b5045920dd$export$596373794435f8bc, (v) => $336bf6b5045920dd$export$596373794435f8bc = v);
46
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-ChevronRightMedium", () => $336bf6b5045920dd$export$32b379a02cafbfb3, (v) => $336bf6b5045920dd$export$32b379a02cafbfb3 = v);
47
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-ChevronRightSmall", () => $336bf6b5045920dd$export$ee5de2c4d7c8faa4, (v) => $336bf6b5045920dd$export$ee5de2c4d7c8faa4 = v);
48
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-ChevronUpSmall", () => $336bf6b5045920dd$export$c1cbae72fd236fd9, (v) => $336bf6b5045920dd$export$c1cbae72fd236fd9 = v);
49
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-CornerTriangle", () => $336bf6b5045920dd$export$636d8cde4f6b7e6, (v) => $336bf6b5045920dd$export$636d8cde4f6b7e6 = v);
50
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-CrossLarge", () => $336bf6b5045920dd$export$1f0ad4082256e3df, (v) => $336bf6b5045920dd$export$1f0ad4082256e3df = v);
51
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-CrossMedium", () => $336bf6b5045920dd$export$1e0848411e254295, (v) => $336bf6b5045920dd$export$1e0848411e254295 = v);
52
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-CrossSmall", () => $336bf6b5045920dd$export$1c1bddac0ae5fbe5, (v) => $336bf6b5045920dd$export$1c1bddac0ae5fbe5 = v);
53
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-DashSmall", () => $336bf6b5045920dd$export$98de2b9917cd3b6a, (v) => $336bf6b5045920dd$export$98de2b9917cd3b6a = v);
54
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-DoubleGripper", () => $336bf6b5045920dd$export$3c956876cb11c1e1, (v) => $336bf6b5045920dd$export$3c956876cb11c1e1 = v);
55
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-FolderBreadcrumb", () => $336bf6b5045920dd$export$55cf2795737352fc, (v) => $336bf6b5045920dd$export$55cf2795737352fc = v);
56
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-HelpMedium", () => $336bf6b5045920dd$export$d5d1e3e09ea6cd5, (v) => $336bf6b5045920dd$export$d5d1e3e09ea6cd5 = v);
57
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-HelpSmall", () => $336bf6b5045920dd$export$f51b22382127207d, (v) => $336bf6b5045920dd$export$f51b22382127207d = v);
58
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-InfoMedium", () => $336bf6b5045920dd$export$825a6c2340d3b7e5, (v) => $336bf6b5045920dd$export$825a6c2340d3b7e5 = v);
59
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-InfoSmall", () => $336bf6b5045920dd$export$4828f4a6bfd26c04, (v) => $336bf6b5045920dd$export$4828f4a6bfd26c04 = v);
60
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-Magnifier", () => $336bf6b5045920dd$export$a33650c9f4cc191e, (v) => $336bf6b5045920dd$export$a33650c9f4cc191e = v);
61
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-SkipLeft", () => $336bf6b5045920dd$export$9eb19533e4b8cc28, (v) => $336bf6b5045920dd$export$9eb19533e4b8cc28 = v);
62
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-SkipRight", () => $336bf6b5045920dd$export$67704939e41f705a, (v) => $336bf6b5045920dd$export$67704939e41f705a = v);
63
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-Star", () => $336bf6b5045920dd$export$c4d219c150b98c92, (v) => $336bf6b5045920dd$export$c4d219c150b98c92 = v);
64
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-StarOutline", () => $336bf6b5045920dd$export$bcda0a6a6d7202af, (v) => $336bf6b5045920dd$export$bcda0a6a6d7202af = v);
65
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-SuccessMedium", () => $336bf6b5045920dd$export$d18d2d837989a797, (v) => $336bf6b5045920dd$export$d18d2d837989a797 = v);
66
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-SuccessSmall", () => $336bf6b5045920dd$export$506ac7a1a72a2c65, (v) => $336bf6b5045920dd$export$506ac7a1a72a2c65 = v);
67
+ $parcel$export($336bf6b5045920dd$exports, "spectrum-UIIcon-TripleGripper", () => $336bf6b5045920dd$export$12b8600bcd969018, (v) => $336bf6b5045920dd$export$12b8600bcd969018 = v);
68
+ var $336bf6b5045920dd$export$d374b04f30360026;
69
+ var $336bf6b5045920dd$export$c7db7fdc5aac13aa;
70
+ var $336bf6b5045920dd$export$cab8448604b31f43;
71
+ var $336bf6b5045920dd$export$557c0af6873b4222;
72
+ var $336bf6b5045920dd$export$34ce05647f0c65e;
73
+ var $336bf6b5045920dd$export$8f1693ac47916bbf;
74
+ var $336bf6b5045920dd$export$8d23c37ef2a4f13e;
75
+ var $336bf6b5045920dd$export$c6e70a22e841bc1b;
76
+ var $336bf6b5045920dd$export$b37777493a27e620;
77
+ var $336bf6b5045920dd$export$4c0c83b3f4303ef8;
78
+ var $336bf6b5045920dd$export$2265a487ad399d8b;
79
+ var $336bf6b5045920dd$export$a6044013cf72ddc9;
80
+ var $336bf6b5045920dd$export$a88a8dbe29386d31;
81
+ var $336bf6b5045920dd$export$83be8302c01b6478;
82
+ var $336bf6b5045920dd$export$57b49d6ee2e9f187;
83
+ var $336bf6b5045920dd$export$81968d05e3681b3f;
84
+ var $336bf6b5045920dd$export$c0d655f335b5bc31;
85
+ var $336bf6b5045920dd$export$cca4342eca45562;
86
+ var $336bf6b5045920dd$export$edc4a2e9af971b26;
87
+ var $336bf6b5045920dd$export$9e665cb12e71e037;
88
+ var $336bf6b5045920dd$export$2f91b7a7627906d5;
89
+ var $336bf6b5045920dd$export$56efb4ec9eb35c07;
90
+ var $336bf6b5045920dd$export$5861dfe1d581a528;
91
+ var $336bf6b5045920dd$export$595a122b60890c78;
92
+ var $336bf6b5045920dd$export$596373794435f8bc;
93
+ var $336bf6b5045920dd$export$32b379a02cafbfb3;
94
+ var $336bf6b5045920dd$export$ee5de2c4d7c8faa4;
95
+ var $336bf6b5045920dd$export$c1cbae72fd236fd9;
96
+ var $336bf6b5045920dd$export$636d8cde4f6b7e6;
97
+ var $336bf6b5045920dd$export$1f0ad4082256e3df;
98
+ var $336bf6b5045920dd$export$1e0848411e254295;
99
+ var $336bf6b5045920dd$export$1c1bddac0ae5fbe5;
100
+ var $336bf6b5045920dd$export$98de2b9917cd3b6a;
101
+ var $336bf6b5045920dd$export$3c956876cb11c1e1;
102
+ var $336bf6b5045920dd$export$55cf2795737352fc;
103
+ var $336bf6b5045920dd$export$d5d1e3e09ea6cd5;
104
+ var $336bf6b5045920dd$export$f51b22382127207d;
105
+ var $336bf6b5045920dd$export$825a6c2340d3b7e5;
106
+ var $336bf6b5045920dd$export$4828f4a6bfd26c04;
107
+ var $336bf6b5045920dd$export$a33650c9f4cc191e;
108
+ var $336bf6b5045920dd$export$9eb19533e4b8cc28;
109
+ var $336bf6b5045920dd$export$67704939e41f705a;
110
+ var $336bf6b5045920dd$export$c4d219c150b98c92;
111
+ var $336bf6b5045920dd$export$bcda0a6a6d7202af;
112
+ var $336bf6b5045920dd$export$d18d2d837989a797;
113
+ var $336bf6b5045920dd$export$506ac7a1a72a2c65;
114
+ var $336bf6b5045920dd$export$12b8600bcd969018;
115
+ $336bf6b5045920dd$export$d374b04f30360026 = "spectrum-Icon_368b34";
116
+ $336bf6b5045920dd$export$c7db7fdc5aac13aa = "spectrum-UIIcon_368b34";
117
+ $336bf6b5045920dd$export$cab8448604b31f43 = "spectrum-Icon--sizeXXS_368b34";
118
+ $336bf6b5045920dd$export$557c0af6873b4222 = "spectrum-Icon--sizeXS_368b34";
119
+ $336bf6b5045920dd$export$34ce05647f0c65e = "spectrum-Icon--sizeS_368b34";
120
+ $336bf6b5045920dd$export$8f1693ac47916bbf = "spectrum-Icon--sizeM_368b34";
121
+ $336bf6b5045920dd$export$8d23c37ef2a4f13e = "spectrum-Icon--sizeL_368b34";
122
+ $336bf6b5045920dd$export$c6e70a22e841bc1b = "spectrum-Icon--sizeXL_368b34";
123
+ $336bf6b5045920dd$export$b37777493a27e620 = "spectrum-Icon--sizeXXL_368b34";
124
+ $336bf6b5045920dd$export$4c0c83b3f4303ef8 = "spectrum--medium_368b34";
125
+ $336bf6b5045920dd$export$2265a487ad399d8b = "spectrum-UIIcon--large_368b34";
126
+ $336bf6b5045920dd$export$a6044013cf72ddc9 = "spectrum-UIIcon--medium_368b34";
127
+ $336bf6b5045920dd$export$a88a8dbe29386d31 = "spectrum--large_368b34";
128
+ $336bf6b5045920dd$export$83be8302c01b6478 = "spectrum-UIIcon-AlertMedium_368b34";
129
+ $336bf6b5045920dd$export$57b49d6ee2e9f187 = "spectrum-UIIcon-AlertSmall_368b34";
130
+ $336bf6b5045920dd$export$81968d05e3681b3f = "spectrum-UIIcon-ArrowDownSmall_368b34";
131
+ $336bf6b5045920dd$export$c0d655f335b5bc31 = "spectrum-UIIcon-ArrowLeftMedium_368b34";
132
+ $336bf6b5045920dd$export$cca4342eca45562 = "spectrum-UIIcon-Asterisk_368b34";
133
+ $336bf6b5045920dd$export$edc4a2e9af971b26 = "spectrum-UIIcon-CheckmarkMedium_368b34";
134
+ $336bf6b5045920dd$export$9e665cb12e71e037 = "spectrum-UIIcon-CheckmarkSmall_368b34";
135
+ $336bf6b5045920dd$export$2f91b7a7627906d5 = "spectrum-UIIcon-ChevronDownMedium_368b34";
136
+ $336bf6b5045920dd$export$56efb4ec9eb35c07 = "spectrum-UIIcon-ChevronDownSmall_368b34";
137
+ $336bf6b5045920dd$export$5861dfe1d581a528 = "spectrum-UIIcon-ChevronLeftLarge_368b34";
138
+ $336bf6b5045920dd$export$595a122b60890c78 = "spectrum-UIIcon-ChevronLeftMedium_368b34";
139
+ $336bf6b5045920dd$export$596373794435f8bc = "spectrum-UIIcon-ChevronRightLarge_368b34";
140
+ $336bf6b5045920dd$export$32b379a02cafbfb3 = "spectrum-UIIcon-ChevronRightMedium_368b34";
141
+ $336bf6b5045920dd$export$ee5de2c4d7c8faa4 = "spectrum-UIIcon-ChevronRightSmall_368b34";
142
+ $336bf6b5045920dd$export$c1cbae72fd236fd9 = "spectrum-UIIcon-ChevronUpSmall_368b34";
143
+ $336bf6b5045920dd$export$636d8cde4f6b7e6 = "spectrum-UIIcon-CornerTriangle_368b34";
144
+ $336bf6b5045920dd$export$1f0ad4082256e3df = "spectrum-UIIcon-CrossLarge_368b34";
145
+ $336bf6b5045920dd$export$1e0848411e254295 = "spectrum-UIIcon-CrossMedium_368b34";
146
+ $336bf6b5045920dd$export$1c1bddac0ae5fbe5 = "spectrum-UIIcon-CrossSmall_368b34";
147
+ $336bf6b5045920dd$export$98de2b9917cd3b6a = "spectrum-UIIcon-DashSmall_368b34";
148
+ $336bf6b5045920dd$export$3c956876cb11c1e1 = "spectrum-UIIcon-DoubleGripper_368b34";
149
+ $336bf6b5045920dd$export$55cf2795737352fc = "spectrum-UIIcon-FolderBreadcrumb_368b34";
150
+ $336bf6b5045920dd$export$d5d1e3e09ea6cd5 = "spectrum-UIIcon-HelpMedium_368b34";
151
+ $336bf6b5045920dd$export$f51b22382127207d = "spectrum-UIIcon-HelpSmall_368b34";
152
+ $336bf6b5045920dd$export$825a6c2340d3b7e5 = "spectrum-UIIcon-InfoMedium_368b34";
153
+ $336bf6b5045920dd$export$4828f4a6bfd26c04 = "spectrum-UIIcon-InfoSmall_368b34";
154
+ $336bf6b5045920dd$export$a33650c9f4cc191e = "spectrum-UIIcon-Magnifier_368b34";
155
+ $336bf6b5045920dd$export$9eb19533e4b8cc28 = "spectrum-UIIcon-SkipLeft_368b34";
156
+ $336bf6b5045920dd$export$67704939e41f705a = "spectrum-UIIcon-SkipRight_368b34";
157
+ $336bf6b5045920dd$export$c4d219c150b98c92 = "spectrum-UIIcon-Star_368b34";
158
+ $336bf6b5045920dd$export$bcda0a6a6d7202af = "spectrum-UIIcon-StarOutline_368b34";
159
+ $336bf6b5045920dd$export$d18d2d837989a797 = "spectrum-UIIcon-SuccessMedium_368b34";
160
+ $336bf6b5045920dd$export$506ac7a1a72a2c65 = "spectrum-UIIcon-SuccessSmall_368b34";
161
+ $336bf6b5045920dd$export$12b8600bcd969018 = "spectrum-UIIcon-TripleGripper_368b34";
162
+
163
+
164
+
165
+ function $095fb0f3c15b57e7$var$iconColorValue(value) {
166
+ return `var(--spectrum-semantic-${value}-color-icon)`;
167
+ }
168
+ const $095fb0f3c15b57e7$var$iconStyleProps = {
169
+ ...$g2IY6$baseStyleProps,
170
+ color: [
171
+ 'color',
172
+ $095fb0f3c15b57e7$var$iconColorValue
173
+ ]
63
174
  };
64
-
65
- function $c16bb541c700d2636376eacdb51461d4$var$iconColorValue(value) {
66
- return "var(--spectrum-semantic-" + value + "-color-icon)";
175
+ function $095fb0f3c15b57e7$export$f04a61298a47a40f(props) {
176
+ props = $g2IY6$useSlotProps(props, 'icon');
177
+ let { children: children , size: size , 'aria-label': ariaLabel , 'aria-hidden': ariaHidden , ...otherProps } = props;
178
+ let { styleProps: styleProps } = $g2IY6$useStyleProps(otherProps, $095fb0f3c15b57e7$var$iconStyleProps);
179
+ let provider = $g2IY6$useProvider();
180
+ let scale = 'M';
181
+ if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
182
+ if (!ariaHidden) ariaHidden = undefined;
183
+ // Use user specified size, falling back to provider scale if size is undef
184
+ let iconSize = size ? size : scale;
185
+ return(/*#__PURE__*/ $g2IY6$react.cloneElement(children, {
186
+ ...$g2IY6$filterDOMProps(otherProps),
187
+ ...styleProps,
188
+ focusable: 'false',
189
+ 'aria-label': ariaLabel,
190
+ 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
191
+ role: 'img',
192
+ className: $g2IY6$classNames((/*@__PURE__*/$parcel$interopDefault($336bf6b5045920dd$exports)), children.props.className, 'spectrum-Icon', `spectrum-Icon--size${iconSize}`, styleProps.className)
193
+ }));
67
194
  }
68
195
 
69
- const $c16bb541c700d2636376eacdb51461d4$var$iconStyleProps = _babelRuntimeHelpersEsmExtends({}, baseStyleProps, {
70
- color: ['color', $c16bb541c700d2636376eacdb51461d4$var$iconColorValue]
71
- });
72
- /**
73
- * 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.
74
- */
75
-
76
-
77
- var $e0403de4450d623122b2d93055f70571$$interop$default = $parcel$interopDefault($e0403de4450d623122b2d93055f70571$exports);
78
- export function Icon(props) {
79
- props = useSlotProps(props, 'icon');
80
-
81
- let {
82
- children,
83
- size,
84
- 'aria-label': ariaLabel,
85
- 'aria-hidden': ariaHidden
86
- } = props,
87
- otherProps = _babelRuntimeHelpersEsmObjectWithoutPropertiesLoose(props, ["children", "size", "aria-label", "aria-hidden"]);
88
-
89
- let {
90
- styleProps
91
- } = useStyleProps(otherProps, $c16bb541c700d2636376eacdb51461d4$var$iconStyleProps);
92
- let provider = useProvider();
93
- let scale = 'M';
94
-
95
- if (provider !== null) {
96
- scale = provider.scale === 'large' ? 'L' : 'M';
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
- }));
196
+
197
+ var $ec7b4c55131f9ae9$exports = {};
198
+
199
+ $parcel$export($ec7b4c55131f9ae9$exports, "UIIcon", () => $ec7b4c55131f9ae9$export$906cc5990ff10700);
200
+
201
+
202
+
203
+
204
+
205
+ function $ec7b4c55131f9ae9$export$906cc5990ff10700(props) {
206
+ props = $g2IY6$useSlotProps(props, 'icon');
207
+ let { children: children , 'aria-label': ariaLabel , 'aria-hidden': ariaHidden , ...otherProps } = props;
208
+ let { styleProps: styleProps } = $g2IY6$useStyleProps(otherProps);
209
+ let provider = $g2IY6$useProvider();
210
+ let scale = 'M';
211
+ if (provider !== null) scale = provider.scale === 'large' ? 'L' : 'M';
212
+ if (!ariaHidden) ariaHidden = undefined;
213
+ return(/*#__PURE__*/ $g2IY6$react.cloneElement(children, {
214
+ ...$g2IY6$filterDOMProps(otherProps),
215
+ ...styleProps,
216
+ scale: scale,
217
+ focusable: 'false',
218
+ 'aria-label': ariaLabel,
219
+ 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,
220
+ role: 'img',
221
+ className: $g2IY6$classNames((/*@__PURE__*/$parcel$interopDefault($336bf6b5045920dd$exports)), children.props.className, 'spectrum-Icon', {
222
+ [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']
223
+ }, styleProps.className)
224
+ }));
147
225
  }
226
+
227
+
228
+
229
+
230
+ export {$095fb0f3c15b57e7$export$f04a61298a47a40f as Icon, $ec7b4c55131f9ae9$export$906cc5990ff10700 as UIIcon};
148
231
  //# sourceMappingURL=module.js.map
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;AAAA,SAASA,sBAAT,CAAgCC,CAAhC,EAAmC;AACjC,SAAOA,CAAC,IAAIA,CAAC,CAACC,UAAP,GAAoBD,CAAC,CAACE,OAAtB,GAAgCF,CAAvC;AACD;;;;ACFD,4CAAiB;AACf,mBAAiB,sBADF;AAEf,qBAAmB,wBAFJ;AAGf,4BAA0B,+BAHX;AAIf,2BAAyB,8BAJV;AAKf,0BAAwB,6BALT;AAMf,0BAAwB,6BANT;AAOf,0BAAwB,6BAPT;AAQf,2BAAyB,8BARV;AASf,4BAA0B,+BATX;AAUf,sBAAoB,yBAVL;AAWf,4BAA0B,+BAXX;AAYf,6BAA2B,gCAZZ;AAaf,qBAAmB,wBAbJ;AAcf,iCAA+B,oCAdhB;AAef,gCAA8B,mCAff;AAgBf,oCAAkC,uCAhBnB;AAiBf,qCAAmC,wCAjBpB;AAkBf,8BAA4B,iCAlBb;AAmBf,qCAAmC,wCAnBpB;AAoBf,oCAAkC,uCApBnB;AAqBf,uCAAqC,0CArBtB;AAsBf,sCAAoC,yCAtBrB;AAuBf,sCAAoC,yCAvBrB;AAwBf,uCAAqC,0CAxBtB;AAyBf,uCAAqC,0CAzBtB;AA0Bf,wCAAsC,2CA1BvB;AA2Bf,uCAAqC,0CA3BtB;AA4Bf,oCAAkC,uCA5BnB;AA6Bf,oCAAkC,uCA7BnB;AA8Bf,gCAA8B,mCA9Bf;AA+Bf,iCAA+B,oCA/BhB;AAgCf,gCAA8B,mCAhCf;AAiCf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QLC,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":"module.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,GAA2C;AAC3C,GAA0C;AAC1C,GAA2C;AAC3C,GAAsC;AACtC,GAA6C;AAC7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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 | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>;
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 | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>;
44
+ export function UIIcon(props: _IconProps1): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
45
45
 
46
46
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"mappings":"A;A;AAmBA,mBAAoB,SAAQ,QAAQ,EAAE,iBAAiB,EAAE,UAAU;IACjE;A;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;A;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IACvB;A;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAE,IAAI,GAAG,KAAK,CAAC;IACpD;A;A;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;A;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IAC3C;A;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAA;CACvB;AAED,uCAAuC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AAWnE;A;GAEG;AACH,qBAAqB,KAAK,EAAE,SAAS,2MAqCpC;AC/ED,qBAAoB,SAAQ,QAAQ,EAAE,iBAAiB,EAAE,UAAU;IACjE,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;A;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,2MAqCtC","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"],"sourcesContent":[null,null,null],"names":[],"version":3,"file":"types.d.ts.map"}
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.2",
3
+ "version": "3.3.3",
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.8.2",
36
- "@react-spectrum/utils": "^3.6.2",
37
- "@react-types/shared": "^3.8.0"
35
+ "@react-aria/utils": "^3.11.1",
36
+ "@react-spectrum/utils": "^3.6.4",
37
+ "@react-types/shared": "^3.11.0"
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": "9204e1b8cb61dac767e91087fb16203611dc67c5"
49
+ "gitHead": "54c2366c4f31bd4bf619126131cd583c12972acc"
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"}