@commercetools/nimbus 0.0.0-canary-20250902075758 → 0.0.0-canary-20250902091333

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 (608) hide show
  1. package/dist/chunks/{Button-Bh-FLo_8.cjs.js → Button-BtJHe9xY.cjs.js} +2 -2
  2. package/dist/chunks/{Button-Bh-FLo_8.cjs.js.map → Button-BtJHe9xY.cjs.js.map} +1 -1
  3. package/dist/chunks/{Button--gemnXF8.es.js → Button-CNBS3n5a.es.js} +3 -3
  4. package/dist/chunks/{Button--gemnXF8.es.js.map → Button-CNBS3n5a.es.js.map} +1 -1
  5. package/dist/chunks/{DateField-DVzmD_D6.es.js → DateField-Dm2Qlhbk.es.js} +71 -58
  6. package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +1 -0
  7. package/dist/chunks/DateField-rweHHCKR.cjs.js +2 -0
  8. package/dist/chunks/DateField-rweHHCKR.cjs.js.map +1 -0
  9. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js +2 -0
  10. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js.map +1 -0
  11. package/dist/chunks/{DatePicker-_A7-hp_b.es.js → DatePicker-BthC1bZ_.es.js} +109 -105
  12. package/dist/chunks/DatePicker-BthC1bZ_.es.js.map +1 -0
  13. package/dist/chunks/Dialog-BeQ6Z6l2.es.js +1924 -0
  14. package/dist/chunks/Dialog-BeQ6Z6l2.es.js.map +1 -0
  15. package/dist/chunks/Dialog-CYa26HlL.cjs.js +2 -0
  16. package/dist/chunks/Dialog-CYa26HlL.cjs.js.map +1 -0
  17. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -1
  18. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -1
  19. package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
  20. package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
  21. package/dist/chunks/FocusScope-CNO0fzPs.es.js.map +1 -1
  22. package/dist/chunks/FocusScope-DPn5XtSy.cjs.js.map +1 -1
  23. package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
  24. package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
  25. package/dist/chunks/Group-Cfixd-fh.es.js.map +1 -1
  26. package/dist/chunks/Group-MdeByg6t.cjs.js.map +1 -1
  27. package/dist/chunks/{Heading-BI5vqfiY.cjs.js → Heading-BaW6t55l.cjs.js} +2 -2
  28. package/dist/chunks/{Heading-BI5vqfiY.cjs.js.map → Heading-BaW6t55l.cjs.js.map} +1 -1
  29. package/dist/chunks/{Heading-sepFdCCa.es.js → Heading-DEfy_f01.es.js} +5 -5
  30. package/dist/chunks/{Heading-sepFdCCa.es.js.map → Heading-DEfy_f01.es.js.map} +1 -1
  31. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
  32. package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
  33. package/dist/chunks/Input-BiHwUBo4.es.js.map +1 -1
  34. package/dist/chunks/Input-HBDt7LmM.cjs.js.map +1 -1
  35. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
  36. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
  37. package/dist/chunks/Label-B2YyCdLl.es.js.map +1 -1
  38. package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -1
  39. package/dist/chunks/ListBox-CikEmFBx.cjs.js +2 -0
  40. package/dist/chunks/ListBox-CikEmFBx.cjs.js.map +1 -0
  41. package/dist/chunks/ListBox-DF3NHeEX.es.js +605 -0
  42. package/dist/chunks/ListBox-DF3NHeEX.es.js.map +1 -0
  43. package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js.map +1 -1
  44. package/dist/chunks/NumberFormatter-DgOUVrge.es.js.map +1 -1
  45. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js +2 -0
  46. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -0
  47. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js +491 -0
  48. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +1 -0
  49. package/dist/chunks/{ProgressBar-BNPexoD9.cjs.js → ProgressBar-BA3sLh1k.cjs.js} +2 -2
  50. package/dist/chunks/{ProgressBar-BNPexoD9.cjs.js.map → ProgressBar-BA3sLh1k.cjs.js.map} +1 -1
  51. package/dist/chunks/{ProgressBar-BnGsEC_2.es.js → ProgressBar-DjaUQI7N.es.js} +2 -2
  52. package/dist/chunks/{ProgressBar-BnGsEC_2.es.js.map → ProgressBar-DjaUQI7N.es.js.map} +1 -1
  53. package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +1 -1
  54. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +1 -1
  55. package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +1 -1
  56. package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +1 -1
  57. package/dist/chunks/{Collection-Df3FPouy.es.js → SelectionManager-CLyu96pU.es.js} +627 -577
  58. package/dist/chunks/SelectionManager-CLyu96pU.es.js.map +1 -0
  59. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js +18 -0
  60. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js.map +1 -0
  61. package/dist/chunks/Separator-3-E2tRbk.es.js +92 -0
  62. package/dist/chunks/Separator-3-E2tRbk.es.js.map +1 -0
  63. package/dist/chunks/Separator-CAOg-vqY.cjs.js +2 -0
  64. package/dist/chunks/Separator-CAOg-vqY.cjs.js.map +1 -0
  65. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
  66. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
  67. package/dist/chunks/TextArea-BmpgvS0R.es.js.map +1 -1
  68. package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +1 -1
  69. package/dist/chunks/{ToggleButton-BoIyPi3U.es.js → ToggleButton-C3JL0pgD.es.js} +3 -3
  70. package/dist/chunks/{ToggleButton-BoIyPi3U.es.js.map → ToggleButton-C3JL0pgD.es.js.map} +1 -1
  71. package/dist/chunks/{ToggleButton-By3cqA7R.cjs.js → ToggleButton-CPAdPTCr.cjs.js} +2 -2
  72. package/dist/chunks/{ToggleButton-By3cqA7R.cjs.js.map → ToggleButton-CPAdPTCr.cjs.js.map} +1 -1
  73. package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js.map +1 -1
  74. package/dist/chunks/VisuallyHidden-VHEPK04F.es.js.map +1 -1
  75. package/dist/chunks/{accordion-CAC36XIK.cjs.js → accordion-Be--VNW6.cjs.js} +2 -2
  76. package/dist/chunks/{accordion-CAC36XIK.cjs.js.map → accordion-Be--VNW6.cjs.js.map} +1 -1
  77. package/dist/chunks/{accordion-8XmJkF18.es.js → accordion-Drl_Y6QC.es.js} +4 -4
  78. package/dist/chunks/{accordion-8XmJkF18.es.js.map → accordion-Drl_Y6QC.es.js.map} +1 -1
  79. package/dist/chunks/{alert-CbAPX3xQ.es.js → alert-CTCZ5bln.es.js} +5 -5
  80. package/dist/chunks/{alert-CbAPX3xQ.es.js.map → alert-CTCZ5bln.es.js.map} +1 -1
  81. package/dist/chunks/{alert-STlW7NU8.cjs.js → alert-_ZQT8Lkj.cjs.js} +2 -2
  82. package/dist/chunks/{alert-STlW7NU8.cjs.js.map → alert-_ZQT8Lkj.cjs.js.map} +1 -1
  83. package/dist/chunks/{avatar-mL-2hOve.cjs.js → avatar-DEAravTR.cjs.js} +2 -2
  84. package/dist/chunks/{avatar-mL-2hOve.cjs.js.map → avatar-DEAravTR.cjs.js.map} +1 -1
  85. package/dist/chunks/{avatar-B7CMxFNg.es.js → avatar-DXWmY247.es.js} +3 -3
  86. package/dist/chunks/{avatar-B7CMxFNg.es.js.map → avatar-DXWmY247.es.js.map} +1 -1
  87. package/dist/chunks/{badge-HHzfG1BI.cjs.js → badge-BjhZ-byo.cjs.js} +2 -2
  88. package/dist/chunks/{badge-HHzfG1BI.cjs.js.map → badge-BjhZ-byo.cjs.js.map} +1 -1
  89. package/dist/chunks/{badge-C2elCKPp.es.js → badge-Cg7jASs5.es.js} +2 -2
  90. package/dist/chunks/{badge-C2elCKPp.es.js.map → badge-Cg7jASs5.es.js.map} +1 -1
  91. package/dist/chunks/{box-C8731OYq.es.js → box-BK_2R49p.es.js} +2 -2
  92. package/dist/chunks/{box-C8731OYq.es.js.map → box-BK_2R49p.es.js.map} +1 -1
  93. package/dist/chunks/{box-BPfqlznQ.cjs.js → box-BwCVnAwb.cjs.js} +2 -2
  94. package/dist/chunks/{box-BPfqlznQ.cjs.js.map → box-BwCVnAwb.cjs.js.map} +1 -1
  95. package/dist/chunks/{button-_TqIjVy-.es.js → button-CXRRo1Zo.es.js} +5 -5
  96. package/dist/chunks/{button-_TqIjVy-.es.js.map → button-CXRRo1Zo.es.js.map} +1 -1
  97. package/dist/chunks/{button-CtWoT2k5.cjs.js → button-DYpzmnga.cjs.js} +2 -2
  98. package/dist/chunks/{button-CtWoT2k5.cjs.js.map → button-DYpzmnga.cjs.js.map} +1 -1
  99. package/dist/chunks/{calendar-DFhIC3YS.cjs.js → calendar-D7q7B1ej.cjs.js} +2 -2
  100. package/dist/chunks/{calendar-DFhIC3YS.cjs.js.map → calendar-D7q7B1ej.cjs.js.map} +1 -1
  101. package/dist/chunks/{calendar-Cgm2jctu.es.js → calendar-DAPG3st4.es.js} +12 -12
  102. package/dist/chunks/{calendar-Cgm2jctu.es.js.map → calendar-DAPG3st4.es.js.map} +1 -1
  103. package/dist/chunks/{card-R8oaAKgo.es.js → card-DX8r4prk.es.js} +3 -3
  104. package/dist/chunks/{card-R8oaAKgo.es.js.map → card-DX8r4prk.es.js.map} +1 -1
  105. package/dist/chunks/{card-CHfjhPF8.cjs.js → card-DgvP36g1.cjs.js} +2 -2
  106. package/dist/chunks/{card-CHfjhPF8.cjs.js.map → card-DgvP36g1.cjs.js.map} +1 -1
  107. package/dist/chunks/{checkbox-pYAJn7HX.cjs.js → checkbox-Bfms-o7I.cjs.js} +2 -2
  108. package/dist/chunks/{checkbox-pYAJn7HX.cjs.js.map → checkbox-Bfms-o7I.cjs.js.map} +1 -1
  109. package/dist/chunks/{checkbox-Ce37pKIe.es.js → checkbox-KT-n-5er.es.js} +2 -2
  110. package/dist/chunks/{checkbox-Ce37pKIe.es.js.map → checkbox-KT-n-5er.es.js.map} +1 -1
  111. package/dist/chunks/code-C3WbF6Qh.cjs.js +2 -0
  112. package/dist/chunks/{code-CTuEvrXA.cjs.js.map → code-C3WbF6Qh.cjs.js.map} +1 -1
  113. package/dist/chunks/{code-CieYW1ER.es.js → code-DM_AtVy-.es.js} +2 -2
  114. package/dist/chunks/{code-CieYW1ER.es.js.map → code-DM_AtVy-.es.js.map} +1 -1
  115. package/dist/chunks/combobox-BOXZUeIh.cjs.js +2 -0
  116. package/dist/chunks/combobox-BOXZUeIh.cjs.js.map +1 -0
  117. package/dist/chunks/combobox-DpnWEs47.es.js +2392 -0
  118. package/dist/chunks/combobox-DpnWEs47.es.js.map +1 -0
  119. package/dist/chunks/config-Mt8_uyhI.cjs.js.map +1 -1
  120. package/dist/chunks/config-ufbQ08Vi.es.js.map +1 -1
  121. package/dist/chunks/context-OoV8SSWX.cjs.js +2 -0
  122. package/dist/chunks/{context-D0_cRaDZ.cjs.js.map → context-OoV8SSWX.cjs.js.map} +1 -1
  123. package/dist/chunks/context-R4YUlO9Y.es.js +108 -0
  124. package/dist/chunks/{context-Pt-0ojuK.es.js.map → context-R4YUlO9Y.es.js.map} +1 -1
  125. package/dist/chunks/{create-recipe-context-i2odau3L.es.js → create-recipe-context-CrNaylZN.es.js} +4 -4
  126. package/dist/chunks/{create-recipe-context-i2odau3L.es.js.map → create-recipe-context-CrNaylZN.es.js.map} +1 -1
  127. package/dist/chunks/{create-recipe-context-D0_lCuqq.cjs.js → create-recipe-context-bXYFTZLs.cjs.js} +2 -2
  128. package/dist/chunks/{create-recipe-context-D0_lCuqq.cjs.js.map → create-recipe-context-bXYFTZLs.cjs.js.map} +1 -1
  129. package/dist/chunks/{create-slot-recipe-context-DBNItnlK.es.js → create-slot-recipe-context--T0CaFjW.es.js} +3 -3
  130. package/dist/chunks/{create-slot-recipe-context-DBNItnlK.es.js.map → create-slot-recipe-context--T0CaFjW.es.js.map} +1 -1
  131. package/dist/chunks/{create-slot-recipe-context-HIF51Igr.cjs.js → create-slot-recipe-context-CimocFDH.cjs.js} +2 -2
  132. package/dist/chunks/{create-slot-recipe-context-HIF51Igr.cjs.js.map → create-slot-recipe-context-CimocFDH.cjs.js.map} +1 -1
  133. package/dist/chunks/{data-table-BvYN1Stn.es.js → data-table-CkldF9nZ.es.js} +1612 -1564
  134. package/dist/chunks/data-table-CkldF9nZ.es.js.map +1 -0
  135. package/dist/chunks/data-table-DPetwlWs.cjs.js +2 -0
  136. package/dist/chunks/data-table-DPetwlWs.cjs.js.map +1 -0
  137. package/dist/chunks/{date-input-BmKSBIL2.cjs.js → date-input-jXS-SVpU.cjs.js} +2 -2
  138. package/dist/chunks/{date-input-BmKSBIL2.cjs.js.map → date-input-jXS-SVpU.cjs.js.map} +1 -1
  139. package/dist/chunks/{date-input-DFx77xwE.es.js → date-input-wQ1WdB4N.es.js} +4 -4
  140. package/dist/chunks/{date-input-DFx77xwE.es.js.map → date-input-wQ1WdB4N.es.js.map} +1 -1
  141. package/dist/chunks/{date-picker-CsGYO3HW.cjs.js → date-picker-CDbiNEBg.cjs.js} +2 -2
  142. package/dist/chunks/{date-picker-CsGYO3HW.cjs.js.map → date-picker-CDbiNEBg.cjs.js.map} +1 -1
  143. package/dist/chunks/{date-picker-BzkAJfXO.es.js → date-picker-Do5hNEe5.es.js} +13 -13
  144. package/dist/chunks/{date-picker-BzkAJfXO.es.js.map → date-picker-Do5hNEe5.es.js.map} +1 -1
  145. package/dist/chunks/{date-range-picker-uomzPtYK.cjs.js → date-range-picker-Bq6Wkwwo.cjs.js} +2 -2
  146. package/dist/chunks/{date-range-picker-uomzPtYK.cjs.js.map → date-range-picker-Bq6Wkwwo.cjs.js.map} +1 -1
  147. package/dist/chunks/{date-range-picker-B1Sxvj0C.es.js → date-range-picker-DhX5QVXh.es.js} +13 -13
  148. package/dist/chunks/{date-range-picker-B1Sxvj0C.es.js.map → date-range-picker-DhX5QVXh.es.js.map} +1 -1
  149. package/dist/chunks/dialog-BQa_NWSr.cjs.js +2 -0
  150. package/dist/chunks/dialog-BQa_NWSr.cjs.js.map +1 -0
  151. package/dist/chunks/dialog-D4u5so0e.es.js +1912 -0
  152. package/dist/chunks/dialog-D4u5so0e.es.js.map +1 -0
  153. package/dist/chunks/{divider-CpctZ_-U.es.js → divider-Cjs3ESH7.es.js} +2 -2
  154. package/dist/chunks/{divider-CpctZ_-U.es.js.map → divider-Cjs3ESH7.es.js.map} +1 -1
  155. package/dist/chunks/{divider-CTTExmLv.cjs.js → divider-DU351gdE.cjs.js} +2 -2
  156. package/dist/chunks/{divider-CTTExmLv.cjs.js.map → divider-DU351gdE.cjs.js.map} +1 -1
  157. package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -1
  158. package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -1
  159. package/dist/chunks/{factory-DlCuwIGL.cjs.js → factory-CVGqU9CD.cjs.js} +2 -2
  160. package/dist/chunks/{factory-DlCuwIGL.cjs.js.map → factory-CVGqU9CD.cjs.js.map} +1 -1
  161. package/dist/chunks/{factory-BpxiKxSs.es.js → factory-DmIX2puY.es.js} +2 -2
  162. package/dist/chunks/{factory-BpxiKxSs.es.js.map → factory-DmIX2puY.es.js.map} +1 -1
  163. package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -1
  164. package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -1
  165. package/dist/chunks/{flex-B81RbgfK.es.js → flex-BFC_f5BH.es.js} +2 -2
  166. package/dist/chunks/{flex-B81RbgfK.es.js.map → flex-BFC_f5BH.es.js.map} +1 -1
  167. package/dist/chunks/{flex-BhVeeItQ.cjs.js → flex-yqydM5z_.cjs.js} +2 -2
  168. package/dist/chunks/{flex-BhVeeItQ.cjs.js.map → flex-yqydM5z_.cjs.js.map} +1 -1
  169. package/dist/chunks/focusSafely-DJpphVHF.es.js.map +1 -1
  170. package/dist/chunks/focusSafely-jDMW9aEx.cjs.js.map +1 -1
  171. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
  172. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
  173. package/dist/chunks/{form-field-B1B4BtvO.es.js → form-field-B8N-bvac.es.js} +5 -5
  174. package/dist/chunks/{form-field-B1B4BtvO.es.js.map → form-field-B8N-bvac.es.js.map} +1 -1
  175. package/dist/chunks/{form-field-6_jyAhgo.cjs.js → form-field-CH2EUQMc.cjs.js} +2 -2
  176. package/dist/chunks/{form-field-6_jyAhgo.cjs.js.map → form-field-CH2EUQMc.cjs.js.map} +1 -1
  177. package/dist/chunks/{grid-Cdmh4YaF.es.js → grid-B3Ggy_FW.es.js} +2 -2
  178. package/dist/chunks/{grid-Cdmh4YaF.es.js.map → grid-B3Ggy_FW.es.js.map} +1 -1
  179. package/dist/chunks/{grid-CWdLtU5p.cjs.js → grid-CXpKN2OR.cjs.js} +2 -2
  180. package/dist/chunks/{grid-CWdLtU5p.cjs.js.map → grid-CXpKN2OR.cjs.js.map} +1 -1
  181. package/dist/chunks/{grid-item-CJHf3veC.cjs.js → grid-item-CGwfSnm7.cjs.js} +2 -2
  182. package/dist/chunks/{grid-item-CJHf3veC.cjs.js.map → grid-item-CGwfSnm7.cjs.js.map} +1 -1
  183. package/dist/chunks/{grid-item-CpPkpUVF.es.js → grid-item-DuAynDd1.es.js} +3 -3
  184. package/dist/chunks/{grid-item-CpPkpUVF.es.js.map → grid-item-DuAynDd1.es.js.map} +1 -1
  185. package/dist/chunks/{icon-DTe62Nqz.es.js → icon-BDsjJ4Zi.es.js} +2 -2
  186. package/dist/chunks/{icon-DTe62Nqz.es.js.map → icon-BDsjJ4Zi.es.js.map} +1 -1
  187. package/dist/chunks/{icon-C_BZeqkm.cjs.js → icon-DHoLo7_S.cjs.js} +2 -2
  188. package/dist/chunks/{icon-C_BZeqkm.cjs.js.map → icon-DHoLo7_S.cjs.js.map} +1 -1
  189. package/dist/chunks/{icon-button-Dqhm4rBI.cjs.js → icon-button-1MQYEWVd.cjs.js} +2 -2
  190. package/dist/chunks/{icon-button-Dqhm4rBI.cjs.js.map → icon-button-1MQYEWVd.cjs.js.map} +1 -1
  191. package/dist/chunks/{icon-button-oIKucbza.es.js → icon-button-Bp92vS0I.es.js} +2 -2
  192. package/dist/chunks/{icon-button-oIKucbza.es.js.map → icon-button-Bp92vS0I.es.js.map} +1 -1
  193. package/dist/chunks/{icon-toggle-button-DIfDVDd4.cjs.js → icon-toggle-button-D42wYTJF.cjs.js} +2 -2
  194. package/dist/chunks/{icon-toggle-button-DIfDVDd4.cjs.js.map → icon-toggle-button-D42wYTJF.cjs.js.map} +1 -1
  195. package/dist/chunks/{icon-toggle-button-BYKHQRsq.es.js → icon-toggle-button-D7N1RxnR.es.js} +2 -2
  196. package/dist/chunks/{icon-toggle-button-BYKHQRsq.es.js.map → icon-toggle-button-D7N1RxnR.es.js.map} +1 -1
  197. package/dist/chunks/{image-BP9LcU28.cjs.js → image-B3ISQSVL.cjs.js} +2 -2
  198. package/dist/chunks/{image-BP9LcU28.cjs.js.map → image-B3ISQSVL.cjs.js.map} +1 -1
  199. package/dist/chunks/{image-BycsRl2K.es.js → image-CwcCZREa.es.js} +2 -2
  200. package/dist/chunks/{image-BycsRl2K.es.js.map → image-CwcCZREa.es.js.map} +1 -1
  201. package/dist/chunks/{image-B2WbQ5hi.es.js → image-MeWmLoV0.es.js} +2 -2
  202. package/dist/chunks/{image-B2WbQ5hi.es.js.map → image-MeWmLoV0.es.js.map} +1 -1
  203. package/dist/chunks/image-bt28epM5.cjs.js +2 -0
  204. package/dist/chunks/{image-BAqoLZQB.cjs.js.map → image-bt28epM5.cjs.js.map} +1 -1
  205. package/dist/chunks/{index-0CyuQQet.es.js → index-46Tt2Ww4.es.js} +2 -2
  206. package/dist/chunks/{index-0CyuQQet.es.js.map → index-46Tt2Ww4.es.js.map} +1 -1
  207. package/dist/chunks/index-BYEAMD8A.cjs.js +2 -0
  208. package/dist/chunks/{index-x9OhLGGf.cjs.js.map → index-BYEAMD8A.cjs.js.map} +1 -1
  209. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
  210. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
  211. package/dist/chunks/{kbd-CDEXQyg2.es.js → kbd-Bc97Bwq3.es.js} +2 -2
  212. package/dist/chunks/{kbd-CDEXQyg2.es.js.map → kbd-Bc97Bwq3.es.js.map} +1 -1
  213. package/dist/chunks/{kbd-DP3lZ80W.cjs.js → kbd-BlZ2RGfa.cjs.js} +2 -2
  214. package/dist/chunks/{kbd-DP3lZ80W.cjs.js.map → kbd-BlZ2RGfa.cjs.js.map} +1 -1
  215. package/dist/chunks/{link-BoUhLeO-.es.js → link-DjzrPyx3.es.js} +2 -2
  216. package/dist/chunks/{link-BoUhLeO-.es.js.map → link-DjzrPyx3.es.js.map} +1 -1
  217. package/dist/chunks/{link-DTUiEXYJ.cjs.js → link-DzUonoQg.cjs.js} +2 -2
  218. package/dist/chunks/{link-DTUiEXYJ.cjs.js.map → link-DzUonoQg.cjs.js.map} +1 -1
  219. package/dist/chunks/{list-x423RThD.es.js → list-BTkkDy6B.es.js} +2 -2
  220. package/dist/chunks/{list-x423RThD.es.js.map → list-BTkkDy6B.es.js.map} +1 -1
  221. package/dist/chunks/{list-r1G4iBXo.cjs.js → list-DokC0Ks-.cjs.js} +2 -2
  222. package/dist/chunks/{list-r1G4iBXo.cjs.js.map → list-DokC0Ks-.cjs.js.map} +1 -1
  223. package/dist/chunks/{loading-spinner-C7yZE-QF.es.js → loading-spinner-DuBf2cIy.es.js} +3 -3
  224. package/dist/chunks/{loading-spinner-C7yZE-QF.es.js.map → loading-spinner-DuBf2cIy.es.js.map} +1 -1
  225. package/dist/chunks/{loading-spinner-BLDpwNFm.cjs.js → loading-spinner-VVQyl725.cjs.js} +2 -2
  226. package/dist/chunks/{loading-spinner-BLDpwNFm.cjs.js.map → loading-spinner-VVQyl725.cjs.js.map} +1 -1
  227. package/dist/chunks/{menu-BZWMAG92.es.js → menu-DFrwX16L.es.js} +25 -25
  228. package/dist/chunks/{menu-BZWMAG92.es.js.map → menu-DFrwX16L.es.js.map} +1 -1
  229. package/dist/chunks/menu-DHZ-kLy2.cjs.js +2 -0
  230. package/dist/chunks/{menu-C41LRy4b.cjs.js.map → menu-DHZ-kLy2.cjs.js.map} +1 -1
  231. package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -1
  232. package/dist/chunks/mergeProps-B_9syxhT.es.js.map +1 -1
  233. package/dist/chunks/{multiline-text-input-Dy6gbL7T.es.js → multiline-text-input-DJUUQQcc.es.js} +3 -3
  234. package/dist/chunks/{multiline-text-input-Dy6gbL7T.es.js.map → multiline-text-input-DJUUQQcc.es.js.map} +1 -1
  235. package/dist/chunks/{multiline-text-input-B5XtIAAO.cjs.js → multiline-text-input-c-ycPy7O.cjs.js} +2 -2
  236. package/dist/chunks/{multiline-text-input-B5XtIAAO.cjs.js.map → multiline-text-input-c-ycPy7O.cjs.js.map} +1 -1
  237. package/dist/chunks/{namespace-HxAMZBwF.es.js → namespace---Td8pR2.es.js} +3 -3
  238. package/dist/chunks/{namespace-HxAMZBwF.es.js.map → namespace---Td8pR2.es.js.map} +1 -1
  239. package/dist/chunks/{namespace-CYjqWfVn.cjs.js → namespace-CpLmDcCq.cjs.js} +2 -2
  240. package/dist/chunks/{namespace-CYjqWfVn.cjs.js.map → namespace-CpLmDcCq.cjs.js.map} +1 -1
  241. package/dist/chunks/{nimbus-provider-Yka95N38.cjs.js → nimbus-provider-CVhVm-aq.cjs.js} +2 -2
  242. package/dist/chunks/{nimbus-provider-Yka95N38.cjs.js.map → nimbus-provider-CVhVm-aq.cjs.js.map} +1 -1
  243. package/dist/chunks/{nimbus-provider-C68IpiXi.es.js → nimbus-provider-_f5vEIR_.es.js} +3 -3
  244. package/dist/chunks/{nimbus-provider-C68IpiXi.es.js.map → nimbus-provider-_f5vEIR_.es.js.map} +1 -1
  245. package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -1
  246. package/dist/chunks/number-dMxJejI6.es.js.map +1 -1
  247. package/dist/chunks/{number-input-Dm2FFtQx.cjs.js → number-input-BFmnS-UB.cjs.js} +2 -2
  248. package/dist/chunks/{number-input-Dm2FFtQx.cjs.js.map → number-input-BFmnS-UB.cjs.js.map} +1 -1
  249. package/dist/chunks/{number-input-BxLU6AgG.es.js → number-input-DloMrtt6.es.js} +8 -8
  250. package/dist/chunks/{number-input-BxLU6AgG.es.js.map → number-input-DloMrtt6.es.js.map} +1 -1
  251. package/dist/chunks/openLink-Ctl0AdAy.es.js.map +1 -1
  252. package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -1
  253. package/dist/chunks/{password-input-CwWWxcly.cjs.js → password-input-C-tPs6EJ.cjs.js} +2 -2
  254. package/dist/chunks/{password-input-CwWWxcly.cjs.js.map → password-input-C-tPs6EJ.cjs.js.map} +1 -1
  255. package/dist/chunks/{password-input-DJjAz3TP.es.js → password-input-CBdBny43.es.js} +5 -5
  256. package/dist/chunks/{password-input-DJjAz3TP.es.js.map → password-input-CBdBny43.es.js.map} +1 -1
  257. package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -1
  258. package/dist/chunks/platform-Z5fvtFmM.es.js.map +1 -1
  259. package/dist/chunks/{progress-bar-CDRI279T.es.js → progress-bar-Dx1MVCsz.es.js} +5 -5
  260. package/dist/chunks/{progress-bar-CDRI279T.es.js.map → progress-bar-Dx1MVCsz.es.js.map} +1 -1
  261. package/dist/chunks/{progress-bar-nQCcdv_4.cjs.js → progress-bar-vPPXrzbA.cjs.js} +2 -2
  262. package/dist/chunks/{progress-bar-nQCcdv_4.cjs.js.map → progress-bar-vPPXrzbA.cjs.js.map} +1 -1
  263. package/dist/chunks/{provider-DxFdjgyb.es.js → provider-CHFgwvsP.es.js} +3 -3
  264. package/dist/chunks/provider-CHFgwvsP.es.js.map +1 -0
  265. package/dist/chunks/provider-DFlBEH6q.cjs.js +16 -0
  266. package/dist/chunks/provider-DFlBEH6q.cjs.js.map +1 -0
  267. package/dist/chunks/{radio-input-BXFY8CaT.cjs.js → radio-input-1eswyY0o.cjs.js} +2 -2
  268. package/dist/chunks/{radio-input-BXFY8CaT.cjs.js.map → radio-input-1eswyY0o.cjs.js.map} +1 -1
  269. package/dist/chunks/{radio-input-CAogtJP7.es.js → radio-input-D-9Q8REK.es.js} +3 -3
  270. package/dist/chunks/{radio-input-CAogtJP7.es.js.map → radio-input-D-9Q8REK.es.js.map} +1 -1
  271. package/dist/chunks/{range-calendar-D-CvB2-1.es.js → range-calendar-B6T5RB2u.es.js} +12 -12
  272. package/dist/chunks/{range-calendar-D-CvB2-1.es.js.map → range-calendar-B6T5RB2u.es.js.map} +1 -1
  273. package/dist/chunks/{range-calendar-BuzvPCc1.cjs.js → range-calendar-NhqUtCdU.cjs.js} +2 -2
  274. package/dist/chunks/{range-calendar-BuzvPCc1.cjs.js.map → range-calendar-NhqUtCdU.cjs.js.map} +1 -1
  275. package/dist/chunks/{rich-text-input-Dv7OofX2.es.js → rich-text-input-BvYBUkt_.es.js} +12 -12
  276. package/dist/chunks/{rich-text-input-Dv7OofX2.es.js.map → rich-text-input-BvYBUkt_.es.js.map} +1 -1
  277. package/dist/chunks/{rich-text-input-Dmp5hx2t.cjs.js → rich-text-input-DXzaZuhE.cjs.js} +2 -2
  278. package/dist/chunks/{rich-text-input-Dmp5hx2t.cjs.js.map → rich-text-input-DXzaZuhE.cjs.js.map} +1 -1
  279. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +1 -1
  280. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +1 -1
  281. package/dist/chunks/select-CXwoEwFo.cjs.js +2 -0
  282. package/dist/chunks/{select-IUEop3i7.cjs.js.map → select-CXwoEwFo.cjs.js.map} +1 -1
  283. package/dist/chunks/{select-Dlg0m5Ww.es.js → select-CanxdDbU.es.js} +15 -15
  284. package/dist/chunks/{select-Dlg0m5Ww.es.js.map → select-CanxdDbU.es.js.map} +1 -1
  285. package/dist/chunks/{simple-grid-yOwvCBEN.cjs.js → simple-grid-B7BgfVAS.cjs.js} +2 -2
  286. package/dist/chunks/{simple-grid-yOwvCBEN.cjs.js.map → simple-grid-B7BgfVAS.cjs.js.map} +1 -1
  287. package/dist/chunks/{simple-grid-Crtlocqj.es.js → simple-grid-C6GRMtip.es.js} +4 -4
  288. package/dist/chunks/{simple-grid-Crtlocqj.es.js.map → simple-grid-C6GRMtip.es.js.map} +1 -1
  289. package/dist/chunks/{slate-helpers-CMAwCMk0.cjs.js → slate-helpers-BN_9Hky2.cjs.js} +3 -3
  290. package/dist/chunks/{slate-helpers-CMAwCMk0.cjs.js.map → slate-helpers-BN_9Hky2.cjs.js.map} +1 -1
  291. package/dist/chunks/{slate-helpers-BwRHJO4o.es.js → slate-helpers-DunxggA8.es.js} +45 -45
  292. package/dist/chunks/{slate-helpers-BwRHJO4o.es.js.map → slate-helpers-DunxggA8.es.js.map} +1 -1
  293. package/dist/chunks/{split-button-Dpj44F6g.es.js → split-button-BTheahW8.es.js} +4 -4
  294. package/dist/chunks/{split-button-Dpj44F6g.es.js.map → split-button-BTheahW8.es.js.map} +1 -1
  295. package/dist/chunks/{split-button-B4Wp7H3n.cjs.js → split-button-CM-MvUGD.cjs.js} +2 -2
  296. package/dist/chunks/{split-button-B4Wp7H3n.cjs.js.map → split-button-CM-MvUGD.cjs.js.map} +1 -1
  297. package/dist/chunks/{stack-B6PqFPMh.cjs.js → stack-BG0j9HvT.cjs.js} +2 -2
  298. package/dist/chunks/{stack-B6PqFPMh.cjs.js.map → stack-BG0j9HvT.cjs.js.map} +1 -1
  299. package/dist/chunks/{stack-CBx-c8hI.es.js → stack-QzuqKTKb.es.js} +3 -3
  300. package/dist/chunks/{stack-CBx-c8hI.es.js.map → stack-QzuqKTKb.es.js.map} +1 -1
  301. package/dist/chunks/{switch-CeNcr608.cjs.js → switch-D2Wfgfnu.cjs.js} +2 -2
  302. package/dist/chunks/{switch-CeNcr608.cjs.js.map → switch-D2Wfgfnu.cjs.js.map} +1 -1
  303. package/dist/chunks/{switch-Ba9WXDDP.es.js → switch-DfH87j5a.es.js} +2 -2
  304. package/dist/chunks/{switch-Ba9WXDDP.es.js.map → switch-DfH87j5a.es.js.map} +1 -1
  305. package/dist/chunks/tag-group-BxRaZjiA.cjs.js +2 -0
  306. package/dist/chunks/tag-group-BxRaZjiA.cjs.js.map +1 -0
  307. package/dist/chunks/{tag-group-BY7yGmmv.es.js → tag-group-EIsTAERM.es.js} +278 -265
  308. package/dist/chunks/tag-group-EIsTAERM.es.js.map +1 -0
  309. package/dist/chunks/{text-B2wziCK6.es.js → text-DSjt3Sqv.es.js} +2 -2
  310. package/dist/chunks/{text-B2wziCK6.es.js.map → text-DSjt3Sqv.es.js.map} +1 -1
  311. package/dist/chunks/{text-hUMahKuA.cjs.js → text-Dg1sFCuC.cjs.js} +2 -2
  312. package/dist/chunks/{text-hUMahKuA.cjs.js.map → text-Dg1sFCuC.cjs.js.map} +1 -1
  313. package/dist/chunks/{text-input-82882hyq.es.js → text-input-BnwR9awD.es.js} +3 -3
  314. package/dist/chunks/{text-input-82882hyq.es.js.map → text-input-BnwR9awD.es.js.map} +1 -1
  315. package/dist/chunks/{text-input-CBcEG79G.cjs.js → text-input-DtwV2zvu.cjs.js} +2 -2
  316. package/dist/chunks/{text-input-CBcEG79G.cjs.js.map → text-input-DtwV2zvu.cjs.js.map} +1 -1
  317. package/dist/chunks/{time-input-CCnD_SWq.cjs.js → time-input-BS5RS11d.cjs.js} +2 -2
  318. package/dist/chunks/{time-input-CCnD_SWq.cjs.js.map → time-input-BS5RS11d.cjs.js.map} +1 -1
  319. package/dist/chunks/{time-input-DAA-IK0I.es.js → time-input-BuFPyNcW.es.js} +4 -4
  320. package/dist/chunks/{time-input-DAA-IK0I.es.js.map → time-input-BuFPyNcW.es.js.map} +1 -1
  321. package/dist/chunks/{toggle-button-163ZMcpk.es.js → toggle-button-B5nYtXCP.es.js} +5 -5
  322. package/dist/chunks/{toggle-button-163ZMcpk.es.js.map → toggle-button-B5nYtXCP.es.js.map} +1 -1
  323. package/dist/chunks/{toggle-button-BTYd563-.cjs.js → toggle-button-CZcbVyDV.cjs.js} +2 -2
  324. package/dist/chunks/{toggle-button-BTYd563-.cjs.js.map → toggle-button-CZcbVyDV.cjs.js.map} +1 -1
  325. package/dist/chunks/{toggle-button-group-D-sGsuZ_.es.js → toggle-button-group-DHMnBWSg.es.js} +3 -3
  326. package/dist/chunks/{toggle-button-group-D-sGsuZ_.es.js.map → toggle-button-group-DHMnBWSg.es.js.map} +1 -1
  327. package/dist/chunks/{toggle-button-group-Dq51N27j.cjs.js → toggle-button-group-LddoXszz.cjs.js} +2 -2
  328. package/dist/chunks/{toggle-button-group-Dq51N27j.cjs.js.map → toggle-button-group-LddoXszz.cjs.js.map} +1 -1
  329. package/dist/chunks/{toolbar-Ch-bOLkm.es.js → toolbar-CWst3Tik.es.js} +2 -2
  330. package/dist/chunks/{toolbar-Ch-bOLkm.es.js.map → toolbar-CWst3Tik.es.js.map} +1 -1
  331. package/dist/chunks/{toolbar-CzXpYEbP.cjs.js → toolbar-CrxjHhQi.cjs.js} +2 -2
  332. package/dist/chunks/{toolbar-CzXpYEbP.cjs.js.map → toolbar-CrxjHhQi.cjs.js.map} +1 -1
  333. package/dist/chunks/tooltip-CIAEV4_B.cjs.js +2 -0
  334. package/dist/chunks/tooltip-CIAEV4_B.cjs.js.map +1 -0
  335. package/dist/chunks/tooltip-CTvNYvui.es.js +269 -0
  336. package/dist/chunks/tooltip-CTvNYvui.es.js.map +1 -0
  337. package/dist/chunks/{use-formatting-state-Denpy3Zo.cjs.js → use-formatting-state-DVcnyVBl.cjs.js} +2 -2
  338. package/dist/chunks/{use-formatting-state-Denpy3Zo.cjs.js.map → use-formatting-state-DVcnyVBl.cjs.js.map} +1 -1
  339. package/dist/chunks/{use-formatting-state-RJvSR-Zg.es.js → use-formatting-state-DdKYccZs.es.js} +2 -2
  340. package/dist/chunks/{use-formatting-state-RJvSR-Zg.es.js.map → use-formatting-state-DdKYccZs.es.js.map} +1 -1
  341. package/dist/chunks/{use-recipe-CR4W7Dne.es.js → use-recipe-DuU8En0C.es.js} +2 -2
  342. package/dist/chunks/{use-recipe-CR4W7Dne.es.js.map → use-recipe-DuU8En0C.es.js.map} +1 -1
  343. package/dist/chunks/use-recipe-pbWWLWIq.cjs.js +2 -0
  344. package/dist/chunks/{use-recipe-BZ_iqCkN.cjs.js.map → use-recipe-pbWWLWIq.cjs.js.map} +1 -1
  345. package/dist/chunks/{useButton-C8n_NtBu.cjs.js → useButton-BgBfaV_L.cjs.js} +2 -2
  346. package/dist/chunks/{useButton-C8n_NtBu.cjs.js.map → useButton-BgBfaV_L.cjs.js.map} +1 -1
  347. package/dist/chunks/{useButton-M3_syr-Y.es.js → useButton-DAeSjgg9.es.js} +19 -18
  348. package/dist/chunks/{useButton-M3_syr-Y.es.js.map → useButton-DAeSjgg9.es.js.map} +1 -1
  349. package/dist/chunks/{useCollator-BvjDbml1.es.js → useCollator-BHMZd1r6.es.js} +2 -2
  350. package/dist/chunks/{useCollator-BvjDbml1.es.js.map → useCollator-BHMZd1r6.es.js.map} +1 -1
  351. package/dist/chunks/{useCollator-ZqnkTllN.cjs.js → useCollator-YVJAe1GI.cjs.js} +2 -2
  352. package/dist/chunks/{useCollator-ZqnkTllN.cjs.js.map → useCollator-YVJAe1GI.cjs.js.map} +1 -1
  353. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
  354. package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
  355. package/dist/chunks/{useDateFormatter-BqJA667a.es.js → useDateFormatter-C7Kxzwro.es.js} +2 -2
  356. package/dist/chunks/useDateFormatter-C7Kxzwro.es.js.map +1 -0
  357. package/dist/chunks/{useDateFormatter-Dq2Ly1Je.cjs.js → useDateFormatter-CS19Cch2.cjs.js} +2 -2
  358. package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js.map +1 -0
  359. package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +1 -1
  360. package/dist/chunks/useEvent-YHhqZvpU.es.js.map +1 -1
  361. package/dist/chunks/useField-Ce9zQxmx.es.js.map +1 -1
  362. package/dist/chunks/useField-DmqO9k7a.cjs.js.map +1 -1
  363. package/dist/chunks/{useFilter-Du48WXDn.cjs.js → useFilter-CG8lxfCP.cjs.js} +2 -2
  364. package/dist/chunks/{useFilter-Du48WXDn.cjs.js.map → useFilter-CG8lxfCP.cjs.js.map} +1 -1
  365. package/dist/chunks/{useFilter-Bh0adxQ-.es.js → useFilter-DOfNzeZ9.es.js} +2 -2
  366. package/dist/chunks/{useFilter-Bh0adxQ-.es.js.map → useFilter-DOfNzeZ9.es.js.map} +1 -1
  367. package/dist/chunks/useFocus-BtJ38vev.cjs.js.map +1 -1
  368. package/dist/chunks/useFocus-DkWJ2TJC.es.js.map +1 -1
  369. package/dist/chunks/useFocusRing-CzFer4bD.cjs.js.map +1 -1
  370. package/dist/chunks/useFocusRing-updnkDQg.es.js.map +1 -1
  371. package/dist/chunks/useFocusVisible-CWDaG0ze.es.js.map +1 -1
  372. package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js.map +1 -1
  373. package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js.map +1 -1
  374. package/dist/chunks/useFocusWithin-ByYlHjju.es.js.map +1 -1
  375. package/dist/chunks/useFocusable-CrsD8ZcF.es.js.map +1 -1
  376. package/dist/chunks/useFocusable-DCgmQxS1.cjs.js.map +1 -1
  377. package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -1
  378. package/dist/chunks/useFormReset-DurgUJL-.es.js.map +1 -1
  379. package/dist/chunks/useFormValidation-4hZ1_a6w.es.js.map +1 -1
  380. package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js.map +1 -1
  381. package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
  382. package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -1
  383. package/dist/chunks/{useHighlightSelectionDescription-CsL0QM95.es.js → useHighlightSelectionDescription-BQg1WcM3.es.js} +2 -2
  384. package/dist/chunks/{useHighlightSelectionDescription-CsL0QM95.es.js.map → useHighlightSelectionDescription-BQg1WcM3.es.js.map} +1 -1
  385. package/dist/chunks/{useHighlightSelectionDescription-DwBGGESb.cjs.js → useHighlightSelectionDescription-CpDw-Mgj.cjs.js} +2 -2
  386. package/dist/chunks/{useHighlightSelectionDescription-DwBGGESb.cjs.js.map → useHighlightSelectionDescription-CpDw-Mgj.cjs.js.map} +1 -1
  387. package/dist/chunks/useHover-CiP9jMFy.cjs.js.map +1 -1
  388. package/dist/chunks/useHover-DhoE75lX.es.js.map +1 -1
  389. package/dist/chunks/useLabel-BBmkkrPP.es.js.map +1 -1
  390. package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +1 -1
  391. package/dist/chunks/{useLocalizedStringFormatter-CvzOUusg.es.js → useLocalizedStringFormatter-BRnRyxJp.es.js} +2 -2
  392. package/dist/chunks/{useLocalizedStringFormatter-CvzOUusg.es.js.map → useLocalizedStringFormatter-BRnRyxJp.es.js.map} +1 -1
  393. package/dist/chunks/{useLocalizedStringFormatter-fJnbqb2x.cjs.js → useLocalizedStringFormatter-sB0mFYtL.cjs.js} +2 -2
  394. package/dist/chunks/{useLocalizedStringFormatter-fJnbqb2x.cjs.js.map → useLocalizedStringFormatter-sB0mFYtL.cjs.js.map} +1 -1
  395. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
  396. package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -1
  397. package/dist/chunks/usePress-C8-hLXJw.cjs.js.map +1 -1
  398. package/dist/chunks/usePress-DHhWHfMz.es.js.map +1 -1
  399. package/dist/chunks/{useProgressBar-BgURyN6q.es.js → useProgressBar-DHFmTHqL.es.js} +2 -2
  400. package/dist/chunks/{useProgressBar-BgURyN6q.es.js.map → useProgressBar-DHFmTHqL.es.js.map} +1 -1
  401. package/dist/chunks/{useProgressBar-8ZyM2_T3.cjs.js → useProgressBar-DWH4I0qR.cjs.js} +2 -2
  402. package/dist/chunks/{useProgressBar-8ZyM2_T3.cjs.js.map → useProgressBar-DWH4I0qR.cjs.js.map} +1 -1
  403. package/dist/chunks/useSeparator-B-OtWwE7.cjs.js.map +1 -1
  404. package/dist/chunks/useSeparator-Dg70ACBm.es.js.map +1 -1
  405. package/dist/chunks/{useSingleSelectListState-CYqW_Fx5.es.js → useSingleSelectListState-D1rjgMv_.es.js} +2 -2
  406. package/dist/chunks/{useSingleSelectListState-CYqW_Fx5.es.js.map → useSingleSelectListState-D1rjgMv_.es.js.map} +1 -1
  407. package/dist/chunks/{useSingleSelectListState-8Jfm9Pr1.cjs.js → useSingleSelectListState-F2WkLZRg.cjs.js} +2 -2
  408. package/dist/chunks/{useSingleSelectListState-8Jfm9Pr1.cjs.js.map → useSingleSelectListState-F2WkLZRg.cjs.js.map} +1 -1
  409. package/dist/chunks/{useSpinButton-C-tpK-T9.es.js → useSpinButton-C9DPDo0r.es.js} +30 -30
  410. package/dist/chunks/useSpinButton-C9DPDo0r.es.js.map +1 -0
  411. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js +2 -0
  412. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js.map +1 -0
  413. package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +1 -1
  414. package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -1
  415. package/dist/chunks/useTextField-BcthGRd8.cjs.js.map +1 -1
  416. package/dist/chunks/useTextField-BnL6tOdd.es.js.map +1 -1
  417. package/dist/chunks/useToggle-DqruaaTq.es.js.map +1 -1
  418. package/dist/chunks/useToggle-VJWgbeCC.cjs.js.map +1 -1
  419. package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -1
  420. package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -1
  421. package/dist/chunks/{useToolbar-Coi7qK2U.cjs.js → useToolbar-Bqn3EANT.cjs.js} +2 -2
  422. package/dist/chunks/{useToolbar-Coi7qK2U.cjs.js.map → useToolbar-Bqn3EANT.cjs.js.map} +1 -1
  423. package/dist/chunks/{useToolbar-9B43whQM.es.js → useToolbar-CLH6Sjes.es.js} +2 -2
  424. package/dist/chunks/{useToolbar-9B43whQM.es.js.map → useToolbar-CLH6Sjes.es.js.map} +1 -1
  425. package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -1
  426. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
  427. package/dist/chunks/utils-BGHwK7fd.cjs.js.map +1 -1
  428. package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -1
  429. package/dist/chunks/utils-BkdW_cdL.es.js.map +1 -1
  430. package/dist/chunks/utils-jpfA6kxk.es.js.map +1 -1
  431. package/dist/chunks/{walk-object-Ad4Rz5Gh.cjs.js → walk-object-CPVtf-bb.cjs.js} +2 -2
  432. package/dist/chunks/{walk-object-Ad4Rz5Gh.cjs.js.map → walk-object-CPVtf-bb.cjs.js.map} +1 -1
  433. package/dist/chunks/{walk-object-Drjey5HY.es.js → walk-object-Dpb8i9wi.es.js} +2 -2
  434. package/dist/chunks/{walk-object-Drjey5HY.es.js.map → walk-object-Dpb8i9wi.es.js.map} +1 -1
  435. package/dist/components/accordion.cjs +1 -1
  436. package/dist/components/accordion.es.js +1 -1
  437. package/dist/components/alert.cjs +1 -1
  438. package/dist/components/alert.es.js +1 -1
  439. package/dist/components/avatar.cjs +1 -1
  440. package/dist/components/avatar.es.js +1 -1
  441. package/dist/components/badge.cjs +1 -1
  442. package/dist/components/badge.es.js +1 -1
  443. package/dist/components/box.cjs +1 -1
  444. package/dist/components/box.es.js +1 -1
  445. package/dist/components/button.cjs +1 -1
  446. package/dist/components/button.es.js +1 -1
  447. package/dist/components/calendar.cjs +1 -1
  448. package/dist/components/calendar.es.js +1 -1
  449. package/dist/components/card.cjs +1 -1
  450. package/dist/components/card.es.js +1 -1
  451. package/dist/components/checkbox.cjs +1 -1
  452. package/dist/components/checkbox.es.js +1 -1
  453. package/dist/components/code.cjs +1 -1
  454. package/dist/components/code.es.js +1 -1
  455. package/dist/components/combobox.cjs +1 -1
  456. package/dist/components/combobox.es.js +1 -1
  457. package/dist/components/components.cjs +1 -1
  458. package/dist/components/components.es.js +52 -52
  459. package/dist/components/data-table.cjs +1 -1
  460. package/dist/components/data-table.es.js +1 -1
  461. package/dist/components/date-input.cjs +1 -1
  462. package/dist/components/date-input.es.js +1 -1
  463. package/dist/components/date-picker.cjs +1 -1
  464. package/dist/components/date-picker.es.js +1 -1
  465. package/dist/components/date-range-picker.cjs +1 -1
  466. package/dist/components/date-range-picker.es.js +1 -1
  467. package/dist/components/dialog.cjs +1 -1
  468. package/dist/components/dialog.es.js +1 -1
  469. package/dist/components/divider.cjs +1 -1
  470. package/dist/components/divider.es.js +1 -1
  471. package/dist/components/flex.cjs +1 -1
  472. package/dist/components/flex.es.js +1 -1
  473. package/dist/components/form-field.cjs +1 -1
  474. package/dist/components/form-field.es.js +1 -1
  475. package/dist/components/grid.cjs +1 -1
  476. package/dist/components/grid.es.js +1 -1
  477. package/dist/components/heading.cjs +1 -1
  478. package/dist/components/heading.es.js +1 -1
  479. package/dist/components/hooks.cjs +1 -1
  480. package/dist/components/hooks.es.js +1 -1
  481. package/dist/components/icon-button.cjs +1 -1
  482. package/dist/components/icon-button.es.js +1 -1
  483. package/dist/components/icon-toggle-button.cjs +1 -1
  484. package/dist/components/icon-toggle-button.es.js +1 -1
  485. package/dist/components/icon.cjs +1 -1
  486. package/dist/components/icon.es.js +1 -1
  487. package/dist/components/image.cjs +1 -1
  488. package/dist/components/image.es.js +1 -1
  489. package/dist/components/kbd.cjs +1 -1
  490. package/dist/components/kbd.es.js +1 -1
  491. package/dist/components/link.cjs +1 -1
  492. package/dist/components/link.es.js +1 -1
  493. package/dist/components/list.cjs +1 -1
  494. package/dist/components/list.es.js +1 -1
  495. package/dist/components/loading-spinner.cjs +1 -1
  496. package/dist/components/loading-spinner.es.js +1 -1
  497. package/dist/components/multiline-text-input.cjs +1 -1
  498. package/dist/components/multiline-text-input.es.js +1 -1
  499. package/dist/components/nimbus-provider.cjs +1 -1
  500. package/dist/components/nimbus-provider.es.js +1 -1
  501. package/dist/components/number-input.cjs +1 -1
  502. package/dist/components/number-input.es.js +1 -1
  503. package/dist/components/password-input.cjs +1 -1
  504. package/dist/components/password-input.es.js +1 -1
  505. package/dist/components/popover.cjs +1 -1
  506. package/dist/components/popover.es.js +2 -2
  507. package/dist/components/progress-bar.cjs +1 -1
  508. package/dist/components/progress-bar.es.js +1 -1
  509. package/dist/components/radio-input.cjs +1 -1
  510. package/dist/components/radio-input.es.js +1 -1
  511. package/dist/components/range-calendar.cjs +1 -1
  512. package/dist/components/range-calendar.es.js +1 -1
  513. package/dist/components/rich-text-input.cjs +1 -1
  514. package/dist/components/rich-text-input.es.js +1 -1
  515. package/dist/components/select.cjs +1 -1
  516. package/dist/components/select.es.js +1 -1
  517. package/dist/components/simple-grid.cjs +1 -1
  518. package/dist/components/simple-grid.es.js +1 -1
  519. package/dist/components/split-button.cjs +1 -1
  520. package/dist/components/split-button.es.js +1 -1
  521. package/dist/components/stack.cjs +1 -1
  522. package/dist/components/stack.es.js +1 -1
  523. package/dist/components/switch.cjs +1 -1
  524. package/dist/components/switch.es.js +1 -1
  525. package/dist/components/table.cjs +1 -1
  526. package/dist/components/table.es.js +1 -1
  527. package/dist/components/tag-group.cjs +1 -1
  528. package/dist/components/tag-group.es.js +1 -1
  529. package/dist/components/text-input.cjs +1 -1
  530. package/dist/components/text-input.es.js +1 -1
  531. package/dist/components/text.cjs +1 -1
  532. package/dist/components/text.es.js +1 -1
  533. package/dist/components/time-input.cjs +1 -1
  534. package/dist/components/time-input.es.js +1 -1
  535. package/dist/components/toggle-button-group.cjs +1 -1
  536. package/dist/components/toggle-button-group.es.js +1 -1
  537. package/dist/components/toggle-button.cjs +1 -1
  538. package/dist/components/toggle-button.es.js +1 -1
  539. package/dist/components/toolbar.cjs +1 -1
  540. package/dist/components/toolbar.es.js +1 -1
  541. package/dist/components/tooltip.cjs +1 -1
  542. package/dist/components/tooltip.es.js +1 -1
  543. package/dist/components/utils.cjs +1 -1
  544. package/dist/components/utils.es.js +2 -2
  545. package/dist/index.cjs +1 -1
  546. package/dist/index.cjs.map +1 -1
  547. package/dist/index.es.js +54 -54
  548. package/dist/index.es.js.map +1 -1
  549. package/package.json +12 -12
  550. package/dist/chunks/Collection-BYX373AD.cjs.js +0 -18
  551. package/dist/chunks/Collection-BYX373AD.cjs.js.map +0 -1
  552. package/dist/chunks/Collection-Df3FPouy.es.js.map +0 -1
  553. package/dist/chunks/DateField-DVzmD_D6.es.js.map +0 -1
  554. package/dist/chunks/DateField-Dh2hoOBr.cjs.js +0 -2
  555. package/dist/chunks/DateField-Dh2hoOBr.cjs.js.map +0 -1
  556. package/dist/chunks/DatePicker-C0NXSwOw.cjs.js +0 -2
  557. package/dist/chunks/DatePicker-C0NXSwOw.cjs.js.map +0 -1
  558. package/dist/chunks/DatePicker-_A7-hp_b.es.js.map +0 -1
  559. package/dist/chunks/Dialog-BnIvgMq1.cjs.js +0 -2
  560. package/dist/chunks/Dialog-BnIvgMq1.cjs.js.map +0 -1
  561. package/dist/chunks/Dialog-C3wKnoBH.es.js +0 -1903
  562. package/dist/chunks/Dialog-C3wKnoBH.es.js.map +0 -1
  563. package/dist/chunks/ListBox-B2Z13FyL.cjs.js +0 -2
  564. package/dist/chunks/ListBox-B2Z13FyL.cjs.js.map +0 -1
  565. package/dist/chunks/ListBox-BzuLanGT.es.js +0 -615
  566. package/dist/chunks/ListBox-BzuLanGT.es.js.map +0 -1
  567. package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js +0 -2
  568. package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js.map +0 -1
  569. package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js +0 -479
  570. package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js.map +0 -1
  571. package/dist/chunks/Separator-QdyS03-E.cjs.js +0 -2
  572. package/dist/chunks/Separator-QdyS03-E.cjs.js.map +0 -1
  573. package/dist/chunks/Separator-T5Cc3sUj.es.js +0 -573
  574. package/dist/chunks/Separator-T5Cc3sUj.es.js.map +0 -1
  575. package/dist/chunks/code-CTuEvrXA.cjs.js +0 -2
  576. package/dist/chunks/combobox-C3FEfver.es.js +0 -1912
  577. package/dist/chunks/combobox-C3FEfver.es.js.map +0 -1
  578. package/dist/chunks/combobox-CnUfDGC-.cjs.js +0 -2
  579. package/dist/chunks/combobox-CnUfDGC-.cjs.js.map +0 -1
  580. package/dist/chunks/context-D0_cRaDZ.cjs.js +0 -2
  581. package/dist/chunks/context-Pt-0ojuK.es.js +0 -94
  582. package/dist/chunks/data-table-BvTXYpZB.cjs.js +0 -2
  583. package/dist/chunks/data-table-BvTXYpZB.cjs.js.map +0 -1
  584. package/dist/chunks/data-table-BvYN1Stn.es.js.map +0 -1
  585. package/dist/chunks/dialog-CG-cCFkg.es.js +0 -1889
  586. package/dist/chunks/dialog-CG-cCFkg.es.js.map +0 -1
  587. package/dist/chunks/dialog-CNZGNU5Q.cjs.js +0 -2
  588. package/dist/chunks/dialog-CNZGNU5Q.cjs.js.map +0 -1
  589. package/dist/chunks/image-BAqoLZQB.cjs.js +0 -2
  590. package/dist/chunks/index-x9OhLGGf.cjs.js +0 -2
  591. package/dist/chunks/menu-C41LRy4b.cjs.js +0 -2
  592. package/dist/chunks/provider-BzZZw3fF.cjs.js +0 -16
  593. package/dist/chunks/provider-BzZZw3fF.cjs.js.map +0 -1
  594. package/dist/chunks/provider-DxFdjgyb.es.js.map +0 -1
  595. package/dist/chunks/select-IUEop3i7.cjs.js +0 -2
  596. package/dist/chunks/tag-group-BY7yGmmv.es.js.map +0 -1
  597. package/dist/chunks/tag-group-DXKC_JuG.cjs.js +0 -2
  598. package/dist/chunks/tag-group-DXKC_JuG.cjs.js.map +0 -1
  599. package/dist/chunks/tooltip-BFuuQNa4.cjs.js +0 -2
  600. package/dist/chunks/tooltip-BFuuQNa4.cjs.js.map +0 -1
  601. package/dist/chunks/tooltip-BpUbO0NA.es.js +0 -274
  602. package/dist/chunks/tooltip-BpUbO0NA.es.js.map +0 -1
  603. package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js +0 -2
  604. package/dist/chunks/useDateFormatter-BqJA667a.es.js.map +0 -1
  605. package/dist/chunks/useDateFormatter-Dq2Ly1Je.cjs.js.map +0 -1
  606. package/dist/chunks/useSpinButton-C-tpK-T9.es.js.map +0 -1
  607. package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js +0 -2
  608. package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js.map +0 -1
