@react-spectrum/icon 3.6.3 → 3.7.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 +290 -0
- package/package.json +10 -5
package/dist/import.mjs
ADDED
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import "./main.css";
|
|
2
|
+
import {baseStyleProps as $1Thsl$baseStyleProps, useSlotProps as $1Thsl$useSlotProps, useStyleProps as $1Thsl$useStyleProps, classNames as $1Thsl$classNames} from "@react-spectrum/utils";
|
|
3
|
+
import {filterDOMProps as $1Thsl$filterDOMProps} from "@react-aria/utils";
|
|
4
|
+
import $1Thsl$react from "react";
|
|
5
|
+
import {useProvider as $1Thsl$useProvider} from "@react-spectrum/provider";
|
|
6
|
+
|
|
7
|
+
function $parcel$interopDefault(a) {
|
|
8
|
+
return a && a.__esModule ? a.default : a;
|
|
9
|
+
}
|
|
10
|
+
function $parcel$export(e, n, v, s) {
|
|
11
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
12
|
+
}
|
|
13
|
+
/*
|
|
14
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
15
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
16
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
17
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
+
*
|
|
19
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
20
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
21
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
22
|
+
* governing permissions and limitations under the License.
|
|
23
|
+
*/ /// <reference types="css-module-types" />
|
|
24
|
+
/*
|
|
25
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
26
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
27
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
28
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
29
|
+
*
|
|
30
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
31
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
32
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
33
|
+
* governing permissions and limitations under the License.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
var $6edfbdaffbc9baf9$exports = {};
|
|
38
|
+
|
|
39
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon", () => $6edfbdaffbc9baf9$export$d374b04f30360026, (v) => $6edfbdaffbc9baf9$export$d374b04f30360026 = v);
|
|
40
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon", () => $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa, (v) => $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa = v);
|
|
41
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXXS", () => $6edfbdaffbc9baf9$export$cab8448604b31f43, (v) => $6edfbdaffbc9baf9$export$cab8448604b31f43 = v);
|
|
42
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXS", () => $6edfbdaffbc9baf9$export$557c0af6873b4222, (v) => $6edfbdaffbc9baf9$export$557c0af6873b4222 = v);
|
|
43
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeS", () => $6edfbdaffbc9baf9$export$34ce05647f0c65e, (v) => $6edfbdaffbc9baf9$export$34ce05647f0c65e = v);
|
|
44
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeM", () => $6edfbdaffbc9baf9$export$8f1693ac47916bbf, (v) => $6edfbdaffbc9baf9$export$8f1693ac47916bbf = v);
|
|
45
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeL", () => $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e, (v) => $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e = v);
|
|
46
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXL", () => $6edfbdaffbc9baf9$export$c6e70a22e841bc1b, (v) => $6edfbdaffbc9baf9$export$c6e70a22e841bc1b = v);
|
|
47
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-Icon--sizeXXL", () => $6edfbdaffbc9baf9$export$b37777493a27e620, (v) => $6edfbdaffbc9baf9$export$b37777493a27e620 = v);
|
|
48
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum--medium", () => $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8, (v) => $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8 = v);
|
|
49
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon--large", () => $6edfbdaffbc9baf9$export$2265a487ad399d8b, (v) => $6edfbdaffbc9baf9$export$2265a487ad399d8b = v);
|
|
50
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon--medium", () => $6edfbdaffbc9baf9$export$a6044013cf72ddc9, (v) => $6edfbdaffbc9baf9$export$a6044013cf72ddc9 = v);
|
|
51
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum--large", () => $6edfbdaffbc9baf9$export$a88a8dbe29386d31, (v) => $6edfbdaffbc9baf9$export$a88a8dbe29386d31 = v);
|
|
52
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-AlertMedium", () => $6edfbdaffbc9baf9$export$83be8302c01b6478, (v) => $6edfbdaffbc9baf9$export$83be8302c01b6478 = v);
|
|
53
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-AlertSmall", () => $6edfbdaffbc9baf9$export$57b49d6ee2e9f187, (v) => $6edfbdaffbc9baf9$export$57b49d6ee2e9f187 = v);
|
|
54
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ArrowDownSmall", () => $6edfbdaffbc9baf9$export$81968d05e3681b3f, (v) => $6edfbdaffbc9baf9$export$81968d05e3681b3f = v);
|
|
55
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ArrowLeftMedium", () => $6edfbdaffbc9baf9$export$c0d655f335b5bc31, (v) => $6edfbdaffbc9baf9$export$c0d655f335b5bc31 = v);
|
|
56
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Asterisk", () => $6edfbdaffbc9baf9$export$cca4342eca45562, (v) => $6edfbdaffbc9baf9$export$cca4342eca45562 = v);
|
|
57
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CheckmarkMedium", () => $6edfbdaffbc9baf9$export$edc4a2e9af971b26, (v) => $6edfbdaffbc9baf9$export$edc4a2e9af971b26 = v);
|
|
58
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CheckmarkSmall", () => $6edfbdaffbc9baf9$export$9e665cb12e71e037, (v) => $6edfbdaffbc9baf9$export$9e665cb12e71e037 = v);
|
|
59
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronDownMedium", () => $6edfbdaffbc9baf9$export$2f91b7a7627906d5, (v) => $6edfbdaffbc9baf9$export$2f91b7a7627906d5 = v);
|
|
60
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronDownSmall", () => $6edfbdaffbc9baf9$export$56efb4ec9eb35c07, (v) => $6edfbdaffbc9baf9$export$56efb4ec9eb35c07 = v);
|
|
61
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronLeftLarge", () => $6edfbdaffbc9baf9$export$5861dfe1d581a528, (v) => $6edfbdaffbc9baf9$export$5861dfe1d581a528 = v);
|
|
62
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronLeftMedium", () => $6edfbdaffbc9baf9$export$595a122b60890c78, (v) => $6edfbdaffbc9baf9$export$595a122b60890c78 = v);
|
|
63
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightLarge", () => $6edfbdaffbc9baf9$export$596373794435f8bc, (v) => $6edfbdaffbc9baf9$export$596373794435f8bc = v);
|
|
64
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightMedium", () => $6edfbdaffbc9baf9$export$32b379a02cafbfb3, (v) => $6edfbdaffbc9baf9$export$32b379a02cafbfb3 = v);
|
|
65
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronRightSmall", () => $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4, (v) => $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4 = v);
|
|
66
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ChevronUpSmall", () => $6edfbdaffbc9baf9$export$c1cbae72fd236fd9, (v) => $6edfbdaffbc9baf9$export$c1cbae72fd236fd9 = v);
|
|
67
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CornerTriangle", () => $6edfbdaffbc9baf9$export$636d8cde4f6b7e6, (v) => $6edfbdaffbc9baf9$export$636d8cde4f6b7e6 = v);
|
|
68
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossLarge", () => $6edfbdaffbc9baf9$export$1f0ad4082256e3df, (v) => $6edfbdaffbc9baf9$export$1f0ad4082256e3df = v);
|
|
69
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossMedium", () => $6edfbdaffbc9baf9$export$1e0848411e254295, (v) => $6edfbdaffbc9baf9$export$1e0848411e254295 = v);
|
|
70
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-CrossSmall", () => $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5, (v) => $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5 = v);
|
|
71
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-DashSmall", () => $6edfbdaffbc9baf9$export$98de2b9917cd3b6a, (v) => $6edfbdaffbc9baf9$export$98de2b9917cd3b6a = v);
|
|
72
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-DoubleGripper", () => $6edfbdaffbc9baf9$export$3c956876cb11c1e1, (v) => $6edfbdaffbc9baf9$export$3c956876cb11c1e1 = v);
|
|
73
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-FolderBreadcrumb", () => $6edfbdaffbc9baf9$export$55cf2795737352fc, (v) => $6edfbdaffbc9baf9$export$55cf2795737352fc = v);
|
|
74
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-HelpMedium", () => $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5, (v) => $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5 = v);
|
|
75
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-HelpSmall", () => $6edfbdaffbc9baf9$export$f51b22382127207d, (v) => $6edfbdaffbc9baf9$export$f51b22382127207d = v);
|
|
76
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-InfoMedium", () => $6edfbdaffbc9baf9$export$825a6c2340d3b7e5, (v) => $6edfbdaffbc9baf9$export$825a6c2340d3b7e5 = v);
|
|
77
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-InfoSmall", () => $6edfbdaffbc9baf9$export$4828f4a6bfd26c04, (v) => $6edfbdaffbc9baf9$export$4828f4a6bfd26c04 = v);
|
|
78
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-ListGripper", () => $6edfbdaffbc9baf9$export$1254ece141a8dac6, (v) => $6edfbdaffbc9baf9$export$1254ece141a8dac6 = v);
|
|
79
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Magnifier", () => $6edfbdaffbc9baf9$export$a33650c9f4cc191e, (v) => $6edfbdaffbc9baf9$export$a33650c9f4cc191e = v);
|
|
80
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SkipLeft", () => $6edfbdaffbc9baf9$export$9eb19533e4b8cc28, (v) => $6edfbdaffbc9baf9$export$9eb19533e4b8cc28 = v);
|
|
81
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SkipRight", () => $6edfbdaffbc9baf9$export$67704939e41f705a, (v) => $6edfbdaffbc9baf9$export$67704939e41f705a = v);
|
|
82
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-Star", () => $6edfbdaffbc9baf9$export$c4d219c150b98c92, (v) => $6edfbdaffbc9baf9$export$c4d219c150b98c92 = v);
|
|
83
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-StarOutline", () => $6edfbdaffbc9baf9$export$bcda0a6a6d7202af, (v) => $6edfbdaffbc9baf9$export$bcda0a6a6d7202af = v);
|
|
84
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SuccessMedium", () => $6edfbdaffbc9baf9$export$d18d2d837989a797, (v) => $6edfbdaffbc9baf9$export$d18d2d837989a797 = v);
|
|
85
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-SuccessSmall", () => $6edfbdaffbc9baf9$export$506ac7a1a72a2c65, (v) => $6edfbdaffbc9baf9$export$506ac7a1a72a2c65 = v);
|
|
86
|
+
$parcel$export($6edfbdaffbc9baf9$exports, "spectrum-UIIcon-TripleGripper", () => $6edfbdaffbc9baf9$export$12b8600bcd969018, (v) => $6edfbdaffbc9baf9$export$12b8600bcd969018 = v);
|
|
87
|
+
var $6edfbdaffbc9baf9$export$d374b04f30360026;
|
|
88
|
+
var $6edfbdaffbc9baf9$export$c7db7fdc5aac13aa;
|
|
89
|
+
var $6edfbdaffbc9baf9$export$cab8448604b31f43;
|
|
90
|
+
var $6edfbdaffbc9baf9$export$557c0af6873b4222;
|
|
91
|
+
var $6edfbdaffbc9baf9$export$34ce05647f0c65e;
|
|
92
|
+
var $6edfbdaffbc9baf9$export$8f1693ac47916bbf;
|
|
93
|
+
var $6edfbdaffbc9baf9$export$8d23c37ef2a4f13e;
|
|
94
|
+
var $6edfbdaffbc9baf9$export$c6e70a22e841bc1b;
|
|
95
|
+
var $6edfbdaffbc9baf9$export$b37777493a27e620;
|
|
96
|
+
var $6edfbdaffbc9baf9$export$4c0c83b3f4303ef8;
|
|
97
|
+
var $6edfbdaffbc9baf9$export$2265a487ad399d8b;
|
|
98
|
+
var $6edfbdaffbc9baf9$export$a6044013cf72ddc9;
|
|
99
|
+
var $6edfbdaffbc9baf9$export$a88a8dbe29386d31;
|
|
100
|
+
var $6edfbdaffbc9baf9$export$83be8302c01b6478;
|
|
101
|
+
var $6edfbdaffbc9baf9$export$57b49d6ee2e9f187;
|
|
102
|
+
var $6edfbdaffbc9baf9$export$81968d05e3681b3f;
|
|
103
|
+
var $6edfbdaffbc9baf9$export$c0d655f335b5bc31;
|
|
104
|
+
var $6edfbdaffbc9baf9$export$cca4342eca45562;
|
|
105
|
+
var $6edfbdaffbc9baf9$export$edc4a2e9af971b26;
|
|
106
|
+
var $6edfbdaffbc9baf9$export$9e665cb12e71e037;
|
|
107
|
+
var $6edfbdaffbc9baf9$export$2f91b7a7627906d5;
|
|
108
|
+
var $6edfbdaffbc9baf9$export$56efb4ec9eb35c07;
|
|
109
|
+
var $6edfbdaffbc9baf9$export$5861dfe1d581a528;
|
|
110
|
+
var $6edfbdaffbc9baf9$export$595a122b60890c78;
|
|
111
|
+
var $6edfbdaffbc9baf9$export$596373794435f8bc;
|
|
112
|
+
var $6edfbdaffbc9baf9$export$32b379a02cafbfb3;
|
|
113
|
+
var $6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4;
|
|
114
|
+
var $6edfbdaffbc9baf9$export$c1cbae72fd236fd9;
|
|
115
|
+
var $6edfbdaffbc9baf9$export$636d8cde4f6b7e6;
|
|
116
|
+
var $6edfbdaffbc9baf9$export$1f0ad4082256e3df;
|
|
117
|
+
var $6edfbdaffbc9baf9$export$1e0848411e254295;
|
|
118
|
+
var $6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5;
|
|
119
|
+
var $6edfbdaffbc9baf9$export$98de2b9917cd3b6a;
|
|
120
|
+
var $6edfbdaffbc9baf9$export$3c956876cb11c1e1;
|
|
121
|
+
var $6edfbdaffbc9baf9$export$55cf2795737352fc;
|
|
122
|
+
var $6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5;
|
|
123
|
+
var $6edfbdaffbc9baf9$export$f51b22382127207d;
|
|
124
|
+
var $6edfbdaffbc9baf9$export$825a6c2340d3b7e5;
|
|
125
|
+
var $6edfbdaffbc9baf9$export$4828f4a6bfd26c04;
|
|
126
|
+
var $6edfbdaffbc9baf9$export$1254ece141a8dac6;
|
|
127
|
+
var $6edfbdaffbc9baf9$export$a33650c9f4cc191e;
|
|
128
|
+
var $6edfbdaffbc9baf9$export$9eb19533e4b8cc28;
|
|
129
|
+
var $6edfbdaffbc9baf9$export$67704939e41f705a;
|
|
130
|
+
var $6edfbdaffbc9baf9$export$c4d219c150b98c92;
|
|
131
|
+
var $6edfbdaffbc9baf9$export$bcda0a6a6d7202af;
|
|
132
|
+
var $6edfbdaffbc9baf9$export$d18d2d837989a797;
|
|
133
|
+
var $6edfbdaffbc9baf9$export$506ac7a1a72a2c65;
|
|
134
|
+
var $6edfbdaffbc9baf9$export$12b8600bcd969018;
|
|
135
|
+
$6edfbdaffbc9baf9$export$d374b04f30360026 = "spectrum-Icon_368b34";
|
|
136
|
+
$6edfbdaffbc9baf9$export$c7db7fdc5aac13aa = "spectrum-UIIcon_368b34";
|
|
137
|
+
$6edfbdaffbc9baf9$export$cab8448604b31f43 = "spectrum-Icon--sizeXXS_368b34";
|
|
138
|
+
$6edfbdaffbc9baf9$export$557c0af6873b4222 = "spectrum-Icon--sizeXS_368b34";
|
|
139
|
+
$6edfbdaffbc9baf9$export$34ce05647f0c65e = "spectrum-Icon--sizeS_368b34";
|
|
140
|
+
$6edfbdaffbc9baf9$export$8f1693ac47916bbf = "spectrum-Icon--sizeM_368b34";
|
|
141
|
+
$6edfbdaffbc9baf9$export$8d23c37ef2a4f13e = "spectrum-Icon--sizeL_368b34";
|
|
142
|
+
$6edfbdaffbc9baf9$export$c6e70a22e841bc1b = "spectrum-Icon--sizeXL_368b34";
|
|
143
|
+
$6edfbdaffbc9baf9$export$b37777493a27e620 = "spectrum-Icon--sizeXXL_368b34";
|
|
144
|
+
$6edfbdaffbc9baf9$export$4c0c83b3f4303ef8 = "spectrum--medium_368b34";
|
|
145
|
+
$6edfbdaffbc9baf9$export$2265a487ad399d8b = "spectrum-UIIcon--large_368b34";
|
|
146
|
+
$6edfbdaffbc9baf9$export$a6044013cf72ddc9 = "spectrum-UIIcon--medium_368b34";
|
|
147
|
+
$6edfbdaffbc9baf9$export$a88a8dbe29386d31 = "spectrum--large_368b34";
|
|
148
|
+
$6edfbdaffbc9baf9$export$83be8302c01b6478 = "spectrum-UIIcon-AlertMedium_368b34";
|
|
149
|
+
$6edfbdaffbc9baf9$export$57b49d6ee2e9f187 = "spectrum-UIIcon-AlertSmall_368b34";
|
|
150
|
+
$6edfbdaffbc9baf9$export$81968d05e3681b3f = "spectrum-UIIcon-ArrowDownSmall_368b34";
|
|
151
|
+
$6edfbdaffbc9baf9$export$c0d655f335b5bc31 = "spectrum-UIIcon-ArrowLeftMedium_368b34";
|
|
152
|
+
$6edfbdaffbc9baf9$export$cca4342eca45562 = "spectrum-UIIcon-Asterisk_368b34";
|
|
153
|
+
$6edfbdaffbc9baf9$export$edc4a2e9af971b26 = "spectrum-UIIcon-CheckmarkMedium_368b34";
|
|
154
|
+
$6edfbdaffbc9baf9$export$9e665cb12e71e037 = "spectrum-UIIcon-CheckmarkSmall_368b34";
|
|
155
|
+
$6edfbdaffbc9baf9$export$2f91b7a7627906d5 = "spectrum-UIIcon-ChevronDownMedium_368b34";
|
|
156
|
+
$6edfbdaffbc9baf9$export$56efb4ec9eb35c07 = "spectrum-UIIcon-ChevronDownSmall_368b34";
|
|
157
|
+
$6edfbdaffbc9baf9$export$5861dfe1d581a528 = "spectrum-UIIcon-ChevronLeftLarge_368b34";
|
|
158
|
+
$6edfbdaffbc9baf9$export$595a122b60890c78 = "spectrum-UIIcon-ChevronLeftMedium_368b34";
|
|
159
|
+
$6edfbdaffbc9baf9$export$596373794435f8bc = "spectrum-UIIcon-ChevronRightLarge_368b34";
|
|
160
|
+
$6edfbdaffbc9baf9$export$32b379a02cafbfb3 = "spectrum-UIIcon-ChevronRightMedium_368b34";
|
|
161
|
+
$6edfbdaffbc9baf9$export$ee5de2c4d7c8faa4 = "spectrum-UIIcon-ChevronRightSmall_368b34";
|
|
162
|
+
$6edfbdaffbc9baf9$export$c1cbae72fd236fd9 = "spectrum-UIIcon-ChevronUpSmall_368b34";
|
|
163
|
+
$6edfbdaffbc9baf9$export$636d8cde4f6b7e6 = "spectrum-UIIcon-CornerTriangle_368b34";
|
|
164
|
+
$6edfbdaffbc9baf9$export$1f0ad4082256e3df = "spectrum-UIIcon-CrossLarge_368b34";
|
|
165
|
+
$6edfbdaffbc9baf9$export$1e0848411e254295 = "spectrum-UIIcon-CrossMedium_368b34";
|
|
166
|
+
$6edfbdaffbc9baf9$export$1c1bddac0ae5fbe5 = "spectrum-UIIcon-CrossSmall_368b34";
|
|
167
|
+
$6edfbdaffbc9baf9$export$98de2b9917cd3b6a = "spectrum-UIIcon-DashSmall_368b34";
|
|
168
|
+
$6edfbdaffbc9baf9$export$3c956876cb11c1e1 = "spectrum-UIIcon-DoubleGripper_368b34";
|
|
169
|
+
$6edfbdaffbc9baf9$export$55cf2795737352fc = "spectrum-UIIcon-FolderBreadcrumb_368b34";
|
|
170
|
+
$6edfbdaffbc9baf9$export$d5d1e3e09ea6cd5 = "spectrum-UIIcon-HelpMedium_368b34";
|
|
171
|
+
$6edfbdaffbc9baf9$export$f51b22382127207d = "spectrum-UIIcon-HelpSmall_368b34";
|
|
172
|
+
$6edfbdaffbc9baf9$export$825a6c2340d3b7e5 = "spectrum-UIIcon-InfoMedium_368b34";
|
|
173
|
+
$6edfbdaffbc9baf9$export$4828f4a6bfd26c04 = "spectrum-UIIcon-InfoSmall_368b34";
|
|
174
|
+
$6edfbdaffbc9baf9$export$1254ece141a8dac6 = "spectrum-UIIcon-ListGripper_368b34";
|
|
175
|
+
$6edfbdaffbc9baf9$export$a33650c9f4cc191e = "spectrum-UIIcon-Magnifier_368b34";
|
|
176
|
+
$6edfbdaffbc9baf9$export$9eb19533e4b8cc28 = "spectrum-UIIcon-SkipLeft_368b34";
|
|
177
|
+
$6edfbdaffbc9baf9$export$67704939e41f705a = "spectrum-UIIcon-SkipRight_368b34";
|
|
178
|
+
$6edfbdaffbc9baf9$export$c4d219c150b98c92 = "spectrum-UIIcon-Star_368b34";
|
|
179
|
+
$6edfbdaffbc9baf9$export$bcda0a6a6d7202af = "spectrum-UIIcon-StarOutline_368b34";
|
|
180
|
+
$6edfbdaffbc9baf9$export$d18d2d837989a797 = "spectrum-UIIcon-SuccessMedium_368b34";
|
|
181
|
+
$6edfbdaffbc9baf9$export$506ac7a1a72a2c65 = "spectrum-UIIcon-SuccessSmall_368b34";
|
|
182
|
+
$6edfbdaffbc9baf9$export$12b8600bcd969018 = "spectrum-UIIcon-TripleGripper_368b34";
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
function $6bfb67578ee6effd$var$iconColorValue(value) {
|
|
187
|
+
return `var(--spectrum-semantic-${value}-color-icon)`;
|
|
188
|
+
}
|
|
189
|
+
const $6bfb67578ee6effd$var$iconStyleProps = {
|
|
190
|
+
...(0, $1Thsl$baseStyleProps),
|
|
191
|
+
color: [
|
|
192
|
+
"color",
|
|
193
|
+
$6bfb67578ee6effd$var$iconColorValue
|
|
194
|
+
]
|
|
195
|
+
};
|
|
196
|
+
function $6bfb67578ee6effd$export$f04a61298a47a40f(props) {
|
|
197
|
+
props = (0, $1Thsl$useSlotProps)(props, "icon");
|
|
198
|
+
let { children: children , size: size , "aria-label": ariaLabel , "aria-hidden": ariaHidden , ...otherProps } = props;
|
|
199
|
+
let { styleProps: styleProps } = (0, $1Thsl$useStyleProps)(otherProps, $6bfb67578ee6effd$var$iconStyleProps);
|
|
200
|
+
let provider = (0, $1Thsl$useProvider)();
|
|
201
|
+
let scale = "M";
|
|
202
|
+
if (provider !== null) scale = provider.scale === "large" ? "L" : "M";
|
|
203
|
+
if (!ariaHidden) ariaHidden = undefined;
|
|
204
|
+
// Use user specified size, falling back to provider scale if size is undef
|
|
205
|
+
let iconSize = size ? size : scale;
|
|
206
|
+
return /*#__PURE__*/ (0, $1Thsl$react).cloneElement(children, {
|
|
207
|
+
...(0, $1Thsl$filterDOMProps)(otherProps),
|
|
208
|
+
...styleProps,
|
|
209
|
+
focusable: "false",
|
|
210
|
+
"aria-label": ariaLabel,
|
|
211
|
+
"aria-hidden": ariaLabel ? ariaHidden || undefined : true,
|
|
212
|
+
role: "img",
|
|
213
|
+
className: (0, $1Thsl$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($6edfbdaffbc9baf9$exports))), children.props.className, "spectrum-Icon", `spectrum-Icon--size${iconSize}`, styleProps.className)
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
/*
|
|
219
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
220
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
221
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
222
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
223
|
+
*
|
|
224
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
225
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
226
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
227
|
+
* governing permissions and limitations under the License.
|
|
228
|
+
*/
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
function $9ba43a63383852e3$export$906cc5990ff10700(props) {
|
|
234
|
+
props = (0, $1Thsl$useSlotProps)(props, "icon");
|
|
235
|
+
let { children: children , "aria-label": ariaLabel , "aria-hidden": ariaHidden , ...otherProps } = props;
|
|
236
|
+
let { styleProps: styleProps } = (0, $1Thsl$useStyleProps)(otherProps);
|
|
237
|
+
let provider = (0, $1Thsl$useProvider)();
|
|
238
|
+
let scale = "M";
|
|
239
|
+
if (provider !== null) scale = provider.scale === "large" ? "L" : "M";
|
|
240
|
+
if (!ariaHidden) ariaHidden = undefined;
|
|
241
|
+
return /*#__PURE__*/ (0, $1Thsl$react).cloneElement(children, {
|
|
242
|
+
...(0, $1Thsl$filterDOMProps)(otherProps),
|
|
243
|
+
...styleProps,
|
|
244
|
+
scale: scale,
|
|
245
|
+
focusable: "false",
|
|
246
|
+
"aria-label": ariaLabel,
|
|
247
|
+
"aria-hidden": ariaLabel ? ariaHidden || undefined : true,
|
|
248
|
+
role: "img",
|
|
249
|
+
className: (0, $1Thsl$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($6edfbdaffbc9baf9$exports))), children.props.className, "spectrum-Icon", {
|
|
250
|
+
[`spectrum-UIIcon-${children.type["displayName"]}`]: children.type["displayName"]
|
|
251
|
+
}, styleProps.className)
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
/*
|
|
257
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
258
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
259
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
260
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
261
|
+
*
|
|
262
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
263
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
264
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
265
|
+
* governing permissions and limitations under the License.
|
|
266
|
+
*/
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
function $88bb85359d3a4aed$export$d43c2e2ca9b2c105(props) {
|
|
270
|
+
props = (0, $1Thsl$useSlotProps)(props, "illustration");
|
|
271
|
+
let { children: children , "aria-label": ariaLabel , "aria-labelledby": ariaLabelledby , "aria-hidden": ariaHidden , ...otherProps } = props;
|
|
272
|
+
let { styleProps: styleProps } = (0, $1Thsl$useStyleProps)(otherProps);
|
|
273
|
+
let hasLabel = ariaLabel || ariaLabelledby;
|
|
274
|
+
if (!ariaHidden) ariaHidden = undefined;
|
|
275
|
+
return /*#__PURE__*/ (0, $1Thsl$react).cloneElement(children, {
|
|
276
|
+
...(0, $1Thsl$filterDOMProps)(otherProps),
|
|
277
|
+
...styleProps,
|
|
278
|
+
focusable: "false",
|
|
279
|
+
"aria-label": ariaLabel,
|
|
280
|
+
"aria-labelledby": ariaLabelledby,
|
|
281
|
+
"aria-hidden": ariaHidden,
|
|
282
|
+
role: hasLabel ? "img" : undefined
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
export {$6bfb67578ee6effd$export$f04a61298a47a40f as Icon, $9ba43a63383852e3$export$906cc5990ff10700 as UIIcon, $88bb85359d3a4aed$export$d43c2e2ca9b2c105 as Illustration};
|
|
290
|
+
//# sourceMappingURL=module.js.map
|
package/package.json
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/icon",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"module": "dist/module.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
"types": "./dist/types.d.ts",
|
|
10
|
+
"import": "./dist/import.mjs",
|
|
11
|
+
"require": "./dist/main.js"
|
|
12
|
+
},
|
|
8
13
|
"types": "dist/types.d.ts",
|
|
9
14
|
"source": "src/index.ts",
|
|
10
15
|
"files": [
|
|
@@ -31,9 +36,9 @@
|
|
|
31
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
32
37
|
},
|
|
33
38
|
"dependencies": {
|
|
34
|
-
"@react-aria/utils": "^3.
|
|
35
|
-
"@react-spectrum/utils": "^3.
|
|
36
|
-
"@react-types/shared": "^3.
|
|
39
|
+
"@react-aria/utils": "^3.15.0",
|
|
40
|
+
"@react-spectrum/utils": "^3.9.0",
|
|
41
|
+
"@react-types/shared": "^3.17.0",
|
|
37
42
|
"@swc/helpers": "^0.4.14"
|
|
38
43
|
},
|
|
39
44
|
"devDependencies": {
|
|
@@ -46,5 +51,5 @@
|
|
|
46
51
|
"publishConfig": {
|
|
47
52
|
"access": "public"
|
|
48
53
|
},
|
|
49
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "a0efee84aa178cb1a202951dfd6d8de02b292307"
|
|
50
55
|
}
|