@commercetools/nimbus 2.1.0 → 2.2.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 (864) hide show
  1. package/README.md +87 -21
  2. package/dist/chunks/{CollectionBuilder-ZlIN4SR4.es.js → CollectionBuilder-BOe312C_.es.js} +6 -24
  3. package/dist/chunks/{CollectionBuilder-ZlIN4SR4.es.js.map → CollectionBuilder-BOe312C_.es.js.map} +1 -1
  4. package/dist/chunks/{CollectionBuilder-BipvtvSl.cjs.js → CollectionBuilder-DjRx57vm.cjs.js} +2 -18
  5. package/dist/chunks/{CollectionBuilder-BipvtvSl.cjs.js.map → CollectionBuilder-DjRx57vm.cjs.js.map} +1 -1
  6. package/dist/chunks/DateField-BxXzaXAv.cjs.js +2 -0
  7. package/dist/chunks/DateField-BxXzaXAv.cjs.js.map +1 -0
  8. package/dist/chunks/{DateField-C5JgBb30.es.js → DateField-DCWy1Ysp.es.js} +662 -631
  9. package/dist/chunks/DateField-DCWy1Ysp.es.js.map +1 -0
  10. package/dist/chunks/{DatePicker-DeknOPX6.es.js → DatePicker-CL72jbDo.es.js} +6 -6
  11. package/dist/chunks/{DatePicker-DeknOPX6.es.js.map → DatePicker-CL72jbDo.es.js.map} +1 -1
  12. package/dist/chunks/{DatePicker-DGLrUdLu.cjs.js → DatePicker-NWRDzwUt.cjs.js} +2 -2
  13. package/dist/chunks/{DatePicker-DGLrUdLu.cjs.js.map → DatePicker-NWRDzwUt.cjs.js.map} +1 -1
  14. package/dist/chunks/{Dialog-DUbUCf4o.es.js → Dialog-B0BQfdQa.es.js} +58 -58
  15. package/dist/chunks/{Dialog-DUbUCf4o.es.js.map → Dialog-B0BQfdQa.es.js.map} +1 -1
  16. package/dist/chunks/{Dialog-Ye_7tQZU.cjs.js → Dialog-CSr6lHSd.cjs.js} +2 -2
  17. package/dist/chunks/{Dialog-Ye_7tQZU.cjs.js.map → Dialog-CSr6lHSd.cjs.js.map} +1 -1
  18. package/dist/chunks/{Header-Bvl-gjeR.cjs.js → Header-BXEPjypM.cjs.js} +2 -2
  19. package/dist/chunks/{Header-Bvl-gjeR.cjs.js.map → Header-BXEPjypM.cjs.js.map} +1 -1
  20. package/dist/chunks/{Header-Bvo6aMcQ.es.js → Header-CiYtrnTw.es.js} +3 -3
  21. package/dist/chunks/{Header-Bvo6aMcQ.es.js.map → Header-CiYtrnTw.es.js.map} +1 -1
  22. package/dist/chunks/{Heading-D7Ut7eK3.es.js → Heading-BMsylHxq.es.js} +3 -3
  23. package/dist/chunks/{Heading-D7Ut7eK3.es.js.map → Heading-BMsylHxq.es.js.map} +1 -1
  24. package/dist/chunks/{Heading-kcnZ-PKv.cjs.js → Heading-C7J8IDnn.cjs.js} +2 -2
  25. package/dist/chunks/{Heading-kcnZ-PKv.cjs.js.map → Heading-C7J8IDnn.cjs.js.map} +1 -1
  26. package/dist/chunks/{ListBox-C8TVMFFY.es.js → ListBox-RrHJjnuq.es.js} +34 -36
  27. package/dist/chunks/{ListBox-C8TVMFFY.es.js.map → ListBox-RrHJjnuq.es.js.map} +1 -1
  28. package/dist/chunks/{ListBox-Dcnj8pHo.cjs.js → ListBox-rm_vuzPg.cjs.js} +2 -2
  29. package/dist/chunks/{ListBox-Dcnj8pHo.cjs.js.map → ListBox-rm_vuzPg.cjs.js.map} +1 -1
  30. package/dist/chunks/LocalizedStringDictionary-DZNwHzto.cjs.js +2 -0
  31. package/dist/chunks/LocalizedStringDictionary-DZNwHzto.cjs.js.map +1 -0
  32. package/dist/chunks/LocalizedStringDictionary-rmcyf3BY.es.js +48 -0
  33. package/dist/chunks/LocalizedStringDictionary-rmcyf3BY.es.js.map +1 -0
  34. package/dist/chunks/{Modal-CMJEwrBs.es.js → Modal-K4JEy19g.es.js} +3 -3
  35. package/dist/chunks/{Modal-CMJEwrBs.es.js.map → Modal-K4JEy19g.es.js.map} +1 -1
  36. package/dist/chunks/{Modal-DjOIA2BE.cjs.js → Modal-u97jKK9t.cjs.js} +2 -2
  37. package/dist/chunks/{Modal-DjOIA2BE.cjs.js.map → Modal-u97jKK9t.cjs.js.map} +1 -1
  38. package/dist/chunks/{SelectionManager-CCETIs4l.cjs.js → SelectionManager-5YkuhVau.cjs.js} +2 -2
  39. package/dist/chunks/{SelectionManager-CCETIs4l.cjs.js.map → SelectionManager-5YkuhVau.cjs.js.map} +1 -1
  40. package/dist/chunks/{SelectionManager-bgcDT3lR.es.js → SelectionManager-CX9btso_.es.js} +24 -31
  41. package/dist/chunks/{SelectionManager-bgcDT3lR.es.js.map → SelectionManager-CX9btso_.es.js.map} +1 -1
  42. package/dist/chunks/{Separator-DyU2njbj.cjs.js → Separator-BvA4UGuq.cjs.js} +2 -2
  43. package/dist/chunks/{Separator-DyU2njbj.cjs.js.map → Separator-BvA4UGuq.cjs.js.map} +1 -1
  44. package/dist/chunks/{Separator-BmVimNX_.es.js → Separator-x6wk4JUe.es.js} +2 -2
  45. package/dist/chunks/{Separator-BmVimNX_.es.js.map → Separator-x6wk4JUe.es.js.map} +1 -1
  46. package/dist/chunks/{accordion-AupzDJ2i.cjs.js → accordion-CVpg-FdJ.cjs.js} +2 -2
  47. package/dist/chunks/{accordion-AupzDJ2i.cjs.js.map → accordion-CVpg-FdJ.cjs.js.map} +1 -1
  48. package/dist/chunks/{accordion-Bu9iEN-Z.es.js → accordion-Dh0RVlNx.es.js} +2 -2
  49. package/dist/chunks/{accordion-Bu9iEN-Z.es.js.map → accordion-Dh0RVlNx.es.js.map} +1 -1
  50. package/dist/chunks/{accordion.content-DwLtYzIy.cjs.js → accordion.content-Cqet9SQ-.cjs.js} +2 -2
  51. package/dist/chunks/{accordion.content-DwLtYzIy.cjs.js.map → accordion.content-Cqet9SQ-.cjs.js.map} +1 -1
  52. package/dist/chunks/{accordion.content-C8iYlvoi.es.js → accordion.content-GGayEeqD.es.js} +2 -2
  53. package/dist/chunks/{accordion.content-C8iYlvoi.es.js.map → accordion.content-GGayEeqD.es.js.map} +1 -1
  54. package/dist/chunks/alert-DCgWOaY2.es.js +158 -0
  55. package/dist/chunks/alert-DCgWOaY2.es.js.map +1 -0
  56. package/dist/chunks/alert-pPmN9CXZ.cjs.js +2 -0
  57. package/dist/chunks/alert-pPmN9CXZ.cjs.js.map +1 -0
  58. package/dist/chunks/avatar-1Y7cLjZT.es.js +59 -0
  59. package/dist/chunks/avatar-1Y7cLjZT.es.js.map +1 -0
  60. package/dist/chunks/avatar-BVQ91Ccd.cjs.js +2 -0
  61. package/dist/chunks/avatar-BVQ91Ccd.cjs.js.map +1 -0
  62. package/dist/chunks/box-CWni3A32.cjs.js.map +1 -1
  63. package/dist/chunks/box-DuBoAZvq.es.js.map +1 -1
  64. package/dist/chunks/{button-czddlTvJ.es.js → button-BEJnxXsL.es.js} +2 -2
  65. package/dist/chunks/{button-czddlTvJ.es.js.map → button-BEJnxXsL.es.js.map} +1 -1
  66. package/dist/chunks/{button-DF_RV6pd.cjs.js → button-BR4fvcmi.cjs.js} +2 -2
  67. package/dist/chunks/{button-DF_RV6pd.cjs.js.map → button-BR4fvcmi.cjs.js.map} +1 -1
  68. package/dist/chunks/calendar-B01Vti5k.cjs.js +2 -0
  69. package/dist/chunks/calendar-B01Vti5k.cjs.js.map +1 -0
  70. package/dist/chunks/calendar-lSoXK-yt.es.js +227 -0
  71. package/dist/chunks/calendar-lSoXK-yt.es.js.map +1 -0
  72. package/dist/chunks/card-Bk3xHlo2.cjs.js +2 -0
  73. package/dist/chunks/card-Bk3xHlo2.cjs.js.map +1 -0
  74. package/dist/chunks/card-q5i119kB.es.js +115 -0
  75. package/dist/chunks/card-q5i119kB.es.js.map +1 -0
  76. package/dist/chunks/{checkbox-CWhwDnrI.cjs.js → checkbox-BJANm94D.cjs.js} +2 -2
  77. package/dist/chunks/{checkbox-CWhwDnrI.cjs.js.map → checkbox-BJANm94D.cjs.js.map} +1 -1
  78. package/dist/chunks/{checkbox-BAZ2ps7B.es.js → checkbox-CputcCVr.es.js} +2 -2
  79. package/dist/chunks/{checkbox-BAZ2ps7B.es.js.map → checkbox-CputcCVr.es.js.map} +1 -1
  80. package/dist/chunks/{collapsible-motion-D4u7W2de.cjs.js → collapsible-motion-Biq0QGUr.cjs.js} +2 -2
  81. package/dist/chunks/{collapsible-motion-D4u7W2de.cjs.js.map → collapsible-motion-Biq0QGUr.cjs.js.map} +1 -1
  82. package/dist/chunks/{collapsible-motion-dMfEe4kv.es.js → collapsible-motion-DvtUDuxb.es.js} +2 -2
  83. package/dist/chunks/{collapsible-motion-dMfEe4kv.es.js.map → collapsible-motion-DvtUDuxb.es.js.map} +1 -1
  84. package/dist/chunks/combobox-B7ck7gxL.cjs.js +2 -0
  85. package/dist/chunks/combobox-B7ck7gxL.cjs.js.map +1 -0
  86. package/dist/chunks/combobox-vjauyzlS.es.js +1551 -0
  87. package/dist/chunks/combobox-vjauyzlS.es.js.map +1 -0
  88. package/dist/chunks/data-table-CBZLbe9h.cjs.js +2 -0
  89. package/dist/chunks/data-table-CBZLbe9h.cjs.js.map +1 -0
  90. package/dist/chunks/{data-table-C0rC7Jgu.es.js → data-table-DA4SdIgU.es.js} +1448 -1423
  91. package/dist/chunks/data-table-DA4SdIgU.es.js.map +1 -0
  92. package/dist/chunks/{date-input-Cnlg-VXW.es.js → date-input-Cd9q4qBj.es.js} +4 -4
  93. package/dist/chunks/{date-input-Cnlg-VXW.es.js.map → date-input-Cd9q4qBj.es.js.map} +1 -1
  94. package/dist/chunks/{date-input-DlQD1DQ3.cjs.js → date-input-DkYcGwBy.cjs.js} +2 -2
  95. package/dist/chunks/{date-input-DlQD1DQ3.cjs.js.map → date-input-DkYcGwBy.cjs.js.map} +1 -1
  96. package/dist/chunks/date-picker-B8VVNXU3.es.js +228 -0
  97. package/dist/chunks/date-picker-B8VVNXU3.es.js.map +1 -0
  98. package/dist/chunks/date-picker-DQ5IZcRe.cjs.js +2 -0
  99. package/dist/chunks/date-picker-DQ5IZcRe.cjs.js.map +1 -0
  100. package/dist/chunks/date-range-picker-BnbKgO1E.es.js +364 -0
  101. package/dist/chunks/date-range-picker-BnbKgO1E.es.js.map +1 -0
  102. package/dist/chunks/date-range-picker-CO2HH0mY.cjs.js +2 -0
  103. package/dist/chunks/date-range-picker-CO2HH0mY.cjs.js.map +1 -0
  104. package/dist/chunks/{date-range-picker-field-D3tLPzMb.es.js → date-range-picker-field-BuI6eLMY.es.js} +4 -4
  105. package/dist/chunks/date-range-picker-field-BuI6eLMY.es.js.map +1 -0
  106. package/dist/chunks/{date-range-picker-field-DipL5QZq.cjs.js → date-range-picker-field-DcIo1YzI.cjs.js} +2 -2
  107. package/dist/chunks/date-range-picker-field-DcIo1YzI.cjs.js.map +1 -0
  108. package/dist/chunks/{dialog-z8EM12xr.es.js → dialog-DuS3dXVi.es.js} +89 -89
  109. package/dist/chunks/dialog-DuS3dXVi.es.js.map +1 -0
  110. package/dist/chunks/dialog-gyrFT8w0.cjs.js +2 -0
  111. package/dist/chunks/dialog-gyrFT8w0.cjs.js.map +1 -0
  112. package/dist/chunks/{draggable-list-DNQAZADx.cjs.js → draggable-list-fvTG-VYt.cjs.js} +3 -3
  113. package/dist/chunks/{draggable-list-DNQAZADx.cjs.js.map → draggable-list-fvTG-VYt.cjs.js.map} +1 -1
  114. package/dist/chunks/{draggable-list-B0MpgfeC.es.js → draggable-list-z7a7tu_F.es.js} +1406 -1601
  115. package/dist/chunks/{draggable-list-B0MpgfeC.es.js.map → draggable-list-z7a7tu_F.es.js.map} +1 -1
  116. package/dist/chunks/{drawer-BZBluK-I.es.js → drawer-BPcEUbUt.es.js} +94 -86
  117. package/dist/chunks/drawer-BPcEUbUt.es.js.map +1 -0
  118. package/dist/chunks/drawer-DbSJSCl_.cjs.js +2 -0
  119. package/dist/chunks/drawer-DbSJSCl_.cjs.js.map +1 -0
  120. package/dist/chunks/{extract-style-props-BilMyFTD.cjs.js → extract-style-props-B4hqila-.cjs.js} +2 -2
  121. package/dist/chunks/{extract-style-props-BilMyFTD.cjs.js.map → extract-style-props-B4hqila-.cjs.js.map} +1 -1
  122. package/dist/chunks/{extract-style-props-DChosa6I.es.js → extract-style-props-BdibuNZ7.es.js} +2 -2
  123. package/dist/chunks/{extract-style-props-DChosa6I.es.js.map → extract-style-props-BdibuNZ7.es.js.map} +1 -1
  124. package/dist/chunks/field-errors-D1BQvoYg.es.js +219 -0
  125. package/dist/chunks/field-errors-D1BQvoYg.es.js.map +1 -0
  126. package/dist/chunks/field-errors-aqrV93vp.cjs.js +2 -0
  127. package/dist/chunks/field-errors-aqrV93vp.cjs.js.map +1 -0
  128. package/dist/chunks/{form-field-BqlkPY29.es.js → form-field-BfDU18h3.es.js} +16 -16
  129. package/dist/chunks/form-field-BfDU18h3.es.js.map +1 -0
  130. package/dist/chunks/form-field-FdRNl2bZ.cjs.js +2 -0
  131. package/dist/chunks/form-field-FdRNl2bZ.cjs.js.map +1 -0
  132. package/dist/chunks/icon-DJsVh7VR.es.js +19 -0
  133. package/dist/chunks/{icon-CenxuChf.es.js.map → icon-DJsVh7VR.es.js.map} +1 -1
  134. package/dist/chunks/icon-RyFjTAmU.cjs.js +2 -0
  135. package/dist/chunks/{icon-D39U--jA.cjs.js.map → icon-RyFjTAmU.cjs.js.map} +1 -1
  136. package/dist/chunks/icon-button-CeB8_Yyr.cjs.js +2 -0
  137. package/dist/chunks/icon-button-CeB8_Yyr.cjs.js.map +1 -0
  138. package/dist/chunks/icon-button-CosIm3oY.es.js +28 -0
  139. package/dist/chunks/icon-button-CosIm3oY.es.js.map +1 -0
  140. package/dist/chunks/{icon-toggle-button-BKmjmlZt.es.js → icon-toggle-button-8fX8JAXp.es.js} +2 -2
  141. package/dist/chunks/icon-toggle-button-8fX8JAXp.es.js.map +1 -0
  142. package/dist/chunks/{icon-toggle-button-D3spgxe2.cjs.js → icon-toggle-button-C4Tnlt4t.cjs.js} +2 -2
  143. package/dist/chunks/icon-toggle-button-C4Tnlt4t.cjs.js.map +1 -0
  144. package/dist/chunks/image-CGOYoc2s.cjs.js.map +1 -1
  145. package/dist/chunks/image-DRigLU80.es.js.map +1 -1
  146. package/dist/chunks/{index-BEgCT-l6.es.js → index-C2qW4ynb.es.js} +671 -557
  147. package/dist/chunks/index-C2qW4ynb.es.js.map +1 -0
  148. package/dist/chunks/index-CVXB9mwf.cjs.js +34 -0
  149. package/dist/chunks/index-CVXB9mwf.cjs.js.map +1 -0
  150. package/dist/chunks/inline-svg-BzzKpbrB.cjs.js +2 -0
  151. package/dist/chunks/{inline-svg-Yb2OyzRw.cjs.js.map → inline-svg-BzzKpbrB.cjs.js.map} +1 -1
  152. package/dist/chunks/inline-svg-Cwl9dFvu.es.js +21 -0
  153. package/dist/chunks/{inline-svg-CbSC6O5X.es.js.map → inline-svg-Cwl9dFvu.es.js.map} +1 -1
  154. package/dist/chunks/list-DJC9BmoC.cjs.js.map +1 -1
  155. package/dist/chunks/list-Nz5KjWzs.es.js.map +1 -1
  156. package/dist/chunks/loading-spinner-DYEYnI5N.cjs.js +2 -0
  157. package/dist/chunks/loading-spinner-DYEYnI5N.cjs.js.map +1 -0
  158. package/dist/chunks/loading-spinner-gf62wtm3.es.js +53 -0
  159. package/dist/chunks/loading-spinner-gf62wtm3.es.js.map +1 -0
  160. package/dist/chunks/localized-field-D78l88ux.cjs.js +2 -0
  161. package/dist/chunks/localized-field-D78l88ux.cjs.js.map +1 -0
  162. package/dist/chunks/localized-field-DdeHzXdh.es.js +483 -0
  163. package/dist/chunks/localized-field-DdeHzXdh.es.js.map +1 -0
  164. package/dist/chunks/{menu-Vj3cVc_v.cjs.js → menu-Dno8yFDE.cjs.js} +2 -2
  165. package/dist/chunks/menu-Dno8yFDE.cjs.js.map +1 -0
  166. package/dist/chunks/{menu-C3Ovi5Mr.es.js → menu-Zlnps1eW.es.js} +6 -6
  167. package/dist/chunks/menu-Zlnps1eW.es.js.map +1 -0
  168. package/dist/chunks/money-input-C9eVmgeL.cjs.js +2 -0
  169. package/dist/chunks/money-input-C9eVmgeL.cjs.js.map +1 -0
  170. package/dist/chunks/{money-input-BEek-VSq.es.js → money-input-D65vrUj4.es.js} +119 -109
  171. package/dist/chunks/money-input-D65vrUj4.es.js.map +1 -0
  172. package/dist/chunks/money-input-field-BGZ_9HKh.cjs.js +2 -0
  173. package/dist/chunks/money-input-field-BGZ_9HKh.cjs.js.map +1 -0
  174. package/dist/chunks/money-input-field-CSnaaDk-.es.js +51 -0
  175. package/dist/chunks/money-input-field-CSnaaDk-.es.js.map +1 -0
  176. package/dist/chunks/multiline-text-input-CULLuZBp.cjs.js +2 -0
  177. package/dist/chunks/multiline-text-input-CULLuZBp.cjs.js.map +1 -0
  178. package/dist/chunks/multiline-text-input-CrDTYrM3.es.js +98 -0
  179. package/dist/chunks/multiline-text-input-CrDTYrM3.es.js.map +1 -0
  180. package/dist/chunks/multiline-text-input-field-BX-w2v1Y.cjs.js +2 -0
  181. package/dist/chunks/multiline-text-input-field-BX-w2v1Y.cjs.js.map +1 -0
  182. package/dist/chunks/multiline-text-input-field-C6UTl_c8.es.js +56 -0
  183. package/dist/chunks/multiline-text-input-field-C6UTl_c8.es.js.map +1 -0
  184. package/dist/chunks/nimbus-provider-Dnu5ohMR.cjs.js +2 -0
  185. package/dist/chunks/nimbus-provider-Dnu5ohMR.cjs.js.map +1 -0
  186. package/dist/chunks/nimbus-provider-S02SpkpM.es.js +101 -0
  187. package/dist/chunks/nimbus-provider-S02SpkpM.es.js.map +1 -0
  188. package/dist/chunks/normalize-messages-CaDzkuUm.cjs.js +2 -0
  189. package/dist/chunks/normalize-messages-CaDzkuUm.cjs.js.map +1 -0
  190. package/dist/chunks/normalize-messages-D5T4I93D.es.js +52 -0
  191. package/dist/chunks/normalize-messages-D5T4I93D.es.js.map +1 -0
  192. package/dist/chunks/number-input-CR1hdy-B.cjs.js +2 -0
  193. package/dist/chunks/number-input-CR1hdy-B.cjs.js.map +1 -0
  194. package/dist/chunks/{number-input-DrhSvm6o.es.js → number-input-Dp13Mn-8.es.js} +224 -229
  195. package/dist/chunks/number-input-Dp13Mn-8.es.js.map +1 -0
  196. package/dist/chunks/number-input-field-BDNpAP6t.cjs.js +2 -0
  197. package/dist/chunks/number-input-field-BDNpAP6t.cjs.js.map +1 -0
  198. package/dist/chunks/number-input-field-C90uFO4e.es.js +51 -0
  199. package/dist/chunks/number-input-field-C90uFO4e.es.js.map +1 -0
  200. package/dist/chunks/pagination-BIxlGft7.cjs.js +2 -0
  201. package/dist/chunks/pagination-BIxlGft7.cjs.js.map +1 -0
  202. package/dist/chunks/pagination-BlrGdyD5.es.js +226 -0
  203. package/dist/chunks/pagination-BlrGdyD5.es.js.map +1 -0
  204. package/dist/chunks/password-input-8bkpGOIX.es.js +47 -0
  205. package/dist/chunks/password-input-8bkpGOIX.es.js.map +1 -0
  206. package/dist/chunks/password-input-BVbQ42NG.cjs.js +2 -0
  207. package/dist/chunks/password-input-BVbQ42NG.cjs.js.map +1 -0
  208. package/dist/chunks/password-input-field-B5lWzWAQ.cjs.js +2 -0
  209. package/dist/chunks/password-input-field-B5lWzWAQ.cjs.js.map +1 -0
  210. package/dist/chunks/password-input-field-XXaNUALk.es.js +56 -0
  211. package/dist/chunks/password-input-field-XXaNUALk.es.js.map +1 -0
  212. package/dist/chunks/popover-CuA9VugH.es.js +11 -0
  213. package/dist/chunks/popover-CuA9VugH.es.js.map +1 -0
  214. package/dist/chunks/popover-Dhg--8YC.cjs.js +2 -0
  215. package/dist/chunks/popover-Dhg--8YC.cjs.js.map +1 -0
  216. package/dist/chunks/{progress-bar-vRz1k6ol.es.js → progress-bar-C2ZnGdLv.es.js} +2 -2
  217. package/dist/chunks/{progress-bar-vRz1k6ol.es.js.map → progress-bar-C2ZnGdLv.es.js.map} +1 -1
  218. package/dist/chunks/{progress-bar-NAFgbTy5.cjs.js → progress-bar-dRKyuT1-.cjs.js} +2 -2
  219. package/dist/chunks/{progress-bar-NAFgbTy5.cjs.js.map → progress-bar-dRKyuT1-.cjs.js.map} +1 -1
  220. package/dist/chunks/{radio-input-CRvjsU1E.cjs.js → radio-input-BecbxXcF.cjs.js} +2 -2
  221. package/dist/chunks/{radio-input-CRvjsU1E.cjs.js.map → radio-input-BecbxXcF.cjs.js.map} +1 -1
  222. package/dist/chunks/{radio-input-C2lCxDiv.es.js → radio-input-DV-hhL4S.es.js} +8 -8
  223. package/dist/chunks/{radio-input-C2lCxDiv.es.js.map → radio-input-DV-hhL4S.es.js.map} +1 -1
  224. package/dist/chunks/range-calendar-CEIaa08T.es.js +229 -0
  225. package/dist/chunks/range-calendar-CEIaa08T.es.js.map +1 -0
  226. package/dist/chunks/range-calendar-Dq5Gtsb6.cjs.js +2 -0
  227. package/dist/chunks/range-calendar-Dq5Gtsb6.cjs.js.map +1 -0
  228. package/dist/chunks/rich-text-input-CRGUa5d2.es.js +1200 -0
  229. package/dist/chunks/rich-text-input-CRGUa5d2.es.js.map +1 -0
  230. package/dist/chunks/rich-text-input-Dml5F7pU.cjs.js +4 -0
  231. package/dist/chunks/rich-text-input-Dml5F7pU.cjs.js.map +1 -0
  232. package/dist/chunks/scoped-search-input-CSpFefUJ.es.js +147 -0
  233. package/dist/chunks/scoped-search-input-CSpFefUJ.es.js.map +1 -0
  234. package/dist/chunks/scoped-search-input-DKCK7idN.cjs.js +2 -0
  235. package/dist/chunks/scoped-search-input-DKCK7idN.cjs.js.map +1 -0
  236. package/dist/chunks/{search-input-CMrPbAUI.es.js → search-input-BDUJ48BC.es.js} +147 -147
  237. package/dist/chunks/search-input-BDUJ48BC.es.js.map +1 -0
  238. package/dist/chunks/search-input-BNXlpYtP.cjs.js +2 -0
  239. package/dist/chunks/search-input-BNXlpYtP.cjs.js.map +1 -0
  240. package/dist/chunks/search-input-field-CEemw2P1.es.js +51 -0
  241. package/dist/chunks/search-input-field-CEemw2P1.es.js.map +1 -0
  242. package/dist/chunks/search-input-field-v60x1oiw.cjs.js +2 -0
  243. package/dist/chunks/search-input-field-v60x1oiw.cjs.js.map +1 -0
  244. package/dist/chunks/{select-DG6qOekv.es.js → select-D9yYDW0d.es.js} +229 -229
  245. package/dist/chunks/select-D9yYDW0d.es.js.map +1 -0
  246. package/dist/chunks/select-Dq_6o0BB.cjs.js +2 -0
  247. package/dist/chunks/select-Dq_6o0BB.cjs.js.map +1 -0
  248. package/dist/chunks/{separator-B-ibkWW-.es.js → separator-BJ9k_D4l.es.js} +4 -4
  249. package/dist/chunks/{separator-B-ibkWW-.es.js.map → separator-BJ9k_D4l.es.js.map} +1 -1
  250. package/dist/chunks/{separator-DYCn6JPo.cjs.js → separator-u_4por07.cjs.js} +2 -2
  251. package/dist/chunks/{separator-DYCn6JPo.cjs.js.map → separator-u_4por07.cjs.js.map} +1 -1
  252. package/dist/chunks/split-button-B4gVhpP9.cjs.js +2 -0
  253. package/dist/chunks/split-button-B4gVhpP9.cjs.js.map +1 -0
  254. package/dist/chunks/split-button-C94SY3qF.es.js +106 -0
  255. package/dist/chunks/split-button-C94SY3qF.es.js.map +1 -0
  256. package/dist/chunks/stack-CIN13EDn.cjs.js.map +1 -1
  257. package/dist/chunks/stack-CoNreM7B.es.js.map +1 -1
  258. package/dist/chunks/{switch-BzYS9qlr.cjs.js → switch-CsiG41ZR.cjs.js} +2 -2
  259. package/dist/chunks/{switch-BzYS9qlr.cjs.js.map → switch-CsiG41ZR.cjs.js.map} +1 -1
  260. package/dist/chunks/{switch-_TfZ37Nm.es.js → switch-Nn1Fbk5O.es.js} +3 -3
  261. package/dist/chunks/{switch-_TfZ37Nm.es.js.map → switch-Nn1Fbk5O.es.js.map} +1 -1
  262. package/dist/chunks/tabs-D0OPeQ_J.es.js +516 -0
  263. package/dist/chunks/tabs-D0OPeQ_J.es.js.map +1 -0
  264. package/dist/chunks/tabs-iV08OTqG.cjs.js +2 -0
  265. package/dist/chunks/tabs-iV08OTqG.cjs.js.map +1 -0
  266. package/dist/chunks/{tag-group-Aa30DcsU.es.js → tag-group-BE8d6xcP.es.js} +209 -208
  267. package/dist/chunks/tag-group-BE8d6xcP.es.js.map +1 -0
  268. package/dist/chunks/tag-group-BI8_32rM.cjs.js +2 -0
  269. package/dist/chunks/tag-group-BI8_32rM.cjs.js.map +1 -0
  270. package/dist/chunks/text-BtRhIklG.cjs.js.map +1 -1
  271. package/dist/chunks/text-CIb_VDvO.es.js.map +1 -1
  272. package/dist/chunks/{text-input-D3KWm-NF.cjs.js → text-input-BlxK2Naj.cjs.js} +2 -2
  273. package/dist/chunks/{text-input-D3KWm-NF.cjs.js.map → text-input-BlxK2Naj.cjs.js.map} +1 -1
  274. package/dist/chunks/{text-input-DOTYCJyJ.es.js → text-input-CCiZeQad.es.js} +3 -3
  275. package/dist/chunks/{text-input-DOTYCJyJ.es.js.map → text-input-CCiZeQad.es.js.map} +1 -1
  276. package/dist/chunks/text-input-field-6Cj35cYL.es.js +58 -0
  277. package/dist/chunks/text-input-field-6Cj35cYL.es.js.map +1 -0
  278. package/dist/chunks/text-input-field-Cmht3hDK.cjs.js +2 -0
  279. package/dist/chunks/text-input-field-Cmht3hDK.cjs.js.map +1 -0
  280. package/dist/chunks/{time-input-BYGEbCd6.cjs.js → time-input-9Q5vV4UD.cjs.js} +2 -2
  281. package/dist/chunks/{time-input-BYGEbCd6.cjs.js.map → time-input-9Q5vV4UD.cjs.js.map} +1 -1
  282. package/dist/chunks/{time-input-KrO-X3uW.es.js → time-input-CCuIFoY2.es.js} +4 -4
  283. package/dist/chunks/{time-input-KrO-X3uW.es.js.map → time-input-CCuIFoY2.es.js.map} +1 -1
  284. package/dist/chunks/{toggle-button-BKXhwp3e.cjs.js → toggle-button-L7i1XaWg.cjs.js} +2 -2
  285. package/dist/chunks/{toggle-button-BKXhwp3e.cjs.js.map → toggle-button-L7i1XaWg.cjs.js.map} +1 -1
  286. package/dist/chunks/{toggle-button-C03AKN2I.es.js → toggle-button-UcXy5q2C.es.js} +3 -3
  287. package/dist/chunks/{toggle-button-C03AKN2I.es.js.map → toggle-button-UcXy5q2C.es.js.map} +1 -1
  288. package/dist/chunks/{toolbar-D0WjTxz2.es.js → toolbar-C7-6gqba.es.js} +3 -3
  289. package/dist/chunks/{toolbar-D0WjTxz2.es.js.map → toolbar-C7-6gqba.es.js.map} +1 -1
  290. package/dist/chunks/{toolbar-DMowluJ2.cjs.js → toolbar-D4fLFiSb.cjs.js} +2 -2
  291. package/dist/chunks/{toolbar-DMowluJ2.cjs.js.map → toolbar-D4fLFiSb.cjs.js.map} +1 -1
  292. package/dist/chunks/{useDateFormatter-886GJ5w1.es.js → useDateFormatter-9juUpmrj.es.js} +246 -244
  293. package/dist/chunks/useDateFormatter-9juUpmrj.es.js.map +1 -0
  294. package/dist/chunks/useDateFormatter-Bq98mt4A.cjs.js +2 -0
  295. package/dist/chunks/useDateFormatter-Bq98mt4A.cjs.js.map +1 -0
  296. package/dist/chunks/{useGridListItem-BETI-KGO.cjs.js → useGridListItem-Bjqm2KGe.cjs.js} +2 -2
  297. package/dist/chunks/{useGridListItem-BETI-KGO.cjs.js.map → useGridListItem-Bjqm2KGe.cjs.js.map} +1 -1
  298. package/dist/chunks/{useGridListItem-DAGp36bD.es.js → useGridListItem-CJrr2QNO.es.js} +4 -4
  299. package/dist/chunks/{useGridListItem-DAGp36bD.es.js.map → useGridListItem-CJrr2QNO.es.js.map} +1 -1
  300. package/dist/chunks/useListData-BGzhnkuO.cjs.js +2 -0
  301. package/dist/chunks/useListData-BGzhnkuO.cjs.js.map +1 -0
  302. package/dist/chunks/useListData-CX8_NxJv.es.js +211 -0
  303. package/dist/chunks/useListData-CX8_NxJv.es.js.map +1 -0
  304. package/dist/chunks/useListState-BjCb6LLO.cjs.js +2 -0
  305. package/dist/chunks/{useListState-QQtJHpsQ.cjs.js.map → useListState-BjCb6LLO.cjs.js.map} +1 -1
  306. package/dist/chunks/{useListState-BHLGQlP3.es.js → useListState-Dd0Mtev3.es.js} +17 -18
  307. package/dist/chunks/{useListState-BHLGQlP3.es.js.map → useListState-Dd0Mtev3.es.js.map} +1 -1
  308. package/dist/chunks/useLocalizedStringFormatter-CJ-iYW1Z.cjs.js +2 -0
  309. package/dist/chunks/useLocalizedStringFormatter-CJ-iYW1Z.cjs.js.map +1 -0
  310. package/dist/chunks/useLocalizedStringFormatter-DWb0DkHL.es.js +53 -0
  311. package/dist/chunks/useLocalizedStringFormatter-DWb0DkHL.es.js.map +1 -0
  312. package/dist/chunks/{useSpinButton-YcV6vlPf.es.js → useSpinButton-D8B_x4uj.es.js} +2 -2
  313. package/dist/chunks/{useSpinButton-YcV6vlPf.es.js.map → useSpinButton-D8B_x4uj.es.js.map} +1 -1
  314. package/dist/chunks/{useSpinButton-Dyt6kG4o.cjs.js → useSpinButton-RB0J1fiP.cjs.js} +2 -2
  315. package/dist/chunks/{useSpinButton-Dyt6kG4o.cjs.js.map → useSpinButton-RB0J1fiP.cjs.js.map} +1 -1
  316. package/dist/components/accordion.cjs +1 -1
  317. package/dist/components/accordion.es.js +2 -2
  318. package/dist/components/alert/alert.d.ts +4 -4
  319. package/dist/components/alert/alert.messages.d.ts +6 -0
  320. package/dist/components/alert/alert.types.d.ts +2 -2
  321. package/dist/components/alert/components/alert.actions.d.ts +1 -1
  322. package/dist/components/alert/components/alert.description.d.ts +1 -1
  323. package/dist/components/alert/components/alert.dismiss-button.d.ts +1 -1
  324. package/dist/components/alert/components/alert.root.d.ts +0 -9
  325. package/dist/components/alert/components/alert.title.d.ts +1 -1
  326. package/dist/components/alert/intl/de.d.ts +9 -0
  327. package/dist/components/alert/intl/en.d.ts +9 -0
  328. package/dist/components/alert/intl/es.d.ts +9 -0
  329. package/dist/components/alert/intl/fr-FR.d.ts +9 -0
  330. package/dist/components/alert/intl/pt-BR.d.ts +9 -0
  331. package/dist/components/alert.cjs +1 -1
  332. package/dist/components/alert.es.js +1 -1
  333. package/dist/components/avatar/avatar.messages.d.ts +6 -0
  334. package/dist/components/avatar/intl/de.d.ts +9 -0
  335. package/dist/components/avatar/intl/en.d.ts +9 -0
  336. package/dist/components/avatar/intl/es.d.ts +9 -0
  337. package/dist/components/avatar/intl/fr-FR.d.ts +9 -0
  338. package/dist/components/avatar/intl/pt-BR.d.ts +9 -0
  339. package/dist/components/avatar.cjs +1 -1
  340. package/dist/components/avatar.es.js +1 -1
  341. package/dist/components/box/box.d.ts +2 -0
  342. package/dist/components/button.cjs +1 -1
  343. package/dist/components/button.es.js +1 -1
  344. package/dist/components/calendar/calendar.messages.d.ts +6 -0
  345. package/dist/components/calendar/intl/de.d.ts +12 -0
  346. package/dist/components/calendar/intl/en.d.ts +12 -0
  347. package/dist/components/calendar/intl/es.d.ts +12 -0
  348. package/dist/components/calendar/intl/fr-FR.d.ts +12 -0
  349. package/dist/components/calendar/intl/pt-BR.d.ts +12 -0
  350. package/dist/components/calendar.cjs +1 -1
  351. package/dist/components/calendar.es.js +1 -1
  352. package/dist/components/card/card.recipe.d.ts +1 -1
  353. package/dist/components/card.cjs +1 -1
  354. package/dist/components/card.es.js +1 -1
  355. package/dist/components/checkbox.cjs +1 -1
  356. package/dist/components/checkbox.es.js +1 -1
  357. package/dist/components/collapsible-motion.cjs +1 -1
  358. package/dist/components/collapsible-motion.es.js +1 -1
  359. package/dist/components/combo-box/combo-box.messages.d.ts +6 -0
  360. package/dist/components/combo-box/intl/de.d.ts +12 -0
  361. package/dist/components/combo-box/intl/en.d.ts +12 -0
  362. package/dist/components/combo-box/intl/es.d.ts +12 -0
  363. package/dist/components/combo-box/intl/fr-FR.d.ts +12 -0
  364. package/dist/components/combo-box/intl/pt-BR.d.ts +12 -0
  365. package/dist/components/combobox/combobox.d.ts +203 -27
  366. package/dist/components/combobox/combobox.i18n.d.ts +3 -13
  367. package/dist/components/combobox/combobox.messages.d.ts +6 -0
  368. package/dist/components/combobox/combobox.recipe.d.ts +18 -17
  369. package/dist/components/combobox/combobox.slots.d.ts +14 -28
  370. package/dist/components/combobox/combobox.types.d.ts +704 -105
  371. package/dist/components/combobox/components/combobox.hidden-input.d.ts +17 -0
  372. package/dist/components/combobox/components/combobox.input.d.ts +20 -0
  373. package/dist/components/combobox/components/combobox.leading-element.d.ts +5 -5
  374. package/dist/components/combobox/components/combobox.listbox.d.ts +27 -0
  375. package/dist/components/combobox/components/combobox.option.d.ts +29 -5
  376. package/dist/components/combobox/components/combobox.popover.d.ts +27 -0
  377. package/dist/components/combobox/components/combobox.root-context.d.ts +13 -0
  378. package/dist/components/combobox/components/combobox.root.d.ts +26 -6
  379. package/dist/components/combobox/components/combobox.section.d.ts +32 -0
  380. package/dist/components/combobox/components/combobox.tag-group.d.ts +26 -0
  381. package/dist/components/combobox/components/combobox.trigger.d.ts +26 -0
  382. package/dist/components/combobox/components/index.d.ts +4 -9
  383. package/dist/components/combobox/index.d.ts +1 -1
  384. package/dist/components/combobox/intl/de.d.ts +12 -0
  385. package/dist/components/combobox/intl/en.d.ts +12 -0
  386. package/dist/components/combobox/intl/es.d.ts +12 -0
  387. package/dist/components/combobox/intl/fr-FR.d.ts +12 -0
  388. package/dist/components/combobox/intl/pt-BR.d.ts +12 -0
  389. package/dist/components/combobox/utils/collection.d.ts +13 -0
  390. package/dist/components/combobox/utils/filters.d.ts +339 -0
  391. package/dist/components/combobox/utils/selection.d.ts +10 -0
  392. package/dist/components/combobox/utils/test-data.d.ts +6 -0
  393. package/dist/components/combobox/utils/test-utils.d.ts +30 -0
  394. package/dist/components/combobox.cjs +1 -1
  395. package/dist/components/combobox.es.js +1 -1
  396. package/dist/components/components.cjs +1 -1
  397. package/dist/components/components.es.js +1 -1
  398. package/dist/components/data-table/components/data-table.context.d.ts +3 -1
  399. package/dist/components/data-table/components/index.d.ts +1 -1
  400. package/dist/components/data-table/data-table.messages.d.ts +6 -0
  401. package/dist/components/data-table/data-table.recipe.d.ts +1 -1
  402. package/dist/components/data-table/data-table.types.d.ts +11 -2
  403. package/dist/components/data-table/intl/de.d.ts +39 -0
  404. package/dist/components/data-table/intl/en.d.ts +39 -0
  405. package/dist/components/data-table/intl/es.d.ts +39 -0
  406. package/dist/components/data-table/intl/fr-FR.d.ts +39 -0
  407. package/dist/components/data-table/intl/pt-BR.d.ts +39 -0
  408. package/dist/components/data-table.cjs +1 -1
  409. package/dist/components/data-table.es.js +1 -1
  410. package/dist/components/date-input.cjs +1 -1
  411. package/dist/components/date-input.es.js +1 -1
  412. package/dist/components/date-picker/date-picker.messages.d.ts +6 -0
  413. package/dist/components/date-picker/date-picker.types.d.ts +1 -1
  414. package/dist/components/date-picker/intl/de.d.ts +14 -0
  415. package/dist/components/date-picker/intl/en.d.ts +14 -0
  416. package/dist/components/date-picker/intl/es.d.ts +14 -0
  417. package/dist/components/date-picker/intl/fr-FR.d.ts +14 -0
  418. package/dist/components/date-picker/intl/pt-BR.d.ts +14 -0
  419. package/dist/components/date-picker.cjs +1 -1
  420. package/dist/components/date-picker.es.js +1 -1
  421. package/dist/components/date-range-picker/date-range-picker.messages.d.ts +6 -0
  422. package/dist/components/date-range-picker/intl/de.d.ts +21 -0
  423. package/dist/components/date-range-picker/intl/en.d.ts +21 -0
  424. package/dist/components/date-range-picker/intl/es.d.ts +21 -0
  425. package/dist/components/date-range-picker/intl/fr-FR.d.ts +21 -0
  426. package/dist/components/date-range-picker/intl/pt-BR.d.ts +21 -0
  427. package/dist/components/date-range-picker-field.cjs +1 -1
  428. package/dist/components/date-range-picker-field.es.js +1 -1
  429. package/dist/components/date-range-picker.cjs +1 -1
  430. package/dist/components/date-range-picker.es.js +1 -1
  431. package/dist/components/dialog/dialog.messages.d.ts +6 -0
  432. package/dist/components/dialog/dialog.types.d.ts +2 -2
  433. package/dist/components/dialog/intl/de.d.ts +9 -0
  434. package/dist/components/dialog/intl/en.d.ts +9 -0
  435. package/dist/components/dialog/intl/es.d.ts +9 -0
  436. package/dist/components/dialog/intl/fr-FR.d.ts +9 -0
  437. package/dist/components/dialog/intl/pt-BR.d.ts +9 -0
  438. package/dist/components/dialog.cjs +1 -1
  439. package/dist/components/dialog.es.js +1 -1
  440. package/dist/components/draggable-list/draggable-list.messages.d.ts +6 -0
  441. package/dist/components/draggable-list/intl/de.d.ts +10 -0
  442. package/dist/components/draggable-list/intl/en.d.ts +10 -0
  443. package/dist/components/draggable-list/intl/es.d.ts +10 -0
  444. package/dist/components/draggable-list/intl/fr-FR.d.ts +10 -0
  445. package/dist/components/draggable-list/intl/pt-BR.d.ts +10 -0
  446. package/dist/components/draggable-list.cjs +1 -1
  447. package/dist/components/draggable-list.es.js +1 -1
  448. package/dist/components/drawer/components/drawer.context.d.ts +8 -2
  449. package/dist/components/drawer/drawer.messages.d.ts +6 -0
  450. package/dist/components/drawer/drawer.types.d.ts +2 -2
  451. package/dist/components/drawer/intl/de.d.ts +9 -0
  452. package/dist/components/drawer/intl/en.d.ts +9 -0
  453. package/dist/components/drawer/intl/es.d.ts +9 -0
  454. package/dist/components/drawer/intl/fr-FR.d.ts +9 -0
  455. package/dist/components/drawer/intl/pt-BR.d.ts +9 -0
  456. package/dist/components/drawer.cjs +1 -1
  457. package/dist/components/drawer.es.js +1 -1
  458. package/dist/components/field-errors/field-errors.d.ts +1 -1
  459. package/dist/components/field-errors/field-errors.messages.d.ts +6 -0
  460. package/dist/components/field-errors/field-errors.types.d.ts +1 -1
  461. package/dist/components/field-errors/intl/de.d.ts +23 -0
  462. package/dist/components/field-errors/intl/en.d.ts +23 -0
  463. package/dist/components/field-errors/intl/es.d.ts +23 -0
  464. package/dist/components/field-errors/intl/fr-FR.d.ts +23 -0
  465. package/dist/components/field-errors/intl/pt-BR.d.ts +23 -0
  466. package/dist/components/field-errors.cjs +1 -1
  467. package/dist/components/field-errors.es.js +1 -1
  468. package/dist/components/fields.cjs +1 -1
  469. package/dist/components/fields.es.js +13 -3
  470. package/dist/components/fields.es.js.map +1 -1
  471. package/dist/components/form-field.cjs +1 -1
  472. package/dist/components/form-field.es.js +1 -1
  473. package/dist/components/icon-button/icon-button.types.d.ts +15 -3
  474. package/dist/components/icon-button.cjs +1 -1
  475. package/dist/components/icon-button.es.js +1 -1
  476. package/dist/components/icon-toggle-button/icon-toggle-button.types.d.ts +1 -1
  477. package/dist/components/icon-toggle-button.cjs +1 -1
  478. package/dist/components/icon-toggle-button.es.js +1 -1
  479. package/dist/components/icon.cjs +1 -1
  480. package/dist/components/icon.es.js +1 -1
  481. package/dist/components/image/image.d.ts +2 -0
  482. package/dist/components/inline-svg.cjs +1 -1
  483. package/dist/components/inline-svg.es.js +1 -1
  484. package/dist/components/list/components/index.d.ts +3 -0
  485. package/dist/components/list/components/list.indicator.d.ts +19 -0
  486. package/dist/components/list/components/list.item.d.ts +15 -0
  487. package/dist/components/list/components/list.root.d.ts +25 -0
  488. package/dist/components/list/list.d.ts +3 -6
  489. package/dist/components/loading-spinner/intl/de.d.ts +9 -0
  490. package/dist/components/loading-spinner/intl/en.d.ts +9 -0
  491. package/dist/components/loading-spinner/intl/es.d.ts +9 -0
  492. package/dist/components/loading-spinner/intl/fr-FR.d.ts +9 -0
  493. package/dist/components/loading-spinner/intl/pt-BR.d.ts +9 -0
  494. package/dist/components/loading-spinner/loading-spinner.messages.d.ts +6 -0
  495. package/dist/components/loading-spinner.cjs +1 -1
  496. package/dist/components/loading-spinner.es.js +1 -1
  497. package/dist/components/localized-field/intl/de.d.ts +14 -0
  498. package/dist/components/localized-field/intl/en.d.ts +14 -0
  499. package/dist/components/localized-field/intl/es.d.ts +14 -0
  500. package/dist/components/localized-field/intl/fr-FR.d.ts +14 -0
  501. package/dist/components/localized-field/intl/pt-BR.d.ts +14 -0
  502. package/dist/components/localized-field/localized-field.messages.d.ts +6 -0
  503. package/dist/components/localized-field/localized-field.types.d.ts +1 -1
  504. package/dist/components/localized-field.cjs +1 -1
  505. package/dist/components/localized-field.es.js +1 -1
  506. package/dist/components/money-input/intl/de.d.ts +11 -0
  507. package/dist/components/money-input/intl/en.d.ts +11 -0
  508. package/dist/components/money-input/intl/es.d.ts +11 -0
  509. package/dist/components/money-input/intl/fr-FR.d.ts +11 -0
  510. package/dist/components/money-input/intl/pt-BR.d.ts +11 -0
  511. package/dist/components/money-input/money-input.messages.d.ts +6 -0
  512. package/dist/components/money-input/money-input.recipe.d.ts +1 -1
  513. package/dist/components/money-input-field.cjs +2 -0
  514. package/dist/components/money-input-field.cjs.map +1 -0
  515. package/dist/components/money-input-field.es.js +5 -0
  516. package/dist/components/money-input-field.es.js.map +1 -0
  517. package/dist/components/money-input.cjs +1 -1
  518. package/dist/components/money-input.es.js +1 -1
  519. package/dist/components/multiline-text-input/multiline-text-input.types.d.ts +1 -1
  520. package/dist/components/multiline-text-input-field.cjs +2 -0
  521. package/dist/components/multiline-text-input-field.cjs.map +1 -0
  522. package/dist/components/multiline-text-input-field.es.js +5 -0
  523. package/dist/components/multiline-text-input-field.es.js.map +1 -0
  524. package/dist/components/multiline-text-input.cjs +1 -1
  525. package/dist/components/multiline-text-input.es.js +1 -1
  526. package/dist/components/nimbus-provider/index.d.ts +0 -1
  527. package/dist/components/nimbus-provider/nimbus-provider.d.ts +1 -0
  528. package/dist/components/nimbus-provider.cjs +1 -1
  529. package/dist/components/nimbus-provider.es.js +1 -3
  530. package/dist/components/nimbus-provider.es.js.map +1 -1
  531. package/dist/components/number-input/intl/de.d.ts +10 -0
  532. package/dist/components/number-input/intl/en.d.ts +10 -0
  533. package/dist/components/number-input/intl/es.d.ts +10 -0
  534. package/dist/components/number-input/intl/fr-FR.d.ts +10 -0
  535. package/dist/components/number-input/intl/pt-BR.d.ts +10 -0
  536. package/dist/components/number-input/number-input.messages.d.ts +6 -0
  537. package/dist/components/number-input-field.cjs +2 -0
  538. package/dist/components/number-input-field.cjs.map +1 -0
  539. package/dist/components/number-input-field.es.js +5 -0
  540. package/dist/components/number-input-field.es.js.map +1 -0
  541. package/dist/components/number-input.cjs +1 -1
  542. package/dist/components/number-input.es.js +1 -1
  543. package/dist/components/pagination/intl/de.d.ts +16 -0
  544. package/dist/components/pagination/intl/en.d.ts +16 -0
  545. package/dist/components/pagination/intl/es.d.ts +16 -0
  546. package/dist/components/pagination/intl/fr-FR.d.ts +16 -0
  547. package/dist/components/pagination/intl/pt-BR.d.ts +16 -0
  548. package/dist/components/pagination/pagination.messages.d.ts +6 -0
  549. package/dist/components/pagination.cjs +1 -1
  550. package/dist/components/pagination.es.js +1 -1
  551. package/dist/components/password-input/intl/de.d.ts +10 -0
  552. package/dist/components/password-input/intl/en.d.ts +10 -0
  553. package/dist/components/password-input/intl/es.d.ts +10 -0
  554. package/dist/components/password-input/intl/fr-FR.d.ts +10 -0
  555. package/dist/components/password-input/intl/pt-BR.d.ts +10 -0
  556. package/dist/components/password-input/password-input.messages.d.ts +6 -0
  557. package/dist/components/password-input-field.cjs +2 -0
  558. package/dist/components/password-input-field.cjs.map +1 -0
  559. package/dist/components/password-input-field.es.js +5 -0
  560. package/dist/components/password-input-field.es.js.map +1 -0
  561. package/dist/components/password-input.cjs +1 -1
  562. package/dist/components/password-input.es.js +1 -1
  563. package/dist/components/patterns.cjs +1 -1
  564. package/dist/components/patterns.es.js +13 -3
  565. package/dist/components/patterns.es.js.map +1 -1
  566. package/dist/components/popover/popover.d.ts +1 -1
  567. package/dist/components/popover/popover.slots.d.ts +2 -4
  568. package/dist/components/popover/popover.types.d.ts +12 -2
  569. package/dist/components/popover.cjs +1 -1
  570. package/dist/components/popover.es.js +1 -1
  571. package/dist/components/progress-bar.cjs +1 -1
  572. package/dist/components/progress-bar.es.js +1 -1
  573. package/dist/components/radio-input.cjs +1 -1
  574. package/dist/components/radio-input.es.js +1 -1
  575. package/dist/components/range-calendar/intl/de.d.ts +12 -0
  576. package/dist/components/range-calendar/intl/en.d.ts +12 -0
  577. package/dist/components/range-calendar/intl/es.d.ts +12 -0
  578. package/dist/components/range-calendar/intl/fr-FR.d.ts +12 -0
  579. package/dist/components/range-calendar/intl/pt-BR.d.ts +12 -0
  580. package/dist/components/range-calendar/range-calendar.messages.d.ts +6 -0
  581. package/dist/components/range-calendar.cjs +1 -1
  582. package/dist/components/range-calendar.es.js +1 -1
  583. package/dist/components/rich-text-input/constants/text-styles.d.ts +2 -3
  584. package/dist/components/rich-text-input/intl/de.d.ts +32 -0
  585. package/dist/components/rich-text-input/intl/en.d.ts +32 -0
  586. package/dist/components/rich-text-input/intl/es.d.ts +32 -0
  587. package/dist/components/rich-text-input/intl/fr-FR.d.ts +32 -0
  588. package/dist/components/rich-text-input/intl/pt-BR.d.ts +32 -0
  589. package/dist/components/rich-text-input/rich-text-input.messages.d.ts +6 -0
  590. package/dist/components/rich-text-input.cjs +1 -1
  591. package/dist/components/rich-text-input.es.js +1 -1
  592. package/dist/components/scoped-search-input/intl/de.d.ts +10 -0
  593. package/dist/components/scoped-search-input/intl/en.d.ts +10 -0
  594. package/dist/components/scoped-search-input/intl/es.d.ts +10 -0
  595. package/dist/components/scoped-search-input/intl/fr-FR.d.ts +10 -0
  596. package/dist/components/scoped-search-input/intl/pt-BR.d.ts +10 -0
  597. package/dist/components/scoped-search-input/scoped-search-input.messages.d.ts +6 -0
  598. package/dist/components/scoped-search-input.cjs +1 -1
  599. package/dist/components/scoped-search-input.es.js +1 -1
  600. package/dist/components/search-input/intl/de.d.ts +9 -0
  601. package/dist/components/search-input/intl/en.d.ts +9 -0
  602. package/dist/components/search-input/intl/es.d.ts +9 -0
  603. package/dist/components/search-input/intl/fr-FR.d.ts +9 -0
  604. package/dist/components/search-input/intl/pt-BR.d.ts +9 -0
  605. package/dist/components/search-input/search-input.messages.d.ts +6 -0
  606. package/dist/components/search-input-field.cjs +2 -0
  607. package/dist/components/search-input-field.cjs.map +1 -0
  608. package/dist/components/search-input-field.es.js +5 -0
  609. package/dist/components/search-input-field.es.js.map +1 -0
  610. package/dist/components/search-input.cjs +1 -1
  611. package/dist/components/search-input.es.js +1 -1
  612. package/dist/components/select/components/select.root.d.ts +2 -2
  613. package/dist/components/select/intl/de.d.ts +9 -0
  614. package/dist/components/select/intl/en.d.ts +9 -0
  615. package/dist/components/select/intl/es.d.ts +9 -0
  616. package/dist/components/select/intl/fr-FR.d.ts +9 -0
  617. package/dist/components/select/intl/pt-BR.d.ts +9 -0
  618. package/dist/components/select/select.d.ts +1 -1
  619. package/dist/components/select/select.messages.d.ts +6 -0
  620. package/dist/components/select/select.recipe.d.ts +1 -1
  621. package/dist/components/select/select.types.d.ts +1 -1
  622. package/dist/components/select.cjs +1 -1
  623. package/dist/components/select.es.js +1 -1
  624. package/dist/components/separator.cjs +1 -1
  625. package/dist/components/separator.es.js +1 -1
  626. package/dist/components/split-button/intl/de.d.ts +9 -0
  627. package/dist/components/split-button/intl/en.d.ts +9 -0
  628. package/dist/components/split-button/intl/es.d.ts +9 -0
  629. package/dist/components/split-button/intl/fr-FR.d.ts +9 -0
  630. package/dist/components/split-button/intl/pt-BR.d.ts +9 -0
  631. package/dist/components/split-button/split-button.messages.d.ts +6 -0
  632. package/dist/components/split-button/split-button.types.d.ts +1 -1
  633. package/dist/components/split-button.cjs +1 -1
  634. package/dist/components/split-button.es.js +1 -1
  635. package/dist/components/stack/index.d.ts +2 -1
  636. package/dist/components/stack/stack.d.ts +3 -5
  637. package/dist/components/stack/stack.types.d.ts +33 -0
  638. package/dist/components/switch.cjs +1 -1
  639. package/dist/components/switch.es.js +1 -1
  640. package/dist/components/tabs/components/tabs.root.d.ts +1 -1
  641. package/dist/components/tabs/tabs.d.ts +1 -1
  642. package/dist/components/tabs/tabs.recipe.d.ts +12 -11
  643. package/dist/components/tabs/tabs.slots.d.ts +10 -0
  644. package/dist/components/tabs/tabs.types.d.ts +9 -0
  645. package/dist/components/tabs.cjs +1 -1
  646. package/dist/components/tabs.es.js +1 -1
  647. package/dist/components/tag-group/intl/de.d.ts +9 -0
  648. package/dist/components/tag-group/intl/en.d.ts +9 -0
  649. package/dist/components/tag-group/intl/es.d.ts +9 -0
  650. package/dist/components/tag-group/intl/fr-FR.d.ts +9 -0
  651. package/dist/components/tag-group/intl/pt-BR.d.ts +9 -0
  652. package/dist/components/tag-group/tag-group.messages.d.ts +6 -0
  653. package/dist/components/tag-group.cjs +1 -1
  654. package/dist/components/tag-group.es.js +1 -1
  655. package/dist/components/text/text.d.ts +2 -0
  656. package/dist/components/text-input-field.cjs +1 -1
  657. package/dist/components/text-input-field.es.js +1 -1
  658. package/dist/components/text-input.cjs +1 -1
  659. package/dist/components/text-input.es.js +1 -1
  660. package/dist/components/time-input.cjs +1 -1
  661. package/dist/components/time-input.es.js +1 -1
  662. package/dist/components/toggle-button.cjs +1 -1
  663. package/dist/components/toggle-button.es.js +1 -1
  664. package/dist/components/toolbar.cjs +1 -1
  665. package/dist/components/toolbar.es.js +1 -1
  666. package/dist/components/utils.cjs +2 -2
  667. package/dist/components/utils.cjs.map +1 -1
  668. package/dist/components/utils.es.js +121 -122
  669. package/dist/components/utils.es.js.map +1 -1
  670. package/dist/constants/color-palettes.d.ts +24 -0
  671. package/dist/constants/index.d.ts +1 -0
  672. package/dist/hooks/index.d.ts +1 -0
  673. package/dist/hooks/use-localized-string-formatter/index.d.ts +1 -0
  674. package/dist/hooks/use-localized-string-formatter/use-localized-string-formatter.d.ts +56 -0
  675. package/dist/index.cjs +1 -1
  676. package/dist/index.cjs.map +1 -1
  677. package/dist/index.es.js +278 -268
  678. package/dist/index.es.js.map +1 -1
  679. package/dist/patterns/fields/date-range-picker-field/date-range-picker-field.types.d.ts +12 -14
  680. package/dist/patterns/fields/index.d.ts +5 -0
  681. package/dist/patterns/fields/money-input-field/index.d.ts +2 -0
  682. package/dist/patterns/fields/money-input-field/money-input-field.d.ts +32 -0
  683. package/dist/patterns/fields/money-input-field/money-input-field.types.d.ts +56 -0
  684. package/dist/patterns/fields/multiline-text-input-field/index.d.ts +2 -0
  685. package/dist/patterns/fields/multiline-text-input-field/multiline-text-input-field.d.ts +30 -0
  686. package/dist/patterns/fields/multiline-text-input-field/multiline-text-input-field.types.d.ts +44 -0
  687. package/dist/patterns/fields/number-input-field/index.d.ts +2 -0
  688. package/dist/patterns/fields/number-input-field/number-input-field.d.ts +31 -0
  689. package/dist/patterns/fields/number-input-field/number-input-field.types.d.ts +52 -0
  690. package/dist/patterns/fields/password-input-field/index.d.ts +2 -0
  691. package/dist/patterns/fields/password-input-field/password-input-field.d.ts +28 -0
  692. package/dist/patterns/fields/password-input-field/password-input-field.types.d.ts +43 -0
  693. package/dist/patterns/fields/search-input-field/index.d.ts +2 -0
  694. package/dist/patterns/fields/search-input-field/search-input-field.d.ts +30 -0
  695. package/dist/patterns/fields/search-input-field/search-input-field.types.d.ts +50 -0
  696. package/dist/patterns/fields/text-input-field/text-input-field.d.ts +1 -1
  697. package/dist/patterns/fields/text-input-field/text-input-field.types.d.ts +8 -3
  698. package/dist/theme/semantic-tokens/colors.d.ts +2 -8
  699. package/dist/theme/semantic-tokens/index.d.ts +1 -4
  700. package/dist/theme/slot-recipes/index.d.ts +34 -32
  701. package/dist/type-utils/shared-types.d.ts +12 -4
  702. package/dist/utils/display-color-palettes.d.ts +39 -0
  703. package/dist/utils/index.d.ts +1 -0
  704. package/dist/utils/normalize-messages.d.ts +10 -0
  705. package/package.json +32 -28
  706. package/dist/chunks/DateField-B5u8QZFY.cjs.js +0 -2
  707. package/dist/chunks/DateField-B5u8QZFY.cjs.js.map +0 -1
  708. package/dist/chunks/DateField-C5JgBb30.es.js.map +0 -1
  709. package/dist/chunks/TextArea-2QJpeMJq.cjs.js +0 -2
  710. package/dist/chunks/TextArea-2QJpeMJq.cjs.js.map +0 -1
  711. package/dist/chunks/TextArea-CXEdUjgW.es.js +0 -42
  712. package/dist/chunks/TextArea-CXEdUjgW.es.js.map +0 -1
  713. package/dist/chunks/alert-ByKnzJtr.cjs.js +0 -2
  714. package/dist/chunks/alert-ByKnzJtr.cjs.js.map +0 -1
  715. package/dist/chunks/alert-Cb8WoJYV.es.js +0 -211
  716. package/dist/chunks/alert-Cb8WoJYV.es.js.map +0 -1
  717. package/dist/chunks/avatar-Dx_Cda2J.es.js +0 -47
  718. package/dist/chunks/avatar-Dx_Cda2J.es.js.map +0 -1
  719. package/dist/chunks/avatar-wRR1leVi.cjs.js +0 -2
  720. package/dist/chunks/avatar-wRR1leVi.cjs.js.map +0 -1
  721. package/dist/chunks/calendar-B--ZxTlQ.es.js +0 -217
  722. package/dist/chunks/calendar-B--ZxTlQ.es.js.map +0 -1
  723. package/dist/chunks/calendar-DLSOwy_e.cjs.js +0 -2
  724. package/dist/chunks/calendar-DLSOwy_e.cjs.js.map +0 -1
  725. package/dist/chunks/card-B2TxE_Ez.cjs.js +0 -2
  726. package/dist/chunks/card-B2TxE_Ez.cjs.js.map +0 -1
  727. package/dist/chunks/card-CEfEgF48.es.js +0 -120
  728. package/dist/chunks/card-CEfEgF48.es.js.map +0 -1
  729. package/dist/chunks/combobox-B2nkVE2H.cjs.js +0 -2
  730. package/dist/chunks/combobox-B2nkVE2H.cjs.js.map +0 -1
  731. package/dist/chunks/combobox-COyroO64.es.js +0 -2497
  732. package/dist/chunks/combobox-COyroO64.es.js.map +0 -1
  733. package/dist/chunks/data-table-BzY3lLyR.cjs.js +0 -2
  734. package/dist/chunks/data-table-BzY3lLyR.cjs.js.map +0 -1
  735. package/dist/chunks/data-table-C0rC7Jgu.es.js.map +0 -1
  736. package/dist/chunks/date-picker-8kdn6Ih5.es.js +0 -218
  737. package/dist/chunks/date-picker-8kdn6Ih5.es.js.map +0 -1
  738. package/dist/chunks/date-picker-CxJ6zMkz.cjs.js +0 -2
  739. package/dist/chunks/date-picker-CxJ6zMkz.cjs.js.map +0 -1
  740. package/dist/chunks/date-range-picker-B2VUcKjG.cjs.js +0 -2
  741. package/dist/chunks/date-range-picker-B2VUcKjG.cjs.js.map +0 -1
  742. package/dist/chunks/date-range-picker-Di9p8cKs.es.js +0 -356
  743. package/dist/chunks/date-range-picker-Di9p8cKs.es.js.map +0 -1
  744. package/dist/chunks/date-range-picker-field-D3tLPzMb.es.js.map +0 -1
  745. package/dist/chunks/date-range-picker-field-DipL5QZq.cjs.js.map +0 -1
  746. package/dist/chunks/dialog-qw6IMWj3.cjs.js +0 -2
  747. package/dist/chunks/dialog-qw6IMWj3.cjs.js.map +0 -1
  748. package/dist/chunks/dialog-z8EM12xr.es.js.map +0 -1
  749. package/dist/chunks/drawer-BZBluK-I.es.js.map +0 -1
  750. package/dist/chunks/drawer-DfJY_5pD.cjs.js +0 -2
  751. package/dist/chunks/drawer-DfJY_5pD.cjs.js.map +0 -1
  752. package/dist/chunks/field-errors-ClQprmQz.es.js +0 -213
  753. package/dist/chunks/field-errors-ClQprmQz.es.js.map +0 -1
  754. package/dist/chunks/field-errors-D2re_C_c.cjs.js +0 -2
  755. package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +0 -1
  756. package/dist/chunks/form-field-BqlkPY29.es.js.map +0 -1
  757. package/dist/chunks/form-field-lALRYL6D.cjs.js +0 -2
  758. package/dist/chunks/form-field-lALRYL6D.cjs.js.map +0 -1
  759. package/dist/chunks/icon-CenxuChf.es.js +0 -11
  760. package/dist/chunks/icon-D39U--jA.cjs.js +0 -2
  761. package/dist/chunks/icon-button-BUmqYcIF.cjs.js +0 -2
  762. package/dist/chunks/icon-button-BUmqYcIF.cjs.js.map +0 -1
  763. package/dist/chunks/icon-button-DgL7XNUZ.es.js +0 -14
  764. package/dist/chunks/icon-button-DgL7XNUZ.es.js.map +0 -1
  765. package/dist/chunks/icon-toggle-button-BKmjmlZt.es.js.map +0 -1
  766. package/dist/chunks/icon-toggle-button-D3spgxe2.cjs.js.map +0 -1
  767. package/dist/chunks/index-BEgCT-l6.es.js.map +0 -1
  768. package/dist/chunks/index-DzRjEtIu.cjs.js +0 -34
  769. package/dist/chunks/index-DzRjEtIu.cjs.js.map +0 -1
  770. package/dist/chunks/inline-svg-CbSC6O5X.es.js +0 -21
  771. package/dist/chunks/inline-svg-Yb2OyzRw.cjs.js +0 -2
  772. package/dist/chunks/loading-spinner-DF6c3rBM.es.js +0 -59
  773. package/dist/chunks/loading-spinner-DF6c3rBM.es.js.map +0 -1
  774. package/dist/chunks/loading-spinner-DsKcjJ2b.cjs.js +0 -2
  775. package/dist/chunks/loading-spinner-DsKcjJ2b.cjs.js.map +0 -1
  776. package/dist/chunks/localized-field-CtLqzEnl.cjs.js +0 -2
  777. package/dist/chunks/localized-field-CtLqzEnl.cjs.js.map +0 -1
  778. package/dist/chunks/localized-field-XLDcWlU1.es.js +0 -470
  779. package/dist/chunks/localized-field-XLDcWlU1.es.js.map +0 -1
  780. package/dist/chunks/menu-C3Ovi5Mr.es.js.map +0 -1
  781. package/dist/chunks/menu-Vj3cVc_v.cjs.js.map +0 -1
  782. package/dist/chunks/money-input-B2tSXXU9.cjs.js +0 -2
  783. package/dist/chunks/money-input-B2tSXXU9.cjs.js.map +0 -1
  784. package/dist/chunks/money-input-BEek-VSq.es.js.map +0 -1
  785. package/dist/chunks/multiline-text-input-D5vbZHyU.es.js +0 -64
  786. package/dist/chunks/multiline-text-input-D5vbZHyU.es.js.map +0 -1
  787. package/dist/chunks/multiline-text-input-G1ZSL7hm.cjs.js +0 -2
  788. package/dist/chunks/multiline-text-input-G1ZSL7hm.cjs.js.map +0 -1
  789. package/dist/chunks/nimbus-provider-BHwVMxgZ.es.js +0 -102
  790. package/dist/chunks/nimbus-provider-BHwVMxgZ.es.js.map +0 -1
  791. package/dist/chunks/nimbus-provider-DHZ_RRPR.cjs.js +0 -2
  792. package/dist/chunks/nimbus-provider-DHZ_RRPR.cjs.js.map +0 -1
  793. package/dist/chunks/number-input-CwrgDAWw.cjs.js +0 -2
  794. package/dist/chunks/number-input-CwrgDAWw.cjs.js.map +0 -1
  795. package/dist/chunks/number-input-DrhSvm6o.es.js.map +0 -1
  796. package/dist/chunks/pagination-C6OYOaIl.cjs.js +0 -2
  797. package/dist/chunks/pagination-C6OYOaIl.cjs.js.map +0 -1
  798. package/dist/chunks/pagination-aj1F0182.es.js +0 -210
  799. package/dist/chunks/pagination-aj1F0182.es.js.map +0 -1
  800. package/dist/chunks/password-input-BILx_1d0.cjs.js +0 -2
  801. package/dist/chunks/password-input-BILx_1d0.cjs.js.map +0 -1
  802. package/dist/chunks/password-input-DTPr52a3.es.js +0 -54
  803. package/dist/chunks/password-input-DTPr52a3.es.js.map +0 -1
  804. package/dist/chunks/popover-BAIwOPdC.es.js +0 -14
  805. package/dist/chunks/popover-BAIwOPdC.es.js.map +0 -1
  806. package/dist/chunks/popover-DY7ASSCU.cjs.js +0 -2
  807. package/dist/chunks/popover-DY7ASSCU.cjs.js.map +0 -1
  808. package/dist/chunks/range-calendar-BagHIF-Y.es.js +0 -219
  809. package/dist/chunks/range-calendar-BagHIF-Y.es.js.map +0 -1
  810. package/dist/chunks/range-calendar-sHWelH3C.cjs.js +0 -2
  811. package/dist/chunks/range-calendar-sHWelH3C.cjs.js.map +0 -1
  812. package/dist/chunks/rich-text-input-B4ksKYJh.cjs.js +0 -10
  813. package/dist/chunks/rich-text-input-B4ksKYJh.cjs.js.map +0 -1
  814. package/dist/chunks/rich-text-input-CZqXRWdM.es.js +0 -1200
  815. package/dist/chunks/rich-text-input-CZqXRWdM.es.js.map +0 -1
  816. package/dist/chunks/scoped-search-input-BKTc1h-7.cjs.js +0 -2
  817. package/dist/chunks/scoped-search-input-BKTc1h-7.cjs.js.map +0 -1
  818. package/dist/chunks/scoped-search-input-DY4w22Ki.es.js +0 -152
  819. package/dist/chunks/scoped-search-input-DY4w22Ki.es.js.map +0 -1
  820. package/dist/chunks/search-input-Bl0EswfK.cjs.js +0 -2
  821. package/dist/chunks/search-input-Bl0EswfK.cjs.js.map +0 -1
  822. package/dist/chunks/search-input-CMrPbAUI.es.js.map +0 -1
  823. package/dist/chunks/select-B2MAR-fq.cjs.js +0 -2
  824. package/dist/chunks/select-B2MAR-fq.cjs.js.map +0 -1
  825. package/dist/chunks/select-DG6qOekv.es.js.map +0 -1
  826. package/dist/chunks/split-button-BpZ8jMvw.es.js +0 -106
  827. package/dist/chunks/split-button-BpZ8jMvw.es.js.map +0 -1
  828. package/dist/chunks/split-button-C99oShiQ.cjs.js +0 -2
  829. package/dist/chunks/split-button-C99oShiQ.cjs.js.map +0 -1
  830. package/dist/chunks/tabs-HOHhoLn5.es.js +0 -502
  831. package/dist/chunks/tabs-HOHhoLn5.es.js.map +0 -1
  832. package/dist/chunks/tabs-gitNliDG.cjs.js +0 -2
  833. package/dist/chunks/tabs-gitNliDG.cjs.js.map +0 -1
  834. package/dist/chunks/tag-group-Aa30DcsU.es.js.map +0 -1
  835. package/dist/chunks/tag-group-Ci_H89V0.cjs.js +0 -2
  836. package/dist/chunks/tag-group-Ci_H89V0.cjs.js.map +0 -1
  837. package/dist/chunks/text-input-field-BgQ4Te_a.cjs.js +0 -2
  838. package/dist/chunks/text-input-field-BgQ4Te_a.cjs.js.map +0 -1
  839. package/dist/chunks/text-input-field-CkcoMrv2.es.js +0 -55
  840. package/dist/chunks/text-input-field-CkcoMrv2.es.js.map +0 -1
  841. package/dist/chunks/useDateFormatter-886GJ5w1.es.js.map +0 -1
  842. package/dist/chunks/useDateFormatter-WCaFojul.cjs.js +0 -2
  843. package/dist/chunks/useDateFormatter-WCaFojul.cjs.js.map +0 -1
  844. package/dist/chunks/useFilter-BgT0isJK.es.js +0 -36
  845. package/dist/chunks/useFilter-BgT0isJK.es.js.map +0 -1
  846. package/dist/chunks/useFilter-CAVKltBB.cjs.js +0 -2
  847. package/dist/chunks/useFilter-CAVKltBB.cjs.js.map +0 -1
  848. package/dist/chunks/useListState-QQtJHpsQ.cjs.js +0 -2
  849. package/dist/chunks/useLocalizedStringFormatter-DaRRUvyV.es.js +0 -97
  850. package/dist/chunks/useLocalizedStringFormatter-DaRRUvyV.es.js.map +0 -1
  851. package/dist/chunks/useLocalizedStringFormatter-kWoZGAh5.cjs.js +0 -2
  852. package/dist/chunks/useLocalizedStringFormatter-kWoZGAh5.cjs.js.map +0 -1
  853. package/dist/chunks/useSingleSelectListState-B29G7the.es.js +0 -35
  854. package/dist/chunks/useSingleSelectListState-B29G7the.es.js.map +0 -1
  855. package/dist/chunks/useSingleSelectListState-CsD7W9nK.cjs.js +0 -2
  856. package/dist/chunks/useSingleSelectListState-CsD7W9nK.cjs.js.map +0 -1
  857. package/dist/components/combobox/components/combobox.multi-select-button-group.d.ts +0 -7
  858. package/dist/components/combobox/components/combobox.multi-select-root.d.ts +0 -7
  859. package/dist/components/combobox/components/combobox.multi-select-tag-group.d.ts +0 -7
  860. package/dist/components/combobox/components/combobox.option-group.d.ts +0 -11
  861. package/dist/components/combobox/components/combobox.options.d.ts +0 -10
  862. package/dist/components/combobox/components/combobox.single-select-button-group.d.ts +0 -7
  863. package/dist/components/combobox/components/combobox.single-select-input.d.ts +0 -7
  864. package/dist/components/combobox/components/combobox.single-select-root.d.ts +0 -7