@@ -1,37 +1,37 @@
1
- import { jsx as e, jsxs as h, Fragment as K } from "react/jsx-runtime";
2
- import { h as L, $ as j, i as E, j as O, k, l as V } from "./Dialog-C3wKnoBH.es.js";
1
+ import { jsx as e, jsxs as M, Fragment as K } from "react/jsx-runtime";
2
+ import { h as L, $ as j, i as E, j as O, k, l as V } from "./Dialog-BeQ6Z6l2.es.js";
3
3
  import { m as W } from "./index-DRWeBbu8.es.js";
4
- import { c as q, u as z } from "./create-slot-recipe-context-DBNItnlK.es.js";
5
- import { createContext as M, useContext as A } from "react";
6
- import { a as B } from "./Button--gemnXF8.es.js";
4
+ import { c as q, u as z } from "./create-slot-recipe-context--T0CaFjW.es.js";
5
+ import { createContext as f, useContext as A } from "react";
6
+ import { a as B } from "./Button-CNBS3n5a.es.js";
7
7
  import { e as u } from "./extractStyleProps-DX5GBd9K.es.js";
8
8
  import { ChevronRight as D } from "@commercetools/nimbus-icons";
9
- import { I as G } from "./icon-DTe62Nqz.es.js";
10
- import { f as H, e as J } from "./Separator-T5Cc3sUj.es.js";
11
- import { g as Q } from "./Collection-Df3FPouy.es.js";
9
+ import { I as G } from "./icon-BDsjJ4Zi.es.js";
10
+ import { e as H, d as J } from "./Separator-3-E2tRbk.es.js";
11
+ import { n as Q } from "./SelectionManager-CLyu96pU.es.js";
12
12
  const { withProvider: U, withContext: a } = /* @__PURE__ */ q({
13
13
  recipe: W
14
14
  }), X = /* @__PURE__ */ U(
15
15
  "div",
16
16
  "root"
17
- ), f = /* @__PURE__ */ a("button", "trigger"), Y = /* @__PURE__ */ a("div", "popover"), Z = /* @__PURE__ */ a("div", "content"), _ = /* @__PURE__ */ a(
17
+ ), h = /* @__PURE__ */ a("button", "trigger"), Y = /* @__PURE__ */ a("div", "popover"), Z = /* @__PURE__ */ a("div", "content"), _ = /* @__PURE__ */ a(
18
18
  "div",
19
19
  "item"
20
- ), ee = /* @__PURE__ */ a("div", "separator"), te = /* @__PURE__ */ a("div", "section"), oe = /* @__PURE__ */ a("div", "sectionLabel"), S = /* @__PURE__ */ M(void 0), ne = S.Provider, $ = () => A(S), g = (t) => {
20
+ ), ee = /* @__PURE__ */ a("div", "separator"), te = /* @__PURE__ */ a("div", "section"), oe = /* @__PURE__ */ a("div", "sectionLabel"), S = /* @__PURE__ */ f(void 0), ne = S.Provider, $ = () => A(S), g = (t) => {
21
21
  const o = z({ key: "menu" }), [r, n] = o.splitVariantProps(t), {
22
22
  children: s,
23
23
  trigger: c,
24
24
  isOpen: i,
25
25
  defaultOpen: l,
26
- onOpenChange: p,
27
- ...d
26
+ onOpenChange: d,
27
+ ...p
28
28
  } = n;
29
29
  return /* @__PURE__ */ e(X, { ...r, asChild: !0, children: /* @__PURE__ */ e(L, { ...{
30
30
  trigger: c,
31
31
  isOpen: i,
32
32
  defaultOpen: l,
33
- onOpenChange: p
34
- }, children: /* @__PURE__ */ e(ne, { value: d, children: s }) }) });
33
+ onOpenChange: d
34
+ }, children: /* @__PURE__ */ e(ne, { value: p, children: s }) }) });
35
35
  };
