@commercetools/nimbus 2.2.0 → 2.3.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 (345) hide show
  1. package/dist/chunks/{accordion-Dh0RVlNx.es.js → accordion-Cwy8ywRo.es.js} +2 -2
  2. package/dist/chunks/{accordion-Dh0RVlNx.es.js.map → accordion-Cwy8ywRo.es.js.map} +1 -1
  3. package/dist/chunks/{accordion-CVpg-FdJ.cjs.js → accordion-DvftRW7J.cjs.js} +2 -2
  4. package/dist/chunks/{accordion-CVpg-FdJ.cjs.js.map → accordion-DvftRW7J.cjs.js.map} +1 -1
  5. package/dist/chunks/{accordion.content-Cqet9SQ-.cjs.js → accordion.content-DBBMLq5x.cjs.js} +2 -2
  6. package/dist/chunks/{accordion.content-Cqet9SQ-.cjs.js.map → accordion.content-DBBMLq5x.cjs.js.map} +1 -1
  7. package/dist/chunks/{accordion.content-GGayEeqD.es.js → accordion.content-DR_1dtdK.es.js} +2 -2
  8. package/dist/chunks/{accordion.content-GGayEeqD.es.js.map → accordion.content-DR_1dtdK.es.js.map} +1 -1
  9. package/dist/chunks/{alert-pPmN9CXZ.cjs.js → alert-D5SDMEKA.cjs.js} +2 -2
  10. package/dist/chunks/{alert-pPmN9CXZ.cjs.js.map → alert-D5SDMEKA.cjs.js.map} +1 -1
  11. package/dist/chunks/{alert-DCgWOaY2.es.js → alert-WiLa3ap4.es.js} +2 -2
  12. package/dist/chunks/{alert-DCgWOaY2.es.js.map → alert-WiLa3ap4.es.js.map} +1 -1
  13. package/dist/chunks/{button-BR4fvcmi.cjs.js → button-Bz1hc0LL.cjs.js} +2 -2
  14. package/dist/chunks/{button-BR4fvcmi.cjs.js.map → button-Bz1hc0LL.cjs.js.map} +1 -1
  15. package/dist/chunks/{button-BEJnxXsL.es.js → button-CANeXX_D.es.js} +2 -2
  16. package/dist/chunks/{button-BEJnxXsL.es.js.map → button-CANeXX_D.es.js.map} +1 -1
  17. package/dist/chunks/{calendar-lSoXK-yt.es.js → calendar-Bnw0u0vz.es.js} +3 -3
  18. package/dist/chunks/{calendar-lSoXK-yt.es.js.map → calendar-Bnw0u0vz.es.js.map} +1 -1
  19. package/dist/chunks/{calendar-B01Vti5k.cjs.js → calendar-D0OrT88Y.cjs.js} +2 -2
  20. package/dist/chunks/{calendar-B01Vti5k.cjs.js.map → calendar-D0OrT88Y.cjs.js.map} +1 -1
  21. package/dist/chunks/{card-q5i119kB.es.js → card-BHw7lWYe.es.js} +2 -2
  22. package/dist/chunks/{card-q5i119kB.es.js.map → card-BHw7lWYe.es.js.map} +1 -1
  23. package/dist/chunks/{card-Bk3xHlo2.cjs.js → card-CgBcH7Zm.cjs.js} +2 -2
  24. package/dist/chunks/{card-Bk3xHlo2.cjs.js.map → card-CgBcH7Zm.cjs.js.map} +1 -1
  25. package/dist/chunks/{checkbox-BJANm94D.cjs.js → checkbox-BYBGaSV9.cjs.js} +2 -2
  26. package/dist/chunks/{checkbox-BJANm94D.cjs.js.map → checkbox-BYBGaSV9.cjs.js.map} +1 -1
  27. package/dist/chunks/{checkbox-CputcCVr.es.js → checkbox-UATxAVti.es.js} +2 -2
  28. package/dist/chunks/{checkbox-CputcCVr.es.js.map → checkbox-UATxAVti.es.js.map} +1 -1
  29. package/dist/chunks/{collapsible-motion-DvtUDuxb.es.js → collapsible-motion-BsyuKtxS.es.js} +2 -2
  30. package/dist/chunks/{collapsible-motion-DvtUDuxb.es.js.map → collapsible-motion-BsyuKtxS.es.js.map} +1 -1
  31. package/dist/chunks/{collapsible-motion-Biq0QGUr.cjs.js → collapsible-motion-Cj6ESwsR.cjs.js} +2 -2
  32. package/dist/chunks/{collapsible-motion-Biq0QGUr.cjs.js.map → collapsible-motion-Cj6ESwsR.cjs.js.map} +1 -1
  33. package/dist/chunks/{combobox-vjauyzlS.es.js → combobox-B30crY-T.es.js} +356 -344
  34. package/dist/chunks/combobox-B30crY-T.es.js.map +1 -0
  35. package/dist/chunks/combobox-D_L2EmTy.cjs.js +2 -0
  36. package/dist/chunks/combobox-D_L2EmTy.cjs.js.map +1 -0
  37. package/dist/chunks/{data-table-DA4SdIgU.es.js → data-table-B7orK0Y6.es.js} +953 -933
  38. package/dist/chunks/{data-table-DA4SdIgU.es.js.map → data-table-B7orK0Y6.es.js.map} +1 -1
  39. package/dist/chunks/data-table-Cg75JPdu.cjs.js +2 -0
  40. package/dist/chunks/{data-table-CBZLbe9h.cjs.js.map → data-table-Cg75JPdu.cjs.js.map} +1 -1
  41. package/dist/chunks/{date-input-DkYcGwBy.cjs.js → date-input-BL7owE4Q.cjs.js} +2 -2
  42. package/dist/chunks/{date-input-DkYcGwBy.cjs.js.map → date-input-BL7owE4Q.cjs.js.map} +1 -1
  43. package/dist/chunks/{date-input-Cd9q4qBj.es.js → date-input-Ba6r9wMb.es.js} +3 -3
  44. package/dist/chunks/{date-input-Cd9q4qBj.es.js.map → date-input-Ba6r9wMb.es.js.map} +1 -1
  45. package/dist/chunks/{date-picker-DQ5IZcRe.cjs.js → date-picker-Bm6DjFOx.cjs.js} +2 -2
  46. package/dist/chunks/{date-picker-DQ5IZcRe.cjs.js.map → date-picker-Bm6DjFOx.cjs.js.map} +1 -1
  47. package/dist/chunks/{date-picker-B8VVNXU3.es.js → date-picker-DwQ1WWNP.es.js} +7 -7
  48. package/dist/chunks/{date-picker-B8VVNXU3.es.js.map → date-picker-DwQ1WWNP.es.js.map} +1 -1
  49. package/dist/chunks/{date-range-picker-CO2HH0mY.cjs.js → date-range-picker-DaSUwkke.cjs.js} +2 -2
  50. package/dist/chunks/{date-range-picker-CO2HH0mY.cjs.js.map → date-range-picker-DaSUwkke.cjs.js.map} +1 -1
  51. package/dist/chunks/{date-range-picker-BnbKgO1E.es.js → date-range-picker-dw7c9idV.es.js} +7 -7
  52. package/dist/chunks/{date-range-picker-BnbKgO1E.es.js.map → date-range-picker-dw7c9idV.es.js.map} +1 -1
  53. package/dist/chunks/{date-range-picker-field-BuI6eLMY.es.js → date-range-picker-field-D-kCkHEF.es.js} +3 -3
  54. package/dist/chunks/{date-range-picker-field-BuI6eLMY.es.js.map → date-range-picker-field-D-kCkHEF.es.js.map} +1 -1
  55. package/dist/chunks/{date-range-picker-field-DcIo1YzI.cjs.js → date-range-picker-field-J2b1-A1l.cjs.js} +2 -2
  56. package/dist/chunks/{date-range-picker-field-DcIo1YzI.cjs.js.map → date-range-picker-field-J2b1-A1l.cjs.js.map} +1 -1
  57. package/dist/chunks/{dialog-gyrFT8w0.cjs.js → dialog-ByHd6RlA.cjs.js} +2 -2
  58. package/dist/chunks/{dialog-gyrFT8w0.cjs.js.map → dialog-ByHd6RlA.cjs.js.map} +1 -1
  59. package/dist/chunks/{dialog-DuS3dXVi.es.js → dialog-vnnSNnUC.es.js} +3 -3
  60. package/dist/chunks/{dialog-DuS3dXVi.es.js.map → dialog-vnnSNnUC.es.js.map} +1 -1
  61. package/dist/chunks/{draggable-list-fvTG-VYt.cjs.js → draggable-list-CGpLzk-D.cjs.js} +2 -2
  62. package/dist/chunks/{draggable-list-fvTG-VYt.cjs.js.map → draggable-list-CGpLzk-D.cjs.js.map} +1 -1
  63. package/dist/chunks/{draggable-list-z7a7tu_F.es.js → draggable-list-DR-559Qk.es.js} +5 -5
  64. package/dist/chunks/{draggable-list-z7a7tu_F.es.js.map → draggable-list-DR-559Qk.es.js.map} +1 -1
  65. package/dist/chunks/{drawer-BPcEUbUt.es.js → drawer-CasegOAE.es.js} +49 -49
  66. package/dist/chunks/drawer-CasegOAE.es.js.map +1 -0
  67. package/dist/chunks/drawer-CmxHDgtW.cjs.js +2 -0
  68. package/dist/chunks/drawer-CmxHDgtW.cjs.js.map +1 -0
  69. package/dist/chunks/{extract-style-props-B4hqila-.cjs.js → extract-style-props-BvvBKXOu.cjs.js} +2 -2
  70. package/dist/chunks/{extract-style-props-B4hqila-.cjs.js.map → extract-style-props-BvvBKXOu.cjs.js.map} +1 -1
  71. package/dist/chunks/{extract-style-props-BdibuNZ7.es.js → extract-style-props-CM4QZGaE.es.js} +2 -2
  72. package/dist/chunks/{extract-style-props-BdibuNZ7.es.js.map → extract-style-props-CM4QZGaE.es.js.map} +1 -1
  73. package/dist/chunks/{form-field-FdRNl2bZ.cjs.js → form-field-52--hhlj.cjs.js} +2 -2
  74. package/dist/chunks/{form-field-FdRNl2bZ.cjs.js.map → form-field-52--hhlj.cjs.js.map} +1 -1
  75. package/dist/chunks/{form-field-BfDU18h3.es.js → form-field-DCWDyNJx.es.js} +2 -2
  76. package/dist/chunks/{form-field-BfDU18h3.es.js.map → form-field-DCWDyNJx.es.js.map} +1 -1
  77. package/dist/chunks/{icon-button-CeB8_Yyr.cjs.js → icon-button-5pYAEokc.cjs.js} +2 -2
  78. package/dist/chunks/{icon-button-CeB8_Yyr.cjs.js.map → icon-button-5pYAEokc.cjs.js.map} +1 -1
  79. package/dist/chunks/{icon-button-CosIm3oY.es.js → icon-button-DhHKxd27.es.js} +2 -2
  80. package/dist/chunks/{icon-button-CosIm3oY.es.js.map → icon-button-DhHKxd27.es.js.map} +1 -1
  81. package/dist/chunks/{icon-toggle-button-C4Tnlt4t.cjs.js → icon-toggle-button-BsQzSrKe.cjs.js} +2 -2
  82. package/dist/chunks/{icon-toggle-button-C4Tnlt4t.cjs.js.map → icon-toggle-button-BsQzSrKe.cjs.js.map} +1 -1
  83. package/dist/chunks/{icon-toggle-button-8fX8JAXp.es.js → icon-toggle-button-C7HZUXh5.es.js} +2 -2
  84. package/dist/chunks/{icon-toggle-button-8fX8JAXp.es.js.map → icon-toggle-button-C7HZUXh5.es.js.map} +1 -1
  85. package/dist/chunks/{index-CVXB9mwf.cjs.js → index-CBRmb4jF.cjs.js} +2 -2
  86. package/dist/chunks/index-CBRmb4jF.cjs.js.map +1 -0
  87. package/dist/chunks/{index-C2qW4ynb.es.js → index-D3KlpJA5.es.js} +3 -3
  88. package/dist/chunks/index-D3KlpJA5.es.js.map +1 -0
  89. package/dist/chunks/{localized-field-D78l88ux.cjs.js → localized-field-BJTWKclB.cjs.js} +2 -2
  90. package/dist/chunks/{localized-field-D78l88ux.cjs.js.map → localized-field-BJTWKclB.cjs.js.map} +1 -1
  91. package/dist/chunks/{localized-field-DdeHzXdh.es.js → localized-field-CHXN7Zf1.es.js} +8 -8
  92. package/dist/chunks/{localized-field-DdeHzXdh.es.js.map → localized-field-CHXN7Zf1.es.js.map} +1 -1
  93. package/dist/chunks/{menu-Dno8yFDE.cjs.js → menu-Cu7gIVGQ.cjs.js} +2 -2
  94. package/dist/chunks/{menu-Dno8yFDE.cjs.js.map → menu-Cu7gIVGQ.cjs.js.map} +1 -1
  95. package/dist/chunks/{menu-Zlnps1eW.es.js → menu-SxqgiwJf.es.js} +2 -2
  96. package/dist/chunks/{menu-Zlnps1eW.es.js.map → menu-SxqgiwJf.es.js.map} +1 -1
  97. package/dist/chunks/{money-input-D65vrUj4.es.js → money-input-B5kFhLR0.es.js} +15 -15
  98. package/dist/chunks/{money-input-D65vrUj4.es.js.map → money-input-B5kFhLR0.es.js.map} +1 -1
  99. package/dist/chunks/{money-input-C9eVmgeL.cjs.js → money-input-CBKb1D73.cjs.js} +2 -2
  100. package/dist/chunks/{money-input-C9eVmgeL.cjs.js.map → money-input-CBKb1D73.cjs.js.map} +1 -1
  101. package/dist/chunks/{money-input-field-CSnaaDk-.es.js → money-input-field-0vXOOTvx.es.js} +3 -3
  102. package/dist/chunks/{money-input-field-CSnaaDk-.es.js.map → money-input-field-0vXOOTvx.es.js.map} +1 -1
  103. package/dist/chunks/{money-input-field-BGZ_9HKh.cjs.js → money-input-field-DjpKPCGo.cjs.js} +2 -2
  104. package/dist/chunks/{money-input-field-BGZ_9HKh.cjs.js.map → money-input-field-DjpKPCGo.cjs.js.map} +1 -1
  105. package/dist/chunks/{multiline-text-input-CULLuZBp.cjs.js → multiline-text-input-DN9yF7Di.cjs.js} +2 -2
  106. package/dist/chunks/{multiline-text-input-CULLuZBp.cjs.js.map → multiline-text-input-DN9yF7Di.cjs.js.map} +1 -1
  107. package/dist/chunks/{multiline-text-input-CrDTYrM3.es.js → multiline-text-input-DkruVK6m.es.js} +3 -3
  108. package/dist/chunks/{multiline-text-input-CrDTYrM3.es.js.map → multiline-text-input-DkruVK6m.es.js.map} +1 -1
  109. package/dist/chunks/{multiline-text-input-field-BX-w2v1Y.cjs.js → multiline-text-input-field-QLmo_I6Q.cjs.js} +2 -2
  110. package/dist/chunks/{multiline-text-input-field-BX-w2v1Y.cjs.js.map → multiline-text-input-field-QLmo_I6Q.cjs.js.map} +1 -1
  111. package/dist/chunks/{multiline-text-input-field-C6UTl_c8.es.js → multiline-text-input-field-ipwTTNg6.es.js} +3 -3
  112. package/dist/chunks/{multiline-text-input-field-C6UTl_c8.es.js.map → multiline-text-input-field-ipwTTNg6.es.js.map} +1 -1
  113. package/dist/chunks/{nimbus-provider-S02SpkpM.es.js → nimbus-provider-4H3HucGg.es.js} +2 -2
  114. package/dist/chunks/{nimbus-provider-S02SpkpM.es.js.map → nimbus-provider-4H3HucGg.es.js.map} +1 -1
  115. package/dist/chunks/{nimbus-provider-Dnu5ohMR.cjs.js → nimbus-provider-CbD64J_V.cjs.js} +2 -2
  116. package/dist/chunks/{nimbus-provider-Dnu5ohMR.cjs.js.map → nimbus-provider-CbD64J_V.cjs.js.map} +1 -1
  117. package/dist/chunks/{number-input-CR1hdy-B.cjs.js → number-input-B29DJ2_U.cjs.js} +2 -2
  118. package/dist/chunks/{number-input-CR1hdy-B.cjs.js.map → number-input-B29DJ2_U.cjs.js.map} +1 -1
  119. package/dist/chunks/{number-input-Dp13Mn-8.es.js → number-input-BVTqEzzS.es.js} +3 -3
  120. package/dist/chunks/{number-input-Dp13Mn-8.es.js.map → number-input-BVTqEzzS.es.js.map} +1 -1
  121. package/dist/chunks/{number-input-field-BDNpAP6t.cjs.js → number-input-field-DHBy_GKG.cjs.js} +2 -2
  122. package/dist/chunks/{number-input-field-BDNpAP6t.cjs.js.map → number-input-field-DHBy_GKG.cjs.js.map} +1 -1
  123. package/dist/chunks/{number-input-field-C90uFO4e.es.js → number-input-field-DenXeCQQ.es.js} +3 -3
  124. package/dist/chunks/{number-input-field-C90uFO4e.es.js.map → number-input-field-DenXeCQQ.es.js.map} +1 -1
  125. package/dist/chunks/{pagination-BlrGdyD5.es.js → pagination-BjUXs0hd.es.js} +4 -4
  126. package/dist/chunks/{pagination-BlrGdyD5.es.js.map → pagination-BjUXs0hd.es.js.map} +1 -1
  127. package/dist/chunks/{pagination-BIxlGft7.cjs.js → pagination-D8Tn2HGh.cjs.js} +2 -2
  128. package/dist/chunks/{pagination-BIxlGft7.cjs.js.map → pagination-D8Tn2HGh.cjs.js.map} +1 -1
  129. package/dist/chunks/{password-input-BVbQ42NG.cjs.js → password-input-DQM-caak.cjs.js} +2 -2
  130. package/dist/chunks/{password-input-BVbQ42NG.cjs.js.map → password-input-DQM-caak.cjs.js.map} +1 -1
  131. package/dist/chunks/{password-input-field-XXaNUALk.es.js → password-input-field-CNLpabCL.es.js} +3 -3
  132. package/dist/chunks/{password-input-field-XXaNUALk.es.js.map → password-input-field-CNLpabCL.es.js.map} +1 -1
  133. package/dist/chunks/{password-input-field-B5lWzWAQ.cjs.js → password-input-field-CgQEW15R.cjs.js} +2 -2
  134. package/dist/chunks/{password-input-field-B5lWzWAQ.cjs.js.map → password-input-field-CgQEW15R.cjs.js.map} +1 -1
  135. package/dist/chunks/{password-input-8bkpGOIX.es.js → password-input-vu3kFdzW.es.js} +3 -3
  136. package/dist/chunks/{password-input-8bkpGOIX.es.js.map → password-input-vu3kFdzW.es.js.map} +1 -1
  137. package/dist/chunks/{progress-bar-dRKyuT1-.cjs.js → progress-bar-CMRmoNou.cjs.js} +2 -2
  138. package/dist/chunks/{progress-bar-dRKyuT1-.cjs.js.map → progress-bar-CMRmoNou.cjs.js.map} +1 -1
  139. package/dist/chunks/{progress-bar-C2ZnGdLv.es.js → progress-bar-D99U1mF3.es.js} +2 -2
  140. package/dist/chunks/{progress-bar-C2ZnGdLv.es.js.map → progress-bar-D99U1mF3.es.js.map} +1 -1
  141. package/dist/chunks/{radio-input-BecbxXcF.cjs.js → radio-input-B91hQHjX.cjs.js} +2 -2
  142. package/dist/chunks/{radio-input-BecbxXcF.cjs.js.map → radio-input-B91hQHjX.cjs.js.map} +1 -1
  143. package/dist/chunks/{radio-input-DV-hhL4S.es.js → radio-input-S4OwAttR.es.js} +3 -3
  144. package/dist/chunks/{radio-input-DV-hhL4S.es.js.map → radio-input-S4OwAttR.es.js.map} +1 -1
  145. package/dist/chunks/{range-calendar-CEIaa08T.es.js → range-calendar-qoiJRxsH.es.js} +4 -4
  146. package/dist/chunks/{range-calendar-CEIaa08T.es.js.map → range-calendar-qoiJRxsH.es.js.map} +1 -1
  147. package/dist/chunks/{range-calendar-Dq5Gtsb6.cjs.js → range-calendar-tLrCZyTQ.cjs.js} +2 -2
  148. package/dist/chunks/{range-calendar-Dq5Gtsb6.cjs.js.map → range-calendar-tLrCZyTQ.cjs.js.map} +1 -1
  149. package/dist/chunks/{rich-text-input-CRGUa5d2.es.js → rich-text-input-COjV3y9x.es.js} +8 -8
  150. package/dist/chunks/{rich-text-input-CRGUa5d2.es.js.map → rich-text-input-COjV3y9x.es.js.map} +1 -1
  151. package/dist/chunks/{rich-text-input-Dml5F7pU.cjs.js → rich-text-input-Cx9u2DDm.cjs.js} +2 -2
  152. package/dist/chunks/{rich-text-input-Dml5F7pU.cjs.js.map → rich-text-input-Cx9u2DDm.cjs.js.map} +1 -1
  153. package/dist/chunks/scoped-search-input-DYOcOZ0t.cjs.js +2 -0
  154. package/dist/chunks/scoped-search-input-DYOcOZ0t.cjs.js.map +1 -0
  155. package/dist/chunks/scoped-search-input-Qf2F3cu-.es.js +151 -0
  156. package/dist/chunks/scoped-search-input-Qf2F3cu-.es.js.map +1 -0
  157. package/dist/chunks/{search-input-BDUJ48BC.es.js → search-input-Ba7KSi4m.es.js} +4 -4
  158. package/dist/chunks/{search-input-BDUJ48BC.es.js.map → search-input-Ba7KSi4m.es.js.map} +1 -1
  159. package/dist/chunks/{search-input-BNXlpYtP.cjs.js → search-input-DrTdsAJB.cjs.js} +2 -2
  160. package/dist/chunks/{search-input-BNXlpYtP.cjs.js.map → search-input-DrTdsAJB.cjs.js.map} +1 -1
  161. package/dist/chunks/{search-input-field-v60x1oiw.cjs.js → search-input-field-Dan6FtWD.cjs.js} +2 -2
  162. package/dist/chunks/{search-input-field-v60x1oiw.cjs.js.map → search-input-field-Dan6FtWD.cjs.js.map} +1 -1
  163. package/dist/chunks/{search-input-field-CEemw2P1.es.js → search-input-field-G080Ti8W.es.js} +3 -3
  164. package/dist/chunks/{search-input-field-CEemw2P1.es.js.map → search-input-field-G080Ti8W.es.js.map} +1 -1
  165. package/dist/chunks/{select-D9yYDW0d.es.js → select-B3w10lhg.es.js} +4 -4
  166. package/dist/chunks/{select-D9yYDW0d.es.js.map → select-B3w10lhg.es.js.map} +1 -1
  167. package/dist/chunks/{select-Dq_6o0BB.cjs.js → select-DzHoPh1S.cjs.js} +2 -2
  168. package/dist/chunks/{select-Dq_6o0BB.cjs.js.map → select-DzHoPh1S.cjs.js.map} +1 -1
  169. package/dist/chunks/{separator-u_4por07.cjs.js → separator-D0uGdP2M.cjs.js} +2 -2
  170. package/dist/chunks/{separator-u_4por07.cjs.js.map → separator-D0uGdP2M.cjs.js.map} +1 -1
  171. package/dist/chunks/{separator-BJ9k_D4l.es.js → separator-DX_ZJMkp.es.js} +3 -3
  172. package/dist/chunks/{separator-BJ9k_D4l.es.js.map → separator-DX_ZJMkp.es.js.map} +1 -1
  173. package/dist/chunks/{split-button-C94SY3qF.es.js → split-button-BGDUOZcq.es.js} +4 -4
  174. package/dist/chunks/{split-button-C94SY3qF.es.js.map → split-button-BGDUOZcq.es.js.map} +1 -1
  175. package/dist/chunks/{split-button-B4gVhpP9.cjs.js → split-button-Cu7MwPgo.cjs.js} +2 -2
  176. package/dist/chunks/{split-button-B4gVhpP9.cjs.js.map → split-button-Cu7MwPgo.cjs.js.map} +1 -1
  177. package/dist/chunks/{switch-Nn1Fbk5O.es.js → switch-GD8BjCPZ.es.js} +3 -3
  178. package/dist/chunks/{switch-Nn1Fbk5O.es.js.map → switch-GD8BjCPZ.es.js.map} +1 -1
  179. package/dist/chunks/{switch-CsiG41ZR.cjs.js → switch-dDLFRsag.cjs.js} +2 -2
  180. package/dist/chunks/{switch-CsiG41ZR.cjs.js.map → switch-dDLFRsag.cjs.js.map} +1 -1
  181. package/dist/chunks/{tabs-D0OPeQ_J.es.js → tabs-Dh_AK8jc.es.js} +38 -33
  182. package/dist/chunks/{tabs-D0OPeQ_J.es.js.map → tabs-Dh_AK8jc.es.js.map} +1 -1
  183. package/dist/chunks/tabs-Dxwwd4jH.cjs.js +2 -0
  184. package/dist/chunks/{tabs-iV08OTqG.cjs.js.map → tabs-Dxwwd4jH.cjs.js.map} +1 -1
  185. package/dist/chunks/{tag-group-BE8d6xcP.es.js → tag-group-CMfyCIc3.es.js} +2 -2
  186. package/dist/chunks/{tag-group-BE8d6xcP.es.js.map → tag-group-CMfyCIc3.es.js.map} +1 -1
  187. package/dist/chunks/{tag-group-BI8_32rM.cjs.js → tag-group-rbUwxsaP.cjs.js} +2 -2
  188. package/dist/chunks/{tag-group-BI8_32rM.cjs.js.map → tag-group-rbUwxsaP.cjs.js.map} +1 -1
  189. package/dist/chunks/{text-input-CCiZeQad.es.js → text-input-UaixbZjE.es.js} +3 -3
  190. package/dist/chunks/{text-input-CCiZeQad.es.js.map → text-input-UaixbZjE.es.js.map} +1 -1
  191. package/dist/chunks/{text-input-field-Cmht3hDK.cjs.js → text-input-field-C_Ykb6V3.cjs.js} +2 -2
  192. package/dist/chunks/{text-input-field-Cmht3hDK.cjs.js.map → text-input-field-C_Ykb6V3.cjs.js.map} +1 -1
  193. package/dist/chunks/{text-input-field-6Cj35cYL.es.js → text-input-field-ChGQsEAJ.es.js} +3 -3
  194. package/dist/chunks/{text-input-field-6Cj35cYL.es.js.map → text-input-field-ChGQsEAJ.es.js.map} +1 -1
  195. package/dist/chunks/{text-input-BlxK2Naj.cjs.js → text-input-n7jUFat6.cjs.js} +2 -2
  196. package/dist/chunks/{text-input-BlxK2Naj.cjs.js.map → text-input-n7jUFat6.cjs.js.map} +1 -1
  197. package/dist/chunks/{time-input-9Q5vV4UD.cjs.js → time-input-G64QnJLm.cjs.js} +2 -2
  198. package/dist/chunks/{time-input-9Q5vV4UD.cjs.js.map → time-input-G64QnJLm.cjs.js.map} +1 -1
  199. package/dist/chunks/{time-input-CCuIFoY2.es.js → time-input-T4jAE9kM.es.js} +3 -3
  200. package/dist/chunks/{time-input-CCuIFoY2.es.js.map → time-input-T4jAE9kM.es.js.map} +1 -1
  201. package/dist/chunks/{toggle-button-UcXy5q2C.es.js → toggle-button-J0Vys1xC.es.js} +3 -3
  202. package/dist/chunks/{toggle-button-UcXy5q2C.es.js.map → toggle-button-J0Vys1xC.es.js.map} +1 -1
  203. package/dist/chunks/{toggle-button-L7i1XaWg.cjs.js → toggle-button-aX7Gr-Ib.cjs.js} +2 -2
  204. package/dist/chunks/{toggle-button-L7i1XaWg.cjs.js.map → toggle-button-aX7Gr-Ib.cjs.js.map} +1 -1
  205. package/dist/chunks/{toolbar-D4fLFiSb.cjs.js → toolbar-Bw9mLuBU.cjs.js} +2 -2
  206. package/dist/chunks/{toolbar-D4fLFiSb.cjs.js.map → toolbar-Bw9mLuBU.cjs.js.map} +1 -1
  207. package/dist/chunks/{toolbar-C7-6gqba.es.js → toolbar-QZSD0kko.es.js} +3 -3
  208. package/dist/chunks/{toolbar-C7-6gqba.es.js.map → toolbar-QZSD0kko.es.js.map} +1 -1
  209. package/dist/components/accordion.cjs +1 -1
  210. package/dist/components/accordion.es.js +2 -2
  211. package/dist/components/alert.cjs +1 -1
  212. package/dist/components/alert.es.js +1 -1
  213. package/dist/components/button.cjs +1 -1
  214. package/dist/components/button.es.js +1 -1
  215. package/dist/components/calendar.cjs +1 -1
  216. package/dist/components/calendar.es.js +1 -1
  217. package/dist/components/card.cjs +1 -1
  218. package/dist/components/card.es.js +1 -1
  219. package/dist/components/checkbox.cjs +1 -1
  220. package/dist/components/checkbox.es.js +1 -1
  221. package/dist/components/collapsible-motion.cjs +1 -1
  222. package/dist/components/collapsible-motion.es.js +1 -1
  223. package/dist/components/combobox.cjs +1 -1
  224. package/dist/components/combobox.es.js +1 -1
  225. package/dist/components/components.cjs +1 -1
  226. package/dist/components/components.es.js +1 -1
  227. package/dist/components/data-table/components/data-table.body.d.ts +1 -1
  228. package/dist/components/data-table/components/data-table.header.d.ts +1 -1
  229. package/dist/components/data-table/components/data-table.table.d.ts +1 -1
  230. package/dist/components/data-table/data-table.d.ts +3 -3
  231. package/dist/components/data-table/data-table.i18n.d.ts +5 -0
  232. package/dist/components/data-table/data-table.messages.d.ts +1 -1
  233. package/dist/components/data-table/intl/de.d.ts +1 -0
  234. package/dist/components/data-table/intl/en.d.ts +1 -0
  235. package/dist/components/data-table/intl/es.d.ts +1 -0
  236. package/dist/components/data-table/intl/fr-FR.d.ts +1 -0
  237. package/dist/components/data-table/intl/pt-BR.d.ts +1 -0
  238. package/dist/components/data-table.cjs +1 -1
  239. package/dist/components/data-table.es.js +1 -1
  240. package/dist/components/date-input.cjs +1 -1
  241. package/dist/components/date-input.es.js +1 -1
  242. package/dist/components/date-picker.cjs +1 -1
  243. package/dist/components/date-picker.es.js +1 -1
  244. package/dist/components/date-range-picker-field.cjs +1 -1
  245. package/dist/components/date-range-picker-field.es.js +1 -1
  246. package/dist/components/date-range-picker.cjs +1 -1
  247. package/dist/components/date-range-picker.es.js +1 -1
  248. package/dist/components/dialog.cjs +1 -1
  249. package/dist/components/dialog.es.js +1 -1
  250. package/dist/components/draggable-list.cjs +1 -1
  251. package/dist/components/draggable-list.es.js +1 -1
  252. package/dist/components/drawer.cjs +1 -1
  253. package/dist/components/drawer.es.js +1 -1
  254. package/dist/components/fields.cjs +1 -1
  255. package/dist/components/fields.es.js +7 -7
  256. package/dist/components/form-field.cjs +1 -1
  257. package/dist/components/form-field.es.js +1 -1
  258. package/dist/components/icon-button.cjs +1 -1
  259. package/dist/components/icon-button.es.js +1 -1
  260. package/dist/components/icon-toggle-button.cjs +1 -1
  261. package/dist/components/icon-toggle-button.es.js +1 -1
  262. package/dist/components/localized-field.cjs +1 -1
  263. package/dist/components/localized-field.es.js +1 -1
  264. package/dist/components/money-input-field.cjs +1 -1
  265. package/dist/components/money-input-field.es.js +1 -1
  266. package/dist/components/money-input.cjs +1 -1
  267. package/dist/components/money-input.es.js +1 -1
  268. package/dist/components/multiline-text-input-field.cjs +1 -1
  269. package/dist/components/multiline-text-input-field.es.js +1 -1
  270. package/dist/components/multiline-text-input.cjs +1 -1
  271. package/dist/components/multiline-text-input.es.js +1 -1
  272. package/dist/components/nimbus-provider.cjs +1 -1
  273. package/dist/components/nimbus-provider.es.js +1 -1
  274. package/dist/components/number-input-field.cjs +1 -1
  275. package/dist/components/number-input-field.es.js +1 -1
  276. package/dist/components/number-input.cjs +1 -1
  277. package/dist/components/number-input.es.js +1 -1
  278. package/dist/components/pagination.cjs +1 -1
  279. package/dist/components/pagination.es.js +1 -1
  280. package/dist/components/password-input-field.cjs +1 -1
  281. package/dist/components/password-input-field.es.js +1 -1
  282. package/dist/components/password-input.cjs +1 -1
  283. package/dist/components/password-input.es.js +1 -1
  284. package/dist/components/patterns.cjs +1 -1
  285. package/dist/components/patterns.es.js +7 -7
  286. package/dist/components/progress-bar.cjs +1 -1
  287. package/dist/components/progress-bar.es.js +1 -1
  288. package/dist/components/radio-input.cjs +1 -1
  289. package/dist/components/radio-input.es.js +1 -1
  290. package/dist/components/range-calendar.cjs +1 -1
  291. package/dist/components/range-calendar.es.js +1 -1
  292. package/dist/components/rich-text-input.cjs +1 -1
  293. package/dist/components/rich-text-input.es.js +1 -1
  294. package/dist/components/scoped-search-input.cjs +1 -1
  295. package/dist/components/scoped-search-input.es.js +1 -1
  296. package/dist/components/search-input-field.cjs +1 -1
  297. package/dist/components/search-input-field.es.js +1 -1
  298. package/dist/components/search-input.cjs +1 -1
  299. package/dist/components/search-input.es.js +1 -1
  300. package/dist/components/select.cjs +1 -1
  301. package/dist/components/select.es.js +1 -1
  302. package/dist/components/separator.cjs +1 -1
  303. package/dist/components/separator.es.js +1 -1
  304. package/dist/components/split-button.cjs +1 -1
  305. package/dist/components/split-button.es.js +1 -1
  306. package/dist/components/switch.cjs +1 -1
  307. package/dist/components/switch.es.js +1 -1
  308. package/dist/components/tabs/components/tabs.root.d.ts +1 -1
  309. package/dist/components/tabs/tabs.d.ts +1 -1
  310. package/dist/components/tabs/tabs.types.d.ts +5 -0
  311. package/dist/components/tabs.cjs +1 -1
  312. package/dist/components/tabs.es.js +1 -1
  313. package/dist/components/tag-group.cjs +1 -1
  314. package/dist/components/tag-group.es.js +1 -1
  315. package/dist/components/text-input-field.cjs +1 -1
  316. package/dist/components/text-input-field.es.js +1 -1
  317. package/dist/components/text-input.cjs +1 -1
  318. package/dist/components/text-input.es.js +1 -1
  319. package/dist/components/time-input.cjs +1 -1
  320. package/dist/components/time-input.es.js +1 -1
  321. package/dist/components/toggle-button.cjs +1 -1
  322. package/dist/components/toggle-button.es.js +1 -1
  323. package/dist/components/toolbar.cjs +1 -1
  324. package/dist/components/toolbar.es.js +1 -1
  325. package/dist/index.cjs +1 -1
  326. package/dist/index.es.js +53 -53
  327. package/dist/setup-jsdom-polyfills.cjs +1 -1
  328. package/dist/setup-jsdom-polyfills.cjs.map +1 -1
  329. package/dist/setup-jsdom-polyfills.es.js +17 -0
  330. package/dist/setup-jsdom-polyfills.es.js.map +1 -1
  331. package/package.json +5 -5
  332. package/dist/chunks/combobox-B7ck7gxL.cjs.js +0 -2
  333. package/dist/chunks/combobox-B7ck7gxL.cjs.js.map +0 -1
  334. package/dist/chunks/combobox-vjauyzlS.es.js.map +0 -1
  335. package/dist/chunks/data-table-CBZLbe9h.cjs.js +0 -2
  336. package/dist/chunks/drawer-BPcEUbUt.es.js.map +0 -1
  337. package/dist/chunks/drawer-DbSJSCl_.cjs.js +0 -2
  338. package/dist/chunks/drawer-DbSJSCl_.cjs.js.map +0 -1
  339. package/dist/chunks/index-C2qW4ynb.es.js.map +0 -1
  340. package/dist/chunks/index-CVXB9mwf.cjs.js.map +0 -1
  341. package/dist/chunks/scoped-search-input-CSpFefUJ.es.js +0 -147
  342. package/dist/chunks/scoped-search-input-CSpFefUJ.es.js.map +0 -1
  343. package/dist/chunks/scoped-search-input-DKCK7idN.cjs.js +0 -2
  344. package/dist/chunks/scoped-search-input-DKCK7idN.cjs.js.map +0 -1
  345. package/dist/chunks/tabs-iV08OTqG.cjs.js +0 -2
