@atlaskit/editor-tables 2.5.1 → 2.5.2

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.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#69650](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69650) [`91a5b96796cb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/91a5b96796cb) - Migrate @atlaskit/editor-tables to use declarative entry points
8
+
3
9
  ## 2.5.1
4
10
 
5
11
  ### Patch Changes
package/dist/cjs/utils.js CHANGED
@@ -357,6 +357,12 @@ Object.defineProperty(exports, "selectTable", {
357
357
  return _selectNodes.selectTable;
358
358
  }
359
359
  });
360
+ Object.defineProperty(exports, "selectTableClosestToPos", {
361
+ enumerable: true,
362
+ get: function get() {
363
+ return _selectNodes.selectTableClosestToPos;
364
+ }
365
+ });
360
366
  Object.defineProperty(exports, "selectedRect", {
361
367
  enumerable: true,
362
368
  get: function get() {
@@ -27,7 +27,7 @@ export { normalizeSelection } from './utils/normalize-selection';
27
27
  export { removeColumnAt, removeSelectedColumns, removeColumnClosestToPos } from './utils/remove-column';
28
28
  export { removeRowAt, removeSelectedRows, removeRowClosestToPos } from './utils/remove-row';
29
29
  export { removeTable } from './utils/remove-table';
30
- export { selectColumn, selectColumns, selectRow, selectRows, selectTable } from './utils/select-nodes';
30
+ export { selectColumn, selectColumns, selectRow, selectRows, selectTable, selectTableClosestToPos } from './utils/select-nodes';
31
31
  export { selectionCell } from './utils/selection-cell';
32
32
  export { selectedRect } from './utils/selection-rect';
33
33
  export { setCellAttrs } from './utils/set-cell-attrs';
package/dist/esm/utils.js CHANGED
@@ -27,7 +27,7 @@ export { normalizeSelection } from './utils/normalize-selection';
27
27
  export { removeColumnAt, removeSelectedColumns, removeColumnClosestToPos } from './utils/remove-column';
28
28
  export { removeRowAt, removeSelectedRows, removeRowClosestToPos } from './utils/remove-row';
29
29
  export { removeTable } from './utils/remove-table';
30
- export { selectColumn, selectColumns, selectRow, selectRows, selectTable } from './utils/select-nodes';
30
+ export { selectColumn, selectColumns, selectRow, selectRows, selectTable, selectTableClosestToPos } from './utils/select-nodes';
31
31
  export { selectionCell } from './utils/selection-cell';
32
32
  export { selectedRect } from './utils/selection-rect';
33
33
  export { setCellAttrs } from './utils/set-cell-attrs';
@@ -27,7 +27,7 @@ export { normalizeSelection } from './utils/normalize-selection';
27
27
  export { removeColumnAt, removeSelectedColumns, removeColumnClosestToPos, } from './utils/remove-column';
28
28
  export { removeRowAt, removeSelectedRows, removeRowClosestToPos, } from './utils/remove-row';
29
29
  export { removeTable } from './utils/remove-table';
30
- export { selectColumn, selectColumns, selectRow, selectRows, selectTable, } from './utils/select-nodes';
30
+ export { selectColumn, selectColumns, selectRow, selectRows, selectTable, selectTableClosestToPos, } from './utils/select-nodes';
31
31
  export { selectionCell } from './utils/selection-cell';
32
32
  export { selectedRect } from './utils/selection-rect';
33
33
  export type { SelectionRect } from './utils/selection-rect';
@@ -27,7 +27,7 @@ export { normalizeSelection } from './utils/normalize-selection';
27
27
  export { removeColumnAt, removeSelectedColumns, removeColumnClosestToPos, } from './utils/remove-column';
28
28
  export { removeRowAt, removeSelectedRows, removeRowClosestToPos, } from './utils/remove-row';
29
29
  export { removeTable } from './utils/remove-table';
30
- export { selectColumn, selectColumns, selectRow, selectRows, selectTable, } from './utils/select-nodes';
30
+ export { selectColumn, selectColumns, selectRow, selectRows, selectTable, selectTableClosestToPos, } from './utils/select-nodes';
31
31
  export { selectionCell } from './utils/selection-cell';
32
32
  export { selectedRect } from './utils/selection-rect';
33
33
  export type { SelectionRect } from './utils/selection-rect';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-tables",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
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/"
@@ -24,7 +24,6 @@
24
24
  "atlaskit:src": "src/index.ts",
25
25
  "atlassian": {
26
26
  "team": "Editor: Jenga",
27
- "deprecatedAutoEntryPoints": true,
28
27
  "singleton": true,
29
28
  "releaseModel": "continuous"
30
29
  },
@@ -62,5 +61,14 @@
62
61
  "platform.editor.table-shift-click-selection-backward": {
63
62
  "type": "boolean"
64
63
  }
64
+ },
65
+ "af:exports": {
66
+ ".": "./src/index.ts",
67
+ "./cell-bookmark": "./src/cell-bookmark.ts",
68
+ "./cell-selection": "./src/cell-selection.ts",
69
+ "./pm-plugins": "./src/pm-plugins.ts",
70
+ "./table-map": "./src/table-map.ts",
71
+ "./types": "./src/types.ts",
72
+ "./utils": "./src/utils.ts"
65
73
  }
66
74
  }