@react-aria/autocomplete 3.0.0-alpha.9 → 3.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/ar-AE.main.js +6 -0
  2. package/dist/ar-AE.main.js.map +1 -0
  3. package/dist/ar-AE.mjs +8 -0
  4. package/dist/ar-AE.module.js +8 -0
  5. package/dist/ar-AE.module.js.map +1 -0
  6. package/dist/bg-BG.main.js +6 -0
  7. package/dist/bg-BG.main.js.map +1 -0
  8. package/dist/bg-BG.mjs +8 -0
  9. package/dist/bg-BG.module.js +8 -0
  10. package/dist/bg-BG.module.js.map +1 -0
  11. package/dist/cs-CZ.main.js +6 -0
  12. package/dist/cs-CZ.main.js.map +1 -0
  13. package/dist/cs-CZ.mjs +8 -0
  14. package/dist/cs-CZ.module.js +8 -0
  15. package/dist/cs-CZ.module.js.map +1 -0
  16. package/dist/da-DK.main.js +6 -0
  17. package/dist/da-DK.main.js.map +1 -0
  18. package/dist/da-DK.mjs +8 -0
  19. package/dist/da-DK.module.js +8 -0
  20. package/dist/da-DK.module.js.map +1 -0
  21. package/dist/de-DE.main.js +6 -0
  22. package/dist/de-DE.main.js.map +1 -0
  23. package/dist/de-DE.mjs +8 -0
  24. package/dist/de-DE.module.js +8 -0
  25. package/dist/de-DE.module.js.map +1 -0
  26. package/dist/el-GR.main.js +6 -0
  27. package/dist/el-GR.main.js.map +1 -0
  28. package/dist/el-GR.mjs +8 -0
  29. package/dist/el-GR.module.js +8 -0
  30. package/dist/el-GR.module.js.map +1 -0
  31. package/dist/en-US.main.js +6 -0
  32. package/dist/en-US.main.js.map +1 -0
  33. package/dist/en-US.mjs +8 -0
  34. package/dist/en-US.module.js +8 -0
  35. package/dist/en-US.module.js.map +1 -0
  36. package/dist/es-ES.main.js +6 -0
  37. package/dist/es-ES.main.js.map +1 -0
  38. package/dist/es-ES.mjs +8 -0
  39. package/dist/es-ES.module.js +8 -0
  40. package/dist/es-ES.module.js.map +1 -0
  41. package/dist/et-EE.main.js +6 -0
  42. package/dist/et-EE.main.js.map +1 -0
  43. package/dist/et-EE.mjs +8 -0
  44. package/dist/et-EE.module.js +8 -0
  45. package/dist/et-EE.module.js.map +1 -0
  46. package/dist/fi-FI.main.js +6 -0
  47. package/dist/fi-FI.main.js.map +1 -0
  48. package/dist/fi-FI.mjs +8 -0
  49. package/dist/fi-FI.module.js +8 -0
  50. package/dist/fi-FI.module.js.map +1 -0
  51. package/dist/fr-FR.main.js +6 -0
  52. package/dist/fr-FR.main.js.map +1 -0
  53. package/dist/fr-FR.mjs +8 -0
  54. package/dist/fr-FR.module.js +8 -0
  55. package/dist/fr-FR.module.js.map +1 -0
  56. package/dist/he-IL.main.js +6 -0
  57. package/dist/he-IL.main.js.map +1 -0
  58. package/dist/he-IL.mjs +8 -0
  59. package/dist/he-IL.module.js +8 -0
  60. package/dist/he-IL.module.js.map +1 -0
  61. package/dist/hr-HR.main.js +6 -0
  62. package/dist/hr-HR.main.js.map +1 -0
  63. package/dist/hr-HR.mjs +8 -0
  64. package/dist/hr-HR.module.js +8 -0
  65. package/dist/hr-HR.module.js.map +1 -0
  66. package/dist/hu-HU.main.js +6 -0
  67. package/dist/hu-HU.main.js.map +1 -0
  68. package/dist/hu-HU.mjs +8 -0
  69. package/dist/hu-HU.module.js +8 -0
  70. package/dist/hu-HU.module.js.map +1 -0
  71. package/dist/import.mjs +19 -0
  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 +6 -0
  78. package/dist/it-IT.main.js.map +1 -0
  79. package/dist/it-IT.mjs +8 -0
  80. package/dist/it-IT.module.js +8 -0
  81. package/dist/it-IT.module.js.map +1 -0
  82. package/dist/ja-JP.main.js +6 -0
  83. package/dist/ja-JP.main.js.map +1 -0
  84. package/dist/ja-JP.mjs +8 -0
  85. package/dist/ja-JP.module.js +8 -0
  86. package/dist/ja-JP.module.js.map +1 -0
  87. package/dist/ko-KR.main.js +6 -0
  88. package/dist/ko-KR.main.js.map +1 -0
  89. package/dist/ko-KR.mjs +8 -0
  90. package/dist/ko-KR.module.js +8 -0
  91. package/dist/ko-KR.module.js.map +1 -0
  92. package/dist/lt-LT.main.js +6 -0
  93. package/dist/lt-LT.main.js.map +1 -0
  94. package/dist/lt-LT.mjs +8 -0
  95. package/dist/lt-LT.module.js +8 -0
  96. package/dist/lt-LT.module.js.map +1 -0
  97. package/dist/lv-LV.main.js +6 -0
  98. package/dist/lv-LV.main.js.map +1 -0
  99. package/dist/lv-LV.mjs +8 -0
  100. package/dist/lv-LV.module.js +8 -0
  101. package/dist/lv-LV.module.js.map +1 -0
  102. package/dist/main.js +16 -42
  103. package/dist/main.js.map +1 -1
  104. package/dist/module.js +14 -42
  105. package/dist/module.js.map +1 -1
  106. package/dist/nb-NO.main.js +6 -0
  107. package/dist/nb-NO.main.js.map +1 -0
  108. package/dist/nb-NO.mjs +8 -0
  109. package/dist/nb-NO.module.js +8 -0
  110. package/dist/nb-NO.module.js.map +1 -0
  111. package/dist/nl-NL.main.js +6 -0
  112. package/dist/nl-NL.main.js.map +1 -0
  113. package/dist/nl-NL.mjs +8 -0
  114. package/dist/nl-NL.module.js +8 -0
  115. package/dist/nl-NL.module.js.map +1 -0
  116. package/dist/pl-PL.main.js +6 -0
  117. package/dist/pl-PL.main.js.map +1 -0
  118. package/dist/pl-PL.mjs +8 -0
  119. package/dist/pl-PL.module.js +8 -0
  120. package/dist/pl-PL.module.js.map +1 -0
  121. package/dist/pt-BR.main.js +6 -0
  122. package/dist/pt-BR.main.js.map +1 -0
  123. package/dist/pt-BR.mjs +8 -0
  124. package/dist/pt-BR.module.js +8 -0
  125. package/dist/pt-BR.module.js.map +1 -0
  126. package/dist/pt-PT.main.js +6 -0
  127. package/dist/pt-PT.main.js.map +1 -0
  128. package/dist/pt-PT.mjs +8 -0
  129. package/dist/pt-PT.module.js +8 -0
  130. package/dist/pt-PT.module.js.map +1 -0
  131. package/dist/ro-RO.main.js +6 -0
  132. package/dist/ro-RO.main.js.map +1 -0
  133. package/dist/ro-RO.mjs +8 -0
  134. package/dist/ro-RO.module.js +8 -0
  135. package/dist/ro-RO.module.js.map +1 -0
  136. package/dist/ru-RU.main.js +6 -0
  137. package/dist/ru-RU.main.js.map +1 -0
  138. package/dist/ru-RU.mjs +8 -0
  139. package/dist/ru-RU.module.js +8 -0
  140. package/dist/ru-RU.module.js.map +1 -0
  141. package/dist/sk-SK.main.js +6 -0
  142. package/dist/sk-SK.main.js.map +1 -0
  143. package/dist/sk-SK.mjs +8 -0
  144. package/dist/sk-SK.module.js +8 -0
  145. package/dist/sk-SK.module.js.map +1 -0
  146. package/dist/sl-SI.main.js +6 -0
  147. package/dist/sl-SI.main.js.map +1 -0
  148. package/dist/sl-SI.mjs +8 -0
  149. package/dist/sl-SI.module.js +8 -0
  150. package/dist/sl-SI.module.js.map +1 -0
  151. package/dist/sr-SP.main.js +6 -0
  152. package/dist/sr-SP.main.js.map +1 -0
  153. package/dist/sr-SP.mjs +8 -0
  154. package/dist/sr-SP.module.js +8 -0
  155. package/dist/sr-SP.module.js.map +1 -0
  156. package/dist/sv-SE.main.js +6 -0
  157. package/dist/sv-SE.main.js.map +1 -0
  158. package/dist/sv-SE.mjs +8 -0
  159. package/dist/sv-SE.module.js +8 -0
  160. package/dist/sv-SE.module.js.map +1 -0
  161. package/dist/tr-TR.main.js +6 -0
  162. package/dist/tr-TR.main.js.map +1 -0
  163. package/dist/tr-TR.mjs +8 -0
  164. package/dist/tr-TR.module.js +8 -0
  165. package/dist/tr-TR.module.js.map +1 -0
  166. package/dist/types.d.ts +69 -15
  167. package/dist/types.d.ts.map +1 -1
  168. package/dist/uk-UA.main.js +6 -0
  169. package/dist/uk-UA.main.js.map +1 -0
  170. package/dist/uk-UA.mjs +8 -0
  171. package/dist/uk-UA.module.js +8 -0
  172. package/dist/uk-UA.module.js.map +1 -0
  173. package/dist/useAutocomplete.main.js +273 -0
  174. package/dist/useAutocomplete.main.js.map +1 -0
  175. package/dist/useAutocomplete.mjs +268 -0
  176. package/dist/useAutocomplete.module.js +268 -0
  177. package/dist/useAutocomplete.module.js.map +1 -0
  178. package/dist/useSearchAutocomplete.main.js +73 -0
  179. package/dist/useSearchAutocomplete.main.js.map +1 -0
  180. package/dist/useSearchAutocomplete.mjs +68 -0
  181. package/dist/useSearchAutocomplete.module.js +68 -0
  182. package/dist/useSearchAutocomplete.module.js.map +1 -0
  183. package/dist/zh-CN.main.js +6 -0
  184. package/dist/zh-CN.main.js.map +1 -0
  185. package/dist/zh-CN.mjs +8 -0
  186. package/dist/zh-CN.module.js +8 -0
  187. package/dist/zh-CN.module.js.map +1 -0
  188. package/dist/zh-TW.main.js +6 -0
  189. package/dist/zh-TW.main.js.map +1 -0
  190. package/dist/zh-TW.mjs +8 -0
  191. package/dist/zh-TW.module.js +8 -0
  192. package/dist/zh-TW.module.js.map +1 -0
  193. package/package.json +23 -21
  194. package/src/index.ts +5 -1
  195. package/src/useAutocomplete.ts +364 -0
  196. package/src/useSearchAutocomplete.ts +62 -27