@@ -1,25 +1,25 @@
1
- import { jsx as g, jsxs as ve, Fragment as He } from "react/jsx-runtime";
2
- import { useReducer as St, useRef as A, useEffect as Y, createContext as Qe, useMemo as _, useContext as Pe, useState as Z, useCallback as R, isValidElement as wt, cloneElement as $t } from "react";
1
+ import { jsx as g, jsxs as xe, Fragment as He } from "react/jsx-runtime";
2
+ import { useReducer as St, useRef as A, useEffect as Z, createContext as Qe, useMemo as ee, useContext as Pe, useState as _, useCallback as R, isValidElement as wt, cloneElement as $t } from "react";
3
3
  import { d as Kt } from "./Header-CiYtrnTw.es.js";
4
4
  import { $ as Xe, a as It, b as Bt, c as Mt, d as At } from "./ListBox-RrHJjnuq.es.js";
5
5
  import { f as Ft, g as Ot } from "./CollectionBuilder-BOe312C_.es.js";
6
6
  import { createSlotRecipeContext as Vt } from "@chakra-ui/react";
7
- import { Close as Lt, KeyboardArrowDown as Tt, Check as Et } from "@commercetools/nimbus-icons";
8
- import { e as fe } from "./extract-style-props-BdibuNZ7.es.js";
7
+ import { Close as Et, KeyboardArrowDown as Lt, Check as Tt } from "@commercetools/nimbus-icons";
8
+ import { e as me } from "./extract-style-props-CM4QZGaE.es.js";
9
9
  import { P as Rt } from "./popover-CuA9VugH.es.js";
