@atlaskit/editor-plugin-table 23.3.12 → 23.4.1
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 +22 -0
- package/dist/cjs/nodeviews/TableCell.js +2 -5
- package/dist/cjs/nodeviews/TableComponent.js +18 -1
- package/dist/cjs/nodeviews/TableRow.js +4 -0
- package/dist/cjs/nodeviews/TableRowNativeStickyWithFallback.js +3 -0
- package/dist/cjs/nodeviews/toDOM.js +13 -1
- package/dist/cjs/pm-plugins/commands/selection.js +1 -2
- package/dist/cjs/pm-plugins/table-resizing/utils/dom.js +31 -1
- package/dist/cjs/tablePlugin.js +1 -1
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/ui/TableFloatingControls/NumberColumn/index.js +10 -2
- package/dist/cjs/ui/common-styles.js +8 -22
- package/dist/cjs/ui/rounded-table-styles.js +43 -0
- package/dist/es2019/nodeviews/TableCell.js +2 -5
- package/dist/es2019/nodeviews/TableComponent.js +19 -2
- package/dist/es2019/nodeviews/TableRow.js +5 -1
- package/dist/es2019/nodeviews/TableRowNativeStickyWithFallback.js +4 -1
- package/dist/es2019/nodeviews/toDOM.js +13 -1
- package/dist/es2019/pm-plugins/commands/selection.js +1 -2
- package/dist/es2019/pm-plugins/table-resizing/utils/dom.js +30 -0
- package/dist/es2019/tablePlugin.js +1 -1
- package/dist/es2019/types/index.js +1 -0
- package/dist/es2019/ui/TableFloatingControls/NumberColumn/index.js +10 -2
- package/dist/es2019/ui/common-styles.js +21 -458
- package/dist/es2019/ui/rounded-table-styles.js +581 -0
- package/dist/esm/nodeviews/TableCell.js +2 -5
- package/dist/esm/nodeviews/TableComponent.js +19 -2
- package/dist/esm/nodeviews/TableRow.js +5 -1
- package/dist/esm/nodeviews/TableRowNativeStickyWithFallback.js +4 -1
- package/dist/esm/nodeviews/toDOM.js +13 -1
- package/dist/esm/pm-plugins/commands/selection.js +1 -2
- package/dist/esm/pm-plugins/table-resizing/utils/dom.js +30 -0
- package/dist/esm/tablePlugin.js +1 -1
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/ui/TableFloatingControls/NumberColumn/index.js +10 -2
- package/dist/esm/ui/common-styles.js +8 -22
- package/dist/esm/ui/rounded-table-styles.js +37 -0
- package/dist/types/pm-plugins/table-resizing/utils/dom.d.ts +1 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/ui/rounded-table-styles.d.ts +2 -0
- package/dist/types-ts4.5/pm-plugins/table-resizing/utils/dom.d.ts +1 -0
- package/dist/types-ts4.5/types/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/rounded-table-styles.d.ts +2 -0
- package/package.json +6 -9
|
@@ -8,3 +8,4 @@ export declare const isClickNear: (event: MouseEvent, click: {
|
|
|
8
8
|
export declare const getResizeCellPos: (view: EditorView, event: MouseEvent) => number | null;
|
|
9
9
|
export declare const updateStickyMargins: (table: HTMLElement) => void;
|
|
10
10
|
export declare const syncStickyRowToTable: (tableRef?: HTMLElement | null) => void;
|
|
11
|
+
export declare const clearStickyCornerMaskPositions: (tableRef?: HTMLElement | null) => void;
|
|
@@ -430,6 +430,7 @@ export declare const TableCssClassName: {
|
|
|
430
430
|
TABLE_CHROMELESS: string;
|
|
431
431
|
TABLE_COLUMN_CONTROLS_DECORATIONS: 'pm-table-column-controls-decoration';
|
|
432
432
|
TABLE_CONTAINER: 'pm-table-container';
|
|
433
|
+
TABLE_CORNER_MASK: 'pm-table-corner-mask';
|
|
433
434
|
TABLE_HEADER_CELL: 'pm-table-header-content-wrap';
|
|
434
435
|
TABLE_HEADER_CELL_WRAPPER: 'pm-table-header-content-wrap';
|
|
435
436
|
TABLE_LEFT_BORDER: 'pm-table-left-border';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.4.1",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^11.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-content-insertion": "^11.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^13.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-extension": "14.1.
|
|
40
|
+
"@atlaskit/editor-plugin-extension": "14.1.13",
|
|
41
41
|
"@atlaskit/editor-plugin-guideline": "^11.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-interaction": "^20.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-limited-mode": "^8.0.0",
|
|
44
44
|
"@atlaskit/editor-plugin-selection": "^11.0.0",
|
|
45
45
|
"@atlaskit/editor-plugin-toolbar": "^8.0.0",
|
|
46
46
|
"@atlaskit/editor-plugin-ui-control-registry": "^5.0.0",
|
|
47
|
-
"@atlaskit/editor-plugin-user-intent": "^9.
|
|
47
|
+
"@atlaskit/editor-plugin-user-intent": "^9.1.0",
|
|
48
48
|
"@atlaskit/editor-plugin-width": "^12.0.0",
|
|
49
49
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
50
50
|
"@atlaskit/editor-shared-styles": "^3.11.0",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
61
61
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.2.0",
|
|
62
62
|
"@atlaskit/primitives": "^19.0.0",
|
|
63
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
63
|
+
"@atlaskit/tmp-editor-statsig": "^101.0.0",
|
|
64
64
|
"@atlaskit/toggle": "^16.1.0",
|
|
65
|
-
"@atlaskit/tokens": "^13.
|
|
65
|
+
"@atlaskit/tokens": "^13.4.0",
|
|
66
66
|
"@atlaskit/tooltip": "^22.6.0",
|
|
67
67
|
"@babel/runtime": "^7.0.0",
|
|
68
68
|
"@compiled/react": "^0.20.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"uuid": "^3.1.0"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@atlaskit/editor-common": "^115.
|
|
78
|
+
"@atlaskit/editor-common": "^115.15.0",
|
|
79
79
|
"react": "^18.2.0",
|
|
80
80
|
"react-dom": "^18.2.0",
|
|
81
81
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
@@ -132,9 +132,6 @@
|
|
|
132
132
|
"platform_editor_table_sticky_header_patch_1": {
|
|
133
133
|
"type": "boolean"
|
|
134
134
|
},
|
|
135
|
-
"platform_editor_table_sticky_header_patch_2": {
|
|
136
|
-
"type": "boolean"
|
|
137
|
-
},
|
|
138
135
|
"platform_editor_table_sticky_header_patch_4": {
|
|
139
136
|
"type": "boolean"
|
|
140
137
|
},
|