@commercetools/nimbus 0.0.9-rc6 → 0.0.9-rc7

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 (643) hide show
  1. package/dist/accordion.d.ts +157 -0
  2. package/dist/alert.d.ts +173 -0
  3. package/dist/avatar.d.ts +70 -0
  4. package/dist/badge.d.ts +102 -0
  5. package/dist/box.d.ts +14 -0
  6. package/dist/button.d.ts +38 -0
  7. package/dist/calendar.d.ts +26 -0
  8. package/dist/card.d.ts +134 -0
  9. package/dist/checkbox.d.ts +73 -0
  10. package/dist/chunks/Button-DOBmPkg6.js +2 -0
  11. package/dist/chunks/Button-DOBmPkg6.js.map +1 -0
  12. package/dist/chunks/Button-Dtn-lV5G.js +79 -0
  13. package/dist/chunks/Button-Dtn-lV5G.js.map +1 -0
  14. package/dist/chunks/DateField-C2G53tNO.js +2564 -0
  15. package/dist/chunks/DateField-C2G53tNO.js.map +1 -0
  16. package/dist/chunks/DateField-D0hZjHMU.js +2 -0
  17. package/dist/chunks/DateField-D0hZjHMU.js.map +1 -0
  18. package/dist/chunks/Dialog-CFCn7n-k.js +2 -0
  19. package/dist/chunks/Dialog-CFCn7n-k.js.map +1 -0
  20. package/dist/chunks/Dialog-DsJ3jo2g.js +870 -0
  21. package/dist/chunks/Dialog-DsJ3jo2g.js.map +1 -0
  22. package/dist/chunks/FocusScope-B6O_mZ9T.js +627 -0
  23. package/dist/chunks/FocusScope-B6O_mZ9T.js.map +1 -0
  24. package/dist/chunks/FocusScope-Dz6kDOQY.js +2 -0
  25. package/dist/chunks/FocusScope-Dz6kDOQY.js.map +1 -0
  26. package/dist/chunks/Form-DdaqVtM4.js +8 -0
  27. package/dist/chunks/Form-DdaqVtM4.js.map +1 -0
  28. package/dist/chunks/Form-DqkTf3LZ.js +2 -0
  29. package/dist/chunks/Form-DqkTf3LZ.js.map +1 -0
  30. package/dist/chunks/Group-BMf2x0bV.js +78 -0
  31. package/dist/chunks/Group-BMf2x0bV.js.map +1 -0
  32. package/dist/chunks/Group-DR52Cv_h.js +2 -0
  33. package/dist/chunks/Group-DR52Cv_h.js.map +1 -0
  34. package/dist/chunks/Hidden-BxRZGdEW.js +2 -0
  35. package/dist/chunks/Hidden-BxRZGdEW.js.map +1 -0
  36. package/dist/chunks/Hidden-D6Lfpu1U.js +35 -0
  37. package/dist/chunks/Hidden-D6Lfpu1U.js.map +1 -0
  38. package/dist/chunks/Input-C6fX3A5E.js +43 -0
  39. package/dist/chunks/Input-C6fX3A5E.js.map +1 -0
  40. package/dist/chunks/Input-CRt1BJ4n.js +2 -0
  41. package/dist/chunks/Input-CRt1BJ4n.js.map +1 -0
  42. package/dist/chunks/ListBox-CHhUqc7T.js +18 -0
  43. package/dist/chunks/ListBox-CHhUqc7T.js.map +1 -0
  44. package/dist/chunks/ListBox-DH3lufv2.js +3071 -0
  45. package/dist/chunks/ListBox-DH3lufv2.js.map +1 -0
  46. package/dist/chunks/LiveAnnouncer-B6177m92.js +52 -0
  47. package/dist/chunks/LiveAnnouncer-B6177m92.js.map +1 -0
  48. package/dist/chunks/LiveAnnouncer-CwEWPU8b.js +2 -0
  49. package/dist/chunks/LiveAnnouncer-CwEWPU8b.js.map +1 -0
  50. package/dist/chunks/NumberFormatter-DewVDY5w.js +2 -0
  51. package/dist/chunks/NumberFormatter-DewVDY5w.js.map +1 -0
  52. package/dist/chunks/NumberFormatter-DgOUVrge.js +120 -0
  53. package/dist/chunks/NumberFormatter-DgOUVrge.js.map +1 -0
  54. package/dist/chunks/OverlayArrow-B1kv2W8j.js +479 -0
  55. package/dist/chunks/OverlayArrow-B1kv2W8j.js.map +1 -0
  56. package/dist/chunks/OverlayArrow-DsxKFiKE.js +2 -0
  57. package/dist/chunks/OverlayArrow-DsxKFiKE.js.map +1 -0
  58. package/dist/chunks/RSPContexts-CxXY5Uko.js +11 -0
  59. package/dist/chunks/RSPContexts-CxXY5Uko.js.map +1 -0
  60. package/dist/chunks/RSPContexts-qzadeFSO.js +2 -0
  61. package/dist/chunks/RSPContexts-qzadeFSO.js.map +1 -0
  62. package/dist/chunks/SSRProvider-D8lZ0o6A.js +51 -0
  63. package/dist/chunks/SSRProvider-D8lZ0o6A.js.map +1 -0
  64. package/dist/chunks/SSRProvider-DZRLwxPS.js +2 -0
  65. package/dist/chunks/SSRProvider-DZRLwxPS.js.map +1 -0
  66. package/dist/chunks/Text-BWSfeB9p.js +2 -0
  67. package/dist/chunks/Text-BWSfeB9p.js.map +1 -0
  68. package/dist/chunks/Text-DOcU1ycg.js +6 -0
  69. package/dist/chunks/Text-DOcU1ycg.js.map +1 -0
  70. package/dist/chunks/TextArea-D-S_3q08.js +42 -0
  71. package/dist/chunks/TextArea-D-S_3q08.js.map +1 -0
  72. package/dist/chunks/TextArea-Ud71sffr.js +2 -0
  73. package/dist/chunks/TextArea-Ud71sffr.js.map +1 -0
  74. package/dist/chunks/VisuallyHidden-BpUTcba_.js +41 -0
  75. package/dist/chunks/VisuallyHidden-BpUTcba_.js.map +1 -0
  76. package/dist/chunks/VisuallyHidden-BxenYie4.js +2 -0
  77. package/dist/chunks/VisuallyHidden-BxenYie4.js.map +1 -0
  78. package/dist/chunks/accordion-8pelAIyn.js +2 -0
  79. package/dist/chunks/accordion-8pelAIyn.js.map +1 -0
  80. package/dist/chunks/accordion-Dc3IqP_d.js +221 -0
  81. package/dist/chunks/accordion-Dc3IqP_d.js.map +1 -0
  82. package/dist/chunks/alert-DSpVYhCa.js +186 -0
  83. package/dist/chunks/alert-DSpVYhCa.js.map +1 -0
  84. package/dist/chunks/alert-DxoCjJDr.js +2 -0
  85. package/dist/chunks/alert-DxoCjJDr.js.map +1 -0
  86. package/dist/chunks/avatar-Aa0LrRpo.js +2 -0
  87. package/dist/chunks/avatar-Aa0LrRpo.js.map +1 -0
  88. package/dist/chunks/avatar-p4QfPsxN.js +37 -0
  89. package/dist/chunks/avatar-p4QfPsxN.js.map +1 -0
  90. package/dist/chunks/avatar.recipe-BV5OkaPx.js +39 -0
  91. package/dist/chunks/avatar.recipe-BV5OkaPx.js.map +1 -0
  92. package/dist/chunks/avatar.recipe-aGNBZhVF.js +2 -0
  93. package/dist/chunks/avatar.recipe-aGNBZhVF.js.map +1 -0
  94. package/dist/chunks/badge-BFbBB0US.js +2 -0
  95. package/dist/chunks/badge-BFbBB0US.js.map +1 -0
  96. package/dist/chunks/badge-CbqLqIo9.js +76 -0
  97. package/dist/chunks/badge-CbqLqIo9.js.map +1 -0
  98. package/dist/chunks/box-DD4jYgS7.js +11 -0
  99. package/dist/chunks/box-DD4jYgS7.js.map +1 -0
  100. package/dist/chunks/box-FU6tRPFs.js +2 -0
  101. package/dist/chunks/box-FU6tRPFs.js.map +1 -0
  102. package/dist/chunks/button-Ckftvc2h.js +66 -0
  103. package/dist/chunks/button-Ckftvc2h.js.map +1 -0
  104. package/dist/chunks/button-vfAeHh1t.js +2 -0
  105. package/dist/chunks/button-vfAeHh1t.js.map +1 -0
  106. package/dist/chunks/button.recipe-DHk13lGU.js +2 -0
  107. package/dist/chunks/button.recipe-DHk13lGU.js.map +1 -0
  108. package/dist/chunks/button.recipe-DbFAOebT.js +191 -0
  109. package/dist/chunks/button.recipe-DbFAOebT.js.map +1 -0
  110. package/dist/chunks/calendar-Bz_gsrGo.js +1577 -0
  111. package/dist/chunks/calendar-Bz_gsrGo.js.map +1 -0
  112. package/dist/chunks/calendar-Cs2rHplP.js +2 -0
  113. package/dist/chunks/calendar-Cs2rHplP.js.map +1 -0
  114. package/dist/chunks/calendar.recipe-RdPylgdo.js +101 -0
  115. package/dist/chunks/calendar.recipe-RdPylgdo.js.map +1 -0
  116. package/dist/chunks/calendar.recipe-gUaUNltl.js +2 -0
  117. package/dist/chunks/calendar.recipe-gUaUNltl.js.map +1 -0
  118. package/dist/chunks/card-B0BsL4ol.js +2 -0
  119. package/dist/chunks/card-B0BsL4ol.js.map +1 -0
  120. package/dist/chunks/card-CQwHrkIF.js +138 -0
  121. package/dist/chunks/card-CQwHrkIF.js.map +1 -0
  122. package/dist/chunks/checkbox-C5jtHkVZ.js +89 -0
  123. package/dist/chunks/checkbox-C5jtHkVZ.js.map +1 -0
  124. package/dist/chunks/checkbox-Cwb_QZjZ.js +2 -0
  125. package/dist/chunks/checkbox-Cwb_QZjZ.js.map +1 -0
  126. package/dist/chunks/code-CI8aUhmu.js +6 -0
  127. package/dist/chunks/code-CI8aUhmu.js.map +1 -0
  128. package/dist/chunks/code-Dg4Larbo.js +2 -0
  129. package/dist/chunks/code-Dg4Larbo.js.map +1 -0
  130. package/dist/chunks/combobox--lHdni2Z.js +1896 -0
  131. package/dist/chunks/combobox--lHdni2Z.js.map +1 -0
  132. package/dist/chunks/combobox-BACFWgP3.js +2 -0
  133. package/dist/chunks/combobox-BACFWgP3.js.map +1 -0
  134. package/dist/chunks/combobox.recipe-BzaPWi66.js +2 -0
  135. package/dist/chunks/combobox.recipe-BzaPWi66.js.map +1 -0
  136. package/dist/chunks/combobox.recipe-KVsma6zb.js +382 -0
  137. package/dist/chunks/combobox.recipe-KVsma6zb.js.map +1 -0
  138. package/dist/chunks/context-BmQ51HC8.js +2 -0
  139. package/dist/chunks/context-BmQ51HC8.js.map +1 -0
  140. package/dist/chunks/context-CgP0qpkX.js +94 -0
  141. package/dist/chunks/context-CgP0qpkX.js.map +1 -0
  142. package/dist/chunks/date-input-9oZMESC7.js +2 -0
  143. package/dist/chunks/date-input-9oZMESC7.js.map +1 -0
  144. package/dist/chunks/date-input-DK9U-Nh8.js +16 -0
  145. package/dist/chunks/date-input-DK9U-Nh8.js.map +1 -0
  146. package/dist/chunks/date-input.recipe-BcsevQtW.js +119 -0
  147. package/dist/chunks/date-input.recipe-BcsevQtW.js.map +1 -0
  148. package/dist/chunks/date-input.recipe-Cf9e8VAr.js +2 -0
  149. package/dist/chunks/date-input.recipe-Cf9e8VAr.js.map +1 -0
  150. package/dist/chunks/date-picker-CwXGnIiO.js +2 -0
  151. package/dist/chunks/date-picker-CwXGnIiO.js.map +1 -0
  152. package/dist/chunks/date-picker-ShPOqwXi.js +487 -0
  153. package/dist/chunks/date-picker-ShPOqwXi.js.map +1 -0
  154. package/dist/chunks/date-picker.recipe-5Avb06qp.js +2 -0
  155. package/dist/chunks/date-picker.recipe-5Avb06qp.js.map +1 -0
  156. package/dist/chunks/date-picker.recipe-BJ79OJaw.js +82 -0
  157. package/dist/chunks/date-picker.recipe-BJ79OJaw.js.map +1 -0
  158. package/dist/chunks/dialog-C1HRMUcF.js +33 -0
  159. package/dist/chunks/dialog-C1HRMUcF.js.map +1 -0
  160. package/dist/chunks/dialog-amEwvIoM.js +2 -0
  161. package/dist/chunks/dialog-amEwvIoM.js.map +1 -0
  162. package/dist/chunks/extractStyleProps-CxgBrz3O.js +11 -0
  163. package/dist/chunks/extractStyleProps-CxgBrz3O.js.map +1 -0
  164. package/dist/chunks/extractStyleProps-lyk7D-zN.js +2 -0
  165. package/dist/chunks/extractStyleProps-lyk7D-zN.js.map +1 -0
  166. package/dist/chunks/filterDOMProps-BS2lrgFA.js +2 -0
  167. package/dist/chunks/filterDOMProps-BS2lrgFA.js.map +1 -0
  168. package/dist/chunks/filterDOMProps-D6KHYVBX.js +25 -0
  169. package/dist/chunks/filterDOMProps-D6KHYVBX.js.map +1 -0
  170. package/dist/chunks/focusSafely-D_uW2Kp-.js +58 -0
  171. package/dist/chunks/focusSafely-D_uW2Kp-.js.map +1 -0
  172. package/dist/chunks/focusSafely-DuMeO0J4.js +2 -0
  173. package/dist/chunks/focusSafely-DuMeO0J4.js.map +1 -0
  174. package/dist/chunks/form-field-BUoO6HEy.js +11 -0
  175. package/dist/chunks/form-field-BUoO6HEy.js.map +1 -0
  176. package/dist/chunks/form-field-Dr8lL5SU.js +309 -0
  177. package/dist/chunks/form-field-Dr8lL5SU.js.map +1 -0
  178. package/dist/chunks/getScrollParent-DE66eQI-.js +15 -0
  179. package/dist/chunks/getScrollParent-DE66eQI-.js.map +1 -0
  180. package/dist/chunks/getScrollParent-Dc1cnLDE.js +2 -0
  181. package/dist/chunks/getScrollParent-Dc1cnLDE.js.map +1 -0
  182. package/dist/chunks/grid-CLVDMJAz.js +14 -0
  183. package/dist/chunks/grid-CLVDMJAz.js.map +1 -0
  184. package/dist/chunks/grid-xr2A-OqD.js +2 -0
  185. package/dist/chunks/grid-xr2A-OqD.js.map +1 -0
  186. package/dist/chunks/icon-CjRXcxB9.js +31 -0
  187. package/dist/chunks/icon-CjRXcxB9.js.map +1 -0
  188. package/dist/chunks/icon-D50i-dqv.js +2 -0
  189. package/dist/chunks/icon-D50i-dqv.js.map +1 -0
  190. package/dist/chunks/icon-button-1V59UrF-.js +14 -0
  191. package/dist/chunks/icon-button-1V59UrF-.js.map +1 -0
  192. package/dist/chunks/icon-button-CE-LnFNq.js +2 -0
  193. package/dist/chunks/icon-button-CE-LnFNq.js.map +1 -0
  194. package/dist/chunks/image-DCirAAnr.js +2 -0
  195. package/dist/chunks/image-DCirAAnr.js.map +1 -0
  196. package/dist/chunks/image-rXPA3shk.js +8 -0
  197. package/dist/chunks/image-rXPA3shk.js.map +1 -0
  198. package/dist/chunks/kbd-BKH_SGCC.js +6 -0
  199. package/dist/chunks/kbd-BKH_SGCC.js.map +1 -0
  200. package/dist/chunks/kbd-Bhv8ae1I.js +2 -0
  201. package/dist/chunks/kbd-Bhv8ae1I.js.map +1 -0
  202. package/dist/chunks/link-1lfvUDKX.js +49 -0
  203. package/dist/chunks/link-1lfvUDKX.js.map +1 -0
  204. package/dist/chunks/link-CCDnA-Z-.js +2 -0
  205. package/dist/chunks/link-CCDnA-Z-.js.map +1 -0
  206. package/dist/chunks/link.recipe-CG3leGAx.js +2 -0
  207. package/dist/chunks/link.recipe-CG3leGAx.js.map +1 -0
  208. package/dist/chunks/link.recipe-CbFF3IUG.js +51 -0
  209. package/dist/chunks/link.recipe-CbFF3IUG.js.map +1 -0
  210. package/dist/chunks/list-8yfreyzi.js +2 -0
  211. package/dist/chunks/list-8yfreyzi.js.map +1 -0
  212. package/dist/chunks/list-B21joBrq.js +13 -0
  213. package/dist/chunks/list-B21joBrq.js.map +1 -0
  214. package/dist/chunks/loading-spinner-B2I1CsuC.js +2 -0
  215. package/dist/chunks/loading-spinner-B2I1CsuC.js.map +1 -0
  216. package/dist/chunks/loading-spinner-CJh2luQX.js +137 -0
  217. package/dist/chunks/loading-spinner-CJh2luQX.js.map +1 -0
  218. package/dist/chunks/make-element-focusable-ByC0LOwU.js +2 -0
  219. package/dist/chunks/make-element-focusable-ByC0LOwU.js.map +1 -0
  220. package/dist/chunks/make-element-focusable-urU2Yczu.js +22 -0
  221. package/dist/chunks/make-element-focusable-urU2Yczu.js.map +1 -0
  222. package/dist/chunks/mergeProps-BeIu4MsM.js +2 -0
  223. package/dist/chunks/mergeProps-BeIu4MsM.js.map +1 -0
  224. package/dist/chunks/mergeProps-DAjoWNOq.js +128 -0
  225. package/dist/chunks/mergeProps-DAjoWNOq.js.map +1 -0
  226. package/dist/chunks/multiline-text-input-B8v-mx89.js +12 -0
  227. package/dist/chunks/multiline-text-input-B8v-mx89.js.map +1 -0
  228. package/dist/chunks/multiline-text-input-BS9tsQnR.js +116 -0
  229. package/dist/chunks/multiline-text-input-BS9tsQnR.js.map +1 -0
  230. package/dist/chunks/nimbus-provider-CFSRgGKt.js +1530 -0
  231. package/dist/chunks/nimbus-provider-CFSRgGKt.js.map +1 -0
  232. package/dist/chunks/nimbus-provider-jZPLt7_j.js +2 -0
  233. package/dist/chunks/nimbus-provider-jZPLt7_j.js.map +1 -0
  234. package/dist/chunks/number-5qMXmHyn.js +21 -0
  235. package/dist/chunks/number-5qMXmHyn.js.map +1 -0
  236. package/dist/chunks/number-CnrRPi4_.js +2 -0
  237. package/dist/chunks/number-CnrRPi4_.js.map +1 -0
  238. package/dist/chunks/number-input-BFA-uYaI.js +652 -0
  239. package/dist/chunks/number-input-BFA-uYaI.js.map +1 -0
  240. package/dist/chunks/number-input-CDaEIN66.js +2 -0
  241. package/dist/chunks/number-input-CDaEIN66.js.map +1 -0
  242. package/dist/chunks/number-input.recipe-2n6A2w0m.js +2 -0
  243. package/dist/chunks/number-input.recipe-2n6A2w0m.js.map +1 -0
  244. package/dist/chunks/number-input.recipe-CbLyhXgE.js +209 -0
  245. package/dist/chunks/number-input.recipe-CbLyhXgE.js.map +1 -0
  246. package/dist/chunks/password-input-CEUQjqeT.js +50 -0
  247. package/dist/chunks/password-input-CEUQjqeT.js.map +1 -0
  248. package/dist/chunks/password-input-CYZ0QR0V.js +2 -0
  249. package/dist/chunks/password-input-CYZ0QR0V.js.map +1 -0
  250. package/dist/chunks/radio-input-5mFGE9qS.js +2 -0
  251. package/dist/chunks/radio-input-5mFGE9qS.js.map +1 -0
  252. package/dist/chunks/radio-input-cone4teU.js +319 -0
  253. package/dist/chunks/radio-input-cone4teU.js.map +1 -0
  254. package/dist/chunks/radio-input.recipe-DdXB4lqs.js +2 -0
  255. package/dist/chunks/radio-input.recipe-DdXB4lqs.js.map +1 -0
  256. package/dist/chunks/radio-input.recipe-QYiFg_Kf.js +75 -0
  257. package/dist/chunks/radio-input.recipe-QYiFg_Kf.js.map +1 -0
  258. package/dist/chunks/scrollIntoView-B01y55fg.js +2 -0
  259. package/dist/chunks/scrollIntoView-B01y55fg.js.map +1 -0
  260. package/dist/chunks/scrollIntoView-Dtwi5Vrc.js +83 -0
  261. package/dist/chunks/scrollIntoView-Dtwi5Vrc.js.map +1 -0
  262. package/dist/chunks/select-BZ2LnuaW.js +791 -0
  263. package/dist/chunks/select-BZ2LnuaW.js.map +1 -0
  264. package/dist/chunks/select-CSp1HFJF.js +2 -0
  265. package/dist/chunks/select-CSp1HFJF.js.map +1 -0
  266. package/dist/chunks/select.recipe-DS5ZRkug.js +203 -0
  267. package/dist/chunks/select.recipe-DS5ZRkug.js.map +1 -0
  268. package/dist/chunks/select.recipe-DUHFWlQt.js +2 -0
  269. package/dist/chunks/select.recipe-DUHFWlQt.js.map +1 -0
  270. package/dist/chunks/simple-grid-CHgTayx6.js +2 -0
  271. package/dist/chunks/simple-grid-CHgTayx6.js.map +1 -0
  272. package/dist/chunks/simple-grid-D6PoDK0-.js +14 -0
  273. package/dist/chunks/simple-grid-D6PoDK0-.js.map +1 -0
  274. package/dist/chunks/stack-__ugxVHD.js +11 -0
  275. package/dist/chunks/stack-__ugxVHD.js.map +1 -0
  276. package/dist/chunks/stack-wFUhYQQb.js +2 -0
  277. package/dist/chunks/stack-wFUhYQQb.js.map +1 -0
  278. package/dist/chunks/switch-CZji_hBH.js +2 -0
  279. package/dist/chunks/switch-CZji_hBH.js.map +1 -0
  280. package/dist/chunks/switch-QvuLHJL-.js +78 -0
  281. package/dist/chunks/switch-QvuLHJL-.js.map +1 -0
  282. package/dist/chunks/switch.recipe-D3gb3Xj_.js +100 -0
  283. package/dist/chunks/switch.recipe-D3gb3Xj_.js.map +1 -0
  284. package/dist/chunks/switch.recipe-DHopLj_g.js +2 -0
  285. package/dist/chunks/switch.recipe-DHopLj_g.js.map +1 -0
  286. package/dist/chunks/tag-group-JxvggHdo.js +1347 -0
  287. package/dist/chunks/tag-group-JxvggHdo.js.map +1 -0
  288. package/dist/chunks/tag-group-v87SYIPj.js +2 -0
  289. package/dist/chunks/tag-group-v87SYIPj.js.map +1 -0
  290. package/dist/chunks/text-BTD3oGaQ.js +24 -0
  291. package/dist/chunks/text-BTD3oGaQ.js.map +1 -0
  292. package/dist/chunks/text-BjzNgHxv.js +2 -0
  293. package/dist/chunks/text-BjzNgHxv.js.map +1 -0
  294. package/dist/chunks/text-input-CpABYE1g.js +17 -0
  295. package/dist/chunks/text-input-CpABYE1g.js.map +1 -0
  296. package/dist/chunks/text-input-Ov6DSJhs.js +2 -0
  297. package/dist/chunks/text-input-Ov6DSJhs.js.map +1 -0
  298. package/dist/chunks/text-input.recipe-CGpq33Pp.js +64 -0
  299. package/dist/chunks/text-input.recipe-CGpq33Pp.js.map +1 -0
  300. package/dist/chunks/text-input.recipe-DxzvFMOB.js +2 -0
  301. package/dist/chunks/text-input.recipe-DxzvFMOB.js.map +1 -0
  302. package/dist/chunks/time-input-BIUdp4gX.js +2 -0
  303. package/dist/chunks/time-input-BIUdp4gX.js.map +1 -0
  304. package/dist/chunks/time-input-DS6RgF12.js +129 -0
  305. package/dist/chunks/time-input-DS6RgF12.js.map +1 -0
  306. package/dist/chunks/toggle-button-group-0a-aeCiH.js +265 -0
  307. package/dist/chunks/toggle-button-group-0a-aeCiH.js.map +1 -0
  308. package/dist/chunks/toggle-button-group-BdLaFCWe.js +2 -0
  309. package/dist/chunks/toggle-button-group-BdLaFCWe.js.map +1 -0
  310. package/dist/chunks/tooltip-BdwdWMCL.js +273 -0
  311. package/dist/chunks/tooltip-BdwdWMCL.js.map +1 -0
  312. package/dist/chunks/tooltip-_9ZfCa2D.js +2 -0
  313. package/dist/chunks/tooltip-_9ZfCa2D.js.map +1 -0
  314. package/dist/chunks/tooltip.recipe-CkNOA8Sg.js +2 -0
  315. package/dist/chunks/tooltip.recipe-CkNOA8Sg.js.map +1 -0
  316. package/dist/chunks/tooltip.recipe-D9fYIQZz.js +24 -0
  317. package/dist/chunks/tooltip.recipe-D9fYIQZz.js.map +1 -0
  318. package/dist/chunks/useButton-BRqxk71F.js +2 -0
  319. package/dist/chunks/useButton-BRqxk71F.js.map +1 -0
  320. package/dist/chunks/useButton-CGSIlDH9.js +48 -0
  321. package/dist/chunks/useButton-CGSIlDH9.js.map +1 -0
  322. package/dist/chunks/useCollator-PO0ZNDFD.js +12 -0
  323. package/dist/chunks/useCollator-PO0ZNDFD.js.map +1 -0
  324. package/dist/chunks/useCollator-ajK3YU47.js +2 -0
  325. package/dist/chunks/useCollator-ajK3YU47.js.map +1 -0
  326. package/dist/chunks/useControlledState-D0L6S_5r.js +2 -0
  327. package/dist/chunks/useControlledState-D0L6S_5r.js.map +1 -0
  328. package/dist/chunks/useControlledState-u436Wbp1.js +31 -0
  329. package/dist/chunks/useControlledState-u436Wbp1.js.map +1 -0
  330. package/dist/chunks/useDateFormatter-BYTqyfPM.js +2 -0
  331. package/dist/chunks/useDateFormatter-BYTqyfPM.js.map +1 -0
  332. package/dist/chunks/useDateFormatter-CZ3YJIiV.js +1581 -0
  333. package/dist/chunks/useDateFormatter-CZ3YJIiV.js.map +1 -0
  334. package/dist/chunks/useEvent-9hDa8zoA.js +22 -0
  335. package/dist/chunks/useEvent-9hDa8zoA.js.map +1 -0
  336. package/dist/chunks/useEvent-DCXRKhH2.js +2 -0
  337. package/dist/chunks/useEvent-DCXRKhH2.js.map +1 -0
  338. package/dist/chunks/useField-3jug3XBb.js +36 -0
  339. package/dist/chunks/useField-3jug3XBb.js.map +1 -0
  340. package/dist/chunks/useField-BeaT9Ud9.js +2 -0
  341. package/dist/chunks/useField-BeaT9Ud9.js.map +1 -0
  342. package/dist/chunks/useFocus-CP2rlXSg.js +2 -0
  343. package/dist/chunks/useFocus-CP2rlXSg.js.map +1 -0
  344. package/dist/chunks/useFocus-mfjoACQ_.js +184 -0
  345. package/dist/chunks/useFocus-mfjoACQ_.js.map +1 -0
  346. package/dist/chunks/useFocusRing-C4z9NtLP.js +2 -0
  347. package/dist/chunks/useFocusRing-C4z9NtLP.js.map +1 -0
  348. package/dist/chunks/useFocusRing-C8yOnkHj.js +34 -0
  349. package/dist/chunks/useFocusRing-C8yOnkHj.js.map +1 -0
  350. package/dist/chunks/useFocusWithin-BENrOz43.js +2 -0
  351. package/dist/chunks/useFocusWithin-BENrOz43.js.map +1 -0
  352. package/dist/chunks/useFocusWithin-CLd9itwe.js +55 -0
  353. package/dist/chunks/useFocusWithin-CLd9itwe.js.map +1 -0
  354. package/dist/chunks/useFocusable-C7jAQfqU.js +2 -0
  355. package/dist/chunks/useFocusable-C7jAQfqU.js.map +1 -0
  356. package/dist/chunks/useFocusable-IwGfkXQG.js +75 -0
  357. package/dist/chunks/useFocusable-IwGfkXQG.js.map +1 -0
  358. package/dist/chunks/useFormReset-Bt5-6Arg.js +2 -0
  359. package/dist/chunks/useFormReset-Bt5-6Arg.js.map +1 -0
  360. package/dist/chunks/useFormReset-CzGCrdxu.js +21 -0
  361. package/dist/chunks/useFormReset-CzGCrdxu.js.map +1 -0
  362. package/dist/chunks/useFormValidation-BSXga2hX.js +2 -0
  363. package/dist/chunks/useFormValidation-BSXga2hX.js.map +1 -0
  364. package/dist/chunks/useFormValidation-BcDTI6Mp.js +179 -0
  365. package/dist/chunks/useFormValidation-BcDTI6Mp.js.map +1 -0
  366. package/dist/chunks/useHover-ByIffPdS.js +2 -0
  367. package/dist/chunks/useHover-ByIffPdS.js.map +1 -0
  368. package/dist/chunks/useHover-CbdI4C89.js +85 -0
  369. package/dist/chunks/useHover-CbdI4C89.js.map +1 -0
  370. package/dist/chunks/useLabel-As7K6zBZ.js +2 -0
  371. package/dist/chunks/useLabel-As7K6zBZ.js.map +1 -0
  372. package/dist/chunks/useLabel-Dd6M1Y4b.js +24 -0
  373. package/dist/chunks/useLabel-Dd6M1Y4b.js.map +1 -0
  374. package/dist/chunks/useLabels-B-BeKbzR.js +2 -0
  375. package/dist/chunks/useLabels-B-BeKbzR.js.map +1 -0
  376. package/dist/chunks/useLabels-B1BLA0b7.js +18 -0
  377. package/dist/chunks/useLabels-B1BLA0b7.js.map +1 -0
  378. package/dist/chunks/useLocalizedStringFormatter-CDXOVKSV.js +2 -0
  379. package/dist/chunks/useLocalizedStringFormatter-CDXOVKSV.js.map +1 -0
  380. package/dist/chunks/useLocalizedStringFormatter-JGrQYmnh.js +97 -0
  381. package/dist/chunks/useLocalizedStringFormatter-JGrQYmnh.js.map +1 -0
  382. package/dist/chunks/useNumberFormatter-DS6s5teN.js +2 -0
  383. package/dist/chunks/useNumberFormatter-DS6s5teN.js.map +1 -0
  384. package/dist/chunks/useNumberFormatter-Dx-esBDc.js +14 -0
  385. package/dist/chunks/useNumberFormatter-Dx-esBDc.js.map +1 -0
  386. package/dist/chunks/useObjectRef-4v2MxSjQ.js +2 -0
  387. package/dist/chunks/useObjectRef-4v2MxSjQ.js.map +1 -0
  388. package/dist/chunks/useObjectRef-CaJ5pgjX.js +30 -0
  389. package/dist/chunks/useObjectRef-CaJ5pgjX.js.map +1 -0
  390. package/dist/chunks/usePress-C9YKhG_e.js +8 -0
  391. package/dist/chunks/usePress-C9YKhG_e.js.map +1 -0
  392. package/dist/chunks/usePress-dJvNd3G7.js +526 -0
  393. package/dist/chunks/usePress-dJvNd3G7.js.map +1 -0
  394. package/dist/chunks/useSingleSelectListState-CwUhrKQb.js +2 -0
  395. package/dist/chunks/useSingleSelectListState-CwUhrKQb.js.map +1 -0
  396. package/dist/chunks/useSingleSelectListState-DovbyYzZ.js +269 -0
  397. package/dist/chunks/useSingleSelectListState-DovbyYzZ.js.map +1 -0
  398. package/dist/chunks/useSpinButton-D16epD7I.js +432 -0
  399. package/dist/chunks/useSpinButton-D16epD7I.js.map +1 -0
  400. package/dist/chunks/useSpinButton-UFcBxg8e.js +2 -0
  401. package/dist/chunks/useSpinButton-UFcBxg8e.js.map +1 -0
  402. package/dist/chunks/useTextField-DFfK-BZg.js +88 -0
  403. package/dist/chunks/useTextField-DFfK-BZg.js.map +1 -0
  404. package/dist/chunks/useTextField-lejiPfpS.js +2 -0
  405. package/dist/chunks/useTextField-lejiPfpS.js.map +1 -0
  406. package/dist/chunks/useToggle-BUU7amte.js +2 -0
  407. package/dist/chunks/useToggle-BUU7amte.js.map +1 -0
  408. package/dist/chunks/useToggle-Cp-w42gr.js +50 -0
  409. package/dist/chunks/useToggle-Cp-w42gr.js.map +1 -0
  410. package/dist/chunks/useToggleState-B5pE_WmM.js +2 -0
  411. package/dist/chunks/useToggleState-B5pE_WmM.js.map +1 -0
  412. package/dist/chunks/useToggleState-Bz5rAf4C.js +19 -0
  413. package/dist/chunks/useToggleState-Bz5rAf4C.js.map +1 -0
  414. package/dist/chunks/useUpdateEffect-CCDx8D4X.js +14 -0
  415. package/dist/chunks/useUpdateEffect-CCDx8D4X.js.map +1 -0
  416. package/dist/chunks/useUpdateEffect-sk3kiVGz.js +2 -0
  417. package/dist/chunks/useUpdateEffect-sk3kiVGz.js.map +1 -0
  418. package/dist/chunks/utils-BzPwFwlw.js +2 -0
  419. package/dist/chunks/utils-BzPwFwlw.js.map +1 -0
  420. package/dist/chunks/utils-DTmE9QvG.js +128 -0
  421. package/dist/chunks/utils-DTmE9QvG.js.map +1 -0
  422. package/dist/chunks/utils-XbOVivul.js +2 -0
  423. package/dist/chunks/utils-XbOVivul.js.map +1 -0
  424. package/dist/chunks/utils-wW2ZswvI.js +231 -0
  425. package/dist/chunks/utils-wW2ZswvI.js.map +1 -0
  426. package/dist/chunks/visually-hidden-Qd_t4hAG.js +2 -0
  427. package/dist/chunks/visually-hidden-Qd_t4hAG.js.map +1 -0
  428. package/dist/chunks/visually-hidden-T2B120j4.js +11 -0
  429. package/dist/chunks/visually-hidden-T2B120j4.js.map +1 -0
  430. package/dist/code.d.ts +10 -0
  431. package/dist/combobox.d.ts +275 -0
  432. package/dist/components/accordion.cjs +2 -0
  433. package/dist/components/accordion.cjs.map +1 -0
  434. package/dist/components/accordion.es.js +10 -0
  435. package/dist/components/accordion.es.js.map +1 -0
  436. package/dist/components/alert.cjs +2 -0
  437. package/dist/components/alert.cjs.map +1 -0
  438. package/dist/components/alert.es.js +10 -0
  439. package/dist/components/alert.es.js.map +1 -0
  440. package/dist/components/avatar.cjs +2 -0
  441. package/dist/components/avatar.cjs.map +1 -0
  442. package/dist/components/avatar.es.js +5 -0
  443. package/dist/components/avatar.es.js.map +1 -0
  444. package/dist/components/badge.cjs +2 -0
  445. package/dist/components/badge.cjs.map +1 -0
  446. package/dist/components/badge.es.js +5 -0
  447. package/dist/components/badge.es.js.map +1 -0
  448. package/dist/components/box.cjs +2 -0
  449. package/dist/components/box.cjs.map +1 -0
  450. package/dist/components/box.es.js +5 -0
  451. package/dist/components/box.es.js.map +1 -0
  452. package/dist/components/button.cjs +2 -0
  453. package/dist/components/button.cjs.map +1 -0
  454. package/dist/components/button.es.js +5 -0
  455. package/dist/components/button.es.js.map +1 -0
  456. package/dist/components/calendar.cjs +2 -0
  457. package/dist/components/calendar.cjs.map +1 -0
  458. package/dist/components/calendar.es.js +5 -0
  459. package/dist/components/calendar.es.js.map +1 -0
  460. package/dist/components/card.cjs +2 -0
  461. package/dist/components/card.cjs.map +1 -0
  462. package/dist/components/card.es.js +8 -0
  463. package/dist/components/card.es.js.map +1 -0
  464. package/dist/components/checkbox.cjs +2 -0
  465. package/dist/components/checkbox.cjs.map +1 -0
  466. package/dist/components/checkbox.es.js +5 -0
  467. package/dist/components/checkbox.es.js.map +1 -0
  468. package/dist/components/code.cjs +2 -0
  469. package/dist/components/code.cjs.map +1 -0
  470. package/dist/components/code.es.js +5 -0
  471. package/dist/components/code.es.js.map +1 -0
  472. package/dist/components/combobox.cjs +2 -0
  473. package/dist/components/combobox.cjs.map +1 -0
  474. package/dist/components/combobox.es.js +8 -0
  475. package/dist/components/combobox.es.js.map +1 -0
  476. package/dist/components/components.cjs +2 -0
  477. package/dist/components/components.cjs.map +1 -0
  478. package/dist/components/components.es.js +125 -0
  479. package/dist/components/components.es.js.map +1 -0
  480. package/dist/components/date-input.cjs +2 -0
  481. package/dist/components/date-input.cjs.map +1 -0
  482. package/dist/components/date-input.es.js +5 -0
  483. package/dist/components/date-input.es.js.map +1 -0
  484. package/dist/components/date-picker.cjs +2 -0
  485. package/dist/components/date-picker.cjs.map +1 -0
  486. package/dist/components/date-picker.es.js +5 -0
  487. package/dist/components/date-picker.es.js.map +1 -0
  488. package/dist/components/dialog.cjs +2 -0
  489. package/dist/components/dialog.cjs.map +1 -0
  490. package/dist/components/dialog.es.js +5 -0
  491. package/dist/components/dialog.es.js.map +1 -0
  492. package/dist/components/flex.cjs +2 -0
  493. package/dist/components/flex.cjs.map +1 -0
  494. package/dist/components/flex.es.js +5 -0
  495. package/dist/components/flex.es.js.map +1 -0
  496. package/dist/components/form-field.cjs +2 -0
  497. package/dist/components/form-field.cjs.map +1 -0
  498. package/dist/components/form-field.es.js +11 -0
  499. package/dist/components/form-field.es.js.map +1 -0
  500. package/dist/components/grid.cjs +2 -0
  501. package/dist/components/grid.cjs.map +1 -0
  502. package/dist/components/grid.es.js +5 -0
  503. package/dist/components/grid.es.js.map +1 -0
  504. package/dist/components/heading.cjs +2 -0
  505. package/dist/components/heading.cjs.map +1 -0
  506. package/dist/components/heading.es.js +5 -0
  507. package/dist/components/heading.es.js.map +1 -0
  508. package/dist/components/icon-button.cjs +2 -0
  509. package/dist/components/icon-button.cjs.map +1 -0
  510. package/dist/components/icon-button.es.js +5 -0
  511. package/dist/components/icon-button.es.js.map +1 -0
  512. package/dist/components/icon.cjs +2 -0
  513. package/dist/components/icon.cjs.map +1 -0
  514. package/dist/components/icon.es.js +5 -0
  515. package/dist/components/icon.es.js.map +1 -0
  516. package/dist/components/image.cjs +2 -0
  517. package/dist/components/image.cjs.map +1 -0
  518. package/dist/components/image.es.js +5 -0
  519. package/dist/components/image.es.js.map +1 -0
  520. package/dist/components/kbd.cjs +2 -0
  521. package/dist/components/kbd.cjs.map +1 -0
  522. package/dist/components/kbd.es.js +5 -0
  523. package/dist/components/kbd.es.js.map +1 -0
  524. package/dist/components/link.cjs +2 -0
  525. package/dist/components/link.cjs.map +1 -0
  526. package/dist/components/link.es.js +5 -0
  527. package/dist/components/link.es.js.map +1 -0
  528. package/dist/components/list.cjs +2 -0
  529. package/dist/components/list.cjs.map +1 -0
  530. package/dist/components/list.es.js +8 -0
  531. package/dist/components/list.es.js.map +1 -0
  532. package/dist/components/loading-spinner.cjs +2 -0
  533. package/dist/components/loading-spinner.cjs.map +1 -0
  534. package/dist/components/loading-spinner.es.js +5 -0
  535. package/dist/components/loading-spinner.es.js.map +1 -0
  536. package/dist/components/multiline-text-input.cjs +2 -0
  537. package/dist/components/multiline-text-input.cjs.map +1 -0
  538. package/dist/components/multiline-text-input.es.js +5 -0
  539. package/dist/components/multiline-text-input.es.js.map +1 -0
  540. package/dist/components/nimbus-provider.cjs +2 -0
  541. package/dist/components/nimbus-provider.cjs.map +1 -0
  542. package/dist/components/nimbus-provider.es.js +8 -0
  543. package/dist/components/nimbus-provider.es.js.map +1 -0
  544. package/dist/components/number-input.cjs +2 -0
  545. package/dist/components/number-input.cjs.map +1 -0
  546. package/dist/components/number-input.es.js +5 -0
  547. package/dist/components/number-input.es.js.map +1 -0
  548. package/dist/components/password-input.cjs +2 -0
  549. package/dist/components/password-input.cjs.map +1 -0
  550. package/dist/components/password-input.es.js +5 -0
  551. package/dist/components/password-input.es.js.map +1 -0
  552. package/dist/components/radio-input.cjs +2 -0
  553. package/dist/components/radio-input.cjs.map +1 -0
  554. package/dist/components/radio-input.es.js +7 -0
  555. package/dist/components/radio-input.es.js.map +1 -0
  556. package/dist/components/select.cjs +2 -0
  557. package/dist/components/select.cjs.map +1 -0
  558. package/dist/components/select.es.js +9 -0
  559. package/dist/components/select.es.js.map +1 -0
  560. package/dist/components/simple-grid.cjs +2 -0
  561. package/dist/components/simple-grid.cjs.map +1 -0
  562. package/dist/components/simple-grid.es.js +5 -0
  563. package/dist/components/simple-grid.es.js.map +1 -0
  564. package/dist/components/stack.cjs +2 -0
  565. package/dist/components/stack.cjs.map +1 -0
  566. package/dist/components/stack.es.js +5 -0
  567. package/dist/components/stack.es.js.map +1 -0
  568. package/dist/components/switch.cjs +2 -0
  569. package/dist/components/switch.cjs.map +1 -0
  570. package/dist/components/switch.es.js +5 -0
  571. package/dist/components/switch.es.js.map +1 -0
  572. package/dist/components/table.cjs +2 -0
  573. package/dist/components/table.cjs.map +1 -0
  574. package/dist/components/table.es.js +5 -0
  575. package/dist/components/table.es.js.map +1 -0
  576. package/dist/components/tag-group.cjs +2 -0
  577. package/dist/components/tag-group.cjs.map +1 -0
  578. package/dist/components/tag-group.es.js +5 -0
  579. package/dist/components/tag-group.es.js.map +1 -0
  580. package/dist/components/text-input.cjs +2 -0
  581. package/dist/components/text-input.cjs.map +1 -0
  582. package/dist/components/text-input.es.js +5 -0
  583. package/dist/components/text-input.es.js.map +1 -0
  584. package/dist/components/text.cjs +2 -0
  585. package/dist/components/text.cjs.map +1 -0
  586. package/dist/components/text.es.js +5 -0
  587. package/dist/components/text.es.js.map +1 -0
  588. package/dist/components/time-input.cjs +2 -0
  589. package/dist/components/time-input.cjs.map +1 -0
  590. package/dist/components/time-input.es.js +5 -0
  591. package/dist/components/time-input.es.js.map +1 -0
  592. package/dist/components/toggle-button-group.cjs +2 -0
  593. package/dist/components/toggle-button-group.cjs.map +1 -0
  594. package/dist/components/toggle-button-group.es.js +7 -0
  595. package/dist/components/toggle-button-group.es.js.map +1 -0
  596. package/dist/components/tooltip.cjs +2 -0
  597. package/dist/components/tooltip.cjs.map +1 -0
  598. package/dist/components/tooltip.es.js +9 -0
  599. package/dist/components/tooltip.es.js.map +1 -0
  600. package/dist/components/visually-hidden.cjs +2 -0
  601. package/dist/components/visually-hidden.cjs.map +1 -0
  602. package/dist/components/visually-hidden.es.js +5 -0
  603. package/dist/components/visually-hidden.es.js.map +1 -0
  604. package/dist/components.d.ts +2668 -0
  605. package/dist/date-input.d.ts +94 -0
  606. package/dist/date-picker.d.ts +164 -0
  607. package/dist/dialog.d.ts +33 -0
  608. package/dist/flex.d.ts +5 -0
  609. package/dist/form-field.d.ts +131 -0
  610. package/dist/grid.d.ts +28 -0
  611. package/dist/heading.d.ts +5 -0
  612. package/dist/icon-button.d.ts +53 -0
  613. package/dist/icon.d.ts +99 -0
  614. package/dist/image.d.ts +18 -0
  615. package/dist/index.cjs +1 -42
  616. package/dist/index.cjs.map +1 -1
  617. package/dist/index.d.ts +934 -748
  618. package/dist/index.es.js +308 -22041
  619. package/dist/index.es.js.map +1 -1
  620. package/dist/kbd.d.ts +10 -0
  621. package/dist/link.d.ts +92 -0
  622. package/dist/list.d.ts +21 -0
  623. package/dist/loading-spinner.d.ts +88 -0
  624. package/dist/multiline-text-input.d.ts +76 -0
  625. package/dist/nimbus-provider.d.ts +23 -0
  626. package/dist/number-input.d.ts +143 -0
  627. package/dist/password-input.d.ts +74 -0
  628. package/dist/radio-input.d.ts +70 -0
  629. package/dist/select.d.ts +143 -0
  630. package/dist/setup-jsdom-polyfills.cjs.map +1 -1
  631. package/dist/setup-jsdom-polyfills.es.js.map +1 -1
  632. package/dist/simple-grid.d.ts +28 -0
  633. package/dist/stack.d.ts +14 -0
  634. package/dist/switch.d.ts +75 -0
  635. package/dist/table.d.ts +5 -0
  636. package/dist/tag-group.d.ts +99 -0
  637. package/dist/text-input.d.ts +68 -0
  638. package/dist/text.d.ts +20 -0
  639. package/dist/time-input.d.ts +102 -0
  640. package/dist/toggle-button-group.d.ts +107 -0
  641. package/dist/tooltip.d.ts +134 -0
  642. package/dist/visually-hidden.d.ts +15 -0
  643. package/package.json +3 -2
