Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-tables

Package Overview
Dependencies
Maintainers
6
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-tables - npm Package Compare versions

Comparing version 1.5.1 to 1.6.0

15

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc