prosemirror-view 1.42.4 → 1.42.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.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { EditorState, Transaction, Selection, Plugin } from 'prosemirror-state';
2
- import { Mark, Node, Slice, ResolvedPos, DOMParser, DOMSerializer } from 'prosemirror-model';
2
+ import { Node, Mark, Slice, ResolvedPos, DOMParser, DOMSerializer } from 'prosemirror-model';
3
3
  import { Mapping } from 'prosemirror-transform';
4
4
 
5
5
  type DOMNode = InstanceType<typeof window.Node>;
@@ -909,4 +909,5 @@ interface DirectEditorProps extends EditorProps {
909
909
  dispatchTransaction?: (tr: Transaction) => void;
910
910
  }
911
911
 
912
- export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkView, type MarkViewConstructor, type NodeView, type NodeViewConstructor, type ViewMutationRecord };
912
+ export { Decoration, DecorationSet, EditorView };
913
+ export type { DOMEventMap, DecorationAttrs, DecorationSource, DirectEditorProps, EditorProps, MarkView, MarkViewConstructor, NodeView, NodeViewConstructor, ViewMutationRecord };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { EditorState, Transaction, Selection, Plugin } from 'prosemirror-state';
2
- import { Mark, Node, Slice, ResolvedPos, DOMParser, DOMSerializer } from 'prosemirror-model';
2
+ import { Node, Mark, Slice, ResolvedPos, DOMParser, DOMSerializer } from 'prosemirror-model';
3
3
  import { Mapping } from 'prosemirror-transform';
4
4
 
5
5
  type DOMNode = InstanceType<typeof window.Node>;
@@ -909,4 +909,5 @@ interface DirectEditorProps extends EditorProps {
909
909
  dispatchTransaction?: (tr: Transaction) => void;
910
910
  }
911
911
 
912
- export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkView, type MarkViewConstructor, type NodeView, type NodeViewConstructor, type ViewMutationRecord };
912
+ export { Decoration, DecorationSet, EditorView };
913
+ export type { DOMEventMap, DecorationAttrs, DecorationSource, DirectEditorProps, EditorProps, MarkView, MarkViewConstructor, NodeView, NodeViewConstructor, ViewMutationRecord };