@react-aria/tag 3.0.0-beta.2 → 3.0.0-nightly-641446f65-240905

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 (198) hide show
  1. package/dist/ar-AE.main.js +7 -0
  2. package/dist/ar-AE.main.js.map +1 -0
  3. package/dist/ar-AE.mjs +9 -0
  4. package/dist/ar-AE.module.js +9 -0
  5. package/dist/ar-AE.module.js.map +1 -0
  6. package/dist/bg-BG.main.js +7 -0
  7. package/dist/bg-BG.main.js.map +1 -0
  8. package/dist/bg-BG.mjs +9 -0
  9. package/dist/bg-BG.module.js +9 -0
  10. package/dist/bg-BG.module.js.map +1 -0
  11. package/dist/cs-CZ.main.js +7 -0
  12. package/dist/cs-CZ.main.js.map +1 -0
  13. package/dist/cs-CZ.mjs +9 -0
  14. package/dist/cs-CZ.module.js +9 -0
  15. package/dist/cs-CZ.module.js.map +1 -0
  16. package/dist/da-DK.main.js +7 -0
  17. package/dist/da-DK.main.js.map +1 -0
  18. package/dist/da-DK.mjs +9 -0
  19. package/dist/da-DK.module.js +9 -0
  20. package/dist/da-DK.module.js.map +1 -0
  21. package/dist/de-DE.main.js +7 -0
  22. package/dist/de-DE.main.js.map +1 -0
  23. package/dist/de-DE.mjs +9 -0
  24. package/dist/de-DE.module.js +9 -0
  25. package/dist/de-DE.module.js.map +1 -0
  26. package/dist/el-GR.main.js +7 -0
  27. package/dist/el-GR.main.js.map +1 -0
  28. package/dist/el-GR.mjs +9 -0
  29. package/dist/el-GR.module.js +9 -0
  30. package/dist/el-GR.module.js.map +1 -0
  31. package/dist/en-US.main.js +7 -0
  32. package/dist/en-US.main.js.map +1 -0
  33. package/dist/en-US.mjs +9 -0
  34. package/dist/en-US.module.js +9 -0
  35. package/dist/en-US.module.js.map +1 -0
  36. package/dist/es-ES.main.js +7 -0
  37. package/dist/es-ES.main.js.map +1 -0
  38. package/dist/es-ES.mjs +9 -0
  39. package/dist/es-ES.module.js +9 -0
  40. package/dist/es-ES.module.js.map +1 -0
  41. package/dist/et-EE.main.js +7 -0
  42. package/dist/et-EE.main.js.map +1 -0
  43. package/dist/et-EE.mjs +9 -0
  44. package/dist/et-EE.module.js +9 -0
  45. package/dist/et-EE.module.js.map +1 -0
  46. package/dist/fi-FI.main.js +7 -0
  47. package/dist/fi-FI.main.js.map +1 -0
  48. package/dist/fi-FI.mjs +9 -0
  49. package/dist/fi-FI.module.js +9 -0
  50. package/dist/fi-FI.module.js.map +1 -0
  51. package/dist/fr-FR.main.js +7 -0
  52. package/dist/fr-FR.main.js.map +1 -0
  53. package/dist/fr-FR.mjs +9 -0
  54. package/dist/fr-FR.module.js +9 -0
  55. package/dist/fr-FR.module.js.map +1 -0
  56. package/dist/he-IL.main.js +7 -0
  57. package/dist/he-IL.main.js.map +1 -0
  58. package/dist/he-IL.mjs +9 -0
  59. package/dist/he-IL.module.js +9 -0
  60. package/dist/he-IL.module.js.map +1 -0
  61. package/dist/hr-HR.main.js +7 -0
  62. package/dist/hr-HR.main.js.map +1 -0
  63. package/dist/hr-HR.mjs +9 -0
  64. package/dist/hr-HR.module.js +9 -0
  65. package/dist/hr-HR.module.js.map +1 -0
  66. package/dist/hu-HU.main.js +7 -0
  67. package/dist/hu-HU.main.js.map +1 -0
  68. package/dist/hu-HU.mjs +9 -0
  69. package/dist/hu-HU.module.js +9 -0
  70. package/dist/hu-HU.module.js.map +1 -0
  71. package/dist/import.mjs +3 -408
  72. package/dist/intlStrings.main.js +108 -0
  73. package/dist/intlStrings.main.js.map +1 -0
  74. package/dist/intlStrings.mjs +110 -0
  75. package/dist/intlStrings.module.js +110 -0
  76. package/dist/intlStrings.module.js.map +1 -0
  77. package/dist/it-IT.main.js +7 -0
  78. package/dist/it-IT.main.js.map +1 -0
  79. package/dist/it-IT.mjs +9 -0
  80. package/dist/it-IT.module.js +9 -0
  81. package/dist/it-IT.module.js.map +1 -0
  82. package/dist/ja-JP.main.js +7 -0
  83. package/dist/ja-JP.main.js.map +1 -0
  84. package/dist/ja-JP.mjs +9 -0
  85. package/dist/ja-JP.module.js +9 -0
  86. package/dist/ja-JP.module.js.map +1 -0
  87. package/dist/ko-KR.main.js +7 -0
  88. package/dist/ko-KR.main.js.map +1 -0
  89. package/dist/ko-KR.mjs +9 -0
  90. package/dist/ko-KR.module.js +9 -0
  91. package/dist/ko-KR.module.js.map +1 -0
  92. package/dist/lt-LT.main.js +7 -0
  93. package/dist/lt-LT.main.js.map +1 -0
  94. package/dist/lt-LT.mjs +9 -0
  95. package/dist/lt-LT.module.js +9 -0
  96. package/dist/lt-LT.module.js.map +1 -0
  97. package/dist/lv-LV.main.js +7 -0
  98. package/dist/lv-LV.main.js.map +1 -0
  99. package/dist/lv-LV.mjs +9 -0
  100. package/dist/lv-LV.module.js +9 -0
  101. package/dist/lv-LV.module.js.map +1 -0
  102. package/dist/main.js +5 -410
  103. package/dist/main.js.map +1 -1
  104. package/dist/module.js +3 -408
  105. package/dist/module.js.map +1 -1
  106. package/dist/nb-NO.main.js +7 -0
  107. package/dist/nb-NO.main.js.map +1 -0
  108. package/dist/nb-NO.mjs +9 -0
  109. package/dist/nb-NO.module.js +9 -0
  110. package/dist/nb-NO.module.js.map +1 -0
  111. package/dist/nl-NL.main.js +7 -0
  112. package/dist/nl-NL.main.js.map +1 -0
  113. package/dist/nl-NL.mjs +9 -0
  114. package/dist/nl-NL.module.js +9 -0
  115. package/dist/nl-NL.module.js.map +1 -0
  116. package/dist/pl-PL.main.js +7 -0
  117. package/dist/pl-PL.main.js.map +1 -0
  118. package/dist/pl-PL.mjs +9 -0
  119. package/dist/pl-PL.module.js +9 -0
  120. package/dist/pl-PL.module.js.map +1 -0
  121. package/dist/pt-BR.main.js +7 -0
  122. package/dist/pt-BR.main.js.map +1 -0
  123. package/dist/pt-BR.mjs +9 -0
  124. package/dist/pt-BR.module.js +9 -0
  125. package/dist/pt-BR.module.js.map +1 -0
  126. package/dist/pt-PT.main.js +7 -0
  127. package/dist/pt-PT.main.js.map +1 -0
  128. package/dist/pt-PT.mjs +9 -0
  129. package/dist/pt-PT.module.js +9 -0
  130. package/dist/pt-PT.module.js.map +1 -0
  131. package/dist/ro-RO.main.js +7 -0
  132. package/dist/ro-RO.main.js.map +1 -0
  133. package/dist/ro-RO.mjs +9 -0
  134. package/dist/ro-RO.module.js +9 -0
  135. package/dist/ro-RO.module.js.map +1 -0
  136. package/dist/ru-RU.main.js +7 -0
  137. package/dist/ru-RU.main.js.map +1 -0
  138. package/dist/ru-RU.mjs +9 -0
  139. package/dist/ru-RU.module.js +9 -0
  140. package/dist/ru-RU.module.js.map +1 -0
  141. package/dist/sk-SK.main.js +7 -0
  142. package/dist/sk-SK.main.js.map +1 -0
  143. package/dist/sk-SK.mjs +9 -0
  144. package/dist/sk-SK.module.js +9 -0
  145. package/dist/sk-SK.module.js.map +1 -0
  146. package/dist/sl-SI.main.js +7 -0
  147. package/dist/sl-SI.main.js.map +1 -0
  148. package/dist/sl-SI.mjs +9 -0
  149. package/dist/sl-SI.module.js +9 -0
  150. package/dist/sl-SI.module.js.map +1 -0
  151. package/dist/sr-SP.main.js +7 -0
  152. package/dist/sr-SP.main.js.map +1 -0
  153. package/dist/sr-SP.mjs +9 -0
  154. package/dist/sr-SP.module.js +9 -0
  155. package/dist/sr-SP.module.js.map +1 -0
  156. package/dist/sv-SE.main.js +7 -0
  157. package/dist/sv-SE.main.js.map +1 -0
  158. package/dist/sv-SE.mjs +9 -0
  159. package/dist/sv-SE.module.js +9 -0
  160. package/dist/sv-SE.module.js.map +1 -0
  161. package/dist/tr-TR.main.js +7 -0
  162. package/dist/tr-TR.main.js.map +1 -0
  163. package/dist/tr-TR.mjs +9 -0
  164. package/dist/tr-TR.module.js +9 -0
  165. package/dist/tr-TR.module.js.map +1 -0
  166. package/dist/types.d.ts +39 -39
  167. package/dist/types.d.ts.map +1 -1
  168. package/dist/uk-UA.main.js +7 -0
  169. package/dist/uk-UA.main.js.map +1 -0
  170. package/dist/uk-UA.mjs +9 -0
  171. package/dist/uk-UA.module.js +9 -0
  172. package/dist/uk-UA.module.js.map +1 -0
  173. package/dist/useTag.main.js +89 -0
  174. package/dist/useTag.main.js.map +1 -0
  175. package/dist/useTag.mjs +84 -0
  176. package/dist/useTag.module.js +84 -0
  177. package/dist/useTag.module.js.map +1 -0
  178. package/dist/useTagGroup.main.js +89 -0
  179. package/dist/useTagGroup.main.js.map +1 -0
  180. package/dist/useTagGroup.mjs +83 -0
  181. package/dist/useTagGroup.module.js +83 -0
  182. package/dist/useTagGroup.module.js.map +1 -0
  183. package/dist/zh-CN.main.js +7 -0
  184. package/dist/zh-CN.main.js.map +1 -0
  185. package/dist/zh-CN.mjs +9 -0
  186. package/dist/zh-CN.module.js +9 -0
  187. package/dist/zh-CN.module.js.map +1 -0
  188. package/dist/zh-TW.main.js +7 -0
  189. package/dist/zh-TW.main.js.map +1 -0
  190. package/dist/zh-TW.mjs +9 -0
  191. package/dist/zh-TW.module.js +9 -0
  192. package/dist/zh-TW.module.js.map +1 -0
  193. package/package.json +15 -15
  194. package/src/index.ts +1 -3
  195. package/src/useTag.ts +59 -43
  196. package/src/useTagGroup.ts +57 -18
  197. package/LICENSE +0 -201
  198. package/src/TagKeyboardDelegate.ts +0 -79
package/dist/import.mjs CHANGED
@@ -1,74 +1,5 @@
1
- import {useId as $aIvin$useId, chain as $aIvin$chain, filterDOMProps as $aIvin$filterDOMProps, mergeProps as $aIvin$mergeProps} from "@react-aria/utils";
2
- import {useGridListItem as $aIvin$useGridListItem, useGridList as $aIvin$useGridList} from "@react-aria/gridlist";
3
- import {useLocalizedStringFormatter as $aIvin$useLocalizedStringFormatter, useLocale as $aIvin$useLocale} from "@react-aria/i18n";
4
- import {useState as $aIvin$useState} from "react";
5
- import {useField as $aIvin$useField} from "@react-aria/label";
6
- import {useFocusWithin as $aIvin$useFocusWithin} from "@react-aria/interactions";
7
-
8
- function $parcel$interopDefault(a) {
9
- return a && a.__esModule ? a.default : a;
10
- }
11
- /*
12
- * Copyright 2020 Adobe. All rights reserved.
13
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
14
- * you may not use this file except in compliance with the License. You may obtain a copy
15
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software distributed under
18
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
19
- * OF ANY KIND, either express or implied. See the License for the specific language
20
- * governing permissions and limitations under the License.
21
- */ /*
22
- * Copyright 2020 Adobe. All rights reserved.
23
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
24
- * you may not use this file except in compliance with the License. You may obtain a copy
25
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
26
- *
27
- * Unless required by applicable law or agreed to in writing, software distributed under
28
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
29
- * OF ANY KIND, either express or implied. See the License for the specific language
30
- * governing permissions and limitations under the License.
31
- */ class $542448901dbd2c36$export$b00754732e683b92 {
32
- getFirstKey() {
33
- return this.collection.getFirstKey();
34
- }
35
- getLastKey() {
36
- return this.collection.getLastKey();
37
- }
38
- getKeyRightOf(key) {
39
- return this.direction === "rtl" ? this.getKeyAbove(key) : this.getKeyBelow(key);
40
- }
41
- getKeyLeftOf(key) {
42
- return this.direction === "rtl" ? this.getKeyBelow(key) : this.getKeyAbove(key);
43
- }
44
- getKeyBelow(key) {
45
- let startItem = this.collection.getItem(key);
46
- if (!startItem) return;
47
- // Find the next item
48
- key = this.collection.getKeyAfter(key);
49
- if (key != null) return key;
50
- else return this.collection.getFirstKey();
51
- }
52
- getKeyAbove(key) {
53
- let startItem = this.collection.getItem(key);
54
- if (!startItem) return;
55
- // Find the previous item
56
- key = this.collection.getKeyBefore(key);
57
- if (key != null) return key;
58
- else return this.collection.getLastKey();
59
- }
60
- getKeyPageAbove(key) {
61
- return this.getKeyAbove(key);
62
- }
63
- getKeyPageBelow(key) {
64
- return this.getKeyBelow(key);
65
- }
66
- constructor(collection, direction){
67
- this.collection = collection;
68
- this.direction = direction;
69
- }
70
- }
71
-
1
+ import {useTag as $fc6126c82a4601f1$export$3f568fff7dff2f03} from "./useTag.mjs";
2
+ import {useTagGroup as $d7323bca8d074eeb$export$4f8b5cda58b7e8ff} from "./useTagGroup.mjs";
72
3
 
