@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
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { FocusEventHandler } from 'react';
|
|
2
|
+
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
import { RecipeVariantProps } from '@chakra-ui/react';
|
|
5
|
+
import { Ref } from 'react';
|
|
6
|
+
import { SlotRecipeDefinition } from '@chakra-ui/react';
|
|
7
|
+
import { UnstyledProp } from '@chakra-ui/react';
|
|
8
|
+
|
|
9
|
+
declare type DefaultExcludedProps = "css" | "asChild" | "as" | "onChange";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
RichTextInput - A rich text input component with formatting capabilities.
|
|
13
|
+
*/
|
|
14
|
+
export declare const RichTextInput: {
|
|
15
|
+
(props: RichTextInputProps): JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export declare interface RichTextInputProps extends Omit<RichTextInputRootSlotProps, DefaultExcludedProps | "children"> {
|
|
20
|
+
/**
|
|
21
|
+
* The ref for the rich text input component
|
|
22
|
+
*/
|
|
23
|
+
ref?: Ref<HTMLDivElement>;
|
|
24
|
+
/**
|
|
25
|
+
* The HTML value of the rich text input
|
|
26
|
+
*/
|
|
27
|
+
value?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The default HTML value of the rich text input (uncontrolled)
|
|
30
|
+
*/
|
|
31
|
+
defaultValue?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Called when the value changes
|
|
34
|
+
*/
|
|
35
|
+
onChange?: (value: string) => void;
|
|
36
|
+
/**
|
|
37
|
+
* Called when the input is focused
|
|
38
|
+
*/
|
|
39
|
+
onFocus?: FocusEventHandler<HTMLDivElement>;
|
|
40
|
+
/**
|
|
41
|
+
* Called when the input is blurred
|
|
42
|
+
*/
|
|
43
|
+
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
44
|
+
/**
|
|
45
|
+
* Placeholder text to show when the editor is empty
|
|
46
|
+
*/
|
|
47
|
+
placeholder?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Whether the input is disabled
|
|
50
|
+
*/
|
|
51
|
+
isDisabled?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Whether the input is read-only
|
|
54
|
+
*/
|
|
55
|
+
isReadOnly?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the input is in an invalid state
|
|
58
|
+
*/
|
|
59
|
+
isInvalid?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Whether to focus the input when it mounts
|
|
62
|
+
*/
|
|
63
|
+
autoFocus?: boolean;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare const richTextInputRecipe: SlotRecipeDefinition<"toolbar" | "root" | "editable", {}>;
|
|
67
|
+
|
|
68
|
+
declare type RichTextInputRootSlotProps = HTMLChakraProps<"div", RecipeVariantProps<typeof richTextInputRecipe> & UnstyledProp>;
|
|
69
|
+
|
|
70
|
+
export { }
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
declare module "slate" {
|
|
74
|
+
interface CustomTypes {
|
|
75
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
76
|
+
Element: CustomElement;
|
|
77
|
+
Text: CustomText;
|
|
78
|
+
}
|
|
79
|
+
}
|
package/dist/select.d.ts
CHANGED
package/dist/simple-grid.d.ts
CHANGED
|
@@ -24,3 +24,12 @@ export declare interface SimpleGridProps extends SimpleGridProps_2 {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export { }
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
declare module "slate" {
|
|
30
|
+
interface CustomTypes {
|
|
31
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
32
|
+
Element: CustomElement;
|
|
33
|
+
Text: CustomText;
|
|
34
|
+
}
|
|
35
|
+
}
|
package/dist/split-button.d.ts
CHANGED
|
@@ -65,3 +65,12 @@ export declare interface SplitButtonProps extends Omit<MenuTriggerProps, "trigge
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
export { }
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
declare module "slate" {
|
|
71
|
+
interface CustomTypes {
|
|
72
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
73
|
+
Element: CustomElement;
|
|
74
|
+
Text: CustomText;
|
|
75
|
+
}
|
|
76
|
+
}
|
package/dist/stack.d.ts
CHANGED
package/dist/switch.d.ts
CHANGED
package/dist/table.d.ts
CHANGED
package/dist/tag-group.d.ts
CHANGED
|
@@ -97,3 +97,12 @@ export declare type TagGroupTagProps = TagProps & Omit<TagGroupTagSlotProps, key
|
|
|
97
97
|
declare type TagGroupTagSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
|
|
98
98
|
|
|
99
99
|
export { }
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
declare module "slate" {
|
|
103
|
+
interface CustomTypes {
|
|
104
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
105
|
+
Element: CustomElement;
|
|
106
|
+
Text: CustomText;
|
|
107
|
+
}
|
|
108
|
+
}
|
package/dist/text-input.d.ts
CHANGED
|
@@ -61,3 +61,12 @@ declare interface TextInputRecipeProps extends RecipeVariantProps<typeof textInp
|
|
|
61
61
|
declare type TextInputRootSlotProps = HTMLChakraProps<"input", TextInputRecipeProps>;
|
|
62
62
|
|
|
63
63
|
export { }
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
declare module "slate" {
|
|
67
|
+
interface CustomTypes {
|
|
68
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
69
|
+
Element: CustomElement;
|
|
70
|
+
Text: CustomText;
|
|
71
|
+
}
|
|
72
|
+
}
|
package/dist/text.d.ts
CHANGED
|
@@ -20,3 +20,12 @@ export declare interface TextProps extends Omit<TextProps_2, "slot"> {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export { }
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
declare module "slate" {
|
|
26
|
+
interface CustomTypes {
|
|
27
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
28
|
+
Element: CustomElement;
|
|
29
|
+
Text: CustomText;
|
|
30
|
+
}
|
|
31
|
+
}
|
package/dist/time-input.d.ts
CHANGED
|
@@ -100,3 +100,12 @@ declare interface TimeInputRootProps extends HTMLChakraProps<"div", TimeInputRec
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
export { }
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
declare module "slate" {
|
|
106
|
+
interface CustomTypes {
|
|
107
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
108
|
+
Element: CustomElement;
|
|
109
|
+
Text: CustomText;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -112,3 +112,12 @@ declare type ToggleButtonGroupRootProps = ToggleButtonGroupRootSlotProps & AriaT
|
|
|
112
112
|
declare type ToggleButtonGroupRootSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
|
|
113
113
|
|
|
114
114
|
export { }
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
declare module "slate" {
|
|
118
|
+
interface CustomTypes {
|
|
119
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
120
|
+
Element: CustomElement;
|
|
121
|
+
Text: CustomText;
|
|
122
|
+
}
|
|
123
|
+
}
|
package/dist/toggle-button.d.ts
CHANGED
|
@@ -142,3 +142,12 @@ declare interface ToggleButtonRecipeProps extends RecipeVariantProps<typeof togg
|
|
|
142
142
|
declare type ToggleButtonRootProps = HTMLChakraProps<"button", ToggleButtonRecipeProps>;
|
|
143
143
|
|
|
144
144
|
export { }
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
declare module "slate" {
|
|
148
|
+
interface CustomTypes {
|
|
149
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
150
|
+
Element: CustomElement;
|
|
151
|
+
Text: CustomText;
|
|
152
|
+
}
|
|
153
|
+
}
|
package/dist/toolbar.d.ts
CHANGED
|
@@ -37,22 +37,25 @@ declare const toolbarRecipe: RecipeDefinition< {
|
|
|
37
37
|
size: {
|
|
38
38
|
xs: {
|
|
39
39
|
"--toolbar-spacing": "{spacing.100}";
|
|
40
|
+
"--divider-size": "{sizes.600}";
|
|
40
41
|
};
|
|
41
42
|
md: {
|
|
42
43
|
"--toolbar-spacing": "{spacing.200}";
|
|
44
|
+
"--divider-size": "{sizes.800}";
|
|
43
45
|
};
|
|
44
46
|
};
|
|
45
47
|
orientation: {
|
|
46
48
|
horizontal: {
|
|
47
49
|
"--toolbar-direction": "row";
|
|
48
50
|
"& .nimbus-divider": {
|
|
49
|
-
height: "
|
|
51
|
+
height: "var(--divider-size)";
|
|
50
52
|
mx: "var(--toolbar-spacing)";
|
|
51
53
|
};
|
|
52
54
|
};
|
|
53
55
|
vertical: {
|
|
54
56
|
"--toolbar-direction": "column";
|
|
55
57
|
"& .nimbus-divider": {
|
|
58
|
+
width: "var(--divider-size)";
|
|
56
59
|
my: "var(--toolbar-spacing)";
|
|
57
60
|
};
|
|
58
61
|
};
|
|
@@ -82,3 +85,12 @@ declare interface ToolbarSlotProps extends Omit<HTMLChakraProps<"div", ToolbarRe
|
|
|
82
85
|
}
|
|
83
86
|
|
|
84
87
|
export { }
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
declare module "slate" {
|
|
91
|
+
interface CustomTypes {
|
|
92
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
93
|
+
Element: CustomElement;
|
|
94
|
+
Text: CustomText;
|
|
95
|
+
}
|
|
96
|
+
}
|
package/dist/tooltip.d.ts
CHANGED
|
@@ -130,3 +130,12 @@ declare interface TooltipRootProps extends HTMLChakraProps<"div", TooltipRecipeP
|
|
|
130
130
|
declare type TooltipVariantProps = ExcludePolymorphicFromProps<TooltipRootProps & RecipeVariantProps<typeof tooltipRecipe> & TooltipProps_2>;
|
|
131
131
|
|
|
132
132
|
export { }
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
declare module "slate" {
|
|
136
|
+
interface CustomTypes {
|
|
137
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
138
|
+
Element: CustomElement;
|
|
139
|
+
Text: CustomText;
|
|
140
|
+
}
|
|
141
|
+
}
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { BaseText } from 'slate';
|
|
2
|
+
import { Descendant } from 'slate';
|
|
3
|
+
import { Editor } from 'slate';
|
|
4
|
+
import { ReactElement } from 'react';
|
|
5
|
+
import { RenderElementProps } from 'slate-react';
|
|
6
|
+
import { RenderLeafProps } from 'slate-react';
|
|
7
|
+
|
|
8
|
+
declare const BLOCK_TAGS: {
|
|
9
|
+
readonly blockquote: "block-quote";
|
|
10
|
+
readonly p: "paragraph";
|
|
11
|
+
readonly pre: "code";
|
|
12
|
+
readonly h1: "heading-one";
|
|
13
|
+
readonly h2: "heading-two";
|
|
14
|
+
readonly h3: "heading-three";
|
|
15
|
+
readonly h4: "heading-four";
|
|
16
|
+
readonly h5: "heading-five";
|
|
17
|
+
readonly ul: "bulleted-list";
|
|
18
|
+
readonly ol: "numbered-list";
|
|
19
|
+
readonly li: "list-item";
|
|
20
|
+
readonly a: "link";
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
declare type BlockType = (typeof blockTypes)[number] | "paragraph";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Available block types for text style detection
|
|
27
|
+
*
|
|
28
|
+
* Used by:
|
|
29
|
+
* - hooks/useToolbarState.ts: Detects currently active block type in editor
|
|
30
|
+
* - Excludes "paragraph" as it's the default/fallback type
|
|
31
|
+
*/
|
|
32
|
+
declare const blockTypes: readonly ["heading-one", "heading-two", "heading-three", "heading-four", "heading-five", "block-quote"];
|
|
33
|
+
|
|
34
|
+
export declare const createEmptyValue: () => Descendant[];
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Creates a block type from heading level
|
|
38
|
+
*/
|
|
39
|
+
export declare function createHeadingBlockType(level: number): BlockType | null;
|
|
40
|
+
|
|
41
|
+
export declare interface CustomElement {
|
|
42
|
+
type: ElementFormat;
|
|
43
|
+
children: Descendant[];
|
|
44
|
+
align?: string;
|
|
45
|
+
url?: string;
|
|
46
|
+
htmlAttributes?: Record<string, string>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export declare interface CustomText extends BaseText {
|
|
50
|
+
bold?: boolean;
|
|
51
|
+
code?: boolean;
|
|
52
|
+
italic?: boolean;
|
|
53
|
+
underline?: boolean;
|
|
54
|
+
superscript?: boolean;
|
|
55
|
+
subscript?: boolean;
|
|
56
|
+
strikethrough?: boolean;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare const Element_2: ({ attributes, children, element, }: RenderElementProps) => ReactElement;
|
|
60
|
+
export { Element_2 as Element }
|
|
61
|
+
|
|
62
|
+
export declare type ElementFormat = (typeof BLOCK_TAGS)[keyof typeof BLOCK_TAGS];
|
|
63
|
+
|
|
64
|
+
export declare const focusEditor: (editor: Editor) => void;
|
|
65
|
+
|
|
66
|
+
export declare const fromHTML: (html: string) => Descendant[];
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Gets the heading level from a heading block type (1-6)
|
|
70
|
+
*/
|
|
71
|
+
export declare function getHeadingLevel(blockType: string): number | null;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Gets a text style definition by its ID
|
|
75
|
+
*/
|
|
76
|
+
export declare function getTextStyleById(styleId: string): TextStyleDefinition | undefined;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Gets all available text style IDs
|
|
80
|
+
*/
|
|
81
|
+
export declare function getTextStyleIds(): string[];
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Gets the display label for a text style ID
|
|
85
|
+
*/
|
|
86
|
+
export declare function getTextStyleLabel(styleId: string): string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Gets the text style properties for rendering
|
|
90
|
+
*/
|
|
91
|
+
export declare function getTextStyleProps(styleId: string): TextStyleDefinition["props"] | null;
|
|
92
|
+
|
|
93
|
+
export declare const isBlockActive: (editor: Editor, format: ElementFormat) => boolean;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Checks if a rich text HTML value is empty or contains no meaningful content
|
|
97
|
+
*/
|
|
98
|
+
export declare const isEmpty: (value: string) => boolean;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Determines if a block type is a heading
|
|
102
|
+
*/
|
|
103
|
+
export declare function isHeadingType(blockType: string): boolean;
|
|
104
|
+
|
|
105
|
+
export declare const isMarkActive: (editor: Editor, format: string) => boolean;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Checks if a style ID is a valid text style
|
|
109
|
+
*/
|
|
110
|
+
export declare function isValidTextStyle(styleId: string): boolean;
|
|
111
|
+
|
|
112
|
+
export declare const Leaf: ({ attributes, children, leaf, }: RenderLeafProps) => ReactElement;
|
|
113
|
+
|
|
114
|
+
export declare const resetEditor: (editor: Editor, value: string) => void;
|
|
115
|
+
|
|
116
|
+
export declare const Softbreaker: {
|
|
117
|
+
placeholderCharacter: string;
|
|
118
|
+
serialize: (string: string) => string;
|
|
119
|
+
deserialize: (string: string) => string;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Text style definitions for rich text editor block formatting
|
|
124
|
+
*
|
|
125
|
+
* Used by:
|
|
126
|
+
* - components/rich-text-toolbar.tsx: Renders text style dropdown menu with these options
|
|
127
|
+
* - hooks/useToolbarState.ts: Manages current text style state and selection logic
|
|
128
|
+
* - utils/text-style-utils.ts: Helper functions for text style operations
|
|
129
|
+
* - utils/validation-utils.ts: Validates if block types are supported
|
|
130
|
+
*
|
|
131
|
+
* Purpose:
|
|
132
|
+
* - Centralizes all available text styles and their visual properties
|
|
133
|
+
* - Maps block type IDs to user-friendly labels and Chakra UI styling props
|
|
134
|
+
* - Ensures consistent styling across the editor and UI controls
|
|
135
|
+
*/
|
|
136
|
+
declare interface TextStyleDefinition {
|
|
137
|
+
id: string;
|
|
138
|
+
label: string;
|
|
139
|
+
props: {
|
|
140
|
+
textStyle: string;
|
|
141
|
+
fontWeight: string;
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export declare const toggleBlock: (editor: Editor, format: ElementFormat) => void;
|
|
146
|
+
|
|
147
|
+
export declare const toggleMark: (editor: Editor, format: string) => void;
|
|
148
|
+
|
|
149
|
+
export declare const toHTML: (value: Descendant[]) => string;
|
|
150
|
+
|
|
151
|
+
export declare const validSlateStateAdapter: (value: unknown) => Descendant[];
|
|
152
|
+
|
|
153
|
+
export declare const withLinks: (editor: Editor) => Editor;
|
|
154
|
+
|
|
155
|
+
export { }
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
declare module "slate" {
|
|
159
|
+
interface CustomTypes {
|
|
160
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
161
|
+
Element: CustomElement;
|
|
162
|
+
Text: CustomText;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -20,3 +20,12 @@ export declare interface VisuallyHiddenProps extends Omit<VisuallyHiddenProps_2,
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export { }
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
declare module "slate" {
|
|
26
|
+
interface CustomTypes {
|
|
27
|
+
Editor: BaseEditor & ReactEditor & HistoryEditor;
|
|
28
|
+
Element: CustomElement;
|
|
29
|
+
Text: CustomText;
|
|
30
|
+
}
|
|
31
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools/nimbus",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20250827101922",
|
|
4
4
|
"main": "./dist/index.cjs",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -49,12 +49,18 @@
|
|
|
49
49
|
"@chakra-ui/react": "^3.25.0",
|
|
50
50
|
"@emotion/is-prop-valid": "^1.3.1",
|
|
51
51
|
"@react-aria/interactions": "3.25.4",
|
|
52
|
+
"escape-html": "^1.0.3",
|
|
53
|
+
"is-hotkey": "^0.2.0",
|
|
52
54
|
"next-themes": "^0.4.6",
|
|
53
55
|
"react-aria": "3.42.0",
|
|
54
56
|
"react-aria-components": "1.11.0",
|
|
55
57
|
"react-hotkeys-hook": "^4.6.1",
|
|
56
58
|
"react-stately": "3.40.0",
|
|
57
|
-
"react-use": "^17.5.1"
|
|
59
|
+
"react-use": "^17.5.1",
|
|
60
|
+
"slate": "^0.75.0",
|
|
61
|
+
"slate-history": "^0.113.1",
|
|
62
|
+
"slate-hyperscript": "^0.77.0",
|
|
63
|
+
"slate-react": "^0.75.0"
|
|
58
64
|
},
|
|
59
65
|
"devDependencies": {
|
|
60
66
|
"@chakra-ui/cli": "^3.25.0",
|
|
@@ -66,6 +72,8 @@
|
|
|
66
72
|
"@storybook/react-vite": "^9.0.18",
|
|
67
73
|
"@testing-library/react": "^16.3.0",
|
|
68
74
|
"@testing-library/user-event": "^14.6.1",
|
|
75
|
+
"@types/escape-html": "^1.0.4",
|
|
76
|
+
"@types/is-hotkey": "^0.1.10",
|
|
69
77
|
"@types/react": "^19.1.8",
|
|
70
78
|
"@types/react-dom": "^19.1.6",
|
|
71
79
|
"@vitejs/plugin-react": "^4.4.1",
|
|
@@ -84,24 +92,24 @@
|
|
|
84
92
|
"vite-plugin-dts": "^4.5.4",
|
|
85
93
|
"vite-tsconfig-paths": "^5.1.4",
|
|
86
94
|
"vitest": "^3.2.4",
|
|
87
|
-
"@commercetools/nimbus-icons": "^0.0.0-canary-
|
|
88
|
-
"@commercetools/nimbus-tokens": "^0.0.0-canary-
|
|
95
|
+
"@commercetools/nimbus-icons": "^0.0.0-canary-20250827101922",
|
|
96
|
+
"@commercetools/nimbus-tokens": "^0.0.0-canary-20250827101922"
|
|
89
97
|
},
|
|
90
98
|
"peerDependencies": {
|
|
91
99
|
"@chakra-ui/react": "^3.25.0",
|
|
92
100
|
"react": "^19.0.0",
|
|
93
|
-
"@commercetools/nimbus-icons": "^0.0.0-canary-
|
|
94
|
-
"@commercetools/nimbus-tokens": "^0.0.0-canary-
|
|
101
|
+
"@commercetools/nimbus-icons": "^0.0.0-canary-20250827101922",
|
|
102
|
+
"@commercetools/nimbus-tokens": "^0.0.0-canary-20250827101922"
|
|
95
103
|
},
|
|
96
104
|
"scripts": {
|
|
97
105
|
"build": "pnpm run build-theme-typings && pnpm run build:lib",
|
|
98
106
|
"build:lib": "vite build",
|
|
99
107
|
"dev": "vite build --watch",
|
|
100
108
|
"test": "vitest",
|
|
109
|
+
"typecheck": "tsc --noEmit",
|
|
101
110
|
"build-theme-typings": "pnpm chakra typegen ./src/theme/index.ts",
|
|
102
111
|
"bundles:analyze": "ANALYZE_BUNDLE=true vite build",
|
|
103
112
|
"storybook": "storybook dev -p 6006",
|
|
104
|
-
"build-storybook": "storybook build"
|
|
105
|
-
"typecheck": "tsc --noEmit"
|
|
113
|
+
"build-storybook": "storybook build"
|
|
106
114
|
}
|
|
107
115
|
}
|