@portabletext/editor 1.18.5 → 1.18.7
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/lib/index.d.cts +16 -8
- package/lib/index.d.ts +16 -8
- package/package.json +6 -6
package/lib/index.d.cts
CHANGED
|
@@ -50,11 +50,14 @@ import {
|
|
|
50
50
|
AnyActorLogic,
|
|
51
51
|
AnyActorRef,
|
|
52
52
|
AnyEventObject,
|
|
53
|
+
ConditionalRequired,
|
|
53
54
|
EventObject,
|
|
54
55
|
InputFrom,
|
|
56
|
+
IsNotNever,
|
|
55
57
|
MachineSnapshot,
|
|
56
58
|
MetaObject,
|
|
57
59
|
NonReducibleUnknown,
|
|
60
|
+
RequiredLogicInput,
|
|
58
61
|
Snapshot,
|
|
59
62
|
StateMachine,
|
|
60
63
|
StateValue,
|
|
@@ -943,14 +946,19 @@ export declare const editorMachine: StateMachine<
|
|
|
943
946
|
): ActorRefFromLogic<never>
|
|
944
947
|
<TLogic extends AnyActorLogic>(
|
|
945
948
|
src: TLogic,
|
|
946
|
-
options
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
949
|
+
...[options]: ConditionalRequired<
|
|
950
|
+
[
|
|
951
|
+
options?:
|
|
952
|
+
| ({
|
|
953
|
+
id?: never
|
|
954
|
+
systemId?: string
|
|
955
|
+
input?: InputFrom<TLogic> | undefined
|
|
956
|
+
syncSnapshot?: boolean
|
|
957
|
+
} & {[K in RequiredLogicInput<TLogic>]: unknown})
|
|
958
|
+
| undefined,
|
|
959
|
+
],
|
|
960
|
+
IsNotNever<RequiredLogicInput<TLogic>>
|
|
961
|
+
>
|
|
954
962
|
): ActorRefFromLogic<TLogic>
|
|
955
963
|
}
|
|
956
964
|
input: {
|
package/lib/index.d.ts
CHANGED
|
@@ -50,11 +50,14 @@ import {
|
|
|
50
50
|
AnyActorLogic,
|
|
51
51
|
AnyActorRef,
|
|
52
52
|
AnyEventObject,
|
|
53
|
+
ConditionalRequired,
|
|
53
54
|
EventObject,
|
|
54
55
|
InputFrom,
|
|
56
|
+
IsNotNever,
|
|
55
57
|
MachineSnapshot,
|
|
56
58
|
MetaObject,
|
|
57
59
|
NonReducibleUnknown,
|
|
60
|
+
RequiredLogicInput,
|
|
58
61
|
Snapshot,
|
|
59
62
|
StateMachine,
|
|
60
63
|
StateValue,
|
|
@@ -943,14 +946,19 @@ export declare const editorMachine: StateMachine<
|
|
|
943
946
|
): ActorRefFromLogic<never>
|
|
944
947
|
<TLogic extends AnyActorLogic>(
|
|
945
948
|
src: TLogic,
|
|
946
|
-
options
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
949
|
+
...[options]: ConditionalRequired<
|
|
950
|
+
[
|
|
951
|
+
options?:
|
|
952
|
+
| ({
|
|
953
|
+
id?: never
|
|
954
|
+
systemId?: string
|
|
955
|
+
input?: InputFrom<TLogic> | undefined
|
|
956
|
+
syncSnapshot?: boolean
|
|
957
|
+
} & {[K in RequiredLogicInput<TLogic>]: unknown})
|
|
958
|
+
| undefined,
|
|
959
|
+
],
|
|
960
|
+
IsNotNever<RequiredLogicInput<TLogic>>
|
|
961
|
+
>
|
|
954
962
|
): ActorRefFromLogic<TLogic>
|
|
955
963
|
}
|
|
956
964
|
input: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portabletext/editor",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.7",
|
|
4
4
|
"description": "Portable Text Editor made in React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
],
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@portabletext/patches": "1.1.1",
|
|
59
|
-
"@xstate/react": "^5.0.
|
|
59
|
+
"@xstate/react": "^5.0.1",
|
|
60
60
|
"debug": "^4.3.4",
|
|
61
61
|
"get-random-values-esm": "^1.0.2",
|
|
62
62
|
"lodash": "^4.17.21",
|
|
63
63
|
"lodash.startcase": "^4.4.0",
|
|
64
|
-
"react-compiler-runtime": "19.0.0-beta-
|
|
64
|
+
"react-compiler-runtime": "19.0.0-beta-55955c9-20241229",
|
|
65
65
|
"slate": "0.112.0",
|
|
66
66
|
"slate-dom": "^0.111.0",
|
|
67
67
|
"slate-react": "0.112.0",
|
|
68
68
|
"use-effect-event": "^1.0.2",
|
|
69
|
-
"xstate": "^5.19.
|
|
69
|
+
"xstate": "^5.19.1"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@portabletext/toolkit": "^2.0.16",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"@vitejs/plugin-react": "^4.3.4",
|
|
88
88
|
"@vitest/browser": "^2.1.8",
|
|
89
89
|
"@vitest/coverage-istanbul": "^2.1.8",
|
|
90
|
-
"babel-plugin-react-compiler": "19.0.0-beta-
|
|
90
|
+
"babel-plugin-react-compiler": "19.0.0-beta-55955c9-20241229",
|
|
91
91
|
"eslint": "8.57.1",
|
|
92
|
-
"eslint-plugin-react-compiler": "19.0.0-beta-
|
|
92
|
+
"eslint-plugin-react-compiler": "19.0.0-beta-55955c9-20241229",
|
|
93
93
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
94
94
|
"jsdom": "^25.0.1",
|
|
95
95
|
"react": "^19.0.0",
|