@atlaskit/editor-tables 2.9.43 → 2.9.44

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-tables
2
2
 
3
+ ## 2.9.44
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 2.9.43
4
10
 
5
11
  ### Patch Changes
@@ -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
  }
@@ -1,3 +1,5 @@
1
+ // eslint-disable-next-line @typescript-eslint/consistent-type-imports
2
+
1
3
  import { TableMap } from '../table-map';
2
4
  export function pointsAtCell($pos) {
3
5
  return $pos.parent.type.spec.tableRole === 'row' && $pos.nodeAfter;
@@ -1,3 +1,5 @@
1
+ // eslint-disable-next-line @typescript-eslint/consistent-type-imports
2
+
1
3
  import { TableMap } from '../table-map';
2
4
  export function pointsAtCell($pos) {
3
5
  return $pos.parent.type.spec.tableRole === 'row' && $pos.nodeAfter;
@@ -1,3 +1,3 @@
1
1
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
2
- export declare const tableEditingKey: PluginKey<any>;
3
- export declare const fixTablesKey: PluginKey<any>;
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 | import("prosemirror-model").Node | null;
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<any>;
3
- export declare const fixTablesKey: PluginKey<any>;
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 | import("prosemirror-model").Node | null;
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.43",
3
+ "version": "2.9.44",
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": "^35.4.0",
32
+ "@atlaskit/tmp-editor-statsig": "^36.0.0",
33
33
  "@babel/runtime": "^7.0.0"
34
34
  },
35
35
  "devDependencies": {