@react-spectrum/label 3.16.3-nightly.4440 → 3.16.3-nightly.4451

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.
Files changed (178) hide show
  1. package/dist/import.mjs +204 -36
  2. package/dist/main.css +1 -393
  3. package/dist/main.js +204 -36
  4. package/dist/main.js.map +1 -1
  5. package/dist/module.js +204 -36
  6. package/dist/module.js.map +1 -1
  7. package/package.json +11 -11
  8. package/dist/ar-AE.main.js +0 -7
  9. package/dist/ar-AE.main.js.map +0 -1
  10. package/dist/ar-AE.mjs +0 -9
  11. package/dist/ar-AE.module.js +0 -9
  12. package/dist/ar-AE.module.js.map +0 -1
  13. package/dist/bg-BG.main.js +0 -7
  14. package/dist/bg-BG.main.js.map +0 -1
  15. package/dist/bg-BG.mjs +0 -9
  16. package/dist/bg-BG.module.js +0 -9
  17. package/dist/bg-BG.module.js.map +0 -1
  18. package/dist/cs-CZ.main.js +0 -7
  19. package/dist/cs-CZ.main.js.map +0 -1
  20. package/dist/cs-CZ.mjs +0 -9
  21. package/dist/cs-CZ.module.js +0 -9
  22. package/dist/cs-CZ.module.js.map +0 -1
  23. package/dist/da-DK.main.js +0 -7
  24. package/dist/da-DK.main.js.map +0 -1
  25. package/dist/da-DK.mjs +0 -9
  26. package/dist/da-DK.module.js +0 -9
  27. package/dist/da-DK.module.js.map +0 -1
  28. package/dist/de-DE.main.js +0 -7
  29. package/dist/de-DE.main.js.map +0 -1
  30. package/dist/de-DE.mjs +0 -9
  31. package/dist/de-DE.module.js +0 -9
  32. package/dist/de-DE.module.js.map +0 -1
  33. package/dist/el-GR.main.js +0 -7
  34. package/dist/el-GR.main.js.map +0 -1
  35. package/dist/el-GR.mjs +0 -9
  36. package/dist/el-GR.module.js +0 -9
  37. package/dist/el-GR.module.js.map +0 -1
  38. package/dist/en-US.main.js +0 -7
  39. package/dist/en-US.main.js.map +0 -1
  40. package/dist/en-US.mjs +0 -9
  41. package/dist/en-US.module.js +0 -9
  42. package/dist/en-US.module.js.map +0 -1
  43. package/dist/es-ES.main.js +0 -7
  44. package/dist/es-ES.main.js.map +0 -1
  45. package/dist/es-ES.mjs +0 -9
  46. package/dist/es-ES.module.js +0 -9
  47. package/dist/es-ES.module.js.map +0 -1
  48. package/dist/et-EE.main.js +0 -7
  49. package/dist/et-EE.main.js.map +0 -1
  50. package/dist/et-EE.mjs +0 -9
  51. package/dist/et-EE.module.js +0 -9
  52. package/dist/et-EE.module.js.map +0 -1
  53. package/dist/fi-FI.main.js +0 -7
  54. package/dist/fi-FI.main.js.map +0 -1
  55. package/dist/fi-FI.mjs +0 -9
  56. package/dist/fi-FI.module.js +0 -9
  57. package/dist/fi-FI.module.js.map +0 -1
  58. package/dist/fr-FR.main.js +0 -7
  59. package/dist/fr-FR.main.js.map +0 -1
  60. package/dist/fr-FR.mjs +0 -9
  61. package/dist/fr-FR.module.js +0 -9
  62. package/dist/fr-FR.module.js.map +0 -1
  63. package/dist/he-IL.main.js +0 -7
  64. package/dist/he-IL.main.js.map +0 -1
  65. package/dist/he-IL.mjs +0 -9
  66. package/dist/he-IL.module.js +0 -9
  67. package/dist/he-IL.module.js.map +0 -1
  68. package/dist/hr-HR.main.js +0 -7
  69. package/dist/hr-HR.main.js.map +0 -1
  70. package/dist/hr-HR.mjs +0 -9
  71. package/dist/hr-HR.module.js +0 -9
  72. package/dist/hr-HR.module.js.map +0 -1
  73. package/dist/hu-HU.main.js +0 -7
  74. package/dist/hu-HU.main.js.map +0 -1
  75. package/dist/hu-HU.mjs +0 -9
  76. package/dist/hu-HU.module.js +0 -9
  77. package/dist/hu-HU.module.js.map +0 -1
  78. package/dist/it-IT.main.js +0 -7
  79. package/dist/it-IT.main.js.map +0 -1
  80. package/dist/it-IT.mjs +0 -9
  81. package/dist/it-IT.module.js +0 -9
  82. package/dist/it-IT.module.js.map +0 -1
  83. package/dist/ja-JP.main.js +0 -7
  84. package/dist/ja-JP.main.js.map +0 -1
  85. package/dist/ja-JP.mjs +0 -9
  86. package/dist/ja-JP.module.js +0 -9
  87. package/dist/ja-JP.module.js.map +0 -1
  88. package/dist/ko-KR.main.js +0 -7
  89. package/dist/ko-KR.main.js.map +0 -1
  90. package/dist/ko-KR.mjs +0 -9
  91. package/dist/ko-KR.module.js +0 -9
  92. package/dist/ko-KR.module.js.map +0 -1
  93. package/dist/lt-LT.main.js +0 -7
  94. package/dist/lt-LT.main.js.map +0 -1
  95. package/dist/lt-LT.mjs +0 -9
  96. package/dist/lt-LT.module.js +0 -9
  97. package/dist/lt-LT.module.js.map +0 -1
  98. package/dist/lv-LV.main.js +0 -7
  99. package/dist/lv-LV.main.js.map +0 -1
  100. package/dist/lv-LV.mjs +0 -9
  101. package/dist/lv-LV.module.js +0 -9
  102. package/dist/lv-LV.module.js.map +0 -1
  103. package/dist/main.css.map +0 -1
  104. package/dist/nb-NO.main.js +0 -7
  105. package/dist/nb-NO.main.js.map +0 -1
  106. package/dist/nb-NO.mjs +0 -9
  107. package/dist/nb-NO.module.js +0 -9
  108. package/dist/nb-NO.module.js.map +0 -1
  109. package/dist/nl-NL.main.js +0 -7
  110. package/dist/nl-NL.main.js.map +0 -1
  111. package/dist/nl-NL.mjs +0 -9
  112. package/dist/nl-NL.module.js +0 -9
  113. package/dist/nl-NL.module.js.map +0 -1
  114. package/dist/pl-PL.main.js +0 -7
  115. package/dist/pl-PL.main.js.map +0 -1
  116. package/dist/pl-PL.mjs +0 -9
  117. package/dist/pl-PL.module.js +0 -9
  118. package/dist/pl-PL.module.js.map +0 -1
  119. package/dist/pt-BR.main.js +0 -7
  120. package/dist/pt-BR.main.js.map +0 -1
  121. package/dist/pt-BR.mjs +0 -9
  122. package/dist/pt-BR.module.js +0 -9
  123. package/dist/pt-BR.module.js.map +0 -1
  124. package/dist/pt-PT.main.js +0 -7
  125. package/dist/pt-PT.main.js.map +0 -1
  126. package/dist/pt-PT.mjs +0 -9
  127. package/dist/pt-PT.module.js +0 -9
  128. package/dist/pt-PT.module.js.map +0 -1
  129. package/dist/ro-RO.main.js +0 -7
  130. package/dist/ro-RO.main.js.map +0 -1
  131. package/dist/ro-RO.mjs +0 -9
  132. package/dist/ro-RO.module.js +0 -9
  133. package/dist/ro-RO.module.js.map +0 -1
  134. package/dist/ru-RU.main.js +0 -7
  135. package/dist/ru-RU.main.js.map +0 -1
  136. package/dist/ru-RU.mjs +0 -9
  137. package/dist/ru-RU.module.js +0 -9
  138. package/dist/ru-RU.module.js.map +0 -1
  139. package/dist/sk-SK.main.js +0 -7
  140. package/dist/sk-SK.main.js.map +0 -1
  141. package/dist/sk-SK.mjs +0 -9
  142. package/dist/sk-SK.module.js +0 -9
  143. package/dist/sk-SK.module.js.map +0 -1
  144. package/dist/sl-SI.main.js +0 -7
  145. package/dist/sl-SI.main.js.map +0 -1
  146. package/dist/sl-SI.mjs +0 -9
  147. package/dist/sl-SI.module.js +0 -9
  148. package/dist/sl-SI.module.js.map +0 -1
  149. package/dist/sr-SP.main.js +0 -7
  150. package/dist/sr-SP.main.js.map +0 -1
  151. package/dist/sr-SP.mjs +0 -9
  152. package/dist/sr-SP.module.js +0 -9
  153. package/dist/sr-SP.module.js.map +0 -1
  154. package/dist/sv-SE.main.js +0 -7
  155. package/dist/sv-SE.main.js.map +0 -1
  156. package/dist/sv-SE.mjs +0 -9
  157. package/dist/sv-SE.module.js +0 -9
  158. package/dist/sv-SE.module.js.map +0 -1
  159. package/dist/tr-TR.main.js +0 -7
  160. package/dist/tr-TR.main.js.map +0 -1
  161. package/dist/tr-TR.mjs +0 -9
  162. package/dist/tr-TR.module.js +0 -9
  163. package/dist/tr-TR.module.js.map +0 -1
  164. package/dist/uk-UA.main.js +0 -7
  165. package/dist/uk-UA.main.js.map +0 -1
  166. package/dist/uk-UA.mjs +0 -9
  167. package/dist/uk-UA.module.js +0 -9
  168. package/dist/uk-UA.module.js.map +0 -1
  169. package/dist/zh-CN.main.js +0 -7
  170. package/dist/zh-CN.main.js.map +0 -1
  171. package/dist/zh-CN.mjs +0 -9
  172. package/dist/zh-CN.module.js +0 -9
  173. package/dist/zh-CN.module.js.map +0 -1
  174. package/dist/zh-TW.main.js +0 -7
  175. package/dist/zh-TW.main.js.map +0 -1
  176. package/dist/zh-TW.mjs +0 -9
  177. package/dist/zh-TW.module.js +0 -9
  178. package/dist/zh-TW.module.js.map +0 -1