36
36
  g.displayName = "Menu.Root";
37
37
  const P = ({
@@ -41,10 +41,10 @@ const P = ({
41
41
  ...n
42
42
  }) => {
43
43
  const [s, c] = u(n);
44
- return o ? /* @__PURE__ */ e(f, { ref: r, asChild: !0, ...s, children: t }) : /* @__PURE__ */ e(f, { asChild: !0, ...s, children: /* @__PURE__ */ e(B, { ref: r, ...c, children: t }) });
44
+ return o ? /* @__PURE__ */ e(h, { ref: r, asChild: !0, ...s, children: t }) : /* @__PURE__ */ e(h, { asChild: !0, ...s, children: /* @__PURE__ */ e(B, { ref: r, ...c, children: t }) });
45
45
  };
46
46
  P.displayName = "Menu.Trigger";
47
- const re = /* @__PURE__ */ M(
47
+ const re = /* @__PURE__ */ f(
48
48
  void 0
49
49
  ), x = re.Provider, m = ({
50
50
  children: t,
@@ -71,7 +71,7 @@ const C = ({
71
71
  asChild: !0,
72
72
  ...s,
73
73
  "data-critical": o ? "" : void 0,
74
- children: /* @__PURE__ */ e(O, { ref: r, ...c, children: ({ hasSubmenu: i }) => /* @__PURE__ */ h(K, { children: [
74
+ children: /* @__PURE__ */ e(O, { ref: r, ...c, children: ({ hasSubmenu: i }) => /* @__PURE__ */ M(K, { children: [
75
75
  t,
76
76
  i && /* @__PURE__ */ e(G, { slot: "caretIcon", children: /* @__PURE__ */ e(D, {}) })
77
77
  ] }) })
@@ -103,19 +103,19 @@ const N = ({
103
103
  const c = $(), {
104
104
  selectionMode: i = c?.selectionMode,
105
105
  selectedKeys: l = c?.selectedKeys,
106
- defaultSelectedKeys: p = c?.defaultSelectedKeys,
107
- onSelectionChange: d = c?.onSelectionChange,
106
+ defaultSelectedKeys: d = c?.defaultSelectedKeys,
107
+ onSelectionChange: p = c?.onSelectionChange,
108
108
  disallowEmptySelection: b = c?.disallowEmptySelection,
109
109
  ...w
110
110
  } = s, [I, F] = u(w);
111
- return /* @__PURE__ */ e(x, { value: { selectionMode: i }, children: /* @__PURE__ */ e(te, { asChild: !0, ...I, children: /* @__PURE__ */ h(
111
+ return /* @__PURE__ */ e(x, { value: { selectionMode: i }, children: /* @__PURE__ */ e(te, { asChild: !0, ...I, children: /* @__PURE__ */ M(
112
112
  k,
113
113
  {
114
114
  ref: o,
115
115
  selectionMode: i,
116
116
  selectedKeys: l,
117
- defaultSelectedKeys: p,
118
- onSelectionChange: d,
117
+ defaultSelectedKeys: d,
118
+ onSelectionChange: p,
119
119
  disallowEmptySelection: b,
120
120
  ...F,
121
121
  children: [
@@ -133,7 +133,7 @@ const R = ({
133
133
  R.displayName = "Menu.SubmenuTrigger";
134
134
  const T = ({ children: t, ...o }) => /* @__PURE__ */ e(m, { ...o, placement: "end", children: t });
135
135
  T.displayName = "Menu.Submenu";
136
- const he = {
136
+ const Me = {
137
137
  Root: g,
138
138
  Trigger: P,
139
139
  Content: m,
@@ -144,7 +144,7 @@ const he = {
144
144
  SubmenuTrigger: R
145
145
  };
146
146
  export {
147
- he as M,
147
+ Me as M,
148
148
  g as a,
149
149
  P as b,
150
150
  m as c,
@@ -154,4 +154,4 @@ export {
154
154
  R as g,
155
155
  T as h
156
156
  };
157
- //# sourceMappingURL=menu-BZWMAG92.es.js.map
157
+ //# sourceMappingURL=menu-DFrwX16L.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"menu-BZWMAG92.es.js","sources":["../../src/components/menu/menu.slots.tsx","../../src/components/menu/components/menu.context.tsx","../../src/components/menu/components/menu.root.tsx","../../src/components/menu/components/menu.trigger.tsx","../../src/components/menu/components/menu.section-context.tsx","../../src/components/menu/components/menu.content.tsx","../../src/components/menu/components/menu.item.tsx","../../src/components/menu/components/menu.separator.tsx","../../src/components/menu/components/menu.section-label.tsx","../../src/components/menu/components/menu.section.tsx","../../src/components/menu/components/menu.submenu-trigger.tsx","../../src/components/menu/components/menu.submenu.tsx","../../src/components/menu/menu.tsx"],"sourcesContent":["import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react/styled-system\";\nimport { menuSlotRecipe } from \"./menu.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: menuSlotRecipe,\n});\n\n// Menu Root\nexport type MenuRootSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuRootSlot = withProvider<HTMLDivElement, MenuRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Menu Trigger\nexport type MenuTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const MenuTriggerSlot = withContext<\n HTMLButtonElement,\n MenuTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Menu Popover\nexport type MenuPopoverSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuPopoverSlot = withContext<\n HTMLDivElement,\n MenuPopoverSlotProps\n>(\"div\", \"popover\");\n\n// Menu Content\nexport type MenuContentSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuContentSlot = withContext<\n HTMLDivElement,\n MenuContentSlotProps\n>(\"div\", \"content\");\n\n// Menu Item\nexport type MenuItemSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuItemSlot = withContext<HTMLDivElement, MenuItemSlotProps>(\n \"div\",\n \"item\"\n);\n\n// Menu Separator\nexport type MenuSeparatorSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSeparatorSlot = withContext<\n HTMLDivElement,\n MenuSeparatorSlotProps\n>(\"div\", \"separator\");\n\n// Menu Section\nexport type MenuSectionSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionSlot = withContext<\n HTMLDivElement,\n MenuSectionSlotProps\n>(\"div\", \"section\");\n\n// Menu Section Label\nexport type MenuSectionLabelSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionLabelSlot = withContext<\n HTMLDivElement,\n MenuSectionLabelSlotProps\n>(\"div\", \"sectionLabel\");\n\n// Menu Group Label\nexport type MenuSubmenuSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSubmenuSlot = withContext<\n HTMLDivElement,\n MenuSubmenuSlotProps\n>(\"div\", \"submenu\");\n","import { createContext, useContext } from \"react\";\nimport type { MenuRootProps } from \"./../menu.types\";\nimport type { MenuTriggerProps as RaMenuTriggerProps } from \"react-aria-components\";\n\n// Context should contain all Menu props (excluding MenuTrigger-specific props)\nexport type MenuContextValue = Omit<\n MenuRootProps,\n keyof RaMenuTriggerProps | \"children\" | \"trigger\"\n>;\n\nconst MenuContext = createContext<MenuContextValue | undefined>(undefined);\n\nexport const MenuProvider = MenuContext.Provider;\n\nexport const useMenuContext = () => {\n const context = useContext(MenuContext);\n return context;\n};\n","import { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { MenuTrigger as RaMenuTrigger } from \"react-aria-components\";\nimport type { MenuRootProps } from \"../menu.types\";\nimport { MenuRootSlot } from \"../menu.slots\";\nimport { MenuProvider } from \"./menu.context\";\n\nexport const MenuRoot = (props: MenuRootProps) => {\n const recipe = useSlotRecipe({ key: \"menu\" });\n const [recipeProps, functionalProps] = recipe.splitVariantProps(props);\n\n // Separate MenuTrigger props from Menu props\n const {\n children,\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n ...menuContextProps\n } = functionalProps;\n\n const menuTriggerProps = {\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n };\n\n return (\n <MenuRootSlot {...recipeProps} asChild>\n <RaMenuTrigger {...menuTriggerProps}>\n <MenuProvider value={menuContextProps}>{children}</MenuProvider>\n </RaMenuTrigger>\n </MenuRootSlot>\n );\n};\n\nMenuRoot.displayName = \"Menu.Root\";\n","import { Button } from \"react-aria-components\";\nimport { MenuTriggerSlot } from \"../menu.slots\";\nimport type { MenuTriggerProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuTrigger = ({\n children,\n asChild,\n ref,\n ...props\n}: MenuTriggerProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n /**\n * The user supplied a Button as the trigger\n */\n if (asChild) {\n // When asChild is true, apply styles to the child element\n return (\n <MenuTriggerSlot ref={ref} asChild {...styleProps}>\n {children as ReactNode}\n </MenuTriggerSlot>\n );\n }\n\n /**\n * The user did not supply a Button as trigger, use an unstyled button\n * to wrap which ever element the user supplied and make it a trigger\n */\n return (\n <MenuTriggerSlot asChild {...styleProps}>\n <Button ref={ref} {...restProps}>\n {children}\n </Button>\n </MenuTriggerSlot>\n );\n};\n\nMenuTrigger.displayName = \"Menu.Trigger\";\n","import { createContext, useContext } from \"react\";\n\nexport interface MenuSectionContextValue {\n selectionMode?: \"single\" | \"multiple\" | \"none\";\n}\n/**\n * Why is a second context (MenuSectionContext) needed?\n *\n * MenuSectionContext enables section-level config for menu items, such as\n * selection mode, which may differ from the global menu context. This allows\n * advanced menus where each section can have its own selection behavior\n * (e.g., one section is single-select, another is multi-select).\n * By scoping context to a section, menu items inherit settings from their\n * nearest section, falling back to the global menu context if not present.\n * This pattern improves flexibility and composability for complex menus,\n * and avoids prop drilling or awkward prop merging.\n */\n\nconst MenuSectionContext = createContext<MenuSectionContextValue | undefined>(\n undefined\n);\n\nexport const MenuSectionProvider = MenuSectionContext.Provider;\n\nexport const useMenuSectionContext = () => {\n return useContext(MenuSectionContext);\n};\n","import { Menu, Popover } from \"react-aria-components\";\nimport { MenuContentSlot, MenuPopoverSlot } from \"../menu.slots\";\nimport type { MenuContentProps } from \"../menu.types\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\n\nexport const MenuContent = ({\n children,\n placement: placementOverride,\n ref,\n}: MenuContentProps) => {\n const contextProps = useMenuContext();\n\n if (!contextProps) {\n throw new Error(\"Menu.Content must be used within Menu.Root\");\n }\n\n // Separate placement from other props since it's handled by Popover\n const { placement, ...menuProps } = contextProps;\n const finalPlacement = placementOverride || placement || \"bottom start\";\n\n return (\n <MenuSectionProvider value={{ selectionMode: menuProps.selectionMode }}>\n <MenuPopoverSlot asChild>\n <Popover placement={finalPlacement} offset={4} shouldFlip>\n <MenuContentSlot asChild>\n <Menu ref={ref} shouldFocusWrap autoFocus=\"first\" {...menuProps}>\n {children}\n </Menu>\n </MenuContentSlot>\n </Popover>\n </MenuPopoverSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuContent.displayName = \"Menu.Content\";\n","import { MenuItem as RaMenuItem } from \"react-aria-components\";\nimport { MenuItemSlot } from \"../menu.slots\";\nimport type { MenuItemProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { ChevronRight } from \"@commercetools/nimbus-icons\";\nimport { Icon } from \"@/components/icon\";\n\nexport const MenuItem = ({\n children,\n isCritical,\n ref,\n ...props\n}: MenuItemProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuItemSlot\n asChild\n {...styleProps}\n data-critical={isCritical ? \"\" : undefined}\n >\n <RaMenuItem ref={ref} {...restProps}>\n {({ hasSubmenu }) => (\n <>\n {children}\n {hasSubmenu && (\n <Icon slot=\"caretIcon\">\n <ChevronRight />\n </Icon>\n )}\n </>\n )}\n </RaMenuItem>\n </MenuItemSlot>\n );\n};\n\nMenuItem.displayName = \"Menu.Item\";\n","import { Separator } from \"react-aria-components\";\nimport { MenuSeparatorSlot } from \"../menu.slots\";\nimport type { MenuSeparatorProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nexport const MenuSeparator = ({ ref, ...props }: MenuSeparatorProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSeparatorSlot asChild {...styleProps}>\n <Separator ref={ref} {...restProps} />\n </MenuSeparatorSlot>\n );\n};\n\nMenuSeparator.displayName = \"Menu.Separator\";\n","import { Header } from \"react-aria-components\";\nimport { MenuSectionLabelSlot } from \"../menu.slots\";\nimport type { MenuSectionLabelProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\n/**\n * Used in MenuSection for rendering the `label` property.\n */\nexport const MenuSectionLabel = ({\n children,\n ref,\n ...props\n}: MenuSectionLabelProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSectionLabelSlot asChild {...styleProps}>\n <Header ref={ref} {...restProps}>\n {children}\n </Header>\n </MenuSectionLabelSlot>\n );\n};\n\nMenuSectionLabel.displayName = \"Menu.SectionLabel\";\n","import {\n MenuSection as RaMenuSection,\n Collection,\n} from \"react-aria-components\";\nimport { MenuSectionSlot } from \"../menu.slots\";\nimport type { MenuSectionProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\nimport { MenuSectionLabel } from \"./menu.section-label\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuSection = <T extends object = object>({\n children,\n ref,\n label,\n items,\n ...props\n}: MenuSectionProps<T>) => {\n const contextProps = useMenuContext();\n\n // Extract selection-related props before extracting style props\n const {\n selectionMode = contextProps?.selectionMode,\n selectedKeys = contextProps?.selectedKeys,\n defaultSelectedKeys = contextProps?.defaultSelectedKeys,\n onSelectionChange = contextProps?.onSelectionChange,\n disallowEmptySelection = contextProps?.disallowEmptySelection,\n ...restProps\n } = props;\n\n const [styleProps, otherProps] = extractStyleProps(restProps);\n\n return (\n <MenuSectionProvider value={{ selectionMode }}>\n <MenuSectionSlot asChild {...styleProps}>\n <RaMenuSection\n ref={ref}\n selectionMode={selectionMode}\n selectedKeys={selectedKeys}\n defaultSelectedKeys={defaultSelectedKeys}\n onSelectionChange={onSelectionChange}\n disallowEmptySelection={disallowEmptySelection}\n {...otherProps}\n >\n <MenuSectionLabel>{label}</MenuSectionLabel>\n {items ? (\n <Collection items={items}>{children}</Collection>\n ) : (\n (children as ReactNode)\n )}\n </RaMenuSection>\n </MenuSectionSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuSection.displayName = \"Menu.Section\";\n","import { SubmenuTrigger as RaSubmenuTrigger } from \"react-aria-components\";\nimport type { MenuSubmenuTriggerProps } from \"../menu.types\";\n\nexport const MenuSubmenuTrigger = ({\n children,\n ...props\n}: MenuSubmenuTriggerProps) => {\n return <RaSubmenuTrigger {...props}>{children}</RaSubmenuTrigger>;\n};\n\nMenuSubmenuTrigger.displayName = \"Menu.SubmenuTrigger\";\n","import type { MenuSubmenuProps } from \"../menu.types\";\nimport { MenuContent } from \"./menu.content\";\n\nexport const MenuSubmenu = ({ children, ...props }: MenuSubmenuProps) => {\n return (\n <MenuContent {...props} placement=\"end\">\n {children}\n </MenuContent>\n );\n};\n\nMenuSubmenu.displayName = \"Menu.Submenu\";\n","import { MenuRoot } from \"./components/menu.root\";\nimport { MenuTrigger } from \"./components/menu.trigger\";\nimport { MenuContent } from \"./components/menu.content\";\nimport { MenuItem } from \"./components/menu.item\";\nimport { MenuSeparator } from \"./components/menu.separator\";\nimport { MenuSection } from \"./components/menu.section\";\nimport { MenuSubmenuTrigger } from \"./components/menu.submenu-trigger\";\nimport { MenuSubmenu } from \"./components/menu.submenu\";\n\n// Re-export types\nexport type * from \"./menu.types\";\n\nexport const Menu = {\n Root: MenuRoot,\n Trigger: MenuTrigger,\n Content: MenuContent,\n Item: MenuItem,\n Separator: MenuSeparator,\n Section: MenuSection,\n Submenu: MenuSubmenu,\n SubmenuTrigger: MenuSubmenuTrigger,\n};\n\n// Exports for internal use by react-docgen\nexport {\n MenuRoot as _MenuRoot,\n MenuTrigger as _MenuTrigger,\n MenuContent as _MenuContent,\n MenuItem as _MenuItem,\n MenuSeparator as _MenuSeparator,\n MenuSection as _MenuSection,\n MenuSubmenuTrigger as _MenuSubmenuTrigger,\n MenuSubmenu as _MenuSubmenu,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","menuSlotRecipe","MenuRootSlot","MenuTriggerSlot","MenuPopoverSlot","MenuContentSlot","MenuItemSlot","MenuSeparatorSlot","MenuSectionSlot","MenuSectionLabelSlot","MenuContext","createContext","MenuProvider","useMenuContext","useContext","MenuRoot","props","recipe","useSlotRecipe","recipeProps","functionalProps","children","trigger","isOpen","defaultOpen","onOpenChange","menuContextProps","jsx","RaMenuTrigger","MenuTrigger","asChild","ref","styleProps","restProps","extractStyleProps","Button","MenuSectionContext","MenuSectionProvider","MenuContent","placementOverride","contextProps","placement","menuProps","finalPlacement","Popover","Menu","MenuItem","isCritical","RaMenuItem","hasSubmenu","jsxs","Fragment","Icon","ChevronRight","MenuSeparator","Separator","MenuSectionLabel","Header","MenuSection","label","items","selectionMode","selectedKeys","defaultSelectedKeys","onSelectionChange","disallowEmptySelection","otherProps","RaMenuSection","Collection","MenuSubmenuTrigger","RaSubmenuTrigger","MenuSubmenu"],"mappings":";;;;;;;;;;;AAMA,MAAM,EAAE,cAAAA,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,QAAQC;AACV,CAAC,GAIYC,IAAe,gBAAAJ;AAAA,EAC1B;AAAA,EACA;AACF,GAIaK,IAAkB,gBAAAJ,EAG7B,UAAU,SAAS,GAIRK,IAAkB,gBAAAL,EAG7B,OAAO,SAAS,GAILM,IAAkB,gBAAAN,EAG7B,OAAO,SAAS,GAILO,IAAe,gBAAAP;AAAA,EAC1B;AAAA,EACA;AACF,GAIaQ,KAAoB,gBAAAR,EAG/B,OAAO,WAAW,GAIPS,KAAkB,gBAAAT,EAG7B,OAAO,SAAS,GAILU,KAAuB,gBAAAV,EAGlC,OAAO,cAAc,GCtDjBW,IAAc,gBAAAC,EAA4C,MAAS,GAE5DC,KAAeF,EAAY,UAE3BG,IAAiB,MACZC,EAAWJ,CAAW,GCT3BK,IAAW,CAACC,MAAyB;AAChD,QAAMC,IAASC,EAAc,EAAE,KAAK,QAAQ,GACtC,CAACC,GAAaC,CAAe,IAAIH,EAAO,kBAAkBD,CAAK,GAG/D;AAAA,IACJ,UAAAK;AAAA,IACA,SAAAC;AAAA,IACA,QAAAC;AAAA,IACA,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,IACDN;AASJ,2BACGlB,GAAA,EAAc,GAAGiB,GAAa,SAAO,IACpC,UAAA,gBAAAQ,EAACC,GAAA,EAAe,GATK;AAAA,IACvB,SAAAN;AAAA,IACA,QAAAC;AAAA,IACA,aAAAC;AAAA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lD,GAAU,GAAGL,0BAEtCsB,GAAA,EAAa,GAAGtB,GAAO,WAAU,OAC/B,UAAAK,GACH;AAIJkD,EAAY,cAAc;ACCnB,MAAM1B,KAAO;AAAA,EAClB,MAAM9B;AAAA,EACN,SAASc;AAAA,EACT,SAASS;AAAA,EACT,MAAMQ;AAAA,EACN,WAAWQ;AAAA,EACX,SAASI;AAAA,EACT,SAASa;AAAA,EACT,gBAAgBF;AAClB;"}
1
+ {"version":3,"file":"menu-DFrwX16L.es.js","sources":["../../src/components/menu/menu.slots.tsx","../../src/components/menu/components/menu.context.tsx","../../src/components/menu/components/menu.root.tsx","../../src/components/menu/components/menu.trigger.tsx","../../src/components/menu/components/menu.section-context.tsx","../../src/components/menu/components/menu.content.tsx","../../src/components/menu/components/menu.item.tsx","../../src/components/menu/components/menu.separator.tsx","../../src/components/menu/components/menu.section-label.tsx","../../src/components/menu/components/menu.section.tsx","../../src/components/menu/components/menu.submenu-trigger.tsx","../../src/components/menu/components/menu.submenu.tsx","../../src/components/menu/menu.tsx"],"sourcesContent":["import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react/styled-system\";\nimport { menuSlotRecipe } from \"./menu.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: menuSlotRecipe,\n});\n\n// Menu Root\nexport type MenuRootSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuRootSlot = withProvider<HTMLDivElement, MenuRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Menu Trigger\nexport type MenuTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const MenuTriggerSlot = withContext<\n HTMLButtonElement,\n MenuTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Menu Popover\nexport type MenuPopoverSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuPopoverSlot = withContext<\n HTMLDivElement,\n MenuPopoverSlotProps\n>(\"div\", \"popover\");\n\n// Menu Content\nexport type MenuContentSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuContentSlot = withContext<\n HTMLDivElement,\n MenuContentSlotProps\n>(\"div\", \"content\");\n\n// Menu Item\nexport type MenuItemSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuItemSlot = withContext<HTMLDivElement, MenuItemSlotProps>(\n \"div\",\n \"item\"\n);\n\n// Menu Separator\nexport type MenuSeparatorSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSeparatorSlot = withContext<\n HTMLDivElement,\n MenuSeparatorSlotProps\n>(\"div\", \"separator\");\n\n// Menu Section\nexport type MenuSectionSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionSlot = withContext<\n HTMLDivElement,\n MenuSectionSlotProps\n>(\"div\", \"section\");\n\n// Menu Section Label\nexport type MenuSectionLabelSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionLabelSlot = withContext<\n HTMLDivElement,\n MenuSectionLabelSlotProps\n>(\"div\", \"sectionLabel\");\n\n// Menu Group Label\nexport type MenuSubmenuSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSubmenuSlot = withContext<\n HTMLDivElement,\n MenuSubmenuSlotProps\n>(\"div\", \"submenu\");\n","import { createContext, useContext } from \"react\";\nimport type { MenuRootProps } from \"./../menu.types\";\nimport type { MenuTriggerProps as RaMenuTriggerProps } from \"react-aria-components\";\n\n// Context should contain all Menu props (excluding MenuTrigger-specific props)\nexport type MenuContextValue = Omit<\n MenuRootProps,\n keyof RaMenuTriggerProps | \"children\" | \"trigger\"\n>;\n\nconst MenuContext = createContext<MenuContextValue | undefined>(undefined);\n\nexport const MenuProvider = MenuContext.Provider;\n\nexport const useMenuContext = () => {\n const context = useContext(MenuContext);\n return context;\n};\n","import { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { MenuTrigger as RaMenuTrigger } from \"react-aria-components\";\nimport type { MenuRootProps } from \"../menu.types\";\nimport { MenuRootSlot } from \"../menu.slots\";\nimport { MenuProvider } from \"./menu.context\";\n\nexport const MenuRoot = (props: MenuRootProps) => {\n const recipe = useSlotRecipe({ key: \"menu\" });\n const [recipeProps, functionalProps] = recipe.splitVariantProps(props);\n\n // Separate MenuTrigger props from Menu props\n const {\n children,\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n ...menuContextProps\n } = functionalProps;\n\n const menuTriggerProps = {\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n };\n\n return (\n <MenuRootSlot {...recipeProps} asChild>\n <RaMenuTrigger {...menuTriggerProps}>\n <MenuProvider value={menuContextProps}>{children}</MenuProvider>\n </RaMenuTrigger>\n </MenuRootSlot>\n );\n};\n\nMenuRoot.displayName = \"Menu.Root\";\n","import { Button } from \"react-aria-components\";\nimport { MenuTriggerSlot } from \"../menu.slots\";\nimport type { MenuTriggerProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuTrigger = ({\n children,\n asChild,\n ref,\n ...props\n}: MenuTriggerProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n /**\n * The user supplied a Button as the trigger\n */\n if (asChild) {\n // When asChild is true, apply styles to the child element\n return (\n <MenuTriggerSlot ref={ref} asChild {...styleProps}>\n {children as ReactNode}\n </MenuTriggerSlot>\n );\n }\n\n /**\n * The user did not supply a Button as trigger, use an unstyled button\n * to wrap which ever element the user supplied and make it a trigger\n */\n return (\n <MenuTriggerSlot asChild {...styleProps}>\n <Button ref={ref} {...restProps}>\n {children}\n </Button>\n </MenuTriggerSlot>\n );\n};\n\nMenuTrigger.displayName = \"Menu.Trigger\";\n","import { createContext, useContext } from \"react\";\n\nexport interface MenuSectionContextValue {\n selectionMode?: \"single\" | \"multiple\" | \"none\";\n}\n/**\n * Why is a second context (MenuSectionContext) needed?\n *\n * MenuSectionContext enables section-level config for menu items, such as\n * selection mode, which may differ from the global menu context. This allows\n * advanced menus where each section can have its own selection behavior\n * (e.g., one section is single-select, another is multi-select).\n * By scoping context to a section, menu items inherit settings from their\n * nearest section, falling back to the global menu context if not present.\n * This pattern improves flexibility and composability for complex menus,\n * and avoids prop drilling or awkward prop merging.\n */\n\nconst MenuSectionContext = createContext<MenuSectionContextValue | undefined>(\n undefined\n);\n\nexport const MenuSectionProvider = MenuSectionContext.Provider;\n\nexport const useMenuSectionContext = () => {\n return useContext(MenuSectionContext);\n};\n","import { Menu, Popover } from \"react-aria-components\";\nimport { MenuContentSlot, MenuPopoverSlot } from \"../menu.slots\";\nimport type { MenuContentProps } from \"../menu.types\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\n\nexport const MenuContent = ({\n children,\n placement: placementOverride,\n ref,\n}: MenuContentProps) => {\n const contextProps = useMenuContext();\n\n if (!contextProps) {\n throw new Error(\"Menu.Content must be used within Menu.Root\");\n }\n\n // Separate placement from other props since it's handled by Popover\n const { placement, ...menuProps } = contextProps;\n const finalPlacement = placementOverride || placement || \"bottom start\";\n\n return (\n <MenuSectionProvider value={{ selectionMode: menuProps.selectionMode }}>\n <MenuPopoverSlot asChild>\n <Popover placement={finalPlacement} offset={4} shouldFlip>\n <MenuContentSlot asChild>\n <Menu ref={ref} shouldFocusWrap autoFocus=\"first\" {...menuProps}>\n {children}\n </Menu>\n </MenuContentSlot>\n </Popover>\n </MenuPopoverSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuContent.displayName = \"Menu.Content\";\n","import { MenuItem as RaMenuItem } from \"react-aria-components\";\nimport { MenuItemSlot } from \"../menu.slots\";\nimport type { MenuItemProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { ChevronRight } from \"@commercetools/nimbus-icons\";\nimport { Icon } from \"@/components/icon\";\n\nexport const MenuItem = ({\n children,\n isCritical,\n ref,\n ...props\n}: MenuItemProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuItemSlot\n asChild\n {...styleProps}\n data-critical={isCritical ? \"\" : undefined}\n >\n <RaMenuItem ref={ref} {...restProps}>\n {({ hasSubmenu }) => (\n <>\n {children}\n {hasSubmenu && (\n <Icon slot=\"caretIcon\">\n <ChevronRight />\n </Icon>\n )}\n </>\n )}\n </RaMenuItem>\n </MenuItemSlot>\n );\n};\n\nMenuItem.displayName = \"Menu.Item\";\n","import { Separator } from \"react-aria-components\";\nimport { MenuSeparatorSlot } from \"../menu.slots\";\nimport type { MenuSeparatorProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nexport const MenuSeparator = ({ ref, ...props }: MenuSeparatorProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSeparatorSlot asChild {...styleProps}>\n <Separator ref={ref} {...restProps} />\n </MenuSeparatorSlot>\n );\n};\n\nMenuSeparator.displayName = \"Menu.Separator\";\n","import { Header } from \"react-aria-components\";\nimport { MenuSectionLabelSlot } from \"../menu.slots\";\nimport type { MenuSectionLabelProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\n/**\n * Used in MenuSection for rendering the `label` property.\n */\nexport const MenuSectionLabel = ({\n children,\n ref,\n ...props\n}: MenuSectionLabelProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSectionLabelSlot asChild {...styleProps}>\n <Header ref={ref} {...restProps}>\n {children}\n </Header>\n </MenuSectionLabelSlot>\n );\n};\n\nMenuSectionLabel.displayName = \"Menu.SectionLabel\";\n","import {\n MenuSection as RaMenuSection,\n Collection,\n} from \"react-aria-components\";\nimport { MenuSectionSlot } from \"../menu.slots\";\nimport type { MenuSectionProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\nimport { MenuSectionLabel } from \"./menu.section-label\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuSection = <T extends object = object>({\n children,\n ref,\n label,\n items,\n ...props\n}: MenuSectionProps<T>) => {\n const contextProps = useMenuContext();\n\n // Extract selection-related props before extracting style props\n const {\n selectionMode = contextProps?.selectionMode,\n selectedKeys = contextProps?.selectedKeys,\n defaultSelectedKeys = contextProps?.defaultSelectedKeys,\n onSelectionChange = contextProps?.onSelectionChange,\n disallowEmptySelection = contextProps?.disallowEmptySelection,\n ...restProps\n } = props;\n\n const [styleProps, otherProps] = extractStyleProps(restProps);\n\n return (\n <MenuSectionProvider value={{ selectionMode }}>\n <MenuSectionSlot asChild {...styleProps}>\n <RaMenuSection\n ref={ref}\n selectionMode={selectionMode}\n selectedKeys={selectedKeys}\n defaultSelectedKeys={defaultSelectedKeys}\n onSelectionChange={onSelectionChange}\n disallowEmptySelection={disallowEmptySelection}\n {...otherProps}\n >\n <MenuSectionLabel>{label}</MenuSectionLabel>\n {items ? (\n <Collection items={items}>{children}</Collection>\n ) : (\n (children as ReactNode)\n )}\n </RaMenuSection>\n </MenuSectionSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuSection.displayName = \"Menu.Section\";\n","import { SubmenuTrigger as RaSubmenuTrigger } from \"react-aria-components\";\nimport type { MenuSubmenuTriggerProps } from \"../menu.types\";\n\nexport const MenuSubmenuTrigger = ({\n children,\n ...props\n}: MenuSubmenuTriggerProps) => {\n return <RaSubmenuTrigger {...props}>{children}</RaSubmenuTrigger>;\n};\n\nMenuSubmenuTrigger.displayName = \"Menu.SubmenuTrigger\";\n","import type { MenuSubmenuProps } from \"../menu.types\";\nimport { MenuContent } from \"./menu.content\";\n\nexport const MenuSubmenu = ({ children, ...props }: MenuSubmenuProps) => {\n return (\n <MenuContent {...props} placement=\"end\">\n {children}\n </MenuContent>\n );\n};\n\nMenuSubmenu.displayName = \"Menu.Submenu\";\n","import { MenuRoot } from \"./components/menu.root\";\nimport { MenuTrigger } from \"./components/menu.trigger\";\nimport { MenuContent } from \"./components/menu.content\";\nimport { MenuItem } from \"./components/menu.item\";\nimport { MenuSeparator } from \"./components/menu.separator\";\nimport { MenuSection } from \"./components/menu.section\";\nimport { MenuSubmenuTrigger } from \"./components/menu.submenu-trigger\";\nimport { MenuSubmenu } from \"./components/menu.submenu\";\n\n// Re-export types\nexport type * from \"./menu.types\";\n\nexport const Menu = {\n Root: MenuRoot,\n Trigger: MenuTrigger,\n Content: MenuContent,\n Item: MenuItem,\n Separator: MenuSeparator,\n Section: MenuSection,\n Submenu: MenuSubmenu,\n SubmenuTrigger: MenuSubmenuTrigger,\n};\n\n// Exports for internal use by react-docgen\nexport {\n MenuRoot as _MenuRoot,\n MenuTrigger as _MenuTrigger,\n MenuContent as _MenuContent,\n MenuItem as _MenuItem,\n MenuSeparator as _MenuSeparator,\n MenuSection as _MenuSection,\n MenuSubmenuTrigger as _MenuSubmenuTrigger,\n MenuSubmenu as _MenuSubmenu,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","menuSlotRecipe","MenuRootSlot","MenuTriggerSlot","MenuPopoverSlot","MenuContentSlot","MenuItemSlot","MenuSeparatorSlot","MenuSectionSlot","MenuSectionLabelSlot","MenuContext","createContext","MenuProvider","useMenuContext","useContext","MenuRoot","props","recipe","useSlotRecipe","recipeProps","functionalProps","children","trigger","isOpen","defaultOpen","onOpenChange","menuContextProps","jsx","RaMenuTrigger","MenuTrigger","asChild","ref","styleProps","restProps","extractStyleProps","Button","MenuSectionContext","MenuSectionProvider","MenuContent","placementOverride","contextProps","placement","menuProps","finalPlacement","Popover","Menu","MenuItem","isCritical","RaMenuItem","hasSubmenu","jsxs","Fragment","Icon","ChevronRight","MenuSeparator","Separator","MenuSectionLabel","Header","MenuSection","label","items","selectionMode","selectedKeys","defaultSelectedKeys","onSelectionChange","disallowEmptySelection","otherProps","RaMenuSection","Collection","MenuSubmenuTrigger","RaSubmenuTrigger","MenuSubmenu"],"mappings":";;;;;;;;;;;AAMA,MAAM,EAAE,cAAAA,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,QAAQC;AACV,CAAC,GAIYC,IAAe,gBAAAJ;AAAA,EAC1B;AAAA,EACA;AACF,GAIaK,IAAkB,gB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ACgB,GAAYkC,CAAU,IAAIhC,EAAkBD,CAAS;AAE5D,SACE,gBAAAN,EAACU,GAAA,EAAoB,OAAO,EAAE,eAAAwB,EAAA,GAC5B,UAAA,gBAAAlC,EAACnB,IAAA,EAAgB,SAAO,IAAE,GAAGwB,GAC3B,UAAA,gBAAAkB;AAAA,IAACiB;AAAAA,IAAA;AAAA,MACC,KAAApC;AAAA,MACA,eAAA8B;AAAA,MACA,cAAAC;AAAA,MACA,qBAAAC;AAAA,MACA,mBAAAC;AAAA,MACA,wBAAAC;AAAA,MACC,GAAGC;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAvC,EAAC6B,KAAkB,UAAAG,EAAA,CAAM;AAAA,QACxBC,IACC,gBAAAjC,EAACyC,GAAA,EAAW,OAAAR,GAAe,UAAAvC,GAAS,IAEnCA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,GAGP,EAAA,CACF;AAEJ;AAEAqC,EAAY,cAAc;ACtDnB,MAAMW,IAAqB,CAAC;AAAA,EACjC,UAAAhD;AAAA,EACA,GAAGL;AACL,MACS,gBAAAW,EAAC2C,GAAA,EAAkB,GAAGtD,GAAQ,UAAAK,EAAA,CAAS;AAGhDgD,EAAmB,cAAc;ACP1B,MAAME,IAAc,CAAC,EAAE,UAAAlD,GAAU,GAAGL,0BAEtCsB,GAAA,EAAa,GAAGtB,GAAO,WAAU,OAC/B,UAAAK,GACH;AAIJkD,EAAY,cAAc;ACCnB,MAAM1B,KAAO;AAAA,EAClB,MAAM9B;AAAA,EACN,SAASc;AAAA,EACT,SAASS;AAAA,EACT,MAAMQ;AAAA,EACN,WAAWQ;AAAA,EACX,SAASI;AAAA,EACT,SAASa;AAAA,EACT,gBAAgBF;AAClB;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("react/jsx-runtime"),a=require("./Dialog-CYa26HlL.cjs.js"),K=require("./index-COhQ_99G.cjs.js"),f=require("./create-slot-recipe-context-CimocFDH.cjs.js"),b=require("react"),L=require("./Button-BtJHe9xY.cjs.js"),l=require("./extractStyleProps-yFm0qaXg.cjs.js"),E=require("@commercetools/nimbus-icons"),O=require("./icon-DHoLo7_S.cjs.js"),v=require("./Separator-CAOg-vqY.cjs.js"),k=require("./SelectionManager-Mrwf4SFv.cjs.js"),{withProvider:B,withContext:u}=f.createSlotRecipeContext({recipe:K.menuSlotRecipe}),D=B("div","root"),y=u("button","trigger"),V=u("div","popover"),W=u("div","content"),z=u("div","item"),A=u("div","separator"),G=u("div","section"),H=u("div","sectionLabel"),R=b.createContext(void 0),J=R.Provider,q=()=>b.useContext(R),m=t=>{const n=f.useSlotRecipe({key:"menu"}),[r,o]=n.splitVariantProps(t),{children:s,trigger:c,isOpen:i,defaultOpen:p,onOpenChange:x,...S}=o,M={trigger:c,isOpen:i,defaultOpen:p,onOpenChange:x};return e.jsx(D,{...r,asChild:!0,children:e.jsx(a.$3674c52c6b3c5bce$export$27d2ad3c5815583e,{...M,children:e.jsx(J,{value:S,children:s})})})};m.displayName="Menu.Root";const h=({children:t,asChild:n,ref:r,...o})=>{const[s,c]=l.extractStyleProps(o);return n?e.jsx(y,{ref:r,asChild:!0,...s,children:t}):e.jsx(y,{asChild:!0,...s,children:e.jsx(L.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{ref:r,...c,children:t})})};h.displayName="Menu.Trigger";const Q=b.createContext(void 0),T=Q.Provider,d=({children:t,placement:n,ref:r})=>{const o=q();if(!o)throw new Error("Menu.Content must be used within Menu.Root");const{placement:s,...c}=o,i=n||s||"bottom start";return e.jsx(T,{value:{selectionMode:c.selectionMode},children:e.jsx(V,{asChild:!0,children:e.jsx(a.$07b14b47974efb58$export$5b6b19405a83ff9d,{placement:i,offset:4,shouldFlip:!0,children:e.jsx(W,{asChild:!0,children:e.jsx(a.$3674c52c6b3c5bce$export$d9b273488cd8ce6f,{ref:r,shouldFocusWrap:!0,autoFocus:"first",...c,children:t})})})})})};d.displayName="Menu.Content";const P=({children:t,isCritical:n,ref:r,...o})=>{const[s,c]=l.extractStyleProps(o);return e.jsx(z,{asChild:!0,...s,"data-critical":n?"":void 0,children:e.jsx(a.$3674c52c6b3c5bce$export$2ce376c2cc3355c8,{ref:r,...c,children:({hasSubmenu:i})=>e.jsxs(e.Fragment,{children:[t,i&&e.jsx(O.Icon,{slot:"caretIcon",children:e.jsx(E.ChevronRight,{})})]})})})};P.displayName="Menu.Item";const g=({ref:t,...n})=>{const[r,o]=l.extractStyleProps(n);return e.jsx(A,{asChild:!0,...r,children:e.jsx(v.$431f98aba6844401$export$1ff3c3f08ae963c0,{ref:t,...o})})};g.displayName="Menu.Separator";const N=({children:t,ref:n,...r})=>{const[o,s]=l.extractStyleProps(r);return e.jsx(H,{asChild:!0,...o,children:e.jsx(v.$72a5793c14baf454$export$8b251419efc915eb,{ref:n,...s,children:t})})};N.displayName="Menu.SectionLabel";const $=({children:t,ref:n,label:r,items:o,...s})=>{const c=q(),{selectionMode:i=c?.selectionMode,selectedKeys:p=c?.selectedKeys,defaultSelectedKeys:x=c?.defaultSelectedKeys,onSelectionChange:S=c?.onSelectionChange,disallowEmptySelection:M=c?.disallowEmptySelection,...I}=s,[w,F]=l.extractStyleProps(I);return e.jsx(T,{value:{selectionMode:i},children:e.jsx(G,{asChild:!0,...w,children:e.jsxs(a.$3674c52c6b3c5bce$export$4b1545b4f2016d26,{ref:n,selectionMode:i,selectedKeys:p,defaultSelectedKeys:x,onSelectionChange:S,disallowEmptySelection:M,...F,children:[e.jsx(N,{children:r}),o?e.jsx(k.$e1995378a142960e$export$fb8073518f34e6ec,{items:o,children:t}):t]})})})};$.displayName="Menu.Section";const C=({children:t,...n})=>e.jsx(a.$3674c52c6b3c5bce$export$ecabc99eeffab7ca,{...n,children:t});C.displayName="Menu.SubmenuTrigger";const j=({children:t,...n})=>e.jsx(d,{...n,placement:"end",children:t});j.displayName="Menu.Submenu";const U={Root:m,Trigger:h,Content:d,Item:P,Separator:g,Section:$,Submenu:j,SubmenuTrigger:C};exports.Menu=U;exports.MenuContent=d;exports.MenuItem=P;exports.MenuRoot=m;exports.MenuSection=$;exports.MenuSeparator=g;exports.MenuSubmenu=j;exports.MenuSubmenuTrigger=C;exports.MenuTrigger=h;
2
+ //# sourceMappingURL=menu-DHZ-kLy2.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"menu-C41LRy4b.cjs.js","sources":["../../src/components/menu/menu.slots.tsx","../../src/components/menu/components/menu.context.tsx","../../src/components/menu/components/menu.root.tsx","../../src/components/menu/components/menu.trigger.tsx","../../src/components/menu/components/menu.section-context.tsx","../../src/components/menu/components/menu.content.tsx","../../src/components/menu/components/menu.item.tsx","../../src/components/menu/components/menu.separator.tsx","../../src/components/menu/components/menu.section-label.tsx","../../src/components/menu/components/menu.section.tsx","../../src/components/menu/components/menu.submenu-trigger.tsx","../../src/components/menu/components/menu.submenu.tsx","../../src/components/menu/menu.tsx"],"sourcesContent":["import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react/styled-system\";\nimport { menuSlotRecipe } from \"./menu.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: menuSlotRecipe,\n});\n\n// Menu Root\nexport type MenuRootSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuRootSlot = withProvider<HTMLDivElement, MenuRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Menu Trigger\nexport type MenuTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const MenuTriggerSlot = withContext<\n HTMLButtonElement,\n MenuTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Menu Popover\nexport type MenuPopoverSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuPopoverSlot = withContext<\n HTMLDivElement,\n MenuPopoverSlotProps\n>(\"div\", \"popover\");\n\n// Menu Content\nexport type MenuContentSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuContentSlot = withContext<\n HTMLDivElement,\n MenuContentSlotProps\n>(\"div\", \"content\");\n\n// Menu Item\nexport type MenuItemSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuItemSlot = withContext<HTMLDivElement, MenuItemSlotProps>(\n \"div\",\n \"item\"\n);\n\n// Menu Separator\nexport type MenuSeparatorSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSeparatorSlot = withContext<\n HTMLDivElement,\n MenuSeparatorSlotProps\n>(\"div\", \"separator\");\n\n// Menu Section\nexport type MenuSectionSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionSlot = withContext<\n HTMLDivElement,\n MenuSectionSlotProps\n>(\"div\", \"section\");\n\n// Menu Section Label\nexport type MenuSectionLabelSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionLabelSlot = withContext<\n HTMLDivElement,\n MenuSectionLabelSlotProps\n>(\"div\", \"sectionLabel\");\n\n// Menu Group Label\nexport type MenuSubmenuSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSubmenuSlot = withContext<\n HTMLDivElement,\n MenuSubmenuSlotProps\n>(\"div\", \"submenu\");\n","import { createContext, useContext } from \"react\";\nimport type { MenuRootProps } from \"./../menu.types\";\nimport type { MenuTriggerProps as RaMenuTriggerProps } from \"react-aria-components\";\n\n// Context should contain all Menu props (excluding MenuTrigger-specific props)\nexport type MenuContextValue = Omit<\n MenuRootProps,\n keyof RaMenuTriggerProps | \"children\" | \"trigger\"\n>;\n\nconst MenuContext = createContext<MenuContextValue | undefined>(undefined);\n\nexport const MenuProvider = MenuContext.Provider;\n\nexport const useMenuContext = () => {\n const context = useContext(MenuContext);\n return context;\n};\n","import { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { MenuTrigger as RaMenuTrigger } from \"react-aria-components\";\nimport type { MenuRootProps } from \"../menu.types\";\nimport { MenuRootSlot } from \"../menu.slots\";\nimport { MenuProvider } from \"./menu.context\";\n\nexport const MenuRoot = (props: MenuRootProps) => {\n const recipe = useSlotRecipe({ key: \"menu\" });\n const [recipeProps, functionalProps] = recipe.splitVariantProps(props);\n\n // Separate MenuTrigger props from Menu props\n const {\n children,\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n ...menuContextProps\n } = functionalProps;\n\n const menuTriggerProps = {\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n };\n\n return (\n <MenuRootSlot {...recipeProps} asChild>\n <RaMenuTrigger {...menuTriggerProps}>\n <MenuProvider value={menuContextProps}>{children}</MenuProvider>\n </RaMenuTrigger>\n </MenuRootSlot>\n );\n};\n\nMenuRoot.displayName = \"Menu.Root\";\n","import { Button } from \"react-aria-components\";\nimport { MenuTriggerSlot } from \"../menu.slots\";\nimport type { MenuTriggerProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuTrigger = ({\n children,\n asChild,\n ref,\n ...props\n}: MenuTriggerProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n /**\n * The user supplied a Button as the trigger\n */\n if (asChild) {\n // When asChild is true, apply styles to the child element\n return (\n <MenuTriggerSlot ref={ref} asChild {...styleProps}>\n {children as ReactNode}\n </MenuTriggerSlot>\n );\n }\n\n /**\n * The user did not supply a Button as trigger, use an unstyled button\n * to wrap which ever element the user supplied and make it a trigger\n */\n return (\n <MenuTriggerSlot asChild {...styleProps}>\n <Button ref={ref} {...restProps}>\n {children}\n </Button>\n </MenuTriggerSlot>\n );\n};\n\nMenuTrigger.displayName = \"Menu.Trigger\";\n","import { createContext, useContext } from \"react\";\n\nexport interface MenuSectionContextValue {\n selectionMode?: \"single\" | \"multiple\" | \"none\";\n}\n/**\n * Why is a second context (MenuSectionContext) needed?\n *\n * MenuSectionContext enables section-level config for menu items, such as\n * selection mode, which may differ from the global menu context. This allows\n * advanced menus where each section can have its own selection behavior\n * (e.g., one section is single-select, another is multi-select).\n * By scoping context to a section, menu items inherit settings from their\n * nearest section, falling back to the global menu context if not present.\n * This pattern improves flexibility and composability for complex menus,\n * and avoids prop drilling or awkward prop merging.\n */\n\nconst MenuSectionContext = createContext<MenuSectionContextValue | undefined>(\n undefined\n);\n\nexport const MenuSectionProvider = MenuSectionContext.Provider;\n\nexport const useMenuSectionContext = () => {\n return useContext(MenuSectionContext);\n};\n","import { Menu, Popover } from \"react-aria-components\";\nimport { MenuContentSlot, MenuPopoverSlot } from \"../menu.slots\";\nimport type { MenuContentProps } from \"../menu.types\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\n\nexport const MenuContent = ({\n children,\n placement: placementOverride,\n ref,\n}: MenuContentProps) => {\n const contextProps = useMenuContext();\n\n if (!contextProps) {\n throw new Error(\"Menu.Content must be used within Menu.Root\");\n }\n\n // Separate placement from other props since it's handled by Popover\n const { placement, ...menuProps } = contextProps;\n const finalPlacement = placementOverride || placement || \"bottom start\";\n\n return (\n <MenuSectionProvider value={{ selectionMode: menuProps.selectionMode }}>\n <MenuPopoverSlot asChild>\n <Popover placement={finalPlacement} offset={4} shouldFlip>\n <MenuContentSlot asChild>\n <Menu ref={ref} shouldFocusWrap autoFocus=\"first\" {...menuProps}>\n {children}\n </Menu>\n </MenuContentSlot>\n </Popover>\n </MenuPopoverSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuContent.displayName = \"Menu.Content\";\n","import { MenuItem as RaMenuItem } from \"react-aria-components\";\nimport { MenuItemSlot } from \"../menu.slots\";\nimport type { MenuItemProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { ChevronRight } from \"@commercetools/nimbus-icons\";\nimport { Icon } from \"@/components/icon\";\n\nexport const MenuItem = ({\n children,\n isCritical,\n ref,\n ...props\n}: MenuItemProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuItemSlot\n asChild\n {...styleProps}\n data-critical={isCritical ? \"\" : undefined}\n >\n <RaMenuItem ref={ref} {...restProps}>\n {({ hasSubmenu }) => (\n <>\n {children}\n {hasSubmenu && (\n <Icon slot=\"caretIcon\">\n <ChevronRight />\n </Icon>\n )}\n </>\n )}\n </RaMenuItem>\n </MenuItemSlot>\n );\n};\n\nMenuItem.displayName = \"Menu.Item\";\n","import { Separator } from \"react-aria-components\";\nimport { MenuSeparatorSlot } from \"../menu.slots\";\nimport type { MenuSeparatorProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nexport const MenuSeparator = ({ ref, ...props }: MenuSeparatorProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSeparatorSlot asChild {...styleProps}>\n <Separator ref={ref} {...restProps} />\n </MenuSeparatorSlot>\n );\n};\n\nMenuSeparator.displayName = \"Menu.Separator\";\n","import { Header } from \"react-aria-components\";\nimport { MenuSectionLabelSlot } from \"../menu.slots\";\nimport type { MenuSectionLabelProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\n/**\n * Used in MenuSection for rendering the `label` property.\n */\nexport const MenuSectionLabel = ({\n children,\n ref,\n ...props\n}: MenuSectionLabelProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSectionLabelSlot asChild {...styleProps}>\n <Header ref={ref} {...restProps}>\n {children}\n </Header>\n </MenuSectionLabelSlot>\n );\n};\n\nMenuSectionLabel.displayName = \"Menu.SectionLabel\";\n","import {\n MenuSection as RaMenuSection,\n Collection,\n} from \"react-aria-components\";\nimport { MenuSectionSlot } from \"../menu.slots\";\nimport type { MenuSectionProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\nimport { MenuSectionLabel } from \"./menu.section-label\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuSection = <T extends object = object>({\n children,\n ref,\n label,\n items,\n ...props\n}: MenuSectionProps<T>) => {\n const contextProps = useMenuContext();\n\n // Extract selection-related props before extracting style props\n const {\n selectionMode = contextProps?.selectionMode,\n selectedKeys = contextProps?.selectedKeys,\n defaultSelectedKeys = contextProps?.defaultSelectedKeys,\n onSelectionChange = contextProps?.onSelectionChange,\n disallowEmptySelection = contextProps?.disallowEmptySelection,\n ...restProps\n } = props;\n\n const [styleProps, otherProps] = extractStyleProps(restProps);\n\n return (\n <MenuSectionProvider value={{ selectionMode }}>\n <MenuSectionSlot asChild {...styleProps}>\n <RaMenuSection\n ref={ref}\n selectionMode={selectionMode}\n selectedKeys={selectedKeys}\n defaultSelectedKeys={defaultSelectedKeys}\n onSelectionChange={onSelectionChange}\n disallowEmptySelection={disallowEmptySelection}\n {...otherProps}\n >\n <MenuSectionLabel>{label}</MenuSectionLabel>\n {items ? (\n <Collection items={items}>{children}</Collection>\n ) : (\n (children as ReactNode)\n )}\n </RaMenuSection>\n </MenuSectionSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuSection.displayName = \"Menu.Section\";\n","import { SubmenuTrigger as RaSubmenuTrigger } from \"react-aria-components\";\nimport type { MenuSubmenuTriggerProps } from \"../menu.types\";\n\nexport const MenuSubmenuTrigger = ({\n children,\n ...props\n}: MenuSubmenuTriggerProps) => {\n return <RaSubmenuTrigger {...props}>{children}</RaSubmenuTrigger>;\n};\n\nMenuSubmenuTrigger.displayName = \"Menu.SubmenuTrigger\";\n","import type { MenuSubmenuProps } from \"../menu.types\";\nimport { MenuContent } from \"./menu.content\";\n\nexport const MenuSubmenu = ({ children, ...props }: MenuSubmenuProps) => {\n return (\n <MenuContent {...props} placement=\"end\">\n {children}\n </MenuContent>\n );\n};\n\nMenuSubmenu.displayName = \"Menu.Submenu\";\n","import { MenuRoot } from \"./components/menu.root\";\nimport { MenuTrigger } from \"./components/menu.trigger\";\nimport { MenuContent } from \"./components/menu.content\";\nimport { MenuItem } from \"./components/menu.item\";\nimport { MenuSeparator } from \"./components/menu.separator\";\nimport { MenuSection } from \"./components/menu.section\";\nimport { MenuSubmenuTrigger } from \"./components/menu.submenu-trigger\";\nimport { MenuSubmenu } from \"./components/menu.submenu\";\n\n// Re-export types\nexport type * from \"./menu.types\";\n\nexport const Menu = {\n Root: MenuRoot,\n Trigger: MenuTrigger,\n Content: MenuContent,\n Item: MenuItem,\n Separator: MenuSeparator,\n Section: MenuSection,\n Submenu: MenuSubmenu,\n SubmenuTrigger: MenuSubmenuTrigger,\n};\n\n// Exports for internal use by react-docgen\nexport {\n MenuRoot as _MenuRoot,\n MenuTrigger as _MenuTrigger,\n MenuContent as _MenuContent,\n MenuItem as _MenuItem,\n MenuSeparator as _MenuSeparator,\n MenuSection as _MenuSection,\n MenuSubmenuTrigger as _MenuSubmenuTrigger,\n MenuSubmenu as _MenuSubmenu,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","menuSlotRecipe","MenuRootSlot","MenuTriggerSlot","MenuPopoverSlot","MenuContentSlot","MenuItemSlot","MenuSeparatorSlot","MenuSectionSlot","MenuSectionLabelSlot","MenuContext","createContext","MenuProvider","useMenuContext","useContext","MenuRoot","props","recipe","useSlotRecipe","recipeProps","functionalProps","children","trigger","isOpen","defaultOpen","onOpenChange","menuContextProps","menuTriggerProps","jsx","RaMenuTrigger","MenuTrigger","asChild","ref","styleProps","restProps","extractStyleProps","Button","MenuSectionContext","MenuSectionProvider","MenuContent","placementOverride","contextProps","placement","menuProps","finalPlacement","Popover","Menu","MenuItem","isCritical","RaMenuItem","hasSubmenu","jsxs","Fragment","Icon","ChevronRight","MenuSeparator","Separator","MenuSectionLabel","Header","MenuSection","label","items","selectionMode","selectedKeys","defaultSelectedKeys","onSelectionChange","disallowEmptySelection","otherProps","RaMenuSection","Collection","MenuSubmenuTrigger","RaSubmenuTrigger","MenuSubmenu"],"mappings":"icAMM,CAAE,aAAAA,EAAc,YAAAC,CAAA,EAAgBC,0BAAwB,CAC5D,OAAQC,EAAAA,cACV,CAAC,EAIYC,EAAeJ,EAC1B,MACA,MACF,EAIaK,EAAkBJ,EAG7B,SAAU,SAAS,EAIRK,EAAkBL,EAG7B,MAAO,SAAS,EAILM,EAAkBN,EAG7B,MAAO,SAAS,EAILO,EAAeP,EAC1B,MACA,MACF,EAIaQ,EAAoBR,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,EACxBC,EACCjC,EAAAA,IAACyC,EAAAA,0CAAA,CAAW,MAAAR,EAAe,SAAAxC,EAAS,EAEnCA,CAAA,CAAA,CAAA,EAGP,CAAA,CACF,CAEJ,EAEAsC,EAAY,YAAc,eCtDnB,MAAMW,EAAqB,CAAC,CACjC,SAAAjD,EACA,GAAGL,CACL,IACSY,EAAAA,IAAC2C,EAAAA,0CAAA,CAAkB,GAAGvD,EAAQ,SAAAK,CAAA,CAAS,EAGhDiD,EAAmB,YAAc,sBCP1B,MAAME,EAAc,CAAC,CAAE,SAAAnD,EAAU,GAAGL,WAEtCuB,EAAA,CAAa,GAAGvB,EAAO,UAAU,MAC/B,SAAAK,EACH,EAIJmD,EAAY,YAAc,eCCnB,MAAM1B,EAAO,CAClB,KAAM/B,EACN,QAASe,EACT,QAASS,EACT,KAAMQ,EACN,UAAWQ,EACX,QAASI,EACT,QAASa,EACT,eAAgBF,CAClB"}
1
+ {"version":3,"file":"menu-DHZ-kLy2.cjs.js","sources":["../../src/components/menu/menu.slots.tsx","../../src/components/menu/components/menu.context.tsx","../../src/components/menu/components/menu.root.tsx","../../src/components/menu/components/menu.trigger.tsx","../../src/components/menu/components/menu.section-context.tsx","../../src/components/menu/components/menu.content.tsx","../../src/components/menu/components/menu.item.tsx","../../src/components/menu/components/menu.separator.tsx","../../src/components/menu/components/menu.section-label.tsx","../../src/components/menu/components/menu.section.tsx","../../src/components/menu/components/menu.submenu-trigger.tsx","../../src/components/menu/components/menu.submenu.tsx","../../src/components/menu/menu.tsx"],"sourcesContent":["import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react/styled-system\";\nimport { menuSlotRecipe } from \"./menu.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: menuSlotRecipe,\n});\n\n// Menu Root\nexport type MenuRootSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuRootSlot = withProvider<HTMLDivElement, MenuRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Menu Trigger\nexport type MenuTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const MenuTriggerSlot = withContext<\n HTMLButtonElement,\n MenuTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Menu Popover\nexport type MenuPopoverSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuPopoverSlot = withContext<\n HTMLDivElement,\n MenuPopoverSlotProps\n>(\"div\", \"popover\");\n\n// Menu Content\nexport type MenuContentSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuContentSlot = withContext<\n HTMLDivElement,\n MenuContentSlotProps\n>(\"div\", \"content\");\n\n// Menu Item\nexport type MenuItemSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuItemSlot = withContext<HTMLDivElement, MenuItemSlotProps>(\n \"div\",\n \"item\"\n);\n\n// Menu Separator\nexport type MenuSeparatorSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSeparatorSlot = withContext<\n HTMLDivElement,\n MenuSeparatorSlotProps\n>(\"div\", \"separator\");\n\n// Menu Section\nexport type MenuSectionSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionSlot = withContext<\n HTMLDivElement,\n MenuSectionSlotProps\n>(\"div\", \"section\");\n\n// Menu Section Label\nexport type MenuSectionLabelSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSectionLabelSlot = withContext<\n HTMLDivElement,\n MenuSectionLabelSlotProps\n>(\"div\", \"sectionLabel\");\n\n// Menu Group Label\nexport type MenuSubmenuSlotProps = HTMLChakraProps<\"div\">;\nexport const MenuSubmenuSlot = withContext<\n HTMLDivElement,\n MenuSubmenuSlotProps\n>(\"div\", \"submenu\");\n","import { createContext, useContext } from \"react\";\nimport type { MenuRootProps } from \"./../menu.types\";\nimport type { MenuTriggerProps as RaMenuTriggerProps } from \"react-aria-components\";\n\n// Context should contain all Menu props (excluding MenuTrigger-specific props)\nexport type MenuContextValue = Omit<\n MenuRootProps,\n keyof RaMenuTriggerProps | \"children\" | \"trigger\"\n>;\n\nconst MenuContext = createContext<MenuContextValue | undefined>(undefined);\n\nexport const MenuProvider = MenuContext.Provider;\n\nexport const useMenuContext = () => {\n const context = useContext(MenuContext);\n return context;\n};\n","import { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { MenuTrigger as RaMenuTrigger } from \"react-aria-components\";\nimport type { MenuRootProps } from \"../menu.types\";\nimport { MenuRootSlot } from \"../menu.slots\";\nimport { MenuProvider } from \"./menu.context\";\n\nexport const MenuRoot = (props: MenuRootProps) => {\n const recipe = useSlotRecipe({ key: \"menu\" });\n const [recipeProps, functionalProps] = recipe.splitVariantProps(props);\n\n // Separate MenuTrigger props from Menu props\n const {\n children,\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n ...menuContextProps\n } = functionalProps;\n\n const menuTriggerProps = {\n trigger,\n isOpen,\n defaultOpen,\n onOpenChange,\n };\n\n return (\n <MenuRootSlot {...recipeProps} asChild>\n <RaMenuTrigger {...menuTriggerProps}>\n <MenuProvider value={menuContextProps}>{children}</MenuProvider>\n </RaMenuTrigger>\n </MenuRootSlot>\n );\n};\n\nMenuRoot.displayName = \"Menu.Root\";\n","import { Button } from \"react-aria-components\";\nimport { MenuTriggerSlot } from \"../menu.slots\";\nimport type { MenuTriggerProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuTrigger = ({\n children,\n asChild,\n ref,\n ...props\n}: MenuTriggerProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n /**\n * The user supplied a Button as the trigger\n */\n if (asChild) {\n // When asChild is true, apply styles to the child element\n return (\n <MenuTriggerSlot ref={ref} asChild {...styleProps}>\n {children as ReactNode}\n </MenuTriggerSlot>\n );\n }\n\n /**\n * The user did not supply a Button as trigger, use an unstyled button\n * to wrap which ever element the user supplied and make it a trigger\n */\n return (\n <MenuTriggerSlot asChild {...styleProps}>\n <Button ref={ref} {...restProps}>\n {children}\n </Button>\n </MenuTriggerSlot>\n );\n};\n\nMenuTrigger.displayName = \"Menu.Trigger\";\n","import { createContext, useContext } from \"react\";\n\nexport interface MenuSectionContextValue {\n selectionMode?: \"single\" | \"multiple\" | \"none\";\n}\n/**\n * Why is a second context (MenuSectionContext) needed?\n *\n * MenuSectionContext enables section-level config for menu items, such as\n * selection mode, which may differ from the global menu context. This allows\n * advanced menus where each section can have its own selection behavior\n * (e.g., one section is single-select, another is multi-select).\n * By scoping context to a section, menu items inherit settings from their\n * nearest section, falling back to the global menu context if not present.\n * This pattern improves flexibility and composability for complex menus,\n * and avoids prop drilling or awkward prop merging.\n */\n\nconst MenuSectionContext = createContext<MenuSectionContextValue | undefined>(\n undefined\n);\n\nexport const MenuSectionProvider = MenuSectionContext.Provider;\n\nexport const useMenuSectionContext = () => {\n return useContext(MenuSectionContext);\n};\n","import { Menu, Popover } from \"react-aria-components\";\nimport { MenuContentSlot, MenuPopoverSlot } from \"../menu.slots\";\nimport type { MenuContentProps } from \"../menu.types\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\n\nexport const MenuContent = ({\n children,\n placement: placementOverride,\n ref,\n}: MenuContentProps) => {\n const contextProps = useMenuContext();\n\n if (!contextProps) {\n throw new Error(\"Menu.Content must be used within Menu.Root\");\n }\n\n // Separate placement from other props since it's handled by Popover\n const { placement, ...menuProps } = contextProps;\n const finalPlacement = placementOverride || placement || \"bottom start\";\n\n return (\n <MenuSectionProvider value={{ selectionMode: menuProps.selectionMode }}>\n <MenuPopoverSlot asChild>\n <Popover placement={finalPlacement} offset={4} shouldFlip>\n <MenuContentSlot asChild>\n <Menu ref={ref} shouldFocusWrap autoFocus=\"first\" {...menuProps}>\n {children}\n </Menu>\n </MenuContentSlot>\n </Popover>\n </MenuPopoverSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuContent.displayName = \"Menu.Content\";\n","import { MenuItem as RaMenuItem } from \"react-aria-components\";\nimport { MenuItemSlot } from \"../menu.slots\";\nimport type { MenuItemProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { ChevronRight } from \"@commercetools/nimbus-icons\";\nimport { Icon } from \"@/components/icon\";\n\nexport const MenuItem = ({\n children,\n isCritical,\n ref,\n ...props\n}: MenuItemProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuItemSlot\n asChild\n {...styleProps}\n data-critical={isCritical ? \"\" : undefined}\n >\n <RaMenuItem ref={ref} {...restProps}>\n {({ hasSubmenu }) => (\n <>\n {children}\n {hasSubmenu && (\n <Icon slot=\"caretIcon\">\n <ChevronRight />\n </Icon>\n )}\n </>\n )}\n </RaMenuItem>\n </MenuItemSlot>\n );\n};\n\nMenuItem.displayName = \"Menu.Item\";\n","import { Separator } from \"react-aria-components\";\nimport { MenuSeparatorSlot } from \"../menu.slots\";\nimport type { MenuSeparatorProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nexport const MenuSeparator = ({ ref, ...props }: MenuSeparatorProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSeparatorSlot asChild {...styleProps}>\n <Separator ref={ref} {...restProps} />\n </MenuSeparatorSlot>\n );\n};\n\nMenuSeparator.displayName = \"Menu.Separator\";\n","import { Header } from \"react-aria-components\";\nimport { MenuSectionLabelSlot } from \"../menu.slots\";\nimport type { MenuSectionLabelProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\n/**\n * Used in MenuSection for rendering the `label` property.\n */\nexport const MenuSectionLabel = ({\n children,\n ref,\n ...props\n}: MenuSectionLabelProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n return (\n <MenuSectionLabelSlot asChild {...styleProps}>\n <Header ref={ref} {...restProps}>\n {children}\n </Header>\n </MenuSectionLabelSlot>\n );\n};\n\nMenuSectionLabel.displayName = \"Menu.SectionLabel\";\n","import {\n MenuSection as RaMenuSection,\n Collection,\n} from \"react-aria-components\";\nimport { MenuSectionSlot } from \"../menu.slots\";\nimport type { MenuSectionProps } from \"../menu.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { useMenuContext } from \"./menu.context\";\nimport { MenuSectionProvider } from \"./menu.section-context\";\nimport { MenuSectionLabel } from \"./menu.section-label\";\nimport type { ReactNode } from \"react\";\n\nexport const MenuSection = <T extends object = object>({\n children,\n ref,\n label,\n items,\n ...props\n}: MenuSectionProps<T>) => {\n const contextProps = useMenuContext();\n\n // Extract selection-related props before extracting style props\n const {\n selectionMode = contextProps?.selectionMode,\n selectedKeys = contextProps?.selectedKeys,\n defaultSelectedKeys = contextProps?.defaultSelectedKeys,\n onSelectionChange = contextProps?.onSelectionChange,\n disallowEmptySelection = contextProps?.disallowEmptySelection,\n ...restProps\n } = props;\n\n const [styleProps, otherProps] = extractStyleProps(restProps);\n\n return (\n <MenuSectionProvider value={{ selectionMode }}>\n <MenuSectionSlot asChild {...styleProps}>\n <RaMenuSection\n ref={ref}\n selectionMode={selectionMode}\n selectedKeys={selectedKeys}\n defaultSelectedKeys={defaultSelectedKeys}\n onSelectionChange={onSelectionChange}\n disallowEmptySelection={disallowEmptySelection}\n {...otherProps}\n >\n <MenuSectionLabel>{label}</MenuSectionLabel>\n {items ? (\n <Collection items={items}>{children}</Collection>\n ) : (\n (children as ReactNode)\n )}\n </RaMenuSection>\n </MenuSectionSlot>\n </MenuSectionProvider>\n );\n};\n\nMenuSection.displayName = \"Menu.Section\";\n","import { SubmenuTrigger as RaSubmenuTrigger } from \"react-aria-components\";\nimport type { MenuSubmenuTriggerProps } from \"../menu.types\";\n\nexport const MenuSubmenuTrigger = ({\n children,\n ...props\n}: MenuSubmenuTriggerProps) => {\n return <RaSubmenuTrigger {...props}>{children}</RaSubmenuTrigger>;\n};\n\nMenuSubmenuTrigger.displayName = \"Menu.SubmenuTrigger\";\n","import type { MenuSubmenuProps } from \"../menu.types\";\nimport { MenuContent } from \"./menu.content\";\n\nexport const MenuSubmenu = ({ children, ...props }: MenuSubmenuProps) => {\n return (\n <MenuContent {...props} placement=\"end\">\n {children}\n </MenuContent>\n );\n};\n\nMenuSubmenu.displayName = \"Menu.Submenu\";\n","import { MenuRoot } from \"./components/menu.root\";\nimport { MenuTrigger } from \"./components/menu.trigger\";\nimport { MenuContent } from \"./components/menu.content\";\nimport { MenuItem } from \"./components/menu.item\";\nimport { MenuSeparator } from \"./components/menu.separator\";\nimport { MenuSection } from \"./components/menu.section\";\nimport { MenuSubmenuTrigger } from \"./components/menu.submenu-trigger\";\nimport { MenuSubmenu } from \"./components/menu.submenu\";\n\n// Re-export types\nexport type * from \"./menu.types\";\n\nexport const Menu = {\n Root: MenuRoot,\n Trigger: MenuTrigger,\n Content: MenuContent,\n Item: MenuItem,\n Separator: MenuSeparator,\n Section: MenuSection,\n Submenu: MenuSubmenu,\n SubmenuTrigger: MenuSubmenuTrigger,\n};\n\n// Exports for internal use by react-docgen\nexport {\n MenuRoot as _MenuRoot,\n MenuTrigger as _MenuTrigger,\n MenuContent as _MenuContent,\n MenuItem as _MenuItem,\n MenuSeparator as _MenuSeparator,\n MenuSection as _MenuSection,\n MenuSubmenuTrigger as _MenuSubmenuTrigger,\n MenuSubmenu as _MenuSubmenu,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","menuSlotRecipe","MenuRootSlot","MenuTriggerSlot","MenuPopoverSlot","MenuContentSlot","MenuItemSlot","MenuSeparatorSlot","MenuSectionSlot","MenuSectionLabelSlot","MenuContext","createContext","MenuProvider","useMenuContext","useContext","MenuRoot","props","recipe","useSlotRecipe","recipeProps","functionalProps","children","trigger","isOpen","defaultOpen","onOpenChange","menuContextProps","menuTriggerProps","jsx","RaMenuTrigger","MenuTrigger","asChild","ref","styleProps","restProps","extractStyleProps","Button","MenuSectionContext","MenuSectionProvider","MenuContent","placementOverride","contextProps","placement","menuProps","finalPlacement","Popover","Menu","MenuItem","isCritical","RaMenuItem","hasSubmenu","jsxs","Fragment","Icon","ChevronRight","MenuSeparator","Separator","MenuSectionLabel","Header","MenuSection","label","items","selectionMode","selectedKeys","defaultSelectedKeys","onSelectionChange","disallowEmptySelection","otherProps","RaMenuSection","Collection","MenuSubmenuTrigger","RaSubmenuTrigger","MenuSubmenu"],"mappings":"ucAMM,CAAE,aAAAA,EAAc,YAAAC,CAAA,EAAgBC,0BAAwB,CAC5D,OAAQC,EAAAA,cACV,CAAC,EAIYC,EAAeJ,EAC1B,MACA,MACF,EAIaK,EAAkBJ,EAG7B,SAAU,SAAS,EAIRK,EAAkBL,EAG7B,MAAO,SAAS,EAILM,EAAkBN,EAG7B,MAAO,SAAS,EAILO,EAAeP,EAC1B,MACA,MACF,EAIaQ,EAAoBR,EAG/B,MAAO,WAAW,EAIPS,EAAkBT,EAG7B,MAAO,SAAS,EAILU,EAAuBV,EAGlC,MAAO,cAAc,ECtDjBW,EAAcC,EAAAA,cAA4C,MAAS,EAE5DC,EAAeF,EAAY,SAE3BG,EAAiB,IACZC,EAAAA,WAAWJ,CAAW,ECT3BK,EAAYC,GAAyB,CAChD,MAAMC,EAASC,EAAAA,cAAc,CAAE,IAAK,OAAQ,EACtC,CAACC,EAAaC,CAAe,EAAIH,EAAO,kBAAkBD,CAAK,EAG/D,CACJ,SAAAK,EACA,QAAAC,EACA,OAAAC,EACA,YAAAC,EACA,aAAAC,EACA,GAAGC,CAAA,EACDN,EAEEO,EAAmB,CACvB,QAAAL,EACA,OAAAC,EACA,YAAAC,EACA,aAAAC,CAAA,EAGF,aACGvB,EAAA,CAAc,GAAGiB,EAAa,QAAO,GACpC,SAAAS,EAAAA,IAACC,4CAAA,CAAe,GAAGF,EACjB,eAACf,EAAA,CAAa,MAAOc,EAAmB,SAAAL,CAAA,CAAS,EACnD,EACF,CAEJ,EAEAN,EAAS,YAAc,YC9BhB,MAAMe,EAAc,CAAC,CAC1B,SAAAT,EACA,QAAAU,EACA,IAAAC,EACA,GAAGhB,CACL,IAAwB,CACtB,KAAM,CAACiB,EAAYC,CAAS,EAAIC,EAAAA,kBAAkBnB,CAAK,EA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GAAGP,CAAA,EACDlB,EAEE,CAACiB,EAAYkC,CAAU,EAAIhC,EAAAA,kBAAkBD,CAAS,EAE5D,OACEN,EAAAA,IAACU,EAAA,CAAoB,MAAO,CAAE,cAAAwB,CAAA,EAC5B,SAAAlC,EAAAA,IAACpB,EAAA,CAAgB,QAAO,GAAE,GAAGyB,EAC3B,SAAAkB,EAAAA,KAACiB,EAAAA,0CAAA,CACC,IAAApC,EACA,cAAA8B,EACA,aAAAC,EACA,oBAAAC,EACA,kBAAAC,EACA,uBAAAC,EACC,GAAGC,EAEJ,SAAA,CAAAvC,EAAAA,IAAC6B,GAAkB,SAAAG,CAAA,CAAM,EACxBC,EACCjC,EAAAA,IAACyC,EAAAA,0CAAA,CAAW,MAAAR,EAAe,SAAAxC,EAAS,EAEnCA,CAAA,CAAA,CAAA,EAGP,CAAA,CACF,CAEJ,EAEAsC,EAAY,YAAc,eCtDnB,MAAMW,EAAqB,CAAC,CACjC,SAAAjD,EACA,GAAGL,CACL,IACSY,EAAAA,IAAC2C,EAAAA,0CAAA,CAAkB,GAAGvD,EAAQ,SAAAK,CAAA,CAAS,EAGhDiD,EAAmB,YAAc,sBCP1B,MAAME,EAAc,CAAC,CAAE,SAAAnD,EAAU,GAAGL,WAEtCuB,EAAA,CAAa,GAAGvB,EAAO,UAAU,MAC/B,SAAAK,EACH,EAIJmD,EAAY,YAAc,eCCnB,MAAM1B,EAAO,CAClB,KAAM/B,EACN,QAASe,EACT,QAASS,EACT,KAAMQ,EACN,UAAWQ,EACX,QAASI,EACT,QAASa,EACT,eAAgBF,CAClB"}
@@ -1 +1 @@
1
- {"version":3,"file":"mergeProps-BA5Cwf5w.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useLayoutEffect.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useEffectEvent.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useValueEffect.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useId.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/chain.mjs","../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/mergeProps.mjs"],"sourcesContent":["import $HgANd$react from \"react\";\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 */ \nconst $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? (0, $HgANd$react).useLayoutEffect : ()=>{};\n\n\nexport {$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=useLayoutEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $lmaYr$react, {useRef as $lmaYr$useRef, useCallback as $lmaYr$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nvar $8ae05eaa5c114e9c$var$_React_useInsertionEffect;\n// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (0, $lmaYr$react)['useInsertionEffect']) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);\nfunction $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {\n const ref = (0, $lmaYr$useRef)(null);\n $8ae05eaa5c114e9c$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $lmaYr$useCallback)((...args)=>{\n const f = ref.current;\n return f === null || f === void 0 ? void 0 : f(...args);\n }, []);\n}\n\n\nexport {$8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.module.js.map\n","import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $fCAlL$useState, useRef as $fCAlL$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $1dbecbe27a04f9af$export$14d238f342723f25(defaultValue) {\n let [value, setValue] = (0, $fCAlL$useState)(defaultValue);\n let effect = (0, $fCAlL$useRef)(null);\n // Store the function in a ref so we can always access the current version\n // which has the proper `value` in scope.\n let nextRef = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)(()=>{\n if (!effect.current) return;\n // Run the generator to the next yield.\n let newValue = effect.current.next();\n // If the generator is done, reset the effect.\n if (newValue.done) {\n effect.current = null;\n return;\n }\n // If the value is the same as the current value,\n // then continue to the next yield. Otherwise,\n // set the value in state and wait for the next layout effect.\n if (value === newValue.value) nextRef();\n else setValue(newValue.value);\n });\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n // If there is an effect currently running, continue to the next yield.\n if (effect.current) nextRef();\n });\n let queue = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)((fn)=>{\n effect.current = fn(value);\n nextRef();\n });\n return [\n value,\n queue\n ];\n}\n\n\nexport {$1dbecbe27a04f9af$export$14d238f342723f25 as useValueEffect};\n//# sourceMappingURL=useValueEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useValueEffect as $1dbecbe27a04f9af$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $eKkEp$useState, useRef as $eKkEp$useRef, useEffect as $eKkEp$useEffect, useCallback as $eKkEp$useCallback} from \"react\";\nimport {useSSRSafeId as $eKkEp$useSSRSafeId} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $bdb11010cef70236$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $bdb11010cef70236$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue)=>{\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $bdb11010cef70236$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $eKkEp$useState)(defaultId);\n let nextId = (0, $eKkEp$useRef)(null);\n let res = (0, $eKkEp$useSSRSafeId)(value);\n let cleanupRef = (0, $eKkEp$useRef)(null);\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);\n if ($bdb11010cef70236$var$canUseDOM) {\n const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);\n if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);\n else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $eKkEp$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $bdb11010cef70236$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1dbecbe27a04f9af$export$14d238f342723f25)(id);\n let updateId = (0, $eKkEp$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$bdb11010cef70236$export$d41a04c74483c6ef as idsUpdaterMap, $bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ /**\n * Calls all functions in the order they were chained with the same arguments.\n */ function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$ff5963eb1fccf552$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.module.js.map\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","import {chain as $ff5963eb1fccf552$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $bdb11010cef70236$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport $7jXr9$clsx from \"clsx\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n let result = {\n ...args[0]\n };\n for(let i = 1; i < args.length; i++){\n let props = args[i];\n for(let key in props){\n let a = result[key];\n let b = props[key];\n // Chain events\n if (typeof a === 'function' && typeof b === 'function' && // This is a lot faster than a regex.\n key[0] === 'o' && key[1] === 'n' && key.charCodeAt(2) >= /* 'A' */ 65 && key.charCodeAt(2) <= /* 'Z' */ 90) result[key] = (0, $ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $7jXr9$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $bdb11010cef70236$export$cd8c9cb68f842629)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$3ef42575df84b30b$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.module.js.map\n"],"names":["$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","$HgANd$react","$8ae05eaa5c114e9c$var$_React_useInsertionEffect","$8ae05eaa5c114e9c$var$useEarlyEffect","$lmaYr$react","$8ae05eaa5c114e9c$export$7f54fc3180508a52","fn","ref","$lmaYr$useRef","$lmaYr$useCallback","args","f","$1dbecbe27a04f9af$export$14d238f342723f25","defaultValue","value","setValue","$fCAlL$useState","effect","$fCAlL$useRef","nextRef","newValue","queue","$bdb11010cef70236$var$canUseDOM","$bdb11010cef70236$export$d41a04c74483c6ef","$bdb11010cef70236$var$registry","heldValue","$bdb11010cef70236$export$f680877a34711e37","defaultId","$eKkEp$useState","nextId","$eKkEp$useRef","res","$eKkEp$useSSRSafeId","cleanupRef","cacheIdRef","r","$eKkEp$useEffect","newId","$bdb11010cef70236$export$cd8c9cb68f842629","idA","idB","setIdsA","setIdsB","$bdb11010cef70236$export$b4cc09c592e8fdb8","depArray","id","resolvedId","setResolvedId","updateId","$eKkEp$useCallback","$ff5963eb1fccf552$export$e08e3b67e392101e","callbacks","callback","e","t","n","o","clsx","$3ef42575df84b30b$export$9d1611c77c2fe928","result","i","props","key","a","b","$7jXr9$clsx"],"mappings":"iFAaMA,EAA4C,OAAO,SAAa,IAAkBC,EAAc,gBAAkB,IAAI,CAAC,ECE7H,IAAIC,EAGJ,MAAMC,GAAwCD,EAAsDE,EAAc,sBAA2B,MAAQF,IAAoD,OAASA,EAAsDF,EACxQ,SAASK,EAA0CC,EAAI,CACnD,MAAMC,EAAUC,EAAAA,OAAe,IAAI,EACnC,OAAAL,EAAqC,IAAI,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AaF,EAAGC,CAAC,EAC1IF,IAAQ,MAAQC,GAAKC,EAAGL,EAAO,GAASrB,EAA2CyB,EAAGC,CAAC,EAC3FL,EAAOG,CAAG,EAAIE,IAAM,OAAYA,EAAID,CAC7C,CACJ,CACA,OAAOJ,CACX","x_google_ignoreList":[0,1,2,3,4,5,6]}
1
+ {"version":3,"file":"mergeProps-BA5Cwf5w.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/useLayoutEffect.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/useEffectEvent.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/useValueEffect.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/useId.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/chain.mjs","../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/mergeProps.mjs"],"sourcesContent":["import $HgANd$react from \"react\";\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 */ \nconst $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? (0, $HgANd$react).useLayoutEffect : ()=>{};\n\n\nexport {$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=useLayoutEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $lmaYr$react, {useRef as $lmaYr$useRef, useCallback as $lmaYr$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nvar $8ae05eaa5c114e9c$var$_React_useInsertionEffect;\n// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (0, $lmaYr$react)['useInsertionEffect']) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);\nfunction $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {\n const ref = (0, $lmaYr$useRef)(null);\n $8ae05eaa5c114e9c$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $lmaYr$useCallback)((...args)=>{\n const f = ref.current;\n return f === null || f === void 0 ? void 0 : f(...args);\n }, []);\n}\n\n\nexport {$8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.module.js.map\n","import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $fCAlL$useState, useRef as $fCAlL$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $1dbecbe27a04f9af$export$14d238f342723f25(defaultValue) {\n let [value, setValue] = (0, $fCAlL$useState)(defaultValue);\n let effect = (0, $fCAlL$useRef)(null);\n // Store the function in a ref so we can always access the current version\n // which has the proper `value` in scope.\n let nextRef = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)(()=>{\n if (!effect.current) return;\n // Run the generator to the next yield.\n let newValue = effect.current.next();\n // If the generator is done, reset the effect.\n if (newValue.done) {\n effect.current = null;\n return;\n }\n // If the value is the same as the current value,\n // then continue to the next yield. Otherwise,\n // set the value in state and wait for the next layout effect.\n if (value === newValue.value) nextRef();\n else setValue(newValue.value);\n });\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n // If there is an effect currently running, continue to the next yield.\n if (effect.current) nextRef();\n });\n let queue = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)((fn)=>{\n effect.current = fn(value);\n nextRef();\n });\n return [\n value,\n queue\n ];\n}\n\n\nexport {$1dbecbe27a04f9af$export$14d238f342723f25 as useValueEffect};\n//# sourceMappingURL=useValueEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useValueEffect as $1dbecbe27a04f9af$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $eKkEp$useState, useRef as $eKkEp$useRef, useEffect as $eKkEp$useEffect, useCallback as $eKkEp$useCallback} from \"react\";\nimport {useSSRSafeId as $eKkEp$useSSRSafeId} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $bdb11010cef70236$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $bdb11010cef70236$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue)=>{\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $bdb11010cef70236$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $eKkEp$useState)(defaultId);\n let nextId = (0, $eKkEp$useRef)(null);\n let res = (0, $eKkEp$useSSRSafeId)(value);\n let cleanupRef = (0, $eKkEp$useRef)(null);\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);\n if ($bdb11010cef70236$var$canUseDOM) {\n const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);\n if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);\n else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $eKkEp$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $bdb11010cef70236$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1dbecbe27a04f9af$export$14d238f342723f25)(id);\n let updateId = (0, $eKkEp$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$bdb11010cef70236$export$d41a04c74483c6ef as idsUpdaterMap, $bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ /**\n * Calls all functions in the order they were chained with the same arguments.\n */ function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$ff5963eb1fccf552$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.module.js.map\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","import {chain as $ff5963eb1fccf552$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $bdb11010cef70236$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport $7jXr9$clsx from \"clsx\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n let result = {\n ...args[0]\n };\n for(let i = 1; i < args.length; i++){\n let props = args[i];\n for(let key in props){\n let a = result[key];\n let b = props[key];\n // Chain events\n if (typeof a === 'function' && typeof b === 'function' && // This is a lot faster than a regex.\n key[0] === 'o' && key[1] === 'n' && key.charCodeAt(2) >= /* 'A' */ 65 && key.charCodeAt(2) <= /* 'Z' */ 90) result[key] = (0, $ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $7jXr9$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $bdb11010cef70236$export$cd8c9cb68f842629)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$3ef42575df84b30b$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.module.js.map\n"],"names":["$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","$HgANd$react","$8ae05eaa5c114e9c$var$_React_useInsertionEffect","$8ae05eaa5c114e9c$var$useEarlyEffect","$lmaYr$react","$8ae05eaa5c114e9c$export$7f54fc3180508a52","fn","ref","$lmaYr$useRef","$lmaYr$useCallback","args","f","$1dbecbe27a04f9af$export$14d238f342723f25","defaultValue","value","setValue","$fCAlL$useState","effect","$fCAlL$useRef","nextRef","newValue","queue","$bdb11010cef70236$var$canUseDOM","$bdb11010cef70236$export$d41a04c74483c6ef","$bdb11010cef70236$var$registry","heldValue","$bdb11010cef70236$export$f680877a34711e37","defaultId","$eKkEp$useState","nextId","$eKkEp$useRef","res","$eKkEp$useSSRSafeId","cleanupRef","cacheIdRef","r","$eKkEp$useEffect","newId","$bdb11010cef70236$export$cd8c9cb68f842629","idA","idB","setIdsA","setIdsB","$bdb11010cef70236$export$b4cc09c592e8fdb8","depArray","id","resolvedId","setResolvedId","updateId","$eKkEp$useCallback","$ff5963eb1fccf552$export$e08e3b67e392101e","callbacks","callback","e","t","n","o","clsx","$3ef42575df84b30b$export$9d1611c77c2fe928","result","i","props","key","a","b","$7jXr9$clsx"],"mappings":"iFAaMA,EAA4C,OAAO,SAAa,IAAkBC,EAAc,gBAAkB,IAAI,CAAC,ECE7H,IAAIC,EAGJ,MAAMC,GAAwCD,EAAsDE,EAAc,sBAA2B,MAAQF,IAAoD,OAASA,EAAsDF,EACxQ,SAASK,EAA0CC,EAAI,CACnD,MAAMC,EAAUC,EAAAA,OAAe,IAAI,EACnC,OAAAL,EAAqC,IAAI,CACrCI,EAAI,QAAUD,CAClB,EAAG,CACCA,CACR,CAAK,EAEUG,EAAAA,YAAoB,IAAIC,IAAO,CACtC,MAAMC,EAAIJ,EAAI,QACd,OAA6CI,IAAE,GAAGD,CAAI,CAC1D,EAAG,CAAA,CAAE,CACT,CCfA,SAASE,EAA0CC,EAAc,CAC7D,GAAI,CAACC,EAAOC,CAAQ,EAAQC,EAAAA,SAAiBH,CAAY,EACrDI,EAAaC,EAAAA,OAAe,IAAI,EAGhCC,EAAcd,EAA2C,IAAI,CAC7D,GAAI,CAACY,EAAO,QAAS,OAErB,IAAIG,EAAWH,EAAO,QAAQ,KAAI,EAElC,GAAIG,EAAS,KAAM,CACfH,EAAO,QAAU,KACjB,MACJ,CAIIH,IAAUM,EAAS,MAAOD,EAAO,EAChCJ,EAASK,EAAS,KAAK,CAChC,CAAC,EACGpB,EAA2C,IAAI,CAE3CiB,EAAO,SAASE,EAAO,CAC/B,CAAC,EACD,IAAIE,EAAYhB,EAA4CC,GAAK,CAC7DW,EAAO,QAAUX,EAAGQ,CAAK,EACzBK,EAAO,CACX,CAAC,EACD,MAAO,CACHL,EACAO,CACR,CACA,CC5BA,IAAIC,EAAkC,GAAQ,OAAO,OAAW,KAAe,OAAO,UAAY,OAAO,SAAS,eAC9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OAAQkD,IAAI,CAChC,IAAIC,EAAQnD,EAAKkD,CAAC,EAClB,QAAQE,KAAOD,EAAM,CACjB,IAAIE,EAAIJ,EAAOG,CAAG,EACdE,EAAIH,EAAMC,CAAG,EAEb,OAAOC,GAAM,YAAc,OAAOC,GAAM,YAC5CF,EAAI,CAAC,IAAM,KAAOA,EAAI,CAAC,IAAM,KAAOA,EAAI,WAAW,CAAC,GAAe,IAAMA,EAAI,WAAW,CAAC,GAAe,GAAIH,EAAOG,CAAG,EAAQZ,EAA2Ca,EAAGC,CAAC,GACnKF,IAAQ,aAAeA,IAAQ,qBAAuB,OAAOC,GAAM,UAAY,OAAOC,GAAM,SAAUL,EAAOG,CAAG,EAAQG,EAAaF,EAAGC,CAAC,EAC1IF,IAAQ,MAAQC,GAAKC,EAAGL,EAAO,GAASrB,EAA2CyB,EAAGC,CAAC,EAC3FL,EAAOG,CAAG,EAAIE,IAAM,OAAYA,EAAID,CAC7C,CACJ,CACA,OAAOJ,CACX","x_google_ignoreList":[0,1,2,3,4,5,6]}
@@ -1 +1 @@
1
- {"version":3,"file":"mergeProps-B_9syxhT.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useLayoutEffect.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useEffectEvent.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useValueEffect.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useId.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/chain.mjs","../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/mergeProps.mjs"],"sourcesContent":["import $HgANd$react from \"react\";\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 */ \nconst $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? (0, $HgANd$react).useLayoutEffect : ()=>{};\n\n\nexport {$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=useLayoutEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $lmaYr$react, {useRef as $lmaYr$useRef, useCallback as $lmaYr$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nvar $8ae05eaa5c114e9c$var$_React_useInsertionEffect;\n// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (0, $lmaYr$react)['useInsertionEffect']) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);\nfunction $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {\n const ref = (0, $lmaYr$useRef)(null);\n $8ae05eaa5c114e9c$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $lmaYr$useCallback)((...args)=>{\n const f = ref.current;\n return f === null || f === void 0 ? void 0 : f(...args);\n }, []);\n}\n\n\nexport {$8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.module.js.map\n","import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $fCAlL$useState, useRef as $fCAlL$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $1dbecbe27a04f9af$export$14d238f342723f25(defaultValue) {\n let [value, setValue] = (0, $fCAlL$useState)(defaultValue);\n let effect = (0, $fCAlL$useRef)(null);\n // Store the function in a ref so we can always access the current version\n // which has the proper `value` in scope.\n let nextRef = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)(()=>{\n if (!effect.current) return;\n // Run the generator to the next yield.\n let newValue = effect.current.next();\n // If the generator is done, reset the effect.\n if (newValue.done) {\n effect.current = null;\n return;\n }\n // If the value is the same as the current value,\n // then continue to the next yield. Otherwise,\n // set the value in state and wait for the next layout effect.\n if (value === newValue.value) nextRef();\n else setValue(newValue.value);\n });\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n // If there is an effect currently running, continue to the next yield.\n if (effect.current) nextRef();\n });\n let queue = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)((fn)=>{\n effect.current = fn(value);\n nextRef();\n });\n return [\n value,\n queue\n ];\n}\n\n\nexport {$1dbecbe27a04f9af$export$14d238f342723f25 as useValueEffect};\n//# sourceMappingURL=useValueEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useValueEffect as $1dbecbe27a04f9af$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $eKkEp$useState, useRef as $eKkEp$useRef, useEffect as $eKkEp$useEffect, useCallback as $eKkEp$useCallback} from \"react\";\nimport {useSSRSafeId as $eKkEp$useSSRSafeId} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $bdb11010cef70236$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $bdb11010cef70236$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue)=>{\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $bdb11010cef70236$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $eKkEp$useState)(defaultId);\n let nextId = (0, $eKkEp$useRef)(null);\n let res = (0, $eKkEp$useSSRSafeId)(value);\n let cleanupRef = (0, $eKkEp$useRef)(null);\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);\n if ($bdb11010cef70236$var$canUseDOM) {\n const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);\n if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);\n else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $eKkEp$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $bdb11010cef70236$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1dbecbe27a04f9af$export$14d238f342723f25)(id);\n let updateId = (0, $eKkEp$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$bdb11010cef70236$export$d41a04c74483c6ef as idsUpdaterMap, $bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ /**\n * Calls all functions in the order they were chained with the same arguments.\n */ function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$ff5963eb1fccf552$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.module.js.map\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","import {chain as $ff5963eb1fccf552$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $bdb11010cef70236$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport $7jXr9$clsx from \"clsx\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n let result = {\n ...args[0]\n };\n for(let i = 1; i < args.length; i++){\n let props = args[i];\n for(let key in props){\n let a = result[key];\n let b = props[key];\n // Chain events\n if (typeof a === 'function' && typeof b === 'function' && // This is a lot faster than a regex.\n key[0] === 'o' && key[1] === 'n' && key.charCodeAt(2) >= /* 'A' */ 65 && key.charCodeAt(2) <= /* 'Z' */ 90) result[key] = (0, $ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $7jXr9$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $bdb11010cef70236$export$cd8c9cb68f842629)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$3ef42575df84b30b$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.module.js.map\n"],"names":["$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","$HgANd$react","$8ae05eaa5c114e9c$var$_React_useInsertionEffect","$8ae05eaa5c114e9c$var$useEarlyEffect","$lmaYr$react","$8ae05eaa5c114e9c$export$7f54fc3180508a52","fn","ref","$lmaYr$useRef","$lmaYr$useCallback","args","f","$1dbecbe27a04f9af$export$14d238f342723f25","defaultValue","value","setValue","$fCAlL$useState","effect","$fCAlL$useRef","nextRef","newValue","queue","$bdb11010cef70236$var$canUseDOM","$bdb11010cef70236$export$d41a04c74483c6ef","$bdb11010cef70236$var$registry","heldValue","$bdb11010cef70236$export$f680877a34711e37","defaultId","$eKkEp$useState","nextId","$eKkEp$useRef","res","$eKkEp$useSSRSafeId","cleanupRef","cacheIdRef","r","$eKkEp$useEffect","newId","$bdb11010cef70236$export$cd8c9cb68f842629","idA","idB","setIdsA","setIdsB","$bdb11010cef70236$export$b4cc09c592e8fdb8","depArray","id","resolvedId","setResolvedId","updateId","$eKkEp$useCallback","$ff5963eb1fccf552$export$e08e3b67e392101e","callbacks","callback","e","t","n","o","clsx","$3ef42575df84b30b$export$9d1611c77c2fe928","result","i","props","key","a","b","$7jXr9$clsx"],"mappings":";;AAaK,MAACA,IAA4C,OAAO,WAAa,MAAkBC,EAAc,kBAAkB,MAAI;AAAC;ACE7H,IAAIC;AAGJ,MAAMC,KAAwCD,IAAsDE,EAAc,wBAA2B,QAAQF,MAAoD,SAASA,IAAsDF;AACxQ,SAASK,EAA0CC,GAAI;AACnD,QAAMC,IAAUC,EAAe,IAAI;AACnC,SAAAL,EAAqC,MAAI;AACrC,IAAAI,EAAI,UAAUD;AAAA,EAClB,GAAG;AAAA,IACCA;AAAA,EACR,CAAK,GAEUG,EAAoB,IAAIC,MAAO;AACtC,UAAMC,IAAIJ,EAAI;AACd,WAA6CI,IAAE,GAAGD,CAAI;AAAA,EAC1D,GAAG,CAAA,CAAE;AACT;ACfA,SAASE,EAA0CC,GAAc;AAC7D,MAAI,CAACC,GAAOC,CAAQ,IAAQC,EAAiBH,CAAY,GACrDI,IAAaC,EAAe,IAAI,GAGhCC,IAAcd,EAA2C,MAAI;AAC7D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AGC,CAAC,IAC3FL,EAAOG,CAAG,IAAIE,MAAM,SAAYA,IAAID;AAAA,IAC7C;AAAA,EACJ;AACA,SAAOJ;AACX;","x_google_ignoreList":[0,1,2,3,4,5,6]}
1
+ {"version":3,"file":"mergeProps-B_9syxhT.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/useLayoutEffect.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/useEffectEvent.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/useValueEffect.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/useId.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/chain.mjs","../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/mergeProps.mjs"],"sourcesContent":["import $HgANd$react from \"react\";\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 */ \nconst $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c = typeof document !== 'undefined' ? (0, $HgANd$react).useLayoutEffect : ()=>{};\n\n\nexport {$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=useLayoutEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport $lmaYr$react, {useRef as $lmaYr$useRef, useCallback as $lmaYr$useCallback} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nvar $8ae05eaa5c114e9c$var$_React_useInsertionEffect;\n// Use the earliest effect type possible. useInsertionEffect runs during the mutation phase,\n// before all layout effects, but is available only in React 18 and later.\nconst $8ae05eaa5c114e9c$var$useEarlyEffect = ($8ae05eaa5c114e9c$var$_React_useInsertionEffect = (0, $lmaYr$react)['useInsertionEffect']) !== null && $8ae05eaa5c114e9c$var$_React_useInsertionEffect !== void 0 ? $8ae05eaa5c114e9c$var$_React_useInsertionEffect : (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c);\nfunction $8ae05eaa5c114e9c$export$7f54fc3180508a52(fn) {\n const ref = (0, $lmaYr$useRef)(null);\n $8ae05eaa5c114e9c$var$useEarlyEffect(()=>{\n ref.current = fn;\n }, [\n fn\n ]);\n // @ts-ignore\n return (0, $lmaYr$useCallback)((...args)=>{\n const f = ref.current;\n return f === null || f === void 0 ? void 0 : f(...args);\n }, []);\n}\n\n\nexport {$8ae05eaa5c114e9c$export$7f54fc3180508a52 as useEffectEvent};\n//# sourceMappingURL=useEffectEvent.module.js.map\n","import {useEffectEvent as $8ae05eaa5c114e9c$export$7f54fc3180508a52} from \"./useEffectEvent.mjs\";\nimport {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useState as $fCAlL$useState, useRef as $fCAlL$useRef} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $1dbecbe27a04f9af$export$14d238f342723f25(defaultValue) {\n let [value, setValue] = (0, $fCAlL$useState)(defaultValue);\n let effect = (0, $fCAlL$useRef)(null);\n // Store the function in a ref so we can always access the current version\n // which has the proper `value` in scope.\n let nextRef = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)(()=>{\n if (!effect.current) return;\n // Run the generator to the next yield.\n let newValue = effect.current.next();\n // If the generator is done, reset the effect.\n if (newValue.done) {\n effect.current = null;\n return;\n }\n // If the value is the same as the current value,\n // then continue to the next yield. Otherwise,\n // set the value in state and wait for the next layout effect.\n if (value === newValue.value) nextRef();\n else setValue(newValue.value);\n });\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n // If there is an effect currently running, continue to the next yield.\n if (effect.current) nextRef();\n });\n let queue = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)((fn)=>{\n effect.current = fn(value);\n nextRef();\n });\n return [\n value,\n queue\n ];\n}\n\n\nexport {$1dbecbe27a04f9af$export$14d238f342723f25 as useValueEffect};\n//# sourceMappingURL=useValueEffect.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\nimport {useValueEffect as $1dbecbe27a04f9af$export$14d238f342723f25} from \"./useValueEffect.mjs\";\nimport {useState as $eKkEp$useState, useRef as $eKkEp$useRef, useEffect as $eKkEp$useEffect, useCallback as $eKkEp$useCallback} from \"react\";\nimport {useSSRSafeId as $eKkEp$useSSRSafeId} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n// copied from SSRProvider.tsx to reduce exports, if needed again, consider sharing\nlet $bdb11010cef70236$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);\nlet $bdb11010cef70236$export$d41a04c74483c6ef = new Map();\n// This allows us to clean up the idsUpdaterMap when the id is no longer used.\n// Map is a strong reference, so unused ids wouldn't be cleaned up otherwise.\n// This can happen in suspended components where mount/unmount is not called.\nlet $bdb11010cef70236$var$registry;\nif (typeof FinalizationRegistry !== 'undefined') $bdb11010cef70236$var$registry = new FinalizationRegistry((heldValue)=>{\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(heldValue);\n});\nfunction $bdb11010cef70236$export$f680877a34711e37(defaultId) {\n let [value, setValue] = (0, $eKkEp$useState)(defaultId);\n let nextId = (0, $eKkEp$useRef)(null);\n let res = (0, $eKkEp$useSSRSafeId)(value);\n let cleanupRef = (0, $eKkEp$useRef)(null);\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.register(cleanupRef, res);\n if ($bdb11010cef70236$var$canUseDOM) {\n const cacheIdRef = $bdb11010cef70236$export$d41a04c74483c6ef.get(res);\n if (cacheIdRef && !cacheIdRef.includes(nextId)) cacheIdRef.push(nextId);\n else $bdb11010cef70236$export$d41a04c74483c6ef.set(res, [\n nextId\n ]);\n }\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n let r = res;\n return ()=>{\n // In Suspense, the cleanup function may be not called\n // when it is though, also remove it from the finalization registry.\n if ($bdb11010cef70236$var$registry) $bdb11010cef70236$var$registry.unregister(cleanupRef);\n $bdb11010cef70236$export$d41a04c74483c6ef.delete(r);\n };\n }, [\n res\n ]);\n // This cannot cause an infinite loop because the ref is always cleaned up.\n // eslint-disable-next-line\n (0, $eKkEp$useEffect)(()=>{\n let newId = nextId.current;\n if (newId) setValue(newId);\n return ()=>{\n if (newId) nextId.current = null;\n };\n });\n return res;\n}\nfunction $bdb11010cef70236$export$cd8c9cb68f842629(idA, idB) {\n if (idA === idB) return idA;\n let setIdsA = $bdb11010cef70236$export$d41a04c74483c6ef.get(idA);\n if (setIdsA) {\n setIdsA.forEach((ref)=>ref.current = idB);\n return idB;\n }\n let setIdsB = $bdb11010cef70236$export$d41a04c74483c6ef.get(idB);\n if (setIdsB) {\n setIdsB.forEach((ref)=>ref.current = idA);\n return idA;\n }\n return idB;\n}\nfunction $bdb11010cef70236$export$b4cc09c592e8fdb8(depArray = []) {\n let id = $bdb11010cef70236$export$f680877a34711e37();\n let [resolvedId, setResolvedId] = (0, $1dbecbe27a04f9af$export$14d238f342723f25)(id);\n let updateId = (0, $eKkEp$useCallback)(()=>{\n setResolvedId(function*() {\n yield id;\n yield document.getElementById(id) ? id : undefined;\n });\n }, [\n id,\n setResolvedId\n ]);\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(updateId, [\n id,\n updateId,\n ...depArray\n ]);\n return resolvedId;\n}\n\n\nexport {$bdb11010cef70236$export$d41a04c74483c6ef as idsUpdaterMap, $bdb11010cef70236$export$f680877a34711e37 as useId, $bdb11010cef70236$export$cd8c9cb68f842629 as mergeIds, $bdb11010cef70236$export$b4cc09c592e8fdb8 as useSlotId};\n//# sourceMappingURL=useId.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ /**\n * Calls all functions in the order they were chained with the same arguments.\n */ function $ff5963eb1fccf552$export$e08e3b67e392101e(...callbacks) {\n return (...args)=>{\n for (let callback of callbacks)if (typeof callback === 'function') callback(...args);\n };\n}\n\n\nexport {$ff5963eb1fccf552$export$e08e3b67e392101e as chain};\n//# sourceMappingURL=chain.module.js.map\n","function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;","import {chain as $ff5963eb1fccf552$export$e08e3b67e392101e} from \"./chain.mjs\";\nimport {mergeIds as $bdb11010cef70236$export$cd8c9cb68f842629} from \"./useId.mjs\";\nimport $7jXr9$clsx from \"clsx\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $3ef42575df84b30b$export$9d1611c77c2fe928(...args) {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n let result = {\n ...args[0]\n };\n for(let i = 1; i < args.length; i++){\n let props = args[i];\n for(let key in props){\n let a = result[key];\n let b = props[key];\n // Chain events\n if (typeof a === 'function' && typeof b === 'function' && // This is a lot faster than a regex.\n key[0] === 'o' && key[1] === 'n' && key.charCodeAt(2) >= /* 'A' */ 65 && key.charCodeAt(2) <= /* 'Z' */ 90) result[key] = (0, $ff5963eb1fccf552$export$e08e3b67e392101e)(a, b);\n else if ((key === 'className' || key === 'UNSAFE_className') && typeof a === 'string' && typeof b === 'string') result[key] = (0, $7jXr9$clsx)(a, b);\n else if (key === 'id' && a && b) result.id = (0, $bdb11010cef70236$export$cd8c9cb68f842629)(a, b);\n else result[key] = b !== undefined ? b : a;\n }\n }\n return result;\n}\n\n\nexport {$3ef42575df84b30b$export$9d1611c77c2fe928 as mergeProps};\n//# sourceMappingURL=mergeProps.module.js.map\n"],"names":["$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","$HgANd$react","$8ae05eaa5c114e9c$var$_React_useInsertionEffect","$8ae05eaa5c114e9c$var$useEarlyEffect","$lmaYr$react","$8ae05eaa5c114e9c$export$7f54fc3180508a52","fn","ref","$lmaYr$useRef","$lmaYr$useCallback","args","f","$1dbecbe27a04f9af$export$14d238f342723f25","defaultValue","value","setValue","$fCAlL$useState","effect","$fCAlL$useRef","nextRef","newValue","queue","$bdb11010cef70236$var$canUseDOM","$bdb11010cef70236$export$d41a04c74483c6ef","$bdb11010cef70236$var$registry","heldValue","$bdb11010cef70236$export$f680877a34711e37","defaultId","$eKkEp$useState","nextId","$eKkEp$useRef","res","$eKkEp$useSSRSafeId","cleanupRef","cacheIdRef","r","$eKkEp$useEffect","newId","$bdb11010cef70236$export$cd8c9cb68f842629","idA","idB","setIdsA","setIdsB","$bdb11010cef70236$export$b4cc09c592e8fdb8","depArray","id","resolvedId","setResolvedId","updateId","$eKkEp$useCallback","$ff5963eb1fccf552$export$e08e3b67e392101e","callbacks","callback","e","t","n","o","clsx","$3ef42575df84b30b$export$9d1611c77c2fe928","result","i","props","key","a","b","$7jXr9$clsx"],"mappings":";;AAaK,MAACA,IAA4C,OAAO,WAAa,MAAkBC,EAAc,kBAAkB,MAAI;AAAC;ACE7H,IAAIC;AAGJ,MAAMC,KAAwCD,IAAsDE,EAAc,wBAA2B,QAAQF,MAAoD,SAASA,IAAsDF;AACxQ,SAASK,EAA0CC,GAAI;AACnD,QAAMC,IAAUC,EAAe,IAAI;AACnC,SAAAL,EAAqC,MAAI;AACrC,IAAAI,EAAI,UAAUD;AAAA,EAClB,GAAG;AAAA,IACCA;AAAA,EACR,CAAK,GAEUG,EAAoB,IAAIC,MAAO;AACtC,UAAMC,IAAIJ,EAAI;AACd,WAA6CI,IAAE,GAAGD,CAAI;AAAA,EAC1D,GAAG,CAAA,CAAE;AACT;ACfA,SAASE,EAA0CC,GAAc;AAC7D,MAAI,CAACC,GAAOC,CAAQ,IAAQC,EAAiBH,CAAY,GACrDI,IAAaC,EAAe,IAAI,GAGhCC,IAAcd,EAA2C,MAAI;AAC7D,QAAI,CAACY,EAAO,QAAS;AAErB,QAAIG,IAAWH,EAAO,QAAQ,KAAI;AAElC,QAAIG,EAAS,MAAM;AACf,MAAAH,EAAO,UAAU;AACjB;AAAA,IACJ;AAIA,IAAIH,MAAUM,EAAS,QAAOD,EAAO,IAChCJ,EAASK,EAAS,KAAK;AAAA,EAChC,CAAC;AACD,EAAIpB,EAA2C,MAAI;AAE/C,IAAIiB,EAAO,WAASE,EAAO;AAAA,EAC/B,CAAC;AACD,MAAIE,IAAYhB,EAA2C,CAACC,MAAK;AAC7D,IAAAW,EAAO,UAAUX,EAAGQ,CAAK,GACzBK,EAAO;AAAA,EACX,CAAC;AACD,SAAO;AAAA,IACHL;AAAA,IACAO;AAAA,EACR;AACA;AC5BA,IAAIC,IAAkC,GAAQ,OAAO,SAAW,OAAe,OAAO,YAAY,OAAO,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AGD;AAAG,SAAOC;AAAC;ACiB/W,SAASG,KAA6ChD,GAAM;AAGxD,MAAIiD,IAAS;AAAA,IACT,GAAGjD,EAAK,CAAC;AAAA,EACjB;AACI,WAAQkD,IAAI,GAAGA,IAAIlD,EAAK,QAAQkD,KAAI;AAChC,QAAIC,IAAQnD,EAAKkD,CAAC;AAClB,aAAQE,KAAOD,GAAM;AACjB,UAAIE,IAAIJ,EAAOG,CAAG,GACdE,IAAIH,EAAMC,CAAG;AAEjB,MAAI,OAAOC,KAAM,cAAc,OAAOC,KAAM;AAAA,MAC5CF,EAAI,CAAC,MAAM,OAAOA,EAAI,CAAC,MAAM,OAAOA,EAAI,WAAW,CAAC;AAAA,MAAe,MAAMA,EAAI,WAAW,CAAC;AAAA,MAAe,KAAIH,EAAOG,CAAG,IAAQZ,EAA2Ca,GAAGC,CAAC,KACnKF,MAAQ,eAAeA,MAAQ,uBAAuB,OAAOC,KAAM,YAAY,OAAOC,KAAM,WAAUL,EAAOG,CAAG,IAAQG,EAAaF,GAAGC,CAAC,IAC1IF,MAAQ,QAAQC,KAAKC,IAAGL,EAAO,KAASrB,EAA2CyB,GAAGC,CAAC,IAC3FL,EAAOG,CAAG,IAAIE,MAAM,SAAYA,IAAID;AAAA,IAC7C;AAAA,EACJ;AACA,SAAOJ;AACX;","x_google_ignoreList":[0,1,2,3,4,5,6]}
@@ -5,8 +5,8 @@ import { $ as P } from "./TextArea-BmpgvS0R.es.js";
5
5
  import { e as H } from "./extractStyleProps-DX5GBd9K.es.js";
6
6
  import { designTokens as S } from "@commercetools/nimbus-tokens";
7
7
  import { d as I } from "./config-ufbQ08Vi.es.js";
8
- import { c as _ } from "./create-recipe-context-i2odau3L.es.js";
9
- import { u as z } from "./use-recipe-CR4W7Dne.es.js";
8
+ import { c as _ } from "./create-recipe-context-CrNaylZN.es.js";
9
+ import { u as z } from "./use-recipe-DuU8En0C.es.js";
10
10
  import { $ as M } from "./useObjectRef-CaJ5pgjX.es.js";
11
11
  import { $ as T } from "./useTextField-BnL6tOdd.es.js";
12
12
  const l = /* @__PURE__ */ I({
@@ -117,4 +117,4 @@ U.displayName = "MultilineTextInput";
117
117
  export {
118
118
  U as M
119
119
  };
120
- //# sourceMappingURL=multiline-text-input-Dy6gbL7T.es.js.map
120
+ //# sourceMappingURL=multiline-text-input-DJUUQQcc.es.js.map