@kition/kit-editor 0.1.0 → 0.2.0
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.
|
@@ -72,6 +72,12 @@ export declare class ReplicaModel {
|
|
|
72
72
|
changes: null;
|
|
73
73
|
unavailable: string;
|
|
74
74
|
};
|
|
75
|
+
checkpointForPremises(): {
|
|
76
|
+
document: string;
|
|
77
|
+
version: Uint8Array<ArrayBufferLike>;
|
|
78
|
+
state: unknown;
|
|
79
|
+
};
|
|
80
|
+
changesForPremises(before: ReturnType<ReplicaModel['checkpointForPremises']>): StateDiff;
|
|
75
81
|
/** What merging a draft's `changes` would change in the document now, without merging them. */
|
|
76
82
|
compare(changes: Uint8Array, schema: object | null | undefined): StateDiff;
|
|
77
83
|
/** Undoes the last script step when it comes before the engine's own; answers whether it did. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kition/kit-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Build a kit's embedded editor: host connection, document session, engine canvas and tools, and shared components styled by the host's theme (Kit UI protocol).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@kition/kit-engine": "^0.
|
|
22
|
+
"@kition/kit-engine": "^0.2.0",
|
|
23
23
|
"@kition/tessera-ui": "^0.1.0",
|
|
24
24
|
"@kition/tessera-icons": "^0.1.0",
|
|
25
25
|
"@kition/tessera-tokens": "^0.1.0",
|
|
26
|
-
"@kition/kdm": "0.
|
|
27
|
-
"@kition/kit-ui-protocol": "0.
|
|
26
|
+
"@kition/kdm": "0.2.0",
|
|
27
|
+
"@kition/kit-ui-protocol": "0.2.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"react": ">=19",
|