prosemirror-view
Advanced tools
Comparing version 1.33.0 to 1.33.1
@@ -213,2 +213,3 @@ import { EditorState, Transaction, Selection, Plugin } from 'prosemirror-state'; | ||
private removeInner; | ||
forChild(offset: number, node: Node): DecorationSet | DecorationGroup; | ||
/** | ||
@@ -219,2 +220,11 @@ The empty set of decorations. | ||
} | ||
declare class DecorationGroup implements DecorationSource { | ||
readonly members: readonly DecorationSet[]; | ||
constructor(members: readonly DecorationSet[]); | ||
map(mapping: Mapping, doc: Node): DecorationSource; | ||
forChild(offset: number, child: Node): DecorationSource | DecorationSet; | ||
eq(other: DecorationGroup): boolean; | ||
locals(node: Node): readonly any[]; | ||
static from(members: readonly DecorationSource[]): DecorationSource; | ||
} | ||
@@ -221,0 +231,0 @@ declare global { |
{ | ||
"name": "prosemirror-view", | ||
"version": "1.33.0", | ||
"version": "1.33.1", | ||
"description": "ProseMirror's view component", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -416,3 +416,2 @@ import {Node, Mark} from "prosemirror-model" | ||
/// @internal | ||
forChild(offset: number, node: Node): DecorationSet | DecorationGroup { | ||
@@ -419,0 +418,0 @@ if (this == empty) return this |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
846160
17070