package/dist/nl-NL.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $1397b38c000e3e4b$exports = {};
2
+ $1397b38c000e3e4b$exports = {
3
+ "collectionLabel": `Suggesties`
4
+ };
5
+
6
+
7
+ export {$1397b38c000e3e4b$exports as default};
8
+ //# sourceMappingURL=nl-NL.module.js.map
@@ -0,0 +1,8 @@
1
+ var $1397b38c000e3e4b$exports = {};
2
+ $1397b38c000e3e4b$exports = {
3
+ "collectionLabel": `Suggesties`
4
+ };
5
+
6
+
7
+ export {$1397b38c000e3e4b$exports as default};
8
+ //# sourceMappingURL=nl-NL.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,UAAU,CAAC;AACnD","sources":["packages/@react-aria/autocomplete/intl/nl-NL.json"],"sourcesContent":["{\n \"collectionLabel\": \"Suggesties\"\n}\n"],"names":[],"version":3,"file":"nl-NL.module.js.map"}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "collectionLabel": `Sugestie`
3
+ };
4
+
5
+
6
+ //# sourceMappingURL=pl-PL.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,mBAAmB,CAAC,QAAQ,CAAC;AACjD","sources":["packages/@react-aria/autocomplete/intl/pl-PL.json"],"sourcesContent":["{\n \"collectionLabel\": \"Sugestie\"\n}\n"],"names":[],"version":3,"file":"pl-PL.main.js.map"}
package/dist/pl-PL.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $25bedea7b332a070$exports = {};
2
+ $25bedea7b332a070$exports = {
3
+ "collectionLabel": `Sugestie`
4
+ };
5
+
6
+
7
+ export {$25bedea7b332a070$exports as default};
8
+ //# sourceMappingURL=pl-PL.module.js.map
@@ -0,0 +1,8 @@
1
+ var $25bedea7b332a070$exports = {};
2
+ $25bedea7b332a070$exports = {
3
+ "collectionLabel": `Sugestie`
4
+ };
5
+
6
+
7
+ export {$25bedea7b332a070$exports as default};
8
+ //# sourceMappingURL=pl-PL.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,QAAQ,CAAC;AACjD","sources":["packages/@react-aria/autocomplete/intl/pl-PL.json"],"sourcesContent":["{\n \"collectionLabel\": \"Sugestie\"\n}\n"],"names":[],"version":3,"file":"pl-PL.module.js.map"}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "collectionLabel": `Sugest\xf5es`
3
+ };
4
+
5
+
6
+ //# sourceMappingURL=pt-BR.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,mBAAmB,CAAC,YAAS,CAAC;AAClD","sources":["packages/@react-aria/autocomplete/intl/pt-BR.json"],"sourcesContent":["{\n \"collectionLabel\": \"Sugestões\"\n}\n"],"names":[],"version":3,"file":"pt-BR.main.js.map"}
package/dist/pt-BR.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $1e398002a8be3d02$exports = {};
2
+ $1e398002a8be3d02$exports = {
3
+ "collectionLabel": `Sugest\xf5es`
4
+ };
5
+
6
+
7
+ export {$1e398002a8be3d02$exports as default};
8
+ //# sourceMappingURL=pt-BR.module.js.map
@@ -0,0 +1,8 @@
1
+ var $1e398002a8be3d02$exports = {};
2
+ $1e398002a8be3d02$exports = {
3
+ "collectionLabel": `Sugest\xf5es`
4
+ };
5
+
6
+
7
+ export {$1e398002a8be3d02$exports as default};
8
+ //# sourceMappingURL=pt-BR.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,YAAS,CAAC;AAClD","sources":["packages/@react-aria/autocomplete/intl/pt-BR.json"],"sourcesContent":["{\n \"collectionLabel\": \"Sugestões\"\n}\n"],"names":[],"version":3,"file":"pt-BR.module.js.map"}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "collectionLabel": `Sugest\xf5es`
3
+ };
4
+
5
+
6
+ //# sourceMappingURL=pt-PT.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,mBAAmB,CAAC,YAAS,CAAC;AAClD","sources":["packages/@react-aria/autocomplete/intl/pt-PT.json"],"sourcesContent":["{\n \"collectionLabel\": \"Sugestões\"\n}\n"],"names":[],"version":3,"file":"pt-PT.main.js.map"}
package/dist/pt-PT.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $ae2286b176a3af67$exports = {};
2
+ $ae2286b176a3af67$exports = {
3
+ "collectionLabel": `Sugest\xf5es`
4
+ };
5
+
6
+
7
+ export {$ae2286b176a3af67$exports as default};
8
+ //# sourceMappingURL=pt-PT.module.js.map
@@ -0,0 +1,8 @@
1
+ var $ae2286b176a3af67$exports = {};
2
+ $ae2286b176a3af67$exports = {
3
+ "collectionLabel": `Sugest\xf5es`
4
+ };
5
+
6
+
7
+ export {$ae2286b176a3af67$exports as default};
8
+ //# sourceMappingURL=pt-PT.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,YAAS,CAAC;AAClD","sources":["packages/@react-aria/autocomplete/intl/pt-PT.json"],"sourcesContent":["{\n \"collectionLabel\": \"Sugestões\"\n}\n"],"names":[],"version":3,"file":"pt-PT.module.js.map"}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "collectionLabel": `Sugestii`
3
+ };
4
+
5
+
6
+ //# sourceMappingURL=ro-RO.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,mBAAmB,CAAC,QAAQ,CAAC;AACjD","sources":["packages/@react-aria/autocomplete/intl/ro-RO.json"],"sourcesContent":["{\n \"collectionLabel\": \"Sugestii\"\n}\n"],"names":[],"version":3,"file":"ro-RO.main.js.map"}
package/dist/ro-RO.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $42d5bcc619a7aaac$exports = {};
2
+ $42d5bcc619a7aaac$exports = {
3
+ "collectionLabel": `Sugestii`
4
+ };
5
+
6
+
7
+ export {$42d5bcc619a7aaac$exports as default};
8
+ //# sourceMappingURL=ro-RO.module.js.map
@@ -0,0 +1,8 @@
1
+ var $42d5bcc619a7aaac$exports = {};
2
+ $42d5bcc619a7aaac$exports = {
3
+ "collectionLabel": `Sugestii`
4
+ };
5
+
6
+
7
+ export {$42d5bcc619a7aaac$exports as default};
8
+ //# sourceMappingURL=ro-RO.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,QAAQ,CAAC;AACjD","sources":["packages/@react-aria/autocomplete/intl/ro-RO.json"],"sourcesContent":["{\n \"collectionLabel\": \"Sugestii\"\n}\n"],"names":[],"version":3,"file":"ro-RO.module.js.map"}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "collectionLabel": `\u{41F}\u{440}\u{435}\u{434}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{44F}`
3
+ };
4
+
5
+
6
+ //# sourceMappingURL=ru-RU.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,mBAAmB,CAAC,6EAAW,CAAC;AACpD","sources":["packages/@react-aria/autocomplete/intl/ru-RU.json"],"sourcesContent":["{\n \"collectionLabel\": \"Предложения\"\n}\n"],"names":[],"version":3,"file":"ru-RU.main.js.map"}
package/dist/ru-RU.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $bafcc9870f83af97$exports = {};
2
+ $bafcc9870f83af97$exports = {
3
+ "collectionLabel": `\u{41F}\u{440}\u{435}\u{434}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{44F}`
4
+ };
5
+
6
+
7
+ export {$bafcc9870f83af97$exports as default};
8
+ //# sourceMappingURL=ru-RU.module.js.map
@@ -0,0 +1,8 @@
1
+ var $bafcc9870f83af97$exports = {};
2
+ $bafcc9870f83af97$exports = {
3
+ "collectionLabel": `\u{41F}\u{440}\u{435}\u{434}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{44F}`
4
+ };
5
+
6
+
7
+ export {$bafcc9870f83af97$exports as default};
8
+ //# sourceMappingURL=ru-RU.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,6EAAW,CAAC;AACpD","sources":["packages/@react-aria/autocomplete/intl/ru-RU.json"],"sourcesContent":["{\n \"collectionLabel\": \"Предложения\"\n}\n"],"names":[],"version":3,"file":"ru-RU.module.js.map"}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "collectionLabel": `N\xe1vrhy`
3
+ };
4
+
5
+
6
+ //# sourceMappingURL=sk-SK.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,mBAAmB,CAAC,SAAM,CAAC;AAC/C","sources":["packages/@react-aria/autocomplete/intl/sk-SK.json"],"sourcesContent":["{\n \"collectionLabel\": \"Návrhy\"\n}\n"],"names":[],"version":3,"file":"sk-SK.main.js.map"}
package/dist/sk-SK.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $a59a67776704c670$exports = {};
2
+ $a59a67776704c670$exports = {
3
+ "collectionLabel": `N\xe1vrhy`
4
+ };
5
+
6
+
7
+ export {$a59a67776704c670$exports as default};
8
+ //# sourceMappingURL=sk-SK.module.js.map
@@ -0,0 +1,8 @@
1
+ var $a59a67776704c670$exports = {};
2
+ $a59a67776704c670$exports = {
3
+ "collectionLabel": `N\xe1vrhy`
4
+ };
5
+
6
+
7
+ export {$a59a67776704c670$exports as default};
8
+ //# sourceMappingURL=sk-SK.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,SAAM,CAAC;AAC/C","sources":["packages/@react-aria/autocomplete/intl/sk-SK.json"],"sourcesContent":["{\n \"collectionLabel\": \"Návrhy\"\n}\n"],"names":[],"version":3,"file":"sk-SK.module.js.map"}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "collectionLabel": `Predlogi`
3
+ };
4
+
5
+
6
+ //# sourceMappingURL=sl-SI.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,mBAAmB,CAAC,QAAQ,CAAC;AACjD","sources":["packages/@react-aria/autocomplete/intl/sl-SI.json"],"sourcesContent":["{\n \"collectionLabel\": \"Predlogi\"\n}\n"],"names":[],"version":3,"file":"sl-SI.main.js.map"}
package/dist/sl-SI.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $070e1709fddbf199$exports = {};
2
+ $070e1709fddbf199$exports = {
3
+ "collectionLabel": `Predlogi`
4
+ };
5
+
6
+
7
+ export {$070e1709fddbf199$exports as default};
8
+ //# sourceMappingURL=sl-SI.module.js.map
@@ -0,0 +1,8 @@
1
+ var $070e1709fddbf199$exports = {};
2
+ $070e1709fddbf199$exports = {
3
+ "collectionLabel": `Predlogi`
4
+ };
5
+
6
+
7
+ export {$070e1709fddbf199$exports as default};
8
+ //# sourceMappingURL=sl-SI.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,QAAQ,CAAC;AACjD","sources":["packages/@react-aria/autocomplete/intl/sl-SI.json"],"sourcesContent":["{\n \"collectionLabel\": \"Predlogi\"\n}\n"],"names":[],"version":3,"file":"sl-SI.module.js.map"}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "collectionLabel": `Predlozi`
3
+ };
4
+
5
+
6
+ //# sourceMappingURL=sr-SP.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,mBAAmB,CAAC,QAAQ,CAAC;AACjD","sources":["packages/@react-aria/autocomplete/intl/sr-SP.json"],"sourcesContent":["{\n \"collectionLabel\": \"Predlozi\"\n}\n"],"names":[],"version":3,"file":"sr-SP.main.js.map"}
package/dist/sr-SP.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $4ed19d2fc07f94be$exports = {};
2
+ $4ed19d2fc07f94be$exports = {
3
+ "collectionLabel": `Predlozi`
4
+ };
5
+
6
+
7
+ export {$4ed19d2fc07f94be$exports as default};
8
+ //# sourceMappingURL=sr-SP.module.js.map
@@ -0,0 +1,8 @@
1
+ var $4ed19d2fc07f94be$exports = {};
2
+ $4ed19d2fc07f94be$exports = {
3
+ "collectionLabel": `Predlozi`
4
+ };
5
+
6
+
7
+ export {$4ed19d2fc07f94be$exports as default};
8
+ //# sourceMappingURL=sr-SP.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,QAAQ,CAAC;AACjD","sources":["packages/@react-aria/autocomplete/intl/sr-SP.json"],"sourcesContent":["{\n \"collectionLabel\": \"Predlozi\"\n}\n"],"names":[],"version":3,"file":"sr-SP.module.js.map"}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "collectionLabel": `F\xf6rslag`
3
+ };
4
+
5
+
6
+ //# sourceMappingURL=sv-SE.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,mBAAmB,CAAC,UAAO,CAAC;AAChD","sources":["packages/@react-aria/autocomplete/intl/sv-SE.json"],"sourcesContent":["{\n \"collectionLabel\": \"Förslag\"\n}\n"],"names":[],"version":3,"file":"sv-SE.main.js.map"}
package/dist/sv-SE.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $bb4efe76ac2ad6af$exports = {};
2
+ $bb4efe76ac2ad6af$exports = {
3
+ "collectionLabel": `F\xf6rslag`
4
+ };
5
+
6
+
7
+ export {$bb4efe76ac2ad6af$exports as default};
8
+ //# sourceMappingURL=sv-SE.module.js.map
@@ -0,0 +1,8 @@
1
+ var $bb4efe76ac2ad6af$exports = {};
2
+ $bb4efe76ac2ad6af$exports = {
3
+ "collectionLabel": `F\xf6rslag`
4
+ };
5
+
6
+
7
+ export {$bb4efe76ac2ad6af$exports as default};
8
+ //# sourceMappingURL=sv-SE.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,UAAO,CAAC;AAChD","sources":["packages/@react-aria/autocomplete/intl/sv-SE.json"],"sourcesContent":["{\n \"collectionLabel\": \"Förslag\"\n}\n"],"names":[],"version":3,"file":"sv-SE.module.js.map"}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "collectionLabel": `\xd6neriler`
3
+ };
4
+
5
+
6
+ //# sourceMappingURL=tr-TR.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,mBAAmB,CAAC,WAAQ,CAAC;AACjD","sources":["packages/@react-aria/autocomplete/intl/tr-TR.json"],"sourcesContent":["{\n \"collectionLabel\": \"Öneriler\"\n}\n"],"names":[],"version":3,"file":"tr-TR.main.js.map"}
package/dist/tr-TR.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $ecc6dce838a94ce1$exports = {};
2
+ $ecc6dce838a94ce1$exports = {
3
+ "collectionLabel": `\xd6neriler`
4
+ };
5
+
6
+
7
+ export {$ecc6dce838a94ce1$exports as default};
8
+ //# sourceMappingURL=tr-TR.module.js.map
@@ -0,0 +1,8 @@
1
+ var $ecc6dce838a94ce1$exports = {};
2
+ $ecc6dce838a94ce1$exports = {
3
+ "collectionLabel": `\xd6neriler`
4
+ };
5
+
6
+
7
+ export {$ecc6dce838a94ce1$exports as default};
8
+ //# sourceMappingURL=tr-TR.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,WAAQ,CAAC;AACjD","sources":["packages/@react-aria/autocomplete/intl/tr-TR.json"],"sourcesContent":["{\n \"collectionLabel\": \"Öneriler\"\n}\n"],"names":[],"version":3,"file":"tr-TR.module.js.map"}
package/dist/types.d.ts CHANGED
@@ -1,20 +1,12 @@
1
1
  import { AriaButtonProps } from "@react-types/button";
