@commercetools/nimbus 0.0.11 → 0.0.12-rc1

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 (686) hide show
  1. package/dist/accordion.d.ts +9 -2
  2. package/dist/alert.d.ts +9 -7
  3. package/dist/avatar.d.ts +4 -4
  4. package/dist/badge.d.ts +7 -13
  5. package/dist/box.d.ts +8 -1
  6. package/dist/button.d.ts +10 -3
  7. package/dist/calendar.d.ts +9 -2
  8. package/dist/card.d.ts +11 -4
  9. package/dist/checkbox.d.ts +5 -11
  10. package/dist/chunks/{Button-BsN1D5Hi.es.js → Button-BLHXvl6m.es.js} +5 -5
  11. package/dist/chunks/{Button-BsN1D5Hi.es.js.map → Button-BLHXvl6m.es.js.map} +1 -1
  12. package/dist/chunks/{DateField-BozrMa9v.es.js → DateField-Aj6J_Ms0.es.js} +16 -16
  13. package/dist/chunks/{DateField-BozrMa9v.es.js.map → DateField-Aj6J_Ms0.es.js.map} +1 -1
  14. package/dist/chunks/{DatePicker-3TZ8oKaR.es.js → DatePicker-BnQyHiTi.es.js} +15 -15
  15. package/dist/chunks/{DatePicker-3TZ8oKaR.es.js.map → DatePicker-BnQyHiTi.es.js.map} +1 -1
  16. package/dist/chunks/{Dialog-CFERgD91.es.js → Dialog-CTf0VB6B.es.js} +12 -12
  17. package/dist/chunks/{Dialog-CFERgD91.es.js.map → Dialog-CTf0VB6B.es.js.map} +1 -1
  18. package/dist/chunks/{FocusScope-8pBtcv8k.es.js → FocusScope-qJgAziUV.es.js} +3 -3
  19. package/dist/chunks/{FocusScope-8pBtcv8k.es.js.map → FocusScope-qJgAziUV.es.js.map} +1 -1
  20. package/dist/chunks/{Group-Brffs0pl.es.js → Group-nelci54o.es.js} +3 -3
  21. package/dist/chunks/{Group-Brffs0pl.es.js.map → Group-nelci54o.es.js.map} +1 -1
  22. package/dist/chunks/{Heading-D143Kg6E.es.js → Heading-CYQ_Jn6M.es.js} +10 -10
  23. package/dist/chunks/{Heading-D143Kg6E.es.js.map → Heading-CYQ_Jn6M.es.js.map} +1 -1
  24. package/dist/chunks/{Input-Bxs2A5S-.es.js → Input-Cvh_r_c1.es.js} +3 -3
  25. package/dist/chunks/{Input-Bxs2A5S-.es.js.map → Input-Cvh_r_c1.es.js.map} +1 -1
  26. package/dist/chunks/{Label-p7LXqne0.es.js → Label-BhU-HP65.es.js} +2 -2
  27. package/dist/chunks/{Label-p7LXqne0.es.js.map → Label-BhU-HP65.es.js.map} +1 -1
  28. package/dist/chunks/{ListBox-CiN7qgxV.es.js → ListBox-0C7L4Sat.es.js} +6 -6
  29. package/dist/chunks/{ListBox-CiN7qgxV.es.js.map → ListBox-0C7L4Sat.es.js.map} +1 -1
  30. package/dist/chunks/{OverlayArrow-BEiPDprB.es.js → OverlayArrow-C1hn2WBd.es.js} +2 -2
  31. package/dist/chunks/{OverlayArrow-BEiPDprB.es.js.map → OverlayArrow-C1hn2WBd.es.js.map} +1 -1
  32. package/dist/chunks/{ProgressBar-M-wNKpE5.es.js → ProgressBar-DrSArMks.es.js} +4 -4
  33. package/dist/chunks/{ProgressBar-M-wNKpE5.es.js.map → ProgressBar-DrSArMks.es.js.map} +1 -1
  34. package/dist/chunks/{Separator-CBgksjWN.es.js → Separator-ChieGwKF.es.js} +13 -13
  35. package/dist/chunks/{Separator-CBgksjWN.es.js.map → Separator-ChieGwKF.es.js.map} +1 -1
  36. package/dist/chunks/{TextArea-DcFJx08j.es.js → TextArea-BleoN8N2.es.js} +3 -3
  37. package/dist/chunks/{TextArea-DcFJx08j.es.js.map → TextArea-BleoN8N2.es.js.map} +1 -1
  38. package/dist/chunks/ToggleButton-CXa3lkD6.cjs.js +2 -0
  39. package/dist/chunks/ToggleButton-CXa3lkD6.cjs.js.map +1 -0
  40. package/dist/chunks/ToggleButton-CcA_6EjA.es.js +189 -0
  41. package/dist/chunks/ToggleButton-CcA_6EjA.es.js.map +1 -0
  42. package/dist/chunks/{VisuallyHidden-CE-SZFGa.es.js → VisuallyHidden-vVsCehgl.es.js} +2 -2
  43. package/dist/chunks/{VisuallyHidden-CE-SZFGa.es.js.map → VisuallyHidden-vVsCehgl.es.js.map} +1 -1
  44. package/dist/chunks/{accordion-AFXp_v9r.es.js → accordion-4C7hF2JJ.es.js} +22 -20
  45. package/dist/chunks/accordion-4C7hF2JJ.es.js.map +1 -0
  46. package/dist/chunks/accordion-B-0SAOc-.cjs.js +2 -0
  47. package/dist/chunks/accordion-B-0SAOc-.cjs.js.map +1 -0
  48. package/dist/chunks/{alert-DObB3_Vi.es.js → alert-C9I2_j1h.es.js} +26 -25
  49. package/dist/chunks/alert-C9I2_j1h.es.js.map +1 -0
  50. package/dist/chunks/alert-DWA7Mm4i.cjs.js +2 -0
  51. package/dist/chunks/alert-DWA7Mm4i.cjs.js.map +1 -0
  52. package/dist/chunks/{avatar-DgvfEdwK.es.js → avatar-DDCMu1RQ.es.js} +11 -10
  53. package/dist/chunks/avatar-DDCMu1RQ.es.js.map +1 -0
  54. package/dist/chunks/avatar-Dps7PI8I.cjs.js +2 -0
  55. package/dist/chunks/avatar-Dps7PI8I.cjs.js.map +1 -0
  56. package/dist/chunks/avatar.recipe-CQivdbFs.cjs.js +2 -0
  57. package/dist/chunks/avatar.recipe-CQivdbFs.cjs.js.map +1 -0
  58. package/dist/chunks/{avatar.recipe-BSmmqvwQ.es.js → avatar.recipe-CxXQlkH6.es.js} +2 -2
  59. package/dist/chunks/avatar.recipe-CxXQlkH6.es.js.map +1 -0
  60. package/dist/chunks/badge-Do9L64AE.cjs.js +2 -0
  61. package/dist/chunks/badge-Do9L64AE.cjs.js.map +1 -0
  62. package/dist/chunks/{badge-DVDR3-fy.es.js → badge-Iq596jRa.es.js} +9 -7
  63. package/dist/chunks/badge-Iq596jRa.es.js.map +1 -0
  64. package/dist/chunks/box-BOsRGQEm.cjs.js +2 -0
  65. package/dist/chunks/box-BOsRGQEm.cjs.js.map +1 -0
  66. package/dist/chunks/box-Cd4iddEV.es.js +13 -0
  67. package/dist/chunks/box-Cd4iddEV.es.js.map +1 -0
  68. package/dist/chunks/button-CdEn0J7Z.cjs.js +2 -0
  69. package/dist/chunks/button-CdEn0J7Z.cjs.js.map +1 -0
  70. package/dist/chunks/button-CueBxdjn.es.js +57 -0
  71. package/dist/chunks/button-CueBxdjn.es.js.map +1 -0
  72. package/dist/chunks/button.recipe-ClPhJ93N.cjs.js +2 -0
  73. package/dist/chunks/button.recipe-ClPhJ93N.cjs.js.map +1 -0
  74. package/dist/chunks/{button.recipe-DzOS_Bqm.es.js → button.recipe-D9e9Gh9L.es.js} +2 -2
  75. package/dist/chunks/button.recipe-D9e9Gh9L.es.js.map +1 -0
  76. package/dist/chunks/calendar-DssRRpmr.cjs.js +2 -0
  77. package/dist/chunks/calendar-DssRRpmr.cjs.js.map +1 -0
  78. package/dist/chunks/{calendar-BCsFBFkk.es.js → calendar-DwmLJswz.es.js} +22 -20
  79. package/dist/chunks/calendar-DwmLJswz.es.js.map +1 -0
  80. package/dist/chunks/card-BZEVZLCo.cjs.js +2 -0
  81. package/dist/chunks/card-BZEVZLCo.cjs.js.map +1 -0
  82. package/dist/chunks/{card-CS_daMhq.es.js → card-CDFYX3Fk.es.js} +25 -24
  83. package/dist/chunks/card-CDFYX3Fk.es.js.map +1 -0
  84. package/dist/chunks/{checkbox-BFb4vHab.es.js → checkbox-C9AJOro3.es.js} +19 -18
  85. package/dist/chunks/checkbox-C9AJOro3.es.js.map +1 -0
  86. package/dist/chunks/checkbox-Cc2Yab3K.cjs.js +2 -0
  87. package/dist/chunks/checkbox-Cc2Yab3K.cjs.js.map +1 -0
  88. package/dist/chunks/code-7P3tH99x.cjs.js +2 -0
  89. package/dist/chunks/code-7P3tH99x.cjs.js.map +1 -0
  90. package/dist/chunks/code-C44qm68X.es.js +8 -0
  91. package/dist/chunks/code-C44qm68X.es.js.map +1 -0
  92. package/dist/chunks/combobox-BuL7gWCK.cjs.js +2 -0
  93. package/dist/chunks/{combobox-D30xydJw.cjs.js.map → combobox-BuL7gWCK.cjs.js.map} +1 -1
  94. package/dist/chunks/{combobox-wZEZ8t94.es.js → combobox-qAi2j415.es.js} +166 -164
  95. package/dist/chunks/{combobox-wZEZ8t94.es.js.map → combobox-qAi2j415.es.js.map} +1 -1
  96. package/dist/chunks/config-Mt8_uyhI.cjs.js +2 -0
  97. package/dist/chunks/config-Mt8_uyhI.cjs.js.map +1 -0
  98. package/dist/chunks/config-ufbQ08Vi.es.js +6 -0
  99. package/dist/chunks/config-ufbQ08Vi.es.js.map +1 -0
  100. package/dist/chunks/create-recipe-context-BfiKn3k_.cjs.js +2 -0
  101. package/dist/chunks/create-recipe-context-BfiKn3k_.cjs.js.map +1 -0
  102. package/dist/chunks/create-recipe-context-c0qjq1fz.es.js +62 -0
  103. package/dist/chunks/create-recipe-context-c0qjq1fz.es.js.map +1 -0
  104. package/dist/chunks/create-slot-recipe-context-7JMdJHPF.cjs.js +2 -0
  105. package/dist/chunks/create-slot-recipe-context-7JMdJHPF.cjs.js.map +1 -0
  106. package/dist/chunks/create-slot-recipe-context-Cv3lncUO.es.js +104 -0
  107. package/dist/chunks/create-slot-recipe-context-Cv3lncUO.es.js.map +1 -0
  108. package/dist/chunks/date-input-CCTsf1nI.es.js +17 -0
  109. package/dist/chunks/date-input-CCTsf1nI.es.js.map +1 -0
  110. package/dist/chunks/date-input-CmiFb8SU.cjs.js +2 -0
  111. package/dist/chunks/date-input-CmiFb8SU.cjs.js.map +1 -0
  112. package/dist/chunks/{date-picker-CTGHoJdV.es.js → date-picker-BFVj989W.es.js} +56 -52
  113. package/dist/chunks/date-picker-BFVj989W.es.js.map +1 -0
  114. package/dist/chunks/date-picker-BwlDu__G.cjs.js +2 -0
  115. package/dist/chunks/date-picker-BwlDu__G.cjs.js.map +1 -0
  116. package/dist/chunks/date-range-picker-Cx9WSfmc.cjs.js +2 -0
  117. package/dist/chunks/date-range-picker-Cx9WSfmc.cjs.js.map +1 -0
  118. package/dist/chunks/date-range-picker-Cxe6UXcI.es.js +277 -0
  119. package/dist/chunks/date-range-picker-Cxe6UXcI.es.js.map +1 -0
  120. package/dist/chunks/dialog-7iIFtc75.cjs.js +2 -0
  121. package/dist/chunks/dialog-7iIFtc75.cjs.js.map +1 -0
  122. package/dist/chunks/dialog-CbMKp4zh.es.js +1874 -0
  123. package/dist/chunks/dialog-CbMKp4zh.es.js.map +1 -0
  124. package/dist/chunks/{divider-Js2LpOHh.es.js → divider-CEphvk-H.es.js} +7 -5
  125. package/dist/chunks/divider-CEphvk-H.es.js.map +1 -0
  126. package/dist/chunks/divider-CjCxQeVK.cjs.js +2 -0
  127. package/dist/chunks/divider-CjCxQeVK.cjs.js.map +1 -0
  128. package/dist/chunks/empty-B5_AO6Pg.cjs.js +2 -0
  129. package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -0
  130. package/dist/chunks/empty-D7ZFmvo6.es.js +8 -0
  131. package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -0
  132. package/dist/chunks/extractStyleProps-CRJEfqqS.cjs.js +2 -0
  133. package/dist/chunks/extractStyleProps-CRJEfqqS.cjs.js.map +1 -0
  134. package/dist/chunks/extractStyleProps-KcWE_ep4.es.js +11 -0
  135. package/dist/chunks/extractStyleProps-KcWE_ep4.es.js.map +1 -0
  136. package/dist/chunks/factory-BpGQXckI.es.js +266 -0
  137. package/dist/chunks/factory-BpGQXckI.es.js.map +1 -0
  138. package/dist/chunks/factory-DNbWS0Ob.cjs.js +3 -0
  139. package/dist/chunks/factory-DNbWS0Ob.cjs.js.map +1 -0
  140. package/dist/chunks/flex-DgabwPpo.es.js +40 -0
  141. package/dist/chunks/flex-DgabwPpo.es.js.map +1 -0
  142. package/dist/chunks/flex-DgsstZZT.cjs.js +2 -0
  143. package/dist/chunks/flex-DgsstZZT.cjs.js.map +1 -0
  144. package/dist/chunks/{focusSafely-Cpgkt6WC.es.js → focusSafely-DJGT4IAS.es.js} +2 -2
  145. package/dist/chunks/{focusSafely-Cpgkt6WC.es.js.map → focusSafely-DJGT4IAS.es.js.map} +1 -1
  146. package/dist/chunks/{form-field-kTuQQx9G.cjs.js → form-field-CZ9tkW04.cjs.js} +3 -3
  147. package/dist/chunks/form-field-CZ9tkW04.cjs.js.map +1 -0
  148. package/dist/chunks/{form-field-CmiwMrRv.es.js → form-field-cwuj6464.es.js} +33 -32
  149. package/dist/chunks/form-field-cwuj6464.es.js.map +1 -0
  150. package/dist/chunks/grid-D2EDS3Nw.cjs.js +2 -0
  151. package/dist/chunks/grid-D2EDS3Nw.cjs.js.map +1 -0
  152. package/dist/chunks/grid-item-BHKNxWuU.es.js +75 -0
  153. package/dist/chunks/grid-item-BHKNxWuU.es.js.map +1 -0
  154. package/dist/chunks/grid-item-Bwt35oD8.cjs.js +2 -0
  155. package/dist/chunks/grid-item-Bwt35oD8.cjs.js.map +1 -0
  156. package/dist/chunks/grid-ksgCqjX_.es.js +14 -0
  157. package/dist/chunks/grid-ksgCqjX_.es.js.map +1 -0
  158. package/dist/chunks/heading-C9DC5cG8.es.js +8 -0
  159. package/dist/chunks/heading-C9DC5cG8.es.js.map +1 -0
  160. package/dist/chunks/heading-CbGsyynP.cjs.js +2 -0
  161. package/dist/chunks/heading-CbGsyynP.cjs.js.map +1 -0
  162. package/dist/chunks/{icon-BFNYuilh.es.js → icon-BSGub7AG.es.js} +10 -9
  163. package/dist/chunks/icon-BSGub7AG.es.js.map +1 -0
  164. package/dist/chunks/icon-H-rP9kq5.cjs.js +2 -0
  165. package/dist/chunks/icon-H-rP9kq5.cjs.js.map +1 -0
  166. package/dist/chunks/{icon-button-CPBzhg2C.es.js → icon-button-C7MMcLBN.es.js} +2 -2
  167. package/dist/chunks/icon-button-C7MMcLBN.es.js.map +1 -0
  168. package/dist/chunks/{icon-button-QwpNTUZ8.cjs.js → icon-button-DF2_vh-X.cjs.js} +2 -2
  169. package/dist/chunks/icon-button-DF2_vh-X.cjs.js.map +1 -0
  170. package/dist/chunks/icon-toggle-button-BJBv57G-.es.js +13 -0
  171. package/dist/chunks/icon-toggle-button-BJBv57G-.es.js.map +1 -0
  172. package/dist/chunks/icon-toggle-button-D3QOY_O9.cjs.js +2 -0
  173. package/dist/chunks/icon-toggle-button-D3QOY_O9.cjs.js.map +1 -0
  174. package/dist/chunks/image-B-WEdENT.cjs.js +2 -0
  175. package/dist/chunks/image-B-WEdENT.cjs.js.map +1 -0
  176. package/dist/chunks/image-BVUCjLWP.es.js +22 -0
  177. package/dist/chunks/image-BVUCjLWP.es.js.map +1 -0
  178. package/dist/chunks/image-BwlmPt3P.es.js +8 -0
  179. package/dist/chunks/image-BwlmPt3P.es.js.map +1 -0
  180. package/dist/chunks/image-CIQlu9WX.cjs.js +2 -0
  181. package/dist/chunks/image-CIQlu9WX.cjs.js.map +1 -0
  182. package/dist/chunks/index--oJQaJZy.es.js +3316 -0
  183. package/dist/chunks/index--oJQaJZy.es.js.map +1 -0
  184. package/dist/chunks/index-Ca-OEf5O.cjs.js +4 -0
  185. package/dist/chunks/index-Ca-OEf5O.cjs.js.map +1 -0
  186. package/dist/chunks/kbd-D4NGKYuV.cjs.js +2 -0
  187. package/dist/chunks/kbd-D4NGKYuV.cjs.js.map +1 -0
  188. package/dist/chunks/kbd-r-if98_U.es.js +16 -0
  189. package/dist/chunks/kbd-r-if98_U.es.js.map +1 -0
  190. package/dist/chunks/kbd.recipe-9kxAU5ro.cjs.js +2 -0
  191. package/dist/chunks/kbd.recipe-9kxAU5ro.cjs.js.map +1 -0
  192. package/dist/chunks/{kbd.recipe-BONVaPQN.es.js → kbd.recipe-BTW0MQqx.es.js} +2 -2
  193. package/dist/chunks/kbd.recipe-BTW0MQqx.es.js.map +1 -0
  194. package/dist/chunks/link-BzKZPUDc.cjs.js +2 -0
  195. package/dist/chunks/link-BzKZPUDc.cjs.js.map +1 -0
  196. package/dist/chunks/{link-I24WQHS6.es.js → link-CpCTJrhi.es.js} +9 -8
  197. package/dist/chunks/link-CpCTJrhi.es.js.map +1 -0
  198. package/dist/chunks/{link.recipe-Ba2by0OG.es.js → link.recipe-BRnFQ5bP.es.js} +2 -2
  199. package/dist/chunks/link.recipe-BRnFQ5bP.es.js.map +1 -0
  200. package/dist/chunks/link.recipe-BfCxtKjL.cjs.js +2 -0
  201. package/dist/chunks/link.recipe-BfCxtKjL.cjs.js.map +1 -0
  202. package/dist/chunks/list-BaX7-sRB.cjs.js +2 -0
  203. package/dist/chunks/list-BaX7-sRB.cjs.js.map +1 -0
  204. package/dist/chunks/list-BhODpevn.es.js +23 -0
  205. package/dist/chunks/list-BhODpevn.es.js.map +1 -0
  206. package/dist/chunks/loading-spinner-DJg5GzG_.cjs.js +2 -0
  207. package/dist/chunks/loading-spinner-DJg5GzG_.cjs.js.map +1 -0
  208. package/dist/chunks/{loading-spinner-DwN-yshK.es.js → loading-spinner-DchMqwoe.es.js} +8 -7
  209. package/dist/chunks/loading-spinner-DchMqwoe.es.js.map +1 -0
  210. package/dist/chunks/{make-element-focusable-BRVwOKkK.es.js → make-element-focusable-Ca78aIFw.es.js} +3 -3
  211. package/dist/chunks/{make-element-focusable-BRVwOKkK.es.js.map → make-element-focusable-Ca78aIFw.es.js.map} +1 -1
  212. package/dist/chunks/menu-B3lbUDtQ.cjs.js +2 -0
  213. package/dist/chunks/menu-B3lbUDtQ.cjs.js.map +1 -0
  214. package/dist/chunks/{menu-DcEXCIN3.es.js → menu-Bcxace3m.es.js} +17 -17
  215. package/dist/chunks/menu-Bcxace3m.es.js.map +1 -0
  216. package/dist/chunks/{mergeProps-Bn6EInU5.es.js → mergeProps-C0OSi2w3.es.js} +3 -3
  217. package/dist/chunks/{mergeProps-Bn6EInU5.es.js.map → mergeProps-C0OSi2w3.es.js.map} +1 -1
  218. package/dist/chunks/multiline-text-input-CsC1RnrK.cjs.js +12 -0
  219. package/dist/chunks/multiline-text-input-CsC1RnrK.cjs.js.map +1 -0
  220. package/dist/chunks/{multiline-text-input-Be3sGtOK.es.js → multiline-text-input-mG88SzQO.es.js} +18 -14
  221. package/dist/chunks/multiline-text-input-mG88SzQO.es.js.map +1 -0
  222. package/dist/chunks/namespace-BXD5i_90.cjs.js +2 -0
  223. package/dist/chunks/namespace-BXD5i_90.cjs.js.map +1 -0
  224. package/dist/chunks/namespace-BmDr3F-d.es.js +74 -0
  225. package/dist/chunks/namespace-BmDr3F-d.es.js.map +1 -0
  226. package/dist/chunks/nimbus-provider-DJEIgoZl.cjs.js +2 -0
  227. package/dist/chunks/nimbus-provider-DJEIgoZl.cjs.js.map +1 -0
  228. package/dist/chunks/nimbus-provider-DPlYG_b9.es.js +101 -0
  229. package/dist/chunks/nimbus-provider-DPlYG_b9.es.js.map +1 -0
  230. package/dist/chunks/number-input-BNL4jPo5.cjs.js +2 -0
  231. package/dist/chunks/{number-input-Cvy4MbJv.cjs.js.map → number-input-BNL4jPo5.cjs.js.map} +1 -1
  232. package/dist/chunks/{number-input-B1gQD11A.es.js → number-input-xPBvFtO8.es.js} +19 -18
  233. package/dist/chunks/{number-input-B1gQD11A.es.js.map → number-input-xPBvFtO8.es.js.map} +1 -1
  234. package/dist/chunks/{password-input-D3wUJdjZ.cjs.js → password-input-ClTF8ndK.cjs.js} +2 -2
  235. package/dist/chunks/password-input-ClTF8ndK.cjs.js.map +1 -0
  236. package/dist/chunks/{password-input-B1oZ6y7E.es.js → password-input-SKlXZSjb.es.js} +5 -5
  237. package/dist/chunks/password-input-SKlXZSjb.es.js.map +1 -0
  238. package/dist/chunks/progress-bar-D0NErylg.cjs.js +2 -0
  239. package/dist/chunks/progress-bar-D0NErylg.cjs.js.map +1 -0
  240. package/dist/chunks/{progress-bar-VipTWl4r.es.js → progress-bar-D6DHvllq.es.js} +16 -14
  241. package/dist/chunks/progress-bar-D6DHvllq.es.js.map +1 -0
  242. package/dist/chunks/provider-CUesptNK.cjs.js +16 -0
  243. package/dist/chunks/provider-CUesptNK.cjs.js.map +1 -0
  244. package/dist/chunks/provider-D5u1b72_.es.js +989 -0
  245. package/dist/chunks/provider-D5u1b72_.es.js.map +1 -0
  246. package/dist/chunks/{radio-input-BSrrYcqs.es.js → radio-input-CigGVjie.es.js} +51 -51
  247. package/dist/chunks/{radio-input-BSrrYcqs.es.js.map → radio-input-CigGVjie.es.js.map} +1 -1
  248. package/dist/chunks/radio-input-K6pvxMCL.cjs.js +2 -0
  249. package/dist/chunks/{radio-input-vHNjGqLS.cjs.js.map → radio-input-K6pvxMCL.cjs.js.map} +1 -1
  250. package/dist/chunks/range-calendar-BPSLYP1r.cjs.js +2 -0
  251. package/dist/chunks/range-calendar-BPSLYP1r.cjs.js.map +1 -0
  252. package/dist/chunks/{range-calendar-DEpcpGLw.es.js → range-calendar-CREtOSp1.es.js} +23 -21
  253. package/dist/chunks/range-calendar-CREtOSp1.es.js.map +1 -0
  254. package/dist/chunks/{select-wZ584ENo.es.js → select-C-s_r1_Z.es.js} +68 -66
  255. package/dist/chunks/{select-wZ584ENo.es.js.map → select-C-s_r1_Z.es.js.map} +1 -1
  256. package/dist/chunks/select-Cjftrm7h.cjs.js +2 -0
  257. package/dist/chunks/{select-CMIJ0YjS.cjs.js.map → select-Cjftrm7h.cjs.js.map} +1 -1
  258. package/dist/chunks/simple-grid-BYgtLdTo.cjs.js +2 -0
  259. package/dist/chunks/simple-grid-BYgtLdTo.cjs.js.map +1 -0
  260. package/dist/chunks/simple-grid-QwCuXJDe.es.js +38 -0
  261. package/dist/chunks/simple-grid-QwCuXJDe.es.js.map +1 -0
  262. package/dist/chunks/stack-CFOuBCxS.es.js +89 -0
  263. package/dist/chunks/stack-CFOuBCxS.es.js.map +1 -0
  264. package/dist/chunks/stack-CSKcZxll.cjs.js +2 -0
  265. package/dist/chunks/stack-CSKcZxll.cjs.js.map +1 -0
  266. package/dist/chunks/switch-B3aegNjN.cjs.js +2 -0
  267. package/dist/chunks/switch-B3aegNjN.cjs.js.map +1 -0
  268. package/dist/chunks/{switch-Bxeo0Ktw.es.js → switch-CBphZKZD.es.js} +12 -11
  269. package/dist/chunks/switch-CBphZKZD.es.js.map +1 -0
  270. package/dist/chunks/{tag-group-CWIMWAG_.es.js → tag-group-CZ0CriPC.es.js} +49 -49
  271. package/dist/chunks/{tag-group-CWIMWAG_.es.js.map → tag-group-CZ0CriPC.es.js.map} +1 -1
  272. package/dist/chunks/tag-group-sIFeH1CP.cjs.js +2 -0
  273. package/dist/chunks/{tag-group-IJIXPuLT.cjs.js.map → tag-group-sIFeH1CP.cjs.js.map} +1 -1
  274. package/dist/chunks/text-CcMvqWol.es.js +26 -0
  275. package/dist/chunks/text-CcMvqWol.es.js.map +1 -0
  276. package/dist/chunks/text-input-7wLAgfnj.cjs.js +2 -0
  277. package/dist/chunks/text-input-7wLAgfnj.cjs.js.map +1 -0
  278. package/dist/chunks/text-input-BWQuGlA8.es.js +19 -0
  279. package/dist/chunks/text-input-BWQuGlA8.es.js.map +1 -0
  280. package/dist/chunks/text-tO5nXPfT.cjs.js +2 -0
  281. package/dist/chunks/text-tO5nXPfT.cjs.js.map +1 -0
  282. package/dist/chunks/time-input-7bQqoZ8n.cjs.js +2 -0
  283. package/dist/chunks/time-input-7bQqoZ8n.cjs.js.map +1 -0
  284. package/dist/chunks/{time-input-DeYvqDoa.es.js → time-input-Bdh2yhge.es.js} +12 -9
  285. package/dist/chunks/time-input-Bdh2yhge.es.js.map +1 -0
  286. package/dist/chunks/toggle-button-C-rQJENJ.cjs.js +2 -0
  287. package/dist/chunks/toggle-button-C-rQJENJ.cjs.js.map +1 -0
  288. package/dist/chunks/toggle-button-FiX9ip7L.es.js +30 -0
  289. package/dist/chunks/toggle-button-FiX9ip7L.es.js.map +1 -0
  290. package/dist/chunks/toggle-button-group-Cx9CekN6.es.js +82 -0
  291. package/dist/chunks/toggle-button-group-Cx9CekN6.es.js.map +1 -0
  292. package/dist/chunks/toggle-button-group-Cxx4yqgI.cjs.js +2 -0
  293. package/dist/chunks/toggle-button-group-Cxx4yqgI.cjs.js.map +1 -0
  294. package/dist/chunks/tooltip-CjYTweG9.cjs.js +2 -0
  295. package/dist/chunks/{tooltip-B6mXEaGu.cjs.js.map → tooltip-CjYTweG9.cjs.js.map} +1 -1
  296. package/dist/chunks/{tooltip-CsfjIITA.es.js → tooltip-D5cpNfnp.es.js} +8 -8
  297. package/dist/chunks/{tooltip-CsfjIITA.es.js.map → tooltip-D5cpNfnp.es.js.map} +1 -1
  298. package/dist/chunks/{tooltip.recipe-B9-7OFCi.es.js → tooltip.recipe-DsVUEki2.es.js} +2 -2
  299. package/dist/chunks/tooltip.recipe-DsVUEki2.es.js.map +1 -0
  300. package/dist/chunks/tooltip.recipe-VqGdDqQD.cjs.js +2 -0
  301. package/dist/chunks/tooltip.recipe-VqGdDqQD.cjs.js.map +1 -0
  302. package/dist/chunks/use-recipe-CJAjTxPP.cjs.js +2 -0
  303. package/dist/chunks/use-recipe-CJAjTxPP.cjs.js.map +1 -0
  304. package/dist/chunks/use-recipe-dUXCQYfa.es.js +13 -0
  305. package/dist/chunks/use-recipe-dUXCQYfa.es.js.map +1 -0
  306. package/dist/chunks/{useButton-BGeoUZHr.es.js → useButton-Codl22pH.es.js} +4 -4
  307. package/dist/chunks/{useButton-BGeoUZHr.es.js.map → useButton-Codl22pH.es.js.map} +1 -1
  308. package/dist/chunks/{useDateFormatter-CioL-RTi.es.js → useDateFormatter-zNqeIcSK.es.js} +2 -2
  309. package/dist/chunks/{useDateFormatter-CioL-RTi.es.js.map → useDateFormatter-zNqeIcSK.es.js.map} +1 -1
  310. package/dist/chunks/{useDescription-BQV7vQ1v.es.js → useDescription-CMy9RMYn.es.js} +2 -2
  311. package/dist/chunks/{useDescription-BQV7vQ1v.es.js.map → useDescription-CMy9RMYn.es.js.map} +1 -1
  312. package/dist/chunks/{useEvent-xlhjqVYi.es.js → useEvent-DxQcG2ZD.es.js} +2 -2
  313. package/dist/chunks/{useEvent-xlhjqVYi.es.js.map → useEvent-DxQcG2ZD.es.js.map} +1 -1
  314. package/dist/chunks/{useField-BGOhsACE.es.js → useField-Bj5XOvuD.es.js} +3 -3
  315. package/dist/chunks/{useField-BGOhsACE.es.js.map → useField-Bj5XOvuD.es.js.map} +1 -1
  316. package/dist/chunks/{useFocusable-C_1ABg2H.es.js → useFocusable-BzkEaBA7.es.js} +2 -2
  317. package/dist/chunks/{useFocusable-C_1ABg2H.es.js.map → useFocusable-BzkEaBA7.es.js.map} +1 -1
  318. package/dist/chunks/{useFormReset-CC4XkaS0.es.js → useFormReset-B_4kzDrc.es.js} +2 -2
  319. package/dist/chunks/{useFormReset-CC4XkaS0.es.js.map → useFormReset-B_4kzDrc.es.js.map} +1 -1
  320. package/dist/chunks/{useFormValidation-D4duh8Fb.es.js → useFormValidation-x8TYT3v1.es.js} +2 -2
  321. package/dist/chunks/{useFormValidation-D4duh8Fb.es.js.map → useFormValidation-x8TYT3v1.es.js.map} +1 -1
  322. package/dist/chunks/{useLabel-BuEJIpWS.es.js → useLabel-Dsvi6pv1.es.js} +2 -2
  323. package/dist/chunks/{useLabel-BuEJIpWS.es.js.map → useLabel-Dsvi6pv1.es.js.map} +1 -1
  324. package/dist/chunks/{usePress-Bf0oV30S.es.js → usePress--0XlnE9U.es.js} +2 -2
  325. package/dist/chunks/{usePress-Bf0oV30S.es.js.map → usePress--0XlnE9U.es.js.map} +1 -1
  326. package/dist/chunks/{useProgressBar-C8j_OVKt.es.js → useProgressBar-BcErX3zh.es.js} +3 -3
  327. package/dist/chunks/{useProgressBar-C8j_OVKt.es.js.map → useProgressBar-BcErX3zh.es.js.map} +1 -1
  328. package/dist/chunks/{useSingleSelectListState-Dtne-c12.es.js → useSingleSelectListState-IunZbRoh.es.js} +2 -2
  329. package/dist/chunks/{useSingleSelectListState-Dtne-c12.es.js.map → useSingleSelectListState-IunZbRoh.es.js.map} +1 -1
  330. package/dist/chunks/{useSpinButton-DEhwpuEM.es.js → useSpinButton-_qIyNcRw.es.js} +2 -2
  331. package/dist/chunks/{useSpinButton-DEhwpuEM.es.js.map → useSpinButton-_qIyNcRw.es.js.map} +1 -1
  332. package/dist/chunks/{useTextField-DewF7uv9.es.js → useTextField-DOho5fCG.es.js} +6 -6
  333. package/dist/chunks/{useTextField-DewF7uv9.es.js.map → useTextField-DOho5fCG.es.js.map} +1 -1
  334. package/dist/chunks/{useToggle-BXsvw8Q3.es.js → useToggle-BLG4h8I9.es.js} +5 -5
  335. package/dist/chunks/{useToggle-BXsvw8Q3.es.js.map → useToggle-BLG4h8I9.es.js.map} +1 -1
  336. package/dist/chunks/{utils-CEdpnSRC.es.js → utils-C4ruQppN.es.js} +2 -2
  337. package/dist/chunks/{utils-CEdpnSRC.es.js.map → utils-C4ruQppN.es.js.map} +1 -1
  338. package/dist/chunks/{visually-hidden-CQabqCJt.es.js → visually-hidden-XBx29_tJ.es.js} +2 -2
  339. package/dist/chunks/visually-hidden-XBx29_tJ.es.js.map +1 -0
  340. package/dist/chunks/visually-hidden-YFEW-yS7.cjs.js.map +1 -1
  341. package/dist/chunks/walk-object-BGye4E3_.cjs.js +2 -0
  342. package/dist/chunks/walk-object-BGye4E3_.cjs.js.map +1 -0
  343. package/dist/chunks/walk-object-D9P1kanu.es.js +27 -0
  344. package/dist/chunks/walk-object-D9P1kanu.es.js.map +1 -0
  345. package/dist/code.d.ts +6 -0
  346. package/dist/combobox.d.ts +10 -4
  347. package/dist/components/accordion.cjs +1 -1
  348. package/dist/components/accordion.es.js +1 -1
  349. package/dist/components/alert.cjs +1 -1
  350. package/dist/components/alert.es.js +1 -1
  351. package/dist/components/avatar.cjs +1 -1
  352. package/dist/components/avatar.es.js +1 -1
  353. package/dist/components/badge.cjs +1 -1
  354. package/dist/components/badge.es.js +1 -1
  355. package/dist/components/box.cjs +1 -1
  356. package/dist/components/box.es.js +1 -1
  357. package/dist/components/button.cjs +1 -1
  358. package/dist/components/button.es.js +1 -1
  359. package/dist/components/calendar.cjs +1 -1
  360. package/dist/components/calendar.es.js +1 -1
  361. package/dist/components/card.cjs +1 -1
  362. package/dist/components/card.es.js +1 -1
  363. package/dist/components/checkbox.cjs +1 -1
  364. package/dist/components/checkbox.es.js +1 -1
  365. package/dist/components/code.cjs +1 -1
  366. package/dist/components/code.es.js +1 -1
  367. package/dist/components/combobox.cjs +1 -1
  368. package/dist/components/combobox.es.js +1 -1
  369. package/dist/components/components.cjs +1 -1
  370. package/dist/components/components.es.js +137 -131
  371. package/dist/components/components.es.js.map +1 -1
  372. package/dist/components/date-input.cjs +1 -1
  373. package/dist/components/date-input.es.js +1 -1
  374. package/dist/components/date-picker.cjs +1 -1
  375. package/dist/components/date-picker.es.js +1 -1
  376. package/dist/components/date-range-picker.cjs +1 -1
  377. package/dist/components/date-range-picker.es.js +1 -1
  378. package/dist/components/dialog.cjs +1 -1
  379. package/dist/components/dialog.es.js +1 -1
  380. package/dist/components/divider.cjs +1 -1
  381. package/dist/components/divider.es.js +1 -1
  382. package/dist/components/flex.cjs +1 -1
  383. package/dist/components/flex.es.js +1 -1
  384. package/dist/components/form-field.cjs +1 -1
  385. package/dist/components/form-field.es.js +1 -1
  386. package/dist/components/grid.cjs +1 -1
  387. package/dist/components/grid.es.js +1 -1
  388. package/dist/components/heading.cjs +1 -1
  389. package/dist/components/heading.es.js +2 -2
  390. package/dist/components/icon-button.cjs +1 -1
  391. package/dist/components/icon-button.es.js +1 -1
  392. package/dist/components/icon-toggle-button.cjs +2 -0
  393. package/dist/components/icon-toggle-button.cjs.map +1 -0
  394. package/dist/components/icon-toggle-button.es.js +5 -0
  395. package/dist/components/icon-toggle-button.es.js.map +1 -0
  396. package/dist/components/icon.cjs +1 -1
  397. package/dist/components/icon.es.js +1 -1
  398. package/dist/components/image.cjs +1 -1
  399. package/dist/components/image.es.js +1 -1
  400. package/dist/components/kbd.cjs +1 -1
  401. package/dist/components/kbd.es.js +1 -1
  402. package/dist/components/link.cjs +1 -1
  403. package/dist/components/link.es.js +1 -1
  404. package/dist/components/list.cjs +1 -1
  405. package/dist/components/list.es.js +1 -1
  406. package/dist/components/loading-spinner.cjs +1 -1
  407. package/dist/components/loading-spinner.es.js +1 -1
  408. package/dist/components/multiline-text-input.cjs +1 -1
  409. package/dist/components/multiline-text-input.es.js +1 -1
  410. package/dist/components/nimbus-provider.cjs +1 -1
  411. package/dist/components/nimbus-provider.es.js +1 -1
  412. package/dist/components/number-input.cjs +1 -1
  413. package/dist/components/number-input.es.js +1 -1
  414. package/dist/components/password-input.cjs +1 -1
  415. package/dist/components/password-input.es.js +1 -1
  416. package/dist/components/progress-bar.cjs +1 -1
  417. package/dist/components/progress-bar.es.js +1 -1
  418. package/dist/components/radio-input.cjs +1 -1
  419. package/dist/components/radio-input.es.js +1 -1
  420. package/dist/components/range-calendar.cjs +1 -1
  421. package/dist/components/range-calendar.es.js +1 -1
  422. package/dist/components/select.cjs +1 -1
  423. package/dist/components/select.es.js +1 -1
  424. package/dist/components/simple-grid.cjs +1 -1
  425. package/dist/components/simple-grid.es.js +1 -1
  426. package/dist/components/stack.cjs +1 -1
  427. package/dist/components/stack.es.js +1 -1
  428. package/dist/components/switch.cjs +1 -1
  429. package/dist/components/switch.es.js +1 -1
  430. package/dist/components/table.cjs +1 -1
  431. package/dist/components/table.es.js +2 -2
  432. package/dist/components/tag-group.cjs +1 -1
  433. package/dist/components/tag-group.es.js +1 -1
  434. package/dist/components/text-input.cjs +1 -1
  435. package/dist/components/text-input.es.js +1 -1
  436. package/dist/components/text.cjs +1 -1
  437. package/dist/components/text.es.js +1 -1
  438. package/dist/components/time-input.cjs +1 -1
  439. package/dist/components/time-input.es.js +1 -1
  440. package/dist/components/toggle-button-group.cjs +1 -1
  441. package/dist/components/toggle-button-group.es.js +1 -1
  442. package/dist/components/toggle-button.cjs +2 -0
  443. package/dist/components/toggle-button.cjs.map +1 -0
  444. package/dist/components/toggle-button.es.js +5 -0
  445. package/dist/components/toggle-button.es.js.map +1 -0
  446. package/dist/components/tooltip.cjs +1 -1
  447. package/dist/components/tooltip.es.js +2 -2
  448. package/dist/components/visually-hidden.es.js +1 -1
  449. package/dist/components.d.ts +367 -138
  450. package/dist/date-input.d.ts +9 -7
  451. package/dist/date-picker.d.ts +9 -8
  452. package/dist/date-range-picker.d.ts +4 -4
  453. package/dist/dialog.d.ts +7 -1
  454. package/dist/divider.d.ts +4 -4
  455. package/dist/flex.d.ts +1 -1
  456. package/dist/form-field.d.ts +8 -6
  457. package/dist/grid.d.ts +4 -6
  458. package/dist/heading.d.ts +1 -1
  459. package/dist/icon-button.d.ts +8 -7
  460. package/dist/icon-toggle-button.d.ts +149 -0
  461. package/dist/icon.d.ts +8 -5
  462. package/dist/image.d.ts +5 -3
  463. package/dist/index.cjs +1 -1
  464. package/dist/index.cjs.map +1 -1
  465. package/dist/index.d.ts +367 -138
  466. package/dist/index.es.js +154 -147
  467. package/dist/index.es.js.map +1 -1
  468. package/dist/kbd.d.ts +5 -3
  469. package/dist/link.d.ts +7 -13
  470. package/dist/list.d.ts +6 -1
  471. package/dist/loading-spinner.d.ts +8 -6
  472. package/dist/multiline-text-input.d.ts +6 -12
  473. package/dist/nimbus-provider.d.ts +7 -0
  474. package/dist/number-input.d.ts +6 -13
  475. package/dist/password-input.d.ts +6 -11
  476. package/dist/progress-bar.d.ts +4 -4
  477. package/dist/radio-input.d.ts +10 -3
  478. package/dist/range-calendar.d.ts +2 -2
  479. package/dist/select.d.ts +9 -2
  480. package/dist/simple-grid.d.ts +4 -6
  481. package/dist/stack.d.ts +8 -1
  482. package/dist/switch.d.ts +7 -5
  483. package/dist/table.d.ts +1 -1
  484. package/dist/tag-group.d.ts +3 -3
  485. package/dist/text-input.d.ts +6 -11
  486. package/dist/text.d.ts +5 -3
  487. package/dist/time-input.d.ts +4 -4
  488. package/dist/toggle-button-group.d.ts +10 -3
  489. package/dist/toggle-button.d.ts +144 -0
  490. package/dist/tooltip.d.ts +8 -10
  491. package/dist/visually-hidden.d.ts +7 -0
  492. package/package.json +5 -1
  493. package/dist/chunks/accordion-AFXp_v9r.es.js.map +0 -1
  494. package/dist/chunks/accordion-CnNWyGUM.cjs.js +0 -2
  495. package/dist/chunks/accordion-CnNWyGUM.cjs.js.map +0 -1
  496. package/dist/chunks/alert-CTdQVQEX.cjs.js +0 -2
  497. package/dist/chunks/alert-CTdQVQEX.cjs.js.map +0 -1
  498. package/dist/chunks/alert-DObB3_Vi.es.js.map +0 -1
  499. package/dist/chunks/avatar-BLun8TXk.cjs.js +0 -2
  500. package/dist/chunks/avatar-BLun8TXk.cjs.js.map +0 -1
  501. package/dist/chunks/avatar-DgvfEdwK.es.js.map +0 -1
  502. package/dist/chunks/avatar.recipe-BSmmqvwQ.es.js.map +0 -1
  503. package/dist/chunks/avatar.recipe-aGNBZhVF.cjs.js +0 -2
  504. package/dist/chunks/avatar.recipe-aGNBZhVF.cjs.js.map +0 -1
  505. package/dist/chunks/badge-CFwI3HLf.cjs.js +0 -2
  506. package/dist/chunks/badge-CFwI3HLf.cjs.js.map +0 -1
  507. package/dist/chunks/badge-DVDR3-fy.es.js.map +0 -1
  508. package/dist/chunks/box-DD4jYgS7.es.js +0 -11
  509. package/dist/chunks/box-DD4jYgS7.es.js.map +0 -1
  510. package/dist/chunks/box-FU6tRPFs.cjs.js +0 -2
  511. package/dist/chunks/box-FU6tRPFs.cjs.js.map +0 -1
  512. package/dist/chunks/button-DPZ4gynI.es.js +0 -66
  513. package/dist/chunks/button-DPZ4gynI.es.js.map +0 -1
  514. package/dist/chunks/button-DhrBalPi.cjs.js +0 -2
  515. package/dist/chunks/button-DhrBalPi.cjs.js.map +0 -1
  516. package/dist/chunks/button.recipe-DHk13lGU.cjs.js +0 -2
  517. package/dist/chunks/button.recipe-DHk13lGU.cjs.js.map +0 -1
  518. package/dist/chunks/button.recipe-DzOS_Bqm.es.js.map +0 -1
  519. package/dist/chunks/calendar-BCsFBFkk.es.js.map +0 -1
  520. package/dist/chunks/calendar-BeUwpJo3.cjs.js +0 -2
  521. package/dist/chunks/calendar-BeUwpJo3.cjs.js.map +0 -1
  522. package/dist/chunks/calendar.recipe-B2sMokBn.es.js +0 -101
  523. package/dist/chunks/calendar.recipe-B2sMokBn.es.js.map +0 -1
  524. package/dist/chunks/calendar.recipe-gUaUNltl.cjs.js +0 -2
  525. package/dist/chunks/calendar.recipe-gUaUNltl.cjs.js.map +0 -1
  526. package/dist/chunks/card-CS_daMhq.es.js.map +0 -1
  527. package/dist/chunks/card-svWLl_kS.cjs.js +0 -2
  528. package/dist/chunks/card-svWLl_kS.cjs.js.map +0 -1
  529. package/dist/chunks/checkbox-BFb4vHab.es.js.map +0 -1
  530. package/dist/chunks/checkbox-D0evM4Sv.cjs.js +0 -2
  531. package/dist/chunks/checkbox-D0evM4Sv.cjs.js.map +0 -1
  532. package/dist/chunks/code-CI8aUhmu.es.js +0 -6
  533. package/dist/chunks/code-CI8aUhmu.es.js.map +0 -1
  534. package/dist/chunks/code-Dg4Larbo.cjs.js +0 -2
  535. package/dist/chunks/code-Dg4Larbo.cjs.js.map +0 -1
  536. package/dist/chunks/combobox-D30xydJw.cjs.js +0 -2
  537. package/dist/chunks/combobox.recipe-BKOsv-Im.cjs.js +0 -2
  538. package/dist/chunks/combobox.recipe-BKOsv-Im.cjs.js.map +0 -1
  539. package/dist/chunks/combobox.recipe-BQy3LgVG.es.js +0 -380
  540. package/dist/chunks/combobox.recipe-BQy3LgVG.es.js.map +0 -1
  541. package/dist/chunks/date-input-B3VEJdpa.cjs.js +0 -2
  542. package/dist/chunks/date-input-B3VEJdpa.cjs.js.map +0 -1
  543. package/dist/chunks/date-input-TeYMF5Hb.es.js +0 -16
  544. package/dist/chunks/date-input-TeYMF5Hb.es.js.map +0 -1
  545. package/dist/chunks/date-input.recipe-BTsUgaUQ.es.js +0 -126
  546. package/dist/chunks/date-input.recipe-BTsUgaUQ.es.js.map +0 -1
  547. package/dist/chunks/date-input.recipe-Onzf22sP.cjs.js +0 -2
  548. package/dist/chunks/date-input.recipe-Onzf22sP.cjs.js.map +0 -1
  549. package/dist/chunks/date-picker-BrkP7f-J.cjs.js +0 -2
  550. package/dist/chunks/date-picker-BrkP7f-J.cjs.js.map +0 -1
  551. package/dist/chunks/date-picker-CTGHoJdV.es.js.map +0 -1
  552. package/dist/chunks/date-picker.recipe-5Avb06qp.cjs.js +0 -2
  553. package/dist/chunks/date-picker.recipe-5Avb06qp.cjs.js.map +0 -1
  554. package/dist/chunks/date-picker.recipe-Dy6NmKHA.es.js +0 -82
  555. package/dist/chunks/date-picker.recipe-Dy6NmKHA.es.js.map +0 -1
  556. package/dist/chunks/date-range-picker-BZ7e2THh.cjs.js +0 -2
  557. package/dist/chunks/date-range-picker-BZ7e2THh.cjs.js.map +0 -1
  558. package/dist/chunks/date-range-picker-DYAE8hY-.es.js +0 -273
  559. package/dist/chunks/date-range-picker-DYAE8hY-.es.js.map +0 -1
  560. package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js +0 -2
  561. package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js.map +0 -1
  562. package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js +0 -124
  563. package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js.map +0 -1
  564. package/dist/chunks/dialog-C1HRMUcF.es.js +0 -33
  565. package/dist/chunks/dialog-C1HRMUcF.es.js.map +0 -1
  566. package/dist/chunks/dialog-amEwvIoM.cjs.js +0 -2
  567. package/dist/chunks/dialog-amEwvIoM.cjs.js.map +0 -1
  568. package/dist/chunks/divider-CifCuFCu.cjs.js +0 -2
  569. package/dist/chunks/divider-CifCuFCu.cjs.js.map +0 -1
  570. package/dist/chunks/divider-Js2LpOHh.es.js.map +0 -1
  571. package/dist/chunks/extractStyleProps-CxgBrz3O.es.js +0 -11
  572. package/dist/chunks/extractStyleProps-CxgBrz3O.es.js.map +0 -1
  573. package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js +0 -2
  574. package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js.map +0 -1
  575. package/dist/chunks/form-field-CmiwMrRv.es.js.map +0 -1
  576. package/dist/chunks/form-field-kTuQQx9G.cjs.js.map +0 -1
  577. package/dist/chunks/grid-CugcJxRP.es.js +0 -14
  578. package/dist/chunks/grid-CugcJxRP.es.js.map +0 -1
  579. package/dist/chunks/grid-xr2A-OqD.cjs.js +0 -2
  580. package/dist/chunks/grid-xr2A-OqD.cjs.js.map +0 -1
  581. package/dist/chunks/icon-BFNYuilh.es.js.map +0 -1
  582. package/dist/chunks/icon-D50i-dqv.cjs.js +0 -2
  583. package/dist/chunks/icon-D50i-dqv.cjs.js.map +0 -1
  584. package/dist/chunks/icon-button-CPBzhg2C.es.js.map +0 -1
  585. package/dist/chunks/icon-button-QwpNTUZ8.cjs.js.map +0 -1
  586. package/dist/chunks/image-DCirAAnr.cjs.js +0 -2
  587. package/dist/chunks/image-DCirAAnr.cjs.js.map +0 -1
  588. package/dist/chunks/image-rXPA3shk.es.js +0 -8
  589. package/dist/chunks/image-rXPA3shk.es.js.map +0 -1
  590. package/dist/chunks/kbd-Bkhw9E6L.cjs.js +0 -2
  591. package/dist/chunks/kbd-Bkhw9E6L.cjs.js.map +0 -1
  592. package/dist/chunks/kbd-Gxvodc1U.es.js +0 -15
  593. package/dist/chunks/kbd-Gxvodc1U.es.js.map +0 -1
  594. package/dist/chunks/kbd.recipe-BONVaPQN.es.js.map +0 -1
  595. package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js +0 -2
  596. package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js.map +0 -1
  597. package/dist/chunks/link-DJmmcif9.cjs.js +0 -2
  598. package/dist/chunks/link-DJmmcif9.cjs.js.map +0 -1
  599. package/dist/chunks/link-I24WQHS6.es.js.map +0 -1
  600. package/dist/chunks/link.recipe-Ba2by0OG.es.js.map +0 -1
  601. package/dist/chunks/link.recipe-CG3leGAx.cjs.js +0 -2
  602. package/dist/chunks/link.recipe-CG3leGAx.cjs.js.map +0 -1
  603. package/dist/chunks/list-8yfreyzi.cjs.js +0 -2
  604. package/dist/chunks/list-8yfreyzi.cjs.js.map +0 -1
  605. package/dist/chunks/list-B21joBrq.es.js +0 -13
  606. package/dist/chunks/list-B21joBrq.es.js.map +0 -1
  607. package/dist/chunks/loading-spinner-BQd4UVQs.cjs.js +0 -2
  608. package/dist/chunks/loading-spinner-BQd4UVQs.cjs.js.map +0 -1
  609. package/dist/chunks/loading-spinner-DwN-yshK.es.js.map +0 -1
  610. package/dist/chunks/menu-BnUXBlRL.cjs.js +0 -2
  611. package/dist/chunks/menu-BnUXBlRL.cjs.js.map +0 -1
  612. package/dist/chunks/menu-DcEXCIN3.es.js.map +0 -1
  613. package/dist/chunks/multiline-text-input-Be3sGtOK.es.js.map +0 -1
  614. package/dist/chunks/multiline-text-input-CzoQb5Ms.cjs.js +0 -12
  615. package/dist/chunks/multiline-text-input-CzoQb5Ms.cjs.js.map +0 -1
  616. package/dist/chunks/nimbus-provider-CDXyYH9f.es.js +0 -1823
  617. package/dist/chunks/nimbus-provider-CDXyYH9f.es.js.map +0 -1
  618. package/dist/chunks/nimbus-provider-zUukT3WE.cjs.js +0 -4
  619. package/dist/chunks/nimbus-provider-zUukT3WE.cjs.js.map +0 -1
  620. package/dist/chunks/number-input-Cvy4MbJv.cjs.js +0 -2
  621. package/dist/chunks/number-input.recipe-2n6A2w0m.cjs.js +0 -2
  622. package/dist/chunks/number-input.recipe-2n6A2w0m.cjs.js.map +0 -1
  623. package/dist/chunks/number-input.recipe-8gbsGnLJ.es.js +0 -209
  624. package/dist/chunks/number-input.recipe-8gbsGnLJ.es.js.map +0 -1
  625. package/dist/chunks/password-input-B1oZ6y7E.es.js.map +0 -1
  626. package/dist/chunks/password-input-D3wUJdjZ.cjs.js.map +0 -1
  627. package/dist/chunks/progress-bar-CbZY1dE1.cjs.js +0 -2
  628. package/dist/chunks/progress-bar-CbZY1dE1.cjs.js.map +0 -1
  629. package/dist/chunks/progress-bar-VipTWl4r.es.js.map +0 -1
  630. package/dist/chunks/radio-input-vHNjGqLS.cjs.js +0 -2
  631. package/dist/chunks/radio-input.recipe-CM9R2ilP.es.js +0 -75
  632. package/dist/chunks/radio-input.recipe-CM9R2ilP.es.js.map +0 -1
  633. package/dist/chunks/radio-input.recipe-DdXB4lqs.cjs.js +0 -2
  634. package/dist/chunks/radio-input.recipe-DdXB4lqs.cjs.js.map +0 -1
  635. package/dist/chunks/range-calendar-CsS-i222.cjs.js +0 -2
  636. package/dist/chunks/range-calendar-CsS-i222.cjs.js.map +0 -1
  637. package/dist/chunks/range-calendar-DEpcpGLw.es.js.map +0 -1
  638. package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js +0 -129
  639. package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js.map +0 -1
  640. package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js +0 -2
  641. package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js.map +0 -1
  642. package/dist/chunks/select-CMIJ0YjS.cjs.js +0 -2
  643. package/dist/chunks/select.recipe-BIox51h1.cjs.js +0 -2
  644. package/dist/chunks/select.recipe-BIox51h1.cjs.js.map +0 -1
  645. package/dist/chunks/select.recipe-CNH8aWdo.es.js +0 -203
  646. package/dist/chunks/select.recipe-CNH8aWdo.es.js.map +0 -1
  647. package/dist/chunks/simple-grid-CFOP9g2P.es.js +0 -14
  648. package/dist/chunks/simple-grid-CFOP9g2P.es.js.map +0 -1
  649. package/dist/chunks/simple-grid-CHgTayx6.cjs.js +0 -2
  650. package/dist/chunks/simple-grid-CHgTayx6.cjs.js.map +0 -1
  651. package/dist/chunks/stack-__ugxVHD.es.js +0 -11
  652. package/dist/chunks/stack-__ugxVHD.es.js.map +0 -1
  653. package/dist/chunks/stack-wFUhYQQb.cjs.js +0 -2
  654. package/dist/chunks/stack-wFUhYQQb.cjs.js.map +0 -1
  655. package/dist/chunks/switch-BM-A9yVv.cjs.js +0 -2
  656. package/dist/chunks/switch-BM-A9yVv.cjs.js.map +0 -1
  657. package/dist/chunks/switch-Bxeo0Ktw.es.js.map +0 -1
  658. package/dist/chunks/switch.recipe-CWOjEnIy.es.js +0 -100
  659. package/dist/chunks/switch.recipe-CWOjEnIy.es.js.map +0 -1
  660. package/dist/chunks/switch.recipe-DHopLj_g.cjs.js +0 -2
  661. package/dist/chunks/switch.recipe-DHopLj_g.cjs.js.map +0 -1
  662. package/dist/chunks/tag-group-IJIXPuLT.cjs.js +0 -2
  663. package/dist/chunks/text--fhvW47o.cjs.js +0 -2
  664. package/dist/chunks/text--fhvW47o.cjs.js.map +0 -1
  665. package/dist/chunks/text-CFsPSPPs.es.js +0 -24
  666. package/dist/chunks/text-CFsPSPPs.es.js.map +0 -1
  667. package/dist/chunks/text-input--62r8jAx.es.js +0 -17
  668. package/dist/chunks/text-input--62r8jAx.es.js.map +0 -1
  669. package/dist/chunks/text-input-FGkoWybY.cjs.js +0 -2
  670. package/dist/chunks/text-input-FGkoWybY.cjs.js.map +0 -1
  671. package/dist/chunks/text-input.recipe-DxzvFMOB.cjs.js +0 -2
  672. package/dist/chunks/text-input.recipe-DxzvFMOB.cjs.js.map +0 -1
  673. package/dist/chunks/text-input.recipe-KNoUuq-g.es.js +0 -64
  674. package/dist/chunks/text-input.recipe-KNoUuq-g.es.js.map +0 -1
  675. package/dist/chunks/time-input-BH0G5PFd.cjs.js +0 -2
  676. package/dist/chunks/time-input-BH0G5PFd.cjs.js.map +0 -1
  677. package/dist/chunks/time-input-DeYvqDoa.es.js.map +0 -1
  678. package/dist/chunks/toggle-button-group-B5xBRXo1.es.js +0 -263
  679. package/dist/chunks/toggle-button-group-B5xBRXo1.es.js.map +0 -1
  680. package/dist/chunks/toggle-button-group-Cvhe_K50.cjs.js +0 -2
  681. package/dist/chunks/toggle-button-group-Cvhe_K50.cjs.js.map +0 -1
  682. package/dist/chunks/tooltip-B6mXEaGu.cjs.js +0 -2
  683. package/dist/chunks/tooltip.recipe-B9-7OFCi.es.js.map +0 -1
  684. package/dist/chunks/tooltip.recipe-CkNOA8Sg.cjs.js +0 -2
  685. package/dist/chunks/tooltip.recipe-CkNOA8Sg.cjs.js.map +0 -1
  686. package/dist/chunks/visually-hidden-CQabqCJt.es.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flex-DgabwPpo.es.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/flex/flex.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Flex = forwardRef(\n function Flex2(props, ref) {\n const {\n direction,\n align,\n justify,\n wrap,\n basis,\n grow,\n shrink,\n inline,\n ...rest\n } = props;\n return /* @__PURE__ */ jsx(\n chakra.div,\n {\n ref,\n ...rest,\n css: {\n display: inline ? \"inline-flex\" : \"flex\",\n flexDirection: direction,\n alignItems: align,\n justifyContent: justify,\n flexWrap: wrap,\n flexBasis: basis,\n flexGrow: grow,\n flexShrink: shrink,\n ...props.css\n }\n }\n );\n }\n);\n\nexport { Flex };\n"],"names":["Flex","forwardRef","props","ref","direction","align","justify","wrap","basis","grow","shrink","inline","rest","jsx","chakra"],"mappings":";;;AAMK,MAACA,IAAO,gBAAAC;AAAA,EACX,SAAeC,GAAOC,GAAK;AACzB,UAAM;AAAA,MACJ,WAAAC;AAAA,MACA,OAAAC;AAAA,MACA,SAAAC;AAAA,MACA,MAAAC;AAAA,MACA,OAAAC;AAAA,MACA,MAAAC;AAAA,MACA,QAAAC;AAAA,MACA,QAAAC;AAAA,MACA,GAAGC;AAAA,IACT,IAAQV;AACJ,WAAuB,gBAAAW;AAAA,MACrBC,EAAO;AAAA,MACP;AAAA,QACE,KAAAX;AAAA,QACA,GAAGS;AAAA,QACH,KAAK;AAAA,UACH,SAASD,IAAS,gBAAgB;AAAA,UAClC,eAAeP;AAAA,UACf,YAAYC;AAAA,UACZ,gBAAgBC;AAAA,UAChB,UAAUC;AAAA,UACV,WAAWC;AAAA,UACX,UAAUC;AAAA,UACV,YAAYC;AAAA,UACZ,GAAGR,EAAM;AAAA,QACnB;AAAA,MACA;AAAA,IACA;AAAA,EACE;AACF;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";const x=require("react/jsx-runtime"),u=require("react"),d=require("./factory-DNbWS0Ob.cjs.js"),j=u.forwardRef(function(e,i){const{direction:r,align:s,justify:n,wrap:t,basis:l,grow:c,shrink:a,inline:f,...o}=e;return x.jsx(d.chakra.div,{ref:i,...o,css:{display:f?"inline-flex":"flex",flexDirection:r,alignItems:s,justifyContent:n,flexWrap:t,flexBasis:l,flexGrow:c,flexShrink:a,...e.css}})});exports.Flex=j;
2
+ //# sourceMappingURL=flex-DgsstZZT.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flex-DgsstZZT.cjs.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/flex/flex.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Flex = forwardRef(\n function Flex2(props, ref) {\n const {\n direction,\n align,\n justify,\n wrap,\n basis,\n grow,\n shrink,\n inline,\n ...rest\n } = props;\n return /* @__PURE__ */ jsx(\n chakra.div,\n {\n ref,\n ...rest,\n css: {\n display: inline ? \"inline-flex\" : \"flex\",\n flexDirection: direction,\n alignItems: align,\n justifyContent: justify,\n flexWrap: wrap,\n flexBasis: basis,\n flexGrow: grow,\n flexShrink: shrink,\n ...props.css\n }\n }\n );\n }\n);\n\nexport { Flex };\n"],"names":["Flex","forwardRef","props","ref","direction","align","justify","wrap","basis","grow","shrink","inline","rest","jsx","chakra"],"mappings":"4GAMMA,EAAOC,EAAAA,WACX,SAAeC,EAAOC,EAAK,CACzB,KAAM,CACJ,UAAAC,EACA,MAAAC,EACA,QAAAC,EACA,KAAAC,EACA,MAAAC,EACA,KAAAC,EACA,OAAAC,EACA,OAAAC,EACA,GAAGC,CACT,EAAQV,EACJ,OAAuBW,EAAAA,IACrBC,EAAAA,OAAO,IACP,CACE,IAAAX,EACA,GAAGS,EACH,IAAK,CACH,QAASD,EAAS,cAAgB,OAClC,cAAeP,EACf,WAAYC,EACZ,eAAgBC,EAChB,SAAUC,EACV,UAAWC,EACX,SAAUC,EACV,WAAYC,EACZ,GAAGR,EAAM,GACnB,CACA,CACA,CACE,CACF","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  import "react";
2
- import { e as b } from "./mergeProps-Bn6EInU5.es.js";
2
+ import { f as b } from "./mergeProps-C0OSi2w3.es.js";
3
3
  import { k as l, a as $, d as c, l as d } from "./utils-BR34o1UE.es.js";
4
4
  import { d as u } from "./useFocus-DyrL604F.es.js";
5
5
  let s = /* @__PURE__ */ new Map();
@@ -66,4 +66,4 @@ export {
66
66
  v as c,
67
67
  m as d
68
68
  };
69
- //# sourceMappingURL=focusSafely-Cpgkt6WC.es.js.map
69
+ //# sourceMappingURL=focusSafely-DJGT4IAS.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"focusSafely-Cpgkt6WC.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_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.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/chain.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/mergeProps.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/runAfterTransition.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useSyncRef.mjs","../../../../node_modules/.pnpm/@react-aria+interactions@3.25.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/interactions/dist/focusSafely.mjs"],"sourcesContent":["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","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","/*\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 */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {\n for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $bbed8b41f857bcc0$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref) {\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n if (context && context.ref && ref) {\n context.ref.current = ref.current;\n return ()=>{\n if (context.ref) context.ref.current = null;\n };\n }\n });\n}\n\n\nexport {$e7801be82b4b2a53$export$4debdb1a3f0fa79e as useSyncRef};\n//# sourceMappingURL=useSyncRef.module.js.map\n","import {getInteractionModality as $507fabe10e71c6fb$export$630ff653c5ada6a9} from \"./useFocusVisible.mjs\";\nimport {getOwnerDocument as $k50bp$getOwnerDocument, getActiveElement as $k50bp$getActiveElement, runAfterTransition as $k50bp$runAfterTransition, focusWithoutScrolling as $k50bp$focusWithoutScrolling} from \"@react-aria/utils\";\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 $3ad3f6e1647bc98d$export$80f3e147d781571c(element) {\n // If the user is interacting with a virtual cursor, e.g. screen reader, then\n // wait until after any animated transitions that are currently occurring on\n // the page before shifting focus. This avoids issues with VoiceOver on iOS\n // causing the page to scroll when moving focus if the element is transitioning\n // from off the screen.\n const ownerDocument = (0, $k50bp$getOwnerDocument)(element);\n const activeElement = (0, $k50bp$getActiveElement)(ownerDocument);\n if ((0, $507fabe10e71c6fb$export$630ff653c5ada6a9)() === 'virtual') {\n let lastFocusedElement = activeElement;\n (0, $k50bp$runAfterTransition)(()=>{\n // If focus did not move and the element is still in the document, focus it.\n if ((0, $k50bp$getActiveElement)(ownerDocument) === lastFocusedElement && element.isConnected) (0, $k50bp$focusWithoutScrolling)(element);\n });\n } else (0, $k50bp$focusWithoutScrolling)(element);\n}\n\n\nexport {$3ad3f6e1647bc98d$export$80f3e147d781571c as focusSafely};\n//# sourceMappingURL=focusSafely.module.js.map\n"],"names":["$bdb11010cef70236$export$d41a04c74483c6ef","$bdb11010cef70236$export$cd8c9cb68f842629","idA","idB","setIdsA","ref","setIdsB","$ff5963eb1fccf552$export$e08e3b67e392101e","callbacks","args","callback","$3ef42575df84b30b$export$9d1611c77c2fe928","result","i","props","key","a","b","$7jXr9$clsx","$bbed8b41f857bcc0$var$transitionsByElement","$bbed8b41f857bcc0$var$transitionCallbacks","$bbed8b41f857bcc0$var$cleanupDetachedElements","eventTarget","$bbed8b41f857bcc0$export$24490316f764c430","fn","$e7801be82b4b2a53$export$4debdb1a3f0fa79e","context","$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","$3ad3f6e1647bc98d$export$80f3e147d781571c","element","ownerDocument","$k50bp$getOwnerDocument","activeElement","$k50bp$getActiveElement","$507fabe10e71c6fb$export$630ff653c5ada6a9","lastFocusedElement","$k50bp$runAfterTransition","$k50bp$focusWithoutScrolling"],"mappings":";;;;AAqBA,IAAIA,IAA4C,oBAAI,IAAG;AA2CvD,SAASC,EAA0CC,GAAKC,GAAK;AACzD,MAAID,MAAQC,EAAK,QAAOD;AACxB,MAAIE,IAAUJ,EAA0C,IAAIE,CAAG;AAC/D,MAAIE;AACA,WAAAA,EAAQ,QAAQ,CAACC,MAAMA,EAAI,UAAUF,CAAG,GACjCA;AAEX,MAAIG,IAAUN,EAA0C,IAAIG,CAAG;AAC/D,SAAIG,KACAA,EAAQ,QAAQ,CAACD,MAAMA,EAAI,UAAUH,CAAG,GACjCA,KAEJC;AACX;ACjEI,SAASI,KAA6CC,GAAW;AACjE,SAAO,IAAIC,MAAO;AACd,aAASC,KAAYF,EAAU,CAAI,OAAOE,KAAa,cAAYA,EAAS,GAAGD,CAAI;AAAA,EACvF;AACJ;ACCA,SAASE,KAA6CF,GAAM;AAGxD,MAAIG,IAAS;AAAA,IACT,GAAGH,EAAK,CAAC;AAAA,EACjB;AACI,WAAQI,IAAI,GAAGA,IAAIJ,EAAK,QAAQI,KAAI;AAChC,QAAIC,IAAQL,EAAKI,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,IAAQR,EAA2CS,GAAGC,CAAC,KACnKF,MAAQ,eAAeA,MAAQ,uBAAuB,OAAOC,KAAM,YAAY,OAAOC,K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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.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/chain.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/mergeProps.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/runAfterTransition.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useSyncRef.mjs","../../../../node_modules/.pnpm/@react-aria+interactions@3.25.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/interactions/dist/focusSafely.mjs"],"sourcesContent":["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","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","/*\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 */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {\n for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $bbed8b41f857bcc0$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n","import {useLayoutEffect as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c} from \"./useLayoutEffect.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref) {\n (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(()=>{\n if (context && context.ref && ref) {\n context.ref.current = ref.current;\n return ()=>{\n if (context.ref) context.ref.current = null;\n };\n }\n });\n}\n\n\nexport {$e7801be82b4b2a53$export$4debdb1a3f0fa79e as useSyncRef};\n//# sourceMappingURL=useSyncRef.module.js.map\n","import {getInteractionModality as $507fabe10e71c6fb$export$630ff653c5ada6a9} from \"./useFocusVisible.mjs\";\nimport {getOwnerDocument as $k50bp$getOwnerDocument, getActiveElement as $k50bp$getActiveElement, runAfterTransition as $k50bp$runAfterTransition, focusWithoutScrolling as $k50bp$focusWithoutScrolling} from \"@react-aria/utils\";\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 $3ad3f6e1647bc98d$export$80f3e147d781571c(element) {\n // If the user is interacting with a virtual cursor, e.g. screen reader, then\n // wait until after any animated transitions that are currently occurring on\n // the page before shifting focus. This avoids issues with VoiceOver on iOS\n // causing the page to scroll when moving focus if the element is transitioning\n // from off the screen.\n const ownerDocument = (0, $k50bp$getOwnerDocument)(element);\n const activeElement = (0, $k50bp$getActiveElement)(ownerDocument);\n if ((0, $507fabe10e71c6fb$export$630ff653c5ada6a9)() === 'virtual') {\n let lastFocusedElement = activeElement;\n (0, $k50bp$runAfterTransition)(()=>{\n // If focus did not move and the element is still in the document, focus it.\n if ((0, $k50bp$getActiveElement)(ownerDocument) === lastFocusedElement && element.isConnected) (0, $k50bp$focusWithoutScrolling)(element);\n });\n } else (0, $k50bp$focusWithoutScrolling)(element);\n}\n\n\nexport {$3ad3f6e1647bc98d$export$80f3e147d781571c as focusSafely};\n//# sourceMappingURL=focusSafely.module.js.map\n"],"names":["$bdb11010cef70236$export$d41a04c74483c6ef","$bdb11010cef70236$export$cd8c9cb68f842629","idA","idB","setIdsA","ref","setIdsB","$ff5963eb1fccf552$export$e08e3b67e392101e","callbacks","args","callback","$3ef42575df84b30b$export$9d1611c77c2fe928","result","i","props","key","a","b","$7jXr9$clsx","$bbed8b41f857bcc0$var$transitionsByElement","$bbed8b41f857bcc0$var$transitionCallbacks","$bbed8b41f857bcc0$var$cleanupDetachedElements","eventTarget","$bbed8b41f857bcc0$export$24490316f764c430","fn","$e7801be82b4b2a53$export$4debdb1a3f0fa79e","context","$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c","$3ad3f6e1647bc98d$export$80f3e147d781571c","element","ownerDocument","$k50bp$getOwnerDocument","activeElement","$k50bp$getActiveElement","$507fabe10e71c6fb$export$630ff653c5ada6a9","lastFocusedElement","$k50bp$runAfterTransition","$k50bp$focusWithoutScrolling"],"mappings":";;;;AAqBA,IAAIA,IAA4C,oBAAI,IAAG;AA2CvD,SAASC,EAA0CC,GAAKC,GAAK;AACzD,MAAID,MAAQC,EAAK,QAAOD;AACxB,MAAIE,IAAUJ,EAA0C,IAAIE,CAAG;AAC/D,MAAIE;AACA,WAAAA,EAAQ,QAAQ,CAACC,MAAMA,EAAI,UAAUF,CAAG,GACjCA;AAEX,MAAIG,IAAUN,EAA0C,IAAIG,CAAG;AAC/D,SAAIG,KACAA,EAAQ,QAAQ,CAACD,MAAMA,EAAI,UAAUH,CAAG,GACjCA,KAEJC;AACX;ACjEI,SAASI,KAA6CC,GAAW;AACjE,SAAO,IAAIC,MAAO;AACd,aAASC,KAAYF,EAAU,CAAI,OAAOE,KAAa,cAAYA,EAAS,GAAGD,CAAI;AAAA,EACvF;AACJ;ACCA,SAASE,KAA6CF,GAAM;AAGxD,MAAIG,IAAS;AAAA,IACT,GAAGH,EAAK,CA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,IAAI,UAAU;AAAA,MAC3C;AAAA,EAER,CAAC;AACL;ACPA,SAASE,EAA0CC,GAAS;AAMxD,QAAMC,IAAoBC,EAAyBF,CAAO,GACpDG,IAAoBC,EAAyBH,CAAa;AAChE,MAAQI,EAAyC,MAAQ,WAAW;AAChE,QAAIC,IAAqBH;AACzB,IAAII,EAA2B,MAAI;AAE/B,MAAQH,EAAyBH,CAAa,MAAMK,KAAsBN,EAAQ,eAAiBQ,EAA8BR,CAAO;AAAA,IAC5I,CAAC;AAAA,EACL,MAAO,CAAIQ,EAA8BR,CAAO;AACpD;","x_google_ignoreList":[0,1,2,3,4,5]}
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),i=require("react"),x=require("@chakra-ui/react"),p=require("./Dialog-Btds5x4W.cjs.js"),u=require("./box-FU6tRPFs.cjs.js"),A=require("./icon-button-QwpNTUZ8.cjs.js"),m=require("@commercetools/nimbus-icons"),H=require("./useField-Doh1_zqa.cjs.js"),s=i.createContext({context:{label:null,description:null,error:null,info:null,input:null},setContext:()=>{}}),y=`
1
+ "use strict";const t=require("react/jsx-runtime"),i=require("react"),B=require("./config-Mt8_uyhI.cjs.js"),A=require("./create-slot-recipe-context-7JMdJHPF.cjs.js"),p=require("./Dialog-Btds5x4W.cjs.js"),u=require("./box-BOsRGQEm.cjs.js"),H=require("./icon-button-DF2_vh-X.cjs.js"),m=require("@commercetools/nimbus-icons"),R=require("./useField-Doh1_zqa.cjs.js"),s=i.createContext({context:{label:null,description:null,error:null,info:null,input:null},setContext:()=>{}}),y=`
2
2
  "label"
3
3
  "input"
4
4
  "description"
@@ -7,5 +7,5 @@
7
7
  "label input"
8
8
  "label description"
9
9
  "label error"
10
- `,L=x.defineSlotRecipe({slots:["root","label","input","description","error","popover"],className:"nimbus-ui-form-field",base:{root:{"--grid-gap":"spacing.100",display:"grid",width:"auto"},label:{gridArea:"label",fontWeight:"500",color:"neutral.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},input:{gridArea:"input"},description:{gridArea:"description",color:"neutral.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},error:{gridArea:"error",color:"critical.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},popover:{"--scrollbar-color":"colors.neutral.8","--scrollbar-bg":"colors.neutral.3",bg:"neutral.1",maxWidth:"xl",borderRadius:"200",boxShadow:"6",border:"solid-25",borderColor:"neutral.8",maxHeight:"40svh",overflow:"auto",scrollbarWidth:"thin",scrollbarColor:"var(--scrollbar-color) var(--scrollbar-bg)",focusRing:"outside"}},variants:{size:{md:{root:{"--form-field-font-size":"fontSizes.350","--form-field-line-height":"lineHeights.500"}},sm:{root:{"--form-field-font-size":"fontSizes.300","--form-field-line-height":"lineHeights.450"}}},direction:{column:{root:{gridTemplateAreas:y},input:{mt:"var(--grid-gap)"},description:{mt:"var(--grid-gap)"},error:{mt:"var(--grid-gap)"}},row:{root:{gridTemplateAreas:I,gridTemplateColumns:"auto 1fr",gridColumnGap:"200"},description:{mt:"var(--grid-gap)"},error:{mt:"var(--grid-gap)"}}}},defaultVariants:{direction:"column",size:"md"}}),{withProvider:R,withContext:c}=x.createSlotRecipeContext({recipe:L}),q=R("div","root"),M=c("div","label"),T=c("div","input"),W=c("div","description"),k=c("div","error"),D=c("div","popover"),b=i.forwardRef(({isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n,children:S,...j},z)=>{const[r,f]=i.useState({label:null,description:null,error:null,info:null,input:null,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n}),d={description:r.description,errorMessage:r.error};r.label?d.label=r.label:(d["aria-label"]="empty-label",d["aria-labelledby"]="empty-label");const{labelProps:E,fieldProps:$,descriptionProps:P,errorMessageProps:w}=H.$2baaea4c71418dea$export$294aa081a6c6f55d(d);i.useEffect(()=>{f(a=>({...a,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n}))},[e,l,o,n]);const B={...$,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n};return t.jsx(s.Provider,{value:{context:r,setContext:f},children:t.jsxs(q,{ref:z,...j,children:[r.label&&t.jsxs(M,{...r.labelSlotProps,children:[t.jsxs("label",{...E,children:[r.label,l&&t.jsx("sup",{"aria-hidden":"true",children:"*"})]}),r.info&&t.jsxs(p.$de32f1b87079253c$export$2e1e1122cf0cba88,{children:[t.jsx(u.Box,{as:"span",display:"inline-block",position:"relative",width:"1ch",height:"1ch",ml:"200",children:t.jsx(u.Box,{as:"span",display:"inline-flex",position:"absolute",top:"50%",right:"50%",transform:"translate(50%, -50%)",children:t.jsx(A.IconButton,{"aria-label":"__MORE INFO",size:"2xs",tone:"info",variant:"link",children:t.jsx(m.HelpOutline,{})})})}),t.jsx(p.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:t.jsx(D,{asChild:!0,children:t.jsx(p.$de32f1b87079253c$export$3ddf2d174ce01153,{children:t.jsx(u.Box,{p:"300",children:r.info})})})})]})]}),r.input&&t.jsx(T,{...r.inputSlotProps,children:i.Children.map(r.input,a=>i.isValidElement(a)?i.cloneElement(a,B):a)}),r.description&&t.jsx(W,{...P,...r.descriptionSlotProps,children:r.description}),e&&r.error&&t.jsxs(k,{...w,...r.errorSlotProps,children:[t.jsx(u.Box,{as:m.ErrorOutline,display:"inline-flex",boxSize:"400",verticalAlign:"text-bottom",mr:"100"}),r.error]}),S]})})}),F=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,label:e,labelSlotProps:l}))},[e,o]),null},g=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,input:e,inputSlotProps:l}))},[e,o]),null},h=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,description:e,descriptionSlotProps:l}))},[e,o]),null},v=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,error:e,errorSlotProps:l}))},[e,o]),null},C=({children:e})=>{const{setContext:l}=i.useContext(s);return i.useEffect(()=>{l(o=>({...o,info:e}))},[e,l]),null},N={Root:b,Label:F,Input:g,Description:h,Error:v,InfoBox:C};exports.FormField=N;exports.FormFieldDescription=h;exports.FormFieldError=v;exports.FormFieldInfoBox=C;exports.FormFieldInput=g;exports.FormFieldLabel=F;exports.FormFieldRoot=b;
11
- //# sourceMappingURL=form-field-kTuQQx9G.cjs.js.map
10
+ `,L=B.defineSlotRecipe({slots:["root","label","input","description","error","popover"],className:"nimbus-ui-form-field",base:{root:{"--grid-gap":"spacing.100",display:"grid",width:"auto"},label:{gridArea:"label",fontWeight:"500",color:"neutral.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},input:{gridArea:"input"},description:{gridArea:"description",color:"neutral.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},error:{gridArea:"error",color:"critical.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},popover:{"--scrollbar-color":"colors.neutral.8","--scrollbar-bg":"colors.neutral.3",bg:"neutral.1",maxWidth:"xl",borderRadius:"200",boxShadow:"6",border:"solid-25",borderColor:"neutral.8",maxHeight:"40svh",overflow:"auto",scrollbarWidth:"thin",scrollbarColor:"var(--scrollbar-color) var(--scrollbar-bg)",focusRing:"outside"}},variants:{size:{md:{root:{"--form-field-font-size":"fontSizes.350","--form-field-line-height":"lineHeights.500"}},sm:{root:{"--form-field-font-size":"fontSizes.300","--form-field-line-height":"lineHeights.450"}}},direction:{column:{root:{gridTemplateAreas:y},input:{mt:"var(--grid-gap)"},description:{mt:"var(--grid-gap)"},error:{mt:"var(--grid-gap)"}},row:{root:{gridTemplateAreas:I,gridTemplateColumns:"auto 1fr",gridColumnGap:"200"},description:{mt:"var(--grid-gap)"},error:{mt:"var(--grid-gap)"}}}},defaultVariants:{direction:"column",size:"md"}}),{withProvider:q,withContext:c}=A.createSlotRecipeContext({recipe:L}),M=q("div","root"),T=c("div","label"),W=c("div","input"),k=c("div","description"),D=c("div","error"),N=c("div","popover"),x=i.forwardRef(({isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n,children:C,...S},j)=>{const[r,f]=i.useState({label:null,description:null,error:null,info:null,input:null,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n}),d={description:r.description,errorMessage:r.error};r.label?d.label=r.label:(d["aria-label"]="empty-label",d["aria-labelledby"]="empty-label");const{labelProps:z,fieldProps:E,descriptionProps:$,errorMessageProps:P}=R.$2baaea4c71418dea$export$294aa081a6c6f55d(d);i.useEffect(()=>{f(a=>({...a,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n}))},[e,l,o,n]);const w={...E,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n};return t.jsx(s.Provider,{value:{context:r,setContext:f},children:t.jsxs(M,{ref:j,...S,children:[r.label&&t.jsxs(T,{...r.labelSlotProps,children:[t.jsxs("label",{...z,children:[r.label,l&&t.jsx("sup",{"aria-hidden":"true",children:"*"})]}),r.info&&t.jsxs(p.$de32f1b87079253c$export$2e1e1122cf0cba88,{children:[t.jsx(u.Box,{as:"span",display:"inline-block",position:"relative",width:"1ch",height:"1ch",ml:"200",children:t.jsx(u.Box,{as:"span",display:"inline-flex",position:"absolute",top:"50%",right:"50%",transform:"translate(50%, -50%)",children:t.jsx(H.IconButton,{"aria-label":"__MORE INFO",size:"2xs",tone:"info",variant:"link",children:t.jsx(m.HelpOutline,{})})})}),t.jsx(p.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:t.jsx(N,{asChild:!0,children:t.jsx(p.$de32f1b87079253c$export$3ddf2d174ce01153,{children:t.jsx(u.Box,{p:"300",children:r.info})})})})]})]}),r.input&&t.jsx(W,{...r.inputSlotProps,children:i.Children.map(r.input,a=>i.isValidElement(a)?i.cloneElement(a,w):a)}),r.description&&t.jsx(k,{...$,...r.descriptionSlotProps,children:r.description}),e&&r.error&&t.jsxs(D,{...P,...r.errorSlotProps,children:[t.jsx(u.Box,{as:m.ErrorOutline,display:"inline-flex",boxSize:"400",verticalAlign:"text-bottom",mr:"100"}),r.error]}),C]})})}),b=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,label:e,labelSlotProps:l}))},[e,o]),null},g=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,input:e,inputSlotProps:l}))},[e,o]),null},F=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,description:e,descriptionSlotProps:l}))},[e,o]),null},h=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,error:e,errorSlotProps:l}))},[e,o]),null},v=({children:e})=>{const{setContext:l}=i.useContext(s);return i.useEffect(()=>{l(o=>({...o,info:e}))},[e,l]),null},V={Root:x,Label:b,Input:g,Description:F,Error:h,InfoBox:v};exports.FormField=V;exports.FormFieldDescription=F;exports.FormFieldError=h;exports.FormFieldInfoBox=v;exports.FormFieldInput=g;exports.FormFieldLabel=b;exports.FormFieldRoot=x;
11
+ //# sourceMappingURL=form-field-CZ9tkW04.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-field-CZ9tkW04.cjs.js","sources":["../../src/components/form-field/components/form-field.context.tsx","../../src/components/form-field/form-field.recipe.tsx","../../src/components/form-field/form-field.slots.tsx","../../src/components/form-field/components/form-field.root.tsx","../../src/components/form-field/components/form-field.label.tsx","../../src/components/form-field/components/form-field.input.tsx","../../src/components/form-field/components/form-field.description.tsx","../../src/components/form-field/components/form-field.error.tsx","../../src/components/form-field/components/form-field.info-box.tsx","../../src/components/form-field/form-field.tsx"],"sourcesContent":["import { createContext, type ReactNode } from \"react\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"../form-field.slots\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react/styled-system\";\n\nconst columnLayout = `\n\"label\"\n\"input\"\n\"description\"\n\"error\"\n`;\nconst rowLayout = `\n\"label input\"\n\"label description\"\n\"label error\"\n`;\n\n/**\n * Recipe configuration for the FormField component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const formFieldRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"input\", \"description\", \"error\", \"popover\"],\n // Unique class name prefix for the component\n className: \"nimbus-ui-form-field\",\n\n base: {\n root: {\n \"--grid-gap\": \"spacing.100\",\n\n display: \"grid\",\n width: \"auto\",\n },\n label: {\n gridArea: \"label\",\n fontWeight: \"500\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n input: {\n gridArea: \"input\",\n },\n description: {\n gridArea: \"description\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n error: {\n gridArea: \"error\",\n color: \"critical.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n popover: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n bg: \"neutral.1\",\n maxWidth: \"xl\",\n borderRadius: \"200\",\n boxShadow: \"6\",\n border: \"solid-25\",\n borderColor: \"neutral.8\",\n maxHeight: \"40svh\",\n overflow: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n focusRing: \"outside\",\n },\n },\n\n variants: {\n size: {\n md: {\n root: {\n \"--form-field-font-size\": \"fontSizes.350\",\n \"--form-field-line-height\": \"lineHeights.500\",\n },\n },\n sm: {\n root: {\n \"--form-field-font-size\": \"fontSizes.300\",\n \"--form-field-line-height\": \"lineHeights.450\",\n },\n },\n },\n direction: {\n column: {\n root: {\n gridTemplateAreas: columnLayout,\n },\n input: {\n mt: \"var(--grid-gap)\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n row: {\n root: {\n gridTemplateAreas: rowLayout,\n gridTemplateColumns: \"auto 1fr\",\n gridColumnGap: \"200\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n direction: \"column\",\n size: \"md\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { formFieldRecipe } from \"./form-field.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: formFieldRecipe,\n});\n\n// Root slot\nexport interface FormFieldRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp\n > {}\n\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport interface FormFieldLabelSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport interface FormFieldInputSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport interface FormFieldDescriptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport interface FormFieldErrorSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport interface FormFieldPopoverSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n forwardRef,\n isValidElement,\n useEffect,\n useState,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField } from \"react-aria\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"./form-field.context\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * # FormField\n * \n * displays miscellaneous inputs in a FormField context\n * \n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/formfield}\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = {\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n useFieldArgs.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n useFieldArgs[\"aria-label\"] = \"empty-label\";\n useFieldArgs[\"aria-labelledby\"] = \"empty-label\";\n }\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","columnLayout","rowLayout","formFieldRecipe","defineSlotRecipe","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardRef","isInvalid","isRequired","isDisabled","isReadOnly","children","props","ref","context","setContext","useState","useFieldArgs","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField"],"mappings":"0WA6BaA,EAAmBC,EAAAA,cAAoC,CAClE,QAAS,CACP,MAAO,KACP,YAAa,KACb,MAAO,KACP,KAAM,KACN,MAAO,IAAA,EAET,WAAY,IAAM,CAAC,CACrB,CAAC,ECpCKC,EAAe;AAAA;AAAA;AAAA;AAAA;AAAA,EAMfC,EAAY;AAAA;AAAA;AAAA;AAAA,EAULC,EAAkBC,EAAAA,iBAAiB,CAC9C,MAAO,CAAC,OAAQ,QAAS,QAAS,cAAe,QAAS,SAAS,EAEnE,UAAW,uBAEX,KAAM,CACJ,KAAM,CACJ,aAAc,cAEd,QAAS,OACT,MAAO,MAAA,EAET,MAAO,CACL,SAAU,QACV,WAAY,MACZ,MAAO,aACP,SAAU,8BACV,WAAY,+BAAA,EAEd,MAAO,CACL,SAAU,OAAA,EAEZ,YAAa,CACX,SAAU,cACV,MAAO,aACP,SAAU,8BACV,WAAY,+BAAA,EAEd,MAAO,CACL,SAAU,QACV,MAAO,cACP,SAAU,8BACV,WAAY,+BAAA,EAEd,QAAS,CACP,oBAAqB,mBACrB,iBAAkB,mBAClB,GAAI,YACJ,SAAU,KACV,aAAc,MACd,UAAW,IACX,OAAQ,WACR,YAAa,YACb,UAAW,QACX,SAAU,OACV,eAAgB,OAChB,eAAgB,6CAChB,UAAW,SAAA,CACb,EAGF,SAAU,CACR,KAAM,CACJ,GAAI,CACF,KAAM,CACJ,yBAA0B,gBAC1B,2BAA4B,iB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CAAA,EACA,CACJ,EAAG,CAAChC,EAAUI,CAAU,CAAC,EAElB,IACT,ECfa6B,EAAuB,CAAC,CACnC,SAAAjC,EACA,GAAGkC,CACL,IAAqC,CACnC,KAAM,CAAE,WAAA9B,CAAA,EAAe0B,EAAAA,WAAWnD,CAAgB,EAElDiC,OAAAA,EAAAA,UAAU,IAAM,CACdR,EAAYS,IAAiB,CAC3B,GAAGA,EACH,YAAab,EACb,qBAAAkC,CAAA,EACA,CACJ,EAAG,CAAClC,EAAUI,CAAU,CAAC,EAElB,IACT,ECfa+B,EAAiB,CAAC,CAC7B,SAAAnC,EACA,GAAGoC,CACL,IAA+B,CAC7B,KAAM,CAAE,WAAAhC,CAAA,EAAe0B,EAAAA,WAAWnD,CAAgB,EAElDiC,OAAAA,EAAAA,UAAU,IAAM,CACdR,EAAYS,IAAiB,CAC3B,GAAGA,EACH,MAAOb,EACP,eAAAoC,CAAA,EACA,CACJ,EAAG,CAACpC,EAAUI,CAAU,CAAC,EAElB,IACT,ECTaiC,EAAmB,CAAC,CAAE,SAAArC,KAAsC,CACvE,KAAM,CAAE,WAAAI,CAAA,EAAe0B,EAAAA,WAAWnD,CAAgB,EAElDiC,OAAAA,EAAAA,UAAU,IAAM,CACdR,EAAYS,IAAiB,CAC3B,GAAGA,EACH,KAAMb,CAAA,EACN,CACJ,EAAG,CAACA,EAAUI,CAAU,CAAC,EAElB,IACT,ECdakC,EAAY,CACvB,KAAM5C,EACN,MAAOkC,EACP,MAAOG,EACP,YAAaE,EACb,MAAOE,EACP,QAASE,CACX"}
@@ -1,11 +1,12 @@
1
- import { jsx as l, jsxs as c } from "react/jsx-runtime";
1
+ import { jsx as i, jsxs as c } from "react/jsx-runtime";
2
2
  import { createContext as z, forwardRef as $, useState as P, useEffect as n, Children as w, isValidElement as A, cloneElement as E, useContext as d } from "react";
3
- import { defineSlotRecipe as H, createSlotRecipeContext as y } from "@chakra-ui/react";
4
- import { e as B, $ as L, a as I } from "./Dialog-CFERgD91.es.js";
5
- import { B as m } from "./box-DD4jYgS7.es.js";
6
- import { I as M } from "./icon-button-CPBzhg2C.es.js";
3
+ import { a as H } from "./config-ufbQ08Vi.es.js";
4
+ import { c as y } from "./create-slot-recipe-context-Cv3lncUO.es.js";
5
+ import { e as B, $ as L, a as I } from "./Dialog-CTf0VB6B.es.js";
6
+ import { B as m } from "./box-Cd4iddEV.es.js";
7
+ import { I as M } from "./icon-button-C7MMcLBN.es.js";
7
8
  import { HelpOutline as R, ErrorOutline as T } from "@commercetools/nimbus-icons";
8
- import { $ as W } from "./useField-BGOhsACE.es.js";
9
+ import { $ as W } from "./useField-Bj5XOvuD.es.js";
9
10
  const a = /* @__PURE__ */ z({
10
11
  context: {
11
12
  label: null,
@@ -126,7 +127,7 @@ const a = /* @__PURE__ */ z({
126
127
  }), { withProvider: V, withContext: p } = /* @__PURE__ */ y({
127
128
  recipe: N
128
129
  }), _ = /* @__PURE__ */ V("div", "root"), G = /* @__PURE__ */ p("div", "label"), O = /* @__PURE__ */ p("div", "input"), D = /* @__PURE__ */ p("div", "description"), J = /* @__PURE__ */ p("div", "error"), K = /* @__PURE__ */ p("div", "popover"), Q = /* @__PURE__ */ $(
129
- ({ isInvalid: r, isRequired: t, isDisabled: e, isReadOnly: i, children: b, ...g }, h) => {
130
+ ({ isInvalid: r, isRequired: t, isDisabled: e, isReadOnly: l, children: b, ...g }, h) => {
130
131
  const [o, u] = P({
131
132
  label: null,
132
133
  description: null,
@@ -136,7 +137,7 @@ const a = /* @__PURE__ */ z({
136
137
  isInvalid: r,
137
138
  isRequired: t,
138
139
  isDisabled: e,
139
- isReadOnly: i
140
+ isReadOnly: l
140
141
  }), f = {
141
142
  description: o.description,
142
143
  errorMessage: o.error
@@ -149,24 +150,24 @@ const a = /* @__PURE__ */ z({
149
150
  isInvalid: r,
150
151
  isRequired: t,
151
152
  isDisabled: e,
152
- isReadOnly: i
153
+ isReadOnly: l
153
154
  }));
154
- }, [r, t, e, i]);
155
+ }, [r, t, e, l]);
155
156
  const C = {
156
157
  ...F,
157
158
  isInvalid: r,
158
159
  isRequired: t,
159
160
  isDisabled: e,
160
- isReadOnly: i
161
+ isReadOnly: l
161
162
  };
162
- return /* @__PURE__ */ l(a.Provider, { value: { context: o, setContext: u }, children: /* @__PURE__ */ c(_, { ref: h, ...g, children: [
163
+ return /* @__PURE__ */ i(a.Provider, { value: { context: o, setContext: u }, children: /* @__PURE__ */ c(_, { ref: h, ...g, children: [
163
164
  o.label && /* @__PURE__ */ c(G, { ...o.labelSlotProps, children: [
164
165
  /* @__PURE__ */ c("label", { ...x, children: [
165
166
  o.label,
166
- t && /* @__PURE__ */ l("sup", { "aria-hidden": "true", children: "*" })
167
+ t && /* @__PURE__ */ i("sup", { "aria-hidden": "true", children: "*" })
167
168
  ] }),
168
169
  o.info && /* @__PURE__ */ c(B, { children: [
169
- /* @__PURE__ */ l(
170
+ /* @__PURE__ */ i(
170
171
  m,
171
172
  {
172
173
  as: "span",
@@ -175,7 +176,7 @@ const a = /* @__PURE__ */ z({
175
176
  width: "1ch",
176
177
  height: "1ch",
177
178
  ml: "200",
178
- children: /* @__PURE__ */ l(
179
+ children: /* @__PURE__ */ i(
179
180
  m,
180
181
  {
181
182
  as: "span",
@@ -184,25 +185,25 @@ const a = /* @__PURE__ */ z({
184
185
  top: "50%",
185
186
  right: "50%",
186
187
  transform: "translate(50%, -50%)",
187
- children: /* @__PURE__ */ l(
188
+ children: /* @__PURE__ */ i(
188
189
  M,
189
190
  {
190
191
  "aria-label": "__MORE INFO",
191
192
  size: "2xs",
192
193
  tone: "info",
193
194
  variant: "link",
194
- children: /* @__PURE__ */ l(R, {})
195
+ children: /* @__PURE__ */ i(R, {})
195
196
  }
196
197
  )
197
198
  }
198
199
  )
199
200
  }
200
201
  ),
201
- /* @__PURE__ */ l(L, { children: /* @__PURE__ */ l(K, { asChild: !0, children: /* @__PURE__ */ l(I, { children: /* @__PURE__ */ l(m, { p: "300", children: o.info }) }) }) })
202
+ /* @__PURE__ */ i(L, { children: /* @__PURE__ */ i(K, { asChild: !0, children: /* @__PURE__ */ i(I, { children: /* @__PURE__ */ i(m, { p: "300", children: o.info }) }) }) })
202
203
  ] })
203
204
  ] }),
204
- o.input && /* @__PURE__ */ l(O, { ...o.inputSlotProps, children: w.map(o.input, (s) => A(s) ? E(s, C) : s) }),
205
- o.description && /* @__PURE__ */ l(
205
+ o.input && /* @__PURE__ */ i(O, { ...o.inputSlotProps, children: w.map(o.input, (s) => A(s) ? E(s, C) : s) }),
206
+ o.description && /* @__PURE__ */ i(
206
207
  D,
207
208
  {
208
209
  ...v,
@@ -216,7 +217,7 @@ const a = /* @__PURE__ */ z({
216
217
  ...S,
217
218
  ...o.errorSlotProps,
218
219
  children: [
219
- /* @__PURE__ */ l(
220
+ /* @__PURE__ */ i(
220
221
  m,
221
222
  {
222
223
  as: T,
@@ -239,8 +240,8 @@ const a = /* @__PURE__ */ z({
239
240
  }) => {
240
241
  const { setContext: e } = d(a);
241
242
  return n(() => {
242
- e((i) => ({
243
- ...i,
243
+ e((l) => ({
244
+ ...l,
244
245
  label: r,
245
246
  labelSlotProps: t
246
247
  }));
@@ -251,8 +252,8 @@ const a = /* @__PURE__ */ z({
251
252
  }) => {
252
253
  const { setContext: e } = d(a);
253
254
  return n(() => {
254
- e((i) => ({
255
- ...i,
255
+ e((l) => ({
256
+ ...l,
256
257
  input: r,
257
258
  inputSlotProps: t
258
259
  }));
@@ -263,8 +264,8 @@ const a = /* @__PURE__ */ z({
263
264
  }) => {
264
265
  const { setContext: e } = d(a);
265
266
  return n(() => {
266
- e((i) => ({
267
- ...i,
267
+ e((l) => ({
268
+ ...l,
268
269
  description: r,
269
270
  descriptionSlotProps: t
270
271
  }));
@@ -275,8 +276,8 @@ const a = /* @__PURE__ */ z({
275
276
  }) => {
276
277
  const { setContext: e } = d(a);
277
278
  return n(() => {
278
- e((i) => ({
279
- ...i,
279
+ e((l) => ({
280
+ ...l,
280
281
  error: r,
281
282
  errorSlotProps: t
282
283
  }));
@@ -289,7 +290,7 @@ const a = /* @__PURE__ */ z({
289
290
  info: r
290
291
  }));
291
292
  }, [r, t]), null;
292
- }, sr = {
293
+ }, cr = {
293
294
  Root: Q,
294
295
  Label: U,
295
296
  Input: X,
@@ -298,7 +299,7 @@ const a = /* @__PURE__ */ z({
298
299
  InfoBox: q
299
300
  };
300
301
  export {
301
- sr as F,
302
+ cr as F,
302
303
  Q as a,
303
304
  U as b,
304
305
  X as c,
@@ -306,4 +307,4 @@ export {
306
307
  Z as e,
307
308
  q as f
308
309
  };
309
- //# sourceMappingURL=form-field-CmiwMrRv.es.js.map
310
+ //# sourceMappingURL=form-field-cwuj6464.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-field-cwuj6464.es.js","sources":["../../src/components/form-field/components/form-field.context.tsx","../../src/components/form-field/form-field.recipe.tsx","../../src/components/form-field/form-field.slots.tsx","../../src/components/form-field/components/form-field.root.tsx","../../src/components/form-field/components/form-field.label.tsx","../../src/components/form-field/components/form-field.input.tsx","../../src/components/form-field/components/form-field.description.tsx","../../src/components/form-field/components/form-field.error.tsx","../../src/components/form-field/components/form-field.info-box.tsx","../../src/components/form-field/form-field.tsx"],"sourcesContent":["import { createContext, type ReactNode } from \"react\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"../form-field.slots\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react/styled-system\";\n\nconst columnLayout = `\n\"label\"\n\"input\"\n\"description\"\n\"error\"\n`;\nconst rowLayout = `\n\"label input\"\n\"label description\"\n\"label error\"\n`;\n\n/**\n * Recipe configuration for the FormField component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const formFieldRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"input\", \"description\", \"error\", \"popover\"],\n // Unique class name prefix for the component\n className: \"nimbus-ui-form-field\",\n\n base: {\n root: {\n \"--grid-gap\": \"spacing.100\",\n\n display: \"grid\",\n width: \"auto\",\n },\n label: {\n gridArea: \"label\",\n fontWeight: \"500\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n input: {\n gridArea: \"input\",\n },\n description: {\n gridArea: \"description\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n error: {\n gridArea: \"error\",\n color: \"critical.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n popover: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n bg: \"neutral.1\",\n maxWidth: \"xl\",\n borderRadius: \"200\",\n boxShadow: \"6\",\n border: \"solid-25\",\n borderColor: \"neutral.8\",\n maxHeight: \"40svh\",\n overflow: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n focusRing: \"outside\",\n },\n },\n\n variants: {\n size: {\n md: {\n root: {\n \"--form-field-font-size\": \"fontSizes.350\",\n \"--form-field-line-height\": \"lineHeights.500\",\n },\n },\n sm: {\n root: {\n \"--form-field-font-size\": \"fontSizes.300\",\n \"--form-field-line-height\": \"lineHeights.450\",\n },\n },\n },\n direction: {\n column: {\n root: {\n gridTemplateAreas: columnLayout,\n },\n input: {\n mt: \"var(--grid-gap)\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n row: {\n root: {\n gridTemplateAreas: rowLayout,\n gridTemplateColumns: \"auto 1fr\",\n gridColumnGap: \"200\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n direction: \"column\",\n size: \"md\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { formFieldRecipe } from \"./form-field.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: formFieldRecipe,\n});\n\n// Root slot\nexport interface FormFieldRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp\n > {}\n\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport interface FormFieldLabelSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport interface FormFieldInputSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport interface FormFieldDescriptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport interface FormFieldErrorSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport interface FormFieldPopoverSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n forwardRef,\n isValidElement,\n useEffect,\n useState,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField } from \"react-aria\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"./form-field.context\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * # FormField\n * \n * displays miscellaneous inputs in a FormField context\n * \n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/formfield}\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = {\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n useFieldArgs.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n useFieldArgs[\"aria-label\"] = \"empty-label\";\n useFieldArgs[\"aria-labelledby\"] = \"empty-label\";\n }\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","columnLayout","rowLayout","formFieldRecipe","defineSlotRecipe","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardRef","isInvalid","isRequired","isDisabled","isReadOnly","children","props","ref","context","setContext","useState","useFieldArgs","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormField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;AAElD,SAAAiC,EAAU,MAAM;AACd,IAAAR,EAAW,CAACS,OAAiB;AAAA,MAC3B,GAAGA;AAAA,MACH,aAAab;AAAA,MACb,sBAAAkC;AAAA,IAAA,EACA;AAAA,EACJ,GAAG,CAAClC,GAAUI,CAAU,CAAC,GAElB;AACT,GCfa+B,IAAiB,CAAC;AAAA,EAC7B,UAAAnC;AAAA,EACA,GAAGoC;AACL,MAA+B;AAC7B,QAAM,EAAE,YAAAhC,EAAA,IAAe0B,EAAWnD,CAAgB;AAElD,SAAAiC,EAAU,MAAM;AACd,IAAAR,EAAW,CAACS,OAAiB;AAAA,MAC3B,GAAGA;AAAA,MACH,OAAOb;AAAA,MACP,gBAAAoC;AAAA,IAAA,EACA;AAAA,EACJ,GAAG,CAACpC,GAAUI,CAAU,CAAC,GAElB;AACT,GCTaiC,IAAmB,CAAC,EAAE,UAAArC,QAAsC;AACvE,QAAM,EAAE,YAAAI,EAAA,IAAe0B,EAAWnD,CAAgB;AAElD,SAAAiC,EAAU,MAAM;AACd,IAAAR,EAAW,CAACS,OAAiB;AAAA,MAC3B,GAAGA;AAAA,MACH,MAAMb;AAAA,IAAA,EACN;AAAA,EACJ,GAAG,CAACA,GAAUI,CAAU,CAAC,GAElB;AACT,GCdakC,KAAY;AAAA,EACvB,MAAM5C;AAAA,EACN,OAAOkC;AAAA,EACP,OAAOG;AAAA,EACP,aAAaE;AAAA,EACb,OAAOE;AAAA,EACP,SAASE;AACX;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const n=require("react/jsx-runtime"),r=require("./grid-item-Bwt35oD8.cjs.js"),e=t=>{const{ref:s,...i}=t;return n.jsx(r.Grid,{ref:s,...i})};e.displayName="Grid";const d=Object.assign(e,{Item:r.GridItem});exports.Grid=d;
2
+ //# sourceMappingURL=grid-D2EDS3Nw.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-D2EDS3Nw.cjs.js","sources":["../../src/components/grid/grid.tsx"],"sourcesContent":["import {\n Grid as ChakraGrid,\n GridItem,\n type GridProps as ChakraGridProps,\n} from \"@chakra-ui/react/grid\";\n\n/**\n * # Grid\n *\n * An easily customizable Grid component, re-exported from Chakra UI, that provides a consistent layout structure across different products.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/layout/grid}\n */\nexport interface GridProps extends ChakraGridProps {\n children?: React.ReactNode;\n ref?: React.Ref<HTMLDivElement>;\n}\n\nconst GridComponent = (props: GridProps) => {\n const { ref, ...restProps } = props;\n return <ChakraGrid ref={ref} {...restProps} />;\n};\n\nGridComponent.displayName = \"Grid\";\n\nexport const Grid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n"],"names":["GridComponent","props","ref","restProps","jsx","ChakraGrid","Grid","GridItem"],"mappings":"2FAkBMA,EAAiBC,GAAqB,CAC1C,KAAM,CAAE,IAAAC,EAAK,GAAGC,CAAA,EAAcF,EAC9B,OAAOG,EAAAA,IAACC,EAAAA,KAAA,CAAW,IAAAH,EAAW,GAAGC,CAAA,CAAW,CAC9C,EAEAH,EAAc,YAAc,OAErB,MAAMM,EAAO,OAAO,OAAON,EAAe,CAC/C,KAAMO,EAAAA,QACR,CAAC"}
@@ -0,0 +1,75 @@
1
+ import { jsx as g } from "react/jsx-runtime";
2
+ import { forwardRef as p } from "react";
3
+ import { c as w, d as R } from "./factory-BpGQXckI.es.js";
4
+ import { m as C } from "./walk-object-D9P1kanu.es.js";
5
+ const F = /* @__PURE__ */ p(
6
+ function(o, t) {
7
+ const {
8
+ templateAreas: n,
9
+ column: a,
10
+ row: i,
11
+ autoFlow: s,
12
+ autoRows: d,
13
+ templateRows: m,
14
+ autoColumns: e,
15
+ templateColumns: l,
16
+ inline: u,
17
+ ...f
18
+ } = o;
19
+ return /* @__PURE__ */ g(
20
+ w.div,
21
+ {
22
+ ...f,
23
+ ref: t,
24
+ css: [
25
+ {
26
+ display: u ? "inline-grid" : "grid",
27
+ gridTemplateAreas: n,
28
+ gridAutoColumns: e,
29
+ gridColumn: a,
30
+ gridRow: i,
31
+ gridAutoFlow: s,
32
+ gridAutoRows: d,
33
+ gridTemplateRows: m,
34
+ gridTemplateColumns: l
35
+ },
36
+ o.css
37
+ ]
38
+ }
39
+ );
40
+ }
41
+ );
42
+ function c(r) {
43
+ return C(
44
+ r,
45
+ (o) => o === "auto" ? "auto" : `span ${o}/span ${o}`
46
+ );
47
+ }
48
+ const T = /* @__PURE__ */ p(
49
+ function(o, t) {
50
+ const {
51
+ area: n,
52
+ colSpan: a,
53
+ colStart: i,
54
+ colEnd: s,
55
+ rowEnd: d,
56
+ rowSpan: m,
57
+ rowStart: e,
58
+ ...l
59
+ } = o, u = R({
60
+ gridArea: n,
61
+ gridColumn: c(a),
62
+ gridRow: c(m),
63
+ gridColumnStart: i,
64
+ gridColumnEnd: s,
65
+ gridRowStart: e,
66
+ gridRowEnd: d
67
+ });
68
+ return /* @__PURE__ */ g(w.div, { ref: t, css: u, ...l });
69
+ }
70
+ );
71
+ export {
72
+ T as G,
73
+ F as a
74
+ };
75
+ //# sourceMappingURL=grid-item-BHKNxWuU.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-item-BHKNxWuU.es.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/grid/grid.js","../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/grid/grid-item.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Grid = forwardRef(\n function Grid2(props, ref) {\n const {\n templateAreas,\n column,\n row,\n autoFlow,\n autoRows,\n templateRows,\n autoColumns,\n templateColumns,\n inline,\n ...rest\n } = props;\n return /* @__PURE__ */ jsx(\n chakra.div,\n {\n ...rest,\n ref,\n css: [\n {\n display: inline ? \"inline-grid\" : \"grid\",\n gridTemplateAreas: templateAreas,\n gridAutoColumns: autoColumns,\n gridColumn: column,\n gridRow: row,\n gridAutoFlow: autoFlow,\n gridAutoRows: autoRows,\n gridTemplateRows: templateRows,\n gridTemplateColumns: templateColumns\n },\n props.css\n ]\n }\n );\n }\n);\n\nexport { Grid };\n","\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { compact } from '../../utils/compact.js';\nimport { mapObject } from '../../utils/walk-object.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nfunction spanFn(span) {\n return mapObject(\n span,\n (value) => value === \"auto\" ? \"auto\" : `span ${value}/span ${value}`\n );\n}\nconst GridItem = forwardRef(\n function GridItem2(props, ref) {\n const {\n area,\n colSpan,\n colStart,\n colEnd,\n rowEnd,\n rowSpan,\n rowStart,\n ...rest\n } = props;\n const styles = compact({\n gridArea: area,\n gridColumn: spanFn(colSpan),\n gridRow: spanFn(rowSpan),\n gridColumnStart: colStart,\n gridColumnEnd: colEnd,\n gridRowStart: rowStart,\n gridRowEnd: rowEnd\n });\n return /* @__PURE__ */ jsx(chakra.div, { ref, css: styles, ...rest });\n }\n);\n\nexport { GridItem };\n"],"names":["Grid","forwardRef","props","ref","templateAreas","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns","inline","rest","jsx","chakra","spanFn","span","mapObject","value","GridItem","area","colSpan","colStart","colEnd","rowEnd","rowSpan","rowStart","styles","compact"],"mappings":";;;;AAMK,MAACA,IAAO,gBAAAC;AAAA,EACX,SAAeC,GAAOC,GAAK;AACzB,UAAM;AAAA,MACJ,eAAAC;AAAA,MACA,QAAAC;AAAA,MACA,KAAAC;AAAA,MACA,UAAAC;AAAA,MACA,UAAAC;AAAA,MACA,cAAAC;AAAA,MACA,aAAAC;AAAA,MACA,iBAAAC;AAAA,MACA,QAAAC;AAAA,MACA,GAAGC;AAAA,IACT,IAAQX;AACJ,WAAuB,gBAAAY;AAAA,MACrBC,EAAO;AAAA,MACP;AAAA,QACE,GAAGF;AAAA,QACH,KAAAV;AAAA,QACA,KAAK;AAAA,UACH;AAAA,YACE,SAASS,IAAS,gBAAgB;AAAA,YAClC,mBAAmBR;AAAA,YACnB,iBAAiBM;AAAA,YACjB,YAAYL;AAAA,YACZ,SAASC;AAAA,YACT,cAAcC;AAAA,YACd,cAAcC;AAAA,YACd,kBAAkBC;AAAA,YAClB,qBAAqBE;AAAA,UACjC;AAAA,UACUT,EAAM;AAAA,QAChB;AAAA,MACA;AAAA,IACA;AAAA,EACE;AACF;AClCA,SAASc,EAAOC,GAAM;AACpB,SAAOC;AAAA,IACLD;AAAA,IACA,CAACE,MAAUA,MAAU,SAAS,SAAS,QAAQA,CAAK,SAASA,CAAK;AAAA,EACtE;AACA;AACK,MAACC,IAAW,gBAAAnB;AAAA,EACf,SAAmBC,GAAOC,GAAK;AAC7B,UAAM;AAAA,MACJ,MAAAkB;AAAA,MACA,SAAAC;AAAA,MACA,UAAAC;AAAA,MACA,QAAAC;AAAA,MACA,QAAAC;AAAA,MACA,SAAAC;AAAA,MACA,UAAAC;AAAA,MACA,GAAGd;AAAA,IACT,IAAQX,GACE0B,IAASC,EAAQ;AAAA,MACrB,UAAUR;AAAA,MACV,YAAYL,EAAOM,CAAO;AAAA,MAC1B,SAASN,EAAOU,CAAO;AAAA,MACvB,iBAAiBH;AAAA,MACjB,eAAeC;AAAA,MACf,cAAcG;AAAA,MACd,YAAYF;AAAA,IAClB,CAAK;AACD,WAAuB,gBAAAX,EAAIC,EAAO,KAAK,EAAE,KAAAZ,GAAK,KAAKyB,GAAQ,GAAGf,GAAM;AAAA,EACtE;AACF;","x_google_ignoreList":[0,1]}
@@ -0,0 +1,2 @@
1
+ "use strict";const w=require("react/jsx-runtime"),p=require("react"),m=require("./factory-DNbWS0Ob.cjs.js"),f=require("./walk-object-BGye4E3_.cjs.js"),C=p.forwardRef(function(r,o){const{templateAreas:n,column:e,row:i,autoFlow:s,autoRows:a,templateRows:d,autoColumns:c,templateColumns:u,inline:l,...R}=r;return w.jsx(m.chakra.div,{...R,ref:o,css:[{display:l?"inline-grid":"grid",gridTemplateAreas:n,gridAutoColumns:c,gridColumn:e,gridRow:i,gridAutoFlow:s,gridAutoRows:a,gridTemplateRows:d,gridTemplateColumns:u},r.css]})});function g(t){return f.mapObject(t,r=>r==="auto"?"auto":`span ${r}/span ${r}`)}const S=p.forwardRef(function(r,o){const{area:n,colSpan:e,colStart:i,colEnd:s,rowEnd:a,rowSpan:d,rowStart:c,...u}=r,l=m.compact({gridArea:n,gridColumn:g(e),gridRow:g(d),gridColumnStart:i,gridColumnEnd:s,gridRowStart:c,gridRowEnd:a});return w.jsx(m.chakra.div,{ref:o,css:l,...u})});exports.Grid=C;exports.GridItem=S;
2
+ //# sourceMappingURL=grid-item-Bwt35oD8.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-item-Bwt35oD8.cjs.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/grid/grid.js","../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/grid/grid-item.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Grid = forwardRef(\n function Grid2(props, ref) {\n const {\n templateAreas,\n column,\n row,\n autoFlow,\n autoRows,\n templateRows,\n autoColumns,\n templateColumns,\n inline,\n ...rest\n } = props;\n return /* @__PURE__ */ jsx(\n chakra.div,\n {\n ...rest,\n ref,\n css: [\n {\n display: inline ? \"inline-grid\" : \"grid\",\n gridTemplateAreas: templateAreas,\n gridAutoColumns: autoColumns,\n gridColumn: column,\n gridRow: row,\n gridAutoFlow: autoFlow,\n gridAutoRows: autoRows,\n gridTemplateRows: templateRows,\n gridTemplateColumns: templateColumns\n },\n props.css\n ]\n }\n );\n }\n);\n\nexport { Grid };\n","\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { compact } from '../../utils/compact.js';\nimport { mapObject } from '../../utils/walk-object.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nfunction spanFn(span) {\n return mapObject(\n span,\n (value) => value === \"auto\" ? \"auto\" : `span ${value}/span ${value}`\n );\n}\nconst GridItem = forwardRef(\n function GridItem2(props, ref) {\n const {\n area,\n colSpan,\n colStart,\n colEnd,\n rowEnd,\n rowSpan,\n rowStart,\n ...rest\n } = props;\n const styles = compact({\n gridArea: area,\n gridColumn: spanFn(colSpan),\n gridRow: spanFn(rowSpan),\n gridColumnStart: colStart,\n gridColumnEnd: colEnd,\n gridRowStart: rowStart,\n gridRowEnd: rowEnd\n });\n return /* @__PURE__ */ jsx(chakra.div, { ref, css: styles, ...rest });\n }\n);\n\nexport { GridItem };\n"],"names":["Grid","forwardRef","props","ref","templateAreas","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns","inline","rest","jsx","chakra","spanFn","span","mapObject","value","GridItem","area","colSpan","colStart","colEnd","rowEnd","rowSpan","rowStart","styles","compact"],"mappings":"uJAMMA,EAAOC,EAAAA,WACX,SAAeC,EAAOC,EAAK,CACzB,KAAM,CACJ,cAAAC,EACA,OAAAC,EACA,IAAAC,EACA,SAAAC,EACA,SAAAC,EACA,aAAAC,EACA,YAAAC,EACA,gBAAAC,EACA,OAAAC,EACA,GAAGC,CACT,EAAQX,EACJ,OAAuBY,EAAAA,IACrBC,EAAAA,OAAO,IACP,CACE,GAAGF,EACH,IAAAV,EACA,IAAK,CACH,CACE,QAASS,EAAS,cAAgB,OAClC,kBAAmBR,EACnB,gBAAiBM,EACjB,WAAYL,EACZ,QAASC,EACT,aAAcC,EACd,aAAcC,EACd,iBAAkBC,EAClB,oBAAqBE,CACjC,EACUT,EAAM,GAChB,CACA,CACA,CACE,CACF,EClCA,SAASc,EAAOC,EAAM,CACpB,OAAOC,EAAAA,UACLD,EACCE,GAAUA,IAAU,OAAS,OAAS,QAAQA,CAAK,SAASA,CAAK,EACtE,CACA,CACK,MAACC,EAAWnB,EAAAA,WACf,SAAmBC,EAAOC,EAAK,CAC7B,KAAM,CACJ,KAAAkB,EACA,QAAAC,EACA,SAAAC,EACA,OAAAC,EACA,OAAAC,EACA,QAAAC,EACA,SAAAC,EACA,GAAGd,CACT,EAAQX,EACE0B,EAASC,EAAAA,QAAQ,CACrB,SAAUR,EACV,WAAYL,EAAOM,CAAO,EAC1B,QAASN,EAAOU,CAAO,EACvB,gBAAiBH,EACjB,cAAeC,EACf,aAAcG,EACd,WAAYF,CAClB,CAAK,EACD,OAAuBX,EAAAA,IAAIC,EAAAA,OAAO,IAAK,CAAE,IAAAZ,EAAK,IAAKyB,EAAQ,GAAGf,EAAM,CACtE,CACF","x_google_ignoreList":[0,1]}
@@ -0,0 +1,14 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { G as i, a as m } from "./grid-item-BHKNxWuU.es.js";
3
+ const r = (s) => {
4
+ const { ref: t, ...o } = s;
5
+ return /* @__PURE__ */ e(m, { ref: t, ...o });
6
+ };
7
+ r.displayName = "Grid";
8
+ const G = /* @__PURE__ */ Object.assign(r, {
9
+ Item: i
10
+ });
11
+ export {
12
+ G
13
+ };
14
+ //# sourceMappingURL=grid-ksgCqjX_.es.js.map