@portabletext/editor 3.3.15 → 3.3.17
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/_chunks-dts/behavior.types.action.d.ts +2069 -0
- package/lib/behaviors/index.d.ts +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +14 -8
- package/lib/index.js.map +1 -1
- package/lib/plugins/index.d.ts +1 -1
- package/lib/selectors/index.d.ts +1 -1
- package/lib/utils/index.d.ts +3 -3
- package/package.json +8 -8
- package/lib/_chunks-dts/index.d.ts +0 -3520
package/lib/plugins/index.d.ts
CHANGED
package/lib/selectors/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as EditorSelector, F as BlockOffset, dt as EditorSelection, en as BlockPath, ft as EditorSelectionPoint, nn as KeyedSegment, tn as ChildPath } from "../_chunks-dts/
|
|
1
|
+
import { B as EditorSelector, F as BlockOffset, dt as EditorSelection, en as BlockPath, ft as EditorSelectionPoint, nn as KeyedSegment, tn as ChildPath } from "../_chunks-dts/behavior.types.action.js";
|
|
2
2
|
import { PortableTextBlock, PortableTextListBlock, PortableTextObject, PortableTextSpan, PortableTextTextBlock } from "@portabletext/schema";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as BlockOffset, X as EditorContext, dt as EditorSelection, en as BlockPath, ft as EditorSelectionPoint, nn as KeyedSegment, tn as ChildPath } from "../_chunks-dts/
|
|
2
|
-
import * as
|
|
1
|
+
import { F as BlockOffset, X as EditorContext, dt as EditorSelection, en as BlockPath, ft as EditorSelectionPoint, nn as KeyedSegment, tn as ChildPath } from "../_chunks-dts/behavior.types.action.js";
|
|
2
|
+
import * as _portabletext_schema9 from "@portabletext/schema";
|
|
3
3
|
import { PortableTextBlock, PortableTextTextBlock, isSpan, isTextBlock } from "@portabletext/schema";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
@@ -142,7 +142,7 @@ declare function mergeTextBlocks({
|
|
|
142
142
|
context: Pick<EditorContext, 'keyGenerator' | 'schema'>;
|
|
143
143
|
targetBlock: PortableTextTextBlock;
|
|
144
144
|
incomingBlock: PortableTextTextBlock;
|
|
145
|
-
}): PortableTextTextBlock<
|
|
145
|
+
}): PortableTextTextBlock<_portabletext_schema9.PortableTextObject | _portabletext_schema9.PortableTextSpan>;
|
|
146
146
|
/**
|
|
147
147
|
* @public
|
|
148
148
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portabletext/editor",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.17",
|
|
4
4
|
"description": "Portable Text Editor made in React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -62,20 +62,20 @@
|
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@portabletext/to-html": "^5.0.0",
|
|
65
|
-
"@sanity/schema": "^4.
|
|
66
|
-
"@sanity/types": "^4.
|
|
65
|
+
"@sanity/schema": "^4.22.0",
|
|
66
|
+
"@sanity/types": "^4.22.0",
|
|
67
67
|
"@xstate/react": "^6.0.0",
|
|
68
68
|
"debug": "^4.4.3",
|
|
69
69
|
"react-compiler-runtime": "^1.0.0",
|
|
70
70
|
"slate": "^0.120.0",
|
|
71
71
|
"slate-dom": "^0.119.0",
|
|
72
72
|
"slate-react": "^0.120.0",
|
|
73
|
-
"xstate": "^5.
|
|
74
|
-
"@portabletext/block-tools": "^4.1.11",
|
|
75
|
-
"@portabletext/keyboard-shortcuts": "^2.1.1",
|
|
76
|
-
"@portabletext/markdown": "^1.1.0",
|
|
73
|
+
"xstate": "^5.25.0",
|
|
77
74
|
"@portabletext/patches": "^2.0.2",
|
|
78
|
-
"@portabletext/
|
|
75
|
+
"@portabletext/keyboard-shortcuts": "^2.1.1",
|
|
76
|
+
"@portabletext/block-tools": "^4.1.11",
|
|
77
|
+
"@portabletext/schema": "^2.1.0",
|
|
78
|
+
"@portabletext/markdown": "^1.1.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@sanity/diff-match-patch": "^3.2.0",
|