@udecode/plate-selection
Advanced tools
Comparing version 37.0.0 to 37.0.6
@@ -112,2 +112,3 @@ import * as _udecode_plate_core_react from '@udecode/plate-core/react'; | ||
query?: QueryNodeOptions; | ||
rightSelectionAreaClassName?: string; | ||
selectedIds?: Set<string>; | ||
@@ -142,2 +143,3 @@ } & BlockSelectionSelectors, { | ||
query?: QueryNodeOptions | undefined; | ||
rightSelectionAreaClassName?: string | undefined; | ||
selectedIds?: Set<string> | undefined; | ||
@@ -144,0 +146,0 @@ } & BlockSelectionSelectors, { |
@@ -247,6 +247,7 @@ "use strict"; | ||
const { getOptions } = (0, import_react5.useEditorPlugin)(BlockSelectionPlugin); | ||
const { editorPaddingRight } = getOptions(); | ||
const { editorPaddingRight, rightSelectionAreaClassName } = getOptions(); | ||
return /* @__PURE__ */ import_react4.default.createElement("div", { style: { position: "relative", width: "100%" } }, /* @__PURE__ */ import_react4.default.createElement( | ||
"div", | ||
{ | ||
className: rightSelectionAreaClassName, | ||
"data-plate-selectable": true, | ||
@@ -1341,2 +1342,3 @@ style: { | ||
}, | ||
rightSelectionAreaClassName: "slate-right-selection-area", | ||
selectedIds: /* @__PURE__ */ new Set() | ||
@@ -1343,0 +1345,0 @@ }, |
{ | ||
"name": "@udecode/plate-selection", | ||
"version": "37.0.0", | ||
"version": "37.0.6", | ||
"description": "Plate React plugin to add a visual way of selecting blocks", | ||
@@ -59,3 +59,3 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@udecode/plate-common": ">=37.0.0", | ||
"@udecode/plate-common": ">=37.0.5", | ||
"react": ">=16.8.0", | ||
@@ -62,0 +62,0 @@ "react-dom": ">=16.8.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
307584
3183
0