@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.
@@ -1,4 +1,4 @@
1
- import { W as Editor, Xt as EditorEmittedEvent, q as Behavior } from "../_chunks-dts/index.js";
1
+ import { W as Editor, Xt as EditorEmittedEvent, q as Behavior } from "../_chunks-dts/behavior.types.action.js";
2
2
  import React from "react";
3
3
  /**
4
4
  * @beta
@@ -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/index.js";
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
@@ -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/index.js";
2
- import * as _portabletext_schema15 from "@portabletext/schema";
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<_portabletext_schema15.PortableTextObject | _portabletext_schema15.PortableTextSpan>;
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.15",
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.21.1",
66
- "@sanity/types": "^4.21.1",
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.24.0",
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/schema": "^2.1.0"
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",