@yoopta/editor 4.8.5-rc.8 → 4.8.5-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.
- package/dist/components/Block/Block.d.ts +2 -1
- package/dist/components/Block/Block.d.ts.map +1 -1
- package/dist/components/Block/FloatingBlockActions.d.ts +14 -0
- package/dist/components/Block/FloatingBlockActions.d.ts.map +1 -0
- package/dist/components/Block/hooks.d.ts +1676 -0
- package/dist/components/Block/hooks.d.ts.map +1 -1
- package/dist/components/Editor/RenderBlocks.d.ts.map +1 -1
- package/dist/editor/blocks/focusBlock.d.ts +1 -1
- package/dist/editor/blocks/focusBlock.d.ts.map +1 -1
- package/dist/editor/types.d.ts +23 -19
- package/dist/editor/types.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/plugins/SlateEditorComponent.d.ts.map +1 -1
- package/dist/utils/editorBuilders.d.ts.map +1 -1
- package/dist/utils/throttle.d.ts +8 -0
- package/dist/utils/throttle.d.ts.map +1 -0
- package/package.json +2 -2
- package/dist/components/Block/BlockActions.d.ts +0 -11
- package/dist/components/Block/BlockActions.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlateEditorComponent.d.ts","sourceRoot":"","sources":["../../src/plugins/SlateEditorComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAoD,MAAM,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAQjG,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,KAAK,KAAK,CAAC,WAAW,SAAS,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,EAAE,QAAQ,IAAI,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG;IACvG,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAgBF,QAAA,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"SlateEditorComponent.d.ts","sourceRoot":"","sources":["../../src/plugins/SlateEditorComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAoD,MAAM,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAQjG,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,KAAK,KAAK,CAAC,WAAW,SAAS,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,EAAE,QAAQ,IAAI,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG;IACvG,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAgBF,QAAA,MAAM,oBAAoB,sPA8NzB,CAAC;AAoEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editorBuilders.d.ts","sourceRoot":"","sources":["../../src/utils/editorBuilders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAmB,MAAM,iBAAiB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAqB,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,U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0 +1,8 @@
|
|
|
1
|
+
export type ThrottleOptions = {
|
|
2
|
+
leading?: boolean;
|
|
3
|
+
trailing?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare function throttle<T extends (...args: any[]) => any>(func: T, wait: number, { leading, trailing }?: ThrottleOptions): T & {
|
|
6
|
+
cancel: () => void;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=throttle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"throttle.d.ts","sourceRoot":"","sources":["../../src/utils/throttle.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACxD,IAAI,EAAE,CAAC,EACP,IAAI,EAAE,MAAM,EACZ,EAAE,OAAc,EAAE,QAAe,EAAE,GAAE,eAAoB,GACxD,CAAC,GAAG;IAAE,MAAM,EAAE,MAAM,IAAI,CAAA;CAAE,CA+C5B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yoopta/editor",
|
|
3
|
-
"version": "4.8.5-rc.
|
|
3
|
+
"version": "4.8.5-rc.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"url": "https://github.com/Darginec05/Yoopta-Editor/issues"
|
|
67
67
|
},
|
|
68
68
|
"homepage": "https://github.com/Darginec05/Yoopta-Editor#readme",
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "4010a83593531918416fb38f331408064713e91b"
|
|
70
70
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { YooEditor, YooptaBlockData } from '../../editor/types';
|
|
2
|
-
type ActionsProps = {
|
|
3
|
-
block: YooptaBlockData;
|
|
4
|
-
editor: YooEditor;
|
|
5
|
-
dragHandleProps: any;
|
|
6
|
-
showActions: boolean;
|
|
7
|
-
onChangeActiveBlock: (id: string) => void;
|
|
8
|
-
};
|
|
9
|
-
declare const BlockActions: ({ block, editor, dragHandleProps, onChangeActiveBlock, showActions }: ActionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export { BlockActions };
|
|
11
|
-
//# sourceMappingURL=BlockActions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockActions.d.ts","sourceRoot":"","sources":["../../../src/components/Block/BlockActions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAc,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAkB5E,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,eAAe,CAAC;IACvB,MAAM,EAAE,SAAS,CAAC;IAClB,eAAe,EAAE,GAAG,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,QAAA,MAAM,YAAY,yEAA0E,YAAY,4CAkIvG,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|