diff --git a/.changeset/cyan-rules-thank.md b/.changeset/cyan-rules-thank.md new file mode 100644 index 0000000000..6f2c013b8f --- /dev/null +++ b/.changeset/cyan-rules-thank.md @@ -0,0 +1,6 @@ +--- +'@udecode/slate': patch +'@udecode/plate-test-utils': patch +--- + +fix build (types) diff --git a/config/eslint/bases/next.cjs b/config/eslint/bases/next.cjs index 42331a6c26..1f0caa0d5f 100644 --- a/config/eslint/bases/next.cjs +++ b/config/eslint/bases/next.cjs @@ -33,6 +33,20 @@ module.exports = { 'import/prefer-default-export': 'off', }, overrides: [ + { + files: ['**/packages/**'], + excludedFiles: ['**/*.test.*', '**/*.spec.*', '**/*.fixtures.*', '**/__tests__/**/*', '**/apps/**/*'], + rules: { + 'import/no-extraneous-dependencies': [ + 'error', + { + devDependencies: false, + includeInternal: false, + includeTypes: false, + }, + ], + } + }, { files: ['apps/www/next.config.mjs'], rules: { diff --git a/config/tsup.config.ts b/config/tsup.config.ts index 05fd9c8c15..763931f87d 100644 --- a/config/tsup.config.ts +++ b/config/tsup.config.ts @@ -13,9 +13,12 @@ export default defineConfig((opts) => { ...opts, entry: [INPUT_FILE], format: ['cjs', 'esm'], - external: [], skipNodeModulesBundle: true, dts: true, + // dts: { + // only: true, + // resolve: false, + // }, sourcemap: true, clean: true, minify: false, diff --git a/package.json b/package.json index 6355990aa8..2ca2af0c9f 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "gen:package": "yarn plop --plopfile scripts/plop/plopfile.cjs package", "g:dev": "turbo --filter=www dev", "g:dev:cli": "yarn workspace @udecode/plate-ui dev", - "g:lint": "turbo lint", + "g:lint": "turbo --filter \"./packages/**\" lint", "g:lint:fix": "turbo lint:fix", "g:lint:apps": "turbo --filter=www lint && cd templates/plate-playground-template && pnpm lint", "g:lint:apps:fix": "turbo --filter=www lint --fix && cd templates/plate-playground-template && pnpm lint:fix", diff --git a/packages/alignment/package.json b/packages/alignment/package.json index a0ebfe12aa..eae27b0025 100644 --- a/packages/alignment/package.json +++ b/packages/alignment/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/autoformat/package.json b/packages/autoformat/package.json index aa9edfb3c5..519908f5fb 100644 --- a/packages/autoformat/package.json +++ b/packages/autoformat/package.json @@ -39,13 +39,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-common": "24.3.0" + "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/basic-elements/package.json b/packages/basic-elements/package.json index ac37c2004e..06b4003919 100644 --- a/packages/basic-elements/package.json +++ b/packages/basic-elements/package.json @@ -50,6 +50,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/basic-marks/package.json b/packages/basic-marks/package.json index e0187f4100..d8b8a5f25c 100644 --- a/packages/basic-marks/package.json +++ b/packages/basic-marks/package.json @@ -45,6 +45,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/block-quote/package.json b/packages/block-quote/package.json index 2554648025..87edde5d8d 100644 --- a/packages/block-quote/package.json +++ b/packages/block-quote/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/break/package.json b/packages/break/package.json index feb7635089..52401b7707 100644 --- a/packages/break/package.json +++ b/packages/break/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/caption/package.json b/packages/caption/package.json index 9c71621b83..d92736fa02 100644 --- a/packages/caption/package.json +++ b/packages/caption/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/cli/src/utils/get-package-info.ts b/packages/cli/src/utils/get-package-info.ts index 668808eddf..559667c22a 100644 --- a/packages/cli/src/utils/get-package-info.ts +++ b/packages/cli/src/utils/get-package-info.ts @@ -1,5 +1,6 @@ import path from 'path'; import fs from 'fs-extra'; +// eslint-disable-next-line import/no-extraneous-dependencies import { type PackageJson } from 'type-fest'; /** diff --git a/packages/cloud/package.json b/packages/cloud/package.json index 419753739f..1478fb8b42 100644 --- a/packages/cloud/package.json +++ b/packages/cloud/package.json @@ -49,6 +49,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/code-block/package.json b/packages/code-block/package.json index 8f47903554..65ac0f8f52 100644 --- a/packages/code-block/package.json +++ b/packages/code-block/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/combobox/package.json b/packages/combobox/package.json index baf4fa8169..dcb725c132 100644 --- a/packages/combobox/package.json +++ b/packages/combobox/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/comments/package.json b/packages/comments/package.json index 091b88b433..07864044c3 100644 --- a/packages/comments/package.json +++ b/packages/comments/package.json @@ -39,13 +39,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-common": "24.3.0" + "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/common/package.json b/packages/common/package.json index 9470b2dc86..9b68b4cea3 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -51,6 +51,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/core/package.json b/packages/core/package.json index c8ece9a7f6..cbaa41f4a6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -41,6 +41,7 @@ "dependencies": { "@udecode/slate": "24.3.0", "@udecode/slate-react": "24.3.0", + "@udecode/slate-utils": "24.3.0", "@udecode/utils": "24.3.0", "@udecode/zustood": "^1.1.3", "clsx": "^1.2.1", @@ -57,6 +58,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/core/src/types/PlateRenderLeafProps.ts b/packages/core/src/types/PlateRenderLeafProps.ts index b96c58657e..2428840b28 100644 --- a/packages/core/src/types/PlateRenderLeafProps.ts +++ b/packages/core/src/types/PlateRenderLeafProps.ts @@ -1,4 +1,5 @@ -import { EText, TRenderLeafProps, TText, Value } from '@udecode/slate'; +import { EText, TText, Value } from '@udecode/slate'; +import { TRenderLeafProps } from '@udecode/slate-react'; import { PlateRenderNodeProps } from './PlateRenderNodeProps'; diff --git a/packages/core/src/types/slate-react/TEditableProps.ts b/packages/core/src/types/slate-react/TEditableProps.ts index b7ebbf8687..8c6fd3efe3 100644 --- a/packages/core/src/types/slate-react/TEditableProps.ts +++ b/packages/core/src/types/slate-react/TEditableProps.ts @@ -1,4 +1,5 @@ -import { RenderLeafFn, TNodeEntry } from '@udecode/slate'; +import { TNodeEntry } from '@udecode/slate'; +import { RenderLeafFn } from '@udecode/slate-react'; import { Range } from 'slate'; import { EditableProps } from 'slate-react/dist/components/editable'; diff --git a/packages/cursor/package.json b/packages/cursor/package.json index 161394ecc9..e987dd863c 100644 --- a/packages/cursor/package.json +++ b/packages/cursor/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/dnd/package.json b/packages/dnd/package.json index c3718f55a3..668d2186dd 100644 --- a/packages/dnd/package.json +++ b/packages/dnd/package.json @@ -40,6 +40,7 @@ }, "dependencies": { "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21", "raf": "^3.4.1" }, "peerDependencies": { @@ -49,6 +50,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/emoji/package.json b/packages/emoji/package.json index 580c61cf8b..6fc8ac8392 100644 --- a/packages/emoji/package.json +++ b/packages/emoji/package.json @@ -48,6 +48,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/excalidraw/package.json b/packages/excalidraw/package.json index 4562754656..8e1d537825 100644 --- a/packages/excalidraw/package.json +++ b/packages/excalidraw/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json index 4267dd986d..2641bed6d1 100644 --- a/packages/find-replace/package.json +++ b/packages/find-replace/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/floating/package.json b/packages/floating/package.json index 6421020d67..f7b93d197e 100644 --- a/packages/floating/package.json +++ b/packages/floating/package.json @@ -39,6 +39,7 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { + "@floating-ui/core": "^1.3.1", "@floating-ui/react": "^0.22.3", "@radix-ui/react-dropdown-menu": "^2.0.5", "@udecode/plate-common": "24.3.0" @@ -48,6 +49,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/font/package.json b/packages/font/package.json index 07a0fb6856..780a63975b 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -39,13 +39,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-common": "24.3.0" + "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/heading/package.json b/packages/heading/package.json index 99e7425145..43b2aef935 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/highlight/package.json b/packages/highlight/package.json index 92d6f16a2a..83bf797f33 100644 --- a/packages/highlight/package.json +++ b/packages/highlight/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/horizontal-rule/package.json b/packages/horizontal-rule/package.json index 5250b7ecfd..c2beda0711 100644 --- a/packages/horizontal-rule/package.json +++ b/packages/horizontal-rule/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/indent-list/package.json b/packages/indent-list/package.json index 3bd6bea367..ec9e495043 100644 --- a/packages/indent-list/package.json +++ b/packages/indent-list/package.json @@ -41,13 +41,15 @@ "dependencies": { "@udecode/plate-common": "24.3.0", "@udecode/plate-indent": "24.3.0", - "@udecode/plate-list": "24.3.0" + "@udecode/plate-list": "24.3.0", + "clsx": "^1.2.1" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/indent/package.json b/packages/indent/package.json index 540684f6fe..7765c04dae 100644 --- a/packages/indent/package.json +++ b/packages/indent/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/juice/package.json b/packages/juice/package.json index c138a9f29a..132b0d7640 100644 --- a/packages/juice/package.json +++ b/packages/juice/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/kbd/package.json b/packages/kbd/package.json index 00ffbbfdd2..7fd4972513 100644 --- a/packages/kbd/package.json +++ b/packages/kbd/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/line-height/package.json b/packages/line-height/package.json index 7fa559c274..5a6cb4da19 100644 --- a/packages/line-height/package.json +++ b/packages/line-height/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/link/package.json b/packages/link/package.json index 75245a6ab8..44b8227158 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -48,6 +48,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/list/package.json b/packages/list/package.json index d090013de3..7f7a379455 100644 --- a/packages/list/package.json +++ b/packages/list/package.json @@ -40,13 +40,15 @@ }, "dependencies": { "@udecode/plate-common": "24.3.0", - "@udecode/plate-reset-node": "24.3.0" + "@udecode/plate-reset-node": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/media/package.json b/packages/media/package.json index e09b3fe591..2d78d98c2f 100644 --- a/packages/media/package.json +++ b/packages/media/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/mention/package.json b/packages/mention/package.json index 2eaec4e967..70c999605b 100644 --- a/packages/mention/package.json +++ b/packages/mention/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/node-id/package.json b/packages/node-id/package.json index 81ab2ba58f..828e609319 100644 --- a/packages/node-id/package.json +++ b/packages/node-id/package.json @@ -39,13 +39,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-common": "24.3.0" + "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/normalizers/package.json b/packages/normalizers/package.json index d67ac2a63c..49ff1097d2 100644 --- a/packages/normalizers/package.json +++ b/packages/normalizers/package.json @@ -39,13 +39,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-common": "24.3.0" + "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/paragraph/package.json b/packages/paragraph/package.json index 6c7d97daea..ff8fd47a10 100644 --- a/packages/paragraph/package.json +++ b/packages/paragraph/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/plate-utils/package.json b/packages/plate-utils/package.json index 116dbba272..65e446c2b8 100644 --- a/packages/plate-utils/package.json +++ b/packages/plate-utils/package.json @@ -44,13 +44,16 @@ "@udecode/slate": "24.3.0", "@udecode/slate-react": "24.3.0", "@udecode/slate-utils": "24.3.0", - "@udecode/utils": "24.3.0" + "@udecode/utils": "24.3.0", + "clsx": "^1.2.1", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/plate/src/index.tsx b/packages/plate/src/index.tsx index 4bac7925ec..d890cf146e 100644 --- a/packages/plate/src/index.tsx +++ b/packages/plate/src/index.tsx @@ -12,7 +12,6 @@ export * from '@udecode/plate-code-block'; export * from '@udecode/plate-combobox'; export * from '@udecode/plate-comments'; export * from '@udecode/plate-common'; -export * from '@udecode/plate-emoji'; export * from '@udecode/plate-find-replace'; export * from '@udecode/plate-floating'; export * from '@udecode/plate-font'; diff --git a/packages/reset-node/package.json b/packages/reset-node/package.json index 1687ccec7d..145592daae 100644 --- a/packages/reset-node/package.json +++ b/packages/reset-node/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/resizable/package.json b/packages/resizable/package.json index 56576bc039..1f203e4805 100644 --- a/packages/resizable/package.json +++ b/packages/resizable/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/select/package.json b/packages/select/package.json index a456641b54..5bcede0879 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/selection/package.json b/packages/selection/package.json index 1a110c182f..0d05f9a608 100644 --- a/packages/selection/package.json +++ b/packages/selection/package.json @@ -48,6 +48,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/serializer-md/package.json b/packages/serializer-md/package.json index cc023e0197..56898812c0 100644 --- a/packages/serializer-md/package.json +++ b/packages/serializer-md/package.json @@ -39,12 +39,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { + "@udecode/plate-basic-marks": "24.3.0", "@udecode/plate-block-quote": "24.3.0", "@udecode/plate-code-block": "24.3.0", "@udecode/plate-common": "24.3.0", "@udecode/plate-heading": "24.3.0", + "@udecode/plate-horizontal-rule": "24.3.0", "@udecode/plate-link": "24.3.0", "@udecode/plate-list": "24.3.0", + "@udecode/plate-media": "24.3.0", "@udecode/plate-paragraph": "24.3.0", "remark-parse": "^9.0.0", "unified": "^9.2.2" @@ -54,6 +57,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/slate/src/types/TRenderLeafProps.ts b/packages/slate-react/src/types/TRenderLeafProps.ts similarity index 75% rename from packages/slate/src/types/TRenderLeafProps.ts rename to packages/slate-react/src/types/TRenderLeafProps.ts index 5fc9604d1a..cbf63907c1 100644 --- a/packages/slate/src/types/TRenderLeafProps.ts +++ b/packages/slate-react/src/types/TRenderLeafProps.ts @@ -1,9 +1,7 @@ +import { EText, TText, Value } from '@udecode/slate'; import { Modify } from '@udecode/utils'; import { RenderLeafProps } from 'slate-react'; -import { Value } from '../interfaces/editor/TEditor'; -import { EText, TText } from '../interfaces/text/TText'; - export type TRenderLeafProps< V extends Value = Value, N extends TText = EText, diff --git a/packages/slate-react/src/types/index.ts b/packages/slate-react/src/types/index.ts index 657db70da2..60787c6d8b 100644 --- a/packages/slate-react/src/types/index.ts +++ b/packages/slate-react/src/types/index.ts @@ -4,3 +4,4 @@ export * from './SlateProps'; export * from './TReactEditor'; +export * from './TRenderLeafProps'; diff --git a/packages/slate/src/types/index.ts b/packages/slate/src/types/index.ts index cd1fcd897e..ba15677321 100644 --- a/packages/slate/src/types/index.ts +++ b/packages/slate/src/types/index.ts @@ -6,5 +6,4 @@ export * from './NodeMatchOption'; export * from './QueryEditorOptions'; export * from './QueryNodeOptions'; export * from './TOperation'; -export * from './TRenderLeafProps'; export * from './interfaces'; diff --git a/packages/slate/src/utils/match.ts b/packages/slate/src/utils/match.ts index 6876570304..4ae20ccfd2 100644 --- a/packages/slate/src/utils/match.ts +++ b/packages/slate/src/utils/match.ts @@ -1,5 +1,3 @@ -import { castArray } from 'lodash'; - import { isBlock } from '../interfaces/editor/isBlock'; import { TEditor, Value } from '../interfaces/editor/TEditor'; import { ENode, TNode } from '../interfaces/node/TNode'; @@ -9,6 +7,10 @@ export type PredicateObj = Record; export type PredicateFn = (obj: T, path: TPath) => boolean; export type Predicate = PredicateObj | PredicateFn; +function castArray(value: T | T[]): T[] { + return Array.isArray(value) ? value : [value]; +} + /** * Match the object with a predicate object or function. * If predicate is: diff --git a/packages/slate/src/utils/queryNode.ts b/packages/slate/src/utils/queryNode.ts index 056e09eb79..05c0cb9dad 100644 --- a/packages/slate/src/utils/queryNode.ts +++ b/packages/slate/src/utils/queryNode.ts @@ -1,8 +1,10 @@ -import castArray from 'lodash/castArray'; - import { TNode, TNodeEntry } from '../interfaces'; import { QueryNodeOptions } from '../types/QueryNodeOptions'; +function castArray(value: T | T[]): T[] { + return Array.isArray(value) ? value : [value]; +} + /** * Query the node entry. */ diff --git a/packages/suggestion/package.json b/packages/suggestion/package.json index 92e882c34a..459bb18f72 100644 --- a/packages/suggestion/package.json +++ b/packages/suggestion/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/tabbable/package.json b/packages/tabbable/package.json index 066b7152d2..d62157ea9c 100644 --- a/packages/tabbable/package.json +++ b/packages/tabbable/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/table/package.json b/packages/table/package.json index 044a5cd2bc..6906e37e49 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -40,7 +40,8 @@ }, "dependencies": { "@udecode/plate-common": "24.3.0", - "@udecode/plate-resizable": "24.3.0" + "@udecode/plate-resizable": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/trailing-block/package.json b/packages/trailing-block/package.json index 44125f6f54..a970322648 100644 --- a/packages/trailing-block/package.json +++ b/packages/trailing-block/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/yjs/package.json b/packages/yjs/package.json index e7dfa7ee03..f8e7ef1cfc 100644 --- a/packages/yjs/package.json +++ b/packages/yjs/package.json @@ -49,6 +49,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/yjs/src/withTCursors.ts b/packages/yjs/src/withTCursors.ts index 9ce5b26137..ce87556aaf 100644 --- a/packages/yjs/src/withTCursors.ts +++ b/packages/yjs/src/withTCursors.ts @@ -1,5 +1,6 @@ import { CursorEditor, withCursors, WithCursorsOptions } from '@slate-yjs/core'; import { TEditor, Value } from '@udecode/plate-common'; +// eslint-disable-next-line import/no-extraneous-dependencies import { Awareness } from 'y-protocols/awareness'; import { YjsEditorProps } from './withTYjs'; diff --git a/packages/yjs/src/yjsStore.ts b/packages/yjs/src/yjsStore.ts index ea4fa01806..af14183c37 100644 --- a/packages/yjs/src/yjsStore.ts +++ b/packages/yjs/src/yjsStore.ts @@ -1,4 +1,4 @@ -import { createStore } from '@udecode/zustood'; +import { createStore } from '@udecode/plate-common'; export const yjsStore = createStore('yjs')({ isConnected: false, diff --git a/patches/slate-hyperscript+0.77.0.patch b/patches/slate-hyperscript+0.77.0.patch deleted file mode 100644 index 50fe1885ef..0000000000 --- a/patches/slate-hyperscript+0.77.0.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff --git a/node_modules/slate-hyperscript/dist/index.js b/node_modules/slate-hyperscript/dist/index.js -index fab2438..a7da5e9 100644 ---- a/node_modules/slate-hyperscript/dist/index.js -+++ b/node_modules/slate-hyperscript/dist/index.js -@@ -699,10 +699,23 @@ var createFactory = function createFactory(creators) { - attributes = {}; - } - -+ // We are in an unejected CRA that uses its Babel config for Jest. The plugin -+ // https://babeljs.io/docs/en/babel-plugin-transform-react-jsx-source.html -+ // adds sourcemap information when parsing hyperscript (jsx) that we want to omit so -+ // when we assert we aren't asserting on the sourcemap stuff. -+ // Only do this for test environment in case we end up using Hyperscript in application -+ // code. -+ const newAttributes = Object.assign(attributes, {}) -+ if (process.env.NODE_ENV === 'test') { -+ delete newAttributes.__source -+ delete newAttributes.__self -+ } -+ -+ - children = children.filter(function (child) { - return Boolean(child); - }).flat(); -- var ret = creator(tagName, attributes, children); -+ var ret = creator(tagName, newAttributes, children); - return ret; - }; - -@@ -741,6 +754,13 @@ var normalizeElements = function normalizeElements(elements) { - - var jsx = createHyperscript(); - -+// Slate doesn't export these, but we'll want them eventually. -+exports.createAnchor = createAnchor; -+exports.createCursor = createCursor; -+exports.createElement = createElement; -+exports.createFocus = createFocus; -+exports.createFragment = createFragment; -+exports.createSelection = createSelection; - exports.createEditor = createEditor; - exports.createHyperscript = createHyperscript; - exports.createText = createText; diff --git a/scripts/plop/templates/package/package.json.hbs b/scripts/plop/templates/package/package.json.hbs index 5ee0a8828b..abdca3ef67 100644 --- a/scripts/plop/templates/package/package.json.hbs +++ b/scripts/plop/templates/package/package.json.hbs @@ -48,6 +48,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/yarn.lock b/yarn.lock index 2acf3d48b9..a5d889f5bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7071,90 +7071,97 @@ __metadata: languageName: node linkType: hard -"@udecode/plate-alignment@npm:24.2.0, @udecode/plate-alignment@workspace:^, @udecode/plate-alignment@workspace:packages/alignment": +"@udecode/plate-alignment@npm:24.3.0, @udecode/plate-alignment@workspace:^, @udecode/plate-alignment@workspace:packages/alignment": version: 0.0.0-use.local resolution: "@udecode/plate-alignment@workspace:packages/alignment" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-autoformat@npm:24.2.0, @udecode/plate-autoformat@workspace:^, @udecode/plate-autoformat@workspace:packages/autoformat": +"@udecode/plate-autoformat@npm:24.3.0, @udecode/plate-autoformat@workspace:^, @udecode/plate-autoformat@workspace:packages/autoformat": version: 0.0.0-use.local resolution: "@udecode/plate-autoformat@workspace:packages/autoformat" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-basic-elements@npm:24.2.0, @udecode/plate-basic-elements@workspace:^, @udecode/plate-basic-elements@workspace:packages/basic-elements": +"@udecode/plate-basic-elements@npm:24.3.0, @udecode/plate-basic-elements@workspace:^, @udecode/plate-basic-elements@workspace:packages/basic-elements": version: 0.0.0-use.local resolution: "@udecode/plate-basic-elements@workspace:packages/basic-elements" dependencies: - "@udecode/plate-block-quote": "npm:24.2.0" - "@udecode/plate-code-block": "npm:24.2.0" - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-heading": "npm:24.2.0" - "@udecode/plate-paragraph": "npm:24.2.0" + "@udecode/plate-block-quote": "npm:24.3.0" + "@udecode/plate-code-block": "npm:24.3.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-heading": "npm:24.3.0" + "@udecode/plate-paragraph": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-basic-marks@npm:24.2.0, @udecode/plate-basic-marks@workspace:^, @udecode/plate-basic-marks@workspace:packages/basic-marks": +"@udecode/plate-basic-marks@npm:24.3.0, @udecode/plate-basic-marks@workspace:^, @udecode/plate-basic-marks@workspace:packages/basic-marks": version: 0.0.0-use.local resolution: "@udecode/plate-basic-marks@workspace:packages/basic-marks" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-block-quote@npm:24.2.0, @udecode/plate-block-quote@workspace:^, @udecode/plate-block-quote@workspace:packages/block-quote": +"@udecode/plate-block-quote@npm:24.3.0, @udecode/plate-block-quote@workspace:^, @udecode/plate-block-quote@workspace:packages/block-quote": version: 0.0.0-use.local resolution: "@udecode/plate-block-quote@workspace:packages/block-quote" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-break@npm:24.2.0, @udecode/plate-break@workspace:^, @udecode/plate-break@workspace:packages/break": +"@udecode/plate-break@npm:24.3.0, @udecode/plate-break@workspace:^, @udecode/plate-break@workspace:packages/break": version: 0.0.0-use.local resolution: "@udecode/plate-break@workspace:packages/break" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7163,13 +7170,14 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-caption@workspace:packages/caption" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" react-textarea-autosize: "npm:^8.5.2" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7179,7 +7187,7 @@ __metadata: resolution: "@udecode/plate-cloud@workspace:packages/cloud" dependencies: "@portive/client": "npm:10.0.3" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" delay: "npm:5.0.0" p-defer: "npm:^3.0.0" peerDependencies: @@ -7187,80 +7195,87 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-code-block@npm:24.2.0, @udecode/plate-code-block@workspace:^, @udecode/plate-code-block@workspace:packages/code-block": +"@udecode/plate-code-block@npm:24.3.0, @udecode/plate-code-block@workspace:^, @udecode/plate-code-block@workspace:packages/code-block": version: 0.0.0-use.local resolution: "@udecode/plate-code-block@workspace:packages/code-block" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" prismjs: "npm:^1.29.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-combobox@npm:24.2.0, @udecode/plate-combobox@workspace:^, @udecode/plate-combobox@workspace:packages/combobox": +"@udecode/plate-combobox@npm:24.3.0, @udecode/plate-combobox@workspace:^, @udecode/plate-combobox@workspace:packages/combobox": version: 0.0.0-use.local resolution: "@udecode/plate-combobox@workspace:packages/combobox" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" downshift: "npm:^6.1.12" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-comments@npm:24.2.0, @udecode/plate-comments@workspace:^, @udecode/plate-comments@workspace:packages/comments": +"@udecode/plate-comments@npm:24.3.0, @udecode/plate-comments@workspace:^, @udecode/plate-comments@workspace:packages/comments": version: 0.0.0-use.local resolution: "@udecode/plate-comments@workspace:packages/comments" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-common@npm:24.2.0, @udecode/plate-common@workspace:^, @udecode/plate-common@workspace:packages/common": +"@udecode/plate-common@npm:24.3.0, @udecode/plate-common@workspace:^, @udecode/plate-common@workspace:packages/common": version: 0.0.0-use.local resolution: "@udecode/plate-common@workspace:packages/common" dependencies: - "@udecode/plate-core": "npm:24.0.2" - "@udecode/plate-utils": "npm:24.2.0" - "@udecode/slate": "npm:23.7.4" - "@udecode/slate-react": "npm:24.0.0" - "@udecode/slate-utils": "npm:24.2.0" - "@udecode/utils": "npm:19.7.1" + "@udecode/plate-core": "npm:24.3.0" + "@udecode/plate-utils": "npm:24.3.0" + "@udecode/slate": "npm:24.3.0" + "@udecode/slate-react": "npm:24.3.0" + "@udecode/slate-utils": "npm:24.3.0" + "@udecode/utils": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-core@npm:24.0.2, @udecode/plate-core@workspace:^, @udecode/plate-core@workspace:packages/core": +"@udecode/plate-core@npm:24.3.0, @udecode/plate-core@workspace:^, @udecode/plate-core@workspace:packages/core": version: 0.0.0-use.local resolution: "@udecode/plate-core@workspace:packages/core" dependencies: - "@udecode/slate": "npm:23.7.4" - "@udecode/slate-react": "npm:24.0.0" - "@udecode/utils": "npm:19.7.1" + "@udecode/slate": "npm:24.3.0" + "@udecode/slate-react": "npm:24.3.0" + "@udecode/slate-utils": "npm:24.3.0" + "@udecode/utils": "npm:24.3.0" "@udecode/zustood": "npm:^1.1.3" clsx: "npm:^1.2.1" is-hotkey: "npm:^0.2.0" @@ -7275,6 +7290,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7283,12 +7299,13 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-cursor@workspace:packages/cursor" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7297,7 +7314,8 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-dnd@workspace:packages/dnd" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" raf: "npm:^3.4.1" peerDependencies: react: ">=16.8.0" @@ -7306,6 +7324,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7315,13 +7334,14 @@ __metadata: resolution: "@udecode/plate-emoji@workspace:packages/emoji" dependencies: "@emoji-mart/data": "npm:^1.1.2" - "@udecode/plate-combobox": "npm:24.2.0" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-combobox": "npm:24.3.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7331,128 +7351,140 @@ __metadata: resolution: "@udecode/plate-excalidraw@workspace:packages/excalidraw" dependencies: "@excalidraw/excalidraw": "npm:0.12.0" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-find-replace@npm:24.2.0, @udecode/plate-find-replace@workspace:^, @udecode/plate-find-replace@workspace:packages/find-replace": +"@udecode/plate-find-replace@npm:24.3.0, @udecode/plate-find-replace@workspace:^, @udecode/plate-find-replace@workspace:packages/find-replace": version: 0.0.0-use.local resolution: "@udecode/plate-find-replace@workspace:packages/find-replace" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-floating@npm:24.2.0, @udecode/plate-floating@workspace:^, @udecode/plate-floating@workspace:packages/floating": +"@udecode/plate-floating@npm:24.3.0, @udecode/plate-floating@workspace:^, @udecode/plate-floating@workspace:packages/floating": version: 0.0.0-use.local resolution: "@udecode/plate-floating@workspace:packages/floating" dependencies: + "@floating-ui/core": "npm:^1.3.1" "@floating-ui/react": "npm:^0.22.3" "@radix-ui/react-dropdown-menu": "npm:^2.0.5" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-font@npm:24.2.0, @udecode/plate-font@workspace:^, @udecode/plate-font@workspace:packages/font": +"@udecode/plate-font@npm:24.3.0, @udecode/plate-font@workspace:^, @udecode/plate-font@workspace:packages/font": version: 0.0.0-use.local resolution: "@udecode/plate-font@workspace:packages/font" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-heading@npm:24.2.0, @udecode/plate-heading@workspace:^, @udecode/plate-heading@workspace:packages/heading": +"@udecode/plate-heading@npm:24.3.0, @udecode/plate-heading@workspace:^, @udecode/plate-heading@workspace:packages/heading": version: 0.0.0-use.local resolution: "@udecode/plate-heading@workspace:packages/heading" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-highlight@npm:24.2.0, @udecode/plate-highlight@workspace:^, @udecode/plate-highlight@workspace:packages/highlight": +"@udecode/plate-highlight@npm:24.3.0, @udecode/plate-highlight@workspace:^, @udecode/plate-highlight@workspace:packages/highlight": version: 0.0.0-use.local resolution: "@udecode/plate-highlight@workspace:packages/highlight" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-horizontal-rule@npm:24.2.0, @udecode/plate-horizontal-rule@workspace:^, @udecode/plate-horizontal-rule@workspace:packages/horizontal-rule": +"@udecode/plate-horizontal-rule@npm:24.3.0, @udecode/plate-horizontal-rule@workspace:^, @udecode/plate-horizontal-rule@workspace:packages/horizontal-rule": version: 0.0.0-use.local resolution: "@udecode/plate-horizontal-rule@workspace:packages/horizontal-rule" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-indent-list@npm:24.2.0, @udecode/plate-indent-list@workspace:^, @udecode/plate-indent-list@workspace:packages/indent-list": +"@udecode/plate-indent-list@npm:24.3.0, @udecode/plate-indent-list@workspace:^, @udecode/plate-indent-list@workspace:packages/indent-list": version: 0.0.0-use.local resolution: "@udecode/plate-indent-list@workspace:packages/indent-list" dependencies: - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-indent": "npm:24.2.0" - "@udecode/plate-list": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-indent": "npm:24.3.0" + "@udecode/plate-list": "npm:24.3.0" + clsx: "npm:^1.2.1" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-indent@npm:24.2.0, @udecode/plate-indent@workspace:^, @udecode/plate-indent@workspace:packages/indent": +"@udecode/plate-indent@npm:24.3.0, @udecode/plate-indent@workspace:^, @udecode/plate-indent@workspace:packages/indent": version: 0.0.0-use.local resolution: "@udecode/plate-indent@workspace:packages/indent" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7461,186 +7493,202 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-juice@workspace:packages/juice" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" juice: "npm:^8.1.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-kbd@npm:24.2.0, @udecode/plate-kbd@workspace:^, @udecode/plate-kbd@workspace:packages/kbd": +"@udecode/plate-kbd@npm:24.3.0, @udecode/plate-kbd@workspace:^, @udecode/plate-kbd@workspace:packages/kbd": version: 0.0.0-use.local resolution: "@udecode/plate-kbd@workspace:packages/kbd" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-line-height@npm:24.2.0, @udecode/plate-line-height@workspace:^, @udecode/plate-line-height@workspace:packages/line-height": +"@udecode/plate-line-height@npm:24.3.0, @udecode/plate-line-height@workspace:^, @udecode/plate-line-height@workspace:packages/line-height": version: 0.0.0-use.local resolution: "@udecode/plate-line-height@workspace:packages/line-height" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-link@npm:24.2.0, @udecode/plate-link@workspace:^, @udecode/plate-link@workspace:packages/link": +"@udecode/plate-link@npm:24.3.0, @udecode/plate-link@workspace:^, @udecode/plate-link@workspace:packages/link": version: 0.0.0-use.local resolution: "@udecode/plate-link@workspace:packages/link" dependencies: - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-floating": "npm:24.2.0" - "@udecode/plate-normalizers": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-floating": "npm:24.3.0" + "@udecode/plate-normalizers": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-list@npm:24.2.0, @udecode/plate-list@workspace:^, @udecode/plate-list@workspace:packages/list": +"@udecode/plate-list@npm:24.3.0, @udecode/plate-list@workspace:^, @udecode/plate-list@workspace:packages/list": version: 0.0.0-use.local resolution: "@udecode/plate-list@workspace:packages/list" dependencies: - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-reset-node": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-reset-node": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-media@npm:24.2.0, @udecode/plate-media@workspace:^, @udecode/plate-media@workspace:packages/media": +"@udecode/plate-media@npm:24.3.0, @udecode/plate-media@workspace:^, @udecode/plate-media@workspace:packages/media": version: 0.0.0-use.local resolution: "@udecode/plate-media@workspace:packages/media" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" js-video-url-parser: "npm:^0.5.1" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-mention@npm:24.2.0, @udecode/plate-mention@workspace:^, @udecode/plate-mention@workspace:packages/mention": +"@udecode/plate-mention@npm:24.3.0, @udecode/plate-mention@workspace:^, @udecode/plate-mention@workspace:packages/mention": version: 0.0.0-use.local resolution: "@udecode/plate-mention@workspace:packages/mention" dependencies: - "@udecode/plate-combobox": "npm:24.2.0" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-combobox": "npm:24.3.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-node-id@npm:24.2.0, @udecode/plate-node-id@workspace:^, @udecode/plate-node-id@workspace:packages/node-id": +"@udecode/plate-node-id@npm:24.3.0, @udecode/plate-node-id@workspace:^, @udecode/plate-node-id@workspace:packages/node-id": version: 0.0.0-use.local resolution: "@udecode/plate-node-id@workspace:packages/node-id" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-normalizers@npm:24.2.0, @udecode/plate-normalizers@workspace:^, @udecode/plate-normalizers@workspace:packages/normalizers": +"@udecode/plate-normalizers@npm:24.3.0, @udecode/plate-normalizers@workspace:^, @udecode/plate-normalizers@workspace:packages/normalizers": version: 0.0.0-use.local resolution: "@udecode/plate-normalizers@workspace:packages/normalizers" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-paragraph@npm:24.2.0, @udecode/plate-paragraph@workspace:^, @udecode/plate-paragraph@workspace:packages/paragraph": +"@udecode/plate-paragraph@npm:24.3.0, @udecode/plate-paragraph@workspace:^, @udecode/plate-paragraph@workspace:packages/paragraph": version: 0.0.0-use.local resolution: "@udecode/plate-paragraph@workspace:packages/paragraph" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-reset-node@npm:24.2.0, @udecode/plate-reset-node@workspace:^, @udecode/plate-reset-node@workspace:packages/reset-node": +"@udecode/plate-reset-node@npm:24.3.0, @udecode/plate-reset-node@workspace:^, @udecode/plate-reset-node@workspace:packages/reset-node": version: 0.0.0-use.local resolution: "@udecode/plate-reset-node@workspace:packages/reset-node" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-resizable@npm:24.2.0, @udecode/plate-resizable@workspace:^, @udecode/plate-resizable@workspace:packages/resizable": +"@udecode/plate-resizable@npm:24.3.0, @udecode/plate-resizable@workspace:^, @udecode/plate-resizable@workspace:packages/resizable": version: 0.0.0-use.local resolution: "@udecode/plate-resizable@workspace:packages/resizable" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-select@npm:24.2.0, @udecode/plate-select@workspace:^, @udecode/plate-select@workspace:packages/select": +"@udecode/plate-select@npm:24.3.0, @udecode/plate-select@workspace:^, @udecode/plate-select@workspace:packages/select": version: 0.0.0-use.local resolution: "@udecode/plate-select@workspace:packages/select" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7649,7 +7697,7 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-selection@workspace:packages/selection" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" "@viselect/vanilla": "npm:3.2.5" copy-to-clipboard: "npm:^3.3.3" peerDependencies: @@ -7657,17 +7705,18 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-serializer-csv@npm:24.2.0, @udecode/plate-serializer-csv@workspace:^, @udecode/plate-serializer-csv@workspace:packages/serializer-csv": +"@udecode/plate-serializer-csv@npm:24.3.0, @udecode/plate-serializer-csv@workspace:^, @udecode/plate-serializer-csv@workspace:packages/serializer-csv": version: 0.0.0-use.local resolution: "@udecode/plate-serializer-csv@workspace:packages/serializer-csv" dependencies: "@types/papaparse": "npm:^5.3.7" - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-table": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-table": "npm:24.3.0" papaparse: "npm:^5.4.1" peerDependencies: react: ">=16.8.0" @@ -7679,17 +7728,17 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-docx@npm:24.2.0, @udecode/plate-serializer-docx@workspace:^, @udecode/plate-serializer-docx@workspace:packages/serializer-docx": +"@udecode/plate-serializer-docx@npm:24.3.0, @udecode/plate-serializer-docx@workspace:^, @udecode/plate-serializer-docx@workspace:packages/serializer-docx": version: 0.0.0-use.local resolution: "@udecode/plate-serializer-docx@workspace:packages/serializer-docx" dependencies: - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-heading": "npm:24.2.0" - "@udecode/plate-indent": "npm:24.2.0" - "@udecode/plate-indent-list": "npm:24.2.0" - "@udecode/plate-media": "npm:24.2.0" - "@udecode/plate-paragraph": "npm:24.2.0" - "@udecode/plate-table": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-heading": "npm:24.3.0" + "@udecode/plate-indent": "npm:24.3.0" + "@udecode/plate-indent-list": "npm:24.3.0" + "@udecode/plate-media": "npm:24.3.0" + "@udecode/plate-paragraph": "npm:24.3.0" + "@udecode/plate-table": "npm:24.3.0" validator: "npm:^13.9.0" peerDependencies: react: ">=16.8.0" @@ -7701,12 +7750,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-html@npm:24.2.0, @udecode/plate-serializer-html@workspace:^, @udecode/plate-serializer-html@workspace:packages/serializer-html": +"@udecode/plate-serializer-html@npm:24.3.0, @udecode/plate-serializer-html@workspace:^, @udecode/plate-serializer-html@workspace:packages/serializer-html": version: 0.0.0-use.local resolution: "@udecode/plate-serializer-html@workspace:packages/serializer-html" dependencies: "@types/papaparse": "npm:^5.3.7" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" html-entities: "npm:^2.4.0" peerDependencies: react: ">=16.8.0" @@ -7718,17 +7767,20 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-md@npm:24.2.0, @udecode/plate-serializer-md@workspace:^, @udecode/plate-serializer-md@workspace:packages/serializer-md": +"@udecode/plate-serializer-md@npm:24.3.0, @udecode/plate-serializer-md@workspace:^, @udecode/plate-serializer-md@workspace:packages/serializer-md": version: 0.0.0-use.local resolution: "@udecode/plate-serializer-md@workspace:packages/serializer-md" dependencies: - "@udecode/plate-block-quote": "npm:24.2.0" - "@udecode/plate-code-block": "npm:24.2.0" - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-heading": "npm:24.2.0" - "@udecode/plate-link": "npm:24.2.0" - "@udecode/plate-list": "npm:24.2.0" - "@udecode/plate-paragraph": "npm:24.2.0" + "@udecode/plate-basic-marks": "npm:24.3.0" + "@udecode/plate-block-quote": "npm:24.3.0" + "@udecode/plate-code-block": "npm:24.3.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-heading": "npm:24.3.0" + "@udecode/plate-horizontal-rule": "npm:24.3.0" + "@udecode/plate-link": "npm:24.3.0" + "@udecode/plate-list": "npm:24.3.0" + "@udecode/plate-media": "npm:24.3.0" + "@udecode/plate-paragraph": "npm:24.3.0" remark-parse: "npm:^9.0.0" unified: "npm:^9.2.2" peerDependencies: @@ -7736,45 +7788,49 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-suggestion@npm:24.2.0, @udecode/plate-suggestion@workspace:^, @udecode/plate-suggestion@workspace:packages/suggestion": +"@udecode/plate-suggestion@npm:24.3.0, @udecode/plate-suggestion@workspace:^, @udecode/plate-suggestion@workspace:packages/suggestion": version: 0.0.0-use.local resolution: "@udecode/plate-suggestion@workspace:packages/suggestion" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-tabbable@npm:24.2.0, @udecode/plate-tabbable@workspace:^, @udecode/plate-tabbable@workspace:packages/tabbable": +"@udecode/plate-tabbable@npm:24.3.0, @udecode/plate-tabbable@workspace:^, @udecode/plate-tabbable@workspace:packages/tabbable": version: 0.0.0-use.local resolution: "@udecode/plate-tabbable@workspace:packages/tabbable" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" tabbable: "npm:^6.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft -"@udecode/plate-table@npm:24.2.0, @udecode/plate-table@workspace:^, @udecode/plate-table@workspace:packages/table": +"@udecode/plate-table@npm:24.3.0, @udecode/plate-table@workspace:^, @udecode/plate-table@workspace:packages/table": version: 0.0.0-use.local resolution: "@udecode/plate-table@workspace:packages/table" dependencies: - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-resizable": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-resizable": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7793,16 +7849,17 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-trailing-block@npm:24.2.0, @udecode/plate-trailing-block@workspace:^, @udecode/plate-trailing-block@workspace:packages/trailing-block": +"@udecode/plate-trailing-block@npm:24.3.0, @udecode/plate-trailing-block@workspace:^, @udecode/plate-trailing-block@workspace:packages/trailing-block": version: 0.0.0-use.local resolution: "@udecode/plate-trailing-block@workspace:packages/trailing-block" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7836,21 +7893,24 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-utils@npm:24.2.0, @udecode/plate-utils@workspace:^, @udecode/plate-utils@workspace:packages/plate-utils": +"@udecode/plate-utils@npm:24.3.0, @udecode/plate-utils@workspace:^, @udecode/plate-utils@workspace:packages/plate-utils": version: 0.0.0-use.local resolution: "@udecode/plate-utils@workspace:packages/plate-utils" dependencies: "@radix-ui/react-slot": "npm:^1.0.2" - "@udecode/plate-core": "npm:24.0.2" - "@udecode/slate": "npm:23.7.4" - "@udecode/slate-react": "npm:24.0.0" - "@udecode/slate-utils": "npm:24.2.0" - "@udecode/utils": "npm:19.7.1" + "@udecode/plate-core": "npm:24.3.0" + "@udecode/slate": "npm:24.3.0" + "@udecode/slate-react": "npm:24.3.0" + "@udecode/slate-utils": "npm:24.3.0" + "@udecode/utils": "npm:24.3.0" + clsx: "npm:^1.2.1" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7861,13 +7921,14 @@ __metadata: dependencies: "@hocuspocus/provider": "npm:^2.2.1" "@slate-yjs/core": "npm:^1.0.1" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" yjs: "npm:^13.5.42" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7876,44 +7937,44 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate@workspace:packages/plate" dependencies: - "@udecode/plate-alignment": "npm:24.2.0" - "@udecode/plate-autoformat": "npm:24.2.0" - "@udecode/plate-basic-elements": "npm:24.2.0" - "@udecode/plate-basic-marks": "npm:24.2.0" - "@udecode/plate-block-quote": "npm:24.2.0" - "@udecode/plate-break": "npm:24.2.0" - "@udecode/plate-code-block": "npm:24.2.0" - "@udecode/plate-combobox": "npm:24.2.0" - "@udecode/plate-comments": "npm:24.2.0" - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-find-replace": "npm:24.2.0" - "@udecode/plate-floating": "npm:24.2.0" - "@udecode/plate-font": "npm:24.2.0" - "@udecode/plate-heading": "npm:24.2.0" - "@udecode/plate-highlight": "npm:24.2.0" - "@udecode/plate-horizontal-rule": "npm:24.2.0" - "@udecode/plate-indent": "npm:24.2.0" - "@udecode/plate-indent-list": "npm:24.2.0" - "@udecode/plate-kbd": "npm:24.2.0" - "@udecode/plate-line-height": "npm:24.2.0" - "@udecode/plate-link": "npm:24.2.0" - "@udecode/plate-list": "npm:24.2.0" - "@udecode/plate-media": "npm:24.2.0" - "@udecode/plate-mention": "npm:24.2.0" - "@udecode/plate-node-id": "npm:24.2.0" - "@udecode/plate-normalizers": "npm:24.2.0" - "@udecode/plate-paragraph": "npm:24.2.0" - "@udecode/plate-reset-node": "npm:24.2.0" - "@udecode/plate-resizable": "npm:24.2.0" - "@udecode/plate-select": "npm:24.2.0" - "@udecode/plate-serializer-csv": "npm:24.2.0" - "@udecode/plate-serializer-docx": "npm:24.2.0" - "@udecode/plate-serializer-html": "npm:24.2.0" - "@udecode/plate-serializer-md": "npm:24.2.0" - "@udecode/plate-suggestion": "npm:24.2.0" - "@udecode/plate-tabbable": "npm:24.2.0" - "@udecode/plate-table": "npm:24.2.0" - "@udecode/plate-trailing-block": "npm:24.2.0" + "@udecode/plate-alignment": "npm:24.3.0" + "@udecode/plate-autoformat": "npm:24.3.0" + "@udecode/plate-basic-elements": "npm:24.3.0" + "@udecode/plate-basic-marks": "npm:24.3.0" + "@udecode/plate-block-quote": "npm:24.3.0" + "@udecode/plate-break": "npm:24.3.0" + "@udecode/plate-code-block": "npm:24.3.0" + "@udecode/plate-combobox": "npm:24.3.0" + "@udecode/plate-comments": "npm:24.3.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-find-replace": "npm:24.3.0" + "@udecode/plate-floating": "npm:24.3.0" + "@udecode/plate-font": "npm:24.3.0" + "@udecode/plate-heading": "npm:24.3.0" + "@udecode/plate-highlight": "npm:24.3.0" + "@udecode/plate-horizontal-rule": "npm:24.3.0" + "@udecode/plate-indent": "npm:24.3.0" + "@udecode/plate-indent-list": "npm:24.3.0" + "@udecode/plate-kbd": "npm:24.3.0" + "@udecode/plate-line-height": "npm:24.3.0" + "@udecode/plate-link": "npm:24.3.0" + "@udecode/plate-list": "npm:24.3.0" + "@udecode/plate-media": "npm:24.3.0" + "@udecode/plate-mention": "npm:24.3.0" + "@udecode/plate-node-id": "npm:24.3.0" + "@udecode/plate-normalizers": "npm:24.3.0" + "@udecode/plate-paragraph": "npm:24.3.0" + "@udecode/plate-reset-node": "npm:24.3.0" + "@udecode/plate-resizable": "npm:24.3.0" + "@udecode/plate-select": "npm:24.3.0" + "@udecode/plate-serializer-csv": "npm:24.3.0" + "@udecode/plate-serializer-docx": "npm:24.3.0" + "@udecode/plate-serializer-html": "npm:24.3.0" + "@udecode/plate-serializer-md": "npm:24.3.0" + "@udecode/plate-suggestion": "npm:24.3.0" + "@udecode/plate-tabbable": "npm:24.3.0" + "@udecode/plate-table": "npm:24.3.0" + "@udecode/plate-trailing-block": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7924,12 +7985,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/slate-react@npm:24.0.0, @udecode/slate-react@workspace:^, @udecode/slate-react@workspace:packages/slate-react": +"@udecode/slate-react@npm:24.3.0, @udecode/slate-react@workspace:^, @udecode/slate-react@workspace:packages/slate-react": version: 0.0.0-use.local resolution: "@udecode/slate-react@workspace:packages/slate-react" dependencies: - "@udecode/slate": "npm:23.7.4" - "@udecode/utils": "npm:19.7.1" + "@udecode/slate": "npm:24.3.0" + "@udecode/utils": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7939,12 +8000,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/slate-utils@npm:24.2.0, @udecode/slate-utils@workspace:^, @udecode/slate-utils@workspace:packages/slate-utils": +"@udecode/slate-utils@npm:24.3.0, @udecode/slate-utils@workspace:^, @udecode/slate-utils@workspace:packages/slate-utils": version: 0.0.0-use.local resolution: "@udecode/slate-utils@workspace:packages/slate-utils" dependencies: - "@udecode/slate": "npm:23.7.4" - "@udecode/utils": "npm:19.7.1" + "@udecode/slate": "npm:24.3.0" + "@udecode/utils": "npm:24.3.0" lodash: "npm:^4.17.21" peerDependencies: slate: ">=0.94.0" @@ -7952,18 +8013,18 @@ __metadata: languageName: unknown linkType: soft -"@udecode/slate@npm:23.7.4, @udecode/slate@workspace:^, @udecode/slate@workspace:packages/slate": +"@udecode/slate@npm:24.3.0, @udecode/slate@workspace:^, @udecode/slate@workspace:packages/slate": version: 0.0.0-use.local resolution: "@udecode/slate@workspace:packages/slate" dependencies: - "@udecode/utils": "npm:19.7.1" + "@udecode/utils": "npm:24.3.0" peerDependencies: slate: ">=0.94.0" slate-history: ">=0.93.0" languageName: unknown linkType: soft -"@udecode/utils@npm:19.7.1, @udecode/utils@workspace:^, @udecode/utils@workspace:packages/utils": +"@udecode/utils@npm:24.3.0, @udecode/utils@workspace:^, @udecode/utils@workspace:packages/utils": version: 0.0.0-use.local resolution: "@udecode/utils@workspace:packages/utils" languageName: unknown