@react-spectrum/icon 3.8.12 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/import.mjs +4 -4
- package/dist/main.js +6 -6
- package/dist/main.js.map +1 -1
- package/dist/module.js +4 -4
- package/dist/module.js.map +1 -1
- package/dist/types/src/index.d.ts +7 -0
- package/package.json +12 -27
- package/src/index.ts +7 -6
- package/dist/Icon.main.js +0 -71
- package/dist/Icon.main.js.map +0 -1
- package/dist/Icon.mjs +0 -66
- package/dist/Icon.module.js +0 -66
- package/dist/Icon.module.js.map +0 -1
- package/dist/Illustration.main.js +0 -46
- package/dist/Illustration.main.js.map +0 -1
- package/dist/Illustration.mjs +0 -37
- package/dist/Illustration.module.js +0 -37
- package/dist/Illustration.module.js.map +0 -1
- package/dist/UIIcon.main.js +0 -62
- package/dist/UIIcon.main.js.map +0 -1
- package/dist/UIIcon.mjs +0 -57
- package/dist/UIIcon.module.js +0 -57
- package/dist/UIIcon.module.js.map +0 -1
- package/dist/icon.248b9ee8.css +0 -264
- package/dist/icon.248b9ee8.css.map +0 -1
- package/dist/icon_vars_css.main.js +0 -152
- package/dist/icon_vars_css.main.js.map +0 -1
- package/dist/icon_vars_css.mjs +0 -154
- package/dist/icon_vars_css.module.js +0 -154
- package/dist/icon_vars_css.module.js.map +0 -1
- package/dist/types.d.ts +0 -70
- package/dist/types.d.ts.map +0 -1
- package/src/Icon.tsx +0 -105
- package/src/Illustration.tsx +0 -69
- package/src/UIIcon.tsx +0 -74
package/dist/icon_vars_css.mjs
DELETED
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
function $parcel$export(e, n, v, s) {
|
|
3
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
4
|
-
}
|
|
5
|
-
var $6edfbdaffbc9baf9$exports = {};
|
|
6
|
-
|
|
7
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum--large", () => $6edfbdaffbc9baf9$export$a88a8dbe29386d31, (v) => $6edfbdaffbc9baf9$export$a88a8dbe29386d31 = v);
|
|
8
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum--medium", () => $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8, (v) => $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8 = v);
|
|
9
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon", () => $6edfbdaffbc9baf9$export$d374b04f30360026, (v) => $6edfbdaffbc9baf9$export$d374b04f30360026 = v);
|
|
10
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeL", () => $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e, (v) => $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e = v);
|
|
11
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeM", () => $6edfbdaffbc9baf9$export$8f1693ac47916bbf, (v) => $6edfbdaffbc9baf9$export$8f1693ac47916bbf = v);
|
|
12
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeS", () => $6edfbdaffbc9baf9$export$34ce05647f0c65e, (v) => $6edfbdaffbc9baf9$export$34ce05647f0c65e = v);
|
|
13
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXL", () => $6edfbdaffbc9baf9$export$c6e70a22e841bc1b, (v) => $6edfbdaffbc9baf9$export$c6e70a22e841bc1b = v);
|
|
14
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXS", () => $6edfbdaffbc9baf9$export$557c0af6873b4222, (v) => $6edfbdaffbc9baf9$export$557c0af6873b4222 = v);
|
|
15
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXXL", () => $6edfbdaffbc9baf9$export$b37777493a27e620, (v) => $6edfbdaffbc9baf9$export$b37777493a27e620 = v);
|
|
16
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXXS", () => $6edfbdaffbc9baf9$export$cab8448604b31f43, (v) => $6edfbdaffbc9baf9$export$cab8448604b31f43 = v);
|
|
17
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon", () => $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa, (v) => $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa = v);
|
|
18
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon--large", () => $6edfbdaffbc9baf9$export$2265a487ad399d8b, (v) => $6edfbdaffbc9baf9$export$2265a487ad399d8b = v);
|
|
19
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon--medium", () => $6edfbdaffbc9baf9$export$a6044013cf72ddc9, (v) => $6edfbdaffbc9baf9$export$a6044013cf72ddc9 = v);
|
|
20
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-AlertMedium", () => $6edfbdaffbc9baf9$export$83be8302c01b6478, (v) => $6edfbdaffbc9baf9$export$83be8302c01b6478 = v);
|
|
21
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-AlertSmall", () => $6edfbdaffbc9baf9$export$57b49d6ee2e9f187, (v) => $6edfbdaffbc9baf9$export$57b49d6ee2e9f187 = v);
|
|
22
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ArrowDownSmall", () => $6edfbdaffbc9baf9$export$81968d05e3681b3f, (v) => $6edfbdaffbc9baf9$export$81968d05e3681b3f = v);
|
|
23
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ArrowLeftMedium", () => $6edfbdaffbc9baf9$export$c0d655f335b5bc31, (v) => $6edfbdaffbc9baf9$export$c0d655f335b5bc31 = v);
|
|
24
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Asterisk", () => $6edfbdaffbc9baf9$export$cca4342eca45562, (v) => $6edfbdaffbc9baf9$export$cca4342eca45562 = v);
|
|
25
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CheckmarkMedium", () => $6edfbdaffbc9baf9$export$edc4a2e9af971b26, (v) => $6edfbdaffbc9baf9$export$edc4a2e9af971b26 = v);
|
|
26
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CheckmarkSmall", () => $6edfbdaffbc9baf9$export$9e665cb12e71e037, (v) => $6edfbdaffbc9baf9$export$9e665cb12e71e037 = v);
|
|
27
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronDownMedium", () => $6edfbdaffbc9baf9$export$2f91b7a7627906d5, (v) => $6edfbdaffbc9baf9$export$2f91b7a7627906d5 = v);
|
|
28
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronDownSmall", () => $6edfbdaffbc9baf9$export$56efb4ec9eb35c07, (v) => $6edfbdaffbc9baf9$export$56efb4ec9eb35c07 = v);
|
|
29
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronLeftLarge", () => $6edfbdaffbc9baf9$export$5861dfe1d581a528, (v) => $6edfbdaffbc9baf9$export$5861dfe1d581a528 = v);
|
|
30
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronLeftMedium", () => $6edfbdaffbc9baf9$export$595a122b60890c78, (v) => $6edfbdaffbc9baf9$export$595a122b60890c78 = v);
|
|
31
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightLarge", () => $6edfbdaffbc9baf9$export$596373794435f8bc, (v) => $6edfbdaffbc9baf9$export$596373794435f8bc = v);
|
|
32
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightMedium", () => $6edfbdaffbc9baf9$export$32b379a02cafbfb3, (v) => $6edfbdaffbc9baf9$export$32b379a02cafbfb3 = v);
|
|
33
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightSmall", () => $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4, (v) => $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4 = v);
|
|
34
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronUpSmall", () => $6edfbdaffbc9baf9$export$c1cbae72fd236fd9, (v) => $6edfbdaffbc9baf9$export$c1cbae72fd236fd9 = v);
|
|
35
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CornerTriangle", () => $6edfbdaffbc9baf9$export$636d8cde4f6b7e6, (v) => $6edfbdaffbc9baf9$export$636d8cde4f6b7e6 = v);
|
|
36
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossLarge", () => $6edfbdaffbc9baf9$export$1f0ad4082256e3df, (v) => $6edfbdaffbc9baf9$export$1f0ad4082256e3df = v);
|
|
37
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossMedium", () => $6edfbdaffbc9baf9$export$1e0848411e254295, (v) => $6edfbdaffbc9baf9$export$1e0848411e254295 = v);
|
|
38
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossSmall", () => $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5, (v) => $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5 = v);
|
|
39
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-DashSmall", () => $6edfbdaffbc9baf9$export$98de2b9917cd3b6a, (v) => $6edfbdaffbc9baf9$export$98de2b9917cd3b6a = v);
|
|
40
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-DoubleGripper", () => $6edfbdaffbc9baf9$export$3c956876cb11c1e1, (v) => $6edfbdaffbc9baf9$export$3c956876cb11c1e1 = v);
|
|
41
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-FolderBreadcrumb", () => $6edfbdaffbc9baf9$export$55cf2795737352fc, (v) => $6edfbdaffbc9baf9$export$55cf2795737352fc = v);
|
|
42
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-HelpMedium", () => $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5, (v) => $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5 = v);
|
|
43
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-HelpSmall", () => $6edfbdaffbc9baf9$export$f51b22382127207d, (v) => $6edfbdaffbc9baf9$export$f51b22382127207d = v);
|
|
44
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-InfoMedium", () => $6edfbdaffbc9baf9$export$825a6c2340d3b7e5, (v) => $6edfbdaffbc9baf9$export$825a6c2340d3b7e5 = v);
|
|
45
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-InfoSmall", () => $6edfbdaffbc9baf9$export$4828f4a6bfd26c04, (v) => $6edfbdaffbc9baf9$export$4828f4a6bfd26c04 = v);
|
|
46
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ListGripper", () => $6edfbdaffbc9baf9$export$1254ece141a8dac6, (v) => $6edfbdaffbc9baf9$export$1254ece141a8dac6 = v);
|
|
47
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Magnifier", () => $6edfbdaffbc9baf9$export$a33650c9f4cc191e, (v) => $6edfbdaffbc9baf9$export$a33650c9f4cc191e = v);
|
|
48
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SkipLeft", () => $6edfbdaffbc9baf9$export$9eb19533e4b8cc28, (v) => $6edfbdaffbc9baf9$export$9eb19533e4b8cc28 = v);
|
|
49
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SkipRight", () => $6edfbdaffbc9baf9$export$67704939e41f705a, (v) => $6edfbdaffbc9baf9$export$67704939e41f705a = v);
|
|
50
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Star", () => $6edfbdaffbc9baf9$export$c4d219c150b98c92, (v) => $6edfbdaffbc9baf9$export$c4d219c150b98c92 = v);
|
|
51
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-StarOutline", () => $6edfbdaffbc9baf9$export$bcda0a6a6d7202af, (v) => $6edfbdaffbc9baf9$export$bcda0a6a6d7202af = v);
|
|
52
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SuccessMedium", () => $6edfbdaffbc9baf9$export$d18d2d837989a797, (v) => $6edfbdaffbc9baf9$export$d18d2d837989a797 = v);
|
|
53
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SuccessSmall", () => $6edfbdaffbc9baf9$export$506ac7a1a72a2c65, (v) => $6edfbdaffbc9baf9$export$506ac7a1a72a2c65 = v);
|
|
54
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-TripleGripper", () => $6edfbdaffbc9baf9$export$12b8600bcd969018, (v) => $6edfbdaffbc9baf9$export$12b8600bcd969018 = v);
|
|
55
|
-
var $6edfbdaffbc9baf9$export$a88a8dbe29386d31;
|
|
56
|
-
var $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8;
|
|
57
|
-
var $6edfbdaffbc9baf9$export$d374b04f30360026;
|
|
58
|
-
var $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e;
|
|
59
|
-
var $6edfbdaffbc9baf9$export$8f1693ac47916bbf;
|
|
60
|
-
var $6edfbdaffbc9baf9$export$34ce05647f0c65e;
|
|
61
|
-
var $6edfbdaffbc9baf9$export$c6e70a22e841bc1b;
|
|
62
|
-
var $6edfbdaffbc9baf9$export$557c0af6873b4222;
|
|
63
|
-
var $6edfbdaffbc9baf9$export$b37777493a27e620;
|
|
64
|
-
var $6edfbdaffbc9baf9$export$cab8448604b31f43;
|
|
65
|
-
var $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa;
|
|
66
|
-
var $6edfbdaffbc9baf9$export$2265a487ad399d8b;
|
|
67
|
-
var $6edfbdaffbc9baf9$export$a6044013cf72ddc9;
|
|
68
|
-
var $6edfbdaffbc9baf9$export$83be8302c01b6478;
|
|
69
|
-
var $6edfbdaffbc9baf9$export$57b49d6ee2e9f187;
|
|
70
|
-
var $6edfbdaffbc9baf9$export$81968d05e3681b3f;
|
|
71
|
-
var $6edfbdaffbc9baf9$export$c0d655f335b5bc31;
|
|
72
|
-
var $6edfbdaffbc9baf9$export$cca4342eca45562;
|
|
73
|
-
var $6edfbdaffbc9baf9$export$edc4a2e9af971b26;
|
|
74
|
-
var $6edfbdaffbc9baf9$export$9e665cb12e71e037;
|
|
75
|
-
var $6edfbdaffbc9baf9$export$2f91b7a7627906d5;
|
|
76
|
-
var $6edfbdaffbc9baf9$export$56efb4ec9eb35c07;
|
|
77
|
-
var $6edfbdaffbc9baf9$export$5861dfe1d581a528;
|
|
78
|
-
var $6edfbdaffbc9baf9$export$595a122b60890c78;
|
|
79
|
-
var $6edfbdaffbc9baf9$export$596373794435f8bc;
|
|
80
|
-
var $6edfbdaffbc9baf9$export$32b379a02cafbfb3;
|
|
81
|
-
var $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4;
|
|
82
|
-
var $6edfbdaffbc9baf9$export$c1cbae72fd236fd9;
|
|
83
|
-
var $6edfbdaffbc9baf9$export$636d8cde4f6b7e6;
|
|
84
|
-
var $6edfbdaffbc9baf9$export$1f0ad4082256e3df;
|
|
85
|
-
var $6edfbdaffbc9baf9$export$1e0848411e254295;
|
|
86
|
-
var $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5;
|
|
87
|
-
var $6edfbdaffbc9baf9$export$98de2b9917cd3b6a;
|
|
88
|
-
var $6edfbdaffbc9baf9$export$3c956876cb11c1e1;
|
|
89
|
-
var $6edfbdaffbc9baf9$export$55cf2795737352fc;
|
|
90
|
-
var $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5;
|
|
91
|
-
var $6edfbdaffbc9baf9$export$f51b22382127207d;
|
|
92
|
-
var $6edfbdaffbc9baf9$export$825a6c2340d3b7e5;
|
|
93
|
-
var $6edfbdaffbc9baf9$export$4828f4a6bfd26c04;
|
|
94
|
-
var $6edfbdaffbc9baf9$export$1254ece141a8dac6;
|
|
95
|
-
var $6edfbdaffbc9baf9$export$a33650c9f4cc191e;
|
|
96
|
-
var $6edfbdaffbc9baf9$export$9eb19533e4b8cc28;
|
|
97
|
-
var $6edfbdaffbc9baf9$export$67704939e41f705a;
|
|
98
|
-
var $6edfbdaffbc9baf9$export$c4d219c150b98c92;
|
|
99
|
-
var $6edfbdaffbc9baf9$export$bcda0a6a6d7202af;
|
|
100
|
-
var $6edfbdaffbc9baf9$export$d18d2d837989a797;
|
|
101
|
-
var $6edfbdaffbc9baf9$export$506ac7a1a72a2c65;
|
|
102
|
-
var $6edfbdaffbc9baf9$export$12b8600bcd969018;
|
|
103
|
-
$6edfbdaffbc9baf9$export$a88a8dbe29386d31 = `wBx8DG_spectrum--large`;
|
|
104
|
-
$6edfbdaffbc9baf9$export$4c0c83b3f4303ef8 = `wBx8DG_spectrum--medium`;
|
|
105
|
-
$6edfbdaffbc9baf9$export$d374b04f30360026 = `wBx8DG_spectrum-Icon`;
|
|
106
|
-
$6edfbdaffbc9baf9$export$8d23c37ef2a4f13e = `wBx8DG_spectrum-Icon--sizeL`;
|
|
107
|
-
$6edfbdaffbc9baf9$export$8f1693ac47916bbf = `wBx8DG_spectrum-Icon--sizeM`;
|
|
108
|
-
$6edfbdaffbc9baf9$export$34ce05647f0c65e = `wBx8DG_spectrum-Icon--sizeS`;
|
|
109
|
-
$6edfbdaffbc9baf9$export$c6e70a22e841bc1b = `wBx8DG_spectrum-Icon--sizeXL`;
|
|
110
|
-
$6edfbdaffbc9baf9$export$557c0af6873b4222 = `wBx8DG_spectrum-Icon--sizeXS`;
|
|
111
|
-
$6edfbdaffbc9baf9$export$b37777493a27e620 = `wBx8DG_spectrum-Icon--sizeXXL`;
|
|
112
|
-
$6edfbdaffbc9baf9$export$cab8448604b31f43 = `wBx8DG_spectrum-Icon--sizeXXS`;
|
|
113
|
-
$6edfbdaffbc9baf9$export$c7db7fdc5aac13aa = `wBx8DG_spectrum-UIIcon`;
|
|
114
|
-
$6edfbdaffbc9baf9$export$2265a487ad399d8b = `wBx8DG_spectrum-UIIcon--large`;
|
|
115
|
-
$6edfbdaffbc9baf9$export$a6044013cf72ddc9 = `wBx8DG_spectrum-UIIcon--medium`;
|
|
116
|
-
$6edfbdaffbc9baf9$export$83be8302c01b6478 = `wBx8DG_spectrum-UIIcon-AlertMedium`;
|
|
117
|
-
$6edfbdaffbc9baf9$export$57b49d6ee2e9f187 = `wBx8DG_spectrum-UIIcon-AlertSmall`;
|
|
118
|
-
$6edfbdaffbc9baf9$export$81968d05e3681b3f = `wBx8DG_spectrum-UIIcon-ArrowDownSmall`;
|
|
119
|
-
$6edfbdaffbc9baf9$export$c0d655f335b5bc31 = `wBx8DG_spectrum-UIIcon-ArrowLeftMedium`;
|
|
120
|
-
$6edfbdaffbc9baf9$export$cca4342eca45562 = `wBx8DG_spectrum-UIIcon-Asterisk`;
|
|
121
|
-
$6edfbdaffbc9baf9$export$edc4a2e9af971b26 = `wBx8DG_spectrum-UIIcon-CheckmarkMedium`;
|
|
122
|
-
$6edfbdaffbc9baf9$export$9e665cb12e71e037 = `wBx8DG_spectrum-UIIcon-CheckmarkSmall`;
|
|
123
|
-
$6edfbdaffbc9baf9$export$2f91b7a7627906d5 = `wBx8DG_spectrum-UIIcon-ChevronDownMedium`;
|
|
124
|
-
$6edfbdaffbc9baf9$export$56efb4ec9eb35c07 = `wBx8DG_spectrum-UIIcon-ChevronDownSmall`;
|
|
125
|
-
$6edfbdaffbc9baf9$export$5861dfe1d581a528 = `wBx8DG_spectrum-UIIcon-ChevronLeftLarge`;
|
|
126
|
-
$6edfbdaffbc9baf9$export$595a122b60890c78 = `wBx8DG_spectrum-UIIcon-ChevronLeftMedium`;
|
|
127
|
-
$6edfbdaffbc9baf9$export$596373794435f8bc = `wBx8DG_spectrum-UIIcon-ChevronRightLarge`;
|
|
128
|
-
$6edfbdaffbc9baf9$export$32b379a02cafbfb3 = `wBx8DG_spectrum-UIIcon-ChevronRightMedium`;
|
|
129
|
-
$6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4 = `wBx8DG_spectrum-UIIcon-ChevronRightSmall`;
|
|
130
|
-
$6edfbdaffbc9baf9$export$c1cbae72fd236fd9 = `wBx8DG_spectrum-UIIcon-ChevronUpSmall`;
|
|
131
|
-
$6edfbdaffbc9baf9$export$636d8cde4f6b7e6 = `wBx8DG_spectrum-UIIcon-CornerTriangle`;
|
|
132
|
-
$6edfbdaffbc9baf9$export$1f0ad4082256e3df = `wBx8DG_spectrum-UIIcon-CrossLarge`;
|
|
133
|
-
$6edfbdaffbc9baf9$export$1e0848411e254295 = `wBx8DG_spectrum-UIIcon-CrossMedium`;
|
|
134
|
-
$6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5 = `wBx8DG_spectrum-UIIcon-CrossSmall`;
|
|
135
|
-
$6edfbdaffbc9baf9$export$98de2b9917cd3b6a = `wBx8DG_spectrum-UIIcon-DashSmall`;
|
|
136
|
-
$6edfbdaffbc9baf9$export$3c956876cb11c1e1 = `wBx8DG_spectrum-UIIcon-DoubleGripper`;
|
|
137
|
-
$6edfbdaffbc9baf9$export$55cf2795737352fc = `wBx8DG_spectrum-UIIcon-FolderBreadcrumb`;
|
|
138
|
-
$6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5 = `wBx8DG_spectrum-UIIcon-HelpMedium`;
|
|
139
|
-
$6edfbdaffbc9baf9$export$f51b22382127207d = `wBx8DG_spectrum-UIIcon-HelpSmall`;
|
|
140
|
-
$6edfbdaffbc9baf9$export$825a6c2340d3b7e5 = `wBx8DG_spectrum-UIIcon-InfoMedium`;
|
|
141
|
-
$6edfbdaffbc9baf9$export$4828f4a6bfd26c04 = `wBx8DG_spectrum-UIIcon-InfoSmall`;
|
|
142
|
-
$6edfbdaffbc9baf9$export$1254ece141a8dac6 = `wBx8DG_spectrum-UIIcon-ListGripper`;
|
|
143
|
-
$6edfbdaffbc9baf9$export$a33650c9f4cc191e = `wBx8DG_spectrum-UIIcon-Magnifier`;
|
|
144
|
-
$6edfbdaffbc9baf9$export$9eb19533e4b8cc28 = `wBx8DG_spectrum-UIIcon-SkipLeft`;
|
|
145
|
-
$6edfbdaffbc9baf9$export$67704939e41f705a = `wBx8DG_spectrum-UIIcon-SkipRight`;
|
|
146
|
-
$6edfbdaffbc9baf9$export$c4d219c150b98c92 = `wBx8DG_spectrum-UIIcon-Star`;
|
|
147
|
-
$6edfbdaffbc9baf9$export$bcda0a6a6d7202af = `wBx8DG_spectrum-UIIcon-StarOutline`;
|
|
148
|
-
$6edfbdaffbc9baf9$export$d18d2d837989a797 = `wBx8DG_spectrum-UIIcon-SuccessMedium`;
|
|
149
|
-
$6edfbdaffbc9baf9$export$506ac7a1a72a2c65 = `wBx8DG_spectrum-UIIcon-SuccessSmall`;
|
|
150
|
-
$6edfbdaffbc9baf9$export$12b8600bcd969018 = `wBx8DG_spectrum-UIIcon-TripleGripper`;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
export {$6edfbdaffbc9baf9$exports as default};
|
|
154
|
-
//# sourceMappingURL=icon_vars_css.module.js.map
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
function $parcel$export(e, n, v, s) {
|
|
3
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
4
|
-
}
|
|
5
|
-
var $6edfbdaffbc9baf9$exports = {};
|
|
6
|
-
|
|
7
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum--large", () => $6edfbdaffbc9baf9$export$a88a8dbe29386d31, (v) => $6edfbdaffbc9baf9$export$a88a8dbe29386d31 = v);
|
|
8
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum--medium", () => $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8, (v) => $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8 = v);
|
|
9
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon", () => $6edfbdaffbc9baf9$export$d374b04f30360026, (v) => $6edfbdaffbc9baf9$export$d374b04f30360026 = v);
|
|
10
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeL", () => $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e, (v) => $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e = v);
|
|
11
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeM", () => $6edfbdaffbc9baf9$export$8f1693ac47916bbf, (v) => $6edfbdaffbc9baf9$export$8f1693ac47916bbf = v);
|
|
12
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeS", () => $6edfbdaffbc9baf9$export$34ce05647f0c65e, (v) => $6edfbdaffbc9baf9$export$34ce05647f0c65e = v);
|
|
13
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXL", () => $6edfbdaffbc9baf9$export$c6e70a22e841bc1b, (v) => $6edfbdaffbc9baf9$export$c6e70a22e841bc1b = v);
|
|
14
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXS", () => $6edfbdaffbc9baf9$export$557c0af6873b4222, (v) => $6edfbdaffbc9baf9$export$557c0af6873b4222 = v);
|
|
15
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXXL", () => $6edfbdaffbc9baf9$export$b37777493a27e620, (v) => $6edfbdaffbc9baf9$export$b37777493a27e620 = v);
|
|
16
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXXS", () => $6edfbdaffbc9baf9$export$cab8448604b31f43, (v) => $6edfbdaffbc9baf9$export$cab8448604b31f43 = v);
|
|
17
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon", () => $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa, (v) => $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa = v);
|
|
18
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon--large", () => $6edfbdaffbc9baf9$export$2265a487ad399d8b, (v) => $6edfbdaffbc9baf9$export$2265a487ad399d8b = v);
|
|
19
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon--medium", () => $6edfbdaffbc9baf9$export$a6044013cf72ddc9, (v) => $6edfbdaffbc9baf9$export$a6044013cf72ddc9 = v);
|
|
20
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-AlertMedium", () => $6edfbdaffbc9baf9$export$83be8302c01b6478, (v) => $6edfbdaffbc9baf9$export$83be8302c01b6478 = v);
|
|
21
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-AlertSmall", () => $6edfbdaffbc9baf9$export$57b49d6ee2e9f187, (v) => $6edfbdaffbc9baf9$export$57b49d6ee2e9f187 = v);
|
|
22
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ArrowDownSmall", () => $6edfbdaffbc9baf9$export$81968d05e3681b3f, (v) => $6edfbdaffbc9baf9$export$81968d05e3681b3f = v);
|
|
23
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ArrowLeftMedium", () => $6edfbdaffbc9baf9$export$c0d655f335b5bc31, (v) => $6edfbdaffbc9baf9$export$c0d655f335b5bc31 = v);
|
|
24
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Asterisk", () => $6edfbdaffbc9baf9$export$cca4342eca45562, (v) => $6edfbdaffbc9baf9$export$cca4342eca45562 = v);
|
|
25
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CheckmarkMedium", () => $6edfbdaffbc9baf9$export$edc4a2e9af971b26, (v) => $6edfbdaffbc9baf9$export$edc4a2e9af971b26 = v);
|
|
26
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CheckmarkSmall", () => $6edfbdaffbc9baf9$export$9e665cb12e71e037, (v) => $6edfbdaffbc9baf9$export$9e665cb12e71e037 = v);
|
|
27
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronDownMedium", () => $6edfbdaffbc9baf9$export$2f91b7a7627906d5, (v) => $6edfbdaffbc9baf9$export$2f91b7a7627906d5 = v);
|
|
28
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronDownSmall", () => $6edfbdaffbc9baf9$export$56efb4ec9eb35c07, (v) => $6edfbdaffbc9baf9$export$56efb4ec9eb35c07 = v);
|
|
29
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronLeftLarge", () => $6edfbdaffbc9baf9$export$5861dfe1d581a528, (v) => $6edfbdaffbc9baf9$export$5861dfe1d581a528 = v);
|
|
30
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronLeftMedium", () => $6edfbdaffbc9baf9$export$595a122b60890c78, (v) => $6edfbdaffbc9baf9$export$595a122b60890c78 = v);
|
|
31
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightLarge", () => $6edfbdaffbc9baf9$export$596373794435f8bc, (v) => $6edfbdaffbc9baf9$export$596373794435f8bc = v);
|
|
32
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightMedium", () => $6edfbdaffbc9baf9$export$32b379a02cafbfb3, (v) => $6edfbdaffbc9baf9$export$32b379a02cafbfb3 = v);
|
|
33
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightSmall", () => $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4, (v) => $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4 = v);
|
|
34
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronUpSmall", () => $6edfbdaffbc9baf9$export$c1cbae72fd236fd9, (v) => $6edfbdaffbc9baf9$export$c1cbae72fd236fd9 = v);
|
|
35
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CornerTriangle", () => $6edfbdaffbc9baf9$export$636d8cde4f6b7e6, (v) => $6edfbdaffbc9baf9$export$636d8cde4f6b7e6 = v);
|
|
36
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossLarge", () => $6edfbdaffbc9baf9$export$1f0ad4082256e3df, (v) => $6edfbdaffbc9baf9$export$1f0ad4082256e3df = v);
|
|
37
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossMedium", () => $6edfbdaffbc9baf9$export$1e0848411e254295, (v) => $6edfbdaffbc9baf9$export$1e0848411e254295 = v);
|
|
38
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossSmall", () => $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5, (v) => $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5 = v);
|
|
39
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-DashSmall", () => $6edfbdaffbc9baf9$export$98de2b9917cd3b6a, (v) => $6edfbdaffbc9baf9$export$98de2b9917cd3b6a = v);
|
|
40
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-DoubleGripper", () => $6edfbdaffbc9baf9$export$3c956876cb11c1e1, (v) => $6edfbdaffbc9baf9$export$3c956876cb11c1e1 = v);
|
|
41
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-FolderBreadcrumb", () => $6edfbdaffbc9baf9$export$55cf2795737352fc, (v) => $6edfbdaffbc9baf9$export$55cf2795737352fc = v);
|
|
42
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-HelpMedium", () => $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5, (v) => $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5 = v);
|
|
43
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-HelpSmall", () => $6edfbdaffbc9baf9$export$f51b22382127207d, (v) => $6edfbdaffbc9baf9$export$f51b22382127207d = v);
|
|
44
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-InfoMedium", () => $6edfbdaffbc9baf9$export$825a6c2340d3b7e5, (v) => $6edfbdaffbc9baf9$export$825a6c2340d3b7e5 = v);
|
|
45
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-InfoSmall", () => $6edfbdaffbc9baf9$export$4828f4a6bfd26c04, (v) => $6edfbdaffbc9baf9$export$4828f4a6bfd26c04 = v);
|
|
46
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ListGripper", () => $6edfbdaffbc9baf9$export$1254ece141a8dac6, (v) => $6edfbdaffbc9baf9$export$1254ece141a8dac6 = v);
|
|
47
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Magnifier", () => $6edfbdaffbc9baf9$export$a33650c9f4cc191e, (v) => $6edfbdaffbc9baf9$export$a33650c9f4cc191e = v);
|
|
48
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SkipLeft", () => $6edfbdaffbc9baf9$export$9eb19533e4b8cc28, (v) => $6edfbdaffbc9baf9$export$9eb19533e4b8cc28 = v);
|
|
49
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SkipRight", () => $6edfbdaffbc9baf9$export$67704939e41f705a, (v) => $6edfbdaffbc9baf9$export$67704939e41f705a = v);
|
|
50
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Star", () => $6edfbdaffbc9baf9$export$c4d219c150b98c92, (v) => $6edfbdaffbc9baf9$export$c4d219c150b98c92 = v);
|
|
51
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-StarOutline", () => $6edfbdaffbc9baf9$export$bcda0a6a6d7202af, (v) => $6edfbdaffbc9baf9$export$bcda0a6a6d7202af = v);
|
|
52
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SuccessMedium", () => $6edfbdaffbc9baf9$export$d18d2d837989a797, (v) => $6edfbdaffbc9baf9$export$d18d2d837989a797 = v);
|
|
53
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SuccessSmall", () => $6edfbdaffbc9baf9$export$506ac7a1a72a2c65, (v) => $6edfbdaffbc9baf9$export$506ac7a1a72a2c65 = v);
|
|
54
|
-
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-TripleGripper", () => $6edfbdaffbc9baf9$export$12b8600bcd969018, (v) => $6edfbdaffbc9baf9$export$12b8600bcd969018 = v);
|
|
55
|
-
var $6edfbdaffbc9baf9$export$a88a8dbe29386d31;
|
|
56
|
-
var $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8;
|
|
57
|
-
var $6edfbdaffbc9baf9$export$d374b04f30360026;
|
|
58
|
-
var $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e;
|
|
59
|
-
var $6edfbdaffbc9baf9$export$8f1693ac47916bbf;
|
|
60
|
-
var $6edfbdaffbc9baf9$export$34ce05647f0c65e;
|
|
61
|
-
var $6edfbdaffbc9baf9$export$c6e70a22e841bc1b;
|
|
62
|
-
var $6edfbdaffbc9baf9$export$557c0af6873b4222;
|
|
63
|
-
var $6edfbdaffbc9baf9$export$b37777493a27e620;
|
|
64
|
-
var $6edfbdaffbc9baf9$export$cab8448604b31f43;
|
|
65
|
-
var $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa;
|
|
66
|
-
var $6edfbdaffbc9baf9$export$2265a487ad399d8b;
|
|
67
|
-
var $6edfbdaffbc9baf9$export$a6044013cf72ddc9;
|
|
68
|
-
var $6edfbdaffbc9baf9$export$83be8302c01b6478;
|
|
69
|
-
var $6edfbdaffbc9baf9$export$57b49d6ee2e9f187;
|
|
70
|
-
var $6edfbdaffbc9baf9$export$81968d05e3681b3f;
|
|
71
|
-
var $6edfbdaffbc9baf9$export$c0d655f335b5bc31;
|
|
72
|
-
var $6edfbdaffbc9baf9$export$cca4342eca45562;
|
|
73
|
-
var $6edfbdaffbc9baf9$export$edc4a2e9af971b26;
|
|
74
|
-
var $6edfbdaffbc9baf9$export$9e665cb12e71e037;
|
|
75
|
-
var $6edfbdaffbc9baf9$export$2f91b7a7627906d5;
|
|
76
|
-
var $6edfbdaffbc9baf9$export$56efb4ec9eb35c07;
|
|
77
|
-
var $6edfbdaffbc9baf9$export$5861dfe1d581a528;
|
|
78
|
-
var $6edfbdaffbc9baf9$export$595a122b60890c78;
|
|
79
|
-
var $6edfbdaffbc9baf9$export$596373794435f8bc;
|
|
80
|
-
var $6edfbdaffbc9baf9$export$32b379a02cafbfb3;
|
|
81
|
-
var $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4;
|
|
82
|
-
var $6edfbdaffbc9baf9$export$c1cbae72fd236fd9;
|
|
83
|
-
var $6edfbdaffbc9baf9$export$636d8cde4f6b7e6;
|
|
84
|
-
var $6edfbdaffbc9baf9$export$1f0ad4082256e3df;
|
|
85
|
-
var $6edfbdaffbc9baf9$export$1e0848411e254295;
|
|
86
|
-
var $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5;
|
|
87
|
-
var $6edfbdaffbc9baf9$export$98de2b9917cd3b6a;
|
|
88
|
-
var $6edfbdaffbc9baf9$export$3c956876cb11c1e1;
|
|
89
|
-
var $6edfbdaffbc9baf9$export$55cf2795737352fc;
|
|
90
|
-
var $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5;
|
|
91
|
-
var $6edfbdaffbc9baf9$export$f51b22382127207d;
|
|
92
|
-
var $6edfbdaffbc9baf9$export$825a6c2340d3b7e5;
|
|
93
|
-
var $6edfbdaffbc9baf9$export$4828f4a6bfd26c04;
|
|
94
|
-
var $6edfbdaffbc9baf9$export$1254ece141a8dac6;
|
|
95
|
-
var $6edfbdaffbc9baf9$export$a33650c9f4cc191e;
|
|
96
|
-
var $6edfbdaffbc9baf9$export$9eb19533e4b8cc28;
|
|
97
|
-
var $6edfbdaffbc9baf9$export$67704939e41f705a;
|
|
98
|
-
var $6edfbdaffbc9baf9$export$c4d219c150b98c92;
|
|
99
|
-
var $6edfbdaffbc9baf9$export$bcda0a6a6d7202af;
|
|
100
|
-
var $6edfbdaffbc9baf9$export$d18d2d837989a797;
|
|
101
|
-
var $6edfbdaffbc9baf9$export$506ac7a1a72a2c65;
|
|
102
|
-
var $6edfbdaffbc9baf9$export$12b8600bcd969018;
|
|
103
|
-
$6edfbdaffbc9baf9$export$a88a8dbe29386d31 = `wBx8DG_spectrum--large`;
|
|
104
|
-
$6edfbdaffbc9baf9$export$4c0c83b3f4303ef8 = `wBx8DG_spectrum--medium`;
|
|
105
|
-
$6edfbdaffbc9baf9$export$d374b04f30360026 = `wBx8DG_spectrum-Icon`;
|
|
106
|
-
$6edfbdaffbc9baf9$export$8d23c37ef2a4f13e = `wBx8DG_spectrum-Icon--sizeL`;
|
|
107
|
-
$6edfbdaffbc9baf9$export$8f1693ac47916bbf = `wBx8DG_spectrum-Icon--sizeM`;
|
|
108
|
-
$6edfbdaffbc9baf9$export$34ce05647f0c65e = `wBx8DG_spectrum-Icon--sizeS`;
|
|
109
|
-
$6edfbdaffbc9baf9$export$c6e70a22e841bc1b = `wBx8DG_spectrum-Icon--sizeXL`;
|
|
110
|
-
$6edfbdaffbc9baf9$export$557c0af6873b4222 = `wBx8DG_spectrum-Icon--sizeXS`;
|
|
111
|
-
$6edfbdaffbc9baf9$export$b37777493a27e620 = `wBx8DG_spectrum-Icon--sizeXXL`;
|
|
112
|
-
$6edfbdaffbc9baf9$export$cab8448604b31f43 = `wBx8DG_spectrum-Icon--sizeXXS`;
|
|
113
|
-
$6edfbdaffbc9baf9$export$c7db7fdc5aac13aa = `wBx8DG_spectrum-UIIcon`;
|
|
114
|
-
$6edfbdaffbc9baf9$export$2265a487ad399d8b = `wBx8DG_spectrum-UIIcon--large`;
|
|
115
|
-
$6edfbdaffbc9baf9$export$a6044013cf72ddc9 = `wBx8DG_spectrum-UIIcon--medium`;
|
|
116
|
-
$6edfbdaffbc9baf9$export$83be8302c01b6478 = `wBx8DG_spectrum-UIIcon-AlertMedium`;
|
|
117
|
-
$6edfbdaffbc9baf9$export$57b49d6ee2e9f187 = `wBx8DG_spectrum-UIIcon-AlertSmall`;
|
|
118
|
-
$6edfbdaffbc9baf9$export$81968d05e3681b3f = `wBx8DG_spectrum-UIIcon-ArrowDownSmall`;
|
|
119
|
-
$6edfbdaffbc9baf9$export$c0d655f335b5bc31 = `wBx8DG_spectrum-UIIcon-ArrowLeftMedium`;
|
|
120
|
-
$6edfbdaffbc9baf9$export$cca4342eca45562 = `wBx8DG_spectrum-UIIcon-Asterisk`;
|
|
121
|
-
$6edfbdaffbc9baf9$export$edc4a2e9af971b26 = `wBx8DG_spectrum-UIIcon-CheckmarkMedium`;
|
|
122
|
-
$6edfbdaffbc9baf9$export$9e665cb12e71e037 = `wBx8DG_spectrum-UIIcon-CheckmarkSmall`;
|
|
123
|
-
$6edfbdaffbc9baf9$export$2f91b7a7627906d5 = `wBx8DG_spectrum-UIIcon-ChevronDownMedium`;
|
|
124
|
-
$6edfbdaffbc9baf9$export$56efb4ec9eb35c07 = `wBx8DG_spectrum-UIIcon-ChevronDownSmall`;
|
|
125
|
-
$6edfbdaffbc9baf9$export$5861dfe1d581a528 = `wBx8DG_spectrum-UIIcon-ChevronLeftLarge`;
|
|
126
|
-
$6edfbdaffbc9baf9$export$595a122b60890c78 = `wBx8DG_spectrum-UIIcon-ChevronLeftMedium`;
|
|
127
|
-
$6edfbdaffbc9baf9$export$596373794435f8bc = `wBx8DG_spectrum-UIIcon-ChevronRightLarge`;
|
|
128
|
-
$6edfbdaffbc9baf9$export$32b379a02cafbfb3 = `wBx8DG_spectrum-UIIcon-ChevronRightMedium`;
|
|
129
|
-
$6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4 = `wBx8DG_spectrum-UIIcon-ChevronRightSmall`;
|
|
130
|
-
$6edfbdaffbc9baf9$export$c1cbae72fd236fd9 = `wBx8DG_spectrum-UIIcon-ChevronUpSmall`;
|
|
131
|
-
$6edfbdaffbc9baf9$export$636d8cde4f6b7e6 = `wBx8DG_spectrum-UIIcon-CornerTriangle`;
|
|
132
|
-
$6edfbdaffbc9baf9$export$1f0ad4082256e3df = `wBx8DG_spectrum-UIIcon-CrossLarge`;
|
|
133
|
-
$6edfbdaffbc9baf9$export$1e0848411e254295 = `wBx8DG_spectrum-UIIcon-CrossMedium`;
|
|
134
|
-
$6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5 = `wBx8DG_spectrum-UIIcon-CrossSmall`;
|
|
135
|
-
$6edfbdaffbc9baf9$export$98de2b9917cd3b6a = `wBx8DG_spectrum-UIIcon-DashSmall`;
|
|
136
|
-
$6edfbdaffbc9baf9$export$3c956876cb11c1e1 = `wBx8DG_spectrum-UIIcon-DoubleGripper`;
|
|
137
|
-
$6edfbdaffbc9baf9$export$55cf2795737352fc = `wBx8DG_spectrum-UIIcon-FolderBreadcrumb`;
|
|
138
|
-
$6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5 = `wBx8DG_spectrum-UIIcon-HelpMedium`;
|
|
139
|
-
$6edfbdaffbc9baf9$export$f51b22382127207d = `wBx8DG_spectrum-UIIcon-HelpSmall`;
|
|
140
|
-
$6edfbdaffbc9baf9$export$825a6c2340d3b7e5 = `wBx8DG_spectrum-UIIcon-InfoMedium`;
|
|
141
|
-
$6edfbdaffbc9baf9$export$4828f4a6bfd26c04 = `wBx8DG_spectrum-UIIcon-InfoSmall`;
|
|
142
|
-
$6edfbdaffbc9baf9$export$1254ece141a8dac6 = `wBx8DG_spectrum-UIIcon-ListGripper`;
|
|
143
|
-
$6edfbdaffbc9baf9$export$a33650c9f4cc191e = `wBx8DG_spectrum-UIIcon-Magnifier`;
|
|
144
|
-
$6edfbdaffbc9baf9$export$9eb19533e4b8cc28 = `wBx8DG_spectrum-UIIcon-SkipLeft`;
|
|
145
|
-
$6edfbdaffbc9baf9$export$67704939e41f705a = `wBx8DG_spectrum-UIIcon-SkipRight`;
|
|
146
|
-
$6edfbdaffbc9baf9$export$c4d219c150b98c92 = `wBx8DG_spectrum-UIIcon-Star`;
|
|
147
|
-
$6edfbdaffbc9baf9$export$bcda0a6a6d7202af = `wBx8DG_spectrum-UIIcon-StarOutline`;
|
|
148
|
-
$6edfbdaffbc9baf9$export$d18d2d837989a797 = `wBx8DG_spectrum-UIIcon-SuccessMedium`;
|
|
149
|
-
$6edfbdaffbc9baf9$export$506ac7a1a72a2c65 = `wBx8DG_spectrum-UIIcon-SuccessSmall`;
|
|
150
|
-
$6edfbdaffbc9baf9$export$12b8600bcd969018 = `wBx8DG_spectrum-UIIcon-TripleGripper`;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
export {$6edfbdaffbc9baf9$exports as default};
|
|
154
|
-
//# sourceMappingURL=icon_vars_css.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AA/CA,4CAAoC,CAAC,sBAAsB,CAAC;AAC5D,4CAAqC,CAAC,uBAAuB,CAAC;AAC9D,4CAAkC,CAAC,oBAAoB,CAAC;AACxD,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,2CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAA0C,CAAC,4BAA4B,CAAC;AACxE,4CAA0C,CAAC,4BAA4B,CAAC;AACxE,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E,4CAAoC,CAAC,sBAAsB,CAAC;AAC5D,4CAA2C,CAAC,6BAA6B,CAAC;AAC1E,4CAA4C,CAAC,8BAA8B,CAAC;AAC5E,4CAAgD,CAAC,kCAAkC,CAAC;AACpF,4CAA+C,CAAC,iCAAiC,CAAC;AAClF,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,2CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,2CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAA+C,CAAC,iCAAiC,CAAC;AAClF,4CAAgD,CAAC,kCAAkC,CAAC;AACpF,4CAA+C,CAAC,iCAAiC,CAAC;AAClF,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,2CAA+C,CAAC,iCAAiC,CAAC;AAClF,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAA+C,CAAC,iCAAiC,CAAC;AAClF,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAgD,CAAC,kCAAkC,CAAC;AACpF,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAA8C,CAAC,gCAAgC,CAAC;AAChF,4CAAyC,CAAC,2BAA2B,CAAC;AACtE,4CAAgD,CAAC,kCAAkC,CAAC;AACpF,4CAAkD,CAAC,oCAAoC,CAAC;AACxF,4CAAiD,CAAC,mCAAmC,CAAC;AACtF,4CAAkD,CAAC,oCAAoC,CAAC","sources":["packages/@adobe/spectrum-css-temp/components/icon/vars.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n"],"names":[],"version":3,"file":"icon_vars_css.module.js.map"}
|
package/dist/types.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { AriaLabelingProps, DOMProps, IconColorValue, StyleProps } from "@react-types/shared";
|
|
2
|
-
import { JSX, ReactElement } from "react";
|
|
3
|
-
export interface IconProps extends DOMProps, AriaLabelingProps, StyleProps {
|
|
4
|
-
/**
|
|
5
|
-
* A screen reader only label for the Icon.
|
|
6
|
-
*/
|
|
7
|
-
'aria-label'?: string;
|
|
8
|
-
/**
|
|
9
|
-
* The content to display. Should be an SVG.
|
|
10
|
-
*/
|
|
11
|
-
children: ReactElement<any>;
|
|
12
|
-
/**
|
|
13
|
-
* Size of Icon (changes based on scale).
|
|
14
|
-
*/
|
|
15
|
-
size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL';
|
|
16
|
-
/**
|
|
17
|
-
* A slot to place the icon in.
|
|
18
|
-
* @default 'icon'
|
|
19
|
-
*/
|
|
20
|
-
slot?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Indicates whether the element is exposed to an accessibility API.
|
|
23
|
-
*/
|
|
24
|
-
'aria-hidden'?: boolean | 'false' | 'true';
|
|
25
|
-
/**
|
|
26
|
-
* Color of the Icon.
|
|
27
|
-
*/
|
|
28
|
-
color?: IconColorValue;
|
|
29
|
-
}
|
|
30
|
-
export type IconPropsWithoutChildren = Omit<IconProps, 'children'>;
|
|
31
|
-
/**
|
|
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
|
-
*/
|
|
34
|
-
export function Icon(props: IconProps): JSX.Element;
|
|
35
|
-
export interface UIIconProps extends DOMProps, AriaLabelingProps, StyleProps {
|
|
36
|
-
children: ReactElement<any>;
|
|
37
|
-
slot?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Indicates whether the element is exposed to an accessibility API.
|
|
40
|
-
*/
|
|
41
|
-
'aria-hidden'?: boolean | 'false' | 'true';
|
|
42
|
-
}
|
|
43
|
-
export type UIIconPropsWithoutChildren = Omit<UIIconProps, 'children'>;
|
|
44
|
-
export function UIIcon(props: UIIconProps): JSX.Element;
|
|
45
|
-
export interface IllustrationProps extends DOMProps, AriaLabelingProps, StyleProps {
|
|
46
|
-
/**
|
|
47
|
-
* A screen reader only label for the Illustration.
|
|
48
|
-
*/
|
|
49
|
-
'aria-label'?: string;
|
|
50
|
-
/**
|
|
51
|
-
* The content to display. Should be an SVG.
|
|
52
|
-
*/
|
|
53
|
-
children: ReactElement<any>;
|
|
54
|
-
/**
|
|
55
|
-
* A slot to place the illustration in.
|
|
56
|
-
* @default 'illustration'
|
|
57
|
-
*/
|
|
58
|
-
slot?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Indicates whether the element is exposed to an accessibility API.
|
|
61
|
-
*/
|
|
62
|
-
'aria-hidden'?: boolean | 'false' | 'true';
|
|
63
|
-
}
|
|
64
|
-
export type IllustrationPropsWithoutChildren = Omit<IllustrationProps, 'children'>;
|
|
65
|
-
/**
|
|
66
|
-
* Wrapper component for illustrations. Use this to wrap your svg element for a custom illustration.
|
|
67
|
-
*/
|
|
68
|
-
export function Illustration(props: IllustrationProps): JSX.Element;
|
|
69
|
-
|
|
70
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;AAmBA,0BAA2B,SAAQ,QAAQ,EAAE,iBAAiB,EAAE,UAAU;IACxE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,aAAa,GAAG,CAAC,CAAC;IAC5B;;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,GAAG,IAAI,OAAO,CA2ClD;ACrFD,4BAA6B,SAAQ,QAAQ,EAAE,iBAAiB,EAAE,UAAU;IAC1E,QAAQ,EAAE,aAAa,GAAG,CAAC,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAA;CAC3C;AAED,yCAAyC,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;AAEvE,uBAAuB,KAAK,EAAE,WAAW,GAAG,IAAI,OAAO,CA2CtD;ACxDD,kCAAmC,SAAQ,QAAQ,EAAE,iBAAiB,EAAE,UAAU;IAChF;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,aAAa,GAAG,CAAC,CAAC;IAC5B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAA;CAC3C;AAED,+CAA+C,IAAI,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;AAEnF;;GAEG;AACH,6BAA6B,KAAK,EAAE,iBAAiB,GAAG,IAAI,OAAO,CA0BlE","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/Illustration.tsx","packages/@react-spectrum/icon/src/packages/@react-spectrum/icon/src/index.ts","packages/@react-spectrum/icon/src/index.ts"],"sourcesContent":[null,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 {Icon} from './Icon';\nexport {UIIcon} from './UIIcon';\nexport {Illustration} from './Illustration';\n\nexport type {IconProps, IconPropsWithoutChildren} from './Icon';\nexport type {IllustrationProps, IllustrationPropsWithoutChildren} from './Illustration';\nexport type {UIIconProps, UIIconPropsWithoutChildren} from './UIIcon';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|
package/src/Icon.tsx
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import {AriaLabelingProps, DOMProps, IconColorValue, StyleProps} from '@react-types/shared';
|
|
14
|
-
import {baseStyleProps, classNames, StyleHandlers, useSlotProps, useStyleProps} from '@react-spectrum/utils';
|
|
15
|
-
import {filterDOMProps} from '@react-aria/utils';
|
|
16
|
-
import {ProviderContext, useProvider} from '@react-spectrum/provider';
|
|
17
|
-
import React, {JSX, ReactElement} from 'react';
|
|
18
|
-
import styles from '@adobe/spectrum-css-temp/components/icon/vars.css';
|
|
19
|
-
|
|
20
|
-
export interface IconProps extends DOMProps, AriaLabelingProps, StyleProps {
|
|
21
|
-
/**
|
|
22
|
-
* A screen reader only label for the Icon.
|
|
23
|
-
*/
|
|
24
|
-
'aria-label'?: string,
|
|
25
|
-
/**
|
|
26
|
-
* The content to display. Should be an SVG.
|
|
27
|
-
*/
|
|
28
|
-
children: ReactElement<any>,
|
|
29
|
-
/**
|
|
30
|
-
* Size of Icon (changes based on scale).
|
|
31
|
-
*/
|
|
32
|
-
size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' |'XL' | 'XXL',
|
|
33
|
-
/**
|
|
34
|
-
* A slot to place the icon in.
|
|
35
|
-
* @default 'icon'
|
|
36
|
-
*/
|
|
37
|
-
slot?: string,
|
|
38
|
-
/**
|
|
39
|
-
* Indicates whether the element is exposed to an accessibility API.
|
|
40
|
-
*/
|
|
41
|
-
'aria-hidden'?: boolean | 'false' | 'true',
|
|
42
|
-
/**
|
|
43
|
-
* Color of the Icon.
|
|
44
|
-
*/
|
|
45
|
-
color?: IconColorValue
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export type IconPropsWithoutChildren = Omit<IconProps, 'children'>;
|
|
49
|
-
|
|
50
|
-
function iconColorValue(value: IconColorValue) {
|
|
51
|
-
return `var(--spectrum-semantic-${value}-color-icon)`;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
const iconStyleProps: StyleHandlers = {
|
|
55
|
-
...baseStyleProps,
|
|
56
|
-
color: ['color', iconColorValue]
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* 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.
|
|
61
|
-
*/
|
|
62
|
-
export function Icon(props: IconProps): JSX.Element {
|
|
63
|
-
props = useSlotProps(props, 'icon');
|
|
64
|
-
let {
|
|
65
|
-
children,
|
|
66
|
-
size,
|
|
67
|
-
'aria-label': ariaLabel,
|
|
68
|
-
'aria-hidden': ariaHidden,
|
|
69
|
-
...otherProps
|
|
70
|
-
} = props;
|
|
71
|
-
let {styleProps} = useStyleProps(otherProps, iconStyleProps);
|
|
72
|
-
|
|
73
|
-
let provider: undefined | ProviderContext;
|
|
74
|
-
try {
|
|
75
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
76
|
-
provider = useProvider();
|
|
77
|
-
} catch {
|
|
78
|
-
// ignore
|
|
79
|
-
}
|
|
80
|
-
let scale = 'M';
|
|
81
|
-
if (provider != null) {
|
|
82
|
-
scale = provider.scale === 'large' ? 'L' : 'M';
|
|
83
|
-
}
|
|
84
|
-
if (!ariaHidden) {
|
|
85
|
-
ariaHidden = undefined;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// Use user specified size, falling back to provider scale if size is undef
|
|
89
|
-
let iconSize = size ? size : scale;
|
|
90
|
-
|
|
91
|
-
return React.cloneElement(children, {
|
|
92
|
-
...filterDOMProps(otherProps),
|
|
93
|
-
...styleProps,
|
|
94
|
-
focusable: 'false',
|
|
95
|
-
'aria-label': ariaLabel,
|
|
96
|
-
'aria-hidden': (ariaLabel ? (ariaHidden || undefined) : true),
|
|
97
|
-
role: 'img',
|
|
98
|
-
className: classNames(
|
|
99
|
-
styles,
|
|
100
|
-
children.props.className,
|
|
101
|
-
'spectrum-Icon',
|
|
102
|
-
`spectrum-Icon--size${iconSize}`,
|
|
103
|
-
styleProps.className)
|
|
104
|
-
});
|
|
105
|
-
}
|
package/src/Illustration.tsx
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
*
|
|
7
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
* governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared';
|
|
14
|
-
import {filterDOMProps} from '@react-aria/utils';
|
|
15
|
-
import React, {JSX, ReactElement} from 'react';
|
|
16
|
-
import {useSlotProps, useStyleProps} from '@react-spectrum/utils';
|
|
17
|
-
|
|
18
|
-
export interface IllustrationProps extends DOMProps, AriaLabelingProps, StyleProps {
|
|
19
|
-
/**
|
|
20
|
-
* A screen reader only label for the Illustration.
|
|
21
|
-
*/
|
|
22
|
-
'aria-label'?: string,
|
|
23
|
-
/**
|
|
24
|
-
* The content to display. Should be an SVG.
|
|
25
|
-
*/
|
|
26
|
-
children: ReactElement<any>,
|
|
27
|
-
/**
|
|
28
|
-
* A slot to place the illustration in.
|
|
29
|
-
* @default 'illustration'
|
|
30
|
-
*/
|
|
31
|
-
slot?: string,
|
|
32
|
-
/**
|
|
33
|
-
* Indicates whether the element is exposed to an accessibility API.
|
|
34
|
-
*/
|
|
35
|
-
'aria-hidden'?: boolean | 'false' | 'true'
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export type IllustrationPropsWithoutChildren = Omit<IllustrationProps, 'children'>;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Wrapper component for illustrations. Use this to wrap your svg element for a custom illustration.
|
|
42
|
-
*/
|
|
43
|
-
export function Illustration(props: IllustrationProps): JSX.Element {
|
|
44
|
-
props = useSlotProps(props, 'illustration');
|
|
45
|
-
let {
|
|
46
|
-
children,
|
|
47
|
-
'aria-label': ariaLabel,
|
|
48
|
-
'aria-labelledby': ariaLabelledby,
|
|
49
|
-
'aria-hidden': ariaHidden,
|
|
50
|
-
...otherProps
|
|
51
|
-
} = props;
|
|
52
|
-
let {styleProps} = useStyleProps(otherProps);
|
|
53
|
-
|
|
54
|
-
let hasLabel = ariaLabel || ariaLabelledby;
|
|
55
|
-
|
|
56
|
-
if (!ariaHidden) {
|
|
57
|
-
ariaHidden = undefined;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
return React.cloneElement(children, {
|
|
61
|
-
...filterDOMProps(otherProps),
|
|
62
|
-
...styleProps,
|
|
63
|
-
focusable: 'false',
|
|
64
|
-
'aria-label': ariaLabel,
|
|
65
|
-
'aria-labelledby': ariaLabelledby,
|
|
66
|
-
'aria-hidden': ariaHidden,
|
|
67
|
-
role: hasLabel ? 'img' : undefined
|
|
68
|
-
});
|
|
69
|
-
}
|