2
2
  import { AriaListBoxOptions } from "@react-aria/listbox";
3
+ import { AriaSearchAutocompleteProps } from "@react-types/autocomplete";
3
4
  import { ComboBoxState } from "@react-stately/combobox";
4
- import { DOMAttributes, KeyboardDelegate } from "@react-types/shared";
5
- import { InputHTMLAttributes, RefObject } from "react";
6
- import { SearchAutocompleteProps } from "@react-types/autocomplete";
7
- export interface AriaSearchAutocompleteProps<T> extends SearchAutocompleteProps<T> {
8
- /** The ref for the input element. */
9
- inputRef: RefObject<HTMLInputElement>;
10
- /** The ref for the list box popover. */
11
- popoverRef: RefObject<HTMLDivElement>;
12
- /** The ref for the list box. */
13
- listBoxRef: RefObject<HTMLElement>;
14
- /** An optional keyboard delegate implementation, to override the default. */
15
- keyboardDelegate?: KeyboardDelegate;
16
- }
17
- export interface SearchAutocompleteAria<T> {
5
+ import { DOMAttributes, KeyboardDelegate, LayoutDelegate, RefObject, ValidationResult, AriaLabelingProps, DOMProps } from "@react-types/shared";
6
+ import { InputHTMLAttributes } from "react";
7
+ import { AriaTextFieldProps } from "@react-aria/textfield";
8
+ import { AutocompleteProps, AutocompleteState } from "@react-stately/autocomplete";
9
+ export interface SearchAutocompleteAria<T> extends ValidationResult {
18
10
  /** Props for the label element. */
19
11
  labelProps: DOMAttributes;
20
12
  /** Props for the search input element. */
@@ -23,6 +15,26 @@ export interface SearchAutocompleteAria<T> {
23
15
  listBoxProps: AriaListBoxOptions<T>;
24
16
  /** Props for the search input's clear button. */
25
17
  clearButtonProps: AriaButtonProps;
18
+ /** Props for the search autocomplete description element, if any. */
19
+ descriptionProps: DOMAttributes;
20
+ /** Props for the search autocomplete error message element, if any. */
21
+ errorMessageProps: DOMAttributes;
22
+ }
23
+ export interface AriaSearchAutocompleteOptions<T> extends AriaSearchAutocompleteProps<T> {
24
+ /** The ref for the input element. */
25
+ inputRef: RefObject<HTMLInputElement | null>;
26
+ /** The ref for the list box popover. */
27
+ popoverRef: RefObject<HTMLDivElement | null>;
28
+ /** The ref for the list box. */
29
+ listBoxRef: RefObject<HTMLElement | null>;
30
+ /** An optional keyboard delegate implementation, to override the default. */
31
+ keyboardDelegate?: KeyboardDelegate;
32
+ /**
33
+ * A delegate object that provides layout information for items in the collection.
34
+ * By default this uses the DOM, but this can be overridden to implement things like
35
+ * virtualized scrolling.
36
+ */
37
+ layoutDelegate?: LayoutDelegate;
26
38
  }
27
39
  /**
28
40
  * Provides the behavior and accessibility implementation for a search autocomplete component.
@@ -30,6 +42,48 @@ export interface SearchAutocompleteAria<T> {
30
42
  * @param props - Props for the search autocomplete.
31
43
  * @param state - State for the search autocomplete, as returned by `useSearchAutocomplete`.
32
44
  */
33
- export function useSearchAutocomplete<T>(props: AriaSearchAutocompleteProps<T>, state: ComboBoxState<T>): SearchAutocompleteAria<T>;
45
+ export function useSearchAutocomplete<T>(props: AriaSearchAutocompleteOptions<T>, state: ComboBoxState<T>): SearchAutocompleteAria<T>;
46
+ export interface CollectionOptions extends DOMProps, AriaLabelingProps {
47
+ /** Whether the collection items should use virtual focus instead of being focused directly. */
48
+ shouldUseVirtualFocus: boolean;
49
+ /** Whether typeahead is disabled. */
50
+ disallowTypeAhead: boolean;
51
+ }
52
+ export interface AriaAutocompleteProps extends AutocompleteProps {
53
+ /**
54
+ * An optional filter function used to determine if a option should be included in the autocomplete list.
55
+ * Include this if the items you are providing to your wrapped collection aren't filtered by default.
56
+ */
57
+ filter?: (textValue: string, inputValue: string) => boolean;
58
+ /**
59
+ * Whether or not to focus the first item in the collection after a filter is performed.
60
+ * @default false
61
+ */
62
+ disableAutoFocusFirst?: boolean;
63
+ }
64
+ export interface AriaAutocompleteOptions extends Omit<AriaAutocompleteProps, 'children'> {
65
+ /** The ref for the wrapped collection element. */
66
+ inputRef: RefObject<HTMLInputElement | null>;
67
+ /** The ref for the wrapped collection element. */
68
+ collectionRef: RefObject<HTMLElement | null>;
69
+ }
70
+ export interface AutocompleteAria {
71
+ /** Props for the autocomplete textfield/searchfield element. These should be passed to the textfield/searchfield aria hooks respectively. */
72
+ textFieldProps: AriaTextFieldProps;
73
+ /** Props for the collection, to be passed to collection's respective aria hook (e.g. useMenu). */
74
+ collectionProps: CollectionOptions;
75
+ /** Ref to attach to the wrapped collection. */
76
+ collectionRef: RefObject<HTMLElement | null>;
77
+ /** A filter function that returns if the provided collection node should be filtered out of the collection. */
78
+ filter?: (nodeTextValue: string) => boolean;
79
+ }
80
+ /**
81
+ * Provides the behavior and accessibility implementation for an autocomplete component.
82
+ * An autocomplete combines a text input with a collection, allowing users to filter the collection's contents match a query.
83
+ * @param props - Props for the autocomplete.
84
+ * @param state - State for the autocomplete, as returned by `useAutocompleteState`.
85
+ */
86
+ export function useAutocomplete(props: AriaAutocompleteOptions, state: AutocompleteState): AutocompleteAria;
87
+ export type { AriaSearchAutocompleteProps } from '@react-types/autocomplete';
34
88
 
35
89
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"mappings":";;;;;;AAuBA,6CAA6C,CAAC,CAAE,SAAQ,wBAAwB,CAAC,CAAC;IAChF,qCAAqC;IACrC,QAAQ,EAAE,UAAU,gBAAgB,CAAC,CAAC;IACtC,wCAAwC;IACxC,UAAU,EAAE,UAAU,cAAc,CAAC,CAAC;IACtC,gCAAgC;IAChC,UAAU,EAAE,UAAU,WAAW,CAAC,CAAC;IACnC,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;CACpC;AAED,wCAAwC,CAAC;IACvC,mCAAmC;IACnC,UAAU,EAAE,aAAa,CAAC;IAC1B,0CAA0C;IAC1C,UAAU,EAAE,oBAAoB,gBAAgB,CAAC,CAAC;IAClD,6EAA6E;IAC7E,YAAY,EAAE,mBAAmB,CAAC,CAAC,CAAC;IACpC,iDAAiD;IACjD,gBAAgB,EAAE,eAAe,CAAA;CAClC;AAED;;;;;GAKG;AACH,sCAAsC,CAAC,EAAE,KAAK,EAAE,4BAA4B,CAAC,CAAC,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC,GAAG,uBAAuB,CAAC,CAAC,CA8ClI","sources":["packages/@react-aria/autocomplete/src/packages/@react-aria/autocomplete/src/useSearchAutocomplete.ts","packages/@react-aria/autocomplete/src/packages/@react-aria/autocomplete/src/index.ts","packages/@react-aria/autocomplete/src/index.ts"],"sourcesContent":[null,null,"/*\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 */\nexport {useSearchAutocomplete} from './useSearchAutocomplete';\nexport type {AriaSearchAutocompleteProps, SearchAutocompleteAria} from './useSearchAutocomplete';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";;;;;;;;AAsBA,wCAAwC,CAAC,CAAE,SAAQ,gBAAgB;IACjE,mCAAmC;IACnC,UAAU,EAAE,aAAa,CAAC;IAC1B,0CAA0C;IAC1C,UAAU,EAAE,oBAAoB,gBAAgB,CAAC,CAAC;IAClD,6EAA6E;IAC7E,YAAY,EAAE,mBAAmB,CAAC,CAAC,CAAC;IACpC,iDAAiD;IACjD,gBAAgB,EAAE,eAAe,CAAC;IAClC,qEAAqE;IACrE,gBAAgB,EAAE,aAAa,CAAC;IAChC,uEAAuE;IACvE,iBAAiB,EAAE,aAAa,CAAA;CACjC;AAED,+CAA+C,CAAC,CAAE,SAAQ,4BAA4B,CAAC,CAAC;IACtF,qCAAqC;IACrC,QAAQ,EAAE,UAAU,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAC7C,wCAAwC;IACxC,UAAU,EAAE,UAAU,cAAc,GAAG,IAAI,CAAC,CAAC;IAC7C,gCAAgC;IAChC,UAAU,EAAE,UAAU,WAAW,GAAG,IAAI,CAAC,CAAC;IAC1C,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC;;;;OAIG;IACH,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC;AAED;;;;;GAKG;AACH,sCAAsC,CAAC,EAAE,KAAK,EAAE,8BAA8B,CAAC,CAAC,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC,GAAG,uBAAuB,CAAC,CAAC,CAwEpI;AC7GD,kCAAmC,SAAQ,QAAQ,EAAE,iBAAiB;IACpE,+FAA+F;IAC/F,qBAAqB,EAAE,OAAO,CAAC;IAC/B,qCAAqC;IACrC,iBAAiB,EAAE,OAAO,CAAA;CAC3B;AACD,sCAAuC,SAAQ,iBAAiB;IAC9D;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC;IAE5D;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC;AAED,wCAAyC,SAAQ,IAAI,CAAC,qBAAqB,EAAE,UAAU,CAAC;IACtF,kDAAkD;IAClD,QAAQ,EAAE,UAAU,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAC7C,kDAAkD;IAClD,aAAa,EAAE,UAAU,WAAW,GAAG,IAAI,CAAC,CAAA;CAC7C;AAED;IACE,6IAA6I;IAC7I,cAAc,EAAE,kBAAkB,CAAC;IACnC,kGAAkG;IAClG,eAAe,EAAE,iBAAiB,CAAC;IACnC,+CAA+C;IAC/C,aAAa,EAAE,UAAU,WAAW,GAAG,IAAI,CAAC,CAAC;IAC7C,+GAA+G;IAC/G,MAAM,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,OAAO,CAAA;CAC5C;AAED;;;;;GAKG;AACH,gCAAgC,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,iBAAiB,GAAG,gBAAgB,CAwS1G;AC5VD,YAAY,EAAC,2BAA2B,EAAC,MAAM,2BAA2B,CAAC","sources":["packages/@react-aria/autocomplete/src/packages/@react-aria/autocomplete/src/useSearchAutocomplete.ts","packages/@react-aria/autocomplete/src/packages/@react-aria/autocomplete/src/useAutocomplete.ts","packages/@react-aria/autocomplete/src/packages/@react-aria/autocomplete/src/index.ts","packages/@react-aria/autocomplete/src/index.ts"],"sourcesContent":[null,null,null,"/*\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 */\nexport {useSearchAutocomplete} from './useSearchAutocomplete';\nexport {useAutocomplete} from './useAutocomplete';\n\nexport type {AriaSearchAutocompleteOptions, SearchAutocompleteAria} from './useSearchAutocomplete';\nexport type {AriaSearchAutocompleteProps} from '@react-types/autocomplete';\nexport type {AriaAutocompleteProps, AriaAutocompleteOptions, AutocompleteAria, CollectionOptions} from './useAutocomplete';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ "collectionLabel": `\u{41F}\u{440}\u{43E}\u{43F}\u{43E}\u{437}\u{438}\u{446}\u{456}\u{457}`
3
+ };
4
+
5
+
6
+ //# sourceMappingURL=uk-UA.main.js.map
@@ -0,0 +1 @@
1
+ {"mappings":"AAAA,iBAAiB;IAAG,mBAAmB,CAAC,sEAAU,CAAC;AACnD","sources":["packages/@react-aria/autocomplete/intl/uk-UA.json"],"sourcesContent":["{\n \"collectionLabel\": \"Пропозиції\"\n}\n"],"names":[],"version":3,"file":"uk-UA.main.js.map"}
package/dist/uk-UA.mjs ADDED
@@ -0,0 +1,8 @@
1
+ var $61d6a54fe0f4cb76$exports = {};
2
+ $61d6a54fe0f4cb76$exports = {
3
+ "collectionLabel": `\u{41F}\u{440}\u{43E}\u{43F}\u{43E}\u{437}\u{438}\u{446}\u{456}\u{457}`
4
+ };
5
+
6
+
7
+ export {$61d6a54fe0f4cb76$exports as default};
8
+ //# sourceMappingURL=uk-UA.module.js.map
@@ -0,0 +1,8 @@
1
+ var $61d6a54fe0f4cb76$exports = {};
2
+ $61d6a54fe0f4cb76$exports = {
3
+ "collectionLabel": `\u{41F}\u{440}\u{43E}\u{43F}\u{43E}\u{437}\u{438}\u{446}\u{456}\u{457}`
4
+ };
5
+
6
+
7
+ export {$61d6a54fe0f4cb76$exports as default};
8
+ //# sourceMappingURL=uk-UA.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";AAAA,4BAAiB;IAAG,mBAAmB,CAAC,sEAAU,CAAC;AACnD","sources":["packages/@react-aria/autocomplete/intl/uk-UA.json"],"sourcesContent":["{\n \"collectionLabel\": \"Пропозиції\"\n}\n"],"names":[],"version":3,"file":"uk-UA.module.js.map"}