@yoopta/editor 4.0.0-rc.8 → 4.0.0-rc.9

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.
Files changed (30) hide show
  1. package/dist/UI/BlockOptions/BlockOptions.d.ts +5 -5
  2. package/dist/UI/BlockOptions/BlockOptions.d.ts.map +1 -1
  3. package/dist/UI/ExtendedBlockActions/ExtendedBlockActions.d.ts +1 -1
  4. package/dist/UI/ExtendedBlockActions/ExtendedBlockActions.d.ts.map +1 -1
  5. package/dist/UI/index.d.ts +6 -6
  6. package/dist/YooptaEditor.d.ts +2 -2
  7. package/dist/YooptaEditor.d.ts.map +1 -1
  8. package/dist/components/Block/Block.d.ts +1 -2
  9. package/dist/components/Block/Block.d.ts.map +1 -1
  10. package/dist/components/Block/BlockActions.d.ts +1 -2
  11. package/dist/components/Block/BlockActions.d.ts.map +1 -1
  12. package/dist/components/Editor/Editor.d.ts +1 -1
  13. package/dist/components/Editor/Editor.d.ts.map +1 -1
  14. package/dist/components/Editor/RenderBlocks.d.ts +1 -2
  15. package/dist/components/Editor/RenderBlocks.d.ts.map +1 -1
  16. package/dist/components/SelectionBox/SelectionBox.d.ts +1 -1
  17. package/dist/components/SelectionBox/SelectionBox.d.ts.map +1 -1
  18. package/dist/components/TextLeaf/TextLeaf.d.ts +1 -2
  19. package/dist/components/TextLeaf/TextLeaf.d.ts.map +1 -1
  20. package/dist/contexts/UltraYooptaContext/ToolsContext.d.ts +1 -1
  21. package/dist/contexts/UltraYooptaContext/ToolsContext.d.ts.map +1 -1
  22. package/dist/contexts/UltraYooptaContext/UltraYooptaContext.d.ts +1 -1
  23. package/dist/contexts/UltraYooptaContext/UltraYooptaContext.d.ts.map +1 -1
  24. package/dist/editor/transforms/deleteBlock.d.ts.map +1 -1
  25. package/dist/index.js +3 -3
  26. package/dist/index.js.map +1 -0
  27. package/dist/plugins/SlateEditorComponent.d.ts +1 -2
  28. package/dist/plugins/SlateEditorComponent.d.ts.map +1 -1
  29. package/dist/utils/editorBuilders.d.ts.map +1 -1
  30. package/package.json +5 -5
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { YooptaMark } from '../marks';
3
2
  import { PluginParams } from './types';
4
3
  type Props<TKeys extends string, TProps, TOptions> = PluginParams<TKeys, TProps, TOptions> & {
@@ -7,6 +6,6 @@ type Props<TKeys extends string, TProps, TOptions> = PluginParams<TKeys, TProps,
7
6
  options: PluginParams<TKeys, TProps, TOptions>['options'];
8
7
  placeholder?: string;
9
8
  };
10
- declare const SlateEditorComponent: <TKeys extends string, TProps, TOptions>({ id, customEditor, elements, marks, events, options, placeholder, }: Props<TKeys, TProps, TOptions>) => JSX.Element;
9
+ declare const SlateEditorComponent: <TKeys extends string, TProps, TOptions>({ id, customEditor, elements, marks, events, options, placeholder, }: Props<TKeys, TProps, TOptions>) => import("react/jsx-runtime").JSX.Element;
11
10
  export { SlateEditorComponent };
12
11
  //# sourceMappingURL=SlateEditorComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SlateEditorComponent.d.ts","sourceRoot":"","sources":["../../src/plugins/SlateEditorComponent.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,EAIL,YAAY,EAEb,MAAM,SAAS,CAAC;AAcjB,KAAK,KAAK,CAAC,KAAK,SAAS,MAAM,EAAE,MAAM,EAAE,QAAQ,IAAI,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,GAAG;IAC3F,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;IAC1B,OAAO,EAAE,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAgBF,QAAA,MAAM,oBAAoB,+JAgLzB,CAAC;AA+EF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
1
+ {"version":3,"file":"SlateEditorComponent.d.ts","sourceRoot":"","sources":["../../src/plugins/SlateEditorComponent.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,EAIL,YAAY,EAEb,MAAM,SAAS,CAAC;AAcjB,KAAK,KAAK,CAAC,KAAK,SAAS,MAAM,EAAE,MAAM,EAAE,QAAQ,IAAI,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,GAAG;IAC3F,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;IAC1B,OAAO,EAAE,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAgBF,QAAA,MAAM,oBAAoB,2LAgLzB,CAAC;AAkFF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"editorBuilders.d.ts","sourceRoot":"","sources":["../../src/utils/editorBuilders.ts"],"names":[],"mappings":"AAEA,OAAO,EAAgB,MAAM,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAmB,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAoC,MAAM,kBAAkB,CAAC;AACjG,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AActC,wBAAgB,UAAU,CAAC,MAAM,KAAA,EAAE,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,2CAgB1D;AAED,wBAAgB,WAAW,CAAC,MAAM,KAAA,EAAE,OAAO,EAAE,YAAY,CAAC,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,EAAE,0CAoD1F;AAED,wBAAgB,sBAAsB,CAAC,M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
  "name": "@yoopta/editor",
3
- "version": "4.0.0-rc.8",
3
+ "version": "4.0.0-rc.9",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "type": "module",
@@ -22,9 +22,9 @@
22
22
  "lodash.clonedeep": "^4.5.0",
23
23
  "nanoid": "^4.0.1",
24
24
  "react-error-boundary": "^4.0.13",
25
- "slate": ">=0.99.0",
26
- "slate-history": "^0.66.0",
27
- "slate-react": ">=0.99.0"
25
+ "slate": "^0.102.0",
26
+ "slate-history": "^0.100.0",
27
+ "slate-react": "^0.102.0"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": ">=17.0.2",
@@ -69,5 +69,5 @@
69
69
  "url": "https://github.com/Darginec05/Yoopta-Editor/issues"
70
70
  },
71
71
  "homepage": "https://github.com/Darginec05/Yoopta-Editor#readme",
72
- "gitHead": "b455dda008a2f7d20bd00783765131668a6a7537"
72
+ "gitHead": "08b263f1b00f0691fa90158dfe5e4521e83c9278"
73
73
  }