@commercetools/nimbus 0.0.0-canary-20250825072120 → 0.0.0-canary-20250825072225

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 (367) hide show
  1. package/dist/accordion.d.ts +4 -4
  2. package/dist/alert.d.ts +1 -1
  3. package/dist/chunks/{accordion-B_MC1ZEv.es.js → accordion-B9jG9fOy.es.js} +3 -3
  4. package/dist/chunks/{accordion-B_MC1ZEv.es.js.map → accordion-B9jG9fOy.es.js.map} +1 -1
  5. package/dist/chunks/{accordion-C9-YyEB4.cjs.js → accordion-C52FRG2V.cjs.js} +2 -2
  6. package/dist/chunks/{accordion-C9-YyEB4.cjs.js.map → accordion-C52FRG2V.cjs.js.map} +1 -1
  7. package/dist/chunks/{alert-DwDLsZeH.cjs.js → alert-BhMfbMnN.cjs.js} +2 -2
  8. package/dist/chunks/{alert-DwDLsZeH.cjs.js.map → alert-BhMfbMnN.cjs.js.map} +1 -1
  9. package/dist/chunks/{alert-CgDrQdgE.es.js → alert-BvT6yjas.es.js} +5 -5
  10. package/dist/chunks/{alert-CgDrQdgE.es.js.map → alert-BvT6yjas.es.js.map} +1 -1
  11. package/dist/chunks/{avatar-Dg7JUfsz.es.js → avatar-B7CMxFNg.es.js} +3 -3
  12. package/dist/chunks/{avatar-Dg7JUfsz.es.js.map → avatar-B7CMxFNg.es.js.map} +1 -1
  13. package/dist/chunks/{avatar-vzHN72KS.cjs.js → avatar-mL-2hOve.cjs.js} +2 -2
  14. package/dist/chunks/{avatar-vzHN72KS.cjs.js.map → avatar-mL-2hOve.cjs.js.map} +1 -1
  15. package/dist/chunks/{badge-BeR8OqtD.es.js → badge-C2elCKPp.es.js} +2 -2
  16. package/dist/chunks/{badge-BeR8OqtD.es.js.map → badge-C2elCKPp.es.js.map} +1 -1
  17. package/dist/chunks/{badge-CJK91qKC.cjs.js → badge-HHzfG1BI.cjs.js} +2 -2
  18. package/dist/chunks/{badge-CJK91qKC.cjs.js.map → badge-HHzfG1BI.cjs.js.map} +1 -1
  19. package/dist/chunks/{box-DL4MWnyy.cjs.js → box-BPfqlznQ.cjs.js} +2 -2
  20. package/dist/chunks/box-BPfqlznQ.cjs.js.map +1 -0
  21. package/dist/chunks/{box-7pkPaNxe.es.js → box-C8731OYq.es.js} +2 -2
  22. package/dist/chunks/box-C8731OYq.es.js.map +1 -0
  23. package/dist/chunks/{button-BCYZ1Ki2.es.js → button-Bg73nQk3.es.js} +3 -3
  24. package/dist/chunks/{button-BCYZ1Ki2.es.js.map → button-Bg73nQk3.es.js.map} +1 -1
  25. package/dist/chunks/{button-IGP--12e.cjs.js → button-BiBXrCVh.cjs.js} +2 -2
  26. package/dist/chunks/{button-IGP--12e.cjs.js.map → button-BiBXrCVh.cjs.js.map} +1 -1
  27. package/dist/chunks/{calendar-B3NlJSCo.cjs.js → calendar-BydrcPp3.cjs.js} +2 -2
  28. package/dist/chunks/{calendar-B3NlJSCo.cjs.js.map → calendar-BydrcPp3.cjs.js.map} +1 -1
  29. package/dist/chunks/{calendar-D3A1ryrp.es.js → calendar-Co4TTkzj.es.js} +7 -7
  30. package/dist/chunks/{calendar-D3A1ryrp.es.js.map → calendar-Co4TTkzj.es.js.map} +1 -1
  31. package/dist/chunks/{card-4i9NTJKM.cjs.js → card-Bgg1CCU2.cjs.js} +2 -2
  32. package/dist/chunks/{card-4i9NTJKM.cjs.js.map → card-Bgg1CCU2.cjs.js.map} +1 -1
  33. package/dist/chunks/{card-D1BUuNzg.es.js → card-C7PIEqmV.es.js} +3 -3
  34. package/dist/chunks/{card-D1BUuNzg.es.js.map → card-C7PIEqmV.es.js.map} +1 -1
  35. package/dist/chunks/{checkbox-DVb0qX6x.cjs.js → checkbox-8eIhS2f6.cjs.js} +2 -2
  36. package/dist/chunks/{checkbox-DVb0qX6x.cjs.js.map → checkbox-8eIhS2f6.cjs.js.map} +1 -1
  37. package/dist/chunks/{checkbox-DlYjw56x.es.js → checkbox-B2yJgtOJ.es.js} +2 -2
  38. package/dist/chunks/{checkbox-DlYjw56x.es.js.map → checkbox-B2yJgtOJ.es.js.map} +1 -1
  39. package/dist/chunks/code-CTuEvrXA.cjs.js +2 -0
  40. package/dist/chunks/{code-DqjWYzPU.cjs.js.map → code-CTuEvrXA.cjs.js.map} +1 -1
  41. package/dist/chunks/{code-C245FocZ.es.js → code-CieYW1ER.es.js} +2 -2
  42. package/dist/chunks/{code-C245FocZ.es.js.map → code-CieYW1ER.es.js.map} +1 -1
  43. package/dist/chunks/{combobox-C3foptTP.cjs.js → combobox-BYyNTj5m.cjs.js} +2 -2
  44. package/dist/chunks/{combobox-C3foptTP.cjs.js.map → combobox-BYyNTj5m.cjs.js.map} +1 -1
  45. package/dist/chunks/{combobox-BWjVkgOn.es.js → combobox-qA8TjWPw.es.js} +6 -6
  46. package/dist/chunks/{combobox-BWjVkgOn.es.js.map → combobox-qA8TjWPw.es.js.map} +1 -1
  47. package/dist/chunks/config-Mt8_uyhI.cjs.js.map +1 -1
  48. package/dist/chunks/config-ufbQ08Vi.es.js.map +1 -1
  49. package/dist/chunks/{create-recipe-context-BEEJ70DA.cjs.js → create-recipe-context-D0_lCuqq.cjs.js} +2 -2
  50. package/dist/chunks/{create-recipe-context-BEEJ70DA.cjs.js.map → create-recipe-context-D0_lCuqq.cjs.js.map} +1 -1
  51. package/dist/chunks/{create-recipe-context-BuajKZ9o.es.js → create-recipe-context-i2odau3L.es.js} +2 -2
  52. package/dist/chunks/{create-recipe-context-BuajKZ9o.es.js.map → create-recipe-context-i2odau3L.es.js.map} +1 -1
  53. package/dist/chunks/{create-slot-recipe-context-DgamNbR-.es.js → create-slot-recipe-context-DBNItnlK.es.js} +30 -30
  54. package/dist/chunks/create-slot-recipe-context-DBNItnlK.es.js.map +1 -0
  55. package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js +2 -0
  56. package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js.map +1 -0
  57. package/dist/chunks/{data-table-DR210vqX.es.js → data-table-BqGT7Ov4.es.js} +787 -776
  58. package/dist/chunks/data-table-BqGT7Ov4.es.js.map +1 -0
  59. package/dist/chunks/data-table-CjXjfeLi.cjs.js +2 -0
  60. package/dist/chunks/data-table-CjXjfeLi.cjs.js.map +1 -0
  61. package/dist/chunks/{date-input-tNUDaNSO.es.js → date-input-BSacD65z.es.js} +2 -2
  62. package/dist/chunks/{date-input-tNUDaNSO.es.js.map → date-input-BSacD65z.es.js.map} +1 -1
  63. package/dist/chunks/{date-input-BFHLRnBr.cjs.js → date-input-DwxNrZ3r.cjs.js} +2 -2
  64. package/dist/chunks/{date-input-BFHLRnBr.cjs.js.map → date-input-DwxNrZ3r.cjs.js.map} +1 -1
  65. package/dist/chunks/{date-picker-J6nYu3zN.es.js → date-picker-COI-tlHx.es.js} +8 -8
  66. package/dist/chunks/{date-picker-J6nYu3zN.es.js.map → date-picker-COI-tlHx.es.js.map} +1 -1
  67. package/dist/chunks/{date-picker-GqOazmSZ.cjs.js → date-picker-RC0pSYZe.cjs.js} +2 -2
  68. package/dist/chunks/{date-picker-GqOazmSZ.cjs.js.map → date-picker-RC0pSYZe.cjs.js.map} +1 -1
  69. package/dist/chunks/{date-range-picker-D_gkG0on.cjs.js → date-range-picker-BMAaQ7cS.cjs.js} +2 -2
  70. package/dist/chunks/{date-range-picker-D_gkG0on.cjs.js.map → date-range-picker-BMAaQ7cS.cjs.js.map} +1 -1
  71. package/dist/chunks/{date-range-picker-DxIXHOC2.es.js → date-range-picker-BnI3m8z-.es.js} +8 -8
  72. package/dist/chunks/{date-range-picker-DxIXHOC2.es.js.map → date-range-picker-BnI3m8z-.es.js.map} +1 -1
  73. package/dist/chunks/{dialog-De8l1nzr.es.js → dialog-CG-cCFkg.es.js} +400 -385
  74. package/dist/chunks/dialog-CG-cCFkg.es.js.map +1 -0
  75. package/dist/chunks/dialog-CNZGNU5Q.cjs.js +2 -0
  76. package/dist/chunks/dialog-CNZGNU5Q.cjs.js.map +1 -0
  77. package/dist/chunks/{divider-BicBw1PK.cjs.js → divider-CTTExmLv.cjs.js} +2 -2
  78. package/dist/chunks/{divider-BicBw1PK.cjs.js.map → divider-CTTExmLv.cjs.js.map} +1 -1
  79. package/dist/chunks/{divider-DMH0p6Pr.es.js → divider-CpctZ_-U.es.js} +2 -2
  80. package/dist/chunks/{divider-DMH0p6Pr.es.js.map → divider-CpctZ_-U.es.js.map} +1 -1
  81. package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -1
  82. package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -1
  83. package/dist/chunks/factory-BpxiKxSs.es.js +269 -0
  84. package/dist/chunks/factory-BpxiKxSs.es.js.map +1 -0
  85. package/dist/chunks/factory-DlCuwIGL.cjs.js +3 -0
  86. package/dist/chunks/factory-DlCuwIGL.cjs.js.map +1 -0
  87. package/dist/chunks/{flex-9fkV4bsm.es.js → flex-B81RbgfK.es.js} +2 -2
  88. package/dist/chunks/{flex-9fkV4bsm.es.js.map → flex-B81RbgfK.es.js.map} +1 -1
  89. package/dist/chunks/{flex-CDVfeTs4.cjs.js → flex-BhVeeItQ.cjs.js} +2 -2
  90. package/dist/chunks/{flex-CDVfeTs4.cjs.js.map → flex-BhVeeItQ.cjs.js.map} +1 -1
  91. package/dist/chunks/{form-field-CM_uSyZr.cjs.js → form-field-B6lCvcf4.cjs.js} +2 -2
  92. package/dist/chunks/{form-field-CM_uSyZr.cjs.js.map → form-field-B6lCvcf4.cjs.js.map} +1 -1
  93. package/dist/chunks/{form-field-B1vOlQXH.es.js → form-field-BgKHtyTH.es.js} +4 -4
  94. package/dist/chunks/{form-field-B1vOlQXH.es.js.map → form-field-BgKHtyTH.es.js.map} +1 -1
  95. package/dist/chunks/{grid-Dm38IozR.cjs.js → grid-CWdLtU5p.cjs.js} +2 -2
  96. package/dist/chunks/{grid-Dm38IozR.cjs.js.map → grid-CWdLtU5p.cjs.js.map} +1 -1
  97. package/dist/chunks/{grid-DcLdIZYK.es.js → grid-Cdmh4YaF.es.js} +2 -2
  98. package/dist/chunks/{grid-DcLdIZYK.es.js.map → grid-Cdmh4YaF.es.js.map} +1 -1
  99. package/dist/chunks/grid-item-CJHf3veC.cjs.js +2 -0
  100. package/dist/chunks/grid-item-CJHf3veC.cjs.js.map +1 -0
  101. package/dist/chunks/grid-item-CpPkpUVF.es.js +78 -0
  102. package/dist/chunks/grid-item-CpPkpUVF.es.js.map +1 -0
  103. package/dist/chunks/{icon-DxRnsJFu.cjs.js → icon-C_BZeqkm.cjs.js} +2 -2
  104. package/dist/chunks/{icon-DxRnsJFu.cjs.js.map → icon-C_BZeqkm.cjs.js.map} +1 -1
  105. package/dist/chunks/{icon-Cgp53xQ2.es.js → icon-DTe62Nqz.es.js} +2 -2
  106. package/dist/chunks/{icon-Cgp53xQ2.es.js.map → icon-DTe62Nqz.es.js.map} +1 -1
  107. package/dist/chunks/{icon-button-KMr_sm5y.cjs.js → icon-button-BBkPfAM3.cjs.js} +2 -2
  108. package/dist/chunks/{icon-button-KMr_sm5y.cjs.js.map → icon-button-BBkPfAM3.cjs.js.map} +1 -1
  109. package/dist/chunks/{icon-button-DhmHHVhL.es.js → icon-button-D2qU4Eun.es.js} +2 -2
  110. package/dist/chunks/{icon-button-DhmHHVhL.es.js.map → icon-button-D2qU4Eun.es.js.map} +1 -1
  111. package/dist/chunks/{icon-toggle-button-p3GT9QUC.cjs.js → icon-toggle-button-L_kYjNhI.cjs.js} +2 -2
  112. package/dist/chunks/{icon-toggle-button-p3GT9QUC.cjs.js.map → icon-toggle-button-L_kYjNhI.cjs.js.map} +1 -1
  113. package/dist/chunks/{icon-toggle-button-Dfzrgtgw.es.js → icon-toggle-button-wjYSiFhl.es.js} +2 -2
  114. package/dist/chunks/{icon-toggle-button-Dfzrgtgw.es.js.map → icon-toggle-button-wjYSiFhl.es.js.map} +1 -1
  115. package/dist/chunks/{image-B_X4IZ54.es.js → image-B2WbQ5hi.es.js} +2 -2
  116. package/dist/chunks/{image-B_X4IZ54.es.js.map → image-B2WbQ5hi.es.js.map} +1 -1
  117. package/dist/chunks/image-BAqoLZQB.cjs.js +2 -0
  118. package/dist/chunks/{image-DCZ7u0Yz.cjs.js.map → image-BAqoLZQB.cjs.js.map} +1 -1
  119. package/dist/chunks/{image-CenZDDs1.cjs.js → image-BP9LcU28.cjs.js} +2 -2
  120. package/dist/chunks/{image-CenZDDs1.cjs.js.map → image-BP9LcU28.cjs.js.map} +1 -1
  121. package/dist/chunks/{image-Dk3v9f16.es.js → image-BycsRl2K.es.js} +2 -2
  122. package/dist/chunks/{image-Dk3v9f16.es.js.map → image-BycsRl2K.es.js.map} +1 -1
  123. package/dist/chunks/{heading-DYcfaS5T.es.js → index-0CyuQQet.es.js} +2 -2
  124. package/dist/chunks/index-0CyuQQet.es.js.map +1 -0
  125. package/dist/chunks/index-x9OhLGGf.cjs.js +2 -0
  126. package/dist/chunks/index-x9OhLGGf.cjs.js.map +1 -0
  127. package/dist/chunks/{kbd-CUSbYvfc.es.js → kbd-CDEXQyg2.es.js} +2 -2
  128. package/dist/chunks/{kbd-CUSbYvfc.es.js.map → kbd-CDEXQyg2.es.js.map} +1 -1
  129. package/dist/chunks/{kbd-CSMHvaH6.cjs.js → kbd-DP3lZ80W.cjs.js} +2 -2
  130. package/dist/chunks/{kbd-CSMHvaH6.cjs.js.map → kbd-DP3lZ80W.cjs.js.map} +1 -1
  131. package/dist/chunks/{link-B2cOAxZz.cjs.js → link-DMl9zyrR.cjs.js} +2 -2
  132. package/dist/chunks/{link-B2cOAxZz.cjs.js.map → link-DMl9zyrR.cjs.js.map} +1 -1
  133. package/dist/chunks/{link-DteZUB4U.es.js → link-Db9S7XvR.es.js} +2 -2
  134. package/dist/chunks/{link-DteZUB4U.es.js.map → link-Db9S7XvR.es.js.map} +1 -1
  135. package/dist/chunks/{list-Bm8bFcHO.cjs.js → list-r1G4iBXo.cjs.js} +2 -2
  136. package/dist/chunks/{list-Bm8bFcHO.cjs.js.map → list-r1G4iBXo.cjs.js.map} +1 -1
  137. package/dist/chunks/{list-De4DYOvu.es.js → list-x423RThD.es.js} +2 -2
  138. package/dist/chunks/{list-De4DYOvu.es.js.map → list-x423RThD.es.js.map} +1 -1
  139. package/dist/chunks/{loading-spinner-Czc9y_Gn.cjs.js → loading-spinner-BLDpwNFm.cjs.js} +2 -2
  140. package/dist/chunks/{loading-spinner-Czc9y_Gn.cjs.js.map → loading-spinner-BLDpwNFm.cjs.js.map} +1 -1
  141. package/dist/chunks/{loading-spinner-hZA3mTh7.es.js → loading-spinner-C7yZE-QF.es.js} +2 -2
  142. package/dist/chunks/{loading-spinner-hZA3mTh7.es.js.map → loading-spinner-C7yZE-QF.es.js.map} +1 -1
  143. package/dist/chunks/{multiline-text-input-ChVzVZob.cjs.js → multiline-text-input-BXpftZg5.cjs.js} +2 -2
  144. package/dist/chunks/{multiline-text-input-ChVzVZob.cjs.js.map → multiline-text-input-BXpftZg5.cjs.js.map} +1 -1
  145. package/dist/chunks/{multiline-text-input-BfG35UfF.es.js → multiline-text-input-MJPDSw2d.es.js} +2 -2
  146. package/dist/chunks/{multiline-text-input-BfG35UfF.es.js.map → multiline-text-input-MJPDSw2d.es.js.map} +1 -1
  147. package/dist/chunks/{namespace-E8aHFVxM.cjs.js → namespace-CYjqWfVn.cjs.js} +2 -2
  148. package/dist/chunks/{namespace-E8aHFVxM.cjs.js.map → namespace-CYjqWfVn.cjs.js.map} +1 -1
  149. package/dist/chunks/{namespace-BayyiBSr.es.js → namespace-HxAMZBwF.es.js} +5 -5
  150. package/dist/chunks/{namespace-BayyiBSr.es.js.map → namespace-HxAMZBwF.es.js.map} +1 -1
  151. package/dist/chunks/{number-input-Kj7uy8Kj.es.js → number-input-CFa5dE3r.es.js} +3 -3
  152. package/dist/chunks/{number-input-Kj7uy8Kj.es.js.map → number-input-CFa5dE3r.es.js.map} +1 -1
  153. package/dist/chunks/{number-input-9hCQtXai.cjs.js → number-input-DsQqe_99.cjs.js} +2 -2
  154. package/dist/chunks/{number-input-9hCQtXai.cjs.js.map → number-input-DsQqe_99.cjs.js.map} +1 -1
  155. package/dist/chunks/{password-input-Bw0E-ejz.cjs.js → password-input--fYkZAW3.cjs.js} +2 -2
  156. package/dist/chunks/{password-input-Bw0E-ejz.cjs.js.map → password-input--fYkZAW3.cjs.js.map} +1 -1
  157. package/dist/chunks/{password-input-B5jaUzRa.es.js → password-input-XSc2MhLG.es.js} +5 -5
  158. package/dist/chunks/{password-input-B5jaUzRa.es.js.map → password-input-XSc2MhLG.es.js.map} +1 -1
  159. package/dist/chunks/{progress-bar-BkJEnG2U.es.js → progress-bar-DM8YmshZ.es.js} +4 -4
  160. package/dist/chunks/{progress-bar-BkJEnG2U.es.js.map → progress-bar-DM8YmshZ.es.js.map} +1 -1
  161. package/dist/chunks/{progress-bar-BsWBRJc2.cjs.js → progress-bar-QjY92GQn.cjs.js} +2 -2
  162. package/dist/chunks/{progress-bar-BsWBRJc2.cjs.js.map → progress-bar-QjY92GQn.cjs.js.map} +1 -1
  163. package/dist/chunks/provider-BzZZw3fF.cjs.js.map +1 -1
  164. package/dist/chunks/provider-DxFdjgyb.es.js.map +1 -1
  165. package/dist/chunks/{radio-input-D3ePwO1n.cjs.js → radio-input-BOjuwflu.cjs.js} +2 -2
  166. package/dist/chunks/{radio-input-D3ePwO1n.cjs.js.map → radio-input-BOjuwflu.cjs.js.map} +1 -1
  167. package/dist/chunks/{radio-input-BX3XjxCZ.es.js → radio-input-DRDeKoG2.es.js} +2 -2
  168. package/dist/chunks/{radio-input-BX3XjxCZ.es.js.map → radio-input-DRDeKoG2.es.js.map} +1 -1
  169. package/dist/chunks/{range-calendar-Bk_im2QK.cjs.js → range-calendar-C_x3yqnL.cjs.js} +2 -2
  170. package/dist/chunks/{range-calendar-Bk_im2QK.cjs.js.map → range-calendar-C_x3yqnL.cjs.js.map} +1 -1
  171. package/dist/chunks/{range-calendar-BgJMo6pU.es.js → range-calendar-Cup7ahCy.es.js} +7 -7
  172. package/dist/chunks/{range-calendar-BgJMo6pU.es.js.map → range-calendar-Cup7ahCy.es.js.map} +1 -1
  173. package/dist/chunks/{select-ruNS6UXv.es.js → select-CMZAeYTf.es.js} +6 -6
  174. package/dist/chunks/{select-ruNS6UXv.es.js.map → select-CMZAeYTf.es.js.map} +1 -1
  175. package/dist/chunks/{select-oXXKo_nv.cjs.js → select-CxIiux8H.cjs.js} +2 -2
  176. package/dist/chunks/{select-oXXKo_nv.cjs.js.map → select-CxIiux8H.cjs.js.map} +1 -1
  177. package/dist/chunks/{simple-grid-1F5YBj03.es.js → simple-grid-Crtlocqj.es.js} +3 -3
  178. package/dist/chunks/simple-grid-Crtlocqj.es.js.map +1 -0
  179. package/dist/chunks/{simple-grid-BfDDcTNA.cjs.js → simple-grid-yOwvCBEN.cjs.js} +2 -2
  180. package/dist/chunks/simple-grid-yOwvCBEN.cjs.js.map +1 -0
  181. package/dist/chunks/{split-button-CyEM3H65.es.js → split-button-BZHi7r1E.es.js} +6 -6
  182. package/dist/chunks/{split-button-CyEM3H65.es.js.map → split-button-BZHi7r1E.es.js.map} +1 -1
  183. package/dist/chunks/{split-button-CIHXMvxD.cjs.js → split-button-hRYYvfbx.cjs.js} +2 -2
  184. package/dist/chunks/{split-button-CIHXMvxD.cjs.js.map → split-button-hRYYvfbx.cjs.js.map} +1 -1
  185. package/dist/chunks/stack-B6PqFPMh.cjs.js +2 -0
  186. package/dist/chunks/stack-B6PqFPMh.cjs.js.map +1 -0
  187. package/dist/chunks/stack-CBx-c8hI.es.js +89 -0
  188. package/dist/chunks/stack-CBx-c8hI.es.js.map +1 -0
  189. package/dist/chunks/{switch-B4gRcARZ.es.js → switch-BOvBbCnU.es.js} +2 -2
  190. package/dist/chunks/{switch-B4gRcARZ.es.js.map → switch-BOvBbCnU.es.js.map} +1 -1
  191. package/dist/chunks/{switch-C3AG1gUR.cjs.js → switch-DUiPm-aC.cjs.js} +2 -2
  192. package/dist/chunks/{switch-C3AG1gUR.cjs.js.map → switch-DUiPm-aC.cjs.js.map} +1 -1
  193. package/dist/chunks/{tag-group-BE8wfvqd.es.js → tag-group-C_oBSbrz.es.js} +3 -3
  194. package/dist/chunks/{tag-group-BE8wfvqd.es.js.map → tag-group-C_oBSbrz.es.js.map} +1 -1
  195. package/dist/chunks/{tag-group-BYQkpbiY.cjs.js → tag-group-wXtwUUis.cjs.js} +2 -2
  196. package/dist/chunks/{tag-group-BYQkpbiY.cjs.js.map → tag-group-wXtwUUis.cjs.js.map} +1 -1
  197. package/dist/chunks/{text-QANNJ4E4.es.js → text-B2wziCK6.es.js} +7 -7
  198. package/dist/chunks/text-B2wziCK6.es.js.map +1 -0
  199. package/dist/chunks/text-hUMahKuA.cjs.js +2 -0
  200. package/dist/chunks/text-hUMahKuA.cjs.js.map +1 -0
  201. package/dist/chunks/{text-input-ClB8DzCK.es.js → text-input-B7XCw3SS.es.js} +2 -2
  202. package/dist/chunks/{text-input-ClB8DzCK.es.js.map → text-input-B7XCw3SS.es.js.map} +1 -1
  203. package/dist/chunks/{text-input-DnS2RVDs.cjs.js → text-input-CCX8LUl1.cjs.js} +2 -2
  204. package/dist/chunks/{text-input-DnS2RVDs.cjs.js.map → text-input-CCX8LUl1.cjs.js.map} +1 -1
  205. package/dist/chunks/{time-input-BWkx15sb.cjs.js → time-input-DQaDOtuT.cjs.js} +2 -2
  206. package/dist/chunks/{time-input-BWkx15sb.cjs.js.map → time-input-DQaDOtuT.cjs.js.map} +1 -1
  207. package/dist/chunks/{time-input-DWx_NjPa.es.js → time-input-DiFCm9qO.es.js} +2 -2
  208. package/dist/chunks/{time-input-DWx_NjPa.es.js.map → time-input-DiFCm9qO.es.js.map} +1 -1
  209. package/dist/chunks/{toggle-button-CuDtxD_c.es.js → toggle-button-BpG_UgsK.es.js} +3 -3
  210. package/dist/chunks/{toggle-button-CuDtxD_c.es.js.map → toggle-button-BpG_UgsK.es.js.map} +1 -1
  211. package/dist/chunks/{toggle-button-PE5251Fm.cjs.js → toggle-button-C9XUBlNB.cjs.js} +2 -2
  212. package/dist/chunks/{toggle-button-PE5251Fm.cjs.js.map → toggle-button-C9XUBlNB.cjs.js.map} +1 -1
  213. package/dist/chunks/{toggle-button-group-CXrwjOF0.es.js → toggle-button-group-BjQefKya.es.js} +2 -2
  214. package/dist/chunks/{toggle-button-group-CXrwjOF0.es.js.map → toggle-button-group-BjQefKya.es.js.map} +1 -1
  215. package/dist/chunks/{toggle-button-group-B2G_b7h8.cjs.js → toggle-button-group-C-jzm7ev.cjs.js} +2 -2
  216. package/dist/chunks/{toggle-button-group-B2G_b7h8.cjs.js.map → toggle-button-group-C-jzm7ev.cjs.js.map} +1 -1
  217. package/dist/chunks/{tooltip-Ya7L6lQR.es.js → tooltip-BLyAAnK-.es.js} +2 -2
  218. package/dist/chunks/{tooltip-Ya7L6lQR.es.js.map → tooltip-BLyAAnK-.es.js.map} +1 -1
  219. package/dist/chunks/{tooltip-fOhxG4pp.cjs.js → tooltip-tZKuAv4E.cjs.js} +2 -2
  220. package/dist/chunks/{tooltip-fOhxG4pp.cjs.js.map → tooltip-tZKuAv4E.cjs.js.map} +1 -1
  221. package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js.map +1 -1
  222. package/dist/chunks/use-recipe-CR4W7Dne.es.js.map +1 -1
  223. package/dist/chunks/{walk-object-vr3sAS3_.cjs.js → walk-object-Ad4Rz5Gh.cjs.js} +2 -2
  224. package/dist/chunks/{walk-object-vr3sAS3_.cjs.js.map → walk-object-Ad4Rz5Gh.cjs.js.map} +1 -1
  225. package/dist/chunks/{walk-object-CvcTxMj1.es.js → walk-object-Drjey5HY.es.js} +2 -2
  226. package/dist/chunks/{walk-object-CvcTxMj1.es.js.map → walk-object-Drjey5HY.es.js.map} +1 -1
  227. package/dist/components/accordion.cjs +1 -1
  228. package/dist/components/accordion.es.js +1 -1
  229. package/dist/components/alert.cjs +1 -1
  230. package/dist/components/alert.es.js +1 -1
  231. package/dist/components/avatar.cjs +1 -1
  232. package/dist/components/avatar.es.js +1 -1
  233. package/dist/components/badge.cjs +1 -1
  234. package/dist/components/badge.es.js +1 -1
  235. package/dist/components/box.cjs +1 -1
  236. package/dist/components/box.es.js +1 -1
  237. package/dist/components/button.cjs +1 -1
  238. package/dist/components/button.es.js +1 -1
  239. package/dist/components/calendar.cjs +1 -1
  240. package/dist/components/calendar.es.js +1 -1
  241. package/dist/components/card.cjs +1 -1
  242. package/dist/components/card.es.js +1 -1
  243. package/dist/components/checkbox.cjs +1 -1
  244. package/dist/components/checkbox.es.js +1 -1
  245. package/dist/components/code.cjs +1 -1
  246. package/dist/components/code.es.js +1 -1
  247. package/dist/components/combobox.cjs +1 -1
  248. package/dist/components/combobox.es.js +1 -1
  249. package/dist/components/components.cjs +1 -1
  250. package/dist/components/components.es.js +48 -48
  251. package/dist/components/data-table.cjs +1 -1
  252. package/dist/components/data-table.es.js +1 -1
  253. package/dist/components/date-input.cjs +1 -1
  254. package/dist/components/date-input.es.js +1 -1
  255. package/dist/components/date-picker.cjs +1 -1
  256. package/dist/components/date-picker.es.js +1 -1
  257. package/dist/components/date-range-picker.cjs +1 -1
  258. package/dist/components/date-range-picker.es.js +1 -1
  259. package/dist/components/dialog.cjs +1 -1
  260. package/dist/components/dialog.es.js +1 -1
  261. package/dist/components/divider.cjs +1 -1
  262. package/dist/components/divider.es.js +1 -1
  263. package/dist/components/flex.cjs +1 -1
  264. package/dist/components/flex.es.js +1 -1
  265. package/dist/components/form-field.cjs +1 -1
  266. package/dist/components/form-field.es.js +1 -1
  267. package/dist/components/grid.cjs +1 -1
  268. package/dist/components/grid.es.js +1 -1
  269. package/dist/components/heading.cjs +1 -1
  270. package/dist/components/heading.es.js +1 -1
  271. package/dist/components/icon-button.cjs +1 -1
  272. package/dist/components/icon-button.es.js +1 -1
  273. package/dist/components/icon-toggle-button.cjs +1 -1
  274. package/dist/components/icon-toggle-button.es.js +1 -1
  275. package/dist/components/icon.cjs +1 -1
  276. package/dist/components/icon.es.js +1 -1
  277. package/dist/components/image.cjs +1 -1
  278. package/dist/components/image.es.js +1 -1
  279. package/dist/components/kbd.cjs +1 -1
  280. package/dist/components/kbd.es.js +1 -1
  281. package/dist/components/link.cjs +1 -1
  282. package/dist/components/link.es.js +1 -1
  283. package/dist/components/list.cjs +1 -1
  284. package/dist/components/list.es.js +1 -1
  285. package/dist/components/loading-spinner.cjs +1 -1
  286. package/dist/components/loading-spinner.es.js +1 -1
  287. package/dist/components/multiline-text-input.cjs +1 -1
  288. package/dist/components/multiline-text-input.es.js +1 -1
  289. package/dist/components/number-input.cjs +1 -1
  290. package/dist/components/number-input.es.js +1 -1
  291. package/dist/components/password-input.cjs +1 -1
  292. package/dist/components/password-input.es.js +1 -1
  293. package/dist/components/progress-bar.cjs +1 -1
  294. package/dist/components/progress-bar.es.js +1 -1
  295. package/dist/components/radio-input.cjs +1 -1
  296. package/dist/components/radio-input.es.js +1 -1
  297. package/dist/components/range-calendar.cjs +1 -1
  298. package/dist/components/range-calendar.es.js +1 -1
  299. package/dist/components/select.cjs +1 -1
  300. package/dist/components/select.es.js +1 -1
  301. package/dist/components/simple-grid.cjs +1 -1
  302. package/dist/components/simple-grid.es.js +1 -1
  303. package/dist/components/split-button.cjs +1 -1
  304. package/dist/components/split-button.es.js +1 -1
  305. package/dist/components/stack.cjs +1 -1
  306. package/dist/components/stack.es.js +1 -1
  307. package/dist/components/switch.cjs +1 -1
  308. package/dist/components/switch.es.js +1 -1
  309. package/dist/components/table.cjs +1 -1
  310. package/dist/components/table.es.js +1 -1
  311. package/dist/components/tag-group.cjs +1 -1
  312. package/dist/components/tag-group.es.js +1 -1
  313. package/dist/components/text-input.cjs +1 -1
  314. package/dist/components/text-input.es.js +1 -1
  315. package/dist/components/text.cjs +1 -1
  316. package/dist/components/text.es.js +1 -1
  317. package/dist/components/time-input.cjs +1 -1
  318. package/dist/components/time-input.es.js +1 -1
  319. package/dist/components/toggle-button-group.cjs +1 -1
  320. package/dist/components/toggle-button-group.es.js +1 -1
  321. package/dist/components/toggle-button.cjs +1 -1
  322. package/dist/components/toggle-button.es.js +1 -1
  323. package/dist/components/tooltip.cjs +1 -1
  324. package/dist/components/tooltip.es.js +1 -1
  325. package/dist/components.d.ts +15 -15
  326. package/dist/data-table.d.ts +8 -8
  327. package/dist/heading.d.ts +1 -1
  328. package/dist/index.cjs +1 -1
  329. package/dist/index.cjs.map +1 -1
  330. package/dist/index.d.ts +15 -15
  331. package/dist/index.es.js +48 -48
  332. package/dist/simple-grid.d.ts +1 -1
  333. package/dist/text.d.ts +1 -1
  334. package/package.json +7 -7
  335. package/dist/chunks/box-7pkPaNxe.es.js.map +0 -1
  336. package/dist/chunks/box-DL4MWnyy.cjs.js.map +0 -1
  337. package/dist/chunks/code-DqjWYzPU.cjs.js +0 -2
  338. package/dist/chunks/create-slot-recipe-context-CHGQvGou.cjs.js +0 -2
  339. package/dist/chunks/create-slot-recipe-context-CHGQvGou.cjs.js.map +0 -1
  340. package/dist/chunks/create-slot-recipe-context-DgamNbR-.es.js.map +0 -1
  341. package/dist/chunks/data-table-BRjRsTel.cjs.js +0 -2
  342. package/dist/chunks/data-table-BRjRsTel.cjs.js.map +0 -1
  343. package/dist/chunks/data-table-DR210vqX.es.js.map +0 -1
  344. package/dist/chunks/dialog-B1XThG7_.cjs.js +0 -2
  345. package/dist/chunks/dialog-B1XThG7_.cjs.js.map +0 -1
  346. package/dist/chunks/dialog-De8l1nzr.es.js.map +0 -1
  347. package/dist/chunks/factory-DUzr3LTt.cjs.js +0 -3
  348. package/dist/chunks/factory-DUzr3LTt.cjs.js.map +0 -1
  349. package/dist/chunks/factory-Dwv06Ntb.es.js +0 -266
  350. package/dist/chunks/factory-Dwv06Ntb.es.js.map +0 -1
  351. package/dist/chunks/grid-item-B0PfRhfs.cjs.js +0 -2
  352. package/dist/chunks/grid-item-B0PfRhfs.cjs.js.map +0 -1
  353. package/dist/chunks/grid-item-BZOflk76.es.js +0 -75
  354. package/dist/chunks/grid-item-BZOflk76.es.js.map +0 -1
  355. package/dist/chunks/heading-CEFp09pV.cjs.js +0 -2
  356. package/dist/chunks/heading-CEFp09pV.cjs.js.map +0 -1
  357. package/dist/chunks/heading-DYcfaS5T.es.js.map +0 -1
  358. package/dist/chunks/image-DCZ7u0Yz.cjs.js +0 -2
  359. package/dist/chunks/simple-grid-1F5YBj03.es.js.map +0 -1
  360. package/dist/chunks/simple-grid-BfDDcTNA.cjs.js.map +0 -1
  361. package/dist/chunks/stack-B2xQMEdj.cjs.js +0 -2
  362. package/dist/chunks/stack-B2xQMEdj.cjs.js.map +0 -1
  363. package/dist/chunks/stack-DosdbBli.es.js +0 -89
  364. package/dist/chunks/stack-DosdbBli.es.js.map +0 -1
  365. package/dist/chunks/text-DNjTZCtR.cjs.js +0 -2
  366. package/dist/chunks/text-DNjTZCtR.cjs.js.map +0 -1
  367. package/dist/chunks/text-QANNJ4E4.es.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { I as r } from "./image-Dk3v9f16.es.js";
