@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
@@ -1,124 +0,0 @@
1
- import { defineSlotRecipe as r } from "@chakra-ui/react";
2
- const o = /* @__PURE__ */ r({
3
- className: "nimbus-date-range-picker",
4
- slots: [
5
- "root",
6
- "group",
7
- "trigger",
8
- "popover",
9
- "calendar",
10
- "calendarHeader",
11
- "calendarGrid",
12
- "calendarCell"
13
- ],
14
- base: {
15
- root: {
16
- display: "inline-block"
17
- },
18
- group: {
19
- "--border-width": "{sizes.25}",
20
- "--border-color": "{colors.neutral.7}",
21
- // ========================================
22
- // BASE LAYOUT & VISUAL PROPERTIES
23
- // ========================================
24
- display: "flex",
25
- alignItems: "center",
26
- justifyContent: "flex-start",
27
- boxShadow: "inset 0 0 0 var(--border-width) var(--border-color)",
28
- borderRadius: "200",
29
- bg: "neutral.1",
30
- px: "300",
31
- gap: 0,
32
- position: "relative",
33
- // Ensure stacking context for border
34
- // ========================================
35
- // INTERACTIVE STATES
36
- // ========================================
37
- _hover: {
38
- bg: "primary.2"
39
- },
40
- // Focus ring with transparent gap
41
- _focusWithin: {
42
- outlineWidth: "var(--focus-ring-width)",
43
- outlineColor: "var(--focus-ring-color)",
44
- outlineStyle: "var(--focus-ring-style)",
45
- outlineOffset: "var(--focus-ring-offset)"
46
- },
47
- // ========================================
48
- // DATA STATES
49
- // ========================================
50
- // Invalid state styling
51
- "&[data-invalid='true']": {
52
- "--border-width": "{sizes.50}",
53
- "--border-color": "{colors.critical.7}",
54
- color: "critical.11",
55
- alignItems: "center"
56
- }
57
- },
58
- trigger: {
59
- position: "absolute",
60
- right: "400",
61
- top: "100"
62
- },
63
- popover: {
64
- bg: "neutral.1",
65
- boxShadow: "4",
66
- borderRadius: "300",
67
- overflow: "auto",
68
- "&[data-entering]": {
69
- animationName: "fade-in, scale-in",
70
- animationDuration: "fast"
71
- },
72
- "&[data-exiting]": {
73
- animationName: "fade-out, scale-out",
74
- animationDuration: "faster"
75
- }
76
- }
77
- },
78
- variants: {
79
- size: {
80
- sm: {
81
- group: {
82
- height: "800",
83
- // Match DateInput sm height
84
- pr: "calc({spacing.1400} + {spacing.400})"
85
- // Smaller right padding for sm size
86
- },
87
- trigger: {
88
- top: "50"
89
- }
90
- },
91
- md: {
92
- group: {
93
- height: "1000",
94
- // Match DateInput md height
95
- pr: "calc({spacing.1600} + {spacing.200} + {spacing.400})"
96
- // Right padding for trigger buttons
97
- },
98
- trigger: {
99
- top: "100"
100
- }
101
- }
102
- },
103
- variant: {
104
- solid: {},
105
- ghost: {
106
- group: {
107
- bg: "transparent",
108
- px: "300",
109
- _hover: {
110
- bg: "primary.2"
111
- }
112
- }
113
- }
114
- }
115
- },
116
- defaultVariants: {
117
- size: "md",
118
- variant: "solid"
119
- }
120
- });
121
- export {
122
- o as d
123
- };
124
- //# sourceMappingURL=date-range-picker.recipe-CuI7inaU.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date-range-picker.recipe-CuI7inaU.es.js","sources":["../../src/components/date-range-picker/date-range-picker.recipe.tsx"],"sourcesContent":["import { defineSlotRecipe } from \"@chakra-ui/react\";\n\nexport const dateRangePickerSlotRecipe = defineSlotRecipe({\n className: \"nimbus-date-range-picker\",\n slots: [\n \"root\",\n \"group\",\n \"trigger\",\n \"popover\",\n \"calendar\",\n \"calendarHeader\",\n \"calendarGrid\",\n \"calendarCell\",\n ],\n base: {\n root: {\n display: \"inline-block\",\n },\n\n group: {\n \"--border-width\": \"{sizes.25}\",\n \"--border-color\": \"{colors.neutral.7}\",\n // ========================================\n // BASE LAYOUT & VISUAL PROPERTIES\n // ========================================\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-start\",\n boxShadow: \"inset 0 0 0 var(--border-width) var(--border-color)\",\n borderRadius: \"200\",\n bg: \"neutral.1\",\n px: \"300\",\n gap: 0,\n position: \"relative\", // Ensure stacking context for border\n\n // ========================================\n // INTERACTIVE STATES\n // ========================================\n _hover: {\n bg: \"primary.2\",\n },\n // Focus ring with transparent gap\n _focusWithin: {\n outlineWidth: \"var(--focus-ring-width)\",\n outlineColor: \"var(--focus-ring-color)\",\n outlineStyle: \"var(--focus-ring-style)\",\n outlineOffset: \"var(--focus-ring-offset)\",\n },\n\n // ========================================\n // DATA STATES\n // ========================================\n // Invalid state styling\n \"&[data-invalid='true']\": {\n \"--border-width\": \"{sizes.50}\",\n \"--border-color\": \"{colors.critical.7}\",\n color: \"critical.11\",\n alignItems: \"center\",\n },\n },\n trigger: {\n position: \"absolute\",\n right: \"400\",\n top: \"100\",\n },\n popover: {\n bg: \"neutral.1\",\n boxShadow: \"4\",\n borderRadius: \"300\",\n overflow: \"auto\",\n\n \"&[data-entering]\": {\n animationName: \"fade-in, scale-in\",\n animationDuration: \"fast\",\n },\n\n \"&[data-exiting]\": {\n animationName: \"fade-out, scale-out\",\n animationDuration: \"faster\",\n },\n },\n },\n variants: {\n size: {\n sm: {\n group: {\n height: \"800\", // Match DateInput sm height\n pr: \"calc({spacing.1400} + {spacing.400})\", // Smaller right padding for sm size\n },\n trigger: {\n top: \"50\",\n },\n },\n md: {\n group: {\n height: \"1000\", // Match DateInput md height\n pr: \"calc({spacing.1600} + {spacing.200} + {spacing.400})\", // Right padding for trigger buttons\n },\n trigger: {\n top: \"100\",\n },\n },\n },\n variant: {\n solid: {},\n ghost: {\n group: {\n bg: \"transparent\",\n px: \"300\",\n _hover: {\n bg: \"primary.2\",\n },\n },\n },\n },\n },\n defaultVariants: {\n size: \"md\",\n variant: \"solid\",\n },\n});\n"],"names":["dateRangePickerSlotRecipe","defineSlotRecipe"],"mappings":";AAEO,MAAMA,IAA4B,gBAAAC,EAAiB;AAAA,EACxD,WAAW;AAAA,EACX,OAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAAA,EAEF,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,SAAS;AAAA,IAAA;AAAA,IAGX,OAAO;AAAA,MACL,kBAAkB;AAAA,MAClB,kBAAkB;AAAA;AAAA;AAAA;AAAA,MAIlB,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,gBAAgB;AAAA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AA,YACN,IAAI;AAAA,UAAA;AAAA,QACN;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEF,iBAAiB;AAAA,IACf,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb,CAAC;"}
@@ -1,33 +0,0 @@
1
- import { jsxs as g, jsx as r } from "react/jsx-runtime";
2
- import { Dialog as o, Portal as c } from "@chakra-ui/react";
3
- const d = function(e) {
4
- const {
5
- children: t,
6
- portalled: i = !0,
7
- portalRef: n,
8
- backdrop: a = !0,
9
- ref: l,
10
- ...s
11
- } = e;
12
- return /* @__PURE__ */ g(c, { disabled: !i, container: n, children: [
13
- a && /* @__PURE__ */ r(o.Backdrop, {}),
14
- /* @__PURE__ */ r(o.Positioner, { children: /* @__PURE__ */ r(o.Content, { ref: l, ...s, asChild: !1, children: t }) })
15
- ] });
16
- }, C = {
17
- Root: o.Root,
18
- Trigger: o.Trigger,
19
- Content: d,
20
- Backdrop: o.Backdrop,
21
- Positioner: o.Positioner,
22
- Title: o.Title,
23
- Description: o.Description,
24
- Body: o.Body,
25
- Footer: o.Footer,
26
- Header: o.Header,
27
- CloseTrigger: o.CloseTrigger,
28
- ActionTrigger: o.ActionTrigger
29
- };
30
- export {
31
- C as D
32
- };
33
- //# sourceMappingURL=dialog-C1HRMUcF.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dialog-C1HRMUcF.es.js","sources":["../../src/components/dialog/dialog.tsx"],"sourcesContent":["import { Dialog as ChakraDialog, Portal } from \"@chakra-ui/react\";\n\ninterface DialogContentProps extends ChakraDialog.ContentProps {\n portalled?: boolean;\n portalRef?: React.RefObject<HTMLElement>;\n backdrop?: boolean;\n ref?: React.Ref<HTMLDivElement>;\n}\n\nconst DialogContent = function DialogContent(props: DialogContentProps) {\n const {\n children,\n portalled = true,\n portalRef,\n backdrop = true,\n ref,\n ...rest\n } = props;\n\n return (\n <Portal disabled={!portalled} container={portalRef}>\n {backdrop && <ChakraDialog.Backdrop />}\n <ChakraDialog.Positioner>\n <ChakraDialog.Content ref={ref} {...rest} asChild={false}>\n {children}\n </ChakraDialog.Content>\n </ChakraDialog.Positioner>\n </Portal>\n );\n};\n\n// Create a type-safe composite object with explicit component definitions\ninterface DialogComponents {\n Root: typeof ChakraDialog.Root;\n Trigger: typeof ChakraDialog.Trigger;\n Content: typeof DialogContent;\n Backdrop: typeof ChakraDialog.Backdrop;\n Positioner: typeof ChakraDialog.Positioner;\n Title: typeof ChakraDialog.Title;\n Description: typeof ChakraDialog.Description;\n Body: typeof ChakraDialog.Body;\n Footer: typeof ChakraDialog.Footer;\n Header: typeof ChakraDialog.Header;\n CloseTrigger: typeof ChakraDialog.CloseTrigger;\n ActionTrigger: typeof ChakraDialog.ActionTrigger;\n}\n\n/**\n * @experimental This component is experimental and may change or be removed in future versions.\n */\n// Export the Dialog composite with proper typing\nexport const Dialog: DialogComponents = {\n Root: ChakraDialog.Root,\n Trigger: ChakraDialog.Trigger,\n Content: DialogContent,\n Backdrop: ChakraDialog.Backdrop,\n Positioner: ChakraDialog.Positioner,\n Title: ChakraDialog.Title,\n Description: ChakraDialog.Description,\n Body: ChakraDialog.Body,\n Footer: ChakraDialog.Footer,\n Header: ChakraDialog.Header,\n CloseTrigger: ChakraDialog.CloseTrigger,\n ActionTrigger: ChakraDialog.ActionTrigger,\n};\n"],"names":["DialogContent","props","children","portalled","portalRef","backdrop","ref","rest","Portal","jsx","ChakraDialog","Dialog"],"mappings":";;AASA,MAAMA,IAAgB,SAAuBC,GAA2B;AACtE,QAAM;AAAA,IACJ,UAAAC;AAAA,IACA,WAAAC,IAAY;AAAA,IACZ,WAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,KAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,IACDN;AAEJ,2BACGO,GAAA,EAAO,UAAU,CAACL,GAAW,WAAWC,GACtC,UAAA;AAAA,IAAAC,KAAY,gBAAAI,EAACC,EAAa,UAAb,CAAA,CAAsB;AAAA,IACpC,gBAAAD,EAACC,EAAa,YAAb,EACC,4BAACA,EAAa,SAAb,EAAqB,KAAAJ,GAAW,GAAGC,GAAM,SAAS,IAChD,UAAAL,GACH,EAAA,CACF;AAAA,EAAA,GACF;AAEJ,GAsBaS,IAA2B;AAAA,EACtC,MAAMD,EAAa;AAAA,EACnB,SAASA,EAAa;AAAA,EACtB,SAASV;AAAA,EACT,UAAUU,EAAa;AAAA,EACvB,YAAYA,EAAa;AAAA,EACzB,OAAOA,EAAa;AAAA,EACpB,aAAaA,EAAa;AAAA,EAC1B,MAAMA,EAAa;AAAA,EACnB,QAAQA,EAAa;AAAA,EACrB,QAAQA,EAAa;AAAA,EACrB,cAAcA,EAAa;AAAA,EAC3B,eAAeA,EAAa;AAC9B;"}
@@ -1,2 +0,0 @@
1
- "use strict";const i=require("react/jsx-runtime"),o=require("@chakra-ui/react"),s=function(e){const{children:r,portalled:t=!0,portalRef:a,backdrop:l=!0,ref:g,...n}=e;return i.jsxs(o.Portal,{disabled:!t,container:a,children:[l&&i.jsx(o.Dialog.Backdrop,{}),i.jsx(o.Dialog.Positioner,{children:i.jsx(o.Dialog.Content,{ref:g,...n,asChild:!1,children:r})})]})},c={Root:o.Dialog.Root,Trigger:o.Dialog.Trigger,Content:s,Backdrop:o.Dialog.Backdrop,Positioner:o.Dialog.Positioner,Title:o.Dialog.Title,Description:o.Dialog.Description,Body:o.Dialog.Body,Footer:o.Dialog.Footer,Header:o.Dialog.Header,CloseTrigger:o.Dialog.CloseTrigger,ActionTrigger:o.Dialog.ActionTrigger};exports.Dialog=c;
2
- //# sourceMappingURL=dialog-amEwvIoM.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dialog-amEwvIoM.cjs.js","sources":["../../src/components/dialog/dialog.tsx"],"sourcesContent":["import { Dialog as ChakraDialog, Portal } from \"@chakra-ui/react\";\n\ninterface DialogContentProps extends ChakraDialog.ContentProps {\n portalled?: boolean;\n portalRef?: React.RefObject<HTMLElement>;\n backdrop?: boolean;\n ref?: React.Ref<HTMLDivElement>;\n}\n\nconst DialogContent = function DialogContent(props: DialogContentProps) {\n const {\n children,\n portalled = true,\n portalRef,\n backdrop = true,\n ref,\n ...rest\n } = props;\n\n return (\n <Portal disabled={!portalled} container={portalRef}>\n {backdrop && <ChakraDialog.Backdrop />}\n <ChakraDialog.Positioner>\n <ChakraDialog.Content ref={ref} {...rest} asChild={false}>\n {children}\n </ChakraDialog.Content>\n </ChakraDialog.Positioner>\n </Portal>\n );\n};\n\n// Create a type-safe composite object with explicit component definitions\ninterface DialogComponents {\n Root: typeof ChakraDialog.Root;\n Trigger: typeof ChakraDialog.Trigger;\n Content: typeof DialogContent;\n Backdrop: typeof ChakraDialog.Backdrop;\n Positioner: typeof ChakraDialog.Positioner;\n Title: typeof ChakraDialog.Title;\n Description: typeof ChakraDialog.Description;\n Body: typeof ChakraDialog.Body;\n Footer: typeof ChakraDialog.Footer;\n Header: typeof ChakraDialog.Header;\n CloseTrigger: typeof ChakraDialog.CloseTrigger;\n ActionTrigger: typeof ChakraDialog.ActionTrigger;\n}\n\n/**\n * @experimental This component is experimental and may change or be removed in future versions.\n */\n// Export the Dialog composite with proper typing\nexport const Dialog: DialogComponents = {\n Root: ChakraDialog.Root,\n Trigger: ChakraDialog.Trigger,\n Content: DialogContent,\n Backdrop: ChakraDialog.Backdrop,\n Positioner: ChakraDialog.Positioner,\n Title: ChakraDialog.Title,\n Description: ChakraDialog.Description,\n Body: ChakraDialog.Body,\n Footer: ChakraDialog.Footer,\n Header: ChakraDialog.Header,\n CloseTrigger: ChakraDialog.CloseTrigger,\n ActionTrigger: ChakraDialog.ActionTrigger,\n};\n"],"names":["DialogContent","props","children","portalled","portalRef","backdrop","ref","rest","Portal","jsx","ChakraDialog","Dialog"],"mappings":"gFASMA,EAAgB,SAAuBC,EAA2B,CACtE,KAAM,CACJ,SAAAC,EACA,UAAAC,EAAY,GACZ,UAAAC,EACA,SAAAC,EAAW,GACX,IAAAC,EACA,GAAGC,CAAA,EACDN,EAEJ,cACGO,EAAAA,OAAA,CAAO,SAAU,CAACL,EAAW,UAAWC,EACtC,SAAA,CAAAC,GAAYI,EAAAA,IAACC,SAAa,SAAb,CAAA,CAAsB,EACpCD,EAAAA,IAACC,EAAAA,OAAa,WAAb,CACC,eAACA,EAAAA,OAAa,QAAb,CAAqB,IAAAJ,EAAW,GAAGC,EAAM,QAAS,GAChD,SAAAL,EACH,CAAA,CACF,CAAA,EACF,CAEJ,EAsBaS,EAA2B,CACtC,KAAMD,EAAAA,OAAa,KACnB,QAASA,EAAAA,OAAa,QACtB,QAASV,EACT,SAAUU,EAAAA,OAAa,SACvB,WAAYA,EAAAA,OAAa,WACzB,MAAOA,EAAAA,OAAa,MACpB,YAAaA,EAAAA,OAAa,YAC1B,KAAMA,EAAAA,OAAa,KACnB,OAAQA,EAAAA,OAAa,OACrB,OAAQA,EAAAA,OAAa,OACrB,aAAcA,EAAAA,OAAa,aAC3B,cAAeA,EAAAA,OAAa,aAC9B"}
@@ -1,2 +0,0 @@
1
- "use strict";const l=require("react/jsx-runtime"),p=require("react"),r=require("@chakra-ui/react"),b=require("./useObjectRef-4v2MxSjQ.cjs.js"),u=require("./mergeProps-VvQrkhSh.cjs.js"),h=require("./useSeparator-CZKjqF0N.cjs.js"),x=r.defineRecipe({className:"nimbus-divider",base:{border:"none",flexShrink:"0",color:"neutral",borderColor:"colorPalette.6"},variants:{orientation:{horizontal:{width:"100%",height:"1px",borderTopWidth:"1px",borderTopStyle:"solid",borderLeftWidth:"0"},vertical:{height:"100%",width:"1px",borderLeftWidth:"1px",borderLeftStyle:"solid",borderTopWidth:"0"}}},defaultVariants:{orientation:"horizontal"}}),{withContext:R}=r.createRecipeContext({recipe:x}),$=R("div"),o=i=>{const{ref:n,as:s,orientation:e="horizontal",...t}=i,a=p.useRef(null),d=b.$df56164dff5785e2$export$4338b53315abf666(r.mergeRefs(a,n)),c=s||"div",{separatorProps:f}=h.$f4b273590fab9f93$export$52210f68a14655d0({orientation:e,...t});return l.jsx($,{as:c,...u.$3ef42575df84b30b$export$9d1611c77c2fe928(t,{ref:d,orientation:e},f,{"aria-orientation":e})})};o.displayName="Divider";exports.Divider=o;
2
- //# sourceMappingURL=divider-CifCuFCu.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"divider-CifCuFCu.cjs.js","sources":["../../src/components/divider/divider.recipe.ts","../../src/components/divider/divider.slots.tsx","../../src/components/divider/divider.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Divider component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const dividerRecipe = defineRecipe({\n className: \"nimbus-divider\",\n\n // Base styles applied to all instances of the component\n base: {\n border: \"none\",\n flexShrink: \"0\",\n color: \"neutral\",\n borderColor: \"colorPalette.6\",\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n orientation: {\n horizontal: {\n width: \"100%\",\n height: \"1px\",\n borderTopWidth: \"1px\",\n borderTopStyle: \"solid\",\n borderLeftWidth: \"0\",\n },\n vertical: {\n height: \"100%\",\n width: \"1px\",\n borderLeftWidth: \"1px\",\n borderLeftStyle: \"solid\",\n borderTopWidth: \"0\",\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n orientation: \"horizontal\",\n },\n});\n","import { createRecipeContext } from \"@chakra-ui/react\";\n\nimport { dividerRecipe } from \"./divider.recipe\";\nimport type { DividerRootProps } from \"./divider.types\";\n\nconst { withContext } = createRecipeContext({ recipe: dividerRecipe });\n\nexport const DividerRoot = withContext<HTMLDivElement, DividerRootProps>(\"div\");\n","import { useRef } from \"react\";\nimport { useSeparator, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { DividerRoot } from \"./divider.slots\";\nimport type { DividerProps } from \"./divider.types\";\n\n/**\n * Divider\n * ============================================================\n * A visual separator that divides content sections\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'orientation', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n * - built with React Aria for accessibility\n */\n\nexport const Divider = (props: DividerProps) => {\n const { ref: forwardedRef, as, orientation = \"horizontal\", ...rest } = props;\n\n const localRef = useRef<HTMLDivElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = as || \"div\";\n\n // Use React Aria's useSeparator hook for accessibility\n const { separatorProps } = useSeparator({\n orientation,\n ...rest,\n });\n\n return (\n <DividerRoot\n as={elementType}\n {...mergeProps(rest, { ref, orientation }, separatorProps, {\n \"aria-orientation\": orientation,\n })}\n />\n );\n};\n\nDivider.displayName = \"Divider\";\n"],"names":["dividerRecipe","defineRecipe","withContext","createRecipeContext","DividerRoot","Divider","props","forwardedRef","as","orientation","rest","localRef","useRef","ref","useObjectRef","mergeRefs","elementType","separatorProps","useSeparator","jsx","mergeProps"],"mappings":"qOAMaA,EAAgBC,EAAAA,aAAa,CACxC,UAAW,iBAGX,KAAM,CACJ,OAAQ,OACR,WAAY,IACZ,MAAO,UACP,YAAa,gBAAA,EAIf,SAAU,CACR,YAAa,CACX,WAAY,CACV,MAAO,OACP,OAAQ,MACR,eAAgB,MAChB,eAAgB,QAChB,gBAAiB,GAAA,EAEnB,SAAU,CACR,OAAQ,OACR,MAAO,MACP,gBAAiB,MACjB,gBAAiB,QACjB,eAAgB,GAAA,CAClB,CACF,EAIF,gBAAiB,CACf,YAAa,YAAA,CAEjB,CAAC,ECpCK,CAAE,YAAAC,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQH,EAAe,EAExDI,EAAcF,EAA8C,KAAK,ECcjEG,EAAWC,GAAwB,CAC9C,KAAM,CAAE,IAAKC,EAAc,GAAAC,EAAI,YAAAC,EAAc,aAAc,GAAGC,GAASJ,EAEjEK,EAAWC,EAAAA,OAAuB,IAAI,EACtCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUJ,CAAY,CAAC,EAEpDS,EAAcR,GAAM,MAGpB,CAAE,eAAAS,CAAA,EAAmBC,4CAAa,CACtC,YAAAT,EACA,GAAGC,CAAA,CACJ,EAED,OACES,EAAAA,IAACf,EAAA,CACC,GAAIY,EACH,GAAGI,EAAAA,0CAAWV,EAAM,CAAE,IAAAG,EAAK,YAAAJ,CAAA,EAAeQ,EAAgB,CACzD,mBAAoBR,CAAA,CACrB,CAAA,CAAA,CAGP,EAEAJ,EAAQ,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"divider-Js2LpOHh.es.js","sources":["../../src/components/divider/divider.recipe.ts","../../src/components/divider/divider.slots.tsx","../../src/components/divider/divider.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Divider component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const dividerRecipe = defineRecipe({\n className: \"nimbus-divider\",\n\n // Base styles applied to all instances of the component\n base: {\n border: \"none\",\n flexShrink: \"0\",\n color: \"neutral\",\n borderColor: \"colorPalette.6\",\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n orientation: {\n horizontal: {\n width: \"100%\",\n height: \"1px\",\n borderTopWidth: \"1px\",\n borderTopStyle: \"solid\",\n borderLeftWidth: \"0\",\n },\n vertical: {\n height: \"100%\",\n width: \"1px\",\n borderLeftWidth: \"1px\",\n borderLeftStyle: \"solid\",\n borderTopWidth: \"0\",\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n orientation: \"horizontal\",\n },\n});\n","import { createRecipeContext } from \"@chakra-ui/react\";\n\nimport { dividerRecipe } from \"./divider.recipe\";\nimport type { DividerRootProps } from \"./divider.types\";\n\nconst { withContext } = createRecipeContext({ recipe: dividerRecipe });\n\nexport const DividerRoot = withContext<HTMLDivElement, DividerRootProps>(\"div\");\n","import { useRef } from \"react\";\nimport { useSeparator, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { DividerRoot } from \"./divider.slots\";\nimport type { DividerProps } from \"./divider.types\";\n\n/**\n * Divider\n * ============================================================\n * A visual separator that divides content sections\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'orientation', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n * - built with React Aria for accessibility\n */\n\nexport const Divider = (props: DividerProps) => {\n const { ref: forwardedRef, as, orientation = \"horizontal\", ...rest } = props;\n\n const localRef = useRef<HTMLDivElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = as || \"div\";\n\n // Use React Aria's useSeparator hook for accessibility\n const { separatorProps } = useSeparator({\n orientation,\n ...rest,\n });\n\n return (\n <DividerRoot\n as={elementType}\n {...mergeProps(rest, { ref, orientation }, separatorProps, {\n \"aria-orientation\": orientation,\n })}\n />\n );\n};\n\nDivider.displayName = \"Divider\";\n"],"names":["dividerRecipe","defineRecipe","withContext","createRecipeContext","DividerRoot","Divider","props","forwardedRef","as","orientation","rest","localRef","useRef","ref","useObjectRef","mergeRefs","elementType","separatorProps","useSeparator","jsx","mergeProps"],"mappings":";;;;;;AAMO,MAAMA,IAAgB,gBAAAC,EAAa;AAAA,EACxC,WAAW;AAAA;AAAA,EAGX,MAAM;AAAA,IACJ,QAAQ;AAAA,IACR,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,aAAa;AAAA,EAAA;AAAA;AAAA,EAIf,UAAU;AAAA,IACR,aAAa;AAAA,MACX,YAAY;AAAA,QACV,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,gBAAgB;AAAA,QAChB,gBAAgB;AAAA,QAChB,iBAAiB;AAAA,MAAA;AAAA,MAEnB,UAAU;AAAA,QACR,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,iBAAiB;AAAA,QACjB,iBAAiB;AAAA,QACjB,gBAAgB;AAAA,MAAA;AAAA,IAClB;AAAA,EACF;AAAA;AAAA,EAIF,iBAAiB;AAAA,IACf,aAAa;AAAA,EAAA;AAEjB,CAAC,GCpCK,EAAE,aAAAC,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQH,GAAe,GAExDI,IAAc,gBAAAF,EAA8C,KAAK,GCcjEG,IAAU,CAACC,MAAwB;AAC9C,QAAM,EAAE,KAAKC,GAAc,IAAAC,GAAI,aAAAC,IAAc,cAAc,GAAGC,MAASJ,GAEjEK,IAAWC,EAAuB,IAAI,GACtCC,IAAMC,EAAaC,EAAUJ,GAAUJ,CAAY,CAAC,GAEpDS,IAAcR,KAAM,OAGpB,EAAE,gBAAAS,EAAA,IAAmBC,EAAa;AAAA,IACtC,aAAAT;AAAA,IACA,GAAGC;AAAA,EAAA,CACJ;AAED,SACE,gBAAAS;AAAA,IAACf;AAAA,IAAA;AAAA,MACC,IAAIY;AAAA,MACH,GAAGI,EAAWV,GAAM,EAAE,KAAAG,GAAK,aAAAJ,EAAA,GAAeQ,GAAgB;AAAA,QACzD,oBAAoBR;AAAA,MAAA,CACrB;AAAA,IAAA;AAAA,EAAA;AAGP;AAEAJ,EAAQ,cAAc;"}
@@ -1,11 +0,0 @@
1
- import { defaultSystem as c } from "@chakra-ui/react";
2
- function a(e) {
3
- const r = {}, o = { ...e };
4
- return Object.keys(e).forEach((t) => {
5
- Object.prototype.hasOwnProperty.call(e, t) && c.isValidProperty(t) && (r[t] = e[t], delete o[t]);
6
- }), [r, o];
7
- }
8
- export {
9
- a as e
10
- };
11
- //# sourceMappingURL=extractStyleProps-CxgBrz3O.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extractStyleProps-CxgBrz3O.es.js","sources":["../../src/utils/extractStyleProps.ts"],"sourcesContent":["import { defaultSystem } from \"@chakra-ui/react\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n defaultSystem.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","defaultSystem"],"mappings":";AAOO,SAASA,EACdC,GAC4C;AAC5C,QAAMC,IAAsC,CAAA,GACtCC,IAAa,EAAE,GAAGF,EAAA;AAGxB,gBAAO,KAAKA,CAAK,EAAE,QAAQ,CAACG,MAAQ;AAClC,IACE,OAAO,UAAU,eAAe,KAAKH,GAAOG,CAAG,KAC/CC,EAAc,gBAAgBD,CAAG,MAEjCF,EAAWE,CAAG,IAAIH,EAAMG,CAAc,GACtC,OAAOD,EAAWC,CAAG;AAAA,EAEzB,CAAC,GAEM,CAACF,GAAYC,CAA6B;AACnD;"}
@@ -1,2 +0,0 @@
1
- "use strict";const o=require("@chakra-ui/react");function s(e){const r={},c={...e};return Object.keys(e).forEach(t=>{Object.prototype.hasOwnProperty.call(e,t)&&o.defaultSystem.isValidProperty(t)&&(r[t]=e[t],delete c[t])}),[r,c]}exports.extractStyleProps=s;
2
- //# sourceMappingURL=extractStyleProps-lyk7D-zN.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extractStyleProps-lyk7D-zN.cjs.js","sources":["../../src/utils/extractStyleProps.ts"],"sourcesContent":["import { defaultSystem } from \"@chakra-ui/react\";\n\n/**\n * Extracts chakra-ui style-props from an object, separating them from other props\n * @param props The props object to separate\n * @returns A tuple containing [styleProps, otherProps]\n */\nexport function extractStyleProps<T extends object>(\n props: T\n): [Record<string, unknown>, Omit<T, string>] {\n const styleProps: Record<string, unknown> = {};\n const otherProps = { ...props } as Record<string, unknown>;\n\n // Process only own properties\n Object.keys(props).forEach((key) => {\n if (\n Object.prototype.hasOwnProperty.call(props, key) &&\n defaultSystem.isValidProperty(key)\n ) {\n styleProps[key] = props[key as keyof T];\n delete otherProps[key];\n }\n });\n\n return [styleProps, otherProps as Omit<T, string>];\n}\n"],"names":["extractStyleProps","props","styleProps","otherProps","key","defaultSystem"],"mappings":"iDAOO,SAASA,EACdC,EAC4C,CAC5C,MAAMC,EAAsC,CAAA,EACtCC,EAAa,CAAE,GAAGF,CAAA,EAGxB,cAAO,KAAKA,CAAK,EAAE,QAASG,GAAQ,CAEhC,OAAO,UAAU,eAAe,KAAKH,EAAOG,CAAG,GAC/CC,EAAAA,cAAc,gBAAgBD,CAAG,IAEjCF,EAAWE,CAAG,EAAIH,EAAMG,CAAc,EACtC,OAAOD,EAAWC,CAAG,EAEzB,CAAC,EAEM,CAACF,EAAYC,CAA6B,CACnD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-CmiwMrRv.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\";\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\";\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 inputs in a FormField context\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":";;;;;;;;AA6BO,MAAMA,IAAmB,gBAAAC,EAAoC;AAAA,EAClE,SAAS;AAAA,IACP,OAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,EAAA;AAAA,EAET,YAAY,MAAM;AAAA,EAAC;AACrB,CAAC,GCpCKC,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA,GAMfC,IAAY;AAAA;AAAA;AAAA;AAAA,GAULC,IAAkB,gBAAAC,EAAiB;AAAA,EAC9C,OAAO,CAAC,QAAQ,SAAS,SAAS,eAAe,SAAS,SAAS;AAAA;AAAA,EAEnE,WAAW;AAAA,EAEX,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,cAAc;AAAA,MAEd,SAAS;AAAA,MACT,OAAO;AAAA,IAAA;AAAA,IAET,OAAO;AAAA,MACL,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,OAAO;AAAA,MACP,UAAU;AAAA,MACV,YAAY;AAAA,IAAA;AAAA,IAEd,OAAO;AAAA,MACL,UAAU;AAAA,IAAA;AAAA,IAEZ,aAAa;AAAA,MACX,UAAU;AAAA,MACV,OAAO;AAAA,MACP,UAAU;AAAA,MACV,YAAY;AAAA,IAAA;AAAA,IAEd,OAAO;AAAA,MACL,UAAU;AAAA,MACV,OAAO;AAAA,MACP,UAAU;AAAA,MACV,YAAY;AAAA,IAAA;AAAA,IAEd,SAAS;AAAA,MACP,qBAAqB;AAAA,MACrB,kBAAkB;AAAA,MAClB,IAAI;AAAA,MACJ,UAAU;AAAA,MACV,cAAc;AAAA,MACd,WAAW;AAAA,MACX,QAAQ;AAAA,MACR,aAAa;AAAA,MACb,WAAW;AAAA,MACX,UAAU;AAAA,MACV,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C,UAAAjC;AAAA,EACA,GAAGkC;AACL,MAAqC;AACnC,QAAM,EAAE,YAAA9B,EAAA,IAAe0B,EAAWnD,CAAgB;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;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-kTuQQx9G.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\";\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\";\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 inputs in a FormField context\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":"wSA6BaA,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,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jsx as i } from "react/jsx-runtime";
2
- import { GridItem as e, Grid as m } from "@chakra-ui/react";
3
- const r = (t) => {
4
- const { ref: o, ...s } = t;
5
- return /* @__PURE__ */ i(m, { ref: o, ...s });
6
- };
7
- r.displayName = "Grid";
8
- const G = /* @__PURE__ */ Object.assign(r, {
9
- Item: e
10
- });
11
- export {
12
- G
13
- };
14
- //# sourceMappingURL=grid-CugcJxRP.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"grid-CugcJxRP.es.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\";\n\n/**\n * Grid\n * ============================================================\n * The Grid Layout Component provides a flexible and responsive way to structure content using a two-dimensional grid system. It allows elements to be arranged in rows and columns, enabling dynamic and efficient layouts for different screen sizes.\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\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":";;AAoBA,MAAMA,IAAgB,CAACC,MAAqB;AAC1C,QAAM,EAAE,KAAAC,GAAK,GAAGC,EAAA,IAAcF;AAC9B,SAAO,gBAAAG,EAACC,GAAA,EAAW,KAAAH,GAAW,GAAGC,EAAA,CAAW;AAC9C;AAEAH,EAAc,cAAc;AAErB,MAAMM,IAAO,uBAAO,OAAON,GAAe;AAAA,EAC/C,MAAMO;AACR,CAAC;"}
@@ -1,2 +0,0 @@
1
- "use strict";const n=require("react/jsx-runtime"),r=require("@chakra-ui/react"),e=t=>{const{ref:s,...i}=t;return n.jsx(r.Grid,{ref:s,...i})};e.displayName="Grid";const c=Object.assign(e,{Item:r.GridItem});exports.Grid=c;
2
- //# sourceMappingURL=grid-xr2A-OqD.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"grid-xr2A-OqD.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\";\n\n/**\n * Grid\n * ============================================================\n * The Grid Layout Component provides a flexible and responsive way to structure content using a two-dimensional grid system. It allows elements to be arranged in rows and columns, enabling dynamic and efficient layouts for different screen sizes.\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\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":"gFAoBMA,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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon-BFNYuilh.es.js","sources":["../../src/components/icon/icon.recipe.tsx","../../src/components/icon/icon.slots.tsx","../../src/components/icon/icon.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Icon component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const iconRecipe = defineRecipe({\n className: \"nimbus-icon\",\n base: {\n display: \"inline-block\",\n },\n\n variants: {\n /**\n * allows applying a predefined size to the icon\n */\n size: {\n \"2xs\": { boxSize: \"600\" },\n xs: { boxSize: \"800\" },\n sm: { boxSize: \"900\" },\n md: { boxSize: \"1000\" },\n lg: { boxSize: \"1200\" },\n xl: { boxSize: \"1400\" },\n },\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { iconRecipe } from \"./icon.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the svg element.\n */\ninterface IconRecipeProps extends RecipeProps<\"svg\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport interface IconRootSlotProps\n extends HTMLChakraProps<\"svg\", IconRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: iconRecipe });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const IconRootSlot = withContext<SVGSVGElement, IconRootSlotProps>(\n \"svg\"\n);\n","import { IconRootSlot } from \"./icon.slots\";\nimport type { IconProps } from \"./icon.types\";\n\n/**\n * Icon\n * displays icon components\n */\nexport const Icon = (props: IconProps) => {\n const { ref, ...restProps } = props;\n return <IconRootSlot ref={ref} asChild={!restProps.as} {...restProps} />;\n};\n\nIcon.displayName = \"Icon\";\n"],"names":["iconRecipe","defineRecipe","withContext","createRecipeContext","IconRootSlot","Icon","props","ref","restProps","jsx"],"mappings":";;AAMO,MAAMA,IAAa,gBAAAC,EAAa;AAAA,EACrC,WAAW;AAAA,EACX,MAAM;AAAA,IACJ,SAAS;AAAA,EAAA;AAAA,EAGX,UAAU;AAAA;AAAA;AAAA;AAAA,IAIR,MAAM;AAAA,MACJ,OAAO,EAAE,SAAS,MAAA;AAAA,MAClB,IAAI,EAAE,SAAS,MAAA;AAAA,MACf,IAAI,EAAE,SAAS,MAAA;AAAA,MACf,IAAI,EAAE,SAAS,OAAA;AAAA,MACf,IAAI,EAAE,SAAS,OAAA;AAAA,MACf,IAAI,EAAE,SAAS,OAAA;AAAA,IAAO;AAAA,EACxB;AAEJ,CAAC,GCFK,EAAE,aAAAC,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQH,GAAY,GAMrDI,IAAe,gBAAAF;AAAA,EAC1B;AACF,GCxBaG,IAAO,CAACC,MAAqB;AACxC,QAAM,EAAE,KAAAC,GAAK,GAAGC,EAAA,IAAcF;AAC9B,SAAO,gBAAAG,EAACL,KAAa,KAAAG,GAAU,SAAS,CAACC,EAAU,IAAK,GAAGA,GAAW;AACxE;AAEAH,EAAK,cAAc;"}
@@ -1,2 +0,0 @@
1
- "use strict";const n=require("react/jsx-runtime"),s=require("@chakra-ui/react"),t=s.defineRecipe({className:"nimbus-icon",base:{display:"inline-block"},variants:{size:{"2xs":{boxSize:"600"},xs:{boxSize:"800"},sm:{boxSize:"900"},md:{boxSize:"1000"},lg:{boxSize:"1200"},xl:{boxSize:"1400"}}}}),{withContext:r}=s.createRecipeContext({recipe:t}),x=r("svg"),i=o=>{const{ref:c,...e}=o;return n.jsx(x,{ref:c,asChild:!e.as,...e})};i.displayName="Icon";exports.Icon=i;
2
- //# sourceMappingURL=icon-D50i-dqv.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon-D50i-dqv.cjs.js","sources":["../../src/components/icon/icon.recipe.tsx","../../src/components/icon/icon.slots.tsx","../../src/components/icon/icon.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\n/**\n * Recipe configuration for the Icon component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const iconRecipe = defineRecipe({\n className: \"nimbus-icon\",\n base: {\n display: \"inline-block\",\n },\n\n variants: {\n /**\n * allows applying a predefined size to the icon\n */\n size: {\n \"2xs\": { boxSize: \"600\" },\n xs: { boxSize: \"800\" },\n sm: { boxSize: \"900\" },\n md: { boxSize: \"1000\" },\n lg: { boxSize: \"1200\" },\n xl: { boxSize: \"1400\" },\n },\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { iconRecipe } from \"./icon.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the svg element.\n */\ninterface IconRecipeProps extends RecipeProps<\"svg\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport interface IconRootSlotProps\n extends HTMLChakraProps<\"svg\", IconRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: iconRecipe });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const IconRootSlot = withContext<SVGSVGElement, IconRootSlotProps>(\n \"svg\"\n);\n","import { IconRootSlot } from \"./icon.slots\";\nimport type { IconProps } from \"./icon.types\";\n\n/**\n * Icon\n * displays icon components\n */\nexport const Icon = (props: IconProps) => {\n const { ref, ...restProps } = props;\n return <IconRootSlot ref={ref} asChild={!restProps.as} {...restProps} />;\n};\n\nIcon.displayName = \"Icon\";\n"],"names":["iconRecipe","defineRecipe","withContext","createRecipeContext","IconRootSlot","Icon","props","ref","restProps","jsx"],"mappings":"gFAMaA,EAAaC,EAAAA,aAAa,CACrC,UAAW,cACX,KAAM,CACJ,QAAS,cAAA,EAGX,SAAU,CAIR,KAAM,CACJ,MAAO,CAAE,QAAS,KAAA,EAClB,GAAI,CAAE,QAAS,KAAA,EACf,GAAI,CAAE,QAAS,KAAA,EACf,GAAI,CAAE,QAAS,MAAA,EACf,GAAI,CAAE,QAAS,MAAA,EACf,GAAI,CAAE,QAAS,MAAA,CAAO,CACxB,CAEJ,CAAC,ECFK,CAAE,YAAAC,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQH,EAAY,EAMrDI,EAAeF,EAC1B,KACF,ECxBaG,EAAQC,GAAqB,CACxC,KAAM,CAAE,IAAAC,EAAK,GAAGC,CAAA,EAAcF,EAC9B,OAAOG,EAAAA,IAACL,GAAa,IAAAG,EAAU,QAAS,CAACC,EAAU,GAAK,GAAGA,EAAW,CACxE,EAEAH,EAAK,YAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon-button-CPBzhg2C.es.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * IconButton\n * ============================================================\n * displays a button with only an icon as child. It is based\n * on the regular `Button` component, but with a few adjustments.\n */\nexport const IconButton = (props: IconButtonProps) => {\n const { children, ref: forwardedRef, ...restProps } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n return (\n <Button px={0} py={0} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"names":["IconButton","props","children","forwardedRef","restProps","localRef","useRef","ref","useObjectRef","mergeRefs","jsx","Button"],"mappings":";;;;;AAYO,MAAMA,IAAa,CAACC,MAA2B;AACpD,QAAM,EAAE,UAAAC,GAAU,KAAKC,GAAc,GAAGC,MAAcH,GAGhDI,IAAWC,EAA0B,IAAI,GACzCC,IAAMC,EAAaC,EAAUJ,GAAUF,CAAY,CAAC;AAE1D,SACE,gBAAAO,EAACC,KAAO,IAAI,GAAG,IAAI,GAAI,GAAGP,GAAW,KAAAG,GAClC,UAAAL,EAAA,CACH;AAEJ;AAEAF,EAAW,cAAc;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon-button-QwpNTUZ8.cjs.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * IconButton\n * ============================================================\n * displays a button with only an icon as child. It is based\n * on the regular `Button` component, but with a few adjustments.\n */\nexport const IconButton = (props: IconButtonProps) => {\n const { children, ref: forwardedRef, ...restProps } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n return (\n <Button px={0} py={0} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"names":["IconButton","props","children","forwardedRef","restProps","localRef","useRef","ref","useObjectRef","mergeRefs","jsx","Button"],"mappings":"qLAYaA,EAAcC,GAA2B,CACpD,KAAM,CAAE,SAAAC,EAAU,IAAKC,EAAc,GAAGC,GAAcH,EAGhDI,EAAWC,EAAAA,OAA0B,IAAI,EACzCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUF,CAAY,CAAC,EAE1D,OACEO,MAACC,EAAAA,QAAO,GAAI,EAAG,GAAI,EAAI,GAAGP,EAAW,IAAAG,EAClC,SAAAL,CAAA,CACH,CAEJ,EAEAF,EAAW,YAAc"}
@@ -1,2 +0,0 @@
1
- "use strict";const s=require("react/jsx-runtime"),t=require("@chakra-ui/react"),e=r=>s.jsx(t.Image,{...r});e.displayName="Image";exports.Image=e;
2
- //# sourceMappingURL=image-DCirAAnr.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"image-DCirAAnr.cjs.js","sources":["../../src/components/image/image.tsx"],"sourcesContent":["import {\n Image as ChakraImage,\n type ImageProps as ChakraImageProps,\n} from \"@chakra-ui/react\";\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface ImageProps extends ChakraImageProps {}\n\n/**\n * Image\n *\n * Use this component to display an image.\n */\nexport const Image = (props: ImageProps) => {\n return <ChakraImage {...props} />;\n};\n\nImage.displayName = \"Image\";\n"],"names":["Image","props","jsx","ChakraImage"],"mappings":"gFAaaA,EAASC,GACbC,MAACC,EAAAA,MAAA,CAAa,GAAGF,CAAA,CAAO,EAGjCD,EAAM,YAAc"}
@@ -1,8 +0,0 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { Image as e } from "@chakra-ui/react";
3
- const r = (m) => /* @__PURE__ */ a(e, { ...m });
4
- r.displayName = "Image";
5
- export {
6
- r as I
7
- };
8
- //# sourceMappingURL=image-rXPA3shk.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"image-rXPA3shk.es.js","sources":["../../src/components/image/image.tsx"],"sourcesContent":["import {\n Image as ChakraImage,\n type ImageProps as ChakraImageProps,\n} from \"@chakra-ui/react\";\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface ImageProps extends ChakraImageProps {}\n\n/**\n * Image\n *\n * Use this component to display an image.\n */\nexport const Image = (props: ImageProps) => {\n return <ChakraImage {...props} />;\n};\n\nImage.displayName = \"Image\";\n"],"names":["Image","props","jsx","ChakraImage"],"mappings":";;AAaO,MAAMA,IAAQ,CAACC,MACb,gBAAAC,EAACC,GAAA,EAAa,GAAGF,EAAA,CAAO;AAGjCD,EAAM,cAAc;"}
@@ -1,2 +0,0 @@
1
- "use strict";const i=require("react/jsx-runtime"),d=require("./utils-sWqo2nmW.cjs.js"),f=require("./Keyboard-rYf2KxZN.cjs.js"),t=require("@chakra-ui/react"),u=require("react"),a=require("./kbd.recipe-UlkJJrC8.cjs.js"),b=require("./useObjectRef-4v2MxSjQ.cjs.js"),{withContext:$}=t.createRecipeContext({recipe:a.kbdRecipe}),R=$("kbd"),l=({ref:r,slot:o,...c})=>{const s=u.useRef(null),e=b.$df56164dff5785e2$export$4338b53315abf666(t.mergeRefs(s,r)),[n]=d.$64fa3d84918910a7$export$29f1550f4b0d4415(c,e,f.$63df2425e2108aa8$export$744d98a3b8a94e1c);return i.jsx(R,{ref:e,slot:o||void 0,...n})};exports.Kbd=l;
2
- //# sourceMappingURL=kbd-Bkhw9E6L.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"kbd-Bkhw9E6L.cjs.js","sources":["../../src/components/kbd/kbd.slots.ts","../../src/components/kbd/kbd.tsx"],"sourcesContent":["import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { kbdRecipe } from \"./kbd.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the svg element.\n */\ninterface KbdRecipeProps extends RecipeProps<\"kbd\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport interface KbdRootSlotProps\n extends HTMLChakraProps<\"kbd\", KbdRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: kbdRecipe });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const KbdRootSlot = withContext<HTMLElement, KbdRootSlotProps>(\"kbd\");\n","import { KeyboardContext, useContextProps } from \"react-aria-components\";\nimport { mergeRefs, type KbdProps as ChakraKbdProps } from \"@chakra-ui/react\";\nimport { useRef } from \"react\";\nimport type React from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { KbdRootSlot } from \"./kbd.slots\";\n\nexport interface KbdProps extends Omit<ChakraKbdProps, \"slot\"> {\n ref?: React.Ref<HTMLElement>;\n slot?: string | null | undefined;\n}\n\n/**\n * Kbd component\n *\n * Renders a keyboard shortcut or key combination, styled for visual clarity.\n * Typically used to visually represent keyboard keys\n */\nexport const Kbd = ({ ref: forwardedRef, slot, ...props }: KbdProps) => {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const [rest] = useContextProps(props, ref, KeyboardContext);\n\n return <KbdRootSlot ref={ref} slot={slot || undefined} {...rest} />;\n};\n"],"names":["withContext","createRecipeContext","kbdRecipe","KbdRootSlot","Kbd","forwardedRef","slot","props","localRef","useRef","ref","useObjectRef","mergeRefs","rest","useContextProps","KeyboardContext"],"mappings":"sQAuBM,CAAE,YAAAA,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQC,EAAAA,UAAW,EAMpDC,EAAcH,EAA2C,KAAK,ECX9DI,EAAM,CAAC,CAAE,IAAKC,EAAc,KAAAC,EAAM,GAAGC,KAAsB,CACtE,MAAMC,EAAWC,EAAAA,OAAoB,IAAI,EACnCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUH,CAAY,CAAC,EACpD,CAACQ,CAAI,EAAIC,EAAAA,0CAAgBP,EAAOG,EAAKK,EAAAA,yCAAe,EAE1D,aAAQZ,EAAA,CAAY,IAAAO,EAAU,KAAMJ,GAAQ,OAAY,GAAGO,EAAM,CACnE"}
@@ -1,15 +0,0 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { $ as a } from "./utils-CEdpnSRC.es.js";
3
- import { $ as p } from "./Keyboard-Clnp4zAC.es.js";
4
- import { createRecipeContext as c, mergeRefs as i } from "@chakra-ui/react";
5
- import { useRef as $ } from "react";
6
- import { k as d } from "./kbd.recipe-BONVaPQN.es.js";
7
- import { $ as n } from "./useObjectRef-CaJ5pgjX.es.js";
8
- const { withContext: b } = /* @__PURE__ */ c({ recipe: d }), x = /* @__PURE__ */ b("kbd"), h = ({ ref: t, slot: e, ...r }) => {
9
- const f = $(null), o = n(i(f, t)), [s] = a(r, o, p);
10
- return /* @__PURE__ */ m(x, { ref: o, slot: e || void 0, ...s });
11
- };
12
- export {
13
- h as K
14
- };
15
- //# sourceMappingURL=kbd-Gxvodc1U.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"kbd-Gxvodc1U.es.js","sources":["../../src/components/kbd/kbd.slots.ts","../../src/components/kbd/kbd.tsx"],"sourcesContent":["import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { kbdRecipe } from \"./kbd.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the svg element.\n */\ninterface KbdRecipeProps extends RecipeProps<\"kbd\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport interface KbdRootSlotProps\n extends HTMLChakraProps<\"kbd\", KbdRecipeProps> {}\n\nconst { withContext } = createRecipeContext({ recipe: kbdRecipe });\n\n/**\n * Root component that provides the styling context for the Icon component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const KbdRootSlot = withContext<HTMLElement, KbdRootSlotProps>(\"kbd\");\n","import { KeyboardContext, useContextProps } from \"react-aria-components\";\nimport { mergeRefs, type KbdProps as ChakraKbdProps } from \"@chakra-ui/react\";\nimport { useRef } from \"react\";\nimport type React from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { KbdRootSlot } from \"./kbd.slots\";\n\nexport interface KbdProps extends Omit<ChakraKbdProps, \"slot\"> {\n ref?: React.Ref<HTMLElement>;\n slot?: string | null | undefined;\n}\n\n/**\n * Kbd component\n *\n * Renders a keyboard shortcut or key combination, styled for visual clarity.\n * Typically used to visually represent keyboard keys\n */\nexport const Kbd = ({ ref: forwardedRef, slot, ...props }: KbdProps) => {\n const localRef = useRef<HTMLElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n const [rest] = useContextProps(props, ref, KeyboardContext);\n\n return <KbdRootSlot ref={ref} slot={slot || undefined} {...rest} />;\n};\n"],"names":["withContext","createRecipeContext","kbdRecipe","KbdRootSlot","Kbd","forwardedRef","slot","props","localRef","useRef","ref","useObjectRef","mergeRefs","rest","useContextProps","KeyboardContext"],"mappings":";;;;;;;AAuBA,MAAM,EAAE,aAAAA,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQC,GAAW,GAMpDC,IAAc,gBAAAH,EAA2C,KAAK,GCX9DI,IAAM,CAAC,EAAE,KAAKC,GAAc,MAAAC,GAAM,GAAGC,QAAsB;AACtE,QAAMC,IAAWC,EAAoB,IAAI,GACnCC,IAAMC,EAAaC,EAAUJ,GAAUH,CAAY,CAAC,GACpD,CAACQ,CAAI,IAAIC,EAAgBP,GAAOG,GAAKK,CAAe;AAE1D,2BAAQZ,GAAA,EAAY,KAAAO,GAAU,MAAMJ,KAAQ,QAAY,GAAGO,GAAM;AACnE;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"kbd.recipe-BONVaPQN.es.js","sources":["../../src/components/kbd/kbd.recipe.ts"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const kbdRecipe = defineRecipe({\n className: \"nimbus-kbd\",\n base: {\n display: \"inline-flex\",\n color: \"inherit\",\n fontSize: \".875em\",\n lineHeight: \"1\",\n alignItems: \"center\",\n fontWeight: \"500\",\n fontFamily: \"mono\",\n flexShrink: \"0\",\n whiteSpace: \"nowrap\",\n userSelect: \"none\",\n px: \"150\",\n py: \"100\",\n borderRadius: \"100\",\n border: \"solid-25\",\n borderBottom: \"solid-50\",\n borderColor: \"currentColor\",\n },\n});\n"],"names":["kbdRecipe","defineRecipe"],"mappings":";AAEO,MAAMA,IAAY,gBAAAC,EAAa;AAAA,EACpC,WAAW;AAAA,EACX,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,OAAO;AAAA,IACP,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,cAAc;AAAA,IACd,QAAQ;AAAA,IACR,cAAc;AAAA,IACd,aAAa;AAAA,EAAA;AAEjB,CAAC;"}
@@ -1,2 +0,0 @@
1
- "use strict";const e=require("@chakra-ui/react"),i=e.defineRecipe({className:"nimbus-kbd",base:{display:"inline-flex",color:"inherit",fontSize:".875em",lineHeight:"1",alignItems:"center",fontWeight:"500",fontFamily:"mono",flexShrink:"0",whiteSpace:"nowrap",userSelect:"none",px:"150",py:"100",borderRadius:"100",border:"solid-25",borderBottom:"solid-50",borderColor:"currentColor"}});exports.kbdRecipe=i;
2
- //# sourceMappingURL=kbd.recipe-UlkJJrC8.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"kbd.recipe-UlkJJrC8.cjs.js","sources":["../../src/components/kbd/kbd.recipe.ts"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react\";\n\nexport const kbdRecipe = defineRecipe({\n className: \"nimbus-kbd\",\n base: {\n display: \"inline-flex\",\n color: \"inherit\",\n fontSize: \".875em\",\n lineHeight: \"1\",\n alignItems: \"center\",\n fontWeight: \"500\",\n fontFamily: \"mono\",\n flexShrink: \"0\",\n whiteSpace: \"nowrap\",\n userSelect: \"none\",\n px: \"150\",\n py: \"100\",\n borderRadius: \"100\",\n border: \"solid-25\",\n borderBottom: \"solid-50\",\n borderColor: \"currentColor\",\n },\n});\n"],"names":["kbdRecipe","defineRecipe"],"mappings":"iDAEaA,EAAYC,EAAAA,aAAa,CACpC,UAAW,aACX,KAAM,CACJ,QAAS,cACT,MAAO,UACP,SAAU,SACV,WAAY,IACZ,WAAY,SACZ,WAAY,MACZ,WAAY,OACZ,WAAY,IACZ,WAAY,SACZ,WAAY,OACZ,GAAI,MACJ,GAAI,MACJ,aAAc,MACd,OAAQ,WACR,aAAc,WACd,YAAa,cAAA,CAEjB,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";const h=require("react/jsx-runtime"),T=require("react"),P=require("@chakra-ui/react"),L=require("./link.recipe-CG3leGAx.cjs.js"),g=require("./useObjectRef-4v2MxSjQ.cjs.js"),$=require("./mergeProps-VvQrkhSh.cjs.js"),v=require("./filterDOMProps-_f3L9QML.cjs.js"),b=require("./openLink-BjodHrGD.cjs.js"),D=require("./usePress-Cqy1fzvV.cjs.js"),y=require("./useFocusable-Bbz310Qf.cjs.js");function E(e,s){let{elementType:n="a",onPress:i,onPressStart:a,onPressEnd:o,onClick:d,isDisabled:t,...l}=e,c={};n!=="a"&&(c={role:"link",tabIndex:t?void 0:0});let{focusableProps:x}=y.$f645667febf57a63$export$4c014de7c8940b4c(e,s),{pressProps:f,isPressed:q}=D.$f6c31cce2adf654f$export$45712eceda6fad21({onPress:i,onPressStart:a,onPressEnd:o,onClick:d,isDisabled:t,ref:s}),R=v.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(l,{labelable:!0}),m=$.$3ef42575df84b30b$export$9d1611c77c2fe928(x,f),p=b.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),C=b.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(e);return{isPressed:q,linkProps:$.$3ef42575df84b30b$export$9d1611c77c2fe928(R,C,{...m,...c,"aria-disabled":t||void 0,"aria-current":e["aria-current"],onClick:r=>{var u;(u=f.onClick)===null||u===void 0||u.call(f,r),!p.isNative&&r.currentTarget instanceof HTMLAnchorElement&&r.currentTarget.href&&!r.isDefaultPrevented()&&b.$ea8dcbcb9ea1b556$export$efa8c9099e530235(r.currentTarget,r)&&e.href&&(r.preventDefault(),p.open(r.currentTarget,r,e.href,e.routerOptions))}})}}const{withContext:S}=P.createRecipeContext({recipe:L.linkRecipe}),j=S("a"),k=e=>{const{as:s,asChild:n,children:i,ref:a,...o}=e,d=T.useRef(null),t=g.$df56164dff5785e2$export$4338b53315abf666(P.mergeRefs(d,a)),l=s||(n?"span":"a"),{linkProps:c}=E({...o,elementType:l},t);return h.jsx(j,{...$.$3ef42575df84b30b$export$9d1611c77c2fe928(o,c,{as:s,asChild:n,ref:t}),children:i})};k.displayName="Link";exports.Link=k;
2
- //# sourceMappingURL=link-DJmmcif9.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"link-DJmmcif9.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+link@3.8.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/link/dist/useLink.mjs","../../src/components/link/link.slots.tsx","../../src/components/link/link.tsx"],"sourcesContent":["import {filterDOMProps as $5Ot33$filterDOMProps, mergeProps as $5Ot33$mergeProps, useRouter as $5Ot33$useRouter, useLinkProps as $5Ot33$useLinkProps, shouldClientNavigate as $5Ot33$shouldClientNavigate} from \"@react-aria/utils\";\nimport {useFocusable as $5Ot33$useFocusable, usePress as $5Ot33$usePress} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {\n let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onClick: onClick, isDisabled: isDisabled, ...otherProps } = props;\n let linkProps = {};\n if (elementType !== 'a') linkProps = {\n role: 'link',\n tabIndex: !isDisabled ? 0 : undefined\n };\n let { focusableProps: focusableProps } = (0, $5Ot33$useFocusable)(props, ref);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $5Ot33$usePress)({\n onPress: onPress,\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onClick: onClick,\n isDisabled: isDisabled,\n ref: ref\n });\n let domProps = (0, $5Ot33$filterDOMProps)(otherProps, {\n labelable: true\n });\n let interactionHandlers = (0, $5Ot33$mergeProps)(focusableProps, pressProps);\n let router = (0, $5Ot33$useRouter)();\n let routerLinkProps = (0, $5Ot33$useLinkProps)(props);\n return {\n isPressed: isPressed,\n linkProps: (0, $5Ot33$mergeProps)(domProps, routerLinkProps, {\n ...interactionHandlers,\n ...linkProps,\n 'aria-disabled': isDisabled || undefined,\n 'aria-current': props['aria-current'],\n onClick: (e)=>{\n var _pressProps_onClick;\n (_pressProps_onClick = pressProps.onClick) === null || _pressProps_onClick === void 0 ? void 0 : _pressProps_onClick.call(pressProps, e);\n // If a custom router is provided, prevent default and forward if this link should client navigate.\n if (!router.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.\n !e.isDefaultPrevented() && (0, $5Ot33$shouldClientNavigate)(e.currentTarget, e) && props.href) {\n e.preventDefault();\n router.open(e.currentTarget, e, props.href, props.routerOptions);\n }\n }\n })\n };\n}\n\n\nexport {$298d61e98472621b$export$dcf14c9974fe2767 as useLink};\n//# sourceMappingURL=useLink.module.js.map\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { linkRecipe } from \"./link.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the a element.\n */\ninterface LinkRecipeProps extends RecipeProps<\"a\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LinkRootProps = HTMLChakraProps<\"a\", LinkRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: linkRecipe });\n\n/**\n * Root component that provides the styling context for the Link component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LinkRoot = withContext<HTMLAnchorElement, LinkRootProps>(\"a\");\n","import { useRef } from \"react\";\nimport { LinkRoot } from \"./link.slots\";\nimport type { LinkProps } from \"./link.types\";\nimport { useLink, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * Link\n * ============================================================\n * To allow a user to navigate to a different page or resource\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLAnchorElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n */\nexport const Link = (props: LinkProps) => {\n const { as, asChild, children, ref: forwardedRef, ...rest } = props;\n\n const localRef = useRef<HTMLAnchorElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = (as as string) || (asChild ? \"span\" : \"a\") || \"a\";\n const { linkProps } = useLink({ ...rest, elementType }, ref);\n\n return (\n <LinkRoot {...mergeProps(rest, linkProps, { as, asChild, ref })}>\n {children}\n </LinkRoot>\n );\n};\n\nLink.displayName = \"Link\";\n"],"names":["$298d61e98472621b$export$dcf14c9974fe2767","props","ref","elementType","onPress","onPressStart","onPressEnd","onClick","isDisabled","otherProps","linkProps","focusableProps","$5Ot33$useFocusable","pressProps","isPressed","$5Ot33$usePress","domProps","$5Ot33$filterDOMProps","interactionHandlers","$5Ot33$mergeProps","router","$5Ot33$useRouter","routerLinkProps","$5Ot33$useLinkProps","e","_pressProps_onClick","$5Ot33$shouldClientNavigate","withContext","createRecipeContext","linkRecipe","LinkRoot","Link","as","asChild","children","forwardedRef","rest","localRef","useRef","useObjectRef","mergeRefs","useLink","jsx","mergeProps"],"mappings":"8YAeA,SAASA,EAA0CC,EAAOC,EAAK,CAC3D,GAAI,CAAE,YAAaC,EAAc,IAAK,QAASC,EAAS,aAAcC,EAAc,WAAYC,EAAY,QAASC,EAAS,WAAYC,EAAY,GAAGC,CAAU,EAAKR,EACpKS,EAAY,CAAA,EACZP,IAAgB,MAAKO,EAAY,CACjC,KAAM,OACN,SAAWF,EAAiB,OAAJ,CAChC,GACI,GAAI,CAAE,eAAgBG,CAAc,EAASC,E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,GAAc+B,EAAQ,CAAE,GAAGL,EAAM,YAAAjC,CAAA,EAAeD,CAAG,EAE3D,OACEwC,EAAAA,IAACZ,EAAA,CAAU,GAAGa,EAAAA,0CAAWP,EAAM1B,EAAW,CAAE,GAAAsB,EAAI,QAAAC,EAAS,IAAA/B,EAAK,EAC3D,SAAAgC,CAAA,CACH,CAEJ,EAEAH,EAAK,YAAc","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"link-I24WQHS6.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+link@3.8.3_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/link/dist/useLink.mjs","../../src/components/link/link.slots.tsx","../../src/components/link/link.tsx"],"sourcesContent":["import {filterDOMProps as $5Ot33$filterDOMProps, mergeProps as $5Ot33$mergeProps, useRouter as $5Ot33$useRouter, useLinkProps as $5Ot33$useLinkProps, shouldClientNavigate as $5Ot33$shouldClientNavigate} from \"@react-aria/utils\";\nimport {useFocusable as $5Ot33$useFocusable, usePress as $5Ot33$usePress} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {\n let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onClick: onClick, isDisabled: isDisabled, ...otherProps } = props;\n let linkProps = {};\n if (elementType !== 'a') linkProps = {\n role: 'link',\n tabIndex: !isDisabled ? 0 : undefined\n };\n let { focusableProps: focusableProps } = (0, $5Ot33$useFocusable)(props, ref);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $5Ot33$usePress)({\n onPress: onPress,\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onClick: onClick,\n isDisabled: isDisabled,\n ref: ref\n });\n let domProps = (0, $5Ot33$filterDOMProps)(otherProps, {\n labelable: true\n });\n let interactionHandlers = (0, $5Ot33$mergeProps)(focusableProps, pressProps);\n let router = (0, $5Ot33$useRouter)();\n let routerLinkProps = (0, $5Ot33$useLinkProps)(props);\n return {\n isPressed: isPressed,\n linkProps: (0, $5Ot33$mergeProps)(domProps, routerLinkProps, {\n ...interactionHandlers,\n ...linkProps,\n 'aria-disabled': isDisabled || undefined,\n 'aria-current': props['aria-current'],\n onClick: (e)=>{\n var _pressProps_onClick;\n (_pressProps_onClick = pressProps.onClick) === null || _pressProps_onClick === void 0 ? void 0 : _pressProps_onClick.call(pressProps, e);\n // If a custom router is provided, prevent default and forward if this link should client navigate.\n if (!router.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.\n !e.isDefaultPrevented() && (0, $5Ot33$shouldClientNavigate)(e.currentTarget, e) && props.href) {\n e.preventDefault();\n router.open(e.currentTarget, e, props.href, props.routerOptions);\n }\n }\n })\n };\n}\n\n\nexport {$298d61e98472621b$export$dcf14c9974fe2767 as useLink};\n//# sourceMappingURL=useLink.module.js.map\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react\";\n\nimport { linkRecipe } from \"./link.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the a element.\n */\ninterface LinkRecipeProps extends RecipeProps<\"a\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LinkRootProps = HTMLChakraProps<\"a\", LinkRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: linkRecipe });\n\n/**\n * Root component that provides the styling context for the Link component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LinkRoot = withContext<HTMLAnchorElement, LinkRootProps>(\"a\");\n","import { useRef } from \"react\";\nimport { LinkRoot } from \"./link.slots\";\nimport type { LinkProps } from \"./link.types\";\nimport { useLink, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * Link\n * ============================================================\n * To allow a user to navigate to a different page or resource\n *\n * Features:\n *\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLAnchorElement' attributes (including aria- & data-attributes)\n * - supports 'variants', 'sizes', etc. configured in the recipe\n * - allows overriding styles by using style-props\n * - supports 'asChild' and 'as' to modify the underlying html-element (polymorphic)\n */\nexport const Link = (props: LinkProps) => {\n const { as, asChild, children, ref: forwardedRef, ...rest } = props;\n\n const localRef = useRef<HTMLAnchorElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = (as as string) || (asChild ? \"span\" : \"a\") || \"a\";\n const { linkProps } = useLink({ ...rest, elementType }, ref);\n\n return (\n <LinkRoot {...mergeProps(rest, linkProps, { as, asChild, ref })}>\n {children}\n </LinkRoot>\n );\n};\n\nLink.displayName = \"Link\";\n"],"names":["$298d61e98472621b$export$dcf14c9974fe2767","props","ref","elementType","onPress","onPressStart","onPressEnd","onClick","isDisabled","otherProps","linkProps","focusableProps","$5Ot33$useFocusable","pressProps","isPressed","$5Ot33$usePress","domProps","$5Ot33$filterDOMProps","interactionHandlers","$5Ot33$mergeProps","router","$5Ot33$useRouter","routerLinkProps","$5Ot33$useLinkProps","e","_pressProps_onClick","$5Ot33$shouldClientNavigate","withContext","createRecipeContext","linkRecipe","LinkRoot","Link","as","asChild","children","forwardedRef","rest","localRef","useRef","useObjectRef","mergeRefs","useLink","jsx","mergeProps"],"mappings":";;;;;;;;;;AAeA,SAASA,EAA0CC,GAAOC,GAAK;AAC3D,MA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