@yoopta/editor 4.0.0-rc.22 → 4.0.0-rc.23
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/YooptaEditor.d.ts +3 -2
- package/dist/YooptaEditor.d.ts.map +1 -1
- package/dist/components/Editor/Editor.d.ts +3 -2
- package/dist/components/Editor/Editor.d.ts.map +1 -1
- package/dist/components/SelectionBox/SelectionBox.d.ts +1 -1
- package/dist/components/SelectionBox/SelectionBox.d.ts.map +1 -1
- package/dist/editor/selection/setBlockSelected.d.ts +2 -2
- package/dist/editor/selection/setBlockSelected.d.ts.map +1 -1
- package/dist/editor/types.d.ts +2 -3
- package/dist/editor/types.d.ts.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/dist/plugins/SlateEditorComponent.d.ts.map +1 -1
- package/dist/plugins/createYooptaPlugin.d.ts +1 -1
- package/dist/plugins/createYooptaPlugin.d.ts.map +1 -1
- package/dist/utils/generateId.d.ts.map +1 -1
- package/package.json +2 -3
|
@@ -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,EAA+E,MAAM,EAAE,MAAM,SAAS,CAAC;AAa9G,KAAK,KAAK,CAAC,KAAK,SAAS,MAAM,EAAE,MAAM,EAAE,QAAQ,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,GAAG;IACrF,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,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,EAA+E,MAAM,EAAE,MAAM,SAAS,CAAC;AAa9G,KAAK,KAAK,CAAC,KAAK,SAAS,MAAM,EAAE,MAAM,EAAE,QAAQ,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,GAAG;IACrF,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAgBF,QAAA,MAAM,oBAAoB,2LAkNzB,CAAC;AAwEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -6,7 +6,7 @@ export type ExtendPluginRender<TKeys extends string> = {
|
|
|
6
6
|
};
|
|
7
7
|
export type ExtendPlugin<TKeys extends string, TOptions> = {
|
|
8
8
|
renders?: ExtendPluginRender<TKeys>;
|
|
9
|
-
options?: PluginOptions<TOptions
|
|
9
|
+
options?: Partial<PluginOptions<TOptions>>;
|
|
10
10
|
};
|
|
11
11
|
export declare class YooptaPlugin<TKeys extends string = string, TProps = Descendant, TOptions = Record<string, unknown>> {
|
|
12
12
|
private readonly plugin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createYooptaPlugin.d.ts","sourceRoot":"","sources":["../../src/plugins/createYooptaPlugin.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,wBAAwB,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,C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CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC;CAuB3F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateId.d.ts","sourceRoot":"","sources":["../../src/utils/generateId.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generateId.d.ts","sourceRoot":"","sources":["../../src/utils/generateId.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU,cAKtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yoopta/editor",
|
|
3
|
-
"version": "4.0.0-rc.
|
|
3
|
+
"version": "4.0.0-rc.23",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"immer": "^10.0.3",
|
|
20
20
|
"is-hotkey": "^0.2.0",
|
|
21
21
|
"lodash.clonedeep": "^4.5.0",
|
|
22
|
-
"nanoid": "^4.0.1",
|
|
23
22
|
"slate-history": "^0.100.0"
|
|
24
23
|
},
|
|
25
24
|
"peerDependencies": {
|
|
@@ -67,5 +66,5 @@
|
|
|
67
66
|
"url": "https://github.com/Darginec05/Yoopta-Editor/issues"
|
|
68
67
|
},
|
|
69
68
|
"homepage": "https://github.com/Darginec05/Yoopta-Editor#readme",
|
|
70
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "daa226c7a3570b330c6f196f6a19729d72785733"
|
|
71
70
|
}
|