package/dist/module.js CHANGED
@@ -1,40 +1,4 @@
1
- "use client";
2
-
3
1
  import "./main.css";
4
- import $dfe96401c0c81db3$exports from "./ar-AE.module.js";
5
- import $f504605657ece833$exports from "./bg-BG.module.js";
6
- import $ed0ab9e7c53f9351$exports from "./cs-CZ.module.js";
7
- import $59d9df99e04ee555$exports from "./da-DK.module.js";
8
- import $c5df0169c370d169$exports from "./de-DE.module.js";
9
- import $3c9af509a01a8d08$exports from "./el-GR.module.js";
10
- import $aa36476f91664a08$exports from "./en-US.module.js";
11
- import $d96f2251ced25e45$exports from "./es-ES.module.js";
12
- import $16ec4ffbd4b2ca4b$exports from "./et-EE.module.js";
13
- import $60f372f660e937e4$exports from "./fi-FI.module.js";
14
- import $d87c5f1e899f6af1$exports from "./fr-FR.module.js";
15
- import $6899669fa63c7816$exports from "./he-IL.module.js";
16
- import $3597d722a30a8081$exports from "./hr-HR.module.js";
17
- import $3ef905a2ce0921cb$exports from "./hu-HU.module.js";
18
- import $e59d2e4af9ff1c28$exports from "./it-IT.module.js";
19
- import $422a7013ab2cb36d$exports from "./ja-JP.module.js";
20
- import $a58a7ab9570c5a18$exports from "./ko-KR.module.js";
21
- import $24e660c5a5be82af$exports from "./lt-LT.module.js";
22
- import $a222e05de6d8dce8$exports from "./lv-LV.module.js";
23
- import $524caea23ab94ad7$exports from "./nb-NO.module.js";
24
- import $572079ed86210ca9$exports from "./nl-NL.module.js";
25
- import $6a0777ee77a74b18$exports from "./pl-PL.module.js";
26
- import $ea0401974d81b469$exports from "./pt-BR.module.js";
27
- import $701d0854e4f18979$exports from "./pt-PT.module.js";
28
- import $dd9fccd10d0a4be3$exports from "./ro-RO.module.js";
29
- import $3cd1eab3b0ecc980$exports from "./ru-RU.module.js";
30
- import $d109f3d68ba24ffc$exports from "./sk-SK.module.js";
31
- import $6382c2117e9fd1b6$exports from "./sl-SI.module.js";
32
- import $ba796dd79114e2d4$exports from "./sr-SP.module.js";
33
- import $916521e9800ac46c$exports from "./sv-SE.module.js";
34
- import $acd72b88f580fe64$exports from "./tr-TR.module.js";
35
- import $bd065904f1420f31$exports from "./uk-UA.module.js";
36
- import $0128cc194bc107bb$exports from "./zh-CN.module.js";
37
- import $c57738f6094a3d25$exports from "./zh-TW.module.js";
38
2
  import {useStyleProps as $6WzO6$useStyleProps, classNames as $6WzO6$classNames, SlotProvider as $6WzO6$SlotProvider, useDOMRef as $6WzO6$useDOMRef} from "@react-spectrum/utils";
39
3
  import {Flex as $6WzO6$Flex} from "@react-spectrum/layout";
40
4
  import {useId as $6WzO6$useId, mergeProps as $6WzO6$mergeProps, filterDOMProps as $6WzO6$filterDOMProps} from "@react-aria/utils";