2
+ import { I as r } from "./image-BycsRl2K.es.js";
3
3
  const e = (m) => /* @__PURE__ */ a(r, { ...m });
4
4
  e.displayName = "Image";
5
5
  export {
6
6
  e as I
7
7
  };
8
- //# sourceMappingURL=image-B_X4IZ54.es.js.map
8
+ //# sourceMappingURL=image-B2WbQ5hi.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-B_X4IZ54.es.js","sources":["../../src/components/image/image.tsx"],"sourcesContent":["import {\n Image as ChakraImage,\n type ImageProps as ChakraImageProps,\n} from \"@chakra-ui/react/image\";\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
+ {"version":3,"file":"image-B2WbQ5hi.es.js","sources":["../../src/components/image/image.tsx"],"sourcesContent":["import {\n Image as ChakraImage,\n type ImageProps as ChakraImageProps,\n} from \"@chakra-ui/react/image\";\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;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const a=require("react/jsx-runtime"),m=require("./image-BP9LcU28.cjs.js"),e=s=>a.jsx(m.Image,{...s});e.displayName="Image";exports.Image=e;
2
+ //# sourceMappingURL=image-BAqoLZQB.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-DCZ7u0Yz.cjs.js","sources":["../../src/components/image/image.tsx"],"sourcesContent":["import {\n Image as ChakraImage,\n type ImageProps as ChakraImageProps,\n} from \"@chakra-ui/react/image\";\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":"uFAeaA,EAASC,GACbC,MAACC,EAAAA,MAAA,CAAa,GAAGF,CAAA,CAAO,EAGjCD,EAAM,YAAc"}
1
+ {"version":3,"file":"image-BAqoLZQB.cjs.js","sources":["../../src/components/image/image.tsx"],"sourcesContent":["import {\n Image as ChakraImage,\n type ImageProps as ChakraImageProps,\n} from \"@chakra-ui/react/image\";\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":"uFAeaA,EAASC,GACbC,MAACC,EAAAA,MAAA,CAAa,GAAGF,CAAA,CAAO,EAGjCD,EAAM,YAAc"}
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("react/jsx-runtime"),o=require("react"),t=require("./factory-DUzr3LTt.cjs.js"),n=o.forwardRef(function(e,c){const{align:a,fit:r="cover",...s}=e;return i.jsx(t.chakra.img,{ref:c,objectFit:r,objectPosition:a,className:t.cx("chakra-image",e.className),...s})});exports.Image=n;
2
- //# sourceMappingURL=image-CenZDDs1.cjs.js.map
1
+ "use strict";const i=require("react/jsx-runtime"),o=require("react"),t=require("./factory-DlCuwIGL.cjs.js"),n=o.forwardRef(function(e,c){const{align:a,fit:r="cover",...s}=e;return i.jsx(t.chakra.img,{ref:c,objectFit:r,objectPosition:a,className:t.cx("chakra-image",e.className),...s})});exports.Image=n;
2
+ //# sourceMappingURL=image-BP9LcU28.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-CenZDDs1.cjs.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/image/image.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { cx } from '../../utils/cx.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Image = forwardRef(\n function Image2(props, ref) {\n const { align, fit = \"cover\", ...rest } = props;\n return /* @__PURE__ */ jsx(\n chakra.img,\n {\n ref,\n objectFit: fit,\n objectPosition: align,\n className: cx(\"chakra-image\", props.className),\n ...rest\n }\n );\n }\n);\n\nexport { Image };\n"],"names":["Image","forwardRef","props","ref","align","fit","rest","jsx","chakra","cx"],"mappings":"4GAOMA,EAAQC,EAAAA,WACZ,SAAgBC,EAAOC,EAAK,CAC1B,KAAM,CAAE,MAAAC,EAAO,IAAAC,EAAM,QAAS,GAAGC,CAAI,EAAKJ,EAC1C,OAAuBK,EAAAA,IACrBC,EAAAA,OAAO,IACP,CACE,IAAAL,EACA,UAAWE,EACX,eAAgBD,EAChB,UAAWK,EAAAA,GAAG,eAAgBP,EAAM,SAAS,EAC7C,GAAGI,CACX,CACA,CACE,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"image-BP9LcU28.cjs.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.25.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_080bab95896e407042c07bd6c96a3f79/node_modules/@chakra-ui/react/dist/esm/components/image/image.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { chakra } from '../../styled-system/factory.js';\nimport { cx } from '../../utils/cx.js';\n\nconst Image = forwardRef(\n function Image2(props, ref) {\n const { align, fit = \"cover\", ...rest } = props;\n return /* @__PURE__ */ jsx(\n chakra.img,\n {\n ref,\n objectFit: fit,\n objectPosition: align,\n className: cx(\"chakra-image\", props.className),\n ...rest\n }\n );\n }\n);\n\nexport { Image };\n"],"names":["Image","forwardRef","props","ref","align","fit","rest","jsx","chakra","cx"],"mappings":"4GAOMA,EAAQC,EAAAA,WACZ,SAAgBC,EAAOC,EAAK,CAC1B,KAAM,CAAE,MAAAC,EAAO,IAAAC,EAAM,QAAS,GAAGC,CAAI,EAAKJ,EAC1C,OAAuBK,EAAAA,IACrBC,EAAAA,OAAO,IACP,CACE,IAAAL,EACA,UAAWE,EACX,eAAgBD,EAChB,UAAWK,EAAAA,GAAG,eAAgBP,EAAM,SAAS,EAC7C,GAAGI,CACX,CACA,CACE,CACF","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { forwardRef as m } from "react";
3
- import { c as i, a as s } from "./factory-Dwv06Ntb.es.js";
3
+ import { c as i, a as s } from "./factory-BpxiKxSs.es.js";
4
4
  const l = /* @__PURE__ */ m(
5
5
  function(a, o) {
6
6
  const { align: r, fit: t = "cover", ...c } = a;
@@ -19,4 +19,4 @@ const l = /* @__PURE__ */ m(
19
19
  export {
20
20
  l as I
21
21
  };
22
- //# sourceMappingURL=image-Dk3v9f16.es.js.map
22
+ //# sourceMappingURL=image-BycsRl2K.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-Dk3v9f16.es.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/image/image.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { cx } from '../../utils/cx.js';\nimport { chakra } from '../../styled-system/factory.js';\n\nconst Image = forwardRef(\n function Image2(props, ref) {\n const { align, fit = \"cover\", ...rest } = props;\n return /* @__PURE__ */ jsx(\n chakra.img,\n {\n ref,\n objectFit: fit,\n objectPosition: align,\n className: cx(\"chakra-image\", props.className),\n ...rest\n }\n );\n }\n);\n\nexport { Image };\n"],"names":["Image","forwardRef","props","ref","align","fit","rest","jsx","chakra","cx"],"mappings":";;;AAOK,MAACA,IAAQ,gBAAAC;AAAA,EACZ,SAAgBC,GAAOC,GAAK;AAC1B,UAAM,EAAE,OAAAC,GAAO,KAAAC,IAAM,SAAS,GAAGC,EAAI,IAAKJ;AAC1C,WAAuB,gBAAAK;AAAA,MACrBC,EAAO;AAAA,MACP;AAAA,QACE,KAAAL;AAAA,QACA,WAAWE;AAAA,QACX,gBAAgBD;AAAA,QAChB,WAAWK,EAAG,gBAAgBP,EAAM,SAAS;AAAA,QAC7C,GAAGI;AAAA,MACX;AAAA,IACA;AAAA,EACE;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"image-BycsRl2K.es.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.25.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_080bab95896e407042c07bd6c96a3f79/node_modules/@chakra-ui/react/dist/esm/components/image/image.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { forwardRef } from 'react';\nimport { chakra } from '../../styled-system/factory.js';\nimport { cx } from '../../utils/cx.js';\n\nconst Image = forwardRef(\n function Image2(props, ref) {\n const { align, fit = \"cover\", ...rest } = props;\n return /* @__PURE__ */ jsx(\n chakra.img,\n {\n ref,\n objectFit: fit,\n objectPosition: align,\n className: cx(\"chakra-image\", props.className),\n ...rest\n }\n );\n }\n);\n\nexport { Image };\n"],"names":["Image","forwardRef","props","ref","align","fit","rest","jsx","chakra","cx"],"mappings":";;;AAOK,MAACA,IAAQ,gBAAAC;AAAA,EACZ,SAAgBC,GAAOC,GAAK;AAC1B,UAAM,EAAE,OAAAC,GAAO,KAAAC,IAAM,SAAS,GAAGC,EAAI,IAAKJ;AAC1C,WAAuB,gBAAAK;AAAA,MACrBC,EAAO;AAAA,MACP;AAAA,QACE,KAAAL;AAAA,QACA,WAAWE;AAAA,QACX,gBAAgBD;AAAA,QAChB,WAAWK,EAAG,gBAAgBP,EAAM,SAAS;AAAA,QAC7C,GAAGI;AAAA,MACX;AAAA,IACA;AAAA,EACE;AACF;","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
- import { c as e } from "./create-recipe-context-BuajKZ9o.es.js";
1
+ import { c as e } from "./create-recipe-context-i2odau3L.es.js";
2
2
  const { withContext: t } = /* @__PURE__ */ e({
3
3
  key: "heading"
4
4
  }), n = /* @__PURE__ */ t("h2");
5
5
  export {
6
6
  n as H
7
7
  };
8
- //# sourceMappingURL=heading-DYcfaS5T.es.js.map
8
+ //# sourceMappingURL=index-0CyuQQet.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-0CyuQQet.es.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.25.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_080bab95896e407042c07bd6c96a3f79/node_modules/@chakra-ui/react/dist/esm/components/heading/index.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { createRecipeContext } from '../../styled-system/create-recipe-context.js';\n\nconst { withContext, PropsProvider } = createRecipeContext({\n key: \"heading\"\n});\nconst Heading = withContext(\"h2\");\nconst HeadingPropsProvider = PropsProvider;\n\nexport { Heading, HeadingPropsProvider };\n"],"names":["withContext","createRecipeContext","Heading"],"mappings":";AAIA,MAAM,EAAE,aAAAA,EAA2B,IAAI,gBAAAC,EAAoB;AAAA,EACzD,KAAK;AACP,CAAC,GACKC,IAAU,gBAAAF,EAAY,IAAI;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("./create-recipe-context-D0_lCuqq.cjs.js"),{withContext:t}=e.createRecipeContext({key:"heading"}),n=t("h2");exports.Heading=n;
2
+ //# sourceMappingURL=index-x9OhLGGf.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-x9OhLGGf.cjs.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.25.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_080bab95896e407042c07bd6c96a3f79/node_modules/@chakra-ui/react/dist/esm/components/heading/index.js"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { createRecipeContext } from '../../styled-system/create-recipe-context.js';\n\nconst { withContext, PropsProvider } = createRecipeContext({\n key: \"heading\"\n});\nconst Heading = withContext(\"h2\");\nconst HeadingPropsProvider = PropsProvider;\n\nexport { Heading, HeadingPropsProvider };\n"],"names":["withContext","createRecipeContext","Heading"],"mappings":"wEAIM,CAAE,YAAAA,CAA2B,EAAIC,sBAAoB,CACzD,IAAK,SACP,CAAC,EACKC,EAAUF,EAAY,IAAI","x_google_ignoreList":[0]}
@@ -4,7 +4,7 @@ import { $ as p } from "./Keyboard-Clnp4zAC.es.js";
4
4
  import { mergeRefs as c } from "@chakra-ui/react";
5
5
  import { useRef as i } from "react";
6
6
  import { k as $ } from "./kbd.recipe-BTW0MQqx.es.js";
7
- import { c as d } from "./create-recipe-context-BuajKZ9o.es.js";
7
+ import { c as d } from "./create-recipe-context-i2odau3L.es.js";
8
8
  import { $ as n } from "./useObjectRef-CaJ5pgjX.es.js";
9
9
  const { withContext: b } = /* @__PURE__ */ d({ recipe: $ }), x = /* @__PURE__ */ b("kbd"), j = ({ ref: t, slot: r, ...e }) => {
10
10
  const f = i(null), o = n(c(f, t)), [m] = a(e, o, p);
@@ -13,4 +13,4 @@ const { withContext: b } = /* @__PURE__ */ d({ recipe: $ }), x = /* @__PURE__ */
13
13
  export {
14
14
  j as K
15
15
  };
16
- //# sourceMappingURL=kbd-CUSbYvfc.es.js.map
16
+ //# sourceMappingURL=kbd-CDEXQyg2.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kbd-CUSbYvfc.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/styled-system\";\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 } from \"@chakra-ui/react\";\nimport { type KbdProps as ChakraKbdProps } from \"@chakra-ui/react/kbd\";\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,GCT9DI,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
+ {"version":3,"file":"kbd-CDEXQyg2.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/styled-system\";\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 } from \"@chakra-ui/react\";\nimport { type KbdProps as ChakraKbdProps } from \"@chakra-ui/react/kbd\";\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,GCT9DI,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,2 +1,2 @@
1
- "use strict";const n=require("react/jsx-runtime"),i=require("./utils-BHdR5Nww.cjs.js"),u=require("./Keyboard-rYf2KxZN.cjs.js"),d=require("@chakra-ui/react"),f=require("react"),a=require("./kbd.recipe-9kxAU5ro.cjs.js"),b=require("./create-recipe-context-BEEJ70DA.cjs.js"),R=require("./useObjectRef-dXOJdONs.cjs.js"),{withContext:$}=b.createRecipeContext({recipe:a.kbdRecipe}),p=$("kbd"),q=({ref:t,slot:r,...c})=>{const o=f.useRef(null),e=R.$df56164dff5785e2$export$4338b53315abf666(d.mergeRefs(o,t)),[s]=i.$64fa3d84918910a7$export$29f1550f4b0d4415(c,e,u.$63df2425e2108aa8$export$744d98a3b8a94e1c);return n.jsx(p,{ref:e,slot:r||void 0,...s})};exports.Kbd=q;
2
- //# sourceMappingURL=kbd-CSMHvaH6.cjs.js.map
1
+ "use strict";const n=require("react/jsx-runtime"),i=require("./utils-BHdR5Nww.cjs.js"),u=require("./Keyboard-rYf2KxZN.cjs.js"),d=require("@chakra-ui/react"),f=require("react"),a=require("./kbd.recipe-9kxAU5ro.cjs.js"),b=require("./create-recipe-context-D0_lCuqq.cjs.js"),R=require("./useObjectRef-dXOJdONs.cjs.js"),{withContext:$}=b.createRecipeContext({recipe:a.kbdRecipe}),p=$("kbd"),q=({ref:t,slot:r,...c})=>{const o=f.useRef(null),e=R.$df56164dff5785e2$export$4338b53315abf666(d.mergeRefs(o,t)),[s]=i.$64fa3d84918910a7$export$29f1550f4b0d4415(c,e,u.$63df2425e2108aa8$export$744d98a3b8a94e1c);return n.jsx(p,{ref:e,slot:r||void 0,...s})};exports.Kbd=q;
2
+ //# sourceMappingURL=kbd-DP3lZ80W.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kbd-CSMHvaH6.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/styled-system\";\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 } from \"@chakra-ui/react\";\nimport { type KbdProps as ChakraKbdProps } from \"@chakra-ui/react/kbd\";\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":"2TAwBM,CAAE,YAAAA,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQC,EAAAA,UAAW,EAMpDC,EAAcH,EAA2C,KAAK,ECT9DI,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
+ {"version":3,"file":"kbd-DP3lZ80W.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/styled-system\";\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 } from \"@chakra-ui/react\";\nimport { type KbdProps as ChakraKbdProps } from \"@chakra-ui/react/kbd\";\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":"2TAwBM,CAAE,YAAAA,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQC,EAAAA,UAAW,EAMpDC,EAAcH,EAA2C,KAAK,ECT9DI,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,2 +1,2 @@
1
- "use strict";const m=require("react/jsx-runtime"),L=require("react"),h=require("./link.recipe-BfCxtKjL.cjs.js"),y=require("./create-recipe-context-BEEJ70DA.cjs.js"),D=require("@chakra-ui/react"),j=require("./useObjectRef-dXOJdONs.cjs.js"),u=require("./mergeProps-BA5Cwf5w.cjs.js"),v=require("./filterDOMProps-WUskt27c.cjs.js"),b=require("./openLink-DkCJYbzq.cjs.js"),E=require("./usePress-D8F1U6qk.cjs.js"),O=require("./useFocusable-avM9w6OE.cjs.js");function S(e,s){let{elementType:t="a",onPress:c,onPressStart:i,onPressEnd:n,onClick:a,isDisabled:r,...d}=e,o={};t!=="a"&&(o={role:"link",tabIndex:r?void 0:0});let{focusableProps:P}=O.$f645667febf57a63$export$4c014de7c8940b4c(e,s),{pressProps:l,isPressed:k}=E.$f6c31cce2adf654f$export$45712eceda6fad21({onPress:c,onPressStart:i,onPressEnd:n,onClick:a,isDisabled:r,ref:s}),x=v.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(d,{labelable:!0}),q=u.$3ef42575df84b30b$export$9d1611c77c2fe928(P,l),R=b.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),C=b.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(e);return{isPressed:k,linkProps:u.$3ef42575df84b30b$export$9d1611c77c2fe928(x,C,{...q,...o,"aria-disabled":r||void 0,"aria-current":e["aria-current"],onClick:$=>{var f;(f=l.onClick)===null||f===void 0||f.call(l,$),b.$ea8dcbcb9ea1b556$export$13aea1a3cb5e3f1f($,R,e.href,e.routerOptions)}})}}const{withContext:T}=y.createRecipeContext({recipe:h.linkRecipe}),_=T("a"),p=e=>{const{as:s,asChild:t,children:c,ref:i,...n}=e,a=L.useRef(null),r=j.$df56164dff5785e2$export$4338b53315abf666(D.mergeRefs(a,i)),d=s||(t?"span":"a"),{linkProps:o}=S({...n,elementType:d},r);return m.jsx(_,{...u.$3ef42575df84b30b$export$9d1611c77c2fe928(n,o,{as:s,asChild:t,ref:r}),children:c})};p.displayName="Link";exports.Link=p;
2
- //# sourceMappingURL=link-B2cOAxZz.cjs.js.map
1
+ "use strict";const m=require("react/jsx-runtime"),L=require("react"),h=require("./link.recipe-BfCxtKjL.cjs.js"),y=require("./create-recipe-context-D0_lCuqq.cjs.js"),D=require("@chakra-ui/react"),j=require("./useObjectRef-dXOJdONs.cjs.js"),u=require("./mergeProps-BA5Cwf5w.cjs.js"),v=require("./filterDOMProps-WUskt27c.cjs.js"),b=require("./openLink-DkCJYbzq.cjs.js"),E=require("./usePress-D8F1U6qk.cjs.js"),O=require("./useFocusable-avM9w6OE.cjs.js");function S(e,s){let{elementType:t="a",onPress:c,onPressStart:i,onPressEnd:n,onClick:a,isDisabled:r,...d}=e,o={};t!=="a"&&(o={role:"link",tabIndex:r?void 0:0});let{focusableProps:P}=O.$f645667febf57a63$export$4c014de7c8940b4c(e,s),{pressProps:l,isPressed:k}=E.$f6c31cce2adf654f$export$45712eceda6fad21({onPress:c,onPressStart:i,onPressEnd:n,onClick:a,isDisabled:r,ref:s}),x=v.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(d,{labelable:!0}),q=u.$3ef42575df84b30b$export$9d1611c77c2fe928(P,l),R=b.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),C=b.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(e);return{isPressed:k,linkProps:u.$3ef42575df84b30b$export$9d1611c77c2fe928(x,C,{...q,...o,"aria-disabled":r||void 0,"aria-current":e["aria-current"],onClick:$=>{var f;(f=l.onClick)===null||f===void 0||f.call(l,$),b.$ea8dcbcb9ea1b556$export$13aea1a3cb5e3f1f($,R,e.href,e.routerOptions)}})}}const{withContext:T}=y.createRecipeContext({recipe:h.linkRecipe}),_=T("a"),p=e=>{const{as:s,asChild:t,children:c,ref:i,...n}=e,a=L.useRef(null),r=j.$df56164dff5785e2$export$4338b53315abf666(D.mergeRefs(a,i)),d=s||(t?"span":"a"),{linkProps:o}=S({...n,elementType:d},r);return m.jsx(_,{...u.$3ef42575df84b30b$export$9d1611c77c2fe928(n,o,{as:s,asChild:t,ref:r}),children:c})};p.displayName="Link";exports.Link=p;
2
+ //# sourceMappingURL=link-DMl9zyrR.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"link-B2cOAxZz.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+link@3.8.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/link/dist/useLink.mjs","../../src/components/link/link.slots.tsx","../../src/components/link/link.tsx"],"sourcesContent":["import {filterDOMProps as $5Ot33$filterDOMProps, mergeProps as $5Ot33$mergeProps, useRouter as $5Ot33$useRouter, useLinkProps as $5Ot33$useLinkProps, handleLinkClick as $5Ot33$handleLinkClick} from \"@react-aria/utils\";\nimport {useFocusable as $5Ot33$useFocusable, usePress as $5Ot33$usePress} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {\n let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onClick: onClick, isDisabled: isDisabled, ...otherProps } = props;\n let linkProps = {};\n if (elementType !== 'a') linkProps = {\n role: 'link',\n tabIndex: !isDisabled ? 0 : undefined\n };\n let { focusableProps: focusableProps } = (0, $5Ot33$useFocusable)(props, ref);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $5Ot33$usePress)({\n onPress: onPress,\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onClick: onClick,\n isDisabled: isDisabled,\n ref: ref\n });\n let domProps = (0, $5Ot33$filterDOMProps)(otherProps, {\n labelable: true\n });\n let interactionHandlers = (0, $5Ot33$mergeProps)(focusableProps, pressProps);\n let router = (0, $5Ot33$useRouter)();\n let routerLinkProps = (0, $5Ot33$useLinkProps)(props);\n return {\n isPressed: isPressed,\n linkProps: (0, $5Ot33$mergeProps)(domProps, routerLinkProps, {\n ...interactionHandlers,\n ...linkProps,\n 'aria-disabled': isDisabled || undefined,\n 'aria-current': props['aria-current'],\n onClick: (e)=>{\n var _pressProps_onClick;\n (_pressProps_onClick = pressProps.onClick) === null || _pressProps_onClick === void 0 ? void 0 : _pressProps_onClick.call(pressProps, e);\n (0, $5Ot33$handleLinkClick)(e, router, props.href, props.routerOptions);\n }\n })\n };\n}\n\n\nexport {$298d61e98472621b$export$dcf14c9974fe2767 as useLink};\n//# sourceMappingURL=useLink.module.js.map\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { linkRecipe } from \"./link.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the a element.\n */\ninterface LinkRecipeProps extends RecipeProps<\"a\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LinkRootProps = HTMLChakraProps<\"a\", LinkRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: linkRecipe });\n\n/**\n * Root component that provides the styling context for the Link component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LinkRoot = withContext<HTMLAnchorElement, LinkRootProps>(\"a\");\n","import { useRef } from \"react\";\nimport { LinkRoot } from \"./link.slots\";\nimport type { LinkProps } from \"./link.types\";\nimport { useLink, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * # Link\n *\n * To allow a user to navigate to a different page or resource\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/navigation/link}\n */\nexport const Link = (props: LinkProps) => {\n const { as, asChild, children, ref: forwardedRef, ...rest } = props;\n\n const localRef = useRef<HTMLAnchorElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = (as as string) || (asChild ? \"span\" : \"a\") || \"a\";\n const { linkProps } = useLink({ ...rest, elementType }, ref);\n\n return (\n <LinkRoot {...mergeProps(rest, linkProps, { as, asChild, ref })}>\n {children}\n </LinkRoot>\n );\n};\n\nLink.displayName = \"Link\";\n"],"names":["$298d61e98472621b$export$dcf14c9974fe2767","props","ref","elementType","onPress","onPressStart","onPressEnd","onClick","isDisabled","otherProps","linkProps","focusableProps","$5Ot33$useFocusable","pressProps","isPressed","$5Ot33$usePress","domProps","$5Ot33$filterDOMProps","interactionHandlers","$5Ot33$mergeProps","router","$5Ot33$useRouter","routerLinkProps","$5Ot33$useLinkProps","e","_pressProps_onClick","$5Ot33$handleLinkClick","withContext","createRecipeContext","linkRecipe","LinkRoot","Link","as","asChild","children","forwardedRef","rest","localRef","useRef","useObjectRef","mergeRefs","useLink","jsx","mergeProps"],"mappings":"mcAeA,SAASA,EAA0CC,EAAOC,EAAK,CAC3D,GAAI,CAAE,YAAaC,EAAc,IAAK,QAASC,EAAS,aAAcC,EAAc,WAAYC,EAAY,QAASC,EAAS,WAAYC,EAAY,GAAGC,CAAU,EAAKR,EACpKS,EAAY,CAAA,EACZP,IAAgB,MAAKO,EAAY,CACjC,KAAM,OACN,SAAWF,EAAiB,OAAJ,CAChC,GACI,GAAI,CAAE,eAAgBG,CAAc,EAASC,EAAAA,0CAAqBX,EAAOC,CAAG,EACxE,CAAE,WAAYW,EAAY,UAAWC,CAAS,EAASC,4CAAiB,CACxE,QAASX,EACT,aAAcC,EACd,WAAYC,EACZ,QAASC,EACT,WAAYC,EACZ,IAAKN,CACb,CAAK,EACGc,EAAeC,EAAAA,0CAAuBR,EAAY,CAClD,UAAW,EACnB,CAAK,EACGS,EAA0BC,4CAAmBR,EAAgBE,CAAU,EACvEO,EAAaC,4CAAgB,EAC7BC,EAAsBC,EAAAA,0CAAqBtB,CAAK,EACpD,MAAO,CACH,UAAWa,EACX,UAAeK,EAAAA,0CAAmBH,EAAUM,EAAiB,CACzD,GAAGJ,EACH,GAAGR,EACH,gBAAiBF,GAAc,OAC/B,eAAgBP,EAAM,cAAc,EACpC,QAAUuB,GAAI,CACV,IAAIC,GACHA,EAAsBZ,EAAW,WAAa,MAAQY,IAAwB,QAAkBA,EAAoB,KAAKZ,EAAYW,CAAC,EACnIE,EAAAA,0CAAwBF,EAAGJ,EAAQnB,EAAM,KAAMA,EAAM,aAAa,CAC1E,CACZ,CAAS,CACT,CACA,CC7BA,KAAM,CAAE,YAAA0B,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQC,EAAAA,WAAY,EAMrDC,EAAWH,EAA8C,GAAG,ECf5DI,EAAQ9B,GAAqB,CACxC,KAAM,CAAE,GAAA+B,EAAI,QAAAC,EAAS,SAAAC,EAAU,IAAKC,EAAc,GAAGC,GAASnC,EAExDoC,EAAWC,EAAAA,OAA0B,IAAI,EACzCpC,EAAMqC,EAAAA,0CAAaC,EAAAA,UAAUH,EAAUF,CAAY,CAAC,EAEpDhC,EAAe6B,IAAkBC,EAAU,OAAS,KACpD,CAAE,UAAAvB,GAAc+B,EAAQ,CAAE,GAAGL,EAAM,YAAAjC,CAAA,EAAeD,CAAG,EAE3D,OACEwC,EAAAA,IAACZ,EAAA,CAAU,GAAGa,EAAAA,0CAAWP,EAAM1B,EAAW,CAAE,GAAAsB,EAAI,QAAAC,EAAS,IAAA/B,EAAK,EAC3D,SAAAgC,CAAA,CACH,CAEJ,EAEAH,EAAK,YAAc","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"link-DMl9zyrR.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+link@3.8.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/link/dist/useLink.mjs","../../src/components/link/link.slots.tsx","../../src/components/link/link.tsx"],"sourcesContent":["import {filterDOMProps as $5Ot33$filterDOMProps, mergeProps as $5Ot33$mergeProps, useRouter as $5Ot33$useRouter, useLinkProps as $5Ot33$useLinkProps, handleLinkClick as $5Ot33$handleLinkClick} from \"@react-aria/utils\";\nimport {useFocusable as $5Ot33$useFocusable, usePress as $5Ot33$usePress} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {\n let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onClick: onClick, isDisabled: isDisabled, ...otherProps } = props;\n let linkProps = {};\n if (elementType !== 'a') linkProps = {\n role: 'link',\n tabIndex: !isDisabled ? 0 : undefined\n };\n let { focusableProps: focusableProps } = (0, $5Ot33$useFocusable)(props, ref);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $5Ot33$usePress)({\n onPress: onPress,\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onClick: onClick,\n isDisabled: isDisabled,\n ref: ref\n });\n let domProps = (0, $5Ot33$filterDOMProps)(otherProps, {\n labelable: true\n });\n let interactionHandlers = (0, $5Ot33$mergeProps)(focusableProps, pressProps);\n let router = (0, $5Ot33$useRouter)();\n let routerLinkProps = (0, $5Ot33$useLinkProps)(props);\n return {\n isPressed: isPressed,\n linkProps: (0, $5Ot33$mergeProps)(domProps, routerLinkProps, {\n ...interactionHandlers,\n ...linkProps,\n 'aria-disabled': isDisabled || undefined,\n 'aria-current': props['aria-current'],\n onClick: (e)=>{\n var _pressProps_onClick;\n (_pressProps_onClick = pressProps.onClick) === null || _pressProps_onClick === void 0 ? void 0 : _pressProps_onClick.call(pressProps, e);\n (0, $5Ot33$handleLinkClick)(e, router, props.href, props.routerOptions);\n }\n })\n };\n}\n\n\nexport {$298d61e98472621b$export$dcf14c9974fe2767 as useLink};\n//# sourceMappingURL=useLink.module.js.map\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { linkRecipe } from \"./link.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the a element.\n */\ninterface LinkRecipeProps extends RecipeProps<\"a\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LinkRootProps = HTMLChakraProps<\"a\", LinkRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: linkRecipe });\n\n/**\n * Root component that provides the styling context for the Link component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LinkRoot = withContext<HTMLAnchorElement, LinkRootProps>(\"a\");\n","import { useRef } from \"react\";\nimport { LinkRoot } from \"./link.slots\";\nimport type { LinkProps } from \"./link.types\";\nimport { useLink, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * # Link\n *\n * To allow a user to navigate to a different page or resource\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/navigation/link}\n */\nexport const Link = (props: LinkProps) => {\n const { as, asChild, children, ref: forwardedRef, ...rest } = props;\n\n const localRef = useRef<HTMLAnchorElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = (as as string) || (asChild ? \"span\" : \"a\") || \"a\";\n const { linkProps } = useLink({ ...rest, elementType }, ref);\n\n return (\n <LinkRoot {...mergeProps(rest, linkProps, { as, asChild, ref })}>\n {children}\n </LinkRoot>\n );\n};\n\nLink.displayName = \"Link\";\n"],"names":["$298d61e98472621b$export$dcf14c9974fe2767","props","ref","elementType","onPress","onPressStart","onPressEnd","onClick","isDisabled","otherProps","linkProps","focusableProps","$5Ot33$useFocusable","pressProps","isPressed","$5Ot33$usePress","domProps","$5Ot33$filterDOMProps","interactionHandlers","$5Ot33$mergeProps","router","$5Ot33$useRouter","routerLinkProps","$5Ot33$useLinkProps","e","_pressProps_onClick","$5Ot33$handleLinkClick","withContext","createRecipeContext","linkRecipe","LinkRoot","Link","as","asChild","children","forwardedRef","rest","localRef","useRef","useObjectRef","mergeRefs","useLink","jsx","mergeProps"],"mappings":"mcAeA,SAASA,EAA0CC,EAAOC,EAAK,CAC3D,GAAI,CAAE,YAAaC,EAAc,IAAK,QAASC,EAAS,aAAcC,EAAc,WAAYC,EAAY,QAASC,EAAS,WAAYC,EAAY,GAAGC,CAAU,EAAKR,EACpKS,EAAY,CAAA,EACZP,IAAgB,MAAKO,EAAY,CACjC,KAAM,OACN,SAAWF,EAAiB,OAAJ,CAChC,GACI,GAAI,CAAE,eAAgBG,CAAc,EAASC,EAAAA,0CAAqBX,EAAOC,CAAG,EACxE,CAAE,WAAYW,EAAY,UAAWC,CAAS,EAASC,4CAAiB,CACxE,QAASX,EACT,aAAcC,EACd,WAAYC,EACZ,QAASC,EACT,WAAYC,EACZ,IAAKN,CACb,CAAK,EACGc,EAAeC,EAAAA,0CAAuBR,EAAY,CAClD,UAAW,EACnB,CAAK,EACGS,EAA0BC,4CAAmBR,EAAgBE,CAAU,EACvEO,EAAaC,4CAAgB,EAC7BC,EAAsBC,EAAAA,0CAAqBtB,CAAK,EACpD,MAAO,CACH,UAAWa,EACX,UAAeK,EAAAA,0CAAmBH,EAAUM,EAAiB,CACzD,GAAGJ,EACH,GAAGR,EACH,gBAAiBF,GAAc,OAC/B,eAAgBP,EAAM,cAAc,EACpC,QAAUuB,GAAI,CACV,IAAIC,GACHA,EAAsBZ,EAAW,WAAa,MAAQY,IAAwB,QAAkBA,EAAoB,KAAKZ,EAAYW,CAAC,EACnIE,EAAAA,0CAAwBF,EAAGJ,EAAQnB,EAAM,KAAMA,EAAM,aAAa,CAC1E,CACZ,CAAS,CACT,CACA,CC7BA,KAAM,CAAE,YAAA0B,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQC,EAAAA,WAAY,EAMrDC,EAAWH,EAA8C,GAAG,ECf5DI,EAAQ9B,GAAqB,CACxC,KAAM,CAAE,GAAA+B,EAAI,QAAAC,EAAS,SAAAC,EAAU,IAAKC,EAAc,GAAGC,GAASnC,EAExDoC,EAAWC,EAAAA,OAA0B,IAAI,EACzCpC,EAAMqC,EAAAA,0CAAaC,EAAAA,UAAUH,EAAUF,CAAY,CAAC,EAEpDhC,EAAe6B,IAAkBC,EAAU,OAAS,KACpD,CAAE,UAAAvB,GAAc+B,EAAQ,CAAE,GAAGL,EAAM,YAAAjC,CAAA,EAAeD,CAAG,EAE3D,OACEwC,EAAAA,IAACZ,EAAA,CAAU,GAAGa,EAAAA,0CAAWP,EAAM1B,EAAW,CAAE,GAAAsB,EAAI,QAAAC,EAAS,IAAA/B,EAAK,EAC3D,SAAAgC,CAAA,CACH,CAEJ,EAEAH,EAAK,YAAc","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  import { jsx as C } from "react/jsx-runtime";
2
2
  import { useRef as R } from "react";
3
3
  import { l as h } from "./link.recipe-BRnFQ5bP.es.js";
4
- import { c as L } from "./create-recipe-context-BuajKZ9o.es.js";
4
+ import { c as L } from "./create-recipe-context-i2odau3L.es.js";
5
5
  import { mergeRefs as y } from "@chakra-ui/react";
6
6
  import { $ as v } from "./useObjectRef-CaJ5pgjX.es.js";
7
7
  import { $ as p } from "./mergeProps-B_9syxhT.es.js";
@@ -47,4 +47,4 @@ I.displayName = "Link";
47
47
  export {
48
48
  I as L
49
49
  };
50
- //# sourceMappingURL=link-DteZUB4U.es.js.map
50
+ //# sourceMappingURL=link-Db9S7XvR.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"link-DteZUB4U.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+link@3.8.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/link/dist/useLink.mjs","../../src/components/link/link.slots.tsx","../../src/components/link/link.tsx"],"sourcesContent":["import {filterDOMProps as $5Ot33$filterDOMProps, mergeProps as $5Ot33$mergeProps, useRouter as $5Ot33$useRouter, useLinkProps as $5Ot33$useLinkProps, handleLinkClick as $5Ot33$handleLinkClick} from \"@react-aria/utils\";\nimport {useFocusable as $5Ot33$useFocusable, usePress as $5Ot33$usePress} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {\n let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onClick: onClick, isDisabled: isDisabled, ...otherProps } = props;\n let linkProps = {};\n if (elementType !== 'a') linkProps = {\n role: 'link',\n tabIndex: !isDisabled ? 0 : undefined\n };\n let { focusableProps: focusableProps } = (0, $5Ot33$useFocusable)(props, ref);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $5Ot33$usePress)({\n onPress: onPress,\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onClick: onClick,\n isDisabled: isDisabled,\n ref: ref\n });\n let domProps = (0, $5Ot33$filterDOMProps)(otherProps, {\n labelable: true\n });\n let interactionHandlers = (0, $5Ot33$mergeProps)(focusableProps, pressProps);\n let router = (0, $5Ot33$useRouter)();\n let routerLinkProps = (0, $5Ot33$useLinkProps)(props);\n return {\n isPressed: isPressed,\n linkProps: (0, $5Ot33$mergeProps)(domProps, routerLinkProps, {\n ...interactionHandlers,\n ...linkProps,\n 'aria-disabled': isDisabled || undefined,\n 'aria-current': props['aria-current'],\n onClick: (e)=>{\n var _pressProps_onClick;\n (_pressProps_onClick = pressProps.onClick) === null || _pressProps_onClick === void 0 ? void 0 : _pressProps_onClick.call(pressProps, e);\n (0, $5Ot33$handleLinkClick)(e, router, props.href, props.routerOptions);\n }\n })\n };\n}\n\n\nexport {$298d61e98472621b$export$dcf14c9974fe2767 as useLink};\n//# sourceMappingURL=useLink.module.js.map\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { linkRecipe } from \"./link.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the a element.\n */\ninterface LinkRecipeProps extends RecipeProps<\"a\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LinkRootProps = HTMLChakraProps<\"a\", LinkRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: linkRecipe });\n\n/**\n * Root component that provides the styling context for the Link component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LinkRoot = withContext<HTMLAnchorElement, LinkRootProps>(\"a\");\n","import { useRef } from \"react\";\nimport { LinkRoot } from \"./link.slots\";\nimport type { LinkProps } from \"./link.types\";\nimport { useLink, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * # Link\n *\n * To allow a user to navigate to a different page or resource\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/navigation/link}\n */\nexport const Link = (props: LinkProps) => {\n const { as, asChild, children, ref: forwardedRef, ...rest } = props;\n\n const localRef = useRef<HTMLAnchorElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = (as as string) || (asChild ? \"span\" : \"a\") || \"a\";\n const { linkProps } = useLink({ ...rest, elementType }, ref);\n\n return (\n <LinkRoot {...mergeProps(rest, linkProps, { as, asChild, ref })}>\n {children}\n </LinkRoot>\n );\n};\n\nLink.displayName = \"Link\";\n"],"names":["$298d61e98472621b$export$dcf14c9974fe2767","props","ref","elementType","onPress","onPressStart","onPressEnd","onClick","isDisabled","otherProps","linkProps","focusableProps","$5Ot33$useFocusable","pressProps","isPressed","$5Ot33$usePress","domProps","$5Ot33$filterDOMProps","interactionHandlers","$5Ot33$mergeProps","router","$5Ot33$useRouter","routerLinkProps","$5Ot33$useLinkProps","e","_pressProps_onClick","$5Ot33$handleLinkClick","withContext","createRecipeContext","linkRecipe","LinkRoot","Link","as","asChild","children","forwardedRef","rest","localRef","useRef","useObjectRef","mergeRefs","useLink","jsx","mergeProps"],"mappings":";;;;;;;;;;;AAeA,SAASA,EAA0CC,GAAOC,GAAK;AAC3D,MAAI,EAAE,aAAaC,IAAc,KAAK,SAASC,GAAS,cAAcC,GAAc,YAAYC,GAAY,SAASC,GAAS,YAAYC,GAAY,GAAGC,EAAU,IAAKR,GACpKS,IAAY,CAAA;AAChB,EAAIP,MAAgB,QAAKO,IAAY;AAAA,IACjC,MAAM;AAAA,IACN,UAAWF,IAAiB,SAAJ;AAAA,EAChC;AACI,MAAI,EAAE,gBAAgBG,EAAc,IAASC,EAAqBX,GAAOC,CAAG,GACxE,EAAE,YAAYW,GAAY,WAAWC,EAAS,IAASC,EAAiB;AAAA,IACxE,SAASX;AAAA,IACT,cAAcC;AAAA,IACd,YAAYC;AAAA,IACZ,SAASC;AAAA,IACT,YAAYC;AAAA,IACZ,KAAKN;AAAA,EACb,CAAK,GACGc,IAAeC,EAAuBR,GAAY;AAAA,IAClD,WAAW;AAAA,EACnB,CAAK,GACGS,IAA0BC,EAAmBR,GAAgBE,CAAU,GACvEO,IAAaC,EAAgB,GAC7BC,IAAsBC,EAAqBtB,CAAK;AACpD,SAAO;AAAA,IACH,WAAWa;AAAA,IACX,WAAeK,EAAmBH,GAAUM,GAAiB;AAAA,MACzD,GAAGJ;AAAA,MACH,GAAGR;AAAA,MACH,iBAAiBF,KAAc;AAAA,MAC/B,gBAAgBP,EAAM,cAAc;AAAA,MACpC,SAAS,CAACuB,MAAI;AACV,YAAIC;AACJ,SAACA,IAAsBZ,EAAW,aAAa,QAAQY,MAAwB,UAAkBA,EAAoB,KAAKZ,GAAYW,CAAC,GACnIE,EAAwBF,GAAGJ,GAAQnB,EAAM,MAAMA,EAAM,aAAa;AAAA,MAC1E;AAAA,IACZ,CAAS;AAAA,EACT;AACA;AC7BA,MAAM,EAAE,aAAA0B,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQC,GAAY,GAMrDC,IAAW,gBAAAH,EAA8C,GAAG,GCf5DI,IAAO,CAAC9B,MAAqB;AACxC,QAAM,EAAE,IAAA+B,GAAI,SAAAC,GAAS,UAAAC,GAAU,KAAKC,GAAc,GAAGC,MAASnC,GAExDoC,IAAWC,EAA0B,IAAI,GACzCpC,IAAMqC,EAAaC,EAAUH,GAAUF,CAAY,CAAC,GAEpDhC,IAAe6B,MAAkBC,IAAU,SAAS,MACpD,EAAE,WAAAvB,MAAc+B,EAAQ,EAAE,GAAGL,GAAM,aAAAjC,EAAA,GAAeD,CAAG;AAE3D,SACE,gBAAAwC,EAACZ,GAAA,EAAU,GAAGa,EAAWP,GAAM1B,GAAW,EAAE,IAAAsB,GAAI,SAAAC,GAAS,KAAA/B,GAAK,GAC3D,UAAAgC,EAAA,CACH;AAEJ;AAEAH,EAAK,cAAc;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"link-Db9S7XvR.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+link@3.8.4_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/link/dist/useLink.mjs","../../src/components/link/link.slots.tsx","../../src/components/link/link.tsx"],"sourcesContent":["import {filterDOMProps as $5Ot33$filterDOMProps, mergeProps as $5Ot33$mergeProps, useRouter as $5Ot33$useRouter, useLinkProps as $5Ot33$useLinkProps, handleLinkClick as $5Ot33$handleLinkClick} from \"@react-aria/utils\";\nimport {useFocusable as $5Ot33$useFocusable, usePress as $5Ot33$usePress} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {\n let { elementType: elementType = 'a', onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onClick: onClick, isDisabled: isDisabled, ...otherProps } = props;\n let linkProps = {};\n if (elementType !== 'a') linkProps = {\n role: 'link',\n tabIndex: !isDisabled ? 0 : undefined\n };\n let { focusableProps: focusableProps } = (0, $5Ot33$useFocusable)(props, ref);\n let { pressProps: pressProps, isPressed: isPressed } = (0, $5Ot33$usePress)({\n onPress: onPress,\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onClick: onClick,\n isDisabled: isDisabled,\n ref: ref\n });\n let domProps = (0, $5Ot33$filterDOMProps)(otherProps, {\n labelable: true\n });\n let interactionHandlers = (0, $5Ot33$mergeProps)(focusableProps, pressProps);\n let router = (0, $5Ot33$useRouter)();\n let routerLinkProps = (0, $5Ot33$useLinkProps)(props);\n return {\n isPressed: isPressed,\n linkProps: (0, $5Ot33$mergeProps)(domProps, routerLinkProps, {\n ...interactionHandlers,\n ...linkProps,\n 'aria-disabled': isDisabled || undefined,\n 'aria-current': props['aria-current'],\n onClick: (e)=>{\n var _pressProps_onClick;\n (_pressProps_onClick = pressProps.onClick) === null || _pressProps_onClick === void 0 ? void 0 : _pressProps_onClick.call(pressProps, e);\n (0, $5Ot33$handleLinkClick)(e, router, props.href, props.routerOptions);\n }\n })\n };\n}\n\n\nexport {$298d61e98472621b$export$dcf14c9974fe2767 as useLink};\n//# sourceMappingURL=useLink.module.js.map\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { linkRecipe } from \"./link.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the a element.\n */\ninterface LinkRecipeProps extends RecipeProps<\"a\">, UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LinkRootProps = HTMLChakraProps<\"a\", LinkRecipeProps>;\n\nconst { withContext } = createRecipeContext({ recipe: linkRecipe });\n\n/**\n * Root component that provides the styling context for the Link component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LinkRoot = withContext<HTMLAnchorElement, LinkRootProps>(\"a\");\n","import { useRef } from \"react\";\nimport { LinkRoot } from \"./link.slots\";\nimport type { LinkProps } from \"./link.types\";\nimport { useLink, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\n\n/**\n * # Link\n *\n * To allow a user to navigate to a different page or resource\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/navigation/link}\n */\nexport const Link = (props: LinkProps) => {\n const { as, asChild, children, ref: forwardedRef, ...rest } = props;\n\n const localRef = useRef<HTMLAnchorElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const elementType = (as as string) || (asChild ? \"span\" : \"a\") || \"a\";\n const { linkProps } = useLink({ ...rest, elementType }, ref);\n\n return (\n <LinkRoot {...mergeProps(rest, linkProps, { as, asChild, ref })}>\n {children}\n </LinkRoot>\n );\n};\n\nLink.displayName = \"Link\";\n"],"names":["$298d61e98472621b$export$dcf14c9974fe2767","props","ref","elementType","onPress","onPressStart","onPressEnd","onClick","isDisabled","otherProps","linkProps","focusableProps","$5Ot33$useFocusable","pressProps","isPressed","$5Ot33$usePress","domProps","$5Ot33$filterDOMProps","interactionHandlers","$5Ot33$mergeProps","router","$5Ot33$useRouter","routerLinkProps","$5Ot33$useLinkProps","e","_pressProps_onClick","$5Ot33$handleLinkClick","withContext","createRecipeContext","linkRecipe","LinkRoot","Link","as","asChild","children","forwardedRef","rest","localRef","useRef","useObjectRef","mergeRefs","useLink","jsx","mergeProps"],"mappings":";;;;;;;;;;;AAeA,SAASA,EAA0CC,GAAOC,GAAK;AAC3D,MAAI,EAAE,aAAaC,IAAc,KAAK,SAASC,GAAS,cAAcC,GAAc,YAAYC,GAAY,SAASC,GAAS,YAAYC,GAAY,GAAGC,EAAU,IAAKR,GACpKS,IAAY,CAAA;AAChB,EAAIP,MAAgB,QAAKO,IAAY;AAAA,IACjC,MAAM;AAAA,IACN,UAAWF,IAAiB,SAAJ;AAAA,EAChC;AACI,MAAI,EAAE,gBAAgBG,EAAc,IAASC,EAAqBX,GAAOC,CAAG,GACxE,EAAE,YAAYW,GAAY,WAAWC,EAAS,IAASC,EAAiB;AAAA,IACxE,SAASX;AAAA,IACT,cAAcC;AAAA,IACd,YAAYC;AAAA,IACZ,SAASC;AAAA,IACT,YAAYC;AAAA,IACZ,KAAKN;AAAA,EACb,CAAK,GACGc,IAAeC,EAAuBR,GAAY;AAAA,IAClD,WAAW;AAAA,EACnB,CAAK,GACGS,IAA0BC,EAAmBR,GAAgBE,CAAU,GACvEO,IAAaC,EAAgB,GAC7BC,IAAsBC,EAAqBtB,CAAK;AACpD,SAAO;AAAA,IACH,WAAWa;AAAA,IACX,WAAeK,EAAmBH,GAAUM,GAAiB;AAAA,MACzD,GAAGJ;AAAA,MACH,GAAGR;AAAA,MACH,iBAAiBF,KAAc;AAAA,MAC/B,gBAAgBP,EAAM,cAAc;AAAA,MACpC,SAAS,CAACuB,MAAI;AACV,YAAIC;AACJ,SAACA,IAAsBZ,EAAW,aAAa,QAAQY,MAAwB,UAAkBA,EAAoB,KAAKZ,GAAYW,CAAC,GACnIE,EAAwBF,GAAGJ,GAAQnB,EAAM,MAAMA,EAAM,aAAa;AAAA,MAC1E;AAAA,IACZ,CAAS;AAAA,EACT;AACA;AC7BA,MAAM,EAAE,aAAA0B,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQC,GAAY,GAMrDC,IAAW,gBAAAH,EAA8C,GAAG,GCf5DI,IAAO,CAAC9B,MAAqB;AACxC,QAAM,EAAE,IAAA+B,GAAI,SAAAC,GAAS,UAAAC,GAAU,KAAKC,GAAc,GAAGC,MAASnC,GAExDoC,IAAWC,EAA0B,IAAI,GACzCpC,IAAMqC,EAAaC,EAAUH,GAAUF,CAAY,CAAC,GAEpDhC,IAAe6B,MAAkBC,IAAU,SAAS,MACpD,EAAE,WAAAvB,MAAc+B,EAAQ,EAAE,GAAGL,GAAM,aAAAjC,EAAA,GAAeD,CAAG;AAE3D,SACE,gBAAAwC,EAACZ,GAAA,EAAU,GAAGa,EAAWP,GAAM1B,GAAW,EAAE,IAAAsB,GAAI,SAAAC,GAAS,KAAA/B,GAAK,GAC3D,UAAAgC,EAAA,CACH;AAEJ;AAEAH,EAAK,cAAc;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./create-slot-recipe-context-CHGQvGou.cjs.js"),{withProvider:c,withContext:t}=e.createSlotRecipeContext({key:"list"}),n=c("ul","root",{defaultProps:{role:"list"}}),r=t("li","item"),L=t("span","indicator"),o=n,i=r,s=L,a={Root:o,Item:i,Indicator:s};exports.List=a;exports.ListIndicator=s;exports.ListItem=i;exports.ListRoot=o;
2
- //# sourceMappingURL=list-Bm8bFcHO.cjs.js.map
1
+ "use strict";const e=require("./create-slot-recipe-context-HIF51Igr.cjs.js"),{withProvider:c,withContext:t}=e.createSlotRecipeContext({key:"list"}),n=c("ul","root",{defaultProps:{role:"list"}}),r=t("li","item"),L=t("span","indicator"),o=n,i=r,s=L,a={Root:o,Item:i,Indicator:s};exports.List=a;exports.ListIndicator=s;exports.ListItem=i;exports.ListRoot=o;
2
+ //# sourceMappingURL=list-r1G4iBXo.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-Bm8bFcHO.cjs.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/list/list.js","../../src/components/list/list.tsx"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\n\nconst {\n withProvider,\n withContext,\n useStyles: useListStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"list\" });\nconst ListRoot = withProvider(\n \"ul\",\n \"root\",\n { defaultProps: { role: \"list\" } }\n);\nconst ListRootPropsProvider = PropsProvider;\nconst ListItem = withContext(\"li\", \"item\");\nconst ListIndicator = withContext(\n \"span\",\n \"indicator\"\n);\n\nexport { ListIndicator, ListItem, ListRoot, ListRootPropsProvider, useListStyles };\n","import { List as ChakraList } from \"@chakra-ui/react/list\";\n\nconst ListRoot = ChakraList.Root;\nconst ListItem = ChakraList.Item;\nconst ListIndicator = ChakraList.Indicator;\n\n/**\n * # List\n *\n * displays a list\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/list}\n * @experimental This component is experimental and may change or be removed in future versions.\n */\nexport const List = {\n Root: ListRoot,\n Item: ListItem,\n Indicator: ListIndicator,\n};\n\nexport {\n ListRoot as _ListRoot,\n ListItem as _ListItem,\n ListIndicator as _ListIndicator,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","ListRoot","ListItem","ListIndicator","ChakraList.Root","ChakraList.Item","ChakraList.Indicator","List"],"mappings":"6EAIM,CACJ,aAAAA,EACA,YAAAC,CAGF,EAAIC,EAAAA,wBAAwB,CAAE,IAAK,MAAM,CAAE,EACrCC,EAAWH,EACf,KACA,OACA,CAAE,aAAc,CAAE,KAAM,MAAM,CAAE,CAClC,EAEMI,EAAWH,EAAY,KAAM,MAAM,EACnCI,EAAgBJ,EACpB,OACA,WACF,EClBME,EAAWG,EACXF,EAAWG,EACXF,EAAgBG,EAUTC,EAAO,CAClB,KAAMN,EACN,KAAMC,EACN,UAAWC,CACb","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"list-r1G4iBXo.cjs.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.25.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_080bab95896e407042c07bd6c96a3f79/node_modules/@chakra-ui/react/dist/esm/components/list/list.js","../../src/components/list/list.tsx"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\n\nconst {\n withProvider,\n withContext,\n useStyles: useListStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"list\" });\nconst ListRoot = withProvider(\n \"ul\",\n \"root\",\n { defaultProps: { role: \"list\" } }\n);\nconst ListRootPropsProvider = PropsProvider;\nconst ListItem = withContext(\"li\", \"item\");\nconst ListIndicator = withContext(\n \"span\",\n \"indicator\"\n);\n\nexport { ListIndicator, ListItem, ListRoot, ListRootPropsProvider, useListStyles };\n","import { List as ChakraList } from \"@chakra-ui/react/list\";\n\nconst ListRoot = ChakraList.Root;\nconst ListItem = ChakraList.Item;\nconst ListIndicator = ChakraList.Indicator;\n\n/**\n * # List\n *\n * displays a list\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/list}\n * @experimental This component is experimental and may change or be removed in future versions.\n */\nexport const List = {\n Root: ListRoot,\n Item: ListItem,\n Indicator: ListIndicator,\n};\n\nexport {\n ListRoot as _ListRoot,\n ListItem as _ListItem,\n ListIndicator as _ListIndicator,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","ListRoot","ListItem","ListIndicator","ChakraList.Root","ChakraList.Item","ChakraList.Indicator","List"],"mappings":"6EAIM,CACJ,aAAAA,EACA,YAAAC,CAGF,EAAIC,EAAAA,wBAAwB,CAAE,IAAK,MAAM,CAAE,EACrCC,EAAWH,EACf,KACA,OACA,CAAE,aAAc,CAAE,KAAM,MAAM,CAAE,CAClC,EAEMI,EAAWH,EAAY,KAAM,MAAM,EACnCI,EAAgBJ,EACpB,OACA,WACF,EClBME,EAAWG,EACXF,EAAWG,EACXF,EAAgBG,EAUTC,EAAO,CAClB,KAAMN,EACN,KAAMC,EACN,UAAWC,CACb","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { c as o } from "./create-slot-recipe-context-DgamNbR-.es.js";
1
+ import { c as o } from "./create-slot-recipe-context-DBNItnlK.es.js";
2
2
  const {
3
3
  withProvider: s,
4
4
  withContext: t
@@ -20,4 +20,4 @@ export {
20
20
  a as b,
21
21
  r as c
22
22
  };
23
- //# sourceMappingURL=list-De4DYOvu.es.js.map
23
+ //# sourceMappingURL=list-x423RThD.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-De4DYOvu.es.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.22.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_673343cfc8d0b0ef4571b2c1f159c6b1/node_modules/@chakra-ui/react/dist/esm/components/list/list.js","../../src/components/list/list.tsx"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\n\nconst {\n withProvider,\n withContext,\n useStyles: useListStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"list\" });\nconst ListRoot = withProvider(\n \"ul\",\n \"root\",\n { defaultProps: { role: \"list\" } }\n);\nconst ListRootPropsProvider = PropsProvider;\nconst ListItem = withContext(\"li\", \"item\");\nconst ListIndicator = withContext(\n \"span\",\n \"indicator\"\n);\n\nexport { ListIndicator, ListItem, ListRoot, ListRootPropsProvider, useListStyles };\n","import { List as ChakraList } from \"@chakra-ui/react/list\";\n\nconst ListRoot = ChakraList.Root;\nconst ListItem = ChakraList.Item;\nconst ListIndicator = ChakraList.Indicator;\n\n/**\n * # List\n *\n * displays a list\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/list}\n * @experimental This component is experimental and may change or be removed in future versions.\n */\nexport const List = {\n Root: ListRoot,\n Item: ListItem,\n Indicator: ListIndicator,\n};\n\nexport {\n ListRoot as _ListRoot,\n ListItem as _ListItem,\n ListIndicator as _ListIndicator,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","ListRoot","ListItem","ListIndicator","ChakraList.Root","ChakraList.Item","ChakraList.Indicator","List"],"mappings":";AAIA,MAAM;AAAA,EACJ,cAAAA;AAAA,EACA,aAAAC;AAGF,IAAI,gBAAAC,EAAwB,EAAE,KAAK,OAAM,CAAE,GACrCC,IAAW,gBAAAH;AAAA,EACf;AAAA,EACA;AAAA,EACA,EAAE,cAAc,EAAE,MAAM,OAAM,EAAE;AAClC,GAEMI,IAAW,gBAAAH,EAAY,MAAM,MAAM,GACnCI,IAAgB,gBAAAJ;AAAA,EACpB;AAAA,EACA;AACF,GClBME,IAAWG,GACXF,IAAWG,GACXF,IAAgBG,GAUTC,IAAO;AAAA,EAClB,MAAMN;AAAA,EACN,MAAMC;AAAA,EACN,WAAWC;AACb;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"list-x423RThD.es.js","sources":["../../../../node_modules/.pnpm/@chakra-ui+react@3.25.0_@emotion+react@11.14.0_@types+react@19.1.8_react@19.1.0__react-_080bab95896e407042c07bd6c96a3f79/node_modules/@chakra-ui/react/dist/esm/components/list/list.js","../../src/components/list/list.tsx"],"sourcesContent":["\"use strict\";\n\"use client\";\nimport { createSlotRecipeContext } from '../../styled-system/create-slot-recipe-context.js';\n\nconst {\n withProvider,\n withContext,\n useStyles: useListStyles,\n PropsProvider\n} = createSlotRecipeContext({ key: \"list\" });\nconst ListRoot = withProvider(\n \"ul\",\n \"root\",\n { defaultProps: { role: \"list\" } }\n);\nconst ListRootPropsProvider = PropsProvider;\nconst ListItem = withContext(\"li\", \"item\");\nconst ListIndicator = withContext(\n \"span\",\n \"indicator\"\n);\n\nexport { ListIndicator, ListItem, ListRoot, ListRootPropsProvider, useListStyles };\n","import { List as ChakraList } from \"@chakra-ui/react/list\";\n\nconst ListRoot = ChakraList.Root;\nconst ListItem = ChakraList.Item;\nconst ListIndicator = ChakraList.Indicator;\n\n/**\n * # List\n *\n * displays a list\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/typography/list}\n * @experimental This component is experimental and may change or be removed in future versions.\n */\nexport const List = {\n Root: ListRoot,\n Item: ListItem,\n Indicator: ListIndicator,\n};\n\nexport {\n ListRoot as _ListRoot,\n ListItem as _ListItem,\n ListIndicator as _ListIndicator,\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","ListRoot","ListItem","ListIndicator","ChakraList.Root","ChakraList.Item","ChakraList.Indicator","List"],"mappings":";AAIA,MAAM;AAAA,EACJ,cAAAA;AAAA,EACA,aAAAC;AAGF,IAAI,gBAAAC,EAAwB,EAAE,KAAK,OAAM,CAAE,GACrCC,IAAW,gBAAAH;AAAA,EACf;AAAA,EACA;AAAA,EACA,EAAE,cAAc,EAAE,MAAM,OAAM,EAAE;AAClC,GAEMI,IAAW,gBAAAH,EAAY,MAAM,MAAM,GACnCI,IAAgB,gBAAAJ;AAAA,EACpB;AAAA,EACA;AACF,GClBME,IAAWG,GACXF,IAAWG,GACXF,IAAgBG,GAUTC,IAAO;AAAA,EAClB,MAAMN;AAAA,EACN,MAAMC;AAAA,EACN,WAAWC;AACb;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react/jsx-runtime"),s=require("./config-Mt8_uyhI.cjs.js"),c=require("./create-recipe-context-BEEJ70DA.cjs.js"),d=require("./useProgressBar-8ZyM2_T3.cjs.js"),l=require("./mergeProps-BA5Cwf5w.cjs.js"),p=s.defineRecipe({className:"nimbus-loading-spinner",base:{display:"inline-flex",alignItems:"center",justifyContent:"center","& svg":{overflow:"visible",transform:"scale(calc(1 - 2/12))"},"& svg [data-svg-path='spinner-pointer']":{stroke:"colorPalette.10",animationName:"spin",animationDuration:"0.5s",animationTimingFunction:"linear",animationIterationCount:"infinite",transformOrigin:"center center 0"},"& svg [data-svg-path='spinner-circle']":{stroke:"colorPalette.5"}},variants:{size:{"2xs":{width:"350",height:"350"},xs:{width:"500",height:"500"},sm:{width:"600",height:"600"},md:{width:"800",height:"800"},lg:{width:"1000",height:"1000"}},tone:{primary:{colorPalette:"ctvioletAlpha"},white:{colorPalette:"whiteAlpha"}}},defaultVariants:{size:"sm",tone:"primary"}}),{withContext:h}=c.createRecipeContext({recipe:p}),g=h("div"),C="M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z",m="M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12",n=r=>{const{ref:a,"aria-label":t="Loading data",...i}=r,{progressBarProps:o}=d.$204d9ebcedfb8806$export$ed5abd763a836edc({isIndeterminate:!0,"aria-label":t,...i});return e.jsx(g,{ref:a,...l.$3ef42575df84b30b$export$9d1611c77c2fe928(i,o),"aria-label":t,children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("path",{d:C,"data-svg-path":"spinner-circle",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:m,"data-svg-path":"spinner-pointer",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})})};n.displayName="LoadingSpinner";exports.LoadingSpinner=n;
2
- //# sourceMappingURL=loading-spinner-Czc9y_Gn.cjs.js.map
1
+ "use strict";const e=require("react/jsx-runtime"),s=require("./config-Mt8_uyhI.cjs.js"),c=require("./create-recipe-context-D0_lCuqq.cjs.js"),d=require("./useProgressBar-8ZyM2_T3.cjs.js"),l=require("./mergeProps-BA5Cwf5w.cjs.js"),p=s.defineRecipe({className:"nimbus-loading-spinner",base:{display:"inline-flex",alignItems:"center",justifyContent:"center","& svg":{overflow:"visible",transform:"scale(calc(1 - 2/12))"},"& svg [data-svg-path='spinner-pointer']":{stroke:"colorPalette.10",animationName:"spin",animationDuration:"0.5s",animationTimingFunction:"linear",animationIterationCount:"infinite",transformOrigin:"center center 0"},"& svg [data-svg-path='spinner-circle']":{stroke:"colorPalette.5"}},variants:{size:{"2xs":{width:"350",height:"350"},xs:{width:"500",height:"500"},sm:{width:"600",height:"600"},md:{width:"800",height:"800"},lg:{width:"1000",height:"1000"}},tone:{primary:{colorPalette:"ctvioletAlpha"},white:{colorPalette:"whiteAlpha"}}},defaultVariants:{size:"sm",tone:"primary"}}),{withContext:h}=c.createRecipeContext({recipe:p}),g=h("div"),C="M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z",m="M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12",n=r=>{const{ref:a,"aria-label":t="Loading data",...i}=r,{progressBarProps:o}=d.$204d9ebcedfb8806$export$ed5abd763a836edc({isIndeterminate:!0,"aria-label":t,...i});return e.jsx(g,{ref:a,...l.$3ef42575df84b30b$export$9d1611c77c2fe928(i,o),"aria-label":t,children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("path",{d:C,"data-svg-path":"spinner-circle",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:m,"data-svg-path":"spinner-pointer",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})})};n.displayName="LoadingSpinner";exports.LoadingSpinner=n;
2
+ //# sourceMappingURL=loading-spinner-BLDpwNFm.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loading-spinner-Czc9y_Gn.cjs.js","sources":["../../src/components/loading-spinner/loading-spinner.recipe.tsx","../../src/components/loading-spinner/loading-spinner.slots.tsx","../../src/components/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Recipe configuration for the LoadingSpinner component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const loadingSpinnerRecipe = defineRecipe({\n className: \"nimbus-loading-spinner\",\n\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg\": {\n overflow: \"visible\",\n // This proportionally scales the spinner to fit the container while also scaling padding\n transform: \"scale(calc(1 - 2/12))\",\n },\n \"& svg [data-svg-path='spinner-pointer']\": {\n stroke: \"colorPalette.10\",\n animationName: \"spin\",\n animationDuration: \"0.5s\",\n animationTimingFunction: \"linear\",\n animationIterationCount: \"infinite\",\n transformOrigin: \"center center 0\",\n },\n \"& svg [data-svg-path='spinner-circle']\": {\n stroke: \"colorPalette.5\",\n },\n },\n\n variants: {\n size: {\n \"2xs\": {\n width: \"350\",\n height: \"350\",\n },\n xs: {\n width: \"500\",\n height: \"500\",\n },\n sm: {\n width: \"600\",\n height: \"600\",\n },\n md: {\n width: \"800\",\n height: \"800\",\n },\n lg: {\n width: \"1000\",\n height: \"1000\",\n },\n },\n\n tone: {\n primary: {\n colorPalette: \"ctvioletAlpha\",\n },\n white: {\n colorPalette: \"whiteAlpha\",\n },\n },\n },\n\n defaultVariants: {\n size: \"sm\",\n tone: \"primary\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { loadingSpinnerRecipe } from \"./loading-spinner.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\nexport interface LoadingSpinnerRecipeProps\n extends RecipeProps<\"div\">,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LoadingSpinnerRootProps = Omit<\n HTMLChakraProps<\"div\", LoadingSpinnerRecipeProps>,\n // We want to omit polymorphic props from the root props since they are not used internally.\n \"as\" | \"asChild\"\n>;\n\nconst { withContext } = createRecipeContext({ recipe: loadingSpinnerRecipe });\n\n/**\n * Root component that provides the styling context for the LoadingSpinner component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LoadingSpinnerRoot = withContext<\n HTMLDivElement,\n LoadingSpinnerRootProps\n>(\"div\");\n","import { mergeProps, useProgressBar } from \"react-aria\";\nimport { LoadingSpinnerRoot } from \"./loading-spinner.slots\";\nimport type { LoadingSpinnerProps } from \"./loading-spinner.types\";\n\nconst circlePath =\n \"M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z\";\nconst pointerPath =\n \"M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12\";\n\n/**\n * # LoadingSpinner\n *\n * Indicates ongoing processes or loading states\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/loadingspinner}\n */\nexport const LoadingSpinner = (props: LoadingSpinnerProps) => {\n const { ref, \"aria-label\": ariaLabel = \"Loading data\", ...restProps } = props;\n const { progressBarProps } = useProgressBar({\n isIndeterminate: true,\n \"aria-label\": ariaLabel,\n ...restProps,\n });\n\n return (\n <LoadingSpinnerRoot\n ref={ref}\n {...mergeProps(restProps, progressBarProps)}\n aria-label={ariaLabel}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path\n d={circlePath}\n data-svg-path=\"spinner-circle\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d={pointerPath}\n data-svg-path=\"spinner-pointer\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </LoadingSpinnerRoot>\n );\n};\n\nLoadingSpinner.displayName = \"LoadingSpinner\";\n"],"names":["loadingSpinnerRecipe","defineRecipe","withContext","createRecipeContext","LoadingSpinnerRoot","circlePath","pointerPath","LoadingSpinner","props","ref","ariaLabel","restProps","progressBarProps","useProgressBar","jsx","mergeProps"],"mappings":"qOAMaA,EAAuBC,EAAAA,aAAa,CAC/C,UAAW,yBAEX,KAAM,CACJ,QAAS,cACT,WAAY,SACZ,eAAgB,SAChB,QAAS,CACP,SAAU,UAEV,UAAW,uBAAA,EAEb,0CAA2C,CACzC,OAAQ,kBACR,cAAe,OACf,kBAAmB,OACnB,wBAAyB,SACzB,wBAAyB,WACzB,gBAAiB,iBAAA,EAEnB,yCAA0C,CACxC,OAAQ,gBAAA,CACV,EAGF,SAAU,CACR,KAAM,CACJ,MAAO,CACL,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,OACP,OAAQ,MAAA,CACV,EAGF,KAAM,CACJ,QAAS,CACP,aAAc,eAAA,EAEhB,MAAO,CACL,aAAc,YAAA,CAChB,CACF,EAGF,gBAAiB,CACf,KAAM,KACN,KAAM,SAAA,CAEV,CAAC,ECzCK,CAAE,YAAAC,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQH,EAAsB,EAM/DI,EAAqBF,EAGhC,KAAK,ECjCDG,EACJ,ktBACIC,EACJ,2LASWC,EAAkBC,GAA+B,CAC5D,KAAM,CAAE,IAAAC,EAAK,aAAcC,EAAY,eAAgB,GAAGC,GAAcH,EAClE,CAAE,iBAAAI,CAAA,EAAqBC,4CAAe,CAC1C,gBAAiB,GACjB,aAAcH,EACd,GAAGC,CAAA,CACJ,EAED,OACEG,EAAAA,IAACV,EAAA,CACC,IAAAK,EACC,GAAGM,EAAAA,0CAAWJ,EAAWC,CAAgB,EAC1C,aAAYF,EAEZ,gBAAC,MAAA,CAAI,MAAM,6BAA6B,QAAQ,YAAY,KAAK,OAC/D,SAAA,CAAAI,EAAAA,IAAC,OAAA,CACC,EAAGT,EACH,gBAAc,iBACd,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,EAEjBS,EAAAA,IAAC,OAAA,CACC,EAAGR,EACH,gBAAc,kBACd,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,CACjB,CAAA,CACF,CAAA,CAAA,CAGN,EAEAC,EAAe,YAAc"}
1
+ {"version":3,"file":"loading-spinner-BLDpwNFm.cjs.js","sources":["../../src/components/loading-spinner/loading-spinner.recipe.tsx","../../src/components/loading-spinner/loading-spinner.slots.tsx","../../src/components/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Recipe configuration for the LoadingSpinner component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const loadingSpinnerRecipe = defineRecipe({\n className: \"nimbus-loading-spinner\",\n\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg\": {\n overflow: \"visible\",\n // This proportionally scales the spinner to fit the container while also scaling padding\n transform: \"scale(calc(1 - 2/12))\",\n },\n \"& svg [data-svg-path='spinner-pointer']\": {\n stroke: \"colorPalette.10\",\n animationName: \"spin\",\n animationDuration: \"0.5s\",\n animationTimingFunction: \"linear\",\n animationIterationCount: \"infinite\",\n transformOrigin: \"center center 0\",\n },\n \"& svg [data-svg-path='spinner-circle']\": {\n stroke: \"colorPalette.5\",\n },\n },\n\n variants: {\n size: {\n \"2xs\": {\n width: \"350\",\n height: \"350\",\n },\n xs: {\n width: \"500\",\n height: \"500\",\n },\n sm: {\n width: \"600\",\n height: \"600\",\n },\n md: {\n width: \"800\",\n height: \"800\",\n },\n lg: {\n width: \"1000\",\n height: \"1000\",\n },\n },\n\n tone: {\n primary: {\n colorPalette: \"ctvioletAlpha\",\n },\n white: {\n colorPalette: \"whiteAlpha\",\n },\n },\n },\n\n defaultVariants: {\n size: \"sm\",\n tone: \"primary\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { loadingSpinnerRecipe } from \"./loading-spinner.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\nexport interface LoadingSpinnerRecipeProps\n extends RecipeProps<\"div\">,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LoadingSpinnerRootProps = Omit<\n HTMLChakraProps<\"div\", LoadingSpinnerRecipeProps>,\n // We want to omit polymorphic props from the root props since they are not used internally.\n \"as\" | \"asChild\"\n>;\n\nconst { withContext } = createRecipeContext({ recipe: loadingSpinnerRecipe });\n\n/**\n * Root component that provides the styling context for the LoadingSpinner component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LoadingSpinnerRoot = withContext<\n HTMLDivElement,\n LoadingSpinnerRootProps\n>(\"div\");\n","import { mergeProps, useProgressBar } from \"react-aria\";\nimport { LoadingSpinnerRoot } from \"./loading-spinner.slots\";\nimport type { LoadingSpinnerProps } from \"./loading-spinner.types\";\n\nconst circlePath =\n \"M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z\";\nconst pointerPath =\n \"M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12\";\n\n/**\n * # LoadingSpinner\n *\n * Indicates ongoing processes or loading states\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/loadingspinner}\n */\nexport const LoadingSpinner = (props: LoadingSpinnerProps) => {\n const { ref, \"aria-label\": ariaLabel = \"Loading data\", ...restProps } = props;\n const { progressBarProps } = useProgressBar({\n isIndeterminate: true,\n \"aria-label\": ariaLabel,\n ...restProps,\n });\n\n return (\n <LoadingSpinnerRoot\n ref={ref}\n {...mergeProps(restProps, progressBarProps)}\n aria-label={ariaLabel}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path\n d={circlePath}\n data-svg-path=\"spinner-circle\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d={pointerPath}\n data-svg-path=\"spinner-pointer\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </LoadingSpinnerRoot>\n );\n};\n\nLoadingSpinner.displayName = \"LoadingSpinner\";\n"],"names":["loadingSpinnerRecipe","defineRecipe","withContext","createRecipeContext","LoadingSpinnerRoot","circlePath","pointerPath","LoadingSpinner","props","ref","ariaLabel","restProps","progressBarProps","useProgressBar","jsx","mergeProps"],"mappings":"qOAMaA,EAAuBC,EAAAA,aAAa,CAC/C,UAAW,yBAEX,KAAM,CACJ,QAAS,cACT,WAAY,SACZ,eAAgB,SAChB,QAAS,CACP,SAAU,UAEV,UAAW,uBAAA,EAEb,0CAA2C,CACzC,OAAQ,kBACR,cAAe,OACf,kBAAmB,OACnB,wBAAyB,SACzB,wBAAyB,WACzB,gBAAiB,iBAAA,EAEnB,yCAA0C,CACxC,OAAQ,gBAAA,CACV,EAGF,SAAU,CACR,KAAM,CACJ,MAAO,CACL,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,MACP,OAAQ,KAAA,EAEV,GAAI,CACF,MAAO,OACP,OAAQ,MAAA,CACV,EAGF,KAAM,CACJ,QAAS,CACP,aAAc,eAAA,EAEhB,MAAO,CACL,aAAc,YAAA,CAChB,CACF,EAGF,gBAAiB,CACf,KAAM,KACN,KAAM,SAAA,CAEV,CAAC,ECzCK,CAAE,YAAAC,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQH,EAAsB,EAM/DI,EAAqBF,EAGhC,KAAK,ECjCDG,EACJ,ktBACIC,EACJ,2LASWC,EAAkBC,GAA+B,CAC5D,KAAM,CAAE,IAAAC,EAAK,aAAcC,EAAY,eAAgB,GAAGC,GAAcH,EAClE,CAAE,iBAAAI,CAAA,EAAqBC,4CAAe,CAC1C,gBAAiB,GACjB,aAAcH,EACd,GAAGC,CAAA,CACJ,EAED,OACEG,EAAAA,IAACV,EAAA,CACC,IAAAK,EACC,GAAGM,EAAAA,0CAAWJ,EAAWC,CAAgB,EAC1C,aAAYF,EAEZ,gBAAC,MAAA,CAAI,MAAM,6BAA6B,QAAQ,YAAY,KAAK,OAC/D,SAAA,CAAAI,EAAAA,IAAC,OAAA,CACC,EAAGT,EACH,gBAAc,iBACd,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,EAEjBS,EAAAA,IAAC,OAAA,CACC,EAAGR,EACH,gBAAc,kBACd,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,CACjB,CAAA,CACF,CAAA,CAAA,CAGN,EAEAC,EAAe,YAAc"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
2
  import { d as s } from "./config-ufbQ08Vi.es.js";
3
- import { c as p } from "./create-recipe-context-BuajKZ9o.es.js";
3
+ import { c as p } from "./create-recipe-context-i2odau3L.es.js";
4
4
  import { $ as c } from "./useProgressBar-BgURyN6q.es.js";
5
5
  import { $ as d } from "./mergeProps-B_9syxhT.es.js";
6
6
  const l = /* @__PURE__ */ s({
@@ -103,4 +103,4 @@ f.displayName = "LoadingSpinner";
103
103
  export {
104
104
  f as L
105
105
  };
106
- //# sourceMappingURL=loading-spinner-hZA3mTh7.es.js.map
106
+ //# sourceMappingURL=loading-spinner-C7yZE-QF.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loading-spinner-hZA3mTh7.es.js","sources":["../../src/components/loading-spinner/loading-spinner.recipe.tsx","../../src/components/loading-spinner/loading-spinner.slots.tsx","../../src/components/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Recipe configuration for the LoadingSpinner component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const loadingSpinnerRecipe = defineRecipe({\n className: \"nimbus-loading-spinner\",\n\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg\": {\n overflow: \"visible\",\n // This proportionally scales the spinner to fit the container while also scaling padding\n transform: \"scale(calc(1 - 2/12))\",\n },\n \"& svg [data-svg-path='spinner-pointer']\": {\n stroke: \"colorPalette.10\",\n animationName: \"spin\",\n animationDuration: \"0.5s\",\n animationTimingFunction: \"linear\",\n animationIterationCount: \"infinite\",\n transformOrigin: \"center center 0\",\n },\n \"& svg [data-svg-path='spinner-circle']\": {\n stroke: \"colorPalette.5\",\n },\n },\n\n variants: {\n size: {\n \"2xs\": {\n width: \"350\",\n height: \"350\",\n },\n xs: {\n width: \"500\",\n height: \"500\",\n },\n sm: {\n width: \"600\",\n height: \"600\",\n },\n md: {\n width: \"800\",\n height: \"800\",\n },\n lg: {\n width: \"1000\",\n height: \"1000\",\n },\n },\n\n tone: {\n primary: {\n colorPalette: \"ctvioletAlpha\",\n },\n white: {\n colorPalette: \"whiteAlpha\",\n },\n },\n },\n\n defaultVariants: {\n size: \"sm\",\n tone: \"primary\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { loadingSpinnerRecipe } from \"./loading-spinner.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\nexport interface LoadingSpinnerRecipeProps\n extends RecipeProps<\"div\">,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LoadingSpinnerRootProps = Omit<\n HTMLChakraProps<\"div\", LoadingSpinnerRecipeProps>,\n // We want to omit polymorphic props from the root props since they are not used internally.\n \"as\" | \"asChild\"\n>;\n\nconst { withContext } = createRecipeContext({ recipe: loadingSpinnerRecipe });\n\n/**\n * Root component that provides the styling context for the LoadingSpinner component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LoadingSpinnerRoot = withContext<\n HTMLDivElement,\n LoadingSpinnerRootProps\n>(\"div\");\n","import { mergeProps, useProgressBar } from \"react-aria\";\nimport { LoadingSpinnerRoot } from \"./loading-spinner.slots\";\nimport type { LoadingSpinnerProps } from \"./loading-spinner.types\";\n\nconst circlePath =\n \"M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z\";\nconst pointerPath =\n \"M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12\";\n\n/**\n * # LoadingSpinner\n *\n * Indicates ongoing processes or loading states\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/loadingspinner}\n */\nexport const LoadingSpinner = (props: LoadingSpinnerProps) => {\n const { ref, \"aria-label\": ariaLabel = \"Loading data\", ...restProps } = props;\n const { progressBarProps } = useProgressBar({\n isIndeterminate: true,\n \"aria-label\": ariaLabel,\n ...restProps,\n });\n\n return (\n <LoadingSpinnerRoot\n ref={ref}\n {...mergeProps(restProps, progressBarProps)}\n aria-label={ariaLabel}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path\n d={circlePath}\n data-svg-path=\"spinner-circle\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d={pointerPath}\n data-svg-path=\"spinner-pointer\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </LoadingSpinnerRoot>\n );\n};\n\nLoadingSpinner.displayName = \"LoadingSpinner\";\n"],"names":["loadingSpinnerRecipe","defineRecipe","withContext","createRecipeContext","LoadingSpinnerRoot","circlePath","pointerPath","LoadingSpinner","props","ref","ariaLabel","restProps","progressBarProps","useProgressBar","jsx","mergeProps"],"mappings":";;;;;AAMO,MAAMA,IAAuB,gBAAAC,EAAa;AAAA,EAC/C,WAAW;AAAA,EAEX,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,SAAS;AAAA,MACP,UAAU;AAAA;AAAA,MAEV,WAAW;AAAA,IAAA;AAAA,IAEb,2CAA2C;AAAA,MACzC,QAAQ;AAAA,MACR,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,yBAAyB;AAAA,MACzB,yBAAyB;AAAA,MACzB,iBAAiB;AAAA,IAAA;AAAA,IAEnB,0CAA0C;AAAA,MACxC,QAAQ;AAAA,IAAA;AAAA,EACV;AAAA,EAGF,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,MAEV,IAAI;AAAA,QACF,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,MAEV,IAAI;AAAA,QACF,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,MAEV,IAAI;AAAA,QACF,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,MAEV,IAAI;AAAA,QACF,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,IACV;AAAA,IAGF,MAAM;AAAA,MACJ,SAAS;AAAA,QACP,cAAc;AAAA,MAAA;AAAA,MAEhB,OAAO;AAAA,QACL,cAAc;AAAA,MAAA;AAAA,IAChB;AAAA,EACF;AAAA,EAGF,iBAAiB;AAAA,IACf,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAEV,CAAC,GCzCK,EAAE,aAAAC,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQH,GAAsB,GAM/DI,IAAqB,gBAAAF,EAGhC,KAAK,GCjCDG,IACJ,mtBACIC,IACJ,4LASWC,IAAiB,CAACC,MAA+B;AAC5D,QAAM,EAAE,KAAAC,GAAK,cAAcC,IAAY,gBAAgB,GAAGC,MAAcH,GAClE,EAAE,kBAAAI,EAAA,IAAqBC,EAAe;AAAA,IAC1C,iBAAiB;AAAA,IACjB,cAAcH;AAAA,IACd,GAAGC;AAAA,EAAA,CACJ;AAED,SACE,gBAAAG;AAAA,IAACV;AAAA,IAAA;AAAA,MACC,KAAAK;AAAA,MACC,GAAGM,EAAWJ,GAAWC,CAAgB;AAAA,MAC1C,cAAYF;AAAA,MAEZ,4BAAC,OAAA,EAAI,OAAM,8BAA6B,SAAQ,aAAY,MAAK,QAC/D,UAAA;AAAA,QAAA,gBAAAI;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,GAAGT;AAAA,YACH,iBAAc;AAAA,YACd,aAAY;AAAA,YACZ,eAAc;AAAA,YACd,gBAAe;AAAA,UAAA;AAAA,QAAA;AAAA,QAEjB,gBAAAS;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,GAAGR;AAAA,YACH,iBAAc;AAAA,YACd,aAAY;AAAA,YACZ,eAAc;AAAA,YACd,gBAAe;AAAA,UAAA;AAAA,QAAA;AAAA,MACjB,EAAA,CACF;AAAA,IAAA;AAAA,EAAA;AAGN;AAEAC,EAAe,cAAc;"}
1
+ {"version":3,"file":"loading-spinner-C7yZE-QF.es.js","sources":["../../src/components/loading-spinner/loading-spinner.recipe.tsx","../../src/components/loading-spinner/loading-spinner.slots.tsx","../../src/components/loading-spinner/loading-spinner.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Recipe configuration for the LoadingSpinner component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const loadingSpinnerRecipe = defineRecipe({\n className: \"nimbus-loading-spinner\",\n\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n \"& svg\": {\n overflow: \"visible\",\n // This proportionally scales the spinner to fit the container while also scaling padding\n transform: \"scale(calc(1 - 2/12))\",\n },\n \"& svg [data-svg-path='spinner-pointer']\": {\n stroke: \"colorPalette.10\",\n animationName: \"spin\",\n animationDuration: \"0.5s\",\n animationTimingFunction: \"linear\",\n animationIterationCount: \"infinite\",\n transformOrigin: \"center center 0\",\n },\n \"& svg [data-svg-path='spinner-circle']\": {\n stroke: \"colorPalette.5\",\n },\n },\n\n variants: {\n size: {\n \"2xs\": {\n width: \"350\",\n height: \"350\",\n },\n xs: {\n width: \"500\",\n height: \"500\",\n },\n sm: {\n width: \"600\",\n height: \"600\",\n },\n md: {\n width: \"800\",\n height: \"800\",\n },\n lg: {\n width: \"1000\",\n height: \"1000\",\n },\n },\n\n tone: {\n primary: {\n colorPalette: \"ctvioletAlpha\",\n },\n white: {\n colorPalette: \"whiteAlpha\",\n },\n },\n },\n\n defaultVariants: {\n size: \"sm\",\n tone: \"primary\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { loadingSpinnerRecipe } from \"./loading-spinner.recipe\";\n\n/**\n * Base recipe props interface that combines Chakra UI's recipe props\n * with the unstyled prop option for the div element.\n */\nexport interface LoadingSpinnerRecipeProps\n extends RecipeProps<\"div\">,\n UnstyledProp {}\n\n/**\n * Root props interface that extends Chakra's HTML props with our recipe props.\n * This creates a complete set of props for the root element, combining\n * HTML attributes, Chakra's styling system, and our custom recipe props.\n */\nexport type LoadingSpinnerRootProps = Omit<\n HTMLChakraProps<\"div\", LoadingSpinnerRecipeProps>,\n // We want to omit polymorphic props from the root props since they are not used internally.\n \"as\" | \"asChild\"\n>;\n\nconst { withContext } = createRecipeContext({ recipe: loadingSpinnerRecipe });\n\n/**\n * Root component that provides the styling context for the LoadingSpinner component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const LoadingSpinnerRoot = withContext<\n HTMLDivElement,\n LoadingSpinnerRootProps\n>(\"div\");\n","import { mergeProps, useProgressBar } from \"react-aria\";\nimport { LoadingSpinnerRoot } from \"./loading-spinner.slots\";\nimport type { LoadingSpinnerProps } from \"./loading-spinner.types\";\n\nconst circlePath =\n \"M22.5 12C22.5 13.3789 22.2284 14.7443 21.7007 16.0182C21.1731 17.2921 20.3996 18.4496 19.4246 19.4246C18.4496 20.3996 17.2921 21.1731 16.0182 21.7007C14.7443 22.2284 13.3789 22.5 12 22.5C10.6211 22.5 9.25574 22.2284 7.98182 21.7007C6.7079 21.1731 5.55039 20.3996 4.57538 19.4246C3.60036 18.4496 2.82694 17.2921 2.29926 16.0182C1.77159 14.7443 1.5 13.3789 1.5 12C1.5 10.6211 1.77159 9.25574 2.29927 7.98182C2.82694 6.7079 3.60037 5.55039 4.57538 4.57538C5.5504 3.60036 6.70791 2.82694 7.98183 2.29926C9.25575 1.77159 10.6211 1.5 12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60037 19.4246 4.57538C20.3996 5.5504 21.1731 6.70791 21.7007 7.98183C22.2284 9.25575 22.5 10.6211 22.5 12L22.5 12Z\";\nconst pointerPath =\n \"M12 1.5C13.3789 1.5 14.7443 1.77159 16.0182 2.29927C17.2921 2.82694 18.4496 3.60036 19.4246 4.57538C20.3996 5.55039 21.1731 6.70791 21.7007 7.98183C22.2284 9.25574 22.5 10.6211 22.5 12\";\n\n/**\n * # LoadingSpinner\n *\n * Indicates ongoing processes or loading states\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/loadingspinner}\n */\nexport const LoadingSpinner = (props: LoadingSpinnerProps) => {\n const { ref, \"aria-label\": ariaLabel = \"Loading data\", ...restProps } = props;\n const { progressBarProps } = useProgressBar({\n isIndeterminate: true,\n \"aria-label\": ariaLabel,\n ...restProps,\n });\n\n return (\n <LoadingSpinnerRoot\n ref={ref}\n {...mergeProps(restProps, progressBarProps)}\n aria-label={ariaLabel}\n >\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path\n d={circlePath}\n data-svg-path=\"spinner-circle\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d={pointerPath}\n data-svg-path=\"spinner-pointer\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n </LoadingSpinnerRoot>\n );\n};\n\nLoadingSpinner.displayName = \"LoadingSpinner\";\n"],"names":["loadingSpinnerRecipe","defineRecipe","withContext","createRecipeContext","LoadingSpinnerRoot","circlePath","pointerPath","LoadingSpinner","props","ref","ariaLabel","restProps","progressBarProps","useProgressBar","jsx","mergeProps"],"mappings":";;;;;AAMO,MAAMA,IAAuB,gBAAAC,EAAa;AAAA,EAC/C,WAAW;AAAA,EAEX,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,SAAS;AAAA,MACP,UAAU;AAAA;AAAA,MAEV,WAAW;AAAA,IAAA;AAAA,IAEb,2CAA2C;AAAA,MACzC,QAAQ;AAAA,MACR,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,yBAAyB;AAAA,MACzB,yBAAyB;AAAA,MACzB,iBAAiB;AAAA,IAAA;AAAA,IAEnB,0CAA0C;AAAA,MACxC,QAAQ;AAAA,IAAA;AAAA,EACV;AAAA,EAGF,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,MAEV,IAAI;AAAA,QACF,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,MAEV,IAAI;AAAA,QACF,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,MAEV,IAAI;AAAA,QACF,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,MAEV,IAAI;AAAA,QACF,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,IACV;AAAA,IAGF,MAAM;AAAA,MACJ,SAAS;AAAA,QACP,cAAc;AAAA,MAAA;AAAA,MAEhB,OAAO;AAAA,QACL,cAAc;AAAA,MAAA;AAAA,IAChB;AAAA,EACF;AAAA,EAGF,iBAAiB;AAAA,IACf,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAEV,CAAC,GCzCK,EAAE,aAAAC,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQH,GAAsB,GAM/DI,IAAqB,gBAAAF,EAGhC,KAAK,GCjCDG,IACJ,mtBACIC,IACJ,4LASWC,IAAiB,CAACC,MAA+B;AAC5D,QAAM,EAAE,KAAAC,GAAK,cAAcC,IAAY,gBAAgB,GAAGC,MAAcH,GAClE,EAAE,kBAAAI,EAAA,IAAqBC,EAAe;AAAA,IAC1C,iBAAiB;AAAA,IACjB,cAAcH;AAAA,IACd,GAAGC;AAAA,EAAA,CACJ;AAED,SACE,gBAAAG;AAAA,IAACV;AAAA,IAAA;AAAA,MACC,KAAAK;AAAA,MACC,GAAGM,EAAWJ,GAAWC,CAAgB;AAAA,MAC1C,cAAYF;AAAA,MAEZ,4BAAC,OAAA,EAAI,OAAM,8BAA6B,SAAQ,aAAY,MAAK,QAC/D,UAAA;AAAA,QAAA,gBAAAI;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,GAAGT;AAAA,YACH,iBAAc;AAAA,YACd,aAAY;AAAA,YACZ,eAAc;AAAA,YACd,gBAAe;AAAA,UAAA;AAAA,QAAA;AAAA,QAEjB,gBAAAS;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,GAAGR;AAAA,YACH,iBAAc;AAAA,YACd,aAAY;AAAA,YACZ,eAAc;AAAA,YACd,gBAAe;AAAA,UAAA;AAAA,QAAA;AAAA,MACjB,EAAA,CACF;AAAA,IAAA;AAAA,EAAA;AAGN;AAEAC,EAAe,cAAc;"}
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("react/jsx-runtime"),n=require("react"),C=require("@chakra-ui/react"),P=require("./TextArea-Cc0cDaeu.cjs.js"),$=require("./extractStyleProps-wjyId_vK.cjs.js"),q=require("@commercetools/nimbus-tokens"),S=require("./config-Mt8_uyhI.cjs.js"),H=require("./create-recipe-context-BEEJ70DA.cjs.js"),I=require("./use-recipe-BZ_iqCkN.cjs.js"),T=require("./useObjectRef-dXOJdONs.cjs.js"),_=require("./useTextField-Cv1jQqUp.cjs.js"),l=S.defineRecipe({className:"nimbus-multiline-text-input",base:{display:"block",overflowY:"auto",borderRadius:"200",colorPalette:"neutral",focusVisibleRing:"outside",bg:"transparent",outline:"none",boxShadow:"inset 0 0 0 var(--border-width) var(--border-color)",resize:"vertical",fontFamily:"inherit",_placeholder:{opacity:.5,color:"currentColor"},_disabled:{layerStyle:"disabled",bg:"neutral.3"},"&[data-invalid='true']":{"--border-width":"sizes.50","--border-color":"colors.critical.7",color:"critical.11"},"&::-webkit-resizer":{backgroundImage:`url("data:image/svg+xml,${encodeURIComponent(`
1
+ "use strict";const c=require("react/jsx-runtime"),n=require("react"),C=require("@chakra-ui/react"),P=require("./TextArea-Cc0cDaeu.cjs.js"),$=require("./extractStyleProps-wjyId_vK.cjs.js"),q=require("@commercetools/nimbus-tokens"),S=require("./config-Mt8_uyhI.cjs.js"),H=require("./create-recipe-context-D0_lCuqq.cjs.js"),I=require("./use-recipe-BZ_iqCkN.cjs.js"),T=require("./useObjectRef-dXOJdONs.cjs.js"),_=require("./useTextField-Cv1jQqUp.cjs.js"),l=S.defineRecipe({className:"nimbus-multiline-text-input",base:{display:"block",overflowY:"auto",borderRadius:"200",colorPalette:"neutral",focusVisibleRing:"outside",bg:"transparent",outline:"none",boxShadow:"inset 0 0 0 var(--border-width) var(--border-color)",resize:"vertical",fontFamily:"inherit",_placeholder:{opacity:.5,color:"currentColor"},_disabled:{layerStyle:"disabled",bg:"neutral.3"},"&[data-invalid='true']":{"--border-width":"sizes.50","--border-color":"colors.critical.7",color:"critical.11"},"&::-webkit-resizer":{backgroundImage:`url("data:image/svg+xml,${encodeURIComponent(`
2
2
  <svg width="8" height="8" viewBox="0 0 8 8" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
3
3
  <mask id="mask0_4610_25787" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-1" y="-1" width="9" height="9">
4
4
  <rect width="1.03391" height="4.13563" transform="matrix(0.716449 0.69764 -0.716449 0.69764 6.92578 4.05362)" fill="currentColor"/>
@@ -9,4 +9,4 @@
9
9
  </g>
10
10
  </svg>
11
11
  `)}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"200 200",width:"400",height:"400"}},variants:{size:{sm:{minH:800,textStyle:"sm",px:300,py:100},md:{minH:1e3,textStyle:"md",px:400,py:200}},variant:{solid:{"--border-width":"sizes.25","--border-color":"colors.neutral.7",backgroundColor:"neutral.1",_hover:{backgroundColor:"primary.2"}},ghost:{_hover:{backgroundColor:"primary.2"}}}},defaultVariants:{size:"md",variant:"solid"}}),{withContext:z}=H.createRecipeContext({recipe:l}),j=z("textarea"),u=d=>{const{ref:p,rows:h=1,autoGrow:r=!1,...m}=d,g=I.useRecipe({recipe:l}),x=n.useRef(null),t=T.$df56164dff5785e2$export$4338b53315abf666(C.mergeRefs(x,p)),[f,b]=g.splitVariantProps(m),[w,y]=$.extractStyleProps(b),{inputProps:k}=_.$2d73ec29415bd339$export$712718f7aec83d5(y,t),o=n.useCallback(()=>{const e=t.current;if(!e||!r)return;e.style.height="auto";const s=e.scrollHeight,v=window.getComputedStyle(e),a=parseInt(v.maxHeight),R=a?Math.min(s,a):s;e.style.height=`${R}px`},[r,t]);return n.useEffect(()=>{const e=t.current;if(!e||!r)return;o();const i=()=>{o()};return e.addEventListener("input",i),()=>{e.removeEventListener("input",i)}},[o,r,t]),c.jsx(j,{...f,...w,asChild:!0,children:c.jsx(P.$216918bed6669f72$export$f5c9f3c2c4054eec,{ref:t,rows:h,...k})})};u.displayName="MultilineTextInput";exports.MultilineTextInput=u;
12
- //# sourceMappingURL=multiline-text-input-ChVzVZob.cjs.js.map
12
+ //# sourceMappingURL=multiline-text-input-BXpftZg5.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"multiline-text-input-ChVzVZob.cjs.js","sources":["../../src/components/multiline-text-input/multiline-text-input.recipe.tsx","../../src/components/multiline-text-input/multiline-text-input.slots.tsx","../../src/components/multiline-text-input/multiline-text-input.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\nimport { designTokens } from \"@commercetools/nimbus-tokens\";\n\n/**\n * Recipe configuration for the MultilineTextInput component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const multilineTextInputRecipe = defineRecipe({\n // Unique class name prefix for the component\n className: \"nimbus-multiline-text-input\",\n\n // Base styles applied to all instances of the component\n base: {\n display: \"block\",\n overflowY: \"auto\",\n borderRadius: \"200\",\n colorPalette: \"neutral\",\n focusVisibleRing: \"outside\",\n bg: \"transparent\",\n outline: \"none\",\n boxShadow: \"inset 0 0 0 var(--border-width) var(--border-color)\",\n resize: \"vertical\",\n fontFamily: \"inherit\",\n _placeholder: {\n opacity: 0.5,\n color: \"currentColor\",\n },\n _disabled: {\n layerStyle: \"disabled\",\n bg: \"neutral.3\",\n },\n \"&[data-invalid='true']\": {\n \"--border-width\": \"sizes.50\",\n \"--border-color\": \"colors.critical.7\",\n color: \"critical.11\",\n },\n \"&::-webkit-resizer\": {\n backgroundImage: `url(\"data:image/svg+xml,${encodeURIComponent(`\n <svg width=\"8\" height=\"8\" viewBox=\"0 0 8 8\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\">\n <mask id=\"mask0_4610_25787\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"-1\" y=\"-1\" width=\"9\" height=\"9\">\n <rect width=\"1.03391\" height=\"4.13563\" transform=\"matrix(0.716449 0.69764 -0.716449 0.69764 6.92578 4.05362)\" fill=\"currentColor\"/>\n <rect width=\"1.03391\" height=\"8.27125\" transform=\"matrix(0.716448 0.69764 -0.716448 0.69764 5.87891 -0.0262451)\" fill=\"currentColor\"/>\n </mask>\n <g mask=\"url(#mask0_4610_25787)\">\n <rect width=\"8\" height=\"8\" fill=\"${designTokens.color[\"semantic-palettes\"].primary.light[9]}\"/>\n </g>\n </svg>\n `)}\")`,\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n backgroundSize: \"200 200\",\n width: \"400\",\n height: \"400\",\n },\n },\n\n variants: {\n size: {\n sm: {\n minH: 800,\n textStyle: \"sm\",\n px: 300,\n py: 100,\n },\n md: {\n minH: 1000,\n textStyle: \"md\",\n px: 400,\n py: 200,\n },\n },\n\n variant: {\n solid: {\n \"--border-width\": \"sizes.25\",\n \"--border-color\": \"colors.neutral.7\",\n backgroundColor: \"neutral.1\",\n _hover: {\n backgroundColor: \"primary.2\",\n },\n },\n ghost: {\n _hover: {\n backgroundColor: \"primary.2\",\n },\n },\n },\n },\n\n defaultVariants: {\n size: \"md\",\n variant: \"solid\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { multilineTextInputRecipe } from \"./multiline-text-input.recipe\";\n\nexport interface MultilineTextInputRecipeProps\n extends RecipeVariantProps<typeof multilineTextInputRecipe>,\n UnstyledProp {}\n\nexport type MultilineTextInputRootSlotProps = HTMLChakraProps<\n \"textarea\",\n MultilineTextInputRecipeProps\n>;\n\nconst { withContext } = createRecipeContext({\n recipe: multilineTextInputRecipe,\n});\n\n/**\n * Root component that provides the styling context for the MultilineTextInput component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const MultilineTextInputRootSlot = withContext<\n HTMLTextAreaElement,\n MultilineTextInputRootSlotProps\n>(\"textarea\");\n","import { useRef, useEffect, useCallback } from \"react\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useRecipe } from \"@chakra-ui/react/styled-system\";\nimport { useObjectRef, useTextField } from \"react-aria\";\nimport { TextArea } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nimport { MultilineTextInputRootSlot } from \"./multiline-text-input.slots\";\nimport type { MultilineTextInputProps } from \"./multiline-text-input.types\";\nimport { multilineTextInputRecipe } from \"./multiline-text-input.recipe\";\n\n/**\n * # Multiline Text Input\n *\n * A multiline text input component for capturing longer text content.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/forms/multiline-text-input}\n */\nexport const MultilineTextInput = (props: MultilineTextInputProps) => {\n const { ref: forwardedRef, rows = 1, autoGrow = false, ...restProps } = props; // The default `rows` attribute for a textarea is 2, so we need to override it\n const recipe = useRecipe({ recipe: multilineTextInputRecipe });\n\n const localRef = useRef<HTMLTextAreaElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const [recipeProps, remainingProps] = recipe.splitVariantProps(restProps);\n const [styleProps, otherProps] = extractStyleProps(remainingProps);\n const { inputProps } = useTextField<\"textarea\">(otherProps, ref);\n\n // Auto-grow functionality\n const adjustHeight = useCallback(() => {\n const textarea = ref.current;\n if (!textarea || !autoGrow) return;\n\n // Reset height to auto to get the correct scrollHeight\n textarea.style.height = \"auto\";\n\n // Calculate the new height based on content\n const contentHeight = textarea.scrollHeight;\n\n // Always resize to fit content (both growing and shrinking)\n // This ensures the textarea always fits the content exactly\n const newHeight = contentHeight;\n\n // Apply maxHeight constraint if specified\n const computedStyle = window.getComputedStyle(textarea);\n const maxHeightPxValue = parseInt(computedStyle.maxHeight);\n const finalHeight = maxHeightPxValue\n ? Math.min(newHeight, maxHeightPxValue)\n : newHeight;\n\n // Set the new height\n textarea.style.height = `${finalHeight}px`;\n }, [autoGrow, ref]);\n\n // Set up auto-grow behavior with event listeners\n useEffect(() => {\n const textarea = ref.current;\n if (!textarea || !autoGrow) return;\n\n // Initial adjustment\n adjustHeight();\n\n // Add input event listener for real-time adjustments\n const handleInput = () => {\n adjustHeight();\n };\n\n textarea.addEventListener(\"input\", handleInput);\n\n // Cleanup\n return () => {\n textarea.removeEventListener(\"input\", handleInput);\n };\n }, [adjustHeight, autoGrow, ref]);\n\n return (\n <MultilineTextInputRootSlot {...recipeProps} {...styleProps} asChild>\n <TextArea ref={ref} rows={rows} {...inputProps} />\n </MultilineTextInputRootSlot>\n );\n};\n\nMultilineTextInput.displayName = \"MultilineTextInput\";\n"],"names":["multilineTextInputRecipe","defineRecipe","designTokens","withContext","createRecipeContext","MultilineTextInputRootSlot","MultilineTextInput","props","forwardedRef","rows","autoGrow","restProps","recipe","useRecipe","localRef","useRef","ref","useObjectRef","mergeRefs","recipeProps","remainingProps","styleProps","otherProps","extractStyleProps","inputProps","useTextField","adjustHeight","useCallback","textarea","newHeight","computedStyle","maxHeightPxValue","finalHeight","useEffect","handleInput","jsx","TextArea"],"mappings":"mcAOaA,EAA2BC,EAAAA,aAAa,CAEnD,UAAW,8BAGX,KAAM,CACJ,QAAS,QACT,UAAW,OACX,aAAc,MACd,aAAc,UACd,iBAAkB,UAClB,GAAI,cACJ,QAAS,OACT,UAAW,sDACX,OAAQ,WACR,WAAY,UACZ,aAAc,CACZ,QAAS,GACT,MAAO,cAAA,EAET,UAAW,CACT,WAAY,WACZ,GAAI,WAAA,EAEN,yBAA0B,CACxB,iBAAkB,WAClB,iBAAkB,oBAClB,MAAO,aAAA,EAET,qBAAsB,CACpB,gBAAiB,2BAA2B,mBAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+CAOtBC,EAAAA,aAAa,MAAM,mBAAmB,EAAE,QAAQ,MAAM,CAAC,CAAC;AAAA;AAAA;AAAA,OAGhG,CAAC,KACF,iBAAkB,YAClB,mBAAoB,SACpB,eAAgB,UAChB,MAAO,MACP,OAAQ,KAAA,CACV,EAGF,SAAU,CACR,KAAM,CACJ,GAAI,CACF,KAAM,IACN,UAAW,KACX,GAAI,IACJ,GAAI,GAAA,EAEN,GAAI,CACF,KAAM,IACN,UAAW,KACX,GAAI,IACJ,GAAI,GAAA,CACN,EAGF,QAAS,CACP,MAAO,CACL,iBAAkB,WAClB,iBAAkB,mBAClB,gBAAiB,YACjB,OAAQ,CACN,gBAAiB,WAAA,CACnB,EAEF,MAAO,CACL,OAAQ,CACN,gBAAiB,WAAA,CACnB,CACF,CACF,EAGF,gBAAiB,CACf,KAAM,KACN,QAAS,OAAA,CAEb,CAAC,EC3EK,CAAE,YAAAC,CAAA,EAAgBC,sBAAoB,CAC1C,OAAQJ,CACV,CAAC,EAMYK,EAA6BF,EAGxC,UAAU,ECXCG,EAAsBC,GAAmC,CACpE,KAAM,CAAE,IAAKC,EAAc,KAAAC,EAAO,EAAG,SAAAC,EAAW,GAAO,GAAGC,CAAA,EAAcJ,EAClEK,EAASC,EAAAA,UAAU,CAAE,OAAQb,EAA0B,EAEvDc,EAAWC,EAAAA,OAA4B,IAAI,EAC3CC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUN,CAAY,CAAC,EAEpD,CAACW,EAAaC,CAAc,EAAIR,EAAO,kBAAkBD,CAAS,EAClE,CAACU,EAAYC,CAAU,EAAIC,EAAAA,kBAAkBH,CAAc,EAC3D,CAAE,WAAAI,CAAA,EAAeC,2CAAyBH,EAAYN,CAAG,EAGzDU,EAAeC,EAAAA,YAAY,IAAM,CACrC,MAAMC,EAAWZ,EAAI,QACrB,GAAI,CAACY,GAAY,CAAClB,EAAU,OAG5BkB,EAAS,MAAM,OAAS,OAOxB,MAAMC,EAJgBD,EAAS,aAOzBE,EAAgB,OAAO,iBAAiBF,CAAQ,EAChDG,EAAmB,SAASD,EAAc,SAAS,EACnDE,EAAcD,EAChB,KAAK,IAAIF,EAAWE,CAAgB,EACpCF,EAGJD,EAAS,MAAM,OAAS,GAAGI,CAAW,IACxC,EAAG,CAACtB,EAAUM,CAAG,CAAC,EAGlBiB,OAAAA,EAAAA,UAAU,IAAM,CACd,MAAML,EAAWZ,EAAI,QACrB,GAAI,CAACY,GAAY,CAAClB,EAAU,OAG5BgB,EAAA,EAGA,MAAMQ,EAAc,IAAM,CACxBR,EAAA,CACF,EAEA,OAAAE,EAAS,iBAAiB,QAASM,CAAW,EAGvC,IAAM,CACXN,EAAS,oBAAoB,QAASM,CAAW,CACnD,CACF,EAAG,CAACR,EAAchB,EAAUM,CAAG,CAAC,EAG9BmB,EAAAA,IAAC9B,EAAA,CAA4B,GAAGc,EAAc,GAAGE,EAAY,QAAO,GAClE,SAAAc,EAAAA,IAACC,EAAAA,0CAAA,CAAS,IAAApB,EAAU,KAAAP,EAAa,GAAGe,EAAY,EAClD,CAEJ,EAEAlB,EAAmB,YAAc"}
1
+ {"version":3,"file":"multiline-text-input-BXpftZg5.cjs.js","sources":["../../src/components/multiline-text-input/multiline-text-input.recipe.tsx","../../src/components/multiline-text-input/multiline-text-input.slots.tsx","../../src/components/multiline-text-input/multiline-text-input.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\nimport { designTokens } from \"@commercetools/nimbus-tokens\";\n\n/**\n * Recipe configuration for the MultilineTextInput component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const multilineTextInputRecipe = defineRecipe({\n // Unique class name prefix for the component\n className: \"nimbus-multiline-text-input\",\n\n // Base styles applied to all instances of the component\n base: {\n display: \"block\",\n overflowY: \"auto\",\n borderRadius: \"200\",\n colorPalette: \"neutral\",\n focusVisibleRing: \"outside\",\n bg: \"transparent\",\n outline: \"none\",\n boxShadow: \"inset 0 0 0 var(--border-width) var(--border-color)\",\n resize: \"vertical\",\n fontFamily: \"inherit\",\n _placeholder: {\n opacity: 0.5,\n color: \"currentColor\",\n },\n _disabled: {\n layerStyle: \"disabled\",\n bg: \"neutral.3\",\n },\n \"&[data-invalid='true']\": {\n \"--border-width\": \"sizes.50\",\n \"--border-color\": \"colors.critical.7\",\n color: \"critical.11\",\n },\n \"&::-webkit-resizer\": {\n backgroundImage: `url(\"data:image/svg+xml,${encodeURIComponent(`\n <svg width=\"8\" height=\"8\" viewBox=\"0 0 8 8\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\">\n <mask id=\"mask0_4610_25787\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"-1\" y=\"-1\" width=\"9\" height=\"9\">\n <rect width=\"1.03391\" height=\"4.13563\" transform=\"matrix(0.716449 0.69764 -0.716449 0.69764 6.92578 4.05362)\" fill=\"currentColor\"/>\n <rect width=\"1.03391\" height=\"8.27125\" transform=\"matrix(0.716448 0.69764 -0.716448 0.69764 5.87891 -0.0262451)\" fill=\"currentColor\"/>\n </mask>\n <g mask=\"url(#mask0_4610_25787)\">\n <rect width=\"8\" height=\"8\" fill=\"${designTokens.color[\"semantic-palettes\"].primary.light[9]}\"/>\n </g>\n </svg>\n `)}\")`,\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n backgroundSize: \"200 200\",\n width: \"400\",\n height: \"400\",\n },\n },\n\n variants: {\n size: {\n sm: {\n minH: 800,\n textStyle: \"sm\",\n px: 300,\n py: 100,\n },\n md: {\n minH: 1000,\n textStyle: \"md\",\n px: 400,\n py: 200,\n },\n },\n\n variant: {\n solid: {\n \"--border-width\": \"sizes.25\",\n \"--border-color\": \"colors.neutral.7\",\n backgroundColor: \"neutral.1\",\n _hover: {\n backgroundColor: \"primary.2\",\n },\n },\n ghost: {\n _hover: {\n backgroundColor: \"primary.2\",\n },\n },\n },\n },\n\n defaultVariants: {\n size: \"md\",\n variant: \"solid\",\n },\n});\n","import {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { multilineTextInputRecipe } from \"./multiline-text-input.recipe\";\n\nexport interface MultilineTextInputRecipeProps\n extends RecipeVariantProps<typeof multilineTextInputRecipe>,\n UnstyledProp {}\n\nexport type MultilineTextInputRootSlotProps = HTMLChakraProps<\n \"textarea\",\n MultilineTextInputRecipeProps\n>;\n\nconst { withContext } = createRecipeContext({\n recipe: multilineTextInputRecipe,\n});\n\n/**\n * Root component that provides the styling context for the MultilineTextInput component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const MultilineTextInputRootSlot = withContext<\n HTMLTextAreaElement,\n MultilineTextInputRootSlotProps\n>(\"textarea\");\n","import { useRef, useEffect, useCallback } from \"react\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useRecipe } from \"@chakra-ui/react/styled-system\";\nimport { useObjectRef, useTextField } from \"react-aria\";\nimport { TextArea } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\n\nimport { MultilineTextInputRootSlot } from \"./multiline-text-input.slots\";\nimport type { MultilineTextInputProps } from \"./multiline-text-input.types\";\nimport { multilineTextInputRecipe } from \"./multiline-text-input.recipe\";\n\n/**\n * # Multiline Text Input\n *\n * A multiline text input component for capturing longer text content.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/forms/multiline-text-input}\n */\nexport const MultilineTextInput = (props: MultilineTextInputProps) => {\n const { ref: forwardedRef, rows = 1, autoGrow = false, ...restProps } = props; // The default `rows` attribute for a textarea is 2, so we need to override it\n const recipe = useRecipe({ recipe: multilineTextInputRecipe });\n\n const localRef = useRef<HTMLTextAreaElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n const [recipeProps, remainingProps] = recipe.splitVariantProps(restProps);\n const [styleProps, otherProps] = extractStyleProps(remainingProps);\n const { inputProps } = useTextField<\"textarea\">(otherProps, ref);\n\n // Auto-grow functionality\n const adjustHeight = useCallback(() => {\n const textarea = ref.current;\n if (!textarea || !autoGrow) return;\n\n // Reset height to auto to get the correct scrollHeight\n textarea.style.height = \"auto\";\n\n // Calculate the new height based on content\n const contentHeight = textarea.scrollHeight;\n\n // Always resize to fit content (both growing and shrinking)\n // This ensures the textarea always fits the content exactly\n const newHeight = contentHeight;\n\n // Apply maxHeight constraint if specified\n const computedStyle = window.getComputedStyle(textarea);\n const maxHeightPxValue = parseInt(computedStyle.maxHeight);\n const finalHeight = maxHeightPxValue\n ? Math.min(newHeight, maxHeightPxValue)\n : newHeight;\n\n // Set the new height\n textarea.style.height = `${finalHeight}px`;\n }, [autoGrow, ref]);\n\n // Set up auto-grow behavior with event listeners\n useEffect(() => {\n const textarea = ref.current;\n if (!textarea || !autoGrow) return;\n\n // Initial adjustment\n adjustHeight();\n\n // Add input event listener for real-time adjustments\n const handleInput = () => {\n adjustHeight();\n };\n\n textarea.addEventListener(\"input\", handleInput);\n\n // Cleanup\n return () => {\n textarea.removeEventListener(\"input\", handleInput);\n };\n }, [adjustHeight, autoGrow, ref]);\n\n return (\n <MultilineTextInputRootSlot {...recipeProps} {...styleProps} asChild>\n <TextArea ref={ref} rows={rows} {...inputProps} />\n </MultilineTextInputRootSlot>\n );\n};\n\nMultilineTextInput.displayName = \"MultilineTextInput\";\n"],"names":["multilineTextInputRecipe","defineRecipe","designTokens","withContext","createRecipeContext","MultilineTextInputRootSlot","MultilineTextInput","props","forwardedRef","rows","autoGrow","restProps","recipe","useRecipe","localRef","useRef","ref","useObjectRef","mergeRefs","recipeProps","remainingProps","styleProps","otherProps","extractStyleProps","inputProps","useTextField","adjustHeight","useCallback","textarea","newHeight","computedStyle","maxHeightPxValue","finalHeight","useEffect","handleInput","jsx","TextArea"],"mappings":"mcAOaA,EAA2BC,EAAAA,aAAa,CAEnD,UAAW,8BAGX,KAAM,CACJ,QAAS,QACT,UAAW,OACX,aAAc,MACd,aAAc,UACd,iBAAkB,UAClB,GAAI,cACJ,QAAS,OACT,UAAW,sDACX,OAAQ,WACR,WAAY,UACZ,aAAc,CACZ,QAAS,GACT,MAAO,cAAA,EAET,UAAW,CACT,WAAY,WACZ,GAAI,WAAA,EAEN,yBAA0B,CACxB,iBAAkB,WAClB,iBAAkB,oBAClB,MAAO,aAAA,EAET,qBAAsB,CACpB,gBAAiB,2BAA2B,mBAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+CAOtBC,EAAAA,aAAa,MAAM,mBAAmB,EAAE,QAAQ,MAAM,CAAC,CAAC;AAAA;AAAA;AAAA,OAGhG,CAAC,KACF,iBAAkB,YAClB,mBAAoB,SACpB,eAAgB,UAChB,MAAO,MACP,OAAQ,KAAA,CACV,EAGF,SAAU,CACR,KAAM,CACJ,GAAI,CACF,KAAM,IACN,UAAW,KACX,GAAI,IACJ,GAAI,GAAA,EAEN,GAAI,CACF,KAAM,IACN,UAAW,KACX,GAAI,IACJ,GAAI,GAAA,CACN,EAGF,QAAS,CACP,MAAO,CACL,iBAAkB,WAClB,iBAAkB,mBAClB,gBAAiB,YACjB,OAAQ,CACN,gBAAiB,WAAA,CACnB,EAEF,MAAO,CACL,OAAQ,CACN,gBAAiB,WAAA,CACnB,CACF,CACF,EAGF,gBAAiB,CACf,KAAM,KACN,QAAS,OAAA,CAEb,CAAC,EC3EK,CAAE,YAAAC,CAAA,EAAgBC,sBAAoB,CAC1C,OAAQJ,CACV,CAAC,EAMYK,EAA6BF,EAGxC,UAAU,ECXCG,EAAsBC,GAAmC,CACpE,KAAM,CAAE,IAAKC,EAAc,KAAAC,EAAO,EAAG,SAAAC,EAAW,GAAO,GAAGC,CAAA,EAAcJ,EAClEK,EAASC,EAAAA,UAAU,CAAE,OAAQb,EAA0B,EAEvDc,EAAWC,EAAAA,OAA4B,IAAI,EAC3CC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUN,CAAY,CAAC,EAEpD,CAACW,EAAaC,CAAc,EAAIR,EAAO,kBAAkBD,CAAS,EAClE,CAACU,EAAYC,CAAU,EAAIC,EAAAA,kBAAkBH,CAAc,EAC3D,CAAE,WAAAI,CAAA,EAAeC,2CAAyBH,EAAYN,CAAG,EAGzDU,EAAeC,EAAAA,YAAY,IAAM,CACrC,MAAMC,EAAWZ,EAAI,QACrB,GAAI,CAACY,GAAY,CAAClB,EAAU,OAG5BkB,EAAS,MAAM,OAAS,OAOxB,MAAMC,EAJgBD,EAAS,aAOzBE,EAAgB,OAAO,iBAAiBF,CAAQ,EAChDG,EAAmB,SAASD,EAAc,SAAS,EACnDE,EAAcD,EAChB,KAAK,IAAIF,EAAWE,CAAgB,EACpCF,EAGJD,EAAS,MAAM,OAAS,GAAGI,CAAW,IACxC,EAAG,CAACtB,EAAUM,CAAG,CAAC,EAGlBiB,OAAAA,EAAAA,UAAU,IAAM,CACd,MAAML,EAAWZ,EAAI,QACrB,GAAI,CAACY,GAAY,CAAClB,EAAU,OAG5BgB,EAAA,EAGA,MAAMQ,EAAc,IAAM,CACxBR,EAAA,CACF,EAEA,OAAAE,EAAS,iBAAiB,QAASM,CAAW,EAGvC,IAAM,CACXN,EAAS,oBAAoB,QAASM,CAAW,CACnD,CACF,EAAG,CAACR,EAAchB,EAAUM,CAAG,CAAC,EAG9BmB,EAAAA,IAAC9B,EAAA,CAA4B,GAAGc,EAAc,GAAGE,EAAY,QAAO,GAClE,SAAAc,EAAAA,IAACC,EAAAA,0CAAA,CAAS,IAAApB,EAAU,KAAAP,EAAa,GAAGe,EAAY,EAClD,CAEJ,EAEAlB,EAAmB,YAAc"}
@@ -5,7 +5,7 @@ import { $ as P } from "./TextArea-DIyosEKy.es.js";
5
5
  import { e as H } from "./extractStyleProps-BEa9kwlY.es.js";
6
6
  import { designTokens as S } from "@commercetools/nimbus-tokens";
7
7
  import { d as I } from "./config-ufbQ08Vi.es.js";
8
- import { c as _ } from "./create-recipe-context-BuajKZ9o.es.js";
8
+ import { c as _ } from "./create-recipe-context-i2odau3L.es.js";
9
9
  import { u as z } from "./use-recipe-CR4W7Dne.es.js";
10
10
  import { $ as M } from "./useObjectRef-CaJ5pgjX.es.js";
11
11
  import { $ as T } from "./useTextField-Doh-sQHP.es.js";
@@ -117,4 +117,4 @@ U.displayName = "MultilineTextInput";
117
117
  export {
118
118
  U as M
119
119
  };
120
- //# sourceMappingURL=multiline-text-input-BfG35UfF.es.js.map
120
+ //# sourceMappingURL=multiline-text-input-MJPDSw2d.es.js.map