@atlaskit/editor-plugin-table 7.3.2 → 7.3.4
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/types.js +4 -0
- package/dist/es2019/types.js +4 -0
- package/dist/esm/types.js +4 -0
- package/dist/types/types.d.ts +6 -0
- package/dist/types-ts4.5/types.d.ts +6 -0
- package/package.json +6 -6
- package/src/types.ts +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 7.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 7.3.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#70829](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70829) [`18955263bc9a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18955263bc9a) - ED-17638: Marked permittedLayouts as deprecated
|
|
14
|
+
|
|
3
15
|
## 7.3.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/types.js
CHANGED
|
@@ -12,6 +12,10 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
12
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
13
|
var RESIZE_HANDLE_AREA_DECORATION_GAP = exports.RESIZE_HANDLE_AREA_DECORATION_GAP = 30;
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
|
17
|
+
**/
|
|
18
|
+
|
|
15
19
|
/*
|
|
16
20
|
* This type represents the start and end from a cell in a column,
|
|
17
21
|
* for example, on this table the cell C1 will have
|
package/dist/es2019/types.js
CHANGED
|
@@ -2,6 +2,10 @@ import { tableCellSelector, tableHeaderSelector, tablePrefixSelector } from '@at
|
|
|
2
2
|
import { TableSharedCssClassName } from '@atlaskit/editor-common/styles';
|
|
3
3
|
export const RESIZE_HANDLE_AREA_DECORATION_GAP = 30;
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
|
7
|
+
**/
|
|
8
|
+
|
|
5
9
|
/*
|
|
6
10
|
* This type represents the start and end from a cell in a column,
|
|
7
11
|
* for example, on this table the cell C1 will have
|
package/dist/esm/types.js
CHANGED
|
@@ -5,6 +5,10 @@ import { tableCellSelector, tableHeaderSelector, tablePrefixSelector } from '@at
|
|
|
5
5
|
import { TableSharedCssClassName } from '@atlaskit/editor-common/styles';
|
|
6
6
|
export var RESIZE_HANDLE_AREA_DECORATION_GAP = 30;
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
|
10
|
+
**/
|
|
11
|
+
|
|
8
12
|
/*
|
|
9
13
|
* This type represents the start and end from a cell in a column,
|
|
10
14
|
* for example, on this table the cell C1 will have
|
package/dist/types/types.d.ts
CHANGED
|
@@ -11,6 +11,9 @@ import type { Edge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closes
|
|
|
11
11
|
import type tablePlugin from './plugin';
|
|
12
12
|
export declare const RESIZE_HANDLE_AREA_DECORATION_GAP = 30;
|
|
13
13
|
export type RowInsertPosition = 'TOP' | 'BOTTOM';
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
|
16
|
+
**/
|
|
14
17
|
export type PermittedLayoutsDescriptor = TableLayout[] | 'all';
|
|
15
18
|
export type Cell = {
|
|
16
19
|
pos: number;
|
|
@@ -36,6 +39,9 @@ export interface PluginConfig {
|
|
|
36
39
|
allowAddColumnWithCustomStep?: boolean;
|
|
37
40
|
allowCollapse?: boolean;
|
|
38
41
|
isHeaderRowRequired?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
|
44
|
+
**/
|
|
39
45
|
permittedLayouts?: PermittedLayoutsDescriptor;
|
|
40
46
|
allowControls?: boolean;
|
|
41
47
|
stickyHeaders?: boolean;
|
|
@@ -11,6 +11,9 @@ import type { Edge } from '@atlaskit/pragmatic-drag-and-drop-hitbox/addon/closes
|
|
|
11
11
|
import type tablePlugin from './plugin';
|
|
12
12
|
export declare const RESIZE_HANDLE_AREA_DECORATION_GAP = 30;
|
|
13
13
|
export type RowInsertPosition = 'TOP' | 'BOTTOM';
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
|
16
|
+
**/
|
|
14
17
|
export type PermittedLayoutsDescriptor = TableLayout[] | 'all';
|
|
15
18
|
export type Cell = {
|
|
16
19
|
pos: number;
|
|
@@ -36,6 +39,9 @@ export interface PluginConfig {
|
|
|
36
39
|
allowAddColumnWithCustomStep?: boolean;
|
|
37
40
|
allowCollapse?: boolean;
|
|
38
41
|
isHeaderRowRequired?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
|
44
|
+
**/
|
|
39
45
|
permittedLayouts?: PermittedLayoutsDescriptor;
|
|
40
46
|
allowControls?: boolean;
|
|
41
47
|
stickyHeaders?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.4",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@atlaskit/custom-steps": "^0.0.13",
|
|
33
33
|
"@atlaskit/editor-common": "^77.4.0",
|
|
34
34
|
"@atlaskit/editor-palette": "1.5.2",
|
|
35
|
-
"@atlaskit/editor-plugin-analytics": "^0.
|
|
36
|
-
"@atlaskit/editor-plugin-content-insertion": "^
|
|
37
|
-
"@atlaskit/editor-plugin-guideline": "^0.
|
|
38
|
-
"@atlaskit/editor-plugin-selection": "^0.
|
|
39
|
-
"@atlaskit/editor-plugin-width": "^0.
|
|
35
|
+
"@atlaskit/editor-plugin-analytics": "^1.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-content-insertion": "^1.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-guideline": "^1.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-selection": "^1.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-width": "^1.0.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
41
41
|
"@atlaskit/editor-shared-styles": "^2.9.0",
|
|
42
42
|
"@atlaskit/editor-tables": "^2.5.0",
|
package/src/types.ts
CHANGED
|
@@ -21,6 +21,9 @@ import type tablePlugin from './plugin';
|
|
|
21
21
|
export const RESIZE_HANDLE_AREA_DECORATION_GAP = 30;
|
|
22
22
|
export type RowInsertPosition = 'TOP' | 'BOTTOM';
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
|
26
|
+
**/
|
|
24
27
|
export type PermittedLayoutsDescriptor = TableLayout[] | 'all';
|
|
25
28
|
export type Cell = { pos: number; start: number; node: PmNode };
|
|
26
29
|
export type CellTransform = (cell: Cell) => (tr: Transaction) => Transaction;
|
|
@@ -51,6 +54,9 @@ export interface PluginConfig {
|
|
|
51
54
|
allowAddColumnWithCustomStep?: boolean;
|
|
52
55
|
allowCollapse?: boolean;
|
|
53
56
|
isHeaderRowRequired?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-6877 Internal documentation for deprecation (no external access)}
|
|
59
|
+
**/
|
|
54
60
|
permittedLayouts?: PermittedLayoutsDescriptor;
|
|
55
61
|
allowControls?: boolean;
|
|
56
62
|
stickyHeaders?: boolean;
|