@@ -166,38 +130,242 @@ function $8e50676506611310$var$HelpText(props, ref) {
166
130
 
167
131
 
168
132
  var $42a96ba05489ca64$exports = {};
133
+ var $dfe96401c0c81db3$exports = {};
134
+ $dfe96401c0c81db3$exports = {
135
+ "(optional)": `(\u{627}\u{62E}\u{62A}\u{64A}\u{627}\u{631}\u{64A})`,
136
+ "(required)": `(\u{645}\u{637}\u{644}\u{648}\u{628})`
137
+ };
169
138
 
170
139
 
140
+ var $f504605657ece833$exports = {};
141
+ $f504605657ece833$exports = {
142
+ "(optional)": `(\u{43D}\u{435}\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`,
143
+ "(required)": `(\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`
144
+ };
171
145
 
172
146
 
147
+ var $ed0ab9e7c53f9351$exports = {};
148
+ $ed0ab9e7c53f9351$exports = {
149
+ "(optional)": `(voliteln\u{11B})`,
150
+ "(required)": `(po\u{17E}adov\xe1no)`
151
+ };
173
152
 
174
153
 
154
+ var $59d9df99e04ee555$exports = {};
155
+ $59d9df99e04ee555$exports = {
156
+ "(optional)": `(valgfrit)`,
157
+ "(required)": `(obligatorisk)`
158
+ };
175
159
 
176
160
 
161
+ var $c5df0169c370d169$exports = {};
162
+ $c5df0169c370d169$exports = {
163
+ "(optional)": `(optional)`,
164
+ "(required)": `(erforderlich)`
165
+ };
166
+
177
167
 
168
+ var $3c9af509a01a8d08$exports = {};
169
+ $3c9af509a01a8d08$exports = {
170
+ "(optional)": `(\u{3C0}\u{3C1}\u{3BF}\u{3B1}\u{3B9}\u{3C1}\u{3B5}\u{3C4}\u{3B9}\u{3BA}\u{3CC})`,
171
+ "(required)": `(\u{3B1}\u{3C0}\u{3B1}\u{3B9}\u{3C4}\u{3B5}\u{3AF}\u{3C4}\u{3B1}\u{3B9})`
172
+ };
178
173
 
179
174
 
175
+ var $aa36476f91664a08$exports = {};
176
+ $aa36476f91664a08$exports = {
177
+ "(required)": `(required)`,
178
+ "(optional)": `(optional)`
179
+ };
180
180
 
181
181
 
182
+ var $d96f2251ced25e45$exports = {};
183
+ $d96f2251ced25e45$exports = {
184
+ "(optional)": `(opcional)`,
185
+ "(required)": `(obligatorio)`
186
+ };
182
187
 
183
188
 
189
+ var $16ec4ffbd4b2ca4b$exports = {};
190
+ $16ec4ffbd4b2ca4b$exports = {
191
+ "(optional)": `(valikuline)`,
192
+ "(required)": `(n\xf5utav)`
193
+ };
184
194
 
185
195
 
196
+ var $60f372f660e937e4$exports = {};
197
+ $60f372f660e937e4$exports = {
198
+ "(optional)": `(valinnainen)`,
199
+ "(required)": `(pakollinen)`
200
+ };
186
201
 
187
202
 
203
+ var $d87c5f1e899f6af1$exports = {};
204
+ $d87c5f1e899f6af1$exports = {
205
+ "(optional)": `(facultatif)`,
206
+ "(required)": `(requis)`
207
+ };
188
208
 
189
209
 
210
+ var $6899669fa63c7816$exports = {};
211
+ $6899669fa63c7816$exports = {
212
+ "(optional)": `(\u{5D0}\u{5D5}\u{5E4}\u{5E6}\u{5D9}\u{5D5}\u{5E0}\u{5DC}\u{5D9})`,
213
+ "(required)": `(\u{5E0}\u{5D3}\u{5E8}\u{5E9})`
214
+ };
190
215
 
191
216
 
217
+ var $3597d722a30a8081$exports = {};
218
+ $3597d722a30a8081$exports = {
219
+ "(optional)": `(opcionalno)`,
220
+ "(required)": `(obvezno)`
221
+ };
192
222
 
193
223
 
224
+ var $3ef905a2ce0921cb$exports = {};
225
+ $3ef905a2ce0921cb$exports = {
226
+ "(optional)": `(opcion\xe1lis)`,
227
+ "(required)": `(k\xf6telez\u{151})`
228
+ };
194
229
 
195
230
 
231
+ var $e59d2e4af9ff1c28$exports = {};
232
+ $e59d2e4af9ff1c28$exports = {
233
+ "(optional)": `(facoltativo)`,
234
+ "(required)": `(obbligatorio)`
235
+ };
196
236
 
197
237
 
238
+ var $422a7013ab2cb36d$exports = {};
239
+ $422a7013ab2cb36d$exports = {
240
+ "(optional)": `\u{FF08}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}\u{FF09}`,
241
+ "(required)": `\u{FF08}\u{5FC5}\u{9808}\u{FF09}`
242
+ };
198
243
 
199
244
 
245
+ var $a58a7ab9570c5a18$exports = {};
246
+ $a58a7ab9570c5a18$exports = {
247
+ "(optional)": `(\u{C120}\u{D0DD} \u{C0AC}\u{D56D})`,
248
+ "(required)": `(\u{D544}\u{C218} \u{C0AC}\u{D56D})`
249
+ };
250
+
251
+
252
+ var $24e660c5a5be82af$exports = {};
253
+ $24e660c5a5be82af$exports = {
254
+ "(optional)": `(pasirenkama)`,
255
+ "(required)": `(privaloma)`
256
+ };
257
+
258
+
259
+ var $a222e05de6d8dce8$exports = {};
260
+ $a222e05de6d8dce8$exports = {
261
+ "(optional)": `(neoblig\u{101}ti)`,
262
+ "(required)": `(oblig\u{101}ti)`
263
+ };
264
+
265
+
266
+ var $524caea23ab94ad7$exports = {};
267
+ $524caea23ab94ad7$exports = {
268
+ "(optional)": `(valgfritt)`,
269
+ "(required)": `(obligatorisk)`
270
+ };
271
+
272
+
273
+ var $572079ed86210ca9$exports = {};
274
+ $572079ed86210ca9$exports = {
275
+ "(optional)": `(optioneel)`,
276
+ "(required)": `(vereist)`
277
+ };
278
+
279
+
280
+ var $6a0777ee77a74b18$exports = {};
281
+ $6a0777ee77a74b18$exports = {
282
+ "(optional)": `(opcjonalne)`,
283
+ "(required)": `(wymagane)`
284
+ };
285
+
200
286
 
287
+ var $ea0401974d81b469$exports = {};
288
+ $ea0401974d81b469$exports = {
289
+ "(optional)": `(opcional)`,
290
+ "(required)": `(obrigat\xf3rio)`
291
+ };
292
+
293
+
294
+ var $701d0854e4f18979$exports = {};
295
+ $701d0854e4f18979$exports = {
296
+ "(optional)": `(opcional)`,
297
+ "(required)": `(obrigat\xf3rio)`
298
+ };
299
+
300
+
301
+ var $dd9fccd10d0a4be3$exports = {};
302
+ $dd9fccd10d0a4be3$exports = {
303
+ "(optional)": `(op\u{163}ional)`,
304
+ "(required)": `(obligatoriu)`
305
+ };
306
+
307
+
308
+ var $3cd1eab3b0ecc980$exports = {};
309
+ $3cd1eab3b0ecc980$exports = {
310
+ "(optional)": `(\u{434}\u{43E}\u{43F}\u{43E}\u{43B}\u{43D}\u{438}\u{442}\u{435}\u{43B}\u{44C}\u{43D}\u{43E})`,
311
+ "(required)": `(\u{43E}\u{431}\u{44F}\u{437}\u{430}\u{442}\u{435}\u{43B}\u{44C}\u{43D}\u{43E})`
312
+ };
313
+
314
+
315
+ var $d109f3d68ba24ffc$exports = {};
316
+ $d109f3d68ba24ffc$exports = {
317
+ "(optional)": `(nepovinn\xe9)`,
318
+ "(required)": `(povinn\xe9)`
319
+ };
320
+
321
+
322
+ var $6382c2117e9fd1b6$exports = {};
323
+ $6382c2117e9fd1b6$exports = {
324
+ "(optional)": `(opcijsko)`,
325
+ "(required)": `(obvezno)`
326
+ };
327
+
328
+
329
+ var $ba796dd79114e2d4$exports = {};
330
+ $ba796dd79114e2d4$exports = {
331
+ "(optional)": `(opciono)`,
332
+ "(required)": `(obavezno)`
333
+ };
334
+
335
+
336
+ var $916521e9800ac46c$exports = {};
337
+ $916521e9800ac46c$exports = {
338
+ "(optional)": `(valfritt)`,
339
+ "(required)": `(kr\xe4vs)`
340
+ };
341
+
342
+
343
+ var $acd72b88f580fe64$exports = {};
344
+ $acd72b88f580fe64$exports = {
345
+ "(optional)": `(iste\u{11F}e ba\u{11F}l\u{131})`,
346
+ "(required)": `(gerekli)`
347
+ };
348
+
349
+
350
+ var $bd065904f1420f31$exports = {};
351
+ $bd065904f1420f31$exports = {
352
+ "(optional)": `(\u{43D}\u{435}\u{43E}\u{431}\u{43E}\u{432}\u{2019}\u{44F}\u{437}\u{43A}\u{43E}\u{432}\u{43E})`,
353
+ "(required)": `(\u{43E}\u{431}\u{43E}\u{432}\u{2019}\u{44F}\u{437}\u{43A}\u{43E}\u{432}\u{43E})`
354
+ };
355
+
356
+
357
+ var $0128cc194bc107bb$exports = {};
358
+ $0128cc194bc107bb$exports = {
359
+ "(optional)": `\u{FF08}\u{53EF}\u{9009}\u{FF09}`,
360
+ "(required)": `\u{FF08}\u{5FC5}\u{586B}\u{FF09}`
361
+ };
362
+
363
+
364
+ var $c57738f6094a3d25$exports = {};
365
+ $c57738f6094a3d25$exports = {
366
+ "(optional)": `(\u{9078}\u{586B})`,
367
+ "(required)": `(\u{5FC5}\u{586B})`
368
+ };
201
369
 
202
370
 
203
371
  $42a96ba05489ca64$exports = {
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;ACVD;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;ACVD,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAA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AS,EAAE,CAAA,GAAA,gEAAU,GAAG;WAChE,UACA,eAAe;QAKtB,qBACE,kEACG,UACA,eAAe;IAGtB;IAEA,IAAI,uCACF,kEACG,uBACC,gCAAC,CAAA,GAAA,yCAAI;QACF,GAAG,UAAU;QACd,eAAe;QACf,YAAY;QACZ,YAAY;QACZ,oBAAoB;QACpB,8CAA8C;QAC9C,aAAa;OACZ,QAGJ,SAAS,gCACR,gCAAC,CAAA,GAAA,mBAAW;QACV,OAAO;YACL,cAAc;gBACZ,kBAAkB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAU,GAAG;gBAC1C,IAAI;gBACJ,mBAAmB,CAAA,uBAAA,iCAAA,WAAY,EAAE,IAAG,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,iBAAiB,CAAC,GAAG;YAC/E;QACF;OACC;IAMP,2FAA2F;IAC3F,+CAA+C;IACjD,IAAI,YAAY,kBAAkB,UAAU,SAAS,gBACnD,uCACE,gCAAC;QAAI,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAU,GAAG;qBACtC,gCAAC;QAAI,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAU,GAAG;OACrC;IAMT,qBACE,gCAAC;QACE,GAAG,UAAU;QACb,GAAG,YAAY;QAChB,KAAK;QACL,WAAW;OACV,wBACA;AAGP;AAEA,IAAI,0DAAS,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;","sources":["packages/@react-spectrum/label/src/index.ts","packages/@react-spectrum/label/src/Field.tsx","packages/@react-spectrum/label/src/HelpText.tsx","packages/@adobe/spectrum-css-temp/components/helptext/vars.css","packages/@react-spectrum/label/src/Label.tsx","packages/@react-spectrum/label/src/*.js","packages/@adobe/spectrum-css-temp/components/fieldlabel/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/// <reference types=\"css-module-types\" />\n\nexport {Field} from './Field';\nexport {Label} from './Label';\nexport {HelpText} from './HelpText';\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 {classNames, SlotProvider, useStyleProps} from '@react-spectrum/utils';\nimport {Flex} from '@react-spectrum/layout';\nimport {HelpText} from './HelpText';\nimport {Label} from './Label';\nimport {LabelPosition} from '@react-types/shared';\nimport labelStyles from '@adobe/spectrum-css-temp/components/fieldlabel/vars.css';\nimport {mergeProps, useId} from '@react-aria/utils';\nimport React, {ReactNode, Ref, RefObject} from 'react';\nimport {SpectrumFieldProps} from '@react-types/label';\nimport {useFormProps} from '@react-spectrum/form';\n\nfunction Field(props: SpectrumFieldProps, ref: Ref<HTMLElement>) {\n let formProps = useFormProps(props);\n let isInForm = formProps !== props;\n props = formProps;\n let {\n label,\n labelPosition = 'top' as LabelPosition,\n labelAlign,\n isRequired,\n necessityIndicator,\n includeNecessityIndicatorInAccessibilityName,\n validationState,\n isInvalid,\n description,\n errorMessage = e => e.validationErrors.join(' '),\n validationErrors,\n validationDetails,\n isDisabled,\n showErrorIcon,\n contextualHelp,\n children,\n labelProps = {},\n // Not every component that uses <Field> supports help text.\n descriptionProps = {},\n errorMessageProps = {},\n elementType,\n wrapperClassName,\n wrapperProps = {},\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let errorMessageString: ReactNode = null;\n if (typeof errorMessage === 'function') {\n errorMessageString = isInvalid != null && validationErrors != null && validationDetails != null\n ? errorMessage({\n isInvalid,\n validationErrors,\n validationDetails\n })\n : null;\n } else {\n errorMessageString = errorMessage;\n }\n let hasHelpText = !!description || errorMessageString && (isInvalid || validationState === 'invalid');\n let contextualHelpId = useId();\n\n let fallbackLabelPropsId = useId();\n if (label && contextualHelp && !labelProps.id) {\n labelProps.id = fallbackLabelPropsId;\n }\n\n let labelWrapperClass = classNames(\n labelStyles,\n 'spectrum-Field',\n {\n 'spectrum-Field--positionTop': labelPosition === 'top',\n 'spectrum-Field--positionSide': labelPosition === 'side',\n 'spectrum-Field--alignEnd': labelAlign === 'end',\n 'spectrum-Field--hasContextualHelp': !!props.contextualHelp\n },\n styleProps.className,\n wrapperClassName\n );\n\n children = React.cloneElement(children, mergeProps(children.props, {\n className: classNames(\n labelStyles,\n 'spectrum-Field-field'\n )\n }));\n\n let renderHelpText = () => (\n <HelpText\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n description={description}\n errorMessage={errorMessageString}\n validationState={validationState}\n isInvalid={isInvalid}\n isDisabled={isDisabled}\n showErrorIcon={showErrorIcon}\n gridArea={labelStyles.helpText} />\n );\n\n let renderChildren = () => {\n if (labelPosition === 'side') {\n return (\n <Flex direction=\"column\" UNSAFE_className={classNames(labelStyles, 'spectrum-Field-wrapper')}>\n {children}\n {hasHelpText && renderHelpText()}\n </Flex>\n );\n }\n\n return (\n <>\n {children}\n {hasHelpText && renderHelpText()}\n </>\n );\n };\n\n let labelAndContextualHelp = (\n <>\n {label && (\n <Label\n {...labelProps}\n labelPosition={labelPosition}\n labelAlign={labelAlign}\n isRequired={isRequired}\n necessityIndicator={necessityIndicator}\n includeNecessityIndicatorInAccessibilityName={includeNecessityIndicatorInAccessibilityName}\n elementType={elementType}>\n {label}\n </Label>\n )}\n {label && contextualHelp &&\n <SlotProvider\n slots={{\n actionButton: {\n UNSAFE_className: classNames(labelStyles, 'spectrum-Field-contextualHelp'),\n id: contextualHelpId,\n 'aria-labelledby': labelProps?.id ? `${labelProps.id} ${contextualHelpId}` : undefined\n }\n }}>\n {contextualHelp}\n </SlotProvider>\n }\n </>\n );\n\n // Need to add an extra wrapper for the label and contextual help if labelPosition is side,\n // so that the table layout works inside forms.\n if (isInForm && labelPosition === 'side' && label && contextualHelp) {\n labelAndContextualHelp = (\n <div className={classNames(labelStyles, 'spectrum-Field-labelCell')}>\n <div className={classNames(labelStyles, 'spectrum-Field-labelWrapper')}>\n {labelAndContextualHelp}\n </div>\n </div>\n );\n }\n\n return (\n <div\n {...styleProps}\n {...wrapperProps}\n ref={ref as RefObject<HTMLDivElement>}\n className={labelWrapperClass}>\n {labelAndContextualHelp}\n {renderChildren()}\n </div>\n );\n}\n\nlet _Field = React.forwardRef(Field);\nexport {_Field as Field};\n","/*\n * Copyright 2021 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 AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef, SpectrumFieldValidation, SpectrumHelpTextProps, StyleProps, Validation} from '@react-types/shared';\nimport React, {HTMLAttributes, ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/helptext/vars.css';\n\ninterface HelpTextProps extends Omit<SpectrumHelpTextProps, 'errorMessage'>, Omit<Validation<any>, 'validationState'>, SpectrumFieldValidation<any>, StyleProps {\n /** Props for the help text description element. */\n descriptionProps?: HTMLAttributes<HTMLElement>,\n /** Props for the help text error message element. */\n errorMessageProps?: HTMLAttributes<HTMLElement>,\n /** An error message for the field. */\n errorMessage?: ReactNode\n}\n\nfunction HelpText(props: HelpTextProps, ref: DOMRef<HTMLDivElement>) {\n let {\n description,\n errorMessage,\n validationState,\n isInvalid,\n isDisabled,\n showErrorIcon,\n descriptionProps,\n errorMessageProps\n } = props;\n let domRef = useDOMRef(ref);\n let isErrorMessage = errorMessage && (isInvalid || validationState === 'invalid');\n let {styleProps} = useStyleProps(props);\n\n return (\n <div\n {...styleProps}\n className={classNames(\n styles,\n 'spectrum-HelpText',\n `spectrum-HelpText--${isErrorMessage ? 'negative' : 'neutral'}`,\n {'is-disabled': isDisabled},\n styleProps.className\n )}\n ref={domRef}>\n {isErrorMessage ? (\n <>\n {showErrorIcon && <AlertMedium UNSAFE_className={classNames(styles, 'spectrum-HelpText-validationIcon')} />}\n <div {...errorMessageProps} className={classNames(styles, 'spectrum-HelpText-text')}>\n {errorMessage}\n </div>\n </>\n ) : (\n <div {...descriptionProps} className={classNames(styles, 'spectrum-HelpText-text')}>\n {description}\n </div>\n )}\n </div>\n );\n}\n\n/**\n * Help text provides either an informative description or an error message that gives more context about what a user needs to input. It's commonly used in forms.\n */\nconst _HelpText = React.forwardRef(HelpText);\nexport {_HelpText as HelpText};\n","/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","/*\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 Asterisk from '@spectrum-icons/ui/Asterisk';\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SpectrumLabelProps} from '@react-types/label';\nimport styles from '@adobe/spectrum-css-temp/components/fieldlabel/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction Label(props: SpectrumLabelProps, ref: DOMRef<HTMLLabelElement>) {\n props = useProviderProps(props);\n let {\n children,\n labelPosition = 'top',\n labelAlign = labelPosition === 'side' ? 'start' : null,\n isRequired,\n necessityIndicator = isRequired != null ? 'icon' : null,\n includeNecessityIndicatorInAccessibilityName = false,\n htmlFor,\n for: labelFor,\n elementType: ElementType = 'label',\n onClick,\n ...otherProps\n } = props;\n\n let domRef = useDOMRef(ref);\n let {styleProps} = useStyleProps(otherProps);\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/label');\n let necessityLabel = isRequired ? stringFormatter.format('(required)') : stringFormatter.format('(optional)');\n let icon = (\n <Asterisk\n UNSAFE_className={classNames(styles, 'spectrum-FieldLabel-requiredIcon')}\n aria-label={includeNecessityIndicatorInAccessibilityName ? stringFormatter.format('(required)') : undefined} />\n );\n\n let labelClassNames = classNames(\n styles,\n 'spectrum-FieldLabel',\n {\n 'spectrum-FieldLabel--positionSide': labelPosition === 'side',\n 'spectrum-FieldLabel--alignEnd': labelAlign === 'end'\n },\n styleProps.className\n );\n\n return (\n <ElementType\n {...filterDOMProps(otherProps)}\n {...styleProps}\n onClick={onClick}\n ref={domRef}\n className={labelClassNames}\n htmlFor={ElementType === 'label' ? labelFor || htmlFor : undefined}>\n {children}\n {(necessityIndicator === 'label' || (necessityIndicator === 'icon' && isRequired)) && ' \\u200b'}\n {/* necessityLabel is hidden to screen readers if the field is required because\n * aria-required is set on the field in that case. That will already be announced,\n * so no need to duplicate it here. If optional, we do want it to be announced here. */}\n {necessityIndicator === 'label' && <span aria-hidden={!includeNecessityIndicatorInAccessibilityName ? isRequired : undefined}>{necessityLabel}</span>}\n {necessityIndicator === 'icon' && isRequired && icon}\n </ElementType>\n );\n}\n\nlet _Label = React.forwardRef(Label);\nexport {_Label as Label};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\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@import './skin.css';\n"],"names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2F;IAC3F,+CAA+C;IACjD,IAAI,YAAY,kBAAkB,UAAU,SAAS,gBACnD,uCACE,gCAAC;QAAI,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAU,GAAG;qBACtC,gCAAC;QAAI,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAU,GAAG;OACrC;IAMT,qBACE,gCAAC;QACE,GAAG,UAAU;QACb,GAAG,YAAY;QAChB,KAAK;QACL,WAAW;OACV,wBACA;AAGP;AAEA,IAAI,0DAAS,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;","sources":["packages/@react-spectrum/label/src/index.ts","packages/@react-spectrum/label/src/Field.tsx","packages/@react-spectrum/label/src/HelpText.tsx","packages/@adobe/spectrum-css-temp/components/helptext/vars.css","packages/@react-spectrum/label/src/Label.tsx","packages/@react-spectrum/label/src/*.js","packages/@react-spectrum/label/intl/ar-AE.json","packages/@react-spectrum/label/intl/bg-BG.json","packages/@react-spectrum/label/intl/cs-CZ.json","packages/@react-spectrum/label/intl/da-DK.json","packages/@react-spectrum/label/intl/de-DE.json","packages/@react-spectrum/label/intl/el-GR.json","packages/@react-spectrum/label/intl/en-US.json","packages/@react-spectrum/label/intl/es-ES.json","packages/@react-spectrum/label/intl/et-EE.json","packages/@react-spectrum/label/intl/fi-FI.json","packages/@react-spectrum/label/intl/fr-FR.json","packages/@react-spectrum/label/intl/he-IL.json","packages/@react-spectrum/label/intl/hr-HR.json","packages/@react-spectrum/label/intl/hu-HU.json","packages/@react-spectrum/label/intl/it-IT.json","packages/@react-spectrum/label/intl/ja-JP.json","packages/@react-spectrum/label/intl/ko-KR.json","packages/@react-spectrum/label/intl/lt-LT.json","packages/@react-spectrum/label/intl/lv-LV.json","packages/@react-spectrum/label/intl/nb-NO.json","packages/@react-spectrum/label/intl/nl-NL.json","packages/@react-spectrum/label/intl/pl-PL.json","packages/@react-spectrum/label/intl/pt-BR.json","packages/@react-spectrum/label/intl/pt-PT.json","packages/@react-spectrum/label/intl/ro-RO.json","packages/@react-spectrum/label/intl/ru-RU.json","packages/@react-spectrum/label/intl/sk-SK.json","packages/@react-spectrum/label/intl/sl-SI.json","packages/@react-spectrum/label/intl/sr-SP.json","packages/@react-spectrum/label/intl/sv-SE.json","packages/@react-spectrum/label/intl/tr-TR.json","packages/@react-spectrum/label/intl/uk-UA.json","packages/@react-spectrum/label/intl/zh-CN.json","packages/@react-spectrum/label/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/fieldlabel/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/// <reference types=\"css-module-types\" />\n\nexport {Field} from './Field';\nexport {Label} from './Label';\nexport {HelpText} from './HelpText';\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 {classNames, SlotProvider, useStyleProps} from '@react-spectrum/utils';\nimport {Flex} from '@react-spectrum/layout';\nimport {HelpText} from './HelpText';\nimport {Label} from './Label';\nimport {LabelPosition} from '@react-types/shared';\nimport labelStyles from '@adobe/spectrum-css-temp/components/fieldlabel/vars.css';\nimport {mergeProps, useId} from '@react-aria/utils';\nimport React, {ReactNode, Ref, RefObject} from 'react';\nimport {SpectrumFieldProps} from '@react-types/label';\nimport {useFormProps} from '@react-spectrum/form';\n\nfunction Field(props: SpectrumFieldProps, ref: Ref<HTMLElement>) {\n let formProps = useFormProps(props);\n let isInForm = formProps !== props;\n props = formProps;\n let {\n label,\n labelPosition = 'top' as LabelPosition,\n labelAlign,\n isRequired,\n necessityIndicator,\n includeNecessityIndicatorInAccessibilityName,\n validationState,\n isInvalid,\n description,\n errorMessage = e => e.validationErrors.join(' '),\n validationErrors,\n validationDetails,\n isDisabled,\n showErrorIcon,\n contextualHelp,\n children,\n labelProps = {},\n // Not every component that uses <Field> supports help text.\n descriptionProps = {},\n errorMessageProps = {},\n elementType,\n wrapperClassName,\n wrapperProps = {},\n ...otherProps\n } = props;\n let {styleProps} = useStyleProps(otherProps);\n let errorMessageString: ReactNode = null;\n if (typeof errorMessage === 'function') {\n errorMessageString = isInvalid != null && validationErrors != null && validationDetails != null\n ? errorMessage({\n isInvalid,\n validationErrors,\n validationDetails\n })\n : null;\n } else {\n errorMessageString = errorMessage;\n }\n let hasHelpText = !!description || errorMessageString && (isInvalid || validationState === 'invalid');\n let contextualHelpId = useId();\n\n let fallbackLabelPropsId = useId();\n if (label && contextualHelp && !labelProps.id) {\n labelProps.id = fallbackLabelPropsId;\n }\n\n let labelWrapperClass = classNames(\n labelStyles,\n 'spectrum-Field',\n {\n 'spectrum-Field--positionTop': labelPosition === 'top',\n 'spectrum-Field--positionSide': labelPosition === 'side',\n 'spectrum-Field--alignEnd': labelAlign === 'end',\n 'spectrum-Field--hasContextualHelp': !!props.contextualHelp\n },\n styleProps.className,\n wrapperClassName\n );\n\n children = React.cloneElement(children, mergeProps(children.props, {\n className: classNames(\n labelStyles,\n 'spectrum-Field-field'\n )\n }));\n\n let renderHelpText = () => (\n <HelpText\n descriptionProps={descriptionProps}\n errorMessageProps={errorMessageProps}\n description={description}\n errorMessage={errorMessageString}\n validationState={validationState}\n isInvalid={isInvalid}\n isDisabled={isDisabled}\n showErrorIcon={showErrorIcon}\n gridArea={labelStyles.helpText} />\n );\n\n let renderChildren = () => {\n if (labelPosition === 'side') {\n return (\n <Flex direction=\"column\" UNSAFE_className={classNames(labelStyles, 'spectrum-Field-wrapper')}>\n {children}\n {hasHelpText && renderHelpText()}\n </Flex>\n );\n }\n\n return (\n <>\n {children}\n {hasHelpText && renderHelpText()}\n </>\n );\n };\n\n let labelAndContextualHelp = (\n <>\n {label && (\n <Label\n {...labelProps}\n labelPosition={labelPosition}\n labelAlign={labelAlign}\n isRequired={isRequired}\n necessityIndicator={necessityIndicator}\n includeNecessityIndicatorInAccessibilityName={includeNecessityIndicatorInAccessibilityName}\n elementType={elementType}>\n {label}\n </Label>\n )}\n {label && contextualHelp &&\n <SlotProvider\n slots={{\n actionButton: {\n UNSAFE_className: classNames(labelStyles, 'spectrum-Field-contextualHelp'),\n id: contextualHelpId,\n 'aria-labelledby': labelProps?.id ? `${labelProps.id} ${contextualHelpId}` : undefined\n }\n }}>\n {contextualHelp}\n </SlotProvider>\n }\n </>\n );\n\n // Need to add an extra wrapper for the label and contextual help if labelPosition is side,\n // so that the table layout works inside forms.\n if (isInForm && labelPosition === 'side' && label && contextualHelp) {\n labelAndContextualHelp = (\n <div className={classNames(labelStyles, 'spectrum-Field-labelCell')}>\n <div className={classNames(labelStyles, 'spectrum-Field-labelWrapper')}>\n {labelAndContextualHelp}\n </div>\n </div>\n );\n }\n\n return (\n <div\n {...styleProps}\n {...wrapperProps}\n ref={ref as RefObject<HTMLDivElement>}\n className={labelWrapperClass}>\n {labelAndContextualHelp}\n {renderChildren()}\n </div>\n );\n}\n\nlet _Field = React.forwardRef(Field);\nexport {_Field as Field};\n","/*\n * Copyright 2021 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 AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef, SpectrumFieldValidation, SpectrumHelpTextProps, StyleProps, Validation} from '@react-types/shared';\nimport React, {HTMLAttributes, ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/helptext/vars.css';\n\ninterface HelpTextProps extends Omit<SpectrumHelpTextProps, 'errorMessage'>, Omit<Validation<any>, 'validationState'>, SpectrumFieldValidation<any>, StyleProps {\n /** Props for the help text description element. */\n descriptionProps?: HTMLAttributes<HTMLElement>,\n /** Props for the help text error message element. */\n errorMessageProps?: HTMLAttributes<HTMLElement>,\n /** An error message for the field. */\n errorMessage?: ReactNode\n}\n\nfunction HelpText(props: HelpTextProps, ref: DOMRef<HTMLDivElement>) {\n let {\n description,\n errorMessage,\n validationState,\n isInvalid,\n isDisabled,\n showErrorIcon,\n descriptionProps,\n errorMessageProps\n } = props;\n let domRef = useDOMRef(ref);\n let isErrorMessage = errorMessage && (isInvalid || validationState === 'invalid');\n let {styleProps} = useStyleProps(props);\n\n return (\n <div\n {...styleProps}\n className={classNames(\n styles,\n 'spectrum-HelpText',\n `spectrum-HelpText--${isErrorMessage ? 'negative' : 'neutral'}`,\n {'is-disabled': isDisabled},\n styleProps.className\n )}\n ref={domRef}>\n {isErrorMessage ? (\n <>\n {showErrorIcon && <AlertMedium UNSAFE_className={classNames(styles, 'spectrum-HelpText-validationIcon')} />}\n <div {...errorMessageProps} className={classNames(styles, 'spectrum-HelpText-text')}>\n {errorMessage}\n </div>\n </>\n ) : (\n <div {...descriptionProps} className={classNames(styles, 'spectrum-HelpText-text')}>\n {description}\n </div>\n )}\n </div>\n );\n}\n\n/**\n * Help text provides either an informative description or an error message that gives more context about what a user needs to input. It's commonly used in forms.\n */\nconst _HelpText = React.forwardRef(HelpText);\nexport {_HelpText as HelpText};\n","/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n","/*\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 Asterisk from '@spectrum-icons/ui/Asterisk';\nimport {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SpectrumLabelProps} from '@react-types/label';\nimport styles from '@adobe/spectrum-css-temp/components/fieldlabel/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nfunction Label(props: SpectrumLabelProps, ref: DOMRef<HTMLLabelElement>) {\n props = useProviderProps(props);\n let {\n children,\n labelPosition = 'top',\n labelAlign = labelPosition === 'side' ? 'start' : null,\n isRequired,\n necessityIndicator = isRequired != null ? 'icon' : null,\n includeNecessityIndicatorInAccessibilityName = false,\n htmlFor,\n for: labelFor,\n elementType: ElementType = 'label',\n onClick,\n ...otherProps\n } = props;\n\n let domRef = useDOMRef(ref);\n let {styleProps} = useStyleProps(otherProps);\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/label');\n let necessityLabel = isRequired ? stringFormatter.format('(required)') : stringFormatter.format('(optional)');\n let icon = (\n <Asterisk\n UNSAFE_className={classNames(styles, 'spectrum-FieldLabel-requiredIcon')}\n aria-label={includeNecessityIndicatorInAccessibilityName ? stringFormatter.format('(required)') : undefined} />\n );\n\n let labelClassNames = classNames(\n styles,\n 'spectrum-FieldLabel',\n {\n 'spectrum-FieldLabel--positionSide': labelPosition === 'side',\n 'spectrum-FieldLabel--alignEnd': labelAlign === 'end'\n },\n styleProps.className\n );\n\n return (\n <ElementType\n {...filterDOMProps(otherProps)}\n {...styleProps}\n onClick={onClick}\n ref={domRef}\n className={labelClassNames}\n htmlFor={ElementType === 'label' ? labelFor || htmlFor : undefined}>\n {children}\n {(necessityIndicator === 'label' || (necessityIndicator === 'icon' && isRequired)) && ' \\u200b'}\n {/* necessityLabel is hidden to screen readers if the field is required because\n * aria-required is set on the field in that case. That will already be announced,\n * so no need to duplicate it here. If optional, we do want it to be announced here. */}\n {necessityIndicator === 'label' && <span aria-hidden={!includeNecessityIndicatorInAccessibilityName ? isRequired : undefined}>{necessityLabel}</span>}\n {necessityIndicator === 'icon' && isRequired && icon}\n </ElementType>\n );\n}\n\nlet _Label = React.forwardRef(Label);\nexport {_Label as Label};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"(optional)\": \"(اختياري)\",\n \"(required)\": \"(مطلوب)\"\n}\n","{\n \"(optional)\": \"(незадължително)\",\n \"(required)\": \"(задължително)\"\n}\n","{\n \"(optional)\": \"(volitelně)\",\n \"(required)\": \"(požadováno)\"\n}\n","{\n \"(optional)\": \"(valgfrit)\",\n \"(required)\": \"(obligatorisk)\"\n}\n","{\n \"(optional)\": \"(optional)\",\n \"(required)\": \"(erforderlich)\"\n}\n","{\n \"(optional)\": \"(προαιρετικό)\",\n \"(required)\": \"(απαιτείται)\"\n}\n","{\n \"(required)\": \"(required)\",\n \"(optional)\": \"(optional)\"\n}\n","{\n \"(optional)\": \"(opcional)\",\n \"(required)\": \"(obligatorio)\"\n}\n","{\n \"(optional)\": \"(valikuline)\",\n \"(required)\": \"(nõutav)\"\n}\n","{\n \"(optional)\": \"(valinnainen)\",\n \"(required)\": \"(pakollinen)\"\n}\n","{\n \"(optional)\": \"(facultatif)\",\n \"(required)\": \"(requis)\"\n}\n","{\n \"(optional)\": \"(אופציונלי)\",\n \"(required)\": \"(נדרש)\"\n}\n","{\n \"(optional)\": \"(opcionalno)\",\n \"(required)\": \"(obvezno)\"\n}\n","{\n \"(optional)\": \"(opcionális)\",\n \"(required)\": \"(kötelező)\"\n}\n","{\n \"(optional)\": \"(facoltativo)\",\n \"(required)\": \"(obbligatorio)\"\n}\n","{\n \"(optional)\": \"(オプション)\",\n \"(required)\": \"(必須)\"\n}\n","{\n \"(optional)\": \"(선택 사항)\",\n \"(required)\": \"(필수 사항)\"\n}\n","{\n \"(optional)\": \"(pasirenkama)\",\n \"(required)\": \"(privaloma)\"\n}\n","{\n \"(optional)\": \"(neobligāti)\",\n \"(required)\": \"(obligāti)\"\n}\n","{\n \"(optional)\": \"(valgfritt)\",\n \"(required)\": \"(obligatorisk)\"\n}\n","{\n \"(optional)\": \"(optioneel)\",\n \"(required)\": \"(vereist)\"\n}\n","{\n \"(optional)\": \"(opcjonalne)\",\n \"(required)\": \"(wymagane)\"\n}\n","{\n \"(optional)\": \"(opcional)\",\n \"(required)\": \"(obrigatório)\"\n}\n","{\n \"(optional)\": \"(opcional)\",\n \"(required)\": \"(obrigatório)\"\n}\n","{\n \"(optional)\": \"(opţional)\",\n \"(required)\": \"(obligatoriu)\"\n}\n","{\n \"(optional)\": \"(дополнительно)\",\n \"(required)\": \"(обязательно)\"\n}\n","{\n \"(optional)\": \"(nepovinné)\",\n \"(required)\": \"(povinné)\"\n}\n","{\n \"(optional)\": \"(opcijsko)\",\n \"(required)\": \"(obvezno)\"\n}\n","{\n \"(optional)\": \"(opciono)\",\n \"(required)\": \"(obavezno)\"\n}\n","{\n \"(optional)\": \"(valfritt)\",\n \"(required)\": \"(krävs)\"\n}\n","{\n \"(optional)\": \"(isteğe bağlı)\",\n \"(required)\": \"(gerekli)\"\n}\n","{\n \"(optional)\": \"(необов’язково)\",\n \"(required)\": \"(обов’язково)\"\n}\n","{\n \"(optional)\": \"(可选)\",\n \"(required)\": \"(必填)\"\n}\n","{\n \"(optional)\": \"(選填)\",\n \"(required)\": \"(必填)\"\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@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/label",
3
- "version": "3.16.3-nightly.4440+cdb2fe212",
3
+ "version": "3.16.3-nightly.4451+c11afb257",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,18 +36,18 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/i18n": "3.0.0-nightly.2728+cdb2fe212",
40
- "@react-aria/utils": "3.0.0-nightly.2728+cdb2fe212",
41
- "@react-spectrum/form": "3.0.0-nightly.2728+cdb2fe212",
42
- "@react-spectrum/layout": "3.6.2-nightly.4440+cdb2fe212",
43
- "@react-spectrum/utils": "3.0.0-nightly.2728+cdb2fe212",
44
- "@react-types/label": "3.0.0-nightly.2728+cdb2fe212",
45
- "@react-types/shared": "3.0.0-nightly.2728+cdb2fe212",
46
- "@spectrum-icons/ui": "3.0.0-nightly.2728+cdb2fe212",
39
+ "@react-aria/i18n": "3.0.0-nightly.2739+c11afb257",
40
+ "@react-aria/utils": "3.0.0-nightly.2739+c11afb257",
41
+ "@react-spectrum/form": "3.0.0-nightly.2739+c11afb257",
42
+ "@react-spectrum/layout": "3.6.2-nightly.4451+c11afb257",
43
+ "@react-spectrum/utils": "3.0.0-nightly.2739+c11afb257",
44
+ "@react-types/label": "3.0.0-nightly.2739+c11afb257",
45
+ "@react-types/shared": "3.0.0-nightly.2739+c11afb257",
46
+ "@spectrum-icons/ui": "3.0.0-nightly.2739+c11afb257",
47
47
  "@swc/helpers": "^0.5.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2728+cdb2fe212"
