@commercetools/nimbus 0.0.10 → 0.0.11

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 (553) hide show
  1. package/dist/chunks/{Button-Whc4raea.cjs.js → Button-BjOgrRmH.cjs.js} +2 -2
  2. package/dist/chunks/{Button-Whc4raea.cjs.js.map → Button-BjOgrRmH.cjs.js.map} +1 -1
  3. package/dist/chunks/{Button-BOMjcccZ.es.js → Button-BsN1D5Hi.es.js} +10 -10
  4. package/dist/chunks/{Button-BOMjcccZ.es.js.map → Button-BsN1D5Hi.es.js.map} +1 -1
  5. package/dist/chunks/{DateField-DbAaUSAR.es.js → DateField-BozrMa9v.es.js} +645 -621
  6. package/dist/chunks/{DateField-DbAaUSAR.es.js.map → DateField-BozrMa9v.es.js.map} +1 -1
  7. package/dist/chunks/DateField-G0i9Cflc.cjs.js +2 -0
  8. package/dist/chunks/{DateField-BjIjR7y5.cjs.js.map → DateField-G0i9Cflc.cjs.js.map} +1 -1
  9. package/dist/chunks/DatePicker-3TZ8oKaR.es.js +762 -0
  10. package/dist/chunks/DatePicker-3TZ8oKaR.es.js.map +1 -0
  11. package/dist/chunks/DatePicker-BD8RjPSL.cjs.js +2 -0
  12. package/dist/chunks/DatePicker-BD8RjPSL.cjs.js.map +1 -0
  13. package/dist/chunks/Dialog-Btds5x4W.cjs.js +2 -0
  14. package/dist/chunks/Dialog-Btds5x4W.cjs.js.map +1 -0
  15. package/dist/chunks/Dialog-CFERgD91.es.js +1888 -0
  16. package/dist/chunks/Dialog-CFERgD91.es.js.map +1 -0
  17. package/dist/chunks/{FocusScope-BacYMT5s.es.js → FocusScope-8pBtcv8k.es.js} +196 -153
  18. package/dist/chunks/FocusScope-8pBtcv8k.es.js.map +1 -0
  19. package/dist/chunks/FocusScope-BEOPrcCH.cjs.js +2 -0
  20. package/dist/chunks/FocusScope-BEOPrcCH.cjs.js.map +1 -0
  21. package/dist/chunks/{Group-CTSushH_.es.js → Group-Brffs0pl.es.js} +7 -7
  22. package/dist/chunks/{Group-CTSushH_.es.js.map → Group-Brffs0pl.es.js.map} +1 -1
  23. package/dist/chunks/{Group-DCFj0iWW.cjs.js → Group-apcpZquv.cjs.js} +2 -2
  24. package/dist/chunks/{Group-DCFj0iWW.cjs.js.map → Group-apcpZquv.cjs.js.map} +1 -1
  25. package/dist/chunks/{calendar-4vA2Wjuk.es.js → Heading-D143Kg6E.es.js} +658 -630
  26. package/dist/chunks/Heading-D143Kg6E.es.js.map +1 -0
  27. package/dist/chunks/Heading-DiqU5dbv.cjs.js +2 -0
  28. package/dist/chunks/Heading-DiqU5dbv.cjs.js.map +1 -0
  29. package/dist/chunks/{Hidden-CeBYiBUb.es.js → Hidden-X9vuhkMZ.es.js} +3 -3
  30. package/dist/chunks/{Hidden-CeBYiBUb.es.js.map → Hidden-X9vuhkMZ.es.js.map} +1 -1
  31. package/dist/chunks/{Input-CiHYWjLE.cjs.js → Input-BEgGe6bw.cjs.js} +2 -2
  32. package/dist/chunks/{Input-CiHYWjLE.cjs.js.map → Input-BEgGe6bw.cjs.js.map} +1 -1
  33. package/dist/chunks/{Input-DN0K3GJf.es.js → Input-Bxs2A5S-.es.js} +6 -6
  34. package/dist/chunks/{Input-DN0K3GJf.es.js.map → Input-Bxs2A5S-.es.js.map} +1 -1
  35. package/dist/chunks/Keyboard-Clnp4zAC.es.js +6 -0
  36. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -0
  37. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js +2 -0
  38. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -0
  39. package/dist/chunks/{Label-CNMvF_U4.cjs.js → Label-DFXyfxZM.cjs.js} +2 -2
  40. package/dist/chunks/{Label-CNMvF_U4.cjs.js.map → Label-DFXyfxZM.cjs.js.map} +1 -1
  41. package/dist/chunks/{Label-DBDcs-md.es.js → Label-p7LXqne0.es.js} +3 -3
  42. package/dist/chunks/{Label-DBDcs-md.es.js.map → Label-p7LXqne0.es.js.map} +1 -1
  43. package/dist/chunks/ListBox-BEZfjFMq.cjs.js +2 -0
  44. package/dist/chunks/ListBox-BEZfjFMq.cjs.js.map +1 -0
  45. package/dist/chunks/ListBox-CiN7qgxV.es.js +645 -0
  46. package/dist/chunks/ListBox-CiN7qgxV.es.js.map +1 -0
  47. package/dist/chunks/LiveAnnouncer-BkrEjKY8.cjs.js +2 -0
  48. package/dist/chunks/{LiveAnnouncer-CwEWPU8b.cjs.js.map → LiveAnnouncer-BkrEjKY8.cjs.js.map} +1 -1
  49. package/dist/chunks/{LiveAnnouncer-B6177m92.es.js → LiveAnnouncer-CsPyaceH.es.js} +2 -2
  50. package/dist/chunks/{LiveAnnouncer-B6177m92.es.js.map → LiveAnnouncer-CsPyaceH.es.js.map} +1 -1
  51. package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js.map +1 -1
  52. package/dist/chunks/NumberFormatter-DgOUVrge.es.js.map +1 -1
  53. package/dist/chunks/{OverlayArrow-BpI9oaqU.es.js → OverlayArrow-BEiPDprB.es.js} +22 -22
  54. package/dist/chunks/{OverlayArrow-BpI9oaqU.es.js.map → OverlayArrow-BEiPDprB.es.js.map} +1 -1
  55. package/dist/chunks/OverlayArrow-BcRQfR_V.cjs.js +2 -0
  56. package/dist/chunks/{OverlayArrow-HjwHXXDg.cjs.js.map → OverlayArrow-BcRQfR_V.cjs.js.map} +1 -1
  57. package/dist/chunks/{ProgressBar-DpsMzb_5.cjs.js → ProgressBar-Cot0VLjE.cjs.js} +2 -2
  58. package/dist/chunks/{ProgressBar-DpsMzb_5.cjs.js.map → ProgressBar-Cot0VLjE.cjs.js.map} +1 -1
  59. package/dist/chunks/{ProgressBar-CjzD-Z5i.es.js → ProgressBar-M-wNKpE5.es.js} +4 -4
  60. package/dist/chunks/{ProgressBar-CjzD-Z5i.es.js.map → ProgressBar-M-wNKpE5.es.js.map} +1 -1
  61. package/dist/chunks/SSRProvider-DZRLwxPS.cjs.js.map +1 -1
  62. package/dist/chunks/SSRProvider-eIEwc-2s.es.js.map +1 -1
  63. package/dist/chunks/Separator-BFKzWOOv.cjs.js +18 -0
  64. package/dist/chunks/Separator-BFKzWOOv.cjs.js.map +1 -0
  65. package/dist/chunks/Separator-CBgksjWN.es.js +2435 -0
  66. package/dist/chunks/Separator-CBgksjWN.es.js.map +1 -0
  67. package/dist/chunks/{TextArea-BeSyeRBk.es.js → TextArea-DcFJx08j.es.js} +5 -5
  68. package/dist/chunks/{TextArea-BeSyeRBk.es.js.map → TextArea-DcFJx08j.es.js.map} +1 -1
  69. package/dist/chunks/{TextArea-C0Ozz1GB.cjs.js → TextArea-ciW_61Jv.cjs.js} +2 -2
  70. package/dist/chunks/{TextArea-C0Ozz1GB.cjs.js.map → TextArea-ciW_61Jv.cjs.js.map} +1 -1
  71. package/dist/chunks/{VisuallyHidden-D5E2DfM-.es.js → VisuallyHidden-CE-SZFGa.es.js} +3 -3
  72. package/dist/chunks/{VisuallyHidden-D5E2DfM-.es.js.map → VisuallyHidden-CE-SZFGa.es.js.map} +1 -1
  73. package/dist/chunks/{VisuallyHidden-BeFoHnz-.cjs.js → VisuallyHidden-Cqkg4RzT.cjs.js} +2 -2
  74. package/dist/chunks/{VisuallyHidden-BeFoHnz-.cjs.js.map → VisuallyHidden-Cqkg4RzT.cjs.js.map} +1 -1
  75. package/dist/chunks/{accordion-Dc0-jhj-.es.js → accordion-AFXp_v9r.es.js} +65 -65
  76. package/dist/chunks/{accordion-Dc0-jhj-.es.js.map → accordion-AFXp_v9r.es.js.map} +1 -1
  77. package/dist/chunks/accordion-CnNWyGUM.cjs.js +2 -0
  78. package/dist/chunks/{accordion-BqC_0cQF.cjs.js.map → accordion-CnNWyGUM.cjs.js.map} +1 -1
  79. package/dist/chunks/{alert-0lZycfTS.cjs.js → alert-CTdQVQEX.cjs.js} +2 -2
  80. package/dist/chunks/{alert-0lZycfTS.cjs.js.map → alert-CTdQVQEX.cjs.js.map} +1 -1
  81. package/dist/chunks/{alert-CLgnvjGx.es.js → alert-DObB3_Vi.es.js} +2 -2
  82. package/dist/chunks/{alert-CLgnvjGx.es.js.map → alert-DObB3_Vi.es.js.map} +1 -1
  83. package/dist/chunks/avatar-BLun8TXk.cjs.js.map +1 -1
  84. package/dist/chunks/avatar-DgvfEdwK.es.js.map +1 -1
  85. package/dist/chunks/{badge-BFL2bErq.cjs.js → badge-CFwI3HLf.cjs.js} +2 -2
  86. package/dist/chunks/{badge-BFL2bErq.cjs.js.map → badge-CFwI3HLf.cjs.js.map} +1 -1
  87. package/dist/chunks/{badge-C_FXV6xO.es.js → badge-DVDR3-fy.es.js} +2 -2
  88. package/dist/chunks/{badge-C_FXV6xO.es.js.map → badge-DVDR3-fy.es.js.map} +1 -1
  89. package/dist/chunks/{button-HUhEhOaq.es.js → button-DPZ4gynI.es.js} +19 -19
  90. package/dist/chunks/{button-HUhEhOaq.es.js.map → button-DPZ4gynI.es.js.map} +1 -1
  91. package/dist/chunks/{button-ByoXAf0f.cjs.js → button-DhrBalPi.cjs.js} +2 -2
  92. package/dist/chunks/{button-ByoXAf0f.cjs.js.map → button-DhrBalPi.cjs.js.map} +1 -1
  93. package/dist/chunks/calendar-BCsFBFkk.es.js +185 -0
  94. package/dist/chunks/calendar-BCsFBFkk.es.js.map +1 -0
  95. package/dist/chunks/calendar-BeUwpJo3.cjs.js +2 -0
  96. package/dist/chunks/calendar-BeUwpJo3.cjs.js.map +1 -0
  97. package/dist/chunks/{card-BlrFTWUO.es.js → card-CS_daMhq.es.js} +3 -3
  98. package/dist/chunks/{card-BlrFTWUO.es.js.map → card-CS_daMhq.es.js.map} +1 -1
  99. package/dist/chunks/{card-B9Ei2Ifh.cjs.js → card-svWLl_kS.cjs.js} +2 -2
  100. package/dist/chunks/{card-B9Ei2Ifh.cjs.js.map → card-svWLl_kS.cjs.js.map} +1 -1
  101. package/dist/chunks/{checkbox-BjNxOrz3.es.js → checkbox-BFb4vHab.es.js} +7 -7
  102. package/dist/chunks/{checkbox-BjNxOrz3.es.js.map → checkbox-BFb4vHab.es.js.map} +1 -1
  103. package/dist/chunks/{checkbox-DwrmmRar.cjs.js → checkbox-D0evM4Sv.cjs.js} +2 -2
  104. package/dist/chunks/{checkbox-DwrmmRar.cjs.js.map → checkbox-D0evM4Sv.cjs.js.map} +1 -1
  105. package/dist/chunks/combobox-D30xydJw.cjs.js +2 -0
  106. package/dist/chunks/combobox-D30xydJw.cjs.js.map +1 -0
  107. package/dist/chunks/combobox-wZEZ8t94.es.js +1916 -0
  108. package/dist/chunks/combobox-wZEZ8t94.es.js.map +1 -0
  109. package/dist/chunks/combobox.recipe-BKOsv-Im.cjs.js +2 -0
  110. package/dist/chunks/{combobox.recipe-BtnFn38v.cjs.js.map → combobox.recipe-BKOsv-Im.cjs.js.map} +1 -1
  111. package/dist/chunks/{combobox.recipe-aeARdYiV.es.js → combobox.recipe-BQy3LgVG.es.js} +17 -44
  112. package/dist/chunks/{combobox.recipe-aeARdYiV.es.js.map → combobox.recipe-BQy3LgVG.es.js.map} +1 -1
  113. package/dist/chunks/context-D3RF-nTI.es.js.map +1 -1
  114. package/dist/chunks/context-DURpz5en.cjs.js.map +1 -1
  115. package/dist/chunks/{date-input-BC-7OWJ7.cjs.js → date-input-B3VEJdpa.cjs.js} +2 -2
  116. package/dist/chunks/{date-input-BC-7OWJ7.cjs.js.map → date-input-B3VEJdpa.cjs.js.map} +1 -1
  117. package/dist/chunks/{date-input-CB3KDtkI.es.js → date-input-TeYMF5Hb.es.js} +3 -3
  118. package/dist/chunks/{date-input-CB3KDtkI.es.js.map → date-input-TeYMF5Hb.es.js.map} +1 -1
  119. package/dist/chunks/{date-input.recipe-BtWEmJGK.es.js → date-input.recipe-BTsUgaUQ.es.js} +10 -3
  120. package/dist/chunks/{date-input.recipe-BtWEmJGK.es.js.map → date-input.recipe-BTsUgaUQ.es.js.map} +1 -1
  121. package/dist/chunks/{date-input.recipe-Cf9e8VAr.cjs.js → date-input.recipe-Onzf22sP.cjs.js} +2 -2
  122. package/dist/chunks/{date-input.recipe-Cf9e8VAr.cjs.js.map → date-input.recipe-Onzf22sP.cjs.js.map} +1 -1
  123. package/dist/chunks/date-picker-BrkP7f-J.cjs.js +2 -0
  124. package/dist/chunks/date-picker-BrkP7f-J.cjs.js.map +1 -0
  125. package/dist/chunks/date-picker-CTGHoJdV.es.js +183 -0
  126. package/dist/chunks/date-picker-CTGHoJdV.es.js.map +1 -0
  127. package/dist/chunks/date-range-picker-BZ7e2THh.cjs.js +2 -0
  128. package/dist/chunks/date-range-picker-BZ7e2THh.cjs.js.map +1 -0
  129. package/dist/chunks/date-range-picker-DYAE8hY-.es.js +273 -0
  130. package/dist/chunks/date-range-picker-DYAE8hY-.es.js.map +1 -0
  131. package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js +2 -0
  132. package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js.map +1 -0
  133. package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js +124 -0
  134. package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js.map +1 -0
  135. package/dist/chunks/divider-CifCuFCu.cjs.js +2 -0
  136. package/dist/chunks/divider-CifCuFCu.cjs.js.map +1 -0
  137. package/dist/chunks/divider-Js2LpOHh.es.js +58 -0
  138. package/dist/chunks/divider-Js2LpOHh.es.js.map +1 -0
  139. package/dist/chunks/domHelpers-InH3T0qs.es.js +16 -0
  140. package/dist/chunks/domHelpers-InH3T0qs.es.js.map +1 -0
  141. package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js +2 -0
  142. package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js.map +1 -0
  143. package/dist/chunks/extractStyleProps-CxgBrz3O.es.js.map +1 -1
  144. package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js.map +1 -1
  145. package/dist/chunks/{filterDOMProps-D6KHYVBX.es.js → filterDOMProps-HzsCnE3d.es.js} +2 -2
  146. package/dist/chunks/{filterDOMProps-D6KHYVBX.es.js.map → filterDOMProps-HzsCnE3d.es.js.map} +1 -1
  147. package/dist/chunks/{filterDOMProps-BS2lrgFA.cjs.js → filterDOMProps-_f3L9QML.cjs.js} +2 -2
  148. package/dist/chunks/{filterDOMProps-BS2lrgFA.cjs.js.map → filterDOMProps-_f3L9QML.cjs.js.map} +1 -1
  149. package/dist/chunks/focusSafely-BEP7qH8R.cjs.js +2 -0
  150. package/dist/chunks/focusSafely-BEP7qH8R.cjs.js.map +1 -0
  151. package/dist/chunks/focusSafely-Cpgkt6WC.es.js +69 -0
  152. package/dist/chunks/focusSafely-Cpgkt6WC.es.js.map +1 -0
  153. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
  154. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
  155. package/dist/chunks/{form-field-DwxzvTA8.es.js → form-field-CmiwMrRv.es.js} +4 -4
  156. package/dist/chunks/{form-field-DwxzvTA8.es.js.map → form-field-CmiwMrRv.es.js.map} +1 -1
  157. package/dist/chunks/{form-field-DmlJuq9F.cjs.js → form-field-kTuQQx9G.cjs.js} +2 -2
  158. package/dist/chunks/{form-field-DmlJuq9F.cjs.js.map → form-field-kTuQQx9G.cjs.js.map} +1 -1
  159. package/dist/chunks/{icon-button-Bj1MnoDm.es.js → icon-button-CPBzhg2C.es.js} +2 -2
  160. package/dist/chunks/{icon-button-Bj1MnoDm.es.js.map → icon-button-CPBzhg2C.es.js.map} +1 -1
  161. package/dist/chunks/{icon-button-Vf2txEnP.cjs.js → icon-button-QwpNTUZ8.cjs.js} +2 -2
  162. package/dist/chunks/{icon-button-Vf2txEnP.cjs.js.map → icon-button-QwpNTUZ8.cjs.js.map} +1 -1
  163. package/dist/chunks/kbd-Bkhw9E6L.cjs.js +2 -0
  164. package/dist/chunks/kbd-Bkhw9E6L.cjs.js.map +1 -0
  165. package/dist/chunks/kbd-Gxvodc1U.es.js +15 -0
  166. package/dist/chunks/kbd-Gxvodc1U.es.js.map +1 -0
  167. package/dist/chunks/kbd.recipe-BONVaPQN.es.js +26 -0
  168. package/dist/chunks/kbd.recipe-BONVaPQN.es.js.map +1 -0
  169. package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js +2 -0
  170. package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js.map +1 -0
  171. package/dist/chunks/{link-C89khrQp.cjs.js → link-DJmmcif9.cjs.js} +2 -2
  172. package/dist/chunks/{link-C89khrQp.cjs.js.map → link-DJmmcif9.cjs.js.map} +1 -1
  173. package/dist/chunks/{link-D3Rr2RQl.es.js → link-I24WQHS6.es.js} +7 -7
  174. package/dist/chunks/{link-D3Rr2RQl.es.js.map → link-I24WQHS6.es.js.map} +1 -1
  175. package/dist/chunks/{loading-spinner-CnJDA2s5.cjs.js → loading-spinner-BQd4UVQs.cjs.js} +2 -2
  176. package/dist/chunks/{loading-spinner-CnJDA2s5.cjs.js.map → loading-spinner-BQd4UVQs.cjs.js.map} +1 -1
  177. package/dist/chunks/{loading-spinner-DBsMwy3U.es.js → loading-spinner-DwN-yshK.es.js} +3 -3
  178. package/dist/chunks/{loading-spinner-DBsMwy3U.es.js.map → loading-spinner-DwN-yshK.es.js.map} +1 -1
  179. package/dist/chunks/{make-element-focusable-diGDWsyp.es.js → make-element-focusable-BRVwOKkK.es.js} +3 -3
  180. package/dist/chunks/{make-element-focusable-diGDWsyp.es.js.map → make-element-focusable-BRVwOKkK.es.js.map} +1 -1
  181. package/dist/chunks/{make-element-focusable-zhwaMi8v.cjs.js → make-element-focusable-DDGKtWBN.cjs.js} +2 -2
  182. package/dist/chunks/{make-element-focusable-zhwaMi8v.cjs.js.map → make-element-focusable-DDGKtWBN.cjs.js.map} +1 -1
  183. package/dist/chunks/menu-BnUXBlRL.cjs.js +2 -0
  184. package/dist/chunks/menu-BnUXBlRL.cjs.js.map +1 -0
  185. package/dist/chunks/menu-DcEXCIN3.es.js +167 -0
  186. package/dist/chunks/menu-DcEXCIN3.es.js.map +1 -0
  187. package/dist/chunks/{mergeProps-BUo0BHVY.es.js → mergeProps-Bn6EInU5.es.js} +4 -3
  188. package/dist/chunks/{mergeProps-BUo0BHVY.es.js.map → mergeProps-Bn6EInU5.es.js.map} +1 -1
  189. package/dist/chunks/mergeProps-VvQrkhSh.cjs.js +2 -0
  190. package/dist/chunks/{mergeProps--cTsQeLh.cjs.js.map → mergeProps-VvQrkhSh.cjs.js.map} +1 -1
  191. package/dist/chunks/{multiline-text-input-CIHvD3Oz.es.js → multiline-text-input-Be3sGtOK.es.js} +3 -3
  192. package/dist/chunks/{multiline-text-input-CIHvD3Oz.es.js.map → multiline-text-input-Be3sGtOK.es.js.map} +1 -1
  193. package/dist/chunks/{multiline-text-input-AjqfDDxC.cjs.js → multiline-text-input-CzoQb5Ms.cjs.js} +2 -2
  194. package/dist/chunks/{multiline-text-input-AjqfDDxC.cjs.js.map → multiline-text-input-CzoQb5Ms.cjs.js.map} +1 -1
  195. package/dist/chunks/{nimbus-provider-BjnzjFmv.es.js → nimbus-provider-CDXyYH9f.es.js} +377 -217
  196. package/dist/chunks/nimbus-provider-CDXyYH9f.es.js.map +1 -0
  197. package/dist/chunks/nimbus-provider-zUukT3WE.cjs.js +4 -0
  198. package/dist/chunks/nimbus-provider-zUukT3WE.cjs.js.map +1 -0
  199. package/dist/chunks/number-5qMXmHyn.es.js.map +1 -1
  200. package/dist/chunks/number-CnrRPi4_.cjs.js.map +1 -1
  201. package/dist/chunks/{number-input-Da1tzQlg.es.js → number-input-B1gQD11A.es.js} +230 -214
  202. package/dist/chunks/number-input-B1gQD11A.es.js.map +1 -0
  203. package/dist/chunks/number-input-Cvy4MbJv.cjs.js +2 -0
  204. package/dist/chunks/number-input-Cvy4MbJv.cjs.js.map +1 -0
  205. package/dist/chunks/{openLink-Bb-6Z-d5.es.js → openLink-BRnXRj9w.es.js} +11 -11
  206. package/dist/chunks/{openLink-Bb-6Z-d5.es.js.map → openLink-BRnXRj9w.es.js.map} +1 -1
  207. package/dist/chunks/{openLink-COo3k75n.cjs.js → openLink-BjodHrGD.cjs.js} +2 -2
  208. package/dist/chunks/{openLink-COo3k75n.cjs.js.map → openLink-BjodHrGD.cjs.js.map} +1 -1
  209. package/dist/chunks/{password-input-CS1tN_Tr.es.js → password-input-B1oZ6y7E.es.js} +4 -4
  210. package/dist/chunks/{password-input-CS1tN_Tr.es.js.map → password-input-B1oZ6y7E.es.js.map} +1 -1
  211. package/dist/chunks/{password-input-BBUAEOxl.cjs.js → password-input-D3wUJdjZ.cjs.js} +2 -2
  212. package/dist/chunks/{password-input-BBUAEOxl.cjs.js.map → password-input-D3wUJdjZ.cjs.js.map} +1 -1
  213. package/dist/chunks/{platform-Bc175Jt1.es.js → platform-D-bXaP3n.es.js} +3 -3
  214. package/dist/chunks/{platform-Bc175Jt1.es.js.map → platform-D-bXaP3n.es.js.map} +1 -1
  215. package/dist/chunks/{progress-bar-oKaz0uqw.cjs.js → progress-bar-CbZY1dE1.cjs.js} +2 -2
  216. package/dist/chunks/{progress-bar-oKaz0uqw.cjs.js.map → progress-bar-CbZY1dE1.cjs.js.map} +1 -1
  217. package/dist/chunks/{progress-bar-QwctSqZZ.es.js → progress-bar-VipTWl4r.es.js} +3 -3
  218. package/dist/chunks/{progress-bar-QwctSqZZ.es.js.map → progress-bar-VipTWl4r.es.js.map} +1 -1
  219. package/dist/chunks/{radio-input-BexkdvxD.es.js → radio-input-BSrrYcqs.es.js} +15 -15
  220. package/dist/chunks/{radio-input-BexkdvxD.es.js.map → radio-input-BSrrYcqs.es.js.map} +1 -1
  221. package/dist/chunks/{radio-input-C7QoAolu.cjs.js → radio-input-vHNjGqLS.cjs.js} +2 -2
  222. package/dist/chunks/{radio-input-C7QoAolu.cjs.js.map → radio-input-vHNjGqLS.cjs.js.map} +1 -1
  223. package/dist/chunks/range-calendar-CsS-i222.cjs.js +2 -0
  224. package/dist/chunks/range-calendar-CsS-i222.cjs.js.map +1 -0
  225. package/dist/chunks/range-calendar-DEpcpGLw.es.js +185 -0
  226. package/dist/chunks/range-calendar-DEpcpGLw.es.js.map +1 -0
  227. package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js +129 -0
  228. package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js.map +1 -0
  229. package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js +2 -0
  230. package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js.map +1 -0
  231. package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js +2 -0
  232. package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js.map +1 -0
  233. package/dist/chunks/scrollIntoView-C5qp-va8.es.js +64 -0
  234. package/dist/chunks/scrollIntoView-C5qp-va8.es.js.map +1 -0
  235. package/dist/chunks/select-CMIJ0YjS.cjs.js +2 -0
  236. package/dist/chunks/{select-CwzhqF_g.cjs.js.map → select-CMIJ0YjS.cjs.js.map} +1 -1
  237. package/dist/chunks/{select-CU2u2b6U.es.js → select-wZ584ENo.es.js} +154 -153
  238. package/dist/chunks/{select-CU2u2b6U.es.js.map → select-wZ584ENo.es.js.map} +1 -1
  239. package/dist/chunks/select.recipe-BIox51h1.cjs.js +2 -0
  240. package/dist/chunks/select.recipe-BIox51h1.cjs.js.map +1 -0
  241. package/dist/chunks/{select.recipe-CXWsUldF.es.js → select.recipe-CNH8aWdo.es.js} +3 -3
  242. package/dist/chunks/select.recipe-CNH8aWdo.es.js.map +1 -0
  243. package/dist/chunks/{switch-CUwyaYts.cjs.js → switch-BM-A9yVv.cjs.js} +2 -2
  244. package/dist/chunks/{switch-CUwyaYts.cjs.js.map → switch-BM-A9yVv.cjs.js.map} +1 -1
  245. package/dist/chunks/{switch-DgbFw1kA.es.js → switch-Bxeo0Ktw.es.js} +5 -5
  246. package/dist/chunks/{switch-DgbFw1kA.es.js.map → switch-Bxeo0Ktw.es.js.map} +1 -1
  247. package/dist/chunks/{tag-group-Cc6S9cbR.es.js → tag-group-CWIMWAG_.es.js} +56 -55
  248. package/dist/chunks/{tag-group-Cc6S9cbR.es.js.map → tag-group-CWIMWAG_.es.js.map} +1 -1
  249. package/dist/chunks/tag-group-IJIXPuLT.cjs.js +2 -0
  250. package/dist/chunks/{tag-group-DCgEBbmh.cjs.js.map → tag-group-IJIXPuLT.cjs.js.map} +1 -1
  251. package/dist/chunks/{text-CEFwlX3E.cjs.js → text--fhvW47o.cjs.js} +2 -2
  252. package/dist/chunks/{text-CEFwlX3E.cjs.js.map → text--fhvW47o.cjs.js.map} +1 -1
  253. package/dist/chunks/{text-CYoFrI2I.es.js → text-CFsPSPPs.es.js} +2 -2
  254. package/dist/chunks/{text-CYoFrI2I.es.js.map → text-CFsPSPPs.es.js.map} +1 -1
  255. package/dist/chunks/{text-input-uhPCsxsK.es.js → text-input--62r8jAx.es.js} +3 -3
  256. package/dist/chunks/{text-input-uhPCsxsK.es.js.map → text-input--62r8jAx.es.js.map} +1 -1
  257. package/dist/chunks/{text-input-fAoATAAX.cjs.js → text-input-FGkoWybY.cjs.js} +2 -2
  258. package/dist/chunks/{text-input-fAoATAAX.cjs.js.map → text-input-FGkoWybY.cjs.js.map} +1 -1
  259. package/dist/chunks/{time-input-BwtzFUWN.cjs.js → time-input-BH0G5PFd.cjs.js} +2 -2
  260. package/dist/chunks/{time-input-BwtzFUWN.cjs.js.map → time-input-BH0G5PFd.cjs.js.map} +1 -1
  261. package/dist/chunks/{time-input-ClF6Qx1T.es.js → time-input-DeYvqDoa.es.js} +2 -2
  262. package/dist/chunks/{time-input-ClF6Qx1T.es.js.map → time-input-DeYvqDoa.es.js.map} +1 -1
  263. package/dist/chunks/{toggle-button-group-BDzXfqxK.es.js → toggle-button-group-B5xBRXo1.es.js} +12 -24
  264. package/dist/chunks/{toggle-button-group-BDzXfqxK.es.js.map → toggle-button-group-B5xBRXo1.es.js.map} +1 -1
  265. package/dist/chunks/{toggle-button-group-BOdTMLPd.cjs.js → toggle-button-group-Cvhe_K50.cjs.js} +2 -2
  266. package/dist/chunks/{toggle-button-group-BOdTMLPd.cjs.js.map → toggle-button-group-Cvhe_K50.cjs.js.map} +1 -1
  267. package/dist/chunks/tooltip-B6mXEaGu.cjs.js +2 -0
  268. package/dist/chunks/{tooltip-p-s9eZWV.cjs.js.map → tooltip-B6mXEaGu.cjs.js.map} +1 -1
  269. package/dist/chunks/{tooltip-MQm4h_hA.es.js → tooltip-CsfjIITA.es.js} +33 -33
  270. package/dist/chunks/{tooltip-MQm4h_hA.es.js.map → tooltip-CsfjIITA.es.js.map} +1 -1
  271. package/dist/chunks/{useButton-DdY6ixlh.es.js → useButton-BGeoUZHr.es.js} +5 -5
  272. package/dist/chunks/{useButton-DdY6ixlh.es.js.map → useButton-BGeoUZHr.es.js.map} +1 -1
  273. package/dist/chunks/{useButton-Cw2i6_TH.cjs.js → useButton-Bnd1IfAy.cjs.js} +2 -2
  274. package/dist/chunks/{useButton-Cw2i6_TH.cjs.js.map → useButton-Bnd1IfAy.cjs.js.map} +1 -1
  275. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
  276. package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
  277. package/dist/chunks/useDateFormatter-Byp_7yyY.cjs.js +2 -0
  278. package/dist/chunks/{useDateFormatter-CeTPxW8a.cjs.js.map → useDateFormatter-Byp_7yyY.cjs.js.map} +1 -1
  279. package/dist/chunks/{useDateFormatter-DvdguFVS.es.js → useDateFormatter-CioL-RTi.es.js} +37 -37
  280. package/dist/chunks/{useDateFormatter-DvdguFVS.es.js.map → useDateFormatter-CioL-RTi.es.js.map} +1 -1
  281. package/dist/chunks/useDescription-BQV7vQ1v.es.js +33 -0
  282. package/dist/chunks/useDescription-BQV7vQ1v.es.js.map +1 -0
  283. package/dist/chunks/useDescription-Bb-vj5q6.cjs.js +2 -0
  284. package/dist/chunks/useDescription-Bb-vj5q6.cjs.js.map +1 -0
  285. package/dist/chunks/{useEvent-BFbCMsMG.cjs.js → useEvent-ZeHBdflg.cjs.js} +2 -2
  286. package/dist/chunks/{useEvent-BFbCMsMG.cjs.js.map → useEvent-ZeHBdflg.cjs.js.map} +1 -1
  287. package/dist/chunks/{useEvent-CzfHWUdv.es.js → useEvent-xlhjqVYi.es.js} +2 -2
  288. package/dist/chunks/{useEvent-CzfHWUdv.es.js.map → useEvent-xlhjqVYi.es.js.map} +1 -1
  289. package/dist/chunks/{useField-Caqfdud_.es.js → useField-BGOhsACE.es.js} +3 -3
  290. package/dist/chunks/{useField-Caqfdud_.es.js.map → useField-BGOhsACE.es.js.map} +1 -1
  291. package/dist/chunks/{useField-CNr5aECk.cjs.js → useField-Doh1_zqa.cjs.js} +2 -2
  292. package/dist/chunks/{useField-CNr5aECk.cjs.js.map → useField-Doh1_zqa.cjs.js.map} +1 -1
  293. package/dist/chunks/useFocus-CRjxQc9J.cjs.js +2 -0
  294. package/dist/chunks/useFocus-CRjxQc9J.cjs.js.map +1 -0
  295. package/dist/chunks/useFocus-DyrL604F.es.js +189 -0
  296. package/dist/chunks/useFocus-DyrL604F.es.js.map +1 -0
  297. package/dist/chunks/{useFocusRing-Bij4qXCm.es.js → useFocusRing-BOPRvfsD.es.js} +3 -3
  298. package/dist/chunks/{useFocusRing-Bij4qXCm.es.js.map → useFocusRing-BOPRvfsD.es.js.map} +1 -1
  299. package/dist/chunks/{useFocusRing-DE3LmlBK.cjs.js → useFocusRing-wD8IMPEh.cjs.js} +2 -2
  300. package/dist/chunks/{useFocusRing-DE3LmlBK.cjs.js.map → useFocusRing-wD8IMPEh.cjs.js.map} +1 -1
  301. package/dist/chunks/{useFocusWithin-CWaYFSji.cjs.js → useFocusWithin-B5GNsbfr.cjs.js} +2 -2
  302. package/dist/chunks/{useFocusWithin-CWaYFSji.cjs.js.map → useFocusWithin-B5GNsbfr.cjs.js.map} +1 -1
  303. package/dist/chunks/{useFocusWithin-BxAgY02U.es.js → useFocusWithin-DH1ei7eA.es.js} +2 -2
  304. package/dist/chunks/{useFocusWithin-BxAgY02U.es.js.map → useFocusWithin-DH1ei7eA.es.js.map} +1 -1
  305. package/dist/chunks/useFocusable-Bbz310Qf.cjs.js +2 -0
  306. package/dist/chunks/useFocusable-Bbz310Qf.cjs.js.map +1 -0
  307. package/dist/chunks/useFocusable-C_1ABg2H.es.js +100 -0
  308. package/dist/chunks/useFocusable-C_1ABg2H.es.js.map +1 -0
  309. package/dist/chunks/useFormReset-C6y6YYJp.cjs.js +2 -0
  310. package/dist/chunks/{useFormReset-B7JIQEba.cjs.js.map → useFormReset-C6y6YYJp.cjs.js.map} +1 -1
  311. package/dist/chunks/{useFormReset-j9laz3Zh.es.js → useFormReset-CC4XkaS0.es.js} +4 -4
  312. package/dist/chunks/{useFormReset-j9laz3Zh.es.js.map → useFormReset-CC4XkaS0.es.js.map} +1 -1
  313. package/dist/chunks/useFormValidation-D4duh8Fb.es.js +200 -0
  314. package/dist/chunks/{useFormValidation-BbPFbrIk.es.js.map → useFormValidation-D4duh8Fb.es.js.map} +1 -1
  315. package/dist/chunks/useFormValidation-D5EJ50gR.cjs.js +2 -0
  316. package/dist/chunks/{useFormValidation-WxEl8dbL.cjs.js.map → useFormValidation-D5EJ50gR.cjs.js.map} +1 -1
  317. package/dist/chunks/useHover-B4ryD1zd.cjs.js +2 -0
  318. package/dist/chunks/useHover-B4ryD1zd.cjs.js.map +1 -0
  319. package/dist/chunks/{useHover-DmJo2yqg.es.js → useHover-EutQBS3I.es.js} +19 -19
  320. package/dist/chunks/useHover-EutQBS3I.es.js.map +1 -0
  321. package/dist/chunks/{useLabel-CekSAnqJ.es.js → useLabel-BuEJIpWS.es.js} +2 -2
  322. package/dist/chunks/{useLabel-CekSAnqJ.es.js.map → useLabel-BuEJIpWS.es.js.map} +1 -1
  323. package/dist/chunks/{useLabel-C1BLl-NU.cjs.js → useLabel-f5x32F8v.cjs.js} +2 -2
  324. package/dist/chunks/{useLabel-C1BLl-NU.cjs.js.map → useLabel-f5x32F8v.cjs.js.map} +1 -1
  325. package/dist/chunks/{useLocalizedStringFormatter-BfWBwLjq.es.js → useLocalizedStringFormatter-B_O_C-A0.es.js} +2 -2
  326. package/dist/chunks/{useLocalizedStringFormatter-BfWBwLjq.es.js.map → useLocalizedStringFormatter-B_O_C-A0.es.js.map} +1 -1
  327. package/dist/chunks/useLocalizedStringFormatter-ZUZDzNOP.cjs.js +2 -0
  328. package/dist/chunks/{useLocalizedStringFormatter-CdsqKKUv.cjs.js.map → useLocalizedStringFormatter-ZUZDzNOP.cjs.js.map} +1 -1
  329. package/dist/chunks/useObjectRef-4v2MxSjQ.cjs.js.map +1 -1
  330. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
  331. package/dist/chunks/{usePress-Cjh8V0gi.es.js → usePress-Bf0oV30S.es.js} +182 -165
  332. package/dist/chunks/usePress-Bf0oV30S.es.js.map +1 -0
  333. package/dist/chunks/usePress-Cqy1fzvV.cjs.js +8 -0
  334. package/dist/chunks/usePress-Cqy1fzvV.cjs.js.map +1 -0
  335. package/dist/chunks/{useProgressBar-C2d-2Fkp.cjs.js → useProgressBar-3tBtQD6p.cjs.js} +2 -2
  336. package/dist/chunks/{useProgressBar-C2d-2Fkp.cjs.js.map → useProgressBar-3tBtQD6p.cjs.js.map} +1 -1
  337. package/dist/chunks/{useProgressBar-DZT7aMNM.es.js → useProgressBar-C8j_OVKt.es.js} +4 -4
  338. package/dist/chunks/{useProgressBar-DZT7aMNM.es.js.map → useProgressBar-C8j_OVKt.es.js.map} +1 -1
  339. package/dist/chunks/useSeparator-CZKjqF0N.cjs.js +2 -0
  340. package/dist/chunks/useSeparator-CZKjqF0N.cjs.js.map +1 -0
  341. package/dist/chunks/useSeparator-g1ilWvTX.es.js +19 -0
  342. package/dist/chunks/useSeparator-g1ilWvTX.es.js.map +1 -0
  343. package/dist/chunks/useSingleSelectListState-BLYvCKPf.cjs.js +2 -0
  344. package/dist/chunks/useSingleSelectListState-BLYvCKPf.cjs.js.map +1 -0
  345. package/dist/chunks/useSingleSelectListState-Dtne-c12.es.js +35 -0
  346. package/dist/chunks/useSingleSelectListState-Dtne-c12.es.js.map +1 -0
  347. package/dist/chunks/{useSpinButton-D2j8iVmv.es.js → useSpinButton-DEhwpuEM.es.js} +187 -158
  348. package/dist/chunks/useSpinButton-DEhwpuEM.es.js.map +1 -0
  349. package/dist/chunks/useSpinButton-DkqZHy9E.cjs.js +2 -0
  350. package/dist/chunks/useSpinButton-DkqZHy9E.cjs.js.map +1 -0
  351. package/dist/chunks/{useTextField-CtQSL6tL.es.js → useTextField-DewF7uv9.es.js} +8 -8
  352. package/dist/chunks/{useTextField-CtQSL6tL.es.js.map → useTextField-DewF7uv9.es.js.map} +1 -1
  353. package/dist/chunks/useTextField-J5W2QB4G.cjs.js +2 -0
  354. package/dist/chunks/{useTextField-BMUp5FfB.cjs.js.map → useTextField-J5W2QB4G.cjs.js.map} +1 -1
  355. package/dist/chunks/{useToggle-CTRf6MHr.es.js → useToggle-BXsvw8Q3.es.js} +6 -6
  356. package/dist/chunks/{useToggle-CTRf6MHr.es.js.map → useToggle-BXsvw8Q3.es.js.map} +1 -1
  357. package/dist/chunks/{useToggle-CdzYIaIp.cjs.js → useToggle-VMBvyMfl.cjs.js} +2 -2
  358. package/dist/chunks/{useToggle-CdzYIaIp.cjs.js.map → useToggle-VMBvyMfl.cjs.js.map} +1 -1
  359. package/dist/chunks/useToggleState-bO90kfqG.cjs.js.map +1 -1
  360. package/dist/chunks/useToggleState-mKFEFD2Q.es.js.map +1 -1
  361. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
  362. package/dist/chunks/useUpdateEffect-sk3kiVGz.cjs.js.map +1 -1
  363. package/dist/chunks/utils-BR34o1UE.es.js +269 -0
  364. package/dist/chunks/utils-BR34o1UE.es.js.map +1 -0
  365. package/dist/chunks/{utils-DB75DiMj.es.js → utils-CEdpnSRC.es.js} +4 -4
  366. package/dist/chunks/{utils-DB75DiMj.es.js.map → utils-CEdpnSRC.es.js.map} +1 -1
  367. package/dist/chunks/utils-CThuzDqT.cjs.js +2 -0
  368. package/dist/chunks/utils-CThuzDqT.cjs.js.map +1 -0
  369. package/dist/chunks/{utils-BQD5cAKH.cjs.js → utils-sWqo2nmW.cjs.js} +2 -2
  370. package/dist/chunks/{utils-BQD5cAKH.cjs.js.map → utils-sWqo2nmW.cjs.js.map} +1 -1
  371. package/dist/chunks/{visually-hidden-DJxzCHM4.es.js → visually-hidden-CQabqCJt.es.js} +2 -2
  372. package/dist/chunks/{visually-hidden-DJxzCHM4.es.js.map → visually-hidden-CQabqCJt.es.js.map} +1 -1
  373. package/dist/chunks/{visually-hidden-XscDHjYa.cjs.js → visually-hidden-YFEW-yS7.cjs.js} +2 -2
  374. package/dist/chunks/{visually-hidden-XscDHjYa.cjs.js.map → visually-hidden-YFEW-yS7.cjs.js.map} +1 -1
  375. package/dist/components/accordion.cjs +1 -1
  376. package/dist/components/accordion.es.js +1 -1
  377. package/dist/components/alert.cjs +1 -1
  378. package/dist/components/alert.es.js +1 -1
  379. package/dist/components/badge.cjs +1 -1
  380. package/dist/components/badge.es.js +1 -1
  381. package/dist/components/button.cjs +1 -1
  382. package/dist/components/button.es.js +1 -1
  383. package/dist/components/calendar.cjs +1 -1
  384. package/dist/components/calendar.es.js +1 -1
  385. package/dist/components/card.cjs +1 -1
  386. package/dist/components/card.es.js +1 -1
  387. package/dist/components/checkbox.cjs +1 -1
  388. package/dist/components/checkbox.es.js +1 -1
  389. package/dist/components/combobox.cjs +1 -1
  390. package/dist/components/combobox.es.js +1 -1
  391. package/dist/components/components.cjs +1 -1
  392. package/dist/components/components.es.js +96 -82
  393. package/dist/components/components.es.js.map +1 -1
  394. package/dist/components/date-input.cjs +1 -1
  395. package/dist/components/date-input.es.js +1 -1
  396. package/dist/components/date-picker.cjs +1 -1
  397. package/dist/components/date-picker.es.js +1 -1
  398. package/dist/components/date-range-picker.cjs +2 -0
  399. package/dist/components/date-range-picker.cjs.map +1 -0
  400. package/dist/components/date-range-picker.es.js +5 -0
  401. package/dist/components/date-range-picker.es.js.map +1 -0
  402. package/dist/components/divider.cjs +1 -1
  403. package/dist/components/divider.es.js +1 -1
  404. package/dist/components/form-field.cjs +1 -1
  405. package/dist/components/form-field.es.js +1 -1
  406. package/dist/components/icon-button.cjs +1 -1
  407. package/dist/components/icon-button.es.js +1 -1
  408. package/dist/components/kbd.cjs +1 -1
  409. package/dist/components/kbd.es.js +1 -1
  410. package/dist/components/link.cjs +1 -1
  411. package/dist/components/link.es.js +1 -1
  412. package/dist/components/loading-spinner.cjs +1 -1
  413. package/dist/components/loading-spinner.es.js +1 -1
  414. package/dist/components/multiline-text-input.cjs +1 -1
  415. package/dist/components/multiline-text-input.es.js +1 -1
  416. package/dist/components/nimbus-provider.cjs +1 -1
  417. package/dist/components/nimbus-provider.es.js +1 -1
  418. package/dist/components/number-input.cjs +1 -1
  419. package/dist/components/number-input.es.js +1 -1
  420. package/dist/components/password-input.cjs +1 -1
  421. package/dist/components/password-input.es.js +1 -1
  422. package/dist/components/progress-bar.cjs +1 -1
  423. package/dist/components/progress-bar.es.js +1 -1
  424. package/dist/components/radio-input.cjs +1 -1
  425. package/dist/components/radio-input.es.js +1 -1
  426. package/dist/components/range-calendar.cjs +2 -0
  427. package/dist/components/range-calendar.cjs.map +1 -0
  428. package/dist/components/range-calendar.es.js +5 -0
  429. package/dist/components/range-calendar.es.js.map +1 -0
  430. package/dist/components/select.cjs +1 -1
  431. package/dist/components/select.es.js +1 -1
  432. package/dist/components/switch.cjs +1 -1
  433. package/dist/components/switch.es.js +1 -1
  434. package/dist/components/tag-group.cjs +1 -1
  435. package/dist/components/tag-group.es.js +1 -1
  436. package/dist/components/text-input.cjs +1 -1
  437. package/dist/components/text-input.es.js +1 -1
  438. package/dist/components/text.cjs +1 -1
  439. package/dist/components/text.es.js +1 -1
  440. package/dist/components/time-input.cjs +1 -1
  441. package/dist/components/time-input.es.js +1 -1
  442. package/dist/components/toggle-button-group.cjs +1 -1
  443. package/dist/components/toggle-button-group.es.js +1 -1
  444. package/dist/components/tooltip.cjs +1 -1
  445. package/dist/components/tooltip.es.js +2 -2
  446. package/dist/components/visually-hidden.cjs +1 -1
  447. package/dist/components/visually-hidden.es.js +1 -1
  448. package/dist/components.d.ts +325 -4
  449. package/dist/date-input.d.ts +7 -0
  450. package/dist/date-picker.d.ts +21 -1
  451. package/dist/date-range-picker.d.ts +111 -0
  452. package/dist/icon.d.ts +5 -0
  453. package/dist/index.cjs +1 -1
  454. package/dist/index.cjs.map +1 -1
  455. package/dist/index.d.ts +325 -4
  456. package/dist/index.es.js +116 -102
  457. package/dist/index.es.js.map +1 -1
  458. package/dist/kbd.d.ts +13 -5
  459. package/dist/range-calendar.d.ts +33 -0
  460. package/dist/setup-jsdom-polyfills.cjs.map +1 -1
  461. package/dist/setup-jsdom-polyfills.es.js.map +1 -1
  462. package/package.json +14 -13
  463. package/dist/chunks/DateField-BjIjR7y5.cjs.js +0 -2
  464. package/dist/chunks/Dialog-B6tbMgyU.cjs.js +0 -2
  465. package/dist/chunks/Dialog-B6tbMgyU.cjs.js.map +0 -1
  466. package/dist/chunks/Dialog-Ct6jqZ14.es.js +0 -870
  467. package/dist/chunks/Dialog-Ct6jqZ14.es.js.map +0 -1
  468. package/dist/chunks/FocusScope-BUeBbhRq.cjs.js +0 -2
  469. package/dist/chunks/FocusScope-BUeBbhRq.cjs.js.map +0 -1
  470. package/dist/chunks/FocusScope-BacYMT5s.es.js.map +0 -1
  471. package/dist/chunks/ListBox-ABeVGjvU.es.js +0 -3007
  472. package/dist/chunks/ListBox-ABeVGjvU.es.js.map +0 -1
  473. package/dist/chunks/ListBox-DCA-jDGn.cjs.js +0 -18
  474. package/dist/chunks/ListBox-DCA-jDGn.cjs.js.map +0 -1
  475. package/dist/chunks/LiveAnnouncer-CwEWPU8b.cjs.js +0 -2
  476. package/dist/chunks/OverlayArrow-HjwHXXDg.cjs.js +0 -2
  477. package/dist/chunks/accordion-BqC_0cQF.cjs.js +0 -2
  478. package/dist/chunks/calendar-4vA2Wjuk.es.js.map +0 -1
  479. package/dist/chunks/calendar-fDyD76bv.cjs.js +0 -2
  480. package/dist/chunks/calendar-fDyD76bv.cjs.js.map +0 -1
  481. package/dist/chunks/combobox-e2_LtIV2.cjs.js +0 -2
  482. package/dist/chunks/combobox-e2_LtIV2.cjs.js.map +0 -1
  483. package/dist/chunks/combobox-yROd_YZT.es.js +0 -1898
  484. package/dist/chunks/combobox-yROd_YZT.es.js.map +0 -1
  485. package/dist/chunks/combobox.recipe-BtnFn38v.cjs.js +0 -2
  486. package/dist/chunks/date-picker-BO7p5VmS.cjs.js +0 -2
  487. package/dist/chunks/date-picker-BO7p5VmS.cjs.js.map +0 -1
  488. package/dist/chunks/date-picker-DJVAYEAw.es.js +0 -484
  489. package/dist/chunks/date-picker-DJVAYEAw.es.js.map +0 -1
  490. package/dist/chunks/divider-Bo7fu52f.es.js +0 -72
  491. package/dist/chunks/divider-Bo7fu52f.es.js.map +0 -1
  492. package/dist/chunks/divider-jlSUrmo7.cjs.js +0 -2
  493. package/dist/chunks/divider-jlSUrmo7.cjs.js.map +0 -1
  494. package/dist/chunks/focusSafely-BsLdCW-M.cjs.js +0 -2
  495. package/dist/chunks/focusSafely-BsLdCW-M.cjs.js.map +0 -1
  496. package/dist/chunks/focusSafely-CahaQIyI.es.js +0 -37
  497. package/dist/chunks/focusSafely-CahaQIyI.es.js.map +0 -1
  498. package/dist/chunks/getScrollParent-DE66eQI-.es.js +0 -15
  499. package/dist/chunks/getScrollParent-DE66eQI-.es.js.map +0 -1
  500. package/dist/chunks/getScrollParent-Dc1cnLDE.cjs.js +0 -2
  501. package/dist/chunks/getScrollParent-Dc1cnLDE.cjs.js.map +0 -1
  502. package/dist/chunks/kbd-BKH_SGCC.es.js +0 -6
  503. package/dist/chunks/kbd-BKH_SGCC.es.js.map +0 -1
  504. package/dist/chunks/kbd-Bhv8ae1I.cjs.js +0 -2
  505. package/dist/chunks/kbd-Bhv8ae1I.cjs.js.map +0 -1
  506. package/dist/chunks/mergeProps--cTsQeLh.cjs.js +0 -2
  507. package/dist/chunks/nimbus-provider-BjnzjFmv.es.js.map +0 -1
  508. package/dist/chunks/nimbus-provider-Cfpse_6n.cjs.js +0 -2
  509. package/dist/chunks/nimbus-provider-Cfpse_6n.cjs.js.map +0 -1
  510. package/dist/chunks/number-input-Da1tzQlg.es.js.map +0 -1
  511. package/dist/chunks/number-input-oxPP81Et.cjs.js +0 -2
  512. package/dist/chunks/number-input-oxPP81Et.cjs.js.map +0 -1
  513. package/dist/chunks/scrollIntoView-CqkKWFb6.es.js +0 -83
  514. package/dist/chunks/scrollIntoView-CqkKWFb6.es.js.map +0 -1
  515. package/dist/chunks/scrollIntoView-DJjtWQTK.cjs.js +0 -2
  516. package/dist/chunks/scrollIntoView-DJjtWQTK.cjs.js.map +0 -1
  517. package/dist/chunks/select-CwzhqF_g.cjs.js +0 -2
  518. package/dist/chunks/select.recipe-CXWsUldF.es.js.map +0 -1
  519. package/dist/chunks/select.recipe-DUHFWlQt.cjs.js +0 -2
  520. package/dist/chunks/select.recipe-DUHFWlQt.cjs.js.map +0 -1
  521. package/dist/chunks/tag-group-DCgEBbmh.cjs.js +0 -2
  522. package/dist/chunks/tooltip-p-s9eZWV.cjs.js +0 -2
  523. package/dist/chunks/useDateFormatter-CeTPxW8a.cjs.js +0 -2
  524. package/dist/chunks/useFocus-3ktZKnFP.es.js +0 -135
  525. package/dist/chunks/useFocus-3ktZKnFP.es.js.map +0 -1
  526. package/dist/chunks/useFocus-D9bTLwXz.cjs.js +0 -2
  527. package/dist/chunks/useFocus-D9bTLwXz.cjs.js.map +0 -1
  528. package/dist/chunks/useFocusable-41-WL-k6.cjs.js +0 -2
  529. package/dist/chunks/useFocusable-41-WL-k6.cjs.js.map +0 -1
  530. package/dist/chunks/useFocusable-B4YfgYbi.es.js +0 -75
  531. package/dist/chunks/useFocusable-B4YfgYbi.es.js.map +0 -1
  532. package/dist/chunks/useFormReset-B7JIQEba.cjs.js +0 -2
  533. package/dist/chunks/useFormValidation-BbPFbrIk.es.js +0 -179
  534. package/dist/chunks/useFormValidation-WxEl8dbL.cjs.js +0 -2
  535. package/dist/chunks/useHover-ClWWazLU.cjs.js +0 -2
  536. package/dist/chunks/useHover-ClWWazLU.cjs.js.map +0 -1
  537. package/dist/chunks/useHover-DmJo2yqg.es.js.map +0 -1
  538. package/dist/chunks/useLocalizedStringFormatter-CdsqKKUv.cjs.js +0 -2
  539. package/dist/chunks/usePress-CHjHe0z6.cjs.js +0 -8
  540. package/dist/chunks/usePress-CHjHe0z6.cjs.js.map +0 -1
  541. package/dist/chunks/usePress-Cjh8V0gi.es.js.map +0 -1
  542. package/dist/chunks/useSingleSelectListState-C2uPq6eE.cjs.js +0 -2
  543. package/dist/chunks/useSingleSelectListState-C2uPq6eE.cjs.js.map +0 -1
  544. package/dist/chunks/useSingleSelectListState-NfI_d4ak.es.js +0 -269
  545. package/dist/chunks/useSingleSelectListState-NfI_d4ak.es.js.map +0 -1
  546. package/dist/chunks/useSpinButton-C2O01UxL.cjs.js +0 -2
  547. package/dist/chunks/useSpinButton-C2O01UxL.cjs.js.map +0 -1
  548. package/dist/chunks/useSpinButton-D2j8iVmv.es.js.map +0 -1
  549. package/dist/chunks/useTextField-BMUp5FfB.cjs.js +0 -2
  550. package/dist/chunks/utils-4CMfmbln.es.js +0 -187
  551. package/dist/chunks/utils-4CMfmbln.es.js.map +0 -1
  552. package/dist/chunks/utils-DDsBrWAK.cjs.js +0 -2
  553. package/dist/chunks/utils-DDsBrWAK.cjs.js.map +0 -1
