@commercetools/nimbus 0.0.0-canary-20250826065101 → 0.0.0-canary-20250826164027
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 +9 -0
- package/dist/alert.d.ts +9 -0
- package/dist/avatar.d.ts +9 -0
- package/dist/badge.d.ts +9 -0
- package/dist/box.d.ts +9 -0
- package/dist/button.d.ts +9 -0
- package/dist/calendar.d.ts +9 -0
- package/dist/card.d.ts +9 -0
- package/dist/checkbox.d.ts +9 -0
- package/dist/chunks/DatePicker-5cKqpUC9.cjs.js +2 -0
- package/dist/chunks/{DatePicker-BQ6EfAU2.cjs.js.map → DatePicker-5cKqpUC9.cjs.js.map} +1 -1
- package/dist/chunks/{DatePicker-ByWwypbW.es.js → DatePicker-8Z6Kf838.es.js} +17 -18
- package/dist/chunks/{DatePicker-ByWwypbW.es.js.map → DatePicker-8Z6Kf838.es.js.map} +1 -1
- package/dist/chunks/{Dialog-DNPIKkGE.es.js → Dialog-C7IjW1jR.es.js} +24 -25
- package/dist/chunks/{Dialog-DNPIKkGE.es.js.map → Dialog-C7IjW1jR.es.js.map} +1 -1
- package/dist/chunks/Dialog-Cbq66gyc.cjs.js +2 -0
- package/dist/chunks/{Dialog-B4OIDU7t.cjs.js.map → Dialog-Cbq66gyc.cjs.js.map} +1 -1
- package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js +2 -0
- package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js.map +1 -0
- package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js +479 -0
- package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js.map +1 -0
- package/dist/chunks/{alert-BhMfbMnN.cjs.js → alert-BZUgI30X.cjs.js} +2 -2
- package/dist/chunks/{alert-BhMfbMnN.cjs.js.map → alert-BZUgI30X.cjs.js.map} +1 -1
- package/dist/chunks/{alert-BvT6yjas.es.js → alert-BxQlH4k1.es.js} +2 -2
- package/dist/chunks/{alert-BvT6yjas.es.js.map → alert-BxQlH4k1.es.js.map} +1 -1
- package/dist/chunks/{button-Bg73nQk3.es.js → button-B4HX0fM_.es.js} +2 -2
- package/dist/chunks/{button-Bg73nQk3.es.js.map → button-B4HX0fM_.es.js.map} +1 -1
- package/dist/chunks/{button-BiBXrCVh.cjs.js → button-qv44IWcR.cjs.js} +2 -2
- package/dist/chunks/{button-BiBXrCVh.cjs.js.map → button-qv44IWcR.cjs.js.map} +1 -1
- package/dist/chunks/{calendar-Co4TTkzj.es.js → calendar-DABzfMco.es.js} +4 -4
- package/dist/chunks/{calendar-Co4TTkzj.es.js.map → calendar-DABzfMco.es.js.map} +1 -1
- package/dist/chunks/{calendar-BydrcPp3.cjs.js → calendar-v3st4EyG.cjs.js} +2 -2
- package/dist/chunks/{calendar-BydrcPp3.cjs.js.map → calendar-v3st4EyG.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-8eIhS2f6.cjs.js → checkbox-BN-_eQB9.cjs.js} +2 -2
- package/dist/chunks/{checkbox-8eIhS2f6.cjs.js.map → checkbox-BN-_eQB9.cjs.js.map} +1 -1
- package/dist/chunks/{checkbox-B2yJgtOJ.es.js → checkbox-VN2y-Prn.es.js} +2 -2
- package/dist/chunks/{checkbox-B2yJgtOJ.es.js.map → checkbox-VN2y-Prn.es.js.map} +1 -1
- package/dist/chunks/combobox-Ah0GQqSW.cjs.js +2 -0
- package/dist/chunks/{combobox-BYyNTj5m.cjs.js.map → combobox-Ah0GQqSW.cjs.js.map} +1 -1
- package/dist/chunks/{combobox-qA8TjWPw.es.js → combobox-D_IGHRck.es.js} +18 -19
- package/dist/chunks/{combobox-qA8TjWPw.es.js.map → combobox-D_IGHRck.es.js.map} +1 -1
- package/dist/chunks/{data-table-D7Gq4ZYT.es.js → data-table-BVhKXSXO.es.js} +1606 -1476
- package/dist/chunks/{data-table-D7Gq4ZYT.es.js.map → data-table-BVhKXSXO.es.js.map} +1 -1
- package/dist/chunks/data-table-_iKOsqf2.cjs.js +2 -0
- package/dist/chunks/{data-table-D6qEg2qp.cjs.js.map → data-table-_iKOsqf2.cjs.js.map} +1 -1
- package/dist/chunks/{date-input-BSacD65z.es.js → date-input-BOKez7n5.es.js} +3 -3
- package/dist/chunks/{date-input-BSacD65z.es.js.map → date-input-BOKez7n5.es.js.map} +1 -1
- package/dist/chunks/{date-input-DwxNrZ3r.cjs.js → date-input-C6zs_WLw.cjs.js} +2 -2
- package/dist/chunks/{date-input-DwxNrZ3r.cjs.js.map → date-input-C6zs_WLw.cjs.js.map} +1 -1
- package/dist/chunks/{date-picker-COI-tlHx.es.js → date-picker-Bpi1PgR2.es.js} +9 -9
- package/dist/chunks/{date-picker-COI-tlHx.es.js.map → date-picker-Bpi1PgR2.es.js.map} +1 -1
- package/dist/chunks/{date-picker-RC0pSYZe.cjs.js → date-picker-DNROhe7B.cjs.js} +2 -2
- package/dist/chunks/{date-picker-RC0pSYZe.cjs.js.map → date-picker-DNROhe7B.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-BnI3m8z-.es.js → date-range-picker-CXKG84tw.es.js} +9 -9
- package/dist/chunks/{date-range-picker-BnI3m8z-.es.js.map → date-range-picker-CXKG84tw.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-BMAaQ7cS.cjs.js → date-range-picker-tyjYdQx1.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-BMAaQ7cS.cjs.js.map → date-range-picker-tyjYdQx1.cjs.js.map} +1 -1
- package/dist/chunks/{extractStyleProps-BEa9kwlY.es.js → extractStyleProps-DX5GBd9K.es.js} +2 -2
- package/dist/chunks/{extractStyleProps-BEa9kwlY.es.js.map → extractStyleProps-DX5GBd9K.es.js.map} +1 -1
- package/dist/chunks/{extractStyleProps-wjyId_vK.cjs.js → extractStyleProps-yFm0qaXg.cjs.js} +2 -2
- package/dist/chunks/{extractStyleProps-wjyId_vK.cjs.js.map → extractStyleProps-yFm0qaXg.cjs.js.map} +1 -1
- package/dist/chunks/{form-field-BgKHtyTH.es.js → form-field-DePRnFqm.es.js} +3 -3
- package/dist/chunks/{form-field-BgKHtyTH.es.js.map → form-field-DePRnFqm.es.js.map} +1 -1
- package/dist/chunks/{form-field-B6lCvcf4.cjs.js → form-field-JpzG70WX.cjs.js} +2 -2
- package/dist/chunks/{form-field-B6lCvcf4.cjs.js.map → form-field-JpzG70WX.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-BBkPfAM3.cjs.js → icon-button-CCrfnUUB.cjs.js} +2 -2
- package/dist/chunks/{icon-button-BBkPfAM3.cjs.js.map → icon-button-CCrfnUUB.cjs.js.map} +1 -1
- package/dist/chunks/{icon-button-D2qU4Eun.es.js → icon-button-O_dSWgZr.es.js} +2 -2
- package/dist/chunks/{icon-button-D2qU4Eun.es.js.map → icon-button-O_dSWgZr.es.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-L_kYjNhI.cjs.js → icon-toggle-button-D5Uji9qU.cjs.js} +2 -2
- package/dist/chunks/{icon-toggle-button-L_kYjNhI.cjs.js.map → icon-toggle-button-D5Uji9qU.cjs.js.map} +1 -1
- package/dist/chunks/{icon-toggle-button-wjYSiFhl.es.js → icon-toggle-button-sFqCJEvI.es.js} +2 -2
- package/dist/chunks/{icon-toggle-button-wjYSiFhl.es.js.map → icon-toggle-button-sFqCJEvI.es.js.map} +1 -1
- package/dist/chunks/index-COhQ_99G.cjs.js +4 -0
- package/dist/chunks/index-COhQ_99G.cjs.js.map +1 -0
- package/dist/chunks/{index-BDmBxsjm.es.js → index-DRWeBbu8.es.js} +31 -61
- package/dist/chunks/index-DRWeBbu8.es.js.map +1 -0
- package/dist/chunks/menu-BX993uzm.cjs.js +2 -0
- package/dist/chunks/menu-BX993uzm.cjs.js.map +1 -0
- package/dist/chunks/menu-DbKjf1RS.es.js +157 -0
- package/dist/chunks/menu-DbKjf1RS.es.js.map +1 -0
- package/dist/chunks/{multiline-text-input-MJPDSw2d.es.js → multiline-text-input-BvJxZ-xz.es.js} +2 -2
- package/dist/chunks/{multiline-text-input-MJPDSw2d.es.js.map → multiline-text-input-BvJxZ-xz.es.js.map} +1 -1
- package/dist/chunks/{multiline-text-input-BXpftZg5.cjs.js → multiline-text-input-mIiDJ-o1.cjs.js} +2 -2
- package/dist/chunks/{multiline-text-input-BXpftZg5.cjs.js.map → multiline-text-input-mIiDJ-o1.cjs.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-DEQVQ5ZH.es.js → nimbus-provider-C68IpiXi.es.js} +2 -2
- package/dist/chunks/{nimbus-provider-DEQVQ5ZH.es.js.map → nimbus-provider-C68IpiXi.es.js.map} +1 -1
- package/dist/chunks/{nimbus-provider-DCCIMVE_.cjs.js → nimbus-provider-Yka95N38.cjs.js} +2 -2
- package/dist/chunks/{nimbus-provider-DCCIMVE_.cjs.js.map → nimbus-provider-Yka95N38.cjs.js.map} +1 -1
- package/dist/chunks/{number-input-DsQqe_99.cjs.js → number-input-BN6xiOXG.cjs.js} +2 -2
- package/dist/chunks/{number-input-DsQqe_99.cjs.js.map → number-input-BN6xiOXG.cjs.js.map} +1 -1
- package/dist/chunks/{number-input-CFa5dE3r.es.js → number-input-DFmXNyz2.es.js} +3 -3
- package/dist/chunks/{number-input-CFa5dE3r.es.js.map → number-input-DFmXNyz2.es.js.map} +1 -1
- package/dist/chunks/{password-input-XSc2MhLG.es.js → password-input-BtbZYHE8.es.js} +4 -4
- package/dist/chunks/{password-input-XSc2MhLG.es.js.map → password-input-BtbZYHE8.es.js.map} +1 -1
- package/dist/chunks/{password-input--fYkZAW3.cjs.js → password-input-CGsQktks.cjs.js} +2 -2
- package/dist/chunks/{password-input--fYkZAW3.cjs.js.map → password-input-CGsQktks.cjs.js.map} +1 -1
- package/dist/chunks/{progress-bar-DM8YmshZ.es.js → progress-bar-CDRI279T.es.js} +2 -2
- package/dist/chunks/{progress-bar-DM8YmshZ.es.js.map → progress-bar-CDRI279T.es.js.map} +1 -1
- package/dist/chunks/{progress-bar-QjY92GQn.cjs.js → progress-bar-nQCcdv_4.cjs.js} +2 -2
- package/dist/chunks/{progress-bar-QjY92GQn.cjs.js.map → progress-bar-nQCcdv_4.cjs.js.map} +1 -1
- package/dist/chunks/{radio-input-DRDeKoG2.es.js → radio-input-CE_kist9.es.js} +3 -3
- package/dist/chunks/{radio-input-DRDeKoG2.es.js.map → radio-input-CE_kist9.es.js.map} +1 -1
- package/dist/chunks/{radio-input-BOjuwflu.cjs.js → radio-input-CWRnpcxm.cjs.js} +2 -2
- package/dist/chunks/{radio-input-BOjuwflu.cjs.js.map → radio-input-CWRnpcxm.cjs.js.map} +1 -1
- package/dist/chunks/{range-calendar-Cup7ahCy.es.js → range-calendar-BNAIdxfK.es.js} +4 -4
- package/dist/chunks/{range-calendar-Cup7ahCy.es.js.map → range-calendar-BNAIdxfK.es.js.map} +1 -1
- package/dist/chunks/{range-calendar-C_x3yqnL.cjs.js → range-calendar-BW4gqU35.cjs.js} +2 -2
- package/dist/chunks/{range-calendar-C_x3yqnL.cjs.js.map → range-calendar-BW4gqU35.cjs.js.map} +1 -1
- package/dist/chunks/rich-text-input-D3xrDvLR.es.js +691 -0
- package/dist/chunks/rich-text-input-D3xrDvLR.es.js.map +1 -0
- package/dist/chunks/rich-text-input-iDEygf74.cjs.js +2 -0
- package/dist/chunks/rich-text-input-iDEygf74.cjs.js.map +1 -0
- package/dist/chunks/select-DihySN1w.cjs.js +2 -0
- package/dist/chunks/{select-CxIiux8H.cjs.js.map → select-DihySN1w.cjs.js.map} +1 -1
- package/dist/chunks/{select-CMZAeYTf.es.js → select-wby2GRxc.es.js} +27 -28
- package/dist/chunks/{select-CMZAeYTf.es.js.map → select-wby2GRxc.es.js.map} +1 -1
- package/dist/chunks/slate-helpers-BwRHJO4o.es.js +6919 -0
- package/dist/chunks/slate-helpers-BwRHJO4o.es.js.map +1 -0
- package/dist/chunks/slate-helpers-CMAwCMk0.cjs.js +24 -0
- package/dist/chunks/slate-helpers-CMAwCMk0.cjs.js.map +1 -0
- package/dist/chunks/split-button-CcVa5yVH.es.js +103 -0
- package/dist/chunks/split-button-CcVa5yVH.es.js.map +1 -0
- package/dist/chunks/split-button-RydlGh27.cjs.js +2 -0
- package/dist/chunks/split-button-RydlGh27.cjs.js.map +1 -0
- package/dist/chunks/{switch-DUiPm-aC.cjs.js → switch-D3w3xQ7Z.cjs.js} +2 -2
- package/dist/chunks/{switch-DUiPm-aC.cjs.js.map → switch-D3w3xQ7Z.cjs.js.map} +1 -1
- package/dist/chunks/{switch-BOvBbCnU.es.js → switch-DZBU6Cbk.es.js} +3 -3
- package/dist/chunks/{switch-BOvBbCnU.es.js.map → switch-DZBU6Cbk.es.js.map} +1 -1
- package/dist/chunks/{tag-group-wXtwUUis.cjs.js → tag-group-Cwcr_VDp.cjs.js} +2 -2
- package/dist/chunks/{tag-group-wXtwUUis.cjs.js.map → tag-group-Cwcr_VDp.cjs.js.map} +1 -1
- package/dist/chunks/{tag-group-C_oBSbrz.es.js → tag-group-DQ0jVbpR.es.js} +2 -2
- package/dist/chunks/{tag-group-C_oBSbrz.es.js.map → tag-group-DQ0jVbpR.es.js.map} +1 -1
- package/dist/chunks/{text-input-B7XCw3SS.es.js → text-input-DlNFZk9-.es.js} +3 -3
- package/dist/chunks/{text-input-B7XCw3SS.es.js.map → text-input-DlNFZk9-.es.js.map} +1 -1
- package/dist/chunks/{text-input-CCX8LUl1.cjs.js → text-input-i2bZeQZZ.cjs.js} +2 -2
- package/dist/chunks/{text-input-CCX8LUl1.cjs.js.map → text-input-i2bZeQZZ.cjs.js.map} +1 -1
- package/dist/chunks/{time-input-DiFCm9qO.es.js → time-input-BORpKwS7.es.js} +2 -2
- package/dist/chunks/{time-input-DiFCm9qO.es.js.map → time-input-BORpKwS7.es.js.map} +1 -1
- package/dist/chunks/{time-input-DQaDOtuT.cjs.js → time-input-Cc8RFGmz.cjs.js} +2 -2
- package/dist/chunks/{time-input-DQaDOtuT.cjs.js.map → time-input-Cc8RFGmz.cjs.js.map} +1 -1
- package/dist/chunks/{toggle-button-BpG_UgsK.es.js → toggle-button-C7BBLnfL.es.js} +9 -9
- package/dist/chunks/{toggle-button-BpG_UgsK.es.js.map → toggle-button-C7BBLnfL.es.js.map} +1 -1
- package/dist/chunks/{toggle-button-C9XUBlNB.cjs.js → toggle-button-DZpRqlmW.cjs.js} +2 -2
- package/dist/chunks/{toggle-button-C9XUBlNB.cjs.js.map → toggle-button-DZpRqlmW.cjs.js.map} +1 -1
- package/dist/chunks/{toolbar-D2CqoZzL.es.js → toolbar-CD5Nrn7W.es.js} +3 -3
- package/dist/chunks/{toolbar-D2CqoZzL.es.js.map → toolbar-CD5Nrn7W.es.js.map} +1 -1
- package/dist/chunks/{toolbar-BxIQI626.cjs.js → toolbar-Dbq_EngE.cjs.js} +2 -2
- package/dist/chunks/{toolbar-BxIQI626.cjs.js.map → toolbar-Dbq_EngE.cjs.js.map} +1 -1
- package/dist/chunks/{tooltip-BLyAAnK-.es.js → tooltip-BOK0Uejw.es.js} +2 -2
- package/dist/chunks/{tooltip-BLyAAnK-.es.js.map → tooltip-BOK0Uejw.es.js.map} +1 -1
- package/dist/chunks/{tooltip-tZKuAv4E.cjs.js → tooltip-DjUjwciC.cjs.js} +2 -2
- package/dist/chunks/{tooltip-tZKuAv4E.cjs.js.map → tooltip-DjUjwciC.cjs.js.map} +1 -1
- package/dist/chunks/use-formatting-state-Denpy3Zo.cjs.js +2 -0
- package/dist/chunks/use-formatting-state-Denpy3Zo.cjs.js.map +1 -0
- package/dist/chunks/use-formatting-state-RJvSR-Zg.es.js +247 -0
- package/dist/chunks/use-formatting-state-RJvSR-Zg.es.js.map +1 -0
- package/dist/code.d.ts +9 -0
- package/dist/combobox.d.ts +9 -0
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.es.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.es.js +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/combobox.cjs +1 -1
- package/dist/components/combobox.es.js +1 -1
- package/dist/components/components.cjs +1 -1
- package/dist/components/components.es.js +90 -87
- package/dist/components/components.es.js.map +1 -1
- package/dist/components/constants.cjs +2 -0
- package/dist/components/constants.cjs.map +1 -0
- package/dist/components/constants.es.js +125 -0
- package/dist/components/constants.es.js.map +1 -0
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.es.js +1 -1
- package/dist/components/date-input.cjs +1 -1
- package/dist/components/date-input.es.js +1 -1
- package/dist/components/date-picker.cjs +1 -1
- package/dist/components/date-picker.es.js +1 -1
- package/dist/components/date-range-picker.cjs +1 -1
- package/dist/components/date-range-picker.es.js +1 -1
- package/dist/components/form-field.cjs +1 -1
- package/dist/components/form-field.es.js +1 -1
- package/dist/components/hooks.cjs +2 -0
- package/dist/components/hooks.cjs.map +1 -0
- package/dist/components/hooks.es.js +8 -0
- package/dist/components/hooks.es.js.map +1 -0
- package/dist/components/icon-button.cjs +1 -1
- package/dist/components/icon-button.es.js +1 -1
- package/dist/components/icon-toggle-button.cjs +1 -1
- package/dist/components/icon-toggle-button.es.js +1 -1
- package/dist/components/multiline-text-input.cjs +1 -1
- package/dist/components/multiline-text-input.es.js +1 -1
- package/dist/components/nimbus-provider.cjs +1 -1
- package/dist/components/nimbus-provider.es.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.es.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.es.js +1 -1
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.es.js +1 -1
- package/dist/components/progress-bar.cjs +1 -1
- package/dist/components/progress-bar.es.js +1 -1
- package/dist/components/radio-input.cjs +1 -1
- package/dist/components/radio-input.es.js +1 -1
- package/dist/components/range-calendar.cjs +1 -1
- package/dist/components/range-calendar.es.js +1 -1
- package/dist/components/rich-text-input.cjs +2 -0
- package/dist/components/rich-text-input.cjs.map +1 -0
- package/dist/components/rich-text-input.es.js +5 -0
- package/dist/components/rich-text-input.es.js.map +1 -0
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.es.js +1 -1
- package/dist/components/split-button.cjs +1 -1
- package/dist/components/split-button.es.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.es.js +1 -1
- package/dist/components/tag-group.cjs +1 -1
- package/dist/components/tag-group.es.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.es.js +1 -1
- package/dist/components/time-input.cjs +1 -1
- package/dist/components/time-input.es.js +1 -1
- package/dist/components/toggle-button.cjs +1 -1
- package/dist/components/toggle-button.es.js +1 -1
- package/dist/components/toolbar.cjs +1 -1
- package/dist/components/toolbar.es.js +1 -1
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.es.js +1 -1
- package/dist/components/utils.cjs +2 -0
- package/dist/components/utils.cjs.map +1 -0
- package/dist/components/utils.es.js +76 -0
- package/dist/components/utils.es.js.map +1 -0
- package/dist/components.d.ts +81 -1
- package/dist/constants.d.ts +129 -0
- package/dist/data-table.d.ts +15 -0
- package/dist/date-input.d.ts +9 -0
- package/dist/date-picker.d.ts +9 -0
- package/dist/date-range-picker.d.ts +9 -0
- package/dist/dialog.d.ts +9 -0
- package/dist/divider.d.ts +9 -0
- package/dist/flex.d.ts +9 -0
- package/dist/form-field.d.ts +9 -0
- package/dist/grid.d.ts +9 -0
- package/dist/group.d.ts +9 -0
- package/dist/heading.d.ts +9 -0
- package/dist/hooks.d.ts +60 -0
- package/dist/icon-button.d.ts +9 -0
- package/dist/icon-toggle-button.d.ts +9 -0
- package/dist/icon.d.ts +9 -0
- package/dist/image.d.ts +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +120 -58
- package/dist/index.es.js +193 -192
- package/dist/kbd.d.ts +9 -0
- package/dist/link.d.ts +9 -0
- package/dist/list.d.ts +9 -0
- package/dist/loading-spinner.d.ts +9 -0
- package/dist/multiline-text-input.d.ts +9 -0
- package/dist/nimbus-provider.d.ts +9 -0
- package/dist/number-input.d.ts +9 -0
- package/dist/password-input.d.ts +9 -0
- package/dist/popover.d.ts +9 -0
- package/dist/progress-bar.d.ts +9 -0
- package/dist/radio-input.d.ts +9 -0
- package/dist/range-calendar.d.ts +9 -0
- package/dist/rich-text-input.d.ts +79 -0
- package/dist/select.d.ts +9 -0
- package/dist/setup-jsdom-polyfills.d.ts +9 -0
- package/dist/simple-grid.d.ts +9 -0
- package/dist/split-button.d.ts +9 -0
- package/dist/stack.d.ts +9 -0
- package/dist/switch.d.ts +9 -0
- package/dist/table.d.ts +9 -0
- package/dist/tag-group.d.ts +9 -0
- package/dist/text-input.d.ts +9 -0
- package/dist/text.d.ts +9 -0
- package/dist/time-input.d.ts +9 -0
- package/dist/toggle-button-group.d.ts +9 -0
- package/dist/toggle-button.d.ts +9 -0
- package/dist/toolbar.d.ts +13 -1
- package/dist/tooltip.d.ts +9 -0
- package/dist/utils.d.ts +164 -0
- package/dist/visually-hidden.d.ts +9 -0
- package/package.json +16 -8
- package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js +0 -2
- package/dist/chunks/Dialog-B4OIDU7t.cjs.js +0 -2
- package/dist/chunks/OverlayArrow-BD-oGsXg.es.js +0 -452
- package/dist/chunks/OverlayArrow-BD-oGsXg.es.js.map +0 -1
- package/dist/chunks/OverlayArrow-aq8OInch.cjs.js +0 -2
- package/dist/chunks/OverlayArrow-aq8OInch.cjs.js.map +0 -1
- package/dist/chunks/combobox-BYyNTj5m.cjs.js +0 -2
- package/dist/chunks/data-table-D6qEg2qp.cjs.js +0 -2
- package/dist/chunks/index-BDmBxsjm.es.js.map +0 -1
- package/dist/chunks/index-XyB4gGC8.cjs.js +0 -4
- package/dist/chunks/index-XyB4gGC8.cjs.js.map +0 -1
- package/dist/chunks/select-CxIiux8H.cjs.js +0 -2
- package/dist/chunks/split-button-BZHi7r1E.es.js +0 -262
- package/dist/chunks/split-button-BZHi7r1E.es.js.map +0 -1
- package/dist/chunks/split-button-hRYYvfbx.cjs.js +0 -2
- package/dist/chunks/split-button-hRYYvfbx.cjs.js.map +0 -1
- package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js +0 -2
- package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js.map +0 -1
- package/dist/chunks/useResizeObserver-FIPBIG5S.es.js +0 -32
- package/dist/chunks/useResizeObserver-FIPBIG5S.es.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -44,10 +44,11 @@ import { DetailedHTMLProps } from 'react';
|
|
|
44
44
|
import { Dialog as Dialog_2 } from '@chakra-ui/react/dialog';
|
|
45
45
|
import { DisclosureGroupProps as DisclosureGroupProps_2 } from './accordion.types';
|
|
46
46
|
import { DisclosureProps } from 'react-aria-components';
|
|
47
|
-
import {
|
|
47
|
+
import { Editor } from 'slate';
|
|
48
48
|
import { FC } from 'react';
|
|
49
49
|
import { Flex } from '@chakra-ui/react/flex';
|
|
50
50
|
import { FocusableOptions } from 'react-aria';
|
|
51
|
+
import { FocusEventHandler } from 'react';
|
|
51
52
|
import { FormFieldDescriptionSlotProps } from './form-field.slots';
|
|
52
53
|
import { FormFieldErrorSlotProps } from './form-field.slots';
|
|
53
54
|
import { FormFieldInputSlotProps } from './form-field.slots';
|
|
@@ -66,6 +67,7 @@ import { ImageProps as ImageProps_2 } from '@chakra-ui/react/image';
|
|
|
66
67
|
import { JSX } from 'react/jsx-runtime';
|
|
67
68
|
import { JsxStyleProps } from '@chakra-ui/react';
|
|
68
69
|
import { KbdProps as KbdProps_2 } from '@chakra-ui/react/kbd';
|
|
70
|
+
import { Key } from 'react-aria';
|
|
69
71
|
import { List as List_2 } from '@chakra-ui/react/list';
|
|
70
72
|
import { ListBoxItemProps } from 'react-aria-components';
|
|
71
73
|
import { ListBoxProps } from 'react-aria-components';
|
|
@@ -110,7 +112,6 @@ import { SelectProps } from 'react-aria-components';
|
|
|
110
112
|
import { SelectRootProps as SelectRootProps_2 } from './select.types';
|
|
111
113
|
import { SeparatorProps } from 'react-aria';
|
|
112
114
|
import { SeparatorProps as SeparatorProps_2 } from 'react-aria-components';
|
|
113
|
-
import { SetStateAction } from 'react';
|
|
114
115
|
import { SimpleGridProps as SimpleGridProps_2 } from '@chakra-ui/react/simple-grid';
|
|
115
116
|
import { SlotRecipeDefinition } from '@chakra-ui/react';
|
|
116
117
|
import { SlotRecipeVariantRecord } from '@chakra-ui/react';
|
|
@@ -130,6 +131,7 @@ import { TagProps } from 'react-aria-components';
|
|
|
130
131
|
import { TdHTMLAttributes } from 'react';
|
|
131
132
|
import { TextFieldProps } from 'react-aria-components';
|
|
132
133
|
import { TextProps as TextProps_2 } from '@chakra-ui/react/text';
|
|
134
|
+
import { TextStyleDefinition } from '../constants';
|
|
133
135
|
import { ThemeProviderProps } from 'next-themes';
|
|
134
136
|
import { TimeFieldStateOptions } from 'react-stately';
|
|
135
137
|
import { TimeValue } from 'react-aria';
|
|
@@ -144,10 +146,8 @@ import { TooltipTriggerComponentProps } from 'react-aria-components';
|
|
|
144
146
|
import { UnstyledProp } from '@chakra-ui/react/styled-system';
|
|
145
147
|
import { UnstyledProp as UnstyledProp_2 } from '@chakra-ui/react';
|
|
146
148
|
import { useButton } from 'react-aria';
|
|
147
|
-
import { useCopyToClipboard } from 'react-use';
|
|
148
149
|
import { useDisclosure } from 'react-aria';
|
|
149
150
|
import { useDisclosureState } from 'react-stately';
|
|
150
|
-
import { useHotkeys } from 'react-hotkeys-hook';
|
|
151
151
|
import { VisuallyHiddenProps as VisuallyHiddenProps_2 } from 'react-aria';
|
|
152
152
|
|
|
153
153
|
export declare const Accordion: {
|
|
@@ -1237,6 +1237,9 @@ export declare interface DataTableContextValue<T extends object = Record<string,
|
|
|
1237
1237
|
disabledKeys?: Selection_2;
|
|
1238
1238
|
onRowAction?: (row: DataTableRowItem<T>, action: "click" | "select") => void;
|
|
1239
1239
|
isResizable?: boolean;
|
|
1240
|
+
pinnedRows: Set<string>;
|
|
1241
|
+
onPinToggle?: (rowId: string) => void;
|
|
1242
|
+
togglePin: (id: string) => void;
|
|
1240
1243
|
}
|
|
1241
1244
|
|
|
1242
1245
|
export declare type DataTableDensity = "default" | "condensed";
|
|
@@ -1287,6 +1290,9 @@ export declare interface DataTableProps<T extends object = Record<string, unknow
|
|
|
1287
1290
|
nestedKey?: string;
|
|
1288
1291
|
disabledKeys?: Selection_2;
|
|
1289
1292
|
onRowAction?: (row: DataTableRowItem<T>, action: "click" | "select") => void;
|
|
1293
|
+
pinnedRows?: Set<string>;
|
|
1294
|
+
defaultPinnedRows?: Set<string>;
|
|
1295
|
+
onPinToggle?: (rowId: string) => void;
|
|
1290
1296
|
}
|
|
1291
1297
|
|
|
1292
1298
|
/**
|
|
@@ -1637,6 +1643,8 @@ declare type DefaultExcludedProps = "css" | "asChild" | "as" | "colorScheme";
|
|
|
1637
1643
|
|
|
1638
1644
|
declare type DefaultExcludedProps_2 = "css" | "asChild" | "as";
|
|
1639
1645
|
|
|
1646
|
+
declare type DefaultExcludedProps_3 = "css" | "asChild" | "as" | "onChange";
|
|
1647
|
+
|
|
1640
1648
|
/**
|
|
1641
1649
|
* # Dialog
|
|
1642
1650
|
*
|
|
@@ -3044,6 +3052,65 @@ export declare type RangeValue<T> = {
|
|
|
3044
3052
|
end: T;
|
|
3045
3053
|
};
|
|
3046
3054
|
|
|
3055
|
+
/**
|
|
3056
|
+
RichTextInput - A rich text input component with formatting capabilities.
|
|
3057
|
+
*/
|
|
3058
|
+
export declare const RichTextInput: {
|
|
3059
|
+
(props: RichTextInputProps): JSX.Element;
|
|
3060
|
+
displayName: string;
|
|
3061
|
+
};
|
|
3062
|
+
|
|
3063
|
+
export declare interface RichTextInputProps extends Omit<RichTextInputRootSlotProps, DefaultExcludedProps_3 | "children"> {
|
|
3064
|
+
/**
|
|
3065
|
+
* The ref for the rich text input component
|
|
3066
|
+
*/
|
|
3067
|
+
ref?: Ref<HTMLDivElement>;
|
|
3068
|
+
/**
|
|
3069
|
+
* The HTML value of the rich text input
|
|
3070
|
+
*/
|
|
3071
|
+
value?: string;
|
|
3072
|
+
/**
|
|
3073
|
+
* The default HTML value of the rich text input (uncontrolled)
|
|
3074
|
+
*/
|
|
3075
|
+
defaultValue?: string;
|
|
3076
|
+
/**
|
|
3077
|
+
* Called when the value changes
|
|
3078
|
+
*/
|
|
3079
|
+
onChange?: (value: string) => void;
|
|
3080
|
+
/**
|
|
3081
|
+
* Called when the input is focused
|
|
3082
|
+
*/
|
|
3083
|
+
onFocus?: FocusEventHandler<HTMLDivElement>;
|
|
3084
|
+
/**
|
|
3085
|
+
* Called when the input is blurred
|
|
3086
|
+
*/
|
|
3087
|
+
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
3088
|
+
/**
|
|
3089
|
+
* Placeholder text to show when the editor is empty
|
|
3090
|
+
*/
|
|
3091
|
+
placeholder?: string;
|
|
3092
|
+
/**
|
|
3093
|
+
* Whether the input is disabled
|
|
3094
|
+
*/
|
|
3095
|
+
isDisabled?: boolean;
|
|
3096
|
+
/**
|
|
3097
|
+
* Whether the input is read-only
|
|
3098
|
+
*/
|
|
3099
|
+
isReadOnly?: boolean;
|
|
3100
|
+
/**
|
|
3101
|
+
* Whether the input is in an invalid state
|
|
3102
|
+
*/
|
|
3103
|
+
isInvalid?: boolean;
|
|
3104
|
+
/**
|
|
3105
|
+
* Whether to focus the input when it mounts
|
|
3106
|
+
*/
|
|
3107
|
+
autoFocus?: boolean;
|
|
3108
|
+
}
|
|
3109
|
+
|
|
3110
|
+
declare const richTextInputRecipe: SlotRecipeDefinition<"toolbar" | "root" | "editable", {}>;
|
|
3111
|
+
|
|
3112
|
+
declare type RichTextInputRootSlotProps = HTMLChakraProps_2<"div", RecipeVariantProps_2<typeof richTextInputRecipe> & UnstyledProp_2>;
|
|
3113
|
+
|
|
3047
3114
|
export declare type RouterOptions = NimbusRouterOptionsBase extends {
|
|
3048
3115
|
routerOptions: any;
|
|
3049
3116
|
} ? NimbusRouterOptionsBase["routerOptions"] : any;
|
|
@@ -3768,22 +3835,25 @@ declare const toolbarRecipe: RecipeDefinition< {
|
|
|
3768
3835
|
size: {
|
|
3769
3836
|
xs: {
|
|
3770
3837
|
"--toolbar-spacing": "{spacing.100}";
|
|
3838
|
+
"--divider-size": "{sizes.600}";
|
|
3771
3839
|
};
|
|
3772
3840
|
md: {
|
|
3773
3841
|
"--toolbar-spacing": "{spacing.200}";
|
|
3842
|
+
"--divider-size": "{sizes.800}";
|
|
3774
3843
|
};
|
|
3775
3844
|
};
|
|
3776
3845
|
orientation: {
|
|
3777
3846
|
horizontal: {
|
|
3778
3847
|
"--toolbar-direction": "row";
|
|
3779
3848
|
"& .nimbus-divider": {
|
|
3780
|
-
height: "
|
|
3849
|
+
height: "var(--divider-size)";
|
|
3781
3850
|
mx: "var(--toolbar-spacing)";
|
|
3782
3851
|
};
|
|
3783
3852
|
};
|
|
3784
3853
|
vertical: {
|
|
3785
3854
|
"--toolbar-direction": "column";
|
|
3786
3855
|
"& .nimbus-divider": {
|
|
3856
|
+
width: "var(--divider-size)";
|
|
3787
3857
|
my: "var(--toolbar-spacing)";
|
|
3788
3858
|
};
|
|
3789
3859
|
};
|
|
@@ -3895,68 +3965,51 @@ export declare interface TypedNimbusRouterConfig {
|
|
|
3895
3965
|
useHref?: (href: string) => string;
|
|
3896
3966
|
}
|
|
3897
3967
|
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
* This hook provides access to the current color mode and functions to change it.
|
|
3904
|
-
* It integrates with the next-themes library to handle theme persistence and system preference detection.
|
|
3905
|
-
*
|
|
3906
|
-
* @returns An object containing:
|
|
3907
|
-
* - `colorMode`: The current resolved theme ('light' | 'dark' | 'system' | undefined)
|
|
3908
|
-
* - `setColorMode`: Function to set a specific color mode
|
|
3909
|
-
* - `toggleColorMode`: Function to toggle between light and dark modes
|
|
3910
|
-
*
|
|
3911
|
-
* @example
|
|
3912
|
-
* ```tsx
|
|
3913
|
-
* function ThemeToggle() {
|
|
3914
|
-
* const { colorMode, toggleColorMode } = useColorMode();
|
|
3915
|
-
*
|
|
3916
|
-
* return (
|
|
3917
|
-
* <button onClick={toggleColorMode}>
|
|
3918
|
-
* Current mode: {colorMode}
|
|
3919
|
-
* </button>
|
|
3920
|
-
* );
|
|
3921
|
-
* }
|
|
3922
|
-
* ```
|
|
3923
|
-
*/
|
|
3924
|
-
export declare function useColorMode(): {
|
|
3925
|
-
colorMode: string | undefined;
|
|
3926
|
-
setColorMode: Dispatch<SetStateAction<string>>;
|
|
3927
|
-
toggleColorMode: () => void;
|
|
3968
|
+
export declare const useFormattingState: ({ withPreservedSelection, }: UseFormattingStateProps) => {
|
|
3969
|
+
selectedKeys: Set<string>;
|
|
3970
|
+
selectedScriptKeys: Set<string>;
|
|
3971
|
+
allSelectedKeys: Set<string>;
|
|
3972
|
+
handleAllSelectionChange: (keys: "all" | Set<Key>) => void;
|
|
3928
3973
|
};
|
|
3929
3974
|
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3975
|
+
export declare interface UseFormattingStateProps {
|
|
3976
|
+
withPreservedSelection: (fn: () => void) => () => void;
|
|
3977
|
+
}
|
|
3978
|
+
|
|
3979
|
+
export declare const useKeyboardShortcuts: ({ editor }: UseKeyboardShortcutsProps) => {
|
|
3980
|
+
handleKeyDown: (event: React.KeyboardEvent) => void;
|
|
3981
|
+
};
|
|
3982
|
+
|
|
3983
|
+
export declare interface UseKeyboardShortcutsProps {
|
|
3984
|
+
editor: Editor;
|
|
3985
|
+
}
|
|
3940
3986
|
|
|
3941
3987
|
/**
|
|
3942
|
-
* Hook that provides
|
|
3943
|
-
*
|
|
3944
|
-
* @experimental This hook is experimental and may change in future versions.
|
|
3988
|
+
* Hook that provides a helper function to preserve selection when toolbar actions are executed.
|
|
3989
|
+
* This prevents losing text selection when interacting with toolbar buttons and menus.
|
|
3945
3990
|
*
|
|
3946
|
-
* This
|
|
3947
|
-
* and returns the current value. It automatically updates when the color scheme changes,
|
|
3948
|
-
* either through direct style changes or theme updates stored in localStorage.
|
|
3991
|
+
* TODO: This works for toggle buttons, but not for menus.
|
|
3949
3992
|
*
|
|
3950
|
-
*
|
|
3951
|
-
*
|
|
3952
|
-
*
|
|
3953
|
-
* @returns The current color scheme value as a string ('light', 'dark')
|
|
3993
|
+
* @param editor - The Slate editor instance
|
|
3994
|
+
* @returns A function that wraps actions to preserve selection and focus
|
|
3954
3995
|
*/
|
|
3955
|
-
export declare
|
|
3996
|
+
export declare const usePreservedSelection: (editor: Editor) => (action: () => void) => () => void;
|
|
3956
3997
|
|
|
3957
|
-
export {
|
|
3998
|
+
export declare const useToolbarState: ({ withPreservedSelection, }: UseToolbarStateProps) => {
|
|
3999
|
+
currentTextStyle: string;
|
|
4000
|
+
selectedTextStyle: TextStyleDefinition | undefined;
|
|
4001
|
+
selectedTextStyleLabel: string;
|
|
4002
|
+
handleTextStyleChange: (styleId: string) => void;
|
|
4003
|
+
handleListToggle: (selectedKeys: Set<Key>) => void;
|
|
4004
|
+
selectedFormatKeys: Set<string>;
|
|
4005
|
+
selectedListKeys: Set<string>;
|
|
4006
|
+
hasUndos: boolean;
|
|
4007
|
+
hasRedos: boolean;
|
|
4008
|
+
};
|
|
3958
4009
|
|
|
3959
|
-
export
|
|
4010
|
+
export declare interface UseToolbarStateProps {
|
|
4011
|
+
withPreservedSelection: (fn: () => void) => () => void;
|
|
4012
|
+
}
|
|
3960
4013
|
|
|
3961
4014
|
/**
|
|
3962
4015
|
* # VisuallyHidden
|
|
@@ -3977,3 +4030,12 @@ export declare interface VisuallyHiddenProps extends Omit<VisuallyHiddenProps_2,
|
|
|
3977
4030
|
}
|
|
3978
4031
|
|
|
3979
4032
|
export { }
|
|
4033
|
+
|
|
4034
|
+
|
|
4035
|
+
declare module "slate" {
|
|
4036
|
+
interface CustomTypes {
|
|
4037
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
4038
|
+
Element: CustomElement;
|
|
4039
|
+
Text: CustomText;
|
|
4040
|
+
}
|
|
4041
|
+
}
|