10
- import { I as Ue } from "./icon-button-CosIm3oY.es.js";
10
+ import { I as Ue } from "./icon-button-DhHKxd27.es.js";
11
11
  import { L as Pt } from "./loading-spinner-gf62wtm3.es.js";
12
- import { $ as Me, a as Dt } from "./Input-Cmg08oRP.es.js";
13
- import { $ as De, T as Te } from "./tag-group-BE8d6xcP.es.js";
12
+ import { $ as Be, a as Dt } from "./Input-Cmg08oRP.es.js";
13
+ import { $ as De, T as Le } from "./tag-group-CMfyCIc3.es.js";
14
14
  import { useSlotRecipe as zt } from "@chakra-ui/react/styled-system";
15
15
  import { b as Nt } from "./RSPContexts-DLgb84PF.es.js";
16
- import { $ as Ee } from "./Button-BjcDZ5eb.es.js";
16
+ import { $ as Te } from "./Button-BjcDZ5eb.es.js";
17
17
  import { $ as kt, e as Ye } from "./utils-B6pV5ewr.es.js";
18
18
  import { a as Wt } from "./Group-BQc9LuMT.es.js";
19
19
  import { $ as Gt } from "./Label-DIseLESi.es.js";
20
20
  import { h as qt } from "./Dialog-B0BQfdQa.es.js";