50
+ "@adobe/spectrum-css-temp": "3.0.0-nightly.2739+c11afb257"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "@react-spectrum/provider": "^3.0.0",
@@ -56,5 +56,5 @@
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
- "gitHead": "cdb2fe21213d9e8b03d782d82bda07742ab3afbd"
59
+ "gitHead": "c11afb257a8bc409ed23272a167372005adf4bcc"
60
60
  }
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "(optional)": `(\u{627}\u{62E}\u{62A}\u{64A}\u{627}\u{631}\u{64A})`,
3
- "(required)": `(\u{645}\u{637}\u{644}\u{648}\u{628})`
4
- };
5
-
6
-
7
- //# sourceMappingURL=ar-AE.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,mDAAS,CAAC;IAC3C,cAAc,CAAC,qCAAO,CAAC;AACzB","sources":["packages/@react-spectrum/label/intl/ar-AE.json"],"sourcesContent":["{\n \"(optional)\": \"(اختياري)\",\n \"(required)\": \"(مطلوب)\"\n}\n"],"names":[],"version":3,"file":"ar-AE.main.js.map"}
package/dist/ar-AE.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $dfe96401c0c81db3$exports = {};
2
- $dfe96401c0c81db3$exports = {
3
- "(optional)": `(\u{627}\u{62E}\u{62A}\u{64A}\u{627}\u{631}\u{64A})`,
4
- "(required)": `(\u{645}\u{637}\u{644}\u{648}\u{628})`
5
- };
6
-
7
-
8
- export {$dfe96401c0c81db3$exports as default};
9
- //# sourceMappingURL=ar-AE.module.js.map
@@ -1,9 +0,0 @@
1
- var $dfe96401c0c81db3$exports = {};
2
- $dfe96401c0c81db3$exports = {
3
- "(optional)": `(\u{627}\u{62E}\u{62A}\u{64A}\u{627}\u{631}\u{64A})`,
4
- "(required)": `(\u{645}\u{637}\u{644}\u{648}\u{628})`
5
- };
6
-
7
-
8
- export {$dfe96401c0c81db3$exports as default};
9
- //# sourceMappingURL=ar-AE.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,mDAAS,CAAC;IAC3C,cAAc,CAAC,qCAAO,CAAC;AACzB","sources":["packages/@react-spectrum/label/intl/ar-AE.json"],"sourcesContent":["{\n \"(optional)\": \"(اختياري)\",\n \"(required)\": \"(مطلوب)\"\n}\n"],"names":[],"version":3,"file":"ar-AE.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "(optional)": `(\u{43D}\u{435}\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`,
3
- "(required)": `(\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`
4
- };
5
-
6
-
7
- //# sourceMappingURL=bg-BG.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,oGAAgB,CAAC;IAClD,cAAc,CAAC,sFAAc,CAAC;AAChC","sources":["packages/@react-spectrum/label/intl/bg-BG.json"],"sourcesContent":["{\n \"(optional)\": \"(незадължително)\",\n \"(required)\": \"(задължително)\"\n}\n"],"names":[],"version":3,"file":"bg-BG.main.js.map"}
package/dist/bg-BG.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $f504605657ece833$exports = {};
2
- $f504605657ece833$exports = {
3
- "(optional)": `(\u{43D}\u{435}\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`,
4
- "(required)": `(\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`
5
- };
6
-
7
-
8
- export {$f504605657ece833$exports as default};
9
- //# sourceMappingURL=bg-BG.module.js.map
@@ -1,9 +0,0 @@
1
- var $f504605657ece833$exports = {};
2
- $f504605657ece833$exports = {
3
- "(optional)": `(\u{43D}\u{435}\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`,
4
- "(required)": `(\u{437}\u{430}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E})`
5
- };
6
-
7
-
8
- export {$f504605657ece833$exports as default};
9
- //# sourceMappingURL=bg-BG.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,oGAAgB,CAAC;IAClD,cAAc,CAAC,sFAAc,CAAC;AAChC","sources":["packages/@react-spectrum/label/intl/bg-BG.json"],"sourcesContent":["{\n \"(optional)\": \"(незадължително)\",\n \"(required)\": \"(задължително)\"\n}\n"],"names":[],"version":3,"file":"bg-BG.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "(optional)": `(voliteln\u{11B})`,
3
- "(required)": `(po\u{17E}adov\xe1no)`
4
- };
5
-
6
-
7
- //# sourceMappingURL=cs-CZ.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,iBAAW,CAAC;IAC7C,cAAc,CAAC,qBAAY,CAAC;AAC9B","sources":["packages/@react-spectrum/label/intl/cs-CZ.json"],"sourcesContent":["{\n \"(optional)\": \"(volitelně)\",\n \"(required)\": \"(požadováno)\"\n}\n"],"names":[],"version":3,"file":"cs-CZ.main.js.map"}
package/dist/cs-CZ.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $ed0ab9e7c53f9351$exports = {};
2
- $ed0ab9e7c53f9351$exports = {
3
- "(optional)": `(voliteln\u{11B})`,
4
- "(required)": `(po\u{17E}adov\xe1no)`
5
- };
6
-
7
-
8
- export {$ed0ab9e7c53f9351$exports as default};
9
- //# sourceMappingURL=cs-CZ.module.js.map
@@ -1,9 +0,0 @@
1
- var $ed0ab9e7c53f9351$exports = {};
2
- $ed0ab9e7c53f9351$exports = {
3
- "(optional)": `(voliteln\u{11B})`,
4
- "(required)": `(po\u{17E}adov\xe1no)`
5
- };
6
-
7
-
8
- export {$ed0ab9e7c53f9351$exports as default};
9
- //# sourceMappingURL=cs-CZ.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,iBAAW,CAAC;IAC7C,cAAc,CAAC,qBAAY,CAAC;AAC9B","sources":["packages/@react-spectrum/label/intl/cs-CZ.json"],"sourcesContent":["{\n \"(optional)\": \"(volitelně)\",\n \"(required)\": \"(požadováno)\"\n}\n"],"names":[],"version":3,"file":"cs-CZ.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "(optional)": `(valgfrit)`,
3
- "(required)": `(obligatorisk)`
4
- };
5
-
6
-
7
- //# sourceMappingURL=da-DK.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,UAAU,CAAC;IAC5C,cAAc,CAAC,cAAc,CAAC;AAChC","sources":["packages/@react-spectrum/label/intl/da-DK.json"],"sourcesContent":["{\n \"(optional)\": \"(valgfrit)\",\n \"(required)\": \"(obligatorisk)\"\n}\n"],"names":[],"version":3,"file":"da-DK.main.js.map"}
package/dist/da-DK.mjs DELETED
@@ -1,9 +0,0 @@
1
- var $59d9df99e04ee555$exports = {};
2
- $59d9df99e04ee555$exports = {
3
- "(optional)": `(valgfrit)`,
4
- "(required)": `(obligatorisk)`
5
- };
6
-
7
-
8
- export {$59d9df99e04ee555$exports as default};
9
- //# sourceMappingURL=da-DK.module.js.map
@@ -1,9 +0,0 @@
1
- var $59d9df99e04ee555$exports = {};
2
- $59d9df99e04ee555$exports = {
3
- "(optional)": `(valgfrit)`,
4
- "(required)": `(obligatorisk)`
5
- };
6
-
7
-
8
- export {$59d9df99e04ee555$exports as default};
9
- //# sourceMappingURL=da-DK.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,UAAU,CAAC;IAC5C,cAAc,CAAC,cAAc,CAAC;AAChC","sources":["packages/@react-spectrum/label/intl/da-DK.json"],"sourcesContent":["{\n \"(optional)\": \"(valgfrit)\",\n \"(required)\": \"(obligatorisk)\"\n}\n"],"names":[],"version":3,"file":"da-DK.module.js.map"}
@@ -1,7 +0,0 @@
1
- module.exports = {
2
- "(optional)": `(optional)`,
3
- "(required)": `(erforderlich)`
4
- };
5
-
6
-
7
- //# sourceMappingURL=de-DE.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,UAAU,CAAC;IAC5C,cAAc,CAAC,cAAc,CAAC;AAChC","sources":["packages/@react-spectrum/label/intl/de-DE.json"],"sourcesContent":["{\n \"(optional)\": \"(optional)\",\n \"(required)\": \"(erforderlich)\"\n}\n"],"names":[],"version":3,"file":"de-DE.main.js.map"}