@commercetools/nimbus 0.0.0-canary-20250812202252 → 0.0.0-canary-20250813190648

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 (619) hide show
  1. package/dist/accordion.d.ts +2 -2
  2. package/dist/alert.d.ts +5 -5
  3. package/dist/avatar.d.ts +4 -4
  4. package/dist/badge.d.ts +4 -4
  5. package/dist/box.d.ts +1 -1
  6. package/dist/button.d.ts +3 -3
  7. package/dist/calendar.d.ts +2 -2
  8. package/dist/card.d.ts +4 -4
  9. package/dist/checkbox.d.ts +2 -2
  10. package/dist/chunks/{accordion-xfgQQjFK.es.js → accordion-CqRxcnoE.es.js} +19 -17
  11. package/dist/chunks/accordion-CqRxcnoE.es.js.map +1 -0
  12. package/dist/chunks/accordion-DJNATyjS.cjs.js +2 -0
  13. package/dist/chunks/accordion-DJNATyjS.cjs.js.map +1 -0
  14. package/dist/chunks/alert-BffSjlyM.cjs.js +2 -0
  15. package/dist/chunks/alert-BffSjlyM.cjs.js.map +1 -0
  16. package/dist/chunks/{alert-BkF91mJ0.es.js → alert-Ctgl9RlR.es.js} +26 -25
  17. package/dist/chunks/alert-Ctgl9RlR.es.js.map +1 -0
  18. package/dist/chunks/{avatar-DgvfEdwK.es.js → avatar-DDCMu1RQ.es.js} +11 -10
  19. package/dist/chunks/avatar-DDCMu1RQ.es.js.map +1 -0
  20. package/dist/chunks/avatar-Dps7PI8I.cjs.js +2 -0
  21. package/dist/chunks/avatar-Dps7PI8I.cjs.js.map +1 -0
  22. package/dist/chunks/avatar.recipe-CQivdbFs.cjs.js +2 -0
  23. package/dist/chunks/avatar.recipe-CQivdbFs.cjs.js.map +1 -0
  24. package/dist/chunks/{avatar.recipe-BSmmqvwQ.es.js → avatar.recipe-CxXQlkH6.es.js} +2 -2
  25. package/dist/chunks/avatar.recipe-CxXQlkH6.es.js.map +1 -0
  26. package/dist/chunks/{badge-DVDR3-fy.es.js → badge-CmLLB9Kf.es.js} +9 -7
  27. package/dist/chunks/badge-CmLLB9Kf.es.js.map +1 -0
  28. package/dist/chunks/badge-Do9L64AE.cjs.js +2 -0
  29. package/dist/chunks/badge-Do9L64AE.cjs.js.map +1 -0
  30. package/dist/chunks/box-BOsRGQEm.cjs.js +2 -0
  31. package/dist/chunks/box-BOsRGQEm.cjs.js.map +1 -0
  32. package/dist/chunks/box-Cd4iddEV.es.js +13 -0
  33. package/dist/chunks/box-Cd4iddEV.es.js.map +1 -0
  34. package/dist/chunks/button--WwulbmL.cjs.js +2 -0
  35. package/dist/chunks/button--WwulbmL.cjs.js.map +1 -0
  36. package/dist/chunks/button-D0vEDRkY.es.js +57 -0
  37. package/dist/chunks/button-D0vEDRkY.es.js.map +1 -0
  38. package/dist/chunks/button.recipe-ClPhJ93N.cjs.js +2 -0
  39. package/dist/chunks/button.recipe-ClPhJ93N.cjs.js.map +1 -0
  40. package/dist/chunks/{button.recipe-DzOS_Bqm.es.js → button.recipe-D9e9Gh9L.es.js} +2 -2
  41. package/dist/chunks/button.recipe-D9e9Gh9L.es.js.map +1 -0
  42. package/dist/chunks/calendar-BU6VJNGi.cjs.js +2 -0
  43. package/dist/chunks/calendar-BU6VJNGi.cjs.js.map +1 -0
  44. package/dist/chunks/{calendar-B4nCYXn4.es.js → calendar-BxI6atN6.es.js} +20 -18
  45. package/dist/chunks/calendar-BxI6atN6.es.js.map +1 -0
  46. package/dist/chunks/card-C7xJPUxQ.cjs.js +2 -0
  47. package/dist/chunks/card-C7xJPUxQ.cjs.js.map +1 -0
  48. package/dist/chunks/{card-CvY06qIE.es.js → card-OJ-C7GGY.es.js} +24 -23
  49. package/dist/chunks/card-OJ-C7GGY.es.js.map +1 -0
  50. package/dist/chunks/checkbox-BBesM-2s.cjs.js +2 -0
  51. package/dist/chunks/checkbox-BBesM-2s.cjs.js.map +1 -0
  52. package/dist/chunks/{checkbox-yo64B6Gz.es.js → checkbox-uHIP3eGd.es.js} +15 -14
  53. package/dist/chunks/checkbox-uHIP3eGd.es.js.map +1 -0
  54. package/dist/chunks/code-7P3tH99x.cjs.js +2 -0
  55. package/dist/chunks/code-7P3tH99x.cjs.js.map +1 -0
  56. package/dist/chunks/code-C44qm68X.es.js +8 -0
  57. package/dist/chunks/code-C44qm68X.es.js.map +1 -0
  58. package/dist/chunks/{combobox-DWSsUEVz.es.js → combobox-BinlFC76.es.js} +110 -108
  59. package/dist/chunks/{combobox-DWSsUEVz.es.js.map → combobox-BinlFC76.es.js.map} +1 -1
  60. package/dist/chunks/combobox-J_QFtJde.cjs.js +2 -0
  61. package/dist/chunks/{combobox-D5lDtav9.cjs.js.map → combobox-J_QFtJde.cjs.js.map} +1 -1
  62. package/dist/chunks/config-Mt8_uyhI.cjs.js +2 -0
  63. package/dist/chunks/config-Mt8_uyhI.cjs.js.map +1 -0
  64. package/dist/chunks/config-ufbQ08Vi.es.js +6 -0
  65. package/dist/chunks/config-ufbQ08Vi.es.js.map +1 -0
  66. package/dist/chunks/create-recipe-context-BfiKn3k_.cjs.js +2 -0
  67. package/dist/chunks/create-recipe-context-BfiKn3k_.cjs.js.map +1 -0
  68. package/dist/chunks/create-recipe-context-c0qjq1fz.es.js +62 -0
  69. package/dist/chunks/create-recipe-context-c0qjq1fz.es.js.map +1 -0
  70. package/dist/chunks/create-slot-recipe-context-7JMdJHPF.cjs.js +2 -0
  71. package/dist/chunks/create-slot-recipe-context-7JMdJHPF.cjs.js.map +1 -0
  72. package/dist/chunks/create-slot-recipe-context-Cv3lncUO.es.js +104 -0
  73. package/dist/chunks/create-slot-recipe-context-Cv3lncUO.es.js.map +1 -0
  74. package/dist/chunks/date-input-BxN-H9P6.es.js +17 -0
  75. package/dist/chunks/date-input-BxN-H9P6.es.js.map +1 -0
  76. package/dist/chunks/date-input-CM4AIKke.cjs.js +2 -0
  77. package/dist/chunks/date-input-CM4AIKke.cjs.js.map +1 -0
  78. package/dist/chunks/{date-picker-CrV9TJ_O.es.js → date-picker-Anq88Byq.es.js} +39 -38
  79. package/dist/chunks/date-picker-Anq88Byq.es.js.map +1 -0
  80. package/dist/chunks/date-picker-mVAaj9Pj.cjs.js +2 -0
  81. package/dist/chunks/date-picker-mVAaj9Pj.cjs.js.map +1 -0
  82. package/dist/chunks/{date-range-picker-ByLVQAiA.es.js → date-range-picker-CZTsX2-y.es.js} +14 -13
  83. package/dist/chunks/date-range-picker-CZTsX2-y.es.js.map +1 -0
  84. package/dist/chunks/date-range-picker-CgL8fH17.cjs.js +2 -0
  85. package/dist/chunks/date-range-picker-CgL8fH17.cjs.js.map +1 -0
  86. package/dist/chunks/dialog-7iIFtc75.cjs.js +2 -0
  87. package/dist/chunks/dialog-7iIFtc75.cjs.js.map +1 -0
  88. package/dist/chunks/dialog-CbMKp4zh.es.js +1874 -0
  89. package/dist/chunks/dialog-CbMKp4zh.es.js.map +1 -0
  90. package/dist/chunks/{divider-m0ZtHIMJ.es.js → divider-CVqryFNj.es.js} +4 -2
  91. package/dist/chunks/divider-CVqryFNj.es.js.map +1 -0
  92. package/dist/chunks/divider-D8xdfux3.cjs.js +2 -0
  93. package/dist/chunks/divider-D8xdfux3.cjs.js.map +1 -0
  94. package/dist/chunks/empty-B5_AO6Pg.cjs.js +2 -0
  95. package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -0
  96. package/dist/chunks/empty-D7ZFmvo6.es.js +8 -0
  97. package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -0
  98. package/dist/chunks/extractStyleProps-B7kwDyYx.es.js +11 -0
  99. package/dist/chunks/extractStyleProps-B7kwDyYx.es.js.map +1 -0
  100. package/dist/chunks/extractStyleProps-Br2UMow5.cjs.js +2 -0
  101. package/dist/chunks/extractStyleProps-Br2UMow5.cjs.js.map +1 -0
  102. package/dist/chunks/factory-BpGQXckI.es.js +266 -0
  103. package/dist/chunks/factory-BpGQXckI.es.js.map +1 -0
  104. package/dist/chunks/factory-DNbWS0Ob.cjs.js +3 -0
  105. package/dist/chunks/factory-DNbWS0Ob.cjs.js.map +1 -0
  106. package/dist/chunks/flex-DgabwPpo.es.js +40 -0
  107. package/dist/chunks/flex-DgabwPpo.es.js.map +1 -0
  108. package/dist/chunks/flex-DgsstZZT.cjs.js +2 -0
  109. package/dist/chunks/flex-DgsstZZT.cjs.js.map +1 -0
  110. package/dist/chunks/{form-field-CBFyTAo8.cjs.js → form-field-BFeTiFeX.cjs.js} +3 -3
  111. package/dist/chunks/form-field-BFeTiFeX.cjs.js.map +1 -0
  112. package/dist/chunks/{form-field-C9PpQYF0.es.js → form-field-CRWPeZsB.es.js} +31 -30
  113. package/dist/chunks/form-field-CRWPeZsB.es.js.map +1 -0
  114. package/dist/chunks/grid-D2EDS3Nw.cjs.js +2 -0
  115. package/dist/chunks/grid-D2EDS3Nw.cjs.js.map +1 -0
  116. package/dist/chunks/grid-item-BHKNxWuU.es.js +75 -0
  117. package/dist/chunks/grid-item-BHKNxWuU.es.js.map +1 -0
  118. package/dist/chunks/grid-item-Bwt35oD8.cjs.js +2 -0
  119. package/dist/chunks/grid-item-Bwt35oD8.cjs.js.map +1 -0
  120. package/dist/chunks/grid-ksgCqjX_.es.js +14 -0
  121. package/dist/chunks/grid-ksgCqjX_.es.js.map +1 -0
  122. package/dist/chunks/heading-C9DC5cG8.es.js +8 -0
  123. package/dist/chunks/heading-C9DC5cG8.es.js.map +1 -0
  124. package/dist/chunks/heading-CbGsyynP.cjs.js +2 -0
  125. package/dist/chunks/heading-CbGsyynP.cjs.js.map +1 -0
  126. package/dist/chunks/{icon-BFNYuilh.es.js → icon-BSGub7AG.es.js} +10 -9
  127. package/dist/chunks/icon-BSGub7AG.es.js.map +1 -0
  128. package/dist/chunks/icon-H-rP9kq5.cjs.js +2 -0
  129. package/dist/chunks/icon-H-rP9kq5.cjs.js.map +1 -0
  130. package/dist/chunks/{icon-button-BEaNe4rE.cjs.js → icon-button-C-Orugq3.cjs.js} +2 -2
  131. package/dist/chunks/{icon-button-BEaNe4rE.cjs.js.map → icon-button-C-Orugq3.cjs.js.map} +1 -1
  132. package/dist/chunks/{icon-button-DqkVeZCx.es.js → icon-button-CJHH2Msr.es.js} +2 -2
  133. package/dist/chunks/{icon-button-DqkVeZCx.es.js.map → icon-button-CJHH2Msr.es.js.map} +1 -1
  134. package/dist/chunks/{icon-toggle-button-CuzGWc2s.es.js → icon-toggle-button-BeyRptXX.es.js} +2 -2
  135. package/dist/chunks/{icon-toggle-button-CuzGWc2s.es.js.map → icon-toggle-button-BeyRptXX.es.js.map} +1 -1
  136. package/dist/chunks/{icon-toggle-button-CvLwJfJE.cjs.js → icon-toggle-button-BvmRCp0M.cjs.js} +2 -2
  137. package/dist/chunks/{icon-toggle-button-CvLwJfJE.cjs.js.map → icon-toggle-button-BvmRCp0M.cjs.js.map} +1 -1
  138. package/dist/chunks/image-B-WEdENT.cjs.js +2 -0
  139. package/dist/chunks/image-B-WEdENT.cjs.js.map +1 -0
  140. package/dist/chunks/image-BVUCjLWP.es.js +22 -0
  141. package/dist/chunks/image-BVUCjLWP.es.js.map +1 -0
  142. package/dist/chunks/image-BwlmPt3P.es.js +8 -0
  143. package/dist/chunks/image-BwlmPt3P.es.js.map +1 -0
  144. package/dist/chunks/image-CIQlu9WX.cjs.js +2 -0
  145. package/dist/chunks/image-CIQlu9WX.cjs.js.map +1 -0
  146. package/dist/chunks/index-DdQ9V6B1.es.js +3370 -0
  147. package/dist/chunks/index-DdQ9V6B1.es.js.map +1 -0
  148. package/dist/chunks/index-LEpCeLVL.cjs.js +4 -0
  149. package/dist/chunks/index-LEpCeLVL.cjs.js.map +1 -0
  150. package/dist/chunks/kbd-CJWAjmm3.es.js +16 -0
  151. package/dist/chunks/kbd-CJWAjmm3.es.js.map +1 -0
  152. package/dist/chunks/kbd-D4NGKYuV.cjs.js +2 -0
  153. package/dist/chunks/kbd-D4NGKYuV.cjs.js.map +1 -0
  154. package/dist/chunks/kbd.recipe-9kxAU5ro.cjs.js +2 -0
  155. package/dist/chunks/kbd.recipe-9kxAU5ro.cjs.js.map +1 -0
  156. package/dist/chunks/{kbd.recipe-BONVaPQN.es.js → kbd.recipe-BTW0MQqx.es.js} +2 -2
  157. package/dist/chunks/kbd.recipe-BTW0MQqx.es.js.map +1 -0
  158. package/dist/chunks/link-DioynlqV.cjs.js +2 -0
  159. package/dist/chunks/link-DioynlqV.cjs.js.map +1 -0
  160. package/dist/chunks/{link-BS1jRPrC.es.js → link-WoVkNCsH.es.js} +6 -5
  161. package/dist/chunks/link-WoVkNCsH.es.js.map +1 -0
  162. package/dist/chunks/{link.recipe-Ba2by0OG.es.js → link.recipe-BRnFQ5bP.es.js} +2 -2
  163. package/dist/chunks/link.recipe-BRnFQ5bP.es.js.map +1 -0
  164. package/dist/chunks/link.recipe-BfCxtKjL.cjs.js +2 -0
  165. package/dist/chunks/link.recipe-BfCxtKjL.cjs.js.map +1 -0
  166. package/dist/chunks/list-BaX7-sRB.cjs.js +2 -0
  167. package/dist/chunks/list-BaX7-sRB.cjs.js.map +1 -0
  168. package/dist/chunks/list-BhODpevn.es.js +23 -0
  169. package/dist/chunks/list-BhODpevn.es.js.map +1 -0
  170. package/dist/chunks/{loading-spinner-DwN-yshK.es.js → loading-spinner-CLsuIMu8.es.js} +7 -6
  171. package/dist/chunks/loading-spinner-CLsuIMu8.es.js.map +1 -0
  172. package/dist/chunks/loading-spinner-DJg5GzG_.cjs.js +2 -0
  173. package/dist/chunks/loading-spinner-DJg5GzG_.cjs.js.map +1 -0
  174. package/dist/chunks/{menu-BpACcVBO.es.js → menu-B83imnEP.es.js} +15 -15
  175. package/dist/chunks/menu-B83imnEP.es.js.map +1 -0
  176. package/dist/chunks/menu-CJYawkvo.cjs.js +2 -0
  177. package/dist/chunks/menu-CJYawkvo.cjs.js.map +1 -0
  178. package/dist/chunks/{multiline-text-input-sSdbj6tb.es.js → multiline-text-input-CqgvtbhN.es.js} +15 -12
  179. package/dist/chunks/multiline-text-input-CqgvtbhN.es.js.map +1 -0
  180. package/dist/chunks/multiline-text-input-Dqg0eKRI.cjs.js +12 -0
  181. package/dist/chunks/multiline-text-input-Dqg0eKRI.cjs.js.map +1 -0
  182. package/dist/chunks/namespace-BXD5i_90.cjs.js +2 -0
  183. package/dist/chunks/namespace-BXD5i_90.cjs.js.map +1 -0
  184. package/dist/chunks/namespace-BmDr3F-d.es.js +74 -0
  185. package/dist/chunks/namespace-BmDr3F-d.es.js.map +1 -0
  186. package/dist/chunks/nimbus-provider--BLRh-Uv.cjs.js +2 -0
  187. package/dist/chunks/nimbus-provider--BLRh-Uv.cjs.js.map +1 -0
  188. package/dist/chunks/nimbus-provider-C2CEn-eC.es.js +101 -0
  189. package/dist/chunks/nimbus-provider-C2CEn-eC.es.js.map +1 -0
  190. package/dist/chunks/{number-input-DzwHfylo.es.js → number-input-CTJ6er_k.es.js} +12 -11
  191. package/dist/chunks/{number-input-DzwHfylo.es.js.map → number-input-CTJ6er_k.es.js.map} +1 -1
  192. package/dist/chunks/number-input-DBjXTpXm.cjs.js +2 -0
  193. package/dist/chunks/{number-input-BU6yMXV8.cjs.js.map → number-input-DBjXTpXm.cjs.js.map} +1 -1
  194. package/dist/chunks/{password-input-DpINXGwE.cjs.js → password-input-B8sRYG6_.cjs.js} +2 -2
  195. package/dist/chunks/{password-input-DpINXGwE.cjs.js.map → password-input-B8sRYG6_.cjs.js.map} +1 -1
  196. package/dist/chunks/{password-input-DdJ9gDUr.es.js → password-input-cW7vrwPv.es.js} +5 -5
  197. package/dist/chunks/{password-input-DdJ9gDUr.es.js.map → password-input-cW7vrwPv.es.js.map} +1 -1
  198. package/dist/chunks/progress-bar-B7jPo_Tr.cjs.js +2 -0
  199. package/dist/chunks/progress-bar-B7jPo_Tr.cjs.js.map +1 -0
  200. package/dist/chunks/{progress-bar-CCyJEPoU.es.js → progress-bar-NxgV8zFn.es.js} +20 -18
  201. package/dist/chunks/progress-bar-NxgV8zFn.es.js.map +1 -0
  202. package/dist/chunks/provider-CUesptNK.cjs.js +16 -0
  203. package/dist/chunks/provider-CUesptNK.cjs.js.map +1 -0
  204. package/dist/chunks/provider-D5u1b72_.es.js +989 -0
  205. package/dist/chunks/provider-D5u1b72_.es.js.map +1 -0
  206. package/dist/chunks/{radio-input-CCm7Xqcz.es.js → radio-input-CUyRuKg2.es.js} +40 -40
  207. package/dist/chunks/{radio-input-CCm7Xqcz.es.js.map → radio-input-CUyRuKg2.es.js.map} +1 -1
  208. package/dist/chunks/radio-input-CkWvEex9.cjs.js +2 -0
  209. package/dist/chunks/{radio-input-BLVHJidw.cjs.js.map → radio-input-CkWvEex9.cjs.js.map} +1 -1
  210. package/dist/chunks/range-calendar-BtViOWLD.cjs.js +2 -0
  211. package/dist/chunks/range-calendar-BtViOWLD.cjs.js.map +1 -0
  212. package/dist/chunks/{range-calendar-C-qR1QHT.es.js → range-calendar-D2MlUnBw.es.js} +22 -20
  213. package/dist/chunks/range-calendar-D2MlUnBw.es.js.map +1 -0
  214. package/dist/chunks/select-0SJSIvQi.cjs.js +2 -0
  215. package/dist/chunks/{select-BZ2fZDHJ.cjs.js.map → select-0SJSIvQi.cjs.js.map} +1 -1
  216. package/dist/chunks/{select-Cx0Yiwr-.es.js → select-D1P8VLDI.es.js} +67 -65
  217. package/dist/chunks/{select-Cx0Yiwr-.es.js.map → select-D1P8VLDI.es.js.map} +1 -1
  218. package/dist/chunks/simple-grid-BYgtLdTo.cjs.js +2 -0
  219. package/dist/chunks/simple-grid-BYgtLdTo.cjs.js.map +1 -0
  220. package/dist/chunks/simple-grid-QwCuXJDe.es.js +38 -0
  221. package/dist/chunks/simple-grid-QwCuXJDe.es.js.map +1 -0
  222. package/dist/chunks/stack-CFOuBCxS.es.js +89 -0
  223. package/dist/chunks/stack-CFOuBCxS.es.js.map +1 -0
  224. package/dist/chunks/stack-CSKcZxll.cjs.js +2 -0
  225. package/dist/chunks/stack-CSKcZxll.cjs.js.map +1 -0
  226. package/dist/chunks/switch-3KIpk4ks.cjs.js +2 -0
  227. package/dist/chunks/switch-3KIpk4ks.cjs.js.map +1 -0
  228. package/dist/chunks/{switch-BriJIKqx.es.js → switch-DRsQP8Z7.es.js} +10 -9
  229. package/dist/chunks/switch-DRsQP8Z7.es.js.map +1 -0
  230. package/dist/chunks/tag-group-2RUxMfVr.cjs.js +2 -0
  231. package/dist/chunks/{tag-group-D7GNkec5.cjs.js.map → tag-group-2RUxMfVr.cjs.js.map} +1 -1
  232. package/dist/chunks/{tag-group-8CojIACI.es.js → tag-group-BjRA3GJh.es.js} +46 -46
  233. package/dist/chunks/{tag-group-8CojIACI.es.js.map → tag-group-BjRA3GJh.es.js.map} +1 -1
  234. package/dist/chunks/text-input-CDZWoQpD.es.js +19 -0
  235. package/dist/chunks/text-input-CDZWoQpD.es.js.map +1 -0
  236. package/dist/chunks/text-input-_x_TUbxj.cjs.js +2 -0
  237. package/dist/chunks/text-input-_x_TUbxj.cjs.js.map +1 -0
  238. package/dist/chunks/text-tO5nXPfT.cjs.js +2 -0
  239. package/dist/chunks/text-tO5nXPfT.cjs.js.map +1 -0
  240. package/dist/chunks/text-uojQ1XH5.es.js +26 -0
  241. package/dist/chunks/text-uojQ1XH5.es.js.map +1 -0
  242. package/dist/chunks/time-input-CAI-K0L0.cjs.js +2 -0
  243. package/dist/chunks/time-input-CAI-K0L0.cjs.js.map +1 -0
  244. package/dist/chunks/{time-input-pPM_sx2J.es.js → time-input-DgGtoKk8.es.js} +8 -6
  245. package/dist/chunks/time-input-DgGtoKk8.es.js.map +1 -0
  246. package/dist/chunks/toggle-button-BFYCOJoj.cjs.js +2 -0
  247. package/dist/chunks/toggle-button-BFYCOJoj.cjs.js.map +1 -0
  248. package/dist/chunks/{toggle-button-group-BQfaNSZf.es.js → toggle-button-group-Cs4SQjtM.es.js} +15 -14
  249. package/dist/chunks/toggle-button-group-Cs4SQjtM.es.js.map +1 -0
  250. package/dist/chunks/toggle-button-group-DLVSXDvN.cjs.js +2 -0
  251. package/dist/chunks/toggle-button-group-DLVSXDvN.cjs.js.map +1 -0
  252. package/dist/chunks/toggle-button-l1Pb1Miz.es.js +30 -0
  253. package/dist/chunks/toggle-button-l1Pb1Miz.es.js.map +1 -0
  254. package/dist/chunks/{toolbar-DZrjQLFq.es.js → toolbar-Dd7Gl-f7.es.js} +3 -3
  255. package/dist/chunks/{toolbar-DZrjQLFq.es.js.map → toolbar-Dd7Gl-f7.es.js.map} +1 -1
  256. package/dist/chunks/toolbar-m0KbmT1E.cjs.js +2 -0
  257. package/dist/chunks/{toolbar-O-t4_xhL.cjs.js.map → toolbar-m0KbmT1E.cjs.js.map} +1 -1
  258. package/dist/chunks/tooltip-BuQb6UvD.cjs.js +2 -0
  259. package/dist/chunks/{tooltip-DwXtfA_x.cjs.js.map → tooltip-BuQb6UvD.cjs.js.map} +1 -1
  260. package/dist/chunks/{tooltip-Bi0556u1.es.js → tooltip-Cobyf8Kh.es.js} +4 -4
  261. package/dist/chunks/{tooltip-Bi0556u1.es.js.map → tooltip-Cobyf8Kh.es.js.map} +1 -1
  262. package/dist/chunks/{tooltip.recipe-B9-7OFCi.es.js → tooltip.recipe-DsVUEki2.es.js} +2 -2
  263. package/dist/chunks/tooltip.recipe-DsVUEki2.es.js.map +1 -0
  264. package/dist/chunks/tooltip.recipe-VqGdDqQD.cjs.js +2 -0
  265. package/dist/chunks/tooltip.recipe-VqGdDqQD.cjs.js.map +1 -0
  266. package/dist/chunks/use-recipe-CJAjTxPP.cjs.js +2 -0
  267. package/dist/chunks/use-recipe-CJAjTxPP.cjs.js.map +1 -0
  268. package/dist/chunks/use-recipe-dUXCQYfa.es.js +13 -0
  269. package/dist/chunks/use-recipe-dUXCQYfa.es.js.map +1 -0
  270. package/dist/chunks/walk-object-BGye4E3_.cjs.js +2 -0
  271. package/dist/chunks/walk-object-BGye4E3_.cjs.js.map +1 -0
  272. package/dist/chunks/walk-object-D9P1kanu.es.js +27 -0
  273. package/dist/chunks/walk-object-D9P1kanu.es.js.map +1 -0
  274. package/dist/combobox.d.ts +3 -3
  275. package/dist/components/accordion.cjs +1 -1
  276. package/dist/components/accordion.es.js +1 -1
  277. package/dist/components/alert.cjs +1 -1
  278. package/dist/components/alert.es.js +1 -1
  279. package/dist/components/avatar.cjs +1 -1
  280. package/dist/components/avatar.es.js +1 -1
  281. package/dist/components/badge.cjs +1 -1
  282. package/dist/components/badge.es.js +1 -1
  283. package/dist/components/box.cjs +1 -1
  284. package/dist/components/box.es.js +1 -1
  285. package/dist/components/button.cjs +1 -1
  286. package/dist/components/button.es.js +1 -1
  287. package/dist/components/calendar.cjs +1 -1
  288. package/dist/components/calendar.es.js +1 -1
  289. package/dist/components/card.cjs +1 -1
  290. package/dist/components/card.es.js +1 -1
  291. package/dist/components/checkbox.cjs +1 -1
  292. package/dist/components/checkbox.es.js +1 -1
  293. package/dist/components/code.cjs +1 -1
  294. package/dist/components/code.es.js +1 -1
  295. package/dist/components/combobox.cjs +1 -1
  296. package/dist/components/combobox.es.js +1 -1
  297. package/dist/components/components.cjs +1 -1
  298. package/dist/components/components.es.js +72 -70
  299. package/dist/components/components.es.js.map +1 -1
  300. package/dist/components/date-input.cjs +1 -1
  301. package/dist/components/date-input.es.js +1 -1
  302. package/dist/components/date-picker.cjs +1 -1
  303. package/dist/components/date-picker.es.js +1 -1
  304. package/dist/components/date-range-picker.cjs +1 -1
  305. package/dist/components/date-range-picker.es.js +1 -1
  306. package/dist/components/dialog.cjs +1 -1
  307. package/dist/components/dialog.es.js +1 -1
  308. package/dist/components/divider.cjs +1 -1
  309. package/dist/components/divider.es.js +1 -1
  310. package/dist/components/flex.cjs +1 -1
  311. package/dist/components/flex.es.js +1 -1
  312. package/dist/components/form-field.cjs +1 -1
  313. package/dist/components/form-field.es.js +1 -1
  314. package/dist/components/grid.cjs +1 -1
  315. package/dist/components/grid.es.js +1 -1
  316. package/dist/components/heading.cjs +1 -1
  317. package/dist/components/heading.es.js +2 -2
  318. package/dist/components/icon-button.cjs +1 -1
  319. package/dist/components/icon-button.es.js +1 -1
  320. package/dist/components/icon-toggle-button.cjs +1 -1
  321. package/dist/components/icon-toggle-button.es.js +1 -1
  322. package/dist/components/icon.cjs +1 -1
  323. package/dist/components/icon.es.js +1 -1
  324. package/dist/components/image.cjs +1 -1
  325. package/dist/components/image.es.js +1 -1
  326. package/dist/components/kbd.cjs +1 -1
  327. package/dist/components/kbd.es.js +1 -1
  328. package/dist/components/link.cjs +1 -1
  329. package/dist/components/link.es.js +1 -1
  330. package/dist/components/list.cjs +1 -1
  331. package/dist/components/list.es.js +1 -1
  332. package/dist/components/loading-spinner.cjs +1 -1
  333. package/dist/components/loading-spinner.es.js +1 -1
  334. package/dist/components/multiline-text-input.cjs +1 -1
  335. package/dist/components/multiline-text-input.es.js +1 -1
  336. package/dist/components/nimbus-provider.cjs +1 -1
  337. package/dist/components/nimbus-provider.es.js +1 -1
  338. package/dist/components/number-input.cjs +1 -1
  339. package/dist/components/number-input.es.js +1 -1
  340. package/dist/components/password-input.cjs +1 -1
  341. package/dist/components/password-input.es.js +1 -1
  342. package/dist/components/progress-bar.cjs +1 -1
  343. package/dist/components/progress-bar.es.js +1 -1
  344. package/dist/components/radio-input.cjs +1 -1
  345. package/dist/components/radio-input.es.js +1 -1
  346. package/dist/components/range-calendar.cjs +1 -1
  347. package/dist/components/range-calendar.es.js +1 -1
  348. package/dist/components/select.cjs +1 -1
  349. package/dist/components/select.es.js +1 -1
  350. package/dist/components/simple-grid.cjs +1 -1
  351. package/dist/components/simple-grid.es.js +1 -1
  352. package/dist/components/stack.cjs +1 -1
  353. package/dist/components/stack.es.js +1 -1
  354. package/dist/components/switch.cjs +1 -1
  355. package/dist/components/switch.es.js +1 -1
  356. package/dist/components/table.cjs +1 -1
  357. package/dist/components/table.es.js +2 -2
  358. package/dist/components/tag-group.cjs +1 -1
  359. package/dist/components/tag-group.es.js +1 -1
  360. package/dist/components/text-input.cjs +1 -1
  361. package/dist/components/text-input.es.js +1 -1
  362. package/dist/components/text.cjs +1 -1
  363. package/dist/components/text.es.js +1 -1
  364. package/dist/components/time-input.cjs +1 -1
  365. package/dist/components/time-input.es.js +1 -1
  366. package/dist/components/toggle-button-group.cjs +1 -1
  367. package/dist/components/toggle-button-group.es.js +1 -1
  368. package/dist/components/toggle-button.cjs +1 -1
  369. package/dist/components/toggle-button.es.js +1 -1
  370. package/dist/components/toolbar.cjs +1 -1
  371. package/dist/components/toolbar.es.js +1 -1
  372. package/dist/components/tooltip.cjs +1 -1
  373. package/dist/components/tooltip.es.js +1 -1
  374. package/dist/components.d.ts +24 -20
  375. package/dist/date-input.d.ts +4 -4
  376. package/dist/date-picker.d.ts +4 -4
  377. package/dist/date-range-picker.d.ts +4 -4
  378. package/dist/dialog.d.ts +1 -1
  379. package/dist/divider.d.ts +4 -4
  380. package/dist/flex.d.ts +1 -1
  381. package/dist/form-field.d.ts +3 -3
  382. package/dist/grid.d.ts +1 -1
  383. package/dist/heading.d.ts +1 -1
  384. package/dist/icon-button.d.ts +3 -3
  385. package/dist/icon-toggle-button.d.ts +3 -3
  386. package/dist/icon.d.ts +4 -4
  387. package/dist/image.d.ts +1 -1
  388. package/dist/index.cjs +1 -1
  389. package/dist/index.cjs.map +1 -1
  390. package/dist/index.d.ts +24 -20
  391. package/dist/index.es.js +124 -121
  392. package/dist/index.es.js.map +1 -1
  393. package/dist/kbd.d.ts +1 -1
  394. package/dist/link.d.ts +4 -4
  395. package/dist/list.d.ts +1 -1
  396. package/dist/loading-spinner.d.ts +4 -4
  397. package/dist/multiline-text-input.d.ts +3 -3
  398. package/dist/number-input.d.ts +3 -3
  399. package/dist/password-input.d.ts +3 -3
  400. package/dist/progress-bar.d.ts +4 -4
  401. package/dist/radio-input.d.ts +3 -3
  402. package/dist/range-calendar.d.ts +2 -2
  403. package/dist/select.d.ts +2 -2
  404. package/dist/simple-grid.d.ts +1 -1
  405. package/dist/stack.d.ts +1 -1
  406. package/dist/switch.d.ts +2 -2
  407. package/dist/table.d.ts +1 -1
  408. package/dist/tag-group.d.ts +3 -3
  409. package/dist/text-input.d.ts +3 -3
  410. package/dist/text.d.ts +1 -1
  411. package/dist/time-input.d.ts +4 -4
  412. package/dist/toggle-button-group.d.ts +3 -3
  413. package/dist/toggle-button.d.ts +3 -3
  414. package/dist/tooltip.d.ts +4 -4
  415. package/package.json +5 -5
  416. package/dist/chunks/accordion-Bn6CnY0Y.cjs.js +0 -2
  417. package/dist/chunks/accordion-Bn6CnY0Y.cjs.js.map +0 -1
  418. package/dist/chunks/accordion-xfgQQjFK.es.js.map +0 -1
  419. package/dist/chunks/alert-BkF91mJ0.es.js.map +0 -1
  420. package/dist/chunks/alert-CQLVvNDD.cjs.js +0 -2
  421. package/dist/chunks/alert-CQLVvNDD.cjs.js.map +0 -1
  422. package/dist/chunks/avatar-BLun8TXk.cjs.js +0 -2
  423. package/dist/chunks/avatar-BLun8TXk.cjs.js.map +0 -1
  424. package/dist/chunks/avatar-DgvfEdwK.es.js.map +0 -1
  425. package/dist/chunks/avatar.recipe-BSmmqvwQ.es.js.map +0 -1
  426. package/dist/chunks/avatar.recipe-aGNBZhVF.cjs.js +0 -2
  427. package/dist/chunks/avatar.recipe-aGNBZhVF.cjs.js.map +0 -1
  428. package/dist/chunks/badge-CFwI3HLf.cjs.js +0 -2
  429. package/dist/chunks/badge-CFwI3HLf.cjs.js.map +0 -1
  430. package/dist/chunks/badge-DVDR3-fy.es.js.map +0 -1
  431. package/dist/chunks/box-DD4jYgS7.es.js +0 -11
  432. package/dist/chunks/box-DD4jYgS7.es.js.map +0 -1
  433. package/dist/chunks/box-FU6tRPFs.cjs.js +0 -2
  434. package/dist/chunks/box-FU6tRPFs.cjs.js.map +0 -1
  435. package/dist/chunks/button-BBwNbl7S.cjs.js +0 -2
  436. package/dist/chunks/button-BBwNbl7S.cjs.js.map +0 -1
  437. package/dist/chunks/button-BTpQweka.es.js +0 -55
  438. package/dist/chunks/button-BTpQweka.es.js.map +0 -1
  439. package/dist/chunks/button.recipe-DHk13lGU.cjs.js +0 -2
  440. package/dist/chunks/button.recipe-DHk13lGU.cjs.js.map +0 -1
  441. package/dist/chunks/button.recipe-DzOS_Bqm.es.js.map +0 -1
  442. package/dist/chunks/calendar-B4nCYXn4.es.js.map +0 -1
  443. package/dist/chunks/calendar-CKVscUm-.cjs.js +0 -2
  444. package/dist/chunks/calendar-CKVscUm-.cjs.js.map +0 -1
  445. package/dist/chunks/calendar.recipe-B2sMokBn.es.js +0 -101
  446. package/dist/chunks/calendar.recipe-B2sMokBn.es.js.map +0 -1
  447. package/dist/chunks/calendar.recipe-gUaUNltl.cjs.js +0 -2
  448. package/dist/chunks/calendar.recipe-gUaUNltl.cjs.js.map +0 -1
  449. package/dist/chunks/card-B9z3AknN.cjs.js +0 -2
  450. package/dist/chunks/card-B9z3AknN.cjs.js.map +0 -1
  451. package/dist/chunks/card-CvY06qIE.es.js.map +0 -1
  452. package/dist/chunks/checkbox-DywApPQh.cjs.js +0 -2
  453. package/dist/chunks/checkbox-DywApPQh.cjs.js.map +0 -1
  454. package/dist/chunks/checkbox-yo64B6Gz.es.js.map +0 -1
  455. package/dist/chunks/code-CI8aUhmu.es.js +0 -6
  456. package/dist/chunks/code-CI8aUhmu.es.js.map +0 -1
  457. package/dist/chunks/code-Dg4Larbo.cjs.js +0 -2
  458. package/dist/chunks/code-Dg4Larbo.cjs.js.map +0 -1
  459. package/dist/chunks/combobox-D5lDtav9.cjs.js +0 -2
  460. package/dist/chunks/combobox.recipe-CJl9E8AK.cjs.js +0 -2
  461. package/dist/chunks/combobox.recipe-CJl9E8AK.cjs.js.map +0 -1
  462. package/dist/chunks/combobox.recipe-DfgnwaPj.es.js +0 -380
  463. package/dist/chunks/combobox.recipe-DfgnwaPj.es.js.map +0 -1
  464. package/dist/chunks/date-input-4hsVHJJo.es.js +0 -16
  465. package/dist/chunks/date-input-4hsVHJJo.es.js.map +0 -1
  466. package/dist/chunks/date-input-CGy4NHpW.cjs.js +0 -2
  467. package/dist/chunks/date-input-CGy4NHpW.cjs.js.map +0 -1
  468. package/dist/chunks/date-input.recipe-BGVIdrvQ.cjs.js +0 -2
  469. package/dist/chunks/date-input.recipe-BGVIdrvQ.cjs.js.map +0 -1
  470. package/dist/chunks/date-input.recipe-DENfjb1Z.es.js +0 -127
  471. package/dist/chunks/date-input.recipe-DENfjb1Z.es.js.map +0 -1
  472. package/dist/chunks/date-picker-BSOum_Vm.cjs.js +0 -2
  473. package/dist/chunks/date-picker-BSOum_Vm.cjs.js.map +0 -1
  474. package/dist/chunks/date-picker-CrV9TJ_O.es.js.map +0 -1
  475. package/dist/chunks/date-picker.recipe-5Avb06qp.cjs.js +0 -2
  476. package/dist/chunks/date-picker.recipe-5Avb06qp.cjs.js.map +0 -1
  477. package/dist/chunks/date-picker.recipe-Dy6NmKHA.es.js +0 -82
  478. package/dist/chunks/date-picker.recipe-Dy6NmKHA.es.js.map +0 -1
  479. package/dist/chunks/date-range-picker-Bvgghg-M.cjs.js +0 -2
  480. package/dist/chunks/date-range-picker-Bvgghg-M.cjs.js.map +0 -1
  481. package/dist/chunks/date-range-picker-ByLVQAiA.es.js.map +0 -1
  482. package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js +0 -2
  483. package/dist/chunks/date-range-picker.recipe-BARriKKl.cjs.js.map +0 -1
  484. package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js +0 -124
  485. package/dist/chunks/date-range-picker.recipe-CuI7inaU.es.js.map +0 -1
  486. package/dist/chunks/dialog-C1HRMUcF.es.js +0 -33
  487. package/dist/chunks/dialog-C1HRMUcF.es.js.map +0 -1
  488. package/dist/chunks/dialog-amEwvIoM.cjs.js +0 -2
  489. package/dist/chunks/dialog-amEwvIoM.cjs.js.map +0 -1
  490. package/dist/chunks/divider-D3ah61jw.cjs.js +0 -2
  491. package/dist/chunks/divider-D3ah61jw.cjs.js.map +0 -1
  492. package/dist/chunks/divider-m0ZtHIMJ.es.js.map +0 -1
  493. package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js +0 -2
  494. package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js.map +0 -1
  495. package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js +0 -16
  496. package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js.map +0 -1
  497. package/dist/chunks/extractStyleProps-CxgBrz3O.es.js +0 -11
  498. package/dist/chunks/extractStyleProps-CxgBrz3O.es.js.map +0 -1
  499. package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js +0 -2
  500. package/dist/chunks/extractStyleProps-lyk7D-zN.cjs.js.map +0 -1
  501. package/dist/chunks/form-field-C9PpQYF0.es.js.map +0 -1
  502. package/dist/chunks/form-field-CBFyTAo8.cjs.js.map +0 -1
  503. package/dist/chunks/grid-CugcJxRP.es.js +0 -14
  504. package/dist/chunks/grid-CugcJxRP.es.js.map +0 -1
  505. package/dist/chunks/grid-xr2A-OqD.cjs.js +0 -2
  506. package/dist/chunks/grid-xr2A-OqD.cjs.js.map +0 -1
  507. package/dist/chunks/icon-BFNYuilh.es.js.map +0 -1
  508. package/dist/chunks/icon-D50i-dqv.cjs.js +0 -2
  509. package/dist/chunks/icon-D50i-dqv.cjs.js.map +0 -1
  510. package/dist/chunks/image-DCirAAnr.cjs.js +0 -2
  511. package/dist/chunks/image-DCirAAnr.cjs.js.map +0 -1
  512. package/dist/chunks/image-rXPA3shk.es.js +0 -8
  513. package/dist/chunks/image-rXPA3shk.es.js.map +0 -1
  514. package/dist/chunks/kbd-Bkhw9E6L.cjs.js +0 -2
  515. package/dist/chunks/kbd-Bkhw9E6L.cjs.js.map +0 -1
  516. package/dist/chunks/kbd-Gxvodc1U.es.js +0 -15
  517. package/dist/chunks/kbd-Gxvodc1U.es.js.map +0 -1
  518. package/dist/chunks/kbd.recipe-BONVaPQN.es.js.map +0 -1
  519. package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js +0 -2
  520. package/dist/chunks/kbd.recipe-UlkJJrC8.cjs.js.map +0 -1
  521. package/dist/chunks/link-BS1jRPrC.es.js.map +0 -1
  522. package/dist/chunks/link-COqOFX5Z.cjs.js +0 -2
  523. package/dist/chunks/link-COqOFX5Z.cjs.js.map +0 -1
  524. package/dist/chunks/link.recipe-Ba2by0OG.es.js.map +0 -1
  525. package/dist/chunks/link.recipe-CG3leGAx.cjs.js +0 -2
  526. package/dist/chunks/link.recipe-CG3leGAx.cjs.js.map +0 -1
  527. package/dist/chunks/list-8yfreyzi.cjs.js +0 -2
  528. package/dist/chunks/list-8yfreyzi.cjs.js.map +0 -1
  529. package/dist/chunks/list-B21joBrq.es.js +0 -13
  530. package/dist/chunks/list-B21joBrq.es.js.map +0 -1
  531. package/dist/chunks/loading-spinner-BQd4UVQs.cjs.js +0 -2
  532. package/dist/chunks/loading-spinner-BQd4UVQs.cjs.js.map +0 -1
  533. package/dist/chunks/loading-spinner-DwN-yshK.es.js.map +0 -1
  534. package/dist/chunks/menu-BpACcVBO.es.js.map +0 -1
  535. package/dist/chunks/menu-CTiF7BX_.cjs.js +0 -2
  536. package/dist/chunks/menu-CTiF7BX_.cjs.js.map +0 -1
  537. package/dist/chunks/multiline-text-input-BCHcfgz9.cjs.js +0 -12
  538. package/dist/chunks/multiline-text-input-BCHcfgz9.cjs.js.map +0 -1
  539. package/dist/chunks/multiline-text-input-sSdbj6tb.es.js.map +0 -1
  540. package/dist/chunks/nimbus-provider-Bf7NgBYl.cjs.js +0 -4
  541. package/dist/chunks/nimbus-provider-Bf7NgBYl.cjs.js.map +0 -1
  542. package/dist/chunks/nimbus-provider-DiytQtCG.es.js +0 -1829
  543. package/dist/chunks/nimbus-provider-DiytQtCG.es.js.map +0 -1
  544. package/dist/chunks/number-input-BU6yMXV8.cjs.js +0 -2
  545. package/dist/chunks/number-input.recipe-B1kAID71.cjs.js +0 -2
  546. package/dist/chunks/number-input.recipe-B1kAID71.cjs.js.map +0 -1
  547. package/dist/chunks/number-input.recipe-CYgMvPKy.es.js +0 -210
  548. package/dist/chunks/number-input.recipe-CYgMvPKy.es.js.map +0 -1
  549. package/dist/chunks/progress-bar-CCyJEPoU.es.js.map +0 -1
  550. package/dist/chunks/progress-bar-pMjw8h4h.cjs.js +0 -2
  551. package/dist/chunks/progress-bar-pMjw8h4h.cjs.js.map +0 -1
  552. package/dist/chunks/radio-input-BLVHJidw.cjs.js +0 -2
  553. package/dist/chunks/radio-input.recipe-CM9R2ilP.es.js +0 -75
  554. package/dist/chunks/radio-input.recipe-CM9R2ilP.es.js.map +0 -1
  555. package/dist/chunks/radio-input.recipe-DdXB4lqs.cjs.js +0 -2
  556. package/dist/chunks/radio-input.recipe-DdXB4lqs.cjs.js.map +0 -1
  557. package/dist/chunks/range-calendar-13GVqWSL.cjs.js +0 -2
  558. package/dist/chunks/range-calendar-13GVqWSL.cjs.js.map +0 -1
  559. package/dist/chunks/range-calendar-C-qR1QHT.es.js.map +0 -1
  560. package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js +0 -129
  561. package/dist/chunks/range-calendar.recipe-D7Qn7AJr.es.js.map +0 -1
  562. package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js +0 -2
  563. package/dist/chunks/range-calendar.recipe-H7PsZQwO.cjs.js.map +0 -1
  564. package/dist/chunks/select-BZ2fZDHJ.cjs.js +0 -2
  565. package/dist/chunks/select.recipe-B7-wzxnS.es.js +0 -204
  566. package/dist/chunks/select.recipe-B7-wzxnS.es.js.map +0 -1
  567. package/dist/chunks/select.recipe-DhuuNbSx.cjs.js +0 -2
  568. package/dist/chunks/select.recipe-DhuuNbSx.cjs.js.map +0 -1
  569. package/dist/chunks/simple-grid-CFOP9g2P.es.js +0 -14
  570. package/dist/chunks/simple-grid-CFOP9g2P.es.js.map +0 -1
  571. package/dist/chunks/simple-grid-CHgTayx6.cjs.js +0 -2
  572. package/dist/chunks/simple-grid-CHgTayx6.cjs.js.map +0 -1
  573. package/dist/chunks/stack-__ugxVHD.es.js +0 -11
  574. package/dist/chunks/stack-__ugxVHD.es.js.map +0 -1
  575. package/dist/chunks/stack-wFUhYQQb.cjs.js +0 -2
  576. package/dist/chunks/stack-wFUhYQQb.cjs.js.map +0 -1
  577. package/dist/chunks/switch-BriJIKqx.es.js.map +0 -1
  578. package/dist/chunks/switch-GFsEXE6w.cjs.js +0 -2
  579. package/dist/chunks/switch-GFsEXE6w.cjs.js.map +0 -1
  580. package/dist/chunks/switch.recipe-CWOjEnIy.es.js +0 -100
  581. package/dist/chunks/switch.recipe-CWOjEnIy.es.js.map +0 -1
  582. package/dist/chunks/switch.recipe-DHopLj_g.cjs.js +0 -2
  583. package/dist/chunks/switch.recipe-DHopLj_g.cjs.js.map +0 -1
  584. package/dist/chunks/tag-group-D7GNkec5.cjs.js +0 -2
  585. package/dist/chunks/text--fhvW47o.cjs.js +0 -2
  586. package/dist/chunks/text--fhvW47o.cjs.js.map +0 -1
  587. package/dist/chunks/text-CFsPSPPs.es.js +0 -24
  588. package/dist/chunks/text-CFsPSPPs.es.js.map +0 -1
  589. package/dist/chunks/text-input-Dg1LSvlo.es.js +0 -17
  590. package/dist/chunks/text-input-Dg1LSvlo.es.js.map +0 -1
  591. package/dist/chunks/text-input-DzIZYD16.cjs.js +0 -2
  592. package/dist/chunks/text-input-DzIZYD16.cjs.js.map +0 -1
  593. package/dist/chunks/text-input.recipe-BoPfTFYK.cjs.js +0 -2
  594. package/dist/chunks/text-input.recipe-BoPfTFYK.cjs.js.map +0 -1
  595. package/dist/chunks/text-input.recipe-C5rrWDU0.es.js +0 -65
  596. package/dist/chunks/text-input.recipe-C5rrWDU0.es.js.map +0 -1
  597. package/dist/chunks/time-input-ByUOjN2R.cjs.js +0 -2
  598. package/dist/chunks/time-input-ByUOjN2R.cjs.js.map +0 -1
  599. package/dist/chunks/time-input-pPM_sx2J.es.js.map +0 -1
  600. package/dist/chunks/toggle-button-BcbQQcBy.cjs.js +0 -2
  601. package/dist/chunks/toggle-button-BcbQQcBy.cjs.js.map +0 -1
  602. package/dist/chunks/toggle-button-DhnBl8Gb.es.js +0 -29
  603. package/dist/chunks/toggle-button-DhnBl8Gb.es.js.map +0 -1
  604. package/dist/chunks/toggle-button-group-BQfaNSZf.es.js.map +0 -1
  605. package/dist/chunks/toggle-button-group-C5nvmHRc.cjs.js +0 -2
  606. package/dist/chunks/toggle-button-group-C5nvmHRc.cjs.js.map +0 -1
  607. package/dist/chunks/toggle-button.recipe-COtV4niJ.es.js +0 -64
  608. package/dist/chunks/toggle-button.recipe-COtV4niJ.es.js.map +0 -1
  609. package/dist/chunks/toggle-button.recipe-Cz4g2WY9.cjs.js +0 -2
  610. package/dist/chunks/toggle-button.recipe-Cz4g2WY9.cjs.js.map +0 -1
  611. package/dist/chunks/toolbar-O-t4_xhL.cjs.js +0 -2
  612. package/dist/chunks/toolbar.recipe-4zTJxMys.cjs.js +0 -2
  613. package/dist/chunks/toolbar.recipe-4zTJxMys.cjs.js.map +0 -1
  614. package/dist/chunks/toolbar.recipe-DQHsyTVO.es.js +0 -56
  615. package/dist/chunks/toolbar.recipe-DQHsyTVO.es.js.map +0 -1
  616. package/dist/chunks/tooltip-DwXtfA_x.cjs.js +0 -2
  617. package/dist/chunks/tooltip.recipe-B9-7OFCi.es.js.map +0 -1
  618. package/dist/chunks/tooltip.recipe-CkNOA8Sg.cjs.js +0 -2
  619. package/dist/chunks/tooltip.recipe-CkNOA8Sg.cjs.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,MAChB,WAAW;AAAA,MACX,cAAc;AAAA,MACd,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,KAAK;AAAA,MACL,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,MAKV,QAAQ;AAAA,QACN,IAAI;AAAA,MAAA;AAAA;AAAA,MAGN,cAAc;AAAA,QACZ,cAAc;AAAA,QACd,cAAc;AAAA,QACd,cAAc;AAAA,QACd,eAAe;AAAA,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAOjB,0BAA0B;AAAA,QACxB,kBAAkB;AAAA,QAClB,kBAAkB;AAAA,QAClB,OAAO;AAAA,QACP,YAAY;AAAA,MAAA;AAAA,IACd;AAAA,IAEF,SAAS;AAAA,MACP,UAAU;AAAA,MACV,OAAO;AAAA,MACP,KAAK;AAAA,IAAA;AAAA,IAEP,SAAS;AAAA,MACP,IAAI;AAAA,MACJ,WAAW;AAAA,MACX,cAAc;AAAA,MACd,UAAU;AAAA,MAEV,oBAAoB;AAAA,QAClB,eAAe;AAAA,QACf,mBAAmB;AAAA,MAAA;AAAA,MAGrB,mBAAmB;AAAA,QACjB,eAAe;AAAA,QACf,mBAAmB;AAAA,MAAA;AAAA,IACrB;AAAA,EACF;AAAA,EAEF,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,IAAI;AAAA,QACF,OAAO;AAAA,UACL,QAAQ;AAAA;AAAA,UACR,IAAI;AAAA;AAAA,QAAA;AAAA,QAEN,SAAS;AAAA,UACP,KAAK;AAAA,QAAA;AAAA,MACP;AAAA,MAEF,IAAI;AAAA,QACF,OAAO;AAAA,UACL,QAAQ;AAAA;AAAA,UACR,IAAI;AAAA;AAAA,QAAA;AAAA,QAEN,SAAS;AAAA,UACP,KAAK;AAAA,QAAA;AAAA,MACP;AAAA,IACF;AAAA,IAEF,SAAS;AAAA,MACP,OAAO,CAAA;AAAA,MACP,OAAO;AAAA,QACL,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,UACJ,QAAQ;AAAA,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 * # Dialog\n *\n * displays a dialog\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/dialog}\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,GA4BaS,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 * # Dialog\n *\n * displays a dialog\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/dialog}\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,EA4BaS,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"),u=require("react"),r=require("@chakra-ui/react"),p=require("./useObjectRef-4v2MxSjQ.cjs.js"),b=require("./mergeProps-VvQrkhSh.cjs.js"),h=require("./useSeparator-CZKjqF0N.cjs.js"),v=r.defineRecipe({className:"nimbus-divider",base:{border:"0",flexShrink:"0",colorPalette:"neutral",backgroundColor:"colorPalette.6"},variants:{orientation:{horizontal:{width:"100%",height:"25"},vertical:{width:"25",height:"100%"}}},defaultVariants:{orientation:"horizontal"}}),{withContext:R}=r.createRecipeContext({recipe:v}),$=R("div"),i=o=>{const{ref:a,as:n,orientation:e="horizontal",...t}=o,s=u.useRef(null),c=p.$df56164dff5785e2$export$4338b53315abf666(r.mergeRefs(s,a)),d=n||e==="vertical"?"div":"hr",{separatorProps:f}=h.$f4b273590fab9f93$export$52210f68a14655d0({orientation:e,...t});return l.jsx($,{as:d,...b.$3ef42575df84b30b$export$9d1611c77c2fe928(t,{ref:c,orientation:e},f,{"aria-orientation":e})})};i.displayName="Divider";exports.Divider=i;