73
4
  /*
74
5
  * Copyright 2020 Adobe. All rights reserved.
@@ -81,344 +12,8 @@ function $parcel$interopDefault(a) {
81
12
  * OF ANY KIND, either express or implied. See the License for the specific language
82
13
  * governing permissions and limitations under the License.
83
14
  */
84
- var $4d1b62e0e67c00a4$exports = {};
85
- var $84925f526f90eebd$exports = {};
86
- $84925f526f90eebd$exports = {
87
- "remove": `اضغط على زر Space أو Delete لإزالة العلامة.`
88
- };
89
-
90
-
91
- var $c0650163dc1b6f9d$exports = {};
92
- $c0650163dc1b6f9d$exports = {
93
- "remove": `Натиснете интервал или Delete, за да премахнете маркера.`
94
- };
95
-
96
-
97
- var $b2b55661291de587$exports = {};
98
- $b2b55661291de587$exports = {
99
- "remove": `Stisknutím mezerníku nebo klávesy Delete odeberte značku.`
100
- };
101
-
102
-
103
- var $deb83970956f6d5b$exports = {};
104
- $deb83970956f6d5b$exports = {
105
- "remove": `Tryk på mellemrum eller Slet for at fjerne tag.`
106
- };
107
-
108
-
109
- var $aea1cb4c7ec97e1c$exports = {};
110
- $aea1cb4c7ec97e1c$exports = {
111
- "remove": `Drücken Sie Leertaste oder Löschen, um das Tag zu entfernen.`
112
- };
113
-
114
-
115
- var $3618d917e503a8d3$exports = {};
116
- $3618d917e503a8d3$exports = {
117
- "remove": `Πατήστε το πλήκτρο διαστήματος ή το πλήκτρο Delete για να καταργήσετε την ετικέτα.`
118
- };
119
-
120
-
121
- var $9eb56bbbe8e31294$exports = {};
122
- $9eb56bbbe8e31294$exports = {
123
- "remove": `Press Space or Delete to remove tag.`
124
- };
125
-
126
-
127
- var $361c604b0fc269a3$exports = {};
128
- $361c604b0fc269a3$exports = {
129
- "remove": `Pulse Espacio o Eliminar para quitar la etiqueta.`
130
- };
131
-
132
-
133
- var $2f00170f4ee3ca01$exports = {};
134
- $2f00170f4ee3ca01$exports = {
135
- "remove": `Sildi eemaldamiseks vajutage tühikuklahvi või kustutusklahvi Delete.`
136
- };
137
-
138
-
139
- var $80ee16b64fab9fb5$exports = {};
140
- $80ee16b64fab9fb5$exports = {
141
- "remove": `Poista tunniste painamalla Välilyönti tai Poista.`
142
- };
143
-
144
-
145
- var $be9d354476c08087$exports = {};
146
- $be9d354476c08087$exports = {
147
- "remove": `Appuyez sur Espace ou Supprimer pour supprimer la balise.`
148
- };
149
-
150
-
151
- var $ffeb903ba092eb35$exports = {};
152
- $ffeb903ba092eb35$exports = {
153
- "remove": `הקש על רווח או מחק כדי להסיר תג.`
154
- };
155
-
156
-
157
- var $1df6722c6f19728b$exports = {};
158
- $1df6722c6f19728b$exports = {
159
- "remove": `Pritisnite Space ili Delete za uklanjanje oznake.`
160
- };
161
-
162
-
163
- var $093d57e325bc9071$exports = {};
164
- $093d57e325bc9071$exports = {
165
- "remove": `Nyomja meg a szóköz vagy a Delete billentyűt a címke eltávolításához.`
166
- };
167
-
168
-
169
- var $609dbdfbcad85bdb$exports = {};
170
- $609dbdfbcad85bdb$exports = {
171
- "remove": `Premi la barra spaziatrice o CANC per rimuovere il tag.`
172
- };
173
-
174
-
175
- var $c08e84f882644048$exports = {};
176
- $c08e84f882644048$exports = {
177
- "remove": `タグを削除するには、スペースまたは削除を押します。`
178
- };
179
-
180
-
181
- var $5cd130489822fa21$exports = {};
182
- $5cd130489822fa21$exports = {
183
- "remove": `태그를 제거하려면 Space 또는 Delete 키를 누르십시오.`
184
- };
185
-
186
-
187
- var $ab5183739b6c5e7e$exports = {};
188
- $ab5183739b6c5e7e$exports = {
189
- "remove": `Norėdami pašalinti žymą, paspauskite tarpo arba „Delete“ klavišą.`
190
- };
191
-
192
-
193
- var $dd84a0b574be3f23$exports = {};
194
- $dd84a0b574be3f23$exports = {
195
- "remove": `Nospiediet atstarpes taustiņu vai taustiņu Delete, lai noņemtu tagu.`
196
- };
197
-
198
-
199
- var $85eee97d14eef7b5$exports = {};
200
- $85eee97d14eef7b5$exports = {
201
- "remove": `Trykk på mellomrom eller Slett for å fjerne taggen.`
202
- };
203
-
204
-
205
- var $18781839f93b0314$exports = {};
206
- $18781839f93b0314$exports = {
207
- "remove": `Druk op Spatie of Verwijderen om de tag te verwijderen.`
208
- };
209
-
210
-
211
- var $1c40ffbbfe9f3bda$exports = {};
212
- $1c40ffbbfe9f3bda$exports = {
213
- "remove": `Naciśnij Spację lub przycisk Usuń, aby usunąć znacznik.`
214
- };
215
-
216
-
217
- var $156880e329b1c717$exports = {};
218
- $156880e329b1c717$exports = {
219
- "remove": `Pressione a barra de espaço ou Delete para remover a tag.`
220
- };
221
-
222
-
223
- var $b6d50b1d20768ce4$exports = {};
224
- $b6d50b1d20768ce4$exports = {
225
- "remove": `Pressione Espaço ou Eliminar para remover a etiqueta.`
226
- };
227
-
228
-
229
- var $d8c38c691b006187$exports = {};
230
- $d8c38c691b006187$exports = {
231
- "remove": `Apăsați pe Space (Spațiu) sau pe Delete (Ștergere) pentru a elimina eticheta.`
232
- };
233
-
234
-
235
- var $ed9b4bf7ce1fb1d7$exports = {};
236
- $ed9b4bf7ce1fb1d7$exports = {
237
- "remove": `Нажмите клавишу пробел или Delete, чтобы удалить тег.`
238
- };
239
-
240
-
241
- var $51d8721afda4d678$exports = {};
242
- $51d8721afda4d678$exports = {
243
- "remove": `Ak chcete odstrániť značku, stlačte medzerník alebo kláves Delete.`
244
- };
245
-
246
-
247
- var $fd37a27baae493e8$exports = {};
248
- $fd37a27baae493e8$exports = {
249
- "remove": `Pritisnite presledek ali Izbriši, da odstranite oznako.`
250
- };
251
-
252
-
253
- var $5505a1ca71ffd6f4$exports = {};
254
- $5505a1ca71ffd6f4$exports = {
255
- "remove": `Pritisnite Space ili Delete da biste uklonili oznaku.`
256
- };
257
-
258
-
259
- var $33670e148c84ad02$exports = {};
260
- $33670e148c84ad02$exports = {
261
- "remove": `Tryck på blanksteg eller radera för att ta bort taggen.`
262
- };
263
-
264
-
265
- var $0bf46fdcdd7cb5f6$exports = {};
266
- $0bf46fdcdd7cb5f6$exports = {
267
- "remove": `Etiketi kaldırmak için Boşluk veya Sil tuşlarından birine basın.`
268
- };
269
-
270
-
271
- var $9d9765222bc08ca2$exports = {};
272
- $9d9765222bc08ca2$exports = {
273
- "remove": `Натисніть пробіл або Delete, щоб видалити тег.`
274
- };
275
-
276
-
277
- var $d737296cedcdee9f$exports = {};
278
- $d737296cedcdee9f$exports = {
279
- "remove": `按下“空格”或“删除”键删除标记。`
280
- };
281
-
282
-
283
- var $09cd168ab18773f4$exports = {};
284
- $09cd168ab18773f4$exports = {
285
- "remove": `按空格鍵或 Delete 鍵以移除標記。`
286
- };
287
-
288
-
289
- $4d1b62e0e67c00a4$exports = {
290
- "ar-AE": $84925f526f90eebd$exports,
291
- "bg-BG": $c0650163dc1b6f9d$exports,
292
- "cs-CZ": $b2b55661291de587$exports,
293
- "da-DK": $deb83970956f6d5b$exports,
294
- "de-DE": $aea1cb4c7ec97e1c$exports,
295
- "el-GR": $3618d917e503a8d3$exports,
296
- "en-US": $9eb56bbbe8e31294$exports,
297
- "es-ES": $361c604b0fc269a3$exports,
298
- "et-EE": $2f00170f4ee3ca01$exports,
299
- "fi-FI": $80ee16b64fab9fb5$exports,
300
- "fr-FR": $be9d354476c08087$exports,
301
- "he-IL": $ffeb903ba092eb35$exports,
302
- "hr-HR": $1df6722c6f19728b$exports,
303
- "hu-HU": $093d57e325bc9071$exports,
304
- "it-IT": $609dbdfbcad85bdb$exports,
305
- "ja-JP": $c08e84f882644048$exports,
306
- "ko-KR": $5cd130489822fa21$exports,
307
- "lt-LT": $ab5183739b6c5e7e$exports,
308
- "lv-LV": $dd84a0b574be3f23$exports,
309
- "nb-NO": $85eee97d14eef7b5$exports,
310
- "nl-NL": $18781839f93b0314$exports,
311
- "pl-PL": $1c40ffbbfe9f3bda$exports,
312
- "pt-BR": $156880e329b1c717$exports,
313
- "pt-PT": $b6d50b1d20768ce4$exports,
314
- "ro-RO": $d8c38c691b006187$exports,
315
- "ru-RU": $ed9b4bf7ce1fb1d7$exports,
316
- "sk-SK": $51d8721afda4d678$exports,
317
- "sl-SI": $fd37a27baae493e8$exports,
318
- "sr-SP": $5505a1ca71ffd6f4$exports,
319
- "sv-SE": $33670e148c84ad02$exports,
320
- "tr-TR": $0bf46fdcdd7cb5f6$exports,
321
- "uk-UA": $9d9765222bc08ca2$exports,
322
- "zh-CN": $d737296cedcdee9f$exports,
323
- "zh-TW": $09cd168ab18773f4$exports
324
- };
325
-
326
-
327
-
328
-
329
- function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
330
- let { isFocused: isFocused , allowsRemoving: allowsRemoving , item: item } = props;
331
- let stringFormatter = (0, $aIvin$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($4d1b62e0e67c00a4$exports))));
332
- let removeString = stringFormatter.format("remove");
333
- let labelId = (0, $aIvin$useId)();
334
- let buttonId = (0, $aIvin$useId)();
335
- let { rowProps: rowProps , gridCellProps: gridCellProps } = (0, $aIvin$useGridListItem)({
336
- node: item
337
- }, state, ref);
338
- // We want the group to handle keyboard navigation between tags.
339
- delete rowProps.onKeyDownCapture;
340
- let onRemove = (0, $aIvin$chain)(props.onRemove, state.onRemove);
341
- let onKeyDown = (e)=>{
342
- if (e.key === "Delete" || e.key === "Backspace" || e.key === " ") {
343
- onRemove(item.key);
344
- e.preventDefault();
345
- }
346
- };
347
- isFocused = isFocused || state.selectionManager.focusedKey === item.key;
348
- let domProps = (0, $aIvin$filterDOMProps)(props);
349
- return {
350
- clearButtonProps: {
351
- "aria-label": removeString,
352
- "aria-labelledby": `${buttonId} ${labelId}`,
353
- id: buttonId,
354
- onPress: ()=>allowsRemoving && onRemove ? onRemove(item.key) : null
355
- },
356
- labelProps: {
357
- id: labelId
358
- },
359
- tagRowProps: {
360
- ...rowProps,
361
- tabIndex: isFocused || state.selectionManager.focusedKey == null ? 0 : -1,
362
- onKeyDown: allowsRemoving ? onKeyDown : null
363
- },
364
- tagProps: (0, $aIvin$mergeProps)(domProps, gridCellProps, {
365
- "aria-errormessage": props["aria-errormessage"],
366
- "aria-label": props["aria-label"]
367
- })
368
- };
369
- }
370
-
371
-
372
- /*
373
- * Copyright 2020 Adobe. All rights reserved.
374
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
375
- * you may not use this file except in compliance with the License. You may obtain a copy
376
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
377
- *
378
- * Unless required by applicable law or agreed to in writing, software distributed under
379
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
380
- * OF ANY KIND, either express or implied. See the License for the specific language
381
- * governing permissions and limitations under the License.
382
- */
383
-
384
-
385
-
386
-
387
-
388
-
389
- function $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, state, ref) {
390
- let { direction: direction } = (0, $aIvin$useLocale)();
391
- let keyboardDelegate = props.keyboardDelegate || new (0, $542448901dbd2c36$export$b00754732e683b92)(state.collection, direction);
392
- let { labelProps: labelProps , fieldProps: fieldProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = (0, $aIvin$useField)(props);
393
- let { gridProps: gridProps } = (0, $aIvin$useGridList)({
394
- ...props,
395
- ...fieldProps,
396
- keyboardDelegate: keyboardDelegate
397
- }, state, ref);
398
- // Don't want the grid to be focusable or accessible via keyboard
399
- delete gridProps.tabIndex;
400
- let [isFocusWithin, setFocusWithin] = (0, $aIvin$useState)(false);
401
- let { focusWithinProps: focusWithinProps } = (0, $aIvin$useFocusWithin)({
402
- onFocusWithinChange: setFocusWithin
403
- });
404
- let domProps = (0, $aIvin$filterDOMProps)(props);
405
- return {
406
- tagGroupProps: (0, $aIvin$mergeProps)(gridProps, domProps, {
407
- role: state.collection.size ? "grid" : null,
408
- "aria-atomic": false,
409
- "aria-relevant": "additions",
410
- "aria-live": isFocusWithin ? "polite" : "off",
411
- ...focusWithinProps,
412
- ...fieldProps
413
- }),
414
- labelProps: labelProps,
415
- descriptionProps: descriptionProps,
416
- errorMessageProps: errorMessageProps
417
- };
418
- }
419
-
420
15
 
421
16
 
422
17
 
423
- export {$542448901dbd2c36$export$b00754732e683b92 as TagKeyboardDelegate, $fc6126c82a4601f1$export$3f568fff7dff2f03 as useTag, $d7323bca8d074eeb$export$4f8b5cda58b7e8ff as useTagGroup};
18
+ export {$fc6126c82a4601f1$export$3f568fff7dff2f03 as useTag, $d7323bca8d074eeb$export$4f8b5cda58b7e8ff as useTagGroup};
424
19
  //# sourceMappingURL=module.js.map
@@ -0,0 +1,108 @@
1
+ var $6a4ddf1abe55d42a$exports = require("./ar-AE.main.js");
2
+ var $1bdc82b10375b4a8$exports = require("./bg-BG.main.js");
3
+ var $e3fdf009dfe14bbc$exports = require("./cs-CZ.main.js");
4
+ var $8e3a8efadaa261b3$exports = require("./da-DK.main.js");
5
+ var $405462110cf9cc8d$exports = require("./de-DE.main.js");
6
+ var $9ec4c01646bfc149$exports = require("./el-GR.main.js");
7
+ var $0b797b6d677cd5c7$exports = require("./en-US.main.js");
8
+ var $bacdb4955d86e000$exports = require("./es-ES.main.js");
9
+ var $28e6b3e2003cb89e$exports = require("./et-EE.main.js");
10
+ var $080ec9a9a4197fc3$exports = require("./fi-FI.main.js");
11
+ var $d186548cad5da12b$exports = require("./fr-FR.main.js");
12
+ var $58694cb16d86dce9$exports = require("./he-IL.main.js");
13
+ var $3622620b71bc3eed$exports = require("./hr-HR.main.js");
14
+ var $25f88eb7a72b76e1$exports = require("./hu-HU.main.js");
15
+ var $ac7f4b0e2cb68452$exports = require("./it-IT.main.js");
16
+ var $eb1a168dda0e2196$exports = require("./ja-JP.main.js");
17
+ var $eee5df414cc6e698$exports = require("./ko-KR.main.js");
18
+ var $89b3b12fbd9b247d$exports = require("./lt-LT.main.js");
19
+ var $1919b5d1d79b472a$exports = require("./lv-LV.main.js");
20
+ var $19c1a9b6c040fcbd$exports = require("./nb-NO.main.js");
21
+ var $be2ec555d5f5fd09$exports = require("./nl-NL.main.js");
22
+ var $949a33b7200b0e13$exports = require("./pl-PL.main.js");
23
+ var $ae5f6174df72ed0e$exports = require("./pt-BR.main.js");
24
+ var $f93b2eb3a2267af4$exports = require("./pt-PT.main.js");
25
+ var $0986e262b15bfc91$exports = require("./ro-RO.main.js");
26
+ var $1fc455c3f981c785$exports = require("./ru-RU.main.js");
27
+ var $93e0f346215d9446$exports = require("./sk-SK.main.js");
28
+ var $fef8a51090f12761$exports = require("./sl-SI.main.js");
29
+ var $04502b7a450fc878$exports = require("./sr-SP.main.js");
30
+ var $95460d4e4c3e3778$exports = require("./sv-SE.main.js");
31
+ var $818e5758c72a695c$exports = require("./tr-TR.main.js");
32
+ var $5c17d07165fb1742$exports = require("./uk-UA.main.js");
33
+ var $c6666cc31aa025e0$exports = require("./zh-CN.main.js");
34
+ var $a34b8398aee73e0f$exports = require("./zh-TW.main.js");
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+ module.exports = {
71
+ "ar-AE": $6a4ddf1abe55d42a$exports,
72
+ "bg-BG": $1bdc82b10375b4a8$exports,
73
+ "cs-CZ": $e3fdf009dfe14bbc$exports,
74
+ "da-DK": $8e3a8efadaa261b3$exports,
75
+ "de-DE": $405462110cf9cc8d$exports,
76
+ "el-GR": $9ec4c01646bfc149$exports,
77
+ "en-US": $0b797b6d677cd5c7$exports,
78
+ "es-ES": $bacdb4955d86e000$exports,
79
+ "et-EE": $28e6b3e2003cb89e$exports,
80
+ "fi-FI": $080ec9a9a4197fc3$exports,
81
+ "fr-FR": $d186548cad5da12b$exports,
82
+ "he-IL": $58694cb16d86dce9$exports,
83
+ "hr-HR": $3622620b71bc3eed$exports,
84
+ "hu-HU": $25f88eb7a72b76e1$exports,
85
+ "it-IT": $ac7f4b0e2cb68452$exports,
86
+ "ja-JP": $eb1a168dda0e2196$exports,
87
+ "ko-KR": $eee5df414cc6e698$exports,
88
+ "lt-LT": $89b3b12fbd9b247d$exports,
89
+ "lv-LV": $1919b5d1d79b472a$exports,
90
+ "nb-NO": $19c1a9b6c040fcbd$exports,
91
+ "nl-NL": $be2ec555d5f5fd09$exports,
92
+ "pl-PL": $949a33b7200b0e13$exports,
93
+ "pt-BR": $ae5f6174df72ed0e$exports,
94
+ "pt-PT": $f93b2eb3a2267af4$exports,
95
+ "ro-RO": $0986e262b15bfc91$exports,
96
+ "ru-RU": $1fc455c3f981c785$exports,
97
+ "sk-SK": $93e0f346215d9446$exports,
98
+ "sl-SI": $fef8a51090f12761$exports,
99
+ "sr-SP": $04502b7a450fc878$exports,
100
+ "sv-SE": $95460d4e4c3e3778$exports,
101
+ "tr-TR": $818e5758c72a695c$exports,
102
+ "uk-UA": $5c17d07165fb1742$exports,
103
+ "zh-CN": $c6666cc31aa025e0$exports,
104
+ "zh-TW": $a34b8398aee73e0f$exports
105
+ };
106
+
107
+
108
+ //# sourceMappingURL=intlStrings.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,iBAAiB;IACf,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;AACX","sources":["packages/@react-aria/tag/src/*.js"],"sourcesContent":["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}"],"names":[],"version":3,"file":"intlStrings.main.js.map"}
@@ -0,0 +1,110 @@
1
+ import $6FBua$arAEmodulejs from "./ar-AE.mjs";
2
+ import $6FBua$bgBGmodulejs from "./bg-BG.mjs";
3
+ import $6FBua$csCZmodulejs from "./cs-CZ.mjs";
4
+ import $6FBua$daDKmodulejs from "./da-DK.mjs";
5
+ import $6FBua$deDEmodulejs from "./de-DE.mjs";
6
+ import $6FBua$elGRmodulejs from "./el-GR.mjs";
7
+ import $6FBua$enUSmodulejs from "./en-US.mjs";
8
+ import $6FBua$esESmodulejs from "./es-ES.mjs";
9
+ import $6FBua$etEEmodulejs from "./et-EE.mjs";
10
+ import $6FBua$fiFImodulejs from "./fi-FI.mjs";
11
+ import $6FBua$frFRmodulejs from "./fr-FR.mjs";
12
+ import $6FBua$heILmodulejs from "./he-IL.mjs";
13
+ import $6FBua$hrHRmodulejs from "./hr-HR.mjs";
14
+ import $6FBua$huHUmodulejs from "./hu-HU.mjs";
15
+ import $6FBua$itITmodulejs from "./it-IT.mjs";
16
+ import $6FBua$jaJPmodulejs from "./ja-JP.mjs";
17
+ import $6FBua$koKRmodulejs from "./ko-KR.mjs";
18
+ import $6FBua$ltLTmodulejs from "./lt-LT.mjs";
19
+ import $6FBua$lvLVmodulejs from "./lv-LV.mjs";
20
+ import $6FBua$nbNOmodulejs from "./nb-NO.mjs";
21
+ import $6FBua$nlNLmodulejs from "./nl-NL.mjs";
22
+ import $6FBua$plPLmodulejs from "./pl-PL.mjs";
23
+ import $6FBua$ptBRmodulejs from "./pt-BR.mjs";
24
+ import $6FBua$ptPTmodulejs from "./pt-PT.mjs";
25
+ import $6FBua$roROmodulejs from "./ro-RO.mjs";
26
+ import $6FBua$ruRUmodulejs from "./ru-RU.mjs";
27
+ import $6FBua$skSKmodulejs from "./sk-SK.mjs";
28
+ import $6FBua$slSImodulejs from "./sl-SI.mjs";
29
+ import $6FBua$srSPmodulejs from "./sr-SP.mjs";
30
+ import $6FBua$svSEmodulejs from "./sv-SE.mjs";
31
+ import $6FBua$trTRmodulejs from "./tr-TR.mjs";
32
+ import $6FBua$ukUAmodulejs from "./uk-UA.mjs";
33
+ import $6FBua$zhCNmodulejs from "./zh-CN.mjs";
34
+ import $6FBua$zhTWmodulejs from "./zh-TW.mjs";
35
+
36
+ var $3bb15cc24d006ec5$exports = {};
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+ $3bb15cc24d006ec5$exports = {
72
+ "ar-AE": $6FBua$arAEmodulejs,
73
+ "bg-BG": $6FBua$bgBGmodulejs,
74
+ "cs-CZ": $6FBua$csCZmodulejs,
75
+ "da-DK": $6FBua$daDKmodulejs,
76
+ "de-DE": $6FBua$deDEmodulejs,
77
+ "el-GR": $6FBua$elGRmodulejs,
78
+ "en-US": $6FBua$enUSmodulejs,
79
+ "es-ES": $6FBua$esESmodulejs,
80
+ "et-EE": $6FBua$etEEmodulejs,
81
+ "fi-FI": $6FBua$fiFImodulejs,
82
+ "fr-FR": $6FBua$frFRmodulejs,
83
+ "he-IL": $6FBua$heILmodulejs,
84
+ "hr-HR": $6FBua$hrHRmodulejs,
85
+ "hu-HU": $6FBua$huHUmodulejs,
86
+ "it-IT": $6FBua$itITmodulejs,
87
+ "ja-JP": $6FBua$jaJPmodulejs,
88
+ "ko-KR": $6FBua$koKRmodulejs,
89
+ "lt-LT": $6FBua$ltLTmodulejs,
90
+ "lv-LV": $6FBua$lvLVmodulejs,
91
+ "nb-NO": $6FBua$nbNOmodulejs,
92
+ "nl-NL": $6FBua$nlNLmodulejs,
93
+ "pl-PL": $6FBua$plPLmodulejs,
94
+ "pt-BR": $6FBua$ptBRmodulejs,
95
+ "pt-PT": $6FBua$ptPTmodulejs,
96
+ "ro-RO": $6FBua$roROmodulejs,
97
+ "ru-RU": $6FBua$ruRUmodulejs,
98
+ "sk-SK": $6FBua$skSKmodulejs,
99
+ "sl-SI": $6FBua$slSImodulejs,
100
+ "sr-SP": $6FBua$srSPmodulejs,
101
+ "sv-SE": $6FBua$svSEmodulejs,
102
+ "tr-TR": $6FBua$trTRmodulejs,
103
+ "uk-UA": $6FBua$ukUAmodulejs,
104
+ "zh-CN": $6FBua$zhCNmodulejs,
105
+ "zh-TW": $6FBua$zhTWmodulejs
106
+ };
107
+
108
+
109
+ export {$3bb15cc24d006ec5$exports as default};
110
+ //# sourceMappingURL=intlStrings.module.js.map