@@ -1,2497 +0,0 @@
1
- import { jsx as s, jsxs as ce, Fragment as Ge } from "react/jsx-runtime";
2
- import { j as Nt, k as jt, $ as qe, a as zt, b as Ut, d as qt, c as Wt } from "./ListBox-C8TVMFFY.es.js";
3
- import { Close as We, Loop as He, KeyboardArrowDown as Je, Check as Ht } from "@commercetools/nimbus-icons";
4
- import { createSlotRecipeContext as Jt, mergeRefs as Zt } from "@chakra-ui/react";
5
- import { e as Le } from "./extract-style-props-DChosa6I.es.js";
6
- import X, { useEffect as ue, useRef as T, useMemo as ae, useState as U, useCallback as j, createContext as fe, forwardRef as Xt, useContext as Ze } from "react";
7
- import { c as Yt, a as Qt, d as _t } from "./Header-Bvo6aMcQ.es.js";
8
- import { g as en, c as on } from "./CollectionBuilder-ZlIN4SR4.es.js";
9
- import { useSlotRecipe as tn } from "@chakra-ui/react/styled-system";
10
- import { q as nn } from "./index-BEgCT-l6.es.js";
11
- import { $ as Xe } from "./Button-BjcDZ5eb.es.js";
12
- import { d as Ye, c as Pe, f as Ie, e as we, $ as xe, b as Qe, a as _e } from "./utils-B6pV5ewr.es.js";
13
- import { $ as eo } from "./FieldError-CXcEMuBf.es.js";
14
- import { $ as oo } from "./Form-CXcEMuBf.es.js";
15
- import { a as ke } from "./Group-BQc9LuMT.es.js";
16
- import { $ as he, a as to } from "./Input-Cmg08oRP.es.js";
17
- import { $ as Ke } from "./Label-DIseLESi.es.js";
18
- import { q as un, d as ln, e as rn, i as cn, $ as no, r as uo, k as an, h as sn } from "./Dialog-DUbUCf4o.es.js";
19
- import { $ as Oe } from "./Text-DOcU1ycg.es.js";
20
- import { $ as lo } from "./filterDOMProps-BSVCO5jK.es.js";
21
- import { $ as dn, c as pn } from "./OverlayArrow-BIjbCSXk.es.js";
22
- import { $ as io } from "./useFilter-BgT0isJK.es.js";
23
- import { b as bn, $ as $n } from "./useFormValidation-BCVLtR0U.es.js";
24
- import { e as fn, f as ro, p as Te, q as Ne, r as mn, s as xn, t as je, u as Cn, v as hn } from "./SelectionManager-bgcDT3lR.es.js";
25
- import { $ as vn } from "./useSingleSelectListState-B29G7the.es.js";
26
- import { c as yn } from "./useListState-BHLGQlP3.es.js";
27
- import { $ as co } from "./useControlledState-u436Wbp1.es.js";
28
- import { $ as Ae } from "./LiveAnnouncer-CsPyaceH.es.js";
29
- import { $ as $e, e as An, a as En, c as me } from "./mergeProps-Dsl8k3Ig.es.js";
30
- import { $ as gn, j as Bn, d as Fe, a as ao } from "./utils-oAGBWzI5.es.js";
31
- import { a as Tn } from "./openLink-BNz58j4a.es.js";
32
- import { $ as Se } from "./useLabels-BDqWMehi.es.js";
33
- import { $ as Fn } from "./useUpdateEffect-CCDx8D4X.es.js";
34
- import { g as Ee, f as Sn, d as Dn } from "./platform-Z5fvtFmM.es.js";
35
- import { $ as so } from "./useEvent-CRo5BZDX.es.js";
36
- import { $ as po } from "./useLocalizedStringFormatter-DaRRUvyV.es.js";
37
- import { $ as bo } from "./useTextField-yuaT8-G4.es.js";
38
- import { defineMessages as Ln, useIntl as ve } from "react-intl";
39
- import { I as De } from "./icon-button-DgL7XNUZ.es.js";
40
- import { B as Ce } from "./box-DuBoAZvq.es.js";
41
- import { Flex as $o } from "@chakra-ui/react/flex";
42
- import { c as fo, b as Pn } from "./RSPContexts-DLgb84PF.es.js";
43
- import { $ as mo } from "./useObjectRef-CaJ5pgjX.es.js";
44
- import { b as In } from "./useFocusVisible-B3HmFL2Q.es.js";
45
- import { a as wn } from "./TextArea-CXEdUjgW.es.js";
46
- import { $ as kn } from "./Hidden-X9vuhkMZ.es.js";
47
- import { T as ge } from "./tag-group-Aa30DcsU.es.js";
48
- import { $ as Kn } from "./usePress-BuLomD_X.es.js";
49
- import { $ as On } from "./useFocusable-Cs6i58WP.es.js";
50
- var xo = {};
51
- xo = {
52
- buttonLabel: "عرض المقترحات",
53
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
54
- one: () => `${o.number(e.optionCount)} خيار`,
55
- other: () => `${o.number(e.optionCount)} خيارات`
56
- })} متاحة.`,
57
- focusAnnouncement: (e, o) => `${o.select({
58
- true: () => `المجموعة المدخلة ${e.groupTitle}, مع ${o.plural(e.groupCount, {
59
- one: () => `${o.number(e.groupCount)} خيار`,
60
- other: () => `${o.number(e.groupCount)} خيارات`
61
- })}. `,
62
- other: ""
63
- }, e.isGroupChange)}${e.optionText}${o.select({
64
- true: ", محدد",
65
- other: ""
66
- }, e.isSelected)}`,
67
- listboxLabel: "مقترحات",
68
- selectedAnnouncement: (e) => `${e.optionText}، محدد`
69
- };
70
- var Co = {};
71
- Co = {
72
- buttonLabel: "Покажи предложения",
73
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
74
- one: () => `${o.number(e.optionCount)} опция`,
75
- other: () => `${o.number(e.optionCount)} опции`
76
- })} на разположение.`,
77
- focusAnnouncement: (e, o) => `${o.select({
78
- true: () => `Въведена група ${e.groupTitle}, с ${o.plural(e.groupCount, {
79
- one: () => `${o.number(e.groupCount)} опция`,
80
- other: () => `${o.number(e.groupCount)} опции`
81
- })}. `,
82
- other: ""
83
- }, e.isGroupChange)}${e.optionText}${o.select({
84
- true: ", избрани",
85
- other: ""
86
- }, e.isSelected)}`,
87
- listboxLabel: "Предложения",
88
- selectedAnnouncement: (e) => `${e.optionText}, избрани`
89
- };
90
- var ho = {};
91
- ho = {
92
- buttonLabel: "Zobrazit doporučení",
93
- countAnnouncement: (e, o) => `K dispozici ${o.plural(e.optionCount, {
94
- one: () => `je ${o.number(e.optionCount)} možnost`,
95
- other: () => `jsou/je ${o.number(e.optionCount)} možnosti/-í`
96
- })}.`,
97
- focusAnnouncement: (e, o) => `${o.select({
98
- true: () => `Zadaná skupina „${e.groupTitle}“ ${o.plural(e.groupCount, {
99
- one: () => `s ${o.number(e.groupCount)} možností`,
100
- other: () => `se ${o.number(e.groupCount)} možnostmi`
101
- })}. `,
102
- other: ""
103
- }, e.isGroupChange)}${e.optionText}${o.select({
104
- true: " (vybráno)",
105
- other: ""
106
- }, e.isSelected)}`,
107
- listboxLabel: "Návrhy",
108
- selectedAnnouncement: (e) => `${e.optionText}, vybráno`
109
- };
110
- var vo = {};
111
- vo = {
112
- buttonLabel: "Vis forslag",
113
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
114
- one: () => `${o.number(e.optionCount)} mulighed tilgængelig`,
115
- other: () => `${o.number(e.optionCount)} muligheder tilgængelige`
116
- })}.`,
117
- focusAnnouncement: (e, o) => `${o.select({
118
- true: () => `Angivet gruppe ${e.groupTitle}, med ${o.plural(e.groupCount, {
119
- one: () => `${o.number(e.groupCount)} mulighed`,
120
- other: () => `${o.number(e.groupCount)} muligheder`
121
- })}. `,
122
- other: ""
123
- }, e.isGroupChange)}${e.optionText}${o.select({
124
- true: ", valgt",
125
- other: ""
126
- }, e.isSelected)}`,
127
- listboxLabel: "Forslag",
128
- selectedAnnouncement: (e) => `${e.optionText}, valgt`
129
- };
130
- var yo = {};
131
- yo = {
132
- buttonLabel: "Empfehlungen anzeigen",
133
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
134
- one: () => `${o.number(e.optionCount)} Option`,
135
- other: () => `${o.number(e.optionCount)} Optionen`
136
- })} verfügbar.`,
137
- focusAnnouncement: (e, o) => `${o.select({
138
- true: () => `Eingetretene Gruppe ${e.groupTitle}, mit ${o.plural(e.groupCount, {
139
- one: () => `${o.number(e.groupCount)} Option`,
140
- other: () => `${o.number(e.groupCount)} Optionen`
141
- })}. `,
142
- other: ""
143
- }, e.isGroupChange)}${e.optionText}${o.select({
144
- true: ", ausgewählt",
145
- other: ""
146
- }, e.isSelected)}`,
147
- listboxLabel: "Empfehlungen",
148
- selectedAnnouncement: (e) => `${e.optionText}, ausgewählt`
149
- };
150
- var Ao = {};
151
- Ao = {
152
- buttonLabel: "Προβολή προτάσεων",
153
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
154
- one: () => `${o.number(e.optionCount)} επιλογή`,
155
- other: () => `${o.number(e.optionCount)} επιλογές `
156
- })} διαθέσιμες.`,
157
- focusAnnouncement: (e, o) => `${o.select({
158
- true: () => `Εισαγμένη ομάδα ${e.groupTitle}, με ${o.plural(e.groupCount, {
159
- one: () => `${o.number(e.groupCount)} επιλογή`,
160
- other: () => `${o.number(e.groupCount)} επιλογές`
161
- })}. `,
162
- other: ""
163
- }, e.isGroupChange)}${e.optionText}${o.select({
164
- true: ", επιλεγμένο",
165
- other: ""
166
- }, e.isSelected)}`,
167
- listboxLabel: "Προτάσεις",
168
- selectedAnnouncement: (e) => `${e.optionText}, επιλέχθηκε`
169
- };
170
- var Eo = {};
171
- Eo = {
172
- focusAnnouncement: (e, o) => `${o.select({
173
- true: () => `Entered group ${e.groupTitle}, with ${o.plural(e.groupCount, {
174
- one: () => `${o.number(e.groupCount)} option`,
175
- other: () => `${o.number(e.groupCount)} options`
176
- })}. `,
177
- other: ""
178
- }, e.isGroupChange)}${e.optionText}${o.select({
179
- true: ", selected",
180
- other: ""
181
- }, e.isSelected)}`,
182
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
183
- one: () => `${o.number(e.optionCount)} option`,
184
- other: () => `${o.number(e.optionCount)} options`
185
- })} available.`,
186
- selectedAnnouncement: (e) => `${e.optionText}, selected`,
187
- buttonLabel: "Show suggestions",
188
- listboxLabel: "Suggestions"
189
- };
190
- var go = {};
191
- go = {
192
- buttonLabel: "Mostrar sugerencias",
193
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
194
- one: () => `${o.number(e.optionCount)} opción`,
195
- other: () => `${o.number(e.optionCount)} opciones`
196
- })} disponible(s).`,
197
- focusAnnouncement: (e, o) => `${o.select({
198
- true: () => `Se ha unido al grupo ${e.groupTitle}, con ${o.plural(e.groupCount, {
199
- one: () => `${o.number(e.groupCount)} opción`,
200
- other: () => `${o.number(e.groupCount)} opciones`
201
- })}. `,
202
- other: ""
203
- }, e.isGroupChange)}${e.optionText}${o.select({
204
- true: ", seleccionado",
205
- other: ""
206
- }, e.isSelected)}`,
207
- listboxLabel: "Sugerencias",
208
- selectedAnnouncement: (e) => `${e.optionText}, seleccionado`
209
- };
210
- var Bo = {};
211
- Bo = {
212
- buttonLabel: "Kuva soovitused",
213
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
214
- one: () => `${o.number(e.optionCount)} valik`,
215
- other: () => `${o.number(e.optionCount)} valikud`
216
- })} saadaval.`,
217
- focusAnnouncement: (e, o) => `${o.select({
218
- true: () => `Sisestatud rühm ${e.groupTitle}, valikuga ${o.plural(e.groupCount, {
219
- one: () => `${o.number(e.groupCount)} valik`,
220
- other: () => `${o.number(e.groupCount)} valikud`
221
- })}. `,
222
- other: ""
223
- }, e.isGroupChange)}${e.optionText}${o.select({
224
- true: ", valitud",
225
- other: ""
226
- }, e.isSelected)}`,
227
- listboxLabel: "Soovitused",
228
- selectedAnnouncement: (e) => `${e.optionText}, valitud`
229
- };
230
- var To = {};
231
- To = {
232
- buttonLabel: "Näytä ehdotukset",
233
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
234
- one: () => `${o.number(e.optionCount)} vaihtoehto`,
235
- other: () => `${o.number(e.optionCount)} vaihtoehdot`
236
- })} saatavilla.`,
237
- focusAnnouncement: (e, o) => `${o.select({
238
- true: () => `Mentiin ryhmään ${e.groupTitle}, ${o.plural(e.groupCount, {
239
- one: () => `${o.number(e.groupCount)} vaihtoehdon`,
240
- other: () => `${o.number(e.groupCount)} vaihtoehdon`
241
- })} kanssa.`,
242
- other: ""
243
- }, e.isGroupChange)}${e.optionText}${o.select({
244
- true: ", valittu",
245
- other: ""
246
- }, e.isSelected)}`,
247
- listboxLabel: "Ehdotukset",
248
- selectedAnnouncement: (e) => `${e.optionText}, valittu`
249
- };
250
- var Fo = {};
251
- Fo = {
252
- buttonLabel: "Afficher les suggestions",
253
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
254
- one: () => `${o.number(e.optionCount)} option`,
255
- other: () => `${o.number(e.optionCount)} options`
256
- })} disponible(s).`,
257
- focusAnnouncement: (e, o) => `${o.select({
258
- true: () => `Groupe ${e.groupTitle} rejoint, avec ${o.plural(e.groupCount, {
259
- one: () => `${o.number(e.groupCount)} option`,
260
- other: () => `${o.number(e.groupCount)} options`
261
- })}. `,
262
- other: ""
263
- }, e.isGroupChange)}${e.optionText}${o.select({
264
- true: ", sélectionné(s)",
265
- other: ""
266
- }, e.isSelected)}`,
267
- listboxLabel: "Suggestions",
268
- selectedAnnouncement: (e) => `${e.optionText}, sélectionné`
269
- };
270
- var So = {};
271
- So = {
272
- buttonLabel: "הצג הצעות",
273
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
274
- one: () => `אפשרות ${o.number(e.optionCount)}`,
275
- other: () => `${o.number(e.optionCount)} אפשרויות`
276
- })} במצב זמין.`,
277
- focusAnnouncement: (e, o) => `${o.select({
278
- true: () => `נכנס לקבוצה ${e.groupTitle}, עם ${o.plural(e.groupCount, {
279
- one: () => `אפשרות ${o.number(e.groupCount)}`,
280
- other: () => `${o.number(e.groupCount)} אפשרויות`
281
- })}. `,
282
- other: ""
283
- }, e.isGroupChange)}${e.optionText}${o.select({
284
- true: ", נבחר",
285
- other: ""
286
- }, e.isSelected)}`,
287
- listboxLabel: "הצעות",
288
- selectedAnnouncement: (e) => `${e.optionText}, נבחר`
289
- };
290
- var Do = {};
291
- Do = {
292
- buttonLabel: "Prikaži prijedloge",
293
- countAnnouncement: (e, o) => `Dostupno još: ${o.plural(e.optionCount, {
294
- one: () => `${o.number(e.optionCount)} opcija`,
295
- other: () => `${o.number(e.optionCount)} opcije/a`
296
- })}.`,
297
- focusAnnouncement: (e, o) => `${o.select({
298
- true: () => `Unesena skupina ${e.groupTitle}, s ${o.plural(e.groupCount, {
299
- one: () => `${o.number(e.groupCount)} opcijom`,
300
- other: () => `${o.number(e.groupCount)} opcije/a`
301
- })}. `,
302
- other: ""
303
- }, e.isGroupChange)}${e.optionText}${o.select({
304
- true: ", odabranih",
305
- other: ""
306
- }, e.isSelected)}`,
307
- listboxLabel: "Prijedlozi",
308
- selectedAnnouncement: (e) => `${e.optionText}, odabrano`
309
- };
310
- var Lo = {};
311
- Lo = {
312
- buttonLabel: "Javaslatok megjelenítése",
313
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
314
- one: () => `${o.number(e.optionCount)} lehetőség`,
315
- other: () => `${o.number(e.optionCount)} lehetőség`
316
- })} áll rendelkezésre.`,
317
- focusAnnouncement: (e, o) => `${o.select({
318
- true: () => `Belépett a(z) ${e.groupTitle} csoportba, amely ${o.plural(e.groupCount, {
319
- one: () => `${o.number(e.groupCount)} lehetőséget`,
320
- other: () => `${o.number(e.groupCount)} lehetőséget`
321
- })} tartalmaz. `,
322
- other: ""
323
- }, e.isGroupChange)}${e.optionText}${o.select({
324
- true: ", kijelölve",
325
- other: ""
326
- }, e.isSelected)}`,
327
- listboxLabel: "Javaslatok",
328
- selectedAnnouncement: (e) => `${e.optionText}, kijelölve`
329
- };
330
- var Po = {};
331
- Po = {
332
- buttonLabel: "Mostra suggerimenti",
333
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
334
- one: () => `${o.number(e.optionCount)} opzione disponibile`,
335
- other: () => `${o.number(e.optionCount)} opzioni disponibili`
336
- })}.`,
337
- focusAnnouncement: (e, o) => `${o.select({
338
- true: () => `Ingresso nel gruppo ${e.groupTitle}, con ${o.plural(e.groupCount, {
339
- one: () => `${o.number(e.groupCount)} opzione`,
340
- other: () => `${o.number(e.groupCount)} opzioni`
341
- })}. `,
342
- other: ""
343
- }, e.isGroupChange)}${e.optionText}${o.select({
344
- true: ", selezionato",
345
- other: ""
346
- }, e.isSelected)}`,
347
- listboxLabel: "Suggerimenti",
348
- selectedAnnouncement: (e) => `${e.optionText}, selezionato`
349
- };
350
- var Io = {};
351
- Io = {
352
- buttonLabel: "候補を表示",
353
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
354
- one: () => `${o.number(e.optionCount)} 個のオプション`,
355
- other: () => `${o.number(e.optionCount)} 個のオプション`
356
- })}を利用できます。`,
357
- focusAnnouncement: (e, o) => `${o.select({
358
- true: () => `入力されたグループ ${e.groupTitle}、${o.plural(e.groupCount, {
359
- one: () => `${o.number(e.groupCount)} 個のオプション`,
360
- other: () => `${o.number(e.groupCount)} 個のオプション`
361
- })}を含む。`,
362
- other: ""
363
- }, e.isGroupChange)}${e.optionText}${o.select({
364
- true: "、選択済み",
365
- other: ""
366
- }, e.isSelected)}`,
367
- listboxLabel: "候補",
368
- selectedAnnouncement: (e) => `${e.optionText}、選択済み`
369
- };
370
- var wo = {};
371
- wo = {
372
- buttonLabel: "제안 사항 표시",
373
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
374
- one: () => `${o.number(e.optionCount)}개 옵션`,
375
- other: () => `${o.number(e.optionCount)}개 옵션`
376
- })}을 사용할 수 있습니다.`,
377
- focusAnnouncement: (e, o) => `${o.select({
378
- true: () => `입력한 그룹 ${e.groupTitle}, ${o.plural(e.groupCount, {
379
- one: () => `${o.number(e.groupCount)}개 옵션`,
380
- other: () => `${o.number(e.groupCount)}개 옵션`
381
- })}. `,
382
- other: ""
383
- }, e.isGroupChange)}${e.optionText}${o.select({
384
- true: ", 선택됨",
385
- other: ""
386
- }, e.isSelected)}`,
387
- listboxLabel: "제안",
388
- selectedAnnouncement: (e) => `${e.optionText}, 선택됨`
389
- };
390
- var ko = {};
391
- ko = {
392
- buttonLabel: "Rodyti pasiūlymus",
393
- countAnnouncement: (e, o) => `Yra ${o.plural(e.optionCount, {
394
- one: () => `${o.number(e.optionCount)} parinktis`,
395
- other: () => `${o.number(e.optionCount)} parinktys (-ių)`
396
- })}.`,
397
- focusAnnouncement: (e, o) => `${o.select({
398
- true: () => `Įvesta grupė ${e.groupTitle}, su ${o.plural(e.groupCount, {
399
- one: () => `${o.number(e.groupCount)} parinktimi`,
400
- other: () => `${o.number(e.groupCount)} parinktimis (-ių)`
401
- })}. `,
402
- other: ""
403
- }, e.isGroupChange)}${e.optionText}${o.select({
404
- true: ", pasirinkta",
405
- other: ""
406
- }, e.isSelected)}`,
407
- listboxLabel: "Pasiūlymai",
408
- selectedAnnouncement: (e) => `${e.optionText}, pasirinkta`
409
- };
410
- var Ko = {};
411
- Ko = {
412
- buttonLabel: "Rādīt ieteikumus",
413
- countAnnouncement: (e, o) => `Pieejamo opciju skaits: ${o.plural(e.optionCount, {
414
- one: () => `${o.number(e.optionCount)} opcija`,
415
- other: () => `${o.number(e.optionCount)} opcijas`
416
- })}.`,
417
- focusAnnouncement: (e, o) => `${o.select({
418
- true: () => `Ievadīta grupa ${e.groupTitle}, ar ${o.plural(e.groupCount, {
419
- one: () => `${o.number(e.groupCount)} opciju`,
420
- other: () => `${o.number(e.groupCount)} opcijām`
421
- })}. `,
422
- other: ""
423
- }, e.isGroupChange)}${e.optionText}${o.select({
424
- true: ", atlasīta",
425
- other: ""
426
- }, e.isSelected)}`,
427
- listboxLabel: "Ieteikumi",
428
- selectedAnnouncement: (e) => `${e.optionText}, atlasīta`
429
- };
430
- var Oo = {};
431
- Oo = {
432
- buttonLabel: "Vis forslag",
433
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
434
- one: () => `${o.number(e.optionCount)} alternativ`,
435
- other: () => `${o.number(e.optionCount)} alternativer`
436
- })} finnes.`,
437
- focusAnnouncement: (e, o) => `${o.select({
438
- true: () => `Angitt gruppe ${e.groupTitle}, med ${o.plural(e.groupCount, {
439
- one: () => `${o.number(e.groupCount)} alternativ`,
440
- other: () => `${o.number(e.groupCount)} alternativer`
441
- })}. `,
442
- other: ""
443
- }, e.isGroupChange)}${e.optionText}${o.select({
444
- true: ", valgt",
445
- other: ""
446
- }, e.isSelected)}`,
447
- listboxLabel: "Forslag",
448
- selectedAnnouncement: (e) => `${e.optionText}, valgt`
449
- };
450
- var Ro = {};
451
- Ro = {
452
- buttonLabel: "Suggesties weergeven",
453
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
454
- one: () => `${o.number(e.optionCount)} optie`,
455
- other: () => `${o.number(e.optionCount)} opties`
456
- })} beschikbaar.`,
457
- focusAnnouncement: (e, o) => `${o.select({
458
- true: () => `Groep ${e.groupTitle} ingevoerd met ${o.plural(e.groupCount, {
459
- one: () => `${o.number(e.groupCount)} optie`,
460
- other: () => `${o.number(e.groupCount)} opties`
461
- })}. `,
462
- other: ""
463
- }, e.isGroupChange)}${e.optionText}${o.select({
464
- true: ", geselecteerd",
465
- other: ""
466
- }, e.isSelected)}`,
467
- listboxLabel: "Suggesties",
468
- selectedAnnouncement: (e) => `${e.optionText}, geselecteerd`
469
- };
470
- var Vo = {};
471
- Vo = {
472
- buttonLabel: "Wyświetlaj sugestie",
473
- countAnnouncement: (e, o) => `dostępna/dostępne(-nych) ${o.plural(e.optionCount, {
474
- one: () => `${o.number(e.optionCount)} opcja`,
475
- other: () => `${o.number(e.optionCount)} opcje(-i)`
476
- })}.`,
477
- focusAnnouncement: (e, o) => `${o.select({
478
- true: () => `Dołączono do grupy ${e.groupTitle}, z ${o.plural(e.groupCount, {
479
- one: () => `${o.number(e.groupCount)} opcją`,
480
- other: () => `${o.number(e.groupCount)} opcjami`
481
- })}. `,
482
- other: ""
483
- }, e.isGroupChange)}${e.optionText}${o.select({
484
- true: ", wybrano",
485
- other: ""
486
- }, e.isSelected)}`,
487
- listboxLabel: "Sugestie",
488
- selectedAnnouncement: (e) => `${e.optionText}, wybrano`
489
- };
490
- var Mo = {};
491
- Mo = {
492
- buttonLabel: "Mostrar sugestões",
493
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
494
- one: () => `${o.number(e.optionCount)} opção`,
495
- other: () => `${o.number(e.optionCount)} opções`
496
- })} disponível.`,
497
- focusAnnouncement: (e, o) => `${o.select({
498
- true: () => `Grupo inserido ${e.groupTitle}, com ${o.plural(e.groupCount, {
499
- one: () => `${o.number(e.groupCount)} opção`,
500
- other: () => `${o.number(e.groupCount)} opções`
501
- })}. `,
502
- other: ""
503
- }, e.isGroupChange)}${e.optionText}${o.select({
504
- true: ", selecionado",
505
- other: ""
506
- }, e.isSelected)}`,
507
- listboxLabel: "Sugestões",
508
- selectedAnnouncement: (e) => `${e.optionText}, selecionado`
509
- };
510
- var Go = {};
511
- Go = {
512
- buttonLabel: "Apresentar sugestões",
513
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
514
- one: () => `${o.number(e.optionCount)} opção`,
515
- other: () => `${o.number(e.optionCount)} opções`
516
- })} disponível.`,
517
- focusAnnouncement: (e, o) => `${o.select({
518
- true: () => `Grupo introduzido ${e.groupTitle}, com ${o.plural(e.groupCount, {
519
- one: () => `${o.number(e.groupCount)} opção`,
520
- other: () => `${o.number(e.groupCount)} opções`
521
- })}. `,
522
- other: ""
523
- }, e.isGroupChange)}${e.optionText}${o.select({
524
- true: ", selecionado",
525
- other: ""
526
- }, e.isSelected)}`,
527
- listboxLabel: "Sugestões",
528
- selectedAnnouncement: (e) => `${e.optionText}, selecionado`
529
- };
530
- var No = {};
531
- No = {
532
- buttonLabel: "Afișare sugestii",
533
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
534
- one: () => `${o.number(e.optionCount)} opțiune`,
535
- other: () => `${o.number(e.optionCount)} opțiuni`
536
- })} disponibile.`,
537
- focusAnnouncement: (e, o) => `${o.select({
538
- true: () => `Grup ${e.groupTitle} introdus, cu ${o.plural(e.groupCount, {
539
- one: () => `${o.number(e.groupCount)} opțiune`,
540
- other: () => `${o.number(e.groupCount)} opțiuni`
541
- })}. `,
542
- other: ""
543
- }, e.isGroupChange)}${e.optionText}${o.select({
544
- true: ", selectat",
545
- other: ""
546
- }, e.isSelected)}`,
547
- listboxLabel: "Sugestii",
548
- selectedAnnouncement: (e) => `${e.optionText}, selectat`
549
- };
550
- var jo = {};
551
- jo = {
552
- buttonLabel: "Показать предложения",
553
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
554
- one: () => `${o.number(e.optionCount)} параметр`,
555
- other: () => `${o.number(e.optionCount)} параметров`
556
- })} доступно.`,
557
- focusAnnouncement: (e, o) => `${o.select({
558
- true: () => `Введенная группа ${e.groupTitle}, с ${o.plural(e.groupCount, {
559
- one: () => `${o.number(e.groupCount)} параметром`,
560
- other: () => `${o.number(e.groupCount)} параметрами`
561
- })}. `,
562
- other: ""
563
- }, e.isGroupChange)}${e.optionText}${o.select({
564
- true: ", выбранными",
565
- other: ""
566
- }, e.isSelected)}`,
567
- listboxLabel: "Предложения",
568
- selectedAnnouncement: (e) => `${e.optionText}, выбрано`
569
- };
570
- var zo = {};
571
- zo = {
572
- buttonLabel: "Zobraziť návrhy",
573
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
574
- one: () => `${o.number(e.optionCount)} možnosť`,
575
- other: () => `${o.number(e.optionCount)} možnosti/-í`
576
- })} k dispozícii.`,
577
- focusAnnouncement: (e, o) => `${o.select({
578
- true: () => `Zadaná skupina ${e.groupTitle}, s ${o.plural(e.groupCount, {
579
- one: () => `${o.number(e.groupCount)} možnosťou`,
580
- other: () => `${o.number(e.groupCount)} možnosťami`
581
- })}. `,
582
- other: ""
583
- }, e.isGroupChange)}${e.optionText}${o.select({
584
- true: ", vybraté",
585
- other: ""
586
- }, e.isSelected)}`,
587
- listboxLabel: "Návrhy",
588
- selectedAnnouncement: (e) => `${e.optionText}, vybraté`
589
- };
590
- var Uo = {};
591
- Uo = {
592
- buttonLabel: "Prikaži predloge",
593
- countAnnouncement: (e, o) => `Na voljo je ${o.plural(e.optionCount, {
594
- one: () => `${o.number(e.optionCount)} opcija`,
595
- other: () => `${o.number(e.optionCount)} opcije`
596
- })}.`,
597
- focusAnnouncement: (e, o) => `${o.select({
598
- true: () => `Vnesena skupina ${e.groupTitle}, z ${o.plural(e.groupCount, {
599
- one: () => `${o.number(e.groupCount)} opcija`,
600
- other: () => `${o.number(e.groupCount)} opcije`
601
- })}. `,
602
- other: ""
603
- }, e.isGroupChange)}${e.optionText}${o.select({
604
- true: ", izbrano",
605
- other: ""
606
- }, e.isSelected)}`,
607
- listboxLabel: "Predlogi",
608
- selectedAnnouncement: (e) => `${e.optionText}, izbrano`
609
- };
610
- var qo = {};
611
- qo = {
612
- buttonLabel: "Prikaži predloge",
613
- countAnnouncement: (e, o) => `Dostupno još: ${o.plural(e.optionCount, {
614
- one: () => `${o.number(e.optionCount)} opcija`,
615
- other: () => `${o.number(e.optionCount)} opcije/a`
616
- })}.`,
617
- focusAnnouncement: (e, o) => `${o.select({
618
- true: () => `Unesena grupa ${e.groupTitle}, s ${o.plural(e.groupCount, {
619
- one: () => `${o.number(e.groupCount)} opcijom`,
620
- other: () => `${o.number(e.groupCount)} optione/a`
621
- })}. `,
622
- other: ""
623
- }, e.isGroupChange)}${e.optionText}${o.select({
624
- true: ", izabranih",
625
- other: ""
626
- }, e.isSelected)}`,
627
- listboxLabel: "Predlozi",
628
- selectedAnnouncement: (e) => `${e.optionText}, izabrano`
629
- };
630
- var Wo = {};
631
- Wo = {
632
- buttonLabel: "Visa förslag",
633
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
634
- one: () => `${o.number(e.optionCount)} alternativ`,
635
- other: () => `${o.number(e.optionCount)} alternativ`
636
- })} tillgängliga.`,
637
- focusAnnouncement: (e, o) => `${o.select({
638
- true: () => `Ingick i gruppen ${e.groupTitle} med ${o.plural(e.groupCount, {
639
- one: () => `${o.number(e.groupCount)} alternativ`,
640
- other: () => `${o.number(e.groupCount)} alternativ`
641
- })}. `,
642
- other: ""
643
- }, e.isGroupChange)}${e.optionText}${o.select({
644
- true: ", valda",
645
- other: ""
646
- }, e.isSelected)}`,
647
- listboxLabel: "Förslag",
648
- selectedAnnouncement: (e) => `${e.optionText}, valda`
649
- };
650
- var Ho = {};
651
- Ho = {
652
- buttonLabel: "Önerileri göster",
653
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
654
- one: () => `${o.number(e.optionCount)} seçenek`,
655
- other: () => `${o.number(e.optionCount)} seçenekler`
656
- })} kullanılabilir.`,
657
- focusAnnouncement: (e, o) => `${o.select({
658
- true: () => `Girilen grup ${e.groupTitle}, ile ${o.plural(e.groupCount, {
659
- one: () => `${o.number(e.groupCount)} seçenek`,
660
- other: () => `${o.number(e.groupCount)} seçenekler`
661
- })}. `,
662
- other: ""
663
- }, e.isGroupChange)}${e.optionText}${o.select({
664
- true: ", seçildi",
665
- other: ""
666
- }, e.isSelected)}`,
667
- listboxLabel: "Öneriler",
668
- selectedAnnouncement: (e) => `${e.optionText}, seçildi`
669
- };
670
- var Jo = {};
671
- Jo = {
672
- buttonLabel: "Показати пропозиції",
673
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
674
- one: () => `${o.number(e.optionCount)} параметр`,
675
- other: () => `${o.number(e.optionCount)} параметри(-ів)`
676
- })} доступно.`,
677
- focusAnnouncement: (e, o) => `${o.select({
678
- true: () => `Введена група ${e.groupTitle}, з ${o.plural(e.groupCount, {
679
- one: () => `${o.number(e.groupCount)} параметр`,
680
- other: () => `${o.number(e.groupCount)} параметри(-ів)`
681
- })}. `,
682
- other: ""
683
- }, e.isGroupChange)}${e.optionText}${o.select({
684
- true: ", вибрано",
685
- other: ""
686
- }, e.isSelected)}`,
687
- listboxLabel: "Пропозиції",
688
- selectedAnnouncement: (e) => `${e.optionText}, вибрано`
689
- };
690
- var Zo = {};
691
- Zo = {
692
- buttonLabel: "显示建议",
693
- countAnnouncement: (e, o) => `有 ${o.plural(e.optionCount, {
694
- one: () => `${o.number(e.optionCount)} 个选项`,
695
- other: () => `${o.number(e.optionCount)} 个选项`
696
- })}可用。`,
697
- focusAnnouncement: (e, o) => `${o.select({
698
- true: () => `进入了 ${e.groupTitle} 组,其中有 ${o.plural(e.groupCount, {
699
- one: () => `${o.number(e.groupCount)} 个选项`,
700
- other: () => `${o.number(e.groupCount)} 个选项`
701
- })}. `,
702
- other: ""
703
- }, e.isGroupChange)}${e.optionText}${o.select({
704
- true: ", 已选择",
705
- other: ""
706
- }, e.isSelected)}`,
707
- listboxLabel: "建议",
708
- selectedAnnouncement: (e) => `${e.optionText}, 已选择`
709
- };
710
- var Xo = {};
711
- Xo = {
712
- buttonLabel: "顯示建議",
713
- countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
714
- one: () => `${o.number(e.optionCount)} 選項`,
715
- other: () => `${o.number(e.optionCount)} 選項`
716
- })} 可用。`,
717
- focusAnnouncement: (e, o) => `${o.select({
718
- true: () => `輸入的群組 ${e.groupTitle}, 有 ${o.plural(e.groupCount, {
719
- one: () => `${o.number(e.groupCount)} 選項`,
720
- other: () => `${o.number(e.groupCount)} 選項`
721
- })}. `,
722
- other: ""
723
- }, e.isGroupChange)}${e.optionText}${o.select({
724
- true: ", 已選取",
725
- other: ""
726
- }, e.isSelected)}`,
727
- listboxLabel: "建議",
728
- selectedAnnouncement: (e) => `${e.optionText}, 已選取`
729
- };
730
- var Yo = {};
731
- Yo = {
732
- "ar-AE": xo,
733
- "bg-BG": Co,
734
- "cs-CZ": ho,
735
- "da-DK": vo,
736
- "de-DE": yo,
737
- "el-GR": Ao,
738
- "en-US": Eo,
739
- "es-ES": go,
740
- "et-EE": Bo,
741
- "fi-FI": To,
742
- "fr-FR": Fo,
743
- "he-IL": So,
744
- "hr-HR": Do,
745
- "hu-HU": Lo,
746
- "it-IT": Po,
747
- "ja-JP": Io,
748
- "ko-KR": wo,
749
- "lt-LT": ko,
750
- "lv-LV": Ko,
751
- "nb-NO": Oo,
752
- "nl-NL": Ro,
753
- "pl-PL": Vo,
754
- "pt-BR": Mo,
755
- "pt-PT": Go,
756
- "ro-RO": No,
757
- "ru-RU": jo,
758
- "sk-SK": zo,
759
- "sl-SI": Uo,
760
- "sr-SP": qo,
761
- "sv-SE": Wo,
762
- "tr-TR": Ho,
763
- "uk-UA": Jo,
764
- "zh-CN": Zo,
765
- "zh-TW": Xo
766
- };
767
- const Rn = /* @__PURE__ */ X.forwardRef(({ children: e, ...o }, t) => {
768
- t = mo(t);
769
- let { pressProps: u } = Kn({
770
- ...o,
771
- ref: t
772
- }), { focusableProps: n } = On(o, t), r = X.Children.only(e);
773
- ue(() => {
774
- if (process.env.NODE_ENV === "production") return;
775
- let c = t.current;
776
- if (!c || !(c instanceof gn(c).Element)) {
777
- console.error("<Pressable> child must forward its ref to a DOM element.");
778
- return;
779
- }
780
- if (!o.isDisabled && !Bn(c)) {
781
- console.warn("<Pressable> child must be focusable. Please ensure the tabIndex prop is passed through.");
782
- return;
783
- }
784
- if (c.localName !== "button" && c.localName !== "input" && c.localName !== "select" && c.localName !== "textarea" && c.localName !== "a" && c.localName !== "area" && c.localName !== "summary") {
785
- let i = c.getAttribute("role");
786
- i ? (
787
- // https://w3c.github.io/aria/#widget_roles
788
- i !== "application" && i !== "button" && i !== "checkbox" && i !== "combobox" && i !== "gridcell" && i !== "link" && i !== "menuitem" && i !== "menuitemcheckbox" && i !== "menuitemradio" && i !== "option" && i !== "radio" && i !== "searchbox" && i !== "separator" && i !== "slider" && i !== "spinbutton" && i !== "switch" && i !== "tab" && i !== "textbox" && i !== "treeitem" && console.warn(`<Pressable> child must have an interactive ARIA role. Got "${i}".`)
789
- ) : console.warn("<Pressable> child must have an interactive ARIA role.");
790
- }
791
- }, [
792
- t,
793
- o.isDisabled
794
- ]);
795
- let p = parseInt(X.version, 10) < 19 ? r.ref : r.props.ref;
796
- return /* @__PURE__ */ X.cloneElement(r, {
797
- ...$e(u, n, r.props),
798
- // @ts-ignore
799
- ref: Ye(p, t)
800
- });
801
- });
802
- function Vn(e) {
803
- return e && e.__esModule ? e.default : e;
804
- }
805
- function Mn(e, o) {
806
- let { buttonRef: t, popoverRef: u, inputRef: n, listBoxRef: r, keyboardDelegate: p, layoutDelegate: c, shouldFocusWrap: i, isReadOnly: x, isDisabled: h } = e, C = T(null);
807
- t = t ?? C;
808
- let y = po(Vn(Yo), "@react-aria/combobox"), { menuTriggerProps: v, menuProps: g } = un({
809
- type: "listbox",
810
- isDisabled: h || x
811
- }, o, t);
812
- Nt.set(o, {
813
- id: g.id
814
- });
815
- let { collection: f } = o, { disabledKeys: m } = o.selectionManager, d = ae(() => p || new Yt({
816
- collection: f,
817
- disabledKeys: m,
818
- ref: r,
819
- layoutDelegate: c
820
- }), [
821
- p,
822
- c,
823
- f,
824
- m,
825
- r
826
- ]), { collectionProps: L } = fn({
827
- selectionManager: o.selectionManager,
828
- keyboardDelegate: d,
829
- disallowTypeAhead: !0,
830
- disallowEmptySelection: !0,
831
- shouldFocusWrap: i,
832
- ref: n,
833
- // Prevent item scroll behavior from being applied here, should be handled in the user's Popover + ListBox component
834
- isVirtualized: !0
835
- }), O = Tn(), N = ($) => {
836
- if (!$.nativeEvent.isComposing)
837
- switch ($.key) {
838
- case "Enter":
839
- case "Tab":
840
- if (o.isOpen && $.key === "Enter" && $.preventDefault(), o.isOpen && r.current && o.selectionManager.focusedKey != null) {
841
- let b = o.collection.getItem(o.selectionManager.focusedKey);
842
- if (b?.props.href) {
843
- let D = r.current.querySelector(`[data-key="${CSS.escape(o.selectionManager.focusedKey.toString())}"]`);
844
- $.key === "Enter" && D instanceof HTMLAnchorElement && O.open(D, $, b.props.href, b.props.routerOptions), o.close();
845
- break;
846
- } else if (b?.props.onAction) {
847
- b.props.onAction(), o.close();
848
- break;
849
- }
850
- }
851
- o.commit();
852
- break;
853
- case "Escape":
854
- (o.selectedKey !== null || o.inputValue === "" || e.allowsCustomValue) && $.continuePropagation(), o.revert();
855
- break;
856
- case "ArrowDown":
857
- o.open("first", "manual");
858
- break;
859
- case "ArrowUp":
860
- o.open("last", "manual");
861
- break;
862
- case "ArrowLeft":
863
- case "ArrowRight":
864
- o.selectionManager.setFocusedKey(null);
865
- break;
866
- }
867
- }, P = ($) => {
868
- var b;
869
- let D = t?.current && t.current === $.relatedTarget, A = (b = u.current) === null || b === void 0 ? void 0 : b.contains($.relatedTarget);
870
- D || A || (e.onBlur && e.onBlur($), o.setFocused(!1));
871
- }, M = ($) => {
872
- o.isFocused || (e.onFocus && e.onFocus($), o.setFocused(!0));
873
- }, { isInvalid: Y, validationErrors: q, validationDetails: W } = o.displayValidation, { labelProps: k, inputProps: ee, descriptionProps: Q, errorMessageProps: G } = bo({
874
- ...e,
875
- onChange: o.setInputValue,
876
- onKeyDown: x ? e.onKeyDown : An(o.isOpen && L.onKeyDown, N, e.onKeyDown),
877
- onBlur: P,
878
- value: o.inputValue,
879
- defaultValue: o.defaultInputValue,
880
- onFocus: M,
881
- autoComplete: "off",
882
- validate: void 0,
883
- [bn]: o
884
- }, n), oe = ($) => {
885
- if ($.pointerType === "touch") {
886
- var b;
887
- (b = n.current) === null || b === void 0 || b.focus(), o.toggle(null, "manual");
888
- }
889
- }, B = ($) => {
890
- if ($.pointerType !== "touch") {
891
- var b;
892
- (b = n.current) === null || b === void 0 || b.focus(), o.toggle($.pointerType === "keyboard" || $.pointerType === "virtual" ? "first" : null, "manual");
893
- }
894
- }, z = Se({
895
- id: v.id,
896
- "aria-label": y.format("buttonLabel"),
897
- "aria-labelledby": e["aria-labelledby"] || k.id
898
- }), H = Se({
899
- id: g.id,
900
- "aria-label": y.format("listboxLabel"),
901
- "aria-labelledby": e["aria-labelledby"] || k.id
902
- }), I = T(0), l = ($) => {
903
- if (h || x) return;
904
- if ($.timeStamp - I.current < 500) {
905
- var b;
906
- $.preventDefault(), (b = n.current) === null || b === void 0 || b.focus();
907
- return;
908
- }
909
- let D = $.target.getBoundingClientRect(), A = $.changedTouches[0], _ = Math.ceil(D.left + 0.5 * D.width), ne = Math.ceil(D.top + 0.5 * D.height);
910
- if (A.clientX === _ && A.clientY === ne) {
911
- var Z;
912
- $.preventDefault(), (Z = n.current) === null || Z === void 0 || Z.focus(), o.toggle(null, "manual"), I.current = $.timeStamp;
913
- }
914
- }, a = o.selectionManager.focusedKey != null && o.isOpen ? o.collection.getItem(o.selectionManager.focusedKey) : void 0;
915
- var w;
916
- let F = (w = a?.parentKey) !== null && w !== void 0 ? w : null;
917
- var V;
918
- let S = (V = o.selectionManager.focusedKey) !== null && V !== void 0 ? V : null, ie = T(F), te = T(S);
919
- ue(() => {
920
- if (Ee() && a != null && S != null && S !== te.current) {
921
- let b = o.selectionManager.isSelected(S), D = F != null ? o.collection.getItem(F) : null, A = D?.["aria-label"] || (typeof D?.rendered == "string" ? D.rendered : "") || "";
922
- var $;
923
- let _ = y.format("focusAnnouncement", {
924
- isGroupChange: ($ = D && F !== ie.current) !== null && $ !== void 0 ? $ : !1,
925
- groupTitle: A,
926
- groupCount: D ? [
927
- ...ro(D, o.collection)
928
- ].length : 0,
929
- optionText: a["aria-label"] || a.textValue || "",
930
- isSelected: b
931
- });
932
- Ae(_);
933
- }
934
- ie.current = F, te.current = S;
935
- });
936
- let J = Qt(o.collection), se = T(J), re = T(o.isOpen);
937
- ue(() => {
938
- let $ = o.isOpen !== re.current && (o.selectionManager.focusedKey == null || Ee());
939
- if (o.isOpen && ($ || J !== se.current)) {
940
- let b = y.format("countAnnouncement", {
941
- optionCount: J
942
- });
943
- Ae(b);
944
- }
945
- se.current = J, re.current = o.isOpen;
946
- });
947
- let be = T(o.selectedKey);
948
- return ue(() => {
949
- if (Ee() && o.isFocused && o.selectedItem && o.selectedKey !== be.current) {
950
- let $ = o.selectedItem["aria-label"] || o.selectedItem.textValue || "", b = y.format("selectedAnnouncement", {
951
- optionText: $
952
- });
953
- Ae(b);
954
- }
955
- be.current = o.selectedKey;
956
- }), ue(() => {
957
- if (o.isOpen) return ln([
958
- n.current,
959
- u.current
960
- ].filter(($) => $ != null));
961
- }, [
962
- o.isOpen,
963
- n,
964
- u
965
- ]), Fn(() => {
966
- !a && n.current && Fe(ao(n.current)) === n.current && Te(n.current, null);
967
- }, [
968
- a
969
- ]), so(r, "react-aria-item-action", o.isOpen ? () => {
970
- o.close();
971
- } : void 0), {
972
- labelProps: k,
973
- buttonProps: {
974
- ...v,
975
- ...z,
976
- excludeFromTabOrder: !0,
977
- preventFocusOnPress: !0,
978
- onPress: oe,
979
- onPressStart: B,
980
- isDisabled: h || x
981
- },
982
- inputProps: $e(ee, {
983
- role: "combobox",
984
- "aria-expanded": v["aria-expanded"],
985
- "aria-controls": o.isOpen ? g.id : void 0,
986
- // TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
987
- "aria-autocomplete": "list",
988
- "aria-activedescendant": a ? jt(o, a.key) : void 0,
989
- onTouchEnd: l,
990
- // This disable's iOS's autocorrect suggestions, since the combo box provides its own suggestions.
991
- autoCorrect: "off",
992
- // This disable's the macOS Safari spell check auto corrections.
993
- spellCheck: "false"
994
- }),
995
- listBoxProps: $e(g, H, {
996
- autoFocus: o.focusStrategy || !0,
997
- shouldUseVirtualFocus: !0,
998
- shouldSelectOnPressUp: !0,
999
- shouldFocusOnHover: !0,
1000
- linkBehavior: "selection",
1001
- UNSTABLE_itemBehavior: "action"
1002
- }),
1003
- descriptionProps: Q,
1004
- errorMessageProps: G,
1005
- isInvalid: Y,
1006
- validationErrors: q,
1007
- validationDetails: W
1008
- };
1009
- }
1010
- var Qo = {};
1011
- Qo = {
1012
- collectionLabel: "مقترحات"
1013
- };
1014
- var _o = {};
1015
- _o = {
1016
- collectionLabel: "Предложения"
1017
- };
1018
- var et = {};
1019
- et = {
1020
- collectionLabel: "Návrhy"
1021
- };
1022
- var ot = {};
1023
- ot = {
1024
- collectionLabel: "Forslag"
1025
- };
1026
- var tt = {};
1027
- tt = {
1028
- collectionLabel: "Empfehlungen"
1029
- };
1030
- var nt = {};
1031
- nt = {
1032
- collectionLabel: "Προτάσεις"
1033
- };
1034
- var ut = {};
1035
- ut = {
1036
- collectionLabel: "Suggestions"
1037
- };
1038
- var lt = {};
1039
- lt = {
1040
- collectionLabel: "Sugerencias"
1041
- };
1042
- var it = {};
1043
- it = {
1044
- collectionLabel: "Soovitused"
1045
- };
1046
- var rt = {};
1047
- rt = {
1048
- collectionLabel: "Ehdotukset"
1049
- };
1050
- var ct = {};
1051
- ct = {
1052
- collectionLabel: "Suggestions"
1053
- };
1054
- var at = {};
1055
- at = {
1056
- collectionLabel: "הצעות"
1057
- };
1058
- var st = {};
1059
- st = {
1060
- collectionLabel: "Prijedlozi"
1061
- };
1062
- var dt = {};
1063
- dt = {
1064
- collectionLabel: "Javaslatok"
1065
- };
1066
- var pt = {};
1067
- pt = {
1068
- collectionLabel: "Suggerimenti"
1069
- };
1070
- var bt = {};
1071
- bt = {
1072
- collectionLabel: "候補"
1073
- };
1074
- var $t = {};
1075
- $t = {
1076
- collectionLabel: "제안"
1077
- };
1078
- var ft = {};
1079
- ft = {
1080
- collectionLabel: "Pasiūlymai"
1081
- };
1082
- var mt = {};
1083
- mt = {
1084
- collectionLabel: "Ieteikumi"
1085
- };
1086
- var xt = {};
1087
- xt = {
1088
- collectionLabel: "Forslag"
1089
- };
1090
- var Ct = {};
1091
- Ct = {
1092
- collectionLabel: "Suggesties"
1093
- };
1094
- var ht = {};
1095
- ht = {
1096
- collectionLabel: "Sugestie"
1097
- };
1098
- var vt = {};
1099
- vt = {
1100
- collectionLabel: "Sugestões"
1101
- };
1102
- var yt = {};
1103
- yt = {
1104
- collectionLabel: "Sugestões"
1105
- };
1106
- var At = {};
1107
- At = {
1108
- collectionLabel: "Sugestii"
1109
- };
1110
- var Et = {};
1111
- Et = {
1112
- collectionLabel: "Предложения"
1113
- };
1114
- var gt = {};
1115
- gt = {
1116
- collectionLabel: "Návrhy"
1117
- };
1118
- var Bt = {};
1119
- Bt = {
1120
- collectionLabel: "Predlogi"
1121
- };
1122
- var Tt = {};
1123
- Tt = {
1124
- collectionLabel: "Predlozi"
1125
- };
1126
- var Ft = {};
1127
- Ft = {
1128
- collectionLabel: "Förslag"
1129
- };
1130
- var St = {};
1131
- St = {
1132
- collectionLabel: "Öneriler"
1133
- };
1134
- var Dt = {};
1135
- Dt = {
1136
- collectionLabel: "Пропозиції"
1137
- };
1138
- var Lt = {};
1139
- Lt = {
1140
- collectionLabel: "建议"
1141
- };
1142
- var Pt = {};
1143
- Pt = {
1144
- collectionLabel: "建議"
1145
- };
1146
- var It = {};
1147
- It = {
1148
- "ar-AE": Qo,
1149
- "bg-BG": _o,
1150
- "cs-CZ": et,
1151
- "da-DK": ot,
1152
- "de-DE": tt,
1153
- "el-GR": nt,
1154
- "en-US": ut,
1155
- "es-ES": lt,
1156
- "et-EE": it,
1157
- "fi-FI": rt,
1158
- "fr-FR": ct,
1159
- "he-IL": at,
1160
- "hr-HR": st,
1161
- "hu-HU": dt,
1162
- "it-IT": pt,
1163
- "ja-JP": bt,
1164
- "ko-KR": $t,
1165
- "lt-LT": ft,
1166
- "lv-LV": mt,
1167
- "nb-NO": xt,
1168
- "nl-NL": Ct,
1169
- "pl-PL": ht,
1170
- "pt-BR": vt,
1171
- "pt-PT": yt,
1172
- "ro-RO": At,
1173
- "ru-RU": Et,
1174
- "sk-SK": gt,
1175
- "sl-SI": Bt,
1176
- "sr-SP": Tt,
1177
- "sv-SE": Ft,
1178
- "tr-TR": St,
1179
- "uk-UA": Dt,
1180
- "zh-CN": Lt,
1181
- "zh-TW": Pt
1182
- };
1183
- function Gn(e) {
1184
- return e && e.__esModule ? e.default : e;
1185
- }
1186
- function Nn(e, o) {
1187
- let { inputRef: t, collectionRef: u, filter: n, disableAutoFocusFirst: r = !1, disableVirtualFocus: p = !1 } = e, c = En(), i = T(void 0), x = T(!1), h = T(null), C = T(null), y = In() === "virtual" && (Sn() || Dn()), [v, g] = U(!y && !p), [f, m] = U(!1);
1188
- ue(() => () => clearTimeout(i.current), []);
1189
- let d = me((l) => {
1190
- !l.isTrusted && v && t.current && Fe(ao(t.current)) !== t.current && t.current.focus();
1191
- let a = l.target;
1192
- l.isTrusted || !a || h.current === a.id || (clearTimeout(i.current), a !== u.current ? x.current ? (h.current = a.id, i.current = setTimeout(() => {
1193
- o.setFocusedNodeId(a.id);
1194
- }, 500)) : (h.current = a.id, o.setFocusedNodeId(a.id)) : h.current && !document.getElementById(h.current) && (h.current = null, o.setFocusedNodeId(null)), x.current = !1);
1195
- }), L = j((l) => {
1196
- if (l != null) {
1197
- var a;
1198
- (a = C.current) === null || a === void 0 || a.removeEventListener("focusin", d), C.current = l, l.addEventListener("focusin", d), l.getAttribute("tabindex") != null && g(!1), m(!0);
1199
- } else {
1200
- var w;
1201
- (w = C.current) === null || w === void 0 || w.removeEventListener("focusin", d), m(!1);
1202
- }
1203
- }, [
1204
- d
1205
- ]), O = mo(ae(() => Ye(u, L), [
1206
- u,
1207
- L
1208
- ])), N = me(() => {
1209
- var l;
1210
- x.current = !0, (l = u.current) === null || l === void 0 || l.dispatchEvent(new CustomEvent(Ne, {
1211
- cancelable: !0,
1212
- bubbles: !0,
1213
- detail: {
1214
- focusStrategy: "first"
1215
- }
1216
- }));
1217
- }), P = me((l) => {
1218
- var a;
1219
- mn(Fe()), h.current = null, o.setFocusedNodeId(null);
1220
- let w = new CustomEvent(xn, {
1221
- cancelable: !0,
1222
- bubbles: !0,
1223
- detail: {
1224
- clearFocusKey: l
1225
- }
1226
- });
1227
- clearTimeout(i.current), x.current = !1, (a = u.current) === null || a === void 0 || a.dispatchEvent(w);
1228
- }), M = T("");
1229
- so(t, "input", (l) => {
1230
- let { inputType: a } = l;
1231
- M.current = a;
1232
- });
1233
- let Y = (l) => {
1234
- M.current === "insertText" && !r ? N() : M.current && (M.current.includes("insert") || M.current.includes("delete") || M.current.includes("history")) && (P(!0), hn(document) === t.current && Te(t.current, null)), o.setInputValue(l);
1235
- }, q = T(null), W = (l) => {
1236
- if (q.current = l.target, l.nativeEvent.isComposing) return;
1237
- let a = h.current;
1238
- switch (l.key) {
1239
- case "a":
1240
- if (Cn(l)) return;
1241
- break;
1242
- case "Escape":
1243
- if (l.isDefaultPrevented()) return;
1244
- break;
1245
- case " ":
1246
- return;
1247
- case "Tab":
1248
- "continuePropagation" in l && l.continuePropagation();
1249
- return;
1250
- case "Home":
1251
- case "End":
1252
- case "PageDown":
1253
- case "PageUp":
1254
- case "ArrowUp":
1255
- case "ArrowDown": {
1256
- var w;
1257
- if ((l.key === "Home" || l.key === "End") && a == null && l.shiftKey) return;
1258
- l.preventDefault();
1259
- let S = new CustomEvent(Ne, {
1260
- cancelable: !0,
1261
- bubbles: !0
1262
- });
1263
- (w = u.current) === null || w === void 0 || w.dispatchEvent(S);
1264
- break;
1265
- }
1266
- }
1267
- l.isPropagationStopped() || l.stopPropagation();
1268
- let F = !0;
1269
- if (u.current !== null) {
1270
- var V;
1271
- if (a == null) F = ((V = u.current) === null || V === void 0 ? void 0 : V.dispatchEvent(new KeyboardEvent(l.nativeEvent.type, l.nativeEvent))) || !1;
1272
- else {
1273
- let S = document.getElementById(a);
1274
- S && (F = S?.dispatchEvent(new KeyboardEvent(l.nativeEvent.type, l.nativeEvent)) || !1);
1275
- }
1276
- }
1277
- if (F) switch (l.key) {
1278
- case "ArrowLeft":
1279
- case "ArrowRight":
1280
- P();
1281
- break;
1282
- case "Enter":
1283
- if (a != null) {
1284
- let S = document.getElementById(a);
1285
- S?.click();
1286
- }
1287
- break;
1288
- }
1289
- else
1290
- l.preventDefault();
1291
- }, k = me((l) => {
1292
- if (l.target === q.current) {
1293
- var a;
1294
- l.stopImmediatePropagation();
1295
- let w = h.current;
1296
- if (w == null) (a = u.current) === null || a === void 0 || a.dispatchEvent(new KeyboardEvent(l.type, l));
1297
- else {
1298
- let F = document.getElementById(w);
1299
- F?.dispatchEvent(new KeyboardEvent(l.type, l));
1300
- }
1301
- }
1302
- });
1303
- ue(() => (document.addEventListener("keyup", k, !0), () => {
1304
- document.removeEventListener("keyup", k, !0);
1305
- }), [
1306
- k
1307
- ]);
1308
- let ee = po(Gn(It), "@react-aria/autocomplete"), Q = Se({
1309
- id: c,
1310
- "aria-label": ee.format("collectionLabel")
1311
- }), G = j((l, a) => n ? n(l, o.inputValue, a) : !0, [
1312
- o.inputValue,
1313
- n
1314
- ]), oe = (l) => {
1315
- if (!l.isTrusted) return;
1316
- let a = h.current ? document.getElementById(h.current) : null;
1317
- a && je(a, l.relatedTarget);
1318
- }, B = (l) => {
1319
- if (!l.isTrusted) return;
1320
- if (h.current ? document.getElementById(h.current) : null) {
1321
- let w = l.target;
1322
- queueMicrotask(() => {
1323
- je(w, u.current), Te(u.current, w);
1324
- });
1325
- }
1326
- }, z = {
1327
- value: o.inputValue,
1328
- onChange: Y
1329
- };
1330
- var H;
1331
- let I = {
1332
- onKeyDown: W,
1333
- "aria-activedescendant": (H = o.focusedNodeId) !== null && H !== void 0 ? H : void 0,
1334
- onBlur: oe,
1335
- onFocus: B
1336
- };
1337
- return f && (z = {
1338
- ...z,
1339
- ...v && I,
1340
- enterKeyHint: "go",
1341
- "aria-controls": c,
1342
- // TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
1343
- "aria-autocomplete": "list",
1344
- // This disable's iOS's autocorrect suggestions, since the autocomplete provides its own suggestions.
1345
- autoCorrect: "off",
1346
- // This disable's the macOS Safari spell check auto corrections.
1347
- spellCheck: "false",
1348
- autoComplete: "off"
1349
- }), {
1350
- inputProps: z,
1351
- collectionProps: $e(Q, {
1352
- shouldUseVirtualFocus: v,
1353
- disallowTypeAhead: v
1354
- }),
1355
- collectionRef: O,
1356
- filter: n != null ? G : void 0
1357
- };
1358
- }
1359
- function jn(e) {
1360
- let { onInputChange: o, inputValue: t, defaultInputValue: u = "" } = e, n = (x) => {
1361
- o && o(x);
1362
- }, [r, p] = U(null), [c, i] = co(t, u, n);
1363
- return {
1364
- inputValue: c,
1365
- setInputValue: i,
1366
- focusedNodeId: r,
1367
- setFocusedNodeId: p
1368
- };
1369
- }
1370
- const zn = /* @__PURE__ */ fe(null), Un = /* @__PURE__ */ fe(null);
1371
- function qn(e) {
1372
- let o = Pe(zn, e.slot);
1373
- e = $e(o, e);
1374
- let { filter: t, disableAutoFocusFirst: u } = e, n = jn(e), r = T(null), p = T(null), { inputProps: c, collectionProps: i, collectionRef: x, filter: h } = Nn({
1375
- ...Ie(e),
1376
- filter: t,
1377
- disableAutoFocusFirst: u,
1378
- inputRef: r,
1379
- collectionRef: p
1380
- }, n);
1381
- return /* @__PURE__ */ X.createElement(we, {
1382
- values: [
1383
- [
1384
- Un,
1385
- n
1386
- ],
1387
- [
1388
- fo,
1389
- {
1390
- ...c,
1391
- ref: r
1392
- }
1393
- ],
1394
- [
1395
- Pn,
1396
- {
1397
- ...i,
1398
- filter: h,
1399
- ref: x
1400
- }
1401
- ]
1402
- ]
1403
- }, e.children);
1404
- }
1405
- function Wn(e) {
1406
- var o;
1407
- let { defaultFilter: t, menuTrigger: u = "input", allowsEmptyCollection: n = !1, allowsCustomValue: r, shouldCloseOnBlur: p = !0 } = e, [c, i] = U(!1), [x, h] = U(!1), [C, y] = U(null), v = (E) => {
1408
- e.onSelectionChange && e.onSelectionChange(E), E === d && (V(), a());
1409
- };
1410
- var g;
1411
- let { collection: f, selectionManager: m, selectedKey: d, setSelectedKey: L, selectedItem: O, disabledKeys: N } = vn({
1412
- ...e,
1413
- onSelectionChange: v,
1414
- items: (g = e.items) !== null && g !== void 0 ? g : e.defaultItems
1415
- }), [P, M] = co(e.inputValue, ze(e.defaultInputValue, d, f) || "", e.onInputChange), [Y] = U(d), [q] = U(P), W = f, k = ae(() => (
1416
- // No default filter if items are controlled.
1417
- e.items != null || !t ? f : Hn(f, P, t)
1418
- ), [
1419
- f,
1420
- P,
1421
- t,
1422
- e.items
1423
- ]), [ee, Q] = U(k), G = T("focus"), B = dn({
1424
- ...e,
1425
- onOpenChange: (E) => {
1426
- e.onOpenChange && e.onOpenChange(E, E ? G.current : void 0), m.setFocused(E), E || m.setFocusedKey(null);
1427
- },
1428
- isOpen: void 0,
1429
- defaultOpen: void 0
1430
- }), z = (E = null, K) => {
1431
- let R = K === "manual" || K === "focus" && u === "focus";
1432
- (n || k.size > 0 || R && W.size > 0 || e.items) && (R && !B.isOpen && e.items === void 0 && i(!0), G.current = K, y(E), B.open());
1433
- }, H = (E = null, K) => {
1434
- let R = K === "manual" || K === "focus" && u === "focus";
1435
- !(n || k.size > 0 || R && W.size > 0 || e.items) && !B.isOpen || (R && !B.isOpen && e.items === void 0 && i(!0), B.isOpen || (G.current = K), l(E));
1436
- }, I = j(() => {
1437
- Q(c ? W : k);
1438
- }, [
1439
- c,
1440
- W,
1441
- k
1442
- ]), l = j((E = null) => {
1443
- B.isOpen && I(), y(E), B.toggle();
1444
- }, [
1445
- B,
1446
- I
1447
- ]), a = j(() => {
1448
- B.isOpen && (I(), B.close());
1449
- }, [
1450
- B,
1451
- I
1452
- ]), [w, F] = U(P), V = () => {
1453
- var E, K;
1454
- let R = d != null && (K = (E = f.getItem(d)) === null || E === void 0 ? void 0 : E.textValue) !== null && K !== void 0 ? K : "";
1455
- F(R), M(R);
1456
- };
1457
- var S, ie;
1458
- let te = T((ie = (S = e.selectedKey) !== null && S !== void 0 ? S : e.defaultSelectedKey) !== null && ie !== void 0 ? ie : null);
1459
- var J;
1460
- let se = T(d != null && (J = (o = f.getItem(d)) === null || o === void 0 ? void 0 : o.textValue) !== null && J !== void 0 ? J : "");
1461
- ue(() => {
1462
- var E;
1463
- x && (k.size > 0 || n) && !B.isOpen && P !== w && u !== "manual" && z(null, "input"), !c && !n && B.isOpen && k.size === 0 && a(), d != null && d !== te.current && a(), P !== w && (m.setFocusedKey(null), i(!1), P === "" && (e.inputValue === void 0 || e.selectedKey === void 0) && L(null)), d !== te.current && (e.inputValue === void 0 || e.selectedKey === void 0) ? V() : w !== P && F(P);
1464
- var K;
1465
- let R = d != null && (K = (E = f.getItem(d)) === null || E === void 0 ? void 0 : E.textValue) !== null && K !== void 0 ? K : "";
1466
- !x && d != null && e.inputValue === void 0 && d === te.current && se.current !== R && (F(R), M(R)), te.current = d, se.current = R;
1467
- });
1468
- let re = $n({
1469
- ...e,
1470
- value: ae(() => ({
1471
- inputValue: P,
1472
- selectedKey: d
1473
- }), [
1474
- P,
1475
- d
1476
- ])
1477
- }), be = () => {
1478
- r && d == null ? $() : b();
1479
- }, $ = () => {
1480
- te.current = null, L(null), a();
1481
- }, b = () => {
1482
- if (e.selectedKey !== void 0 && e.inputValue !== void 0) {
1483
- var E, K;
1484
- (E = e.onSelectionChange) === null || E === void 0 || E.call(e, d);
1485
- var R;
1486
- let Gt = d != null && (R = (K = f.getItem(d)) === null || K === void 0 ? void 0 : K.textValue) !== null && R !== void 0 ? R : "";
1487
- F(Gt), a();
1488
- } else
1489
- V(), a();
1490
- };
1491
- const D = () => {
1492
- if (r) {
1493
- var E, K;
1494
- const R = d != null && (K = (E = f.getItem(d)) === null || E === void 0 ? void 0 : E.textValue) !== null && K !== void 0 ? K : "";
1495
- P === R ? b() : $();
1496
- } else
1497
- b();
1498
- };
1499
- let A = () => {
1500
- B.isOpen && m.focusedKey != null ? d === m.focusedKey ? b() : L(m.focusedKey) : D();
1501
- }, _ = T(P), ne = (E) => {
1502
- E ? (_.current = P, u === "focus" && !e.isReadOnly && z(null, "focus")) : (p && D(), P !== _.current && re.commitValidation()), h(E);
1503
- }, Z = ae(() => B.isOpen ? c ? W : k : ee, [
1504
- B.isOpen,
1505
- W,
1506
- k,
1507
- c,
1508
- ee
1509
- ]);
1510
- var de;
1511
- let Me = (de = e.defaultSelectedKey) !== null && de !== void 0 ? de : Y;
1512
- var ye;
1513
- return {
1514
- ...re,
1515
- ...B,
1516
- focusStrategy: C,
1517
- toggle: H,
1518
- open: z,
1519
- close: D,
1520
- selectionManager: m,
1521
- selectedKey: d,
1522
- defaultSelectedKey: Me,
1523
- setSelectedKey: L,
1524
- disabledKeys: N,
1525
- isFocused: x,
1526
- setFocused: ne,
1527
- selectedItem: O,
1528
- collection: Z,
1529
- inputValue: P,
1530
- defaultInputValue: (ye = ze(e.defaultInputValue, Me, f)) !== null && ye !== void 0 ? ye : q,
1531
- setInputValue: M,
1532
- commit: A,
1533
- revert: be
1534
- };
1535
- }
1536
- function Hn(e, o, t) {
1537
- return new yn(wt(e, e, o, t));
1538
- }
1539
- function wt(e, o, t, u) {
1540
- let n = [];
1541
- for (let r of o)
1542
- if (r.type === "section" && r.hasChildNodes) {
1543
- let p = wt(e, ro(r, e), t, u);
1544
- [
1545
- ...p
1546
- ].some((c) => c.type === "item") && n.push({
1547
- ...r,
1548
- childNodes: p
1549
- });
1550
- } else r.type === "item" && u(r.textValue, t) ? n.push({
1551
- ...r
1552
- }) : r.type !== "item" && n.push({
1553
- ...r
1554
- });
1555
- return n;
1556
- }
1557
- function ze(e, o, t) {
1558
- if (e == null) {
1559
- var u, n;
1560
- if (o != null) return (n = (u = t.getItem(o)) === null || u === void 0 ? void 0 : u.textValue) !== null && n !== void 0 ? n : "";
1561
- }
1562
- return e;
1563
- }
1564
- const Jn = /* @__PURE__ */ fe(null), Re = /* @__PURE__ */ fe(null), Zn = /* @__PURE__ */ Xt(function(o, t) {
1565
- [o, t] = xe(o, t, Jn);
1566
- let { children: u, isDisabled: n = !1, isInvalid: r = !1, isRequired: p = !1 } = o, c = ae(() => {
1567
- var i;
1568
- return /* @__PURE__ */ X.createElement(qe.Provider, {
1569
- value: {
1570
- items: (i = o.items) !== null && i !== void 0 ? i : o.defaultItems
1571
- }
1572
- }, typeof u == "function" ? u({
1573
- isOpen: !1,
1574
- isDisabled: n,
1575
- isInvalid: r,
1576
- isRequired: p,
1577
- defaultChildren: null
1578
- }) : u);
1579
- }, [
1580
- u,
1581
- n,
1582
- r,
1583
- p,
1584
- o.items,
1585
- o.defaultItems
1586
- ]);
1587
- return /* @__PURE__ */ X.createElement(en, {
1588
- content: c
1589
- }, (i) => /* @__PURE__ */ X.createElement(Yn, {
1590
- props: o,
1591
- collection: i,
1592
- comboBoxRef: t
1593
- }));
1594
- }), Xn = [
1595
- Ke,
1596
- Xe,
1597
- he,
1598
- ke,
1599
- Oe
1600
- ];
1601
- function Yn({ props: e, collection: o, comboBoxRef: t }) {
1602
- let { name: u, formValue: n = "key", allowsCustomValue: r } = e;
1603
- r && (n = "text");
1604
- let { validationBehavior: p } = Pe(oo) || {};
1605
- var c, i;
1606
- let x = (i = (c = e.validationBehavior) !== null && c !== void 0 ? c : p) !== null && i !== void 0 ? i : "native", { contains: h } = io({
1607
- sensitivity: "base"
1608
- }), C = Wn({
1609
- defaultFilter: e.defaultFilter || h,
1610
- ...e,
1611
- // If props.items isn't provided, rely on collection filtering (aka listbox.items is provided or defaultItems provided to Combobox)
1612
- items: e.items,
1613
- children: void 0,
1614
- collection: o,
1615
- validationBehavior: x
1616
- }), y = T(null), v = T(null), g = T(null), f = T(null), [m, d] = Qe(!e["aria-label"] && !e["aria-labelledby"]), { buttonProps: L, inputProps: O, listBoxProps: N, labelProps: P, descriptionProps: M, errorMessageProps: Y, ...q } = Mn({
1617
- ...Ie(e),
1618
- label: d,
1619
- inputRef: v,
1620
- buttonRef: y,
1621
- listBoxRef: g,
1622
- popoverRef: f,
1623
- name: n === "text" ? u : void 0,
1624
- validationBehavior: x
1625
- }, C), [W, k] = U(null), ee = j(() => {
1626
- if (v.current) {
1627
- var z;
1628
- let H = (z = y.current) === null || z === void 0 ? void 0 : z.getBoundingClientRect(), I = v.current.getBoundingClientRect(), l = H ? Math.min(H.left, I.left) : I.left, a = H ? Math.max(H.right, I.right) : I.right;
1629
- k(a - l + "px");
1630
- }
1631
- }, [
1632
- y,
1633
- v,
1634
- k
1635
- ]);
1636
- pn({
1637
- ref: v,
1638
- onResize: ee
1639
- });
1640
- let Q = ae(() => ({
1641
- isOpen: C.isOpen,
1642
- isDisabled: e.isDisabled || !1,
1643
- isInvalid: q.isInvalid || !1,
1644
- isRequired: e.isRequired || !1
1645
- }), [
1646
- C.isOpen,
1647
- e.isDisabled,
1648
- q.isInvalid,
1649
- e.isRequired
1650
- ]), G = _e({
1651
- ...e,
1652
- values: Q,
1653
- defaultClassName: "react-aria-ComboBox"
1654
- }), oe = lo(e, {
1655
- global: !0
1656
- });
1657
- delete oe.id;
1658
- var B;
1659
- return /* @__PURE__ */ X.createElement(we, {
1660
- values: [
1661
- [
1662
- Re,
1663
- C
1664
- ],
1665
- [
1666
- Ke,
1667
- {
1668
- ...P,
1669
- ref: m
1670
- }
1671
- ],
1672
- [
1673
- Xe,
1674
- {
1675
- ...L,
1676
- ref: y,
1677
- isPressed: C.isOpen
1678
- }
1679
- ],
1680
- [
1681
- he,
1682
- {
1683
- ...O,
1684
- ref: v
1685
- }
1686
- ],
1687
- [
1688
- rn,
1689
- C
1690
- ],
1691
- [
1692
- cn,
1693
- {
1694
- ref: f,
1695
- triggerRef: v,
1696
- scrollRef: g,
1697
- placement: "bottom start",
1698
- isNonModal: !0,
1699
- trigger: "ComboBox",
1700
- style: {
1701
- "--trigger-width": W
1702
- },
1703
- clearContexts: Xn
1704
- }
1705
- ],
1706
- [
1707
- qe,
1708
- {
1709
- ...N,
1710
- ref: g
1711
- }
1712
- ],
1713
- [
1714
- zt,
1715
- C
1716
- ],
1717
- [
1718
- Oe,
1719
- {
1720
- slots: {
1721
- description: M,
1722
- errorMessage: Y
1723
- }
1724
- }
1725
- ],
1726
- [
1727
- ke,
1728
- {
1729
- isInvalid: q.isInvalid,
1730
- isDisabled: e.isDisabled || !1
1731
- }
1732
- ],
1733
- [
1734
- eo,
1735
- q
1736
- ]
1737
- ]
1738
- }, /* @__PURE__ */ X.createElement("div", {
1739
- ...oe,
1740
- ...G,
1741
- ref: t,
1742
- slot: e.slot || void 0,
1743
- "data-focused": C.isFocused || void 0,
1744
- "data-open": C.isOpen || void 0,
1745
- "data-disabled": e.isDisabled || void 0,
1746
- "data-invalid": q.isInvalid || void 0,
1747
- "data-required": e.isRequired || void 0
1748
- }), u && n === "key" && /* @__PURE__ */ X.createElement("input", {
1749
- type: "hidden",
1750
- name: u,
1751
- form: e.form,
1752
- value: (B = C.selectedKey) !== null && B !== void 0 ? B : ""
1753
- }));
1754
- }
1755
- const Qn = /* @__PURE__ */ fe(null), _n = /* @__PURE__ */ kn(function(o, t) {
1756
- [o, t] = xe(o, t, Qn);
1757
- let { validationBehavior: u } = Pe(oo) || {};
1758
- var n, r;
1759
- let p = (r = (n = o.validationBehavior) !== null && n !== void 0 ? n : u) !== null && r !== void 0 ? r : "native", c = T(null);
1760
- [o, c] = xe(o, c, fo);
1761
- let [i, x] = Qe(!o["aria-label"] && !o["aria-labelledby"]), [h, C] = U("input"), { labelProps: y, inputProps: v, descriptionProps: g, errorMessageProps: f, ...m } = bo({
1762
- ...Ie(o),
1763
- inputElementType: h,
1764
- label: x,
1765
- validationBehavior: p
1766
- }, c), d = j((N) => {
1767
- c.current = N, N && C(N instanceof HTMLTextAreaElement ? "textarea" : "input");
1768
- }, [
1769
- c
1770
- ]), L = _e({
1771
- ...o,
1772
- values: {
1773
- isDisabled: o.isDisabled || !1,
1774
- isInvalid: m.isInvalid,
1775
- isReadOnly: o.isReadOnly || !1,
1776
- isRequired: o.isRequired || !1
1777
- },
1778
- defaultClassName: "react-aria-TextField"
1779
- }), O = lo(o, {
1780
- global: !0
1781
- });
1782
- return delete O.id, /* @__PURE__ */ X.createElement("div", {
1783
- ...O,
1784
- ...L,
1785
- ref: t,
1786
- slot: o.slot || void 0,
1787
- "data-disabled": o.isDisabled || void 0,
1788
- "data-invalid": m.isInvalid || void 0,
1789
- "data-readonly": o.isReadOnly || void 0,
1790
- "data-required": o.isRequired || void 0
1791
- }, /* @__PURE__ */ X.createElement(we, {
1792
- values: [
1793
- [
1794
- Ke,
1795
- {
1796
- ...y,
1797
- ref: i
1798
- }
1799
- ],
1800
- [
1801
- he,
1802
- {
1803
- ...v,
1804
- ref: d
1805
- }
1806
- ],
1807
- [
1808
- wn,
1809
- {
1810
- ...v,
1811
- ref: d
1812
- }
1813
- ],
1814
- [
1815
- ke,
1816
- {
1817
- role: "presentation",
1818
- isInvalid: m.isInvalid,
1819
- isDisabled: o.isDisabled || !1
1820
- }
1821
- ],
1822
- [
1823
- Oe,
1824
- {
1825
- slots: {
1826
- description: g,
1827
- errorMessage: f
1828
- }
1829
- }
1830
- ],
1831
- [
1832
- eo,
1833
- m
1834
- ]
1835
- ]
1836
- }, L.children));
1837
- }), { withProvider: eu, withContext: le } = /* @__PURE__ */ Jt({
1838
- key: "combobox"
1839
- }), ou = /* @__PURE__ */ eu("div", "root"), tu = /* @__PURE__ */ le("div", "leadingElement"), kt = /* @__PURE__ */ le("div", "value"), Kt = /* @__PURE__ */ le("div", "buttonGroup"), nu = /* @__PURE__ */ le("div", "popover"), uu = /* @__PURE__ */ le("input", "multiSelectInput"), lu = /* @__PURE__ */ le("div", "options"), iu = /* @__PURE__ */ le("div", "optionGroup"), ru = /* @__PURE__ */ le("div", "option"), cu = /* @__PURE__ */ le("span", "optionIndicator"), au = /* @__PURE__ */ le("span", "optionContent"), su = (e) => {
1840
- const {
1841
- placeholder: o,
1842
- inputValue: t,
1843
- allowsCustomValue: u,
1844
- onSubmitCustomValue: n,
1845
- onInputChange: r,
1846
- ref: p
1847
- } = e, [c, i] = xe({}, p || null, he), x = Ze(Re), h = j(
1848
- // This method clears the input if the user has focused on a pre-populated combobox and starts typing
1849
- (C) => {
1850
- if (x?.selectedKey && i.current && // cursor is at the beginning of input...
1851
- i.current.selectionStart === 0 && i.current.selectionEnd === 0 && // ...and it has a value, which can only happen on focus
1852
- i.current.value.length > 0 && C.key.length === 1 && // Single character key
1853
- !C.ctrlKey && !C.metaKey && !C.altKey) {
1854
- C.preventDefault(), C.stopPropagation(), x.setInputValue(C.key);
1855
- return;
1856
- }
1857
- if (C.key === "Enter" && t && t?.trim() !== "" && r && u && n && x)
1858
- if (x.collection) {
1859
- const v = Array.from(x.collection).find((g) => g.textValue.toLowerCase() === t.toLowerCase());
1860
- v ? x.setSelectedKey(v.key) : n(t);
1861
- } else
1862
- n(t);
1863
- },
1864
- [t, r, u, n, x]
1865
- );
1866
- return /* @__PURE__ */ s(kt, { asChild: !0, children: /* @__PURE__ */ s(
1867
- to,
1868
- {
1869
- ref: i,
1870
- ...c,
1871
- onKeyDown: h,
1872
- placeholder: o
1873
- }
1874
- ) });
1875
- }, Ve = ({
1876
- children: e,
1877
- ref: o,
1878
- ...t
1879
- }) => {
1880
- const [u, n] = Le(t);
1881
- return /* @__PURE__ */ s(lu, { ...u, asChild: !0, children: /* @__PURE__ */ s(Ut, { ref: o, ...n, children: e }) });
1882
- };
1883
- Ve.displayName = "ComboBox.Options";
1884
- const pe = /* @__PURE__ */ Ln({
1885
- comboboxDialog: {
1886
- id: "Nimbus.ComboBox.comboboxDialog",
1887
- description: "aria-label for the combobox dialog overlay",
1888
- defaultMessage: "Combobox dialog"
1889
- },
1890
- filterOptions: {
1891
- id: "Nimbus.ComboBox.filterOptions",
1892
- description: "aria-label for the combobox filter input field",
1893
- defaultMessage: "Filter combobox options"
1894
- },
1895
- options: {
1896
- id: "Nimbus.ComboBox.options",
1897
- description: "aria-label for the combobox options list",
1898
- defaultMessage: "Combobox options"
1899
- },
1900
- selectedValues: {
1901
- id: "Nimbus.ComboBox.selectedValues",
1902
- description: "aria-label for the selected values tag group in multi-select",
1903
- defaultMessage: "Selected values"
1904
- },
1905
- clearSelection: {
1906
- id: "Nimbus.ComboBox.clearSelection",
1907
- description: "aria-label for the clear selection button",
1908
- defaultMessage: "Clear selection"
1909
- },
1910
- toggleCombobox: {
1911
- id: "Nimbus.ComboBox.toggleCombobox",
1912
- description: "aria-label for the combobox toggle button",
1913
- defaultMessage: "Toggle combobox"
1914
- }
1915
- }), du = ({
1916
- isDisabled: e,
1917
- isReadOnly: o,
1918
- isLoading: t
1919
- }) => {
1920
- const u = ve(), n = Ze(Re);
1921
- return /* @__PURE__ */ ce(Kt, { children: [
1922
- n?.selectedKey && /* @__PURE__ */ s(
1923
- De,
1924
- {
1925
- pointerEvents: "all",
1926
- slot: null,
1927
- size: "2xs",
1928
- variant: "ghost",
1929
- colorPalette: "primary",
1930
- "aria-label": u.formatMessage(pe.clearSelection),
1931
- isDisabled: e || o,
1932
- _expanded: { bg: "transparent" },
1933
- onPress: () => n?.setSelectedKey(null),
1934
- my: "auto",
1935
- children: /* @__PURE__ */ s(We, {})
1936
- }
1937
- ),
1938
- t ? /* @__PURE__ */ s($o, { my: "auto", w: "600", h: "600", children: /* @__PURE__ */ s(Ce, { color: "neutral.11", asChild: !0, m: "auto", w: "400", h: "400", children: /* @__PURE__ */ s(
1939
- Ce,
1940
- {
1941
- asChild: !0,
1942
- animation: "spin",
1943
- animationDuration: "slowest",
1944
- "data-testid": "nimbus-combobox-loading",
1945
- children: /* @__PURE__ */ s(He, {})
1946
- }
1947
- ) }) }) : /* @__PURE__ */ s(
1948
- De,
1949
- {
1950
- size: "2xs",
1951
- variant: "ghost",
1952
- "aria-label": u.formatMessage(pe.toggleCombobox),
1953
- colorPalette: "neutral",
1954
- my: "auto",
1955
- isDisabled: e || o,
1956
- _expanded: { bg: "transparent" },
1957
- children: /* @__PURE__ */ s(Je, {})
1958
- }
1959
- )
1960
- ] });
1961
- }, Ot = ({
1962
- children: e
1963
- }) => {
1964
- const o = T(null);
1965
- return ue(() => {
1966
- const t = o.current;
1967
- if (!t) return;
1968
- const u = () => {
1969
- const r = t.offsetWidth, p = t.closest(".nimbus-combobox__root");
1970
- p instanceof HTMLElement && p.style.setProperty("--leading-element-width", `${r}px`);
1971
- };
1972
- u();
1973
- const n = new ResizeObserver(u);
1974
- return n.observe(t), () => {
1975
- n.disconnect();
1976
- };
1977
- }, []), /* @__PURE__ */ s(tu, { ref: o, children: e });
1978
- }, pu = ({
1979
- children: e,
1980
- inputValue: o,
1981
- onInputChange: t,
1982
- placeholder: u,
1983
- allowsCustomValue: n,
1984
- onSubmitCustomValue: r,
1985
- renderEmptyState: p,
1986
- shouldFocusWrap: c = !0,
1987
- isLoading: i,
1988
- leadingElement: x,
1989
- ref: h,
1990
- ...C
1991
- }) => {
1992
- if (r && (o === void 0 || !t))
1993
- throw new Error(
1994
- 'ComboBox: When "onSubmitCustomValue" is provided, "inputValue" must be controlled with "onInputChange"'
1995
- );
1996
- const y = T(null), v = j(() => {
1997
- y.current && y.current.value && requestAnimationFrame(() => y.current?.setSelectionRange(0, 0));
1998
- }, [y]);
1999
- return /* @__PURE__ */ ce(
2000
- Zn,
2001
- {
2002
- inputValue: o,
2003
- onInputChange: t,
2004
- onFocus: v,
2005
- allowsCustomValue: n,
2006
- menuTrigger: "focus",
2007
- shouldFocusWrap: c,
2008
- ...C,
2009
- ref: h,
2010
- children: [
2011
- x && /* @__PURE__ */ s(Ot, { children: x }),
2012
- /* @__PURE__ */ s(
2013
- su,
2014
- {
2015
- ref: y,
2016
- placeholder: u,
2017
- inputValue: o,
2018
- allowsCustomValue: n,
2019
- onSubmitCustomValue: r,
2020
- onInputChange: t
2021
- }
2022
- ),
2023
- /* @__PURE__ */ s(
2024
- du,
2025
- {
2026
- isLoading: i,
2027
- isDisabled: C.isDisabled,
2028
- isReadOnly: C.isReadOnly
2029
- }
2030
- ),
2031
- /* @__PURE__ */ s(no, { children: /* @__PURE__ */ s(Ve, { renderEmptyState: p, children: e }) })
2032
- ]
2033
- }
2034
- );
2035
- };
2036
- function Ue(e) {
2037
- return e != null && typeof e == "object" && "children" in e && Array.isArray(e.children);
2038
- }
2039
- function Be(e, o, t) {
2040
- if (e) {
2041
- if (!Object.prototype.hasOwnProperty.call(e, "id") && o === "id")
2042
- throw new Error(
2043
- "ComboBox: if items do not have an `id` key, you must specify which key uniquely identifies items using the `itemId` prop"
2044
- );
2045
- if (!Object.prototype.hasOwnProperty.call(e, "name") && t === "name")
2046
- throw new Error(
2047
- "ComboBox: if items do not have a `name` key, you must specify which key can be used as a text value using the `itemValue` prop"
2048
- );
2049
- }
2050
- }
2051
- const bu = (
2052
- /* eslint-disable @typescript-eslint/no-explicit-any */
2053
- (({
2054
- selectedKeys: e = /* @__PURE__ */ new Set(),
2055
- items: o,
2056
- itemId: t = "id",
2057
- itemValue: u = "name",
2058
- placeholder: n,
2059
- onSelectionChange: r,
2060
- isDisabled: p,
2061
- isReadOnly: c,
2062
- size: i,
2063
- containerRef: x,
2064
- ref: h
2065
- }) => {
2066
- const C = ve(), y = ae(() => {
2067
- if (!o) return [];
2068
- const g = Array.from(e);
2069
- if (Array.isArray(o)) {
2070
- const m = o[0];
2071
- if (m && Ue(m)) {
2072
- const L = [];
2073
- return o.forEach((O) => {
2074
- Ue(O) && L.push(...O.children);
2075
- }), Be(L?.[0], t, u), g.map((O) => L.find((N) => N[t] === O)).filter((O) => O !== void 0);
2076
- }
2077
- const d = o;
2078
- return Be(d?.[0], t, u), g.map((L) => d.find((O) => O[t] === L)).filter((L) => L !== void 0);
2079
- }
2080
- const f = g.map((m) => Array.from(o).find((d) => d[t] === m)).filter((m) => m !== void 0);
2081
- return Be(f?.[0], t, u), f;
2082
- }, [o, e, t]), v = j(
2083
- (g) => {
2084
- if (!(p || c) && e instanceof Set) {
2085
- const f = e, m = new Set(
2086
- [...f].filter((d) => !g.has(d))
2087
- );
2088
- r?.(m), x?.current && x.current.focus();
2089
- }
2090
- },
2091
- [p, c, e, r]
2092
- );
2093
- return /* @__PURE__ */ s(uo, { children: /* @__PURE__ */ s(
2094
- kt,
2095
- {
2096
- asChild: !0,
2097
- alignItems: "space-between",
2098
- justifyContent: "center",
2099
- ref: h,
2100
- children: /* @__PURE__ */ s(
2101
- ge.Root,
2102
- {
2103
- size: i,
2104
- onRemove: v,
2105
- "aria-label": C.formatMessage(pe.selectedValues),
2106
- selectionMode: "none",
2107
- disabledKeys: p || c ? e : void 0,
2108
- "data-disabled": p,
2109
- children: /* @__PURE__ */ s(
2110
- ge.TagList,
2111
- {
2112
- items: y,
2113
- dependencies: [t],
2114
- maxW: "100%",
2115
- tabIndex: y.length === 0 || p || c ? -1 : void 0,
2116
- renderEmptyState: () => n && /* @__PURE__ */ s(
2117
- "div",
2118
- {
2119
- "data-placeholder": "true",
2120
- style: {
2121
- maxWidth: "100%",
2122
- overflow: "hidden",
2123
- textOverflow: "ellipsis"
2124
- },
2125
- children: n
2126
- }
2127
- ),
2128
- children: (g) => /* @__PURE__ */ s(ge.Tag, { id: g[t], maxW: "100%", children: g[u] })
2129
- }
2130
- )
2131
- }
2132
- )
2133
- }
2134
- ) });
2135
- })
2136
- ), $u = ({
2137
- selectedKeys: e,
2138
- onSelectionChange: o,
2139
- onInputChange: t,
2140
- containerRef: u,
2141
- isDisabled: n,
2142
- isReadOnly: r,
2143
- isLoading: p
2144
- }) => {
2145
- const c = ve(), i = j(() => {
2146
- o?.(/* @__PURE__ */ new Set()), t?.(""), u?.current && u.current.focus();
2147
- }, []);
2148
- return /* @__PURE__ */ ce(Kt, { children: [
2149
- /* @__PURE__ */ s(uo, { children: e instanceof Set && e.size > 0 && /* @__PURE__ */ s(
2150
- De,
2151
- {
2152
- pointerEvents: "all",
2153
- slot: null,
2154
- size: "2xs",
2155
- variant: "ghost",
2156
- colorPalette: "primary",
2157
- "aria-label": c.formatMessage(pe.clearSelection),
2158
- isDisabled: n || r,
2159
- onPress: i,
2160
- my: "auto",
2161
- children: /* @__PURE__ */ s(We, {})
2162
- }
2163
- ) }),
2164
- /* @__PURE__ */ s(
2165
- $o,
2166
- {
2167
- my: "auto",
2168
- w: "600",
2169
- h: "600",
2170
- color: "neutral.11",
2171
- opacity: r || n ? "0.5" : void 0,
2172
- cursor: r || n ? "not-allowed" : void 0,
2173
- children: /* @__PURE__ */ s(Ce, { pointerEvents: "none", asChild: !0, m: "auto", w: "400", h: "400", children: p ? /* @__PURE__ */ s(
2174
- Ce,
2175
- {
2176
- asChild: !0,
2177
- animation: "spin",
2178
- animationDuration: "slowest",
2179
- "data-testid": "nimbus-combobox-loading",
2180
- children: /* @__PURE__ */ s(He, {})
2181
- }
2182
- ) : /* @__PURE__ */ s(Je, {}) })
2183
- }
2184
- )
2185
- ] });
2186
- };
2187
- function fu(e) {
2188
- let o;
2189
- for (o of e) ;
2190
- return o;
2191
- }
2192
- const mu = ({
2193
- children: e,
2194
- defaultFilter: o,
2195
- inputValue: t,
2196
- defaultInputValue: u,
2197
- onInputChange: n,
2198
- defaultSelectedKeys: r = /* @__PURE__ */ new Set(),
2199
- selectedKeys: p,
2200
- onSelectionChange: c,
2201
- onOpenChange: i,
2202
- disabledKeys: x,
2203
- items: h,
2204
- defaultItems: C,
2205
- itemId: y = "id",
2206
- itemValue: v = "name",
2207
- isLoading: g,
2208
- isDisabled: f,
2209
- isReadOnly: m,
2210
- isRequired: d,
2211
- isInvalid: L,
2212
- className: O,
2213
- placeholder: N,
2214
- size: P = "md",
2215
- allowsCustomValue: M,
2216
- onSubmitCustomValue: Y,
2217
- renderEmptyState: q,
2218
- ref: W,
2219
- leadingElement: k,
2220
- ...ee
2221
- }) => {
2222
- const Q = ve(), [G, oe] = U(!1), B = T(!1), [z, H] = U(), I = p ?? z ?? r, l = c ?? H, [a, w] = U(""), F = t ?? a ?? u, V = n ?? w, S = h ?? C, ie = io({ sensitivity: "base" }), te = (...A) => ie.contains.apply(void 0, A), J = j(
2223
- (A) => {
2224
- if (f || m) {
2225
- G && oe(!1);
2226
- return;
2227
- }
2228
- i && i?.(A), oe(A), A || (B.current = !0, requestAnimationFrame(() => {
2229
- setTimeout(() => {
2230
- B.current = !1;
2231
- }, 50);
2232
- }));
2233
- },
2234
- [f, m, i, G]
2235
- );
2236
- ue(() => {
2237
- (f || m) && J(!1);
2238
- }, [f, m]);
2239
- const se = j(
2240
- (A) => {
2241
- f || m || A.target === A.currentTarget && !G && !B.current && J(!0);
2242
- },
2243
- [G]
2244
- ), re = j(() => {
2245
- if (I !== "all" && I instanceof Set) {
2246
- const A = fu(I);
2247
- if (A != null) {
2248
- const _ = new Set(I);
2249
- _.delete(A), l(_);
2250
- }
2251
- }
2252
- }, [I, l]), be = j((A) => {
2253
- (A.key === "ArrowDown" || A.key === "ArrowUp" || A.key === "Enter") && A.target === b.current && (A.preventDefault(), J(!0));
2254
- }, []), $ = j(
2255
- (A) => {
2256
- if (A.key === "Backspace" && F === "") {
2257
- re();
2258
- return;
2259
- }
2260
- if (A.key === "Escape") {
2261
- J(!1), b.current && b.current.focus();
2262
- return;
2263
- }
2264
- if (A.key === "Enter" && F.trim() !== "" && M && Y)
2265
- if (A.stopPropagation(), S) {
2266
- const _ = F.trim(), ne = Array.from(S).find((Z) => (typeof Z == "object" && Z !== null && v in Z ? String(Z[v]) : JSON.stringify(Z)).toLowerCase() === _.toLowerCase());
2267
- if (ne) {
2268
- const Z = typeof ne == "object" && ne !== null && y in ne ? ne[y] : ne, de = new Set(I);
2269
- de.add(Z), l(de), V("");
2270
- } else
2271
- Y(F), V("");
2272
- } else
2273
- Y(F), V("");
2274
- },
2275
- [
2276
- F,
2277
- re,
2278
- M,
2279
- Y,
2280
- S,
2281
- v,
2282
- y,
2283
- I,
2284
- l,
2285
- V
2286
- ]
2287
- ), b = T(null), D = Zt(W, b);
2288
- return /* @__PURE__ */ ce(an, { isOpen: G, onOpenChange: J, children: [
2289
- /* @__PURE__ */ s(Rn, { allowTextSelectionOnPress: !0, children: /* @__PURE__ */ ce(
2290
- "div",
2291
- {
2292
- className: O,
2293
- tabIndex: f ? -1 : 0,
2294
- ref: D,
2295
- role: "combobox",
2296
- onKeyDown: be,
2297
- onFocus: se,
2298
- "aria-expanded": G,
2299
- "aria-haspopup": "dialog",
2300
- "aria-disabled": f,
2301
- "aria-readonly": m,
2302
- "aria-required": d,
2303
- "aria-invalid": L,
2304
- "data-disabled": f,
2305
- "data-invalid": L,
2306
- "data-required": d,
2307
- "data-open": G,
2308
- ...ee,
2309
- children: [
2310
- k && /* @__PURE__ */ s(Ot, { children: k }),
2311
- /* @__PURE__ */ s(
2312
- bu,
2313
- {
2314
- items: S,
2315
- selectedKeys: I,
2316
- onSelectionChange: l,
2317
- itemId: y,
2318
- itemValue: v,
2319
- placeholder: N,
2320
- size: P,
2321
- containerRef: b,
2322
- isDisabled: f,
2323
- isReadOnly: m
2324
- }
2325
- ),
2326
- /* @__PURE__ */ s(
2327
- $u,
2328
- {
2329
- selectedKeys: I,
2330
- onSelectionChange: l,
2331
- onInputChange: V,
2332
- containerRef: b,
2333
- isDisabled: f,
2334
- isReadOnly: m,
2335
- isLoading: g
2336
- }
2337
- )
2338
- ]
2339
- }
2340
- ) }),
2341
- /* @__PURE__ */ s(nu, { asChild: !0, children: /* @__PURE__ */ s(no, { triggerRef: b, placement: "bottom start", children: /* @__PURE__ */ s(sn, { "aria-label": Q.formatMessage(pe.comboboxDialog), children: /* @__PURE__ */ ce(
2342
- qn,
2343
- {
2344
- filter: o ?? te,
2345
- inputValue: F,
2346
- onInputChange: V,
2347
- children: [
2348
- /* @__PURE__ */ s(uu, { asChild: !0, children: /* @__PURE__ */ s(
2349
- _n,
2350
- {
2351
- autoFocus: !0,
2352
- isDisabled: f,
2353
- isReadOnly: m,
2354
- isRequired: d,
2355
- "aria-label": Q.formatMessage(pe.filterOptions),
2356
- children: /* @__PURE__ */ s(
2357
- to,
2358
- {
2359
- onKeyDownCapture: $,
2360
- placeholder: N
2361
- }
2362
- )
2363
- }
2364
- ) }),
2365
- /* @__PURE__ */ s(
2366
- Ve,
2367
- {
2368
- items: S,
2369
- selectionMode: "multiple",
2370
- onSelectionChange: l,
2371
- selectedKeys: I,
2372
- shouldFocusWrap: !0,
2373
- disabledKeys: f ? "all" : x,
2374
- escapeKeyBehavior: "none",
2375
- "aria-label": Q.formatMessage(pe.options),
2376
- renderEmptyState: q,
2377
- children: e
2378
- }
2379
- )
2380
- ]
2381
- }
2382
- ) }) }) })
2383
- ] });
2384
- }, Rt = ({
2385
- children: e,
2386
- ref: o,
2387
- ...t
2388
- }) => {
2389
- const u = tn({ recipe: nn }), [n, r] = u.splitVariantProps(t), [p, c] = Le(r), i = "selectionMode" in t && t.selectionMode === "multiple" ? mu : pu;
2390
- return /* @__PURE__ */ s(
2391
- ou,
2392
- {
2393
- asChild: !0,
2394
- selectionMode: t.selectionMode,
2395
- ...n,
2396
- ...p,
2397
- children: /* @__PURE__ */ s(i, { ref: o, size: t.size, ...c, children: e })
2398
- }
2399
- );
2400
- };
2401
- Rt.displayName = "ComboBox.Root";
2402
- const Vt = ({
2403
- children: e,
2404
- label: o,
2405
- items: t,
2406
- ref: u,
2407
- ...n
2408
- }) => {
2409
- if (t && typeof e != "function")
2410
- throw new Error(
2411
- 'ComboBoxOptionGroup: When "items" is provided, "children" must be a function'
2412
- );
2413
- return /* @__PURE__ */ ce(qt, { ref: u, ...n, children: [
2414
- /* @__PURE__ */ s(iu, { asChild: !0, children: /* @__PURE__ */ s(_t, { children: o }) }),
2415
- t ? /* @__PURE__ */ s(on, { items: t, children: (r) => typeof e == "function" ? e(r) : null }) : e
2416
- ] });
2417
- };
2418
- Vt.displayName = "ComboBox.OptionGroup";
2419
- const Mt = ({
2420
- children: e,
2421
- ref: o,
2422
- ...t
2423
- }) => {
2424
- const [u, n] = Le(t), r = typeof e == "string" ? e : void 0;
2425
- return /* @__PURE__ */ s(ru, { ...u, asChild: !0, children: /* @__PURE__ */ s(
2426
- Wt,
2427
- {
2428
- ref: o,
2429
- textValue: t.textValue ?? r,
2430
- "aria-label": t.textValue ?? r,
2431
- ...n,
2432
- children: (p) => {
2433
- const c = typeof e == "function" ? e({
2434
- ...p
2435
- }) : e;
2436
- return p.selectionMode === "multiple" ? /* @__PURE__ */ ce(Ge, { children: [
2437
- /* @__PURE__ */ s(cu, { children: /* @__PURE__ */ s("span", { "data-selected": p.isSelected, children: p.isSelected && /* @__PURE__ */ s(Ht, {}) }) }),
2438
- /* @__PURE__ */ s(au, { children: c })
2439
- ] }) : /* @__PURE__ */ s(Ge, { children: c });
2440
- }
2441
- }
2442
- ) });
2443
- };
2444
- Mt.displayName = "ComboBox.Option";
2445
- const pl = {
2446
- /**
2447
- * # ComboBox.Root
2448
- *
2449
- * The root container for the combobox component. Provides state management and configuration
2450
- * for all child parts. Supports both single and multiple selection modes.
2451
- *
2452
- * @example
2453
- * ```tsx
2454
- * <ComboBox.Root>
2455
- * <ComboBox.Option>Option 1</ComboBox.Option>
2456
- * <ComboBox.Option>Option 2</ComboBox.Option>
2457
- * </ComboBox.Root>
2458
- * ```
2459
- */
2460
- Root: Rt,
2461
- /**
2462
- * # ComboBox.OptionGroup
2463
- *
2464
- * Groups related options together with an optional label. Used to organize options into
2465
- * logical sections within the combobox dropdown.
2466
- *
2467
- * @example
2468
- * ```tsx
2469
- * <ComboBox.Root>
2470
- * <ComboBox.OptionGroup label="Fruits">
2471
- * <ComboBox.Option>Apple</ComboBox.Option>
2472
- * <ComboBox.Option>Banana</ComboBox.Option>
2473
- * </ComboBox.OptionGroup>
2474
- * </ComboBox.Root>
2475
- * ```
2476
- */
2477
- OptionGroup: Vt,
2478
- /**
2479
- * # ComboBox.Option
2480
- *
2481
- * An individual selectable option within the combobox. Displays a checkbox indicator
2482
- * in multiple selection mode and supports custom content rendering.
2483
- *
2484
- * @example
2485
- * ```tsx
2486
- * <ComboBox.Root>
2487
- * <ComboBox.Option>Option 1</ComboBox.Option>
2488
- * <ComboBox.Option>Option 2</ComboBox.Option>
2489
- * </ComboBox.Root>
2490
- * ```
2491
- */
2492
- Option: Mt
2493
- };
2494
- export {
2495
- pl as C
2496
- };
2497
- //# sourceMappingURL=combobox-COyroO64.es.js.map