@commercetools/nimbus 0.0.9-rc5 → 0.0.9-rc7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.d.ts +157 -0
- package/dist/alert.d.ts +173 -0
- package/dist/avatar.d.ts +70 -0
- package/dist/badge.d.ts +102 -0
- package/dist/box.d.ts +14 -0
- package/dist/button.d.ts +38 -0
- package/dist/calendar.d.ts +26 -0
- package/dist/card.d.ts +134 -0
- package/dist/checkbox.d.ts +73 -0
- package/dist/chunks/Button-DOBmPkg6.js +2 -0
- package/dist/chunks/Button-DOBmPkg6.js.map +1 -0
- package/dist/chunks/Button-Dtn-lV5G.js +79 -0
- package/dist/chunks/Button-Dtn-lV5G.js.map +1 -0
- package/dist/chunks/DateField-C2G53tNO.js +2564 -0
- package/dist/chunks/DateField-C2G53tNO.js.map +1 -0
- package/dist/chunks/DateField-D0hZjHMU.js +2 -0
- package/dist/chunks/DateField-D0hZjHMU.js.map +1 -0
- package/dist/chunks/Dialog-CFCn7n-k.js +2 -0
- package/dist/chunks/Dialog-CFCn7n-k.js.map +1 -0
- package/dist/chunks/Dialog-DsJ3jo2g.js +870 -0
- package/dist/chunks/Dialog-DsJ3jo2g.js.map +1 -0
- package/dist/chunks/FocusScope-B6O_mZ9T.js +627 -0
- package/dist/chunks/FocusScope-B6O_mZ9T.js.map +1 -0
- package/dist/chunks/FocusScope-Dz6kDOQY.js +2 -0
- package/dist/chunks/FocusScope-Dz6kDOQY.js.map +1 -0
- package/dist/chunks/Form-DdaqVtM4.js +8 -0
- package/dist/chunks/Form-DdaqVtM4.js.map +1 -0
- package/dist/chunks/Form-DqkTf3LZ.js +2 -0
- package/dist/chunks/Form-DqkTf3LZ.js.map +1 -0
- package/dist/chunks/Group-BMf2x0bV.js +78 -0
- package/dist/chunks/Group-BMf2x0bV.js.map +1 -0
- package/dist/chunks/Group-DR52Cv_h.js +2 -0
- package/dist/chunks/Group-DR52Cv_h.js.map +1 -0
- package/dist/chunks/Hidden-BxRZGdEW.js +2 -0
- package/dist/chunks/Hidden-BxRZGdEW.js.map +1 -0
- package/dist/chunks/Hidden-D6Lfpu1U.js +35 -0
- package/dist/chunks/Hidden-D6Lfpu1U.js.map +1 -0
- package/dist/chunks/Input-C6fX3A5E.js +43 -0
- package/dist/chunks/Input-C6fX3A5E.js.map +1 -0
- package/dist/chunks/Input-CRt1BJ4n.js +2 -0
- package/dist/chunks/Input-CRt1BJ4n.js.map +1 -0
- package/dist/chunks/ListBox-CHhUqc7T.js +18 -0
- package/dist/chunks/ListBox-CHhUqc7T.js.map +1 -0
- package/dist/chunks/ListBox-DH3lufv2.js +3071 -0
- package/dist/chunks/ListBox-DH3lufv2.js.map +1 -0
- package/dist/chunks/LiveAnnouncer-B6177m92.js +52 -0
- package/dist/chunks/LiveAnnouncer-B6177m92.js.map +1 -0
- package/dist/chunks/LiveAnnouncer-CwEWPU8b.js +2 -0
- package/dist/chunks/LiveAnnouncer-CwEWPU8b.js.map +1 -0
- package/dist/chunks/NumberFormatter-DewVDY5w.js +2 -0
- package/dist/chunks/NumberFormatter-DewVDY5w.js.map +1 -0
- package/dist/chunks/NumberFormatter-DgOUVrge.js +120 -0
- package/dist/chunks/NumberFormatter-DgOUVrge.js.map +1 -0
- package/dist/chunks/OverlayArrow-B1kv2W8j.js +479 -0
- package/dist/chunks/OverlayArrow-B1kv2W8j.js.map +1 -0
- package/dist/chunks/OverlayArrow-DsxKFiKE.js +2 -0
- package/dist/chunks/OverlayArrow-DsxKFiKE.js.map +1 -0
- package/dist/chunks/RSPContexts-CxXY5Uko.js +11 -0
- package/dist/chunks/RSPContexts-CxXY5Uko.js.map +1 -0
- package/dist/chunks/RSPContexts-qzadeFSO.js +2 -0
- package/dist/chunks/RSPContexts-qzadeFSO.js.map +1 -0
- package/dist/chunks/SSRProvider-D8lZ0o6A.js +51 -0
- package/dist/chunks/SSRProvider-D8lZ0o6A.js.map +1 -0
- package/dist/chunks/SSRProvider-DZRLwxPS.js +2 -0
- package/dist/chunks/SSRProvider-DZRLwxPS.js.map +1 -0
- package/dist/chunks/Text-BWSfeB9p.js +2 -0
- package/dist/chunks/Text-BWSfeB9p.js.map +1 -0
- package/dist/chunks/Text-DOcU1ycg.js +6 -0
- package/dist/chunks/Text-DOcU1ycg.js.map +1 -0
- package/dist/chunks/TextArea-D-S_3q08.js +42 -0
- package/dist/chunks/TextArea-D-S_3q08.js.map +1 -0
- package/dist/chunks/TextArea-Ud71sffr.js +2 -0
- package/dist/chunks/TextArea-Ud71sffr.js.map +1 -0
- package/dist/chunks/VisuallyHidden-BpUTcba_.js +41 -0
- package/dist/chunks/VisuallyHidden-BpUTcba_.js.map +1 -0
- package/dist/chunks/VisuallyHidden-BxenYie4.js +2 -0
- package/dist/chunks/VisuallyHidden-BxenYie4.js.map +1 -0
- package/dist/chunks/accordion-8pelAIyn.js +2 -0
- package/dist/chunks/accordion-8pelAIyn.js.map +1 -0
- package/dist/chunks/accordion-Dc3IqP_d.js +221 -0
- package/dist/chunks/accordion-Dc3IqP_d.js.map +1 -0
- package/dist/chunks/alert-DSpVYhCa.js +186 -0
- package/dist/chunks/alert-DSpVYhCa.js.map +1 -0
- package/dist/chunks/alert-DxoCjJDr.js +2 -0
- package/dist/chunks/alert-DxoCjJDr.js.map +1 -0
- package/dist/chunks/avatar-Aa0LrRpo.js +2 -0
- package/dist/chunks/avatar-Aa0LrRpo.js.map +1 -0
- package/dist/chunks/avatar-p4QfPsxN.js +37 -0
- package/dist/chunks/avatar-p4QfPsxN.js.map +1 -0
- package/dist/chunks/avatar.recipe-BV5OkaPx.js +39 -0
- package/dist/chunks/avatar.recipe-BV5OkaPx.js.map +1 -0
- package/dist/chunks/avatar.recipe-aGNBZhVF.js +2 -0
- package/dist/chunks/avatar.recipe-aGNBZhVF.js.map +1 -0
- package/dist/chunks/badge-BFbBB0US.js +2 -0
- package/dist/chunks/badge-BFbBB0US.js.map +1 -0
- package/dist/chunks/badge-CbqLqIo9.js +76 -0
- package/dist/chunks/badge-CbqLqIo9.js.map +1 -0
- package/dist/chunks/box-DD4jYgS7.js +11 -0
- package/dist/chunks/box-DD4jYgS7.js.map +1 -0
- package/dist/chunks/box-FU6tRPFs.js +2 -0
- package/dist/chunks/box-FU6tRPFs.js.map +1 -0
- package/dist/chunks/button-Ckftvc2h.js +66 -0
- package/dist/chunks/button-Ckftvc2h.js.map +1 -0
- package/dist/chunks/button-vfAeHh1t.js +2 -0
- package/dist/chunks/button-vfAeHh1t.js.map +1 -0
- package/dist/chunks/button.recipe-DHk13lGU.js +2 -0
- package/dist/chunks/button.recipe-DHk13lGU.js.map +1 -0
- package/dist/chunks/button.recipe-DbFAOebT.js +191 -0
- package/dist/chunks/button.recipe-DbFAOebT.js.map +1 -0
- package/dist/chunks/calendar-Bz_gsrGo.js +1577 -0
- package/dist/chunks/calendar-Bz_gsrGo.js.map +1 -0
- package/dist/chunks/calendar-Cs2rHplP.js +2 -0
- package/dist/chunks/calendar-Cs2rHplP.js.map +1 -0
- package/dist/chunks/calendar.recipe-RdPylgdo.js +101 -0
- package/dist/chunks/calendar.recipe-RdPylgdo.js.map +1 -0
- package/dist/chunks/calendar.recipe-gUaUNltl.js +2 -0
- package/dist/chunks/calendar.recipe-gUaUNltl.js.map +1 -0
- package/dist/chunks/card-B0BsL4ol.js +2 -0
- package/dist/chunks/card-B0BsL4ol.js.map +1 -0
- package/dist/chunks/card-CQwHrkIF.js +138 -0
- package/dist/chunks/card-CQwHrkIF.js.map +1 -0
- package/dist/chunks/checkbox-C5jtHkVZ.js +89 -0
- package/dist/chunks/checkbox-C5jtHkVZ.js.map +1 -0
- package/dist/chunks/checkbox-Cwb_QZjZ.js +2 -0
- package/dist/chunks/checkbox-Cwb_QZjZ.js.map +1 -0
- package/dist/chunks/code-CI8aUhmu.js +6 -0
- package/dist/chunks/code-CI8aUhmu.js.map +1 -0
- package/dist/chunks/code-Dg4Larbo.js +2 -0
- package/dist/chunks/code-Dg4Larbo.js.map +1 -0
- package/dist/chunks/combobox--lHdni2Z.js +1896 -0
- package/dist/chunks/combobox--lHdni2Z.js.map +1 -0
- package/dist/chunks/combobox-BACFWgP3.js +2 -0
- package/dist/chunks/combobox-BACFWgP3.js.map +1 -0
- package/dist/chunks/combobox.recipe-BzaPWi66.js +2 -0
- package/dist/chunks/combobox.recipe-BzaPWi66.js.map +1 -0
- package/dist/chunks/combobox.recipe-KVsma6zb.js +382 -0
- package/dist/chunks/combobox.recipe-KVsma6zb.js.map +1 -0
- package/dist/chunks/context-BmQ51HC8.js +2 -0
- package/dist/chunks/context-BmQ51HC8.js.map +1 -0
- package/dist/chunks/context-CgP0qpkX.js +94 -0
- package/dist/chunks/context-CgP0qpkX.js.map +1 -0
- package/dist/chunks/date-input-9oZMESC7.js +2 -0
- package/dist/chunks/date-input-9oZMESC7.js.map +1 -0
- package/dist/chunks/date-input-DK9U-Nh8.js +16 -0
- package/dist/chunks/date-input-DK9U-Nh8.js.map +1 -0
- package/dist/chunks/date-input.recipe-BcsevQtW.js +119 -0
- package/dist/chunks/date-input.recipe-BcsevQtW.js.map +1 -0
- package/dist/chunks/date-input.recipe-Cf9e8VAr.js +2 -0
- package/dist/chunks/date-input.recipe-Cf9e8VAr.js.map +1 -0
- package/dist/chunks/date-picker-CwXGnIiO.js +2 -0
- package/dist/chunks/date-picker-CwXGnIiO.js.map +1 -0
- package/dist/chunks/date-picker-ShPOqwXi.js +487 -0
- package/dist/chunks/date-picker-ShPOqwXi.js.map +1 -0
- package/dist/chunks/date-picker.recipe-5Avb06qp.js +2 -0
- package/dist/chunks/date-picker.recipe-5Avb06qp.js.map +1 -0
- package/dist/chunks/date-picker.recipe-BJ79OJaw.js +82 -0
- package/dist/chunks/date-picker.recipe-BJ79OJaw.js.map +1 -0
- package/dist/chunks/dialog-C1HRMUcF.js +33 -0
- package/dist/chunks/dialog-C1HRMUcF.js.map +1 -0
- package/dist/chunks/dialog-amEwvIoM.js +2 -0
- package/dist/chunks/dialog-amEwvIoM.js.map +1 -0
- package/dist/chunks/extractStyleProps-CxgBrz3O.js +11 -0
- package/dist/chunks/extractStyleProps-CxgBrz3O.js.map +1 -0
- package/dist/chunks/extractStyleProps-lyk7D-zN.js +2 -0
- package/dist/chunks/extractStyleProps-lyk7D-zN.js.map +1 -0
- package/dist/chunks/filterDOMProps-BS2lrgFA.js +2 -0
- package/dist/chunks/filterDOMProps-BS2lrgFA.js.map +1 -0
- package/dist/chunks/filterDOMProps-D6KHYVBX.js +25 -0
- package/dist/chunks/filterDOMProps-D6KHYVBX.js.map +1 -0
- package/dist/chunks/focusSafely-D_uW2Kp-.js +58 -0
- package/dist/chunks/focusSafely-D_uW2Kp-.js.map +1 -0
- package/dist/chunks/focusSafely-DuMeO0J4.js +2 -0
- package/dist/chunks/focusSafely-DuMeO0J4.js.map +1 -0
- package/dist/chunks/form-field-BUoO6HEy.js +11 -0
- package/dist/chunks/form-field-BUoO6HEy.js.map +1 -0
- package/dist/chunks/form-field-Dr8lL5SU.js +309 -0
- package/dist/chunks/form-field-Dr8lL5SU.js.map +1 -0
- package/dist/chunks/getScrollParent-DE66eQI-.js +15 -0
- package/dist/chunks/getScrollParent-DE66eQI-.js.map +1 -0
- package/dist/chunks/getScrollParent-Dc1cnLDE.js +2 -0
- package/dist/chunks/getScrollParent-Dc1cnLDE.js.map +1 -0
- package/dist/chunks/grid-CLVDMJAz.js +14 -0
- package/dist/chunks/grid-CLVDMJAz.js.map +1 -0
- package/dist/chunks/grid-xr2A-OqD.js +2 -0
- package/dist/chunks/grid-xr2A-OqD.js.map +1 -0
- package/dist/chunks/icon-CjRXcxB9.js +31 -0
- package/dist/chunks/icon-CjRXcxB9.js.map +1 -0
- package/dist/chunks/icon-D50i-dqv.js +2 -0
- package/dist/chunks/icon-D50i-dqv.js.map +1 -0
- package/dist/chunks/icon-button-1V59UrF-.js +14 -0
- package/dist/chunks/icon-button-1V59UrF-.js.map +1 -0
- package/dist/chunks/icon-button-CE-LnFNq.js +2 -0
- package/dist/chunks/icon-button-CE-LnFNq.js.map +1 -0
- package/dist/chunks/image-DCirAAnr.js +2 -0
- package/dist/chunks/image-DCirAAnr.js.map +1 -0
- package/dist/chunks/image-rXPA3shk.js +8 -0
- package/dist/chunks/image-rXPA3shk.js.map +1 -0
- package/dist/chunks/kbd-BKH_SGCC.js +6 -0
- package/dist/chunks/kbd-BKH_SGCC.js.map +1 -0
- package/dist/chunks/kbd-Bhv8ae1I.js +2 -0
- package/dist/chunks/kbd-Bhv8ae1I.js.map +1 -0
- package/dist/chunks/link-1lfvUDKX.js +49 -0
- package/dist/chunks/link-1lfvUDKX.js.map +1 -0
- package/dist/chunks/link-CCDnA-Z-.js +2 -0
- package/dist/chunks/link-CCDnA-Z-.js.map +1 -0
- package/dist/chunks/link.recipe-CG3leGAx.js +2 -0
- package/dist/chunks/link.recipe-CG3leGAx.js.map +1 -0
- package/dist/chunks/link.recipe-CbFF3IUG.js +51 -0
- package/dist/chunks/link.recipe-CbFF3IUG.js.map +1 -0
- package/dist/chunks/list-8yfreyzi.js +2 -0
- package/dist/chunks/list-8yfreyzi.js.map +1 -0
- package/dist/chunks/list-B21joBrq.js +13 -0
- package/dist/chunks/list-B21joBrq.js.map +1 -0
- package/dist/chunks/loading-spinner-B2I1CsuC.js +2 -0
- package/dist/chunks/loading-spinner-B2I1CsuC.js.map +1 -0
- package/dist/chunks/loading-spinner-CJh2luQX.js +137 -0
- package/dist/chunks/loading-spinner-CJh2luQX.js.map +1 -0
- package/dist/chunks/make-element-focusable-ByC0LOwU.js +2 -0
- package/dist/chunks/make-element-focusable-ByC0LOwU.js.map +1 -0
- package/dist/chunks/make-element-focusable-urU2Yczu.js +22 -0
- package/dist/chunks/make-element-focusable-urU2Yczu.js.map +1 -0
- package/dist/chunks/mergeProps-BeIu4MsM.js +2 -0
- package/dist/chunks/mergeProps-BeIu4MsM.js.map +1 -0
- package/dist/chunks/mergeProps-DAjoWNOq.js +128 -0
- package/dist/chunks/mergeProps-DAjoWNOq.js.map +1 -0
- package/dist/chunks/multiline-text-input-B8v-mx89.js +12 -0
- package/dist/chunks/multiline-text-input-B8v-mx89.js.map +1 -0
- package/dist/chunks/multiline-text-input-BS9tsQnR.js +116 -0
- package/dist/chunks/multiline-text-input-BS9tsQnR.js.map +1 -0
- package/dist/chunks/nimbus-provider-CFSRgGKt.js +1530 -0
- package/dist/chunks/nimbus-provider-CFSRgGKt.js.map +1 -0
- package/dist/chunks/nimbus-provider-jZPLt7_j.js +2 -0
- package/dist/chunks/nimbus-provider-jZPLt7_j.js.map +1 -0
- package/dist/chunks/number-5qMXmHyn.js +21 -0
- package/dist/chunks/number-5qMXmHyn.js.map +1 -0
- package/dist/chunks/number-CnrRPi4_.js +2 -0
- package/dist/chunks/number-CnrRPi4_.js.map +1 -0
- package/dist/chunks/number-input-BFA-uYaI.js +652 -0
- package/dist/chunks/number-input-BFA-uYaI.js.map +1 -0
- package/dist/chunks/number-input-CDaEIN66.js +2 -0
- package/dist/chunks/number-input-CDaEIN66.js.map +1 -0
- package/dist/chunks/number-input.recipe-2n6A2w0m.js +2 -0
- package/dist/chunks/number-input.recipe-2n6A2w0m.js.map +1 -0
- package/dist/chunks/number-input.recipe-CbLyhXgE.js +209 -0
- package/dist/chunks/number-input.recipe-CbLyhXgE.js.map +1 -0
- package/dist/chunks/password-input-CEUQjqeT.js +50 -0
- package/dist/chunks/password-input-CEUQjqeT.js.map +1 -0
- package/dist/chunks/password-input-CYZ0QR0V.js +2 -0
- package/dist/chunks/password-input-CYZ0QR0V.js.map +1 -0
- package/dist/chunks/radio-input-5mFGE9qS.js +2 -0
- package/dist/chunks/radio-input-5mFGE9qS.js.map +1 -0
- package/dist/chunks/radio-input-cone4teU.js +319 -0
- package/dist/chunks/radio-input-cone4teU.js.map +1 -0
- package/dist/chunks/radio-input.recipe-DdXB4lqs.js +2 -0
- package/dist/chunks/radio-input.recipe-DdXB4lqs.js.map +1 -0
- package/dist/chunks/radio-input.recipe-QYiFg_Kf.js +75 -0
- package/dist/chunks/radio-input.recipe-QYiFg_Kf.js.map +1 -0
- package/dist/chunks/scrollIntoView-B01y55fg.js +2 -0
- package/dist/chunks/scrollIntoView-B01y55fg.js.map +1 -0
- package/dist/chunks/scrollIntoView-Dtwi5Vrc.js +83 -0
- package/dist/chunks/scrollIntoView-Dtwi5Vrc.js.map +1 -0
- package/dist/chunks/select-BZ2LnuaW.js +791 -0
- package/dist/chunks/select-BZ2LnuaW.js.map +1 -0
- package/dist/chunks/select-CSp1HFJF.js +2 -0
- package/dist/chunks/select-CSp1HFJF.js.map +1 -0
- package/dist/chunks/select.recipe-DS5ZRkug.js +203 -0
- package/dist/chunks/select.recipe-DS5ZRkug.js.map +1 -0
- package/dist/chunks/select.recipe-DUHFWlQt.js +2 -0
- package/dist/chunks/select.recipe-DUHFWlQt.js.map +1 -0
- package/dist/chunks/simple-grid-CHgTayx6.js +2 -0
- package/dist/chunks/simple-grid-CHgTayx6.js.map +1 -0
- package/dist/chunks/simple-grid-D6PoDK0-.js +14 -0
- package/dist/chunks/simple-grid-D6PoDK0-.js.map +1 -0
- package/dist/chunks/stack-__ugxVHD.js +11 -0
- package/dist/chunks/stack-__ugxVHD.js.map +1 -0
- package/dist/chunks/stack-wFUhYQQb.js +2 -0
- package/dist/chunks/stack-wFUhYQQb.js.map +1 -0
- package/dist/chunks/switch-CZji_hBH.js +2 -0
- package/dist/chunks/switch-CZji_hBH.js.map +1 -0
- package/dist/chunks/switch-QvuLHJL-.js +78 -0
- package/dist/chunks/switch-QvuLHJL-.js.map +1 -0
- package/dist/chunks/switch.recipe-D3gb3Xj_.js +100 -0
- package/dist/chunks/switch.recipe-D3gb3Xj_.js.map +1 -0
- package/dist/chunks/switch.recipe-DHopLj_g.js +2 -0
- package/dist/chunks/switch.recipe-DHopLj_g.js.map +1 -0
- package/dist/chunks/tag-group-JxvggHdo.js +1347 -0
- package/dist/chunks/tag-group-JxvggHdo.js.map +1 -0
- package/dist/chunks/tag-group-v87SYIPj.js +2 -0
- package/dist/chunks/tag-group-v87SYIPj.js.map +1 -0
- package/dist/chunks/text-BTD3oGaQ.js +24 -0
- package/dist/chunks/text-BTD3oGaQ.js.map +1 -0
- package/dist/chunks/text-BjzNgHxv.js +2 -0
- package/dist/chunks/text-BjzNgHxv.js.map +1 -0
- package/dist/chunks/text-input-CpABYE1g.js +17 -0
- package/dist/chunks/text-input-CpABYE1g.js.map +1 -0
- package/dist/chunks/text-input-Ov6DSJhs.js +2 -0
- package/dist/chunks/text-input-Ov6DSJhs.js.map +1 -0
- package/dist/chunks/text-input.recipe-CGpq33Pp.js +64 -0
- package/dist/chunks/text-input.recipe-CGpq33Pp.js.map +1 -0
- package/dist/chunks/text-input.recipe-DxzvFMOB.js +2 -0
- package/dist/chunks/text-input.recipe-DxzvFMOB.js.map +1 -0
- package/dist/chunks/time-input-BIUdp4gX.js +2 -0
- package/dist/chunks/time-input-BIUdp4gX.js.map +1 -0
- package/dist/chunks/time-input-DS6RgF12.js +129 -0
- package/dist/chunks/time-input-DS6RgF12.js.map +1 -0
- package/dist/chunks/toggle-button-group-0a-aeCiH.js +265 -0
- package/dist/chunks/toggle-button-group-0a-aeCiH.js.map +1 -0
- package/dist/chunks/toggle-button-group-BdLaFCWe.js +2 -0
- package/dist/chunks/toggle-button-group-BdLaFCWe.js.map +1 -0
- package/dist/chunks/tooltip-BdwdWMCL.js +273 -0
- package/dist/chunks/tooltip-BdwdWMCL.js.map +1 -0
- package/dist/chunks/tooltip-_9ZfCa2D.js +2 -0
- package/dist/chunks/tooltip-_9ZfCa2D.js.map +1 -0
- package/dist/chunks/tooltip.recipe-CkNOA8Sg.js +2 -0
- package/dist/chunks/tooltip.recipe-CkNOA8Sg.js.map +1 -0
- package/dist/chunks/tooltip.recipe-D9fYIQZz.js +24 -0
- package/dist/chunks/tooltip.recipe-D9fYIQZz.js.map +1 -0
- package/dist/chunks/useButton-BRqxk71F.js +2 -0
- package/dist/chunks/useButton-BRqxk71F.js.map +1 -0
- package/dist/chunks/useButton-CGSIlDH9.js +48 -0
- package/dist/chunks/useButton-CGSIlDH9.js.map +1 -0
- package/dist/chunks/useCollator-PO0ZNDFD.js +12 -0
- package/dist/chunks/useCollator-PO0ZNDFD.js.map +1 -0
- package/dist/chunks/useCollator-ajK3YU47.js +2 -0
- package/dist/chunks/useCollator-ajK3YU47.js.map +1 -0
- package/dist/chunks/useControlledState-D0L6S_5r.js +2 -0
- package/dist/chunks/useControlledState-D0L6S_5r.js.map +1 -0
- package/dist/chunks/useControlledState-u436Wbp1.js +31 -0
- package/dist/chunks/useControlledState-u436Wbp1.js.map +1 -0
- package/dist/chunks/useDateFormatter-BYTqyfPM.js +2 -0
- package/dist/chunks/useDateFormatter-BYTqyfPM.js.map +1 -0
- package/dist/chunks/useDateFormatter-CZ3YJIiV.js +1581 -0
- package/dist/chunks/useDateFormatter-CZ3YJIiV.js.map +1 -0
- package/dist/chunks/useEvent-9hDa8zoA.js +22 -0
- package/dist/chunks/useEvent-9hDa8zoA.js.map +1 -0
- package/dist/chunks/useEvent-DCXRKhH2.js +2 -0
- package/dist/chunks/useEvent-DCXRKhH2.js.map +1 -0
- package/dist/chunks/useField-3jug3XBb.js +36 -0
- package/dist/chunks/useField-3jug3XBb.js.map +1 -0
- package/dist/chunks/useField-BeaT9Ud9.js +2 -0
- package/dist/chunks/useField-BeaT9Ud9.js.map +1 -0
- package/dist/chunks/useFocus-CP2rlXSg.js +2 -0
- package/dist/chunks/useFocus-CP2rlXSg.js.map +1 -0
- package/dist/chunks/useFocus-mfjoACQ_.js +184 -0
- package/dist/chunks/useFocus-mfjoACQ_.js.map +1 -0
- package/dist/chunks/useFocusRing-C4z9NtLP.js +2 -0
- package/dist/chunks/useFocusRing-C4z9NtLP.js.map +1 -0
- package/dist/chunks/useFocusRing-C8yOnkHj.js +34 -0
- package/dist/chunks/useFocusRing-C8yOnkHj.js.map +1 -0
- package/dist/chunks/useFocusWithin-BENrOz43.js +2 -0
- package/dist/chunks/useFocusWithin-BENrOz43.js.map +1 -0
- package/dist/chunks/useFocusWithin-CLd9itwe.js +55 -0
- package/dist/chunks/useFocusWithin-CLd9itwe.js.map +1 -0
- package/dist/chunks/useFocusable-C7jAQfqU.js +2 -0
- package/dist/chunks/useFocusable-C7jAQfqU.js.map +1 -0
- package/dist/chunks/useFocusable-IwGfkXQG.js +75 -0
- package/dist/chunks/useFocusable-IwGfkXQG.js.map +1 -0
- package/dist/chunks/useFormReset-Bt5-6Arg.js +2 -0
- package/dist/chunks/useFormReset-Bt5-6Arg.js.map +1 -0
- package/dist/chunks/useFormReset-CzGCrdxu.js +21 -0
- package/dist/chunks/useFormReset-CzGCrdxu.js.map +1 -0
- package/dist/chunks/useFormValidation-BSXga2hX.js +2 -0
- package/dist/chunks/useFormValidation-BSXga2hX.js.map +1 -0
- package/dist/chunks/useFormValidation-BcDTI6Mp.js +179 -0
- package/dist/chunks/useFormValidation-BcDTI6Mp.js.map +1 -0
- package/dist/chunks/useHover-ByIffPdS.js +2 -0
- package/dist/chunks/useHover-ByIffPdS.js.map +1 -0
- package/dist/chunks/useHover-CbdI4C89.js +85 -0
- package/dist/chunks/useHover-CbdI4C89.js.map +1 -0
- package/dist/chunks/useLabel-As7K6zBZ.js +2 -0
- package/dist/chunks/useLabel-As7K6zBZ.js.map +1 -0
- package/dist/chunks/useLabel-Dd6M1Y4b.js +24 -0
- package/dist/chunks/useLabel-Dd6M1Y4b.js.map +1 -0
- package/dist/chunks/useLabels-B-BeKbzR.js +2 -0
- package/dist/chunks/useLabels-B-BeKbzR.js.map +1 -0
- package/dist/chunks/useLabels-B1BLA0b7.js +18 -0
- package/dist/chunks/useLabels-B1BLA0b7.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-CDXOVKSV.js +2 -0
- package/dist/chunks/useLocalizedStringFormatter-CDXOVKSV.js.map +1 -0
- package/dist/chunks/useLocalizedStringFormatter-JGrQYmnh.js +97 -0
- package/dist/chunks/useLocalizedStringFormatter-JGrQYmnh.js.map +1 -0
- package/dist/chunks/useNumberFormatter-DS6s5teN.js +2 -0
- package/dist/chunks/useNumberFormatter-DS6s5teN.js.map +1 -0
- package/dist/chunks/useNumberFormatter-Dx-esBDc.js +14 -0
- package/dist/chunks/useNumberFormatter-Dx-esBDc.js.map +1 -0
- package/dist/chunks/useObjectRef-4v2MxSjQ.js +2 -0
- package/dist/chunks/useObjectRef-4v2MxSjQ.js.map +1 -0
- package/dist/chunks/useObjectRef-CaJ5pgjX.js +30 -0
- package/dist/chunks/useObjectRef-CaJ5pgjX.js.map +1 -0
- package/dist/chunks/usePress-C9YKhG_e.js +8 -0
- package/dist/chunks/usePress-C9YKhG_e.js.map +1 -0
- package/dist/chunks/usePress-dJvNd3G7.js +526 -0
- package/dist/chunks/usePress-dJvNd3G7.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-CwUhrKQb.js +2 -0
- package/dist/chunks/useSingleSelectListState-CwUhrKQb.js.map +1 -0
- package/dist/chunks/useSingleSelectListState-DovbyYzZ.js +269 -0
- package/dist/chunks/useSingleSelectListState-DovbyYzZ.js.map +1 -0
- package/dist/chunks/useSpinButton-D16epD7I.js +432 -0
- package/dist/chunks/useSpinButton-D16epD7I.js.map +1 -0
- package/dist/chunks/useSpinButton-UFcBxg8e.js +2 -0
- package/dist/chunks/useSpinButton-UFcBxg8e.js.map +1 -0
- package/dist/chunks/useTextField-DFfK-BZg.js +88 -0
- package/dist/chunks/useTextField-DFfK-BZg.js.map +1 -0
- package/dist/chunks/useTextField-lejiPfpS.js +2 -0
- package/dist/chunks/useTextField-lejiPfpS.js.map +1 -0
- package/dist/chunks/useToggle-BUU7amte.js +2 -0
- package/dist/chunks/useToggle-BUU7amte.js.map +1 -0
- package/dist/chunks/useToggle-Cp-w42gr.js +50 -0
- package/dist/chunks/useToggle-Cp-w42gr.js.map +1 -0
- package/dist/chunks/useToggleState-B5pE_WmM.js +2 -0
- package/dist/chunks/useToggleState-B5pE_WmM.js.map +1 -0
- package/dist/chunks/useToggleState-Bz5rAf4C.js +19 -0
- package/dist/chunks/useToggleState-Bz5rAf4C.js.map +1 -0
- package/dist/chunks/useUpdateEffect-CCDx8D4X.js +14 -0
- package/dist/chunks/useUpdateEffect-CCDx8D4X.js.map +1 -0
- package/dist/chunks/useUpdateEffect-sk3kiVGz.js +2 -0
- package/dist/chunks/useUpdateEffect-sk3kiVGz.js.map +1 -0
- package/dist/chunks/utils-BzPwFwlw.js +2 -0
- package/dist/chunks/utils-BzPwFwlw.js.map +1 -0
- package/dist/chunks/utils-DTmE9QvG.js +128 -0
- package/dist/chunks/utils-DTmE9QvG.js.map +1 -0
- package/dist/chunks/utils-XbOVivul.js +2 -0
- package/dist/chunks/utils-XbOVivul.js.map +1 -0
- package/dist/chunks/utils-wW2ZswvI.js +231 -0
- package/dist/chunks/utils-wW2ZswvI.js.map +1 -0
- package/dist/chunks/visually-hidden-Qd_t4hAG.js +2 -0
- package/dist/chunks/visually-hidden-Qd_t4hAG.js.map +1 -0
- package/dist/chunks/visually-hidden-T2B120j4.js +11 -0
- package/dist/chunks/visually-hidden-T2B120j4.js.map +1 -0
- package/dist/code.d.ts +10 -0
- package/dist/combobox.d.ts +275 -0
- package/dist/components/accordion.cjs +2 -0
- package/dist/components/accordion.cjs.map +1 -0
- package/dist/components/accordion.es.js +10 -0
- package/dist/components/accordion.es.js.map +1 -0
- package/dist/components/alert.cjs +2 -0
- package/dist/components/alert.cjs.map +1 -0
- package/dist/components/alert.es.js +10 -0
- package/dist/components/alert.es.js.map +1 -0
- package/dist/components/avatar.cjs +2 -0
- package/dist/components/avatar.cjs.map +1 -0
- package/dist/components/avatar.es.js +5 -0
- package/dist/components/avatar.es.js.map +1 -0
- package/dist/components/badge.cjs +2 -0
- package/dist/components/badge.cjs.map +1 -0
- package/dist/components/badge.es.js +5 -0
- package/dist/components/badge.es.js.map +1 -0
- package/dist/components/box.cjs +2 -0
- package/dist/components/box.cjs.map +1 -0
- package/dist/components/box.es.js +5 -0
- package/dist/components/box.es.js.map +1 -0
- package/dist/components/button.cjs +2 -0
- package/dist/components/button.cjs.map +1 -0
- package/dist/components/button.es.js +5 -0
- package/dist/components/button.es.js.map +1 -0
- package/dist/components/calendar.cjs +2 -0
- package/dist/components/calendar.cjs.map +1 -0
- package/dist/components/calendar.es.js +5 -0
- package/dist/components/calendar.es.js.map +1 -0
- package/dist/components/card.cjs +2 -0
- package/dist/components/card.cjs.map +1 -0
- package/dist/components/card.es.js +8 -0
- package/dist/components/card.es.js.map +1 -0
- package/dist/components/checkbox.cjs +2 -0
- package/dist/components/checkbox.cjs.map +1 -0
- package/dist/components/checkbox.es.js +5 -0
- package/dist/components/checkbox.es.js.map +1 -0
- package/dist/components/code.cjs +2 -0
- package/dist/components/code.cjs.map +1 -0
- package/dist/components/code.es.js +5 -0
- package/dist/components/code.es.js.map +1 -0
- package/dist/components/combobox.cjs +2 -0
- package/dist/components/combobox.cjs.map +1 -0
- package/dist/components/combobox.es.js +8 -0
- package/dist/components/combobox.es.js.map +1 -0
- package/dist/components/components.cjs +2 -0
- package/dist/components/components.cjs.map +1 -0
- package/dist/components/components.es.js +125 -0
- package/dist/components/components.es.js.map +1 -0
- package/dist/components/date-input.cjs +2 -0
- package/dist/components/date-input.cjs.map +1 -0
- package/dist/components/date-input.es.js +5 -0
- package/dist/components/date-input.es.js.map +1 -0
- package/dist/components/date-picker.cjs +2 -0
- package/dist/components/date-picker.cjs.map +1 -0
- package/dist/components/date-picker.es.js +5 -0
- package/dist/components/date-picker.es.js.map +1 -0
- package/dist/components/dialog.cjs +2 -0
- package/dist/components/dialog.cjs.map +1 -0
- package/dist/components/dialog.es.js +5 -0
- package/dist/components/dialog.es.js.map +1 -0
- package/dist/components/flex.cjs +2 -0
- package/dist/components/flex.cjs.map +1 -0
- package/dist/components/flex.es.js +5 -0
- package/dist/components/flex.es.js.map +1 -0
- package/dist/components/form-field.cjs +2 -0
- package/dist/components/form-field.cjs.map +1 -0
- package/dist/components/form-field.es.js +11 -0
- package/dist/components/form-field.es.js.map +1 -0
- package/dist/components/grid.cjs +2 -0
- package/dist/components/grid.cjs.map +1 -0
- package/dist/components/grid.es.js +5 -0
- package/dist/components/grid.es.js.map +1 -0
- package/dist/components/heading.cjs +2 -0
- package/dist/components/heading.cjs.map +1 -0
- package/dist/components/heading.es.js +5 -0
- package/dist/components/heading.es.js.map +1 -0
- package/dist/components/icon-button.cjs +2 -0
- package/dist/components/icon-button.cjs.map +1 -0
- package/dist/components/icon-button.es.js +5 -0
- package/dist/components/icon-button.es.js.map +1 -0
- package/dist/components/icon.cjs +2 -0
- package/dist/components/icon.cjs.map +1 -0
- package/dist/components/icon.es.js +5 -0
- package/dist/components/icon.es.js.map +1 -0
- package/dist/components/image.cjs +2 -0
- package/dist/components/image.cjs.map +1 -0
- package/dist/components/image.es.js +5 -0
- package/dist/components/image.es.js.map +1 -0
- package/dist/components/kbd.cjs +2 -0
- package/dist/components/kbd.cjs.map +1 -0
- package/dist/components/kbd.es.js +5 -0
- package/dist/components/kbd.es.js.map +1 -0
- package/dist/components/link.cjs +2 -0
- package/dist/components/link.cjs.map +1 -0
- package/dist/components/link.es.js +5 -0
- package/dist/components/link.es.js.map +1 -0
- package/dist/components/list.cjs +2 -0
- package/dist/components/list.cjs.map +1 -0
- package/dist/components/list.es.js +8 -0
- package/dist/components/list.es.js.map +1 -0
- package/dist/components/loading-spinner.cjs +2 -0
- package/dist/components/loading-spinner.cjs.map +1 -0
- package/dist/components/loading-spinner.es.js +5 -0
- package/dist/components/loading-spinner.es.js.map +1 -0
- package/dist/components/multiline-text-input.cjs +2 -0
- package/dist/components/multiline-text-input.cjs.map +1 -0
- package/dist/components/multiline-text-input.es.js +5 -0
- package/dist/components/multiline-text-input.es.js.map +1 -0
- package/dist/components/nimbus-provider.cjs +2 -0
- package/dist/components/nimbus-provider.cjs.map +1 -0
- package/dist/components/nimbus-provider.es.js +8 -0
- package/dist/components/nimbus-provider.es.js.map +1 -0
- package/dist/components/number-input.cjs +2 -0
- package/dist/components/number-input.cjs.map +1 -0
- package/dist/components/number-input.es.js +5 -0
- package/dist/components/number-input.es.js.map +1 -0
- package/dist/components/password-input.cjs +2 -0
- package/dist/components/password-input.cjs.map +1 -0
- package/dist/components/password-input.es.js +5 -0
- package/dist/components/password-input.es.js.map +1 -0
- package/dist/components/radio-input.cjs +2 -0
- package/dist/components/radio-input.cjs.map +1 -0
- package/dist/components/radio-input.es.js +7 -0
- package/dist/components/radio-input.es.js.map +1 -0
- package/dist/components/select.cjs +2 -0
- package/dist/components/select.cjs.map +1 -0
- package/dist/components/select.es.js +9 -0
- package/dist/components/select.es.js.map +1 -0
- package/dist/components/simple-grid.cjs +2 -0
- package/dist/components/simple-grid.cjs.map +1 -0
- package/dist/components/simple-grid.es.js +5 -0
- package/dist/components/simple-grid.es.js.map +1 -0
- package/dist/components/stack.cjs +2 -0
- package/dist/components/stack.cjs.map +1 -0
- package/dist/components/stack.es.js +5 -0
- package/dist/components/stack.es.js.map +1 -0
- package/dist/components/switch.cjs +2 -0
- package/dist/components/switch.cjs.map +1 -0
- package/dist/components/switch.es.js +5 -0
- package/dist/components/switch.es.js.map +1 -0
- package/dist/components/table.cjs +2 -0
- package/dist/components/table.cjs.map +1 -0
- package/dist/components/table.es.js +5 -0
- package/dist/components/table.es.js.map +1 -0
- package/dist/components/tag-group.cjs +2 -0
- package/dist/components/tag-group.cjs.map +1 -0
- package/dist/components/tag-group.es.js +5 -0
- package/dist/components/tag-group.es.js.map +1 -0
- package/dist/components/text-input.cjs +2 -0
- package/dist/components/text-input.cjs.map +1 -0
- package/dist/components/text-input.es.js +5 -0
- package/dist/components/text-input.es.js.map +1 -0
- package/dist/components/text.cjs +2 -0
- package/dist/components/text.cjs.map +1 -0
- package/dist/components/text.es.js +5 -0
- package/dist/components/text.es.js.map +1 -0
- package/dist/components/time-input.cjs +2 -0
- package/dist/components/time-input.cjs.map +1 -0
- package/dist/components/time-input.es.js +5 -0
- package/dist/components/time-input.es.js.map +1 -0
- package/dist/components/toggle-button-group.cjs +2 -0
- package/dist/components/toggle-button-group.cjs.map +1 -0
- package/dist/components/toggle-button-group.es.js +7 -0
- package/dist/components/toggle-button-group.es.js.map +1 -0
- package/dist/components/tooltip.cjs +2 -0
- package/dist/components/tooltip.cjs.map +1 -0
- package/dist/components/tooltip.es.js +9 -0
- package/dist/components/tooltip.es.js.map +1 -0
- package/dist/components/visually-hidden.cjs +2 -0
- package/dist/components/visually-hidden.cjs.map +1 -0
- package/dist/components/visually-hidden.es.js +5 -0
- package/dist/components/visually-hidden.es.js.map +1 -0
- package/dist/components.d.ts +2668 -0
- package/dist/date-input.d.ts +94 -0
- package/dist/date-picker.d.ts +164 -0
- package/dist/dialog.d.ts +33 -0
- package/dist/flex.d.ts +5 -0
- package/dist/form-field.d.ts +131 -0
- package/dist/grid.d.ts +28 -0
- package/dist/heading.d.ts +5 -0
- package/dist/icon-button.d.ts +53 -0
- package/dist/icon.d.ts +99 -0
- package/dist/image.d.ts +18 -0
- package/dist/index.cjs +1 -42
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +934 -748
- package/dist/index.es.js +308 -22041
- package/dist/index.es.js.map +1 -1
- package/dist/kbd.d.ts +10 -0
- package/dist/link.d.ts +92 -0
- package/dist/list.d.ts +21 -0
- package/dist/loading-spinner.d.ts +88 -0
- package/dist/multiline-text-input.d.ts +76 -0
- package/dist/nimbus-provider.d.ts +23 -0
- package/dist/number-input.d.ts +143 -0
- package/dist/password-input.d.ts +74 -0
- package/dist/radio-input.d.ts +70 -0
- package/dist/select.d.ts +143 -0
- package/dist/setup-jsdom-polyfills.cjs.map +1 -1
- package/dist/setup-jsdom-polyfills.es.js.map +1 -1
- package/dist/simple-grid.d.ts +28 -0
- package/dist/stack.d.ts +14 -0
- package/dist/switch.d.ts +75 -0
- package/dist/table.d.ts +5 -0
- package/dist/tag-group.d.ts +99 -0
- package/dist/text-input.d.ts +68 -0
- package/dist/text.d.ts +20 -0
- package/dist/time-input.d.ts +102 -0
- package/dist/toggle-button-group.d.ts +107 -0
- package/dist/tooltip.d.ts +134 -0
- package/dist/visually-hidden.d.ts +15 -0
- package/package.json +6 -5
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { DateFieldProps } from 'react-aria-components';
|
|
2
|
+
import { DateValue } from 'react-aria';
|
|
3
|
+
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
4
|
+
import { JSX } from 'react/jsx-runtime';
|
|
5
|
+
import { RecipeProps } from '@chakra-ui/react';
|
|
6
|
+
import { RecipeVariantProps } from '@chakra-ui/react';
|
|
7
|
+
import { SlotRecipeDefinition } from '@chakra-ui/react';
|
|
8
|
+
import { UnstyledProp } from '@chakra-ui/react';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* DateInput
|
|
12
|
+
* ============================================================
|
|
13
|
+
* allows entering a date in the currently selected locale
|
|
14
|
+
*/
|
|
15
|
+
export declare const DateInput: {
|
|
16
|
+
(props: DateInputProps): JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Main props interface for the DateInput component.
|
|
22
|
+
*
|
|
23
|
+
* We use the same pattern as TextInput to avoid type conflicts:
|
|
24
|
+
* 1. Start with DateFieldProps as the base
|
|
25
|
+
* 2. Merge with DateInputRootProps, excluding conflicting keys
|
|
26
|
+
* 3. Add recipe variant props
|
|
27
|
+
*/
|
|
28
|
+
export declare interface DateInputProps extends DateFieldProps<DateValue>, Omit<DateInputRootProps, keyof DateFieldProps<DateValue> | ExcludedProps>, RecipeVariantProps<typeof dateInputSlotRecipe> {
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Base recipe props interface that combines Chakra UI's recipe props
|
|
33
|
+
* with the unstyled prop option for the div element.
|
|
34
|
+
*/
|
|
35
|
+
declare interface DateInputRecipeProps extends RecipeProps<"div">, UnstyledProp {
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
40
|
+
* This creates a complete set of props for the root element, combining
|
|
41
|
+
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
42
|
+
*/
|
|
43
|
+
declare interface DateInputRootProps extends HTMLChakraProps<"div", DateInputRecipeProps> {
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Recipe configuration for the DateInput component.
|
|
48
|
+
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
49
|
+
*/
|
|
50
|
+
declare const dateInputSlotRecipe: SlotRecipeDefinition<"root" | "segmentGroup" | "segment", {
|
|
51
|
+
size: {
|
|
52
|
+
sm: {
|
|
53
|
+
segmentGroup: {
|
|
54
|
+
h: number;
|
|
55
|
+
textStyle: "sm";
|
|
56
|
+
px: number;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
md: {
|
|
60
|
+
segmentGroup: {
|
|
61
|
+
h: number;
|
|
62
|
+
textStyle: "md";
|
|
63
|
+
px: number;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
variant: {
|
|
68
|
+
solid: {
|
|
69
|
+
segmentGroup: {
|
|
70
|
+
"--border-width": "sizes.25";
|
|
71
|
+
"--border-color": "colors.neutral.7";
|
|
72
|
+
backgroundColor: "neutral.1";
|
|
73
|
+
_hover: {
|
|
74
|
+
backgroundColor: "primary.2";
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
ghost: {
|
|
79
|
+
segmentGroup: {
|
|
80
|
+
_hover: {
|
|
81
|
+
backgroundColor: "primary.2";
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}>;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Additional properties we want to exclude from the DateInput component.
|
|
90
|
+
* These are either deprecated or not intended for use in this component.
|
|
91
|
+
*/
|
|
92
|
+
declare type ExcludedProps = "validationState" | "label" | "description" | "errorMessage" | "css" | "colorScheme" | "unstyled" | "recipe" | "as" | "asChild";
|
|
93
|
+
|
|
94
|
+
export { }
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { DateFieldProps } from 'react-aria-components';
|
|
2
|
+
import { DatePickerStateOptions } from 'react-stately';
|
|
3
|
+
import { DateValue } from 'react-aria';
|
|
4
|
+
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
5
|
+
import { JSX } from 'react/jsx-runtime';
|
|
6
|
+
import { RecipeProps } from '@chakra-ui/react';
|
|
7
|
+
import { RecipeVariantProps } from '@chakra-ui/react';
|
|
8
|
+
import { SlotRecipeDefinition } from '@chakra-ui/react';
|
|
9
|
+
import { UnstyledProp } from '@chakra-ui/react';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Properties from DatePickerStateOptions that would conflict with similarly named
|
|
13
|
+
* properties in DateInputProps. We use this to prevent TypeScript interface
|
|
14
|
+
* merging conflicts by prioritizing the DatePickerStateOptions implementation.
|
|
15
|
+
*/
|
|
16
|
+
declare type ConflictingPickerStateProps = keyof DatePickerStateOptions<DateValue>;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Main props interface for the DateInput component.
|
|
20
|
+
*
|
|
21
|
+
* We use the same pattern as TextInput to avoid type conflicts:
|
|
22
|
+
* 1. Start with DateFieldProps as the base
|
|
23
|
+
* 2. Merge with DateInputRootProps, excluding conflicting keys
|
|
24
|
+
* 3. Add recipe variant props
|
|
25
|
+
*/
|
|
26
|
+
declare interface DateInputProps extends DateFieldProps<DateValue>, Omit<DateInputRootProps, keyof DateFieldProps<DateValue> | ExcludedProps>, RecipeVariantProps<typeof dateInputSlotRecipe> {
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Base recipe props interface that combines Chakra UI's recipe props
|
|
31
|
+
* with the unstyled prop option for the div element.
|
|
32
|
+
*/
|
|
33
|
+
declare interface DateInputRecipeProps extends RecipeProps<"div">, UnstyledProp {
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
38
|
+
* This creates a complete set of props for the root element, combining
|
|
39
|
+
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
40
|
+
*/
|
|
41
|
+
declare interface DateInputRootProps extends HTMLChakraProps<"div", DateInputRecipeProps> {
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Recipe configuration for the DateInput component.
|
|
46
|
+
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
47
|
+
*/
|
|
48
|
+
declare const dateInputSlotRecipe: SlotRecipeDefinition<"root" | "segmentGroup" | "segment", {
|
|
49
|
+
size: {
|
|
50
|
+
sm: {
|
|
51
|
+
segmentGroup: {
|
|
52
|
+
h: number;
|
|
53
|
+
textStyle: "sm";
|
|
54
|
+
px: number;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
md: {
|
|
58
|
+
segmentGroup: {
|
|
59
|
+
h: number;
|
|
60
|
+
textStyle: "md";
|
|
61
|
+
px: number;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
variant: {
|
|
66
|
+
solid: {
|
|
67
|
+
segmentGroup: {
|
|
68
|
+
"--border-width": "sizes.25";
|
|
69
|
+
"--border-color": "colors.neutral.7";
|
|
70
|
+
backgroundColor: "neutral.1";
|
|
71
|
+
_hover: {
|
|
72
|
+
backgroundColor: "primary.2";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
ghost: {
|
|
77
|
+
segmentGroup: {
|
|
78
|
+
_hover: {
|
|
79
|
+
backgroundColor: "primary.2";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}>;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* DatePicker
|
|
88
|
+
* ============================================================
|
|
89
|
+
* Combines a DateInput with a Calendar popover for date selection.
|
|
90
|
+
* Users can either type a date directly or select from the calendar.
|
|
91
|
+
*/
|
|
92
|
+
export declare const DatePicker: {
|
|
93
|
+
(props: DatePickerProps): JSX.Element;
|
|
94
|
+
displayName: string;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Main props interface for the DatePicker component.
|
|
99
|
+
*
|
|
100
|
+
* We use Omit to remove:
|
|
101
|
+
* 1. Conflicting props from DateInputProps to avoid TypeScript errors
|
|
102
|
+
* 2. Explicitly excluded props that we don't want users to access
|
|
103
|
+
*/
|
|
104
|
+
export declare interface DatePickerProps extends Omit<DateInputProps, ConflictingPickerStateProps | ExcludedProps_2>, Omit<DatePickerStateOptions<DateValue>, ExcludedProps_2>, RecipeVariantProps<typeof datePickerSlotRecipe> {
|
|
105
|
+
/**
|
|
106
|
+
* Whether the calendar popover should be open by default (uncontrolled).
|
|
107
|
+
*/
|
|
108
|
+
defaultOpen?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Whether the calendar popover is open (controlled).
|
|
111
|
+
*/
|
|
112
|
+
isOpen?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Handler that is called when the calendar popover's open state changes.
|
|
115
|
+
*/
|
|
116
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Recipe configuration for the DatePicker component.
|
|
121
|
+
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
122
|
+
*/
|
|
123
|
+
declare const datePickerSlotRecipe: SlotRecipeDefinition<"popover" | "group" | "root" | "trigger" | "calendar" | "calendarHeader" | "calendarGrid" | "calendarCell", {
|
|
124
|
+
size: {
|
|
125
|
+
sm: {
|
|
126
|
+
group: {
|
|
127
|
+
"& .nimbus-date-input__root": {
|
|
128
|
+
mr: "1400";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
trigger: {
|
|
132
|
+
top: "50";
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
md: {
|
|
136
|
+
group: {
|
|
137
|
+
"& .nimbus-date-input__root": {
|
|
138
|
+
mr: "calc({spacing.1600} + {spacing.200})";
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
trigger: {
|
|
142
|
+
top: "100";
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
variant: {
|
|
147
|
+
solid: {};
|
|
148
|
+
ghost: {};
|
|
149
|
+
};
|
|
150
|
+
}>;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Additional properties we want to exclude from the DateInput component.
|
|
154
|
+
* These are either deprecated or not intended for use in this component.
|
|
155
|
+
*/
|
|
156
|
+
declare type ExcludedProps = "validationState" | "label" | "description" | "errorMessage" | "css" | "colorScheme" | "unstyled" | "recipe" | "as" | "asChild";
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Additional properties we want to exclude from the DatePicker component.
|
|
160
|
+
* These are either deprecated or not intended for use in this component.
|
|
161
|
+
*/
|
|
162
|
+
declare type ExcludedProps_2 = "validationState" | "label" | "description" | "errorMessage" | "css" | "colorScheme" | "unstyled" | "recipe" | "as" | "asChild";
|
|
163
|
+
|
|
164
|
+
export { }
|
package/dist/dialog.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Dialog as Dialog_2 } from '@chakra-ui/react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @experimental This component is experimental and may change or be removed in future versions.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Dialog: DialogComponents;
|
|
8
|
+
|
|
9
|
+
declare interface DialogComponents {
|
|
10
|
+
Root: typeof Dialog_2.Root;
|
|
11
|
+
Trigger: typeof Dialog_2.Trigger;
|
|
12
|
+
Content: typeof DialogContent;
|
|
13
|
+
Backdrop: typeof Dialog_2.Backdrop;
|
|
14
|
+
Positioner: typeof Dialog_2.Positioner;
|
|
15
|
+
Title: typeof Dialog_2.Title;
|
|
16
|
+
Description: typeof Dialog_2.Description;
|
|
17
|
+
Body: typeof Dialog_2.Body;
|
|
18
|
+
Footer: typeof Dialog_2.Footer;
|
|
19
|
+
Header: typeof Dialog_2.Header;
|
|
20
|
+
CloseTrigger: typeof Dialog_2.CloseTrigger;
|
|
21
|
+
ActionTrigger: typeof Dialog_2.ActionTrigger;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare const DialogContent: (props: DialogContentProps) => JSX.Element;
|
|
25
|
+
|
|
26
|
+
declare interface DialogContentProps extends Dialog_2.ContentProps {
|
|
27
|
+
portalled?: boolean;
|
|
28
|
+
portalRef?: React.RefObject<HTMLElement>;
|
|
29
|
+
backdrop?: boolean;
|
|
30
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { }
|
package/dist/flex.d.ts
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { FormFieldDescriptionSlotProps } from './form-field.slots';
|
|
2
|
+
import { FormFieldErrorSlotProps } from './form-field.slots';
|
|
3
|
+
import { FormFieldInputSlotProps } from './form-field.slots';
|
|
4
|
+
import { FormFieldLabelSlotProps } from './form-field.slots';
|
|
5
|
+
import { FormFieldProps as FormFieldProps_2 } from './form-field.types';
|
|
6
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
7
|
+
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
8
|
+
import { ReactNode } from 'react';
|
|
9
|
+
import { RecipeVariantProps } from '@chakra-ui/react';
|
|
10
|
+
import { RefAttributes } from 'react';
|
|
11
|
+
import { SlotRecipeDefinition } from '@chakra-ui/react';
|
|
12
|
+
import { UnstyledProp } from '@chakra-ui/react';
|
|
13
|
+
|
|
14
|
+
export declare const FormField: {
|
|
15
|
+
Root: ForwardRefExoticComponent<FormFieldProps_2 & RefAttributes<HTMLDivElement>>;
|
|
16
|
+
Label: ({ children, ...labelSlotProps }: FormFieldLabelSlotProps) => null;
|
|
17
|
+
Input: ({ children, ...inputSlotProps }: FormFieldInputSlotProps) => null;
|
|
18
|
+
Description: ({ children, ...descriptionSlotProps }: FormFieldDescriptionSlotProps) => null;
|
|
19
|
+
Error: ({ children, ...errorSlotProps }: FormFieldErrorSlotProps) => null;
|
|
20
|
+
InfoBox: ({ children }: {
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
}) => null;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export declare const _FormFieldDescription: ({ children, ...descriptionSlotProps }: FormFieldDescriptionSlotProps_2) => null;
|
|
26
|
+
|
|
27
|
+
declare interface FormFieldDescriptionSlotProps_2 extends HTMLChakraProps<"div"> {
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export declare const _FormFieldError: ({ children, ...errorSlotProps }: FormFieldErrorSlotProps_2) => null;
|
|
31
|
+
|
|
32
|
+
declare interface FormFieldErrorSlotProps_2 extends HTMLChakraProps<"div"> {
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export declare const _FormFieldInfoBox: ({ children }: FormFieldInfoBoxProps) => null;
|
|
36
|
+
|
|
37
|
+
declare type FormFieldInfoBoxProps = {
|
|
38
|
+
/**
|
|
39
|
+
* The content to display in the InfoBox
|
|
40
|
+
*/
|
|
41
|
+
children: ReactNode;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export declare const _FormFieldInput: ({ children, ...inputSlotProps }: FormFieldInputSlotProps_2) => null;
|
|
45
|
+
|
|
46
|
+
declare interface FormFieldInputSlotProps_2 extends HTMLChakraProps<"div"> {
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export declare const _FormFieldLabel: ({ children, ...labelSlotProps }: FormFieldLabelSlotProps_2) => null;
|
|
50
|
+
|
|
51
|
+
declare interface FormFieldLabelSlotProps_2 extends HTMLChakraProps<"div"> {
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Main props interface for the FormField component.
|
|
56
|
+
* Extends FormFieldVariantProps to include both root props and variant props,
|
|
57
|
+
* while adding support for React children.
|
|
58
|
+
*/
|
|
59
|
+
export declare interface FormFieldProps extends FormFieldRootSlotProps {
|
|
60
|
+
children?: React.ReactNode;
|
|
61
|
+
/** true if the field is a required field */
|
|
62
|
+
isRequired?: boolean;
|
|
63
|
+
/** true if the field is invalid */
|
|
64
|
+
isInvalid?: boolean;
|
|
65
|
+
/** true if the field is disabled */
|
|
66
|
+
isDisabled?: boolean;
|
|
67
|
+
/** true, if the field is read only */
|
|
68
|
+
isReadOnly?: boolean;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Recipe configuration for the FormField component.
|
|
73
|
+
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
74
|
+
*/
|
|
75
|
+
declare const formFieldRecipe: SlotRecipeDefinition<"input" | "label" | "popover" | "description" | "root" | "error", {
|
|
76
|
+
size: {
|
|
77
|
+
md: {
|
|
78
|
+
root: {
|
|
79
|
+
"--form-field-font-size": "fontSizes.350";
|
|
80
|
+
"--form-field-line-height": "lineHeights.500";
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
sm: {
|
|
84
|
+
root: {
|
|
85
|
+
"--form-field-font-size": "fontSizes.300";
|
|
86
|
+
"--form-field-line-height": "lineHeights.450";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
direction: {
|
|
91
|
+
column: {
|
|
92
|
+
root: {
|
|
93
|
+
gridTemplateAreas: "\n\"label\"\n\"input\"\n\"description\"\n\"error\"\n";
|
|
94
|
+
};
|
|
95
|
+
input: {
|
|
96
|
+
mt: "var(--grid-gap)";
|
|
97
|
+
};
|
|
98
|
+
description: {
|
|
99
|
+
mt: "var(--grid-gap)";
|
|
100
|
+
};
|
|
101
|
+
error: {
|
|
102
|
+
mt: "var(--grid-gap)";
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
row: {
|
|
106
|
+
root: {
|
|
107
|
+
gridTemplateAreas: "\n\"label input\"\n\"label description\"\n\"label error\"\n";
|
|
108
|
+
gridTemplateColumns: "auto 1fr";
|
|
109
|
+
gridColumnGap: "200";
|
|
110
|
+
};
|
|
111
|
+
description: {
|
|
112
|
+
mt: "var(--grid-gap)";
|
|
113
|
+
};
|
|
114
|
+
error: {
|
|
115
|
+
mt: "var(--grid-gap)";
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}>;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* FormField
|
|
123
|
+
* ============================================================
|
|
124
|
+
* displays inputs in a FormField context
|
|
125
|
+
*/
|
|
126
|
+
export declare const _FormFieldRoot: ForwardRefExoticComponent<FormFieldProps & RefAttributes<HTMLDivElement>>;
|
|
127
|
+
|
|
128
|
+
declare interface FormFieldRootSlotProps extends HTMLChakraProps<"div", RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp> {
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export { }
|
package/dist/grid.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
2
|
+
import { GridItemProps } from '@chakra-ui/react';
|
|
3
|
+
import { GridProps as GridProps_2 } from '@chakra-ui/react';
|
|
4
|
+
import { JSX } from 'react/jsx-runtime';
|
|
5
|
+
import { RefAttributes } from 'react';
|
|
6
|
+
|
|
7
|
+
export declare const Grid: {
|
|
8
|
+
(props: GridProps): JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
} & {
|
|
11
|
+
Item: ForwardRefExoticComponent<GridItemProps & RefAttributes<HTMLDivElement>>;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Grid
|
|
16
|
+
* ============================================================
|
|
17
|
+
* The Grid Layout Component provides a flexible and responsive way to structure content using a two-dimensional grid system. It allows elements to be arranged in rows and columns, enabling dynamic and efficient layouts for different screen sizes.
|
|
18
|
+
*
|
|
19
|
+
* Features:
|
|
20
|
+
*
|
|
21
|
+
* - allows forwarding refs to the underlying DOM element
|
|
22
|
+
*/
|
|
23
|
+
export declare interface GridProps extends GridProps_2 {
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { }
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { AriaButtonProps } from 'react-aria';
|
|
2
|
+
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
import { RecipeProps } from '@chakra-ui/react';
|
|
5
|
+
import { UnstyledProp } from '@chakra-ui/react';
|
|
6
|
+
|
|
7
|
+
declare interface ButtonProps extends FunctionalButtonProps {
|
|
8
|
+
slot?: string | null | undefined;
|
|
9
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Base recipe props interface that combines Chakra UI's recipe props
|
|
14
|
+
* with the unstyled prop option for the button element.
|
|
15
|
+
*/
|
|
16
|
+
declare interface ButtonRecipeProps extends RecipeProps<"button">, UnstyledProp {
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
21
|
+
* This creates a complete set of props for the root element, combining
|
|
22
|
+
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
23
|
+
*/
|
|
24
|
+
declare interface ButtonRootProps extends Omit<HTMLChakraProps<"button", ButtonRecipeProps>, "slot"> {
|
|
25
|
+
slot?: string | null | undefined;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** combine chakra-button props with aria-button props */
|
|
29
|
+
declare type FunctionalButtonProps = AriaButtonProps & Omit<ButtonRootProps, keyof AriaButtonProps | "slot"> & {
|
|
30
|
+
[key: `data-${string}`]: unknown;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* IconButton
|
|
35
|
+
* ============================================================
|
|
36
|
+
* displays a button with only an icon as child. It is based
|
|
37
|
+
* on the regular `Button` component, but with a few adjustments.
|
|
38
|
+
*/
|
|
39
|
+
export declare const IconButton: {
|
|
40
|
+
(props: IconButtonProps): JSX.Element;
|
|
41
|
+
displayName: string;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Main props interface for the IconButton component.
|
|
46
|
+
*/
|
|
47
|
+
export declare interface IconButtonProps extends ButtonProps {
|
|
48
|
+
/** explains the intended action, required for accessibility */
|
|
49
|
+
"aria-label": string;
|
|
50
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { }
|
package/dist/icon.d.ts
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import { RecipeDefinition } from '@chakra-ui/react';
|
|
4
|
+
import { RecipeProps } from '@chakra-ui/react';
|
|
5
|
+
import { RecipeVariantProps } from '@chakra-ui/react';
|
|
6
|
+
import { UnstyledProp } from '@chakra-ui/react';
|
|
7
|
+
|
|
8
|
+
declare interface BoxProps extends HTMLChakraProps<"div"> {
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Icon
|
|
15
|
+
* displays icon components
|
|
16
|
+
*/
|
|
17
|
+
export declare const Icon: {
|
|
18
|
+
(props: IconProps): JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Main props interface for the Icon component.
|
|
24
|
+
* Extends IconVariantProps to include both root props and variant props,
|
|
25
|
+
* while adding support for React children.
|
|
26
|
+
*/
|
|
27
|
+
export declare interface IconProps extends IconVariantProps {
|
|
28
|
+
/**
|
|
29
|
+
* Accepts only a single child - an icon-component or SVG html-element.
|
|
30
|
+
* Alternatively, as shorthand, use the `as` property.
|
|
31
|
+
*/
|
|
32
|
+
children?: React.ReactNode;
|
|
33
|
+
/**
|
|
34
|
+
* Colors the icon, accepts a color token from the theme or a custom value
|
|
35
|
+
*/
|
|
36
|
+
color?: BoxProps["color"];
|
|
37
|
+
/**
|
|
38
|
+
* Accepts a React component to be rendered as the icon .
|
|
39
|
+
*/
|
|
40
|
+
as?: BoxProps["as"];
|
|
41
|
+
/**
|
|
42
|
+
* Ref to the icon element
|
|
43
|
+
*/
|
|
44
|
+
ref?: React.Ref<SVGSVGElement>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Recipe configuration for the Icon component.
|
|
49
|
+
* Defines the styling variants and base styles using Chakra UI's recipe system.
|
|
50
|
+
*/
|
|
51
|
+
declare const iconRecipe: RecipeDefinition< {
|
|
52
|
+
/**
|
|
53
|
+
* allows applying a predefined size to the icon
|
|
54
|
+
*/
|
|
55
|
+
size: {
|
|
56
|
+
"2xs": {
|
|
57
|
+
boxSize: "600";
|
|
58
|
+
};
|
|
59
|
+
xs: {
|
|
60
|
+
boxSize: "800";
|
|
61
|
+
};
|
|
62
|
+
sm: {
|
|
63
|
+
boxSize: "900";
|
|
64
|
+
};
|
|
65
|
+
md: {
|
|
66
|
+
boxSize: "1000";
|
|
67
|
+
};
|
|
68
|
+
lg: {
|
|
69
|
+
boxSize: "1200";
|
|
70
|
+
};
|
|
71
|
+
xl: {
|
|
72
|
+
boxSize: "1400";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}>;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Base recipe props interface that combines Chakra UI's recipe props
|
|
79
|
+
* with the unstyled prop option for the svg element.
|
|
80
|
+
*/
|
|
81
|
+
declare interface IconRecipeProps extends RecipeProps<"svg">, UnstyledProp {
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Root props interface that extends Chakra's HTML props with our recipe props.
|
|
86
|
+
* This creates a complete set of props for the root element, combining
|
|
87
|
+
* HTML attributes, Chakra's styling system, and our custom recipe props.
|
|
88
|
+
*/
|
|
89
|
+
declare interface IconRootSlotProps extends HTMLChakraProps<"svg", IconRecipeProps> {
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Combines the root props with Chakra UI's recipe variant props.
|
|
94
|
+
* This allows the component to accept both structural props from Root
|
|
95
|
+
* and styling variants from the recipe.
|
|
96
|
+
*/
|
|
97
|
+
declare type IconVariantProps = Omit<IconRootSlotProps, keyof React.SVGProps<SVGSVGElement> | "css" | "unstyled" | "asChild" | "recipe"> & RecipeVariantProps<typeof iconRecipe>;
|
|
98
|
+
|
|
99
|
+
export { }
|
package/dist/image.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ImageProps as ImageProps_2 } from '@chakra-ui/react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Image
|
|
6
|
+
*
|
|
7
|
+
* Use this component to display an image.
|
|
8
|
+
*/
|
|
9
|
+
declare const Image_2: {
|
|
10
|
+
(props: ImageProps): JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
export { Image_2 as Image }
|
|
14
|
+
|
|
15
|
+
export declare interface ImageProps extends ImageProps_2 {
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { }
|