@remirror/extension-tables
Advanced tools
Comparing version 2.2.8 to 2.2.9
@@ -38,3 +38,3 @@ import { FindProsemirrorNodeResult, NodeWithPosition } from '@remirror/core'; | ||
export declare const activeCellColumnPositioner: Positioner<ActiveCellColumnPositionerData>; | ||
export declare type ActiveCellRowPositionerData = ActiveCellColumnPositionerData; | ||
export type ActiveCellRowPositionerData = ActiveCellColumnPositionerData; | ||
/** | ||
@@ -41,0 +41,0 @@ * Creates a positioner for the current row in a table |
@@ -39,3 +39,3 @@ import { ApplySchemaAttributes, FindProsemirrorNodeResult, NodeExtensionSpec, NodeSpecOverride, ResolvedPos, SchemaProps, Selection } from '@remirror/core'; | ||
declare const TABLE_ROLES: readonly ["table", "row", "cell", "header_cell"]; | ||
export declare type TableRole = typeof TABLE_ROLES[number]; | ||
export type TableRole = typeof TABLE_ROLES[number]; | ||
/** | ||
@@ -42,0 +42,0 @@ * Returns a table node of a given size. |
@@ -891,3 +891,3 @@ var __defProp = Object.defineProperty; | ||
const [selection] = getActive(props); | ||
if (!selection || !selection.isColSelection()) { | ||
if (!(selection == null ? void 0 : selection.isColSelection())) { | ||
return Positioner.EMPTY; | ||
@@ -901,3 +901,3 @@ } | ||
const [selection] = getActive(props); | ||
if (!selection || !selection.isRowSelection()) { | ||
if (!(selection == null ? void 0 : selection.isRowSelection())) { | ||
return Positioner.EMPTY; | ||
@@ -911,3 +911,3 @@ } | ||
const [selection] = getActive(props); | ||
if (!selection || !selection.isColSelection() || !selection.isRowSelection()) { | ||
if (!(selection == null ? void 0 : selection.isColSelection()) || !selection.isRowSelection()) { | ||
return Positioner.EMPTY; | ||
@@ -914,0 +914,0 @@ } |
{ | ||
"name": "@remirror/extension-tables", | ||
"version": "2.2.8", | ||
"version": "2.2.9", | ||
"description": "A table a day keeps the doctor away. Remirror and play keeps the bad times at bay.", | ||
@@ -43,12 +43,12 @@ "keywords": [ | ||
"@babel/runtime": "^7.13.10", | ||
"@remirror/core": "^2.0.11", | ||
"@remirror/extension-positioner": "^2.1.6", | ||
"@remirror/core": "^2.0.12", | ||
"@remirror/extension-positioner": "^2.1.7", | ||
"@remirror/messages": "^2.0.2", | ||
"@remirror/theme": "^2.0.5" | ||
"@remirror/theme": "^2.0.6" | ||
}, | ||
"devDependencies": { | ||
"@remirror/pm": "^2.0.3" | ||
"@remirror/pm": "^2.0.4" | ||
}, | ||
"peerDependencies": { | ||
"@remirror/pm": "^2.0.3" | ||
"@remirror/pm": "^2.0.4" | ||
}, | ||
@@ -60,4 +60,3 @@ "publishConfig": { | ||
"sizeLimit": "10 KB" | ||
}, | ||
"readme": "# @remirror/extension-tables\n\n[](https://bundlephobia.com/result?p=@remirror/extension-tables) [](https://www.npmjs.com/package/@remirror/extension-tables)\n\n## Installation\n\n```bash\nyarn add @remirror/extension-tables # yarn\npnpm add @remirror/extension-tables # pnpm\nnpm install @remirror/extension-tables # npm\n```\n\nThis is included by default when you install the recommended `remirror` package. All exports are also available via the entry-point, `remirror/extensions`.\n\n```ts\nimport { createCoreManager, TableExtension } from 'remirror/extensions';\n\nconst manager = createCoreManager(() => [TableExtension()]);\n```\n" | ||
} | ||
} |
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
260078
13
3044
Updated@remirror/core@^2.0.12
Updated@remirror/theme@^2.0.6