@jackuait/blok 0.4.1-beta.4 → 0.4.1-beta.6
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/README.md +136 -17
- package/codemod/README.md +16 -0
- package/codemod/migrate-editorjs-to-blok.js +868 -92
- package/codemod/test.js +682 -77
- package/dist/blok.mjs +5 -2
- package/dist/chunks/blok-B5qs7C5l.mjs +12838 -0
- package/dist/chunks/i18next-CugVlwWp.mjs +1292 -0
- package/dist/chunks/i18next-loader-CTrK3HzG.mjs +43 -0
- package/dist/{index-XWGz4gev.mjs → chunks/index-DDpzQn-0.mjs} +2 -2
- package/dist/chunks/inline-tool-convert-RBcopmCh.mjs +1988 -0
- package/dist/chunks/messages-2434tVOK.mjs +47 -0
- package/dist/chunks/messages-3DcCwXMF.mjs +47 -0
- package/dist/chunks/messages-4kMwVAKY.mjs +47 -0
- package/dist/chunks/messages-57uL5htT.mjs +47 -0
- package/dist/chunks/messages-76-iJV9Q.mjs +47 -0
- package/dist/chunks/messages-8p86Eyf2.mjs +47 -0
- package/dist/chunks/messages-BBX0p0Pi.mjs +47 -0
- package/dist/chunks/messages-BCm2eudQ.mjs +47 -0
- package/dist/chunks/messages-BFiUomgG.mjs +47 -0
- package/dist/chunks/messages-BIPNHHAV.mjs +47 -0
- package/dist/chunks/messages-BUlwu9mo.mjs +47 -0
- package/dist/chunks/messages-BX-DPa-z.mjs +47 -0
- package/dist/chunks/messages-BextV3Qh.mjs +47 -0
- package/dist/chunks/messages-BiPSFlUG.mjs +47 -0
- package/dist/chunks/messages-BiXe9G-O.mjs +47 -0
- package/dist/chunks/messages-Bl5z_Igo.mjs +47 -0
- package/dist/chunks/messages-BnsE97ku.mjs +47 -0
- package/dist/chunks/messages-BoO8gsVD.mjs +47 -0
- package/dist/chunks/messages-BqWaOGMn.mjs +47 -0
- package/dist/chunks/messages-BqkL2_Ro.mjs +47 -0
- package/dist/chunks/messages-BvCkXKX-.mjs +47 -0
- package/dist/chunks/messages-C6tbPLoj.mjs +47 -0
- package/dist/chunks/messages-CA6T3-gQ.mjs +47 -0
- package/dist/chunks/messages-CFFPFdWP.mjs +47 -0
- package/dist/chunks/messages-CFrKE-TN.mjs +47 -0
- package/dist/chunks/messages-CHz8VlG-.mjs +47 -0
- package/dist/chunks/messages-CLixzySl.mjs +47 -0
- package/dist/chunks/messages-CV7OM_qk.mjs +47 -0
- package/dist/chunks/messages-CXHt3eCC.mjs +47 -0
- package/dist/chunks/messages-CbmsBrB0.mjs +47 -0
- package/dist/chunks/messages-Ceo1KtFx.mjs +47 -0
- package/dist/chunks/messages-Cm0LJLtB.mjs +47 -0
- package/dist/chunks/messages-CmymP_Ar.mjs +47 -0
- package/dist/chunks/messages-D0ohMB5H.mjs +47 -0
- package/dist/chunks/messages-D3GrDwXh.mjs +47 -0
- package/dist/chunks/messages-D3vTzIpL.mjs +47 -0
- package/dist/chunks/messages-D5WeksbV.mjs +47 -0
- package/dist/chunks/messages-DGaab4EP.mjs +47 -0
- package/dist/chunks/messages-DKha57ZU.mjs +47 -0
- package/dist/chunks/messages-DOaujgMW.mjs +47 -0
- package/dist/chunks/messages-DVbPLd_0.mjs +47 -0
- package/dist/chunks/messages-D_FCyfW6.mjs +47 -0
- package/dist/chunks/messages-Dd5iZN3c.mjs +47 -0
- package/dist/chunks/messages-DehM7135.mjs +47 -0
- package/dist/chunks/messages-Dg1OHftD.mjs +47 -0
- package/dist/chunks/messages-Di6Flq-b.mjs +47 -0
- package/dist/chunks/messages-Dqhhex6e.mjs +47 -0
- package/dist/chunks/messages-DueVe0F1.mjs +47 -0
- package/dist/chunks/messages-Dx3eFwI0.mjs +47 -0
- package/dist/chunks/messages-FOtiUoKl.mjs +47 -0
- package/dist/chunks/messages-FTOZNhRD.mjs +47 -0
- package/dist/chunks/messages-IQxGfQIV.mjs +47 -0
- package/dist/chunks/messages-JF2fzCkK.mjs +47 -0
- package/dist/chunks/messages-MOGl7I5v.mjs +47 -0
- package/dist/chunks/messages-QgYhPL-3.mjs +47 -0
- package/dist/chunks/messages-WYWIbQwo.mjs +47 -0
- package/dist/chunks/messages-a6A_LgDv.mjs +47 -0
- package/dist/chunks/messages-bSf31LJi.mjs +47 -0
- package/dist/chunks/messages-diGozhTn.mjs +47 -0
- package/dist/chunks/messages-er-kd-VO.mjs +47 -0
- package/dist/chunks/messages-ez3w5NBn.mjs +47 -0
- package/dist/chunks/messages-f3uXjegd.mjs +47 -0
- package/dist/chunks/messages-ohwI1UGv.mjs +47 -0
- package/dist/chunks/messages-p9BZJaFV.mjs +47 -0
- package/dist/chunks/messages-qIQ4L4rw.mjs +47 -0
- package/dist/chunks/messages-qWkXPggi.mjs +47 -0
- package/dist/chunks/messages-w5foGze_.mjs +47 -0
- package/dist/full.mjs +50 -0
- package/dist/locales.mjs +227 -0
- package/dist/messages-2434tVOK.mjs +47 -0
- package/dist/messages-3DcCwXMF.mjs +47 -0
- package/dist/messages-4kMwVAKY.mjs +47 -0
- package/dist/messages-57uL5htT.mjs +47 -0
- package/dist/messages-76-iJV9Q.mjs +47 -0
- package/dist/messages-8p86Eyf2.mjs +47 -0
- package/dist/messages-BBX0p0Pi.mjs +47 -0
- package/dist/messages-BCm2eudQ.mjs +47 -0
- package/dist/messages-BFiUomgG.mjs +47 -0
- package/dist/messages-BIPNHHAV.mjs +47 -0
- package/dist/messages-BUlwu9mo.mjs +47 -0
- package/dist/messages-BX-DPa-z.mjs +47 -0
- package/dist/messages-BextV3Qh.mjs +47 -0
- package/dist/messages-BiPSFlUG.mjs +47 -0
- package/dist/messages-BiXe9G-O.mjs +47 -0
- package/dist/messages-Bl5z_Igo.mjs +47 -0
- package/dist/messages-BnsE97ku.mjs +47 -0
- package/dist/messages-BoO8gsVD.mjs +47 -0
- package/dist/messages-BqWaOGMn.mjs +47 -0
- package/dist/messages-BqkL2_Ro.mjs +47 -0
- package/dist/messages-BvCkXKX-.mjs +47 -0
- package/dist/messages-C6tbPLoj.mjs +47 -0
- package/dist/messages-CA6T3-gQ.mjs +47 -0
- package/dist/messages-CFFPFdWP.mjs +47 -0
- package/dist/messages-CFrKE-TN.mjs +47 -0
- package/dist/messages-CHz8VlG-.mjs +47 -0
- package/dist/messages-CLixzySl.mjs +47 -0
- package/dist/messages-CV7OM_qk.mjs +47 -0
- package/dist/messages-CXHt3eCC.mjs +47 -0
- package/dist/messages-CbmsBrB0.mjs +47 -0
- package/dist/messages-Ceo1KtFx.mjs +47 -0
- package/dist/messages-Cm0LJLtB.mjs +47 -0
- package/dist/messages-CmymP_Ar.mjs +47 -0
- package/dist/messages-D0ohMB5H.mjs +47 -0
- package/dist/messages-D3GrDwXh.mjs +47 -0
- package/dist/messages-D3vTzIpL.mjs +47 -0
- package/dist/messages-D5WeksbV.mjs +47 -0
- package/dist/messages-DGaab4EP.mjs +47 -0
- package/dist/messages-DKha57ZU.mjs +47 -0
- package/dist/messages-DOaujgMW.mjs +47 -0
- package/dist/messages-DVbPLd_0.mjs +47 -0
- package/dist/messages-D_FCyfW6.mjs +47 -0
- package/dist/messages-Dd5iZN3c.mjs +47 -0
- package/dist/messages-DehM7135.mjs +47 -0
- package/dist/messages-Dg1OHftD.mjs +47 -0
- package/dist/messages-Di6Flq-b.mjs +47 -0
- package/dist/messages-Dqhhex6e.mjs +47 -0
- package/dist/messages-DueVe0F1.mjs +47 -0
- package/dist/messages-Dx3eFwI0.mjs +47 -0
- package/dist/messages-FOtiUoKl.mjs +47 -0
- package/dist/messages-FTOZNhRD.mjs +47 -0
- package/dist/messages-IQxGfQIV.mjs +47 -0
- package/dist/messages-JF2fzCkK.mjs +47 -0
- package/dist/messages-MOGl7I5v.mjs +47 -0
- package/dist/messages-QgYhPL-3.mjs +47 -0
- package/dist/messages-WYWIbQwo.mjs +47 -0
- package/dist/messages-a6A_LgDv.mjs +47 -0
- package/dist/messages-bSf31LJi.mjs +47 -0
- package/dist/messages-diGozhTn.mjs +47 -0
- package/dist/messages-er-kd-VO.mjs +47 -0
- package/dist/messages-ez3w5NBn.mjs +47 -0
- package/dist/messages-f3uXjegd.mjs +47 -0
- package/dist/messages-ohwI1UGv.mjs +47 -0
- package/dist/messages-p9BZJaFV.mjs +47 -0
- package/dist/messages-qIQ4L4rw.mjs +47 -0
- package/dist/messages-qWkXPggi.mjs +47 -0
- package/dist/messages-w5foGze_.mjs +47 -0
- package/dist/tools.mjs +3073 -0
- package/dist/vendor.LICENSE.txt +26 -225
- package/package.json +49 -23
- package/src/blok.ts +267 -0
- package/src/components/__module.ts +139 -0
- package/src/components/block/api.ts +155 -0
- package/src/components/block/index.ts +1427 -0
- package/src/components/block-tunes/block-tune-delete.ts +51 -0
- package/src/components/blocks.ts +338 -0
- package/src/components/constants/data-attributes.ts +342 -0
- package/src/components/constants.ts +76 -0
- package/src/components/core.ts +392 -0
- package/src/components/dom.ts +773 -0
- package/src/components/domIterator.ts +189 -0
- package/src/components/errors/critical.ts +5 -0
- package/src/components/events/BlockChanged.ts +16 -0
- package/src/components/events/BlockHovered.ts +21 -0
- package/src/components/events/BlockSettingsClosed.ts +12 -0
- package/src/components/events/BlockSettingsOpened.ts +12 -0
- package/src/components/events/BlokMobileLayoutToggled.ts +15 -0
- package/src/components/events/FakeCursorAboutToBeToggled.ts +17 -0
- package/src/components/events/FakeCursorHaveBeenSet.ts +17 -0
- package/src/components/events/HistoryStateChanged.ts +19 -0
- package/src/components/events/RedactorDomChanged.ts +14 -0
- package/src/components/events/index.ts +46 -0
- package/src/components/flipper.ts +481 -0
- package/src/components/i18n/i18next-loader.ts +84 -0
- package/src/components/i18n/lightweight-i18n.ts +86 -0
- package/src/components/i18n/locales/TRANSLATION_GUIDELINES.md +113 -0
- package/src/components/i18n/locales/am/messages.json +44 -0
- package/src/components/i18n/locales/ar/messages.json +44 -0
- package/src/components/i18n/locales/az/messages.json +44 -0
- package/src/components/i18n/locales/bg/messages.json +44 -0
- package/src/components/i18n/locales/bn/messages.json +44 -0
- package/src/components/i18n/locales/bs/messages.json +44 -0
- package/src/components/i18n/locales/cs/messages.json +44 -0
- package/src/components/i18n/locales/da/messages.json +44 -0
- package/src/components/i18n/locales/de/messages.json +44 -0
- package/src/components/i18n/locales/dv/messages.json +44 -0
- package/src/components/i18n/locales/el/messages.json +44 -0
- package/src/components/i18n/locales/en/messages.json +44 -0
- package/src/components/i18n/locales/es/messages.json +44 -0
- package/src/components/i18n/locales/et/messages.json +44 -0
- package/src/components/i18n/locales/fa/messages.json +44 -0
- package/src/components/i18n/locales/fi/messages.json +44 -0
- package/src/components/i18n/locales/fil/messages.json +44 -0
- package/src/components/i18n/locales/fr/messages.json +44 -0
- package/src/components/i18n/locales/gu/messages.json +44 -0
- package/src/components/i18n/locales/he/messages.json +44 -0
- package/src/components/i18n/locales/hi/messages.json +44 -0
- package/src/components/i18n/locales/hr/messages.json +44 -0
- package/src/components/i18n/locales/hu/messages.json +44 -0
- package/src/components/i18n/locales/hy/messages.json +44 -0
- package/src/components/i18n/locales/id/messages.json +44 -0
- package/src/components/i18n/locales/index.ts +225 -0
- package/src/components/i18n/locales/it/messages.json +44 -0
- package/src/components/i18n/locales/ja/messages.json +44 -0
- package/src/components/i18n/locales/ka/messages.json +44 -0
- package/src/components/i18n/locales/km/messages.json +44 -0
- package/src/components/i18n/locales/kn/messages.json +44 -0
- package/src/components/i18n/locales/ko/messages.json +44 -0
- package/src/components/i18n/locales/ku/messages.json +44 -0
- package/src/components/i18n/locales/lo/messages.json +44 -0
- package/src/components/i18n/locales/lt/messages.json +44 -0
- package/src/components/i18n/locales/lv/messages.json +44 -0
- package/src/components/i18n/locales/mk/messages.json +44 -0
- package/src/components/i18n/locales/ml/messages.json +44 -0
- package/src/components/i18n/locales/mn/messages.json +44 -0
- package/src/components/i18n/locales/mr/messages.json +44 -0
- package/src/components/i18n/locales/ms/messages.json +44 -0
- package/src/components/i18n/locales/my/messages.json +44 -0
- package/src/components/i18n/locales/ne/messages.json +44 -0
- package/src/components/i18n/locales/nl/messages.json +44 -0
- package/src/components/i18n/locales/no/messages.json +44 -0
- package/src/components/i18n/locales/pa/messages.json +44 -0
- package/src/components/i18n/locales/pl/messages.json +44 -0
- package/src/components/i18n/locales/ps/messages.json +44 -0
- package/src/components/i18n/locales/pt/messages.json +44 -0
- package/src/components/i18n/locales/ro/messages.json +44 -0
- package/src/components/i18n/locales/ru/messages.json +44 -0
- package/src/components/i18n/locales/sd/messages.json +44 -0
- package/src/components/i18n/locales/si/messages.json +44 -0
- package/src/components/i18n/locales/sk/messages.json +44 -0
- package/src/components/i18n/locales/sl/messages.json +44 -0
- package/src/components/i18n/locales/sq/messages.json +44 -0
- package/src/components/i18n/locales/sr/messages.json +44 -0
- package/src/components/i18n/locales/sv/messages.json +44 -0
- package/src/components/i18n/locales/sw/messages.json +44 -0
- package/src/components/i18n/locales/ta/messages.json +44 -0
- package/src/components/i18n/locales/te/messages.json +44 -0
- package/src/components/i18n/locales/th/messages.json +44 -0
- package/src/components/i18n/locales/tr/messages.json +44 -0
- package/src/components/i18n/locales/ug/messages.json +44 -0
- package/src/components/i18n/locales/uk/messages.json +44 -0
- package/src/components/i18n/locales/ur/messages.json +44 -0
- package/src/components/i18n/locales/vi/messages.json +44 -0
- package/src/components/i18n/locales/yi/messages.json +44 -0
- package/src/components/i18n/locales/zh/messages.json +44 -0
- package/src/components/icons/index.ts +242 -0
- package/src/components/inline-tools/inline-tool-bold.ts +2213 -0
- package/src/components/inline-tools/inline-tool-convert.ts +141 -0
- package/src/components/inline-tools/inline-tool-italic.ts +500 -0
- package/src/components/inline-tools/inline-tool-link.ts +539 -0
- package/src/components/modules/api/blocks.ts +363 -0
- package/src/components/modules/api/caret.ts +125 -0
- package/src/components/modules/api/events.ts +51 -0
- package/src/components/modules/api/history.ts +73 -0
- package/src/components/modules/api/i18n.ts +33 -0
- package/src/components/modules/api/index.ts +39 -0
- package/src/components/modules/api/inlineToolbar.ts +33 -0
- package/src/components/modules/api/listeners.ts +56 -0
- package/src/components/modules/api/notifier.ts +46 -0
- package/src/components/modules/api/readonly.ts +39 -0
- package/src/components/modules/api/sanitizer.ts +30 -0
- package/src/components/modules/api/saver.ts +52 -0
- package/src/components/modules/api/selection.ts +48 -0
- package/src/components/modules/api/styles.ts +72 -0
- package/src/components/modules/api/toolbar.ts +79 -0
- package/src/components/modules/api/tools.ts +16 -0
- package/src/components/modules/api/tooltip.ts +67 -0
- package/src/components/modules/api/ui.ts +36 -0
- package/src/components/modules/blockEvents.ts +1375 -0
- package/src/components/modules/blockManager.ts +1348 -0
- package/src/components/modules/blockSelection.ts +708 -0
- package/src/components/modules/caret.ts +853 -0
- package/src/components/modules/crossBlockSelection.ts +329 -0
- package/src/components/modules/dragManager.ts +1141 -0
- package/src/components/modules/history.ts +1098 -0
- package/src/components/modules/i18n.ts +325 -0
- package/src/components/modules/index.ts +139 -0
- package/src/components/modules/modificationsObserver.ts +147 -0
- package/src/components/modules/paste.ts +1092 -0
- package/src/components/modules/readonly.ts +136 -0
- package/src/components/modules/rectangleSelection.ts +668 -0
- package/src/components/modules/renderer.ts +155 -0
- package/src/components/modules/saver.ts +283 -0
- package/src/components/modules/toolbar/blockSettings.ts +776 -0
- package/src/components/modules/toolbar/index.ts +1311 -0
- package/src/components/modules/toolbar/inline.ts +956 -0
- package/src/components/modules/tools.ts +589 -0
- package/src/components/modules/ui.ts +1179 -0
- package/src/components/polyfills.ts +113 -0
- package/src/components/selection.ts +1189 -0
- package/src/components/tools/base.ts +274 -0
- package/src/components/tools/block.ts +291 -0
- package/src/components/tools/collection.ts +67 -0
- package/src/components/tools/factory.ts +85 -0
- package/src/components/tools/inline.ts +71 -0
- package/src/components/tools/tune.ts +33 -0
- package/src/components/ui/toolbox.ts +497 -0
- package/src/components/utils/announcer.ts +205 -0
- package/src/components/utils/api.ts +20 -0
- package/src/components/utils/bem.ts +26 -0
- package/src/components/utils/blocks.ts +284 -0
- package/src/components/utils/caret.ts +1067 -0
- package/src/components/utils/data-model-transform.ts +382 -0
- package/src/components/utils/events.ts +117 -0
- package/src/components/utils/keyboard.ts +60 -0
- package/src/components/utils/listeners.ts +296 -0
- package/src/components/utils/mutations.ts +39 -0
- package/src/components/utils/notifier/draw.ts +190 -0
- package/src/components/utils/notifier/index.ts +66 -0
- package/src/components/utils/notifier/types.ts +1 -0
- package/src/components/utils/notifier.ts +77 -0
- package/src/components/utils/placeholder.ts +140 -0
- package/src/components/utils/popover/components/hint/hint.const.ts +10 -0
- package/src/components/utils/popover/components/hint/hint.ts +46 -0
- package/src/components/utils/popover/components/hint/index.ts +6 -0
- package/src/components/utils/popover/components/popover-header/index.ts +2 -0
- package/src/components/utils/popover/components/popover-header/popover-header.const.ts +8 -0
- package/src/components/utils/popover/components/popover-header/popover-header.ts +80 -0
- package/src/components/utils/popover/components/popover-header/popover-header.types.ts +14 -0
- package/src/components/utils/popover/components/popover-item/index.ts +13 -0
- package/src/components/utils/popover/components/popover-item/popover-item-default/popover-item-default.const.ts +50 -0
- package/src/components/utils/popover/components/popover-item/popover-item-default/popover-item-default.ts +666 -0
- package/src/components/utils/popover/components/popover-item/popover-item-html/popover-item-html.const.ts +14 -0
- package/src/components/utils/popover/components/popover-item/popover-item-html/popover-item-html.ts +136 -0
- package/src/components/utils/popover/components/popover-item/popover-item-separator/popover-item-separator.const.ts +20 -0
- package/src/components/utils/popover/components/popover-item/popover-item-separator/popover-item-separator.ts +117 -0
- package/src/components/utils/popover/components/popover-item/popover-item.ts +187 -0
- package/src/components/utils/popover/components/search-input/index.ts +2 -0
- package/src/components/utils/popover/components/search-input/search-input.const.ts +8 -0
- package/src/components/utils/popover/components/search-input/search-input.ts +181 -0
- package/src/components/utils/popover/components/search-input/search-input.types.ts +30 -0
- package/src/components/utils/popover/index.ts +13 -0
- package/src/components/utils/popover/popover-abstract.ts +448 -0
- package/src/components/utils/popover/popover-desktop.ts +643 -0
- package/src/components/utils/popover/popover-inline.ts +338 -0
- package/src/components/utils/popover/popover-mobile.ts +201 -0
- package/src/components/utils/popover/popover.const.ts +81 -0
- package/src/components/utils/popover/utils/popover-states-history.ts +72 -0
- package/src/components/utils/promise-queue.ts +43 -0
- package/src/components/utils/sanitizer.ts +537 -0
- package/src/components/utils/scroll-locker.ts +87 -0
- package/src/components/utils/shortcut.ts +231 -0
- package/src/components/utils/shortcuts.ts +113 -0
- package/src/components/utils/tools.ts +105 -0
- package/src/components/utils/tooltip.ts +642 -0
- package/src/components/utils/tw.ts +241 -0
- package/src/components/utils.ts +1081 -0
- package/src/env.d.ts +13 -0
- package/src/full.ts +69 -0
- package/src/locales.ts +51 -0
- package/src/stories/Block.stories.ts +498 -0
- package/src/stories/EditorModes.stories.ts +505 -0
- package/src/stories/Header.stories.ts +137 -0
- package/src/stories/InlineToolbar.stories.ts +498 -0
- package/src/stories/List.stories.ts +259 -0
- package/src/stories/Notifier.stories.ts +340 -0
- package/src/stories/Paragraph.stories.ts +112 -0
- package/src/stories/Placeholder.stories.ts +319 -0
- package/src/stories/Popover.stories.ts +844 -0
- package/src/stories/Selection.stories.ts +250 -0
- package/src/stories/StubBlock.stories.ts +156 -0
- package/src/stories/Toolbar.stories.ts +223 -0
- package/src/stories/Toolbox.stories.ts +166 -0
- package/src/stories/Tooltip.stories.ts +198 -0
- package/src/stories/helpers.ts +463 -0
- package/src/styles/main.css +123 -0
- package/src/tools/header/index.ts +570 -0
- package/src/tools/index.ts +38 -0
- package/src/tools/list/index.ts +1803 -0
- package/src/tools/paragraph/index.ts +411 -0
- package/src/tools/stub/index.ts +107 -0
- package/src/types-internal/blok-modules.d.ts +87 -0
- package/src/types-internal/html-janitor.d.ts +28 -0
- package/src/types-internal/module-config.d.ts +11 -0
- package/src/variants/all-locales.ts +155 -0
- package/src/variants/blok-maximum.ts +20 -0
- package/src/variants/blok-minimum.ts +243 -0
- package/types/api/blocks.d.ts +1 -1
- package/types/api/i18n.d.ts +5 -3
- package/types/api/selection.d.ts +6 -0
- package/types/api/styles.d.ts +23 -10
- package/types/configs/blok-config.d.ts +29 -0
- package/types/configs/i18n-config.d.ts +52 -2
- package/types/configs/i18n-dictionary.d.ts +16 -90
- package/types/data-attributes.d.ts +169 -0
- package/types/data-formats/output-data.d.ts +15 -0
- package/types/full.d.ts +80 -0
- package/types/index.d.ts +9 -12
- package/types/locales.d.ts +59 -0
- package/types/tools/adapters/inline-tool-adapter.d.ts +10 -0
- package/types/tools/block-tool.d.ts +9 -0
- package/types/tools/header.d.ts +18 -0
- package/types/tools/index.d.ts +1 -0
- package/types/tools/list.d.ts +91 -0
- package/types/tools/paragraph.d.ts +71 -0
- package/types/tools/tool-settings.d.ts +16 -2
- package/types/tools/tool.d.ts +6 -0
- package/types/tools-entry.d.ts +49 -0
- package/types/utils/popover/popover-item.d.ts +6 -5
- package/dist/blok-B870U2fw.mjs +0 -25803
- package/dist/blok.umd.js +0 -181
package/dist/vendor.LICENSE.txt
CHANGED
|
@@ -34,138 +34,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
34
34
|
|
|
35
35
|
---
|
|
36
36
|
|
|
37
|
-
Name: nanoid
|
|
38
|
-
Version: 5.1.6
|
|
39
|
-
License: MIT
|
|
40
|
-
Private: false
|
|
41
|
-
Description: A tiny (118 bytes), secure URL-friendly unique string ID generator
|
|
42
|
-
Repository: undefined
|
|
43
|
-
Author: Andrey Sitnik <andrey@sitnik.ru>
|
|
44
|
-
License Copyright:
|
|
45
|
-
===
|
|
46
|
-
|
|
47
|
-
The MIT License (MIT)
|
|
48
|
-
|
|
49
|
-
Copyright 2017 Andrey Sitnik <andrey@sitnik.ru>
|
|
50
|
-
|
|
51
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
52
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
53
|
-
the Software without restriction, including without limitation the rights to
|
|
54
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
55
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
56
|
-
subject to the following conditions:
|
|
57
|
-
|
|
58
|
-
The above copyright notice and this permission notice shall be included in all
|
|
59
|
-
copies or substantial portions of the Software.
|
|
60
|
-
|
|
61
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
62
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
63
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
64
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
65
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
66
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
Name: lodash
|
|
71
|
-
Version: 4.17.21
|
|
72
|
-
License: MIT
|
|
73
|
-
Private: false
|
|
74
|
-
Description: Lodash modular utilities.
|
|
75
|
-
Repository: undefined
|
|
76
|
-
Homepage: https://lodash.com/
|
|
77
|
-
Author: John-David Dalton <john.david.dalton@gmail.com>
|
|
78
|
-
Contributors:
|
|
79
|
-
John-David Dalton <john.david.dalton@gmail.com>
|
|
80
|
-
Mathias Bynens <mathias@qiwi.be>
|
|
81
|
-
License Copyright:
|
|
82
|
-
===
|
|
83
|
-
|
|
84
|
-
Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
85
|
-
|
|
86
|
-
Based on Underscore.js, copyright Jeremy Ashkenas,
|
|
87
|
-
DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
|
|
88
|
-
|
|
89
|
-
This software consists of voluntary contributions made by many
|
|
90
|
-
individuals. For exact contribution history, see the revision history
|
|
91
|
-
available at https://github.com/lodash/lodash
|
|
92
|
-
|
|
93
|
-
The following license applies to all parts of this software except as
|
|
94
|
-
documented below:
|
|
95
|
-
|
|
96
|
-
====
|
|
97
|
-
|
|
98
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
99
|
-
a copy of this software and associated documentation files (the
|
|
100
|
-
"Software"), to deal in the Software without restriction, including
|
|
101
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
102
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
103
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
104
|
-
the following conditions:
|
|
105
|
-
|
|
106
|
-
The above copyright notice and this permission notice shall be
|
|
107
|
-
included in all copies or substantial portions of the Software.
|
|
108
|
-
|
|
109
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
110
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
111
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
112
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
113
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
114
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
115
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
116
|
-
|
|
117
|
-
====
|
|
118
|
-
|
|
119
|
-
Copyright and related rights for sample code are waived via CC0. Sample
|
|
120
|
-
code is defined as all source code displayed within the prose of the
|
|
121
|
-
documentation.
|
|
122
|
-
|
|
123
|
-
CC0: http://creativecommons.org/publicdomain/zero/1.0/
|
|
124
|
-
|
|
125
|
-
====
|
|
126
|
-
|
|
127
|
-
Files located in the node_modules and vendor directories are externally
|
|
128
|
-
maintained libraries used by this software which have their own
|
|
129
|
-
licenses; we recommend you read them, as their terms may differ from the
|
|
130
|
-
terms above.
|
|
131
|
-
|
|
132
|
-
---
|
|
133
|
-
|
|
134
|
-
Name: tailwind-merge
|
|
135
|
-
Version: 3.4.0
|
|
136
|
-
License: MIT
|
|
137
|
-
Private: false
|
|
138
|
-
Description: Merge Tailwind CSS classes without style conflicts
|
|
139
|
-
Repository: https://github.com/dcastil/tailwind-merge.git
|
|
140
|
-
Homepage: https://github.com/dcastil/tailwind-merge
|
|
141
|
-
Author: Dany Castillo
|
|
142
|
-
License Copyright:
|
|
143
|
-
===
|
|
144
|
-
|
|
145
|
-
MIT License
|
|
146
|
-
|
|
147
|
-
Copyright (c) 2021 Dany Castillo
|
|
148
|
-
|
|
149
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
150
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
151
|
-
in the Software without restriction, including without limitation the rights
|
|
152
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
153
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
154
|
-
furnished to do so, subject to the following conditions:
|
|
155
|
-
|
|
156
|
-
The above copyright notice and this permission notice shall be included in all
|
|
157
|
-
copies or substantial portions of the Software.
|
|
158
|
-
|
|
159
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
160
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
161
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
162
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
163
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
164
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
165
|
-
SOFTWARE.
|
|
166
|
-
|
|
167
|
-
---
|
|
168
|
-
|
|
169
37
|
Name: html-janitor
|
|
170
38
|
Version: 2.0.4
|
|
171
39
|
License: null
|
|
@@ -378,87 +246,53 @@ Apache License
|
|
|
378
246
|
|
|
379
247
|
---
|
|
380
248
|
|
|
381
|
-
Name:
|
|
382
|
-
Version:
|
|
383
|
-
License: MIT
|
|
384
|
-
Private: false
|
|
385
|
-
Description: React is a JavaScript library for building user interfaces.
|
|
386
|
-
Repository: https://github.com/facebook/react.git
|
|
387
|
-
Homepage: https://reactjs.org/
|
|
388
|
-
License Copyright:
|
|
389
|
-
===
|
|
390
|
-
|
|
391
|
-
MIT License
|
|
392
|
-
|
|
393
|
-
Copyright (c) Facebook, Inc. and its affiliates.
|
|
394
|
-
|
|
395
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
396
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
397
|
-
in the Software without restriction, including without limitation the rights
|
|
398
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
399
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
400
|
-
furnished to do so, subject to the following conditions:
|
|
401
|
-
|
|
402
|
-
The above copyright notice and this permission notice shall be included in all
|
|
403
|
-
copies or substantial portions of the Software.
|
|
404
|
-
|
|
405
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
406
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
407
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
408
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
409
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
410
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
411
|
-
SOFTWARE.
|
|
412
|
-
|
|
413
|
-
---
|
|
414
|
-
|
|
415
|
-
Name: react-dom
|
|
416
|
-
Version: 18.3.1
|
|
249
|
+
Name: nanoid
|
|
250
|
+
Version: 5.1.6
|
|
417
251
|
License: MIT
|
|
418
252
|
Private: false
|
|
419
|
-
Description:
|
|
420
|
-
Repository:
|
|
421
|
-
|
|
253
|
+
Description: A tiny (118 bytes), secure URL-friendly unique string ID generator
|
|
254
|
+
Repository: undefined
|
|
255
|
+
Author: Andrey Sitnik <andrey@sitnik.ru>
|
|
422
256
|
License Copyright:
|
|
423
257
|
===
|
|
424
258
|
|
|
425
|
-
MIT License
|
|
259
|
+
The MIT License (MIT)
|
|
426
260
|
|
|
427
|
-
Copyright
|
|
261
|
+
Copyright 2017 Andrey Sitnik <andrey@sitnik.ru>
|
|
428
262
|
|
|
429
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
263
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
264
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
265
|
+
the Software without restriction, including without limitation the rights to
|
|
266
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
267
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
268
|
+
subject to the following conditions:
|
|
435
269
|
|
|
436
270
|
The above copyright notice and this permission notice shall be included in all
|
|
437
271
|
copies or substantial portions of the Software.
|
|
438
272
|
|
|
439
273
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
440
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
SOFTWARE.
|
|
274
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
275
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
276
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
277
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
278
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
446
279
|
|
|
447
280
|
---
|
|
448
281
|
|
|
449
|
-
Name:
|
|
450
|
-
Version:
|
|
282
|
+
Name: i18next
|
|
283
|
+
Version: 25.7.3
|
|
451
284
|
License: MIT
|
|
452
285
|
Private: false
|
|
453
|
-
Description:
|
|
454
|
-
Repository: https://github.com/
|
|
455
|
-
Homepage: https://
|
|
286
|
+
Description: i18next internationalization framework
|
|
287
|
+
Repository: https://github.com/i18next/i18next.git
|
|
288
|
+
Homepage: https://www.i18next.com
|
|
289
|
+
Author: Jan Mühlemann <jan.muehlemann@gmail.com> (https://github.com/jamuhl)
|
|
456
290
|
License Copyright:
|
|
457
291
|
===
|
|
458
292
|
|
|
459
|
-
MIT License
|
|
293
|
+
The MIT License (MIT)
|
|
460
294
|
|
|
461
|
-
Copyright (c)
|
|
295
|
+
Copyright (c) 2025 i18next
|
|
462
296
|
|
|
463
297
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
464
298
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -476,37 +310,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
476
310
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
477
311
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
478
312
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
479
|
-
SOFTWARE.
|
|
480
|
-
|
|
481
|
-
---
|
|
482
|
-
|
|
483
|
-
Name: sortablejs
|
|
484
|
-
Version: 1.15.6
|
|
485
|
-
License: MIT
|
|
486
|
-
Private: false
|
|
487
|
-
Description: JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery required. Supports Meteor, AngularJS, React, Polymer, Vue, Knockout and any CSS library, e.g. Bootstrap.
|
|
488
|
-
Repository: git://github.com/SortableJS/Sortable.git
|
|
489
|
-
License Copyright:
|
|
490
|
-
===
|
|
491
|
-
|
|
492
|
-
MIT License
|
|
493
|
-
|
|
494
|
-
Copyright (c) 2019 All contributors to Sortable
|
|
495
|
-
|
|
496
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
497
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
498
|
-
in the Software without restriction, including without limitation the rights
|
|
499
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
500
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
501
|
-
furnished to do so, subject to the following conditions:
|
|
502
|
-
|
|
503
|
-
The above copyright notice and this permission notice shall be included in all
|
|
504
|
-
copies or substantial portions of the Software.
|
|
505
|
-
|
|
506
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
507
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
508
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
509
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
510
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
511
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
512
313
|
SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,21 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jackuait/blok",
|
|
3
|
-
"version": "0.4.1-beta.
|
|
3
|
+
"version": "0.4.1-beta.6",
|
|
4
4
|
"description": "Blok — headless, highly extensible rich text editor built for developers who need to implement a block-based editing experience (similar to Notion) without building it from scratch",
|
|
5
|
-
"main": "dist/blok.umd.js",
|
|
6
5
|
"module": "dist/blok.mjs",
|
|
7
6
|
"types": "./types/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./types/index.d.ts",
|
|
10
|
+
"import": "./dist/blok.mjs"
|
|
11
|
+
},
|
|
12
|
+
"./tools": {
|
|
13
|
+
"types": "./types/tools-entry.d.ts",
|
|
14
|
+
"import": "./dist/tools.mjs"
|
|
15
|
+
},
|
|
16
|
+
"./full": {
|
|
17
|
+
"types": "./types/full.d.ts",
|
|
18
|
+
"import": "./dist/full.mjs"
|
|
19
|
+
},
|
|
20
|
+
"./locales": {
|
|
21
|
+
"types": "./types/locales.d.ts",
|
|
22
|
+
"import": "./dist/locales.mjs"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
8
25
|
"bin": {
|
|
9
26
|
"migrate-from-editorjs": "./codemod/migrate-editorjs-to-blok.js"
|
|
10
27
|
},
|
|
11
28
|
"files": [
|
|
12
29
|
"dist",
|
|
13
30
|
"types",
|
|
31
|
+
"src",
|
|
14
32
|
"codemod"
|
|
15
33
|
],
|
|
16
34
|
"publishConfig": {
|
|
17
35
|
"access": "public"
|
|
18
36
|
},
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=18.0.0"
|
|
39
|
+
},
|
|
19
40
|
"keywords": [
|
|
20
41
|
"blok",
|
|
21
42
|
"text editor",
|
|
@@ -25,15 +46,21 @@
|
|
|
25
46
|
"headless editor",
|
|
26
47
|
"extensible editor"
|
|
27
48
|
],
|
|
49
|
+
"sideEffects": [
|
|
50
|
+
"./src/components/polyfills.ts",
|
|
51
|
+
"*.css"
|
|
52
|
+
],
|
|
28
53
|
"scripts": {
|
|
29
54
|
"serve": "vite --no-open",
|
|
30
|
-
"build": "vite build --mode production",
|
|
31
|
-
"build:test": "vite build --mode test",
|
|
55
|
+
"build": "vite build --mode production && node scripts/build-locales.mjs",
|
|
56
|
+
"build:test": "vite build --mode test && node scripts/build-locales.mjs test",
|
|
32
57
|
"lint": "sh -c 'eslint .; ESLINT_EXIT=$?; tsc --noEmit; TSC_EXIT=$?; if [ $ESLINT_EXIT -ne 0 ] || [ $TSC_EXIT -ne 0 ]; then exit 1; fi'",
|
|
33
58
|
"lint:fix": "eslint . --fix",
|
|
34
59
|
"lint:tests": "eslint test/",
|
|
35
60
|
"lint:types": "tsc --noEmit",
|
|
61
|
+
"i18n:check": "node scripts/i18n/check-translations.mjs",
|
|
36
62
|
"e2e": "playwright test",
|
|
63
|
+
"e2e:smoke": "playwright test --project=chromium --grep=\"@smoke\"",
|
|
37
64
|
"e2e:chrome": "playwright test --project=chromium",
|
|
38
65
|
"e2e:firefox": "playwright test --project=firefox",
|
|
39
66
|
"e2e:safari": "playwright test --project=webkit",
|
|
@@ -48,15 +75,22 @@
|
|
|
48
75
|
"jscpd:report": "jscpd . --reporters html,json --output .jscpd-report",
|
|
49
76
|
"prepublishOnly": "yarn build",
|
|
50
77
|
"prepare": "husky",
|
|
51
|
-
"release": "./scripts/release.sh release",
|
|
52
|
-
"release:beta": "./scripts/release.sh prerelease beta",
|
|
53
|
-
"release:alpha": "./scripts/release.sh prerelease alpha",
|
|
54
|
-
"release:rc": "./scripts/release.sh prerelease rc",
|
|
55
|
-
"release:dry": "./scripts/release.sh release beta true",
|
|
56
78
|
"storybook": "storybook dev -p 6006 --no-open",
|
|
57
|
-
"storybook:build": "storybook build",
|
|
79
|
+
"storybook:build": "storybook build --stats-json",
|
|
58
80
|
"storybook:test": "vitest --project=storybook --run",
|
|
59
|
-
"chromatic": "chromatic --exit-zero-on-changes"
|
|
81
|
+
"chromatic": "chromatic --exit-zero-on-changes",
|
|
82
|
+
"verify:package": "node scripts/verify-published-package.mjs",
|
|
83
|
+
"verify:package:local": "npm pack && node scripts/verify-published-package.mjs --local",
|
|
84
|
+
"verify:version": "node scripts/verify-version.mjs",
|
|
85
|
+
"unpublish": "node scripts/unpublish-package.mjs",
|
|
86
|
+
"bundle:track": "node scripts/track-bundle-size.mjs --verbose",
|
|
87
|
+
"bundle:variants": "node scripts/build-bundle-variants.mjs --verbose",
|
|
88
|
+
"bundle:trends": "node scripts/view-bundle-trends.mjs --trends",
|
|
89
|
+
"bundle:history": "node scripts/view-bundle-trends.mjs",
|
|
90
|
+
"perf:analyze": "node scripts/analyze-performance.mjs",
|
|
91
|
+
"perf:compare": "node scripts/analyze-performance.mjs --baseline",
|
|
92
|
+
"perf:dashboard": "node scripts/generate-performance-dashboard.mjs",
|
|
93
|
+
"e2e:validate-categories": "node scripts/validate-test-categories.mjs"
|
|
60
94
|
},
|
|
61
95
|
"author": "JackUait",
|
|
62
96
|
"contributors": [
|
|
@@ -73,17 +107,15 @@
|
|
|
73
107
|
"@chromatic-com/storybook": "4.1.3",
|
|
74
108
|
"@commitlint/cli": "20.1.0",
|
|
75
109
|
"@commitlint/config-conventional": "20.0.0",
|
|
76
|
-
"@eslint-react/eslint-plugin": "^2.3.12",
|
|
77
110
|
"@playwright/test": "1.57.0",
|
|
111
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
112
|
+
"@semantic-release/git": "^10.0.1",
|
|
78
113
|
"@storybook/addon-a11y": "10.1.1",
|
|
79
114
|
"@storybook/addon-vitest": "10.1.1",
|
|
80
115
|
"@storybook/global": "5.0.0",
|
|
81
116
|
"@storybook/html-vite": "10.1.1",
|
|
82
117
|
"@types/eslint-plugin-tailwindcss": "3",
|
|
83
118
|
"@types/node": "22.19.0",
|
|
84
|
-
"@types/react": "18.3.1",
|
|
85
|
-
"@types/react-dom": "18.3.1",
|
|
86
|
-
"@types/sortablejs": "1.15.9",
|
|
87
119
|
"@vitest/browser-playwright": "4.0.14",
|
|
88
120
|
"@vitest/coverage-v8": "4.0.14",
|
|
89
121
|
"@vitest/ui": "4.0.14",
|
|
@@ -94,8 +126,6 @@
|
|
|
94
126
|
"eslint-plugin-jest": "29.2.1",
|
|
95
127
|
"eslint-plugin-jsdoc": "61.4.1",
|
|
96
128
|
"eslint-plugin-playwright": "2.3.0",
|
|
97
|
-
"eslint-plugin-react": "^7.37.5",
|
|
98
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
99
129
|
"eslint-plugin-sonarjs": "3.0.5",
|
|
100
130
|
"eslint-plugin-storybook": "10.1.1",
|
|
101
131
|
"eslint-plugin-tailwindcss": "3.18.2",
|
|
@@ -107,6 +137,7 @@
|
|
|
107
137
|
"playwright": "1.57.0",
|
|
108
138
|
"postcss": "8.5.6",
|
|
109
139
|
"rollup-plugin-license": "3.6.0",
|
|
140
|
+
"semantic-release": "^25.0.2",
|
|
110
141
|
"storybook": "10.1.1",
|
|
111
142
|
"tailwindcss": "3",
|
|
112
143
|
"tslint": "6.1.3",
|
|
@@ -118,11 +149,6 @@
|
|
|
118
149
|
"yaml": "2.8.1"
|
|
119
150
|
},
|
|
120
151
|
"dependencies": {
|
|
121
|
-
"
|
|
122
|
-
"lodash": "4.17.21",
|
|
123
|
-
"react": "18.3.1",
|
|
124
|
-
"react-dom": "18.3.1",
|
|
125
|
-
"sortablejs": "1.15.6",
|
|
126
|
-
"tailwind-merge": "3.4.0"
|
|
152
|
+
"i18next": "^25.7.3"
|
|
127
153
|
}
|
|
128
154
|
}
|