@lofcz/platejs-core 52.3.4 → 52.3.6

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,11 +1,11 @@
1
- import { $i as ResetOptions, Ct as NodeComponents, Di as SlatePlugin, Et as PluginConfig, F as RenderLeafProps, I as RenderElementFn, J as BaseEditor, Ji as Descendant$1, L as RenderElementProps, M as RenderTextFn, Mr as ScrollMode, N as RenderTextProps, Nr as WithAutoScrollOptions, Oi as SlatePluginConfig, Ot as WithAnyKey, P as RenderLeafFn, Q as SlateEditor, Qi as Path$1, R as RenderChunkFn, St as NodeComponent, Tt as ParserOptions, U as BaseWithSlateOptions, Va as HandlerReturnType, Vr as InitOptions, Xi as NodeOperation$1, Y as InferPlugins, Yi as NodeEntry$1, Zi as Operation$1, _t as InferOptions, aa as TextOperation$1, at as BasePluginContext, bt as MatchRules, ct as BaseTransformOptions, ea as ScrollIntoViewOptions$1, et as AnyPluginConfig, gt as InferKey, ht as InferApi, ia as TText$1, it as BasePlugin, j as EditableProps, ja as PlateStaticProps, jr as DomConfig, ki as SlatePluginContext, kr as AutoScrollOperationsMap, kt as WithRequiredKey, mt as GetInjectNodePropsReturnType, na as TRange$1, nr as CorePluginApi, nt as BaseHtmlDeserializer, oa as Value$1, pt as GetInjectNodePropsOptions, ra as TSelection$1, ri as AnySlatePlugin, rr as CorePluginTransforms, rt as BaseInjectProps, sa as createStaticEditor, si as ExtendEditor$1, st as BaseSerializer, ta as TElement$1, tr as CorePlugin, tt as BaseDeserializer, vt as InferSelectors, yt as InferTransforms, z as RenderChunkProps, zr as InsertExitBreakOptions } from "../index-NTp--CEF";
2
- import * as _platejs_slate0 from "@platejs/slate";
1
+ import { Ai as SlatePlugin, Ct as NodeComponents, Et as PluginConfig, F as RenderLeafProps, Fr as ScrollMode, Hr as InsertExitBreakOptions, I as RenderElementFn, Ir as WithAutoScrollOptions, J as BaseEditor, L as RenderElementProps, M as RenderTextFn, Mi as SlatePluginContext, Mr as AutoScrollOperationsMap, N as RenderTextProps, Ot as WithAnyKey, P as RenderLeafFn, Pr as DomConfig, Q as SlateEditor, R as RenderChunkFn, St as NodeComponent, Tt as ParserOptions, U as BaseWithSlateOptions, Wr as InitOptions, Y as InferPlugins, Zi as createStaticEditor, _t as InferOptions, ar as CorePluginApi, at as BasePluginContext, bt as MatchRules, ct as BaseTransformOptions, et as AnyPluginConfig, gt as InferKey, ht as InferApi, ir as CorePlugin, it as BasePlugin, j as EditableProps, ja as HandlerReturnType, ji as SlatePluginConfig, kt as WithRequiredKey, mt as GetInjectNodePropsReturnType, nt as BaseHtmlDeserializer, oi as AnySlatePlugin, or as CorePluginTransforms, pt as GetInjectNodePropsOptions, rt as BaseInjectProps, st as BaseSerializer, tt as BaseDeserializer, ui as ExtendEditor$1, vt as InferSelectors, xa as PlateStaticProps, yt as InferTransforms, z as RenderChunkProps } from "../index-CLvWpTKx";
2
+ import * as _platejs_slate3 from "@platejs/slate";
3
3
  import { DecoratedRange, Descendant, DescendantIn, Editor, EditorApi, EditorTransforms, ElementEntry, NodeEntry, NodeOperation, Operation, Path, TElement, TNode, TRange, TSelection, TText, TextOperation, Value, ValueOf } from "@platejs/slate";
4
4
  import { AnyObject, Deep2Partial, Modify, Nullable, UnionToIntersection, UnknownObject } from "@udecode/utils";
5
5
  import { DefaultPlaceholder, Editable, RenderPlaceholderProps, Slate, useComposing, useFocused, useReadOnly, useSelected, useSlateStatic, withReact } from "slate-react";
6
6
  import React$1, { HTMLAttributes } from "react";
7
7
  import { HotkeysEvent, HotkeysOptions, Keys } from "@udecode/react-hotkeys";
8
- import * as jotai_x98 from "jotai-x";
8
+ import * as jotai_x2 from "jotai-x";
9
9
  import { JotaiStore, createAtomStore, useStoreAtomState, useStoreAtomValue, useStoreSetAtom } from "jotai-x";
10
10
  import * as jotai10 from "jotai";
11
11
  import { Atom, atom } from "jotai";
