@commercetools/nimbus 0.0.0-canary-20250826133439 → 0.0.0-canary-20250827101922
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/{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-CFH0OaAM.cjs.js → combobox-Ah0GQqSW.cjs.js} +2 -2
- package/dist/chunks/{combobox-CFH0OaAM.cjs.js.map → combobox-Ah0GQqSW.cjs.js.map} +1 -1
- package/dist/chunks/{combobox-CkVqkKdA.es.js → combobox-D_IGHRck.es.js} +5 -5
- package/dist/chunks/{combobox-CkVqkKdA.es.js.map → combobox-D_IGHRck.es.js.map} +1 -1
- package/dist/chunks/data-table-COrv-ddO.cjs.js +2 -0
- package/dist/chunks/{data-table-DIXPr3ke.cjs.js.map → data-table-COrv-ddO.cjs.js.map} +1 -1
- package/dist/chunks/{data-table-cBq9JXG7.es.js → data-table-DbhVtDHQ.es.js} +677 -676
- package/dist/chunks/{data-table-cBq9JXG7.es.js.map → data-table-DbhVtDHQ.es.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-Bx2J-sPg.es.js → date-picker-Bpi1PgR2.es.js} +7 -7
- package/dist/chunks/{date-picker-Bx2J-sPg.es.js.map → date-picker-Bpi1PgR2.es.js.map} +1 -1
- package/dist/chunks/{date-picker-UEQeFHA8.cjs.js → date-picker-DNROhe7B.cjs.js} +2 -2
- package/dist/chunks/{date-picker-UEQeFHA8.cjs.js.map → date-picker-DNROhe7B.cjs.js.map} +1 -1
- package/dist/chunks/{date-range-picker-DvaRIy3T.es.js → date-range-picker-CXKG84tw.es.js} +7 -7
- package/dist/chunks/{date-range-picker-DvaRIy3T.es.js.map → date-range-picker-CXKG84tw.es.js.map} +1 -1
- package/dist/chunks/{date-range-picker-Dx1nE1Br.cjs.js → date-range-picker-tyjYdQx1.cjs.js} +2 -2
- package/dist/chunks/{date-range-picker-Dx1nE1Br.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-Do0NhI0D.es.js → form-field-DePRnFqm.es.js} +2 -2
- package/dist/chunks/{form-field-Do0NhI0D.es.js.map → form-field-DePRnFqm.es.js.map} +1 -1
- package/dist/chunks/{form-field-DiW_0hSy.cjs.js → form-field-JpzG70WX.cjs.js} +2 -2
- package/dist/chunks/{form-field-DiW_0hSy.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-BT594v5p.es.js → password-input-BtbZYHE8.es.js} +3 -3
- package/dist/chunks/{password-input-BT594v5p.es.js.map → password-input-BtbZYHE8.es.js.map} +1 -1
- package/dist/chunks/{password-input-D1LSzb9p.cjs.js → password-input-CGsQktks.cjs.js} +2 -2
- package/dist/chunks/{password-input-D1LSzb9p.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-BnN5zaBu.cjs.js → select-DihySN1w.cjs.js} +2 -2
- package/dist/chunks/{select-BnN5zaBu.cjs.js.map → select-DihySN1w.cjs.js.map} +1 -1
- package/dist/chunks/{select-Cr0CSahh.es.js → select-wby2GRxc.es.js} +16 -16
- package/dist/chunks/{select-Cr0CSahh.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/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 +89 -86
- 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/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/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 +76 -1
- package/dist/constants.d.ts +129 -0
- package/dist/data-table.d.ts +10 -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 +115 -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/data-table-DIXPr3ke.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/split-button-DhYWuU3x.es.js +0 -262
- package/dist/chunks/split-button-DhYWuU3x.es.js.map +0 -1
- package/dist/chunks/split-button-DrujRAqS.cjs.js +0 -2
- package/dist/chunks/split-button-DrujRAqS.cjs.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: {
|
|
@@ -1273,6 +1273,7 @@ export declare interface DataTableProps<T extends object = Record<string, unknow
|
|
|
1273
1273
|
search?: string;
|
|
1274
1274
|
maxHeight?: string | number;
|
|
1275
1275
|
sortDescriptor?: SortDescriptor;
|
|
1276
|
+
defaultSortDescriptor?: SortDescriptor;
|
|
1276
1277
|
onSortChange?: (descriptor: SortDescriptor) => void;
|
|
1277
1278
|
selectionMode?: "none" | "single" | "multiple";
|
|
1278
1279
|
selectionBehavior?: "toggle" | "replace";
|
|
@@ -1643,6 +1644,8 @@ declare type DefaultExcludedProps = "css" | "asChild" | "as" | "colorScheme";
|
|
|
1643
1644
|
|
|
1644
1645
|
declare type DefaultExcludedProps_2 = "css" | "asChild" | "as";
|
|
1645
1646
|
|
|
1647
|
+
declare type DefaultExcludedProps_3 = "css" | "asChild" | "as" | "onChange";
|
|
1648
|
+
|
|
1646
1649
|
/**
|
|
1647
1650
|
* # Dialog
|
|
1648
1651
|
*
|
|
@@ -3050,6 +3053,65 @@ export declare type RangeValue<T> = {
|
|
|
3050
3053
|
end: T;
|
|
3051
3054
|
};
|
|
3052
3055
|
|
|
3056
|
+
/**
|
|
3057
|
+
RichTextInput - A rich text input component with formatting capabilities.
|
|
3058
|
+
*/
|
|
3059
|
+
export declare const RichTextInput: {
|
|
3060
|
+
(props: RichTextInputProps): JSX.Element;
|
|
3061
|
+
displayName: string;
|
|
3062
|
+
};
|
|
3063
|
+
|
|
3064
|
+
export declare interface RichTextInputProps extends Omit<RichTextInputRootSlotProps, DefaultExcludedProps_3 | "children"> {
|
|
3065
|
+
/**
|
|
3066
|
+
* The ref for the rich text input component
|
|
3067
|
+
*/
|
|
3068
|
+
ref?: Ref<HTMLDivElement>;
|
|
3069
|
+
/**
|
|
3070
|
+
* The HTML value of the rich text input
|
|
3071
|
+
*/
|
|
3072
|
+
value?: string;
|
|
3073
|
+
/**
|
|
3074
|
+
* The default HTML value of the rich text input (uncontrolled)
|
|
3075
|
+
*/
|
|
3076
|
+
defaultValue?: string;
|
|
3077
|
+
/**
|
|
3078
|
+
* Called when the value changes
|
|
3079
|
+
*/
|
|
3080
|
+
onChange?: (value: string) => void;
|
|
3081
|
+
/**
|
|
3082
|
+
* Called when the input is focused
|
|
3083
|
+
*/
|
|
3084
|
+
onFocus?: FocusEventHandler<HTMLDivElement>;
|
|
3085
|
+
/**
|
|
3086
|
+
* Called when the input is blurred
|
|
3087
|
+
*/
|
|
3088
|
+
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
3089
|
+
/**
|
|
3090
|
+
* Placeholder text to show when the editor is empty
|
|
3091
|
+
*/
|
|
3092
|
+
placeholder?: string;
|
|
3093
|
+
/**
|
|
3094
|
+
* Whether the input is disabled
|
|
3095
|
+
*/
|
|
3096
|
+
isDisabled?: boolean;
|
|
3097
|
+
/**
|
|
3098
|
+
* Whether the input is read-only
|
|
3099
|
+
*/
|
|
3100
|
+
isReadOnly?: boolean;
|
|
3101
|
+
/**
|
|
3102
|
+
* Whether the input is in an invalid state
|
|
3103
|
+
*/
|
|
3104
|
+
isInvalid?: boolean;
|
|
3105
|
+
/**
|
|
3106
|
+
* Whether to focus the input when it mounts
|
|
3107
|
+
*/
|
|
3108
|
+
autoFocus?: boolean;
|
|
3109
|
+
}
|
|
3110
|
+
|
|
3111
|
+
declare const richTextInputRecipe: SlotRecipeDefinition<"toolbar" | "root" | "editable", {}>;
|
|
3112
|
+
|
|
3113
|
+
declare type RichTextInputRootSlotProps = HTMLChakraProps_2<"div", RecipeVariantProps_2<typeof richTextInputRecipe> & UnstyledProp_2>;
|
|
3114
|
+
|
|
3053
3115
|
export declare type RouterOptions = NimbusRouterOptionsBase extends {
|
|
3054
3116
|
routerOptions: any;
|
|
3055
3117
|
} ? NimbusRouterOptionsBase["routerOptions"] : any;
|
|
@@ -3774,22 +3836,25 @@ declare const toolbarRecipe: RecipeDefinition< {
|
|
|
3774
3836
|
size: {
|
|
3775
3837
|
xs: {
|
|
3776
3838
|
"--toolbar-spacing": "{spacing.100}";
|
|
3839
|
+
"--divider-size": "{sizes.600}";
|
|
3777
3840
|
};
|
|
3778
3841
|
md: {
|
|
3779
3842
|
"--toolbar-spacing": "{spacing.200}";
|
|
3843
|
+
"--divider-size": "{sizes.800}";
|
|
3780
3844
|
};
|
|
3781
3845
|
};
|
|
3782
3846
|
orientation: {
|
|
3783
3847
|
horizontal: {
|
|
3784
3848
|
"--toolbar-direction": "row";
|
|
3785
3849
|
"& .nimbus-divider": {
|
|
3786
|
-
height: "
|
|
3850
|
+
height: "var(--divider-size)";
|
|
3787
3851
|
mx: "var(--toolbar-spacing)";
|
|
3788
3852
|
};
|
|
3789
3853
|
};
|
|
3790
3854
|
vertical: {
|
|
3791
3855
|
"--toolbar-direction": "column";
|
|
3792
3856
|
"& .nimbus-divider": {
|
|
3857
|
+
width: "var(--divider-size)";
|
|
3793
3858
|
my: "var(--toolbar-spacing)";
|
|
3794
3859
|
};
|
|
3795
3860
|
};
|
|
@@ -3901,68 +3966,51 @@ export declare interface TypedNimbusRouterConfig {
|
|
|
3901
3966
|
useHref?: (href: string) => string;
|
|
3902
3967
|
}
|
|
3903
3968
|
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
* This hook provides access to the current color mode and functions to change it.
|
|
3910
|
-
* It integrates with the next-themes library to handle theme persistence and system preference detection.
|
|
3911
|
-
*
|
|
3912
|
-
* @returns An object containing:
|
|
3913
|
-
* - `colorMode`: The current resolved theme ('light' | 'dark' | 'system' | undefined)
|
|
3914
|
-
* - `setColorMode`: Function to set a specific color mode
|
|
3915
|
-
* - `toggleColorMode`: Function to toggle between light and dark modes
|
|
3916
|
-
*
|
|
3917
|
-
* @example
|
|
3918
|
-
* ```tsx
|
|
3919
|
-
* function ThemeToggle() {
|
|
3920
|
-
* const { colorMode, toggleColorMode } = useColorMode();
|
|
3921
|
-
*
|
|
3922
|
-
* return (
|
|
3923
|
-
* <button onClick={toggleColorMode}>
|
|
3924
|
-
* Current mode: {colorMode}
|
|
3925
|
-
* </button>
|
|
3926
|
-
* );
|
|
3927
|
-
* }
|
|
3928
|
-
* ```
|
|
3929
|
-
*/
|
|
3930
|
-
export declare function useColorMode(): {
|
|
3931
|
-
colorMode: string | undefined;
|
|
3932
|
-
setColorMode: Dispatch<SetStateAction<string>>;
|
|
3933
|
-
toggleColorMode: () => void;
|
|
3969
|
+
export declare const useFormattingState: ({ withPreservedSelection, }: UseFormattingStateProps) => {
|
|
3970
|
+
selectedKeys: Set<string>;
|
|
3971
|
+
selectedScriptKeys: Set<string>;
|
|
3972
|
+
allSelectedKeys: Set<string>;
|
|
3973
|
+
handleAllSelectionChange: (keys: "all" | Set<Key>) => void;
|
|
3934
3974
|
};
|
|
3935
3975
|
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3976
|
+
export declare interface UseFormattingStateProps {
|
|
3977
|
+
withPreservedSelection: (fn: () => void) => () => void;
|
|
3978
|
+
}
|
|
3979
|
+
|
|
3980
|
+
export declare const useKeyboardShortcuts: ({ editor }: UseKeyboardShortcutsProps) => {
|
|
3981
|
+
handleKeyDown: (event: React.KeyboardEvent) => void;
|
|
3982
|
+
};
|
|
3983
|
+
|
|
3984
|
+
export declare interface UseKeyboardShortcutsProps {
|
|
3985
|
+
editor: Editor;
|
|
3986
|
+
}
|
|
3946
3987
|
|
|
3947
3988
|
/**
|
|
3948
|
-
* Hook that provides
|
|
3949
|
-
*
|
|
3950
|
-
* @experimental This hook is experimental and may change in future versions.
|
|
3989
|
+
* Hook that provides a helper function to preserve selection when toolbar actions are executed.
|
|
3990
|
+
* This prevents losing text selection when interacting with toolbar buttons and menus.
|
|
3951
3991
|
*
|
|
3952
|
-
* This
|
|
3953
|
-
* and returns the current value. It automatically updates when the color scheme changes,
|
|
3954
|
-
* either through direct style changes or theme updates stored in localStorage.
|
|
3992
|
+
* TODO: This works for toggle buttons, but not for menus.
|
|
3955
3993
|
*
|
|
3956
|
-
*
|
|
3957
|
-
*
|
|
3958
|
-
*
|
|
3959
|
-
* @returns The current color scheme value as a string ('light', 'dark')
|
|
3994
|
+
* @param editor - The Slate editor instance
|
|
3995
|
+
* @returns A function that wraps actions to preserve selection and focus
|
|
3960
3996
|
*/
|
|
3961
|
-
export declare
|
|
3997
|
+
export declare const usePreservedSelection: (editor: Editor) => (action: () => void) => () => void;
|
|
3962
3998
|
|
|
3963
|
-
export {
|
|
3999
|
+
export declare const useToolbarState: ({ withPreservedSelection, }: UseToolbarStateProps) => {
|
|
4000
|
+
currentTextStyle: string;
|
|
4001
|
+
selectedTextStyle: TextStyleDefinition | undefined;
|
|
4002
|
+
selectedTextStyleLabel: string;
|
|
4003
|
+
handleTextStyleChange: (styleId: string) => void;
|
|
4004
|
+
handleListToggle: (selectedKeys: Set<Key>) => void;
|
|
4005
|
+
selectedFormatKeys: Set<string>;
|
|
4006
|
+
selectedListKeys: Set<string>;
|
|
4007
|
+
hasUndos: boolean;
|
|
4008
|
+
hasRedos: boolean;
|
|
4009
|
+
};
|
|
3964
4010
|
|
|
3965
|
-
export
|
|
4011
|
+
export declare interface UseToolbarStateProps {
|
|
4012
|
+
withPreservedSelection: (fn: () => void) => () => void;
|
|
4013
|
+
}
|
|
3966
4014
|
|
|
3967
4015
|
/**
|
|
3968
4016
|
* # VisuallyHidden
|
|
@@ -3983,3 +4031,12 @@ export declare interface VisuallyHiddenProps extends Omit<VisuallyHiddenProps_2,
|
|
|
3983
4031
|
}
|
|
3984
4032
|
|
|
3985
4033
|
export { }
|
|
4034
|
+
|
|
4035
|
+
|
|
4036
|
+
declare module "slate" {
|
|
4037
|
+
interface CustomTypes {
|
|
4038
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
4039
|
+
Element: CustomElement;
|
|
4040
|
+
Text: CustomText;
|
|
4041
|
+
}
|
|
4042
|
+
}
|