@commercetools/nimbus 0.0.0-canary-20251031122555 → 0.0.0-canary-20251031185705

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 (740) hide show
  1. package/dist/chunks/{Button-SjGHt140.es.js → Button-CmpJG0ec.es.js} +7 -7
  2. package/dist/chunks/{Button-SjGHt140.es.js.map → Button-CmpJG0ec.es.js.map} +1 -1
  3. package/dist/chunks/{CollectionBuilder-BhYUxJYI.es.js → CollectionBuilder-ksCQul85.es.js} +2 -2
  4. package/dist/chunks/{CollectionBuilder-BhYUxJYI.es.js.map → CollectionBuilder-ksCQul85.es.js.map} +1 -1
  5. package/dist/chunks/{DateField-DMjgxual.es.js → DateField-Bpk0AwB2.es.js} +21 -21
  6. package/dist/chunks/{DateField-DMjgxual.es.js.map → DateField-Bpk0AwB2.es.js.map} +1 -1
  7. package/dist/chunks/{DatePicker-Cvad8nra.es.js → DatePicker-DqFQq16u.es.js} +17 -17
  8. package/dist/chunks/{DatePicker-Cvad8nra.es.js.map → DatePicker-DqFQq16u.es.js.map} +1 -1
  9. package/dist/chunks/{Dialog-BUtdEtlF.es.js → Dialog-hbq1ZZne.es.js} +25 -25
  10. package/dist/chunks/{Dialog-BUtdEtlF.es.js.map → Dialog-hbq1ZZne.es.js.map} +1 -1
  11. package/dist/chunks/{FocusScope-C6u6zr_m.es.js → FocusScope-bj_mamFe.es.js} +36 -36
  12. package/dist/chunks/{FocusScope-C6u6zr_m.es.js.map → FocusScope-bj_mamFe.es.js.map} +1 -1
  13. package/dist/chunks/{Group-zHIVpnch.es.js → Group-C9jsb9_m.es.js} +8 -8
  14. package/dist/chunks/{Group-zHIVpnch.es.js.map → Group-C9jsb9_m.es.js.map} +1 -1
  15. package/dist/chunks/{Header-CpF5ynyj.es.js → Header-DOAbQymP.es.js} +5 -5
  16. package/dist/chunks/{Header-CpF5ynyj.es.js.map → Header-DOAbQymP.es.js.map} +1 -1
  17. package/dist/chunks/{Heading-DXod1zoy.es.js → Heading-D804NNml.es.js} +20 -20
  18. package/dist/chunks/{Heading-DXod1zoy.es.js.map → Heading-D804NNml.es.js.map} +1 -1
  19. package/dist/chunks/{Input-DCyrVIsi.es.js → Input-aKSXZBAh.es.js} +5 -5
  20. package/dist/chunks/{Input-DCyrVIsi.es.js.map → Input-aKSXZBAh.es.js.map} +1 -1
  21. package/dist/chunks/{Label-CUlxhtnU.es.js → Label-Bu5lTMzy.es.js} +2 -2
  22. package/dist/chunks/{Label-CUlxhtnU.es.js.map → Label-Bu5lTMzy.es.js.map} +1 -1
  23. package/dist/chunks/{ListBox-CdtzuZzA.es.js → ListBox-B43JPDJW.es.js} +15 -15
  24. package/dist/chunks/{ListBox-CdtzuZzA.es.js.map → ListBox-B43JPDJW.es.js.map} +1 -1
  25. package/dist/chunks/{Modal-BgIeZMyG.es.js → Modal-BvkgbKlP.es.js} +7 -7
  26. package/dist/chunks/{Modal-BgIeZMyG.es.js.map → Modal-BvkgbKlP.es.js.map} +1 -1
  27. package/dist/chunks/{OverlayArrow-DAfsQzBF.es.js → OverlayArrow-qm-lnjhS.es.js} +2 -2
  28. package/dist/chunks/{OverlayArrow-DAfsQzBF.es.js.map → OverlayArrow-qm-lnjhS.es.js.map} +1 -1
  29. package/dist/chunks/{ProgressBar-DZzovBW5.es.js → ProgressBar-DogfCeuX.es.js} +5 -5
  30. package/dist/chunks/{ProgressBar-DZzovBW5.es.js.map → ProgressBar-DogfCeuX.es.js.map} +1 -1
  31. package/dist/chunks/{SelectionManager-S9Amkvfg.es.js → SelectionManager-D87OqHl3.es.js} +14 -14
  32. package/dist/chunks/{SelectionManager-S9Amkvfg.es.js.map → SelectionManager-D87OqHl3.es.js.map} +1 -1
  33. package/dist/chunks/{Separator-kuF-Wo1o.es.js → Separator-CAgJSVll.es.js} +4 -4
  34. package/dist/chunks/{Separator-kuF-Wo1o.es.js.map → Separator-CAgJSVll.es.js.map} +1 -1
  35. package/dist/chunks/{TextArea-DgN-Bwdv.es.js → TextArea-JHqAZ7HD.es.js} +5 -5
  36. package/dist/chunks/{TextArea-DgN-Bwdv.es.js.map → TextArea-JHqAZ7HD.es.js.map} +1 -1
  37. package/dist/chunks/{ToggleButton-BIiBT_jL.es.js → ToggleButton-B-feHlsu.es.js} +7 -7
  38. package/dist/chunks/{ToggleButton-BIiBT_jL.es.js.map → ToggleButton-B-feHlsu.es.js.map} +1 -1
  39. package/dist/chunks/{VisuallyHidden-Dkq7SL0E.es.js → VisuallyHidden-BIA5VRNP.es.js} +3 -3
  40. package/dist/chunks/{VisuallyHidden-Dkq7SL0E.es.js.map → VisuallyHidden-BIA5VRNP.es.js.map} +1 -1
  41. package/dist/chunks/accordion-CuSTyC3h.es.js +84 -0
  42. package/dist/chunks/accordion-CuSTyC3h.es.js.map +1 -0
  43. package/dist/chunks/accordion-rPPLl_-o.cjs.js +2 -0
  44. package/dist/chunks/accordion-rPPLl_-o.cjs.js.map +1 -0
  45. package/dist/chunks/accordion.content-CgYeIB2S.cjs.js +2 -0
  46. package/dist/chunks/accordion.content-CgYeIB2S.cjs.js.map +1 -0
  47. package/dist/chunks/accordion.content-Dv8UBvRU.es.js +228 -0
  48. package/dist/chunks/accordion.content-Dv8UBvRU.es.js.map +1 -0
  49. package/dist/chunks/{alert-CVXQqjXr.es.js → alert-BvJRfwDx.es.js} +86 -13
  50. package/dist/chunks/alert-BvJRfwDx.es.js.map +1 -0
  51. package/dist/chunks/{alert-BlkniDy9.cjs.js → alert-DKsg4e2z.cjs.js} +2 -2
  52. package/dist/chunks/alert-DKsg4e2z.cjs.js.map +1 -0
  53. package/dist/chunks/{avatar-DFibCsCs.es.js → avatar-Dx_Cda2J.es.js} +2 -2
  54. package/dist/chunks/avatar-Dx_Cda2J.es.js.map +1 -0
  55. package/dist/chunks/{avatar-BNhECwD5.cjs.js → avatar-wRR1leVi.cjs.js} +2 -2
  56. package/dist/chunks/avatar-wRR1leVi.cjs.js.map +1 -0
  57. package/dist/chunks/{avatar.recipe-DfyPWbFZ.es.js → avatar.recipe-BEdxgo-r.es.js} +2 -2
  58. package/dist/chunks/avatar.recipe-BEdxgo-r.es.js.map +1 -0
  59. package/dist/chunks/avatar.recipe-XvknqPJq.cjs.js +2 -0
  60. package/dist/chunks/avatar.recipe-XvknqPJq.cjs.js.map +1 -0
  61. package/dist/chunks/badge-5F6i4KSF.cjs.js +2 -0
  62. package/dist/chunks/badge-5F6i4KSF.cjs.js.map +1 -0
  63. package/dist/chunks/badge-DUiqk6w9.es.js +17 -0
  64. package/dist/chunks/badge-DUiqk6w9.es.js.map +1 -0
  65. package/dist/chunks/badge.recipe-Cu6u9yqC.cjs.js.map +1 -1
  66. package/dist/chunks/badge.recipe-DsV4A_UD.es.js.map +1 -1
  67. package/dist/chunks/{button-CrUeW0pR.cjs.js → button-B3dFVcHC.cjs.js} +2 -2
  68. package/dist/chunks/{button-CrUeW0pR.cjs.js.map → button-B3dFVcHC.cjs.js.map} +1 -1
  69. package/dist/chunks/{button-B1VvTs1w.es.js → button-BalEcUUB.es.js} +6 -6
  70. package/dist/chunks/{button-B1VvTs1w.es.js.map → button-BalEcUUB.es.js.map} +1 -1
  71. package/dist/chunks/calendar-BFZb7VzL.cjs.js +2 -0
  72. package/dist/chunks/calendar-BFZb7VzL.cjs.js.map +1 -0
  73. package/dist/chunks/{calendar-D7pzgXqX.es.js → calendar-vWKF4KRn.es.js} +124 -125
  74. package/dist/chunks/calendar-vWKF4KRn.es.js.map +1 -0
  75. package/dist/chunks/card-BMpRfvHY.es.js +120 -0
  76. package/dist/chunks/card-BMpRfvHY.es.js.map +1 -0
  77. package/dist/chunks/card-DXVbaE-3.cjs.js +2 -0
  78. package/dist/chunks/card-DXVbaE-3.cjs.js.map +1 -0
  79. package/dist/chunks/{checkbox-CjR64WWv.es.js → checkbox-Cj4oO-ah.es.js} +14 -11
  80. package/dist/chunks/{checkbox-CjR64WWv.es.js.map → checkbox-Cj4oO-ah.es.js.map} +1 -1
  81. package/dist/chunks/{checkbox-CVnNylPS.cjs.js → checkbox-CvgBdEqk.cjs.js} +2 -2
  82. package/dist/chunks/{checkbox-CVnNylPS.cjs.js.map → checkbox-CvgBdEqk.cjs.js.map} +1 -1
  83. package/dist/chunks/collapsible-motion-C3o2-vxf.cjs.js +2 -0
  84. package/dist/chunks/collapsible-motion-C3o2-vxf.cjs.js.map +1 -0
  85. package/dist/chunks/collapsible-motion-D2RXv0UE.es.js +126 -0
  86. package/dist/chunks/collapsible-motion-D2RXv0UE.es.js.map +1 -0
  87. package/dist/chunks/{combobox-Bm_d6SaB.cjs.js → combobox-CEE8JUDf.cjs.js} +2 -2
  88. package/dist/chunks/{combobox-Bm_d6SaB.cjs.js.map → combobox-CEE8JUDf.cjs.js.map} +1 -1
  89. package/dist/chunks/{combobox-g3cCFSMZ.es.js → combobox-siEOoGB7.es.js} +226 -185
  90. package/dist/chunks/{combobox-g3cCFSMZ.es.js.map → combobox-siEOoGB7.es.js.map} +1 -1
  91. package/dist/chunks/{data-table--7Qxgjb7.cjs.js → data-table-BjFkMw2E.cjs.js} +2 -2
  92. package/dist/chunks/{data-table--7Qxgjb7.cjs.js.map → data-table-BjFkMw2E.cjs.js.map} +1 -1
  93. package/dist/chunks/{data-table-Dnp2C_pq.es.js → data-table-WpSHciHZ.es.js} +1086 -878
  94. package/dist/chunks/{data-table-Dnp2C_pq.es.js.map → data-table-WpSHciHZ.es.js.map} +1 -1
  95. package/dist/chunks/{date-input-CRnreBK0.es.js → date-input-CtTnoF_B.es.js} +4 -4
  96. package/dist/chunks/{date-input-CRnreBK0.es.js.map → date-input-CtTnoF_B.es.js.map} +1 -1
  97. package/dist/chunks/{date-input-CXFII_3C.cjs.js → date-input-depnLyb6.cjs.js} +2 -2
  98. package/dist/chunks/{date-input-CXFII_3C.cjs.js.map → date-input-depnLyb6.cjs.js.map} +1 -1
  99. package/dist/chunks/{date-picker-Zz2Sp3S6.es.js → date-picker-B4iulzjt.es.js} +69 -69
  100. package/dist/chunks/date-picker-B4iulzjt.es.js.map +1 -0
  101. package/dist/chunks/date-picker-Cz4IjM5C.cjs.js +2 -0
  102. package/dist/chunks/date-picker-Cz4IjM5C.cjs.js.map +1 -0
  103. package/dist/chunks/{date-range-picker-B2Cln3mU.es.js → date-range-picker-B-z5c0fw.es.js} +14 -14
  104. package/dist/chunks/{date-range-picker-B2Cln3mU.es.js.map → date-range-picker-B-z5c0fw.es.js.map} +1 -1
  105. package/dist/chunks/{date-range-picker-H_YtkQRE.cjs.js → date-range-picker-Cr48sK7o.cjs.js} +2 -2
  106. package/dist/chunks/{date-range-picker-H_YtkQRE.cjs.js.map → date-range-picker-Cr48sK7o.cjs.js.map} +1 -1
  107. package/dist/chunks/date-range-picker-field-0y5CNFyh.cjs.js +2 -0
  108. package/dist/chunks/date-range-picker-field-0y5CNFyh.cjs.js.map +1 -0
  109. package/dist/chunks/date-range-picker-field-BjK520E2.es.js +61 -0
  110. package/dist/chunks/date-range-picker-field-BjK520E2.es.js.map +1 -0
  111. package/dist/chunks/{dialog.close-trigger-Y9dS7xOy.cjs.js → dialog-CANllEUp.cjs.js} +2 -2
  112. package/dist/chunks/dialog-CANllEUp.cjs.js.map +1 -0
  113. package/dist/chunks/dialog-mu2l4D7k.es.js +305 -0
  114. package/dist/chunks/dialog-mu2l4D7k.es.js.map +1 -0
  115. package/dist/chunks/{draggable-list-ibWoXfeJ.es.js → draggable-list-COLeAeV4.es.js} +374 -368
  116. package/dist/chunks/{draggable-list-ibWoXfeJ.es.js.map → draggable-list-COLeAeV4.es.js.map} +1 -1
  117. package/dist/chunks/{draggable-list-TkB0lPBh.cjs.js → draggable-list-D0ov_oEo.cjs.js} +3 -3
  118. package/dist/chunks/{draggable-list-TkB0lPBh.cjs.js.map → draggable-list-D0ov_oEo.cjs.js.map} +1 -1
  119. package/dist/chunks/drawer-BAzowUiG.cjs.js +2 -0
  120. package/dist/chunks/drawer-BAzowUiG.cjs.js.map +1 -0
  121. package/dist/chunks/{drawer-ZczUeqdd.es.js → drawer-jIQq7Jpl.es.js} +17 -9
  122. package/dist/chunks/drawer-jIQq7Jpl.es.js.map +1 -0
  123. package/dist/chunks/{extract-style-props-B6-o20G1.cjs.js → extract-style-props-Bd2GaMQq.cjs.js} +2 -2
  124. package/dist/chunks/{extract-style-props-B6-o20G1.cjs.js.map → extract-style-props-Bd2GaMQq.cjs.js.map} +1 -1
  125. package/dist/chunks/{extract-style-props-fH5EHRZU.es.js → extract-style-props-BjwbJ_Xp.es.js} +2 -2
  126. package/dist/chunks/{extract-style-props-fH5EHRZU.es.js.map → extract-style-props-BjwbJ_Xp.es.js.map} +1 -1
  127. package/dist/chunks/field-errors-ClQprmQz.es.js.map +1 -1
  128. package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +1 -1
  129. package/dist/chunks/{focusSafely-BNN5-xvK.es.js → focusSafely-RvsgqoUt.es.js} +3 -3
  130. package/dist/chunks/{focusSafely-BNN5-xvK.es.js.map → focusSafely-RvsgqoUt.es.js.map} +1 -1
  131. package/dist/chunks/form-field-Bp0X0gNb.cjs.js +2 -0
  132. package/dist/chunks/form-field-Bp0X0gNb.cjs.js.map +1 -0
  133. package/dist/chunks/form-field-noHYMMQd.es.js +358 -0
  134. package/dist/chunks/form-field-noHYMMQd.es.js.map +1 -0
  135. package/dist/chunks/{getScrollParent-g7luwBTz.es.js → getScrollParent-DlqhSzBC.es.js} +2 -2
  136. package/dist/chunks/{getScrollParent-g7luwBTz.es.js.map → getScrollParent-DlqhSzBC.es.js.map} +1 -1
  137. package/dist/chunks/{group-BfsiVCo-.es.js → group-jGsHh1w7.es.js} +2 -2
  138. package/dist/chunks/{group-BfsiVCo-.es.js.map → group-jGsHh1w7.es.js.map} +1 -1
  139. package/dist/chunks/{heading-BfaL2s7d.es.js → heading-CwsT9zp_.es.js} +2 -2
  140. package/dist/chunks/{heading-BfaL2s7d.es.js.map → heading-CwsT9zp_.es.js.map} +1 -1
  141. package/dist/chunks/{icon-button-XkzBkGuJ.es.js → icon-button-CfN4QLes.es.js} +2 -2
  142. package/dist/chunks/{icon-button-XkzBkGuJ.es.js.map → icon-button-CfN4QLes.es.js.map} +1 -1
  143. package/dist/chunks/{icon-button-C_itb6iA.cjs.js → icon-button-acD2PKxb.cjs.js} +2 -2
  144. package/dist/chunks/{icon-button-C_itb6iA.cjs.js.map → icon-button-acD2PKxb.cjs.js.map} +1 -1
  145. package/dist/chunks/{icon-toggle-button-D562D8WP.cjs.js → icon-toggle-button-DZjAAxUN.cjs.js} +2 -2
  146. package/dist/chunks/{icon-toggle-button-D562D8WP.cjs.js.map → icon-toggle-button-DZjAAxUN.cjs.js.map} +1 -1
  147. package/dist/chunks/{icon-toggle-button-D4MFHBgl.es.js → icon-toggle-button-JNBy2M8q.es.js} +2 -2
  148. package/dist/chunks/{icon-toggle-button-D4MFHBgl.es.js.map → icon-toggle-button-JNBy2M8q.es.js.map} +1 -1
  149. package/dist/chunks/{index-B7wlrXvj.es.js → index-B-UyZdac.es.js} +233 -228
  150. package/dist/chunks/index-B-UyZdac.es.js.map +1 -0
  151. package/dist/chunks/index-Cwy57TA-.cjs.js +34 -0
  152. package/dist/chunks/index-Cwy57TA-.cjs.js.map +1 -0
  153. package/dist/chunks/{kbd-BBIIThUL.es.js → kbd-B11Qoo4k.es.js} +2 -2
  154. package/dist/chunks/{kbd-BBIIThUL.es.js.map → kbd-B11Qoo4k.es.js.map} +1 -1
  155. package/dist/chunks/{link-CPnL46cY.es.js → link-Db65JZE6.es.js} +9 -9
  156. package/dist/chunks/{link-CPnL46cY.es.js.map → link-Db65JZE6.es.js.map} +1 -1
  157. package/dist/chunks/{loading-spinner-CaTPSyK4.es.js → loading-spinner-FBgHlqXQ.es.js} +3 -3
  158. package/dist/chunks/{loading-spinner-CaTPSyK4.es.js.map → loading-spinner-FBgHlqXQ.es.js.map} +1 -1
  159. package/dist/chunks/{localized-field-ByW-vsvR.cjs.js → localized-field-CLNEUHDE.cjs.js} +2 -2
  160. package/dist/chunks/localized-field-CLNEUHDE.cjs.js.map +1 -0
  161. package/dist/chunks/{localized-field-DyZpSuGk.es.js → localized-field-D3NXlDB4.es.js} +31 -31
  162. package/dist/chunks/localized-field-D3NXlDB4.es.js.map +1 -0
  163. package/dist/chunks/{make-element-focusable-DgSPkXRd.es.js → make-element-focusable-DVfaQntJ.es.js} +6 -6
  164. package/dist/chunks/{make-element-focusable-DgSPkXRd.es.js.map → make-element-focusable-DVfaQntJ.es.js.map} +1 -1
  165. package/dist/chunks/menu-BN2WBtU1.cjs.js +2 -0
  166. package/dist/chunks/menu-BN2WBtU1.cjs.js.map +1 -0
  167. package/dist/chunks/{menu-CaSPNND_.es.js → menu-CV4u_xTQ.es.js} +55 -62
  168. package/dist/chunks/menu-CV4u_xTQ.es.js.map +1 -0
  169. package/dist/chunks/{mergeProps-DtKAFxbD.es.js → mergeProps-D1jjFfMs.es.js} +5 -5
  170. package/dist/chunks/{mergeProps-DtKAFxbD.es.js.map → mergeProps-D1jjFfMs.es.js.map} +1 -1
  171. package/dist/chunks/{money-input-BT3JhOpu.cjs.js → money-input-BcVl1GSJ.cjs.js} +2 -2
  172. package/dist/chunks/{money-input-BT3JhOpu.cjs.js.map → money-input-BcVl1GSJ.cjs.js.map} +1 -1
  173. package/dist/chunks/{money-input-D6_TFZB-.es.js → money-input-CHGisosY.es.js} +9 -9
  174. package/dist/chunks/{money-input-D6_TFZB-.es.js.map → money-input-CHGisosY.es.js.map} +1 -1
  175. package/dist/chunks/{multiline-text-input-DqLmTSr5.es.js → multiline-text-input-C1d7g4qG.es.js} +5 -5
  176. package/dist/chunks/multiline-text-input-C1d7g4qG.es.js.map +1 -0
  177. package/dist/chunks/{multiline-text-input-BWEsaxf_.cjs.js → multiline-text-input-CQIh1RY_.cjs.js} +2 -2
  178. package/dist/chunks/multiline-text-input-CQIh1RY_.cjs.js.map +1 -0
  179. package/dist/chunks/{nimbus-provider-Bap0WHRm.es.js → nimbus-provider-DhbgfQBR.es.js} +2 -2
  180. package/dist/chunks/{nimbus-provider-Bap0WHRm.es.js.map → nimbus-provider-DhbgfQBR.es.js.map} +1 -1
  181. package/dist/chunks/{nimbus-provider-BarcIhYi.cjs.js → nimbus-provider-m1x1g8kD.cjs.js} +2 -2
  182. package/dist/chunks/{nimbus-provider-BarcIhYi.cjs.js.map → nimbus-provider-m1x1g8kD.cjs.js.map} +1 -1
  183. package/dist/chunks/{number-input-BskHV8w5.cjs.js → number-input-Au2Q7jMA.cjs.js} +2 -2
  184. package/dist/chunks/{number-input-BskHV8w5.cjs.js.map → number-input-Au2Q7jMA.cjs.js.map} +1 -1
  185. package/dist/chunks/{number-input-CerB7jp0.es.js → number-input-uHgywOUH.es.js} +39 -39
  186. package/dist/chunks/{number-input-CerB7jp0.es.js.map → number-input-uHgywOUH.es.js.map} +1 -1
  187. package/dist/chunks/{pagination-dlHn3OhV.es.js → pagination-CFtt5U4o.es.js} +5 -5
  188. package/dist/chunks/{pagination-dlHn3OhV.es.js.map → pagination-CFtt5U4o.es.js.map} +1 -1
  189. package/dist/chunks/{pagination-xj41eBPX.cjs.js → pagination-EMnwkW14.cjs.js} +2 -2
  190. package/dist/chunks/{pagination-xj41eBPX.cjs.js.map → pagination-EMnwkW14.cjs.js.map} +1 -1
  191. package/dist/chunks/{password-input-DGtJisDd.cjs.js → password-input-BCoucE5i.cjs.js} +2 -2
  192. package/dist/chunks/{password-input-DGtJisDd.cjs.js.map → password-input-BCoucE5i.cjs.js.map} +1 -1
  193. package/dist/chunks/{password-input-Dw-m0lej.es.js → password-input-CizSENHi.es.js} +4 -4
  194. package/dist/chunks/{password-input-Dw-m0lej.es.js.map → password-input-CizSENHi.es.js.map} +1 -1
  195. package/dist/chunks/{popover-CaE5pDl9.es.js → popover-DM-6JZxY.es.js} +2 -2
  196. package/dist/chunks/{popover-CaE5pDl9.es.js.map → popover-DM-6JZxY.es.js.map} +1 -1
  197. package/dist/chunks/progress-bar-Ci_tl6r6.cjs.js +2 -0
  198. package/dist/chunks/progress-bar-Ci_tl6r6.cjs.js.map +1 -0
  199. package/dist/chunks/progress-bar-DUiuVJqK.es.js +76 -0
  200. package/dist/chunks/progress-bar-DUiuVJqK.es.js.map +1 -0
  201. package/dist/chunks/radio-input-DrI0Xgth.cjs.js +2 -0
  202. package/dist/chunks/{radio-input-yA7MF_jw.cjs.js.map → radio-input-DrI0Xgth.cjs.js.map} +1 -1
  203. package/dist/chunks/{radio-input-Dg7PXbQa.es.js → radio-input-DvTO8zOs.es.js} +98 -72
  204. package/dist/chunks/{radio-input-Dg7PXbQa.es.js.map → radio-input-DvTO8zOs.es.js.map} +1 -1
  205. package/dist/chunks/range-calendar-C8brNqiX.cjs.js +2 -0
  206. package/dist/chunks/range-calendar-C8brNqiX.cjs.js.map +1 -0
  207. package/dist/chunks/{range-calendar-D6nonjnz.es.js → range-calendar-CJZmV_qG.es.js} +128 -127
  208. package/dist/chunks/range-calendar-CJZmV_qG.es.js.map +1 -0
  209. package/dist/chunks/rich-text-input-BJk01U_c.cjs.js +10 -0
  210. package/dist/chunks/rich-text-input-BJk01U_c.cjs.js.map +1 -0
  211. package/dist/chunks/{rich-text-input-hBorJHFw.es.js → rich-text-input-CdYQJX6c.es.js} +219 -219
  212. package/dist/chunks/rich-text-input-CdYQJX6c.es.js.map +1 -0
  213. package/dist/chunks/{scoped-search-input-C6B7Szzk.cjs.js → scoped-search-input-D6qpyJYv.cjs.js} +2 -2
  214. package/dist/chunks/scoped-search-input-D6qpyJYv.cjs.js.map +1 -0
  215. package/dist/chunks/{scoped-search-input-B7rDiJuj.es.js → scoped-search-input-gMsh3VM9.es.js} +15 -6
  216. package/dist/chunks/scoped-search-input-gMsh3VM9.es.js.map +1 -0
  217. package/dist/chunks/{scrollIntoView-CRn_Y0bq.es.js → scrollIntoView-CQMm8-SR.es.js} +2 -2
  218. package/dist/chunks/{scrollIntoView-CRn_Y0bq.es.js.map → scrollIntoView-CQMm8-SR.es.js.map} +1 -1
  219. package/dist/chunks/{search-input-tna-iiqy.es.js → search-input-CdHR3Kxc.es.js} +15 -12
  220. package/dist/chunks/{search-input-tna-iiqy.es.js.map → search-input-CdHR3Kxc.es.js.map} +1 -1
  221. package/dist/chunks/{search-input-vq7lviez.cjs.js → search-input-DgiODO-g.cjs.js} +2 -2
  222. package/dist/chunks/{search-input-vq7lviez.cjs.js.map → search-input-DgiODO-g.cjs.js.map} +1 -1
  223. package/dist/chunks/{select-B0WZuFVc.es.js → select-Csja0bBR.es.js} +92 -96
  224. package/dist/chunks/{select-B0WZuFVc.es.js.map → select-Csja0bBR.es.js.map} +1 -1
  225. package/dist/chunks/select-CvRLaSMs.cjs.js +2 -0
  226. package/dist/chunks/{select-wD3QlanS.cjs.js.map → select-CvRLaSMs.cjs.js.map} +1 -1
  227. package/dist/chunks/{separator-Dng72n3L.es.js → separator-D6b9i-eh.es.js} +4 -4
  228. package/dist/chunks/{separator-Dng72n3L.es.js.map → separator-D6b9i-eh.es.js.map} +1 -1
  229. package/dist/chunks/{separator-TrQT9Pcb.cjs.js → separator-D9kKI6Qa.cjs.js} +2 -2
  230. package/dist/chunks/{separator-TrQT9Pcb.cjs.js.map → separator-D9kKI6Qa.cjs.js.map} +1 -1
  231. package/dist/chunks/{split-button-pF0iIa_0.es.js → split-button-4gxONpNC.es.js} +4 -4
  232. package/dist/chunks/{split-button-pF0iIa_0.es.js.map → split-button-4gxONpNC.es.js.map} +1 -1
  233. package/dist/chunks/{split-button-BH500vls.cjs.js → split-button-Ci3LSgyf.cjs.js} +2 -2
  234. package/dist/chunks/{split-button-BH500vls.cjs.js.map → split-button-Ci3LSgyf.cjs.js.map} +1 -1
  235. package/dist/chunks/{switch-D3tDl7RG.cjs.js → switch-CY5B06Rw.cjs.js} +2 -2
  236. package/dist/chunks/{switch-D3tDl7RG.cjs.js.map → switch-CY5B06Rw.cjs.js.map} +1 -1
  237. package/dist/chunks/{switch-DJENPCZA.es.js → switch-DJZffBPP.es.js} +7 -7
  238. package/dist/chunks/{switch-DJENPCZA.es.js.map → switch-DJZffBPP.es.js.map} +1 -1
  239. package/dist/chunks/{tabs-Bj24YiXX.cjs.js → tabs-3vm885CF.cjs.js} +2 -2
  240. package/dist/chunks/{tabs-Bj24YiXX.cjs.js.map → tabs-3vm885CF.cjs.js.map} +1 -1
  241. package/dist/chunks/{tabs-D3SqKC9V.es.js → tabs-Dwh31onP.es.js} +128 -54
  242. package/dist/chunks/{tabs-D3SqKC9V.es.js.map → tabs-Dwh31onP.es.js.map} +1 -1
  243. package/dist/chunks/{tag-group-DQ72dsVp.es.js → tag-group-FYIVNur5.es.js} +105 -57
  244. package/dist/chunks/{tag-group-DQ72dsVp.es.js.map → tag-group-FYIVNur5.es.js.map} +1 -1
  245. package/dist/chunks/{tag-group-Djb2ouRY.cjs.js → tag-group-ooDwx1Ix.cjs.js} +2 -2
  246. package/dist/chunks/{tag-group-Djb2ouRY.cjs.js.map → tag-group-ooDwx1Ix.cjs.js.map} +1 -1
  247. package/dist/chunks/{text-BVYJmhjj.es.js → text-DvqDjbwb.es.js} +2 -2
  248. package/dist/chunks/{text-BVYJmhjj.es.js.map → text-DvqDjbwb.es.js.map} +1 -1
  249. package/dist/chunks/{text-input-B5tizBg4.cjs.js → text-input-D0ehU383.cjs.js} +2 -2
  250. package/dist/chunks/text-input-D0ehU383.cjs.js.map +1 -0
  251. package/dist/chunks/{text-input-DBFEKmrv.es.js → text-input-QGJNax-6.es.js} +14 -8
  252. package/dist/chunks/text-input-QGJNax-6.es.js.map +1 -0
  253. package/dist/chunks/text-input-field-KEntobaR.cjs.js +2 -0
  254. package/dist/chunks/text-input-field-KEntobaR.cjs.js.map +1 -0
  255. package/dist/chunks/text-input-field-rt2r9i_0.es.js +55 -0
  256. package/dist/chunks/text-input-field-rt2r9i_0.es.js.map +1 -0
  257. package/dist/chunks/{time-input-DWrgu6Yp.cjs.js → time-input-5HlWzEKi.cjs.js} +2 -2
  258. package/dist/chunks/{time-input-DWrgu6Yp.cjs.js.map → time-input-5HlWzEKi.cjs.js.map} +1 -1
  259. package/dist/chunks/{time-input-BJ1nDsyZ.es.js → time-input-DEJ9mSMK.es.js} +4 -4
  260. package/dist/chunks/{time-input-BJ1nDsyZ.es.js.map → time-input-DEJ9mSMK.es.js.map} +1 -1
  261. package/dist/chunks/{toggle-button-mL9CAReh.cjs.js → toggle-button-B2n8jZpx.cjs.js} +2 -2
  262. package/dist/chunks/{toggle-button-mL9CAReh.cjs.js.map → toggle-button-B2n8jZpx.cjs.js.map} +1 -1
  263. package/dist/chunks/{toggle-button-Dm4hPGPr.es.js → toggle-button-BFF8f8hk.es.js} +4 -4
  264. package/dist/chunks/{toggle-button-Dm4hPGPr.es.js.map → toggle-button-BFF8f8hk.es.js.map} +1 -1
  265. package/dist/chunks/toggle-button-group-Lfn3zYmC.cjs.js.map +1 -1
  266. package/dist/chunks/{toggle-button-group-DMH0nd7S.es.js → toggle-button-group-P0oS-q6h.es.js} +2 -2
  267. package/dist/chunks/toggle-button-group-P0oS-q6h.es.js.map +1 -0
  268. package/dist/chunks/{toolbar-Df-6gFqW.cjs.js → toolbar-AAOkoSJS.cjs.js} +2 -2
  269. package/dist/chunks/{toolbar-Df-6gFqW.cjs.js.map → toolbar-AAOkoSJS.cjs.js.map} +1 -1
  270. package/dist/chunks/{toolbar-wCiInDj2.es.js → toolbar-BQLSIrsK.es.js} +6 -6
  271. package/dist/chunks/{toolbar-wCiInDj2.es.js.map → toolbar-BQLSIrsK.es.js.map} +1 -1
  272. package/dist/chunks/{tooltip-Aar_qzmT.cjs.js → tooltip-Bv-QlJ1O.cjs.js} +2 -2
  273. package/dist/chunks/{tooltip-Aar_qzmT.cjs.js.map → tooltip-Bv-QlJ1O.cjs.js.map} +1 -1
  274. package/dist/chunks/{tooltip-CDmtIjmS.es.js → tooltip-CzEuq_Qi.es.js} +51 -18
  275. package/dist/chunks/{tooltip-CDmtIjmS.es.js.map → tooltip-CzEuq_Qi.es.js.map} +1 -1
  276. package/dist/chunks/{useButton-C6AOJI9V.es.js → useButton-B2TbwHSy.es.js} +4 -4
  277. package/dist/chunks/{useButton-C6AOJI9V.es.js.map → useButton-B2TbwHSy.es.js.map} +1 -1
  278. package/dist/chunks/{useDateFormatter-eE8d1TkO.es.js → useDateFormatter-CO08GpLe.es.js} +4 -4
  279. package/dist/chunks/{useDateFormatter-eE8d1TkO.es.js.map → useDateFormatter-CO08GpLe.es.js.map} +1 -1
  280. package/dist/chunks/{useDisclosureState-D1JuSOd2.es.js → useDisclosureState-BqxwXawT.es.js} +3 -3
  281. package/dist/chunks/{useDisclosureState-D1JuSOd2.es.js.map → useDisclosureState-BqxwXawT.es.js.map} +1 -1
  282. package/dist/chunks/{useEvent-9dPxQ57C.es.js → useEvent-D8bTsAyx.es.js} +4 -4
  283. package/dist/chunks/{useEvent-9dPxQ57C.es.js.map → useEvent-D8bTsAyx.es.js.map} +1 -1
  284. package/dist/chunks/{useField-pcfe8gKN.es.js → useField-BfW84CS4.es.js} +8 -8
  285. package/dist/chunks/{useField-pcfe8gKN.es.js.map → useField-BfW84CS4.es.js.map} +1 -1
  286. package/dist/chunks/{useFocus-Q2wBJr4c.es.js → useFocus-TCNvrvTC.es.js} +2 -2
  287. package/dist/chunks/{useFocus-Q2wBJr4c.es.js.map → useFocus-TCNvrvTC.es.js.map} +1 -1
  288. package/dist/chunks/{useFocusRing-4xTd5aPf.es.js → useFocusRing-oMAqzr3e.es.js} +4 -4
  289. package/dist/chunks/{useFocusRing-4xTd5aPf.es.js.map → useFocusRing-oMAqzr3e.es.js.map} +1 -1
  290. package/dist/chunks/{useFocusVisible-Cqoc10KD.es.js → useFocusVisible-Uw6yFmFY.es.js} +6 -6
  291. package/dist/chunks/{useFocusVisible-Cqoc10KD.es.js.map → useFocusVisible-Uw6yFmFY.es.js.map} +1 -1
  292. package/dist/chunks/{useFocusWithin-CmZPz1jk.es.js → useFocusWithin-nAsP7Ru3.es.js} +2 -2
  293. package/dist/chunks/{useFocusWithin-CmZPz1jk.es.js.map → useFocusWithin-nAsP7Ru3.es.js.map} +1 -1
  294. package/dist/chunks/{useFocusable-Dhchq_tH.es.js → useFocusable-Bm-DQaak.es.js} +5 -5
  295. package/dist/chunks/{useFocusable-Dhchq_tH.es.js.map → useFocusable-Bm-DQaak.es.js.map} +1 -1
  296. package/dist/chunks/{useFormReset-3ffKrKus.es.js → useFormReset-C52dSDoe.es.js} +2 -2
  297. package/dist/chunks/{useFormReset-3ffKrKus.es.js.map → useFormReset-C52dSDoe.es.js.map} +1 -1
  298. package/dist/chunks/{useFormValidation-CsBzLHWo.es.js → useFormValidation-DxDV9X1M.es.js} +3 -3
  299. package/dist/chunks/{useFormValidation-CsBzLHWo.es.js.map → useFormValidation-DxDV9X1M.es.js.map} +1 -1
  300. package/dist/chunks/{useGridListItem-WBYPB9KF.es.js → useGridListItem-F3yPBTEW.es.js} +10 -10
  301. package/dist/chunks/{useGridListItem-WBYPB9KF.es.js.map → useGridListItem-F3yPBTEW.es.js.map} +1 -1
  302. package/dist/chunks/{useHasTabbableChild-Dd6zlnRC.es.js → useHasTabbableChild-DemFbZRn.es.js} +3 -3
  303. package/dist/chunks/{useHasTabbableChild-Dd6zlnRC.es.js.map → useHasTabbableChild-DemFbZRn.es.js.map} +1 -1
  304. package/dist/chunks/{useHover-B62SXQZ1.es.js → useHover-BtRK9g2L.es.js} +2 -2
  305. package/dist/chunks/{useHover-B62SXQZ1.es.js.map → useHover-BtRK9g2L.es.js.map} +1 -1
  306. package/dist/chunks/{useLabel-Dy7MtUCn.es.js → useLabel-DfbcmKTa.es.js} +5 -5
  307. package/dist/chunks/{useLabel-Dy7MtUCn.es.js.map → useLabel-DfbcmKTa.es.js.map} +1 -1
  308. package/dist/chunks/{useLabels-DwkgAC0N.es.js → useLabels-Gn8v9XZB.es.js} +2 -2
  309. package/dist/chunks/{useLabels-DwkgAC0N.es.js.map → useLabels-Gn8v9XZB.es.js.map} +1 -1
  310. package/dist/chunks/{useListState-BFNT8oUW.es.js → useListState-BkVh9WsE.es.js} +2 -2
  311. package/dist/chunks/{useListState-BFNT8oUW.es.js.map → useListState-BkVh9WsE.es.js.map} +1 -1
  312. package/dist/chunks/{usePress-HeLch-fy.es.js → usePress-C_IPaF8I.es.js} +6 -6
  313. package/dist/chunks/{usePress-HeLch-fy.es.js.map → usePress-C_IPaF8I.es.js.map} +1 -1
  314. package/dist/chunks/{useProgressBar-B2to0nHL.es.js → useProgressBar-DCj794Zv.es.js} +7 -7
  315. package/dist/chunks/{useProgressBar-B2to0nHL.es.js.map → useProgressBar-DCj794Zv.es.js.map} +1 -1
  316. package/dist/chunks/{useSingleSelectListState-DcU-tU_H.es.js → useSingleSelectListState-BszJZd-K.es.js} +2 -2
  317. package/dist/chunks/{useSingleSelectListState-DcU-tU_H.es.js.map → useSingleSelectListState-BszJZd-K.es.js.map} +1 -1
  318. package/dist/chunks/{useSpinButton-BXv98XYF.es.js → useSpinButton-BiQ20B5n.es.js} +15 -15
  319. package/dist/chunks/{useSpinButton-BXv98XYF.es.js.map → useSpinButton-BiQ20B5n.es.js.map} +1 -1
  320. package/dist/chunks/{useSyncRef-CGglUgYU.es.js → useSyncRef-DmY05o2G.es.js} +2 -2
  321. package/dist/chunks/{useSyncRef-CGglUgYU.es.js.map → useSyncRef-DmY05o2G.es.js.map} +1 -1
  322. package/dist/chunks/{useTextField-DbxpGgV5.es.js → useTextField-9WuJfc9u.es.js} +7 -7
  323. package/dist/chunks/{useTextField-DbxpGgV5.es.js.map → useTextField-9WuJfc9u.es.js.map} +1 -1
  324. package/dist/chunks/{useToggle-XQtoJnll.es.js → useToggle-BZPMewLP.es.js} +5 -5
  325. package/dist/chunks/{useToggle-XQtoJnll.es.js.map → useToggle-BZPMewLP.es.js.map} +1 -1
  326. package/dist/chunks/{useToolbar-DGsUdEv7.es.js → useToolbar-C673xD3E.es.js} +3 -3
  327. package/dist/chunks/{useToolbar-DGsUdEv7.es.js.map → useToolbar-C673xD3E.es.js.map} +1 -1
  328. package/dist/chunks/{utils-_m_bPtjI.es.js → utils-9vu7GUaz.es.js} +2 -2
  329. package/dist/chunks/{utils-_m_bPtjI.es.js.map → utils-9vu7GUaz.es.js.map} +1 -1
  330. package/dist/chunks/{utils-Be2JRmv-.es.js → utils-Bl-3nKLa.es.js} +6 -6
  331. package/dist/chunks/{utils-Be2JRmv-.es.js.map → utils-Bl-3nKLa.es.js.map} +1 -1
  332. package/dist/chunks/{visually-hidden-BmFEAQP9.es.js → visually-hidden-m5QY9YV7.es.js} +2 -2
  333. package/dist/chunks/{visually-hidden-BmFEAQP9.es.js.map → visually-hidden-m5QY9YV7.es.js.map} +1 -1
  334. package/dist/components/accordion/accordion.d.ts +116 -11
  335. package/dist/components/accordion/accordion.recipe.d.ts +13 -13
  336. package/dist/components/accordion/accordion.slots.d.ts +5 -5
  337. package/dist/components/accordion/accordion.types.d.ts +15 -5
  338. package/dist/components/accordion/components/accordion.content.d.ts +12 -0
  339. package/dist/components/accordion/components/accordion.header-right-content.d.ts +13 -0
  340. package/dist/components/accordion/components/accordion.header.d.ts +13 -0
  341. package/dist/components/accordion/components/accordion.item.d.ts +13 -0
  342. package/dist/components/accordion/components/accordion.root.d.ts +12 -0
  343. package/dist/components/accordion/components/index.d.ts +5 -0
  344. package/dist/components/accordion.cjs +1 -1
  345. package/dist/components/accordion.es.js +8 -7
  346. package/dist/components/accordion.es.js.map +1 -1
  347. package/dist/components/alert/alert.d.ts +84 -5
  348. package/dist/components/alert/alert.slots.d.ts +5 -5
  349. package/dist/components/alert/alert.types.d.ts +5 -4
  350. package/dist/components/alert/components/alert.actions.d.ts +5 -0
  351. package/dist/components/alert/components/alert.description.d.ts +5 -0
  352. package/dist/components/alert/components/alert.dismiss-button.d.ts +5 -0
  353. package/dist/components/alert/components/alert.root.d.ts +2 -4
  354. package/dist/components/alert/components/alert.title.d.ts +5 -0
  355. package/dist/components/alert/components/index.d.ts +5 -0
  356. package/dist/components/alert.cjs +1 -1
  357. package/dist/components/alert.es.js +1 -1
  358. package/dist/components/avatar/avatar.d.ts +22 -0
  359. package/dist/components/avatar/avatar.slots.d.ts +1 -1
  360. package/dist/components/avatar/avatar.types.d.ts +2 -1
  361. package/dist/components/avatar.cjs +1 -1
  362. package/dist/components/avatar.es.js +1 -1
  363. package/dist/components/badge/badge.slots.d.ts +1 -1
  364. package/dist/components/badge/badge.types.d.ts +2 -1
  365. package/dist/components/badge.cjs +1 -1
  366. package/dist/components/badge.es.js +1 -1
  367. package/dist/components/button.cjs +1 -1
  368. package/dist/components/button.es.js +1 -1
  369. package/dist/components/calendar/calendar.slots.d.ts +8 -8
  370. package/dist/components/calendar/calendar.types.d.ts +42 -2
  371. package/dist/components/calendar/components/index.d.ts +3 -0
  372. package/dist/components/calendar.cjs +1 -1
  373. package/dist/components/calendar.es.js +1 -1
  374. package/dist/components/card/card.d.ts +66 -4
  375. package/dist/components/card/card.slots.d.ts +5 -8
  376. package/dist/components/card/card.types.d.ts +4 -3
  377. package/dist/components/card/components/card.content.d.ts +5 -0
  378. package/dist/components/card/components/card.header.d.ts +5 -0
  379. package/dist/components/card/components/card.root.d.ts +3 -5
  380. package/dist/components/card/components/index.d.ts +3 -0
  381. package/dist/components/card.cjs +1 -1
  382. package/dist/components/card.es.js +1 -1
  383. package/dist/components/checkbox/checkbox.slots.d.ts +5 -5
  384. package/dist/components/checkbox/checkbox.types.d.ts +4 -3
  385. package/dist/components/checkbox.cjs +1 -1
  386. package/dist/components/checkbox.es.js +1 -1
  387. package/dist/components/collapsible-motion/collapsible-motion.d.ts +1 -3
  388. package/dist/components/collapsible-motion/collapsible-motion.slots.d.ts +2 -2
  389. package/dist/components/collapsible-motion/collapsible-motion.types.d.ts +4 -3
  390. package/dist/components/collapsible-motion/components/collapsible-motion-content.d.ts +3 -1
  391. package/dist/components/collapsible-motion/components/collapsible-motion-root.d.ts +2 -0
  392. package/dist/components/collapsible-motion/components/collapsible-motion-trigger.d.ts +3 -1
  393. package/dist/components/collapsible-motion/components/index.d.ts +3 -0
  394. package/dist/components/collapsible-motion/index.d.ts +1 -1
  395. package/dist/components/collapsible-motion.cjs +1 -1
  396. package/dist/components/collapsible-motion.es.js +5 -2
  397. package/dist/components/combobox/combobox.d.ts +44 -4
  398. package/dist/components/combobox/combobox.recipe.d.ts +1 -1
  399. package/dist/components/combobox/combobox.slots.d.ts +15 -13
  400. package/dist/components/combobox/combobox.types.d.ts +6 -5
  401. package/dist/components/combobox/components/combobox.leading-element.d.ts +2 -0
  402. package/dist/components/combobox/components/combobox.multi-select-button-group.d.ts +5 -0
  403. package/dist/components/combobox/components/combobox.multi-select-root.d.ts +5 -0
  404. package/dist/components/combobox/components/combobox.multi-select-tag-group.d.ts +5 -0
  405. package/dist/components/combobox/components/combobox.option-group.d.ts +5 -0
  406. package/dist/components/combobox/components/combobox.option.d.ts +5 -0
  407. package/dist/components/combobox/components/combobox.options.d.ts +5 -0
  408. package/dist/components/combobox/components/combobox.root.d.ts +1 -1
  409. package/dist/components/combobox/components/combobox.single-select-button-group.d.ts +5 -0
  410. package/dist/components/combobox/components/combobox.single-select-input.d.ts +5 -0
  411. package/dist/components/combobox/components/combobox.single-select-root.d.ts +5 -0
  412. package/dist/components/combobox/components/index.d.ts +11 -0
  413. package/dist/components/combobox.cjs +1 -1
  414. package/dist/components/combobox.es.js +2 -5
  415. package/dist/components/components.cjs +1 -1
  416. package/dist/components/components.es.js +6 -9
  417. package/dist/components/data-table/components/data-table.body.d.ts +5 -0
  418. package/dist/components/data-table/components/data-table.cell.d.ts +9 -1
  419. package/dist/components/data-table/components/data-table.column.d.ts +5 -0
  420. package/dist/components/data-table/components/data-table.footer.d.ts +5 -0
  421. package/dist/components/data-table/components/data-table.header.d.ts +5 -0
  422. package/dist/components/data-table/components/data-table.root.d.ts +5 -0
  423. package/dist/components/data-table/components/data-table.table.d.ts +5 -0
  424. package/dist/components/data-table/components/index.d.ts +10 -0
  425. package/dist/components/data-table/data-table.d.ts +212 -13
  426. package/dist/components/data-table/data-table.recipe.d.ts +1 -1
  427. package/dist/components/data-table/data-table.slots.d.ts +12 -12
  428. package/dist/components/data-table/data-table.types.d.ts +2 -1
  429. package/dist/components/data-table.cjs +1 -1
  430. package/dist/components/data-table.es.js +1 -1
  431. package/dist/components/date-input/date-input.slots.d.ts +5 -5
  432. package/dist/components/date-input.cjs +1 -1
  433. package/dist/components/date-input.es.js +1 -1
  434. package/dist/components/date-picker/components/date-picker.custom-context.d.ts +6 -0
  435. package/dist/components/date-picker/components/date-picker.time-input.d.ts +8 -0
  436. package/dist/components/date-picker/components/index.d.ts +2 -0
  437. package/dist/components/date-picker/date-picker.recipe.d.ts +1 -1
  438. package/dist/components/date-picker/date-picker.slots.d.ts +6 -6
  439. package/dist/components/date-picker/date-picker.types.d.ts +2 -1
  440. package/dist/components/date-picker.cjs +1 -1
  441. package/dist/components/date-picker.es.js +1 -1
  442. package/dist/components/date-range-picker/date-range-picker.d.ts +2 -0
  443. package/dist/components/date-range-picker/date-range-picker.recipe.d.ts +1 -1
  444. package/dist/components/date-range-picker/date-range-picker.slots.d.ts +8 -8
  445. package/dist/components/date-range-picker-field.cjs +1 -1
  446. package/dist/components/date-range-picker-field.es.js +1 -1
  447. package/dist/components/date-range-picker.cjs +1 -1
  448. package/dist/components/date-range-picker.es.js +1 -1
  449. package/dist/components/dialog/components/dialog.body.d.ts +5 -0
  450. package/dist/components/dialog/components/dialog.close-trigger.d.ts +5 -0
  451. package/dist/components/dialog/components/dialog.content.d.ts +5 -0
  452. package/dist/components/dialog/components/dialog.footer.d.ts +5 -0
  453. package/dist/components/dialog/components/dialog.header.d.ts +5 -0
  454. package/dist/components/dialog/components/dialog.root.d.ts +5 -0
  455. package/dist/components/dialog/components/dialog.title.d.ts +5 -0
  456. package/dist/components/dialog/components/dialog.trigger.d.ts +5 -0
  457. package/dist/components/dialog/dialog.slots.d.ts +10 -19
  458. package/dist/components/dialog/dialog.types.d.ts +9 -8
  459. package/dist/components/dialog.cjs +1 -1
  460. package/dist/components/dialog.es.js +1 -1
  461. package/dist/components/draggable-list/components/draggable-list.field.d.ts +12 -1
  462. package/dist/components/draggable-list/components/draggable-list.item.d.ts +12 -1
  463. package/dist/components/draggable-list/components/draggable-list.root.d.ts +12 -1
  464. package/dist/components/draggable-list/components/index.d.ts +3 -0
  465. package/dist/components/draggable-list/draggable-list.d.ts +13 -6
  466. package/dist/components/draggable-list/draggable-list.slots.d.ts +4 -4
  467. package/dist/components/draggable-list.cjs +1 -1
  468. package/dist/components/draggable-list.es.js +1 -1
  469. package/dist/components/drawer/components/drawer.body.d.ts +5 -0
  470. package/dist/components/drawer/components/drawer.close-trigger.d.ts +5 -0
  471. package/dist/components/drawer/components/drawer.content.d.ts +5 -0
  472. package/dist/components/drawer/components/drawer.footer.d.ts +5 -0
  473. package/dist/components/drawer/components/drawer.header.d.ts +5 -0
  474. package/dist/components/drawer/components/drawer.title.d.ts +5 -0
  475. package/dist/components/drawer/components/drawer.trigger.d.ts +5 -0
  476. package/dist/components/drawer/drawer.slots.d.ts +10 -10
  477. package/dist/components/drawer/drawer.types.d.ts +28 -12
  478. package/dist/components/drawer/index.d.ts +1 -1
  479. package/dist/components/drawer.cjs +1 -1
  480. package/dist/components/drawer.es.js +10 -2
  481. package/dist/components/field-errors/field-errors.d.ts +4 -0
  482. package/dist/components/field-errors/field-errors.slots.d.ts +4 -6
  483. package/dist/components/field-errors/field-errors.types.d.ts +7 -21
  484. package/dist/components/field-errors/index.d.ts +1 -1
  485. package/dist/components/fields.cjs +1 -1
  486. package/dist/components/fields.es.js +4 -2
  487. package/dist/components/fields.es.js.map +1 -1
  488. package/dist/components/form-field/components/form-field.description.d.ts +9 -1
  489. package/dist/components/form-field/components/form-field.error.d.ts +9 -1
  490. package/dist/components/form-field/components/form-field.info-box.d.ts +9 -1
  491. package/dist/components/form-field/components/form-field.input.d.ts +9 -1
  492. package/dist/components/form-field/components/form-field.label.d.ts +9 -1
  493. package/dist/components/form-field/components/form-field.root.d.ts +6 -3
  494. package/dist/components/form-field/components/index.d.ts +6 -0
  495. package/dist/components/form-field/form-field.d.ts +142 -14
  496. package/dist/components/form-field/form-field.recipe.d.ts +1 -1
  497. package/dist/components/form-field/form-field.slots.d.ts +7 -6
  498. package/dist/components/form-field/form-field.types.d.ts +6 -5
  499. package/dist/components/form-field.cjs +1 -1
  500. package/dist/components/form-field.es.js +1 -1
  501. package/dist/components/group.es.js +1 -1
  502. package/dist/components/heading.es.js +1 -1
  503. package/dist/components/icon-button.cjs +1 -1
  504. package/dist/components/icon-button.es.js +1 -1
  505. package/dist/components/icon-toggle-button.cjs +1 -1
  506. package/dist/components/icon-toggle-button.es.js +1 -1
  507. package/dist/components/inline-svg/inline-svg.slots.d.ts +1 -1
  508. package/dist/components/kbd.es.js +1 -1
  509. package/dist/components/link/link.slots.d.ts +1 -1
  510. package/dist/components/link.es.js +1 -1
  511. package/dist/components/loading-spinner/loading-spinner.slots.d.ts +1 -1
  512. package/dist/components/loading-spinner/loading-spinner.types.d.ts +1 -1
  513. package/dist/components/loading-spinner.es.js +1 -1
  514. package/dist/components/localized-field/components/index.d.ts +2 -0
  515. package/dist/components/localized-field/components/localized-field.locale-field.d.ts +9 -0
  516. package/dist/components/localized-field/components/localized-field.root.d.ts +9 -0
  517. package/dist/components/localized-field/localized-field.d.ts +28 -0
  518. package/dist/components/localized-field/localized-field.slots.d.ts +10 -10
  519. package/dist/components/localized-field/localized-field.types.d.ts +2 -1
  520. package/dist/components/localized-field/utils/localized-field.utils.d.ts +2 -2
  521. package/dist/components/localized-field.cjs +1 -1
  522. package/dist/components/localized-field.es.js +1 -1
  523. package/dist/components/menu/menu.recipe.d.ts +1 -1
  524. package/dist/components/menu/menu.slots.d.ts +8 -8
  525. package/dist/components/menu/menu.types.d.ts +8 -2
  526. package/dist/components/money-input/money-input.slots.d.ts +6 -6
  527. package/dist/components/money-input/money-input.types.d.ts +3 -2
  528. package/dist/components/money-input.cjs +1 -1
  529. package/dist/components/money-input.es.js +1 -1
  530. package/dist/components/multiline-text-input/hooks/use-autogrow.d.ts +2 -2
  531. package/dist/components/multiline-text-input/multiline-text-input.slots.d.ts +3 -3
  532. package/dist/components/multiline-text-input/multiline-text-input.types.d.ts +2 -1
  533. package/dist/components/multiline-text-input.cjs +1 -1
  534. package/dist/components/multiline-text-input.es.js +1 -1
  535. package/dist/components/nimbus-provider.cjs +1 -1
  536. package/dist/components/nimbus-provider.es.js +1 -1
  537. package/dist/components/number-input/number-input.slots.d.ts +6 -6
  538. package/dist/components/number-input/number-input.types.d.ts +3 -2
  539. package/dist/components/number-input.cjs +1 -1
  540. package/dist/components/number-input.es.js +1 -1
  541. package/dist/components/pagination.cjs +1 -1
  542. package/dist/components/pagination.es.js +1 -1
  543. package/dist/components/password-input.cjs +1 -1
  544. package/dist/components/password-input.es.js +1 -1
  545. package/dist/components/patterns.cjs +1 -1
  546. package/dist/components/patterns.es.js +4 -2
  547. package/dist/components/patterns.es.js.map +1 -1
  548. package/dist/components/popover.es.js +1 -1
  549. package/dist/components/progress-bar/progress-bar.slots.d.ts +6 -6
  550. package/dist/components/progress-bar/progress-bar.types.d.ts +4 -4
  551. package/dist/components/progress-bar.cjs +1 -1
  552. package/dist/components/progress-bar.es.js +1 -1
  553. package/dist/components/radio-input/components/index.d.ts +2 -0
  554. package/dist/components/radio-input/components/radio-input.option.d.ts +8 -0
  555. package/dist/components/radio-input/components/radio-input.root.d.ts +2 -1
  556. package/dist/components/radio-input/radio-input.d.ts +28 -3
  557. package/dist/components/radio-input/radio-input.slots.d.ts +2 -2
  558. package/dist/components/radio-input/radio-input.types.d.ts +3 -2
  559. package/dist/components/radio-input.cjs +1 -1
  560. package/dist/components/radio-input.es.js +2 -4
  561. package/dist/components/range-calendar/components/index.d.ts +3 -0
  562. package/dist/components/range-calendar/components/range-calendar.grids.d.ts +6 -0
  563. package/dist/components/range-calendar/components/range-calendar.header.d.ts +6 -0
  564. package/dist/components/range-calendar/range-calendar.d.ts +15 -1
  565. package/dist/components/range-calendar/range-calendar.slots.d.ts +8 -8
  566. package/dist/components/range-calendar/range-calendar.types.d.ts +3 -2
  567. package/dist/components/range-calendar.cjs +1 -1
  568. package/dist/components/range-calendar.es.js +1 -1
  569. package/dist/components/rich-text-input/components/index.d.ts +3 -0
  570. package/dist/components/rich-text-input/rich-text-input.slots.d.ts +2 -2
  571. package/dist/components/rich-text-input.cjs +1 -1
  572. package/dist/components/rich-text-input.es.js +1 -1
  573. package/dist/components/scoped-search-input/scoped-search-input.d.ts +10 -0
  574. package/dist/components/scoped-search-input/scoped-search-input.slots.d.ts +6 -6
  575. package/dist/components/scoped-search-input/scoped-search-input.types.d.ts +2 -1
  576. package/dist/components/scoped-search-input.cjs +1 -1
  577. package/dist/components/scoped-search-input.es.js +1 -1
  578. package/dist/components/search-input/search-input.d.ts +3 -0
  579. package/dist/components/search-input/search-input.slots.d.ts +5 -12
  580. package/dist/components/search-input/search-input.types.d.ts +2 -1
  581. package/dist/components/search-input.cjs +1 -1
  582. package/dist/components/search-input.es.js +1 -1
  583. package/dist/components/select/components/index.d.ts +5 -0
  584. package/dist/components/select/components/select.clear-button.d.ts +5 -0
  585. package/dist/components/select/components/select.option-group.d.ts +5 -0
  586. package/dist/components/select/components/select.option.d.ts +5 -0
  587. package/dist/components/select/components/select.options.d.ts +5 -0
  588. package/dist/components/select/components/select.root.d.ts +2 -4
  589. package/dist/components/select/select.d.ts +0 -10
  590. package/dist/components/select/select.slots.d.ts +7 -7
  591. package/dist/components/select/select.types.d.ts +5 -5
  592. package/dist/components/select.cjs +1 -1
  593. package/dist/components/select.es.js +2 -6
  594. package/dist/components/separator/separator.types.d.ts +2 -1
  595. package/dist/components/separator.cjs +1 -1
  596. package/dist/components/separator.es.js +1 -1
  597. package/dist/components/spacer/spacer.types.d.ts +2 -1
  598. package/dist/components/split-button/split-button.d.ts +0 -1
  599. package/dist/components/split-button/split-button.slots.d.ts +3 -3
  600. package/dist/components/split-button.cjs +1 -1
  601. package/dist/components/split-button.es.js +1 -1
  602. package/dist/components/switch/switch.recipe.d.ts +8 -8
  603. package/dist/components/switch/switch.slots.d.ts +3 -3
  604. package/dist/components/switch/switch.types.d.ts +3 -2
  605. package/dist/components/switch.cjs +1 -1
  606. package/dist/components/switch.es.js +1 -1
  607. package/dist/components/tabs/components/index.d.ts +5 -0
  608. package/dist/components/tabs/components/tabs.list.d.ts +3 -1
  609. package/dist/components/tabs/components/tabs.panel.d.ts +1 -1
  610. package/dist/components/tabs/components/tabs.panels.d.ts +1 -1
  611. package/dist/components/tabs/components/tabs.root.d.ts +1 -1
  612. package/dist/components/tabs/components/tabs.tab.d.ts +3 -1
  613. package/dist/components/tabs/tabs.d.ts +98 -6
  614. package/dist/components/tabs/tabs.slots.d.ts +3 -3
  615. package/dist/components/tabs/tabs.types.d.ts +6 -5
  616. package/dist/components/tabs.cjs +1 -1
  617. package/dist/components/tabs.es.js +6 -6
  618. package/dist/components/tag-group/components/index.d.ts +3 -0
  619. package/dist/components/tag-group/components/tag-group.root.d.ts +2 -4
  620. package/dist/components/tag-group/components/tag-group.tag-list.d.ts +5 -0
  621. package/dist/components/tag-group/components/tag-group.tag.d.ts +5 -0
  622. package/dist/components/tag-group/tag-group.d.ts +59 -0
  623. package/dist/components/tag-group/tag-group.types.d.ts +4 -3
  624. package/dist/components/tag-group.cjs +1 -1
  625. package/dist/components/tag-group.es.js +1 -1
  626. package/dist/components/text-input/text-input.slots.d.ts +6 -13
  627. package/dist/components/text-input/text-input.types.d.ts +2 -1
  628. package/dist/components/text-input-field.cjs +2 -0
  629. package/dist/components/text-input-field.cjs.map +1 -0
  630. package/dist/components/text-input-field.es.js +5 -0
  631. package/dist/components/text-input-field.es.js.map +1 -0
  632. package/dist/components/text-input.cjs +1 -1
  633. package/dist/components/text-input.es.js +1 -1
  634. package/dist/components/text.es.js +1 -1
  635. package/dist/components/time-input/time-input.slots.d.ts +5 -5
  636. package/dist/components/time-input.cjs +1 -1
  637. package/dist/components/time-input.es.js +1 -1
  638. package/dist/components/toggle-button-group/components/toggle-button-group.root.d.ts +0 -1
  639. package/dist/components/toggle-button-group.es.js +1 -1
  640. package/dist/components/toggle-button.cjs +1 -1
  641. package/dist/components/toggle-button.es.js +1 -1
  642. package/dist/components/toolbar.cjs +1 -1
  643. package/dist/components/toolbar.es.js +1 -1
  644. package/dist/components/tooltip/components/tooltip.root.d.ts +0 -1
  645. package/dist/components/tooltip/tooltip.d.ts +53 -1
  646. package/dist/components/tooltip/tooltip.types.d.ts +2 -2
  647. package/dist/components/tooltip.cjs +1 -1
  648. package/dist/components/tooltip.es.js +4 -6
  649. package/dist/components/visually-hidden.es.js +1 -1
  650. package/dist/index.cjs +1 -1
  651. package/dist/index.cjs.map +1 -1
  652. package/dist/index.es.js +328 -325
  653. package/dist/index.es.js.map +1 -1
  654. package/dist/patterns/fields/date-range-picker-field/date-range-picker-field.d.ts +5 -18
  655. package/dist/patterns/fields/date-range-picker-field/date-range-picker-field.types.d.ts +2 -2
  656. package/dist/patterns/fields/index.d.ts +1 -0
  657. package/dist/patterns/fields/text-input-field/index.d.ts +2 -0
  658. package/dist/patterns/fields/text-input-field/text-input-field.d.ts +28 -0
  659. package/dist/patterns/fields/text-input-field/text-input-field.types.d.ts +44 -0
  660. package/dist/theme/slot-recipes/index.d.ts +27 -27
  661. package/dist/type-utils/omit-props.d.ts +2 -13
  662. package/package.json +5 -5
  663. package/dist/chunks/accordion-DhybkUP0.cjs.js +0 -2
  664. package/dist/chunks/accordion-DhybkUP0.cjs.js.map +0 -1
  665. package/dist/chunks/accordion-DwkpvHwM.es.js +0 -221
  666. package/dist/chunks/accordion-DwkpvHwM.es.js.map +0 -1
  667. package/dist/chunks/alert-BlkniDy9.cjs.js.map +0 -1
  668. package/dist/chunks/alert-CVXQqjXr.es.js.map +0 -1
  669. package/dist/chunks/avatar-BNhECwD5.cjs.js.map +0 -1
  670. package/dist/chunks/avatar-DFibCsCs.es.js.map +0 -1
  671. package/dist/chunks/avatar.recipe-D3--Rkmb.cjs.js +0 -2
  672. package/dist/chunks/avatar.recipe-D3--Rkmb.cjs.js.map +0 -1
  673. package/dist/chunks/avatar.recipe-DfyPWbFZ.es.js.map +0 -1
  674. package/dist/chunks/badge-CDruffyj.cjs.js +0 -2
  675. package/dist/chunks/badge-CDruffyj.cjs.js.map +0 -1
  676. package/dist/chunks/badge-DojCGTVg.es.js +0 -17
  677. package/dist/chunks/badge-DojCGTVg.es.js.map +0 -1
  678. package/dist/chunks/calendar-BiE914Ki.cjs.js +0 -2
  679. package/dist/chunks/calendar-BiE914Ki.cjs.js.map +0 -1
  680. package/dist/chunks/calendar-D7pzgXqX.es.js.map +0 -1
  681. package/dist/chunks/card-BAS0dyJc.es.js +0 -66
  682. package/dist/chunks/card-BAS0dyJc.es.js.map +0 -1
  683. package/dist/chunks/card-BxfzRkn1.cjs.js +0 -2
  684. package/dist/chunks/card-BxfzRkn1.cjs.js.map +0 -1
  685. package/dist/chunks/collapsible-motion-CUcSKaFQ.cjs.js +0 -2
  686. package/dist/chunks/collapsible-motion-CUcSKaFQ.cjs.js.map +0 -1
  687. package/dist/chunks/collapsible-motion-CqJQvrAr.es.js +0 -83
  688. package/dist/chunks/collapsible-motion-CqJQvrAr.es.js.map +0 -1
  689. package/dist/chunks/date-picker-BzSXCoJ0.cjs.js +0 -2
  690. package/dist/chunks/date-picker-BzSXCoJ0.cjs.js.map +0 -1
  691. package/dist/chunks/date-picker-Zz2Sp3S6.es.js.map +0 -1
  692. package/dist/chunks/date-range-picker-field-BUaFYM2O.es.js +0 -62
  693. package/dist/chunks/date-range-picker-field-BUaFYM2O.es.js.map +0 -1
  694. package/dist/chunks/date-range-picker-field-CS0YU89_.cjs.js +0 -2
  695. package/dist/chunks/date-range-picker-field-CS0YU89_.cjs.js.map +0 -1
  696. package/dist/chunks/dialog-D7sGE9KU.cjs.js +0 -2
  697. package/dist/chunks/dialog-D7sGE9KU.cjs.js.map +0 -1
  698. package/dist/chunks/dialog-DPpvAxDq.es.js +0 -165
  699. package/dist/chunks/dialog-DPpvAxDq.es.js.map +0 -1
  700. package/dist/chunks/dialog.close-trigger-BhUQxKIh.es.js +0 -152
  701. package/dist/chunks/dialog.close-trigger-BhUQxKIh.es.js.map +0 -1
  702. package/dist/chunks/dialog.close-trigger-Y9dS7xOy.cjs.js.map +0 -1
  703. package/dist/chunks/drawer-DZ75mvzL.cjs.js +0 -2
  704. package/dist/chunks/drawer-DZ75mvzL.cjs.js.map +0 -1
  705. package/dist/chunks/drawer-ZczUeqdd.es.js.map +0 -1
  706. package/dist/chunks/form-field-C25xvMEM.es.js +0 -231
  707. package/dist/chunks/form-field-C25xvMEM.es.js.map +0 -1
  708. package/dist/chunks/form-field-CpRzgqpq.cjs.js +0 -2
  709. package/dist/chunks/form-field-CpRzgqpq.cjs.js.map +0 -1
  710. package/dist/chunks/index-8m2zx8YL.cjs.js +0 -34
  711. package/dist/chunks/index-8m2zx8YL.cjs.js.map +0 -1
  712. package/dist/chunks/index-B7wlrXvj.es.js.map +0 -1
  713. package/dist/chunks/localized-field-ByW-vsvR.cjs.js.map +0 -1
  714. package/dist/chunks/localized-field-DyZpSuGk.es.js.map +0 -1
  715. package/dist/chunks/menu-CJeqjRAs.cjs.js +0 -2
  716. package/dist/chunks/menu-CJeqjRAs.cjs.js.map +0 -1
  717. package/dist/chunks/menu-CaSPNND_.es.js.map +0 -1
  718. package/dist/chunks/multiline-text-input-BWEsaxf_.cjs.js.map +0 -1
  719. package/dist/chunks/multiline-text-input-DqLmTSr5.es.js.map +0 -1
  720. package/dist/chunks/progress-bar-CYd6T1Ax.es.js +0 -77
  721. package/dist/chunks/progress-bar-CYd6T1Ax.es.js.map +0 -1
  722. package/dist/chunks/progress-bar-Dx9Zr5Yh.cjs.js +0 -2
  723. package/dist/chunks/progress-bar-Dx9Zr5Yh.cjs.js.map +0 -1
  724. package/dist/chunks/radio-input-yA7MF_jw.cjs.js +0 -2
  725. package/dist/chunks/range-calendar-D6nonjnz.es.js.map +0 -1
  726. package/dist/chunks/range-calendar-DhKTQPnz.cjs.js +0 -2
  727. package/dist/chunks/range-calendar-DhKTQPnz.cjs.js.map +0 -1
  728. package/dist/chunks/rich-text-input-CViBsj3Y.cjs.js +0 -10
  729. package/dist/chunks/rich-text-input-CViBsj3Y.cjs.js.map +0 -1
  730. package/dist/chunks/rich-text-input-hBorJHFw.es.js.map +0 -1
  731. package/dist/chunks/scoped-search-input-B7rDiJuj.es.js.map +0 -1
  732. package/dist/chunks/scoped-search-input-C6B7Szzk.cjs.js.map +0 -1
  733. package/dist/chunks/select-wD3QlanS.cjs.js +0 -2
  734. package/dist/chunks/text-input-B5tizBg4.cjs.js.map +0 -1
  735. package/dist/chunks/text-input-DBFEKmrv.es.js.map +0 -1
  736. package/dist/chunks/toggle-button-group-DMH0nd7S.es.js.map +0 -1
  737. package/dist/components/accordion/components/accordion-content.d.ts +0 -2
  738. package/dist/components/accordion/components/accordion-header.d.ts +0 -2
  739. package/dist/components/accordion/components/accordion-item.d.ts +0 -2
  740. package/dist/components/accordion/components/accordion-root.d.ts +0 -9
