@commercetools/nimbus 0.0.0-canary-20260120164656 → 0.0.0-canary-20260121165837

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 (496) hide show
  1. package/dist/chunks/{Button-CmpJG0ec.es.js → Button-BjcDZ5eb.es.js} +7 -7
  2. package/dist/chunks/{Button-CmpJG0ec.es.js.map → Button-BjcDZ5eb.es.js.map} +1 -1
  3. package/dist/chunks/{CollectionBuilder-DYW6tbzU.es.js → CollectionBuilder-BOe312C_.es.js} +2 -2
  4. package/dist/chunks/{CollectionBuilder-DYW6tbzU.es.js.map → CollectionBuilder-BOe312C_.es.js.map} +1 -1
  5. package/dist/chunks/{DateField-DrKDvsxd.es.js → DateField-DCWy1Ysp.es.js} +21 -21
  6. package/dist/chunks/{DateField-DrKDvsxd.es.js.map → DateField-DCWy1Ysp.es.js.map} +1 -1
  7. package/dist/chunks/{DatePicker-D-QccL98.es.js → DatePicker-CL72jbDo.es.js} +17 -17
  8. package/dist/chunks/{DatePicker-D-QccL98.es.js.map → DatePicker-CL72jbDo.es.js.map} +1 -1
  9. package/dist/chunks/{Dialog-C3fAbDNn.es.js → Dialog-B0BQfdQa.es.js} +24 -24
  10. package/dist/chunks/{Dialog-C3fAbDNn.es.js.map → Dialog-B0BQfdQa.es.js.map} +1 -1
  11. package/dist/chunks/{FocusScope-bj_mamFe.es.js → FocusScope-CqEZq7sr.es.js} +36 -36
  12. package/dist/chunks/{FocusScope-bj_mamFe.es.js.map → FocusScope-CqEZq7sr.es.js.map} +1 -1
  13. package/dist/chunks/{Group-C9jsb9_m.es.js → Group-BQc9LuMT.es.js} +8 -8
  14. package/dist/chunks/{Group-C9jsb9_m.es.js.map → Group-BQc9LuMT.es.js.map} +1 -1
  15. package/dist/chunks/{Header-Dc_tzDs3.es.js → Header-CiYtrnTw.es.js} +5 -5
  16. package/dist/chunks/{Header-Dc_tzDs3.es.js.map → Header-CiYtrnTw.es.js.map} +1 -1
  17. package/dist/chunks/{Heading-YOwfzTQe.es.js → Heading-BMsylHxq.es.js} +14 -14
  18. package/dist/chunks/{Heading-YOwfzTQe.es.js.map → Heading-BMsylHxq.es.js.map} +1 -1
  19. package/dist/chunks/{Input-aKSXZBAh.es.js → Input-Cmg08oRP.es.js} +5 -5
  20. package/dist/chunks/{Input-aKSXZBAh.es.js.map → Input-Cmg08oRP.es.js.map} +1 -1
  21. package/dist/chunks/{Label-Bu5lTMzy.es.js → Label-DIseLESi.es.js} +2 -2
  22. package/dist/chunks/{Label-Bu5lTMzy.es.js.map → Label-DIseLESi.es.js.map} +1 -1
  23. package/dist/chunks/{ListBox-CYNLUQ3a.es.js → ListBox-RrHJjnuq.es.js} +15 -15
  24. package/dist/chunks/{ListBox-CYNLUQ3a.es.js.map → ListBox-RrHJjnuq.es.js.map} +1 -1
  25. package/dist/chunks/{Modal-DJG9WuG4.es.js → Modal-K4JEy19g.es.js} +7 -7
  26. package/dist/chunks/{Modal-DJG9WuG4.es.js.map → Modal-K4JEy19g.es.js.map} +1 -1
  27. package/dist/chunks/{OverlayArrow-qm-lnjhS.es.js → OverlayArrow-BIjbCSXk.es.js} +2 -2
  28. package/dist/chunks/{OverlayArrow-qm-lnjhS.es.js.map → OverlayArrow-BIjbCSXk.es.js.map} +1 -1
  29. package/dist/chunks/{ProgressBar-DogfCeuX.es.js → ProgressBar-Dm2Ge45l.es.js} +5 -5
  30. package/dist/chunks/{ProgressBar-DogfCeuX.es.js.map → ProgressBar-Dm2Ge45l.es.js.map} +1 -1
  31. package/dist/chunks/{SelectionManager-LP-e3_n1.es.js → SelectionManager-CX9btso_.es.js} +10 -10
  32. package/dist/chunks/{SelectionManager-LP-e3_n1.es.js.map → SelectionManager-CX9btso_.es.js.map} +1 -1
  33. package/dist/chunks/{Separator-dJgzu8hU.es.js → Separator-x6wk4JUe.es.js} +4 -4
  34. package/dist/chunks/{Separator-dJgzu8hU.es.js.map → Separator-x6wk4JUe.es.js.map} +1 -1
  35. package/dist/chunks/{ToggleButton-B-feHlsu.es.js → ToggleButton-BqW-X6iJ.es.js} +7 -7
  36. package/dist/chunks/{ToggleButton-B-feHlsu.es.js.map → ToggleButton-BqW-X6iJ.es.js.map} +1 -1
  37. package/dist/chunks/{VisuallyHidden-BIA5VRNP.es.js → VisuallyHidden-BLRzeMsq.es.js} +3 -3
  38. package/dist/chunks/{VisuallyHidden-BIA5VRNP.es.js.map → VisuallyHidden-BLRzeMsq.es.js.map} +1 -1
  39. package/dist/chunks/{accordion-Cyfnu5bN.cjs.js → accordion-CVpg-FdJ.cjs.js} +2 -2
  40. package/dist/chunks/{accordion-Cyfnu5bN.cjs.js.map → accordion-CVpg-FdJ.cjs.js.map} +1 -1
  41. package/dist/chunks/{accordion-D00GOSea.es.js → accordion-Dh0RVlNx.es.js} +2 -2
  42. package/dist/chunks/{accordion-D00GOSea.es.js.map → accordion-Dh0RVlNx.es.js.map} +1 -1
  43. package/dist/chunks/accordion.content-Cqet9SQ-.cjs.js +2 -0
  44. package/dist/chunks/{accordion.content-DQwqjHOW.cjs.js.map → accordion.content-Cqet9SQ-.cjs.js.map} +1 -1
  45. package/dist/chunks/{accordion.content-BkBX10BF.es.js → accordion.content-GGayEeqD.es.js} +23 -24
  46. package/dist/chunks/{accordion.content-BkBX10BF.es.js.map → accordion.content-GGayEeqD.es.js.map} +1 -1
  47. package/dist/chunks/{alert-2DrkzNGu.es.js → alert-DCgWOaY2.es.js} +2 -2
  48. package/dist/chunks/{alert-2DrkzNGu.es.js.map → alert-DCgWOaY2.es.js.map} +1 -1
  49. package/dist/chunks/{alert-aMRIfAIC.cjs.js → alert-pPmN9CXZ.cjs.js} +2 -2
  50. package/dist/chunks/{alert-aMRIfAIC.cjs.js.map → alert-pPmN9CXZ.cjs.js.map} +1 -1
  51. package/dist/chunks/badge-CgYpum7D.es.js +17 -0
  52. package/dist/chunks/{badge-DUiqk6w9.es.js.map → badge-CgYpum7D.es.js.map} +1 -1
  53. package/dist/chunks/{button-DxCUtBTg.es.js → button-BEJnxXsL.es.js} +6 -6
  54. package/dist/chunks/{button-DxCUtBTg.es.js.map → button-BEJnxXsL.es.js.map} +1 -1
  55. package/dist/chunks/{button-BTgx0vYO.cjs.js → button-BR4fvcmi.cjs.js} +2 -2
  56. package/dist/chunks/{button-BTgx0vYO.cjs.js.map → button-BR4fvcmi.cjs.js.map} +1 -1
  57. package/dist/chunks/{calendar-C9lggwUt.cjs.js → calendar-B01Vti5k.cjs.js} +2 -2
  58. package/dist/chunks/{calendar-C9lggwUt.cjs.js.map → calendar-B01Vti5k.cjs.js.map} +1 -1
  59. package/dist/chunks/{calendar-ZD_iYbCB.es.js → calendar-lSoXK-yt.es.js} +9 -9
  60. package/dist/chunks/{calendar-ZD_iYbCB.es.js.map → calendar-lSoXK-yt.es.js.map} +1 -1
  61. package/dist/chunks/{card-Csvrt5co.cjs.js → card-Bk3xHlo2.cjs.js} +2 -2
  62. package/dist/chunks/{card-Csvrt5co.cjs.js.map → card-Bk3xHlo2.cjs.js.map} +1 -1
  63. package/dist/chunks/{card-nS5zYoa8.es.js → card-q5i119kB.es.js} +2 -2
  64. package/dist/chunks/{card-nS5zYoa8.es.js.map → card-q5i119kB.es.js.map} +1 -1
  65. package/dist/chunks/{checkbox-DGfJH78T.cjs.js → checkbox-BJANm94D.cjs.js} +2 -2
  66. package/dist/chunks/{checkbox-DGfJH78T.cjs.js.map → checkbox-BJANm94D.cjs.js.map} +1 -1
  67. package/dist/chunks/{checkbox-DPyR8SfU.es.js → checkbox-CputcCVr.es.js} +10 -10
  68. package/dist/chunks/{checkbox-DPyR8SfU.es.js.map → checkbox-CputcCVr.es.js.map} +1 -1
  69. package/dist/chunks/{collapsible-motion-CB2ti8tp.cjs.js → collapsible-motion-Biq0QGUr.cjs.js} +2 -2
  70. package/dist/chunks/{collapsible-motion-CB2ti8tp.cjs.js.map → collapsible-motion-Biq0QGUr.cjs.js.map} +1 -1
  71. package/dist/chunks/{collapsible-motion-DN7R8e9y.es.js → collapsible-motion-DvtUDuxb.es.js} +5 -5
  72. package/dist/chunks/{collapsible-motion-DN7R8e9y.es.js.map → collapsible-motion-DvtUDuxb.es.js.map} +1 -1
  73. package/dist/chunks/{combobox-De9mbfKS.cjs.js → combobox-B7ck7gxL.cjs.js} +2 -2
  74. package/dist/chunks/{combobox-De9mbfKS.cjs.js.map → combobox-B7ck7gxL.cjs.js.map} +1 -1
  75. package/dist/chunks/{combobox-DCriX7l0.es.js → combobox-vjauyzlS.es.js} +17 -17
  76. package/dist/chunks/{combobox-DCriX7l0.es.js.map → combobox-vjauyzlS.es.js.map} +1 -1
  77. package/dist/chunks/{data-table-Dj1D1Oqz.cjs.js → data-table-CBZLbe9h.cjs.js} +2 -2
  78. package/dist/chunks/{data-table-Dj1D1Oqz.cjs.js.map → data-table-CBZLbe9h.cjs.js.map} +1 -1
  79. package/dist/chunks/{data-table-9s2nS_ZB.es.js → data-table-DA4SdIgU.es.js} +37 -37
  80. package/dist/chunks/{data-table-9s2nS_ZB.es.js.map → data-table-DA4SdIgU.es.js.map} +1 -1
  81. package/dist/chunks/{date-input-CjknE2iW.es.js → date-input-Cd9q4qBj.es.js} +4 -4
  82. package/dist/chunks/{date-input-CjknE2iW.es.js.map → date-input-Cd9q4qBj.es.js.map} +1 -1
  83. package/dist/chunks/{date-input-C3qG0e2t.cjs.js → date-input-DkYcGwBy.cjs.js} +2 -2
  84. package/dist/chunks/{date-input-C3qG0e2t.cjs.js.map → date-input-DkYcGwBy.cjs.js.map} +1 -1
  85. package/dist/chunks/{date-picker-CfPZmIpW.es.js → date-picker-B8VVNXU3.es.js} +14 -14
  86. package/dist/chunks/{date-picker-CfPZmIpW.es.js.map → date-picker-B8VVNXU3.es.js.map} +1 -1
  87. package/dist/chunks/{date-picker-qwY7aX9v.cjs.js → date-picker-DQ5IZcRe.cjs.js} +2 -2
  88. package/dist/chunks/{date-picker-qwY7aX9v.cjs.js.map → date-picker-DQ5IZcRe.cjs.js.map} +1 -1
  89. package/dist/chunks/{date-range-picker-C-MvS2ug.es.js → date-range-picker-BnbKgO1E.es.js} +14 -14
  90. package/dist/chunks/{date-range-picker-C-MvS2ug.es.js.map → date-range-picker-BnbKgO1E.es.js.map} +1 -1
  91. package/dist/chunks/{date-range-picker-CEWrdg9v.cjs.js → date-range-picker-CO2HH0mY.cjs.js} +2 -2
  92. package/dist/chunks/{date-range-picker-CEWrdg9v.cjs.js.map → date-range-picker-CO2HH0mY.cjs.js.map} +1 -1
  93. package/dist/chunks/{date-range-picker-field-C6bLvR9d.es.js → date-range-picker-field-BuI6eLMY.es.js} +3 -3
  94. package/dist/chunks/{date-range-picker-field-C6bLvR9d.es.js.map → date-range-picker-field-BuI6eLMY.es.js.map} +1 -1
  95. package/dist/chunks/{date-range-picker-field-D5JKMNb0.cjs.js → date-range-picker-field-DcIo1YzI.cjs.js} +2 -2
  96. package/dist/chunks/{date-range-picker-field-D5JKMNb0.cjs.js.map → date-range-picker-field-DcIo1YzI.cjs.js.map} +1 -1
  97. package/dist/chunks/{dialog-CrJjgY4h.es.js → dialog-DuS3dXVi.es.js} +7 -7
  98. package/dist/chunks/{dialog-CrJjgY4h.es.js.map → dialog-DuS3dXVi.es.js.map} +1 -1
  99. package/dist/chunks/{dialog-BGLbgrdl.cjs.js → dialog-gyrFT8w0.cjs.js} +2 -2
  100. package/dist/chunks/{dialog-BGLbgrdl.cjs.js.map → dialog-gyrFT8w0.cjs.js.map} +1 -1
  101. package/dist/chunks/{draggable-list-C0oRQrXN.cjs.js → draggable-list-fvTG-VYt.cjs.js} +2 -2
  102. package/dist/chunks/{draggable-list-C0oRQrXN.cjs.js.map → draggable-list-fvTG-VYt.cjs.js.map} +1 -1
  103. package/dist/chunks/{draggable-list-D1WIY51S.es.js → draggable-list-z7a7tu_F.es.js} +22 -22
  104. package/dist/chunks/{draggable-list-D1WIY51S.es.js.map → draggable-list-z7a7tu_F.es.js.map} +1 -1
  105. package/dist/chunks/{drawer-Crh1oZwg.es.js → drawer-BPcEUbUt.es.js} +8 -8
  106. package/dist/chunks/{drawer-Crh1oZwg.es.js.map → drawer-BPcEUbUt.es.js.map} +1 -1
  107. package/dist/chunks/{drawer-DPGYfeMD.cjs.js → drawer-DbSJSCl_.cjs.js} +2 -2
  108. package/dist/chunks/{drawer-DPGYfeMD.cjs.js.map → drawer-DbSJSCl_.cjs.js.map} +1 -1
  109. package/dist/chunks/{extract-style-props-DmtVBZ8d.cjs.js → extract-style-props-B4hqila-.cjs.js} +2 -2
  110. package/dist/chunks/{extract-style-props-DmtVBZ8d.cjs.js.map → extract-style-props-B4hqila-.cjs.js.map} +1 -1
  111. package/dist/chunks/{extract-style-props-BgMy_O87.es.js → extract-style-props-BdibuNZ7.es.js} +2 -2
  112. package/dist/chunks/{extract-style-props-BgMy_O87.es.js.map → extract-style-props-BdibuNZ7.es.js.map} +1 -1
  113. package/dist/chunks/{focusSafely-RvsgqoUt.es.js → focusSafely-Cwb0Tyy6.es.js} +3 -3
  114. package/dist/chunks/{focusSafely-RvsgqoUt.es.js.map → focusSafely-Cwb0Tyy6.es.js.map} +1 -1
  115. package/dist/chunks/{form-field-CMOZytQs.es.js → form-field-BfDU18h3.es.js} +4 -4
  116. package/dist/chunks/{form-field-CMOZytQs.es.js.map → form-field-BfDU18h3.es.js.map} +1 -1
  117. package/dist/chunks/{form-field-DEDeC4dF.cjs.js → form-field-FdRNl2bZ.cjs.js} +2 -2
  118. package/dist/chunks/{form-field-DEDeC4dF.cjs.js.map → form-field-FdRNl2bZ.cjs.js.map} +1 -1
  119. package/dist/chunks/{getScrollParent-DlqhSzBC.es.js → getScrollParent-MZgwmCKW.es.js} +2 -2
  120. package/dist/chunks/{getScrollParent-DlqhSzBC.es.js.map → getScrollParent-MZgwmCKW.es.js.map} +1 -1
  121. package/dist/chunks/{group-jGsHh1w7.es.js → group-CCBgdph2.es.js} +2 -2
  122. package/dist/chunks/{group-jGsHh1w7.es.js.map → group-CCBgdph2.es.js.map} +1 -1
  123. package/dist/chunks/{heading-CwsT9zp_.es.js → heading-nfjoR4vL.es.js} +2 -2
  124. package/dist/chunks/{heading-CwsT9zp_.es.js.map → heading-nfjoR4vL.es.js.map} +1 -1
  125. package/dist/chunks/{icon-button-DYoWeQ-Z.cjs.js → icon-button-CeB8_Yyr.cjs.js} +2 -2
  126. package/dist/chunks/{icon-button-DYoWeQ-Z.cjs.js.map → icon-button-CeB8_Yyr.cjs.js.map} +1 -1
  127. package/dist/chunks/{icon-button-DnDgmuTd.es.js → icon-button-CosIm3oY.es.js} +2 -2
  128. package/dist/chunks/{icon-button-DnDgmuTd.es.js.map → icon-button-CosIm3oY.es.js.map} +1 -1
  129. package/dist/chunks/{icon-toggle-button-DzgWMb7J.es.js → icon-toggle-button-8fX8JAXp.es.js} +2 -2
  130. package/dist/chunks/{icon-toggle-button-DzgWMb7J.es.js.map → icon-toggle-button-8fX8JAXp.es.js.map} +1 -1
  131. package/dist/chunks/{icon-toggle-button-Bq09_85P.cjs.js → icon-toggle-button-C4Tnlt4t.cjs.js} +2 -2
  132. package/dist/chunks/{icon-toggle-button-Bq09_85P.cjs.js.map → icon-toggle-button-C4Tnlt4t.cjs.js.map} +1 -1
  133. package/dist/chunks/{index-CXfZ5q9I.es.js → index-C2qW4ynb.es.js} +184 -184
  134. package/dist/chunks/index-C2qW4ynb.es.js.map +1 -0
  135. package/dist/chunks/{index-DvhRVfgH.cjs.js → index-CVXB9mwf.cjs.js} +3 -3
  136. package/dist/chunks/index-CVXB9mwf.cjs.js.map +1 -0
  137. package/dist/chunks/{kbd-B11Qoo4k.es.js → kbd-Bl5Ncm2d.es.js} +2 -2
  138. package/dist/chunks/{kbd-B11Qoo4k.es.js.map → kbd-Bl5Ncm2d.es.js.map} +1 -1
  139. package/dist/chunks/{link-Db65JZE6.es.js → link-BMUyXcmC.es.js} +9 -9
  140. package/dist/chunks/{link-Db65JZE6.es.js.map → link-BMUyXcmC.es.js.map} +1 -1
  141. package/dist/chunks/list-DJC9BmoC.cjs.js.map +1 -1
  142. package/dist/chunks/list-Nz5KjWzs.es.js.map +1 -1
  143. package/dist/chunks/{loading-spinner-BtDS9yzp.es.js → loading-spinner-gf62wtm3.es.js} +6 -6
  144. package/dist/chunks/{loading-spinner-BtDS9yzp.es.js.map → loading-spinner-gf62wtm3.es.js.map} +1 -1
  145. package/dist/chunks/{localized-field-DGWDtf5L.cjs.js → localized-field-D78l88ux.cjs.js} +2 -2
  146. package/dist/chunks/{localized-field-DGWDtf5L.cjs.js.map → localized-field-D78l88ux.cjs.js.map} +1 -1
  147. package/dist/chunks/{localized-field-DPU_y1n9.es.js → localized-field-DdeHzXdh.es.js} +13 -13
  148. package/dist/chunks/{localized-field-DPU_y1n9.es.js.map → localized-field-DdeHzXdh.es.js.map} +1 -1
  149. package/dist/chunks/{make-element-focusable-DVfaQntJ.es.js → make-element-focusable-7-aXFtDJ.es.js} +6 -6
  150. package/dist/chunks/{make-element-focusable-DVfaQntJ.es.js.map → make-element-focusable-7-aXFtDJ.es.js.map} +1 -1
  151. package/dist/chunks/{menu-B_TxxqQa.cjs.js → menu-Dno8yFDE.cjs.js} +2 -2
  152. package/dist/chunks/{menu-B_TxxqQa.cjs.js.map → menu-Dno8yFDE.cjs.js.map} +1 -1
  153. package/dist/chunks/{menu-B8b9q-ES.es.js → menu-Zlnps1eW.es.js} +6 -6
  154. package/dist/chunks/{menu-B8b9q-ES.es.js.map → menu-Zlnps1eW.es.js.map} +1 -1
  155. package/dist/chunks/{mergeProps-D1jjFfMs.es.js → mergeProps-Dsl8k3Ig.es.js} +6 -6
  156. package/dist/chunks/{mergeProps-D1jjFfMs.es.js.map → mergeProps-Dsl8k3Ig.es.js.map} +1 -1
  157. package/dist/chunks/{money-input-OCF45Yjm.cjs.js → money-input-C9eVmgeL.cjs.js} +2 -2
  158. package/dist/chunks/{money-input-OCF45Yjm.cjs.js.map → money-input-C9eVmgeL.cjs.js.map} +1 -1
  159. package/dist/chunks/{money-input-CVnHlR60.es.js → money-input-D65vrUj4.es.js} +9 -9
  160. package/dist/chunks/{money-input-CVnHlR60.es.js.map → money-input-D65vrUj4.es.js.map} +1 -1
  161. package/dist/chunks/{money-input-field-F7KwTaj-.cjs.js → money-input-field-BGZ_9HKh.cjs.js} +2 -2
  162. package/dist/chunks/{money-input-field-F7KwTaj-.cjs.js.map → money-input-field-BGZ_9HKh.cjs.js.map} +1 -1
  163. package/dist/chunks/{money-input-field-C7jhAwv1.es.js → money-input-field-CSnaaDk-.es.js} +3 -3
  164. package/dist/chunks/{money-input-field-C7jhAwv1.es.js.map → money-input-field-CSnaaDk-.es.js.map} +1 -1
  165. package/dist/chunks/{multiline-text-input-CSv7WepP.cjs.js → multiline-text-input-CULLuZBp.cjs.js} +2 -2
  166. package/dist/chunks/{multiline-text-input-CSv7WepP.cjs.js.map → multiline-text-input-CULLuZBp.cjs.js.map} +1 -1
  167. package/dist/chunks/{multiline-text-input-CDhPsmJI.es.js → multiline-text-input-CrDTYrM3.es.js} +8 -8
  168. package/dist/chunks/{multiline-text-input-CDhPsmJI.es.js.map → multiline-text-input-CrDTYrM3.es.js.map} +1 -1
  169. package/dist/chunks/{multiline-text-input-field-BI6_qkkO.cjs.js → multiline-text-input-field-BX-w2v1Y.cjs.js} +2 -2
  170. package/dist/chunks/{multiline-text-input-field-BI6_qkkO.cjs.js.map → multiline-text-input-field-BX-w2v1Y.cjs.js.map} +1 -1
  171. package/dist/chunks/{multiline-text-input-field-3fbnEaQD.es.js → multiline-text-input-field-C6UTl_c8.es.js} +3 -3
  172. package/dist/chunks/{multiline-text-input-field-3fbnEaQD.es.js.map → multiline-text-input-field-C6UTl_c8.es.js.map} +1 -1
  173. package/dist/chunks/{nimbus-provider-DncU1okG.cjs.js → nimbus-provider-Dnu5ohMR.cjs.js} +2 -2
  174. package/dist/chunks/{nimbus-provider-DncU1okG.cjs.js.map → nimbus-provider-Dnu5ohMR.cjs.js.map} +1 -1
  175. package/dist/chunks/{nimbus-provider-DB5pGFqS.es.js → nimbus-provider-S02SpkpM.es.js} +2 -2
  176. package/dist/chunks/{nimbus-provider-DB5pGFqS.es.js.map → nimbus-provider-S02SpkpM.es.js.map} +1 -1
  177. package/dist/chunks/{number-input-DxaBCwQb.cjs.js → number-input-CR1hdy-B.cjs.js} +2 -2
  178. package/dist/chunks/{number-input-DxaBCwQb.cjs.js.map → number-input-CR1hdy-B.cjs.js.map} +1 -1
  179. package/dist/chunks/{number-input-2PT-CvX_.es.js → number-input-Dp13Mn-8.es.js} +14 -14
  180. package/dist/chunks/{number-input-2PT-CvX_.es.js.map → number-input-Dp13Mn-8.es.js.map} +1 -1
  181. package/dist/chunks/{number-input-field-fT4HsjS1.cjs.js → number-input-field-BDNpAP6t.cjs.js} +2 -2
  182. package/dist/chunks/{number-input-field-fT4HsjS1.cjs.js.map → number-input-field-BDNpAP6t.cjs.js.map} +1 -1
  183. package/dist/chunks/{number-input-field-DKXV9Old.es.js → number-input-field-C90uFO4e.es.js} +3 -3
  184. package/dist/chunks/{number-input-field-DKXV9Old.es.js.map → number-input-field-C90uFO4e.es.js.map} +1 -1
  185. package/dist/chunks/{pagination-DiaKdbgi.cjs.js → pagination-BIxlGft7.cjs.js} +2 -2
  186. package/dist/chunks/{pagination-DiaKdbgi.cjs.js.map → pagination-BIxlGft7.cjs.js.map} +1 -1
  187. package/dist/chunks/{pagination-DKdE-VvB.es.js → pagination-BlrGdyD5.es.js} +5 -5
  188. package/dist/chunks/{pagination-DKdE-VvB.es.js.map → pagination-BlrGdyD5.es.js.map} +1 -1
  189. package/dist/chunks/{password-input-By7kJR0K.es.js → password-input-8bkpGOIX.es.js} +4 -4
  190. package/dist/chunks/{password-input-By7kJR0K.es.js.map → password-input-8bkpGOIX.es.js.map} +1 -1
  191. package/dist/chunks/{password-input-BTDRB1rN.cjs.js → password-input-BVbQ42NG.cjs.js} +2 -2
  192. package/dist/chunks/{password-input-BTDRB1rN.cjs.js.map → password-input-BVbQ42NG.cjs.js.map} +1 -1
  193. package/dist/chunks/{password-input-field-DQB51FbL.cjs.js → password-input-field-B5lWzWAQ.cjs.js} +2 -2
  194. package/dist/chunks/{password-input-field-DQB51FbL.cjs.js.map → password-input-field-B5lWzWAQ.cjs.js.map} +1 -1
  195. package/dist/chunks/{password-input-field-Ex8qHLZk.es.js → password-input-field-XXaNUALk.es.js} +3 -3
  196. package/dist/chunks/{password-input-field-Ex8qHLZk.es.js.map → password-input-field-XXaNUALk.es.js.map} +1 -1
  197. package/dist/chunks/{popover-BB1pYTlN.es.js → popover-CuA9VugH.es.js} +2 -2
  198. package/dist/chunks/{popover-BB1pYTlN.es.js.map → popover-CuA9VugH.es.js.map} +1 -1
  199. package/dist/chunks/{progress-bar-DRIQSsok.es.js → progress-bar-C2ZnGdLv.es.js} +4 -4
  200. package/dist/chunks/{progress-bar-DRIQSsok.es.js.map → progress-bar-C2ZnGdLv.es.js.map} +1 -1
  201. package/dist/chunks/{progress-bar-DRxAH_Sq.cjs.js → progress-bar-dRKyuT1-.cjs.js} +2 -2
  202. package/dist/chunks/{progress-bar-DRxAH_Sq.cjs.js.map → progress-bar-dRKyuT1-.cjs.js.map} +1 -1
  203. package/dist/chunks/{radio-input-sDLWqPsF.cjs.js → radio-input-BecbxXcF.cjs.js} +2 -2
  204. package/dist/chunks/{radio-input-sDLWqPsF.cjs.js.map → radio-input-BecbxXcF.cjs.js.map} +1 -1
  205. package/dist/chunks/{radio-input-C1PzuSqQ.es.js → radio-input-DV-hhL4S.es.js} +42 -42
  206. package/dist/chunks/{radio-input-C1PzuSqQ.es.js.map → radio-input-DV-hhL4S.es.js.map} +1 -1
  207. package/dist/chunks/{range-calendar-fg-A3PDv.es.js → range-calendar-CEIaa08T.es.js} +10 -10
  208. package/dist/chunks/{range-calendar-fg-A3PDv.es.js.map → range-calendar-CEIaa08T.es.js.map} +1 -1
  209. package/dist/chunks/{range-calendar-DsXBXJve.cjs.js → range-calendar-Dq5Gtsb6.cjs.js} +2 -2
  210. package/dist/chunks/{range-calendar-DsXBXJve.cjs.js.map → range-calendar-Dq5Gtsb6.cjs.js.map} +1 -1
  211. package/dist/chunks/{rich-text-input-UUyaPSaJ.es.js → rich-text-input-CRGUa5d2.es.js} +13 -13
  212. package/dist/chunks/{rich-text-input-UUyaPSaJ.es.js.map → rich-text-input-CRGUa5d2.es.js.map} +1 -1
  213. package/dist/chunks/{rich-text-input-B5cHph7b.cjs.js → rich-text-input-Dml5F7pU.cjs.js} +2 -2
  214. package/dist/chunks/{rich-text-input-B5cHph7b.cjs.js.map → rich-text-input-Dml5F7pU.cjs.js.map} +1 -1
  215. package/dist/chunks/{scoped-search-input-CXWAjMWP.es.js → scoped-search-input-CSpFefUJ.es.js} +5 -5
  216. package/dist/chunks/{scoped-search-input-CXWAjMWP.es.js.map → scoped-search-input-CSpFefUJ.es.js.map} +1 -1
  217. package/dist/chunks/{scoped-search-input-cRt3YZ5c.cjs.js → scoped-search-input-DKCK7idN.cjs.js} +2 -2
  218. package/dist/chunks/{scoped-search-input-cRt3YZ5c.cjs.js.map → scoped-search-input-DKCK7idN.cjs.js.map} +1 -1
  219. package/dist/chunks/{scrollIntoView-CQMm8-SR.es.js → scrollIntoView-B7D07fJk.es.js} +5 -5
  220. package/dist/chunks/{scrollIntoView-CQMm8-SR.es.js.map → scrollIntoView-B7D07fJk.es.js.map} +1 -1
  221. package/dist/chunks/{search-input-6lV9KBfR.es.js → search-input-BDUJ48BC.es.js} +11 -11
  222. package/dist/chunks/{search-input-6lV9KBfR.es.js.map → search-input-BDUJ48BC.es.js.map} +1 -1
  223. package/dist/chunks/{search-input-CvP3WNK5.cjs.js → search-input-BNXlpYtP.cjs.js} +2 -2
  224. package/dist/chunks/{search-input-CvP3WNK5.cjs.js.map → search-input-BNXlpYtP.cjs.js.map} +1 -1
  225. package/dist/chunks/{search-input-field-Cwgtu8Do.es.js → search-input-field-CEemw2P1.es.js} +3 -3
  226. package/dist/chunks/{search-input-field-Cwgtu8Do.es.js.map → search-input-field-CEemw2P1.es.js.map} +1 -1
  227. package/dist/chunks/{search-input-field-IO4m8ue0.cjs.js → search-input-field-v60x1oiw.cjs.js} +2 -2
  228. package/dist/chunks/{search-input-field-IO4m8ue0.cjs.js.map → search-input-field-v60x1oiw.cjs.js.map} +1 -1
  229. package/dist/chunks/{select-Wv3Q3AKx.es.js → select-D9yYDW0d.es.js} +21 -21
  230. package/dist/chunks/{select-Wv3Q3AKx.es.js.map → select-D9yYDW0d.es.js.map} +1 -1
  231. package/dist/chunks/{select-DKNbWVnP.cjs.js → select-Dq_6o0BB.cjs.js} +2 -2
  232. package/dist/chunks/{select-DKNbWVnP.cjs.js.map → select-Dq_6o0BB.cjs.js.map} +1 -1
  233. package/dist/chunks/{separator-omBuDnmm.es.js → separator-BJ9k_D4l.es.js} +4 -4
  234. package/dist/chunks/{separator-omBuDnmm.es.js.map → separator-BJ9k_D4l.es.js.map} +1 -1
  235. package/dist/chunks/{separator-DhwZ6iTx.cjs.js → separator-u_4por07.cjs.js} +2 -2
  236. package/dist/chunks/{separator-DhwZ6iTx.cjs.js.map → separator-u_4por07.cjs.js.map} +1 -1
  237. package/dist/chunks/{split-button-CwIxO7gV.cjs.js → split-button-B4gVhpP9.cjs.js} +2 -2
  238. package/dist/chunks/{split-button-CwIxO7gV.cjs.js.map → split-button-B4gVhpP9.cjs.js.map} +1 -1
  239. package/dist/chunks/{split-button-9GY4nMiY.es.js → split-button-C94SY3qF.es.js} +4 -4
  240. package/dist/chunks/{split-button-9GY4nMiY.es.js.map → split-button-C94SY3qF.es.js.map} +1 -1
  241. package/dist/chunks/{switch-gYQuRhrB.cjs.js → switch-CsiG41ZR.cjs.js} +2 -2
  242. package/dist/chunks/{switch-gYQuRhrB.cjs.js.map → switch-CsiG41ZR.cjs.js.map} +1 -1
  243. package/dist/chunks/{switch-g3MX9iA9.es.js → switch-Nn1Fbk5O.es.js} +7 -7
  244. package/dist/chunks/{switch-g3MX9iA9.es.js.map → switch-Nn1Fbk5O.es.js.map} +1 -1
  245. package/dist/chunks/{tabs-DAZAf8cJ.es.js → tabs-D0OPeQ_J.es.js} +12 -12
  246. package/dist/chunks/{tabs-DAZAf8cJ.es.js.map → tabs-D0OPeQ_J.es.js.map} +1 -1
  247. package/dist/chunks/{tabs-ELhvzYwk.cjs.js → tabs-iV08OTqG.cjs.js} +2 -2
  248. package/dist/chunks/{tabs-ELhvzYwk.cjs.js.map → tabs-iV08OTqG.cjs.js.map} +1 -1
  249. package/dist/chunks/{tag-group-D3plgAkO.es.js → tag-group-BE8d6xcP.es.js} +19 -19
  250. package/dist/chunks/{tag-group-D3plgAkO.es.js.map → tag-group-BE8d6xcP.es.js.map} +1 -1
  251. package/dist/chunks/{tag-group-qa5FcaAm.cjs.js → tag-group-BI8_32rM.cjs.js} +2 -2
  252. package/dist/chunks/{tag-group-qa5FcaAm.cjs.js.map → tag-group-BI8_32rM.cjs.js.map} +1 -1
  253. package/dist/chunks/{text-DvqDjbwb.es.js → text-CIb_VDvO.es.js} +2 -2
  254. package/dist/chunks/{text-DvqDjbwb.es.js.map → text-CIb_VDvO.es.js.map} +1 -1
  255. package/dist/chunks/{text-input-Wom2nY4-.cjs.js → text-input-BlxK2Naj.cjs.js} +2 -2
  256. package/dist/chunks/{text-input-Wom2nY4-.cjs.js.map → text-input-BlxK2Naj.cjs.js.map} +1 -1
  257. package/dist/chunks/{text-input-Bkd9Conl.es.js → text-input-CCiZeQad.es.js} +7 -7
  258. package/dist/chunks/{text-input-Bkd9Conl.es.js.map → text-input-CCiZeQad.es.js.map} +1 -1
  259. package/dist/chunks/{text-input-field-Bp3Ftavj.es.js → text-input-field-6Cj35cYL.es.js} +3 -3
  260. package/dist/chunks/{text-input-field-Bp3Ftavj.es.js.map → text-input-field-6Cj35cYL.es.js.map} +1 -1
  261. package/dist/chunks/{text-input-field-DZUzohLy.cjs.js → text-input-field-Cmht3hDK.cjs.js} +2 -2
  262. package/dist/chunks/{text-input-field-DZUzohLy.cjs.js.map → text-input-field-Cmht3hDK.cjs.js.map} +1 -1
  263. package/dist/chunks/{time-input-p8e26_Io.cjs.js → time-input-9Q5vV4UD.cjs.js} +2 -2
  264. package/dist/chunks/{time-input-p8e26_Io.cjs.js.map → time-input-9Q5vV4UD.cjs.js.map} +1 -1
  265. package/dist/chunks/{time-input-BQ8qOD1C.es.js → time-input-CCuIFoY2.es.js} +4 -4
  266. package/dist/chunks/{time-input-BQ8qOD1C.es.js.map → time-input-CCuIFoY2.es.js.map} +1 -1
  267. package/dist/chunks/{toggle-button-C6WP4fpt.cjs.js → toggle-button-L7i1XaWg.cjs.js} +2 -2
  268. package/dist/chunks/{toggle-button-C6WP4fpt.cjs.js.map → toggle-button-L7i1XaWg.cjs.js.map} +1 -1
  269. package/dist/chunks/{toggle-button-DL6w_Ydv.es.js → toggle-button-UcXy5q2C.es.js} +4 -4
  270. package/dist/chunks/{toggle-button-DL6w_Ydv.es.js.map → toggle-button-UcXy5q2C.es.js.map} +1 -1
  271. package/dist/chunks/{toggle-button-group-P0oS-q6h.es.js → toggle-button-group-BWpmMkEz.es.js} +2 -2
  272. package/dist/chunks/{toggle-button-group-P0oS-q6h.es.js.map → toggle-button-group-BWpmMkEz.es.js.map} +1 -1
  273. package/dist/chunks/{toolbar-DEaeAYsb.es.js → toolbar-C7-6gqba.es.js} +6 -6
  274. package/dist/chunks/{toolbar-DEaeAYsb.es.js.map → toolbar-C7-6gqba.es.js.map} +1 -1
  275. package/dist/chunks/{toolbar-PKue9fnO.cjs.js → toolbar-D4fLFiSb.cjs.js} +2 -2
  276. package/dist/chunks/{toolbar-PKue9fnO.cjs.js.map → toolbar-D4fLFiSb.cjs.js.map} +1 -1
  277. package/dist/chunks/{tooltip-CzEuq_Qi.es.js → tooltip-D3QrrizN.es.js} +7 -7
  278. package/dist/chunks/{tooltip-CzEuq_Qi.es.js.map → tooltip-D3QrrizN.es.js.map} +1 -1
  279. package/dist/chunks/{useButton-B2TbwHSy.es.js → useButton-CiPiehgC.es.js} +4 -4
  280. package/dist/chunks/{useButton-B2TbwHSy.es.js.map → useButton-CiPiehgC.es.js.map} +1 -1
  281. package/dist/chunks/{useDateFormatter-Bm8thTNT.es.js → useDateFormatter-9juUpmrj.es.js} +2 -2
  282. package/dist/chunks/{useDateFormatter-Bm8thTNT.es.js.map → useDateFormatter-9juUpmrj.es.js.map} +1 -1
  283. package/dist/chunks/{useDisclosureState-BqxwXawT.es.js → useDisclosureState-CWZTR2xM.es.js} +3 -3
  284. package/dist/chunks/{useDisclosureState-BqxwXawT.es.js.map → useDisclosureState-CWZTR2xM.es.js.map} +1 -1
  285. package/dist/chunks/{useEvent-D8bTsAyx.es.js → useEvent-CRo5BZDX.es.js} +6 -6
  286. package/dist/chunks/{useEvent-D8bTsAyx.es.js.map → useEvent-CRo5BZDX.es.js.map} +1 -1
  287. package/dist/chunks/{useField-BfW84CS4.es.js → useField-CHrpmkxe.es.js} +8 -8
  288. package/dist/chunks/{useField-BfW84CS4.es.js.map → useField-CHrpmkxe.es.js.map} +1 -1
  289. package/dist/chunks/{useFocus-TCNvrvTC.es.js → useFocus-CrgTusM3.es.js} +6 -6
  290. package/dist/chunks/{useFocus-TCNvrvTC.es.js.map → useFocus-CrgTusM3.es.js.map} +1 -1
  291. package/dist/chunks/{useFocusRing-oMAqzr3e.es.js → useFocusRing-FPt2Rwil.es.js} +4 -4
  292. package/dist/chunks/{useFocusRing-oMAqzr3e.es.js.map → useFocusRing-FPt2Rwil.es.js.map} +1 -1
  293. package/dist/chunks/{useFocusVisible-Uw6yFmFY.es.js → useFocusVisible-B3HmFL2Q.es.js} +6 -6
  294. package/dist/chunks/{useFocusVisible-Uw6yFmFY.es.js.map → useFocusVisible-B3HmFL2Q.es.js.map} +1 -1
  295. package/dist/chunks/{useFocusWithin-nAsP7Ru3.es.js → useFocusWithin-EFOG-Jn1.es.js} +6 -6
  296. package/dist/chunks/{useFocusWithin-nAsP7Ru3.es.js.map → useFocusWithin-EFOG-Jn1.es.js.map} +1 -1
  297. package/dist/chunks/{useFocusable-Bm-DQaak.es.js → useFocusable-Cs6i58WP.es.js} +5 -5
  298. package/dist/chunks/{useFocusable-Bm-DQaak.es.js.map → useFocusable-Cs6i58WP.es.js.map} +1 -1
  299. package/dist/chunks/{useFormReset-C52dSDoe.es.js → useFormReset-BGuIA_u2.es.js} +2 -2
  300. package/dist/chunks/{useFormReset-C52dSDoe.es.js.map → useFormReset-BGuIA_u2.es.js.map} +1 -1
  301. package/dist/chunks/{useFormValidation-DxDV9X1M.es.js → useFormValidation-BCVLtR0U.es.js} +3 -3
  302. package/dist/chunks/{useFormValidation-DxDV9X1M.es.js.map → useFormValidation-BCVLtR0U.es.js.map} +1 -1
  303. package/dist/chunks/{useGridListItem-W6DzfYRB.es.js → useGridListItem-CJrr2QNO.es.js} +10 -10
  304. package/dist/chunks/{useGridListItem-W6DzfYRB.es.js.map → useGridListItem-CJrr2QNO.es.js.map} +1 -1
  305. package/dist/chunks/{useHasTabbableChild-DemFbZRn.es.js → useHasTabbableChild-DXq72IE3.es.js} +3 -3
  306. package/dist/chunks/{useHasTabbableChild-DemFbZRn.es.js.map → useHasTabbableChild-DXq72IE3.es.js.map} +1 -1
  307. package/dist/chunks/{useHover-BtRK9g2L.es.js → useHover-BQRSM3qT.es.js} +2 -2
  308. package/dist/chunks/{useHover-BtRK9g2L.es.js.map → useHover-BQRSM3qT.es.js.map} +1 -1
  309. package/dist/chunks/{useLabel-DfbcmKTa.es.js → useLabel-DQaRD22u.es.js} +5 -5
  310. package/dist/chunks/{useLabel-DfbcmKTa.es.js.map → useLabel-DQaRD22u.es.js.map} +1 -1
  311. package/dist/chunks/{useLabels-Gn8v9XZB.es.js → useLabels-BDqWMehi.es.js} +2 -2
  312. package/dist/chunks/{useLabels-Gn8v9XZB.es.js.map → useLabels-BDqWMehi.es.js.map} +1 -1
  313. package/dist/chunks/{useListState-BgQn1ZbV.es.js → useListState-Dd0Mtev3.es.js} +2 -2
  314. package/dist/chunks/{useListState-BgQn1ZbV.es.js.map → useListState-Dd0Mtev3.es.js.map} +1 -1
  315. package/dist/chunks/{usePress-C_IPaF8I.es.js → usePress-BuLomD_X.es.js} +6 -6
  316. package/dist/chunks/{usePress-C_IPaF8I.es.js.map → usePress-BuLomD_X.es.js.map} +1 -1
  317. package/dist/chunks/{useProgressBar-DCj794Zv.es.js → useProgressBar--OvVKto2.es.js} +7 -7
  318. package/dist/chunks/{useProgressBar-DCj794Zv.es.js.map → useProgressBar--OvVKto2.es.js.map} +1 -1
  319. package/dist/chunks/{useSpinButton-BkOWnOWL.es.js → useSpinButton-D8B_x4uj.es.js} +15 -15
  320. package/dist/chunks/{useSpinButton-BkOWnOWL.es.js.map → useSpinButton-D8B_x4uj.es.js.map} +1 -1
  321. package/dist/chunks/{useSyncRef-DmY05o2G.es.js → useSyncRef-BpLviItW.es.js} +2 -2
  322. package/dist/chunks/{useSyncRef-DmY05o2G.es.js.map → useSyncRef-BpLviItW.es.js.map} +1 -1
  323. package/dist/chunks/{useTextField-9WuJfc9u.es.js → useTextField-yuaT8-G4.es.js} +7 -7
  324. package/dist/chunks/{useTextField-9WuJfc9u.es.js.map → useTextField-yuaT8-G4.es.js.map} +1 -1
  325. package/dist/chunks/{useToggle-BZPMewLP.es.js → useToggle-DKP3zVOY.es.js} +5 -5
  326. package/dist/chunks/{useToggle-BZPMewLP.es.js.map → useToggle-DKP3zVOY.es.js.map} +1 -1
  327. package/dist/chunks/{useToolbar-C673xD3E.es.js → useToolbar-CbJkugif.es.js} +3 -3
  328. package/dist/chunks/{useToolbar-C673xD3E.es.js.map → useToolbar-CbJkugif.es.js.map} +1 -1
  329. package/dist/chunks/{utils-9vu7GUaz.es.js → utils-B6pV5ewr.es.js} +12 -12
  330. package/dist/chunks/{utils-9vu7GUaz.es.js.map → utils-B6pV5ewr.es.js.map} +1 -1
  331. package/dist/chunks/{utils-Bl-3nKLa.es.js → utils-oAGBWzI5.es.js} +14 -14
  332. package/dist/chunks/{utils-Bl-3nKLa.es.js.map → utils-oAGBWzI5.es.js.map} +1 -1
  333. package/dist/chunks/{visually-hidden-m5QY9YV7.es.js → visually-hidden-Dj5CT-u_.es.js} +2 -2
  334. package/dist/chunks/{visually-hidden-m5QY9YV7.es.js.map → visually-hidden-Dj5CT-u_.es.js.map} +1 -1
  335. package/dist/components/accordion/accordion.recipe.d.ts +1 -1
  336. package/dist/components/accordion/accordion.slots.d.ts +5 -5
  337. package/dist/components/accordion.cjs +1 -1
  338. package/dist/components/accordion.es.js +2 -2
  339. package/dist/components/alert/alert.recipe.d.ts +1 -1
  340. package/dist/components/alert/alert.slots.d.ts +3 -3
  341. package/dist/components/alert.cjs +1 -1
  342. package/dist/components/alert.es.js +1 -1
  343. package/dist/components/avatar/avatar.slots.d.ts +1 -1
  344. package/dist/components/badge/badge.slots.d.ts +1 -1
  345. package/dist/components/badge.es.js +1 -1
  346. package/dist/components/button.cjs +1 -1
  347. package/dist/components/button.es.js +1 -1
  348. package/dist/components/calendar/calendar.slots.d.ts +8 -8
  349. package/dist/components/calendar.cjs +1 -1
  350. package/dist/components/calendar.es.js +1 -1
  351. package/dist/components/card.cjs +1 -1
  352. package/dist/components/card.es.js +1 -1
  353. package/dist/components/checkbox.cjs +1 -1
  354. package/dist/components/checkbox.es.js +1 -1
  355. package/dist/components/collapsible-motion/collapsible-motion.slots.d.ts +2 -2
  356. package/dist/components/collapsible-motion.cjs +1 -1
  357. package/dist/components/collapsible-motion.es.js +1 -1
  358. package/dist/components/combobox/combobox.recipe.d.ts +1 -1
  359. package/dist/components/combobox/combobox.slots.d.ts +12 -12
  360. package/dist/components/combobox.cjs +1 -1
  361. package/dist/components/combobox.es.js +1 -1
  362. package/dist/components/components.cjs +1 -1
  363. package/dist/components/components.es.js +1 -1
  364. package/dist/components/data-table/data-table.d.ts +3 -3
  365. package/dist/components/data-table/data-table.slots.d.ts +12 -12
  366. package/dist/components/data-table.cjs +1 -1
  367. package/dist/components/data-table.es.js +1 -1
  368. package/dist/components/date-input/date-input.slots.d.ts +5 -5
  369. package/dist/components/date-input.cjs +1 -1
  370. package/dist/components/date-input.es.js +1 -1
  371. package/dist/components/date-picker/date-picker.recipe.d.ts +1 -1
  372. package/dist/components/date-picker/date-picker.slots.d.ts +6 -6
  373. package/dist/components/date-picker.cjs +1 -1
  374. package/dist/components/date-picker.es.js +1 -1
  375. package/dist/components/date-range-picker/date-range-picker.recipe.d.ts +1 -1
  376. package/dist/components/date-range-picker/date-range-picker.slots.d.ts +8 -8
  377. package/dist/components/date-range-picker-field.cjs +1 -1
  378. package/dist/components/date-range-picker-field.es.js +1 -1
  379. package/dist/components/date-range-picker.cjs +1 -1
  380. package/dist/components/date-range-picker.es.js +1 -1
  381. package/dist/components/dialog/dialog.slots.d.ts +9 -9
  382. package/dist/components/dialog.cjs +1 -1
  383. package/dist/components/dialog.es.js +1 -1
  384. package/dist/components/draggable-list/draggable-list.slots.d.ts +4 -4
  385. package/dist/components/draggable-list.cjs +1 -1
  386. package/dist/components/draggable-list.es.js +1 -1
  387. package/dist/components/drawer/drawer.slots.d.ts +10 -10
  388. package/dist/components/drawer.cjs +1 -1
  389. package/dist/components/drawer.es.js +1 -1
  390. package/dist/components/fields.cjs +1 -1
  391. package/dist/components/fields.es.js +7 -7
  392. package/dist/components/form-field/form-field.recipe.d.ts +1 -1
  393. package/dist/components/form-field/form-field.slots.d.ts +2 -2
  394. package/dist/components/form-field.cjs +1 -1
  395. package/dist/components/form-field.es.js +1 -1
  396. package/dist/components/group.es.js +1 -1
  397. package/dist/components/heading.es.js +1 -1
  398. package/dist/components/icon-button.cjs +1 -1
  399. package/dist/components/icon-button.es.js +1 -1
  400. package/dist/components/icon-toggle-button.cjs +1 -1
  401. package/dist/components/icon-toggle-button.es.js +1 -1
  402. package/dist/components/inline-svg/inline-svg.slots.d.ts +1 -1
  403. package/dist/components/kbd.es.js +1 -1
  404. package/dist/components/link/link.slots.d.ts +1 -1
  405. package/dist/components/link.es.js +1 -1
  406. package/dist/components/list/components/list.root.d.ts +12 -7
  407. package/dist/components/loading-spinner/loading-spinner.slots.d.ts +1 -1
  408. package/dist/components/loading-spinner.es.js +1 -1
  409. package/dist/components/localized-field/localized-field.slots.d.ts +10 -10
  410. package/dist/components/localized-field.cjs +1 -1
  411. package/dist/components/localized-field.es.js +1 -1
  412. package/dist/components/menu/menu.recipe.d.ts +1 -1
  413. package/dist/components/money-input/money-input.slots.d.ts +6 -6
  414. package/dist/components/money-input-field.cjs +1 -1
  415. package/dist/components/money-input-field.es.js +1 -1
  416. package/dist/components/money-input.cjs +1 -1
  417. package/dist/components/money-input.es.js +1 -1
  418. package/dist/components/multiline-text-input/multiline-text-input.slots.d.ts +3 -3
  419. package/dist/components/multiline-text-input-field.cjs +1 -1
  420. package/dist/components/multiline-text-input-field.es.js +1 -1
  421. package/dist/components/multiline-text-input.cjs +1 -1
  422. package/dist/components/multiline-text-input.es.js +1 -1
  423. package/dist/components/nimbus-provider.cjs +1 -1
  424. package/dist/components/nimbus-provider.es.js +1 -1
  425. package/dist/components/number-input/number-input.slots.d.ts +6 -6
  426. package/dist/components/number-input-field.cjs +1 -1
  427. package/dist/components/number-input-field.es.js +1 -1
  428. package/dist/components/number-input.cjs +1 -1
  429. package/dist/components/number-input.es.js +1 -1
  430. package/dist/components/pagination.cjs +1 -1
  431. package/dist/components/pagination.es.js +1 -1
  432. package/dist/components/password-input-field.cjs +1 -1
  433. package/dist/components/password-input-field.es.js +1 -1
  434. package/dist/components/password-input.cjs +1 -1
  435. package/dist/components/password-input.es.js +1 -1
  436. package/dist/components/patterns.cjs +1 -1
  437. package/dist/components/patterns.es.js +7 -7
  438. package/dist/components/popover.es.js +1 -1
  439. package/dist/components/progress-bar/progress-bar.slots.d.ts +4 -4
  440. package/dist/components/progress-bar.cjs +1 -1
  441. package/dist/components/progress-bar.es.js +1 -1
  442. package/dist/components/radio-input/radio-input.slots.d.ts +2 -2
  443. package/dist/components/radio-input.cjs +1 -1
  444. package/dist/components/radio-input.es.js +1 -1
  445. package/dist/components/range-calendar/range-calendar.slots.d.ts +8 -8
  446. package/dist/components/range-calendar.cjs +1 -1
  447. package/dist/components/range-calendar.es.js +1 -1
  448. package/dist/components/rich-text-input/rich-text-input.slots.d.ts +2 -2
  449. package/dist/components/rich-text-input.cjs +1 -1
  450. package/dist/components/rich-text-input.es.js +1 -1
  451. package/dist/components/scoped-search-input.cjs +1 -1
  452. package/dist/components/scoped-search-input.es.js +1 -1
  453. package/dist/components/search-input-field.cjs +1 -1
  454. package/dist/components/search-input-field.es.js +1 -1
  455. package/dist/components/search-input.cjs +1 -1
  456. package/dist/components/search-input.es.js +1 -1
  457. package/dist/components/select/select.slots.d.ts +7 -7
  458. package/dist/components/select.cjs +1 -1
  459. package/dist/components/select.es.js +1 -1
  460. package/dist/components/separator.cjs +1 -1
  461. package/dist/components/separator.es.js +1 -1
  462. package/dist/components/split-button/split-button.slots.d.ts +3 -3
  463. package/dist/components/split-button.cjs +1 -1
  464. package/dist/components/split-button.es.js +1 -1
  465. package/dist/components/switch/switch.slots.d.ts +3 -3
  466. package/dist/components/switch.cjs +1 -1
  467. package/dist/components/switch.es.js +1 -1
  468. package/dist/components/tabs/tabs.recipe.d.ts +1 -1
  469. package/dist/components/tabs/tabs.slots.d.ts +3 -3
  470. package/dist/components/tabs.cjs +1 -1
  471. package/dist/components/tabs.es.js +1 -1
  472. package/dist/components/tag-group.cjs +1 -1
  473. package/dist/components/tag-group.es.js +1 -1
  474. package/dist/components/text-input-field.cjs +1 -1
  475. package/dist/components/text-input-field.es.js +1 -1
  476. package/dist/components/text-input.cjs +1 -1
  477. package/dist/components/text-input.es.js +1 -1
  478. package/dist/components/text.es.js +1 -1
  479. package/dist/components/time-input/time-input.slots.d.ts +5 -5
  480. package/dist/components/time-input.cjs +1 -1
  481. package/dist/components/time-input.es.js +1 -1
  482. package/dist/components/toggle-button-group.es.js +1 -1
  483. package/dist/components/toggle-button.cjs +1 -1
  484. package/dist/components/toggle-button.es.js +1 -1
  485. package/dist/components/toolbar.cjs +1 -1
  486. package/dist/components/toolbar.es.js +1 -1
  487. package/dist/components/tooltip.es.js +2 -2
  488. package/dist/components/visually-hidden.es.js +1 -1
  489. package/dist/index.cjs +1 -1
  490. package/dist/index.es.js +64 -64
  491. package/dist/theme/slot-recipes/index.d.ts +8 -8
  492. package/package.json +5 -5
  493. package/dist/chunks/accordion.content-DQwqjHOW.cjs.js +0 -2
  494. package/dist/chunks/badge-DUiqk6w9.es.js +0 -17
  495. package/dist/chunks/index-CXfZ5q9I.es.js.map +0 -1
  496. package/dist/chunks/index-DvhRVfgH.cjs.js.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";const m=require("react/jsx-runtime"),o=require("react"),gt=require("./Header-BXEPjypM.cjs.js"),ue=require("./ListBox-rm_vuzPg.cjs.js"),We=require("./CollectionBuilder-DjRx57vm.cjs.js"),yt=require("@chakra-ui/react"),Ee=require("@commercetools/nimbus-icons"),de=require("./extract-style-props-DmtVBZ8d.cjs.js"),bt=require("./popover-Dhg--8YC.cjs.js"),qe=require("./icon-button-DYoWeQ-Z.cjs.js"),xt=require("./loading-spinner-DYEYnI5N.cjs.js"),xe=require("./Input-2FU1rljx.cjs.js"),ae=require("./tag-group-qa5FcaAm.cjs.js"),ht=require("@chakra-ui/react/styled-system"),vt=require("./RSPContexts-BdKenzIN.cjs.js"),Fe=require("./Button-DLCecw8f.cjs.js"),Le=require("./utils-DVb3jcp5.cjs.js"),Ct=require("./Group-1nWkximy.cjs.js"),St=require("./Label-szabofdc.cjs.js"),$t=require("./Dialog-CSr6lHSd.cjs.js"),wt=require("./Text-BWSfeB9p.cjs.js"),ce=require("./normalize-messages-CaDzkuUm.cjs.js"),Kt=require("./useListData-BGzhnkuO.cjs.js"),Ne=require("./mergeProps-CxnHrnow.cjs.js"),It=require("./useListState-BjCb6LLO.cjs.js");function Mt(e,t){let r;switch(e.state){case"idle":case"error":switch(t.type){case"loading":case"loadingMore":case"sorting":case"filtering":var l,n;return{...e,filterText:(l=t.filterText)!==null&&l!==void 0?l:e.filterText,state:t.type,items:t.type==="loading"?[]:e.items,sortDescriptor:(n=t.sortDescriptor)!==null&&n!==void 0?n:e.sortDescriptor,abortController:t.abortController};case"update":var s;return{...e,...(s=t.updater)===null||s===void 0?void 0:s.call(t,e)};case"success":case"error":return e;default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}case"loading":case"sorting":case"filtering":switch(t.type){case"success":if(t.abortController!==e.abortController)return e;var a;r=(a=t.selectedKeys)!==null&&a!==void 0?a:e.selectedKeys;var i,d,x;return{...e,filterText:(i=t.filterText)!==null&&i!==void 0?i:e.filterText,state:"idle",items:[...(d=t.items)!==null&&d!==void 0?d:[]],selectedKeys:r==="all"?"all":new Set(r),sortDescriptor:(x=t.sortDescriptor)!==null&&x!==void 0?x:e.sortDescriptor,abortController:void 0,cursor:t.cursor};case"error":return t.abortController!==e.abortController?e:{...e,state:"error",error:t.error,abortController:void 0};case"loading":case"loadingMore":case"sorting":case"filtering":var h;(h=e.abortController)===null||h===void 0||h.abort();var f;return{...e,filterText:(f=t.filterText)!==null&&f!==void 0?f:e.filterText,state:t.type,items:t.type==="loading"?[]:e.items,abortController:t.abortController};case"update":var w;return{...e,...(w=t.updater)===null||w===void 0?void 0:w.call(t,e)};default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}case"loadingMore":switch(t.type){case"success":var y;r=e.selectedKeys==="all"||t.selectedKeys==="all"?"all":new Set([...e.selectedKeys,...(y=t.selectedKeys)!==null&&y!==void 0?y:[]]);var I,O;return{...e,state:"idle",items:[...e.items,...(I=t.items)!==null&&I!==void 0?I:[]],selectedKeys:r,sortDescriptor:(O=t.sortDescriptor)!==null&&O!==void 0?O:e.sortDescriptor,abortController:void 0,cursor:t.cursor};case"error":return t.abortController!==e.abortController?e:{...e,state:"error",error:t.error};case"loading":case"sorting":case"filtering":var M;(M=e.abortController)===null||M===void 0||M.abort();var b;return{...e,filterText:(b=t.filterText)!==null&&b!==void 0?b:e.filterText,state:t.type,items:t.type==="loading"?[]:e.items,abortController:t.abortController};case"loadingMore":var A;return(A=t.abortController)===null||A===void 0||A.abort(),e;case"update":var K;return{...e,...(K=t.updater)===null||K===void 0?void 0:K.call(t,e)};default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}default:throw new Error(`Invalid state "${e.state}"`)}}function Bt(e){const{load:t,sort:r,initialSelectedKeys:l,initialSortDescriptor:n,getKey:s=f=>f.id||f.key,initialFilterText:a=""}=e;let[i,d]=o.useReducer(Mt,{state:"idle",error:void 0,items:[],selectedKeys:l==="all"?"all":new Set(l),sortDescriptor:n,filterText:a});const x=async(f,w)=>{let y=new AbortController;try{d({...f,abortController:y});var I;let b=(I=f.filterText)!==null&&I!==void 0?I:i.filterText;var O;let A=await w({items:i.items.slice(),selectedKeys:i.selectedKeys,sortDescriptor:(O=f.sortDescriptor)!==null&&O!==void 0?O:i.sortDescriptor,signal:y.signal,cursor:f.type==="loadingMore"?i.cursor:void 0,filterText:b,loadingState:i.state});var M;let K=(M=A.filterText)!==null&&M!==void 0?M:b;d({type:"success",...A,abortController:y}),K&&K!==b&&!y.signal.aborted&&x({type:"filtering",filterText:K},t)}catch(b){d({type:"error",error:b,abortController:y})}};let h=o.useRef(!1);return o.useEffect(()=>{h.current||(x({type:"loading"},t),h.current=!0)},[]),{items:i.items,selectedKeys:i.selectedKeys,sortDescriptor:i.sortDescriptor,isLoading:i.state==="loading"||i.state==="loadingMore"||i.state==="sorting"||i.state==="filtering",loadingState:i.state,error:i.error,filterText:i.filterText,getItem(f){return i.items.find(w=>s(w)===f)},reload(){x({type:"loading"},t)},loadMore(){i.state==="loading"||i.state==="loadingMore"||i.state==="filtering"||i.cursor==null||x({type:"loadingMore"},t)},sort(f){x({type:"sorting",sortDescriptor:f},r||t)},...Kt.$0d86e9c8f07f9a7b$export$79c0c687a5963b0a({...e,getKey:s,cursor:i.cursor},f=>{d({type:"update",updater:f})}),setFilterText(f){x({type:"filtering",filterText:f},t)}}}const Rt=o.createContext(null);function At(e,t,r,l){var n=this,s=o.useRef(null),a=o.useRef(0),i=o.useRef(0),d=o.useRef(null),x=o.useRef([]),h=o.useRef(),f=o.useRef(),w=o.useRef(e),y=o.useRef(!0),I=o.useRef(),O=o.useRef();w.current=e;var M=typeof window<"u",b=!t&&t!==0&&M;if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var A=!!(r=r||{}).leading,K=!("trailing"in r)||!!r.trailing,G=!!r.flushOnExit&&K,H="maxWait"in r,N="debounceOnServer"in r&&!!r.debounceOnServer,U=H?Math.max(+r.maxWait||0,t):null,ee=o.useMemo(function(){var P=function(v){var E=x.current,V=h.current;return x.current=h.current=null,a.current=v,i.current=i.current||v,f.current=w.current.apply(V,E)},J=function(v,E){b&&cancelAnimationFrame(d.current),d.current=b?requestAnimationFrame(v):setTimeout(v,E)},te=function(v){if(!y.current)return!1;var E=v-s.current;return!s.current||E>=t||E<0||H&&v-a.current>=U},re=function(v){return d.current=null,K&&x.current?P(v):(x.current=h.current=null,f.current)},B=function v(){var E=Date.now();if(A&&i.current===a.current&&fe(),te(E))return re(E);if(y.current){var V=t-(E-s.current),W=H?Math.min(V,U-(E-a.current)):V;J(v,W)}},fe=function(){},X=function(){if(M||N){var v,E=Date.now(),V=te(E);if(x.current=[].slice.call(arguments),h.current=n,s.current=E,G&&!I.current&&(I.current=function(){var W;((W=global.document)==null?void 0:W.visibilityState)==="hidden"&&O.current.flush()},(v=global.document)==null||v.addEventListener==null||v.addEventListener("visibilitychange",I.current)),V){if(!d.current&&y.current)return a.current=s.current,J(B,t),A?P(s.current):f.current;if(H)return J(B,t),P(s.current)}return d.current||J(B,t),f.current}};return X.cancel=function(){var v=d.current;v&&(b?cancelAnimationFrame(d.current):clearTimeout(d.current)),a.current=0,x.current=s.current=h.current=d.current=null},X.isPending=function(){return!!d.current},X.flush=function(){return d.current?re(Date.now()):f.current},X},[A,H,t,U,K,G,b,M,N,l]);return O.current=ee,o.useEffect(function(){return y.current=!0,function(){var P;G&&O.current.flush(),I.current&&((P=global.document)==null||P.removeEventListener==null||P.removeEventListener("visibilitychange",I.current),I.current=null),y.current=!1}},[G]),ee}const{withProvider:Et,withContext:q}=yt.createSlotRecipeContext({key:"combobox"}),Ft=Et("div","root"),Lt=q("div","trigger"),Ot=q("div","leadingElement"),Tt=q("div","content"),Pt=q("div","tagGroup"),Vt=q("div","input"),jt=q("div","popover"),Dt=q("div","listBox"),kt=q("div","section"),zt=q("div","option"),qt=q("div","optionIndicator"),Nt=q("div","optionContent"),Wt={clearSelection:"Clear selection",toggleOptions:"Toggle options",selectedValues:"Selected values",options:"Options menu"},Gt={clearSelection:"Auswahl löschen",toggleOptions:"Optionen umschalten",selectedValues:"Ausgewählte Werte",options:"Optionsmenü"},Ht={clearSelection:"Borrar selección",toggleOptions:"Alternar opciones",selectedValues:"Valores seleccionados",options:"Menú de opciones"},Ut={clearSelection:"Effacer la sélection",toggleOptions:"Basculer les options",selectedValues:"Valeurs sélectionnées",options:"Menu des options"},Jt={clearSelection:"Limpar seleção",toggleOptions:"Alternar opções",selectedValues:"Valores selecionados",options:"Menu de opções"},Qt={en:ce.normalizeMessages(Wt),de:ce.normalizeMessages(Gt),es:ce.normalizeMessages(Ht),"fr-FR":ce.normalizeMessages(Ut),"pt-BR":ce.normalizeMessages(Jt)};function Ge(e){if(typeof e=="string"||typeof e=="number")return e;if("id"in e)return e.id;throw new Error("ComboBox - Item must have an 'id' property or provide getKey function")}function Xt(e){return typeof e=="string"?e:"name"in e?String(e.name):"label"in e?String(e.label):(console.warn("ComboBox - Item should have 'name' or 'label' property. Provide a getTextValue function to ensure proper item display and filtering."),String(e))}function Yt(e){return{id:e,name:e}}const Zt=e=>e?e instanceof Set?e:new Set(Array.isArray(e)?e:[e]):new Set,_t=e=>Array.from(e),Oe=o.createContext(null),Ie=()=>{const e=o.useContext(Oe);if(!e)throw new Error("Nimbus - ComboBox components must be used within ComboBox.Root");return e},He=e=>{const{name:t,form:r,selectedKeys:l,selectionMode:n,formValue:s,allowsCustomOptions:a,collection:i,inputValue:d}=e;if(!t)return null;const x=o.useMemo(()=>{if(n==="single"){const h=Array.from(l)[0];return h?s==="text"||a?Array.from(i).find(w=>w.key===h)?.textValue||d||"":String(h):""}else{const h=Array.from(l);return s==="text"||a?h.map(f=>Array.from(i).find(y=>y.key===f)?.textValue||"").filter(Boolean).join(","):h.join(",")}},[n,l,s,a,i,d]);return m.jsx("input",{type:"hidden",name:t,form:typeof r=="string"?r:void 0,value:x})};He.displayName="ComboBoxHiddenInput";function Ue(e){let t;[e,t]=Le.$64fa3d84918910a7$export$29f1550f4b0d4415(e,null,Rt);const{selectionMode:r="single",size:l="md",getKey:n=Ge,getTextValue:s=Xt,children:a,leadingElement:i,inputValue:d,onInputChange:x,isLoading:h,allowsEmptyMenu:f,renderEmptyState:w,async:y,filter:I,allowsCustomOptions:O=!1,isDisabled:M=!1,isInvalid:b=!1,isRequired:A=!1,isReadOnly:K=!1}=e,G=ht.useSlotRecipe({key:"combobox"}),[H,N]=G.splitVariantProps(e),[U,ee]=de.extractStyleProps(N),P=o.useRef(null),J=o.useRef(null),[te,re]=o.useState([]),B=Bt({getKey:n,async load({signal:R,filterText:k}){if(!y)return{items:[]};const C=y.minSearchLength??0;if(!k||k.length<C)return{items:[]};try{return{items:await y.load(k,R)}}catch(F){if(F.name==="AbortError")throw F;const Y=F;return y.onError?.(Y),{items:[]}}}}),[fe,X]=o.useState(d),[v,E]=o.useState(!1),[V,W]=o.useState([]),Me=y?.debounce??300,he=At(R=>{E(!1),B.setFilterText(R)},Me),ve=o.useCallback(R=>{X(R),E(!0),he(R)},[he]),j=y?fe:d,Ce=y?ve:x,Q=y?v||B.loadingState==="loading"||B.loadingState==="loadingMore"||B.loadingState==="filtering":h,Se=y||O?!0:f,$e=o.useCallback(()=>Q?j?.length?`loading results for "${j}"`:"loading results":j?.length&&y?.minSearchLength&&j.length>=y.minSearchLength?`no results for "${j}"`:y?.minSearchLength?`enter at least ${y?.minSearchLength} characters`:"type to search",[y?.minSearchLength,Q,j]),we=o.useCallback(()=>Q?j?.length?`loading results for "${j}"`:"loading results":'hit "enter" to create an option',[Q,j]),me=(O?we:y?$e:void 0)??w,le=o.useMemo(()=>{const R=y?Array.from(B.items):e.items,k=R?Array.from(R):[],C=new Set(k.map(ne=>n(ne)));let Y=[...te.filter(ne=>!C.has(n(ne))),...k];if(y&&r==="multiple"&&V.length>0){const ne=new Set(Y.map(L=>n(L)));Y=[...V.filter(L=>!ne.has(n(L))),...Y]}return Y},[y,B.items,e.items,te,V,r,n]),ge=o.useMemo(()=>({selectionMode:r,size:l,getKey:n,getTextValue:s,leadingElement:i,triggerRef:P,inputRef:J,isLoading:Q,isDisabled:M,isRequired:A,isInvalid:b,isReadOnly:K}),[r,n,s,i,P,J,M,A,b,K]),ye=o.useMemo(()=>{if(le)return Array.from(le).map(R=>{const k="id"in R,C="textValue"in R;return k&&C?R:{...R,...k?{}:{id:n(R)},...C?{}:{textValue:s(R)}}})},[le,n,s]),Be=o.useMemo(()=>m.jsx(Oe.Provider,{value:ge,children:m.jsx(ue.$eed445e0843c11d0$export$7ff8f37d2d81a48d.Provider,{value:{items:ye},children:typeof a=="function"?a({isOpen:!1,isDisabled:M,isInvalid:b,isRequired:A,defaultChildren:null}):a})}),[a,M,b,A,ye,ge]);return m.jsx(Le.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Fe.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{}],[xe.$3985021b0ad6602f$export$37fb8590cf2c088c,{}],[ae.$eaf9e70818b436db$export$5b07b5dd2cbd96e3,{}]],children:m.jsx(Oe.Provider,{value:ge,children:m.jsx(Ft,{ref:t,...H,...U,size:l,"data-disabled":M,"data-invalid":b,"data-required":A,"data-readonly":K,"data-open":e.isOpen,role:"group",children:m.jsx(We.$e1995378a142960e$export$bf788dd355e3a401,{content:Be,children:R=>m.jsx(er,{...ee,size:l,filter:I,selectionMode:r,inputValue:j,onInputChange:Ce,getKey:n,getTextValue:s,allowsEmptyMenu:Se,renderEmptyState:me,isDisabled:M,isRequired:A,isInvalid:b,isReadOnly:K,collection:R,allowsCustomOptions:O,asyncConfig:y,onAsyncSelectedItemsChange:y&&r==="multiple"?W:void 0,onAddCustomItem:re,onAddAsyncSelectedItem:W})})})})})}Ue.displayName="ComboBox.Root";const er=e=>{const t=ce.useLocalizedStringFormatter(Qt),{selectionMode:r="single",items:l,collection:n,getKey:s=Ge,children:a,selectedKeys:i=[],onSelectionChange:d,disabledKeys:x,inputValue:h="",onInputChange:f,filter:w,placeholder:y,menuTrigger:I="input",shouldCloseOnBlur:O=!0,shouldCloseOnSelect:M=!0,isOpen:b,defaultOpen:A=!1,onOpenChange:K,allowsEmptyMenu:G=!1,renderEmptyState:H,allowsCustomOptions:N=!1,isValidNewOption:U,getNewOptionData:ee=Yt,onCreateOption:P,"aria-label":J,"aria-labelledby":te,"aria-describedby":re,isDisabled:B=!1,isRequired:fe=!1,isInvalid:X=!1,isReadOnly:v=!1,shouldFocusWrap:E=!0,autoFocus:V=!1,name:W,formValue:Me,validationBehavior:he="aria",form:ve,validate:j,isLoading:Ce,asyncConfig:Q,onAsyncSelectedItemsChange:Se,onAddCustomItem:$e,onAddAsyncSelectedItem:we}=e,pe=Ne.$bdb11010cef70236$export$f680877a34711e37(),me=Ne.$bdb11010cef70236$export$f680877a34711e37(),le=o.useRef(null),ge=o.useRef(null),ye=o.useMemo(()=>Zt(i),[i]),Be=!!d,[R,k]=o.useState(ye),C=Be?ye:R,F=f!==void 0,Y=()=>{if(h)return h;if(F||r!=="single")return"";const c=Array.from(C);if(c.length===0)return"";const u=c[0];return n.getItem(u)?.textValue??""},[ne,Z]=o.useState(Y),L=F?h:ne,_=o.useRef(L),[rt,Te]=o.useState(A),S=b??rt,[Re,be]=o.useState(null),T=o.useCallback(c=>{b===void 0&&Te(c),K?.(c)},[b,K]),nt=o.useMemo(()=>{if(L.trim()==="")return n;if(r==="single"){const u=Array.from(C);if(u.length>0){const p=u[0];if(n.getItem(p)?.textValue===L)return n}}if(w){const u=Array.from(n),p=Array.from(w(u,L)),$=new Set(p.map(Ke=>Ke.key));return n.filter?.((Ke,Ae)=>$.has(Ae.key))??n}const c=L.toLowerCase();return n.filter?.(u=>u.toLowerCase().includes(c))??n},[n,L,w,r,C]),ot=o.useMemo(()=>r==="multiple"?Array.from(C).map(c=>n.getItem(c)?.value).filter(c=>c!==void 0):[],[r,C,n]),[st,lt]=o.useState(null),it=o.useCallback(()=>{const c=b===void 0?!S:!b;b===void 0?Te(u=>!u):K?.(!b),c&&(oe.current?.focus(),be("first"))},[b,S,K]),ct=o.useCallback(c=>{F||Z(c),f?.(c),I==="input"&&c!==_.current&&T(!0),_.current=c},[F,f,I,T]),z=o.useCallback((c,u)=>{let p=c==="all"?new Set(Array.from(n).map(D=>D.key)):c;const $=u??C,Ke=p.size>0&&Array.from(p).every(D=>$.has(D))&&p.size<$.size;if(r==="multiple"&&p.size===1&&!Ke){const D=Array.from(p)[0],ie=$.has(D),se=new Set($);ie?se.delete(D):se.add(D),p=se}const Ae=_t(p);if(d?d(Ae):k(p),Q&&r==="multiple"&&Se){const D=Array.from(p).map(ie=>n.getItem(ie)?.value).filter(ie=>ie!==void 0);Se(D)}if(r==="single"){const D=Array.from(p)[0];if(D!==null){const se=n.getItem(D)?.textValue??"";F||(Z(se),_.current=se),f?.(se)}M&&T(!1)}},[n,r,C,d,f,M,T,F]),g=It.$e72dd72e1c76a225$export$2f645645f7bca764({selectionMode:r,collection:nt,selectedKeys:C,onSelectionChange:z,disabledKeys:x}),at=o.useCallback(()=>{g.selectionManager.setSelectedKeys(new Set),r==="single"&&(F||(Z(""),_.current=""),f?.(""))},[g.selectionManager,r,F,f]),Pe=o.useCallback(c=>{$e?.($=>[...$,c]),Q&&r==="multiple"&&we?.($=>[...$,c]);const u=s(c),p=C;if(r==="single")z(new Set([u]),p);else{const $=new Set(p);$.add(u),z($,p)}},[$e,Q,r,we,s,C,z]),Ve=o.useCallback(()=>{if(!N)return!1;const c=L.trim();if(!c||Array.from(n).some($=>$.textValue?.toLowerCase()===c.toLowerCase())||U&&!U(c))return!1;const p=ee(c);return Pe(p),r==="multiple"?(F||(Z(""),_.current=""),f?.("")):(F||(Z(c),_.current=c),f?.(c)),P?.(p),!0},[N,ee,U,L,n,r,f,P,Pe,F,Z,_]),ut=o.useCallback(c=>{if(B||v)return;const u=C,p=new Set(u);c.forEach($=>p.delete($)),z(p,u),p.size===0&&oe.current?.focus()},[C,z,B,v]),dt=o.useCallback(c=>{switch(c.key){case"ArrowDown":if(c.preventDefault(),!S)T(!0),be("first");else{const u=g.selectionManager.focusedKey,p=u?g.collection.getKeyAfter(u):g.collection.getFirstKey();g.selectionManager.setFocusedKey(p??g.collection.getFirstKey())}break;case"ArrowUp":if(c.preventDefault(),!S)T(!0),be("last");else{const u=g.selectionManager.focusedKey,p=u?g.collection.getKeyBefore(u):g.collection.getLastKey();g.selectionManager.setFocusedKey(p??g.collection.getLastKey())}break;case"Enter":if(S&&g.selectionManager.focusedKey){c.preventDefault();const u=g.selectionManager.focusedKey;if(r==="multiple"){const p=new Set(C);p.has(u)?p.delete(u):p.add(u),z(p)}else z(new Set([u])),g.selectionManager.setFocusedKey(null)}else S&&!g.selectionManager.focusedKey&&N&&Ve()&&c.preventDefault();break;case"Escape":S&&(c.preventDefault(),T(!1),g.selectionManager.setFocusedKey(null));break;case"Home":if(S){c.preventDefault();const u=g.collection.getFirstKey();g.selectionManager.setFocusedKey(u)}break;case"End":if(S){c.preventDefault();const u=g.collection.getLastKey();g.selectionManager.setFocusedKey(u)}break;case"Backspace":if(L===""){const u=Array.from(C);if(u.length>0)if(c.preventDefault(),r==="single")z(new Set);else{const p=new Set(u);p.delete(u[u.length-1]),z(p)}}break}},[S,g.selectionManager,g.collection,z,T,be,r,L,C,N,Ve]),ft=o.useCallback(()=>{I==="focus"&&!B&&!v&&T(!0),r==="single"&&L&&oe.current&&oe.current.select()},[I,B,v,T,r,L]),pt=o.useCallback(c=>{if(!O)return;const u=c.currentTarget;setTimeout(()=>{const p=document.activeElement;u.contains(p)||T(!1)},150)},[O,T]),je=o.useRef(null);o.useEffect(()=>{V&&oe.current&&!B&&oe.current.focus()},[V,B]);const De=o.useRef(S);o.useEffect(()=>{b===void 0&&De.current!==S&&(De.current=S,K?.(S))},[S,b,K]),o.useEffect(()=>{if(r!=="single")return;const c=Array.from(g.selectionManager.selectedKeys),u=c.length>0?c[0]:null;if(u===je.current)return;je.current=u;const p=u!==null?g.collection.getItem(u):null;if(u!==null&&!p)return;const $=p?.textValue??"";F?f?.($):(Z($),_.current=$)},[r,g.selectionManager.selectedKeys,g.collection,F,f]),o.useEffect(()=>{if(S&&Re){const c=Re==="first"?g.collection.getFirstKey():g.collection.getLastKey();g.selectionManager.setFocusedKey(c??null),be(null)}},[S,Re,g.collection,g.selectionManager]),o.useEffect(()=>{S?g.selectionManager.setFocused(!0):(g.selectionManager.setFocused(!1),g.selectionManager.setFocusedKey(null))},[S,g.selectionManager]);const ke=o.useRef(!1);g.collection.size>0&&(ke.current=!0),o.useEffect(()=>{if(!S||G||Ce||!ke.current)return;g.collection.size>0||T(!1)},[S,G,Ce,g.collection.size,T,L]);const{triggerRef:ze,inputRef:oe}=Ie();o.useEffect(()=>{const c=ze.current;if(!c)return;const u=()=>{const $=c.offsetWidth;lt(`${$}px`)};u();const p=new ResizeObserver(u);return p.observe(c),()=>{p.disconnect()}},[]);const mt=[[xe.$3985021b0ad6602f$export$37fb8590cf2c088c,{ref:oe,role:"combobox","aria-autocomplete":"list","aria-controls":r==="multiple"?`${me} ${pe}`:pe,"aria-expanded":S,"aria-activedescendant":g.selectionManager.focusedKey?`${pe}-option-${g.selectionManager.focusedKey}`:void 0,"aria-describedby":r==="multiple"?`${me} ${re??""}`:re,"aria-label":J,"aria-labelledby":te,value:L,onChange:c=>ct(c.target.value),onKeyDown:dt,onFocus:ft,onBlur:pt,disabled:B,readOnly:v,required:fe,"aria-invalid":X,placeholder:y,name:W,form:ve,validationbehavior:he,validate:j}],[ae.$eaf9e70818b436db$export$5b07b5dd2cbd96e3,{id:me,"aria-label":t.format("selectedValues"),items:ot,onRemove:ut}],[Fe.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{slots:{toggle:{onPress:it,"aria-label":t.format("toggleOptions"),isDisabled:B||v,isPressed:S},clear:{onPress:at,"aria-label":t.format("clearSelection"),style:C.size>0?void 0:{display:"none"},isDisabled:B||v||g.selectionManager.selectedKeys.size===0}}}],[$t.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{isOpen:S,onOpenChange:()=>{},ref:ge,triggerRef:ze,scrollRef:le,isNonModal:!0,trigger:"ComboBox",placement:"bottom start",style:{"--nimbus-combobox-trigger-width":st},clearContexts:[St.$01b77f81d0f07f68$export$75b6ee27786ba447,Fe.$d2b4bc8c273e7be6$export$24d547caef80ccd1,xe.$3985021b0ad6602f$export$37fb8590cf2c088c,Ct.$a049562f99e7db0e$export$f9c6924e160136d1,wt.$514c0188e459b4c0$export$9afb8bc826b033ea]}],[vt.$4e85f108e88277b8$export$b0d3ecf7112093a7,{shouldUseVirtualFocus:!0}],[ue.$eed445e0843c11d0$export$7ff8f37d2d81a48d,{items:l,id:pe,ref:le,renderEmptyState:H,shouldFocusWrap:E,"aria-label":t.format("options")}],[ue.$eed445e0843c11d0$export$7c5906fe4f1f2af2,g]];return m.jsxs(Le.$64fa3d84918910a7$export$2881499e37b75b9a,{values:mt,children:[m.jsx(He,{name:W,form:ve,selectedKeys:C,selectionMode:r,formValue:Me,allowsCustomOptions:N,collection:g.collection,inputValue:L}),a]})},Je=e=>{const[t,r]=de.extractStyleProps(e),l=o.useContext(xe.$3985021b0ad6602f$export$37fb8590cf2c088c),{inputRef:n}=Ie();let s="",a="";l&&typeof l=="object"&&"value"in l&&(s=l.value||"",a=l.placeholder||"");const i=Math.max(s.length||a.length||1,1);return m.jsx(Vt,{asChild:!0,...t,children:m.jsx(xe.$3985021b0ad6602f$export$f5b8910cec6cf069,{ref:n,...r,size:i,"data-empty":!(s.length||a.length)})})};Je.displayName="ComboBox.Input";const tr=({children:e})=>m.jsx(Ot,{children:e}),Qe=e=>{const{selectionMode:t,size:r,getKey:l,getTextValue:n,isDisabled:s,isReadOnly:a}=Ie(),[i,d]=de.extractStyleProps(e),x=o.useContext(ae.$eaf9e70818b436db$export$5b07b5dd2cbd96e3),h=(x&&"items"in x?x.items:void 0)??[];return t!=="multiple"?null:m.jsx(Pt,{...i,...d,asChild:!0,children:m.jsx(ae.TagGroup.Root,{size:r,children:m.jsx(ae.TagGroup.TagList,{items:h,display:"contents",children:f=>{const w=l(f),y=n(f);return m.jsx(ae.TagGroup.Tag,{id:w,textValue:y,isDisabled:s||a,maxW:"100%",children:y})}})})})};Qe.displayName="ComboBox.TagGroup";const Xe=({children:e,...t})=>{const{triggerRef:r,leadingElement:l,inputRef:n,isLoading:s,isDisabled:a}=Ie(),i=d=>{!a&&d.target instanceof HTMLElement&&!d.target.closest("button")&&n.current?.focus()};return m.jsxs(Lt,{ref:r,onClick:i,...t,children:[l&&m.jsx(tr,{children:l}),m.jsxs(Tt,{children:[m.jsx(Qe,{}),m.jsx(Je,{})]}),m.jsx(qe.IconButton,{slot:"clear",size:"2xs",variant:"ghost",colorPalette:"primary",children:m.jsx(Ee.Close,{})}),m.jsx(qe.IconButton,{slot:"toggle",size:"2xs",variant:"ghost",colorPalette:"neutral",excludeFromTabOrder:!0,children:s?m.jsx(xt.LoadingSpinner,{size:"xs",margin:"50"}):m.jsx(Ee.KeyboardArrowDown,{})}),e]})};Xe.displayName="ComboBox.Trigger";const Ye=({children:e,ref:t,...r})=>{const[l,n]=de.extractStyleProps(r);return m.jsx(jt,{asChild:!0,...l,children:m.jsx(bt.Popover,{ref:t,isNonModal:!0,autoFocus:!0,...n,children:e})})};Ye.displayName="ComboBox.Popover";function Ze({children:e,ref:t,...r}){const[l,n]=de.extractStyleProps(r),s=typeof e=="function"?a=>{const i=e(a),d=a;return o.isValidElement(i)&&(d.id||d.textValue)?o.cloneElement(i,{...i.props,...d.id?{id:d.id}:{},...d.textValue?{textValue:d.textValue}:{}}):i}:e;return m.jsx(Dt,{...l,ref:t,asChild:!0,children:m.jsx(ue.$eed445e0843c11d0$export$41f133550aa26f48,{...n,children:s})})}Ze.displayName="ComboBox.ListBox";function _e({children:e,ref:t,...r}){const[l,n]=de.extractStyleProps(r);return m.jsx(zt,{...l,asChild:!0,children:m.jsx(ue.$eed445e0843c11d0$export$a11e76429ed99b4,{ref:t,...n,children:s=>{const a=typeof e=="function"?e({...s}):e;return s.selectionMode==="multiple"?m.jsxs(m.Fragment,{children:[m.jsx(qt,{children:m.jsx("span",{"data-selected":s.isSelected,children:s.isSelected&&m.jsx(Ee.Check,{})})}),m.jsx(Nt,{children:a})]}):m.jsx(m.Fragment,{children:a})}})})}_e.displayName="ComboBox.Option";function et({children:e,label:t,items:r,ref:l,...n}){if(r&&typeof e!="function")throw new Error('ComboBox.Section: When "items" is provided, "children" must be a function');return m.jsxs(ue.$eed445e0843c11d0$export$dca12b0bb56e4fc,{ref:l,...n,children:[t&&m.jsx(kt,{asChild:!0,children:m.jsx(gt.$72a5793c14baf454$export$8b251419efc915eb,{children:t})}),r?m.jsx(We.$e1995378a142960e$export$fb8073518f34e6ec,{items:r,children:s=>typeof e=="function"?e(s):null}):e]})}et.displayName="ComboBox.Section";function tt(e,t){if(!t.trim())return e;const r=t.toLowerCase(),l=[];for(const n of e)n.textValue.toLowerCase().includes(r)&&l.push(n);return l}function rr(e,t){if(!t.trim())return e;const r=t.toLowerCase(),l=[];for(const n of e)n.textValue.toLowerCase().startsWith(r)&&l.push(n);return l}function nr(e,t){if(!t.trim())return e;const r=[];for(const l of e)l.textValue.includes(t)&&r.push(l);return r}function or(e,t){if(!t.trim())return e;const r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),l=new RegExp(`\\b${r}`,"i"),n=[];for(const s of e)l.test(s.textValue)&&n.push(s);return n}function sr(e,t){if(!t.trim())return e;const r=t.toLowerCase(),l=[];for(const n of e){const s=n.textValue.toLowerCase();let a=0;for(let i=0;i<s.length&&a<r.length;i++)s[i]===r[a]&&a++;a===r.length&&l.push(n)}return l}function lr(e){return(t,r)=>{if(!r.trim())return t;const l=r.toLowerCase(),n=[];for(const s of t){const a=s.value;if(!a)continue;e.some(d=>{const x=d.split(".").reduce((f,w)=>f&&typeof f=="object"?f[w]:void 0,a);return x==null?!1:String(x).toLowerCase().includes(l)})&&n.push(s)}return n}}function ir(e){return(t,r)=>{if(!r.trim())return t;const l=[];for(const n of t){const s=e(n,r);s>0&&l.push({node:n,score:s})}return l.sort((n,s)=>s.score-n.score),l.map(n=>n.node)}}function cr(e=tt){return(t,r)=>{if(!r.trim())return t;const l=r.split(/\s+/).filter(a=>a.length>0);if(l.length===0)return t;const n=new Set;for(const a of l){const i=e(t,a);for(const d of i)n.add(d.key)}const s=[];for(const a of t)n.has(a.key)&&s.push(a);return s}}function ar(e){return(t,r)=>{if(!r.trim())return t;const l=[];let n=null;const s=[],a=()=>{n&&s.length>0&&(l.push(n),l.push(...s)),s.length=0};for(const i of t)if(i.type==="section")a(),n=i;else{const d=Array.from(e([i],r));d.length>0&&s.push(...d)}return a(),l}}const ur={Root:Ue,Trigger:Xe,Popover:Ye,ListBox:Ze,Option:_e,Section:et,filters:{filterByText:tt,filterByStartsWith:rr,filterByCaseSensitive:nr,filterByWordBoundary:or,filterByFuzzy:sr,createMultiPropertyFilter:lr,createRankedFilter:ir,createMultiTermFilter:cr,createSectionAwareFilter:ar}};exports.ComboBox=ur;
