@atlaskit/editor-tables 2.9.43 → 2.9.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/utils/cells.js +2 -0
- package/dist/es2019/utils/cells.js +2 -0
- package/dist/esm/utils/cells.js +2 -0
- package/dist/types/pm-plugins/plugin-key.d.ts +2 -2
- package/dist/types/utils/cells.d.ts +2 -2
- package/dist/types-ts4.5/pm-plugins/plugin-key.d.ts +2 -2
- package/dist/types-ts4.5/utils/cells.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/cjs/utils/cells.js
CHANGED
|
@@ -8,6 +8,8 @@ exports.cellNear = cellNear;
|
|
|
8
8
|
exports.nextCell = nextCell;
|
|
9
9
|
exports.pointsAtCell = pointsAtCell;
|
|
10
10
|
var _tableMap = require("../table-map");
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
12
|
+
|
|
11
13
|
function pointsAtCell($pos) {
|
|
12
14
|
return $pos.parent.type.spec.tableRole === 'row' && $pos.nodeAfter;
|
|
13
15
|
}
|
package/dist/esm/utils/cells.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
export declare const tableEditingKey: PluginKey
|
|
3
|
-
export declare const fixTablesKey: PluginKey
|
|
2
|
+
export declare const tableEditingKey: PluginKey;
|
|
3
|
+
export declare const fixTablesKey: PluginKey;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
1
|
+
import { Node, type ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import { type Axis } from '../types';
|
|
3
|
-
export declare function pointsAtCell($pos: ResolvedPos): false |
|
|
3
|
+
export declare function pointsAtCell($pos: ResolvedPos): false | Node | null;
|
|
4
4
|
export declare function cellNear($pos: ResolvedPos): ResolvedPos | null;
|
|
5
5
|
export declare function cellAround($pos: ResolvedPos): ResolvedPos | null;
|
|
6
6
|
export declare function nextCell($pos: ResolvedPos, axis: Axis, dir: number): ResolvedPos | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
export declare const tableEditingKey: PluginKey
|
|
3
|
-
export declare const fixTablesKey: PluginKey
|
|
2
|
+
export declare const tableEditingKey: PluginKey;
|
|
3
|
+
export declare const fixTablesKey: PluginKey;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
1
|
+
import { Node, type ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import { type Axis } from '../types';
|
|
3
|
-
export declare function pointsAtCell($pos: ResolvedPos): false |
|
|
3
|
+
export declare function pointsAtCell($pos: ResolvedPos): false | Node | null;
|
|
4
4
|
export declare function cellNear($pos: ResolvedPos): ResolvedPos | null;
|
|
5
5
|
export declare function cellAround($pos: ResolvedPos): ResolvedPos | null;
|
|
6
6
|
export declare function nextCell($pos: ResolvedPos, axis: Axis, dir: number): ResolvedPos | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-tables",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.45",
|
|
4
4
|
"description": "A package that contains common classes and utility functions for editor tables",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
31
31
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
32
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
32
|
+
"@atlaskit/tmp-editor-statsig": "^37.0.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|