21
21
  import { $ as jt } from "./Text-DOcU1ycg.es.js";
22
- import { n as xe, u as Ht } from "./normalize-messages-D5T4I93D.es.js";
22
+ import { n as he, u as Ht } from "./normalize-messages-D5T4I93D.es.js";
23
23
  import { $ as Ut } from "./useListData-CX8_NxJv.es.js";
24
24
  import { a as Je } from "./mergeProps-Dsl8k3Ig.es.js";
25
25
  import { a as Jt } from "./useListState-Dd0Mtev3.es.js";
@@ -110,12 +110,12 @@ function Qt(e, t) {
110
110
  case "loadingMore":
111
111
  switch (t.type) {
112
112
  case "success":
113
- var p;
113
+ var m;
114
114
  r = e.selectedKeys === "all" || t.selectedKeys === "all" ? "all" : /* @__PURE__ */ new Set([
115
115
  ...e.selectedKeys,
116
- ...(p = t.selectedKeys) !== null && p !== void 0 ? p : []
116
+ ...(m = t.selectedKeys) !== null && m !== void 0 ? m : []
117
117
  ]);
118
- var K, T;
118
+ var K, E;
119
119
  return {
120
120
  ...e,
121
121
  state: "idle",
@@ -124,7 +124,7 @@ function Qt(e, t) {
124
124
  ...(K = t.items) !== null && K !== void 0 ? K : []
125
125
  ],
126
126
  selectedKeys: r,
127
- sortDescriptor: (T = t.sortDescriptor) !== null && T !== void 0 ? T : e.sortDescriptor,
127
+ sortDescriptor: (E = t.sortDescriptor) !== null && E !== void 0 ? E : e.sortDescriptor,
128
128
  abortController: void 0,
129
129
  cursor: t.cursor
130
130
  };
@@ -175,20 +175,20 @@ function Xt(e) {
175
175
  filterText: c
176
176
  });
177
177
  const b = async (d, w) => {
178
- let p = new AbortController();
178
+ let m = new AbortController();
179
179
  try {
180
180
  u({
181
181
  ...d,
182
- abortController: p
182
+ abortController: m
183
183
  });
184
184
  var K;
185
185
  let y = (K = d.filterText) !== null && K !== void 0 ? K : l.filterText;
186
- var T;
186
+ var E;
187
187
  let F = await w({
188
188
  items: l.items.slice(),
189
189
  selectedKeys: l.selectedKeys,
190
- sortDescriptor: (T = d.sortDescriptor) !== null && T !== void 0 ? T : l.sortDescriptor,
191
- signal: p.signal,
190
+ sortDescriptor: (E = d.sortDescriptor) !== null && E !== void 0 ? E : l.sortDescriptor,
191
+ signal: m.signal,
192
192
  cursor: d.type === "loadingMore" ? l.cursor : void 0,
193
193
  filterText: y,
194
194
  loadingState: l.state
@@ -198,8 +198,8 @@ function Xt(e) {
198
198
  u({
199
199
  type: "success",
200
200
  ...F,
201
- abortController: p
202
- }), $ && $ !== y && !p.signal.aborted && b({
201
+ abortController: m
202
+ }), $ && $ !== y && !m.signal.aborted && b({
203
203
  type: "filtering",
204
204
  filterText: $
205
205
  }, t);
@@ -207,12 +207,12 @@ function Xt(e) {
207
207
  u({
208
208
  type: "error",
209
209
  error: y,
210
- abortController: p
210
+ abortController: m
211
211
  });
212
212
  }
213
213
  };
214
214
  let h = A(!1);
215
- return Y(() => {
215
+ return Z(() => {
216
216
  h.current || (b({
217
217
  type: "loading"
218
218
  }, t), h.current = !0);
@@ -263,63 +263,63 @@ function Xt(e) {
263
263
  }
264
264
  const Yt = /* @__PURE__ */ Qe(null);
265
265
  function Zt(e, t, r, s) {
266
- var o = this, n = A(null), c = A(0), l = A(0), u = A(null), b = A([]), h = A(), d = A(), w = A(e), p = A(!0), K = A(), T = A();
266
+ var o = this, n = A(null), c = A(0), l = A(0), u = A(null), b = A([]), h = A(), d = A(), w = A(e), m = A(!0), K = A(), E = A();
267
267
  w.current = e;
268
268
  var I = typeof window < "u", y = !t && t !== 0 && I;
269
269
  if (typeof e != "function") throw new TypeError("Expected a function");
270
270
  t = +t || 0;
271
- var F = !!(r = r || {}).leading, $ = !("trailing" in r) || !!r.trailing, H = !!r.flushOnExit && $, U = "maxWait" in r, q = "debounceOnServer" in r && !!r.debounceOnServer, J = U ? Math.max(+r.maxWait || 0, t) : null, ne = _(function() {
271
+ var F = !!(r = r || {}).leading, $ = !("trailing" in r) || !!r.trailing, U = !!r.flushOnExit && $, J = "maxWait" in r, j = "debounceOnServer" in r && !!r.debounceOnServer, Q = J ? Math.max(+r.maxWait || 0, t) : null, se = ee(function() {
272
272
  var P = function(x) {
273
273
  var O = b.current, D = h.current;
274
274
  return b.current = h.current = null, c.current = x, l.current = l.current || x, d.current = w.current.apply(D, O);
275
- }, Q = function(x, O) {
275
+ }, X = function(x, O) {
276
276
  y && cancelAnimationFrame(u.current), u.current = y ? requestAnimationFrame(x) : setTimeout(x, O);
277
- }, se = function(x) {
278
- if (!p.current) return !1;
279
- var O = x - n.current;
280
- return !n.current || O >= t || O < 0 || U && x - c.current >= J;
281
277
  }, le = function(x) {
278
+ if (!m.current) return !1;
279
+ var O = x - n.current;
280
+ return !n.current || O >= t || O < 0 || J && x - c.current >= Q;
281
+ }, ie = function(x) {
282
282
  return u.current = null, $ && b.current ? P(x) : (b.current = h.current = null, d.current);
283
- }, B = function x() {
283
+ }, M = function x() {
284
284
  var O = Date.now();
285
- if (F && l.current === c.current && me(), se(O)) return le(O);
286
- if (p.current) {
287
- var D = t - (O - n.current), j = U ? Math.min(D, J - (O - c.current)) : D;
288
- Q(x, j);
285
+ if (F && l.current === c.current && pe(), le(O)) return ie(O);
286
+ if (m.current) {
287
+ var D = t - (O - n.current), H = J ? Math.min(D, Q - (O - c.current)) : D;
288
+ X(x, H);
289
289
  }
290
- }, me = function() {
291
- }, ee = function() {
292
- if (I || q) {
293
- var x, O = Date.now(), D = se(O);
294
- if (b.current = [].slice.call(arguments), h.current = o, n.current = O, H && !K.current && (K.current = function() {
295
- var j;
296
- ((j = global.document) == null ? void 0 : j.visibilityState) === "hidden" && T.current.flush();
290
+ }, pe = function() {
291
+ }, te = function() {
292
+ if (I || j) {
293
+ var x, O = Date.now(), D = le(O);
294
+ if (b.current = [].slice.call(arguments), h.current = o, n.current = O, U && !K.current && (K.current = function() {
295
+ var H;
296
+ ((H = global.document) == null ? void 0 : H.visibilityState) === "hidden" && E.current.flush();
297
297
  }, (x = global.document) == null || x.addEventListener == null || x.addEventListener("visibilitychange", K.current)), D) {
298
- if (!u.current && p.current) return c.current = n.current, Q(B, t), F ? P(n.current) : d.current;
299
- if (U) return Q(B, t), P(n.current);
298
+ if (!u.current && m.current) return c.current = n.current, X(M, t), F ? P(n.current) : d.current;
299
+ if (J) return X(M, t), P(n.current);
300
300
  }
301
- return u.current || Q(B, t), d.current;
301
+ return u.current || X(M, t), d.current;
302
302
  }
303
303
  };
304
- return ee.cancel = function() {
304
+ return te.cancel = function() {
305
305
  var x = u.current;
306
306
  x && (y ? cancelAnimationFrame(u.current) : clearTimeout(u.current)), c.current = 0, b.current = n.current = h.current = u.current = null;
307
- }, ee.isPending = function() {
307
+ }, te.isPending = function() {
308
308
  return !!u.current;
309
- }, ee.flush = function() {
310
- return u.current ? le(Date.now()) : d.current;
311
- }, ee;
312
- }, [F, U, t, J, $, H, y, I, q, s]);
313
- return T.current = ne, Y(function() {
314
- return p.current = !0, function() {
309
+ }, te.flush = function() {
310
+ return u.current ? ie(Date.now()) : d.current;
311
+ }, te;
312
+ }, [F, J, t, Q, $, U, y, I, j, s]);
313
+ return E.current = se, Z(function() {
314
+ return m.current = !0, function() {
315
315
  var P;
316
- H && T.current.flush(), K.current && ((P = global.document) == null || P.removeEventListener == null || P.removeEventListener("visibilitychange", K.current), K.current = null), p.current = !1;
316
+ U && E.current.flush(), K.current && ((P = global.document) == null || P.removeEventListener == null || P.removeEventListener("visibilitychange", K.current), K.current = null), m.current = !1;
317
317
  };
318
- }, [H]), ne;
318
+ }, [U]), se;
319
319
  }
320
- const { withProvider: _t, withContext: G } = /* @__PURE__ */ Vt({
320
+ const { withProvider: _t, withContext: q } = /* @__PURE__ */ Vt({
321
321
  key: "combobox"
322
- }), er = /* @__PURE__ */ _t("div", "root"), tr = /* @__PURE__ */ G("div", "trigger"), rr = /* @__PURE__ */ G("div", "leadingElement"), or = /* @__PURE__ */ G("div", "content"), nr = /* @__PURE__ */ G("div", "tagGroup"), sr = /* @__PURE__ */ G("div", "input"), lr = /* @__PURE__ */ G("div", "popover"), ir = /* @__PURE__ */ G("div", "listBox"), cr = /* @__PURE__ */ G("div", "section"), ar = /* @__PURE__ */ G("div", "option"), ur = /* @__PURE__ */ G("div", "optionIndicator"), dr = /* @__PURE__ */ G("div", "optionContent"), fr = {
322
+ }), er = /* @__PURE__ */ _t("div", "root"), tr = /* @__PURE__ */ q("div", "trigger"), rr = /* @__PURE__ */ q("div", "leadingElement"), or = /* @__PURE__ */ q("div", "content"), nr = /* @__PURE__ */ q("div", "tagGroup"), sr = /* @__PURE__ */ q("div", "input"), lr = /* @__PURE__ */ q("div", "popover"), ir = /* @__PURE__ */ q("div", "listBox"), cr = /* @__PURE__ */ q("div", "section"), ar = /* @__PURE__ */ q("div", "option"), ur = /* @__PURE__ */ q("div", "optionIndicator"), dr = /* @__PURE__ */ q("div", "optionContent"), fr = {
323
323
  clearSelection: "Clear selection",
324
324
  toggleOptions: "Toggle options",
325
325
  selectedValues: "Selected values",
@@ -345,11 +345,11 @@ const { withProvider: _t, withContext: G } = /* @__PURE__ */ Vt({
345
345
  selectedValues: "Valores selecionados",
346
346
  options: "Menu de opções"
347
347
  }, br = {
348
- en: /* @__PURE__ */ xe(fr),
349
- de: /* @__PURE__ */ xe(mr),
350
- es: /* @__PURE__ */ xe(pr),
351
- "fr-FR": /* @__PURE__ */ xe(gr),
352
- "pt-BR": /* @__PURE__ */ xe(yr)
348
+ en: /* @__PURE__ */ he(fr),
349
+ de: /* @__PURE__ */ he(mr),
350
+ es: /* @__PURE__ */ he(pr),
351
+ "fr-FR": /* @__PURE__ */ he(gr),
352
+ "pt-BR": /* @__PURE__ */ he(yr)
353
353
  };
354
354
  function Ze(e) {
355
355
  if (typeof e == "string" || typeof e == "number")
@@ -361,9 +361,15 @@ function Ze(e) {
361
361
  );
362
362
  }
363
363
  function hr(e) {
364
- return typeof e == "string" ? e : "name" in e ? String(e.name) : "label" in e ? String(e.label) : (console.warn(
365
- "ComboBox - Item should have 'name' or 'label' property. Provide a getTextValue function to ensure proper item display and filtering."
366
- ), String(e));
364
+ if (typeof e == "string")
365
+ return e;
366
+ if ("name" in e)
367
+ return String(e.name);
368
+ if ("label" in e)
369
+ return String(e.label);
370
+ throw new Error(
371
+ "ComboBox - Item must have 'name' or 'label' property, or provide a getTextValue function"
372
+ );
367
373
  }
368
374
  function xr(e) {
369
375
  return {
@@ -371,7 +377,7 @@ function xr(e) {
371
377
  name: e
372
378
  };
373
379
  }
374
- const vr = (e) => e ? e instanceof Set ? e : new Set(Array.isArray(e) ? e : [e]) : /* @__PURE__ */ new Set(), Cr = (e) => Array.from(e), Re = /* @__PURE__ */ Qe(null), Ae = () => {
380
+ const vr = (e) => e ? e instanceof Set ? e : new Set(Array.isArray(e) ? e : [e]) : /* @__PURE__ */ new Set(), Cr = (e) => Array.from(e), Re = /* @__PURE__ */ Qe(null), Me = () => {
375
381
  const e = Pe(Re);
376
382
  if (!e)
377
383
  throw new Error(
@@ -390,7 +396,7 @@ const vr = (e) => e ? e instanceof Set ? e : new Set(Array.isArray(e) ? e : [e])
390
396
  inputValue: u
391
397
  } = e;
392
398
  if (!t) return null;
393
- const b = _(() => {
399
+ const b = ee(() => {
394
400
  if (o === "single") {
395
401
  const h = Array.from(s)[0];
396
402
  return h ? n === "text" || c ? Array.from(l).find(
@@ -399,7 +405,7 @@ const vr = (e) => e ? e instanceof Set ? e : new Set(Array.isArray(e) ? e : [e])
399
405
  } else {
400
406
  const h = Array.from(s);
401
407
  return n === "text" || c ? h.map((d) => Array.from(l).find(
402
- (p) => p.key === d
408
+ (m) => m.key === d
403
409
  )?.textValue || "").filter(Boolean).join(",") : h.join(",");
404
410
  }
405
411
  }, [
@@ -436,57 +442,57 @@ function et(e) {
436
442
  isLoading: h,
437
443
  allowsEmptyMenu: d,
438
444
  renderEmptyState: w,
439
- async: p,
445
+ async: m,
440
446
  filter: K,
441
- allowsCustomOptions: T = !1,
447
+ allowsCustomOptions: E = !1,
442
448
  isDisabled: I = !1,
443
449
  isInvalid: y = !1,
444
450
  isRequired: F = !1,
445
451
  isReadOnly: $ = !1
446
- } = e, H = zt({ key: "combobox" }), [U, q] = H.splitVariantProps(e), [J, ne] = fe(q), P = A(null), Q = A(null), [se, le] = Z([]), B = Xt({
452
+ } = e, U = zt({ key: "combobox" }), [J, j] = U.splitVariantProps(e), [Q, se] = me(j), P = A(null), X = A(null), [le, ie] = _([]), M = Xt({
447
453
  getKey: o,
448
- async load({ signal: M, filterText: k }) {
449
- if (!p) return { items: [] };
450
- const v = p.minSearchLength ?? 0;
451
- if (!k || k.length < v)
454
+ async load({ signal: B, filterText: G }) {
455
+ if (!m) return { items: [] };
456
+ const oe = m.minSearchLength ?? 0;
457
+ if (!G || G.length < oe)
452
458
  return { items: [] };
453
459
  try {
454
- return { items: await p.load(k, M) };
455
- } catch (V) {
456
- if (V.name === "AbortError")
457
- throw V;
458
- const te = V;
459
- return p.onError?.(te), { items: [] };
460
+ return { items: await m.load(G, B) };
461
+ } catch (ae) {
462
+ if (ae.name === "AbortError")
463
+ throw ae;
464
+ const v = ae;
465
+ return m.onError?.(v), { items: [] };
460
466
  }
461
467
  }
462
- }), [me, ee] = Z(u), [x, O] = Z(!1), [D, j] = Z([]), Fe = p?.debounce ?? 300, Ce = Zt((M) => {
463
- O(!1), B.setFilterText(M);
464
- }, Fe), Se = R(
465
- (M) => {
466
- ee(M), O(!0), Ce(M);
468
+ }), [pe, te] = _(u), [x, O] = _(!1), [D, H] = _([]), Ae = m?.debounce ?? 300, ve = Zt((B) => {
469
+ O(!1), M.setFilterText(B);
470
+ }, Ae), Ce = R(
471
+ (B) => {
472
+ te(B), O(!0), ve(B);
467
473
  },
468
- [Ce]
469
- ), z = p ? me : u, we = p ? Se : b, X = p ? x || B.loadingState === "loading" || B.loadingState === "loadingMore" || B.loadingState === "filtering" : h, $e = p || T ? !0 : d, Ke = R(() => X ? z?.length ? `loading results for "${z}"` : "loading results" : z?.length && p?.minSearchLength && z.length >= p.minSearchLength ? `no results for "${z}"` : p?.minSearchLength ? `enter at least ${p?.minSearchLength} characters` : "type to search", [p?.minSearchLength, X, z]), Ie = R(() => X ? z?.length ? `loading results for "${z}"` : "loading results" : 'hit "enter" to create an option', [X, z]), ge = (T ? Ie : p ? Ke : void 0) ?? w, ue = _(() => {
470
- const M = p ? Array.from(B.items) : e.items, k = M ? Array.from(M) : [], v = new Set(k.map((ie) => o(ie)));
471
- let te = [...se.filter(
472
- (ie) => !v.has(o(ie))
473
- ), ...k];
474
- if (p && r === "multiple" && D.length > 0) {
475
- const ie = new Set(te.map((L) => o(L)));
476
- te = [...D.filter(
477
- (L) => !ie.has(o(L))
478
- ), ...te];
474
+ [ve]
475
+ ), N = m ? pe : u, Se = m ? Ce : b, Y = m ? x || M.loadingState === "loading" || M.loadingState === "loadingMore" || M.loadingState === "filtering" : h, we = m || E ? !0 : d, $e = R(() => Y ? N?.length ? `loading results for "${N}"` : "loading results" : N?.length && m?.minSearchLength && N.length >= m.minSearchLength ? `no results for "${N}"` : m?.minSearchLength ? `enter at least ${m?.minSearchLength} characters` : "type to search", [m?.minSearchLength, Y, N]), Ke = R(() => Y ? N?.length ? `loading results for "${N}"` : "loading results" : 'hit "enter" to create an option', [Y, N]), W = (E ? Ke : m ? $e : void 0) ?? w, re = ee(() => {
476
+ const B = m ? Array.from(M.items) : e.items, G = B ? Array.from(B) : [], oe = new Set(G.map((V) => o(V)));
477
+ let v = [...le.filter(
478
+ (V) => !oe.has(o(V))
479
+ ), ...G];
480
+ if (m && r === "multiple" && D.length > 0) {
481
+ const V = new Set(v.map((ye) => o(ye)));
482
+ v = [...D.filter(
483
+ (ye) => !V.has(o(ye))
484
+ ), ...v];
479
485
  }
480
- return te;
486
+ return v;
481
487
  }, [
482
- p,
483
- B.items,
488
+ m,
489
+ M.items,
484
490
  e.items,
485
- se,
491
+ le,
486
492
  D,
487
493
  r,
488
494
  o
489
- ]), ye = _(
495
+ ]), ce = ee(
490
496
  () => ({
491
497
  selectionMode: r,
492
498
  size: s,
@@ -494,8 +500,8 @@ function et(e) {
494
500
  getTextValue: n,
495
501
  leadingElement: l,
496
502
  triggerRef: P,
497
- inputRef: Q,
498
- isLoading: X,
503
+ inputRef: X,
504
+ isLoading: Y,
499
505
  isDisabled: I,
500
506
  isRequired: F,
501
507
  isInvalid: y,
@@ -507,28 +513,28 @@ function et(e) {
507
513
  n,
508
514
  l,
509
515
  P,
510
- Q,
516
+ X,
511
517
  I,
512
518
  F,
513
519
  y,
514
520
  $
515
521
  ]
516
- ), be = _(() => {
517
- if (ue)
518
- return Array.from(ue).map((M) => {
519
- const k = "id" in M, v = "textValue" in M;
520
- return k && v ? M : {
521
- ...M,
522
- ...k ? {} : { id: o(M) },
523
- ...v ? {} : { textValue: n(M) }
522
+ ), ge = ee(() => {
523
+ if (re)
524
+ return Array.from(re).map((B) => {
525
+ const G = "id" in B, oe = "textValue" in B;
526
+ return G && oe ? B : {
527
+ ...B,
528
+ ...G ? {} : { id: o(B) },
529
+ ...oe ? {} : { textValue: n(B) }
524
530
  };
525
531
  });
526
- }, [ue, o, n]), Oe = _(
532
+ }, [re, o, n]), Oe = ee(
527
533
  () => /* @__PURE__ */ g(
528
534
  Re.Provider,
529
535
  {
530
- value: ye,
531
- children: /* @__PURE__ */ g(Xe.Provider, { value: { items: be }, children: typeof c == "function" ? c({
536
+ value: ce,
537
+ children: /* @__PURE__ */ g(Xe.Provider, { value: { items: ge }, children: typeof c == "function" ? c({
532
538
  isOpen: !1,
533
539
  isDisabled: I,
534
540
  isInvalid: y,
@@ -542,28 +548,28 @@ function et(e) {
542
548
  I,
543
549
  y,
544
550
  F,
545
- be,
546
- ye
551
+ ge,
552
+ ce
547
553
  ]
548
554
  );
549
555
  return /* @__PURE__ */ g(
550
556
  Ye,
551
557
  {
552
558
  values: [
553
- [Ee, {}],
554
- [Me, {}],
559
+ [Te, {}],
560
+ [Be, {}],
555
561
  [De, {}]
556
562
  ],
557
563
  children: /* @__PURE__ */ g(
558
564
  Re.Provider,
559
565
  {
560
- value: ye,
566
+ value: ce,
561
567
  children: /* @__PURE__ */ g(
562
568
  er,
563
569
  {
564
570
  ref: t,
565
- ...U,
566
571
  ...J,
572
+ ...Q,
567
573
  size: s,
568
574
  "data-disabled": I,
569
575
  "data-invalid": y,
@@ -571,31 +577,31 @@ function et(e) {
571
577
  "data-readonly": $,
572
578
  "data-open": e.isOpen,
573
579
  role: "group",
574
- children: /* @__PURE__ */ g(Ft, { content: Oe, children: (M) => (
580
+ children: /* @__PURE__ */ g(Ft, { content: Oe, children: (B) => (
575
581
  // Pass the built collection to ComboBoxRootInner which handles all behavior
576
582
  /* @__PURE__ */ g(
577
583
  Sr,
578
584
  {
579
- ...ne,
585
+ ...se,
580
586
  size: s,
581
587
  filter: K,
582
588
  selectionMode: r,
583
- inputValue: z,
584
- onInputChange: we,
589
+ inputValue: N,
590
+ onInputChange: Se,
585
591
  getKey: o,
586
592
  getTextValue: n,
587
- allowsEmptyMenu: $e,
588
- renderEmptyState: ge,
593
+ allowsEmptyMenu: we,
594
+ renderEmptyState: W,
589
595
  isDisabled: I,
590
596
  isRequired: F,
591
597
  isInvalid: y,
592
598
  isReadOnly: $,
593
- collection: M,
594
- allowsCustomOptions: T,
595
- asyncConfig: p,
596
- onAsyncSelectedItemsChange: p && r === "multiple" ? j : void 0,
597
- onAddCustomItem: le,
598
- onAddAsyncSelectedItem: j
599
+ collection: B,
600
+ allowsCustomOptions: E,
601
+ asyncConfig: m,
602
+ onAsyncSelectedItemsChange: m && r === "multiple" ? H : void 0,
603
+ onAddCustomItem: ie,
604
+ onAddAsyncSelectedItem: H
599
605
  }
600
606
  )
601
607
  ) })
@@ -620,107 +626,107 @@ const Sr = (e) => {
620
626
  inputValue: h = "",
621
627
  onInputChange: d,
622
628
  filter: w,
623
- placeholder: p,
629
+ placeholder: m,
624
630
  menuTrigger: K = "input",
625
- shouldCloseOnBlur: T = !0,
631
+ shouldCloseOnBlur: E = !0,
626
632
  shouldCloseOnSelect: I = !0,
627
633
  isOpen: y,
628
634
  defaultOpen: F = !1,
629
635
  onOpenChange: $,
630
- allowsEmptyMenu: H = !1,
631
- renderEmptyState: U,
632
- allowsCustomOptions: q = !1,
633
- isValidNewOption: J,
634
- getNewOptionData: ne = xr,
636
+ allowsEmptyMenu: U = !1,
637
+ renderEmptyState: J,
638
+ allowsCustomOptions: j = !1,
639
+ isValidNewOption: Q,
640
+ getNewOptionData: se = xr,
635
641
  onCreateOption: P,
636
- "aria-label": Q,
637
- "aria-labelledby": se,
638
- "aria-describedby": le,
639
- isDisabled: B = !1,
640
- isRequired: me = !1,
641
- isInvalid: ee = !1,
642
+ "aria-label": X,
643
+ "aria-labelledby": le,
644
+ "aria-describedby": ie,
645
+ isDisabled: M = !1,
646
+ isRequired: pe = !1,
647
+ isInvalid: te = !1,
642
648
  isReadOnly: x = !1,
643
649
  shouldFocusWrap: O = !0,
644
650
  autoFocus: D = !1,
645
- name: j,
646
- formValue: Fe,
647
- validationBehavior: Ce = "aria",
648
- form: Se,
649
- validate: z,
650
- isLoading: we,
651
- asyncConfig: X,
652
- onAsyncSelectedItemsChange: $e,
653
- onAddCustomItem: Ke,
654
- onAddAsyncSelectedItem: Ie
655
- } = e, pe = Je(), ge = Je(), ue = A(null), ye = A(null), be = _(
651
+ name: H,
652
+ formValue: Ae,
653
+ validationBehavior: ve = "aria",
654
+ form: Ce,
655
+ validate: N,
656
+ isLoading: Se,
657
+ asyncConfig: Y,
658
+ onAsyncSelectedItemsChange: we,
659
+ onAddCustomItem: $e,
660
+ onAddAsyncSelectedItem: Ke
661
+ } = e, { triggerRef: Fe, inputRef: W } = Me(), re = Je(), ce = Je(), ge = A(null), Oe = A(null), B = ee(
656
662
  () => vr(l),
657
663
  [l]
658
- ), Oe = !!u, [M, k] = Z(
659
- be
660
- ), v = Oe ? be : M, V = d !== void 0, te = () => {
664
+ ), G = !!u, [oe, ae] = _(
665
+ B
666
+ ), v = G ? B : oe, V = d !== void 0, ze = () => {
661
667
  if (h) return h;
662
668
  if (V || r !== "single") return "";
663
669
  const i = Array.from(v);
664
670
  if (i.length === 0) return "";
665
671
  const a = i[0];
666
672
  return o.getItem(a)?.textValue ?? "";
667
- }, [ie, re] = Z(
668
- te
669
- ), L = V ? h : ie, oe = A(L), [at, ze] = Z(F), C = y ?? at, [Ve, he] = Z(
673
+ }, [ye, ue] = _(
674
+ ze
675
+ ), T = V ? h : ye, ne = A(T), [at, Ne] = _(F), C = y ?? at, [Ve, be] = _(
670
676
  null
671
- ), E = R(
677
+ ), L = R(
672
678
  (i) => {
673
- y === void 0 && ze(i), $?.(i);
679
+ y === void 0 && Ne(i), $?.(i);
674
680
  },
675
681
  [y, $]
676
- ), ut = _(() => {
677
- if (L.trim() === "")
682
+ ), ut = ee(() => {
683
+ if (T.trim() === "")
678
684
  return o;
679
685
  if (r === "single") {
680
686
  const a = Array.from(v);
681
687
  if (a.length > 0) {
682
688
  const f = a[0];
683
- if (o.getItem(f)?.textValue === L)
689
+ if (o.getItem(f)?.textValue === T)
684
690
  return o;
685
691
  }
686
692
  }
687
693
  if (w) {
688
- const a = Array.from(o), f = Array.from(w(a, L)), S = new Set(f.map((Be) => Be.key));
689
- return o.filter?.((Be, Le) => S.has(Le.key)) ?? o;
694
+ const a = Array.from(o), f = Array.from(w(a, T)), S = new Set(f.map((Ie) => Ie.key));
695
+ return o.filter?.((Ie, Ee) => S.has(Ee.key)) ?? o;
690
696
  }
691
- const i = L.toLowerCase();
697
+ const i = T.toLowerCase();
692
698
  return o.filter?.((a) => a.toLowerCase().includes(i)) ?? o;
693
- }, [o, L, w, r, v]), dt = _(
699
+ }, [o, T, w, r, v]), dt = ee(
694
700
  () => r === "multiple" ? Array.from(v).map((i) => o.getItem(i)?.value).filter((i) => i !== void 0) : [],
695
701
  [r, v, o]
696
- ), [ft, mt] = Z(null), pt = R(() => {
702
+ ), [ft, mt] = _(null), pt = R(() => {
697
703
  const i = y === void 0 ? !C : !y;
698
- y === void 0 ? ze((a) => !a) : $?.(!y), i && (ce.current?.focus(), he("first"));
704
+ y === void 0 ? Ne((a) => !a) : $?.(!y), i && (W.current?.focus(), be("first"));
699
705
  }, [y, C, $]), gt = R(
700
706
  (i) => {
701
- V || re(i), d?.(i), K === "input" && i !== oe.current && E(!0), oe.current = i;
707
+ V || ue(i), d?.(i), K === "input" && i !== ne.current && L(!0), ne.current = i;
702
708
  },
703
- [V, d, K, E]
704
- ), W = R(
709
+ [V, d, K, L]
710
+ ), z = R(
705
711
  (i, a) => {
706
- let f = i === "all" ? new Set(Array.from(o).map((N) => N.key)) : i;
707
- const S = a ?? v, Be = f.size > 0 && Array.from(f).every((N) => S.has(N)) && f.size < S.size;
708
- if (r === "multiple" && f.size === 1 && !Be) {
709
- const N = Array.from(f)[0], de = S.has(N), ae = new Set(S);
710
- de ? ae.delete(N) : ae.add(N), f = ae;
712
+ let f = i === "all" ? new Set(Array.from(o).map((k) => k.key)) : i;
713
+ const S = a ?? v, Ie = f.size > 0 && Array.from(f).every((k) => S.has(k)) && f.size < S.size;
714
+ if (r === "multiple" && f.size === 1 && !Ie) {
715
+ const k = Array.from(f)[0], fe = S.has(k), de = new Set(S);
716
+ fe ? de.delete(k) : de.add(k), f = de;
711
717
  }
712
- const Le = Cr(f);
713
- if (u ? u(Le) : k(f), X && r === "multiple" && $e) {
714
- const N = Array.from(f).map((de) => o.getItem(de)?.value).filter((de) => de !== void 0);
715
- $e(N);
718
+ const Ee = Cr(f);
719
+ if (u ? u(Ee) : ae(f), Y && r === "multiple" && we) {
720
+ const k = Array.from(f).map((fe) => o.getItem(fe)?.value).filter((fe) => fe !== void 0);
721
+ we(k);
716
722
  }
717
723
  if (r === "single") {
718
- const N = Array.from(f)[0];
719
- if (N !== null) {
720
- const ae = o.getItem(N)?.textValue ?? "";
721
- V || (re(ae), oe.current = ae), d?.(ae);
724
+ const k = Array.from(f)[0];
725
+ if (k !== null) {
726
+ const de = o.getItem(k)?.textValue ?? "";
727
+ V || (ue(de), ne.current = de), d?.(de);
722
728
  }
723
- I && E(!1);
729
+ I && L(!1);
724
730
  }
725
731
  },
726
732
  [
@@ -730,126 +736,134 @@ const Sr = (e) => {
730
736
  u,
731
737
  d,
732
738
  I,
733
- E,
739
+ L,
734
740
  V
735
741
  ]
736
- ), m = Jt({
742
+ ), p = Jt({
737
743
  selectionMode: r,
738
744
  collection: ut,
739
745
  selectedKeys: v,
740
- onSelectionChange: W,
746
+ onSelectionChange: z,
741
747
  disabledKeys: b
742
748
  }), yt = R(() => {
743
- m.selectionManager.setSelectedKeys(/* @__PURE__ */ new Set()), r === "single" && (V || (re(""), oe.current = ""), d?.(""));
744
- }, [m.selectionManager, r, V, d]), Ne = R(
749
+ z(/* @__PURE__ */ new Set()), V || (ue(""), ne.current = ""), d?.(""), L(!0), requestAnimationFrame(() => {
750
+ W.current?.focus();
751
+ });
752
+ }, [
753
+ z,
754
+ V,
755
+ d,
756
+ L,
757
+ W
758
+ ]), ke = R(
745
759
  (i) => {
746
- Ke?.((S) => [...S, i]), X && r === "multiple" && Ie?.((S) => [...S, i]);
760
+ $e?.((S) => [...S, i]), Y && r === "multiple" && Ke?.((S) => [...S, i]);
747
761
  const a = n(i), f = v;
748
762
  if (r === "single")
749
- W(/* @__PURE__ */ new Set([a]), f);
763
+ z(/* @__PURE__ */ new Set([a]), f);
750
764
  else {
751
765
  const S = new Set(f);
752
- S.add(a), W(S, f);
766
+ S.add(a), z(S, f);
753
767
  }
754
768
  },
755
769
  [
756
- Ke,
757
- X,
770
+ $e,
771
+ Y,
758
772
  r,
759
- Ie,
773
+ Ke,
760
774
  n,
761
775
  v,
762
- W
776
+ z
763
777
  ]
764
- ), ke = R(() => {
765
- if (!q) return !1;
766
- const i = L.trim();
778
+ ), We = R(() => {
779
+ if (!j) return !1;
780
+ const i = T.trim();
767
781
  if (!i || Array.from(o).some(
768
782
  (S) => S.textValue?.toLowerCase() === i.toLowerCase()
769
- ) || J && !J(i))
783
+ ) || Q && !Q(i))
770
784
  return !1;
771
- const f = ne(i);
772
- return Ne(f), r === "multiple" ? (V || (re(""), oe.current = ""), d?.("")) : (V || (re(i), oe.current = i), d?.(i)), P?.(f), !0;
785
+ const f = se(i);
786
+ return ke(f), r === "multiple" ? (V || (ue(""), ne.current = ""), d?.("")) : (V || (ue(i), ne.current = i), d?.(i)), P?.(f), !0;
773
787
  }, [
774
- q,
775
- ne,
776
- J,
777
- L,
788
+ j,
789
+ se,
790
+ Q,
791
+ T,
778
792
  o,
779
793
  r,
780
794
  d,
781
795
  P,
782
- Ne,
796
+ ke,
783
797
  V,
784
- re,
785
- oe
798
+ ue,
799
+ ne
786
800
  ]), bt = R(
787
801
  (i) => {
788
- if (B || x) return;
802
+ if (M || x) return;
789
803
  const a = v, f = new Set(a);
790
- i.forEach((S) => f.delete(S)), W(f, a), f.size === 0 && ce.current?.focus();
804
+ i.forEach((S) => f.delete(S)), z(f, a), f.size === 0 && W.current?.focus();
791
805
  },
792
- [v, W, B, x]
806
+ [v, z, M, x]
793
807
  ), ht = R(
794
808
  (i) => {
795
809
  switch (i.key) {
796
810
  case "ArrowDown":
797
811
  if (i.preventDefault(), !C)
798
- E(!0), he("first");
812
+ L(!0), be("first");
799
813
  else {
800
- const a = m.selectionManager.focusedKey, f = a ? m.collection.getKeyAfter(a) : m.collection.getFirstKey();
801
- m.selectionManager.setFocusedKey(
802
- f ?? m.collection.getFirstKey()
814
+ const a = p.selectionManager.focusedKey, f = a ? p.collection.getKeyAfter(a) : p.collection.getFirstKey();
815
+ p.selectionManager.setFocusedKey(
816
+ f ?? p.collection.getFirstKey()
803
817
  );
804
818
  }
805
819
  break;
806
820
  case "ArrowUp":
807
821
  if (i.preventDefault(), !C)
808
- E(!0), he("last");
822
+ L(!0), be("last");
809
823
  else {
810
- const a = m.selectionManager.focusedKey, f = a ? m.collection.getKeyBefore(a) : m.collection.getLastKey();
811
- m.selectionManager.setFocusedKey(
812
- f ?? m.collection.getLastKey()
824
+ const a = p.selectionManager.focusedKey, f = a ? p.collection.getKeyBefore(a) : p.collection.getLastKey();
825
+ p.selectionManager.setFocusedKey(
826
+ f ?? p.collection.getLastKey()
813
827
  );
814
828
  }
815
829
  break;
816
830
  case "Enter":
817
- if (C && m.selectionManager.focusedKey) {
831
+ if (C && p.selectionManager.focusedKey) {
818
832
  i.preventDefault();
819
- const a = m.selectionManager.focusedKey;
833
+ const a = p.selectionManager.focusedKey;
820
834
  if (r === "multiple") {
821
835
  const f = new Set(v);
822
- f.has(a) ? f.delete(a) : f.add(a), W(f);
836
+ f.has(a) ? f.delete(a) : f.add(a), z(f);
823
837
  } else
824
- W(/* @__PURE__ */ new Set([a])), m.selectionManager.setFocusedKey(null);
825
- } else C && !m.selectionManager.focusedKey && q && ke() && i.preventDefault();
838
+ z(/* @__PURE__ */ new Set([a])), p.selectionManager.setFocusedKey(null);
839
+ } else C && !p.selectionManager.focusedKey && j && We() && i.preventDefault();
826
840
  break;
827
841
  case "Escape":
828
- C && (i.preventDefault(), E(!1), m.selectionManager.setFocusedKey(null));
842
+ C && (i.preventDefault(), L(!1), p.selectionManager.setFocusedKey(null));
829
843
  break;
830
844
  case "Home":
831
845
  if (C) {
832
846
  i.preventDefault();
833
- const a = m.collection.getFirstKey();
834
- m.selectionManager.setFocusedKey(a);
847
+ const a = p.collection.getFirstKey();
848
+ p.selectionManager.setFocusedKey(a);
835
849
  }
836
850
  break;
837
851
  case "End":
838
852
  if (C) {
839
853
  i.preventDefault();
840
- const a = m.collection.getLastKey();
841
- m.selectionManager.setFocusedKey(a);
854
+ const a = p.collection.getLastKey();
855
+ p.selectionManager.setFocusedKey(a);
842
856
  }
843
857
  break;
844
858
  case "Backspace":
845
- if (L === "") {
859
+ if (T === "") {
846
860
  const a = Array.from(v);
847
861
  if (a.length > 0)
848
862
  if (i.preventDefault(), r === "single")
849
- W(/* @__PURE__ */ new Set());
863
+ z(/* @__PURE__ */ new Set());
850
864
  else {
851
865
  const f = new Set(a);
852
- f.delete(a[a.length - 1]), W(f);
866
+ f.delete(a[a.length - 1]), z(f);
853
867
  }
854
868
  }
855
869
  break;
@@ -857,82 +871,80 @@ const Sr = (e) => {
857
871
  },
858
872
  [
859
873
  C,
860
- m.selectionManager,
861
- m.collection,
862
- W,
863
- E,
864
- he,
865
- r,
874
+ p.selectionManager,
875
+ p.collection,
876
+ z,
866
877
  L,
878
+ be,
879
+ r,
880
+ T,
867
881
  v,
868
- q,
869
- ke
882
+ j,
883
+ We
870
884
  ]
871
885
  ), xt = R(() => {
872
- K === "focus" && !B && !x && E(!0), r === "single" && L && ce.current && ce.current.select();
886
+ K === "focus" && !M && !x && L(!0), r === "single" && T && W.current && W.current.select();
873
887
  }, [
874
888
  K,
875
- B,
889
+ M,
876
890
  x,
877
- E,
891
+ L,
878
892
  r,
879
- L
893
+ T
880
894
  ]), vt = R(
881
895
  (i) => {
882
- if (!T) return;
896
+ if (!E) return;
883
897
  const a = i.currentTarget;
884
898
  setTimeout(() => {
885
899
  const f = document.activeElement;
886
- a.contains(f) || E(!1);
900
+ a.contains(f) || L(!1);
887
901
  }, 150);
888
902
  },
889
- [T, E]
890
- ), We = A(null);
891
- Y(() => {
892
- D && ce.current && !B && ce.current.focus();
893
- }, [D, B]);
894
- const Ge = A(C);
895
- Y(() => {
896
- y === void 0 && Ge.current !== C && (Ge.current = C, $?.(C));
897
- }, [C, y, $]), Y(() => {
903
+ [E, L]
904
+ ), Ge = A(null);
905
+ Z(() => {
906
+ D && W.current && !M && W.current.focus();
907
+ }, [D, M]);
908
+ const qe = A(C);
909
+ Z(() => {
910
+ y === void 0 && qe.current !== C && (qe.current = C, $?.(C));
911
+ }, [C, y, $]), Z(() => {
898
912
  if (r !== "single") return;
899
- const i = Array.from(m.selectionManager.selectedKeys), a = i.length > 0 ? i[0] : null;
900
- if (a === We.current) return;
901
- We.current = a;
902
- const f = a !== null ? m.collection.getItem(a) : null;
913
+ const i = Array.from(p.selectionManager.selectedKeys), a = i.length > 0 ? i[0] : null;
914
+ if (a === Ge.current) return;
915
+ Ge.current = a;
916
+ const f = a !== null ? p.collection.getItem(a) : null;
903
917
  if (a !== null && !f)
904
918
  return;
905
919
  const S = f?.textValue ?? "";
906
- V ? d?.(S) : (re(S), oe.current = S);
920
+ V ? d?.(S) : (ue(S), ne.current = S);
907
921
  }, [
908
922
  r,
909
- m.selectionManager.selectedKeys,
910
- m.collection,
923
+ p.selectionManager.selectedKeys,
924
+ p.collection,
911
925
  V,
912
926
  d
913
- ]), Y(() => {
927
+ ]), Z(() => {
914
928
  if (C && Ve) {
915
- const i = Ve === "first" ? m.collection.getFirstKey() : m.collection.getLastKey();
916
- m.selectionManager.setFocusedKey(i ?? null), he(null);
929
+ const i = Ve === "first" ? p.collection.getFirstKey() : p.collection.getLastKey();
930
+ p.selectionManager.setFocusedKey(i ?? null), be(null);
917
931
  }
918
- }, [C, Ve, m.collection, m.selectionManager]), Y(() => {
919
- C ? m.selectionManager.setFocused(!0) : (m.selectionManager.setFocused(!1), m.selectionManager.setFocusedKey(null));
920
- }, [C, m.selectionManager]);
921
- const qe = A(!1);
922
- m.collection.size > 0 && (qe.current = !0), Y(() => {
923
- if (!C || H || we || !qe.current) return;
924
- m.collection.size > 0 || E(!1);
932
+ }, [C, Ve, p.collection, p.selectionManager]), Z(() => {
933
+ C ? p.selectionManager.setFocused(!0) : (p.selectionManager.setFocused(!1), p.selectionManager.setFocusedKey(null));
934
+ }, [C, p.selectionManager]);
935
+ const je = A(!1);
936
+ p.collection.size > 0 && (je.current = !0), Z(() => {
937
+ if (!C || U || Se || !je.current) return;
938
+ p.collection.size > 0 || L(!1);
925
939
  }, [
926
940
  C,
927
- H,
928
- we,
929
- m.collection.size,
930
- E,
931
- L
932
- ]);
933
- const { triggerRef: je, inputRef: ce } = Ae();
934
- Y(() => {
935
- const i = je.current;
941
+ U,
942
+ Se,
943
+ p.collection.size,
944
+ L,
945
+ T
946
+ ]), Z(() => {
947
+ const i = Fe.current;
936
948
  if (!i) return;
937
949
  const a = () => {
938
950
  const S = i.offsetWidth;
@@ -948,35 +960,35 @@ const Sr = (e) => {
948
960
  // InputContext: Props for ComboBox.Input component
949
961
  // Configures the input field with ARIA attributes, event handlers, and validation
950
962
  [
951
- Me,
963
+ Be,
952
964
  {
953
- ref: ce,
965
+ ref: W,
954
966
  role: "combobox",
955
967
  // ARIA role for autocomplete input
956
968
  "aria-autocomplete": "list",
957
969
  // Indicates suggestions are in a list
958
- "aria-controls": r === "multiple" ? `${ge} ${pe}` : pe,
970
+ "aria-controls": r === "multiple" ? `${ce} ${re}` : re,
959
971
  // Single-select: controls only listbox
960
972
  "aria-expanded": C,
961
973
  // Announces menu open/closed state
962
- "aria-activedescendant": m.selectionManager.focusedKey ? `${pe}-option-${m.selectionManager.focusedKey}` : void 0,
963
- "aria-describedby": r === "multiple" ? `${ge} ${le ?? ""}` : le,
964
- "aria-label": Q,
965
- "aria-labelledby": se,
966
- value: L,
974
+ "aria-activedescendant": p.selectionManager.focusedKey ? `${re}-option-${p.selectionManager.focusedKey}` : void 0,
975
+ "aria-describedby": r === "multiple" ? `${ce} ${ie ?? ""}` : ie,
976
+ "aria-label": X,
977
+ "aria-labelledby": le,
978
+ value: T,
967
979
  onChange: (i) => gt(i.target.value),
968
980
  onKeyDown: ht,
969
981
  onFocus: xt,
970
982
  onBlur: vt,
971
- disabled: B,
983
+ disabled: M,
972
984
  readOnly: x,
973
- required: me,
974
- "aria-invalid": ee,
975
- placeholder: p,
976
- name: j,
977
- form: Se,
978
- validationbehavior: Ce,
979
- validate: z
985
+ required: pe,
986
+ "aria-invalid": te,
987
+ placeholder: m,
988
+ name: H,
989
+ form: Ce,
990
+ validationbehavior: ve,
991
+ validate: N
980
992
  }
981
993
  ],
982
994
  // TagGroupContext: Props for ComboBox.TagGroup component (multi-select only)
@@ -984,7 +996,7 @@ const Sr = (e) => {
984
996
  [
985
997
  De,
986
998
  {
987
- id: ge,
999
+ id: ce,
988
1000
  "aria-label": t.format("selectedValues"),
989
1001
  items: dt,
990
1002
  // Selected items to display as tags
@@ -995,13 +1007,13 @@ const Sr = (e) => {
995
1007
  // ButtonContext: Props for toggle and clear buttons
996
1008
  // Uses "slots" pattern to configure multiple buttons via single context
997
1009
  [
998
- Ee,
1010
+ Te,
999
1011
  {
1000
1012
  slots: {
1001
1013
  toggle: {
1002
1014
  onPress: pt,
1003
1015
  "aria-label": t.format("toggleOptions"),
1004
- isDisabled: B || x,
1016
+ isDisabled: M || x,
1005
1017
  isPressed: C
1006
1018
  // Visual indicator that menu is open
1007
1019
  },
@@ -1009,7 +1021,7 @@ const Sr = (e) => {
1009
1021
  onPress: yt,
1010
1022
  "aria-label": t.format("clearSelection"),
1011
1023
  style: v.size > 0 ? void 0 : { display: "none" },
1012
- isDisabled: B || x || m.selectionManager.selectedKeys.size === 0
1024
+ isDisabled: M || x || p.selectionManager.selectedKeys.size === 0
1013
1025
  // Disabled when nothing selected
1014
1026
  }
1015
1027
  }
@@ -1024,10 +1036,10 @@ const Sr = (e) => {
1024
1036
  // No-op onOpenChange: We control state internally, prevent React Aria from managing its own state
1025
1037
  onOpenChange: () => {
1026
1038
  },
1027
- ref: ye,
1028
- triggerRef: je,
1039
+ ref: Oe,
1040
+ triggerRef: Fe,
1029
1041
  // Popover positions relative to this element
1030
- scrollRef: ue,
1042
+ scrollRef: ge,
1031
1043
  // Enables scroll-into-view for keyboard navigation
1032
1044
  isNonModal: !0,
1033
1045
  // Non-modal: doesn't trap focus, allows interaction outside
@@ -1042,8 +1054,8 @@ const Sr = (e) => {
1042
1054
  clearContexts: [
1043
1055
  // Clear these contexts so popover content doesn't inherit combobox contexts
1044
1056
  Gt,
1045
- Ee,
1046
- Me,
1057
+ Te,
1058
+ Be,
1047
1059
  Wt,
1048
1060
  jt
1049
1061
  ]
@@ -1059,11 +1071,11 @@ const Sr = (e) => {
1059
1071
  {
1060
1072
  items: s,
1061
1073
  // Items to render (merged from outer component)
1062
- id: pe,
1074
+ id: re,
1063
1075
  // ID referenced by aria-controls on input
1064
- ref: ue,
1076
+ ref: ge,
1065
1077
  // Ref for scroll positioning
1066
- renderEmptyState: U,
1078
+ renderEmptyState: J,
1067
1079
  // Custom empty state renderer
1068
1080
  shouldFocusWrap: O,
1069
1081
  // Whether to wrap focus from last to first item
@@ -1071,9 +1083,9 @@ const Sr = (e) => {
1071
1083
  }
1072
1084
  ],
1073
1085
  // ListStateContext: React Aria's collection state for managing selection and focus
1074
- [It, m]
1086
+ [It, p]
1075
1087
  ];
1076
- return /* @__PURE__ */ ve(
1088
+ return /* @__PURE__ */ xe(
1077
1089
  Ye,
1078
1090
  {
1079
1091
  values: Ct,
@@ -1081,14 +1093,14 @@ const Sr = (e) => {
1081
1093
  /* @__PURE__ */ g(
1082
1094
  _e,
1083
1095
  {
1084
- name: j,
1085
- form: Se,
1096
+ name: H,
1097
+ form: Ce,
1086
1098
  selectedKeys: v,
1087
1099
  selectionMode: r,
1088
- formValue: Fe,
1089
- allowsCustomOptions: q,
1090
- collection: m.collection,
1091
- inputValue: L
1100
+ formValue: Ae,
1101
+ allowsCustomOptions: j,
1102
+ collection: p.collection,
1103
+ inputValue: T
1092
1104
  }
1093
1105
  ),
1094
1106
  c
@@ -1096,7 +1108,7 @@ const Sr = (e) => {
1096
1108
  }
1097
1109
  );
1098
1110
  }, tt = (e) => {
1099
- const [t, r] = fe(e), s = Pe(Me), { inputRef: o } = Ae();
1111
+ const [t, r] = me(e), s = Pe(Be), { inputRef: o } = Me();
1100
1112
  let n = "", c = "";
1101
1113
  s && typeof s == "object" && "value" in s && (n = s.value || "", c = s.placeholder || "");
1102
1114
  const l = Math.max(n.length || c.length || 1, 1);
@@ -1114,17 +1126,17 @@ tt.displayName = "ComboBox.Input";
1114
1126
  const wr = ({
1115
1127
  children: e
1116
1128
  }) => /* @__PURE__ */ g(rr, { children: e }), rt = (e) => {
1117
- const { selectionMode: t, size: r, getKey: s, getTextValue: o, isDisabled: n, isReadOnly: c } = Ae(), [l, u] = fe(e), b = Pe(De), h = (b && "items" in b ? b.items : void 0) ?? [];
1118
- return t !== "multiple" ? null : /* @__PURE__ */ g(nr, { ...l, ...u, asChild: !0, children: /* @__PURE__ */ g(Te.Root, { size: r, children: /* @__PURE__ */ g(Te.TagList, { items: h, display: "contents", children: (d) => {
1119
- const w = s(d), p = o(d);
1129
+ const { selectionMode: t, size: r, getKey: s, getTextValue: o, isDisabled: n, isReadOnly: c } = Me(), [l, u] = me(e), b = Pe(De), h = (b && "items" in b ? b.items : void 0) ?? [];
1130
+ return t !== "multiple" ? null : /* @__PURE__ */ g(nr, { ...l, ...u, asChild: !0, children: /* @__PURE__ */ g(Le.Root, { size: r, children: /* @__PURE__ */ g(Le.TagList, { items: h, display: "contents", children: (d) => {
1131
+ const w = s(d), m = o(d);
1120
1132
  return /* @__PURE__ */ g(
1121
- Te.Tag,
1133
+ Le.Tag,
1122
1134
  {
1123
1135
  id: w,
1124
- textValue: p,
1136
+ textValue: m,
1125
1137
  isDisabled: n || c,
1126
1138
  maxW: "100%",
1127
- children: p
1139
+ children: m
1128
1140
  }
1129
1141
  );
1130
1142
  } }) }) });
@@ -1134,12 +1146,12 @@ const ot = ({
1134
1146
  children: e,
1135
1147
  ...t
1136
1148
  }) => {
1137
- const { triggerRef: r, leadingElement: s, inputRef: o, isLoading: n, isDisabled: c } = Ae();
1138
- return /* @__PURE__ */ ve(tr, { ref: r, onClick: (u) => {
1149
+ const { triggerRef: r, leadingElement: s, inputRef: o, isLoading: n, isDisabled: c } = Me();
1150
+ return /* @__PURE__ */ xe(tr, { ref: r, onClick: (u) => {
1139
1151
  !c && u.target instanceof HTMLElement && !u.target.closest("button") && o.current?.focus();
1140
1152
  }, ...t, children: [
1141
1153
  s && /* @__PURE__ */ g(wr, { children: s }),
1142
- /* @__PURE__ */ ve(or, { children: [
1154
+ /* @__PURE__ */ xe(or, { children: [
1143
1155
  /* @__PURE__ */ g(rt, {}),
1144
1156
  /* @__PURE__ */ g(tt, {})
1145
1157
  ] }),
@@ -1150,7 +1162,7 @@ const ot = ({
1150
1162
  size: "2xs",
1151
1163
  variant: "ghost",
1152
1164
  colorPalette: "primary",
1153
- children: /* @__PURE__ */ g(Lt, {})
1165
+ children: /* @__PURE__ */ g(Et, {})
1154
1166
  }
1155
1167
  ),
1156
1168
  /* @__PURE__ */ g(
@@ -1161,7 +1173,7 @@ const ot = ({
1161
1173
  variant: "ghost",
1162
1174
  colorPalette: "neutral",
1163
1175
  excludeFromTabOrder: !0,
1164
- children: n ? /* @__PURE__ */ g(Pt, { size: "xs", margin: "50" }) : /* @__PURE__ */ g(Tt, {})
1176
+ children: n ? /* @__PURE__ */ g(Pt, { size: "xs", margin: "50" }) : /* @__PURE__ */ g(Lt, {})
1165
1177
  }
1166
1178
  ),
1167
1179
  e
@@ -1173,7 +1185,7 @@ const nt = ({
1173
1185
  ref: t,
1174
1186
  ...r
1175
1187
  }) => {
1176
- const [s, o] = fe(r);
1188
+ const [s, o] = me(r);
1177
1189
  return /* @__PURE__ */ g(lr, { asChild: !0, ...s, children: /* @__PURE__ */ g(
1178
1190
  Rt,
1179
1191
  {
@@ -1191,7 +1203,7 @@ function st({
1191
1203
  ref: t,
1192
1204
  ...r
1193
1205
  }) {
1194
- const [s, o] = fe(r);
1206
+ const [s, o] = me(r);
1195
1207
  return /* @__PURE__ */ g(ir, { ...s, ref: t, asChild: !0, children: /* @__PURE__ */ g(Bt, { ...o, children: typeof e == "function" ? (c) => {
1196
1208
  const l = e(c), u = c;
1197
1209
  return wt(l) && (u.id || u.textValue) ? $t(
@@ -1210,13 +1222,13 @@ function lt({
1210
1222
  ref: t,
1211
1223
  ...r
1212
1224
  }) {
1213
- const [s, o] = fe(r);
1225
+ const [s, o] = me(r);
1214
1226
  return /* @__PURE__ */ g(ar, { ...s, asChild: !0, children: /* @__PURE__ */ g(Mt, { ref: t, ...o, children: (n) => {
1215
1227
  const c = typeof e == "function" ? e({
1216
1228
  ...n
1217
1229
  }) : e;
1218
- return n.selectionMode === "multiple" ? /* @__PURE__ */ ve(He, { children: [
1219
- /* @__PURE__ */ g(ur, { children: /* @__PURE__ */ g("span", { "data-selected": n.isSelected, children: n.isSelected && /* @__PURE__ */ g(Et, {}) }) }),
1230
+ return n.selectionMode === "multiple" ? /* @__PURE__ */ xe(He, { children: [
1231
+ /* @__PURE__ */ g(ur, { children: /* @__PURE__ */ g("span", { "data-selected": n.isSelected, children: n.isSelected && /* @__PURE__ */ g(Tt, {}) }) }),
1220
1232
  /* @__PURE__ */ g(dr, { children: c })
1221
1233
  ] }) : /* @__PURE__ */ g(He, { children: c });
1222
1234
  } }) });
@@ -1233,7 +1245,7 @@ function it({
1233
1245
  throw new Error(
1234
1246
  'ComboBox.Section: When "items" is provided, "children" must be a function'
1235
1247
  );
1236
- return /* @__PURE__ */ ve(At, { ref: s, ...o, children: [
1248
+ return /* @__PURE__ */ xe(At, { ref: s, ...o, children: [
1237
1249
  t && /* @__PURE__ */ g(cr, { asChild: !0, children: /* @__PURE__ */ g(Kt, { children: t }) }),
1238
1250
  r ? /* @__PURE__ */ g(Ot, { items: r, children: (n) => typeof e == "function" ? e(n) : null }) : e
1239
1251
  ] });
@@ -1548,4 +1560,4 @@ const oo = {
1548
1560
  export {
1549
1561
  oo as C
1550
1562
  };
1551
- //# sourceMappingURL=combobox-vjauyzlS.es.js.map
1563
+ //# sourceMappingURL=combobox-B30crY-T.es.js.map