2
- //# sourceMappingURL=combobox-De9mbfKS.cjs.js.map
1
+ "use strict";const m=require("react/jsx-runtime"),o=require("react"),gt=require("./Header-BXEPjypM.cjs.js"),ue=require("./ListBox-rm_vuzPg.cjs.js"),We=require("./CollectionBuilder-DjRx57vm.cjs.js"),yt=require("@chakra-ui/react"),Ee=require("@commercetools/nimbus-icons"),de=require("./extract-style-props-B4hqila-.cjs.js"),bt=require("./popover-Dhg--8YC.cjs.js"),qe=require("./icon-button-CeB8_Yyr.cjs.js"),xt=require("./loading-spinner-DYEYnI5N.cjs.js"),xe=require("./Input-2FU1rljx.cjs.js"),ae=require("./tag-group-BI8_32rM.cjs.js"),ht=require("@chakra-ui/react/styled-system"),vt=require("./RSPContexts-BdKenzIN.cjs.js"),Fe=require("./Button-DLCecw8f.cjs.js"),Le=require("./utils-DVb3jcp5.cjs.js"),Ct=require("./Group-1nWkximy.cjs.js"),St=require("./Label-szabofdc.cjs.js"),$t=require("./Dialog-CSr6lHSd.cjs.js"),wt=require("./Text-BWSfeB9p.cjs.js"),ce=require("./normalize-messages-CaDzkuUm.cjs.js"),Kt=require("./useListData-BGzhnkuO.cjs.js"),Ne=require("./mergeProps-CxnHrnow.cjs.js"),It=require("./useListState-BjCb6LLO.cjs.js");function Mt(e,t){let r;switch(e.state){case"idle":case"error":switch(t.type){case"loading":case"loadingMore":case"sorting":case"filtering":var l,n;return{...e,filterText:(l=t.filterText)!==null&&l!==void 0?l:e.filterText,state:t.type,items:t.type==="loading"?[]:e.items,sortDescriptor:(n=t.sortDescriptor)!==null&&n!==void 0?n:e.sortDescriptor,abortController:t.abortController};case"update":var s;return{...e,...(s=t.updater)===null||s===void 0?void 0:s.call(t,e)};case"success":case"error":return e;default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}case"loading":case"sorting":case"filtering":switch(t.type){case"success":if(t.abortController!==e.abortController)return e;var a;r=(a=t.selectedKeys)!==null&&a!==void 0?a:e.selectedKeys;var i,d,x;return{...e,filterText:(i=t.filterText)!==null&&i!==void 0?i:e.filterText,state:"idle",items:[...(d=t.items)!==null&&d!==void 0?d:[]],selectedKeys:r==="all"?"all":new Set(r),sortDescriptor:(x=t.sortDescriptor)!==null&&x!==void 0?x:e.sortDescriptor,abortController:void 0,cursor:t.cursor};case"error":return t.abortController!==e.abortController?e:{...e,state:"error",error:t.error,abortController:void 0};case"loading":case"loadingMore":case"sorting":case"filtering":var h;(h=e.abortController)===null||h===void 0||h.abort();var f;return{...e,filterText:(f=t.filterText)!==null&&f!==void 0?f:e.filterText,state:t.type,items:t.type==="loading"?[]:e.items,abortController:t.abortController};case"update":var w;return{...e,...(w=t.updater)===null||w===void 0?void 0:w.call(t,e)};default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}case"loadingMore":switch(t.type){case"success":var y;r=e.selectedKeys==="all"||t.selectedKeys==="all"?"all":new Set([...e.selectedKeys,...(y=t.selectedKeys)!==null&&y!==void 0?y:[]]);var I,O;return{...e,state:"idle",items:[...e.items,...(I=t.items)!==null&&I!==void 0?I:[]],selectedKeys:r,sortDescriptor:(O=t.sortDescriptor)!==null&&O!==void 0?O:e.sortDescriptor,abortController:void 0,cursor:t.cursor};case"error":return t.abortController!==e.abortController?e:{...e,state:"error",error:t.error};case"loading":case"sorting":case"filtering":var M;(M=e.abortController)===null||M===void 0||M.abort();var b;return{...e,filterText:(b=t.filterText)!==null&&b!==void 0?b:e.filterText,state:t.type,items:t.type==="loading"?[]:e.items,abortController:t.abortController};case"loadingMore":var A;return(A=t.abortController)===null||A===void 0||A.abort(),e;case"update":var K;return{...e,...(K=t.updater)===null||K===void 0?void 0:K.call(t,e)};default:throw new Error(`Invalid action "${t.type}" in state "${e.state}"`)}default:throw new Error(`Invalid state "${e.state}"`)}}function Bt(e){const{load:t,sort:r,initialSelectedKeys:l,initialSortDescriptor:n,getKey:s=f=>f.id||f.key,initialFilterText:a=""}=e;let[i,d]=o.useReducer(Mt,{state:"idle",error:void 0,items:[],selectedKeys:l==="all"?"all":new Set(l),sortDescriptor:n,filterText:a});const x=async(f,w)=>{let y=new AbortController;try{d({...f,abortController:y});var I;let b=(I=f.filterText)!==null&&I!==void 0?I:i.filterText;var O;let A=await w({items:i.items.slice(),selectedKeys:i.selectedKeys,sortDescriptor:(O=f.sortDescriptor)!==null&&O!==void 0?O:i.sortDescriptor,signal:y.signal,cursor:f.type==="loadingMore"?i.cursor:void 0,filterText:b,loadingState:i.state});var M;let K=(M=A.filterText)!==null&&M!==void 0?M:b;d({type:"success",...A,abortController:y}),K&&K!==b&&!y.signal.aborted&&x({type:"filtering",filterText:K},t)}catch(b){d({type:"error",error:b,abortController:y})}};let h=o.useRef(!1);return o.useEffect(()=>{h.current||(x({type:"loading"},t),h.current=!0)},[]),{items:i.items,selectedKeys:i.selectedKeys,sortDescriptor:i.sortDescriptor,isLoading:i.state==="loading"||i.state==="loadingMore"||i.state==="sorting"||i.state==="filtering",loadingState:i.state,error:i.error,filterText:i.filterText,getItem(f){return i.items.find(w=>s(w)===f)},reload(){x({type:"loading"},t)},loadMore(){i.state==="loading"||i.state==="loadingMore"||i.state==="filtering"||i.cursor==null||x({type:"loadingMore"},t)},sort(f){x({type:"sorting",sortDescriptor:f},r||t)},...Kt.$0d86e9c8f07f9a7b$export$79c0c687a5963b0a({...e,getKey:s,cursor:i.cursor},f=>{d({type:"update",updater:f})}),setFilterText(f){x({type:"filtering",filterText:f},t)}}}const Rt=o.createContext(null);function At(e,t,r,l){var n=this,s=o.useRef(null),a=o.useRef(0),i=o.useRef(0),d=o.useRef(null),x=o.useRef([]),h=o.useRef(),f=o.useRef(),w=o.useRef(e),y=o.useRef(!0),I=o.useRef(),O=o.useRef();w.current=e;var M=typeof window<"u",b=!t&&t!==0&&M;if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0;var A=!!(r=r||{}).leading,K=!("trailing"in r)||!!r.trailing,G=!!r.flushOnExit&&K,H="maxWait"in r,N="debounceOnServer"in r&&!!r.debounceOnServer,U=H?Math.max(+r.maxWait||0,t):null,ee=o.useMemo(function(){var P=function(v){var E=x.current,V=h.current;return x.current=h.current=null,a.current=v,i.current=i.current||v,f.current=w.current.apply(V,E)},J=function(v,E){b&&cancelAnimationFrame(d.current),d.current=b?requestAnimationFrame(v):setTimeout(v,E)},te=function(v){if(!y.current)return!1;var E=v-s.current;return!s.current||E>=t||E<0||H&&v-a.current>=U},re=function(v){return d.current=null,K&&x.current?P(v):(x.current=h.current=null,f.current)},B=function v(){var E=Date.now();if(A&&i.current===a.current&&fe(),te(E))return re(E);if(y.current){var V=t-(E-s.current),W=H?Math.min(V,U-(E-a.current)):V;J(v,W)}},fe=function(){},X=function(){if(M||N){var v,E=Date.now(),V=te(E);if(x.current=[].slice.call(arguments),h.current=n,s.current=E,G&&!I.current&&(I.current=function(){var W;((W=global.document)==null?void 0:W.visibilityState)==="hidden"&&O.current.flush()},(v=global.document)==null||v.addEventListener==null||v.addEventListener("visibilitychange",I.current)),V){if(!d.current&&y.current)return a.current=s.current,J(B,t),A?P(s.current):f.current;if(H)return J(B,t),P(s.current)}return d.current||J(B,t),f.current}};return X.cancel=function(){var v=d.current;v&&(b?cancelAnimationFrame(d.current):clearTimeout(d.current)),a.current=0,x.current=s.current=h.current=d.current=null},X.isPending=function(){return!!d.current},X.flush=function(){return d.current?re(Date.now()):f.current},X},[A,H,t,U,K,G,b,M,N,l]);return O.current=ee,o.useEffect(function(){return y.current=!0,function(){var P;G&&O.current.flush(),I.current&&((P=global.document)==null||P.removeEventListener==null||P.removeEventListener("visibilitychange",I.current),I.current=null),y.current=!1}},[G]),ee}const{withProvider:Et,withContext:q}=yt.createSlotRecipeContext({key:"combobox"}),Ft=Et("div","root"),Lt=q("div","trigger"),Ot=q("div","leadingElement"),Tt=q("div","content"),Pt=q("div","tagGroup"),Vt=q("div","input"),jt=q("div","popover"),Dt=q("div","listBox"),kt=q("div","section"),zt=q("div","option"),qt=q("div","optionIndicator"),Nt=q("div","optionContent"),Wt={clearSelection:"Clear selection",toggleOptions:"Toggle options",selectedValues:"Selected values",options:"Options menu"},Gt={clearSelection:"Auswahl löschen",toggleOptions:"Optionen umschalten",selectedValues:"Ausgewählte Werte",options:"Optionsmenü"},Ht={clearSelection:"Borrar selección",toggleOptions:"Alternar opciones",selectedValues:"Valores seleccionados",options:"Menú de opciones"},Ut={clearSelection:"Effacer la sélection",toggleOptions:"Basculer les options",selectedValues:"Valeurs sélectionnées",options:"Menu des options"},Jt={clearSelection:"Limpar seleção",toggleOptions:"Alternar opções",selectedValues:"Valores selecionados",options:"Menu de opções"},Qt={en:ce.normalizeMessages(Wt),de:ce.normalizeMessages(Gt),es:ce.normalizeMessages(Ht),"fr-FR":ce.normalizeMessages(Ut),"pt-BR":ce.normalizeMessages(Jt)};function Ge(e){if(typeof e=="string"||typeof e=="number")return e;if("id"in e)return e.id;throw new Error("ComboBox - Item must have an 'id' property or provide getKey function")}function Xt(e){return typeof e=="string"?e:"name"in e?String(e.name):"label"in e?String(e.label):(console.warn("ComboBox - Item should have 'name' or 'label' property. Provide a getTextValue function to ensure proper item display and filtering."),String(e))}function Yt(e){return{id:e,name:e}}const Zt=e=>e?e instanceof Set?e:new Set(Array.isArray(e)?e:[e]):new Set,_t=e=>Array.from(e),Oe=o.createContext(null),Ie=()=>{const e=o.useContext(Oe);if(!e)throw new Error("Nimbus - ComboBox components must be used within ComboBox.Root");return e},He=e=>{const{name:t,form:r,selectedKeys:l,selectionMode:n,formValue:s,allowsCustomOptions:a,collection:i,inputValue:d}=e;if(!t)return null;const x=o.useMemo(()=>{if(n==="single"){const h=Array.from(l)[0];return h?s==="text"||a?Array.from(i).find(w=>w.key===h)?.textValue||d||"":String(h):""}else{const h=Array.from(l);return s==="text"||a?h.map(f=>Array.from(i).find(y=>y.key===f)?.textValue||"").filter(Boolean).join(","):h.join(",")}},[n,l,s,a,i,d]);return m.jsx("input",{type:"hidden",name:t,form:typeof r=="string"?r:void 0,value:x})};He.displayName="ComboBoxHiddenInput";function Ue(e){let t;[e,t]=Le.$64fa3d84918910a7$export$29f1550f4b0d4415(e,null,Rt);const{selectionMode:r="single",size:l="md",getKey:n=Ge,getTextValue:s=Xt,children:a,leadingElement:i,inputValue:d,onInputChange:x,isLoading:h,allowsEmptyMenu:f,renderEmptyState:w,async:y,filter:I,allowsCustomOptions:O=!1,isDisabled:M=!1,isInvalid:b=!1,isRequired:A=!1,isReadOnly:K=!1}=e,G=ht.useSlotRecipe({key:"combobox"}),[H,N]=G.splitVariantProps(e),[U,ee]=de.extractStyleProps(N),P=o.useRef(null),J=o.useRef(null),[te,re]=o.useState([]),B=Bt({getKey:n,async load({signal:R,filterText:k}){if(!y)return{items:[]};const C=y.minSearchLength??0;if(!k||k.length<C)return{items:[]};try{return{items:await y.load(k,R)}}catch(F){if(F.name==="AbortError")throw F;const Y=F;return y.onError?.(Y),{items:[]}}}}),[fe,X]=o.useState(d),[v,E]=o.useState(!1),[V,W]=o.useState([]),Me=y?.debounce??300,he=At(R=>{E(!1),B.setFilterText(R)},Me),ve=o.useCallback(R=>{X(R),E(!0),he(R)},[he]),j=y?fe:d,Ce=y?ve:x,Q=y?v||B.loadingState==="loading"||B.loadingState==="loadingMore"||B.loadingState==="filtering":h,Se=y||O?!0:f,$e=o.useCallback(()=>Q?j?.length?`loading results for "${j}"`:"loading results":j?.length&&y?.minSearchLength&&j.length>=y.minSearchLength?`no results for "${j}"`:y?.minSearchLength?`enter at least ${y?.minSearchLength} characters`:"type to search",[y?.minSearchLength,Q,j]),we=o.useCallback(()=>Q?j?.length?`loading results for "${j}"`:"loading results":'hit "enter" to create an option',[Q,j]),me=(O?we:y?$e:void 0)??w,le=o.useMemo(()=>{const R=y?Array.from(B.items):e.items,k=R?Array.from(R):[],C=new Set(k.map(ne=>n(ne)));let Y=[...te.filter(ne=>!C.has(n(ne))),...k];if(y&&r==="multiple"&&V.length>0){const ne=new Set(Y.map(L=>n(L)));Y=[...V.filter(L=>!ne.has(n(L))),...Y]}return Y},[y,B.items,e.items,te,V,r,n]),ge=o.useMemo(()=>({selectionMode:r,size:l,getKey:n,getTextValue:s,leadingElement:i,triggerRef:P,inputRef:J,isLoading:Q,isDisabled:M,isRequired:A,isInvalid:b,isReadOnly:K}),[r,n,s,i,P,J,M,A,b,K]),ye=o.useMemo(()=>{if(le)return Array.from(le).map(R=>{const k="id"in R,C="textValue"in R;return k&&C?R:{...R,...k?{}:{id:n(R)},...C?{}:{textValue:s(R)}}})},[le,n,s]),Be=o.useMemo(()=>m.jsx(Oe.Provider,{value:ge,children:m.jsx(ue.$eed445e0843c11d0$export$7ff8f37d2d81a48d.Provider,{value:{items:ye},children:typeof a=="function"?a({isOpen:!1,isDisabled:M,isInvalid:b,isRequired:A,defaultChildren:null}):a})}),[a,M,b,A,ye,ge]);return m.jsx(Le.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Fe.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{}],[xe.$3985021b0ad6602f$export$37fb8590cf2c088c,{}],[ae.$eaf9e70818b436db$export$5b07b5dd2cbd96e3,{}]],children:m.jsx(Oe.Provider,{value:ge,children:m.jsx(Ft,{ref:t,...H,...U,size:l,"data-disabled":M,"data-invalid":b,"data-required":A,"data-readonly":K,"data-open":e.isOpen,role:"group",children:m.jsx(We.$e1995378a142960e$export$bf788dd355e3a401,{content:Be,children:R=>m.jsx(er,{...ee,size:l,filter:I,selectionMode:r,inputValue:j,onInputChange:Ce,getKey:n,getTextValue:s,allowsEmptyMenu:Se,renderEmptyState:me,isDisabled:M,isRequired:A,isInvalid:b,isReadOnly:K,collection:R,allowsCustomOptions:O,asyncConfig:y,onAsyncSelectedItemsChange:y&&r==="multiple"?W:void 0,onAddCustomItem:re,onAddAsyncSelectedItem:W})})})})})}Ue.displayName="ComboBox.Root";const er=e=>{const t=ce.useLocalizedStringFormatter(Qt),{selectionMode:r="single",items:l,collection:n,getKey:s=Ge,children:a,selectedKeys:i=[],onSelectionChange:d,disabledKeys:x,inputValue:h="",onInputChange:f,filter:w,placeholder:y,menuTrigger:I="input",shouldCloseOnBlur:O=!0,shouldCloseOnSelect:M=!0,isOpen:b,defaultOpen:A=!1,onOpenChange:K,allowsEmptyMenu:G=!1,renderEmptyState:H,allowsCustomOptions:N=!1,isValidNewOption:U,getNewOptionData:ee=Yt,onCreateOption:P,"aria-label":J,"aria-labelledby":te,"aria-describedby":re,isDisabled:B=!1,isRequired:fe=!1,isInvalid:X=!1,isReadOnly:v=!1,shouldFocusWrap:E=!0,autoFocus:V=!1,name:W,formValue:Me,validationBehavior:he="aria",form:ve,validate:j,isLoading:Ce,asyncConfig:Q,onAsyncSelectedItemsChange:Se,onAddCustomItem:$e,onAddAsyncSelectedItem:we}=e,pe=Ne.$bdb11010cef70236$export$f680877a34711e37(),me=Ne.$bdb11010cef70236$export$f680877a34711e37(),le=o.useRef(null),ge=o.useRef(null),ye=o.useMemo(()=>Zt(i),[i]),Be=!!d,[R,k]=o.useState(ye),C=Be?ye:R,F=f!==void 0,Y=()=>{if(h)return h;if(F||r!=="single")return"";const c=Array.from(C);if(c.length===0)return"";const u=c[0];return n.getItem(u)?.textValue??""},[ne,Z]=o.useState(Y),L=F?h:ne,_=o.useRef(L),[rt,Te]=o.useState(A),S=b??rt,[Re,be]=o.useState(null),T=o.useCallback(c=>{b===void 0&&Te(c),K?.(c)},[b,K]),nt=o.useMemo(()=>{if(L.trim()==="")return n;if(r==="single"){const u=Array.from(C);if(u.length>0){const p=u[0];if(n.getItem(p)?.textValue===L)return n}}if(w){const u=Array.from(n),p=Array.from(w(u,L)),$=new Set(p.map(Ke=>Ke.key));return n.filter?.((Ke,Ae)=>$.has(Ae.key))??n}const c=L.toLowerCase();return n.filter?.(u=>u.toLowerCase().includes(c))??n},[n,L,w,r,C]),ot=o.useMemo(()=>r==="multiple"?Array.from(C).map(c=>n.getItem(c)?.value).filter(c=>c!==void 0):[],[r,C,n]),[st,lt]=o.useState(null),it=o.useCallback(()=>{const c=b===void 0?!S:!b;b===void 0?Te(u=>!u):K?.(!b),c&&(oe.current?.focus(),be("first"))},[b,S,K]),ct=o.useCallback(c=>{F||Z(c),f?.(c),I==="input"&&c!==_.current&&T(!0),_.current=c},[F,f,I,T]),z=o.useCallback((c,u)=>{let p=c==="all"?new Set(Array.from(n).map(D=>D.key)):c;const $=u??C,Ke=p.size>0&&Array.from(p).every(D=>$.has(D))&&p.size<$.size;if(r==="multiple"&&p.size===1&&!Ke){const D=Array.from(p)[0],ie=$.has(D),se=new Set($);ie?se.delete(D):se.add(D),p=se}const Ae=_t(p);if(d?d(Ae):k(p),Q&&r==="multiple"&&Se){const D=Array.from(p).map(ie=>n.getItem(ie)?.value).filter(ie=>ie!==void 0);Se(D)}if(r==="single"){const D=Array.from(p)[0];if(D!==null){const se=n.getItem(D)?.textValue??"";F||(Z(se),_.current=se),f?.(se)}M&&T(!1)}},[n,r,C,d,f,M,T,F]),g=It.$e72dd72e1c76a225$export$2f645645f7bca764({selectionMode:r,collection:nt,selectedKeys:C,onSelectionChange:z,disabledKeys:x}),at=o.useCallback(()=>{g.selectionManager.setSelectedKeys(new Set),r==="single"&&(F||(Z(""),_.current=""),f?.(""))},[g.selectionManager,r,F,f]),Pe=o.useCallback(c=>{$e?.($=>[...$,c]),Q&&r==="multiple"&&we?.($=>[...$,c]);const u=s(c),p=C;if(r==="single")z(new Set([u]),p);else{const $=new Set(p);$.add(u),z($,p)}},[$e,Q,r,we,s,C,z]),Ve=o.useCallback(()=>{if(!N)return!1;const c=L.trim();if(!c||Array.from(n).some($=>$.textValue?.toLowerCase()===c.toLowerCase())||U&&!U(c))return!1;const p=ee(c);return Pe(p),r==="multiple"?(F||(Z(""),_.current=""),f?.("")):(F||(Z(c),_.current=c),f?.(c)),P?.(p),!0},[N,ee,U,L,n,r,f,P,Pe,F,Z,_]),ut=o.useCallback(c=>{if(B||v)return;const u=C,p=new Set(u);c.forEach($=>p.delete($)),z(p,u),p.size===0&&oe.current?.focus()},[C,z,B,v]),dt=o.useCallback(c=>{switch(c.key){case"ArrowDown":if(c.preventDefault(),!S)T(!0),be("first");else{const u=g.selectionManager.focusedKey,p=u?g.collection.getKeyAfter(u):g.collection.getFirstKey();g.selectionManager.setFocusedKey(p??g.collection.getFirstKey())}break;case"ArrowUp":if(c.preventDefault(),!S)T(!0),be("last");else{const u=g.selectionManager.focusedKey,p=u?g.collection.getKeyBefore(u):g.collection.getLastKey();g.selectionManager.setFocusedKey(p??g.collection.getLastKey())}break;case"Enter":if(S&&g.selectionManager.focusedKey){c.preventDefault();const u=g.selectionManager.focusedKey;if(r==="multiple"){const p=new Set(C);p.has(u)?p.delete(u):p.add(u),z(p)}else z(new Set([u])),g.selectionManager.setFocusedKey(null)}else S&&!g.selectionManager.focusedKey&&N&&Ve()&&c.preventDefault();break;case"Escape":S&&(c.preventDefault(),T(!1),g.selectionManager.setFocusedKey(null));break;case"Home":if(S){c.preventDefault();const u=g.collection.getFirstKey();g.selectionManager.setFocusedKey(u)}break;case"End":if(S){c.preventDefault();const u=g.collection.getLastKey();g.selectionManager.setFocusedKey(u)}break;case"Backspace":if(L===""){const u=Array.from(C);if(u.length>0)if(c.preventDefault(),r==="single")z(new Set);else{const p=new Set(u);p.delete(u[u.length-1]),z(p)}}break}},[S,g.selectionManager,g.collection,z,T,be,r,L,C,N,Ve]),ft=o.useCallback(()=>{I==="focus"&&!B&&!v&&T(!0),r==="single"&&L&&oe.current&&oe.current.select()},[I,B,v,T,r,L]),pt=o.useCallback(c=>{if(!O)return;const u=c.currentTarget;setTimeout(()=>{const p=document.activeElement;u.contains(p)||T(!1)},150)},[O,T]),je=o.useRef(null);o.useEffect(()=>{V&&oe.current&&!B&&oe.current.focus()},[V,B]);const De=o.useRef(S);o.useEffect(()=>{b===void 0&&De.current!==S&&(De.current=S,K?.(S))},[S,b,K]),o.useEffect(()=>{if(r!=="single")return;const c=Array.from(g.selectionManager.selectedKeys),u=c.length>0?c[0]:null;if(u===je.current)return;je.current=u;const p=u!==null?g.collection.getItem(u):null;if(u!==null&&!p)return;const $=p?.textValue??"";F?f?.($):(Z($),_.current=$)},[r,g.selectionManager.selectedKeys,g.collection,F,f]),o.useEffect(()=>{if(S&&Re){const c=Re==="first"?g.collection.getFirstKey():g.collection.getLastKey();g.selectionManager.setFocusedKey(c??null),be(null)}},[S,Re,g.collection,g.selectionManager]),o.useEffect(()=>{S?g.selectionManager.setFocused(!0):(g.selectionManager.setFocused(!1),g.selectionManager.setFocusedKey(null))},[S,g.selectionManager]);const ke=o.useRef(!1);g.collection.size>0&&(ke.current=!0),o.useEffect(()=>{if(!S||G||Ce||!ke.current)return;g.collection.size>0||T(!1)},[S,G,Ce,g.collection.size,T,L]);const{triggerRef:ze,inputRef:oe}=Ie();o.useEffect(()=>{const c=ze.current;if(!c)return;const u=()=>{const $=c.offsetWidth;lt(`${$}px`)};u();const p=new ResizeObserver(u);return p.observe(c),()=>{p.disconnect()}},[]);const mt=[[xe.$3985021b0ad6602f$export$37fb8590cf2c088c,{ref:oe,role:"combobox","aria-autocomplete":"list","aria-controls":r==="multiple"?`${me} ${pe}`:pe,"aria-expanded":S,"aria-activedescendant":g.selectionManager.focusedKey?`${pe}-option-${g.selectionManager.focusedKey}`:void 0,"aria-describedby":r==="multiple"?`${me} ${re??""}`:re,"aria-label":J,"aria-labelledby":te,value:L,onChange:c=>ct(c.target.value),onKeyDown:dt,onFocus:ft,onBlur:pt,disabled:B,readOnly:v,required:fe,"aria-invalid":X,placeholder:y,name:W,form:ve,validationbehavior:he,validate:j}],[ae.$eaf9e70818b436db$export$5b07b5dd2cbd96e3,{id:me,"aria-label":t.format("selectedValues"),items:ot,onRemove:ut}],[Fe.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{slots:{toggle:{onPress:it,"aria-label":t.format("toggleOptions"),isDisabled:B||v,isPressed:S},clear:{onPress:at,"aria-label":t.format("clearSelection"),style:C.size>0?void 0:{display:"none"},isDisabled:B||v||g.selectionManager.selectedKeys.size===0}}}],[$t.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{isOpen:S,onOpenChange:()=>{},ref:ge,triggerRef:ze,scrollRef:le,isNonModal:!0,trigger:"ComboBox",placement:"bottom start",style:{"--nimbus-combobox-trigger-width":st},clearContexts:[St.$01b77f81d0f07f68$export$75b6ee27786ba447,Fe.$d2b4bc8c273e7be6$export$24d547caef80ccd1,xe.$3985021b0ad6602f$export$37fb8590cf2c088c,Ct.$a049562f99e7db0e$export$f9c6924e160136d1,wt.$514c0188e459b4c0$export$9afb8bc826b033ea]}],[vt.$4e85f108e88277b8$export$b0d3ecf7112093a7,{shouldUseVirtualFocus:!0}],[ue.$eed445e0843c11d0$export$7ff8f37d2d81a48d,{items:l,id:pe,ref:le,renderEmptyState:H,shouldFocusWrap:E,"aria-label":t.format("options")}],[ue.$eed445e0843c11d0$export$7c5906fe4f1f2af2,g]];return m.jsxs(Le.$64fa3d84918910a7$export$2881499e37b75b9a,{values:mt,children:[m.jsx(He,{name:W,form:ve,selectedKeys:C,selectionMode:r,formValue:Me,allowsCustomOptions:N,collection:g.collection,inputValue:L}),a]})},Je=e=>{const[t,r]=de.extractStyleProps(e),l=o.useContext(xe.$3985021b0ad6602f$export$37fb8590cf2c088c),{inputRef:n}=Ie();let s="",a="";l&&typeof l=="object"&&"value"in l&&(s=l.value||"",a=l.placeholder||"");const i=Math.max(s.length||a.length||1,1);return m.jsx(Vt,{asChild:!0,...t,children:m.jsx(xe.$3985021b0ad6602f$export$f5b8910cec6cf069,{ref:n,...r,size:i,"data-empty":!(s.length||a.length)})})};Je.displayName="ComboBox.Input";const tr=({children:e})=>m.jsx(Ot,{children:e}),Qe=e=>{const{selectionMode:t,size:r,getKey:l,getTextValue:n,isDisabled:s,isReadOnly:a}=Ie(),[i,d]=de.extractStyleProps(e),x=o.useContext(ae.$eaf9e70818b436db$export$5b07b5dd2cbd96e3),h=(x&&"items"in x?x.items:void 0)??[];return t!=="multiple"?null:m.jsx(Pt,{...i,...d,asChild:!0,children:m.jsx(ae.TagGroup.Root,{size:r,children:m.jsx(ae.TagGroup.TagList,{items:h,display:"contents",children:f=>{const w=l(f),y=n(f);return m.jsx(ae.TagGroup.Tag,{id:w,textValue:y,isDisabled:s||a,maxW:"100%",children:y})}})})})};Qe.displayName="ComboBox.TagGroup";const Xe=({children:e,...t})=>{const{triggerRef:r,leadingElement:l,inputRef:n,isLoading:s,isDisabled:a}=Ie(),i=d=>{!a&&d.target instanceof HTMLElement&&!d.target.closest("button")&&n.current?.focus()};return m.jsxs(Lt,{ref:r,onClick:i,...t,children:[l&&m.jsx(tr,{children:l}),m.jsxs(Tt,{children:[m.jsx(Qe,{}),m.jsx(Je,{})]}),m.jsx(qe.IconButton,{slot:"clear",size:"2xs",variant:"ghost",colorPalette:"primary",children:m.jsx(Ee.Close,{})}),m.jsx(qe.IconButton,{slot:"toggle",size:"2xs",variant:"ghost",colorPalette:"neutral",excludeFromTabOrder:!0,children:s?m.jsx(xt.LoadingSpinner,{size:"xs",margin:"50"}):m.jsx(Ee.KeyboardArrowDown,{})}),e]})};Xe.displayName="ComboBox.Trigger";const Ye=({children:e,ref:t,...r})=>{const[l,n]=de.extractStyleProps(r);return m.jsx(jt,{asChild:!0,...l,children:m.jsx(bt.Popover,{ref:t,isNonModal:!0,autoFocus:!0,...n,children:e})})};Ye.displayName="ComboBox.Popover";function Ze({children:e,ref:t,...r}){const[l,n]=de.extractStyleProps(r),s=typeof e=="function"?a=>{const i=e(a),d=a;return o.isValidElement(i)&&(d.id||d.textValue)?o.cloneElement(i,{...i.props,...d.id?{id:d.id}:{},...d.textValue?{textValue:d.textValue}:{}}):i}:e;return m.jsx(Dt,{...l,ref:t,asChild:!0,children:m.jsx(ue.$eed445e0843c11d0$export$41f133550aa26f48,{...n,children:s})})}Ze.displayName="ComboBox.ListBox";function _e({children:e,ref:t,...r}){const[l,n]=de.extractStyleProps(r);return m.jsx(zt,{...l,asChild:!0,children:m.jsx(ue.$eed445e0843c11d0$export$a11e76429ed99b4,{ref:t,...n,children:s=>{const a=typeof e=="function"?e({...s}):e;return s.selectionMode==="multiple"?m.jsxs(m.Fragment,{children:[m.jsx(qt,{children:m.jsx("span",{"data-selected":s.isSelected,children:s.isSelected&&m.jsx(Ee.Check,{})})}),m.jsx(Nt,{children:a})]}):m.jsx(m.Fragment,{children:a})}})})}_e.displayName="ComboBox.Option";function et({children:e,label:t,items:r,ref:l,...n}){if(r&&typeof e!="function")throw new Error('ComboBox.Section: When "items" is provided, "children" must be a function');return m.jsxs(ue.$eed445e0843c11d0$export$dca12b0bb56e4fc,{ref:l,...n,children:[t&&m.jsx(kt,{asChild:!0,children:m.jsx(gt.$72a5793c14baf454$export$8b251419efc915eb,{children:t})}),r?m.jsx(We.$e1995378a142960e$export$fb8073518f34e6ec,{items:r,children:s=>typeof e=="function"?e(s):null}):e]})}et.displayName="ComboBox.Section";function tt(e,t){if(!t.trim())return e;const r=t.toLowerCase(),l=[];for(const n of e)n.textValue.toLowerCase().includes(r)&&l.push(n);return l}function rr(e,t){if(!t.trim())return e;const r=t.toLowerCase(),l=[];for(const n of e)n.textValue.toLowerCase().startsWith(r)&&l.push(n);return l}function nr(e,t){if(!t.trim())return e;const r=[];for(const l of e)l.textValue.includes(t)&&r.push(l);return r}function or(e,t){if(!t.trim())return e;const r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),l=new RegExp(`\\b${r}`,"i"),n=[];for(const s of e)l.test(s.textValue)&&n.push(s);return n}function sr(e,t){if(!t.trim())return e;const r=t.toLowerCase(),l=[];for(const n of e){const s=n.textValue.toLowerCase();let a=0;for(let i=0;i<s.length&&a<r.length;i++)s[i]===r[a]&&a++;a===r.length&&l.push(n)}return l}function lr(e){return(t,r)=>{if(!r.trim())return t;const l=r.toLowerCase(),n=[];for(const s of t){const a=s.value;if(!a)continue;e.some(d=>{const x=d.split(".").reduce((f,w)=>f&&typeof f=="object"?f[w]:void 0,a);return x==null?!1:String(x).toLowerCase().includes(l)})&&n.push(s)}return n}}function ir(e){return(t,r)=>{if(!r.trim())return t;const l=[];for(const n of t){const s=e(n,r);s>0&&l.push({node:n,score:s})}return l.sort((n,s)=>s.score-n.score),l.map(n=>n.node)}}function cr(e=tt){return(t,r)=>{if(!r.trim())return t;const l=r.split(/\s+/).filter(a=>a.length>0);if(l.length===0)return t;const n=new Set;for(const a of l){const i=e(t,a);for(const d of i)n.add(d.key)}const s=[];for(const a of t)n.has(a.key)&&s.push(a);return s}}function ar(e){return(t,r)=>{if(!r.trim())return t;const l=[];let n=null;const s=[],a=()=>{n&&s.length>0&&(l.push(n),l.push(...s)),s.length=0};for(const i of t)if(i.type==="section")a(),n=i;else{const d=Array.from(e([i],r));d.length>0&&s.push(...d)}return a(),l}}const ur={Root:Ue,Trigger:Xe,Popover:Ye,ListBox:Ze,Option:_e,Section:et,filters:{filterByText:tt,filterByStartsWith:rr,filterByCaseSensitive:nr,filterByWordBoundary:or,filterByFuzzy:sr,createMultiPropertyFilter:lr,createRankedFilter:ir,createMultiTermFilter:cr,createSectionAwareFilter:ar}};exports.ComboBox=ur;
2
+ //# sourceMappingURL=combobox-B7ck7gxL.cjs.js.map