@portabletext/editor 7.3.4 → 7.5.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.
- package/lib/_chunks-dts/behavior.types.action.d.ts +141 -57
- package/lib/_chunks-dts/behavior.types.action.d.ts.map +1 -1
- package/lib/_chunks-es/get-parent.js +10 -12
- package/lib/_chunks-es/get-parent.js.map +1 -1
- package/lib/_chunks-es/get-path-sub-schema.js +19 -41
- package/lib/_chunks-es/get-path-sub-schema.js.map +1 -1
- package/lib/_chunks-es/selector.is-at-the-start-of-block.js +2 -0
- package/lib/_chunks-es/selector.is-at-the-start-of-block.js.map +1 -1
- package/lib/behaviors/index.d.ts +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +383 -89
- 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/traversal/index.d.ts +4 -4
- package/lib/traversal/index.d.ts.map +1 -1
- package/lib/utils/index.d.ts +1 -1
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { AddedAnnotationPaths, AnnotationDefinition, AnnotationPath, AnnotationSchemaType, BaseDefinition, BlockAnnotationRenderProps, BlockChildRenderProps, BlockDecoratorRenderProps, BlockListItemRenderProps, BlockObject, BlockObjectDefinition, BlockObjectRender, BlockObjectRenderProps, BlockObjectSchemaType, BlockOffset, BlockPath, BlockRenderProps, BlockStyleRenderProps, ChildPath, Container, ContainerRender, ContainerRenderProps, Containers, DecoratorDefinition, DecoratorSchemaType, EditableAPIDeleteOptions, Editor, EditorConfig, EditorContext, EditorEmittedEvent, EditorEvent, EditorProvider, EditorProviderProps, EditorSchema, EditorSelection, EditorSelectionPoint, EditorSelector, EditorSnapshot, FieldDefinition, HotkeyOptions, InlineObject, InlineObjectDefinition, InlineObjectRender, InlineObjectRenderProps, InlineObjectSchemaType, InvalidValueResolution, ListDefinition, ListSchemaType, MutationEvent, OnCopyFn, OnPasteFn, OnPasteResult, OnPasteResultOrPromise, PasteData, Patch, PatchesEvent, Path, PortableTextBlock, PortableTextChild, PortableTextEditable, PortableTextEditableProps, PortableTextEditor, PortableTextObject, PortableTextSpan, PortableTextTextBlock, RangeDecoration, RangeDecorationOnMovedDetails, RegisteredBlockObject, RegisteredContainer, RegisteredInlineObject, RegisteredPositional, RegisteredSpan, RegistrableNode, RenderAnnotationFunction, RenderBlockFunction, RenderChildFunction, RenderDecoratorFunction, RenderEditableFunction, RenderListItemFunction, RenderPlaceholderFunction, RenderStyleFunction, SchemaDefinition, ScrollSelectionIntoViewFunction, Span, SpanRender, SpanRenderProps, StyleDefinition, StyleSchemaType, TextBlock, TextBlockRender, TextBlockRenderProps, defineBlockObject, defineContainer, defineInlineObject, defineSchema, defineSpan, defineTextBlock, defaultKeyGenerator as keyGenerator, resolveContainerAt, useEditor, useEditorSelector, usePortableTextEditor, usePortableTextEditorSelection };
|
|
1
|
+
import { $ as EditorContext, $t as SpanRender, A as PortableTextTextBlock, At as HotkeyOptions, B as EditorSelector, Bt as RegisteredPositional, C as ListDefinition, Ct as RenderEditableFunction, D as PortableTextChild, Dt as ScrollSelectionIntoViewFunction, E as PortableTextBlock, Et as RenderStyleFunction, F as BlockOffset, Ft as EditorSchema, G as EditorConfig, Gt as Container, H as EditorProvider, Ht as BlockObject, I as useEditor, It as Containers, J as MutationEvent, Jt as InlineObject, K as EditorEvent, Kt as ContainerRender, L as defaultKeyGenerator, Lt as RegisteredBlockObject, M as StyleDefinition, Mt as resolveContainerAt, N as StyleSchemaType, O as PortableTextObject, Ot as PortableTextEditable, P as defineSchema, Qt as Span, R as usePortableTextEditorSelection, Rt as RegisteredContainer, S as InlineObjectSchemaType, St as RenderDecoratorFunction, T as Patch, Tt as RenderPlaceholderFunction, U as EditorProviderProps, Ut as BlockObjectRender, V as useEditorSelector, Vt as RegisteredSpan, W as Editor, Wt as BlockObjectRenderProps, Xt as InlineObjectRenderProps, Y as Operation, Yt as InlineObjectRender, Zt as RegistrableNode, _ as BlockObjectSchemaType, _t as RangeDecoration, an as defineContainer, at as BlockListItemRenderProps, b as FieldDefinition, bt as RenderBlockFunction, cn as defineTextBlock, ct as EditableAPIDeleteOptions, dn as ChildPath, dt as InvalidValueResolution, en as SpanRenderProps, et as EditorSnapshot, f as PatchesEvent, ft as OnCopyFn, g as BlockObjectDefinition, gt as PasteData, h as BaseDefinition, ht as OnPasteResultOrPromise, in as defineBlockObject, it as BlockDecoratorRenderProps, j as SchemaDefinition, jt as PortableTextEditor, k as PortableTextSpan, kt as PortableTextEditableProps, ln as AnnotationPath, lt as EditorSelection, m as AnnotationSchemaType, mt as OnPasteResult, nn as TextBlockRender, nt as BlockAnnotationRenderProps, on as defineInlineObject, ot as BlockRenderProps, p as AnnotationDefinition, pn as Path, pt as OnPasteFn, q as EditorEmittedEvent, qt as ContainerRenderProps, rn as TextBlockRenderProps, rt as BlockChildRenderProps, sn as defineSpan, st as BlockStyleRenderProps, tn as TextBlock, tt as AddedAnnotationPaths, un as BlockPath, ut as EditorSelectionPoint, v as DecoratorDefinition, vt as RangeDecorationOnMovedDetails, w as ListSchemaType, wt as RenderListItemFunction, x as InlineObjectDefinition, xt as RenderChildFunction, y as DecoratorSchemaType, yt as RenderAnnotationFunction, z as usePortableTextEditor, zt as RegisteredInlineObject } from "./_chunks-dts/behavior.types.action.js";
|
|
2
|
+
export { AddedAnnotationPaths, AnnotationDefinition, AnnotationPath, AnnotationSchemaType, BaseDefinition, BlockAnnotationRenderProps, BlockChildRenderProps, BlockDecoratorRenderProps, BlockListItemRenderProps, BlockObject, BlockObjectDefinition, BlockObjectRender, BlockObjectRenderProps, BlockObjectSchemaType, BlockOffset, BlockPath, BlockRenderProps, BlockStyleRenderProps, ChildPath, Container, ContainerRender, ContainerRenderProps, Containers, DecoratorDefinition, DecoratorSchemaType, EditableAPIDeleteOptions, Editor, EditorConfig, EditorContext, EditorEmittedEvent, EditorEvent, EditorProvider, EditorProviderProps, EditorSchema, EditorSelection, EditorSelectionPoint, EditorSelector, EditorSnapshot, FieldDefinition, HotkeyOptions, InlineObject, InlineObjectDefinition, InlineObjectRender, InlineObjectRenderProps, InlineObjectSchemaType, InvalidValueResolution, ListDefinition, ListSchemaType, MutationEvent, OnCopyFn, OnPasteFn, OnPasteResult, OnPasteResultOrPromise, Operation, PasteData, Patch, PatchesEvent, Path, PortableTextBlock, PortableTextChild, PortableTextEditable, PortableTextEditableProps, PortableTextEditor, PortableTextObject, PortableTextSpan, PortableTextTextBlock, RangeDecoration, RangeDecorationOnMovedDetails, RegisteredBlockObject, RegisteredContainer, RegisteredInlineObject, RegisteredPositional, RegisteredSpan, RegistrableNode, RenderAnnotationFunction, RenderBlockFunction, RenderChildFunction, RenderDecoratorFunction, RenderEditableFunction, RenderListItemFunction, RenderPlaceholderFunction, RenderStyleFunction, SchemaDefinition, ScrollSelectionIntoViewFunction, Span, SpanRender, SpanRenderProps, StyleDefinition, StyleSchemaType, TextBlock, TextBlockRender, TextBlockRenderProps, defineBlockObject, defineContainer, defineInlineObject, defineSchema, defineSpan, defineTextBlock, defaultKeyGenerator as keyGenerator, resolveContainerAt, useEditor, useEditorSelector, usePortableTextEditor, usePortableTextEditorSelection };
|