@atlaskit/editor-tables 2.7.5 → 2.8.0

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,16 @@
1
1
  # @atlaskit/editor-tables
2
2
 
3
+ ## 2.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#124190](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124190)
8
+ [`9ab9c4ca2b9df`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9ab9c4ca2b9df) -
9
+ Clean-up platform.editor.refactor-highlight-toolbar_mo0pj feature flag
10
+ - [#124209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124209)
11
+ [`8aa1792f12ed3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8aa1792f12ed3) -
12
+ bump @atlaskit/editor-prosemirror to 5.0.0, bump @atlaskit/adf-schema to 40.1.0
13
+
3
14
  ## 2.7.5
4
15
 
5
16
  ### Patch Changes
@@ -0,0 +1,20 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.post-office.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../tsDist/@atlaskit__editor-tables/app",
7
+ "composite": true,
8
+ "rootDir": "../"
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": []
20
+ }
@@ -1,7 +1,8 @@
1
1
  import { type Selection } from '@atlaskit/editor-prosemirror/state';
2
2
  import { TableMap } from '../table-map';
3
+ import { findTable } from './find';
3
4
  export declare function getSelectedTableInfo(selection: Selection): {
4
- table: import("prosemirror-utils").ContentNodeWithPos | undefined;
5
+ table: ReturnType<typeof findTable> | undefined;
5
6
  map: TableMap | undefined;
6
7
  totalRowCount: number;
7
8
  totalColumnCount: number;
@@ -1,7 +1,8 @@
1
1
  import { type Selection } from '@atlaskit/editor-prosemirror/state';
2
2
  import { TableMap } from '../table-map';
3
+ import { findTable } from './find';
3
4
  export declare function getSelectedTableInfo(selection: Selection): {
4
- table: import("prosemirror-utils").ContentNodeWithPos | undefined;
5
+ table: ReturnType<typeof findTable> | undefined;
5
6
  map: TableMap | undefined;
6
7
  totalRowCount: number;
7
8
  totalColumnCount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-tables",
3
- "version": "2.7.5",
3
+ "version": "2.8.0",
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/"
@@ -28,12 +28,9 @@
28
28
  "releaseModel": "continuous"
29
29
  },
30
30
  "dependencies": {
31
- "@atlaskit/editor-prosemirror": "4.0.1",
31
+ "@atlaskit/editor-prosemirror": "5.0.1",
32
32
  "@babel/runtime": "^7.0.0"
33
33
  },
34
- "devDependencies": {
35
- "@atlassian/feature-flags-test-utils": "^0.2.0"
36
- },
37
34
  "techstack": {
38
35
  "@atlassian/frontend": {
39
36
  "circular-dependencies": [