prosemirror-tables
Advanced tools
Comparing version 1.5.1 to 1.6.0
@@ -246,3 +246,10 @@ import { PluginKey, EditorState, Transaction, Selection, Plugin, Command } from 'prosemirror-state'; | ||
handleWidth?: number; | ||
/** | ||
* Minimum width of a cell /column. The column cannot be resized smaller than this. | ||
*/ | ||
cellMinWidth?: number; | ||
/** | ||
* The default minWidth of a cell / column when it doesn't have an explicit width (i.e.: it has not been resized manually) | ||
*/ | ||
defaultCellMinWidth?: number; | ||
lastColumnResizable?: boolean; | ||
@@ -266,3 +273,3 @@ /** | ||
*/ | ||
declare function columnResizing({ handleWidth, cellMinWidth, View, lastColumnResizable, }?: ColumnResizingOptions): Plugin; | ||
declare function columnResizing({ handleWidth, cellMinWidth, defaultCellMinWidth, View, lastColumnResizable, }?: ColumnResizingOptions): Plugin; | ||
/** | ||
@@ -546,3 +553,3 @@ * @public | ||
node: Node; | ||
cellMinWidth: number; | ||
defaultCellMinWidth: number; | ||
dom: HTMLDivElement; | ||
@@ -552,3 +559,3 @@ table: HTMLTableElement; | ||
contentDOM: HTMLTableSectionElement; | ||
constructor(node: Node, cellMinWidth: number); | ||
constructor(node: Node, defaultCellMinWidth: number); | ||
update(node: Node): boolean; | ||
@@ -560,3 +567,3 @@ ignoreMutation(record: MutationRecord): boolean; | ||
*/ | ||
declare function updateColumnsOnResize(node: Node, colgroup: HTMLTableColElement, table: HTMLTableElement, cellMinWidth: number, overrideCol?: number, overrideValue?: number): void; | ||
declare function updateColumnsOnResize(node: Node, colgroup: HTMLTableColElement, table: HTMLTableElement, defaultCellMinWidth: number, overrideCol?: number, overrideValue?: number): void; | ||
@@ -563,0 +570,0 @@ /** |
{ | ||
"name": "prosemirror-tables", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"description": "ProseMirror's rowspan/colspan tables component", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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 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
209688
5559