@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
@@ -0,0 +1,185 @@
1
+ import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
+ import { i as R, a as I, b as j, c as F, d as G, e as H, j as S, g as A, k as B } from "./Heading-D143Kg6E.es.js";
3
+ import { createSlotRecipeContext as L, Flex as M, useRecipe as N } from "@chakra-ui/react";
4
+ import { useContext as p } from "react";
5
+ import { $ as k, a as i } from "./useDateFormatter-CioL-RTi.es.js";
6
+ import { c as w, d as z } from "./utils-CEdpnSRC.es.js";
7
+ import { B as D } from "./box-DD4jYgS7.es.js";
8
+ import { $ as P } from "./context-D3RF-nTI.es.js";
9
+ import { I as h } from "./icon-button-CPBzhg2C.es.js";
10
+ import { T as u } from "./text-CFsPSPPs.es.js";
11
+ import { S as x } from "./stack-__ugxVHD.es.js";
12
+ import { V } from "./visually-hidden-CQabqCJt.es.js";
13
+ import { KeyboardArrowLeft as g, KeyboardArrowRight as C } from "@commercetools/nimbus-icons";
14
+ import { r as K } from "./range-calendar.recipe-D7Qn7AJr.es.js";
15
+ import { e as W } from "./extractStyleProps-CxgBrz3O.es.js";
16
+ import { $ as y } from "./Button-BsN1D5Hi.es.js";
17
+ import { $ as v } from "./Text-DOcU1ycg.es.js";
18
+ const { withProvider: _, withContext: n } = /* @__PURE__ */ L({
19
+ key: "rangeCalendar"
20
+ }), q = /* @__PURE__ */ _("div", "root"), E = /* @__PURE__ */ n("div", "header"), J = /* @__PURE__ */ n("div", "grids"), O = /* @__PURE__ */ n("div", "monthTitle"), Q = /* @__PURE__ */ n("table", "grid"), U = /* @__PURE__ */ n("thead", "gridHeader"), X = /* @__PURE__ */ n("th", "headerCell"), Y = /* @__PURE__ */ n("tbody", "gridBody"), Z = /* @__PURE__ */ n("td", "bodyCell"), ee = () => {
21
+ const { locale: s } = P(), a = w(S), t = p(R), r = a?.visibleDuration?.months || 1, o = k(i()), l = r > 1;
22
+ return /* @__PURE__ */ e(J, { children: Array.from({ length: r }, (b, c) => {
23
+ const $ = t.visibleRange.start.add({
24
+ months: c
25
+ }), f = new Intl.DateTimeFormat(s, {
26
+ month: "long"
27
+ }).format($.toDate(i()));
28
+ return /* @__PURE__ */ d(
29
+ D,
30
+ {
31
+ width: r == 1 ? "full" : "auto",
32
+ children: [
33
+ l && /* @__PURE__ */ e(O, { children: f }),
34
+ /* @__PURE__ */ e(Q, { asChild: !0, children: /* @__PURE__ */ d(I, { offset: { months: c }, weekdayStyle: "short", children: [
35
+ /* @__PURE__ */ e(U, { asChild: !0, children: /* @__PURE__ */ e(j, { children: (m) => /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ e(F, { children: m }) }) }) }),
36
+ /* @__PURE__ */ e(Y, { asChild: !0, children: /* @__PURE__ */ e(G, { children: (m) => {
37
+ const T = m.compare(o) === 0;
38
+ return /* @__PURE__ */ e(Z, { asChild: !0, "data-today": T, children: /* @__PURE__ */ e(H, { date: m }) });
39
+ } }) })
40
+ ] }) })
41
+ ]
42
+ },
43
+ f
44
+ );
45
+ }) });
46
+ }, te = () => {
47
+ const t = (w(S)?.visibleDuration?.months || 1) > 1;
48
+ return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ d(M, { children: [
49
+ /* @__PURE__ */ d(x, { direction: "row", alignItems: "center", children: [
50
+ /* @__PURE__ */ e(V, { children: /* @__PURE__ */ e(A, {}) }),
51
+ /* @__PURE__ */ e(
52
+ h,
53
+ {
54
+ slot: t ? "previous" : "previous-month",
55
+ size: "xs",
56
+ variant: "ghost",
57
+ tone: "primary",
58
+ children: /* @__PURE__ */ e(g, {})
59
+ }
60
+ ),
61
+ /* @__PURE__ */ e(
62
+ u,
63
+ {
64
+ textStyle: "sm",
65
+ fontWeight: "500",
66
+ color: "neutral.11",
67
+ width: t ? "4000" : "2000",
68
+ textAlign: "center",
69
+ "aria-hidden": "true",
70
+ slot: t ? "monthRange" : "month"
71
+ }
72
+ ),
73
+ /* @__PURE__ */ e(
74
+ h,
75
+ {
76
+ slot: t ? "next" : "next-month",
77
+ size: "xs",
78
+ variant: "ghost",
79
+ tone: "primary",
80
+ children: /* @__PURE__ */ e(C, {})
81
+ }
82
+ )
83
+ ] }),
84
+ /* @__PURE__ */ e(D, { flexGrow: "1" }),
85
+ /* @__PURE__ */ d(x, { direction: "row", alignItems: "center", children: [
86
+ /* @__PURE__ */ e(
87
+ h,
88
+ {
89
+ slot: "previous-year",
90
+ size: "xs",
91
+ variant: "ghost",
92
+ tone: "primary",
93
+ children: /* @__PURE__ */ e(g, {})
94
+ }
95
+ ),
96
+ /* @__PURE__ */ e(
97
+ u,
98
+ {
99
+ textStyle: "sm",
100
+ fontWeight: "500",
101
+ color: "neutral.11",
102
+ width: "1400",
103
+ textAlign: "center",
104
+ "aria-hidden": "true",
105
+ slot: "year"
106
+ }
107
+ ),
108
+ /* @__PURE__ */ e(h, { slot: "next-year", size: "xs", variant: "ghost", tone: "primary", children: /* @__PURE__ */ e(C, {}) })
109
+ ] })
110
+ ] }) });
111
+ }, oe = ({
112
+ children: s
113
+ }) => {
114
+ const { locale: a } = P(), t = p(y), r = p(v), o = p(R), l = {
115
+ "next-month": {
116
+ onPress: () => o.focusNextSection(),
117
+ "aria-label": "Next month"
118
+ },
119
+ "previous-month": {
120
+ onPress: () => o.focusPreviousSection(),
121
+ "aria-label": "Previous month"
122
+ },
123
+ "next-year": {
124
+ onPress: () => o.focusNextSection(!0),
125
+ "aria-label": "Next year"
126
+ },
127
+ "previous-year": {
128
+ onPress: () => o.focusPreviousSection(!0),
129
+ "aria-label": "Previous year"
130
+ }
131
+ }, b = new Intl.DateTimeFormat(a, {
132
+ month: "long"
133
+ }).format(o.focusedDate.toDate(i())), c = [
134
+ new Intl.DateTimeFormat(a, {
135
+ month: "long"
136
+ }).format(o.visibleRange.start.toDate(i())),
137
+ new Intl.DateTimeFormat(a, {
138
+ month: "long"
139
+ }).format(o.visibleRange.end.toDate(i()))
140
+ ].join(" - "), $ = new Intl.DateTimeFormat(a, {
141
+ year: "numeric"
142
+ }).format(o.focusedDate.toDate(i())), f = {
143
+ month: { children: b },
144
+ monthRange: { children: c },
145
+ year: { children: $ }
146
+ };
147
+ return /* @__PURE__ */ e(
148
+ z,
149
+ {
150
+ values: [
151
+ [
152
+ y,
153
+ {
154
+ ...t,
155
+ slots: {
156
+ ...t && typeof t == "object" && "slots" in t ? t.slots : {},
157
+ ...l
158
+ }
159
+ }
160
+ ],
161
+ [
162
+ v,
163
+ {
164
+ ...r,
165
+ slots: {
166
+ ...r && typeof r == "object" && "slots" in r ? r.slots : {},
167
+ ...f
168
+ }
169
+ }
170
+ ]
171
+ ],
172
+ children: s
173
+ }
174
+ );
175
+ }, Ce = (s) => {
176
+ const a = N({ recipe: K }), [t, r] = a.splitVariantProps(s), [o, l] = W(r);
177
+ return /* @__PURE__ */ e(q, { ...t, ...o, asChild: !0, children: /* @__PURE__ */ e(B, { ...l, children: /* @__PURE__ */ d(oe, { children: [
178
+ /* @__PURE__ */ e(te, {}),
179
+ /* @__PURE__ */ e(ee, {})
180
+ ] }) }) });
181
+ };
182
+ export {
183
+ Ce as R
184
+ };
185
+ //# sourceMappingURL=range-calendar-DEpcpGLw.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"range-calendar-DEpcpGLw.es.js","sources":["../../src/components/range-calendar/range-calendar.slots.tsx","../../src/components/range-calendar/components/range-calendar.grids.tsx","../../src/components/range-calendar/components/range-calendar.header.tsx","../../src/components/range-calendar/components/range-calendar.custom-context.tsx","../../src/components/range-calendar/range-calendar.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n createSlotRecipeContext,\n type HTMLChakraProps,\n type RecipeVariantProps,\n} from \"@chakra-ui/react\";\nimport { rangeCalendarSlotRecipe } from \"./range-calendar.recipe\";\nimport type { RangeCalendarProps } from \"react-aria-components\";\nimport type { DateValue } from \"@internationalized/date\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"rangeCalendar\",\n});\n\nexport interface RangeCalendarRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof rangeCalendarSlotRecipe> &\n RangeCalendarProps<DateValue>\n > {}\nexport const RangeCalendarRootSlot = withProvider<\n HTMLDivElement,\n RangeCalendarRootSlotProps\n>(\"div\", \"root\");\n\nexport interface RangeCalendarHeaderSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const RangeCalendarHeaderSlot = withContext<\n HTMLDivElement,\n RangeCalendarHeaderSlotProps\n>(\"div\", \"header\");\n\nexport interface RangeCalendarGridsSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const RangeCalendarGridsSlot = withContext<\n HTMLDivElement,\n RangeCalendarGridsSlotProps\n>(\"div\", \"grids\");\n\nexport interface RangeCalendarMonthTitleSlotProps\n extends HTMLChakraProps<\"div\"> {}\nexport const RangeCalendarMonthTitleSlot = withContext<\n HTMLDivElement,\n RangeCalendarMonthTitleSlotProps\n>(\"div\", \"monthTitle\");\n\nexport interface RangeCalendarGridSlotProps extends HTMLChakraProps<\"table\"> {}\nexport const RangeCalendarGridSlot = withContext<\n HTMLTableElement,\n RangeCalendarGridSlotProps\n>(\"table\", \"grid\");\n\nexport interface RangeCalendarGridHeaderSlotProps\n extends HTMLChakraProps<\"thead\"> {}\nexport const RangeCalendarGridHeaderSlot = withContext<\n HTMLTableSectionElement,\n RangeCalendarGridHeaderSlotProps\n>(\"thead\", \"gridHeader\");\n\nexport interface RangeCalendarHeaderCellSlotProps\n extends HTMLChakraProps<\"th\"> {}\nexport const RangeCalendarHeaderCellSlot = withContext<\n HTMLTableCellElement,\n RangeCalendarHeaderCellSlotProps\n>(\"th\", \"headerCell\");\n\nexport interface RangeCalendarGridBodySlotProps\n extends HTMLChakraProps<\"tbody\"> {}\nexport const RangeCalendarGridBodySlot = withContext<\n HTMLTableSectionElement,\n RangeCalendarGridBodySlotProps\n>(\"tbody\", \"gridBody\");\n\nexport interface RangeCalendarCellSlotProps extends HTMLChakraProps<\"td\"> {}\nexport const RangeCalendarCellSlot = withContext<\n HTMLTableCellElement,\n RangeCalendarCellSlotProps\n>(\"td\", \"bodyCell\");\n","import { useContext } from \"react\";\nimport { today, getLocalTimeZone } from \"@internationalized/date\";\nimport {\n CalendarGrid as RaCalendarGrid,\n CalendarGridBody as RaCalendarGridBody,\n CalendarGridHeader as RaCalendarGridHeader,\n CalendarHeaderCell as RaCalendarHeaderCell,\n CalendarCell as RaCalendarCell,\n useSlottedContext,\n RangeCalendarContext,\n RangeCalendarStateContext,\n useLocale,\n} from \"react-aria-components\";\nimport { Box } from \"@/components\";\n\nimport {\n RangeCalendarCellSlot,\n RangeCalendarGridBodySlot,\n RangeCalendarGridHeaderSlot,\n RangeCalendarGridsSlot,\n RangeCalendarGridSlot,\n RangeCalendarHeaderCellSlot,\n RangeCalendarMonthTitleSlot,\n} from \"../range-calendar.slots\";\n\nexport const RangeCalendarGrids = () => {\n const { locale } = useLocale();\n const context = useSlottedContext(RangeCalendarContext);\n\n const calendarState = useContext(RangeCalendarStateContext)!;\n const visibleMonthsCount = context?.visibleDuration?.months || 1;\n const todayDate = today(getLocalTimeZone());\n const showMonthTitles = visibleMonthsCount > 1;\n\n return (\n <RangeCalendarGridsSlot>\n {Array.from({ length: visibleMonthsCount }, (_, index) => {\n const gridDate = calendarState.visibleRange.start.add({\n months: index,\n });\n const monthName = new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(gridDate.toDate(getLocalTimeZone()));\n\n return (\n <Box\n key={monthName}\n width={visibleMonthsCount == 1 ? \"full\" : \"auto\"}\n >\n {showMonthTitles && (\n <RangeCalendarMonthTitleSlot>\n {monthName}\n </RangeCalendarMonthTitleSlot>\n )}\n <RangeCalendarGridSlot asChild>\n <RaCalendarGrid offset={{ months: index }} weekdayStyle=\"short\">\n <RangeCalendarGridHeaderSlot asChild>\n <RaCalendarGridHeader>\n {(day) => (\n <RangeCalendarHeaderCellSlot asChild>\n <RaCalendarHeaderCell>{day}</RaCalendarHeaderCell>\n </RangeCalendarHeaderCellSlot>\n )}\n </RaCalendarGridHeader>\n </RangeCalendarGridHeaderSlot>\n <RangeCalendarGridBodySlot asChild>\n <RaCalendarGridBody>\n {(date) => {\n const isToday = date.compare(todayDate) === 0;\n return (\n <RangeCalendarCellSlot asChild data-today={isToday}>\n <RaCalendarCell date={date} />\n </RangeCalendarCellSlot>\n );\n }}\n </RaCalendarGridBody>\n </RangeCalendarGridBodySlot>\n </RaCalendarGrid>\n </RangeCalendarGridSlot>\n </Box>\n );\n })}\n </RangeCalendarGridsSlot>\n );\n};\n","import {\n RangeCalendarContext,\n Heading,\n useSlottedContext,\n} from \"react-aria-components\";\nimport {\n Box,\n Flex,\n IconButton,\n Stack,\n Text,\n VisuallyHidden,\n} from \"@/components\";\nimport {\n KeyboardArrowLeft,\n KeyboardArrowRight,\n} from \"@commercetools/nimbus-icons\";\nimport { RangeCalendarHeaderSlot } from \"../range-calendar.slots\";\n\nexport const RangeCalendarHeader = () => {\n const rangeCalendarProps = useSlottedContext(RangeCalendarContext);\n\n // Needed to decide whether to show a single month or a range\n const visibleDurationMonths =\n rangeCalendarProps?.visibleDuration?.months || 1;\n const showRangeLabel = visibleDurationMonths > 1;\n\n return (\n <RangeCalendarHeaderSlot>\n <Flex>\n <Stack direction=\"row\" alignItems=\"center\">\n {/** solely for screen readers, if not present, a11y issues are raised */}\n <VisuallyHidden>\n <Heading />\n </VisuallyHidden>\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton\n slot={showRangeLabel ? \"previous\" : \"previous-month\"}\n size=\"xs\"\n variant=\"ghost\"\n tone=\"primary\"\n >\n <KeyboardArrowLeft />\n </IconButton>\n <Text\n textStyle=\"sm\"\n fontWeight=\"500\"\n color=\"neutral.11\"\n width={showRangeLabel ? \"4000\" : \"2000\"}\n textAlign=\"center\"\n aria-hidden=\"true\"\n slot={showRangeLabel ? \"monthRange\" : \"month\"}\n />\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton\n slot={showRangeLabel ? \"next\" : \"next-month\"}\n size=\"xs\"\n variant=\"ghost\"\n tone=\"primary\"\n >\n <KeyboardArrowRight />\n </IconButton>\n </Stack>\n <Box flexGrow=\"1\" />\n <Stack direction=\"row\" alignItems=\"center\">\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton\n slot=\"previous-year\"\n size=\"xs\"\n variant=\"ghost\"\n tone=\"primary\"\n >\n <KeyboardArrowLeft />\n </IconButton>\n <Text\n textStyle=\"sm\"\n fontWeight=\"500\"\n color=\"neutral.11\"\n width=\"1400\"\n textAlign=\"center\"\n aria-hidden=\"true\"\n slot=\"year\"\n />\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton slot=\"next-year\" size=\"xs\" variant=\"ghost\" tone=\"primary\">\n <KeyboardArrowRight />\n </IconButton>\n </Stack>\n </Flex>\n </RangeCalendarHeaderSlot>\n );\n};\n","import { getLocalTimeZone } from \"@internationalized/date\";\nimport { useContext } from \"react\";\nimport {\n Provider,\n ButtonContext,\n RangeCalendarStateContext,\n TextContext,\n useLocale,\n} from \"react-aria-components\";\n\nexport const RangeCalendarCustomContext = ({\n children,\n}: {\n children: React.ReactNode;\n}) => {\n const { locale } = useLocale();\n const buttonContext = useContext(ButtonContext)!;\n const textContext = useContext(TextContext)!;\n const calendarState = useContext(RangeCalendarStateContext)!;\n\n /**\n * Button slots\n * ================================\n */\n const buttonSlots = {\n \"next-month\": {\n onPress: () => calendarState.focusNextSection(),\n \"aria-label\": \"Next month\",\n },\n \"previous-month\": {\n onPress: () => calendarState.focusPreviousSection(),\n \"aria-label\": \"Previous month\",\n },\n \"next-year\": {\n onPress: () => calendarState.focusNextSection(true),\n \"aria-label\": \"Next year\",\n },\n \"previous-year\": {\n onPress: () => calendarState.focusPreviousSection(true),\n \"aria-label\": \"Previous year\",\n },\n };\n\n /**\n * Text slots\n * ================================\n */\n const monthLabel = new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(calendarState.focusedDate.toDate(getLocalTimeZone()));\n\n const monthRangeLabel = [\n new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(calendarState.visibleRange.start.toDate(getLocalTimeZone())),\n new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(calendarState.visibleRange.end.toDate(getLocalTimeZone())),\n ].join(\" - \");\n\n const yearLabel = new Intl.DateTimeFormat(locale, {\n year: \"numeric\",\n }).format(calendarState.focusedDate.toDate(getLocalTimeZone()));\n\n const textSlots = {\n month: { children: monthLabel },\n monthRange: { children: monthRangeLabel },\n year: { children: yearLabel },\n };\n\n return (\n <Provider\n values={[\n [\n ButtonContext,\n {\n ...buttonContext,\n slots: {\n ...(buttonContext &&\n typeof buttonContext === \"object\" &&\n \"slots\" in buttonContext\n ? buttonContext.slots\n : {}),\n ...buttonSlots,\n },\n },\n ],\n [\n TextContext,\n {\n ...textContext,\n slots: {\n ...(textContext &&\n typeof textContext === \"object\" &&\n \"slots\" in textContext\n ? textContext.slots\n : {}),\n ...textSlots,\n },\n },\n ],\n ]}\n >\n {children}\n </Provider>\n );\n};\n","import type { RangeCalendarProps } from \"./range-calendar.types\";\nimport type { DateValue } from \"@internationalized/date\";\n\nimport { RangeCalendar as RaRangeCalendar } from \"react-aria-components\";\n\nimport { RangeCalendarRootSlot } from \"./range-calendar.slots\";\nimport { RangeCalendarGrids } from \"./components/range-calendar.grids\";\nimport { RangeCalendarHeader } from \"./components/range-calendar.header\";\nimport { rangeCalendarSlotRecipe } from \"./range-calendar.recipe\";\nimport { useRecipe } from \"@chakra-ui/react\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { RangeCalendarCustomContext } from \"./components/range-calendar.custom-context\";\n\nexport const RangeCalendar = (props: RangeCalendarProps<DateValue>) => {\n const recipe = useRecipe({ recipe: rangeCalendarSlotRecipe });\n const [recipeProps, remainingProps] = recipe.splitVariantProps(props);\n const [styleProps, otherProps] = extractStyleProps(remainingProps);\n\n return (\n <RangeCalendarRootSlot {...recipeProps} {...styleProps} asChild>\n <RaRangeCalendar {...otherProps}>\n <RangeCalendarCustomContext>\n <RangeCalendarHeader />\n <RangeCalendarGrids />\n </RangeCalendarCustomContext>\n </RaRangeCalendar>\n </RangeCalendarRootSlot>\n );\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","RangeCalendarRootSlot","RangeCalendarHeaderSlot","RangeCalendarGridsSlot","RangeCalendarMonthTitleSlot","RangeCalendarGridSlot","RangeCalendarGridHeaderSlot","RangeCalendarHeaderCellSlot","RangeCalendarGridBodySlot","RangeCalendarCellSlot","RangeCalendarGrids","locale","useLocale","context","useSlottedContext","RangeCalendarContext","calendarState","useContext","RangeCalendarStateContext","visibleMonthsCount","todayDate","today","getLocalTimeZone","showMonthTitles","jsx","_","index","gridDate","monthName","jsxs","Box","RaCalendarGrid","RaCalendarGridHeader","day","RaCalendarHeaderCell","RaCalendarGridBody","date","isToday","RaCalendarCell","RangeCalendarHeader","showRangeLabel","Flex","Stack","VisuallyHidden","Heading","IconButton","KeyboardArrowLeft","Text","KeyboardArrowRight","RangeCalendarCustomContext","children","buttonContext","ButtonContext","textContext","TextContext","buttonSlots","monthLabel","monthRangeLabel","yearLabel","textSlots","Provider","RangeCalendar","props","recipe","useRecipe","rangeCalendarSlotRecipe","recipeProps","remainingProps","styleProps","otherProps","extractStyleProps","RaRangeCalendar"],"mappings":";;;;;;;;;;;;;;;;;AAUA,MAAM,EAAE,cAAAA,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,KAAK;AACP,CAAC,GAQYC,IAAwB,gBAAAH,EAGnC,OAAO,MAAM,GAGFI,IAA0B,gBAAAH,EAGrC,OAAO,QAAQ,GAGJI,IAAyB,gBAAAJ,EAGpC,OAAO,OAAO,GAIHK,IAA8B,gBAAAL,EAGzC,OAAO,YAAY,GAGRM,IAAwB,gBAAAN,EAGnC,SAAS,MAAM,GAIJO,IAA8B,gBAAAP,EAGzC,SAAS,YAAY,GAIVQ,IAA8B,gBAAAR,EAGzC,MAAM,YAAY,GAIPS,IAA4B,gBAAAT,EAGvC,SAAS,UAAU,GAGRU,IAAwB,gBAAAV,EAGnC,MAAM,UAAU,GClDLW,KAAqB,MAAM;AACtC,QAAM,EAAE,QAAAC,EAAA,IAAWC,EAAA,GACbC,IAAUC,EAAkBC,CAAoB,GAEhDC,IAAgBC,EAAWC,CAAyB,GACpDC,IAAqBN,GAAS,iBAAiB,UAAU,GACzDO,IAAYC,EAAMC,GAAkB,GACpCC,IAAkBJ,IAAqB;AAE7C,SACE,gBAAAK,EAACrB,GAAA,EACE,UAAA,MAAM,KAAK,EAAE,QAAQgB,EAAA,GAAsB,CAACM,GAAG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,IAAA,gBAAAzB,EAACe,IAAA,EAAoB;AAAA,sBACpB7B,IAAA,CAAA,CAAmB;AAAA,EAAA,EAAA,CACtB,GACF,GACF;AAEJ;"}
@@ -0,0 +1,129 @@
1
+ import { defineSlotRecipe as e } from "@chakra-ui/react";
2
+ const r = /* @__PURE__ */ e({
3
+ slots: [
4
+ "root",
5
+ "header",
6
+ "grids",
7
+ "monthTitle",
8
+ "grid",
9
+ "gridHeader",
10
+ "headerCell",
11
+ "gridBody",
12
+ "bodyCell"
13
+ ],
14
+ className: "nimbus-range-calendar",
15
+ base: {
16
+ // the container element
17
+ root: {
18
+ display: "inline-block",
19
+ maxWidth: "100%"
20
+ },
21
+ header: {
22
+ height: "1200",
23
+ p: "200",
24
+ mb: "300",
25
+ borderBottom: "solid-25",
26
+ borderColor: "neutral.3"
27
+ },
28
+ // the container containing the month(s) grid(s)
29
+ grids: {
30
+ display: "flex",
31
+ flexWrap: "wrap",
32
+ gap: "800",
33
+ mx: "200",
34
+ maxWidth: "full"
35
+ },
36
+ // Month title above each grid
37
+ monthTitle: {
38
+ textAlign: "center",
39
+ fontSize: "400",
40
+ fontWeight: "600",
41
+ color: "neutral.11",
42
+ mb: "300",
43
+ px: "200"
44
+ },
45
+ // A single grid (<table>) containing a months days
46
+ grid: {
47
+ w: "full",
48
+ minW: "fit-content",
49
+ flex: "1 1 auto"
50
+ },
51
+ // Weekday Row
52
+ gridHeader: {},
53
+ // Weekday Item
54
+ headerCell: {
55
+ p: "200",
56
+ pb: "300",
57
+ textAlign: "center",
58
+ color: "neutral.9",
59
+ fontSize: "300",
60
+ lineHeight: "350",
61
+ fontWeight: "500"
62
+ },
63
+ gridBody: {},
64
+ // Day Item
65
+ bodyCell: {
66
+ cursor: "pointer",
67
+ p: "200",
68
+ minW: "1400",
69
+ fontSize: "350",
70
+ lineHeight: "500",
71
+ fontWeight: "400",
72
+ textAlign: "center",
73
+ color: "neutral.12",
74
+ display: "flex",
75
+ alignItems: "center",
76
+ justifyContent: "center",
77
+ mb: "200",
78
+ focusRing: "outside",
79
+ /** today cell (lowest priority, styling-wise) */
80
+ "&[data-today=true]": {
81
+ bg: "neutral.3",
82
+ borderRadius: "200"
83
+ },
84
+ /** hovered or keyboard-focused cell */
85
+ "&[data-hovered='true'], &[data-focused='true']": {
86
+ bg: "primary.3",
87
+ borderRadius: "200"
88
+ },
89
+ /** selected cell (any cell in the range) */
90
+ "&[data-selected='true']": {
91
+ bg: "primary.3",
92
+ borderRadius: "0"
93
+ },
94
+ /** bodyCell within first column */
95
+ "[role='gridcell']:first-child &": {
96
+ borderLeftRadius: "200"
97
+ },
98
+ /** bodyCell within last column */
99
+ "[role='gridcell']:last-child &": {
100
+ borderRightRadius: "200"
101
+ },
102
+ /** start- & end-cell (shared styling) */
103
+ "&[data-selection-start='true'], &[data-selection-end=true]": {
104
+ bg: "primary.9",
105
+ color: "primary.contrast"
106
+ },
107
+ /** start selection cell (only gets a border-radius on the left) */
108
+ "&[data-selection-start='true']": {
109
+ borderLeftRadius: "200"
110
+ },
111
+ /** end selection cell (only gets a border-radius on the right)*/
112
+ "&[data-selection-end=true]": {
113
+ borderRightRadius: "200"
114
+ },
115
+ /** BUT: if start = end cell, border-radius on all sides */
116
+ "&[data-selection-end=true]&[data-selection-start='true']": {
117
+ borderRadius: "200"
118
+ },
119
+ /** disabled cell (must still be focusable) */
120
+ "&[aria-disabled=true]": {
121
+ layerStyle: "disabled"
122
+ }
123
+ }
124
+ }
125
+ });
126
+ export {
127
+ r
128
+ };
129
+ //# sourceMappingURL=range-calendar.recipe-D7Qn7AJr.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"range-calendar.recipe-D7Qn7AJr.es.js","sources":["../../src/components/range-calendar/range-calendar.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const rangeCalendarSlotRecipe = defineSlotRecipe({\n slots: [\n \"root\",\n \"header\",\n \"grids\",\n \"monthTitle\",\n \"grid\",\n \"gridHeader\",\n \"headerCell\",\n \"gridBody\",\n \"bodyCell\",\n ],\n className: \"nimbus-range-calendar\",\n base: {\n // the container element\n root: {\n display: \"inline-block\",\n maxWidth: \"100%\",\n },\n header: {\n height: \"1200\",\n p: \"200\",\n mb: \"300\",\n borderBottom: \"solid-25\",\n borderColor: \"neutral.3\",\n },\n // the container containing the month(s) grid(s)\n grids: {\n display: \"flex\",\n flexWrap: \"wrap\",\n gap: \"800\",\n mx: \"200\",\n maxWidth: \"full\",\n },\n // Month title above each grid\n monthTitle: {\n textAlign: \"center\",\n fontSize: \"400\",\n fontWeight: \"600\",\n color: \"neutral.11\",\n mb: \"300\",\n px: \"200\",\n },\n // A single grid (<table>) containing a months days\n grid: {\n w: \"full\",\n minW: \"fit-content\",\n flex: \"1 1 auto\",\n },\n // Weekday Row\n gridHeader: {},\n // Weekday Item\n headerCell: {\n p: \"200\",\n pb: \"300\",\n textAlign: \"center\",\n color: \"neutral.9\",\n fontSize: \"300\",\n lineHeight: \"350\",\n fontWeight: \"500\",\n },\n gridBody: {},\n\n // Day Item\n bodyCell: {\n cursor: \"pointer\",\n p: \"200\",\n minW: \"1400\",\n fontSize: \"350\",\n lineHeight: \"500\",\n fontWeight: \"400\",\n textAlign: \"center\",\n color: \"neutral.12\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n mb: \"200\",\n focusRing: \"outside\",\n\n /** today cell (lowest priority, styling-wise) */\n \"&[data-today=true]\": {\n bg: \"neutral.3\",\n borderRadius: \"200\",\n },\n /** hovered or keyboard-focused cell */\n \"&[data-hovered='true'], &[data-focused='true']\": {\n bg: \"primary.3\",\n borderRadius: \"200\",\n },\n /** selected cell (any cell in the range) */\n \"&[data-selected='true']\": {\n bg: \"primary.3\",\n borderRadius: \"0\",\n },\n /** bodyCell within first column */\n \"[role='gridcell']:first-child &\": {\n borderLeftRadius: \"200\",\n },\n /** bodyCell within last column */\n \"[role='gridcell']:last-child &\": {\n borderRightRadius: \"200\",\n },\n /** start- & end-cell (shared styling) */\n \"&[data-selection-start='true'], &[data-selection-end=true]\": {\n bg: \"primary.9\",\n color: \"primary.contrast\",\n },\n /** start selection cell (only gets a border-radius on the left) */\n \"&[data-selection-start='true']\": {\n borderLeftRadius: \"200\",\n },\n /** end selection cell (only gets a border-radius on the right)*/\n \"&[data-selection-end=true]\": {\n borderRightRadius: \"200\",\n },\n /** BUT: if start = end cell, border-radius on all sides */\n \"&[data-selection-end=true]&[data-selection-start='true']\": {\n borderRadius: \"200\",\n },\n /** disabled cell (must still be focusable) */\n \"&[aria-disabled=true]\": {\n layerStyle: \"disabled\",\n },\n },\n },\n});\n"],"names":["rangeCalendarSlotRecipe","defineSlotRecipe"],"mappings":";AAEO,MAAMA,IAA0B,gBAAAC,EAAiB;AAAA,EACtD,OAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAAA,EAEF,WAAW;AAAA,EACX,MAAM;AAAA;AAAA,IAEJ,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,UAAU;AAAA,IAAA;AAAA,IAEZ,QAAQ;AAAA,MACN,QAAQ;AAAA,MACR,GAAG;AAAA,MACH,IAAI;AAAA,MACJ,cAAc;AAAA,MACd,aAAa;AAAA,IAAA;AAAA;AAAA,IAGf,OAAO;AAAA,MACL,SAAS;AAAA,MACT,UAAU;AAAA,MACV,KAAK;AAAA,MACL,IAAI;AAAA,MACJ,UAAU;AAAA,IAAA;AAAA;AAAA,IAGZ,YAAY;AAAA,MACV,WAAW;AAAA,MACX,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,OAAO;AAAA,MACP,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA;AAAA;AAAA,IAGN,MAAM;AAAA,MACJ,GAAG;AAAA,MACH,MAAM;AAAA,MACN,MAAM;AAAA,IAAA;AAAA;AAAA,IAGR,YAAY,CAAA;AAAA;AAAA,IAEZ,YAAY;AAAA,MACV,GAAG;AAAA,MACH,IAAI;AAAA,MACJ,WAAW;AAAA,MACX,OAAO;AAAA,MACP,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,YAAY;AAAA,IAAA;AAAA,IAEd,UAAU,CAAA;AAAA;AAAA,IAGV,UAAU;AAAA,MACR,QAAQ;AAAA,MACR,GAAG;AAAA,MACH,MAAM;AAAA,MACN,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,YAAY;AAAA,MACZ,WAAW;AAAA,MACX,OAAO;AAAA,MACP,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,gBAAgB;AAAA,MAChB,IAAI;AAAA,MACJ,WAAW;AAAA;AAAA,MAGX,sBAAsB;AAAA,QACpB,IAAI;AAAA,QACJ,cAAc;AAAA,MAAA;AAAA;AAAA,MAGhB,kDAAkD;AAAA,QAChD,IAAI;AAAA,QACJ,cAAc;AAAA,MAAA;AAAA;AAAA,MAGhB,2BAA2B;AAAA,QACzB,IAAI;AAAA,QACJ,cAAc;AAAA,MAAA;AAAA;AAAA,MAGhB,mCAAmC;AAAA,QACjC,kBAAkB;AAAA,MAAA;AAAA;AAAA,MAGpB,kCAAkC;AAAA,QAChC,mBAAmB;AAAA,MAAA;AAAA;AAAA,MAGrB,8DAA8D;AAAA,QAC5D,IAAI;AAAA,QACJ,OAAO;AAAA,MAAA;AAAA;AAAA,MAGT,kCAAkC;AAAA,QAChC,kBAAkB;AAAA,MAAA;AAAA;AAAA,MAGpB,8BAA8B;AAAA,QAC5B,mBAAmB;AAAA,MAAA;AAAA;AAAA,MAGrB,4DAA4D;AAAA,QAC1D,cAAc;AAAA,MAAA;AAAA;AAAA,MAGhB,yBAAyB;AAAA,QACvB,YAAY;AAAA,MAAA;AAAA,IACd;AAAA,EACF;AAEJ,CAAC;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("@chakra-ui/react"),t=e.defineSlotRecipe({slots:["root","header","grids","monthTitle","grid","gridHeader","headerCell","gridBody","bodyCell"],className:"nimbus-range-calendar",base:{root:{display:"inline-block",maxWidth:"100%"},header:{height:"1200",p:"200",mb:"300",borderBottom:"solid-25",borderColor:"neutral.3"},grids:{display:"flex",flexWrap:"wrap",gap:"800",mx:"200",maxWidth:"full"},monthTitle:{textAlign:"center",fontSize:"400",fontWeight:"600",color:"neutral.11",mb:"300",px:"200"},grid:{w:"full",minW:"fit-content",flex:"1 1 auto"},gridHeader:{},headerCell:{p:"200",pb:"300",textAlign:"center",color:"neutral.9",fontSize:"300",lineHeight:"350",fontWeight:"500"},gridBody:{},bodyCell:{cursor:"pointer",p:"200",minW:"1400",fontSize:"350",lineHeight:"500",fontWeight:"400",textAlign:"center",color:"neutral.12",display:"flex",alignItems:"center",justifyContent:"center",mb:"200",focusRing:"outside","&[data-today=true]":{bg:"neutral.3",borderRadius:"200"},"&[data-hovered='true'], &[data-focused='true']":{bg:"primary.3",borderRadius:"200"},"&[data-selected='true']":{bg:"primary.3",borderRadius:"0"},"[role='gridcell']:first-child &":{borderLeftRadius:"200"},"[role='gridcell']:last-child &":{borderRightRadius:"200"},"&[data-selection-start='true'], &[data-selection-end=true]":{bg:"primary.9",color:"primary.contrast"},"&[data-selection-start='true']":{borderLeftRadius:"200"},"&[data-selection-end=true]":{borderRightRadius:"200"},"&[data-selection-end=true]&[data-selection-start='true']":{borderRadius:"200"},"&[aria-disabled=true]":{layerStyle:"disabled"}}}});exports.rangeCalendarSlotRecipe=t;
2
+ //# sourceMappingURL=range-calendar.recipe-H7PsZQwO.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"range-calendar.recipe-H7PsZQwO.cjs.js","sources":["../../src/components/range-calendar/range-calendar.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const rangeCalendarSlotRecipe = defineSlotRecipe({\n slots: [\n \"root\",\n \"header\",\n \"grids\",\n \"monthTitle\",\n \"grid\",\n \"gridHeader\",\n \"headerCell\",\n \"gridBody\",\n \"bodyCell\",\n ],\n className: \"nimbus-range-calendar\",\n base: {\n // the container element\n root: {\n display: \"inline-block\",\n maxWidth: \"100%\",\n },\n header: {\n height: \"1200\",\n p: \"200\",\n mb: \"300\",\n borderBottom: \"solid-25\",\n borderColor: \"neutral.3\",\n },\n // the container containing the month(s) grid(s)\n grids: {\n display: \"flex\",\n flexWrap: \"wrap\",\n gap: \"800\",\n mx: \"200\",\n maxWidth: \"full\",\n },\n // Month title above each grid\n monthTitle: {\n textAlign: \"center\",\n fontSize: \"400\",\n fontWeight: \"600\",\n color: \"neutral.11\",\n mb: \"300\",\n px: \"200\",\n },\n // A single grid (<table>) containing a months days\n grid: {\n w: \"full\",\n minW: \"fit-content\",\n flex: \"1 1 auto\",\n },\n // Weekday Row\n gridHeader: {},\n // Weekday Item\n headerCell: {\n p: \"200\",\n pb: \"300\",\n textAlign: \"center\",\n color: \"neutral.9\",\n fontSize: \"300\",\n lineHeight: \"350\",\n fontWeight: \"500\",\n },\n gridBody: {},\n\n // Day Item\n bodyCell: {\n cursor: \"pointer\",\n p: \"200\",\n minW: \"1400\",\n fontSize: \"350\",\n lineHeight: \"500\",\n fontWeight: \"400\",\n textAlign: \"center\",\n color: \"neutral.12\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n mb: \"200\",\n focusRing: \"outside\",\n\n /** today cell (lowest priority, styling-wise) */\n \"&[data-today=true]\": {\n bg: \"neutral.3\",\n borderRadius: \"200\",\n },\n /** hovered or keyboard-focused cell */\n \"&[data-hovered='true'], &[data-focused='true']\": {\n bg: \"primary.3\",\n borderRadius: \"200\",\n },\n /** selected cell (any cell in the range) */\n \"&[data-selected='true']\": {\n bg: \"primary.3\",\n borderRadius: \"0\",\n },\n /** bodyCell within first column */\n \"[role='gridcell']:first-child &\": {\n borderLeftRadius: \"200\",\n },\n /** bodyCell within last column */\n \"[role='gridcell']:last-child &\": {\n borderRightRadius: \"200\",\n },\n /** start- & end-cell (shared styling) */\n \"&[data-selection-start='true'], &[data-selection-end=true]\": {\n bg: \"primary.9\",\n color: \"primary.contrast\",\n },\n /** start selection cell (only gets a border-radius on the left) */\n \"&[data-selection-start='true']\": {\n borderLeftRadius: \"200\",\n },\n /** end selection cell (only gets a border-radius on the right)*/\n \"&[data-selection-end=true]\": {\n borderRightRadius: \"200\",\n },\n /** BUT: if start = end cell, border-radius on all sides */\n \"&[data-selection-end=true]&[data-selection-start='true']\": {\n borderRadius: \"200\",\n },\n /** disabled cell (must still be focusable) */\n \"&[aria-disabled=true]\": {\n layerStyle: \"disabled\",\n },\n },\n },\n});\n"],"names":["rangeCalendarSlotRecipe","defineSlotRecipe"],"mappings":"iDAEaA,EAA0BC,EAAAA,iBAAiB,CACtD,MAAO,CACL,OACA,SACA,QACA,aACA,OACA,aACA,aACA,WACA,UAAA,EAEF,UAAW,wBACX,KAAM,CAEJ,KAAM,CACJ,QAAS,eACT,SAAU,MAAA,EAEZ,OAAQ,CACN,OAAQ,OACR,EAAG,MACH,GAAI,MACJ,aAAc,WACd,YAAa,WAAA,EAGf,MAAO,CACL,QAAS,OACT,SAAU,OACV,IAAK,MACL,GAAI,MACJ,SAAU,MAAA,EAGZ,WAAY,CACV,UAAW,SACX,SAAU,MACV,WAAY,MACZ,MAAO,aACP,GAAI,MACJ,GAAI,KAAA,EAGN,KAAM,CACJ,EAAG,OACH,KAAM,cACN,KAAM,UAAA,EAGR,WAAY,CAAA,EAEZ,WAAY,CACV,EAAG,MACH,GAAI,MACJ,UAAW,SACX,MAAO,YACP,SAAU,MACV,WAAY,MACZ,WAAY,KAAA,EAEd,SAAU,CAAA,EAGV,SAAU,CACR,OAAQ,UACR,EAAG,MACH,KAAM,OACN,SAAU,MACV,WAAY,MACZ,WAAY,MACZ,UAAW,SACX,MAAO,aACP,QAAS,OACT,WAAY,SACZ,eAAgB,SAChB,GAAI,MACJ,UAAW,UAGX,qBAAsB,CACpB,GAAI,YACJ,aAAc,KAAA,EAGhB,iDAAkD,CAChD,GAAI,YACJ,aAAc,KAAA,EAGhB,0BAA2B,CACzB,GAAI,YACJ,aAAc,GAAA,EAGhB,kCAAmC,CACjC,iBAAkB,KAAA,EAGpB,iCAAkC,CAChC,kBAAmB,KAAA,EAGrB,6DAA8D,CAC5D,GAAI,YACJ,MAAO,kBAAA,EAGT,iCAAkC,CAChC,iBAAkB,KAAA,EAGpB,6BAA8B,CAC5B,kBAAmB,KAAA,EAGrB,2DAA4D,CAC1D,aAAc,KAAA,EAGhB,wBAAyB,CACvB,WAAY,UAAA,CACd,CACF,CAEJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ "use strict";function s(e,l){if(!e)return!1;let t=window.getComputedStyle(e),o=/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY);return o&&l&&(o=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),o}function S(e,l){let t=e;for(s(t,l)&&(t=t.parentElement);t&&!s(t,l);)t=t.parentElement;return t||document.scrollingElement||document.documentElement}function y(e,l){const t=[];for(;e&&e!==document.documentElement;)s(e,l)&&t.push(e),e=e.parentElement;return t}function L(e,l){let t=x(e,l,"left"),o=x(e,l,"top"),d=l.offsetWidth,r=l.offsetHeight,f=e.scrollLeft,n=e.scrollTop,{borderTopWidth:c,borderLeftWidth:i,scrollPaddingTop:u,scrollPaddingRight:a,scrollPaddingBottom:T,scrollPaddingLeft:m}=getComputedStyle(e),W=f+parseInt(i,10),b=n+parseInt(c,10),p=W+e.clientWidth,$=b+e.clientHeight,v=parseInt(u,10)||0,P=parseInt(T,10)||0,h=parseInt(a,10)||0,g=parseInt(m,10)||0;t<=f+g?f=t-parseInt(i,10)-g:t+d>p-h&&(f+=t+d-p+h),o<=b+v?n=o-parseInt(c,10)-v:o+r>$-P&&(n+=o+r-$+P),e.scrollLeft=f,e.scrollTop=n}function x(e,l,t){const o=t==="left"?"offsetLeft":"offsetTop";let d=0;for(;l.offsetParent&&(d+=l[o],l.offsetParent!==e);){if(l.offsetParent.contains(e)){d-=e[o];break}l=l.offsetParent}return d}function B(e,l){if(e&&document.contains(e)){let f=document.scrollingElement||document.documentElement;if(window.getComputedStyle(f).overflow==="hidden"){let c=y(e);for(let i of c)L(i,e)}else{var t;let{left:c,top:i}=e.getBoundingClientRect();e==null||(t=e.scrollIntoView)===null||t===void 0||t.call(e,{block:"nearest"});let{left:u,top:a}=e.getBoundingClientRect();if(Math.abs(c-u)>1||Math.abs(i-a)>1){var o,d,r;l==null||(d=l.containingElement)===null||d===void 0||(o=d.scrollIntoView)===null||o===void 0||o.call(d,{block:"center",inline:"center"}),(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"})}}}}exports.$2f04cbc44ee30ce0$export$53a0910f038337bd=L;exports.$2f04cbc44ee30ce0$export$c826860796309d1b=B;exports.$62d8ded9296f3872$export$cfa2225e87938781=S;exports.$cc38e7bd3fc7b213$export$2bb74740c4e19def=s;
2
+ //# sourceMappingURL=scrollIntoView-B2eLOBfw.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scrollIntoView-B2eLOBfw.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/isScrollable.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/getScrollParent.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/getScrollParents.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/scrollIntoView.mjs"],"sourcesContent":["/*\n * Copyright 2024 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 */ function $cc38e7bd3fc7b213$export$2bb74740c4e19def(node, checkForOverflow) {\n if (!node) return false;\n let style = window.getComputedStyle(node);\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n return isScrollable;\n}\n\n\nexport {$cc38e7bd3fc7b213$export$2bb74740c4e19def as isScrollable};\n//# sourceMappingURL=isScrollable.module.js.map\n","import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\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 */ \nfunction $62d8ded9296f3872$export$cfa2225e87938781(node, checkForOverflow) {\n let scrollableNode = node;\n if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;\n while(scrollableNode && !(0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow))scrollableNode = scrollableNode.parentElement;\n return scrollableNode || document.scrollingElement || document.documentElement;\n}\n\n\nexport {$62d8ded9296f3872$export$cfa2225e87938781 as getScrollParent};\n//# sourceMappingURL=getScrollParent.module.js.map\n","import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\n\n/*\n * Copyright 2024 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 */ \nfunction $a40c673dc9f6d9c7$export$94ed1c92c7beeb22(node, checkForOverflow) {\n const scrollParents = [];\n while(node && node !== document.documentElement){\n if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(node, checkForOverflow)) scrollParents.push(node);\n node = node.parentElement;\n }\n return scrollParents;\n}\n\n\nexport {$a40c673dc9f6d9c7$export$94ed1c92c7beeb22 as getScrollParents};\n//# sourceMappingURL=getScrollParents.module.js.map\n","import {getScrollParents as $a40c673dc9f6d9c7$export$94ed1c92c7beeb22} from \"./getScrollParents.mjs\";\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 */ \nfunction $2f04cbc44ee30ce0$export$53a0910f038337bd(scrollView, element) {\n let offsetX = $2f04cbc44ee30ce0$var$relativeOffset(scrollView, element, 'left');\n let offsetY = $2f04cbc44ee30ce0$var$relativeOffset(scrollView, element, 'top');\n let width = element.offsetWidth;\n let height = element.offsetHeight;\n let x = scrollView.scrollLeft;\n let y = scrollView.scrollTop;\n // Account for top/left border offsetting the scroll top/Left + scroll padding\n let { borderTopWidth: borderTopWidth, borderLeftWidth: borderLeftWidth, scrollPaddingTop: scrollPaddingTop, scrollPaddingRight: scrollPaddingRight, scrollPaddingBottom: scrollPaddingBottom, scrollPaddingLeft: scrollPaddingLeft } = getComputedStyle(scrollView);\n let borderAdjustedX = x + parseInt(borderLeftWidth, 10);\n let borderAdjustedY = y + parseInt(borderTopWidth, 10);\n // Ignore end/bottom border via clientHeight/Width instead of offsetHeight/Width\n let maxX = borderAdjustedX + scrollView.clientWidth;\n let maxY = borderAdjustedY + scrollView.clientHeight;\n // Get scroll padding values as pixels - defaults to 0 if no scroll padding\n // is used.\n let scrollPaddingTopNumber = parseInt(scrollPaddingTop, 10) || 0;\n let scrollPaddingBottomNumber = parseInt(scrollPaddingBottom, 10) || 0;\n let scrollPaddingRightNumber = parseInt(scrollPaddingRight, 10) || 0;\n let scrollPaddingLeftNumber = parseInt(scrollPaddingLeft, 10) || 0;\n if (offsetX <= x + scrollPaddingLeftNumber) x = offsetX - parseInt(borderLeftWidth, 10) - scrollPaddingLeftNumber;\n else if (offsetX + width > maxX - scrollPaddingRightNumber) x += offsetX + width - maxX + scrollPaddingRightNumber;\n if (offsetY <= borderAdjustedY + scrollPaddingTopNumber) y = offsetY - parseInt(borderTopWidth, 10) - scrollPaddingTopNumber;\n else if (offsetY + height > maxY - scrollPaddingBottomNumber) y += offsetY + height - maxY + scrollPaddingBottomNumber;\n scrollView.scrollLeft = x;\n scrollView.scrollTop = y;\n}\n/**\n * Computes the offset left or top from child to ancestor by accumulating\n * offsetLeft or offsetTop through intervening offsetParents.\n */ function $2f04cbc44ee30ce0$var$relativeOffset(ancestor, child, axis) {\n const prop = axis === 'left' ? 'offsetLeft' : 'offsetTop';\n let sum = 0;\n while(child.offsetParent){\n sum += child[prop];\n if (child.offsetParent === ancestor) break;\n else if (child.offsetParent.contains(ancestor)) {\n // If the ancestor is not `position:relative`, then we stop at\n // _its_ offset parent, and we subtract off _its_ offset, so that\n // we end up with the proper offset from child to ancestor.\n sum -= ancestor[prop];\n break;\n }\n child = child.offsetParent;\n }\n return sum;\n}\nfunction $2f04cbc44ee30ce0$export$c826860796309d1b(targetElement, opts) {\n if (targetElement && document.contains(targetElement)) {\n let root = document.scrollingElement || document.documentElement;\n let isScrollPrevented = window.getComputedStyle(root).overflow === 'hidden';\n // If scrolling is not currently prevented then we aren’t in a overlay nor is a overlay open, just use element.scrollIntoView to bring the element into view\n if (!isScrollPrevented) {\n var // use scrollIntoView({block: 'nearest'}) instead of .focus to check if the element is fully in view or not since .focus()\n // won't cause a scroll if the element is already focused and doesn't behave consistently when an element is partially out of view horizontally vs vertically\n _targetElement_scrollIntoView;\n let { left: originalLeft, top: originalTop } = targetElement.getBoundingClientRect();\n targetElement === null || targetElement === void 0 ? void 0 : (_targetElement_scrollIntoView = targetElement.scrollIntoView) === null || _targetElement_scrollIntoView === void 0 ? void 0 : _targetElement_scrollIntoView.call(targetElement, {\n block: 'nearest'\n });\n let { left: newLeft, top: newTop } = targetElement.getBoundingClientRect();\n // Account for sub pixel differences from rounding\n if (Math.abs(originalLeft - newLeft) > 1 || Math.abs(originalTop - newTop) > 1) {\n var _opts_containingElement_scrollIntoView, _opts_containingElement, _targetElement_scrollIntoView1;\n opts === null || opts === void 0 ? void 0 : (_opts_containingElement = opts.containingElement) === null || _opts_containingElement === void 0 ? void 0 : (_opts_containingElement_scrollIntoView = _opts_containingElement.scrollIntoView) === null || _opts_containingElement_scrollIntoView === void 0 ? void 0 : _opts_containingElement_scrollIntoView.call(_opts_containingElement, {\n block: 'center',\n inline: 'center'\n });\n (_targetElement_scrollIntoView1 = targetElement.scrollIntoView) === null || _targetElement_scrollIntoView1 === void 0 ? void 0 : _targetElement_scrollIntoView1.call(targetElement, {\n block: 'nearest'\n });\n }\n } else {\n let scrollParents = (0, $a40c673dc9f6d9c7$export$94ed1c92c7beeb22)(targetElement);\n // If scrolling is prevented, we don't want to scroll the body since it might move the overlay partially offscreen and the user can't scroll it back into view.\n for (let scrollParent of scrollParents)$2f04cbc44ee30ce0$export$53a0910f038337bd(scrollParent, targetElement);\n }\n }\n}\n\n\nexport {$2f04cbc44ee30ce0$export$53a0910f038337bd as scrollIntoView, $2f04cbc44ee30ce0$export$c826860796309d1b as scrollIntoViewport};\n//# sourceMappingURL=scrollIntoView.module.js.map\n"],"names":["$cc38e7bd3fc7b213$export$2bb74740c4e19def","node","checkForOverflow","style","isScrollable","$62d8ded9296f3872$export$cfa2225e87938781","scrollableNode","$a40c673dc9f6d9c7$export$94ed1c92c7beeb22","scrollParents","$2f04cbc44ee30ce0$export$53a0910f038337bd","scrollView","element","offsetX","$2f04cbc44ee30ce0$var$relativeOffset","offsetY","width","height","x","y","borderTopWidth","borderLeftWidth","scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft","borderAdjustedX","borderAdjustedY","maxX","maxY","scrollPaddingTopNumber","scrollPaddingBottomNumber","scrollPaddingRightNumber","scrollPaddingLeftNumber","ancestor","child","axis","prop","sum","$2f04cbc44ee30ce0$export$c826860796309d1b","targetElement","opts","root","scrollParent","_targetElement_scrollIntoView","originalLeft","originalTop","newLeft","newTop","_opts_containingElement_scrollIntoView","_opts_containingElement","_targetElement_scrollIntoView1"],"mappings":"aAUI,SAASA,EAA0CC,EAAMC,EAAkB,CAC3E,GAAI,CAACD,EAAM,MAAO,GAClB,IAAIE,EAAQ,OAAO,iBAAiBF,CAAI,EACpCG,EAAe,gBAAgB,KAAKD,EAAM,SAAWA,EAAM,UAAYA,EAAM,SAAS,EAC1F,OAAIC,GAAgBF,IAAkBE,EAAeH,EAAK,eAAiBA,EAAK,cAAgBA,EAAK,cAAgBA,EAAK,aACnHG,CACX,CCHA,SAASC,EAA0CJ,EAAMC,EAAkB,CACvE,IAAII,EAAiBL,EAErB,IADQD,EAA2CM,EAAgBJ,CAAgB,IAAGI,EAAiBA,EAAe,eAChHA,GAAkB,CAAKN,EAA2CM,EAAgBJ,CAAgB,GAAEI,EAAiBA,EAAe,cAC1I,OAAOA,GAAkB,SAAS,kBAAoB,SAAS,eACnE,CCLA,SAASC,EAA0CN,EAAMC,EAAkB,CACvE,MAAMM,EAAgB,CAAA,EACtB,KAAM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/(auto|scroll)/.test(t.overflow + t.overflowX + t.overflowY);
4
+ return o && l && (o = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), o;
5
+ }
6
+ function y(e, l) {
7
+ let t = e;
8
+ for (u(t, l) && (t = t.parentElement); t && !u(t, l); ) t = t.parentElement;
9
+ return t || document.scrollingElement || document.documentElement;
10
+ }
11
+ function W(e, l) {
12
+ const t = [];
13
+ for (; e && e !== document.documentElement; )
14
+ u(e, l) && t.push(e), e = e.parentElement;
15
+ return t;
16
+ }
17
+ function S(e, l) {
18
+ let t = L(e, l, "left"), o = L(e, l, "top"), d = l.offsetWidth, r = l.offsetHeight, f = e.scrollLeft, n = e.scrollTop, { borderTopWidth: i, borderLeftWidth: c, scrollPaddingTop: s, scrollPaddingRight: a, scrollPaddingBottom: T, scrollPaddingLeft: x } = getComputedStyle(e), m = f + parseInt(c, 10), b = n + parseInt(i, 10), p = m + e.clientWidth, v = b + e.clientHeight, P = parseInt(s, 10) || 0, h = parseInt(T, 10) || 0, $ = parseInt(a, 10) || 0, g = parseInt(x, 10) || 0;
19
+ t <= f + g ? f = t - parseInt(c, 10) - g : t + d > p - $ && (f += t + d - p + $), o <= b + P ? n = o - parseInt(i, 10) - P : o + r > v - h && (n += o + r - v + h), e.scrollLeft = f, e.scrollTop = n;
20
+ }
21
+ function L(e, l, t) {
22
+ const o = t === "left" ? "offsetLeft" : "offsetTop";
23
+ let d = 0;
24
+ for (; l.offsetParent && (d += l[o], l.offsetParent !== e); ) {
25
+ if (l.offsetParent.contains(e)) {
26
+ d -= e[o];
27
+ break;
28
+ }
29
+ l = l.offsetParent;
30
+ }
31
+ return d;
32
+ }
33
+ function B(e, l) {
34
+ if (e && document.contains(e)) {
35
+ let f = document.scrollingElement || document.documentElement;
36
+ if (window.getComputedStyle(f).overflow === "hidden") {
37
+ let i = W(e);
38
+ for (let c of i) S(c, e);
39
+ } else {
40
+ var t;
41
+ let { left: i, top: c } = e.getBoundingClientRect();
42
+ e == null || (t = e.scrollIntoView) === null || t === void 0 || t.call(e, {
43
+ block: "nearest"
44
+ });
45
+ let { left: s, top: a } = e.getBoundingClientRect();
46
+ if (Math.abs(i - s) > 1 || Math.abs(c - a) > 1) {
47
+ var o, d, r;
48
+ l == null || (d = l.containingElement) === null || d === void 0 || (o = d.scrollIntoView) === null || o === void 0 || o.call(d, {
49
+ block: "center",
50
+ inline: "center"
51
+ }), (r = e.scrollIntoView) === null || r === void 0 || r.call(e, {
52
+ block: "nearest"
53
+ });
54
+ }
55
+ }
56
+ }
57
+ }
58
+ export {
59
+ y as $,
60
+ B as a,
61
+ S as b,
62
+ u as c
63
+ };
64
+ //# sourceMappingURL=scrollIntoView-C5qp-va8.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scrollIntoView-C5qp-va8.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/isScrollable.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/getScrollParent.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/getScrollParents.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/scrollIntoView.mjs"],"sourcesContent":["/*\n * Copyright 2024 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 */ function $cc38e7bd3fc7b213$export$2bb74740c4e19def(node, checkForOverflow) {\n if (!node) return false;\n let style = window.getComputedStyle(node);\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n return isScrollable;\n}\n\n\nexport {$cc38e7bd3fc7b213$export$2bb74740c4e19def as isScrollable};\n//# sourceMappingURL=isScrollable.module.js.map\n","import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\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 */ \nfunction $62d8ded9296f3872$export$cfa2225e87938781(node, checkForOverflow) {\n let scrollableNode = node;\n if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;\n while(scrollableNode && !(0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow))scrollableNode = scrollableNode.parentElement;\n return scrollableNode || document.scrollingElement || document.documentElement;\n}\n\n\nexport {$62d8ded9296f3872$export$cfa2225e87938781 as getScrollParent};\n//# sourceMappingURL=getScrollParent.module.js.map\n","import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\n\n/*\n * Copyright 2024 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 */ \nfunction $a40c673dc9f6d9c7$export$94ed1c92c7beeb22(node, checkForOverflow) {\n const scrollParents = [];\n while(node && node !== document.documentElement){\n if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(node, checkForOverflow)) scrollParents.push(node);\n node = node.parentElement;\n }\n return scrollParents;\n}\n\n\nexport {$a40c673dc9f6d9c7$export$94ed1c92c7beeb22 as getScrollParents};\n//# sourceMappingURL=getScrollParents.module.js.map\n","import {getScrollParents as $a40c673dc9f6d9c7$export$94ed1c92c7beeb22} from \"./getScrollParents.mjs\";\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 */ \nfunction $2f04cbc44ee30ce0$export$53a0910f038337bd(scrollView, element) {\n let offsetX = $2f04cbc44ee30ce0$var$relativeOffset(scrollView, element, 'left');\n let offsetY = $2f04cbc44ee30ce0$var$relativeOffset(scrollView, element, 'top');\n let width = element.offsetWidth;\n let height = element.offsetHeight;\n let x = scrollView.scrollLeft;\n let y = scrollView.scrollTop;\n // Account for top/left border offsetting the scroll top/Left + scroll padding\n let { borderTopWidth: borderTopWidth, borderLeftWidth: borderLeftWidth, scrollPaddingTop: scrollPaddingTop, scrollPaddingRight: scrollPaddingRight, scrollPaddingBottom: scrollPaddingBottom, scrollPaddingLeft: scrollPaddingLeft } = getComputedStyle(scrollView);\n let borderAdjustedX = x + parseInt(borderLeftWidth, 10);\n let borderAdjustedY = y + parseInt(borderTopWidth, 10);\n // Ignore end/bottom border via clientHeight/Width instead of offsetHeight/Width\n let maxX = borderAdjustedX + scrollView.clientWidth;\n let maxY = borderAdjustedY + scrollView.clientHeight;\n // Get scroll padding values as pixels - defaults to 0 if no scroll padding\n // is used.\n let scrollPaddingTopNumber = parseInt(scrollPaddingTop, 10) || 0;\n let scrollPaddingBottomNumber = parseInt(scrollPaddingBottom, 10) || 0;\n let scrollPaddingRightNumber = parseInt(scrollPaddingRight, 10) || 0;\n let scrollPaddingLeftNumber = parseInt(scrollPaddingLeft, 10) || 0;\n if (offsetX <= x + scrollPaddingLeftNumber) x = offsetX - parseInt(borderLeftWidth, 10) - scrollPaddingLeftNumber;\n else if (offsetX + width > maxX - scrollPaddingRightNumber) x += offsetX + width - maxX + scrollPaddingRightNumber;\n if (offsetY <= borderAdjustedY + scrollPaddingTopNumber) y = offsetY - parseInt(borderTopWidth, 10) - scrollPaddingTopNumber;\n else if (offsetY + height > maxY - scrollPaddingBottomNumber) y += offsetY + height - maxY + scrollPaddingBottomNumber;\n scrollView.scrollLeft = x;\n scrollView.scrollTop = y;\n}\n/**\n * Computes the offset left or top from child to ancestor by accumulating\n * offsetLeft or offsetTop through intervening offsetParents.\n */ function $2f04cbc44ee30ce0$var$relativeOffset(ancestor, child, axis) {\n const prop = axis === 'left' ? 'offsetLeft' : 'offsetTop';\n let sum = 0;\n while(child.offsetParent){\n sum += child[prop];\n if (child.offsetParent === ancestor) break;\n else if (child.offsetParent.contains(ancestor)) {\n // If the ancestor is not `position:relative`, then we stop at\n // _its_ offset parent, and we subtract off _its_ offset, so that\n // we end up with the proper offset from child to ancestor.\n sum -= ancestor[prop];\n break;\n }\n child = child.offsetParent;\n }\n return sum;\n}\nfunction $2f04cbc44ee30ce0$export$c826860796309d1b(targetElement, opts) {\n if (targetElement && document.contains(targetElement)) {\n let root = document.scrollingElement || document.documentElement;\n let isScrollPrevented = window.getComputedStyle(root).overflow === 'hidden';\n // If scrolling is not currently prevented then we aren’t in a overlay nor is a overlay open, just use element.scrollIntoView to bring the element into view\n if (!isScrollPrevented) {\n var // use scrollIntoView({block: 'nearest'}) instead of .focus to check if the element is fully in view or not since .focus()\n // won't cause a scroll if the element is already focused and doesn't behave consistently when an element is partially out of view horizontally vs vertically\n _targetElement_scrollIntoView;\n let { left: originalLeft, top: originalTop } = targetElement.getBoundingClientRect();\n targetElement === null || targetElement === void 0 ? void 0 : (_targetElement_scrollIntoView = targetElement.scrollIntoView) === null || _targetElement_scrollIntoView === void 0 ? void 0 : _targetElement_scrollIntoView.call(targetElement, {\n block: 'nearest'\n });\n let { left: newLeft, top: newTop } = targetElement.getBoundingClientRect();\n // Account for sub pixel differences from rounding\n if (Math.abs(originalLeft - newLeft) > 1 || Math.abs(originalTop - newTop) > 1) {\n var _opts_containingElement_scrollIntoView, _opts_containingElement, _targetElement_scrollIntoView1;\n opts === null || opts === void 0 ? void 0 : (_opts_containingElement = opts.containingElement) === null || _opts_containingElement === void 0 ? void 0 : (_opts_containingElement_scrollIntoView = _opts_containingElement.scrollIntoView) === null || _opts_containingElement_scrollIntoView === void 0 ? void 0 : _opts_containingElement_scrollIntoView.call(_opts_containingElement, {\n block: 'center',\n inline: 'center'\n });\n (_targetElement_scrollIntoView1 = targetElement.scrollIntoView) === null || _targetElement_scrollIntoView1 === void 0 ? void 0 : _targetElement_scrollIntoView1.call(targetElement, {\n block: 'nearest'\n });\n }\n } else {\n let scrollParents = (0, $a40c673dc9f6d9c7$export$94ed1c92c7beeb22)(targetElement);\n // If scrolling is prevented, we don't want to scroll the body since it might move the overlay partially offscreen and the user can't scroll it back into view.\n for (let scrollParent of scrollParents)$2f04cbc44ee30ce0$export$53a0910f038337bd(scrollParent, targetElement);\n }\n }\n}\n\n\nexport {$2f04cbc44ee30ce0$export$53a0910f038337bd as scrollIntoView, $2f04cbc44ee30ce0$export$c826860796309d1b as scrollIntoViewport};\n//# sourceMappingURL=scrollIntoView.module.js.map\n"],"names":["$cc38e7bd3fc7b213$export$2bb74740c4e19def","node","checkForOverflow","style","isScrollable","$62d8ded9296f3872$export$cfa2225e87938781","scrollableNode","$a40c673dc9f6d9c7$export$94ed1c92c7beeb22","scrollParents","$2f04cbc44ee30ce0$export$53a0910f038337bd","scrollView","element","offsetX","$2f04cbc44ee30ce0$var$relativeOffset","offsetY","width","height","x","y","borderTopWidth","borderLeftWidth","scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft","borderAdjustedX","borderAdjustedY","maxX","maxY","scrollPaddingTopNumber","scrollPaddingBottomNumber","scrollPaddingRightNumber","scrollPaddingLeftNumber","ancestor","child","axis","prop","sum","$2f04cbc44ee30ce0$export$c826860796309d1b","targetElement","opts","root","scrollParent","_targetElement_scrollIntoView","originalLeft","originalTop","newLeft","newTop","_opts_containingElement_scrollIntoView","_opts_containingElement","_targetElement_scrollIntoView1"],"mappings":"AAUI,SAASA,EAA0CC,GAAMC,GAAkB;AAC3E,MAAI,CAACD,EAAM,QAAO;AAClB,MAAIE,IAAQ,OAAO,iBAAiBF,CAAI,GACpCG,IAAe,gBAAgB,KAAKD,EAAM,WAAWA,EAAM,YAAYA,EAAM,SAAS;AAC1F,SAAIC,KAAgBF,MAAkBE,IAAeH,EAAK,iBAAiBA,EAAK,gBAAgBA,EAAK,gBAAgBA,EAAK,cACnHG;AACX;ACHA,SAASC,EAA0CJ,GAAMC,GAAkB;AACvE,MAAII,IAAiBL;AAErB,OADQD,EAA2CM,GAAgBJ,CAAgB,MAAGI,IAAiBA,EAAe,gBAChHA,KAAkB,CAAKN,EAA2CM,GAAgBJ,CAAgB,IAAE,CAAAI,IAAiBA,EAAe;AAC1I,SAAOA,KAAkB,SAAS,oBAAoB,SAAS;AACnE;ACLA,SAASC,EAA0CN,GAAMC,GAAkB;AACvE,QAAMM,IAAgB,CAAA;AACtB,SAAMP,KAAQA,MAAS,SAAS;AAC5B,IAAQD,EAA2CC,GAAMC,CAAgB,KAAGM,EAAc,KAAKP,CAAI,GACnGA,IAAOA,EAAK;AAEhB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ra-ui/react"),O=require("@commercetools/nimbus-icons"),_=require("./box-FU6tRPFs.cjs.js"),V=require("./Button-BjOgrRmH.cjs.js"),B=require("./Dialog-Btds5x4W.cjs.js"),v=require("./utils-sWqo2nmW.cjs.js"),J=require("./Form-amb1SjpT.cjs.js"),X=require("./Label-DFXyfxZM.cjs.js"),g=require("./ListBox-BEZfjFMq.cjs.js"),Z=require("./Text-BWSfeB9p.cjs.js"),k=require("./Separator-BFKzWOOv.cjs.js"),M=require("./filterDOMProps-_f3L9QML.cjs.js"),Y=require("./OverlayArrow-BcRQfR_V.cjs.js"),Oe=require("./useLocalizedStringFormatter-ZUZDzNOP.cjs.js"),Q=require("./useFormValidation-D5EJ50gR.cjs.js"),Ve=require("./useSingleSelectListState-BLYvCKPf.cjs.js"),Ze=require("./useFocusRing-wD8IMPEh.cjs.js"),L=require("./mergeProps-VvQrkhSh.cjs.js"),Me=require("./useFocus-CRjxQc9J.cjs.js"),Te=require("./useCollator-DLdpB_Ui.cjs.js"),Ne=require("./useField-Doh1_zqa.cjs.js"),Ge=require("./useFormReset-C6y6YYJp.cjs.js"),Ue=require("./VisuallyHidden-Cqkg4RzT.cjs.js"),He=require("./icon-button-QwpNTUZ8.cjs.js"),We=require("./select.recipe-BIox51h1.cjs.js"),ee=require("./extractStyleProps-lyk7D-zN.cjs.js"),te=new WeakMap;function _e(e,t,i){let{keyboardDelegate:u,isDisabled:r,isRequired:s,name:b,validationBehavior:l="aria"}=e,n=Te.$325a3faab7a68acd$export$a16aca283550c30d({usage:"search",sensitivity:"base"}),a=o.useMemo(()=>u||new k.$2a25aae57d74318e$export$a05409b8bb224a5a(t.collection,t.disabledKeys,i,n),[u,t.collection,t.disabledKeys,n,i]),{menuTriggerProps:d,menuProps:f}=B.$168583247155ddda$export$dc9c12ed27dd1b49({isDisabled:r,type:"listbox"},t,i),h=$=>{switch($.key){case"ArrowLeft":{var S,D;$.preventDefault();let z=t.selectedKey!=null?(S=a.getKeyAbove)===null||S===void 0?void 0:S.call(a,t.selectedKey):(D=a.getFirstKey)===null||D===void 0?void 0:D.call(a);z&&t.setSelectedKey(z);break}case"ArrowRight":{var I,K;$.preventDefault();let z=t.selectedKey!=null?(I=a.getKeyBelow)===null||I===void 0?void 0:I.call(a,t.selectedKey):(K=a.getFirstKey)===null||K===void 0?void 0:K.call(a);z&&t.setSelectedKey(z);break}}},{typeSelectProps:x}=k.$fb3050f43d946246$export$e32c88dfddc6e1d8({keyboardDelegate:a,selectionManager:t.selectionManager,onTypeSelect($){t.setSelectedKey($)}}),{isInvalid:P,validationErrors:y,validationDetails:F}=t.displayValidation,{labelProps:A,fieldProps:R,descriptionProps:m,errorMessageProps:q}=Ne.$2baaea4c71418dea$export$294aa081a6c6f55d({...e,labelElementType:"span",isInvalid:P,errorMessage:e.errorMessage||y});x.onKeyDown=x.onKeyDownCapture,delete x.onKeyDownCapture;let j=M.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{labelable:!0}),p=L.$3ef42575df84b30b$export$9d1611c77c2fe928(x,d,R),w=L.$bdb11010cef70236$export$f680877a34711e37();return te.set(t,{isDisabled:r,isRequired:s,name:b,validationBehavior:l}),{labelProps:{...A,onClick:()=>{if(!e.isDisabled){var $;($=i.current)===null||$===void 0||$.focus(),Me.$507fabe10e71c6fb$export$8397ddfc504fdb9a("keyboard")}}},triggerProps:L.$3ef42575df84b30b$export$9d1611c77c2fe928(j,{...p,isDisabled:r,onKeyDown:L.$ff5963eb1fccf552$export$e08e3b67e392101e(p.onKeyDown,h,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[w,p["aria-labelledby"],p["aria-label"]&&!p["aria-labelledby"]?p.id:null].filter(Boolean).join(" "),onFocus($){t.isFocused||(e.onFocus&&e.onFocus($),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur($){t.isOpen||(e.onBlur&&e.onBlur($),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:w},menuProps:{...f,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:$=>{$.currentTarget.contains($.relatedTarget)||(e.onBlur&&e.onBlur($),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[R["aria-labelledby"],p["aria-label"]&&!R["aria-labelledby"]?p.id:null].filter(Boolean).join(" ")},descriptionProps:m,errorMessageProps:q,isInvalid:P,validationErrors:y,validationDetails:F}}function Je(e,t,i){let u=te.get(t)||{},{autoComplete:r,name:s=u.name,isDisabled:b=u.isDisabled}=e,{validationBehavior:l,isRequired:n}=u,{visuallyHiddenProps:a}=Ue.$5c3e21d68f1c4674$export$a966af930f325cab();Ge.$99facab73266f662$export$5add1d006293d136(e.selectRef,t.selectedKey,t.setSelectedKey),Q.$e93e671b31057976$export$b8473d3665f3a75a({validationBehavior:l,focus:()=>{var f;return(f=i.current)===null||f===void 0?void 0:f.focus()}},t,e.selectRef);var d;return{containerProps:{...a,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:r,disabled:b,required:l==="native"&&n,name:s,value:(d=t.selectedKey)!==null&&d!==void 0?d:void 0,onChange:f=>t.setSelectedKey(f.target.value)}}}function Xe(e){let{state:t,triggerRef:i,label:u,name:r,isDisabled:s}=e,b=o.useRef(null),{containerProps:l,selectProps:n}=Je({...e,selectRef:b},t,i);var a;return t.collection.size<=300?o.createElement("div",{...l,"data-testid":"hidden-select-container"},o.createElement("label",null,u,o.createElement("select",{...n,ref:b},o.createElement("option",null),[...t.collection.getKeys()].map(d=>{let f=t.collection.getItem(d);if(f&&f.type==="item")return o.createElement("option",{key:f.key,value:f.key},f.textValue)})))):r?o.createElement("input",{type:"hidden",autoComplete:n.autoComplete,name:r,disabled:s,value:(a=t.selectedKey)!==null&&a!==void 0?a:""}):null}function Ye(e){let t=Y.$fc909762b330b746$export$61c6a8c84e605fb6(e),[i,u]=o.useState(null),r=Ve.$a0d645289fe9b86b$export$e7f05e985daf4b5f({...e,onSelectionChange:a=>{e.onSelectionChange!=null&&e.onSelectionChange(a),t.close(),s.commitValidation()}}),s=Q.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:r.selectedKey}),[b,l]=o.useState(!1),n=o.useMemo(()=>{var a;return r.collection.size===0||r.collection.size===1&&((a=r.collection.getItem(r.collection.getFirstKey()))===null||a===void 0?void 0:a.type)==="loader"},[r.collection]);return{...s,...r,...t,focusStrategy:i,open(a=null){n||(u(a),t.open())},toggle(a=null){n||(u(a),t.toggle())},isFocused:b,setFocused:l}}var re={};re={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var oe={};oe={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var le={};le={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var ae={};ae={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var ue={};ue={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var ie={};ie={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var ce={};ce={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var se={};se={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var ne={};ne={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var de={};de={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var be={};be={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var fe={};fe={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var $e={};$e={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var pe={};pe={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var xe={};xe={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var ve={};ve={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var he={};he={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var Pe={};Pe={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var me={};me={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var Se={};Se={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var De={};De={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var Ce={};Ce={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var ye={};ye={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var Re={};Re={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var ze={};ze={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var Be={};Be={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var ge={};ge={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var ke={};ke={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var Ee={};Ee={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var Fe={};Fe={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var we={};we={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var Le={};Le={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var Ae={};Ae={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var qe={};qe={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var je={};je={"ar-AE":re,"bg-BG":oe,"cs-CZ":le,"da-DK":ae,"de-DE":ue,"el-GR":ie,"en-US":ce,"es-ES":se,"et-EE":ne,"fi-FI":de,"fr-FR":be,"he-IL":fe,"hr-HR":$e,"hu-HU":pe,"it-IT":xe,"ja-JP":ve,"ko-KR":he,"lt-LT":Pe,"lv-LV":me,"nb-NO":Se,"nl-NL":De,"pl-PL":Ce,"pt-BR":ye,"pt-PT":Re,"ro-RO":ze,"ru-RU":Be,"sk-SK":ge,"sl-SI":ke,"sr-SP":Ee,"sv-SE":Fe,"tr-TR":we,"uk-UA":Le,"zh-CN":Ae,"zh-TW":qe};function Qe(e){return e&&e.__esModule?e.default:e}const T=o.createContext(null),N=o.createContext(null),et=o.forwardRef(function(t,i){[t,i]=v.$64fa3d84918910a7$export$29f1550f4b0d4415(t,i,T);let{children:u,isDisabled:r=!1,isInvalid:s=!1,isRequired:b=!1}=t,l=o.useMemo(()=>typeof u=="function"?u({isOpen:!1,isDisabled:r,isInvalid:s,isRequired:b,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):u,[u,r,s,b]);return o.createElement(k.$e1995378a142960e$export$bf788dd355e3a401,{content:l},n=>o.createElement(rt,{props:t,collection:n,selectRef:i}))}),tt=[X.$01b77f81d0f07f68$export$75b6ee27786ba447,V.$d2b4bc8c273e7be6$export$24d547caef80ccd1,Z.$514c0188e459b4c0$export$9afb8bc826b033ea];function rt({props:e,selectRef:t,collection:i}){let{validationBehavior:u}=v.$64fa3d84918910a7$export$fabf2dc03a41866e(J.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var r,s;let b=(s=(r=e.validationBehavior)!==null&&r!==void 0?r:u)!==null&&s!==void 0?s:"native",l=Ye({...e,collection:i,children:void 0,validationBehavior:b}),{isFocusVisible:n,focusProps:a}=Ze.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),d=o.useRef(null),[f,h]=v.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{labelProps:x,triggerProps:P,valueProps:y,menuProps:F,descriptionProps:A,errorMessageProps:R,...m}=_e({...v.$64fa3d84918910a7$export$ef03459518577ad4(e),label:h,validationBehavior:b},l,d),[q,j]=o.useState(null),p=o.useCallback(()=>{d.current&&j(d.current.offsetWidth+"px")},[d]);Y.$9daab02d461809db$export$683480f191c0e3ea({ref:d,onResize:p});let w=o.useMemo(()=>({isOpen:l.isOpen,isFocused:l.isFocused,isFocusVisible:n,isDisabled:e.isDisabled||!1,isInvalid:m.isInvalid||!1,isRequired:e.isRequired||!1}),[l.isOpen,l.isFocused,n,e.isDisabled,m.isInvalid,e.isRequired]),$=v.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:w,defaultClassName:"react-aria-Select"}),S=M.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e);delete S.id;let D=o.useRef(null);return o.createElement(v.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[T,e],[N,l],[Ie,y],[X.$01b77f81d0f07f68$export$75b6ee27786ba447,{...x,ref:f,elementType:"span"}],[V.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{...P,ref:d,isPressed:l.isOpen,autoFocus:e.autoFocus}],[B.$de32f1b87079253c$export$d2f961adcb0afbe,l],[B.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{trigger:"Select",triggerRef:d,scrollRef:D,placement:"bottom start",style:{"--trigger-width":q},"aria-labelledby":F["aria-labelledby"],clearContexts:tt}],[g.$eed445e0843c11d0$export$7ff8f37d2d81a48d,{...F,ref:D}],[g.$eed445e0843c11d0$export$7c5906fe4f1f2af2,l],[Z.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:A,errorMessage:R}}],[J.$ee014567cb39d3f0$export$ff05c3ac10437e03,m]]},o.createElement("div",{...S,...$,...a,ref:t,slot:e.slot||void 0,"data-focused":l.isFocused||void 0,"data-focus-visible":n||void 0,"data-open":l.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":m.isInvalid||void 0,"data-required":e.isRequired||void 0}),o.createElement(Xe,{autoComplete:e.autoComplete,state:l,triggerRef:d,label:h,name:e.name,isDisabled:e.isDisabled}))}const Ie=o.createContext(null),ot=o.forwardRef(function(t,i){var u,r;[t,i]=v.$64fa3d84918910a7$export$29f1550f4b0d4415(t,i,Ie);let s=o.useContext(N),{placeholder:b}=v.$64fa3d84918910a7$export$fabf2dc03a41866e(T),l=s.selectedKey!=null?s.collection.getItem(s.selectedKey):null,n=l?.props.children;typeof n=="function"&&(n=n({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"}));let a=Oe.$fca6afa0e843324b$export$f12b703ca79dfbb1(Qe(je),"react-aria-components");var d,f,h;let x=v.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,defaultChildren:(d=n??b)!==null&&d!==void 0?d:a.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:(f=(u=s.selectedItem)===null||u===void 0?void 0:u.value)!==null&&f!==void 0?f:null,selectedText:(h=(r=s.selectedItem)===null||r===void 0?void 0:r.textValue)!==null&&h!==void 0?h:null,isPlaceholder:!l}}),P=M.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t);return o.createElement("span",{ref:i,...P,...x,"data-placeholder":!l||void 0},o.createElement(Z.$514c0188e459b4c0$export$9afb8bc826b033ea.Provider,{value:void 0},x.children))}),{withProvider:lt,withContext:E}=C.createSlotRecipeContext({key:"select"}),at=lt("div","root"),ut=E("button","trigger"),it=E("span","triggerLabel"),ct=E("div","options"),st=E("div","option"),nt=E("div","optionGroup"),Ke=()=>{const e=o.useContext(N);if(!e?.selectedKey)return null;const t=()=>{e?.setSelectedKey(null)};return c.jsx(B.$f1ab8c75478c6f73$export$cf75428e0b9ed1ea,{children:c.jsx(He.IconButton,{pointerEvents:"all",size:"2xs",variant:"ghost",tone:"primary","aria-label":"Clear Selection",onPress:t,children:c.jsx(O.Close,{})})})};Ke.displayName="Select.ClearButton";const G=o.forwardRef(({children:e,isLoading:t,isDisabled:i,...u},r)=>{const s=C.useSlotRecipe({recipe:We.selectSlotRecipe}),[b,l]=s.splitVariantProps(u),[n,a]=ee.extractStyleProps(l),d={...a,isDisabled:t||i};return c.jsx(at,{asChild:!0,ref:r,...b,...n,children:c.jsxs(et,{...d,children:[c.jsxs(C.chakra.div,{position:"relative",children:[c.jsx(ut,{zIndex:0,asChild:!0,children:c.jsx(V.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{children:c.jsx(it,{asChild:!0,children:c.jsx(ot,{})})})}),c.jsxs(C.Flex,{position:"absolute",top:"0",bottom:"0",zIndex:1,right:"400",pointerEvents:"none",children:[c.jsx(C.Flex,{width:"600",my:"auto",children:c.jsx(Ke,{})}),c.jsx(C.Flex,{my:"auto",w:"600",h:"600",pointerEvents:"none",children:c.jsx(_.Box,{color:"neutral.9",asChild:!0,m:"auto",w:"400",h:"400",children:t?c.jsx(_.Box,{asChild:!0,animation:"spin",animationDuration:"slowest",children:c.jsx(O.Loop,{})}):c.jsx(O.KeyboardArrowDown,{})})})]})]}),c.jsx(B.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:e})]})})});G.displayName="Select.Root";const U=e=>{const{ref:t,...i}=e,[u,r]=ee.extractStyleProps(i);return c.jsx(ct,{asChild:!0,...u,children:c.jsx(g.$eed445e0843c11d0$export$41f133550aa26f48,{ref:t,...r})})};U.displayName="Select.Options";const H=e=>{const{ref:t,...i}=e;return c.jsx(st,{asChild:!0,ref:t,children:c.jsx(g.$eed445e0843c11d0$export$a11e76429ed99b4,{...i})})};H.displayName="Select.Option";const W=e=>{const{ref:t,label:i,items:u,children:r,...s}=e;if(u&&typeof r!="function")throw new Error('SelectOptionGroup: When "items" is provided, "children" must be a function');return c.jsxs(g.$eed445e0843c11d0$export$dca12b0bb56e4fc,{ref:t,...s,children:[c.jsx(nt,{asChild:!0,children:c.jsx(k.$72a5793c14baf454$export$8b251419efc915eb,{children:i})}),u?c.jsx(k.$e1995378a142960e$export$fb8073518f34e6ec,{items:u,children:b=>typeof r=="function"?r(b):null}):r]})};W.displayName="Select.OptionGroup";const dt={Root:G,Options:U,Option:H,OptionGroup:W};exports.Select=dt;exports.SelectOption=H;exports.SelectOptionGroup=W;exports.SelectOptions=U;exports.SelectRoot=G;
2
+ //# sourceMappingURL=select-CMIJ0YjS.cjs.js.map