prosemirror-view 1.32.6 → 1.32.7

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
@@ -903,4 +903,4 @@ interface DirectEditorProps extends EditorProps {
903
903
  dispatchTransaction?: (tr: Transaction) => void;
904
904
  }
905
905
 
906
- export { DOMEventMap, Decoration, DecorationAttrs, DecorationSet, DecorationSource, DirectEditorProps, EditorProps, EditorView, MarkViewConstructor, NodeView, NodeViewConstructor };
906
+ export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkViewConstructor, type NodeView, type NodeViewConstructor };
package/dist/index.d.ts CHANGED
@@ -903,4 +903,4 @@ interface DirectEditorProps extends EditorProps {
903
903
  dispatchTransaction?: (tr: Transaction) => void;
904
904
  }
905
905
 
906
- export { DOMEventMap, Decoration, DecorationAttrs, DecorationSet, DecorationSource, DirectEditorProps, EditorProps, EditorView, MarkViewConstructor, NodeView, NodeViewConstructor };
906
+ export { type DOMEventMap, Decoration, type DecorationAttrs, DecorationSet, type DecorationSource, type DirectEditorProps, type EditorProps, EditorView, type MarkViewConstructor, type NodeView, type NodeViewConstructor };
package/dist/index.js CHANGED
@@ -2024,7 +2024,7 @@ function iterDeco(parent, deco, onWidget, onNode) {
2024
2024
  }
2025
2025
  }
2026
2026
  else {
2027
- while (decoIndex < locals.length && locals[decoIndex].to <= end)
2027
+ while (decoIndex < locals.length && locals[decoIndex].to < end)
2028
2028
  decoIndex++;
2029
2029
  }
2030
2030
  let outerDeco = child.isInline && !child.isLeaf ? active.filter(d => !d.inline) : active.slice();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prosemirror-view",
3
- "version": "1.32.6",
3
+ "version": "1.32.7",
4
4
  "description": "ProseMirror's view component",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
package/src/viewdesc.ts CHANGED
@@ -1450,7 +1450,7 @@ function iterDeco(
1450
1450
  index = -1
1451
1451
  }
1452
1452
  } else {
1453
- while (decoIndex < locals.length && locals[decoIndex].to <= end) decoIndex++
1453
+ while (decoIndex < locals.length && locals[decoIndex].to < end) decoIndex++
1454
1454
  }
1455
1455
 
1456
1456
  let outerDeco = child.isInline && !child.isLeaf ? active.filter(d => !d.inline) : active.slice()