@@ -0,0 +1,2 @@
1
+ "use strict";const d=require("react/jsx-runtime"),f=require("react"),e=require("@chakra-ui/react"),i=require("./badge.recipe-Cu6u9yqC.cjs.js"),u=require("./useObjectRef-4v2MxSjQ.cjs.js"),R=require("./mergeProps-CxnHrnow.cjs.js"),{withContext:p}=e.createRecipeContext({recipe:i.badgeRecipe}),b=p("span"),r=t=>{const{ref:c,children:s,...o}=t,n=f.useRef(null),a=u.$df56164dff5785e2$export$4338b53315abf666(e.mergeRefs(n,c));return d.jsx(b,{...R.$3ef42575df84b30b$export$9d1611c77c2fe928(o,{ref:a}),children:s})};r.displayName="Badge";exports.Badge=r;
2
+ //# sourceMappingURL=badge-5F6i4KSF.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge-5F6i4KSF.cjs.js","sources":["../../src/components/badge/badge.slots.tsx","../../src/components/badge/badge.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react\";\nimport { badgeRecipe } from \"./badge.recipe\";\nimport type { BadgeRootSlotProps } from \"./badge.types\";\n\nconst { withContext } = createRecipeContext({ recipe: badgeRecipe });\n\nexport const BadgeRoot = withContext<HTMLSpanElement, BadgeRootSlotProps>(\n \"span\"\n);\n","import { useRef } from \"react\";\nimport { BadgeRoot } from \"./badge.slots\";\nimport type { BadgeProps } from \"./badge.types\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useObjectRef, mergeProps } from \"react-aria\";\n/**\n * # Badge\n *\n * Briefly highlights or categorizes associated UI elements with concise visual cues for status or metadata.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/data-display/badge}\n */\n\nexport const Badge = (props: BadgeProps) => {\n const { ref: forwardedRef, children, ...rest } = props;\n\n const localRef = useRef<HTMLSpanElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n return <BadgeRoot {...mergeProps(rest, { ref })}>{children}</BadgeRoot>;\n};\n\nBadge.displayName = \"Badge\";\n"],"names":["withContext","createRecipeContext","badgeRecipe","BadgeRoot","Badge","props","forwardedRef","children","rest","localRef","useRef","ref","useObjectRef","mergeRefs","jsx","mergeProps"],"mappings":"qOAIM,CAAE,YAAAA,CAAA,EAAgBC,EAAAA,oBAAoB,CAAE,OAAQC,EAAAA,YAAa,EAEtDC,EAAYH,EACvB,MACF,ECKaI,EAASC,GAAsB,CAC1C,KAAM,CAAE,IAAKC,EAAc,SAAAC,EAAU,GAAGC,GAASH,EAE3CI,EAAWC,EAAAA,OAAwB,IAAI,EACvCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUH,CAAY,CAAC,EAE1D,OAAOQ,EAAAA,IAACX,GAAW,GAAGY,EAAAA,0CAAWP,EAAM,CAAE,IAAAG,CAAA,CAAK,EAAI,SAAAJ,EAAS,CAC7D,EAEAH,EAAM,YAAc"}
@@ -0,0 +1,17 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { useRef as c } from "react";
3
+ import { createRecipeContext as m, mergeRefs as p } from "@chakra-ui/react";
4
+ import { b as d } from "./badge.recipe-DsV4A_UD.es.js";
5
+ import { $ as i } from "./useObjectRef-CaJ5pgjX.es.js";
6
+ import { a as n } from "./mergeProps-D1jjFfMs.es.js";
7
+ const { withContext: R } = /* @__PURE__ */ m({ recipe: d }), $ = /* @__PURE__ */ R(
8
+ "span"
9
+ ), b = (e) => {
10
+ const { ref: o, children: r, ...t } = e, f = c(null), a = i(p(f, o));
11
+ return /* @__PURE__ */ s($, { ...n(t, { ref: a }), children: r });
12
+ };
13
+ b.displayName = "Badge";
14
+ export {
15
+ b as B
16
+ };
17
+ //# sourceMappingURL=badge-DUiqk6w9.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge-DUiqk6w9.es.js","sources":["../../src/components/badge/badge.slots.tsx","../../src/components/badge/badge.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react\";\nimport { badgeRecipe } from \"./badge.recipe\";\nimport type { BadgeRootSlotProps } from \"./badge.types\";\n\nconst { withContext } = createRecipeContext({ recipe: badgeRecipe });\n\nexport const BadgeRoot = withContext<HTMLSpanElement, BadgeRootSlotProps>(\n \"span\"\n);\n","import { useRef } from \"react\";\nimport { BadgeRoot } from \"./badge.slots\";\nimport type { BadgeProps } from \"./badge.types\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useObjectRef, mergeProps } from \"react-aria\";\n/**\n * # Badge\n *\n * Briefly highlights or categorizes associated UI elements with concise visual cues for status or metadata.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/data-display/badge}\n */\n\nexport const Badge = (props: BadgeProps) => {\n const { ref: forwardedRef, children, ...rest } = props;\n\n const localRef = useRef<HTMLSpanElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n return <BadgeRoot {...mergeProps(rest, { ref })}>{children}</BadgeRoot>;\n};\n\nBadge.displayName = \"Badge\";\n"],"names":["withContext","createRecipeContext","badgeRecipe","BadgeRoot","Badge","props","forwardedRef","children","rest","localRef","useRef","ref","useObjectRef","mergeRefs","jsx","mergeProps"],"mappings":";;;;;;AAIA,MAAM,EAAE,aAAAA,EAAA,IAAgB,gBAAAC,EAAoB,EAAE,QAAQC,GAAa,GAEtDC,IAAY,gBAAAH;AAAA,EACvB;AACF,GCKaI,IAAQ,CAACC,MAAsB;AAC1C,QAAM,EAAE,KAAKC,GAAc,UAAAC,GAAU,GAAGC,MAASH,GAE3CI,IAAWC,EAAwB,IAAI,GACvCC,IAAMC,EAAaC,EAAUJ,GAAUH,CAAY,CAAC;AAE1D,SAAO,gBAAAQ,EAACX,KAAW,GAAGY,EAAWP,GAAM,EAAE,KAAAG,EAAA,CAAK,GAAI,UAAAJ,GAAS;AAC7D;AAEAH,EAAM,cAAc;"}
@@ -1 +1 @@
1
- {"version":3,"file":"badge.recipe-Cu6u9yqC.cjs.js","sources":["../../src/components/badge/badge.recipe.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Recipe configuration for the Badge component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const badgeRecipe = defineRecipe({\n className: \"nimbus-badge\",\n\n // Base styles applied to all instances of the component\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"200\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n verticalAlign: \"middle\",\n py: \"25\",\n fontWeight: \"500\",\n backgroundColor: \"colorPalette.3\",\n color: \"colorPalette.11\",\n w: \"auto\",\n userSelect: \"none\",\n _icon: {\n flexShrink: \"0\",\n },\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n size: {\n \"2xs\": {\n fontSize: \"300\",\n gap: \"100\",\n h: \"600\",\n lineHeight: \"350\",\n px: \"200\",\n _icon: {\n width: \"400\",\n height: \"400\",\n },\n },\n xs: {\n fontSize: \"350\",\n gap: \"100\",\n h: \"800\",\n lineHeight: \"400\",\n px: \"300\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n },\n md: {\n fontSize: \"400\",\n gap: \"200\",\n h: \"1000\",\n lineHeight: \"500\",\n px: \"400\",\n _icon: {\n width: \"600\",\n height: \"600\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n size: \"md\",\n },\n});\n"],"names":["badgeRecipe","defineRecipe"],"mappings":"+DAMaA,EAAcC,EAAAA,aAAa,CACtC,UAAW,eAGX,KAAM,CACJ,QAAS,cACT,WAAY,SACZ,aAAc,MACd,eAAgB,SAChB,WAAY,SACZ,cAAe,SACf,GAAI,KACJ,WAAY,MACZ,gBAAiB,iBACjB,MAAO,kBACP,EAAG,OACH,WAAY,OACZ,MAAO,CACL,WAAY,GAAA,CACd,EAIF,SAAU,CACR,KAAM,CACJ,MAAO,CACL,SAAU,MACV,IAAK,MACL,EAAG,MACH,WAAY,MACZ,GAAI,MACJ,MAAO,CACL,MAAO,MACP,OAAQ,KAAA,CACV,EAEF,GAAI,CACF,SAAU,MACV,IAAK,MACL,EAAG,MACH,WAAY,MACZ,GAAI,MACJ,MAAO,CACL,MAAO,MACP,OAAQ,KAAA,CACV,EAEF,GAAI,CACF,SAAU,MACV,IAAK,MACL,EAAG,OACH,WAAY,MACZ,GAAI,MACJ,MAAO,CACL,MAAO,MACP,OAAQ,KAAA,CACV,CACF,CACF,EAIF,gBAAiB,CACf,KAAM,IAAA,CAEV,CAAC"}
1
+ {"version":3,"file":"badge.recipe-Cu6u9yqC.cjs.js","sources":["../../src/components/badge/badge.recipe.ts"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Recipe configuration for the Badge component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const badgeRecipe = defineRecipe({\n className: \"nimbus-badge\",\n\n // Base styles applied to all instances of the component\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"200\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n verticalAlign: \"middle\",\n py: \"25\",\n fontWeight: \"500\",\n backgroundColor: \"colorPalette.3\",\n color: \"colorPalette.11\",\n w: \"auto\",\n userSelect: \"none\",\n _icon: {\n flexShrink: \"0\",\n },\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n size: {\n \"2xs\": {\n fontSize: \"300\",\n gap: \"100\",\n h: \"600\",\n lineHeight: \"350\",\n px: \"200\",\n _icon: {\n width: \"400\",\n height: \"400\",\n },\n },\n xs: {\n fontSize: \"350\",\n gap: \"100\",\n h: \"800\",\n lineHeight: \"400\",\n px: \"300\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n },\n md: {\n fontSize: \"400\",\n gap: \"200\",\n h: \"1000\",\n lineHeight: \"500\",\n px: \"400\",\n _icon: {\n width: \"600\",\n height: \"600\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n size: \"md\",\n },\n});\n"],"names":["badgeRecipe","defineRecipe"],"mappings":"+DAMaA,EAAcC,EAAAA,aAAa,CACtC,UAAW,eAGX,KAAM,CACJ,QAAS,cACT,WAAY,SACZ,aAAc,MACd,eAAgB,SAChB,WAAY,SACZ,cAAe,SACf,GAAI,KACJ,WAAY,MACZ,gBAAiB,iBACjB,MAAO,kBACP,EAAG,OACH,WAAY,OACZ,MAAO,CACL,WAAY,GAAA,CACd,EAIF,SAAU,CACR,KAAM,CACJ,MAAO,CACL,SAAU,MACV,IAAK,MACL,EAAG,MACH,WAAY,MACZ,GAAI,MACJ,MAAO,CACL,MAAO,MACP,OAAQ,KAAA,CACV,EAEF,GAAI,CACF,SAAU,MACV,IAAK,MACL,EAAG,MACH,WAAY,MACZ,GAAI,MACJ,MAAO,CACL,MAAO,MACP,OAAQ,KAAA,CACV,EAEF,GAAI,CACF,SAAU,MACV,IAAK,MACL,EAAG,OACH,WAAY,MACZ,GAAI,MACJ,MAAO,CACL,MAAO,MACP,OAAQ,KAAA,CACV,CACF,CACF,EAIF,gBAAiB,CACf,KAAM,IAAA,CAEV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"badge.recipe-DsV4A_UD.es.js","sources":["../../src/components/badge/badge.recipe.tsx"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Recipe configuration for the Badge component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const badgeRecipe = defineRecipe({\n className: \"nimbus-badge\",\n\n // Base styles applied to all instances of the component\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"200\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n verticalAlign: \"middle\",\n py: \"25\",\n fontWeight: \"500\",\n backgroundColor: \"colorPalette.3\",\n color: \"colorPalette.11\",\n w: \"auto\",\n userSelect: \"none\",\n _icon: {\n flexShrink: \"0\",\n },\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n size: {\n \"2xs\": {\n fontSize: \"300\",\n gap: \"100\",\n h: \"600\",\n lineHeight: \"350\",\n px: \"200\",\n _icon: {\n width: \"400\",\n height: \"400\",\n },\n },\n xs: {\n fontSize: \"350\",\n gap: \"100\",\n h: \"800\",\n lineHeight: \"400\",\n px: \"300\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n },\n md: {\n fontSize: \"400\",\n gap: \"200\",\n h: \"1000\",\n lineHeight: \"500\",\n px: \"400\",\n _icon: {\n width: \"600\",\n height: \"600\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n size: \"md\",\n },\n});\n"],"names":["badgeRecipe","defineRecipe"],"mappings":";AAMO,MAAMA,IAAc,gBAAAC,EAAa;AAAA,EACtC,WAAW;AAAA;AAAA,EAGX,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,gBAAgB;AAAA,IAChB,YAAY;AAAA,IACZ,eAAe;AAAA,IACf,IAAI;AAAA,IACJ,YAAY;AAAA,IACZ,iBAAiB;AAAA,IACjB,OAAO;AAAA,IACP,GAAG;AAAA,IACH,YAAY;AAAA,IACZ,OAAO;AAAA,MACL,YAAY;AAAA,IAAA;AAAA,EACd;AAAA;AAAA,EAIF,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,UAAU;AAAA,QACV,KAAK;AAAA,QACL,GAAG;AAAA,QACH,YAAY;AAAA,QACZ,IAAI;AAAA,QACJ,OAAO;AAAA,UACL,OAAO;AAAA,UACP,QAAQ;AAAA,QAAA;AAAA,MACV;AAAA,MAEF,IAAI;AAAA,QACF,UAAU;AAAA,QACV,KAAK;AAAA,QACL,GAAG;AAAA,QACH,YAAY;AAAA,QACZ,IAAI;AAAA,QACJ,OAAO;AAAA,UACL,OAAO;AAAA,UACP,QAAQ;AAAA,QAAA;AAAA,MACV;AAAA,MAEF,IAAI;AAAA,QACF,UAAU;AAAA,QACV,KAAK;AAAA,QACL,GAAG;AAAA,QACH,YAAY;AAAA,QACZ,IAAI;AAAA,QACJ,OAAO;AAAA,UACL,OAAO;AAAA,UACP,QAAQ;AAAA,QAAA;AAAA,MACV;AAAA,IACF;AAAA,EACF;AAAA;AAAA,EAIF,iBAAiB;AAAA,IACf,MAAM;AAAA,EAAA;AAEV,CAAC;"}
1
+ {"version":3,"file":"badge.recipe-DsV4A_UD.es.js","sources":["../../src/components/badge/badge.recipe.ts"],"sourcesContent":["import { defineRecipe } from \"@chakra-ui/react/styled-system\";\n\n/**\n * Recipe configuration for the Badge component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const badgeRecipe = defineRecipe({\n className: \"nimbus-badge\",\n\n // Base styles applied to all instances of the component\n base: {\n display: \"inline-flex\",\n alignItems: \"center\",\n borderRadius: \"200\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n verticalAlign: \"middle\",\n py: \"25\",\n fontWeight: \"500\",\n backgroundColor: \"colorPalette.3\",\n color: \"colorPalette.11\",\n w: \"auto\",\n userSelect: \"none\",\n _icon: {\n flexShrink: \"0\",\n },\n },\n\n // Available variants for customizing the component's appearance\n variants: {\n size: {\n \"2xs\": {\n fontSize: \"300\",\n gap: \"100\",\n h: \"600\",\n lineHeight: \"350\",\n px: \"200\",\n _icon: {\n width: \"400\",\n height: \"400\",\n },\n },\n xs: {\n fontSize: \"350\",\n gap: \"100\",\n h: \"800\",\n lineHeight: \"400\",\n px: \"300\",\n _icon: {\n width: \"500\",\n height: \"500\",\n },\n },\n md: {\n fontSize: \"400\",\n gap: \"200\",\n h: \"1000\",\n lineHeight: \"500\",\n px: \"400\",\n _icon: {\n width: \"600\",\n height: \"600\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n size: \"md\",\n },\n});\n"],"names":["badgeRecipe","defineRecipe"],"mappings":";AAMO,MAAMA,IAAc,gBAAAC,EAAa;AAAA,EACtC,WAAW;AAAA;AAAA,EAGX,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,gBAAgB;AAAA,IAChB,YAAY;AAAA,IACZ,eAAe;AAAA,IACf,IAAI;AAAA,IACJ,YAAY;AAAA,IACZ,iBAAiB;AAAA,IACjB,OAAO;AAAA,IACP,GAAG;AAAA,IACH,YAAY;AAAA,IACZ,OAAO;AAAA,MACL,YAAY;AAAA,IAAA;AAAA,EACd;AAAA;AAAA,EAIF,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,UAAU;AAAA,QACV,KAAK;AAAA,QACL,GAAG;AAAA,QACH,YAAY;AAAA,QACZ,IAAI;AAAA,QACJ,OAAO;AAAA,UACL,OAAO;AAAA,UACP,QAAQ;AAAA,QAAA;AAAA,MACV;AAAA,MAEF,IAAI;AAAA,QACF,UAAU;AAAA,QACV,KAAK;AAAA,QACL,GAAG;AAAA,QACH,YAAY;AAAA,QACZ,IAAI;AAAA,QACJ,OAAO;AAAA,UACL,OAAO;AAAA,UACP,QAAQ;AAAA,QAAA;AAAA,MACV;AAAA,MAEF,IAAI;AAAA,QACF,UAAU;AAAA,QACV,KAAK;AAAA,QACL,GAAG;AAAA,QACH,YAAY;AAAA,QACZ,IAAI;AAAA,QACJ,OAAO;AAAA,UACL,OAAO;AAAA,UACP,QAAQ;AAAA,QAAA;AAAA,MACV;AAAA,IACF;AAAA,EACF;AAAA;AAAA,EAIF,iBAAiB;AAAA,IACf,MAAM;AAAA,EAAA;AAEV,CAAC;"}
@@ -1,2 +1,2 @@
1
- "use strict";const x=require("react/jsx-runtime"),R=require("react"),i=require("./Button-DLCecw8f.cjs.js"),q=require("./utils-DVb3jcp5.cjs.js"),d=require("@chakra-ui/react"),m=require("./toggle-button-group.recipe-COF-yHYR.cjs.js"),P=require("./emotion-is-prop-valid.esm-ux_11lix.cjs.js"),B=require("./index-8m2zx8YL.cjs.js"),g=require("./useObjectRef-4v2MxSjQ.cjs.js"),h=require("./mergeProps-CxnHrnow.cjs.js"),y=require("./useButton-BwsmYrml.cjs.js"),{withContext:C}=d.createRecipeContext({recipe:m.buttonRecipe}),j=C("button",{defaultProps:{type:"button"},shouldForwardProp(e,o){const t=!o?.includes(e)&&!B.system.isValidProperty(e);return P.isPropValid(e)&&t&&!e.includes("onPress")}}),a=e=>{const{ref:o,as:t,asChild:n,children:u,...b}=e,f=R.useRef(null),l=g.$df56164dff5785e2$export$4338b53315abf666(d.mergeRefs(f,o)),[s,c]=q.$64fa3d84918910a7$export$29f1550f4b0d4415(b,l,i.$d2b4bc8c273e7be6$export$24d547caef80ccd1),$=t||(n?"a":"button"),{buttonProps:p}=y.$701a24aa0da5b062$export$ea18c227d4417cc3({...s,elementType:$},c),r=h.$3ef42575df84b30b$export$9d1611c77c2fe928(s,p,{as:t,asChild:n,slot:s.slot||void 0});return x.jsx(j,{ref:c,...r,"aria-disabled":r.isDisabled||void 0,"data-disabled":r.isDisabled||void 0,children:u})};a.displayName="Button";const v=Object.assign(a,{Context:i.$d2b4bc8c273e7be6$export$24d547caef80ccd1});exports.Button=v;
2
- //# sourceMappingURL=button-CrUeW0pR.cjs.js.map
1
+ "use strict";const x=require("react/jsx-runtime"),R=require("react"),i=require("./Button-DLCecw8f.cjs.js"),q=require("./utils-DVb3jcp5.cjs.js"),d=require("@chakra-ui/react"),m=require("./toggle-button-group.recipe-COF-yHYR.cjs.js"),P=require("./emotion-is-prop-valid.esm-ux_11lix.cjs.js"),B=require("./index-Cwy57TA-.cjs.js"),g=require("./useObjectRef-4v2MxSjQ.cjs.js"),h=require("./mergeProps-CxnHrnow.cjs.js"),y=require("./useButton-BwsmYrml.cjs.js"),{withContext:C}=d.createRecipeContext({recipe:m.buttonRecipe}),j=C("button",{defaultProps:{type:"button"},shouldForwardProp(e,o){const t=!o?.includes(e)&&!B.system.isValidProperty(e);return P.isPropValid(e)&&t&&!e.includes("onPress")}}),a=e=>{const{ref:o,as:t,asChild:n,children:u,...b}=e,f=R.useRef(null),l=g.$df56164dff5785e2$export$4338b53315abf666(d.mergeRefs(f,o)),[s,c]=q.$64fa3d84918910a7$export$29f1550f4b0d4415(b,l,i.$d2b4bc8c273e7be6$export$24d547caef80ccd1),$=t||(n?"a":"button"),{buttonProps:p}=y.$701a24aa0da5b062$export$ea18c227d4417cc3({...s,elementType:$},c),r=h.$3ef42575df84b30b$export$9d1611c77c2fe928(s,p,{as:t,asChild:n,slot:s.slot||void 0});return x.jsx(j,{ref:c,...r,"aria-disabled":r.isDisabled||void 0,"data-disabled":r.isDisabled||void 0,children:u})};a.displayName="Button";const v=Object.assign(a,{Context:i.$d2b4bc8c273e7be6$export$24d547caef80ccd1});exports.Button=v;
2
+ //# sourceMappingURL=button-B3dFVcHC.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button-CrUeW0pR.cjs.js","sources":["../../src/components/button/button.slots.tsx","../../src/components/button/button.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react\";\nimport { buttonRecipe } from \"./button.recipe\";\nimport shouldForwardProp from \"@emotion/is-prop-valid\";\nimport { system } from \"@/theme\";\nimport type { ButtonRootSlotProps } from \"./button.types\";\n\nconst { withContext } = createRecipeContext({\n recipe: buttonRecipe,\n});\n\n/**\n * Root component that provides the styling context for the Button component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ButtonRoot = withContext<HTMLButtonElement, ButtonRootSlotProps>(\n \"button\",\n {\n defaultProps: {\n type: \"button\",\n },\n /** make sure the `onPress` properties won't end up as attribute on the rendered DOM element */\n shouldForwardProp(prop, variantKeys) {\n const chakraSfp =\n !variantKeys?.includes(prop) && !system.isValidProperty(prop);\n return shouldForwardProp(prop) && chakraSfp && !prop.includes(\"onPress\");\n },\n }\n);\n","import { useRef } from \"react\";\nimport { useButton, useObjectRef, mergeProps } from \"react-aria\";\nimport { ButtonContext, useContextProps } from \"react-aria-components\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { ButtonRoot } from \"./button.slots.tsx\";\nimport type { ButtonProps } from \"./button.types.ts\";\n\n/**\n * # Button\n *\n * Displays a Button.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/button}\n */\nconst ButtonComponent = (props: ButtonProps) => {\n const { ref: forwardedRef, as, asChild, children, ...rest } = props;\n\n // create a local ref (because the consumer may not provide a forwardedRef)\n const localRef = useRef<HTMLButtonElement>(null);\n // merge the local ref with a potentially forwarded ref\n const baseRef = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // Consume context props based on slot (this enables slot-aware behavior)\n const [contextProps, contextRef] = useContextProps(\n rest,\n baseRef,\n ButtonContext\n );\n\n // if asChild is set, for react-aria to add the button-role, the elementType\n // has to be manually set to something else than button\n\n const elementType = as || (asChild ? \"a\" : \"button\") || \"button\";\n\n const { buttonProps } = useButton(\n {\n ...contextProps,\n elementType,\n },\n contextRef\n );\n\n const componentProps = mergeProps(contextProps, buttonProps, {\n as,\n asChild,\n /**\n * In case `slot` was null, the `useContextProps` hook already\n * processed it at this point, so it's safe to not attach it\n * to the DOM element\n */\n slot: contextProps.slot || undefined,\n });\n\n return (\n <ButtonRoot\n ref={contextRef}\n {...componentProps}\n aria-disabled={componentProps.isDisabled || undefined}\n data-disabled={componentProps.isDisabled || undefined}\n >\n {children}\n </ButtonRoot>\n );\n};\n\n// Manually assign a displayName for debugging purposes\nButtonComponent.displayName = \"Button\";\n\n/**\n * ### Button\n *\n * Displays a Button.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/button}\n */\nexport const Button: typeof ButtonComponent & {\n // TypeScript can't properly name the internal React Aria types when inferring\n // Button.Context, so we explicitly type it using typeof and Object.assign\n /**\n * ### Button.Context\n *\n * Re-exports React-Aria's `ButtonContext`\n *\n * For advanced use cases, **you generally will not need this**\n *\n * @see {@link https://react-spectrum.adobe.com/react-aria/advanced.html#contexts}\n * @see {@link https://react-spectrum.adobe.com/react-aria/Button.html#contexts}\n */\n Context: typeof ButtonContext;\n} = Object.assign(ButtonComponent, {\n Context: ButtonContext,\n});\n"],"names":["withContext","createRecipeContext","buttonRecipe","ButtonRoot","prop","variantKeys","chakraSfp","system","shouldForwardProp","ButtonComponent","props","forwardedRef","as","asChild","children","rest","localRef","useRef","baseRef","useObjectRef","mergeRefs","contextProps","contextRef","useContextProps","ButtonContext","elementType","buttonProps","useButton","componentProps","mergeProps","jsx","Button"],"mappings":"qcAMM,CAAE,YAAAA,CAAA,EAAgBC,sBAAoB,CAC1C,OAAQC,EAAAA,YACV,CAAC,EAMYC,EAAaH,EACxB,SACA,CACE,aAAc,CACZ,KAAM,QAAA,EAGR,kBAAkBI,EAAMC,EAAa,CACnC,MAAMC,EACJ,CAACD,GAAa,SAASD,CAAI,GAAK,CAACG,EAAAA,OAAO,gBAAgBH,CAAI,EAC9D,OAAOI,EAAAA,YAAkBJ,CAAI,GAAKE,GAAa,CAACF,EAAK,SAAS,SAAS,CACzE,CAAA,CAEJ,ECbMK,EAAmBC,GAAuB,CAC9C,KAAM,CAAE,IAAKC,EAAc,GAAAC,EAAI,QAAAC,EAAS,SAAAC,EAAU,GAAGC,GAASL,EAGxDM,EAAWC,EAAAA,OAA0B,IAAI,EAEzCC,EAAUC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUL,CAAY,CAAC,EAGxD,CAACU,EAAcC,CAAU,EAAIC,EAAAA,0CACjCR,EACAG,EACAM,EAAAA,yCAAA,EAMIC,EAAcb,IAAOC,EAAU,IAAM,UAErC,CAAE,YAAAa,GAAgBC,EAAAA,0CACtB,CACE,GAAGN,EACH,YAAAI,CAAA,EAEFH,CAAA,EAGIM,EAAiBC,EAAAA,0CAAWR,EAAcK,EAAa,CAC3D,GAAAd,EACA,QAAAC,EAMA,KAAMQ,EAAa,MAAQ,MAAA,CAC5B,EAED,OACES,EAAAA,IAAC3B,EAAA,CACC,IAAKmB,EACJ,GAAGM,EACJ,gBAAeA,EAAe,YAAc,OAC5C,gBAAeA,EAAe,YAAc,OAE3C,SAAAd,CAAA,CAAA,CAGP,EAGAL,EAAgB,YAAc,SASvB,MAAMsB,EAcT,OAAO,OAAOtB,EAAiB,CACjC,QAASe,EAAAA,yCACX,CAAC"}
1
+ {"version":3,"file":"button-B3dFVcHC.cjs.js","sources":["../../src/components/button/button.slots.tsx","../../src/components/button/button.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react\";\nimport { buttonRecipe } from \"./button.recipe\";\nimport shouldForwardProp from \"@emotion/is-prop-valid\";\nimport { system } from \"@/theme\";\nimport type { ButtonRootSlotProps } from \"./button.types\";\n\nconst { withContext } = createRecipeContext({\n recipe: buttonRecipe,\n});\n\n/**\n * Root component that provides the styling context for the Button component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ButtonRoot = withContext<HTMLButtonElement, ButtonRootSlotProps>(\n \"button\",\n {\n defaultProps: {\n type: \"button\",\n },\n /** make sure the `onPress` properties won't end up as attribute on the rendered DOM element */\n shouldForwardProp(prop, variantKeys) {\n const chakraSfp =\n !variantKeys?.includes(prop) && !system.isValidProperty(prop);\n return shouldForwardProp(prop) && chakraSfp && !prop.includes(\"onPress\");\n },\n }\n);\n","import { useRef } from \"react\";\nimport { useButton, useObjectRef, mergeProps } from \"react-aria\";\nimport { ButtonContext, useContextProps } from \"react-aria-components\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { ButtonRoot } from \"./button.slots.tsx\";\nimport type { ButtonProps } from \"./button.types.ts\";\n\n/**\n * # Button\n *\n * Displays a Button.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/button}\n */\nconst ButtonComponent = (props: ButtonProps) => {\n const { ref: forwardedRef, as, asChild, children, ...rest } = props;\n\n // create a local ref (because the consumer may not provide a forwardedRef)\n const localRef = useRef<HTMLButtonElement>(null);\n // merge the local ref with a potentially forwarded ref\n const baseRef = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // Consume context props based on slot (this enables slot-aware behavior)\n const [contextProps, contextRef] = useContextProps(\n rest,\n baseRef,\n ButtonContext\n );\n\n // if asChild is set, for react-aria to add the button-role, the elementType\n // has to be manually set to something else than button\n\n const elementType = as || (asChild ? \"a\" : \"button\") || \"button\";\n\n const { buttonProps } = useButton(\n {\n ...contextProps,\n elementType,\n },\n contextRef\n );\n\n const componentProps = mergeProps(contextProps, buttonProps, {\n as,\n asChild,\n /**\n * In case `slot` was null, the `useContextProps` hook already\n * processed it at this point, so it's safe to not attach it\n * to the DOM element\n */\n slot: contextProps.slot || undefined,\n });\n\n return (\n <ButtonRoot\n ref={contextRef}\n {...componentProps}\n aria-disabled={componentProps.isDisabled || undefined}\n data-disabled={componentProps.isDisabled || undefined}\n >\n {children}\n </ButtonRoot>\n );\n};\n\n// Manually assign a displayName for debugging purposes\nButtonComponent.displayName = \"Button\";\n\n/**\n * ### Button\n *\n * Displays a Button.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/button}\n */\nexport const Button: typeof ButtonComponent & {\n // TypeScript can't properly name the internal React Aria types when inferring\n // Button.Context, so we explicitly type it using typeof and Object.assign\n /**\n * ### Button.Context\n *\n * Re-exports React-Aria's `ButtonContext`\n *\n * For advanced use cases, **you generally will not need this**\n *\n * @see {@link https://react-spectrum.adobe.com/react-aria/advanced.html#contexts}\n * @see {@link https://react-spectrum.adobe.com/react-aria/Button.html#contexts}\n */\n Context: typeof ButtonContext;\n} = Object.assign(ButtonComponent, {\n Context: ButtonContext,\n});\n"],"names":["withContext","createRecipeContext","buttonRecipe","ButtonRoot","prop","variantKeys","chakraSfp","system","shouldForwardProp","ButtonComponent","props","forwardedRef","as","asChild","children","rest","localRef","useRef","baseRef","useObjectRef","mergeRefs","contextProps","contextRef","useContextProps","ButtonContext","elementType","buttonProps","useButton","componentProps","mergeProps","jsx","Button"],"mappings":"qcAMM,CAAE,YAAAA,CAAA,EAAgBC,sBAAoB,CAC1C,OAAQC,EAAAA,YACV,CAAC,EAMYC,EAAaH,EACxB,SACA,CACE,aAAc,CACZ,KAAM,QAAA,EAGR,kBAAkBI,EAAMC,EAAa,CACnC,MAAMC,EACJ,CAACD,GAAa,SAASD,CAAI,GAAK,CAACG,EAAAA,OAAO,gBAAgBH,CAAI,EAC9D,OAAOI,EAAAA,YAAkBJ,CAAI,GAAKE,GAAa,CAACF,EAAK,SAAS,SAAS,CACzE,CAAA,CAEJ,ECbMK,EAAmBC,GAAuB,CAC9C,KAAM,CAAE,IAAKC,EAAc,GAAAC,EAAI,QAAAC,EAAS,SAAAC,EAAU,GAAGC,GAASL,EAGxDM,EAAWC,EAAAA,OAA0B,IAAI,EAEzCC,EAAUC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUL,CAAY,CAAC,EAGxD,CAACU,EAAcC,CAAU,EAAIC,EAAAA,0CACjCR,EACAG,EACAM,EAAAA,yCAAA,EAMIC,EAAcb,IAAOC,EAAU,IAAM,UAErC,CAAE,YAAAa,GAAgBC,EAAAA,0CACtB,CACE,GAAGN,EACH,YAAAI,CAAA,EAEFH,CAAA,EAGIM,EAAiBC,EAAAA,0CAAWR,EAAcK,EAAa,CAC3D,GAAAd,EACA,QAAAC,EAMA,KAAMQ,EAAa,MAAQ,MAAA,CAC5B,EAED,OACES,EAAAA,IAAC3B,EAAA,CACC,IAAKmB,EACJ,GAAGM,EACJ,gBAAeA,EAAe,YAAc,OAC5C,gBAAeA,EAAe,YAAc,OAE3C,SAAAd,CAAA,CAAA,CAGP,EAGAL,EAAgB,YAAc,SASvB,MAAMsB,EAcT,OAAO,OAAOtB,EAAiB,CACjC,QAASe,EAAAA,yCACX,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import { jsx as $ } from "react/jsx-runtime";
2
2
  import { useRef as u } from "react";
3
- import { $ as i } from "./Button-SjGHt140.es.js";
4
- import { $ as x } from "./utils-_m_bPtjI.es.js";
3
+ import { $ as i } from "./Button-CmpJG0ec.es.js";
4
+ import { $ as x } from "./utils-9vu7GUaz.es.js";
5
5
  import { createRecipeContext as R, mergeRefs as P } from "@chakra-ui/react";
6
6
  import { b as h } from "./toggle-button-group.recipe-Cl3PTeGf.es.js";
7
7
  import { i as y } from "./emotion-is-prop-valid.esm-BUuA3iy8.es.js";
8
- import { s as B } from "./index-B7wlrXvj.es.js";
8
+ import { s as B } from "./index-B-UyZdac.es.js";
9
9
  import { $ as C } from "./useObjectRef-CaJ5pgjX.es.js";
10
- import { $ as v } from "./mergeProps-DtKAFxbD.es.js";
11
- import { $ as w } from "./useButton-C6AOJI9V.es.js";
10
+ import { a as v } from "./mergeProps-D1jjFfMs.es.js";
11
+ import { $ as w } from "./useButton-B2TbwHSy.es.js";
12
12
  const { withContext: g } = /* @__PURE__ */ R({
13
13
  recipe: h
14
14
  }), j = /* @__PURE__ */ g(
@@ -62,4 +62,4 @@ const E = /* @__PURE__ */ Object.assign(c, {
62
62
  export {
63
63
  E as B
64
64
  };
65
- //# sourceMappingURL=button-B1VvTs1w.es.js.map
65
+ //# sourceMappingURL=button-BalEcUUB.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button-B1VvTs1w.es.js","sources":["../../src/components/button/button.slots.tsx","../../src/components/button/button.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react\";\nimport { buttonRecipe } from \"./button.recipe\";\nimport shouldForwardProp from \"@emotion/is-prop-valid\";\nimport { system } from \"@/theme\";\nimport type { ButtonRootSlotProps } from \"./button.types\";\n\nconst { withContext } = createRecipeContext({\n recipe: buttonRecipe,\n});\n\n/**\n * Root component that provides the styling context for the Button component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ButtonRoot = withContext<HTMLButtonElement, ButtonRootSlotProps>(\n \"button\",\n {\n defaultProps: {\n type: \"button\",\n },\n /** make sure the `onPress` properties won't end up as attribute on the rendered DOM element */\n shouldForwardProp(prop, variantKeys) {\n const chakraSfp =\n !variantKeys?.includes(prop) && !system.isValidProperty(prop);\n return shouldForwardProp(prop) && chakraSfp && !prop.includes(\"onPress\");\n },\n }\n);\n","import { useRef } from \"react\";\nimport { useButton, useObjectRef, mergeProps } from \"react-aria\";\nimport { ButtonContext, useContextProps } from \"react-aria-components\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { ButtonRoot } from \"./button.slots.tsx\";\nimport type { ButtonProps } from \"./button.types.ts\";\n\n/**\n * # Button\n *\n * Displays a Button.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/button}\n */\nconst ButtonComponent = (props: ButtonProps) => {\n const { ref: forwardedRef, as, asChild, children, ...rest } = props;\n\n // create a local ref (because the consumer may not provide a forwardedRef)\n const localRef = useRef<HTMLButtonElement>(null);\n // merge the local ref with a potentially forwarded ref\n const baseRef = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // Consume context props based on slot (this enables slot-aware behavior)\n const [contextProps, contextRef] = useContextProps(\n rest,\n baseRef,\n ButtonContext\n );\n\n // if asChild is set, for react-aria to add the button-role, the elementType\n // has to be manually set to something else than button\n\n const elementType = as || (asChild ? \"a\" : \"button\") || \"button\";\n\n const { buttonProps } = useButton(\n {\n ...contextProps,\n elementType,\n },\n contextRef\n );\n\n const componentProps = mergeProps(contextProps, buttonProps, {\n as,\n asChild,\n /**\n * In case `slot` was null, the `useContextProps` hook already\n * processed it at this point, so it's safe to not attach it\n * to the DOM element\n */\n slot: contextProps.slot || undefined,\n });\n\n return (\n <ButtonRoot\n ref={contextRef}\n {...componentProps}\n aria-disabled={componentProps.isDisabled || undefined}\n data-disabled={componentProps.isDisabled || undefined}\n >\n {children}\n </ButtonRoot>\n );\n};\n\n// Manually assign a displayName for debugging purposes\nButtonComponent.displayName = \"Button\";\n\n/**\n * ### Button\n *\n * Displays a Button.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/button}\n */\nexport const Button: typeof ButtonComponent & {\n // TypeScript can't properly name the internal React Aria types when inferring\n // Button.Context, so we explicitly type it using typeof and Object.assign\n /**\n * ### Button.Context\n *\n * Re-exports React-Aria's `ButtonContext`\n *\n * For advanced use cases, **you generally will not need this**\n *\n * @see {@link https://react-spectrum.adobe.com/react-aria/advanced.html#contexts}\n * @see {@link https://react-spectrum.adobe.com/react-aria/Button.html#contexts}\n */\n Context: typeof ButtonContext;\n} = Object.assign(ButtonComponent, {\n Context: ButtonContext,\n});\n"],"names":["withContext","createRecipeContext","buttonRecipe","ButtonRoot","prop","variantKeys","chakraSfp","system","shouldForwardProp","ButtonComponent","props","forwardedRef","as","asChild","children","rest","localRef","useRef","baseRef","useObjectRef","mergeRefs","contextProps","contextRef","useContextProps","ButtonContext","elementType","buttonProps","useButton","componentProps","mergeProps","jsx","Button"],"mappings":";;;;;;;;;;;AAMA,MAAM,EAAE,aAAAA,EAAA,IAAgB,gBAAAC,EAAoB;AAAA,EAC1C,QAAQC;AACV,CAAC,GAMYC,IAAa,gBAAAH;AAAA,EACxB;AAAA,EACA;AAAA,IACE,cAAc;AAAA,MACZ,MAAM;AAAA,IAAA;AAAA;AAAA,IAGR,kBAAkBI,GAAMC,GAAa;AACnC,YAAMC,IACJ,CAACD,GAAa,SAASD,CAAI,KAAK,CAACG,EAAO,gBAAgBH,CAAI;AAC9D,aAAOI,EAAkBJ,CAAI,KAAKE,KAAa,CAACF,EAAK,SAAS,SAAS;AAAA,IACzE;AAAA,EAAA;AAEJ,GCbMK,IAAkB,CAACC,MAAuB;AAC9C,QAAM,EAAE,KAAKC,GAAc,IAAAC,GAAI,SAAAC,GAAS,UAAAC,GAAU,GAAGC,MAASL,GAGxDM,IAAWC,EAA0B,IAAI,GAEzCC,IAAUC,EAAaC,EAAUJ,GAAUL,CAAY,CAAC,GAGxD,CAACU,GAAcC,CAAU,IAAIC;AAAAA,IACjCR;AAAA,IACAG;AAAA,IACAM;AAAAA,EAAA,GAMIC,IAAcb,MAAOC,IAAU,MAAM,WAErC,EAAE,aAAAa,MAAgBC;AAAAA,IACtB;AAAA,MACE,GAAGN;AAAA,MACH,aAAAI;AAAA,IAAA;AAAA,IAEFH;AAAA,EAAA,GAGIM,IAAiBC,EAAWR,GAAcK,GAAa;AAAA,IAC3D,IAAAd;AAAA,IACA,SAAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,MAAMQ,EAAa,QAAQ;AAAA,EAAA,CAC5B;AAED,SACE,gBAAAS;AAAA,IAAC3B;AAAA,IAAA;AAAA,MACC,KAAKmB;AAAA,MACJ,GAAGM;AAAA,MACJ,iBAAeA,EAAe,cAAc;AAAA,MAC5C,iBAAeA,EAAe,cAAc;AAAA,MAE3C,UAAAd;AAAA,IAAA;AAAA,EAAA;AAGP;AAGAL,EAAgB,cAAc;AASvB,MAAMsB,IAcT,uBAAO,OAAOtB,GAAiB;AAAA,EACjC,SAASe;AACX,CAAC;"}
1
+ {"version":3,"file":"button-BalEcUUB.es.js","sources":["../../src/components/button/button.slots.tsx","../../src/components/button/button.tsx"],"sourcesContent":["import { createRecipeContext } from \"@chakra-ui/react\";\nimport { buttonRecipe } from \"./button.recipe\";\nimport shouldForwardProp from \"@emotion/is-prop-valid\";\nimport { system } from \"@/theme\";\nimport type { ButtonRootSlotProps } from \"./button.types\";\n\nconst { withContext } = createRecipeContext({\n recipe: buttonRecipe,\n});\n\n/**\n * Root component that provides the styling context for the Button component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ButtonRoot = withContext<HTMLButtonElement, ButtonRootSlotProps>(\n \"button\",\n {\n defaultProps: {\n type: \"button\",\n },\n /** make sure the `onPress` properties won't end up as attribute on the rendered DOM element */\n shouldForwardProp(prop, variantKeys) {\n const chakraSfp =\n !variantKeys?.includes(prop) && !system.isValidProperty(prop);\n return shouldForwardProp(prop) && chakraSfp && !prop.includes(\"onPress\");\n },\n }\n);\n","import { useRef } from \"react\";\nimport { useButton, useObjectRef, mergeProps } from \"react-aria\";\nimport { ButtonContext, useContextProps } from \"react-aria-components\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { ButtonRoot } from \"./button.slots.tsx\";\nimport type { ButtonProps } from \"./button.types.ts\";\n\n/**\n * # Button\n *\n * Displays a Button.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/button}\n */\nconst ButtonComponent = (props: ButtonProps) => {\n const { ref: forwardedRef, as, asChild, children, ...rest } = props;\n\n // create a local ref (because the consumer may not provide a forwardedRef)\n const localRef = useRef<HTMLButtonElement>(null);\n // merge the local ref with a potentially forwarded ref\n const baseRef = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // Consume context props based on slot (this enables slot-aware behavior)\n const [contextProps, contextRef] = useContextProps(\n rest,\n baseRef,\n ButtonContext\n );\n\n // if asChild is set, for react-aria to add the button-role, the elementType\n // has to be manually set to something else than button\n\n const elementType = as || (asChild ? \"a\" : \"button\") || \"button\";\n\n const { buttonProps } = useButton(\n {\n ...contextProps,\n elementType,\n },\n contextRef\n );\n\n const componentProps = mergeProps(contextProps, buttonProps, {\n as,\n asChild,\n /**\n * In case `slot` was null, the `useContextProps` hook already\n * processed it at this point, so it's safe to not attach it\n * to the DOM element\n */\n slot: contextProps.slot || undefined,\n });\n\n return (\n <ButtonRoot\n ref={contextRef}\n {...componentProps}\n aria-disabled={componentProps.isDisabled || undefined}\n data-disabled={componentProps.isDisabled || undefined}\n >\n {children}\n </ButtonRoot>\n );\n};\n\n// Manually assign a displayName for debugging purposes\nButtonComponent.displayName = \"Button\";\n\n/**\n * ### Button\n *\n * Displays a Button.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/button}\n */\nexport const Button: typeof ButtonComponent & {\n // TypeScript can't properly name the internal React Aria types when inferring\n // Button.Context, so we explicitly type it using typeof and Object.assign\n /**\n * ### Button.Context\n *\n * Re-exports React-Aria's `ButtonContext`\n *\n * For advanced use cases, **you generally will not need this**\n *\n * @see {@link https://react-spectrum.adobe.com/react-aria/advanced.html#contexts}\n * @see {@link https://react-spectrum.adobe.com/react-aria/Button.html#contexts}\n */\n Context: typeof ButtonContext;\n} = Object.assign(ButtonComponent, {\n Context: ButtonContext,\n});\n"],"names":["withContext","createRecipeContext","buttonRecipe","ButtonRoot","prop","variantKeys","chakraSfp","system","shouldForwardProp","ButtonComponent","props","forwardedRef","as","asChild","children","rest","localRef","useRef","baseRef","useObjectRef","mergeRefs","contextProps","contextRef","useContextProps","ButtonContext","elementType","buttonProps","useButton","componentProps","mergeProps","jsx","Button"],"mappings":";;;;;;;;;;;AAMA,MAAM,EAAE,aAAAA,EAAA,IAAgB,gBAAAC,EAAoB;AAAA,EAC1C,QAAQC;AACV,CAAC,GAMYC,IAAa,gBAAAH;AAAA,EACxB;AAAA,EACA;AAAA,IACE,cAAc;AAAA,MACZ,MAAM;AAAA,IAAA;AAAA;AAAA,IAGR,kBAAkBI,GAAMC,GAAa;AACnC,YAAMC,IACJ,CAACD,GAAa,SAASD,CAAI,KAAK,CAACG,EAAO,gBAAgBH,CAAI;AAC9D,aAAOI,EAAkBJ,CAAI,KAAKE,KAAa,CAACF,EAAK,SAAS,SAAS;AAAA,IACzE;AAAA,EAAA;AAEJ,GCbMK,IAAkB,CAACC,MAAuB;AAC9C,QAAM,EAAE,KAAKC,GAAc,IAAAC,GAAI,SAAAC,GAAS,UAAAC,GAAU,GAAGC,MAASL,GAGxDM,IAAWC,EAA0B,IAAI,GAEzCC,IAAUC,EAAaC,EAAUJ,GAAUL,CAAY,CAAC,GAGxD,CAACU,GAAcC,CAAU,IAAIC;AAAAA,IACjCR;AAAA,IACAG;AAAA,IACAM;AAAAA,EAAA,GAMIC,IAAcb,MAAOC,IAAU,MAAM,WAErC,EAAE,aAAAa,MAAgBC;AAAAA,IACtB;AAAA,MACE,GAAGN;AAAA,MACH,aAAAI;AAAA,IAAA;AAAA,IAEFH;AAAA,EAAA,GAGIM,IAAiBC,EAAWR,GAAcK,GAAa;AAAA,IAC3D,IAAAd;AAAA,IACA,SAAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMA,MAAMQ,EAAa,QAAQ;AAAA,EAAA,CAC5B;AAED,SACE,gBAAAS;AAAA,IAAC3B;AAAA,IAAA;AAAA,MACC,KAAKmB;AAAA,MACJ,GAAGM;AAAA,MACJ,iBAAeA,EAAe,cAAc;AAAA,MAC5C,iBAAeA,EAAe,cAAc;AAAA,MAE3C,UAAAd;AAAA,IAAA;AAAA,EAAA;AAGP;AAGAL,EAAgB,cAAc;AASvB,MAAMsB,IAcT,uBAAO,OAAOtB,GAAiB;AAAA,EACjC,SAASe;AACX,CAAC;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("react/jsx-runtime"),a=require("./Heading-kcnZ-PKv.cjs.js"),q=require("@chakra-ui/react"),D=require("@chakra-ui/react/styled-system"),I=require("./extract-style-props-Bd2GaMQq.cjs.js"),i=require("./useDateFormatter-WCaFojul.cjs.js"),$=require("react"),y=require("./Button-DLCecw8f.cjs.js"),p=require("./utils-DVb3jcp5.cjs.js"),j=require("./Text-BWSfeB9p.cjs.js"),S=require("react-intl"),P=require("./context-CyT9C4U4.cjs.js"),u=require("@commercetools/nimbus-icons"),v=require("./stack-CIN13EDn.cjs.js"),C=require("./text-BtRhIklG.cjs.js"),R=require("@chakra-ui/react/flex"),T=require("./visually-hidden-BjtXUoFK.cjs.js"),h=require("./icon-button-acD2PKxb.cjs.js"),w=require("./box-CWni3A32.cjs.js"),{withProvider:B,withContext:c}=q.createSlotRecipeContext({key:"calendar"}),N=B("div","root"),H=c("div","header"),A=c("div","grids"),F=c("div","monthTitle"),k=c("table","grid"),G=c("thead","gridHeader"),L=c("th","headerCell"),Y=c("tbody","gridBody"),z=c("td","bodyCell"),b=S.defineMessages({nextMonth:{id:"Nimbus.Calendar.nextMonth",description:"aria-label for next month navigation button",defaultMessage:"Next month"},previousMonth:{id:"Nimbus.Calendar.previousMonth",description:"aria-label for previous month navigation button",defaultMessage:"Previous month"},nextYear:{id:"Nimbus.Calendar.nextYear",description:"aria-label for next year navigation button",defaultMessage:"Next year"},previousYear:{id:"Nimbus.Calendar.previousYear",description:"aria-label for previous year navigation button",defaultMessage:"Previous year"}}),K=({children:d})=>{const n=S.useIntl(),{locale:t}=P.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),r=$.useContext(y.$d2b4bc8c273e7be6$export$24d547caef80ccd1),s=$.useContext(j.$514c0188e459b4c0$export$9afb8bc826b033ea),o=$.useContext(a.$dfd62f934fc76fed$export$9e31dcedda1dadc7),g={"next-month":{onPress:()=>o.focusNextSection(),"aria-label":n.formatMessage(b.nextMonth)},"previous-month":{onPress:()=>o.focusPreviousSection(),"aria-label":n.formatMessage(b.previousMonth)},"next-year":{onPress:()=>o.focusNextSection(!0),"aria-label":n.formatMessage(b.nextYear)},"previous-year":{onPress:()=>o.focusPreviousSection(!0),"aria-label":n.formatMessage(b.previousYear)}},f=new Intl.DateTimeFormat(t,{month:"long"}).format(o.focusedDate.toDate(i.$14e0f24ef4ac5c92$export$aa8b41735afcabd2())),m=[new Intl.DateTimeFormat(t,{month:"long"}).format(o.visibleRange.start.toDate(i.$14e0f24ef4ac5c92$export$aa8b41735afcabd2())),new Intl.DateTimeFormat(t,{month:"long"}).format(o.visibleRange.end.toDate(i.$14e0f24ef4ac5c92$export$aa8b41735afcabd2()))].join(" - "),x=new Intl.DateTimeFormat(t,{year:"numeric"}).format(o.focusedDate.toDate(i.$14e0f24ef4ac5c92$export$aa8b41735afcabd2())),l={month:{children:f},monthRange:{children:m},year:{children:x}};return e.jsx(p.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[y.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{...r,slots:{...r&&typeof r=="object"&&"slots"in r?r.slots:{},...g}}],[j.$514c0188e459b4c0$export$9afb8bc826b033ea,{...s,slots:{...s&&typeof s=="object"&&"slots"in s?s.slots:{},...l}}]],children:d})},V=()=>{const{locale:d}=P.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),n=p.$64fa3d84918910a7$export$fabf2dc03a41866e(a.$dfd62f934fc76fed$export$3b805cea1f178355),t=$.useContext(a.$dfd62f934fc76fed$export$9e31dcedda1dadc7),r=n?.visibleDuration?.months||1,s=i.$14e0f24ef4ac5c92$export$d0bdf45af03a6ea3(i.$14e0f24ef4ac5c92$export$aa8b41735afcabd2()),o=r>1;return e.jsx(A,{children:Array.from({length:r},(g,f)=>{const m=t.visibleRange.start.add({months:f}),x=new Intl.DateTimeFormat(d,{month:"long"}).format(m.toDate(i.$14e0f24ef4ac5c92$export$aa8b41735afcabd2()));return e.jsxs(w.Box,{width:r==1?"full":"auto",children:[o&&e.jsx(F,{children:x}),e.jsx(k,{asChild:!0,children:e.jsxs(a.$dfd62f934fc76fed$export$5bd780d491cfc46c,{offset:{months:f},weekdayStyle:"short",children:[e.jsx(G,{asChild:!0,children:e.jsx(a.$dfd62f934fc76fed$export$22e2d15eaa4d2377,{children:l=>e.jsx(L,{asChild:!0,children:e.jsx(a.$dfd62f934fc76fed$export$ad2135cac3a11b3d,{children:l})})})}),e.jsx(Y,{asChild:!0,children:e.jsx(a.$dfd62f934fc76fed$export$e11f8ba65d857bff,{children:l=>{const M=l.compare(s)===0;return e.jsx(z,{asChild:!0,"data-today":M,children:e.jsx(a.$dfd62f934fc76fed$export$5d847498420df57b,{date:l})})}})})]})})]},x)})})},W=()=>{const t=(p.$64fa3d84918910a7$export$fabf2dc03a41866e(a.$dfd62f934fc76fed$export$3b805cea1f178355)?.visibleDuration?.months||1)>1;return e.jsx(H,{children:e.jsxs(R.Flex,{children:[e.jsxs(v.Stack,{direction:"row",alignItems:"center",children:[e.jsx(T.VisuallyHidden,{children:e.jsx(a.$5cb03073d3f54797$export$a8a3e93435678ff9,{})}),e.jsx(h.IconButton,{slot:t?"previous":"previous-month",size:"xs",variant:"ghost",colorPalette:"primary",children:e.jsx(u.KeyboardArrowLeft,{})}),e.jsx(C.Text,{textStyle:"sm",fontWeight:"500",color:"neutral.11",width:t?"4000":"2000",textAlign:"center","aria-hidden":"true",slot:t?"monthRange":"month"}),e.jsx(h.IconButton,{slot:t?"next":"next-month",size:"xs",variant:"ghost",colorPalette:"primary",children:e.jsx(u.KeyboardArrowRight,{})})]}),e.jsx(w.Box,{flexGrow:"1"}),e.jsxs(v.Stack,{direction:"row",alignItems:"center",children:[e.jsx(h.IconButton,{slot:"previous-year",size:"xs",variant:"ghost",colorPalette:"primary",children:e.jsx(u.KeyboardArrowLeft,{})}),e.jsx(C.Text,{textStyle:"sm",fontWeight:"500",color:"neutral.11",width:"1400",textAlign:"center","aria-hidden":"true",slot:"year"}),e.jsx(h.IconButton,{slot:"next-year",size:"xs",variant:"ghost",colorPalette:"primary",children:e.jsx(u.KeyboardArrowRight,{})})]})]})})},_=d=>{const n=D.useSlotRecipe({key:"calendar"}),[t,r]=n.splitVariantProps(d),[s,o]=I.extractStyleProps(r);return e.jsx(N,{...t,...s,asChild:!0,children:e.jsx(a.$dfd62f934fc76fed$export$e1aef45b828286de,{...o,children:e.jsxs(K,{children:[e.jsx(W,{}),e.jsx(V,{})]})})})};exports.Calendar=_;
2
+ //# sourceMappingURL=calendar-BFZb7VzL.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-BFZb7VzL.cjs.js","sources":["../../src/components/calendar/calendar.slots.tsx","../../src/components/calendar/calendar.i18n.ts","../../src/components/calendar/components/calendar.custom-context.tsx","../../src/components/calendar/components/calendar.grids.tsx","../../src/components/calendar/components/calendar.header.tsx","../../src/components/calendar/calendar.tsx"],"sourcesContent":["import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type {\n CalendarCellSlotProps,\n CalendarGridBodySlotProps,\n CalendarGridHeaderSlotProps,\n CalendarGridSlotProps,\n CalendarGridsSlotProps,\n CalendarHeaderCellSlotProps,\n CalendarHeaderSlotProps,\n CalendarMonthTitleSlotProps,\n CalendarRootSlotProps,\n} from \"./calendar.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"calendar\",\n});\n\nexport const CalendarRootSlot: SlotComponent<\n HTMLDivElement,\n CalendarRootSlotProps\n> = withProvider<HTMLDivElement, CalendarRootSlotProps>(\"div\", \"root\");\n\nexport const CalendarHeaderSlot = withContext<\n HTMLDivElement,\n CalendarHeaderSlotProps\n>(\"div\", \"header\");\n\nexport const CalendarGridsSlot = withContext<\n HTMLDivElement,\n CalendarGridsSlotProps\n>(\"div\", \"grids\");\n\nexport const CalendarMonthTitleSlot = withContext<\n HTMLDivElement,\n CalendarMonthTitleSlotProps\n>(\"div\", \"monthTitle\");\n\nexport const CalendarGridSlot = withContext<\n HTMLTableElement,\n CalendarGridSlotProps\n>(\"table\", \"grid\");\n\nexport const CalendarGridHeaderSlot = withContext<\n HTMLTableSectionElement,\n CalendarGridHeaderSlotProps\n>(\"thead\", \"gridHeader\");\n\nexport const CalendarHeaderCellSlot = withContext<\n HTMLTableCellElement,\n CalendarHeaderCellSlotProps\n>(\"th\", \"headerCell\");\n\nexport const CalendarGridBodySlot = withContext<\n HTMLTableSectionElement,\n CalendarGridBodySlotProps\n>(\"tbody\", \"gridBody\");\n\nexport const CalendarCellSlot = withContext<\n HTMLTableCellElement,\n CalendarCellSlotProps\n>(\"td\", \"bodyCell\");\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n nextMonth: {\n id: \"Nimbus.Calendar.nextMonth\",\n description: \"aria-label for next month navigation button\",\n defaultMessage: \"Next month\",\n },\n previousMonth: {\n id: \"Nimbus.Calendar.previousMonth\",\n description: \"aria-label for previous month navigation button\",\n defaultMessage: \"Previous month\",\n },\n nextYear: {\n id: \"Nimbus.Calendar.nextYear\",\n description: \"aria-label for next year navigation button\",\n defaultMessage: \"Next year\",\n },\n previousYear: {\n id: \"Nimbus.Calendar.previousYear\",\n description: \"aria-label for previous year navigation button\",\n defaultMessage: \"Previous year\",\n },\n});\n","import { getLocalTimeZone } from \"@internationalized/date\";\nimport { useContext } from \"react\";\nimport {\n Provider,\n ButtonContext,\n CalendarStateContext,\n TextContext,\n useLocale,\n} from \"react-aria-components\";\nimport { useIntl } from \"react-intl\";\nimport { messages } from \"../calendar.i18n\";\n\nexport const CalendarCustomContext = ({\n children,\n}: {\n children: React.ReactNode;\n}) => {\n const intl = useIntl();\n const { locale } = useLocale();\n const buttonContext = useContext(ButtonContext)!;\n const textContext = useContext(TextContext)!;\n const calendarState = useContext(CalendarStateContext)!;\n\n /**\n * Button slots\n * ================================\n */\n const buttonSlots = {\n \"next-month\": {\n onPress: () => calendarState.focusNextSection(),\n \"aria-label\": intl.formatMessage(messages.nextMonth),\n },\n \"previous-month\": {\n onPress: () => calendarState.focusPreviousSection(),\n \"aria-label\": intl.formatMessage(messages.previousMonth),\n },\n \"next-year\": {\n onPress: () => calendarState.focusNextSection(true),\n \"aria-label\": intl.formatMessage(messages.nextYear),\n },\n \"previous-year\": {\n onPress: () => calendarState.focusPreviousSection(true),\n \"aria-label\": intl.formatMessage(messages.previousYear),\n },\n };\n\n /**\n * Text slots\n * ================================\n */\n const monthLabel = new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(calendarState.focusedDate.toDate(getLocalTimeZone()));\n\n const monthRangeLabel = [\n new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(calendarState.visibleRange.start.toDate(getLocalTimeZone())),\n new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(calendarState.visibleRange.end.toDate(getLocalTimeZone())),\n ].join(\" - \");\n\n const yearLabel = new Intl.DateTimeFormat(locale, {\n year: \"numeric\",\n }).format(calendarState.focusedDate.toDate(getLocalTimeZone()));\n\n const textSlots = {\n month: { children: monthLabel },\n monthRange: { children: monthRangeLabel },\n year: { children: yearLabel },\n };\n\n return (\n <Provider\n values={[\n [\n ButtonContext,\n {\n ...buttonContext,\n slots: {\n ...(buttonContext &&\n typeof buttonContext === \"object\" &&\n \"slots\" in buttonContext\n ? buttonContext.slots\n : {}),\n ...buttonSlots,\n },\n },\n ],\n [\n TextContext,\n {\n ...textContext,\n slots: {\n ...(textContext &&\n typeof textContext === \"object\" &&\n \"slots\" in textContext\n ? textContext.slots\n : {}),\n ...textSlots,\n },\n },\n ],\n ]}\n >\n {children}\n </Provider>\n );\n};\n","import { useContext } from \"react\";\nimport { today, getLocalTimeZone } from \"@internationalized/date\";\nimport {\n CalendarGrid as RaCalendarGrid,\n CalendarGridBody as RaCalendarGridBody,\n CalendarGridHeader as RaCalendarGridHeader,\n CalendarHeaderCell as RaCalendarHeaderCell,\n CalendarCell as RaCalendarCell,\n useSlottedContext,\n CalendarContext,\n CalendarStateContext,\n useLocale,\n} from \"react-aria-components\";\n\nimport { Box } from \"@/components\";\n\nimport {\n CalendarCellSlot,\n CalendarGridBodySlot,\n CalendarGridHeaderSlot,\n CalendarGridSlot,\n CalendarGridsSlot,\n CalendarHeaderCellSlot,\n CalendarMonthTitleSlot,\n} from \"../calendar.slots\";\n\nexport const CalendarGrids = () => {\n const { locale } = useLocale();\n const context = useSlottedContext(CalendarContext);\n const calendarState = useContext(CalendarStateContext)!;\n const visibleMonthsCount = context?.visibleDuration?.months || 1;\n const todayDate = today(getLocalTimeZone());\n const showMonthTitles = visibleMonthsCount > 1;\n\n return (\n <CalendarGridsSlot>\n {Array.from({ length: visibleMonthsCount }, (_, index) => {\n const gridDate = calendarState.visibleRange.start.add({\n months: index,\n });\n const monthName = new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(gridDate.toDate(getLocalTimeZone()));\n\n return (\n <Box\n key={monthName}\n width={visibleMonthsCount == 1 ? \"full\" : \"auto\"}\n >\n {showMonthTitles && (\n <CalendarMonthTitleSlot>{monthName}</CalendarMonthTitleSlot>\n )}\n <CalendarGridSlot asChild>\n <RaCalendarGrid offset={{ months: index }} weekdayStyle=\"short\">\n <CalendarGridHeaderSlot asChild>\n <RaCalendarGridHeader>\n {(day) => (\n <CalendarHeaderCellSlot asChild>\n <RaCalendarHeaderCell>{day}</RaCalendarHeaderCell>\n </CalendarHeaderCellSlot>\n )}\n </RaCalendarGridHeader>\n </CalendarGridHeaderSlot>\n <CalendarGridBodySlot asChild>\n <RaCalendarGridBody>\n {(date) => {\n const isToday = date.compare(todayDate) === 0;\n return (\n <CalendarCellSlot asChild data-today={isToday}>\n <RaCalendarCell date={date} />\n </CalendarCellSlot>\n );\n }}\n </RaCalendarGridBody>\n </CalendarGridBodySlot>\n </RaCalendarGrid>\n </CalendarGridSlot>\n </Box>\n );\n })}\n </CalendarGridsSlot>\n );\n};\n","import {\n CalendarContext,\n Heading,\n useSlottedContext,\n} from \"react-aria-components\";\nimport {\n Box,\n Flex,\n IconButton,\n Stack,\n Text,\n VisuallyHidden,\n} from \"@/components\";\nimport {\n KeyboardArrowLeft,\n KeyboardArrowRight,\n} from \"@commercetools/nimbus-icons\";\nimport { CalendarHeaderSlot } from \"../calendar.slots\";\n\nexport const CalendarHeader = () => {\n const calendarProps = useSlottedContext(CalendarContext);\n\n // Needed to decide wether to show a single month or a range\n const visibleDurationMonths = calendarProps?.visibleDuration?.months || 1;\n const showRangeLabel = visibleDurationMonths > 1;\n\n return (\n <CalendarHeaderSlot>\n <Flex>\n <Stack direction=\"row\" alignItems=\"center\">\n {/** solely for screen readers, if not present, a11y issues are raised */}\n <VisuallyHidden>\n <Heading />\n </VisuallyHidden>\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton\n slot={showRangeLabel ? \"previous\" : \"previous-month\"}\n size=\"xs\"\n variant=\"ghost\"\n colorPalette=\"primary\"\n >\n <KeyboardArrowLeft />\n </IconButton>\n <Text\n textStyle=\"sm\"\n fontWeight=\"500\"\n color=\"neutral.11\"\n width={showRangeLabel ? \"4000\" : \"2000\"}\n textAlign=\"center\"\n aria-hidden=\"true\"\n slot={showRangeLabel ? \"monthRange\" : \"month\"}\n />\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton\n slot={showRangeLabel ? \"next\" : \"next-month\"}\n size=\"xs\"\n variant=\"ghost\"\n colorPalette=\"primary\"\n >\n <KeyboardArrowRight />\n </IconButton>\n </Stack>\n <Box flexGrow=\"1\" />\n <Stack direction=\"row\" alignItems=\"center\">\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton\n slot=\"previous-year\"\n size=\"xs\"\n variant=\"ghost\"\n colorPalette=\"primary\"\n >\n <KeyboardArrowLeft />\n </IconButton>\n <Text\n textStyle=\"sm\"\n fontWeight=\"500\"\n color=\"neutral.11\"\n width=\"1400\"\n textAlign=\"center\"\n aria-hidden=\"true\"\n slot=\"year\"\n />\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton\n slot=\"next-year\"\n size=\"xs\"\n variant=\"ghost\"\n colorPalette=\"primary\"\n >\n <KeyboardArrowRight />\n </IconButton>\n </Stack>\n </Flex>\n </CalendarHeaderSlot>\n );\n};\n","import type { CalendarProps } from \"./calendar.types\";\nimport type { DateValue } from \"react-aria\";\n\nimport { Calendar as RaCalendar } from \"react-aria-components\";\n\nimport { CalendarRootSlot } from \"./calendar.slots\";\nimport {\n CalendarGrids,\n CalendarHeader,\n CalendarCustomContext,\n} from \"./components\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { extractStyleProps } from \"@/utils\";\n\n/**\n * # Calendar\n *\n * Calendars display a grid of days in one or more months and allow users to select a single date.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/calendar}\n */\nexport const Calendar = (props: CalendarProps<DateValue>) => {\n const recipe = useSlotRecipe({ key: \"calendar\" });\n const [recipeProps, remainingProps] = recipe.splitVariantProps(props);\n const [styleProps, otherProps] = extractStyleProps(remainingProps);\n\n return (\n <CalendarRootSlot {...recipeProps} {...styleProps} asChild>\n <RaCalendar {...otherProps}>\n <CalendarCustomContext>\n <CalendarHeader />\n <CalendarGrids />\n </CalendarCustomContext>\n </RaCalendar>\n </CalendarRootSlot>\n );\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","CalendarRootSlot","CalendarHeaderSlot","CalendarGridsSlot","CalendarMonthTitleSlot","CalendarGridSlot","CalendarGridHeaderSlot","CalendarHeaderCellSlot","CalendarGridBodySlot","CalendarCellSlot","messages","defineMessages","CalendarCustomContext","children","intl","useIntl","locale","useLocale","buttonContext","useContext","ButtonContext","textContext","TextContext","calendarState","CalendarStateContext","buttonSlots","monthLabel","getLocalTimeZone","monthRangeLabel","yearLabel","textSlots","jsx","Provider","CalendarGrids","context","useSlottedContext","CalendarContext","visibleMonthsCount","todayDate","today","showMonthTitles","_","index","gridDate","monthName","jsxs","Box","RaCalendarGrid","RaCalendarGridHeader","day","RaCalendarHeaderCell","RaCalendarGridBody","date","isToday","RaCalendarCell","CalendarHeader","showRangeLabel","Flex","Stack","VisuallyHidden","Heading","IconButton","KeyboardArrowLeft","Text","KeyboardArrowRight","Calendar","props","recipe","useSlotRecipe","recipeProps","remainingProps","styleProps","otherProps","extractStyleProps","RaCalendar"],"mappings":"ytBAcM,CAAE,aAAAA,EAAc,YAAAC,CAAA,EAAgBC,0BAAwB,CAC5D,IAAK,UACP,CAAC,EAEYC,EAGTH,EAAoD,MAAO,MAAM,EAExDI,EAAqBH,EAGhC,MAAO,QAAQ,EAEJI,EAAoBJ,EAG/B,MAAO,OAAO,EAEHK,EAAyBL,EAGpC,MAAO,YAAY,EAERM,EAAmBN,EAG9B,QAAS,MAAM,EAEJO,EAAyBP,EAGpC,QAAS,YAAY,EAEVQ,EAAyBR,EAGpC,KAAM,YAAY,EAEPS,EAAuBT,EAGlC,QAAS,UAAU,EAERU,EAAmBV,EAG9B,KAAM,UAAU,EC3DLW,EAAWC,EAAAA,eAAe,CACrC,UAAW,CACT,GAAI,4BACJ,YAAa,8CACb,eAAgB,YAAA,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AAC2C,EAAAA,0CAAA,CAAY,GAAGF,EACd,gBAAC5D,EAAA,CACC,SAAA,CAAAmB,EAAAA,IAACwB,EAAA,EAAe,QACftB,EAAA,CAAA,CAAc,CAAA,CAAA,CACjB,EACF,EACF,CAEJ"}
@@ -1,28 +1,112 @@
1
1
  import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
- import { j as P, c as I, d as N, e as j, f as F, g as G, a as M, h as H, k as Y } from "./Heading-DXod1zoy.es.js";
3
- import { createSlotRecipeContext as A } from "@chakra-ui/react";
2
+ import { j as P, d as I, e as N, f as j, g as F, h as G, a as M, c as H, k as Y } from "./Heading-D804NNml.es.js";
3
+ import { createSlotRecipeContext as k } from "@chakra-ui/react";
4
+ import { useSlotRecipe as A } from "@chakra-ui/react/styled-system";
5
+ import { e as B } from "./extract-style-props-BjwbJ_Xp.es.js";
6
+ import { c as l, d as L } from "./useDateFormatter-CO08GpLe.es.js";
4
7
  import { useContext as u } from "react";
5
- import { c as B, d as l } from "./useDateFormatter-eE8d1TkO.es.js";
6
- import { c as w, e as L } from "./utils-_m_bPtjI.es.js";
8
+ import { $ } from "./Button-CmpJG0ec.es.js";
9
+ import { e as z, c as w } from "./utils-9vu7GUaz.es.js";
10
+ import { $ as g } from "./Text-DOcU1ycg.es.js";
11
+ import { defineMessages as V, useIntl as K } from "react-intl";
7
12
  import { $ as D } from "./context-DW7UvQ8z.es.js";
13
+ import { KeyboardArrowLeft as v, KeyboardArrowRight as y } from "@commercetools/nimbus-icons";
14
+ import { S as C } from "./stack-CoNreM7B.es.js";
15
+ import { T as S } from "./text-DvqDjbwb.es.js";
16
+ import { Flex as W } from "@chakra-ui/react/flex";
17
+ import { V as _ } from "./visually-hidden-m5QY9YV7.es.js";
18
+ import { I as h } from "./icon-button-CfN4QLes.es.js";
8
19
  import { B as R } from "./box-DuBoAZvq.es.js";
9
- import { KeyboardArrowLeft as $, KeyboardArrowRight as g } from "@commercetools/nimbus-icons";
10
- import { S as v } from "./stack-CoNreM7B.es.js";
11
- import { T as y } from "./text-BVYJmhjj.es.js";
12
- import { Flex as k } from "@chakra-ui/react/flex";
13
- import { V as z } from "./visually-hidden-BmFEAQP9.es.js";
14
- import { I as h } from "./icon-button-XkzBkGuJ.es.js";
15
- import { j as V } from "./index-B7wlrXvj.es.js";
16
- import { useRecipe as K } from "@chakra-ui/react/styled-system";
17
- import { e as W } from "./extract-style-props-fH5EHRZU.es.js";
18
- import { $ as C } from "./Button-SjGHt140.es.js";
19
- import { $ as S } from "./Text-DOcU1ycg.es.js";
20
- import { defineMessages as _, useIntl as q } from "react-intl";
21
- const { withProvider: E, withContext: s } = /* @__PURE__ */ A({
20
+ const { withProvider: q, withContext: s } = /* @__PURE__ */ k({
22
21
  key: "calendar"
23
- }), J = /* @__PURE__ */ E("div", "root"), O = /* @__PURE__ */ s("div", "header"), Q = /* @__PURE__ */ s("div", "grids"), U = /* @__PURE__ */ s("div", "monthTitle"), X = /* @__PURE__ */ s("table", "grid"), Z = /* @__PURE__ */ s("thead", "gridHeader"), ee = /* @__PURE__ */ s("th", "headerCell"), te = /* @__PURE__ */ s("tbody", "gridBody"), oe = /* @__PURE__ */ s("td", "bodyCell"), re = () => {
24
- const { locale: i } = D(), a = w(M), t = u(P), r = a?.visibleDuration?.months || 1, n = B(l()), o = r > 1;
25
- return /* @__PURE__ */ e(Q, { children: Array.from({ length: r }, (x, f) => {
22
+ }), E = /* @__PURE__ */ q("div", "root"), J = /* @__PURE__ */ s("div", "header"), O = /* @__PURE__ */ s("div", "grids"), Q = /* @__PURE__ */ s("div", "monthTitle"), U = /* @__PURE__ */ s("table", "grid"), X = /* @__PURE__ */ s("thead", "gridHeader"), Z = /* @__PURE__ */ s("th", "headerCell"), ee = /* @__PURE__ */ s("tbody", "gridBody"), te = /* @__PURE__ */ s("td", "bodyCell"), p = /* @__PURE__ */ V({
23
+ nextMonth: {
24
+ id: "Nimbus.Calendar.nextMonth",
25
+ description: "aria-label for next month navigation button",
26
+ defaultMessage: "Next month"
27
+ },
28
+ previousMonth: {
29
+ id: "Nimbus.Calendar.previousMonth",
30
+ description: "aria-label for previous month navigation button",
31
+ defaultMessage: "Previous month"
32
+ },
33
+ nextYear: {
34
+ id: "Nimbus.Calendar.nextYear",
35
+ description: "aria-label for next year navigation button",
36
+ defaultMessage: "Next year"
37
+ },
38
+ previousYear: {
39
+ id: "Nimbus.Calendar.previousYear",
40
+ description: "aria-label for previous year navigation button",
41
+ defaultMessage: "Previous year"
42
+ }
43
+ }), oe = ({
44
+ children: i
45
+ }) => {
46
+ const a = K(), { locale: t } = D(), r = u($), n = u(g), o = u(P), x = {
47
+ "next-month": {
48
+ onPress: () => o.focusNextSection(),
49
+ "aria-label": a.formatMessage(p.nextMonth)
50
+ },
51
+ "previous-month": {
52
+ onPress: () => o.focusPreviousSection(),
53
+ "aria-label": a.formatMessage(p.previousMonth)
54
+ },
55
+ "next-year": {
56
+ onPress: () => o.focusNextSection(!0),
57
+ "aria-label": a.formatMessage(p.nextYear)
58
+ },
59
+ "previous-year": {
60
+ onPress: () => o.focusPreviousSection(!0),
61
+ "aria-label": a.formatMessage(p.previousYear)
62
+ }
63
+ }, f = new Intl.DateTimeFormat(t, {
64
+ month: "long"
65
+ }).format(o.focusedDate.toDate(l())), b = [
66
+ new Intl.DateTimeFormat(t, {
67
+ month: "long"
68
+ }).format(o.visibleRange.start.toDate(l())),
69
+ new Intl.DateTimeFormat(t, {
70
+ month: "long"
71
+ }).format(o.visibleRange.end.toDate(l()))
72
+ ].join(" - "), m = new Intl.DateTimeFormat(t, {
73
+ year: "numeric"
74
+ }).format(o.focusedDate.toDate(l())), d = {
75
+ month: { children: f },
76
+ monthRange: { children: b },
77
+ year: { children: m }
78
+ };
79
+ return /* @__PURE__ */ e(
80
+ z,
81
+ {
82
+ values: [
83
+ [
84
+ $,
85
+ {
86
+ ...r,
87
+ slots: {
88
+ ...r && typeof r == "object" && "slots" in r ? r.slots : {},
89
+ ...x
90
+ }
91
+ }
92
+ ],
93
+ [
94
+ g,
95
+ {
96
+ ...n,
97
+ slots: {
98
+ ...n && typeof n == "object" && "slots" in n ? n.slots : {},
99
+ ...d
100
+ }
101
+ }
102
+ ]
103
+ ],
104
+ children: i
105
+ }
106
+ );
107
+ }, re = () => {
108
+ const { locale: i } = D(), a = w(M), t = u(P), r = a?.visibleDuration?.months || 1, n = L(l()), o = r > 1;
109
+ return /* @__PURE__ */ e(O, { children: Array.from({ length: r }, (x, f) => {
26
110
  const b = t.visibleRange.start.add({
27
111
  months: f
28
112
  }), m = new Intl.DateTimeFormat(i, {
@@ -33,12 +117,12 @@ const { withProvider: E, withContext: s } = /* @__PURE__ */ A({
33
117
  {
34
118
  width: r == 1 ? "full" : "auto",
35
119
  children: [
36
- o && /* @__PURE__ */ e(U, { children: m }),
37
- /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ c(I, { offset: { months: f }, weekdayStyle: "short", children: [
38
- /* @__PURE__ */ e(Z, { asChild: !0, children: /* @__PURE__ */ e(N, { children: (d) => /* @__PURE__ */ e(ee, { asChild: !0, children: /* @__PURE__ */ e(j, { children: d }) }) }) }),
39
- /* @__PURE__ */ e(te, { asChild: !0, children: /* @__PURE__ */ e(F, { children: (d) => {
120
+ o && /* @__PURE__ */ e(Q, { children: m }),
121
+ /* @__PURE__ */ e(U, { asChild: !0, children: /* @__PURE__ */ c(I, { offset: { months: f }, weekdayStyle: "short", children: [
122
+ /* @__PURE__ */ e(X, { asChild: !0, children: /* @__PURE__ */ e(N, { children: (d) => /* @__PURE__ */ e(Z, { asChild: !0, children: /* @__PURE__ */ e(j, { children: d }) }) }) }),
123
+ /* @__PURE__ */ e(ee, { asChild: !0, children: /* @__PURE__ */ e(F, { children: (d) => {
40
124
  const T = d.compare(n) === 0;
41
- return /* @__PURE__ */ e(oe, { asChild: !0, "data-today": T, children: /* @__PURE__ */ e(G, { date: d }) });
125
+ return /* @__PURE__ */ e(te, { asChild: !0, "data-today": T, children: /* @__PURE__ */ e(G, { date: d }) });
42
126
  } }) })
43
127
  ] }) })
44
128
  ]
@@ -48,9 +132,9 @@ const { withProvider: E, withContext: s } = /* @__PURE__ */ A({
48
132
  }) });
49
133
  }, ae = () => {
50
134
  const t = (w(M)?.visibleDuration?.months || 1) > 1;
51
- return /* @__PURE__ */ e(O, { children: /* @__PURE__ */ c(k, { children: [
52
- /* @__PURE__ */ c(v, { direction: "row", alignItems: "center", children: [
53
- /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(H, {}) }),
135
+ return /* @__PURE__ */ e(J, { children: /* @__PURE__ */ c(W, { children: [
136
+ /* @__PURE__ */ c(C, { direction: "row", alignItems: "center", children: [
137
+ /* @__PURE__ */ e(_, { children: /* @__PURE__ */ e(H, {}) }),
54
138
  /* @__PURE__ */ e(
55
139
  h,
56
140
  {
@@ -58,11 +142,11 @@ const { withProvider: E, withContext: s } = /* @__PURE__ */ A({
58
142
  size: "xs",
59
143
  variant: "ghost",
60
144
  colorPalette: "primary",
61
- children: /* @__PURE__ */ e($, {})
145
+ children: /* @__PURE__ */ e(v, {})
62
146
  }
63
147
  ),
64
148
  /* @__PURE__ */ e(
65
- y,
149
+ S,
66
150
  {
67
151
  textStyle: "sm",
68
152
  fontWeight: "500",
@@ -80,12 +164,12 @@ const { withProvider: E, withContext: s } = /* @__PURE__ */ A({
80
164
  size: "xs",
81
165
  variant: "ghost",
82
166
  colorPalette: "primary",
83
- children: /* @__PURE__ */ e(g, {})
167
+ children: /* @__PURE__ */ e(y, {})
84
168
  }
85
169
  )
86
170
  ] }),
87
171
  /* @__PURE__ */ e(R, { flexGrow: "1" }),
88
- /* @__PURE__ */ c(v, { direction: "row", alignItems: "center", children: [
172
+ /* @__PURE__ */ c(C, { direction: "row", alignItems: "center", children: [
89
173
  /* @__PURE__ */ e(
90
174
  h,
91
175
  {
@@ -93,11 +177,11 @@ const { withProvider: E, withContext: s } = /* @__PURE__ */ A({
93
177
  size: "xs",
94
178
  variant: "ghost",
95
179
  colorPalette: "primary",
96
- children: /* @__PURE__ */ e($, {})
180
+ children: /* @__PURE__ */ e(v, {})
97
181
  }
98
182
  ),
99
183
  /* @__PURE__ */ e(
100
- y,
184
+ S,
101
185
  {
102
186
  textStyle: "sm",
103
187
  fontWeight: "500",
@@ -115,104 +199,19 @@ const { withProvider: E, withContext: s } = /* @__PURE__ */ A({
115
199
  size: "xs",
116
200
  variant: "ghost",
117
201
  colorPalette: "primary",
118
- children: /* @__PURE__ */ e(g, {})
202
+ children: /* @__PURE__ */ e(y, {})
119
203
  }
120
204
  )
121
205
  ] })
122
206
  ] }) });
123
- }, p = /* @__PURE__ */ _({
124
- nextMonth: {
125
- id: "Nimbus.Calendar.nextMonth",
126
- description: "aria-label for next month navigation button",
127
- defaultMessage: "Next month"
128
- },
129
- previousMonth: {
130
- id: "Nimbus.Calendar.previousMonth",
131
- description: "aria-label for previous month navigation button",
132
- defaultMessage: "Previous month"
133
- },
134
- nextYear: {
135
- id: "Nimbus.Calendar.nextYear",
136
- description: "aria-label for next year navigation button",
137
- defaultMessage: "Next year"
138
- },
139
- previousYear: {
140
- id: "Nimbus.Calendar.previousYear",
141
- description: "aria-label for previous year navigation button",
142
- defaultMessage: "Previous year"
143
- }
144
- }), ne = ({
145
- children: i
146
- }) => {
147
- const a = q(), { locale: t } = D(), r = u(C), n = u(S), o = u(P), x = {
148
- "next-month": {
149
- onPress: () => o.focusNextSection(),
150
- "aria-label": a.formatMessage(p.nextMonth)
151
- },
152
- "previous-month": {
153
- onPress: () => o.focusPreviousSection(),
154
- "aria-label": a.formatMessage(p.previousMonth)
155
- },
156
- "next-year": {
157
- onPress: () => o.focusNextSection(!0),
158
- "aria-label": a.formatMessage(p.nextYear)
159
- },
160
- "previous-year": {
161
- onPress: () => o.focusPreviousSection(!0),
162
- "aria-label": a.formatMessage(p.previousYear)
163
- }
164
- }, f = new Intl.DateTimeFormat(t, {
165
- month: "long"
166
- }).format(o.focusedDate.toDate(l())), b = [
167
- new Intl.DateTimeFormat(t, {
168
- month: "long"
169
- }).format(o.visibleRange.start.toDate(l())),
170
- new Intl.DateTimeFormat(t, {
171
- month: "long"
172
- }).format(o.visibleRange.end.toDate(l()))
173
- ].join(" - "), m = new Intl.DateTimeFormat(t, {
174
- year: "numeric"
175
- }).format(o.focusedDate.toDate(l())), d = {
176
- month: { children: f },
177
- monthRange: { children: b },
178
- year: { children: m }
179
- };
180
- return /* @__PURE__ */ e(
181
- L,
182
- {
183
- values: [
184
- [
185
- C,
186
- {
187
- ...r,
188
- slots: {
189
- ...r && typeof r == "object" && "slots" in r ? r.slots : {},
190
- ...x
191
- }
192
- }
193
- ],
194
- [
195
- S,
196
- {
197
- ...n,
198
- slots: {
199
- ...n && typeof n == "object" && "slots" in n ? n.slots : {},
200
- ...d
201
- }
202
- }
203
- ]
204
- ],
205
- children: i
206
- }
207
- );
208
- }, we = (i) => {
209
- const a = K({ recipe: V }), [t, r] = a.splitVariantProps(i), [n, o] = W(r);
210
- return /* @__PURE__ */ e(J, { ...t, ...n, asChild: !0, children: /* @__PURE__ */ e(Y, { ...o, children: /* @__PURE__ */ c(ne, { children: [
207
+ }, Pe = (i) => {
208
+ const a = A({ key: "calendar" }), [t, r] = a.splitVariantProps(i), [n, o] = B(r);
209
+ return /* @__PURE__ */ e(E, { ...t, ...n, asChild: !0, children: /* @__PURE__ */ e(Y, { ...o, children: /* @__PURE__ */ c(oe, { children: [
211
210
  /* @__PURE__ */ e(ae, {}),
212
211
  /* @__PURE__ */ e(re, {})
213
212
  ] }) }) });
214
213
  };
215
214
  export {
216
- we as C
215
+ Pe as C
217
216
  };
218
- //# sourceMappingURL=calendar-D7pzgXqX.es.js.map
217
+ //# sourceMappingURL=calendar-vWKF4KRn.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-vWKF4KRn.es.js","sources":["../../src/components/calendar/calendar.slots.tsx","../../src/components/calendar/calendar.i18n.ts","../../src/components/calendar/components/calendar.custom-context.tsx","../../src/components/calendar/components/calendar.grids.tsx","../../src/components/calendar/components/calendar.header.tsx","../../src/components/calendar/calendar.tsx"],"sourcesContent":["import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type {\n CalendarCellSlotProps,\n CalendarGridBodySlotProps,\n CalendarGridHeaderSlotProps,\n CalendarGridSlotProps,\n CalendarGridsSlotProps,\n CalendarHeaderCellSlotProps,\n CalendarHeaderSlotProps,\n CalendarMonthTitleSlotProps,\n CalendarRootSlotProps,\n} from \"./calendar.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"calendar\",\n});\n\nexport const CalendarRootSlot: SlotComponent<\n HTMLDivElement,\n CalendarRootSlotProps\n> = withProvider<HTMLDivElement, CalendarRootSlotProps>(\"div\", \"root\");\n\nexport const CalendarHeaderSlot = withContext<\n HTMLDivElement,\n CalendarHeaderSlotProps\n>(\"div\", \"header\");\n\nexport const CalendarGridsSlot = withContext<\n HTMLDivElement,\n CalendarGridsSlotProps\n>(\"div\", \"grids\");\n\nexport const CalendarMonthTitleSlot = withContext<\n HTMLDivElement,\n CalendarMonthTitleSlotProps\n>(\"div\", \"monthTitle\");\n\nexport const CalendarGridSlot = withContext<\n HTMLTableElement,\n CalendarGridSlotProps\n>(\"table\", \"grid\");\n\nexport const CalendarGridHeaderSlot = withContext<\n HTMLTableSectionElement,\n CalendarGridHeaderSlotProps\n>(\"thead\", \"gridHeader\");\n\nexport const CalendarHeaderCellSlot = withContext<\n HTMLTableCellElement,\n CalendarHeaderCellSlotProps\n>(\"th\", \"headerCell\");\n\nexport const CalendarGridBodySlot = withContext<\n HTMLTableSectionElement,\n CalendarGridBodySlotProps\n>(\"tbody\", \"gridBody\");\n\nexport const CalendarCellSlot = withContext<\n HTMLTableCellElement,\n CalendarCellSlotProps\n>(\"td\", \"bodyCell\");\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n nextMonth: {\n id: \"Nimbus.Calendar.nextMonth\",\n description: \"aria-label for next month navigation button\",\n defaultMessage: \"Next month\",\n },\n previousMonth: {\n id: \"Nimbus.Calendar.previousMonth\",\n description: \"aria-label for previous month navigation button\",\n defaultMessage: \"Previous month\",\n },\n nextYear: {\n id: \"Nimbus.Calendar.nextYear\",\n description: \"aria-label for next year navigation button\",\n defaultMessage: \"Next year\",\n },\n previousYear: {\n id: \"Nimbus.Calendar.previousYear\",\n description: \"aria-label for previous year navigation button\",\n defaultMessage: \"Previous year\",\n },\n});\n","import { getLocalTimeZone } from \"@internationalized/date\";\nimport { useContext } from \"react\";\nimport {\n Provider,\n ButtonContext,\n CalendarStateContext,\n TextContext,\n useLocale,\n} from \"react-aria-components\";\nimport { useIntl } from \"react-intl\";\nimport { messages } from \"../calendar.i18n\";\n\nexport const CalendarCustomContext = ({\n children,\n}: {\n children: React.ReactNode;\n}) => {\n const intl = useIntl();\n const { locale } = useLocale();\n const buttonContext = useContext(ButtonContext)!;\n const textContext = useContext(TextContext)!;\n const calendarState = useContext(CalendarStateContext)!;\n\n /**\n * Button slots\n * ================================\n */\n const buttonSlots = {\n \"next-month\": {\n onPress: () => calendarState.focusNextSection(),\n \"aria-label\": intl.formatMessage(messages.nextMonth),\n },\n \"previous-month\": {\n onPress: () => calendarState.focusPreviousSection(),\n \"aria-label\": intl.formatMessage(messages.previousMonth),\n },\n \"next-year\": {\n onPress: () => calendarState.focusNextSection(true),\n \"aria-label\": intl.formatMessage(messages.nextYear),\n },\n \"previous-year\": {\n onPress: () => calendarState.focusPreviousSection(true),\n \"aria-label\": intl.formatMessage(messages.previousYear),\n },\n };\n\n /**\n * Text slots\n * ================================\n */\n const monthLabel = new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(calendarState.focusedDate.toDate(getLocalTimeZone()));\n\n const monthRangeLabel = [\n new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(calendarState.visibleRange.start.toDate(getLocalTimeZone())),\n new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(calendarState.visibleRange.end.toDate(getLocalTimeZone())),\n ].join(\" - \");\n\n const yearLabel = new Intl.DateTimeFormat(locale, {\n year: \"numeric\",\n }).format(calendarState.focusedDate.toDate(getLocalTimeZone()));\n\n const textSlots = {\n month: { children: monthLabel },\n monthRange: { children: monthRangeLabel },\n year: { children: yearLabel },\n };\n\n return (\n <Provider\n values={[\n [\n ButtonContext,\n {\n ...buttonContext,\n slots: {\n ...(buttonContext &&\n typeof buttonContext === \"object\" &&\n \"slots\" in buttonContext\n ? buttonContext.slots\n : {}),\n ...buttonSlots,\n },\n },\n ],\n [\n TextContext,\n {\n ...textContext,\n slots: {\n ...(textContext &&\n typeof textContext === \"object\" &&\n \"slots\" in textContext\n ? textContext.slots\n : {}),\n ...textSlots,\n },\n },\n ],\n ]}\n >\n {children}\n </Provider>\n );\n};\n","import { useContext } from \"react\";\nimport { today, getLocalTimeZone } from \"@internationalized/date\";\nimport {\n CalendarGrid as RaCalendarGrid,\n CalendarGridBody as RaCalendarGridBody,\n CalendarGridHeader as RaCalendarGridHeader,\n CalendarHeaderCell as RaCalendarHeaderCell,\n CalendarCell as RaCalendarCell,\n useSlottedContext,\n CalendarContext,\n CalendarStateContext,\n useLocale,\n} from \"react-aria-components\";\n\nimport { Box } from \"@/components\";\n\nimport {\n CalendarCellSlot,\n CalendarGridBodySlot,\n CalendarGridHeaderSlot,\n CalendarGridSlot,\n CalendarGridsSlot,\n CalendarHeaderCellSlot,\n CalendarMonthTitleSlot,\n} from \"../calendar.slots\";\n\nexport const CalendarGrids = () => {\n const { locale } = useLocale();\n const context = useSlottedContext(CalendarContext);\n const calendarState = useContext(CalendarStateContext)!;\n const visibleMonthsCount = context?.visibleDuration?.months || 1;\n const todayDate = today(getLocalTimeZone());\n const showMonthTitles = visibleMonthsCount > 1;\n\n return (\n <CalendarGridsSlot>\n {Array.from({ length: visibleMonthsCount }, (_, index) => {\n const gridDate = calendarState.visibleRange.start.add({\n months: index,\n });\n const monthName = new Intl.DateTimeFormat(locale, {\n month: \"long\",\n }).format(gridDate.toDate(getLocalTimeZone()));\n\n return (\n <Box\n key={monthName}\n width={visibleMonthsCount == 1 ? \"full\" : \"auto\"}\n >\n {showMonthTitles && (\n <CalendarMonthTitleSlot>{monthName}</CalendarMonthTitleSlot>\n )}\n <CalendarGridSlot asChild>\n <RaCalendarGrid offset={{ months: index }} weekdayStyle=\"short\">\n <CalendarGridHeaderSlot asChild>\n <RaCalendarGridHeader>\n {(day) => (\n <CalendarHeaderCellSlot asChild>\n <RaCalendarHeaderCell>{day}</RaCalendarHeaderCell>\n </CalendarHeaderCellSlot>\n )}\n </RaCalendarGridHeader>\n </CalendarGridHeaderSlot>\n <CalendarGridBodySlot asChild>\n <RaCalendarGridBody>\n {(date) => {\n const isToday = date.compare(todayDate) === 0;\n return (\n <CalendarCellSlot asChild data-today={isToday}>\n <RaCalendarCell date={date} />\n </CalendarCellSlot>\n );\n }}\n </RaCalendarGridBody>\n </CalendarGridBodySlot>\n </RaCalendarGrid>\n </CalendarGridSlot>\n </Box>\n );\n })}\n </CalendarGridsSlot>\n );\n};\n","import {\n CalendarContext,\n Heading,\n useSlottedContext,\n} from \"react-aria-components\";\nimport {\n Box,\n Flex,\n IconButton,\n Stack,\n Text,\n VisuallyHidden,\n} from \"@/components\";\nimport {\n KeyboardArrowLeft,\n KeyboardArrowRight,\n} from \"@commercetools/nimbus-icons\";\nimport { CalendarHeaderSlot } from \"../calendar.slots\";\n\nexport const CalendarHeader = () => {\n const calendarProps = useSlottedContext(CalendarContext);\n\n // Needed to decide wether to show a single month or a range\n const visibleDurationMonths = calendarProps?.visibleDuration?.months || 1;\n const showRangeLabel = visibleDurationMonths > 1;\n\n return (\n <CalendarHeaderSlot>\n <Flex>\n <Stack direction=\"row\" alignItems=\"center\">\n {/** solely for screen readers, if not present, a11y issues are raised */}\n <VisuallyHidden>\n <Heading />\n </VisuallyHidden>\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton\n slot={showRangeLabel ? \"previous\" : \"previous-month\"}\n size=\"xs\"\n variant=\"ghost\"\n colorPalette=\"primary\"\n >\n <KeyboardArrowLeft />\n </IconButton>\n <Text\n textStyle=\"sm\"\n fontWeight=\"500\"\n color=\"neutral.11\"\n width={showRangeLabel ? \"4000\" : \"2000\"}\n textAlign=\"center\"\n aria-hidden=\"true\"\n slot={showRangeLabel ? \"monthRange\" : \"month\"}\n />\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton\n slot={showRangeLabel ? \"next\" : \"next-month\"}\n size=\"xs\"\n variant=\"ghost\"\n colorPalette=\"primary\"\n >\n <KeyboardArrowRight />\n </IconButton>\n </Stack>\n <Box flexGrow=\"1\" />\n <Stack direction=\"row\" alignItems=\"center\">\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton\n slot=\"previous-year\"\n size=\"xs\"\n variant=\"ghost\"\n colorPalette=\"primary\"\n >\n <KeyboardArrowLeft />\n </IconButton>\n <Text\n textStyle=\"sm\"\n fontWeight=\"500\"\n color=\"neutral.11\"\n width=\"1400\"\n textAlign=\"center\"\n aria-hidden=\"true\"\n slot=\"year\"\n />\n {/* @ts-expect-error - custom-context will add aria-label via the \"slot\" prop */}\n <IconButton\n slot=\"next-year\"\n size=\"xs\"\n variant=\"ghost\"\n colorPalette=\"primary\"\n >\n <KeyboardArrowRight />\n </IconButton>\n </Stack>\n </Flex>\n </CalendarHeaderSlot>\n );\n};\n","import type { CalendarProps } from \"./calendar.types\";\nimport type { DateValue } from \"react-aria\";\n\nimport { Calendar as RaCalendar } from \"react-aria-components\";\n\nimport { CalendarRootSlot } from \"./calendar.slots\";\nimport {\n CalendarGrids,\n CalendarHeader,\n CalendarCustomContext,\n} from \"./components\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { extractStyleProps } from \"@/utils\";\n\n/**\n * # Calendar\n *\n * Calendars display a grid of days in one or more months and allow users to select a single date.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/calendar}\n */\nexport const Calendar = (props: CalendarProps<DateValue>) => {\n const recipe = useSlotRecipe({ key: \"calendar\" });\n const [recipeProps, remainingProps] = recipe.splitVariantProps(props);\n const [styleProps, otherProps] = extractStyleProps(remainingProps);\n\n return (\n <CalendarRootSlot {...recipeProps} {...styleProps} asChild>\n <RaCalendar {...otherProps}>\n <CalendarCustomContext>\n <CalendarHeader />\n <CalendarGrids />\n </CalendarCustomContext>\n </RaCalendar>\n </CalendarRootSlot>\n );\n};\n"],"names":["withProvider","withContext","createSlotRecipeContext","CalendarRootSlot","CalendarHeaderSlot","CalendarGridsSlot","CalendarMonthTitleSlot","CalendarGridSlot","CalendarGridHeaderSlot","CalendarHeaderCellSlot","CalendarGridBodySlot","CalendarCellSlot","messages","defineMessages","CalendarCustomContext","children","intl","useIntl","locale","useLocale","buttonContext","useContext","ButtonContext","textContext","TextContext","calendarState","CalendarStateContext","buttonSlots","monthLabel","getLocalTimeZone","monthRangeLabel","yearLabel","textSlots","jsx","Provider","CalendarGrids","context","useSlottedContext","CalendarContext","visibleMonthsCount","todayDate","today","showMonthTitles","_","index","gridDate","monthName","jsxs","Box","RaCalendarGrid","RaCalendarGridHeader","day","RaCalendarHeaderCell","RaCalendarGridBody","date","isToday","RaCalendarCell","CalendarHeader","showRangeLabel","Flex","Stack","VisuallyHidden","Heading","IconButton","KeyboardArrowLeft","Text","KeyboardArrowRight","Calendar","props","recipe","useSlotRecipe","recipeProps","remainingProps","styleProps","otherProps","extractStyleProps","RaCalendar"],"mappings":";;;;;;;;;;;;;;;;;;;AAcA,MAAM,EAAE,cAAAA,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,KAAK;AACP,CAAC,GAEYC,IAGT,gBAAAH,EAAoD,OAAO,MAAM,GAExDI,IAAqB,gBAAAH,EAGhC,OAAO,QAAQ,GAEJI,IAAoB,gBAAAJ,EAG/B,OAAO,OAAO,GAEHK,IAAyB,gBAAAL,EAGpC,OAAO,YAAY,GAERM,IAAmB,gBAAAN,EAG9B,SAA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