@@ -3,11 +3,11 @@ import { useRef as h } from "react";
3
3
  import { createRecipeContext as T, mergeRefs as R } from "@chakra-ui/react";
4
4
  import { l as v } from "./link.recipe-Ba2by0OG.es.js";
5
5
  import { $ as L } from "./useObjectRef-CaJ5pgjX.es.js";
6
- import { $ } from "./mergeProps-BUo0BHVY.es.js";
7
- import { $ as g } from "./filterDOMProps-D6KHYVBX.es.js";
8
- import { $ as D, a as y, b as E } from "./openLink-Bb-6Z-d5.es.js";
9
- import { $ as S } from "./usePress-Cjh8V0gi.es.js";
10
- import { $ as w } from "./useFocusable-B4YfgYbi.es.js";
6
+ import { $ } from "./mergeProps-Bn6EInU5.es.js";
7
+ import { $ as g } from "./filterDOMProps-HzsCnE3d.es.js";
8
+ import { $ as D, a as y, b as E } from "./openLink-BRnXRj9w.es.js";
9
+ import { $ as S } from "./usePress-Bf0oV30S.es.js";
10
+ import { $ as w } from "./useFocusable-C_1ABg2H.es.js";
11
11
  function H(e, o) {
12
12
  let { elementType: s = "a", onPress: i, onPressStart: c, onPressEnd: n, onClick: f, isDisabled: t, ...l } = e, a = {};
13
13
  s !== "a" && (a = {
@@ -40,11 +40,11 @@ function H(e, o) {
40
40
  };
41
41
  }
42
42
  const { withContext: N } = /* @__PURE__ */ T({ recipe: v }), _ = /* @__PURE__ */ N("a"), j = (e) => {
43
- const { as: o, asChild: s, children: i, ref: c, ...n } = e, f = h(null), t = L(R(f, c)), l = o || (s ? "span" : "a") || "a", { linkProps: a } = H({ ...n, elementType: l }, t);
43
+ const { as: o, asChild: s, children: i, ref: c, ...n } = e, f = h(null), t = L(R(f, c)), l = o || (s ? "span" : "a"), { linkProps: a } = H({ ...n, elementType: l }, t);
44
44
  return /* @__PURE__ */ C(_, { ...$(n, a, { as: o, asChild: s, ref: t }), children: i });
45
45
  };
46
46
  j.displayName = "Link";
47
47
  export {
48
48
  j as L
49
49
  };
50
- //# sourceMappingURL=link-D3Rr2RQl.es.js.map
50
+ //# sourceMappingURL=link-I24WQHS6.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"link-D3Rr2RQl.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+link@3.8.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/link/dist/useLink.mjs","../../src/components/link/link.slots.tsx","../../src/components/link/link.tsx"],"sourcesContent":["import {filterDOMProps as $5Ot33$filterDOMProps, mergeProps as $5Ot33$mergeProps, useRouter as $5Ot33$useRouter, useLinkProps as $5Ot33$useLinkProps, shouldClientNavigate as $5Ot33$shouldClientNavigate} from \"@react-aria/utils\";\nimport {useFocusable as $5Ot33$useFocusable, usePress as $5Ot33$usePress} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {\n let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onClick: onClick, isDisabled: isDisabled, ...otherProps } = props;\n let linkProps = {};\n if (elementType !== 'a') linkProps = {\n role: 'link',\n tabIndex: !isDisabled ? 0 : undefined\n };\n let { focusableProps: focusableProps } = (0, $5Ot33$useFocusable)(props, ref);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $5Ot33$usePress)({\n onPress: onPress,\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onClick: onClick,\n isDisabled: isDisabled,\n ref: ref\n });\n let domProps = (0, $5Ot33$filterDOMProps)(otherProps, {\n labelable: true\n });\n let interactionHandlers = (0, $5Ot33$mergeProps)(focusableProps, pressProps);\n let router = (0, $5Ot33$useRouter)();\n let routerLinkProps = (0, $5Ot33$useLinkProps)(props);\n return {\n isPressed: isPressed,\n linkProps: (0, $5Ot33$mergeProps)(domProps, routerLinkProps, {\n ...interactionHandlers,\n ...linkProps,\n 'aria-disabled': isDisabled || undefined,\n 'aria-current': props['aria-current'],\n onClick: (e)=>{\n var _pressProps_onClick;\n (_pressProps_onClick = pressProps.onClick) === null || _pressProps_onClick === void 0 ? void 0 : _pressProps_onClick.call(pressProps, e);\n // If a custom router is provided, prevent default and forward if this link should client navigate.\n if (!router.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.\n !e.isDefaultPrevented() && (0, $5Ot33$shouldClientNavigate)(e.currentTarget, e) && props.href) {\n e.preventDefault();\n router.open(e.currentTarget, e, props.href, props.routerOptions);\n }\n }\n })\n };\n}\n\n\nexport {$298d61e98472621b$export$dcf14c9974fe2767 as useLink};\n//# sourceMappingURL=useLink.module.js.map\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { linkRecipe } from \"./link.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the a element.\n */\ninterface LinkRecipeProps extends RecipeProps<\"a\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LinkRootProps = HTMLChakraProps<\"a\", LinkRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: linkRecipe });\n\n/**\n * Root component that provides the styling context for the Link component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LinkRoot = withContext<HTMLAnchorElement, LinkRootProps>(\"a\");\n","import { useRef } from \"react\";\nimport { LinkRoot } from \"./link.slots\";\nimport type { LinkProps } from \"./link.types\";\nimport { useLink, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * Link\n * ============================================================\n * To allow a user to navigate to a different page or resource\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLAnchorElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n */\nexport const Link = (props: LinkProps) => {\n const { as, asChild, children, ref: forwardedRef, ...rest } = props;\n\n const localRef = useRef<HTMLAnchorElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = (as as string) || (asChild ? \"span\" : \"a\") || \"a\";\n const { linkProps } = useLink({ ...rest, elementType }, ref);\n\n return (\n <LinkRoot {...mergeProps(rest, linkProps, { as, asChild, ref })}>\n {children}\n </LinkRoot>\n );\n};\n\nLink.displayName = \"Link\";\n"],"names":["$298d61e98472621b$export$dcf14c9974fe2767","props","ref","elementType","onPress","onPressStart","onPressEnd","onClick","isDisabled","otherProps","linkProps","focusableProps","$5Ot33$useFocusable","pressProps","isPressed","$5Ot33$usePress","domProps","$5Ot33$filterDOMProps","interactionHandlers","$5Ot33$mergeProps","router","$5Ot33$useRouter","routerLinkProps","$5Ot33$useLinkProps","e","_pressProps_onClick","$5Ot33$shouldClientNavigate","withContext","createRecipeContext","linkRecipe","LinkRoot","Link","as","asChild","children","forwardedRef","rest","localRef","useRef","useObjectRef","mergeRefs","useLink","jsx","mergeProps"],"mappings":";;;;;;;;;;AAeA,SAASA,EAA0CC,GAAOC,GAAK;AAC3D,MAAI,EAAE,aAAaC,IAAc,KAAK,SAASC,GAAS,cAAcC,GAAc,YAAYC,GAAY,SAASC,GAAS,YAAYC,GAAY,GAAGC,EAAU,IAAKR,GACpKS,IAAY,CAAA;AAChB,EAAIP,MAAgB,QAAKO,IAAY;AAAA,IACjC,MAAM;AAAA,IACN,UAAWF,IAAiB,SAAJ;AAAA,EAChC;AACI,MAAI,EAAE,gBAAgBG,EAAc,IAASC,EAAqBX,GAAOC,CAAG,GACxE,EAAE,YAAYW,GAAY,WAAWC,EAAS,IAASC,EAAiB;AAAA,IACxE,SAASX;AAAA,IACT,cAAcC;AAAA,IACd,YAAYC;AAAA,IACZ,SAASC;AAAA,IACT,YAAYC;AAAA,IACZ,KAAKN;AAAA,EACb,CAAK,GACGc,IAAeC,EAAuBR,GAAY;AAAA,IAClD,WAAW;AAAA,EACnB,CAAK,GACGS,IAA0BC,EAAmBR,GAAgBE,CAAU,GACvEO,IAAaC,EAAgB,GAC7BC,IAAsBC,EAAqBtB,CAAK;AACpD,SAAO;AAA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../../node_modules/.pnpm/@react-aria+link@3.8.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/link/dist/useLink.mjs","../../src/components/link/link.slots.tsx","../../src/components/link/link.tsx"],"sourcesContent":["import {filterDOMProps as $5Ot33$filterDOMProps, mergeProps as $5Ot33$mergeProps, useRouter as $5Ot33$useRouter, useLinkProps as $5Ot33$useLinkProps, shouldClientNavigate as $5Ot33$shouldClientNavigate} from \"@react-aria/utils\";\nimport {useFocusable as $5Ot33$useFocusable, usePress as $5Ot33$usePress} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {\n let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onClick: onClick, isDisabled: isDisabled, ...otherProps } = props;\n let linkProps = {};\n if (elementType !== 'a') linkProps = {\n role: 'link',\n tabIndex: !isDisabled ? 0 : undefined\n };\n let { focusableProps: focusableProps } = (0, $5Ot33$useFocusable)(props, ref);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $5Ot33$usePress)({\n onPress: onPress,\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onClick: onClick,\n isDisabled: isDisabled,\n ref: ref\n });\n let domProps = (0, $5Ot33$filterDOMProps)(otherProps, {\n labelable: true\n });\n let interactionHandlers = (0, $5Ot33$mergeProps)(focusableProps, pressProps);\n let router = (0, $5Ot33$useRouter)();\n let routerLinkProps = (0, $5Ot33$useLinkProps)(props);\n return {\n isPressed: isPressed,\n linkProps: (0, $5Ot33$mergeProps)(domProps, routerLinkProps, {\n ...interactionHandlers,\n ...linkProps,\n 'aria-disabled': isDisabled || undefined,\n 'aria-current': props['aria-current'],\n onClick: (e)=>{\n var _pressProps_onClick;\n (_pressProps_onClick = pressProps.onClick) === null || _pressProps_onClick === void 0 ? void 0 : _pressProps_onClick.call(pressProps, e);\n // If a custom router is provided, prevent default and forward if this link should client navigate.\n if (!router.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.\n !e.isDefaultPrevented() && (0, $5Ot33$shouldClientNavigate)(e.currentTarget, e) && props.href) {\n e.preventDefault();\n router.open(e.currentTarget, e, props.href, props.routerOptions);\n }\n }\n })\n };\n}\n\n\nexport {$298d61e98472621b$export$dcf14c9974fe2767 as useLink};\n//# sourceMappingURL=useLink.module.js.map\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { linkRecipe } from \"./link.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the a element.\n */\ninterface LinkRecipeProps extends RecipeProps<\"a\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LinkRootProps = HTMLChakraProps<\"a\", LinkRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: linkRecipe });\n\n/**\n * Root component that provides the styling context for the Link component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LinkRoot = withContext<HTMLAnchorElement, LinkRootProps>(\"a\");\n","import { useRef } from \"react\";\nimport { LinkRoot } from \"./link.slots\";\nimport type { LinkProps } from \"./link.types\";\nimport { useLink, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * Link\n * ============================================================\n * To allow a user to navigate to a different page or resource\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLAnchorElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n */\nexport const Link = (props: LinkProps) => {\n const { as, asChild, children, ref: forwardedRef, ...rest } = props;\n\n const localRef = useRef<HTMLAnchorElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = (as as string) || (asChild ? \"span\" : \"a\") || \"a\";\n const { linkProps } = useLink({ ...rest, elementType }, ref);\n\n return (\n <LinkRoot {...mergeProps(rest, linkProps, { as, asChild, ref })}>\n {children}\n </LinkRoot>\n );\n};\n\nLink.displayName = \"Link\";\n"],"names":["$298d61e98472621b$export$dcf14c9974fe2767","props","ref","elementType","onPress","onPressStart","onPressEnd","onClick","isDisabled","otherProps","linkProps","focusableProps","$5Ot33$useFocusable","pressProps","isPressed","$5Ot33$usePress","domProps","$5Ot33$filterDOMProps","interactionHandlers","$5Ot33$mergeProps","router","$5Ot33$useRouter","routerLinkProps","$5Ot33$useLinkProps","e","_pressProps_onClick","$5Ot33$shouldClientNavigate","withContext","createRecipeContext","linkRecipe","LinkRoot","Link","as","asChild","children","forwardedRef","rest","localRef","useRef","useObjectRef","mergeRefs","useLink","jsx","mergeProps"],"mappings":";;;;;;;;;;AAeA,SAASA,EAA0CC,GAAOC,GAAK;AAC3D,MAAI,EAAE,aAAaC,IAAc,KAAK,SAASC,GAAS,cAAcC,GAAc,YAAYC,GAAY,SAASC,GAAS,YAAYC,GAAY,GAAGC,EAAU,IAAKR,GACpKS,IAAY,CAAA;AAChB,EAAIP,MAAgB,QAAKO,IAAY;AAAA,IACjC,MAAM;AAAA,IACN,UAAWF,IAAiB,SAAJ;AAAA,EAChC;AACI,MAAI,EAAE,gBAAgBG,EAAc,IAASC,EAAqBX,GAAOC,CAAG,GACxE,EAAE,YAAYW,GAAY,WAA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ACpD,EAAE,WAAAvB,MAAc+B,EAAQ,EAAE,GAAGL,GAAM,aAAAjC,EAAA,GAAeD,CAAG;AAE3D,SACE,gBAAAwC,EAACZ,GAAA,EAAU,GAAGa,EAAWP,GAAM1B,GAAW,EAAE,IAAAsB,GAAI,SAAAC,GAAS,KAAA/B,GAAK,GAC3D,UAAAgC,EAAA,CACH;AAEJ;AAEAH,EAAK,cAAc;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react/jsx-runtime"),n=require("@chakra-ui/react"),c=require("./useProgressBar-C2d-2Fkp.cjs.js"),d=require("./mergeProps--cTsQeLh.cjs.js"),l=n.defineRecipe({className:"nimbus-loading-spinner",base:{display:"inline-flex",alignItems:"center",justifyContent:"center","& svg":{overflow:"visible",transform:"scale(calc(1 - 2/12))"},"& svg [data-svg-path='spinner-pointer']":{stroke:"colorPalette.10",animationName:"spin",animationDuration:"0.5s",animationTimingFunction:"linear",animationIterationCount:"infinite",transformOrigin:"center center 0"},"& svg [data-svg-path='spinner-circle']":{stroke:"colorPalette.5"}},variants:{size:{"2xs":{width:"350",height:"350"},xs:{width:"500",height:"500"},sm:{width:"600",height:"600"},md:{width:"800",height:"800"},lg:{width:"1000",height:"1000"}},tone:{primary:{colorPalette:"ctvioletAlpha"},white:{colorPalette:"whiteAlpha"}}},defaultVariants:{size:"sm",tone:"primary"}}),{withContext:p}=n.createRecipeContext({recipe:l}),h=p("div"),g="M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z",C="M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12",r=a=>{const{ref:s,"aria-label":t="Loading data",...i}=a,{progressBarProps:o}=c.$204d9ebcedfb8806$export$ed5abd763a836edc({isIndeterminate:!0,"aria-label":t,...i});return e.jsx(h,{ref:s,...d.$3ef42575df84b30b$export$9d1611c77c2fe928(i,o),"aria-label":t,children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("path",{d:g,"data-svg-path":"spinner-circle",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:C,"data-svg-path":"spinner-pointer",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})})};r.displayName="LoadingSpinner";exports.LoadingSpinner=r;
2
- //# sourceMappingURL=loading-spinner-CnJDA2s5.cjs.js.map
1
+ "use strict";const e=require("react/jsx-runtime"),n=require("@chakra-ui/react"),c=require("./useProgressBar-3tBtQD6p.cjs.js"),d=require("./mergeProps-VvQrkhSh.cjs.js"),l=n.defineRecipe({className:"nimbus-loading-spinner",base:{display:"inline-flex",alignItems:"center",justifyContent:"center","& svg":{overflow:"visible",transform:"scale(calc(1 - 2/12))"},"& svg [data-svg-path='spinner-pointer']":{stroke:"colorPalette.10",animationName:"spin",animationDuration:"0.5s",animationTimingFunction:"linear",animationIterationCount:"infinite",transformOrigin:"center center 0"},"& svg [data-svg-path='spinner-circle']":{stroke:"colorPalette.5"}},variants:{size:{"2xs":{width:"350",height:"350"},xs:{width:"500",height:"500"},sm:{width:"600",height:"600"},md:{width:"800",height:"800"},lg:{width:"1000",height:"1000"}},tone:{primary:{colorPalette:"ctvioletAlpha"},white:{colorPalette:"whiteAlpha"}}},defaultVariants:{size:"sm",tone:"primary"}}),{withContext:p}=n.createRecipeContext({recipe:l}),h=p("div"),g="M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z",C="M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12",r=a=>{const{ref:s,"aria-label":t="Loading data",...i}=a,{progressBarProps:o}=c.$204d9ebcedfb8806$export$ed5abd763a836edc({isIndeterminate:!0,"aria-label":t,...i});return e.jsx(h,{ref:s,...d.$3ef42575df84b30b$export$9d1611c77c2fe928(i,o),"aria-label":t,children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("path",{d:g,"data-svg-path":"spinner-circle",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:C,"data-svg-path":"spinner-pointer",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})})};r.displayName="LoadingSpinner";exports.LoadingSpinner=r;
2
+ //# sourceMappingURL=loading-spinner-BQd4UVQs.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loading-spinner-CnJDA2s5.cjs.js","sources":["../../src/components/loading-spinner/loading-spinner.recipe.tsx","../../src/components/loading-spinner/loading-spinner.slots.tsx","../../src/components/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the LoadingSpinner component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const loadingSpinnerRecipe = defineRecipe({\n className: \"nimbus-loading-spinner\",\n\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg\": {\n overflow: \"visible\",\n // This proportionally scales the spinner to fit the container while also scaling padding\n transform: \"scale(calc(1 - 2/12))\",\n },\n \"& svg [data-svg-path='spinner-pointer']\": {\n stroke: \"colorPalette.10\",\n animationName: \"spin\",\n animationDuration: \"0.5s\",\n animationTimingFunction: \"linear\",\n animationIterationCount: \"infinite\",\n transformOrigin: \"center center 0\",\n },\n \"& svg [data-svg-path='spinner-circle']\": {\n stroke: \"colorPalette.5\",\n },\n },\n\n variants: {\n size: {\n \"2xs\": {\n width: \"350\",\n height: \"350\",\n },\n xs: {\n width: \"500\",\n height: \"500\",\n },\n sm: {\n width: \"600\",\n height: \"600\",\n },\n md: {\n width: \"800\",\n height: \"800\",\n },\n lg: {\n width: \"1000\",\n height: \"1000\",\n },\n },\n\n tone: {\n primary: {\n colorPalette: \"ctvioletAlpha\",\n },\n white: {\n colorPalette: \"whiteAlpha\",\n },\n },\n },\n\n defaultVariants: {\n size: \"sm\",\n tone: \"primary\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { loadingSpinnerRecipe } from \"./loading-spinner.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\nexport interface LoadingSpinnerRecipeProps\n extends RecipeProps<\"div\">,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LoadingSpinnerRootProps = Omit<\n HTMLChakraProps<\"div\", LoadingSpinnerRecipeProps>,\n // We want to omit polymorphic props from the root props since they are not used internally.\n \"as\" | \"asChild\"\n>;\n\nconst { withContext } = createRecipeContext({ recipe: loadingSpinnerRecipe });\n\n/**\n * Root component that provides the styling context for the LoadingSpinner component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LoadingSpinnerRoot = withContext<\n HTMLDivElement,\n LoadingSpinnerRootProps\n>(\"div\");\n","import { mergeProps, useProgressBar } from \"react-aria\";\nimport { LoadingSpinnerRoot } from \"./loading-spinner.slots\";\nimport type { LoadingSpinnerProps } from \"./loading-spinner.types\";\n\nconst circlePath =\n \"M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z\";\nconst pointerPath =\n \"M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12\";\n\n/**\n * LoadingSpinner\n * ============================================================\n * Indicates ongoing processes or loading states\n */\nexport const LoadingSpinner = (props: LoadingSpinnerProps) => {\n const { ref, \"aria-label\": ariaLabel = \"Loading data\", ...restProps } = props;\n const { progressBarProps } = useProgressBar({\n isIndeterminate: true,\n \"aria-label\": ariaLabel,\n ...restProps,\n });\n\n return (\n <LoadingSpinnerRoot\n ref={ref}\n {...mergeProps(restProps, progressBarProps)}\n aria-label={ariaLabel}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path\n d={circlePath}\n data-svg-path=\"spinner-circle\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d={pointerPath}\n data-svg-path=\"spinner-pointer\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </LoadingSpinnerRoot>\n );\n};\n\nLoadingSpinner.displayName = \"LoadingSpinner\";\n"],"names":["loadingSpinnerRecipe","defineRecipe","withContext","createRecipeContext","LoadingSpinnerRoot","circlePath","pointerPath","LoadingSpinner","props","ref","ariaLabel","restProps","progressBarProps","useProgressBar","jsx","mergeProps"],"mappings":"wKAMaA,EAAuBC,EAAAA,aAAa,CAC/C,UAAW,yBAEX,KAAM,CACJ,QAAS,cACT,WAAY,SACZ,eAAgB,SAChB,QAAS,CACP,SAAU,UAEV,UAAW,uBAAA,EAEb,0CAA2C,CACzC,OAAQ,kBACR,cAAe,OACf,kBAAmB,OACnB,wBAAyB,SACzB,wBA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/loading-spinner/loading-spinner.recipe.tsx","../../src/components/loading-spinner/loading-spinner.slots.tsx","../../src/components/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the LoadingSpinner component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const loadingSpinnerRecipe = defineRecipe({\n className: \"nimbus-loading-spinner\",\n\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg\": {\n overflow: \"visible\",\n // This proportionally scales the spinner to fit the container while also scaling padding\n transform: \"scale(calc(1 - 2/12))\",\n },\n \"& svg [data-svg-path='spinner-pointer']\": {\n stroke: \"colorPalette.10\",\n animationName: \"spin\",\n animationDuration: \"0.5s\",\n animationTimingFunction: \"linear\",\n animationIterationCount: \"infinite\",\n transformOrigin: \"center center 0\",\n },\n \"& svg [data-svg-path='spinner-circle']\": {\n stroke: \"colorPalette.5\",\n },\n },\n\n variants: {\n size: {\n \"2xs\": {\n width: \"350\",\n height: \"350\",\n },\n xs: {\n width: \"500\",\n height: \"500\",\n },\n sm: {\n width: \"600\",\n height: \"600\",\n },\n md: {\n width: \"800\",\n height: \"800\",\n },\n lg: {\n width: \"1000\",\n height: \"1000\",\n },\n },\n\n tone: {\n primary: {\n colorPalette: \"ctvioletAlpha\",\n },\n white: {\n colorPalette: \"whiteAlpha\",\n },\n },\n },\n\n defaultVariants: {\n size: \"sm\",\n tone: \"primary\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { loadingSpinnerRecipe } from \"./loading-spinner.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\nexport interface LoadingSpinnerRecipeProps\n extends RecipeProps<\"div\">,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LoadingSpinnerRootProps = Omit<\n HTMLChakraProps<\"div\", LoadingSpinnerRecipeProps>,\n // We want to omit polymorphic props from the root props since they are not used internally.\n \"as\" | \"asChild\"\n>;\n\nconst { withContext } = createRecipeContext({ recipe: loadingSpinnerRecipe });\n\n/**\n * Root component that provides the styling context for the LoadingSpinner component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LoadingSpinnerRoot = withContext<\n HTMLDivElement,\n LoadingSpinnerRootProps\n>(\"div\");\n","import { mergeProps, useProgressBar } from \"react-aria\";\nimport { LoadingSpinnerRoot } from \"./loading-spinner.slots\";\nimport type { LoadingSpinnerProps } from \"./loading-spinner.types\";\n\nconst circlePath =\n \"M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z\";\nconst pointerPath =\n \"M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12\";\n\n/**\n * LoadingSpinner\n * ============================================================\n * Indicates ongoing processes or loading states\n */\nexport const LoadingSpinner = (props: LoadingSpinnerProps) => {\n const { ref, \"aria-label\": ariaLabel = \"Loading data\", ...restProps } = props;\n const { progressBarProps } = useProgressBar({\n isIndeterminate: true,\n \"aria-label\": ariaLabel,\n ...restProps,\n });\n\n return (\n <LoadingSpinnerRoot\n ref={ref}\n {...mergeProps(restProps, progressBarProps)}\n aria-label={ariaLabel}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path\n d={circlePath}\n data-svg-path=\"spinner-circle\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d={pointerPath}\n data-svg-path=\"spinner-pointer\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </LoadingSpinnerRoot>\n );\n};\n\nLoadingSpinner.displayName = \"LoadingSpinner\";\n"],"names":["loadingSpinnerRecipe","defineRecipe","withContext","createRecipeContext","LoadingSpinnerRoot","circlePath","pointerPath","LoadingSpinner","props","ref","ariaLabel","restProps","progressBarProps","useProgressBar","jsx","mergeProps"],"mappings":"wKAMaA,EAAuBC,EAAAA,aAAa,CAC/C,UAAW,yBAEX,KAAM,CACJ,QAAS,cACT,WAAY,SACZ,eAAgB,SAChB,QAAS,CACP,SAAU,UAEV,UAAW,uBAAA,EAEb,0CAA2C,CACzC,OAAQ,kBACR,cAAe,OACf,kBAAmB,OACnB,wBAAyB,SACzB,wBAAyB,WACzB,gBAAiB,iBAAA,EAEnB,yCAA0C,CACxC,OAAQ,gBAAA,CACV,EAGF,SAAU,CACR,KAAM,CACJ,MAAO,CACL,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,OACP,OAAQ,MAAA,CACV,EAGF,KAAM,CACJ,QAAS,CACP,aAAc,eAAA,EAEhB,MAAO,CACL,aAAc,YAAA,CAChB,CACF,EAGF,gBAAiB,CACf,KAAM,KACN,KAAM,SAAA,CAEV,CAAC,ECzCK,CAAE,YAAAC,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQH,EAAsB,EAM/DI,EAAqBF,EAGhC,KAAK,ECjCDG,EACJ,ktBACIC,EACJ,2LAOWC,EAAkBC,GAA+B,CAC5D,KAAM,CAAE,IAAAC,EAAK,aAAcC,EAAY,eAAgB,GAAGC,GAAcH,EAClE,CAAE,iBAAAI,CAAA,EAAqBC,4CAAe,CAC1C,gBAAiB,GACjB,aAAcH,EACd,GAAGC,CAAA,CACJ,EAED,OACEG,EAAAA,IAACV,EAAA,CACC,IAAAK,EACC,GAAGM,EAAAA,0CAAWJ,EAAWC,CAAgB,EAC1C,aAAYF,EAEZ,gBAAC,MAAA,CAAI,MAAM,6BAA6B,QAAQ,YAAY,KAAK,OAC/D,SAAA,CAAAI,EAAAA,IAAC,OAAA,CACC,EAAGT,EACH,gBAAc,iBACd,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,EAEjBS,EAAAA,IAAC,OAAA,CACC,EAAGR,EACH,gBAAc,kBACd,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,CACjB,CAAA,CACF,CAAA,CAAA,CAGN,EAEAC,EAAe,YAAc"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
2
  import { defineRecipe as s, createRecipeContext as p } from "@chakra-ui/react";
3
- import { $ as c } from "./useProgressBar-DZT7aMNM.es.js";
4
- import { $ as l } from "./mergeProps-BUo0BHVY.es.js";
3
+ import { $ as c } from "./useProgressBar-C8j_OVKt.es.js";
4
+ import { $ as l } from "./mergeProps-Bn6EInU5.es.js";
5
5
  const d = /* @__PURE__ */ s({
6
6
  className: "nimbus-loading-spinner",
7
7
  base: {
@@ -102,4 +102,4 @@ f.displayName = "LoadingSpinner";
102
102
  export {
103
103
  f as L
104
104
  };
105
- //# sourceMappingURL=loading-spinner-DBsMwy3U.es.js.map
105
+ //# sourceMappingURL=loading-spinner-DwN-yshK.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loading-spinner-DBsMwy3U.es.js","sources":["../../src/components/loading-spinner/loading-spinner.recipe.tsx","../../src/components/loading-spinner/loading-spinner.slots.tsx","../../src/components/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the LoadingSpinner component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const loadingSpinnerRecipe = defineRecipe({\n className: \"nimbus-loading-spinner\",\n\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg\": {\n overflow: \"visible\",\n // This proportionally scales the spinner to fit the container while also scaling padding\n transform: \"scale(calc(1 - 2/12))\",\n },\n \"& svg [data-svg-path='spinner-pointer']\": {\n stroke: \"colorPalette.10\",\n animationName: \"spin\",\n animationDuration: \"0.5s\",\n animationTimingFunction: \"linear\",\n animationIterationCount: \"infinite\",\n transformOrigin: \"center center 0\",\n },\n \"& svg [data-svg-path='spinner-circle']\": {\n stroke: \"colorPalette.5\",\n },\n },\n\n variants: {\n size: {\n \"2xs\": {\n width: \"350\",\n height: \"350\",\n },\n xs: {\n width: \"500\",\n height: \"500\",\n },\n sm: {\n width: \"600\",\n height: \"600\",\n },\n md: {\n width: \"800\",\n height: \"800\",\n },\n lg: {\n width: \"1000\",\n height: \"1000\",\n },\n },\n\n tone: {\n primary: {\n colorPalette: \"ctvioletAlpha\",\n },\n white: {\n colorPalette: \"whiteAlpha\",\n },\n },\n },\n\n defaultVariants: {\n size: \"sm\",\n tone: \"primary\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { loadingSpinnerRecipe } from \"./loading-spinner.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\nexport interface LoadingSpinnerRecipeProps\n extends RecipeProps<\"div\">,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LoadingSpinnerRootProps = Omit<\n HTMLChakraProps<\"div\", LoadingSpinnerRecipeProps>,\n // We want to omit polymorphic props from the root props since they are not used internally.\n \"as\" | \"asChild\"\n>;\n\nconst { withContext } = createRecipeContext({ recipe: loadingSpinnerRecipe });\n\n/**\n * Root component that provides the styling context for the LoadingSpinner component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LoadingSpinnerRoot = withContext<\n HTMLDivElement,\n LoadingSpinnerRootProps\n>(\"div\");\n","import { mergeProps, useProgressBar } from \"react-aria\";\nimport { LoadingSpinnerRoot } from \"./loading-spinner.slots\";\nimport type { LoadingSpinnerProps } from \"./loading-spinner.types\";\n\nconst circlePath =\n \"M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z\";\nconst pointerPath =\n \"M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12\";\n\n/**\n * LoadingSpinner\n * ============================================================\n * Indicates ongoing processes or loading states\n */\nexport const LoadingSpinner = (props: LoadingSpinnerProps) => {\n const { ref, \"aria-label\": ariaLabel = \"Loading data\", ...restProps } = props;\n const { progressBarProps } = useProgressBar({\n isIndeterminate: true,\n \"aria-label\": ariaLabel,\n ...restProps,\n });\n\n return (\n <LoadingSpinnerRoot\n ref={ref}\n {...mergeProps(restProps, progressBarProps)}\n aria-label={ariaLabel}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path\n d={circlePath}\n data-svg-path=\"spinner-circle\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d={pointerPath}\n data-svg-path=\"spinner-pointer\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </LoadingSpinnerRoot>\n );\n};\n\nLoadingSpinner.displayName = \"LoadingSpinner\";\n"],"names":["loadingSpinnerRecipe","defineRecipe","withContext","createRecipeContext","LoadingSpinnerRoot","circlePath","pointerPath","LoadingSpinner","props","ref","ariaLabel","restProps","progressBarProps","useProgressBar","jsx","mergeProps"],"mappings":";;;;AAMO,MAAMA,IAAuB,gBAAAC,EAAa;AAAA,EAC/C,WAAW;AAAA,EAEX,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,SAAS;AAAA,MACP,UAAU;AAAA;AAAA,MAEV,WAAW;AAAA,IAAA;AAAA,IAEb,2CAA2C;AAAA,MACzC,QAAQ;AAAA,MACR,eAAe;AAAA,MACf,mBAAmB;AAA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AA6B,SAAQ,aAAY,MAAK,QAC/D,UAAA;AAAA,QAAA,gBAAAI;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,GAAGT;AAAA,YACH,iBAAc;AAAA,YACd,aAAY;AAAA,YACZ,eAAc;AAAA,YACd,gBAAe;AAAA,UAAA;AAAA,QAAA;AAAA,QAEjB,gBAAAS;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,GAAGR;AAAA,YACH,iBAAc;AAAA,YACd,aAAY;AAAA,YACZ,eAAc;AAAA,YACd,gBAAe;AAAA,UAAA;AAAA,QAAA;AAAA,MACjB,EAAA,CACF;AAAA,IAAA;AAAA,EAAA;AAGN;AAEAC,EAAe,cAAc;"}
1
+ {"version":3,"file":"loading-spinner-DwN-yshK.es.js","sources":["../../src/components/loading-spinner/loading-spinner.recipe.tsx","../../src/components/loading-spinner/loading-spinner.slots.tsx","../../src/components/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the LoadingSpinner component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const loadingSpinnerRecipe = defineRecipe({\n className: \"nimbus-loading-spinner\",\n\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg\": {\n overflow: \"visible\",\n // This proportionally scales the spinner to fit the container while also scaling padding\n transform: \"scale(calc(1 - 2/12))\",\n },\n \"& svg [data-svg-path='spinner-pointer']\": {\n stroke: \"colorPalette.10\",\n animationName: \"spin\",\n animationDuration: \"0.5s\",\n animationTimingFunction: \"linear\",\n animationIterationCount: \"infinite\",\n transformOrigin: \"center center 0\",\n },\n \"& svg [data-svg-path='spinner-circle']\": {\n stroke: \"colorPalette.5\",\n },\n },\n\n variants: {\n size: {\n \"2xs\": {\n width: \"350\",\n height: \"350\",\n },\n xs: {\n width: \"500\",\n height: \"500\",\n },\n sm: {\n width: \"600\",\n height: \"600\",\n },\n md: {\n width: \"800\",\n height: \"800\",\n },\n lg: {\n width: \"1000\",\n height: \"1000\",\n },\n },\n\n tone: {\n primary: {\n colorPalette: \"ctvioletAlpha\",\n },\n white: {\n colorPalette: \"whiteAlpha\",\n },\n },\n },\n\n defaultVariants: {\n size: \"sm\",\n tone: \"primary\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { loadingSpinnerRecipe } from \"./loading-spinner.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\nexport interface LoadingSpinnerRecipeProps\n extends RecipeProps<\"div\">,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LoadingSpinnerRootProps = Omit<\n HTMLChakraProps<\"div\", LoadingSpinnerRecipeProps>,\n // We want to omit polymorphic props from the root props since they are not used internally.\n \"as\" | \"asChild\"\n>;\n\nconst { withContext } = createRecipeContext({ recipe: loadingSpinnerRecipe });\n\n/**\n * Root component that provides the styling context for the LoadingSpinner component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LoadingSpinnerRoot = withContext<\n HTMLDivElement,\n LoadingSpinnerRootProps\n>(\"div\");\n","import { mergeProps, useProgressBar } from \"react-aria\";\nimport { LoadingSpinnerRoot } from \"./loading-spinner.slots\";\nimport type { LoadingSpinnerProps } from \"./loading-spinner.types\";\n\nconst circlePath =\n \"M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z\";\nconst pointerPath =\n \"M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12\";\n\n/**\n * LoadingSpinner\n * ============================================================\n * Indicates ongoing processes or loading states\n */\nexport const LoadingSpinner = (props: LoadingSpinnerProps) => {\n const { ref, \"aria-label\": ariaLabel = \"Loading data\", ...restProps } = props;\n const { progressBarProps } = useProgressBar({\n isIndeterminate: true,\n \"aria-label\": ariaLabel,\n ...restProps,\n });\n\n return (\n <LoadingSpinnerRoot\n ref={ref}\n {...mergeProps(restProps, progressBarProps)}\n aria-label={ariaLabel}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path\n d={circlePath}\n data-svg-path=\"spinner-circle\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d={pointerPath}\n data-svg-path=\"spinner-pointer\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </LoadingSpinnerRoot>\n );\n};\n\nLoadingSpinner.displayName = \"LoadingSpinner\";\n"],"names":["loadingSpinnerRecipe","defineRecipe","withContext","createRecipeContext","LoadingSpinnerRoot","circlePath","pointerPath","LoadingSpinner","props","ref","ariaLabel","restProps","progressBarProps","useProgressBar","jsx","mergeProps"],"mappings":";;;;AAMO,MAAM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BAAAI,EAAA,IAAqBC,EAAe;AAAA,IAC1C,iBAAiB;AAAA,IACjB,cAAcH;AAAA,IACd,GAAGC;AAAA,EAAA,CACJ;AAED,SACE,gBAAAG;AAAA,IAACV;AAAA,IAAA;AAAA,MACC,KAAAK;AAAA,MACC,GAAGM,EAAWJ,GAAWC,CAAgB;AAAA,MAC1C,cAAYF;AAAA,MAEZ,4BAAC,OAAA,EAAI,OAAM,8BAA6B,SAAQ,aAAY,MAAK,QAC/D,UAAA;AAAA,QAAA,gBAAAI;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,GAAGT;AAAA,YACH,iBAAc;AAAA,YACd,aAAY;AAAA,YACZ,eAAc;AAAA,YACd,gBAAe;AAAA,UAAA;AAAA,QAAA;AAAA,QAEjB,gBAAAS;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,GAAGR;AAAA,YACH,iBAAc;AAAA,YACd,aAAY;AAAA,YACZ,eAAc;AAAA,YACd,gBAAe;AAAA,UAAA;AAAA,QAAA;AAAA,MACjB,EAAA,CACF;AAAA,IAAA;AAAA,EAAA;AAGN;AAEAC,EAAe,cAAc;"}
@@ -1,8 +1,8 @@
1
1
  import { forwardRef as c, useRef as l, isValidElement as a, cloneElement as m } from "react";
2
2
  import { mergeRefs as n } from "@chakra-ui/react";
3
3
  import { $ as s } from "./useObjectRef-CaJ5pgjX.es.js";
4
- import { $ as i } from "./mergeProps-BUo0BHVY.es.js";
5
- import { $ } from "./useFocusable-B4YfgYbi.es.js";
4
+ import { $ as i } from "./mergeProps-Bn6EInU5.es.js";
5
+ import { $ } from "./useFocusable-C_1ABg2H.es.js";
6
6
  const d = /* @__PURE__ */ c(function(e, f) {
7
7
  const r = l(null), o = s(n(r, f)), { focusableProps: t } = $(e, o);
8
8
  if (a(e.children))
@@ -19,4 +19,4 @@ d.displayName = "MakeElementFocusable";
19
19
  export {
20
20
  d as M
21
21
  };
22
- //# sourceMappingURL=make-element-focusable-diGDWsyp.es.js.map
22
+ //# sourceMappingURL=make-element-focusable-BRVwOKkK.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"make-element-focusable-diGDWsyp.es.js","sources":["../../src/components/tooltip/make-element-focusable.tsx"],"sourcesContent":["import {\n cloneElement,\n forwardRef,\n useRef,\n type PropsWithChildren,\n isValidElement,\n} from \"react\";\nimport {\n mergeProps,\n useObjectRef,\n useFocusable,\n type FocusableOptions,\n} from \"react-aria\";\n\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * MakeElementFocusable\n * ============================================================\n * A helper component that adds props from `react-aria`s `useFocusable` hook\n * to its child so that it can be used as a trigger element for a `Tooltip`\n *\n * Caveats:\n * - Using non-interactive elements as tooltip triggers is against ARIA best-practices,\n * it is your responsibility to ensure that the underlying trigger element handles\n * focus and hover interactions correctly for keyboard-only users\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLElement' attributes (including aria- & data-attributes)\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [React Aria Components Issue re:Tooltip with custom trigger](https://github.com/adobe/react-spectrum/issues/5733#issuecomment-1918691983)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport const MakeElementFocusable = forwardRef<\n HTMLElement,\n PropsWithChildren<FocusableOptions<HTMLElement>>\n>(function MakeElementFocusable(props, forwardedRef) {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const { focusableProps } = useFocusable(props, ref);\n if (isValidElement(props.children)) {\n return cloneElement(\n props.children,\n mergeProps(\n focusableProps,\n props.children.props as PropsWithChildren<\n FocusableOptions<HTMLElement>\n >,\n { ref: ref }\n )\n );\n }\n});\nMakeElementFocusable.displayName = \"MakeElementFocusable\";\n"],"names":["MakeElementFocusable","forwardRef","props","forwardedRef","localRef","useRef","ref","useObjectRef","mergeRefs","focusableProps","useFocusable","isValidElement","cloneElement","mergeProps"],"mappings":";;;;;AAoCO,MAAMA,IAAuB,gBAAAC,EAGlC,SAA8BC,GAAOC,GAAc;AACnD,QAAMC,IAAWC,EAAoB,IAAI,GACnCC,IAAMC,EAAaC,EAAUJ,GAAUD,CAAY,CAAC,GACpD,EAAE,gBAAAM,EAAA,IAAmBC,EAAaR,GAAOI,CAAG;AAClD,MAAIK,EAAeT,EAAM,QAAQ;AAC/B,WAAOU;AAAA,MACLV,EAAM;AAAA,MACNW;AAAAA,QACEJ;AAAA,QACAP,EAAM,SAAS;AAAA,QAGf,EAAE,KAAAI,EAAA;AAAA,MAAS;AAAA,IACb;AAGN,CAAC;AACDN,EAAqB,cAAc;"}
1
+ {"version":3,"file":"make-element-focusable-BRVwOKkK.es.js","sources":["../../src/components/tooltip/make-element-focusable.tsx"],"sourcesContent":["import {\n cloneElement,\n forwardRef,\n useRef,\n type PropsWithChildren,\n isValidElement,\n} from \"react\";\nimport {\n mergeProps,\n useObjectRef,\n useFocusable,\n type FocusableOptions,\n} from \"react-aria\";\n\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * MakeElementFocusable\n * ============================================================\n * A helper component that adds props from `react-aria`s `useFocusable` hook\n * to its child so that it can be used as a trigger element for a `Tooltip`\n *\n * Caveats:\n * - Using non-interactive elements as tooltip triggers is against ARIA best-practices,\n * it is your responsibility to ensure that the underlying trigger element handles\n * focus and hover interactions correctly for keyboard-only users\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLElement' attributes (including aria- & data-attributes)\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [React Aria Components Issue re:Tooltip with custom trigger](https://github.com/adobe/react-spectrum/issues/5733#issuecomment-1918691983)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport const MakeElementFocusable = forwardRef<\n HTMLElement,\n PropsWithChildren<FocusableOptions<HTMLElement>>\n>(function MakeElementFocusable(props, forwardedRef) {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const { focusableProps } = useFocusable(props, ref);\n if (isValidElement(props.children)) {\n return cloneElement(\n props.children,\n mergeProps(\n focusableProps,\n props.children.props as PropsWithChildren<\n FocusableOptions<HTMLElement>\n >,\n { ref: ref }\n )\n );\n }\n});\nMakeElementFocusable.displayName = \"MakeElementFocusable\";\n"],"names":["MakeElementFocusable","forwardRef","props","forwardedRef","localRef","useRef","ref","useObjectRef","mergeRefs","focusableProps","useFocusable","isValidElement","cloneElement","mergeProps"],"mappings":";;;;;AAoCO,MAAMA,IAAuB,gBAAAC,EAGlC,SAA8BC,GAAOC,GAAc;AACnD,QAAMC,IAAWC,EAAoB,IAAI,GACnCC,IAAMC,EAAaC,EAAUJ,GAAUD,CAAY,CAAC,GACpD,EAAE,gBAAAM,EAAA,IAAmBC,EAAaR,GAAOI,CAAG;AAClD,MAAIK,EAAeT,EAAM,QAAQ;AAC/B,WAAOU;AAAA,MACLV,EAAM;AAAA,MACNW;AAAAA,QACEJ;AAAA,QACAP,EAAM,SAAS;AAAA,QAGf,EAAE,KAAAI,EAAA;AAAA,MAAS;AAAA,IACb;AAGN,CAAC;AACDN,EAAqB,cAAc;"}
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("react"),o=require("@chakra-ui/react"),a=require("./useObjectRef-4v2MxSjQ.cjs.js"),f=require("./mergeProps--cTsQeLh.cjs.js"),u=require("./useFocusable-41-WL-k6.cjs.js"),t=c.forwardRef(function(e,n){const s=c.useRef(null),r=a.$df56164dff5785e2$export$4338b53315abf666(o.mergeRefs(s,n)),{focusableProps:l}=u.$f645667febf57a63$export$4c014de7c8940b4c(e,r);if(c.isValidElement(e.children))return c.cloneElement(e.children,f.$3ef42575df84b30b$export$9d1611c77c2fe928(l,e.children.props,{ref:r}))});t.displayName="MakeElementFocusable";exports.MakeElementFocusable=t;
2
- //# sourceMappingURL=make-element-focusable-zhwaMi8v.cjs.js.map
1
+ "use strict";const c=require("react"),o=require("@chakra-ui/react"),a=require("./useObjectRef-4v2MxSjQ.cjs.js"),f=require("./mergeProps-VvQrkhSh.cjs.js"),u=require("./useFocusable-Bbz310Qf.cjs.js"),t=c.forwardRef(function(e,n){const s=c.useRef(null),r=a.$df56164dff5785e2$export$4338b53315abf666(o.mergeRefs(s,n)),{focusableProps:l}=u.$f645667febf57a63$export$4c014de7c8940b4c(e,r);if(c.isValidElement(e.children))return c.cloneElement(e.children,f.$3ef42575df84b30b$export$9d1611c77c2fe928(l,e.children.props,{ref:r}))});t.displayName="MakeElementFocusable";exports.MakeElementFocusable=t;
2
+ //# sourceMappingURL=make-element-focusable-DDGKtWBN.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"make-element-focusable-zhwaMi8v.cjs.js","sources":["../../src/components/tooltip/make-element-focusable.tsx"],"sourcesContent":["import {\n cloneElement,\n forwardRef,\n useRef,\n type PropsWithChildren,\n isValidElement,\n} from \"react\";\nimport {\n mergeProps,\n useObjectRef,\n useFocusable,\n type FocusableOptions,\n} from \"react-aria\";\n\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * MakeElementFocusable\n * ============================================================\n * A helper component that adds props from `react-aria`s `useFocusable` hook\n * to its child so that it can be used as a trigger element for a `Tooltip`\n *\n * Caveats:\n * - Using non-interactive elements as tooltip triggers is against ARIA best-practices,\n * it is your responsibility to ensure that the underlying trigger element handles\n * focus and hover interactions correctly for keyboard-only users\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLElement' attributes (including aria- & data-attributes)\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [React Aria Components Issue re:Tooltip with custom trigger](https://github.com/adobe/react-spectrum/issues/5733#issuecomment-1918691983)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport const MakeElementFocusable = forwardRef<\n HTMLElement,\n PropsWithChildren<FocusableOptions<HTMLElement>>\n>(function MakeElementFocusable(props, forwardedRef) {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const { focusableProps } = useFocusable(props, ref);\n if (isValidElement(props.children)) {\n return cloneElement(\n props.children,\n mergeProps(\n focusableProps,\n props.children.props as PropsWithChildren<\n FocusableOptions<HTMLElement>\n >,\n { ref: ref }\n )\n );\n }\n});\nMakeElementFocusable.displayName = \"MakeElementFocusable\";\n"],"names":["MakeElementFocusable","forwardRef","props","forwardedRef","localRef","useRef","ref","useObjectRef","mergeRefs","focusableProps","useFocusable","isValidElement","cloneElement","mergeProps"],"mappings":"sMAoCaA,EAAuBC,EAAAA,WAGlC,SAA8BC,EAAOC,EAAc,CACnD,MAAMC,EAAWC,EAAAA,OAAoB,IAAI,EACnCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUD,CAAY,CAAC,EACpD,CAAE,eAAAM,CAAA,EAAmBC,4CAAaR,EAAOI,CAAG,EAClD,GAAIK,EAAAA,eAAeT,EAAM,QAAQ,EAC/B,OAAOU,EAAAA,aACLV,EAAM,SACNW,EAAAA,0CACEJ,EACAP,EAAM,SAAS,MAGf,CAAE,IAAAI,CAAA,CAAS,CACb,CAGN,CAAC,EACDN,EAAqB,YAAc"}
1
+ {"version":3,"file":"make-element-focusable-DDGKtWBN.cjs.js","sources":["../../src/components/tooltip/make-element-focusable.tsx"],"sourcesContent":["import {\n cloneElement,\n forwardRef,\n useRef,\n type PropsWithChildren,\n isValidElement,\n} from \"react\";\nimport {\n mergeProps,\n useObjectRef,\n useFocusable,\n type FocusableOptions,\n} from \"react-aria\";\n\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * MakeElementFocusable\n * ============================================================\n * A helper component that adds props from `react-aria`s `useFocusable` hook\n * to its child so that it can be used as a trigger element for a `Tooltip`\n *\n * Caveats:\n * - Using non-interactive elements as tooltip triggers is against ARIA best-practices,\n * it is your responsibility to ensure that the underlying trigger element handles\n * focus and hover interactions correctly for keyboard-only users\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLElement' attributes (including aria- & data-attributes)\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [React Aria Components Issue re:Tooltip with custom trigger](https://github.com/adobe/react-spectrum/issues/5733#issuecomment-1918691983)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport const MakeElementFocusable = forwardRef<\n HTMLElement,\n PropsWithChildren<FocusableOptions<HTMLElement>>\n>(function MakeElementFocusable(props, forwardedRef) {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const { focusableProps } = useFocusable(props, ref);\n if (isValidElement(props.children)) {\n return cloneElement(\n props.children,\n mergeProps(\n focusableProps,\n props.children.props as PropsWithChildren<\n FocusableOptions<HTMLElement>\n >,\n { ref: ref }\n )\n );\n }\n});\nMakeElementFocusable.displayName = \"MakeElementFocusable\";\n"],"names":["MakeElementFocusable","forwardRef","props","forwardedRef","localRef","useRef","ref","useObjectRef","mergeRefs","focusableProps","useFocusable","isValidElement","cloneElement","mergeProps"],"mappings":"sMAoCaA,EAAuBC,EAAAA,WAGlC,SAA8BC,EAAOC,EAAc,CACnD,MAAMC,EAAWC,EAAAA,OAAoB,IAAI,EACnCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUD,CAAY,CAAC,EACpD,CAAE,eAAAM,CAAA,EAAmBC,4CAAaR,EAAOI,CAAG,EAClD,GAAIK,EAAAA,eAAeT,EAAM,QAAQ,EAC/B,OAAOU,EAAAA,aACLV,EAAM,SACNW,EAAAA,0CACEJ,EACAP,EAAM,SAAS,MAGf,CAAE,IAAAI,CAAA,CAAS,CACb,CAGN,CAAC,EACDN,EAAqB,YAAc"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("react/jsx-runtime"),q=require("@chakra-ui/react"),d=require("./Dialog-Btds5x4W.cjs.js"),K=require("./nimbus-provider-zUukT3WE.cjs.js"),S=require("react"),L=require("./Button-BjOgrRmH.cjs.js"),M=require("./extractStyleProps-lyk7D-zN.cjs.js"),x=require("@commercetools/nimbus-icons"),O=require("./icon-D50i-dqv.cjs.js"),E=require("./box-FU6tRPFs.cjs.js"),m=require("./Separator-BFKzWOOv.cjs.js"),{withProvider:D,withContext:a}=q.createSlotRecipeContext({recipe:K.menuSlotRecipe}),U=D("div","root"),R=a("button","trigger"),V=a("div","popover"),W=a("div","content"),z=a("div","item"),A=a("div","separator"),G=a("div","section"),H=a("div","sectionLabel"),T=S.createContext(void 0),J=T.Provider,C=()=>S.useContext(T),j=t=>{const n=q.useSlotRecipe({key:"menu"}),[r,o]=n.splitVariantProps(t),{children:c,trigger:s,isOpen:i,defaultOpen:b,onOpenChange:l,...p}=o,u={trigger:s,isOpen:i,defaultOpen:b,onOpenChange:l};return e.jsx(U,{...r,asChild:!0,children:e.jsx(d.$3674c52c6b3c5bce$export$27d2ad3c5815583e,{...u,children:e.jsx(J,{value:p,children:c})})})};j.displayName="Menu.Root";const g=({children:t,asChild:n,ref:r,...o})=>{const[c,s]=M.extractStyleProps(o);return n?e.jsx(R,{ref:r,asChild:!0,...c,children:t}):e.jsx(R,{asChild:!0,...c,children:e.jsx(L.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{ref:r,...s,children:t})})};g.displayName="Menu.Trigger";const N=S.createContext(void 0),I=N.Provider,Q=()=>S.useContext(N),h=({children:t,placement:n,ref:r})=>{const o=C();if(!o)throw new Error("Menu.Content must be used within Menu.Root");const{placement:c,...s}=o,i=n||c||"bottom start";return e.jsx(I,{value:{selectionMode:s.selectionMode},children:e.jsx(V,{asChild:!0,children:e.jsx(d.$07b14b47974efb58$export$5b6b19405a83ff9d,{placement:i,offset:4,shouldFlip:!0,children:e.jsx(W,{asChild:!0,children:e.jsx(d.$3674c52c6b3c5bce$export$d9b273488cd8ce6f,{ref:r,shouldFocusWrap:!0,autoFocus:"first",...s,children:t})})})})})};h.displayName="Menu.Content";const P=({children:t,isCritical:n,ref:r,...o})=>{const[c,s]=M.extractStyleProps(o),i=C(),l=Q()?.selectionMode??i?.selectionMode;return e.jsx(z,{asChild:!0,...c,"data-critical":n?"":void 0,children:e.jsx(d.$3674c52c6b3c5bce$export$2ce376c2cc3355c8,{ref:r,...s,children:({hasSubmenu:p,isSelected:u})=>e.jsxs(e.Fragment,{children:[l&&e.jsxs(E.Box,{slot:"selection",role:"presentation","aria-hidden":"true",children:[l==="single"&&e.jsxs(e.Fragment,{children:[u&&e.jsx(x.RadioButtonChecked,{}),!u&&e.jsx(x.RadioButtonUnchecked,{})]}),l==="multiple"&&e.jsxs(e.Fragment,{children:[u&&e.jsx(x.CheckBox,{}),!u&&e.jsx(x.CheckBoxOutlineBlank,{})]})]}),t,p&&e.jsx(O.Icon,{slot:"caretIcon",children:e.jsx(x.ChevronRight,{})})]})})})};P.displayName="Menu.Item";const $=({ref:t,...n})=>{const[r,o]=M.extractStyleProps(n);return e.jsx(A,{asChild:!0,...r,children:e.jsx(m.$431f98aba6844401$export$1ff3c3f08ae963c0,{ref:t,...o})})};$.displayName="Menu.Separator";const w=({children:t,ref:n,...r})=>{const[o,c]=M.extractStyleProps(r);return e.jsx(H,{asChild:!0,...o,children:e.jsx(m.$72a5793c14baf454$export$8b251419efc915eb,{ref:n,...c,children:t})})};w.displayName="Menu.SectionLabel";const y=({children:t,ref:n,label:r,items:o,...c})=>{const s=C(),{selectionMode:i=s?.selectionMode,selectedKeys:b=s?.selectedKeys,defaultSelectedKeys:l=s?.defaultSelectedKeys,onSelectionChange:p=s?.onSelectionChange,disallowEmptySelection:u=s?.disallowEmptySelection,...B}=c,[k,F]=M.extractStyleProps(B);return e.jsx(I,{value:{selectionMode:i},children:e.jsx(G,{asChild:!0,...k,children:e.jsxs(d.$3674c52c6b3c5bce$export$4b1545b4f2016d26,{ref:n,selectionMode:i,selectedKeys:b,defaultSelectedKeys:l,onSelectionChange:p,disallowEmptySelection:u,...F,children:[e.jsx(w,{children:r}),o?e.jsx(m.$e1995378a142960e$export$fb8073518f34e6ec,{items:o,children:t}):t]})})})};y.displayName="Menu.Section";const f=({children:t,...n})=>e.jsx(d.$3674c52c6b3c5bce$export$ecabc99eeffab7ca,{...n,children:t});f.displayName="Menu.SubmenuTrigger";const v=({children:t,...n})=>e.jsx(h,{...n,placement:"end",children:t});v.displayName="Menu.Submenu";const X={Root:j,Trigger:g,Content:h,Item:P,Separator:$,Section:y,Submenu:v,SubmenuTrigger:f};exports.Menu=X;exports.MenuContent=h;exports.MenuItem=P;exports.MenuRoot=j;exports.MenuSection=y;exports.MenuSeparator=$;exports.MenuSubmenu=v;exports.MenuSubmenuTrigger=f;exports.MenuTrigger=g;
2
+ //# sourceMappingURL=menu-BnUXBlRL.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-BnUXBlRL.cjs.js","sources":["../../src/components/menu/menu.slots.tsx","../../src/components/menu/components/menu.context.tsx","../../src/components/menu/components/menu.root.tsx","../../src/components/menu/components/menu.trigger.tsx","../../src/components/menu/components/menu.section-context.tsx","../../src/components/menu/components/menu.content.tsx","../../src/components/menu/components/menu.item.tsx","../../src/components/menu/components/menu.separator.tsx","../../src/components/menu/components/menu.section-label.tsx","../../src/components/menu/components/menu.section.tsx","../../src/components/menu/components/menu.submenu-trigger.tsx","../../src/components/menu/components/menu.submenu.tsx","../../src/components/menu/menu.tsx"],"sourcesContent":["import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react\";\nimport { menuSlotRecipe } from \"./menu.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: menuSlotRecipe,\n});\n\n// Menu Root\nexport type MenuRootSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuRootSlot = withProvider<HTMLDivElement, MenuRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Menu Trigger\nexport type MenuTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const MenuTriggerSlot = withContext<\n HTMLButtonElement,\n MenuTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Menu Popover\nexport type MenuPopoverSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuPopoverSlot = withContext<\n HTMLDivElement,\n MenuPopoverSlotProps\n>(\"div\", \"popover\");\n\n// Menu Content\nexport type MenuContentSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuContentSlot = withContext<\n HTMLDivElement,\n MenuContentSlotProps\n>(\"div\", \"content\");\n\n// Menu Item\nexport type MenuItemSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuItemSlot = withContext<HTMLDivElement, MenuItemSlotProps>(\n \"div\",\n \"item\"\n);\n\n// Menu Separator\nexport type MenuSeparatorSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSeparatorSlot = withContext<\n HTMLDivElement,\n MenuSeparatorSlotProps\n>(\"div\", \"separator\");\n\n// Menu Section\nexport type MenuSectionSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionSlot = withContext<\n HTMLDivElement,\n MenuSectionSlotProps\n>(\"div\", \"section\");\n\n// Menu Section Label\nexport type MenuSectionLabelSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionLabelSlot = withContext<\n HTMLDivElement,\n MenuSectionLabelSlotProps\n>(\"div\", \"sectionLabel\");\n\n// Menu Group Label\nexport type MenuSubmenuSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSubmenuSlot = withContext<\n HTMLDivElement,\n MenuSubmenuSlotProps\n>(\"div\", \"submenu\");\n","import { createContext, useContext } from \"react\";\nimport type { MenuRootProps } from \"./../menu.types\";\nimport type { MenuTriggerProps as RaMenuTriggerProps } from \"react-aria-components\";\n\n// Context should contain all Menu props (excluding MenuTrigger-specific props)\nexport type MenuContextValue = Omit<\n MenuRootProps,\n keyof RaMenuTriggerProps | \"children\" | \"trigger\"\n>;\n\nconst MenuContext = createContext<MenuContextValue | undefined>(undefined);\n\nexport const MenuProvider = MenuContext.Provider;\n\nexport const useMenuContext = () => {\n const context = useContext(MenuContext);\n return context;\n};\n","import { useSlotRecipe } from \"@chakra-ui/react\";\nimport { MenuTrigger as RaMenuTrigger } from \"react-aria-components\";\nimport type { MenuRootProps } from \"../menu.types\";\nimport { MenuRootSlot } from \"../menu.slots\";\nimport { MenuProvider } from \"./menu.context\";\n\nexport const MenuRoot = (props: MenuRootProps) => {\n const recipe = useSlotRecipe({ key: \"menu\" });\n const [recipeProps, functionalProps] = recipe.splitVariantProps(props);\n\n // Separate MenuTrigger props from Menu props\n const {\n children,\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n ...menuContextProps\n } = functionalProps;\n\n const menuTriggerProps = {\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n };\n\n return (\n <MenuRootSlot {...recipeProps} asChild>\n <RaMenuTrigger {...menuTriggerProps}>\n <MenuProvider value={menuContextProps}>{children}</MenuProvider>\n </RaMenuTrigger>\n </MenuRootSlot>\n );\n};\n\nMenuRoot.displayName = \"Menu.Root\";\n","import { Button } from \"react-aria-components\";\nimport { MenuTriggerSlot } from \"../menu.slots\";\nimport type { MenuTriggerProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuTrigger = ({\n children,\n asChild,\n ref,\n ...props\n}: MenuTriggerProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n /**\n * The user supplied a Button as the trigger\n */\n if (asChild) {\n // When asChild is true, apply styles to the child element\n return (\n <MenuTriggerSlot ref={ref} asChild {...styleProps}>\n {children as ReactNode}\n </MenuTriggerSlot>\n );\n }\n\n /**\n * The user did not supply a Button as trigger, use an unstyled button\n * to wrap which ever element the user supplied and make it a trigger\n */\n return (\n <MenuTriggerSlot asChild {...styleProps}>\n <Button ref={ref} {...restProps}>\n {children}\n </Button>\n </MenuTriggerSlot>\n );\n};\n\nMenuTrigger.displayName = \"Menu.Trigger\";\n","import { createContext, useContext } from \"react\";\n\nexport interface MenuSectionContextValue {\n selectionMode?: \"single\" | \"multiple\" | \"none\";\n}\n/**\n * Why is a second context (MenuSectionContext) needed?\n *\n * MenuSectionContext enables section-level config for menu items, such as\n * selection mode, which may differ from the global menu context. This allows\n * advanced menus where each section can have its own selection behavior\n * (e.g., one section is single-select, another is multi-select).\n * By scoping context to a section, menu items inherit settings from their\n * nearest section, falling back to the global menu context if not present.\n * This pattern improves flexibility and composability for complex menus,\n * and avoids prop drilling or awkward prop merging.\n */\n\nconst MenuSectionContext = createContext<MenuSectionContextValue | undefined>(\n undefined\n);\n\nexport const MenuSectionProvider = MenuSectionContext.Provider;\n\nexport const useMenuSectionContext = () => {\n return useContext(MenuSectionContext);\n};\n","import { Menu, Popover } from \"react-aria-components\";\nimport { MenuContentSlot, MenuPopoverSlot } from \"../menu.slots\";\nimport type { MenuContentProps } from \"../menu.types\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\n\nexport const MenuContent = ({\n children,\n placement: placementOverride,\n ref,\n}: MenuContentProps) => {\n const contextProps = useMenuContext();\n\n if (!contextProps) {\n throw new Error(\"Menu.Content must be used within Menu.Root\");\n }\n\n // Separate placement from other props since it's handled by Popover\n const { placement, ...menuProps } = contextProps;\n const finalPlacement = placementOverride || placement || \"bottom start\";\n\n return (\n <MenuSectionProvider value={{ selectionMode: menuProps.selectionMode }}>\n <MenuPopoverSlot asChild>\n <Popover placement={finalPlacement} offset={4} shouldFlip>\n <MenuContentSlot asChild>\n <Menu ref={ref} shouldFocusWrap autoFocus=\"first\" {...menuProps}>\n {children}\n </Menu>\n </MenuContentSlot>\n </Popover>\n </MenuPopoverSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuContent.displayName = \"Menu.Content\";\n","import { MenuItem as RaMenuItem } from \"react-aria-components\";\nimport { MenuItemSlot } from \"../menu.slots\";\nimport type { MenuItemProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport {\n CheckBox as CheckboxCheckedIcon,\n CheckBoxOutlineBlank as CheckboxUncheckedIcon,\n ChevronRight,\n RadioButtonChecked,\n RadioButtonUnchecked,\n} from \"@commercetools/nimbus-icons\";\nimport { Icon } from \"@/components/icon\";\nimport { useMenuContext } from \"./menu.context\";\nimport { useMenuSectionContext } from \"./menu.section-context\";\nimport { Box } from \"@/components/box\";\n\nexport const MenuItem = ({\n children,\n isCritical,\n ref,\n ...props\n}: MenuItemProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n const menuContext = useMenuContext();\n const sectionContext = useMenuSectionContext();\n\n // Use section context if available, otherwise fall back to menu context\n const selectionMode =\n sectionContext?.selectionMode ?? menuContext?.selectionMode;\n\n return (\n <MenuItemSlot\n asChild\n {...styleProps}\n data-critical={isCritical ? \"\" : undefined}\n >\n <RaMenuItem ref={ref} {...restProps}>\n {({ hasSubmenu, isSelected }) => (\n <>\n {selectionMode && (\n <Box slot=\"selection\" role=\"presentation\" aria-hidden=\"true\">\n {selectionMode === \"single\" && (\n <>\n {isSelected && <RadioButtonChecked />}\n {!isSelected && <RadioButtonUnchecked />}\n </>\n )}\n {selectionMode === \"multiple\" && (\n <>\n {isSelected && <CheckboxCheckedIcon />}\n {!isSelected && <CheckboxUncheckedIcon />}\n </>\n )}\n </Box>\n )}\n {children}\n {hasSubmenu && (\n <Icon slot=\"caretIcon\">\n <ChevronRight />\n </Icon>\n )}\n </>\n )}\n </RaMenuItem>\n </MenuItemSlot>\n );\n};\n\nMenuItem.displayName = \"Menu.Item\";\n","import { Separator } from \"react-aria-components\";\nimport { MenuSeparatorSlot } from \"../menu.slots\";\nimport type { MenuSeparatorProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nexport const MenuSeparator = ({ ref, ...props }: MenuSeparatorProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSeparatorSlot asChild {...styleProps}>\n <Separator ref={ref} {...restProps} />\n </MenuSeparatorSlot>\n );\n};\n\nMenuSeparator.displayName = \"Menu.Separator\";\n","import { Header } from \"react-aria-components\";\nimport { MenuSectionLabelSlot } from \"../menu.slots\";\nimport type { MenuSectionLabelProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\n/**\n * Used in MenuSection for rendering the `label` property.\n */\nexport const MenuSectionLabel = ({\n children,\n ref,\n ...props\n}: MenuSectionLabelProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSectionLabelSlot asChild {...styleProps}>\n <Header ref={ref} {...restProps}>\n {children}\n </Header>\n </MenuSectionLabelSlot>\n );\n};\n\nMenuSectionLabel.displayName = \"Menu.SectionLabel\";\n","import {\n MenuSection as RaMenuSection,\n Collection,\n} from \"react-aria-components\";\nimport { MenuSectionSlot } from \"../menu.slots\";\nimport type { MenuSectionProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\nimport { MenuSectionLabel } from \"./menu.section-label\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuSection = <T extends object = object>({\n children,\n ref,\n label,\n items,\n ...props\n}: MenuSectionProps<T>) => {\n const contextProps = useMenuContext();\n\n // Extract selection-related props before extracting style props\n const {\n selectionMode = contextProps?.selectionMode,\n selectedKeys = contextProps?.selectedKeys,\n defaultSelectedKeys = contextProps?.defaultSelectedKeys,\n onSelectionChange = contextProps?.onSelectionChange,\n disallowEmptySelection = contextProps?.disallowEmptySelection,\n ...restProps\n } = props;\n\n const [styleProps, otherProps] = extractStyleProps(restProps);\n\n return (\n <MenuSectionProvider value={{ selectionMode }}>\n <MenuSectionSlot asChild {...styleProps}>\n <RaMenuSection\n ref={ref}\n selectionMode={selectionMode}\n selectedKeys={selectedKeys}\n defaultSelectedKeys={defaultSelectedKeys}\n onSelectionChange={onSelectionChange}\n disallowEmptySelection={disallowEmptySelection}\n {...otherProps}\n >\n <MenuSectionLabel>{label}</MenuSectionLabel>\n {items ? (\n <Collection items={items}>{children}</Collection>\n ) : (\n (children as ReactNode)\n )}\n </RaMenuSection>\n </MenuSectionSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuSection.displayName = \"Menu.Section\";\n","import { SubmenuTrigger as RaSubmenuTrigger } from \"react-aria-components\";\nimport type { MenuSubmenuTriggerProps } from \"../menu.types\";\n\nexport const MenuSubmenuTrigger = ({\n children,\n ...props\n}: MenuSubmenuTriggerProps) => {\n return <RaSubmenuTrigger {...props}>{children}</RaSubmenuTrigger>;\n};\n\nMenuSubmenuTrigger.displayName = \"Menu.SubmenuTrigger\";\n","import type { MenuSubmenuProps } from \"../menu.types\";\nimport { MenuContent } from \"./menu.content\";\n\nexport const MenuSubmenu = ({ children, ...props }: MenuSubmenuProps) => {\n return (\n <MenuContent {...props} placement=\"end\">\n {children}\n </MenuContent>\n );\n};\n\nMenuSubmenu.displayName = \"Menu.Submenu\";\n","import { MenuRoot } from \"./components/menu.root\";\nimport { MenuTrigger } from \"./components/menu.trigger\";\nimport { MenuContent } from \"./components/menu.content\";\nimport { MenuItem } from \"./components/menu.item\";\nimport { MenuSeparator } from \"./components/menu.separator\";\nimport { MenuSection } from \"./components/menu.section\";\nimport { MenuSubmenuTrigger } from \"./components/menu.submenu-trigger\";\nimport { MenuSubmenu } from \"./components/menu.submenu\";\n\n// Re-export types\nexport type * from \"./menu.types\";\n\nexport const Menu = {\n Root: MenuRoot,\n Trigger: MenuTrigger,\n Content: MenuContent,\n Item: MenuItem,\n Separator: MenuSeparator,\n Section: MenuSection,\n Submenu: MenuSubmenu,\n SubmenuTrigger: MenuSubmenuTrigger,\n};\n\n// Exports for internal use by react-docgen\nexport {\n MenuRoot as _MenuRoot,\n MenuTrigger as _MenuTrigger,\n MenuContent as _MenuContent,\n MenuItem as _MenuItem,\n MenuSeparator as _MenuSeparator,\n MenuSection as _MenuSection,\n MenuSubmenuTrigger as _MenuSubmenuTrigger,\n MenuSubmenu as _MenuSubmenu,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","menuSlotRecipe","MenuRootSlot","MenuTriggerSlot","MenuPopoverSlot","MenuContentSlot","MenuItemSlot","MenuSeparatorSlot","MenuSectionSlot","MenuSectionLabelSlot","MenuContext","createContext","MenuProvider","useMenuContext","useContext","MenuRoot","props","recipe","useSlotRecipe","recipeProps","functionalProps","children","trigger","isOpen","defaultOpen","onOpenChange","menuContextProps","menuTriggerProps","jsx","RaMenuTrigger","MenuTrigger","asChild","ref","styleProps","restProps","extractStyleProps","Button","MenuSectionContext","MenuSectionProvider","useMenuSectionContext","MenuContent","placementOverride","contextProps","placement","menuProps","finalPlacement","Popover","Menu","MenuItem","isCritical","menuContext","selectionMode","RaMenuItem","hasSubmenu","isSelected","jsxs","Fragment","Box","RadioButtonChecked","RadioButtonUnchecked","CheckboxCheckedIcon","CheckboxUncheckedIcon","Icon","ChevronRight","MenuSeparator","Separator","MenuSectionLabel","Header","MenuSection","label","items","selectedKeys","defaultSelectedKeys","onSelectionChange","disallowEmptySelection","otherProps","RaMenuSection","Collection","MenuSubmenuTrigger","RaSubmenuTrigger","MenuSubmenu"],"mappings":"waAMM,CAAE,aAAAA,EAAc,YAAAC,CAAA,EAAgBC,0BAAwB,CAC5D,OAAQC,EAAAA,cACV,CAAC,EAIYC,EAAeJ,EAC1B,MACA,MACF,EAIaK,EAAkBJ,EAG7B,SAAU,SAAS,EAIRK,EAAkBL,EAG7B,MAAO,SAAS,EAILM,EAAkBN,EAG7B,MAAO,SAAS,EAILO,EAAeP,EAC1B,MACA,MACF,EAIaQ,EAAoBR,EAG/B,MAAO,WAAW,EAIPS,EAAkBT,EAG7B,MAAO,SAAS,EAILU,EAAuBV,EAGlC,MAAO,cAAc,ECtDjBW,EAAcC,EAAAA,cAA4C,MAAS,EAE5DC,EAAeF,EAAY,SAE3BG,EAAiB,IACZC,EAAAA,WAAWJ,CA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U,EAAIxC,EAAAA,kBAAkBD,CAAS,EAE5D,OACEN,EAAAA,IAACU,EAAA,CAAoB,MAAO,CAAE,cAAAa,CAAA,EAC5B,SAAAvB,EAAAA,IAACpB,EAAA,CAAgB,QAAO,GAAE,GAAGyB,EAC3B,SAAAsB,EAAAA,KAACqB,EAAAA,0CAAA,CACC,IAAA5C,EACA,cAAAmB,EACA,aAAAoB,EACA,oBAAAC,EACA,kBAAAC,EACA,uBAAAC,EACC,GAAGC,EAEJ,SAAA,CAAA/C,EAAAA,IAACsC,GAAkB,SAAAG,CAAA,CAAM,EACxBC,EACC1C,EAAAA,IAACiD,EAAAA,0CAAA,CAAW,MAAAP,EAAe,SAAAjD,EAAS,EAEnCA,CAAA,CAAA,CAAA,EAGP,CAAA,CACF,CAEJ,EAEA+C,EAAY,YAAc,eCtDnB,MAAMU,EAAqB,CAAC,CACjC,SAAAzD,EACA,GAAGL,CACL,IACSY,EAAAA,IAACmD,EAAAA,0CAAA,CAAkB,GAAG/D,EAAQ,SAAAK,CAAA,CAAS,EAGhDyD,EAAmB,YAAc,sBCP1B,MAAME,EAAc,CAAC,CAAE,SAAA3D,EAAU,GAAGL,WAEtCwB,EAAA,CAAa,GAAGxB,EAAO,UAAU,MAC/B,SAAAK,EACH,EAIJ2D,EAAY,YAAc,eCCnB,MAAMjC,EAAO,CAClB,KAAMhC,EACN,QAASe,EACT,QAASU,EACT,KAAMQ,EACN,UAAWgB,EACX,QAASI,EACT,QAASY,EACT,eAAgBF,CAClB"}
@@ -0,0 +1,167 @@
1
+ import { jsx as e, jsxs as p, Fragment as b } from "react/jsx-runtime";
2
+ import { createSlotRecipeContext as L, useSlotRecipe as O } from "@chakra-ui/react";
3
+ import { f as j, $ as E, g as q, h as U, i as V, j as W } from "./Dialog-CFERgD91.es.js";
4
+ import { m as z } from "./nimbus-provider-CDXyYH9f.es.js";
5
+ import { createContext as x, useContext as C } from "react";
6
+ import { a as A } from "./Button-BsN1D5Hi.es.js";
7
+ import { e as m } from "./extractStyleProps-CxgBrz3O.es.js";
8
+ import { RadioButtonChecked as D, RadioButtonUnchecked as G, CheckBox as H, CheckBoxOutlineBlank as J, ChevronRight as Q } from "@commercetools/nimbus-icons";
9
+ import { I as X } from "./icon-BFNYuilh.es.js";
10
+ import { B as Y } from "./box-DD4jYgS7.es.js";
11
+ import { p as Z, q as _, i as ee } from "./Separator-CBgksjWN.es.js";
12
+ const { withProvider: te, withContext: l } = /* @__PURE__ */ L({
13
+ recipe: z
14
+ }), oe = /* @__PURE__ */ te(
15
+ "div",
16
+ "root"
17
+ ), S = /* @__PURE__ */ l("button", "trigger"), ne = /* @__PURE__ */ l("div", "popover"), re = /* @__PURE__ */ l("div", "content"), ce = /* @__PURE__ */ l(
18
+ "div",
19
+ "item"
20
+ ), se = /* @__PURE__ */ l("div", "separator"), ie = /* @__PURE__ */ l("div", "section"), ae = /* @__PURE__ */ l("div", "sectionLabel"), $ = /* @__PURE__ */ x(void 0), ue = $.Provider, M = () => C($), g = (t) => {
21
+ const o = O({ key: "menu" }), [r, n] = o.splitVariantProps(t), {
22
+ children: s,
23
+ trigger: c,
24
+ isOpen: i,
25
+ defaultOpen: h,
26
+ onOpenChange: a,
27
+ ...d
28
+ } = n;
29
+ return /* @__PURE__ */ e(oe, { ...r, asChild: !0, children: /* @__PURE__ */ e(j, { ...{
30
+ trigger: c,
31
+ isOpen: i,
32
+ defaultOpen: h,
33
+ onOpenChange: a
34
+ }, children: /* @__PURE__ */ e(ue, { value: d, children: s }) }) });
35
+ };
36
+ g.displayName = "Menu.Root";
37
+ const P = ({
38
+ children: t,
39
+ asChild: o,
40
+ ref: r,
41
+ ...n
42
+ }) => {
43
+ const [s, c] = m(n);
44
+ return o ? /* @__PURE__ */ e(S, { ref: r, asChild: !0, ...s, children: t }) : /* @__PURE__ */ e(S, { asChild: !0, ...s, children: /* @__PURE__ */ e(A, { ref: r, ...c, children: t }) });
45
+ };
46
+ P.displayName = "Menu.Trigger";
47
+ const v = /* @__PURE__ */ x(
48
+ void 0
49
+ ), y = v.Provider, le = () => C(v), f = ({
50
+ children: t,
51
+ placement: o,
52
+ ref: r
53
+ }) => {
54
+ const n = M();
55
+ if (!n)
56
+ throw new Error("Menu.Content must be used within Menu.Root");
57
+ const { placement: s, ...c } = n, i = o || s || "bottom start";
58
+ return /* @__PURE__ */ e(y, { value: { selectionMode: c.selectionMode }, children: /* @__PURE__ */ e(ne, { asChild: !0, children: /* @__PURE__ */ e(E, { placement: i, offset: 4, shouldFlip: !0, children: /* @__PURE__ */ e(re, { asChild: !0, children: /* @__PURE__ */ e(q, { ref: r, shouldFocusWrap: !0, autoFocus: "first", ...c, children: t }) }) }) }) });
59
+ };
60
+ f.displayName = "Menu.Content";
61
+ const R = ({
62
+ children: t,
63
+ isCritical: o,
64
+ ref: r,
65
+ ...n
66
+ }) => {
67
+ const [s, c] = m(n), i = M(), a = le()?.selectionMode ?? i?.selectionMode;
68
+ return /* @__PURE__ */ e(
69
+ ce,
70
+ {
71
+ asChild: !0,
72
+ ...s,
73
+ "data-critical": o ? "" : void 0,
74
+ children: /* @__PURE__ */ e(U, { ref: r, ...c, children: ({ hasSubmenu: d, isSelected: u }) => /* @__PURE__ */ p(b, { children: [
75
+ a && /* @__PURE__ */ p(Y, { slot: "selection", role: "presentation", "aria-hidden": "true", children: [
76
+ a === "single" && /* @__PURE__ */ p(b, { children: [
77
+ u && /* @__PURE__ */ e(D, {}),
78
+ !u && /* @__PURE__ */ e(G, {})
79
+ ] }),
80
+ a === "multiple" && /* @__PURE__ */ p(b, { children: [
81
+ u && /* @__PURE__ */ e(H, {}),
82
+ !u && /* @__PURE__ */ e(J, {})
83
+ ] })
84
+ ] }),
85
+ t,
86
+ d && /* @__PURE__ */ e(X, { slot: "caretIcon", children: /* @__PURE__ */ e(Q, {}) })
87
+ ] }) })
88
+ }
89
+ );
90
+ };
91
+ R.displayName = "Menu.Item";
92
+ const N = ({ ref: t, ...o }) => {
93
+ const [r, n] = m(o);
94
+ return /* @__PURE__ */ e(se, { asChild: !0, ...r, children: /* @__PURE__ */ e(Z, { ref: t, ...n }) });
95
+ };
96
+ N.displayName = "Menu.Separator";
97
+ const T = ({
98
+ children: t,
99
+ ref: o,
100
+ ...r
101
+ }) => {
102
+ const [n, s] = m(r);
103
+ return /* @__PURE__ */ e(ae, { asChild: !0, ...n, children: /* @__PURE__ */ e(_, { ref: o, ...s, children: t }) });
104
+ };
105
+ T.displayName = "Menu.SectionLabel";
106
+ const w = ({
107
+ children: t,
108
+ ref: o,
109
+ label: r,
110
+ items: n,
111
+ ...s
112
+ }) => {
113
+ const c = M(), {
114
+ selectionMode: i = c?.selectionMode,
115
+ selectedKeys: h = c?.selectedKeys,
116
+ defaultSelectedKeys: a = c?.defaultSelectedKeys,
117
+ onSelectionChange: d = c?.onSelectionChange,
118
+ disallowEmptySelection: u = c?.disallowEmptySelection,
119
+ ...k
120
+ } = s, [F, K] = m(k);
121
+ return /* @__PURE__ */ e(y, { value: { selectionMode: i }, children: /* @__PURE__ */ e(ie, { asChild: !0, ...F, children: /* @__PURE__ */ p(
122
+ V,
123
+ {
124
+ ref: o,
125
+ selectionMode: i,
126
+ selectedKeys: h,
127
+ defaultSelectedKeys: a,
128
+ onSelectionChange: d,
129
+ disallowEmptySelection: u,
130
+ ...K,
131
+ children: [
132
+ /* @__PURE__ */ e(T, { children: r }),
133
+ n ? /* @__PURE__ */ e(ee, { items: n, children: t }) : t
134
+ ]
135
+ }
136
+ ) }) });
137
+ };
138
+ w.displayName = "Menu.Section";
139
+ const B = ({
140
+ children: t,
141
+ ...o
142
+ }) => /* @__PURE__ */ e(W, { ...o, children: t });
143
+ B.displayName = "Menu.SubmenuTrigger";
144
+ const I = ({ children: t, ...o }) => /* @__PURE__ */ e(f, { ...o, placement: "end", children: t });
145
+ I.displayName = "Menu.Submenu";
146
+ const ge = {
147
+ Root: g,
148
+ Trigger: P,
149
+ Content: f,
150
+ Item: R,
151
+ Separator: N,
152
+ Section: w,
153
+ Submenu: I,
154
+ SubmenuTrigger: B
155
+ };
156
+ export {
157
+ ge as M,
158
+ g as a,
159
+ P as b,
160
+ f as c,
161
+ R as d,
162
+ N as e,
163
+ w as f,
164
+ B as g,
165
+ I as h
166
+ };
167
+ //# sourceMappingURL=menu-DcEXCIN3.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-DcEXCIN3.es.js","sources":["../../src/components/menu/menu.slots.tsx","../../src/components/menu/components/menu.context.tsx","../../src/components/menu/components/menu.root.tsx","../../src/components/menu/components/menu.trigger.tsx","../../src/components/menu/components/menu.section-context.tsx","../../src/components/menu/components/menu.content.tsx","../../src/components/menu/components/menu.item.tsx","../../src/components/menu/components/menu.separator.tsx","../../src/components/menu/components/menu.section-label.tsx","../../src/components/menu/components/menu.section.tsx","../../src/components/menu/components/menu.submenu-trigger.tsx","../../src/components/menu/components/menu.submenu.tsx","../../src/components/menu/menu.tsx"],"sourcesContent":["import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react\";\nimport { menuSlotRecipe } from \"./menu.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: menuSlotRecipe,\n});\n\n// Menu Root\nexport type MenuRootSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuRootSlot = withProvider<HTMLDivElement, MenuRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Menu Trigger\nexport type MenuTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const MenuTriggerSlot = withContext<\n HTMLButtonElement,\n MenuTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Menu Popover\nexport type MenuPopoverSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuPopoverSlot = withContext<\n HTMLDivElement,\n MenuPopoverSlotProps\n>(\"div\", \"popover\");\n\n// Menu Content\nexport type MenuContentSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuContentSlot = withContext<\n HTMLDivElement,\n MenuContentSlotProps\n>(\"div\", \"content\");\n\n// Menu Item\nexport type MenuItemSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuItemSlot = withContext<HTMLDivElement, MenuItemSlotProps>(\n \"div\",\n \"item\"\n);\n\n// Menu Separator\nexport type MenuSeparatorSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSeparatorSlot = withContext<\n HTMLDivElement,\n MenuSeparatorSlotProps\n>(\"div\", \"separator\");\n\n// Menu Section\nexport type MenuSectionSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionSlot = withContext<\n HTMLDivElement,\n MenuSectionSlotProps\n>(\"div\", \"section\");\n\n// Menu Section Label\nexport type MenuSectionLabelSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionLabelSlot = withContext<\n HTMLDivElement,\n MenuSectionLabelSlotProps\n>(\"div\", \"sectionLabel\");\n\n// Menu Group Label\nexport type MenuSubmenuSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSubmenuSlot = withContext<\n HTMLDivElement,\n MenuSubmenuSlotProps\n>(\"div\", \"submenu\");\n","import { createContext, useContext } from \"react\";\nimport type { MenuRootProps } from \"./../menu.types\";\nimport type { MenuTriggerProps as RaMenuTriggerProps } from \"react-aria-components\";\n\n// Context should contain all Menu props (excluding MenuTrigger-specific props)\nexport type MenuContextValue = Omit<\n MenuRootProps,\n keyof RaMenuTriggerProps | \"children\" | \"trigger\"\n>;\n\nconst MenuContext = createContext<MenuContextValue | undefined>(undefined);\n\nexport const MenuProvider = MenuContext.Provider;\n\nexport const useMenuContext = () => {\n const context = useContext(MenuContext);\n return context;\n};\n","import { useSlotRecipe } from \"@chakra-ui/react\";\nimport { MenuTrigger as RaMenuTrigger } from \"react-aria-components\";\nimport type { MenuRootProps } from \"../menu.types\";\nimport { MenuRootSlot } from \"../menu.slots\";\nimport { MenuProvider } from \"./menu.context\";\n\nexport const MenuRoot = (props: MenuRootProps) => {\n const recipe = useSlotRecipe({ key: \"menu\" });\n const [recipeProps, functionalProps] = recipe.splitVariantProps(props);\n\n // Separate MenuTrigger props from Menu props\n const {\n children,\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n ...menuContextProps\n } = functionalProps;\n\n const menuTriggerProps = {\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n };\n\n return (\n <MenuRootSlot {...recipeProps} asChild>\n <RaMenuTrigger {...menuTriggerProps}>\n <MenuProvider value={menuContextProps}>{children}</MenuProvider>\n </RaMenuTrigger>\n </MenuRootSlot>\n );\n};\n\nMenuRoot.displayName = \"Menu.Root\";\n","import { Button } from \"react-aria-components\";\nimport { MenuTriggerSlot } from \"../menu.slots\";\nimport type { MenuTriggerProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuTrigger = ({\n children,\n asChild,\n ref,\n ...props\n}: MenuTriggerProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n /**\n * The user supplied a Button as the trigger\n */\n if (asChild) {\n // When asChild is true, apply styles to the child element\n return (\n <MenuTriggerSlot ref={ref} asChild {...styleProps}>\n {children as ReactNode}\n </MenuTriggerSlot>\n );\n }\n\n /**\n * The user did not supply a Button as trigger, use an unstyled button\n * to wrap which ever element the user supplied and make it a trigger\n */\n return (\n <MenuTriggerSlot asChild {...styleProps}>\n <Button ref={ref} {...restProps}>\n {children}\n </Button>\n </MenuTriggerSlot>\n );\n};\n\nMenuTrigger.displayName = \"Menu.Trigger\";\n","import { createContext, useContext } from \"react\";\n\nexport interface MenuSectionContextValue {\n selectionMode?: \"single\" | \"multiple\" | \"none\";\n}\n/**\n * Why is a second context (MenuSectionContext) needed?\n *\n * MenuSectionContext enables section-level config for menu items, such as\n * selection mode, which may differ from the global menu context. This allows\n * advanced menus where each section can have its own selection behavior\n * (e.g., one section is single-select, another is multi-select).\n * By scoping context to a section, menu items inherit settings from their\n * nearest section, falling back to the global menu context if not present.\n * This pattern improves flexibility and composability for complex menus,\n * and avoids prop drilling or awkward prop merging.\n */\n\nconst MenuSectionContext = createContext<MenuSectionContextValue | undefined>(\n undefined\n);\n\nexport const MenuSectionProvider = MenuSectionContext.Provider;\n\nexport const useMenuSectionContext = () => {\n return useContext(MenuSectionContext);\n};\n","import { Menu, Popover } from \"react-aria-components\";\nimport { MenuContentSlot, MenuPopoverSlot } from \"../menu.slots\";\nimport type { MenuContentProps } from \"../menu.types\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\n\nexport const MenuContent = ({\n children,\n placement: placementOverride,\n ref,\n}: MenuContentProps) => {\n const contextProps = useMenuContext();\n\n if (!contextProps) {\n throw new Error(\"Menu.Content must be used within Menu.Root\");\n }\n\n // Separate placement from other props since it's handled by Popover\n const { placement, ...menuProps } = contextProps;\n const finalPlacement = placementOverride || placement || \"bottom start\";\n\n return (\n <MenuSectionProvider value={{ selectionMode: menuProps.selectionMode }}>\n <MenuPopoverSlot asChild>\n <Popover placement={finalPlacement} offset={4} shouldFlip>\n <MenuContentSlot asChild>\n <Menu ref={ref} shouldFocusWrap autoFocus=\"first\" {...menuProps}>\n {children}\n </Menu>\n </MenuContentSlot>\n </Popover>\n </MenuPopoverSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuContent.displayName = \"Menu.Content\";\n","import { MenuItem as RaMenuItem } from \"react-aria-components\";\nimport { MenuItemSlot } from \"../menu.slots\";\nimport type { MenuItemProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport {\n CheckBox as CheckboxCheckedIcon,\n CheckBoxOutlineBlank as CheckboxUncheckedIcon,\n ChevronRight,\n RadioButtonChecked,\n RadioButtonUnchecked,\n} from \"@commercetools/nimbus-icons\";\nimport { Icon } from \"@/components/icon\";\nimport { useMenuContext } from \"./menu.context\";\nimport { useMenuSectionContext } from \"./menu.section-context\";\nimport { Box } from \"@/components/box\";\n\nexport const MenuItem = ({\n children,\n isCritical,\n ref,\n ...props\n}: MenuItemProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n const menuContext = useMenuContext();\n const sectionContext = useMenuSectionContext();\n\n // Use section context if available, otherwise fall back to menu context\n const selectionMode =\n sectionContext?.selectionMode ?? menuContext?.selectionMode;\n\n return (\n <MenuItemSlot\n asChild\n {...styleProps}\n data-critical={isCritical ? \"\" : undefined}\n >\n <RaMenuItem ref={ref} {...restProps}>\n {({ hasSubmenu, isSelected }) => (\n <>\n {selectionMode && (\n <Box slot=\"selection\" role=\"presentation\" aria-hidden=\"true\">\n {selectionMode === \"single\" && (\n <>\n {isSelected && <RadioButtonChecked />}\n {!isSelected && <RadioButtonUnchecked />}\n </>\n )}\n {selectionMode === \"multiple\" && (\n <>\n {isSelected && <CheckboxCheckedIcon />}\n {!isSelected && <CheckboxUncheckedIcon />}\n </>\n )}\n </Box>\n )}\n {children}\n {hasSubmenu && (\n <Icon slot=\"caretIcon\">\n <ChevronRight />\n </Icon>\n )}\n </>\n )}\n </RaMenuItem>\n </MenuItemSlot>\n );\n};\n\nMenuItem.displayName = \"Menu.Item\";\n","import { Separator } from \"react-aria-components\";\nimport { MenuSeparatorSlot } from \"../menu.slots\";\nimport type { MenuSeparatorProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nexport const MenuSeparator = ({ ref, ...props }: MenuSeparatorProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSeparatorSlot asChild {...styleProps}>\n <Separator ref={ref} {...restProps} />\n </MenuSeparatorSlot>\n );\n};\n\nMenuSeparator.displayName = \"Menu.Separator\";\n","import { Header } from \"react-aria-components\";\nimport { MenuSectionLabelSlot } from \"../menu.slots\";\nimport type { MenuSectionLabelProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\n/**\n * Used in MenuSection for rendering the `label` property.\n */\nexport const MenuSectionLabel = ({\n children,\n ref,\n ...props\n}: MenuSectionLabelProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSectionLabelSlot asChild {...styleProps}>\n <Header ref={ref} {...restProps}>\n {children}\n </Header>\n </MenuSectionLabelSlot>\n );\n};\n\nMenuSectionLabel.displayName = \"Menu.SectionLabel\";\n","import {\n MenuSection as RaMenuSection,\n Collection,\n} from \"react-aria-components\";\nimport { MenuSectionSlot } from \"../menu.slots\";\nimport type { MenuSectionProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\nimport { MenuSectionLabel } from \"./menu.section-label\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuSection = <T extends object = object>({\n children,\n ref,\n label,\n items,\n ...props\n}: MenuSectionProps<T>) => {\n const contextProps = useMenuContext();\n\n // Extract selection-related props before extracting style props\n const {\n selectionMode = contextProps?.selectionMode,\n selectedKeys = contextProps?.selectedKeys,\n defaultSelectedKeys = contextProps?.defaultSelectedKeys,\n onSelectionChange = contextProps?.onSelectionChange,\n disallowEmptySelection = contextProps?.disallowEmptySelection,\n ...restProps\n } = props;\n\n const [styleProps, otherProps] = extractStyleProps(restProps);\n\n return (\n <MenuSectionProvider value={{ selectionMode }}>\n <MenuSectionSlot asChild {...styleProps}>\n <RaMenuSection\n ref={ref}\n selectionMode={selectionMode}\n selectedKeys={selectedKeys}\n defaultSelectedKeys={defaultSelectedKeys}\n onSelectionChange={onSelectionChange}\n disallowEmptySelection={disallowEmptySelection}\n {...otherProps}\n >\n <MenuSectionLabel>{label}</MenuSectionLabel>\n {items ? (\n <Collection items={items}>{children}</Collection>\n ) : (\n (children as ReactNode)\n )}\n </RaMenuSection>\n </MenuSectionSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuSection.displayName = \"Menu.Section\";\n","import { SubmenuTrigger as RaSubmenuTrigger } from \"react-aria-components\";\nimport type { MenuSubmenuTriggerProps } from \"../menu.types\";\n\nexport const MenuSubmenuTrigger = ({\n children,\n ...props\n}: MenuSubmenuTriggerProps) => {\n return <RaSubmenuTrigger {...props}>{children}</RaSubmenuTrigger>;\n};\n\nMenuSubmenuTrigger.displayName = \"Menu.SubmenuTrigger\";\n","import type { MenuSubmenuProps } from \"../menu.types\";\nimport { MenuContent } from \"./menu.content\";\n\nexport const MenuSubmenu = ({ children, ...props }: MenuSubmenuProps) => {\n return (\n <MenuContent {...props} placement=\"end\">\n {children}\n </MenuContent>\n );\n};\n\nMenuSubmenu.displayName = \"Menu.Submenu\";\n","import { MenuRoot } from \"./components/menu.root\";\nimport { MenuTrigger } from \"./components/menu.trigger\";\nimport { MenuContent } from \"./components/menu.content\";\nimport { MenuItem } from \"./components/menu.item\";\nimport { MenuSeparator } from \"./components/menu.separator\";\nimport { MenuSection } from \"./components/menu.section\";\nimport { MenuSubmenuTrigger } from \"./components/menu.submenu-trigger\";\nimport { MenuSubmenu } from \"./components/menu.submenu\";\n\n// Re-export types\nexport type * from \"./menu.types\";\n\nexport const Menu = {\n Root: MenuRoot,\n Trigger: MenuTrigger,\n Content: MenuContent,\n Item: MenuItem,\n Separator: MenuSeparator,\n Section: MenuSection,\n Submenu: MenuSubmenu,\n SubmenuTrigger: MenuSubmenuTrigger,\n};\n\n// Exports for internal use by react-docgen\nexport {\n MenuRoot as _MenuRoot,\n MenuTrigger as _MenuTrigger,\n MenuContent as _MenuContent,\n MenuItem as _MenuItem,\n MenuSeparator as _MenuSeparator,\n MenuSection as _MenuSection,\n MenuSubmenuTrigger as _MenuSubmenuTrigger,\n MenuSubmenu as _MenuSubmenu,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","menuSlotRecipe","MenuRootSlot","MenuTriggerSlot","MenuPopoverSlot","MenuContentSlot","MenuItemSlot","MenuSeparatorSlot","MenuSectionSlot","MenuSectionLabelSlot","MenuContext","createContext","MenuProvider","useMenuContext","useContext","MenuRoot","props","recipe","useSlotRecipe","recipeProps","functionalProps","children","trigger","isOpen","defaultOpen","onOpenChange","menuContextProps","jsx","RaMenuTrigger","MenuTrigger","asChild","ref","styleProps","restProps","extractStyleProps","Button","MenuSectionContext","MenuSectionProvider","useMenuSectionContext","MenuContent","placementOverride","contextProps","placement","menuProps","finalPlacement","Popover","Menu","MenuItem","isCritical","menuContext","selectionMode","RaMenuItem","hasSubmenu","isSelected","jsxs","Fragment","Box","RadioButtonChecked","RadioButtonUnchecked","CheckboxCheckedIcon","CheckboxUncheckedIcon","Icon","ChevronRight","MenuSeparator","Separator","MenuSectionLabel","Header","MenuSection","label","items","selectedKeys","defaultSelectedKeys","onSelectionChange","disallowEmptySelection","otherProps","RaMenuSection","Collection","MenuSubmenuTrigger","RaSubmenuTrigger","MenuSubmenu"],"mappings":";;;;;;;;;;;AAMA,MAAM,EAAE,cAAAA,IAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,QAAQC;AACV,CAAC,GAIYC,KAAe,gBAAAJ;AAAA,EAC1B;AAAA,EACA;AACF,GAIaK,IAAkB,gBAAAJ,EAG7B,UAAU,SAAS,GAIRK,KAAkB,gBAAAL,EAG7B,OAAO,SAAS,GAILM,KAAkB,gBAAAN,EAG7B,OAAO,SAAS,GAILO,KAAe,gBAAAP;AAAA,EAC1B;AAAA,EACA;AACF,GAIaQ,KAAoB,gBAAAR,EAG/B,OAAO,WAAW,GAIPS,KAAkB,gBAAAT,EAG7B,OAAO,SAAS,GAILU,KAAuB,gBAAAV,EAGlC,OAAO,cAAc,GCtDjBW,IAAc,gBAAAC,EAA4C,MAAS,GAE5DC,KAAeF,EAAY,UAE3BG,IAAiB,MACZC,EAAWJ,CAAW,GCT3BK,IAAW,CAACC,MAAyB;AAChD,QAAMC,IAASC,EAAc,EAAE,KAAK,QAAQ,GACtC,CAACC,GAAaC,CAAe,IAAIH,EAAO,kBAAkBD,CAAK,GAG/D;AAAA,IACJ,UAAAK;AAAA,IACA,SAAAC;AAAA,IACA,QAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,IACDN;AASJ,2BACGlB,IAAA,EAAc,GAAGiB,GAAa,SAAO,IACpC,UAAA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AvB,EAACnB,IAAA,EAAgB,SAAO,IAAE,GAAGwB,GAC3B,UAAA,gBAAAsB;AAAA,IAACqB;AAAAA,IAAA;AAAA,MACC,KAAA5C;AAAA,MACA,eAAAmB;AAAA,MACA,cAAAoB;AAAA,MACA,qBAAAC;AAAA,MACA,mBAAAC;AAAA,MACA,wBAAAC;AAAA,MACC,GAAGC;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAA/C,EAACsC,KAAkB,UAAAG,EAAA,CAAM;AAAA,QACxBC,IACC,gBAAA1C,EAACiD,IAAA,EAAW,OAAAP,GAAe,UAAAhD,GAAS,IAEnCA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,GAGP,EAAA,CACF;AAEJ;AAEA8C,EAAY,cAAc;ACtDnB,MAAMU,IAAqB,CAAC;AAAA,EACjC,UAAAxD;AAAA,EACA,GAAGL;AACL,MACS,gBAAAW,EAACmD,GAAA,EAAkB,GAAG9D,GAAQ,UAAAK,EAAA,CAAS;AAGhDwD,EAAmB,cAAc;ACP1B,MAAME,IAAc,CAAC,EAAE,UAAA1D,GAAU,GAAGL,0BAEtCuB,GAAA,EAAa,GAAGvB,GAAO,WAAU,OAC/B,UAAAK,GACH;AAIJ0D,EAAY,cAAc;ACCnB,MAAMjC,KAAO;AAAA,EAClB,MAAM/B;AAAA,EACN,SAASc;AAAA,EACT,SAASU;AAAA,EACT,MAAMQ;AAAA,EACN,WAAWgB;AAAA,EACX,SAASI;AAAA,EACT,SAASY;AAAA,EACT,gBAAgBF;AAClB;"}
@@ -10,7 +10,7 @@ function d(r) {
10
10
  r
11
11
  ]), s((...f) => {
12
12
  const t = e.current;
13
- return t == null ? void 0 : t(...f);
13
+ return t?.(...f);
14
14
  }, []);
15
15
  }
16
16
  function m(r) {
@@ -123,6 +123,7 @@ export {
123
123
  k as b,
124
124
  d as c,
125
125
  i as d,
126
- h as e
126
+ I as e,
127
+ h as f
127
128
  };
128
- //# sourceMappingURL=mergeProps-BUo0BHVY.es.js.map
129
+ //# sourceMappingURL=mergeProps-Bn6EInU5.es.js.map