@@ -0,0 +1,309 @@
1
+ import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
+ import { createContext as z, forwardRef as $, useState as P, useEffect as n, Children as w, isValidElement as A, cloneElement as E, useContext as d } from "react";
3
+ import { defineSlotRecipe as H, createSlotRecipeContext as y } from "@chakra-ui/react";
4
+ import { e as B, c as L, d as I } from "./Dialog-DsJ3jo2g.js";
5
+ import { B as m } from "./box-DD4jYgS7.js";
6
+ import { I as M } from "./icon-button-1V59UrF-.js";
7
+ import { HelpOutline as R, ErrorOutline as T } from "@commercetools/nimbus-icons";
8
+ import { $ as W } from "./useField-3jug3XBb.js";
9
+ const a = z({
10
+ context: {
11
+ label: null,
12
+ description: null,
13
+ error: null,
14
+ info: null,
15
+ input: null
16
+ },
17
+ setContext: () => {
18
+ }
19
+ }), j = `
20
+ "label"
21
+ "input"
22
+ "description"
23
+ "error"
24
+ `, k = `
25
+ "label input"
26
+ "label description"
27
+ "label error"
28
+ `, N = H({
29
+ slots: ["root", "label", "input", "description", "error", "popover"],
30
+ // Unique class name prefix for the component
31
+ className: "nimbus-ui-form-field",
32
+ base: {
33
+ root: {
34
+ "--grid-gap": "spacing.100",
35
+ display: "grid",
36
+ width: "auto"
37
+ },
38
+ label: {
39
+ gridArea: "label",
40
+ fontWeight: "500",
41
+ color: "neutral.11",
42
+ fontSize: "var(--form-field-font-size)",
43
+ lineHeight: "var(--form-field-line-height)"
44
+ },
45
+ input: {
46
+ gridArea: "input"
47
+ },
48
+ description: {
49
+ gridArea: "description",
50
+ color: "neutral.11",
51
+ fontSize: "var(--form-field-font-size)",
52
+ lineHeight: "var(--form-field-line-height)"
53
+ },
54
+ error: {
55
+ gridArea: "error",
56
+ color: "critical.11",
57
+ fontSize: "var(--form-field-font-size)",
58
+ lineHeight: "var(--form-field-line-height)"
59
+ },
60
+ popover: {
61
+ "--scrollbar-color": "colors.neutral.8",
62
+ "--scrollbar-bg": "colors.neutral.3",
63
+ bg: "neutral.1",
64
+ maxWidth: "xl",
65
+ borderRadius: "200",
66
+ boxShadow: "6",
67
+ border: "solid-25",
68
+ borderColor: "neutral.8",
69
+ maxHeight: "40svh",
70
+ overflow: "auto",
71
+ scrollbarWidth: "thin",
72
+ scrollbarColor: "var(--scrollbar-color) var(--scrollbar-bg)",
73
+ focusRing: "outside"
74
+ }
75
+ },
76
+ variants: {
77
+ size: {
78
+ md: {
79
+ root: {
80
+ "--form-field-font-size": "fontSizes.350",
81
+ "--form-field-line-height": "lineHeights.500"
82
+ }
83
+ },
84
+ sm: {
85
+ root: {
86
+ "--form-field-font-size": "fontSizes.300",
87
+ "--form-field-line-height": "lineHeights.450"
88
+ }
89
+ }
90
+ },
91
+ direction: {
92
+ column: {
93
+ root: {
94
+ gridTemplateAreas: j
95
+ },
96
+ input: {
97
+ mt: "var(--grid-gap)"
98
+ },
99
+ description: {
100
+ mt: "var(--grid-gap)"
101
+ },
102
+ error: {
103
+ mt: "var(--grid-gap)"
104
+ }
105
+ },
106
+ row: {
107
+ root: {
108
+ gridTemplateAreas: k,
109
+ gridTemplateColumns: "auto 1fr",
110
+ gridColumnGap: "200"
111
+ },
112
+ description: {
113
+ mt: "var(--grid-gap)"
114
+ },
115
+ error: {
116
+ mt: "var(--grid-gap)"
117
+ }
118
+ }
119
+ }
120
+ },
121
+ // Default variant values when not explicitly specified
122
+ defaultVariants: {
123
+ direction: "column",
124
+ size: "md"
125
+ }
126
+ }), { withProvider: V, withContext: p } = y({
127
+ recipe: N
128
+ }), _ = V("div", "root"), G = p("div", "label"), O = p("div", "input"), D = p("div", "description"), J = p("div", "error"), K = p("div", "popover"), Q = $(
129
+ ({ isInvalid: r, isRequired: t, isDisabled: e, isReadOnly: i, children: b, ...g }, h) => {
130
+ const [o, u] = P({
131
+ label: null,
132
+ description: null,
133
+ error: null,
134
+ info: null,
135
+ input: null,
136
+ isInvalid: r,
137
+ isRequired: t,
138
+ isDisabled: e,
139
+ isReadOnly: i
140
+ }), f = {
141
+ description: o.description,
142
+ errorMessage: o.error
143
+ };
144
+ o.label ? f.label = o.label : (f["aria-label"] = "empty-label", f["aria-labelledby"] = "empty-label");
145
+ const { labelProps: x, fieldProps: F, descriptionProps: v, errorMessageProps: S } = W(f);
146
+ n(() => {
147
+ u((s) => ({
148
+ ...s,
149
+ isInvalid: r,
150
+ isRequired: t,
151
+ isDisabled: e,
152
+ isReadOnly: i
153
+ }));
154
+ }, [r, t, e, i]);
155
+ const C = {
156
+ ...F,
157
+ isInvalid: r,
158
+ isRequired: t,
159
+ isDisabled: e,
160
+ isReadOnly: i
161
+ };
162
+ return /* @__PURE__ */ l(a.Provider, { value: { context: o, setContext: u }, children: /* @__PURE__ */ c(_, { ref: h, ...g, children: [
163
+ o.label && /* @__PURE__ */ c(G, { ...o.labelSlotProps, children: [
164
+ /* @__PURE__ */ c("label", { ...x, children: [
165
+ o.label,
166
+ t && /* @__PURE__ */ l("sup", { "aria-hidden": "true", children: "*" })
167
+ ] }),
168
+ o.info && /* @__PURE__ */ c(B, { children: [
169
+ /* @__PURE__ */ l(
170
+ m,
171
+ {
172
+ as: "span",
173
+ display: "inline-block",
174
+ position: "relative",
175
+ width: "1ch",
176
+ height: "1ch",
177
+ ml: "200",
178
+ children: /* @__PURE__ */ l(
179
+ m,
180
+ {
181
+ as: "span",
182
+ display: "inline-flex",
183
+ position: "absolute",
184
+ top: "50%",
185
+ right: "50%",
186
+ transform: "translate(50%, -50%)",
187
+ children: /* @__PURE__ */ l(
188
+ M,
189
+ {
190
+ "aria-label": "__MORE INFO",
191
+ size: "2xs",
192
+ tone: "info",
193
+ variant: "link",
194
+ children: /* @__PURE__ */ l(R, {})
195
+ }
196
+ )
197
+ }
198
+ )
199
+ }
200
+ ),
201
+ /* @__PURE__ */ l(L, { children: /* @__PURE__ */ l(K, { asChild: !0, children: /* @__PURE__ */ l(I, { children: /* @__PURE__ */ l(m, { p: "300", children: o.info }) }) }) })
202
+ ] })
203
+ ] }),
204
+ o.input && /* @__PURE__ */ l(O, { ...o.inputSlotProps, children: w.map(o.input, (s) => A(s) ? E(s, C) : s) }),
205
+ o.description && /* @__PURE__ */ l(
206
+ D,
207
+ {
208
+ ...v,
209
+ ...o.descriptionSlotProps,
210
+ children: o.description
211
+ }
212
+ ),
213
+ r && o.error && /* @__PURE__ */ c(
214
+ J,
215
+ {
216
+ ...S,
217
+ ...o.errorSlotProps,
218
+ children: [
219
+ /* @__PURE__ */ l(
220
+ m,
221
+ {
222
+ as: T,
223
+ display: "inline-flex",
224
+ boxSize: "400",
225
+ verticalAlign: "text-bottom",
226
+ mr: "100"
227
+ }
228
+ ),
229
+ o.error
230
+ ]
231
+ }
232
+ ),
233
+ b
234
+ ] }) });
235
+ }
236
+ ), U = ({
237
+ children: r,
238
+ ...t
239
+ }) => {
240
+ const { setContext: e } = d(a);
241
+ return n(() => {
242
+ e((i) => ({
243
+ ...i,
244
+ label: r,
245
+ labelSlotProps: t
246
+ }));
247
+ }, [r, e]), null;
248
+ }, X = ({
249
+ children: r,
250
+ ...t
251
+ }) => {
252
+ const { setContext: e } = d(a);
253
+ return n(() => {
254
+ e((i) => ({
255
+ ...i,
256
+ input: r,
257
+ inputSlotProps: t
258
+ }));
259
+ }, [r, e]), null;
260
+ }, Y = ({
261
+ children: r,
262
+ ...t
263
+ }) => {
264
+ const { setContext: e } = d(a);
265
+ return n(() => {
266
+ e((i) => ({
267
+ ...i,
268
+ description: r,
269
+ descriptionSlotProps: t
270
+ }));
271
+ }, [r, e]), null;
272
+ }, Z = ({
273
+ children: r,
274
+ ...t
275
+ }) => {
276
+ const { setContext: e } = d(a);
277
+ return n(() => {
278
+ e((i) => ({
279
+ ...i,
280
+ error: r,
281
+ errorSlotProps: t
282
+ }));
283
+ }, [r, e]), null;
284
+ }, q = ({ children: r }) => {
285
+ const { setContext: t } = d(a);
286
+ return n(() => {
287
+ t((e) => ({
288
+ ...e,
289
+ info: r
290
+ }));
291
+ }, [r, t]), null;
292
+ }, sr = {
293
+ Root: Q,
294
+ Label: U,
295
+ Input: X,
296
+ Description: Y,
297
+ Error: Z,
298
+ InfoBox: q
299
+ };
300
+ export {
301
+ sr as F,
302
+ Q as a,
303
+ U as b,
304
+ X as c,
305
+ Y as d,
306
+ Z as e,
307
+ q as f
308
+ };
309
+ //# sourceMappingURL=form-field-Dr8lL5SU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-field-Dr8lL5SU.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":"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"}
@@ -0,0 +1,15 @@
1
+ function o(t, l) {
2
+ if (!t) return !1;
3
+ let e = window.getComputedStyle(t), r = /(auto|scroll)/.test(e.overflow + e.overflowX + e.overflowY);
4
+ return r && l && (r = t.scrollHeight !== t.clientHeight || t.scrollWidth !== t.clientWidth), r;
5
+ }
6
+ function c(t, l) {
7
+ let e = t;
8
+ for (o(e, l) && (e = e.parentElement); e && !o(e, l); ) e = e.parentElement;
9
+ return e || document.scrollingElement || document.documentElement;
10
+ }
11
+ export {
12
+ o as $,
13
+ c as a
14
+ };
15
+ //# sourceMappingURL=getScrollParent-DE66eQI-.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getScrollParent-DE66eQI-.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/isScrollable.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/getScrollParent.mjs"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $cc38e7bd3fc7b213$export$2bb74740c4e19def(node, checkForOverflow) {\n if (!node) return false;\n let style = window.getComputedStyle(node);\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n return isScrollable;\n}\n\n\nexport {$cc38e7bd3fc7b213$export$2bb74740c4e19def as isScrollable};\n//# sourceMappingURL=isScrollable.module.js.map\n","import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $62d8ded9296f3872$export$cfa2225e87938781(node, checkForOverflow) {\n let scrollableNode = node;\n if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;\n while(scrollableNode && !(0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow))scrollableNode = scrollableNode.parentElement;\n return scrollableNode || document.scrollingElement || document.documentElement;\n}\n\n\nexport {$62d8ded9296f3872$export$cfa2225e87938781 as getScrollParent};\n//# sourceMappingURL=getScrollParent.module.js.map\n"],"names":["$cc38e7bd3fc7b213$export$2bb74740c4e19def","node","checkForOverflow","style","isScrollable","$62d8ded9296f3872$export$cfa2225e87938781","scrollableNode"],"mappings":"AAUI,SAASA,EAA0CC,GAAMC,GAAkB;AAC3E,MAAI,CAACD,EAAM,QAAO;AAClB,MAAIE,IAAQ,OAAO,iBAAiBF,CAAI,GACpCG,IAAe,gBAAgB,KAAKD,EAAM,WAAWA,EAAM,YAAYA,EAAM,SAAS;AAC1F,SAAIC,KAAgBF,MAAkBE,IAAeH,EAAK,iBAAiBA,EAAK,gBAAgBA,EAAK,gBAAgBA,EAAK,cACnHG;AACX;ACHA,SAASC,EAA0CJ,GAAMC,GAAkB;AACvE,MAAII,IAAiBL;AAErB,OADQD,EAA2CM,GAAgBJ,CAAgB,MAAGI,IAAiBA,EAAe,gBAChHA,KAAkB,CAAKN,EAA2CM,GAAgBJ,CAAgB,IAAE,CAAAI,IAAiBA,EAAe;AAC1I,SAAOA,KAAkB,SAAS,oBAAoB,SAAS;AACnE;","x_google_ignoreList":[0,1]}
@@ -0,0 +1,2 @@
1
+ "use strict";function r(t,l){if(!t)return!1;let e=window.getComputedStyle(t),c=/(auto|scroll)/.test(e.overflow+e.overflowX+e.overflowY);return c&&l&&(c=t.scrollHeight!==t.clientHeight||t.scrollWidth!==t.clientWidth),c}function o(t,l){let e=t;for(r(e,l)&&(e=e.parentElement);e&&!r(e,l);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}exports.$62d8ded9296f3872$export$cfa2225e87938781=o;exports.$cc38e7bd3fc7b213$export$2bb74740c4e19def=r;
2
+ //# sourceMappingURL=getScrollParent-Dc1cnLDE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getScrollParent-Dc1cnLDE.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/isScrollable.mjs","../../../../node_modules/.pnpm/@react-aria+utils@3.29.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/getScrollParent.mjs"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $cc38e7bd3fc7b213$export$2bb74740c4e19def(node, checkForOverflow) {\n if (!node) return false;\n let style = window.getComputedStyle(node);\n let isScrollable = /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);\n if (isScrollable && checkForOverflow) isScrollable = node.scrollHeight !== node.clientHeight || node.scrollWidth !== node.clientWidth;\n return isScrollable;\n}\n\n\nexport {$cc38e7bd3fc7b213$export$2bb74740c4e19def as isScrollable};\n//# sourceMappingURL=isScrollable.module.js.map\n","import {isScrollable as $cc38e7bd3fc7b213$export$2bb74740c4e19def} from \"./isScrollable.mjs\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \nfunction $62d8ded9296f3872$export$cfa2225e87938781(node, checkForOverflow) {\n let scrollableNode = node;\n if ((0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;\n while(scrollableNode && !(0, $cc38e7bd3fc7b213$export$2bb74740c4e19def)(scrollableNode, checkForOverflow))scrollableNode = scrollableNode.parentElement;\n return scrollableNode || document.scrollingElement || document.documentElement;\n}\n\n\nexport {$62d8ded9296f3872$export$cfa2225e87938781 as getScrollParent};\n//# sourceMappingURL=getScrollParent.module.js.map\n"],"names":["$cc38e7bd3fc7b213$export$2bb74740c4e19def","node","checkForOverflow","style","isScrollable","$62d8ded9296f3872$export$cfa2225e87938781","scrollableNode"],"mappings":"aAUI,SAASA,EAA0CC,EAAMC,EAAkB,CAC3E,GAAI,CAACD,EAAM,MAAO,GAClB,IAAIE,EAAQ,OAAO,iBAAiBF,CAAI,EACpCG,EAAe,gBAAgB,KAAKD,EAAM,SAAWA,EAAM,UAAYA,EAAM,SAAS,EAC1F,OAAIC,GAAgBF,IAAkBE,EAAeH,EAAK,eAAiBA,EAAK,cAAgBA,EAAK,cAAgBA,EAAK,aACnHG,CACX,CCHA,SAASC,EAA0CJ,EAAMC,EAAkB,CACvE,IAAII,EAAiBL,EAErB,IADQD,EAA2CM,EAAgBJ,CAAgB,IAAGI,EAAiBA,EAAe,eAChHA,GAAkB,CAAKN,EAA2CM,EAAgBJ,CAAgB,GAAEI,EAAiBA,EAAe,cAC1I,OAAOA,GAAkB,SAAS,kBAAoB,SAAS,eACnE","x_google_ignoreList":[0,1]}
@@ -0,0 +1,14 @@
1
+ import { 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 = Object.assign(r, {
9
+ Item: e
10
+ });
11
+ export {
12
+ G
13
+ };
14
+ //# sourceMappingURL=grid-CLVDMJAz.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-CLVDMJAz.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,SAAQ,gBAAAG,EAAAC,GAAA,EAAW,KAAAH,GAAW,GAAGC,EAAW,CAAA;AAC9C;AAEAH,EAAc,cAAc;AAEf,MAAAM,IAAO,OAAO,OAAON,GAAe;AAAA,EAC/C,MAAMO;AACR,CAAC;"}
@@ -0,0 +1,2 @@
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.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid-xr2A-OqD.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,OAAQG,EAAA,IAAAC,EAAA,KAAA,CAAW,IAAAH,EAAW,GAAGC,CAAW,CAAA,CAC9C,EAEAH,EAAc,YAAc,OAEf,MAAAM,EAAO,OAAO,OAAON,EAAe,CAC/C,KAAMO,EAAAA,QACR,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { defineRecipe as t, createRecipeContext as n } from "@chakra-ui/react";
3
+ const c = t({
4
+ className: "nimbus-icon",
5
+ base: {
6
+ display: "inline-block"
7
+ },
8
+ variants: {
9
+ /**
10
+ * allows applying a predefined size to the icon
11
+ */
12
+ size: {
13
+ "2xs": { boxSize: "600" },
14
+ xs: { boxSize: "800" },
15
+ sm: { boxSize: "900" },
16
+ md: { boxSize: "1000" },
17
+ lg: { boxSize: "1200" },
18
+ xl: { boxSize: "1400" }
19
+ }
20
+ }
21
+ }), { withContext: r } = n({ recipe: c }), x = r(
22
+ "svg"
23
+ ), a = (o) => {
24
+ const { ref: i, ...e } = o;
25
+ return /* @__PURE__ */ s(x, { ref: i, asChild: !e.as, ...e });
26
+ };
27
+ a.displayName = "Icon";
28
+ export {
29
+ a as I
30
+ };
31
+ //# sourceMappingURL=icon-CjRXcxB9.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-CjRXcxB9.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,IAAaC,EAAa;AAAA,EACrC,WAAW;AAAA,EACX,MAAM;AAAA,IACJ,SAAS;AAAA,EACX;AAAA,EAEA,UAAU;AAAA;AAAA;AAAA;AAAA,IAIR,MAAM;AAAA,MACJ,OAAO,EAAE,SAAS,MAAM;AAAA,MACxB,IAAI,EAAE,SAAS,MAAM;AAAA,MACrB,IAAI,EAAE,SAAS,MAAM;AAAA,MACrB,IAAI,EAAE,SAAS,OAAO;AAAA,MACtB,IAAI,EAAE,SAAS,OAAO;AAAA,MACtB,IAAI,EAAE,SAAS,OAAO;AAAA,IAAA;AAAA,EACxB;AAEJ,CAAC,GCFK,EAAE,aAAAC,EAAY,IAAIC,EAAoB,EAAE,QAAQH,GAAY,GAMrDI,IAAeF;AAAA,EAC1B;AACF,GCxBaG,IAAO,CAACC,MAAqB;AACxC,QAAM,EAAE,KAAAC,GAAK,GAAGC,EAAA,IAAcF;AACvB,SAAA,gBAAAG,EAACL,KAAa,KAAAG,GAAU,SAAS,CAACC,EAAU,IAAK,GAAGA,GAAW;AACxE;AAEAH,EAAK,cAAc;"}
@@ -0,0 +1,2 @@
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.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-D50i-dqv.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,cACX,EAEA,SAAU,CAIR,KAAM,CACJ,MAAO,CAAE,QAAS,KAAM,EACxB,GAAI,CAAE,QAAS,KAAM,EACrB,GAAI,CAAE,QAAS,KAAM,EACrB,GAAI,CAAE,QAAS,MAAO,EACtB,GAAI,CAAE,QAAS,MAAO,EACtB,GAAI,CAAE,QAAS,MAAO,CAAA,CACxB,CAEJ,CAAC,ECFK,CAAE,YAAAC,CAAY,EAAIC,EAAAA,oBAAoB,CAAE,OAAQH,EAAY,EAMrDI,EAAeF,EAC1B,KACF,ECxBaG,EAAQC,GAAqB,CACxC,KAAM,CAAE,IAAAC,EAAK,GAAGC,CAAA,EAAcF,EACvB,OAAAG,EAAA,IAACL,GAAa,IAAAG,EAAU,QAAS,CAACC,EAAU,GAAK,GAAGA,EAAW,CACxE,EAEAH,EAAK,YAAc"}
@@ -0,0 +1,14 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { useRef as n } from "react";
3
+ import { mergeRefs as p } from "@chakra-ui/react";
4
+ import { B as a } from "./button-Ckftvc2h.js";
5
+ import { $ as c } from "./useObjectRef-CaJ5pgjX.js";
6
+ const i = (o) => {
7
+ const { children: r, ref: t, ...e } = o, f = n(null), s = c(p(f, t));
8
+ return /* @__PURE__ */ m(a, { px: 0, py: 0, ...e, ref: s, children: r });
9
+ };
10
+ i.displayName = "IconButton";
11
+ export {
12
+ i as I
13
+ };
14
+ //# sourceMappingURL=icon-button-1V59UrF-.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-button-1V59UrF-.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":";;;;;AAYa,MAAAA,IAAa,CAACC,MAA2B;AACpD,QAAM,EAAE,UAAAC,GAAU,KAAKC,GAAc,GAAGC,EAAc,IAAAH,GAGhDI,IAAWC,EAA0B,IAAI,GACzCC,IAAMC,EAAaC,EAAUJ,GAAUF,CAAY,CAAC;AAGxD,SAAA,gBAAAO,EAACC,KAAO,IAAI,GAAG,IAAI,GAAI,GAAGP,GAAW,KAAAG,GAClC,UAAAL,EACH,CAAA;AAEJ;AAEAF,EAAW,cAAc;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const u=require("react/jsx-runtime"),f=require("react"),i=require("@chakra-ui/react"),a=require("./button-vfAeHh1t.js"),d=require("./useObjectRef-4v2MxSjQ.js"),e=t=>{const{children:r,ref:n,...o}=t,s=f.useRef(null),c=d.$df56164dff5785e2$export$4338b53315abf666(i.mergeRefs(s,n));return u.jsx(a.Button,{px:0,py:0,...o,ref:c,children:r})};e.displayName="IconButton";exports.IconButton=e;
2
+ //# sourceMappingURL=icon-button-CE-LnFNq.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-button-CE-LnFNq.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":"6KAYaA,EAAcC,GAA2B,CACpD,KAAM,CAAE,SAAAC,EAAU,IAAKC,EAAc,GAAGC,CAAc,EAAAH,EAGhDI,EAAWC,SAA0B,IAAI,EACzCC,EAAMC,EAAA,0CAAaC,EAAU,UAAAJ,EAAUF,CAAY,CAAC,EAGxD,OAAAO,MAACC,EAAAA,QAAO,GAAI,EAAG,GAAI,EAAI,GAAGP,EAAW,IAAAG,EAClC,SAAAL,CACH,CAAA,CAEJ,EAEAF,EAAW,YAAc"}
@@ -0,0 +1,2 @@
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.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-DCirAAnr.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,CAAO,CAAA,EAGjCD,EAAM,YAAc"}
@@ -0,0 +1,8 @@
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.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-rXPA3shk.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":";;AAaa,MAAAA,IAAQ,CAACC,MACb,gBAAAC,EAACC,GAAa,EAAA,GAAGF,EAAO,CAAA;AAGjCD,EAAM,cAAc;"}
@@ -0,0 +1,6 @@
1
+ import { Kbd as o } from "@chakra-ui/react";
2
+ const b = o;
3
+ export {
4
+ b as K
5
+ };
6
+ //# sourceMappingURL=kbd-BKH_SGCC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kbd-BKH_SGCC.js","sources":["../../src/components/kbd/kbd.tsx"],"sourcesContent":["import { Kbd as ChakraKbd } from \"@chakra-ui/react\";\n\n/**\n * @experimental This component is experimental and may change or be removed in future versions.\n */\nexport const Kbd = ChakraKbd;\n"],"names":["Kbd","ChakraKbd"],"mappings":";AAKO,MAAMA,IAAMC;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const t=require("@chakra-ui/react"),c=t.Kbd;exports.Kbd=c;
2
+ //# sourceMappingURL=kbd-Bhv8ae1I.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kbd-Bhv8ae1I.js","sources":["../../src/components/kbd/kbd.tsx"],"sourcesContent":["import { Kbd as ChakraKbd } from \"@chakra-ui/react\";\n\n/**\n * @experimental This component is experimental and may change or be removed in future versions.\n */\nexport const Kbd = ChakraKbd;\n"],"names":["Kbd","ChakraKbd"],"mappings":"iDAKaA,EAAMC,EAAAA"}
@@ -0,0 +1,49 @@
1
+ import { jsx as C } from "react/jsx-runtime";
2
+ import { useRef as h } from "react";
3
+ import { createRecipeContext as T, mergeRefs as R } from "@chakra-ui/react";
4
+ import { l as v } from "./link.recipe-CbFF3IUG.js";
5
+ import { $ as L } from "./useObjectRef-CaJ5pgjX.js";
6
+ import { $ } from "./mergeProps-DAjoWNOq.js";
7
+ import { $ as g } from "./filterDOMProps-D6KHYVBX.js";
8
+ import { $ as D, a as y, b as E, c as S } from "./usePress-dJvNd3G7.js";
9
+ import { $ as w } from "./useFocusable-IwGfkXQG.js";
10
+ function H(e, o) {
11
+ let { elementType: s = "a", onPress: i, onPressStart: c, onPressEnd: n, onClick: f, isDisabled: t, ...l } = e, a = {};
12
+ s !== "a" && (a = {
13
+ role: "link",
14
+ tabIndex: t ? void 0 : 0
15
+ });
16
+ let { focusableProps: m } = w(e, o), { pressProps: d, isPressed: P } = D({
17
+ onPress: i,
18
+ onPressStart: c,
19
+ onPressEnd: n,
20
+ onClick: f,
21
+ isDisabled: t,
22
+ ref: o
23
+ }), u = g(l, {
24
+ labelable: !0
25
+ }), k = $(m, d), b = y(), x = E(e);
26
+ return {
27
+ isPressed: P,
28
+ linkProps: $(u, x, {
29
+ ...k,
30
+ ...a,
31
+ "aria-disabled": t || void 0,
32
+ "aria-current": e["aria-current"],
33
+ onClick: (r) => {
34
+ var p;
35
+ (p = d.onClick) === null || p === void 0 || p.call(d, r), !b.isNative && r.currentTarget instanceof HTMLAnchorElement && r.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.
36
+ !r.isDefaultPrevented() && S(r.currentTarget, r) && e.href && (r.preventDefault(), b.open(r.currentTarget, r, e.href, e.routerOptions));
37
+ }
38
+ })
39
+ };
40
+ }
41
+ const { withContext: N } = T({ recipe: v }), _ = N("a"), j = (e) => {
42
+ const { as: o, asChild: s, children: i, ref: c, ...n } = e, f = h(null), t = L(R(f, c)), l = o || (s ? "span" : "a") || "a", { linkProps: a } = H({ ...n, elementType: l }, t);
43
+ return /* @__PURE__ */ C(_, { ...$(n, a, { as: o, asChild: s, ref: t }), children: i });
44
+ };
45
+ j.displayName = "Link";
46
+ export {
47
+ j as L
48
+ };
49
+ //# sourceMappingURL=link-1lfvUDKX.js.map