@@ -16,30 +16,30 @@ import { TCreatedStoreType, TEqualityChecker, createZustandStore, useStoreSelect
16
16
  declare const SlateReactExtensionPlugin: PlatePlugin<PluginConfig<"slateExtension", {
17
17
  onNodeChange: (options: {
18
18
  editor: SlateEditor;
19
- node: Descendant$1;
20
- operation: NodeOperation$1;
21
- prevNode: Descendant$1;
19
+ node: _platejs_slate3.Descendant;
20
+ operation: _platejs_slate3.NodeOperation;
21
+ prevNode: _platejs_slate3.Descendant;
22
22
  }) => void;
23
23
  onTextChange: (options: {
24
24
  editor: SlateEditor;
25
- node: Descendant$1;
26
- operation: TextOperation$1;
25
+ node: _platejs_slate3.Descendant;
26
+ operation: _platejs_slate3.TextOperation;
27
27
  prevText: string;
28
28
  text: string;
29
29
  }) => void;
30
30
  }, {
31
- redecorate: () => void;
31
+ redecorate: (() => void) & (() => void);
32
32
  }, {
33
- reset: (options: ResetOptions | undefined) => void;
33
+ reset: (options: _platejs_slate3.ResetOptions | undefined) => void;
34
34
  init: ((args_0: InitOptions) => void) & ((args_0: InitOptions) => void);
35
35
  insertExitBreak: ((args_0?: InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: InsertExitBreakOptions | undefined) => true | undefined);
36
36
  resetBlock: ((args_0?: {
37
- at?: Path$1;
37
+ at?: _platejs_slate3.Path;
38
38
  } | undefined) => true | undefined) & ((args_0?: {
39
- at?: Path$1;
39
+ at?: _platejs_slate3.Path;
40
40
  } | undefined) => true | undefined);
41
- setValue: ((value?: string | Value$1 | undefined) => void) & ((value?: string | Value$1 | undefined) => void);
42
- apply: <N$1 extends TElement$1 | TText$1>(operation: Operation$1<N$1>) => void;
41
+ setValue: ((value?: string | _platejs_slate3.Value | undefined) => void) & ((value?: string | _platejs_slate3.Value | undefined) => void);
42
+ apply: <N$1 extends _platejs_slate3.TElement | _platejs_slate3.TText>(operation: _platejs_slate3.Operation<N$1>) => void;
43
43
  }, {}>>;
44
44
  //#endregion
45
45
  //#region src/react/plugins/event-editor/EventEditorPlugin.d.ts
@@ -92,7 +92,7 @@ declare const ParagraphPlugin: PlatePlugin<PluginConfig<"p", {}, {}, {}, {}>>;
92
92
  declare const ReactPlugin: PlatePlugin<PluginConfig<"dom", {
93
93
  scrollMode?: ScrollMode;
94
94
  scrollOperations?: AutoScrollOperationsMap;
95
- scrollOptions?: ScrollIntoViewOptions$1;
95
+ scrollOptions?: _platejs_slate3.ScrollIntoViewOptions;
96
96
  }, {
97
97
  isScrolling: () => boolean;
98
98
  }, {
@@ -792,37 +792,37 @@ declare const createPlatePlugin: <K$1 extends string = any, O = {}, A$1 = {}, T
792
792
  declare function createTPlatePlugin<C extends AnyPluginConfig = PluginConfig>(config?: ((editor: PlateEditor) => TPlatePluginConfig<C>) | TPlatePluginConfig<C>): PlatePlugin<C>;
793
793
  //#endregion
794
794
  //#region src/react/editor/getPlateCorePlugins.d.ts
795
- declare const getPlateCorePlugins: () => (PlatePlugin<PluginConfig<"eventEditor", {}, {}, {}, {}>> | PlatePlugin<PluginConfig<"slateExtension", {
795
+ declare const getPlateCorePlugins: () => (PlatePlugin<PluginConfig<"slateExtension", {
796
796
  onNodeChange: (options: {
797
797
  editor: SlateEditor;
798
- node: Descendant$1;
799
- operation: NodeOperation$1;
800
- prevNode: Descendant$1;
798
+ node: _platejs_slate3.Descendant;
799
+ operation: _platejs_slate3.NodeOperation;
800
+ prevNode: _platejs_slate3.Descendant;
801
801
  }) => void;
802
802
  onTextChange: (options: {
803
803
  editor: SlateEditor;
804
- node: Descendant$1;
805
- operation: TextOperation$1;
804
+ node: _platejs_slate3.Descendant;
805
+ operation: _platejs_slate3.TextOperation;
806
806
  prevText: string;
807
807
  text: string;
808
808
  }) => void;
809
809
  }, {
810
- redecorate: () => void;
810
+ redecorate: (() => void) & (() => void);
811
811
  }, {
812
- reset: (options: ResetOptions | undefined) => void;
812
+ reset: (options: _platejs_slate3.ResetOptions | undefined) => void;
813
813
  init: ((args_0: InitOptions) => void) & ((args_0: InitOptions) => void);
814
814
  insertExitBreak: ((args_0?: InsertExitBreakOptions | undefined) => true | undefined) & ((args_0?: InsertExitBreakOptions | undefined) => true | undefined);
815
815
  resetBlock: ((args_0?: {
816
- at?: Path$1;
816
+ at?: _platejs_slate3.Path;
817
817
  } | undefined) => true | undefined) & ((args_0?: {
818
- at?: Path$1;
818
+ at?: _platejs_slate3.Path;
819
819
  } | undefined) => true | undefined);
820
- setValue: ((value?: string | Value$1 | undefined) => void) & ((value?: string | Value$1 | undefined) => void);
821
- apply: <N$1 extends TElement$1 | TText$1>(operation: Operation$1<N$1>) => void;
822
- }, {}>> | PlatePlugin<PluginConfig<"dom", {
820
+ setValue: ((value?: string | _platejs_slate3.Value | undefined) => void) & ((value?: string | _platejs_slate3.Value | undefined) => void);
821
+ apply: <N$1 extends _platejs_slate3.TElement | _platejs_slate3.TText>(operation: _platejs_slate3.Operation<N$1>) => void;
822
+ }, {}>> | PlatePlugin<PluginConfig<"eventEditor", {}, {}, {}, {}>> | PlatePlugin<PluginConfig<"dom", {
823
823
  scrollMode?: ScrollMode;
824
824
  scrollOperations?: AutoScrollOperationsMap;
825
- scrollOptions?: ScrollIntoViewOptions$1;
825
+ scrollOptions?: _platejs_slate3.ScrollIntoViewOptions;
826
826
  }, {
827
827
  isScrolling: () => boolean;
828
828
  }, {
@@ -1049,11 +1049,11 @@ type ElementStoreState = {
1049
1049
  entry: ElementEntry;
1050
1050
  path: Path;
1051
1051
  };
1052
- declare const ElementProvider: React$1.FC<jotai_x98.ProviderProps<{
1052
+ declare const ElementProvider: React$1.FC<jotai_x2.ProviderProps<{
1053
1053
  element: TElement;
1054
1054
  entry: ElementEntry;
1055
1055
  path: Path;
1056
- }>>, elementStore: jotai_x98.StoreApi<ElementStoreState, object, "element">, useElementStore: jotai_x98.UseStoreApi<ElementStoreState, object>;
1056
+ }>>, elementStore: jotai_x2.StoreApi<ElementStoreState, object, "element">, useElementStore: jotai_x2.UseStoreApi<ElementStoreState, object>;
1057
1057
  //#endregion
1058
1058
  //#region src/react/stores/element/usePath.d.ts
1059
1059
  /** Get the memoized path of the closest element. */
@@ -1178,7 +1178,7 @@ declare const createPlateStore: <E extends PlateEditor = PlateEditor>({
1178
1178
  onTextChange,
1179
1179
  onValueChange,
1180
1180
  ...state
1181
- }?: Partial<PlateStoreState<E>>) => jotai_x98.AtomStoreApi<PlateStoreState<E>, {
1181
+ }?: Partial<PlateStoreState<E>>) => jotai_x2.AtomStoreApi<PlateStoreState<E>, {
1182
1182
  trackedEditor: jotai10.Atom<{
1183
1183
  editor: any;
1184
1184
  version: number | null;
@@ -1192,12 +1192,12 @@ declare const createPlateStore: <E extends PlateEditor = PlateEditor>({
1192
1192
  version: number | null;
1193
1193
  }>;
1194
1194
  }, "plate">;
1195
- declare const PlateStoreProvider: React$1.FC<jotai_x98.ProviderProps<{
1195
+ declare const PlateStoreProvider: React$1.FC<jotai_x2.ProviderProps<{
1196
1196
  composing: boolean | null;
1197
1197
  decorate: ((options: {
1198
1198
  editor: PlateEditor;
1199
- entry: NodeEntry$1;
1200
- }) => TRange$1[]) | null;
1199
+ entry: _platejs_slate3.NodeEntry;
1200
+ }) => _platejs_slate3.TRange[]) | null;
1201
1201
  isMounted: boolean | null;
1202
1202
  primary: boolean | null;
1203
1203
  readOnly: boolean | null;
@@ -1211,34 +1211,34 @@ declare const PlateStoreProvider: React$1.FC<jotai_x98.ProviderProps<{
1211
1211
  versionValue: number | null;
1212
1212
  onChange: ((options: {
1213
1213
  editor: PlateEditor;
1214
- value: Value$1;
1214
+ value: _platejs_slate3.Value;
1215
1215
  }) => void) | null;
1216
1216
  onNodeChange: ((options: {
1217
1217
  editor: PlateEditor;
1218
- node: Descendant$1;
1219
- operation: NodeOperation$1;
1220
- prevNode: Descendant$1;
1218
+ node: _platejs_slate3.Descendant;
1219
+ operation: _platejs_slate3.NodeOperation;
1220
+ prevNode: _platejs_slate3.Descendant;
1221
1221
  }) => void) | null;
1222
1222
  onSelectionChange: ((options: {
1223
1223
  editor: PlateEditor;
1224
- selection: TSelection$1;
1224
+ selection: _platejs_slate3.TSelection;
1225
1225
  }) => void) | null;
1226
1226
  onTextChange: ((options: {
1227
1227
  editor: PlateEditor;
1228
- node: Descendant$1;
1229
- operation: TextOperation$1;
1228
+ node: _platejs_slate3.Descendant;
1229
+ operation: _platejs_slate3.TextOperation;
1230
1230
  prevText: string;
1231
1231
  text: string;
1232
1232
  }) => void) | null;
1233
1233
  onValueChange: ((options: {
1234
1234
  editor: PlateEditor;
1235
- value: Value$1;
1235
+ value: _platejs_slate3.Value;
1236
1236
  }) => void) | null;
1237
1237
  id: string;
1238
1238
  containerRef: React$1.RefObject<HTMLDivElement | null>;
1239
1239
  editor: PlateEditor;
1240
1240
  scrollRef: React$1.RefObject<HTMLDivElement | null>;
1241
- }>>, plateStore: jotai_x98.StoreApi<PlateStoreState<PlateEditor>, {
1241
+ }>>, plateStore: jotai_x2.StoreApi<PlateStoreState<PlateEditor>, {
1242
1242
  trackedEditor: jotai10.Atom<{
1243
1243
  editor: any;
1244
1244
  version: number | null;
@@ -1251,52 +1251,52 @@ declare const PlateStoreProvider: React$1.FC<jotai_x98.ProviderProps<{
1251
1251
  value: any;
1252
1252
  version: number | null;
1253
1253
  }>;
1254
- }, "plate">, usePlateLocalSet: <K$1 extends "decorate" | "renderElement" | "renderLeaf" | "editor" | "id" | "onChange" | "renderText" | "readOnly" | "composing" | "isMounted" | "primary" | "renderChunk" | "versionDecorate" | "versionEditor" | "versionSelection" | "versionValue" | "onNodeChange" | "onSelectionChange" | "onTextChange" | "onValueChange" | "containerRef" | "scrollRef" | "trackedEditor" | "trackedSelection" | "trackedValue">(key: K$1, options?: string | jotai_x98.UseAtomOptions) => ({
1255
- composing: jotai_x98.SimpleWritableAtom<boolean | null>;
1256
- decorate: jotai_x98.SimpleWritableAtom<((options: {
1254
+ }, "plate">, usePlateLocalSet: <K$1 extends "renderLeaf" | "renderElement" | "decorate" | "editor" | "id" | "onChange" | "renderText" | "readOnly" | "composing" | "isMounted" | "primary" | "renderChunk" | "versionDecorate" | "versionEditor" | "versionSelection" | "versionValue" | "onNodeChange" | "onSelectionChange" | "onTextChange" | "onValueChange" | "containerRef" | "scrollRef" | "trackedEditor" | "trackedSelection" | "trackedValue">(key: K$1, options?: string | jotai_x2.UseAtomOptions) => ({
1255
+ composing: jotai_x2.SimpleWritableAtom<boolean | null>;
1256
+ decorate: jotai_x2.SimpleWritableAtom<((options: {
1257
1257
  editor: PlateEditor;
1258
- entry: NodeEntry$1;
1259
- }) => TRange$1[]) | null>;
1260
- isMounted: jotai_x98.SimpleWritableAtom<boolean | null>;
1261
- primary: jotai_x98.SimpleWritableAtom<boolean | null>;
1262
- readOnly: jotai_x98.SimpleWritableAtom<boolean | null>;
1263
- renderChunk: jotai_x98.SimpleWritableAtom<RenderChunkFn | null>;
1264
- renderElement: jotai_x98.SimpleWritableAtom<RenderElementFn | null>;
1265
- renderLeaf: jotai_x98.SimpleWritableAtom<RenderLeafFn | null>;
1266
- renderText: jotai_x98.SimpleWritableAtom<RenderTextFn | null>;
1267
- versionDecorate: jotai_x98.SimpleWritableAtom<number | null>;
1268
- versionEditor: jotai_x98.SimpleWritableAtom<number | null>;
1269
- versionSelection: jotai_x98.SimpleWritableAtom<number | null>;
1270
- versionValue: jotai_x98.SimpleWritableAtom<number | null>;
1271
- onChange: jotai_x98.SimpleWritableAtom<((options: {
1258
+ entry: _platejs_slate3.NodeEntry;
1259
+ }) => _platejs_slate3.TRange[]) | null>;
1260
+ isMounted: jotai_x2.SimpleWritableAtom<boolean | null>;
1261
+ primary: jotai_x2.SimpleWritableAtom<boolean | null>;
1262
+ readOnly: jotai_x2.SimpleWritableAtom<boolean | null>;
1263
+ renderChunk: jotai_x2.SimpleWritableAtom<RenderChunkFn | null>;
1264
+ renderElement: jotai_x2.SimpleWritableAtom<RenderElementFn | null>;
1265
+ renderLeaf: jotai_x2.SimpleWritableAtom<RenderLeafFn | null>;
1266
+ renderText: jotai_x2.SimpleWritableAtom<RenderTextFn | null>;
1267
+ versionDecorate: jotai_x2.SimpleWritableAtom<number | null>;
1268
+ versionEditor: jotai_x2.SimpleWritableAtom<number | null>;
1269
+ versionSelection: jotai_x2.SimpleWritableAtom<number | null>;
1270
+ versionValue: jotai_x2.SimpleWritableAtom<number | null>;
1271
+ onChange: jotai_x2.SimpleWritableAtom<((options: {
1272
1272
  editor: PlateEditor;
1273
- value: Value$1;
1273
+ value: _platejs_slate3.Value;
1274
1274
  }) => void) | null>;
1275
- onNodeChange: jotai_x98.SimpleWritableAtom<((options: {
1275
+ onNodeChange: jotai_x2.SimpleWritableAtom<((options: {
1276
1276
  editor: PlateEditor;
1277
- node: Descendant$1;
1278
- operation: NodeOperation$1;
1279
- prevNode: Descendant$1;
1277
+ node: _platejs_slate3.Descendant;
1278
+ operation: _platejs_slate3.NodeOperation;
1279
+ prevNode: _platejs_slate3.Descendant;
1280
1280
  }) => void) | null>;
1281
- onSelectionChange: jotai_x98.SimpleWritableAtom<((options: {
1281
+ onSelectionChange: jotai_x2.SimpleWritableAtom<((options: {
1282
1282
  editor: PlateEditor;
1283
- selection: TSelection$1;
1283
+ selection: _platejs_slate3.TSelection;
1284
1284
  }) => void) | null>;
1285
- onTextChange: jotai_x98.SimpleWritableAtom<((options: {
1285
+ onTextChange: jotai_x2.SimpleWritableAtom<((options: {
1286
1286
  editor: PlateEditor;
1287
- node: Descendant$1;
1288
- operation: TextOperation$1;
1287
+ node: _platejs_slate3.Descendant;
1288
+ operation: _platejs_slate3.TextOperation;
1289
1289
  prevText: string;
1290
1290
  text: string;
1291
1291
  }) => void) | null>;
1292
- onValueChange: jotai_x98.SimpleWritableAtom<((options: {
1292
+ onValueChange: jotai_x2.SimpleWritableAtom<((options: {
1293
1293
  editor: PlateEditor;
1294
- value: Value$1;
1294
+ value: _platejs_slate3.Value;
1295
1295
  }) => void) | null>;
1296
- id: jotai_x98.SimpleWritableAtom<string>;
1297
- containerRef: jotai_x98.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1298
- editor: jotai_x98.SimpleWritableAtom<PlateEditor>;
1299
- scrollRef: jotai_x98.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1296
+ id: jotai_x2.SimpleWritableAtom<string>;
1297
+ containerRef: jotai_x2.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1298
+ editor: jotai_x2.SimpleWritableAtom<PlateEditor>;
1299
+ scrollRef: jotai_x2.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1300
1300
  } & {
1301
1301
  trackedEditor: jotai10.Atom<{
1302
1302
  editor: any;
@@ -1310,52 +1310,52 @@ declare const PlateStoreProvider: React$1.FC<jotai_x98.ProviderProps<{
1310
1310
  value: any;
1311
1311
  version: number | null;
1312
1312
  }>;
1313
- })[K$1] extends jotai10.WritableAtom<infer _V, infer A extends unknown[], infer R> ? (...args: A) => R : never, usePlateLocalState: <K$1 extends "decorate" | "renderElement" | "renderLeaf" | "editor" | "id" | "onChange" | "renderText" | "readOnly" | "composing" | "isMounted" | "primary" | "renderChunk" | "versionDecorate" | "versionEditor" | "versionSelection" | "versionValue" | "onNodeChange" | "onSelectionChange" | "onTextChange" | "onValueChange" | "containerRef" | "scrollRef" | "trackedEditor" | "trackedSelection" | "trackedValue">(key: K$1, options?: string | jotai_x98.UseAtomOptions) => ({
1314
- composing: jotai_x98.SimpleWritableAtom<boolean | null>;
1315
- decorate: jotai_x98.SimpleWritableAtom<((options: {
1313
+ })[K$1] extends jotai10.WritableAtom<infer _V, infer A extends unknown[], infer R> ? (...args: A) => R : never, usePlateLocalState: <K$1 extends "renderLeaf" | "renderElement" | "decorate" | "editor" | "id" | "onChange" | "renderText" | "readOnly" | "composing" | "isMounted" | "primary" | "renderChunk" | "versionDecorate" | "versionEditor" | "versionSelection" | "versionValue" | "onNodeChange" | "onSelectionChange" | "onTextChange" | "onValueChange" | "containerRef" | "scrollRef" | "trackedEditor" | "trackedSelection" | "trackedValue">(key: K$1, options?: string | jotai_x2.UseAtomOptions) => ({
1314
+ composing: jotai_x2.SimpleWritableAtom<boolean | null>;
1315
+ decorate: jotai_x2.SimpleWritableAtom<((options: {
1316
1316
  editor: PlateEditor;
1317
- entry: NodeEntry$1;
1318
- }) => TRange$1[]) | null>;
1319
- isMounted: jotai_x98.SimpleWritableAtom<boolean | null>;
1320
- primary: jotai_x98.SimpleWritableAtom<boolean | null>;
1321
- readOnly: jotai_x98.SimpleWritableAtom<boolean | null>;
1322
- renderChunk: jotai_x98.SimpleWritableAtom<RenderChunkFn | null>;
1323
- renderElement: jotai_x98.SimpleWritableAtom<RenderElementFn | null>;
1324
- renderLeaf: jotai_x98.SimpleWritableAtom<RenderLeafFn | null>;
1325
- renderText: jotai_x98.SimpleWritableAtom<RenderTextFn | null>;
1326
- versionDecorate: jotai_x98.SimpleWritableAtom<number | null>;
1327
- versionEditor: jotai_x98.SimpleWritableAtom<number | null>;
1328
- versionSelection: jotai_x98.SimpleWritableAtom<number | null>;
1329
- versionValue: jotai_x98.SimpleWritableAtom<number | null>;
1330
- onChange: jotai_x98.SimpleWritableAtom<((options: {
1317
+ entry: _platejs_slate3.NodeEntry;
1318
+ }) => _platejs_slate3.TRange[]) | null>;
1319
+ isMounted: jotai_x2.SimpleWritableAtom<boolean | null>;
1320
+ primary: jotai_x2.SimpleWritableAtom<boolean | null>;
1321
+ readOnly: jotai_x2.SimpleWritableAtom<boolean | null>;
1322
+ renderChunk: jotai_x2.SimpleWritableAtom<RenderChunkFn | null>;
1323
+ renderElement: jotai_x2.SimpleWritableAtom<RenderElementFn | null>;
1324
+ renderLeaf: jotai_x2.SimpleWritableAtom<RenderLeafFn | null>;
1325
+ renderText: jotai_x2.SimpleWritableAtom<RenderTextFn | null>;
1326
+ versionDecorate: jotai_x2.SimpleWritableAtom<number | null>;
1327
+ versionEditor: jotai_x2.SimpleWritableAtom<number | null>;
1328
+ versionSelection: jotai_x2.SimpleWritableAtom<number | null>;
1329
+ versionValue: jotai_x2.SimpleWritableAtom<number | null>;
1330
+ onChange: jotai_x2.SimpleWritableAtom<((options: {
1331
1331
  editor: PlateEditor;
1332
- value: Value$1;
1332
+ value: _platejs_slate3.Value;
1333
1333
  }) => void) | null>;
1334
- onNodeChange: jotai_x98.SimpleWritableAtom<((options: {
1334
+ onNodeChange: jotai_x2.SimpleWritableAtom<((options: {
1335
1335
  editor: PlateEditor;
1336
- node: Descendant$1;
1337
- operation: NodeOperation$1;
1338
- prevNode: Descendant$1;
1336
+ node: _platejs_slate3.Descendant;
1337
+ operation: _platejs_slate3.NodeOperation;
1338
+ prevNode: _platejs_slate3.Descendant;
1339
1339
  }) => void) | null>;
1340
- onSelectionChange: jotai_x98.SimpleWritableAtom<((options: {
1340
+ onSelectionChange: jotai_x2.SimpleWritableAtom<((options: {
1341
1341
  editor: PlateEditor;
1342
- selection: TSelection$1;
1342
+ selection: _platejs_slate3.TSelection;
1343
1343
  }) => void) | null>;
1344
- onTextChange: jotai_x98.SimpleWritableAtom<((options: {
1344
+ onTextChange: jotai_x2.SimpleWritableAtom<((options: {
1345
1345
  editor: PlateEditor;
1346
- node: Descendant$1;
1347
- operation: TextOperation$1;
1346
+ node: _platejs_slate3.Descendant;
1347
+ operation: _platejs_slate3.TextOperation;
1348
1348
  prevText: string;
1349
1349
  text: string;
1350
1350
  }) => void) | null>;
1351
- onValueChange: jotai_x98.SimpleWritableAtom<((options: {
1351
+ onValueChange: jotai_x2.SimpleWritableAtom<((options: {
1352
1352
  editor: PlateEditor;
1353
- value: Value$1;
1353
+ value: _platejs_slate3.Value;
1354
1354
  }) => void) | null>;
1355
- id: jotai_x98.SimpleWritableAtom<string>;
1356
- containerRef: jotai_x98.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1357
- editor: jotai_x98.SimpleWritableAtom<PlateEditor>;
1358
- scrollRef: jotai_x98.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1355
+ id: jotai_x2.SimpleWritableAtom<string>;
1356
+ containerRef: jotai_x2.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1357
+ editor: jotai_x2.SimpleWritableAtom<PlateEditor>;
1358
+ scrollRef: jotai_x2.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1359
1359
  } & {
1360
1360
  trackedEditor: jotai10.Atom<{
1361
1361
  editor: any;
@@ -1369,7 +1369,7 @@ declare const PlateStoreProvider: React$1.FC<jotai_x98.ProviderProps<{
1369
1369
  value: any;
1370
1370
  version: number | null;
1371
1371
  }>;
1372
- })[K$1] extends jotai10.WritableAtom<infer V, infer A extends unknown[], infer R> ? [V, (...args: A) => R] : never, usePlateLocalStore: jotai_x98.UseStoreApi<PlateStoreState<PlateEditor>, {
1372
+ })[K$1] extends jotai10.WritableAtom<infer V, infer A extends unknown[], infer R> ? [V, (...args: A) => R] : never, usePlateLocalStore: jotai_x2.UseStoreApi<PlateStoreState<PlateEditor>, {
1373
1373
  trackedEditor: jotai10.Atom<{
1374
1374
  editor: any;
1375
1375
  version: number | null;
@@ -1382,52 +1382,52 @@ declare const PlateStoreProvider: React$1.FC<jotai_x98.ProviderProps<{
1382
1382
  value: any;
1383
1383
  version: number | null;
1384
1384
  }>;
1385
- }>, usePlateLocalValue: <K$1 extends "decorate" | "renderElement" | "renderLeaf" | "editor" | "id" | "onChange" | "renderText" | "readOnly" | "composing" | "isMounted" | "primary" | "renderChunk" | "versionDecorate" | "versionEditor" | "versionSelection" | "versionValue" | "onNodeChange" | "onSelectionChange" | "onTextChange" | "onValueChange" | "containerRef" | "scrollRef" | "trackedEditor" | "trackedSelection" | "trackedValue", S = (({
1386
- composing: jotai_x98.SimpleWritableAtom<boolean | null>;
1387
- decorate: jotai_x98.SimpleWritableAtom<((options: {
1385
+ }>, usePlateLocalValue: <K$1 extends "renderLeaf" | "renderElement" | "decorate" | "editor" | "id" | "onChange" | "renderText" | "readOnly" | "composing" | "isMounted" | "primary" | "renderChunk" | "versionDecorate" | "versionEditor" | "versionSelection" | "versionValue" | "onNodeChange" | "onSelectionChange" | "onTextChange" | "onValueChange" | "containerRef" | "scrollRef" | "trackedEditor" | "trackedSelection" | "trackedValue", S = (({
1386
+ composing: jotai_x2.SimpleWritableAtom<boolean | null>;
1387
+ decorate: jotai_x2.SimpleWritableAtom<((options: {
1388
1388
  editor: PlateEditor;
1389
- entry: NodeEntry$1;
1390
- }) => TRange$1[]) | null>;
1391
- isMounted: jotai_x98.SimpleWritableAtom<boolean | null>;
1392
- primary: jotai_x98.SimpleWritableAtom<boolean | null>;
1393
- readOnly: jotai_x98.SimpleWritableAtom<boolean | null>;
1394
- renderChunk: jotai_x98.SimpleWritableAtom<RenderChunkFn | null>;
1395
- renderElement: jotai_x98.SimpleWritableAtom<RenderElementFn | null>;
1396
- renderLeaf: jotai_x98.SimpleWritableAtom<RenderLeafFn | null>;
1397
- renderText: jotai_x98.SimpleWritableAtom<RenderTextFn | null>;
1398
- versionDecorate: jotai_x98.SimpleWritableAtom<number | null>;
1399
- versionEditor: jotai_x98.SimpleWritableAtom<number | null>;
1400
- versionSelection: jotai_x98.SimpleWritableAtom<number | null>;
1401
- versionValue: jotai_x98.SimpleWritableAtom<number | null>;
1402
- onChange: jotai_x98.SimpleWritableAtom<((options: {
1389
+ entry: _platejs_slate3.NodeEntry;
1390
+ }) => _platejs_slate3.TRange[]) | null>;
1391
+ isMounted: jotai_x2.SimpleWritableAtom<boolean | null>;
1392
+ primary: jotai_x2.SimpleWritableAtom<boolean | null>;
1393
+ readOnly: jotai_x2.SimpleWritableAtom<boolean | null>;
1394
+ renderChunk: jotai_x2.SimpleWritableAtom<RenderChunkFn | null>;
1395
+ renderElement: jotai_x2.SimpleWritableAtom<RenderElementFn | null>;
1396
+ renderLeaf: jotai_x2.SimpleWritableAtom<RenderLeafFn | null>;
1397
+ renderText: jotai_x2.SimpleWritableAtom<RenderTextFn | null>;
1398
+ versionDecorate: jotai_x2.SimpleWritableAtom<number | null>;
1399
+ versionEditor: jotai_x2.SimpleWritableAtom<number | null>;
1400
+ versionSelection: jotai_x2.SimpleWritableAtom<number | null>;
1401
+ versionValue: jotai_x2.SimpleWritableAtom<number | null>;
1402
+ onChange: jotai_x2.SimpleWritableAtom<((options: {
1403
1403
  editor: PlateEditor;
1404
- value: Value$1;
1404
+ value: _platejs_slate3.Value;
1405
1405
  }) => void) | null>;
1406
- onNodeChange: jotai_x98.SimpleWritableAtom<((options: {
1406
+ onNodeChange: jotai_x2.SimpleWritableAtom<((options: {
1407
1407
  editor: PlateEditor;
1408
- node: Descendant$1;
1409
- operation: NodeOperation$1;
1410
- prevNode: Descendant$1;
1408
+ node: _platejs_slate3.Descendant;
1409
+ operation: _platejs_slate3.NodeOperation;
1410
+ prevNode: _platejs_slate3.Descendant;
1411
1411
  }) => void) | null>;
1412
- onSelectionChange: jotai_x98.SimpleWritableAtom<((options: {
1412
+ onSelectionChange: jotai_x2.SimpleWritableAtom<((options: {
1413
1413
  editor: PlateEditor;
1414
- selection: TSelection$1;
1414
+ selection: _platejs_slate3.TSelection;
1415
1415
  }) => void) | null>;
1416
- onTextChange: jotai_x98.SimpleWritableAtom<((options: {
1416
+ onTextChange: jotai_x2.SimpleWritableAtom<((options: {
1417
1417
  editor: PlateEditor;
1418
- node: Descendant$1;
1419
- operation: TextOperation$1;
1418
+ node: _platejs_slate3.Descendant;
1419
+ operation: _platejs_slate3.TextOperation;
1420
1420
  prevText: string;
1421
1421
  text: string;
1422
1422
  }) => void) | null>;
1423
- onValueChange: jotai_x98.SimpleWritableAtom<((options: {
1423
+ onValueChange: jotai_x2.SimpleWritableAtom<((options: {
1424
1424
  editor: PlateEditor;
1425
- value: Value$1;
1425
+ value: _platejs_slate3.Value;
1426
1426
  }) => void) | null>;
1427
- id: jotai_x98.SimpleWritableAtom<string>;
1428
- containerRef: jotai_x98.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1429
- editor: jotai_x98.SimpleWritableAtom<PlateEditor>;
1430
- scrollRef: jotai_x98.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1427
+ id: jotai_x2.SimpleWritableAtom<string>;
1428
+ containerRef: jotai_x2.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1429
+ editor: jotai_x2.SimpleWritableAtom<PlateEditor>;
1430
+ scrollRef: jotai_x2.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1431
1431
  } & {
1432
1432
  trackedEditor: jotai10.Atom<{
1433
1433
  editor: any;
@@ -1443,51 +1443,51 @@ declare const PlateStoreProvider: React$1.FC<jotai_x98.ProviderProps<{
1443
1443
  }>;
1444
1444
  })[K$1] extends jotai10.Atom<infer V> ? V : never)>(key: K$1, options?: ({
1445
1445
  selector?: ((v: ({
1446
- composing: jotai_x98.SimpleWritableAtom<boolean | null>;
1447
- decorate: jotai_x98.SimpleWritableAtom<((options: {
1446
+ composing: jotai_x2.SimpleWritableAtom<boolean | null>;
1447
+ decorate: jotai_x2.SimpleWritableAtom<((options: {
1448
1448
  editor: PlateEditor;
1449
- entry: NodeEntry$1;
1450
- }) => TRange$1[]) | null>;
1451
- isMounted: jotai_x98.SimpleWritableAtom<boolean | null>;
1452
- primary: jotai_x98.SimpleWritableAtom<boolean | null>;
1453
- readOnly: jotai_x98.SimpleWritableAtom<boolean | null>;
1454
- renderChunk: jotai_x98.SimpleWritableAtom<RenderChunkFn | null>;
1455
- renderElement: jotai_x98.SimpleWritableAtom<RenderElementFn | null>;
1456
- renderLeaf: jotai_x98.SimpleWritableAtom<RenderLeafFn | null>;
1457
- renderText: jotai_x98.SimpleWritableAtom<RenderTextFn | null>;
1458
- versionDecorate: jotai_x98.SimpleWritableAtom<number | null>;
1459
- versionEditor: jotai_x98.SimpleWritableAtom<number | null>;
1460
- versionSelection: jotai_x98.SimpleWritableAtom<number | null>;
1461
- versionValue: jotai_x98.SimpleWritableAtom<number | null>;
1462
- onChange: jotai_x98.SimpleWritableAtom<((options: {
1449
+ entry: _platejs_slate3.NodeEntry;
1450
+ }) => _platejs_slate3.TRange[]) | null>;
1451
+ isMounted: jotai_x2.SimpleWritableAtom<boolean | null>;
1452
+ primary: jotai_x2.SimpleWritableAtom<boolean | null>;
1453
+ readOnly: jotai_x2.SimpleWritableAtom<boolean | null>;
1454
+ renderChunk: jotai_x2.SimpleWritableAtom<RenderChunkFn | null>;
1455
+ renderElement: jotai_x2.SimpleWritableAtom<RenderElementFn | null>;
1456
+ renderLeaf: jotai_x2.SimpleWritableAtom<RenderLeafFn | null>;
1457
+ renderText: jotai_x2.SimpleWritableAtom<RenderTextFn | null>;
1458
+ versionDecorate: jotai_x2.SimpleWritableAtom<number | null>;
1459
+ versionEditor: jotai_x2.SimpleWritableAtom<number | null>;
1460
+ versionSelection: jotai_x2.SimpleWritableAtom<number | null>;
1461
+ versionValue: jotai_x2.SimpleWritableAtom<number | null>;
1462
+ onChange: jotai_x2.SimpleWritableAtom<((options: {
1463
1463
  editor: PlateEditor;
1464
- value: Value$1;
1464
+ value: _platejs_slate3.Value;
1465
1465
  }) => void) | null>;
1466
- onNodeChange: jotai_x98.SimpleWritableAtom<((options: {
1466
+ onNodeChange: jotai_x2.SimpleWritableAtom<((options: {
1467
1467
  editor: PlateEditor;
1468
- node: Descendant$1;
1469
- operation: NodeOperation$1;
1470
- prevNode: Descendant$1;
1468
+ node: _platejs_slate3.Descendant;
1469
+ operation: _platejs_slate3.NodeOperation;
1470
+ prevNode: _platejs_slate3.Descendant;
1471
1471
  }) => void) | null>;
1472
- onSelectionChange: jotai_x98.SimpleWritableAtom<((options: {
1472
+ onSelectionChange: jotai_x2.SimpleWritableAtom<((options: {
1473
1473
  editor: PlateEditor;
1474
- selection: TSelection$1;
1474
+ selection: _platejs_slate3.TSelection;
1475
1475
  }) => void) | null>;
1476
- onTextChange: jotai_x98.SimpleWritableAtom<((options: {
1476
+ onTextChange: jotai_x2.SimpleWritableAtom<((options: {
1477
1477
  editor: PlateEditor;
1478
- node: Descendant$1;
1479
- operation: TextOperation$1;
1478
+ node: _platejs_slate3.Descendant;
1479
+ operation: _platejs_slate3.TextOperation;
1480
1480
  prevText: string;
1481
1481
  text: string;
1482
1482
  }) => void) | null>;
1483
- onValueChange: jotai_x98.SimpleWritableAtom<((options: {
1483
+ onValueChange: jotai_x2.SimpleWritableAtom<((options: {
1484
1484
  editor: PlateEditor;
1485
- value: Value$1;
1485
+ value: _platejs_slate3.Value;
1486
1486
  }) => void) | null>;
1487
- id: jotai_x98.SimpleWritableAtom<string>;
1488
- containerRef: jotai_x98.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1489
- editor: jotai_x98.SimpleWritableAtom<PlateEditor>;
1490
- scrollRef: jotai_x98.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1487
+ id: jotai_x2.SimpleWritableAtom<string>;
1488
+ containerRef: jotai_x2.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1489
+ editor: jotai_x2.SimpleWritableAtom<PlateEditor>;
1490
+ scrollRef: jotai_x2.SimpleWritableAtom<React$1.RefObject<HTMLDivElement | null>>;
1491
1491
  } & {
1492
1492
  trackedEditor: jotai10.Atom<{
1493
1493
  editor: any;
@@ -1503,8 +1503,8 @@ declare const PlateStoreProvider: React$1.FC<jotai_x98.ProviderProps<{
1503
1503
  }>;
1504
1504
  })[K$1] extends jotai10.Atom<infer V_1> ? V_1 : never, prevSelectorOutput?: S | undefined) => S) | undefined;
1505
1505
  equalityFn?: ((prev: S, next: S) => boolean) | undefined;
1506
- } & jotai_x98.UseAtomOptions) | undefined, deps?: unknown[]) => S;
1507
- declare const usePlateStore: (id?: string) => jotai_x98.ReturnOfUseStoreApi<PlateStoreState<PlateEditor>, {
1506
+ } & jotai_x2.UseAtomOptions) | undefined, deps?: unknown[]) => S;
1507
+ declare const usePlateStore: (id?: string) => jotai_x2.ReturnOfUseStoreApi<PlateStoreState<PlateEditor>, {
1508
1508
  trackedEditor: jotai10.Atom<{
1509
1509
  editor: any;
1510
1510
  version: number | null;
@@ -1610,11 +1610,11 @@ declare function useEditorPluginOptions<C extends AnyPluginConfig, U>(editor: Pl
1610
1610
  }): U;
1611
1611
  //#endregion
1612
1612
  //#region src/react/stores/plate-controller/plateControllerStore.d.ts
1613
- declare const PlateController: React$1.FC<jotai_x98.ProviderProps<{
1613
+ declare const PlateController: React$1.FC<jotai_x2.ProviderProps<{
1614
1614
  activeId: string | null;
1615
1615
  editorStores: Record<string, ({
1616
- get: <Value$2>(atom: Atom<Value$2>) => Value$2;
1617
- set: <Value$2, Args extends unknown[], Result>(atom: jotai10.WritableAtom<Value$2, Args, Result>, ...args: Args) => Result;
1616
+ get: <Value$1>(atom: Atom<Value$1>) => Value$1;
1617
+ set: <Value$1, Args extends unknown[], Result>(atom: jotai10.WritableAtom<Value$1, Args, Result>, ...args: Args) => Result;
1618
1618
  sub: (atom: Atom<unknown>, listener: () => void) => () => void;
1619
1619
  } & Partial<{
1620
1620
  dev_subscribe_store: (l: (action: {
@@ -1652,13 +1652,13 @@ declare const PlateController: React$1.FC<jotai_x98.ProviderProps<{
1652
1652
  dev_restore_atoms: (values: Iterable<readonly [Atom<unknown>, unknown]>) => void;
1653
1653
  }>) | null>;
1654
1654
  primaryEditorIds: string[];
1655
- }>>, plateControllerStore: jotai_x98.StoreApi<{
1655
+ }>>, plateControllerStore: jotai_x2.StoreApi<{
1656
1656
  activeId: jotai10.PrimitiveAtom<string | null> & {
1657
1657
  init: string | null;
1658
1658
  };
1659
1659
  editorStores: jotai10.PrimitiveAtom<Record<string, ({
1660
- get: <Value$2>(atom: Atom<Value$2>) => Value$2;
1661
- set: <Value$2, Args extends unknown[], Result>(atom: jotai10.WritableAtom<Value$2, Args, Result>, ...args: Args) => Result;
1660
+ get: <Value$1>(atom: Atom<Value$1>) => Value$1;
1661
+ set: <Value$1, Args extends unknown[], Result>(atom: jotai10.WritableAtom<Value$1, Args, Result>, ...args: Args) => Result;
1662
1662
  sub: (atom: Atom<unknown>, listener: () => void) => () => void;
1663
1663
  } & Partial<{
1664
1664
  dev_subscribe_store: (l: (action: {
@@ -1696,8 +1696,8 @@ declare const PlateController: React$1.FC<jotai_x98.ProviderProps<{
1696
1696
  dev_restore_atoms: (values: Iterable<readonly [Atom<unknown>, unknown]>) => void;
1697
1697
  }>) | null>> & {
1698
1698
  init: Record<string, ({
1699
- get: <Value$2>(atom: Atom<Value$2>) => Value$2;
1700
- set: <Value$2, Args extends unknown[], Result>(atom: jotai10.WritableAtom<Value$2, Args, Result>, ...args: Args) => Result;
1699
+ get: <Value$1>(atom: Atom<Value$1>) => Value$1;
1700
+ set: <Value$1, Args extends unknown[], Result>(atom: jotai10.WritableAtom<Value$1, Args, Result>, ...args: Args) => Result;
1701
1701
  sub: (atom: Atom<unknown>, listener: () => void) => () => void;
1702
1702
  } & Partial<{
1703
1703
  dev_subscribe_store: (l: (action: {
@@ -1738,13 +1738,13 @@ declare const PlateController: React$1.FC<jotai_x98.ProviderProps<{
1738
1738
  primaryEditorIds: jotai10.PrimitiveAtom<string[]> & {
1739
1739
  init: string[];
1740
1740
  };
1741
- }, object, "plateController">, _usePlateControllerStore: jotai_x98.UseStoreApi<{
1741
+ }, object, "plateController">, _usePlateControllerStore: jotai_x2.UseStoreApi<{
1742
1742
  activeId: jotai10.PrimitiveAtom<string | null> & {
1743
1743
  init: string | null;
1744
1744
  };
1745
1745
  editorStores: jotai10.PrimitiveAtom<Record<string, ({
1746
- get: <Value$2>(atom: Atom<Value$2>) => Value$2;
1747
- set: <Value$2, Args extends unknown[], Result>(atom: jotai10.WritableAtom<Value$2, Args, Result>, ...args: Args) => Result;
1746
+ get: <Value$1>(atom: Atom<Value$1>) => Value$1;
1747
+ set: <Value$1, Args extends unknown[], Result>(atom: jotai10.WritableAtom<Value$1, Args, Result>, ...args: Args) => Result;
1748
1748
  sub: (atom: Atom<unknown>, listener: () => void) => () => void;
1749
1749
  } & Partial<{
1750
1750
  dev_subscribe_store: (l: (action: {
@@ -1782,8 +1782,8 @@ declare const PlateController: React$1.FC<jotai_x98.ProviderProps<{
1782
1782
  dev_restore_atoms: (values: Iterable<readonly [Atom<unknown>, unknown]>) => void;
1783
1783
  }>) | null>> & {
1784
1784
  init: Record<string, ({
1785
- get: <Value$2>(atom: Atom<Value$2>) => Value$2;
1786
- set: <Value$2, Args extends unknown[], Result>(atom: jotai10.WritableAtom<Value$2, Args, Result>, ...args: Args) => Result;
1785
+ get: <Value$1>(atom: Atom<Value$1>) => Value$1;
1786
+ set: <Value$1, Args extends unknown[], Result>(atom: jotai10.WritableAtom<Value$1, Args, Result>, ...args: Args) => Result;
1787
1787
  sub: (atom: Atom<unknown>, listener: () => void) => () => void;
1788
1788
  } & Partial<{
1789
1789
  dev_subscribe_store: (l: (action: {
@@ -1940,7 +1940,7 @@ declare const useEditableProps: ({
1940
1940
  * if another node is updated in a way that affects this node's path, this hook
1941
1941
  * will not return the new path.
1942
1942
  */
1943
- declare const useNodePath: (node: TNode) => _platejs_slate0.Path | undefined;
1943
+ declare const useNodePath: (node: TNode) => _platejs_slate3.Path | undefined;
1944
1944
  //#endregion
1945
1945
  //#region src/react/hooks/useSlateProps.d.ts
1946
1946
  type SlateComponentProps = Omit<React$1.ComponentProps<typeof Slate>, 'children'>;
@@ -1955,7 +1955,7 @@ declare const useSlateProps: ({
1955
1955
  }) => PlateSlateProps;
1956
1956
  //#endregion
1957
1957
  //#region src/react/utils/createPlateFallbackEditor.d.ts
1958
- declare const createPlateFallbackEditor: (options?: CreatePlateEditorOptions) => TPlateEditor<_platejs_slate0.Value, PlateCorePlugin>;
1958
+ declare const createPlateFallbackEditor: (options?: CreatePlateEditorOptions) => TPlateEditor<_platejs_slate3.Value, PlateCorePlugin>;
1959
1959
  //#endregion
1960
1960
  //#region src/react/utils/dom-attributes.d.ts
1961
1961
  declare const DOM_HANDLERS: (keyof DOMHandlers)[];
@@ -2052,5 +2052,4 @@ type RenderText = (props: PlateTextProps) => React$1.ReactElement<any>;
2052
2052
  */
2053
2053
  declare const pluginRenderText: (editor: PlateEditor, plugin: AnyEditorPlatePlugin) => RenderText;
2054
2054
  //#endregion
2055
- export { AnyEditorPlatePlugin, AnyPlatePlugin, BLUR_EDITOR_EVENT, BelowRootNodes, ContentVisibilityChunk, CreatePlateEditorOptions, DOMHandler, DOMHandlers, DOM_HANDLERS, Decorate, DefaultPlaceholder, Deserializer, Editable, EditableSiblingComponent, EditorHotkeysEffect, EditorMethodsEffect, EditorPlatePlugin, EditorRefEffect, EditorRefPluginEffect, ElementProvider, ElementStoreState, EventEditorPlugin, EventEditorState, EventEditorStore, ExtendEditor, ExtendEditorApi, ExtendEditorTransforms, FOCUS_EDITOR_EVENT, GLOBAL_PLATE_SCOPE, HtmlDeserializer, HtmlReactSerializer, HtmlSerializer, InferConfig, InjectNodeProps, KeyboardHandler, KeyofPlugins, LeafNodeProps, NodeProps, NodeWrapperComponent, NodeWrapperComponentProps, NodeWrapperComponentReturnType, NormalizeInitialValue, OnChange, OnNodeChange, OnTextChange, OverrideEditor, PLATE_SCOPE, ParagraphPlugin, Parser, Plate, PlateChangeKey, PlateChunkProps, PlateContainer, PlateContent, PlateContentProps, PlateController, PlateControllerEffect, PlateControllerEffectProps, PlateCorePlugin, PlateEditor, PlateElement, PlateElementProps, PlateHTMLProps, PlateLeaf, PlateLeafProps, PlateNodeProps, PlatePlugin, PlatePluginConfig, PlatePluginContext, PlatePluginMethods, PlatePlugins, PlateProps, PlateSlate, PlateStore, PlateStoreProvider, PlateStoreState, PlateTest, PlateText, PlateTextProps, PlateView, PlateViewProps, ReactPlugin, RenderElement, RenderLeaf, RenderNodeWrapper, RenderNodeWrapperFunction, RenderNodeWrapperProps, type RenderPlaceholderProps, RenderText, SCOPE_ELEMENT, Serializer, Shortcut, Shortcuts, Slate, SlateReactExtensionPlugin, StyledPlateElementProps, StyledPlateLeafProps, StyledPlateTextProps, TPlateEditor, TextNodeProps, TransformOptions, UseEditorSelectorOptions, UseHooks, WithPlateOptions, atom, convertDomEventToSyntheticEvent, createAtomStore, createPlateEditor, createPlateFallbackEditor, createPlatePlugin, createPlateStore, createTPlatePlugin, createZustandStore, elementStore, getEditorPlugin, getEventPlateId, getPlateCorePlugins, getPlugin, getRenderNodeProps, isEventHandled, omitPluginContext, pipeHandler, pipeOnChange, pipeRenderElement, pipeRenderLeaf, pipeRenderText, plateControllerStore, plateStore, pluginRenderElement, pluginRenderLeaf, pluginRenderText, toPlatePlugin, toTPlatePlugin, useComposing, useEditableProps, useEditorComposing, useEditorContainerRef, useEditorId, useEditorMounted, useEditorPlugin, useEditorPluginOption, useEditorPluginOptions, useEditorReadOnly, useEditorRef, useEditorScrollRef, useEditorSelection, useEditorSelector, useEditorState, useEditorValue, useEditorVersion, useElement, useElementSelector, useElementStore, useEventEditorValue, useEventPlateId, useFocusEditorEvents, useFocused, useFocusedLast, useIncrementVersion, useNodeAttributes, useNodePath, usePath, usePlateControllerExists, usePlateControllerLocalStore, usePlateControllerStore, usePlateEditor, usePlateLocalStore, usePlateSet, usePlateState, usePlateStore, usePlateValue, usePlateViewEditor, usePluginOption, usePluginOptions, useReadOnly, useRedecorate, useScrollRef, useSelected, useSelectionVersion, useSlateProps, useSlateStatic, useStoreAtomState, useStoreAtomValue, useStoreSelect, useStoreSetAtom, useStoreState, useStoreValue, useTracked, useTrackedStore, useValueVersion, withHOC, withPlate, withPlateReact, withReact };
2056
- //# sourceMappingURL=index.d.ts.map
2055
+ export { AnyEditorPlatePlugin, AnyPlatePlugin, BLUR_EDITOR_EVENT, BelowRootNodes, ContentVisibilityChunk, CreatePlateEditorOptions, DOMHandler, DOMHandlers, DOM_HANDLERS, Decorate, DefaultPlaceholder, Deserializer, Editable, EditableSiblingComponent, EditorHotkeysEffect, EditorMethodsEffect, EditorPlatePlugin, EditorRefEffect, EditorRefPluginEffect, ElementProvider, ElementStoreState, EventEditorPlugin, EventEditorState, EventEditorStore, ExtendEditor, ExtendEditorApi, ExtendEditorTransforms, FOCUS_EDITOR_EVENT, GLOBAL_PLATE_SCOPE, HtmlDeserializer, HtmlReactSerializer, HtmlSerializer, InferConfig, InjectNodeProps, KeyboardHandler, KeyofPlugins, LeafNodeProps, NodeProps, NodeWrapperComponent, NodeWrapperComponentProps, NodeWrapperComponentReturnType, NormalizeInitialValue, OnChange, OnNodeChange, OnTextChange, OverrideEditor, PLATE_SCOPE, ParagraphPlugin, Parser, Plate, PlateChangeKey, PlateChunkProps, PlateContainer, PlateContent, PlateContentProps, PlateController, PlateControllerEffect, PlateControllerEffectProps, PlateCorePlugin, PlateEditor, PlateElement, PlateElementProps, PlateHTMLProps, PlateLeaf, PlateLeafProps, PlateNodeProps, PlatePlugin, PlatePluginConfig, PlatePluginContext, PlatePluginMethods, PlatePlugins, PlateProps, PlateSlate, PlateStore, PlateStoreProvider, PlateStoreState, PlateTest, PlateText, PlateTextProps, PlateView, PlateViewProps, ReactPlugin, RenderElement, RenderLeaf, RenderNodeWrapper, RenderNodeWrapperFunction, RenderNodeWrapperProps, type RenderPlaceholderProps, RenderText, SCOPE_ELEMENT, Serializer, Shortcut, Shortcuts, Slate, SlateReactExtensionPlugin, StyledPlateElementProps, StyledPlateLeafProps, StyledPlateTextProps, TPlateEditor, TextNodeProps, TransformOptions, UseEditorSelectorOptions, UseHooks, WithPlateOptions, atom, convertDomEventToSyntheticEvent, createAtomStore, createPlateEditor, createPlateFallbackEditor, createPlatePlugin, createPlateStore, createTPlatePlugin, createZustandStore, elementStore, getEditorPlugin, getEventPlateId, getPlateCorePlugins, getPlugin, getRenderNodeProps, isEventHandled, omitPluginContext, pipeHandler, pipeOnChange, pipeRenderElement, pipeRenderLeaf, pipeRenderText, plateControllerStore, plateStore, pluginRenderElement, pluginRenderLeaf, pluginRenderText, toPlatePlugin, toTPlatePlugin, useComposing, useEditableProps, useEditorComposing, useEditorContainerRef, useEditorId, useEditorMounted, useEditorPlugin, useEditorPluginOption, useEditorPluginOptions, useEditorReadOnly, useEditorRef, useEditorScrollRef, useEditorSelection, useEditorSelector, useEditorState, useEditorValue, useEditorVersion, useElement, useElementSelector, useElementStore, useEventEditorValue, useEventPlateId, useFocusEditorEvents, useFocused, useFocusedLast, useIncrementVersion, useNodeAttributes, useNodePath, usePath, usePlateControllerExists, usePlateControllerLocalStore, usePlateControllerStore, usePlateEditor, usePlateLocalStore, usePlateSet, usePlateState, usePlateStore, usePlateValue, usePlateViewEditor, usePluginOption, usePluginOptions, useReadOnly, useRedecorate, useScrollRef, useSelected, useSelectionVersion, useSlateProps, useSlateStatic, useStoreAtomState, useStoreAtomValue, useStoreSelect, useStoreSetAtom, useStoreState, useStoreValue, useTracked, useTrackedStore, useValueVersion, withHOC, withPlate, withPlateReact, withReact };