2
- //# sourceMappingURL=divider-D3ah61jw.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"divider-D3ah61jw.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: \"0\",\n flexShrink: \"0\",\n colorPalette: \"neutral\",\n backgroundColor: \"colorPalette.6\",\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n orientation: {\n horizontal: {\n width: \"100%\",\n height: \"25\",\n },\n vertical: {\n width: \"25\",\n height: \"100%\",\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 || orientation === \"vertical\" ? \"div\" : \"hr\";\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,IACR,WAAY,IACZ,aAAc,UACd,gBAAiB,gBAAA,EAInB,SAAU,CACR,YAAa,CACX,WAAY,CACV,MAAO,OACP,OAAQ,IAAA,EAEV,SAAU,CACR,MAAO,KACP,OAAQ,MAAA,CACV,CACF,EAIF,gBAAiB,CACf,YAAa,YAAA,CAEjB,CAAC,EC9BK,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,GAAMC,IAAgB,WAAa,MAAQ,KAGzD,CAAE,eAAAQ,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-m0ZtHIMJ.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: \"0\",\n flexShrink: \"0\",\n colorPalette: \"neutral\",\n backgroundColor: \"colorPalette.6\",\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n orientation: {\n horizontal: {\n width: \"100%\",\n height: \"25\",\n },\n vertical: {\n width: \"25\",\n height: \"100%\",\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 || orientation === \"vertical\" ? \"div\" : \"hr\";\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,cAAc;AAAA,IACd,iBAAiB;AAAA,EAAA;AAAA;AAAA,EAInB,UAAU;AAAA,IACR,aAAa;AAAA,MACX,YAAY;AAAA,QACV,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,MAEV,UAAU;AAAA,QACR,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,IACV;AAAA,EACF;AAAA;AAAA,EAIF,iBAAiB;AAAA,IACf,aAAa;AAAA,EAAA;AAEjB,CAAC,GC9BK,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,KAAMC,MAAgB,aAAa,QAAQ,MAGzD,EAAE,gBAAAQ,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,2 +0,0 @@
1
- "use strict";function r(e){var i=Object.create(null);return function(t){return i[t]===void 0&&(i[t]=e(t)),i[t]}}var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=r(function(e){return n.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});exports.isPropValid=a;
2
- //# sourceMappingURL=emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js","sources":["../../../../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../../../../node_modules/.pnpm/@emotion+is-prop-valid@1.3.1/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"],"sourcesContent":["function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import memoize from '@emotion/memoize';\n\n// eslint-disable-next-line no-undef\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n"],"names":["memoize","fn","cache","arg","reactPropsRegex","isPropValid","prop"],"mappings":"aAAA,SAASA,EAAQC,EAAI,CACnB,IAAIC,EAAQ,OAAO,OAAO,IAAI,EAC9B,OAAO,SAAUC,EAAK,CACpB,OAAID,EAAMC,CAAG,IAAM,SAAWD,EAAMC,CAAG,EAAIF,EAAGE,CAAG,GAC1CD,EAAMC,CAAG,CAClB,CACF,CCHA,IAAIC,EAAkB,sgIAElBC,EAA6BL,EAAQ,SAAUM,EAAM,CACvD,OAAOF,EAAgB,KAAKE,CAAI,GAAKA,EAAK,WAAW,CAAC,IAAM,KAEzDA,EAAK,WAAW,CAAC,IAAM,KAEvBA,EAAK,WAAW,CAAC,EAAI,EAC1B,CAEA","x_google_ignoreList":[0,1]}
@@ -1,16 +0,0 @@
1
- function r(e) {
2
- var i = /* @__PURE__ */ Object.create(null);
3
- return function(t) {
4
- return i[t] === void 0 && (i[t] = e(t)), i[t];
5
- };
6
- }
7
- var n = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, a = /* @__PURE__ */ r(
8
- function(e) {
9
- return n.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
10
- }
11
- /* Z+1 */
12
- );
13
- export {
14
- a as i
15
- };
16
- //# sourceMappingURL=emotion-is-prop-valid.esm-qvxbqhmq.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emotion-is-prop-valid.esm-qvxbqhmq.es.js","sources":["../../../../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","../../../../node_modules/.pnpm/@emotion+is-prop-valid@1.3.1/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js"],"sourcesContent":["function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import memoize from '@emotion/memoize';\n\n// eslint-disable-next-line no-undef\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n"],"names":["memoize","fn","cache","arg","reactPropsRegex","isPropValid","prop"],"mappings":"AAAA,SAASA,EAAQC,GAAI;AACnB,MAAIC,IAAQ,uBAAO,OAAO,IAAI;AAC9B,SAAO,SAAUC,GAAK;AACpB,WAAID,EAAMC,CAAG,MAAM,WAAWD,EAAMC,CAAG,IAAIF,EAAGE,CAAG,IAC1CD,EAAMC,CAAG;AAAA,EAClB;AACF;ACHA,IAAIC,IAAkB,ugIAElBC,IAA6B,gBAAAL;AAAA,EAAQ,SAAUM,GAAM;AACvD,WAAOF,EAAgB,KAAKE,CAAI,KAAKA,EAAK,WAAW,CAAC,MAAM,OAEzDA,EAAK,WAAW,CAAC,MAAM,OAEvBA,EAAK,WAAW,CAAC,IAAI;AAAA,EAC1B;AAAA;AAEA;","x_google_ignoreList":[0,1]}
@@ -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-C9PpQYF0.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 miscellaneous inputs in a FormField context\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/formfield}\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = {\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n useFieldArgs.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n useFieldArgs[\"aria-label\"] = \"empty-label\";\n useFieldArgs[\"aria-labelledby\"] = \"empty-label\";\n }\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","columnLayout","rowLayout","formFieldRecipe","defineSlotRecipe","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardRef","isInvalid","isRequired","isDisabled","isReadOnly","children","props","ref","context","setContext","useState","useFieldArgs","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField"],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-CBFyTAo8.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 miscellaneous inputs in a FormField context\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/formfield}\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = {\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n useFieldArgs.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n useFieldArgs[\"aria-label\"] = \"empty-label\";\n useFieldArgs[\"aria-labelledby\"] = \"empty-label\";\n }\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","columnLayout","rowLayout","formFieldRecipe","defineSlotRecipe","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardRef","isInvalid","isRequired","isDisabled","isReadOnly","children","props","ref","context","setContext","useState","useFieldArgs","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField"],"mappings":"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"}
@@ -1,14 +0,0 @@
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 = /* @__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 * An easily customizable Grid component, re-exported from Chakra UI, that provides a consistent layout structure across different products.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/layout/grid}\n */\nexport interface GridProps extends ChakraGridProps {\n children?: React.ReactNode;\n ref?: React.Ref<HTMLDivElement>;\n}\n\nconst GridComponent = (props: GridProps) => {\n const { ref, ...restProps } = props;\n return <ChakraGrid ref={ref} {...restProps} />;\n};\n\nGridComponent.displayName = \"Grid\";\n\nexport const Grid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n"],"names":["GridComponent","props","ref","restProps","jsx","ChakraGrid","Grid","GridItem"],"mappings":";;AAkBA,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 * An easily customizable Grid component, re-exported from Chakra UI, that provides a consistent layout structure across different products.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/layout/grid}\n */\nexport interface GridProps extends ChakraGridProps {\n children?: React.ReactNode;\n ref?: React.Ref<HTMLDivElement>;\n}\n\nconst GridComponent = (props: GridProps) => {\n const { ref, ...restProps } = props;\n return <ChakraGrid ref={ref} {...restProps} />;\n};\n\nGridComponent.displayName = \"Grid\";\n\nexport const Grid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n"],"names":["GridComponent","props","ref","restProps","jsx","ChakraGrid","Grid","GridItem"],"mappings":"gFAkBMA,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 */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\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 *\n * displays icon components\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/icon}\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,GCDK,EAAE,aAAAC,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQH,GAAY,GAMrDI,IAAe,gBAAAF;AAAA,EAC1B;AACF,GCtBaG,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 */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\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 *\n * displays icon components\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/icon}\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,ECDK,CAAE,YAAAC,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQH,EAAY,EAMrDI,EAAeF,EAC1B,KACF,ECtBaG,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,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 * A component to display images with support for fallback.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/image}\n */\nexport const Image = (props: ImageProps) => {\n return <ChakraImage {...props} />;\n};\n\nImage.displayName = \"Image\";\n"],"names":["Image","props","jsx","ChakraImage"],"mappings":"gFAeaA,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 * A component to display images with support for fallback.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/media/image}\n */\nexport const Image = (props: ImageProps) => {\n return <ChakraImage {...props} />;\n};\n\nImage.displayName = \"Image\";\n"],"names":["Image","props","jsx","ChakraImage"],"mappings":";;AAeO,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 */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\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\n *\n * Renders a keyboard shortcut or key combination, styled for visual clarity.\n * Typically used to visually represent keyboard keys.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/kbd}\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":"sQAwBM,CAAE,YAAAA,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQC,EAAAA,UAAW,EAMpDC,EAAcH,EAA2C,KAAK,ECV9DI,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 */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\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\n *\n * Renders a keyboard shortcut or key combination, styled for visual clarity.\n * Typically used to visually represent keyboard keys.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/kbd}\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":";;;;;;;AAwBA,MAAM,EAAE,aAAAA,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQC,GAAW,GAMpDC,IAAc,gBAAAH,EAA2C,KAAK,GCV9DI,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"}