@atlaskit/editor-plugin-table 8.4.13 → 8.4.14
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 +9 -0
- package/package.json +2 -2
- package/dist/cjs/pm-plugins/decorations/utils/index.js +0 -31
- package/dist/cjs/pm-plugins/drag-and-drop/index.js +0 -19
- package/dist/cjs/pm-plugins/drag-and-drop/utils/index.js +0 -12
- package/dist/cjs/pm-plugins/sticky-headers/index.js +0 -26
- package/dist/cjs/pm-plugins/table-resizing/index.js +0 -26
- package/dist/cjs/pm-plugins/table-resizing/utils/index.js +0 -176
- package/dist/cjs/pm-plugins/transforms/index.js +0 -59
- package/dist/cjs/pm-plugins/utils/index.js +0 -359
- package/dist/cjs/ui/TableFloatingControls/CornerControls/index.js +0 -25
- package/dist/cjs/ui/TableFloatingControls/RowControls/index.js +0 -19
- package/dist/cjs/ui/icons/index.js +0 -68
- package/dist/es2019/pm-plugins/decorations/utils/index.js +0 -2
- package/dist/es2019/pm-plugins/drag-and-drop/index.js +0 -2
- package/dist/es2019/pm-plugins/drag-and-drop/utils/index.js +0 -1
- package/dist/es2019/pm-plugins/sticky-headers/index.js +0 -3
- package/dist/es2019/pm-plugins/table-resizing/index.js +0 -3
- package/dist/es2019/pm-plugins/table-resizing/utils/index.js +0 -9
- package/dist/es2019/pm-plugins/transforms/index.js +0 -6
- package/dist/es2019/pm-plugins/utils/index.js +0 -12
- package/dist/es2019/ui/TableFloatingControls/CornerControls/index.js +0 -2
- package/dist/es2019/ui/TableFloatingControls/RowControls/index.js +0 -2
- package/dist/es2019/ui/icons/index.js +0 -9
- package/dist/esm/pm-plugins/decorations/utils/index.js +0 -2
- package/dist/esm/pm-plugins/drag-and-drop/index.js +0 -2
- package/dist/esm/pm-plugins/drag-and-drop/utils/index.js +0 -1
- package/dist/esm/pm-plugins/sticky-headers/index.js +0 -3
- package/dist/esm/pm-plugins/table-resizing/index.js +0 -3
- package/dist/esm/pm-plugins/table-resizing/utils/index.js +0 -9
- package/dist/esm/pm-plugins/transforms/index.js +0 -6
- package/dist/esm/pm-plugins/utils/index.js +0 -12
- package/dist/esm/ui/TableFloatingControls/CornerControls/index.js +0 -2
- package/dist/esm/ui/TableFloatingControls/RowControls/index.js +0 -2
- package/dist/esm/ui/icons/index.js +0 -9
- package/dist/types/pm-plugins/decorations/utils/index.d.ts +0 -2
- package/dist/types/pm-plugins/drag-and-drop/index.d.ts +0 -2
- package/dist/types/pm-plugins/drag-and-drop/utils/index.d.ts +0 -1
- package/dist/types/pm-plugins/sticky-headers/index.d.ts +0 -4
- package/dist/types/pm-plugins/table-resizing/index.d.ts +0 -3
- package/dist/types/pm-plugins/table-resizing/utils/index.d.ts +0 -10
- package/dist/types/pm-plugins/transforms/index.d.ts +0 -6
- package/dist/types/pm-plugins/utils/index.d.ts +0 -13
- package/dist/types/ui/TableFloatingControls/CornerControls/index.d.ts +0 -2
- package/dist/types/ui/TableFloatingControls/RowControls/index.d.ts +0 -2
- package/dist/types/ui/icons/index.d.ts +0 -9
- package/dist/types-ts4.5/pm-plugins/decorations/utils/index.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/drag-and-drop/index.d.ts +0 -2
- package/dist/types-ts4.5/pm-plugins/drag-and-drop/utils/index.d.ts +0 -1
- package/dist/types-ts4.5/pm-plugins/sticky-headers/index.d.ts +0 -4
- package/dist/types-ts4.5/pm-plugins/table-resizing/index.d.ts +0 -3
- package/dist/types-ts4.5/pm-plugins/table-resizing/utils/index.d.ts +0 -10
- package/dist/types-ts4.5/pm-plugins/transforms/index.d.ts +0 -6
- package/dist/types-ts4.5/pm-plugins/utils/index.d.ts +0 -13
- package/dist/types-ts4.5/ui/TableFloatingControls/CornerControls/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/TableFloatingControls/RowControls/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/icons/index.d.ts +0 -9
- package/src/pm-plugins/decorations/utils/index.ts +0 -5
- package/src/pm-plugins/drag-and-drop/index.ts +0 -2
- package/src/pm-plugins/drag-and-drop/utils/index.ts +0 -1
- package/src/pm-plugins/sticky-headers/index.ts +0 -5
- package/src/pm-plugins/table-resizing/index.ts +0 -3
- package/src/pm-plugins/table-resizing/utils/index.ts +0 -23
- package/src/pm-plugins/transforms/index.ts +0 -6
- package/src/pm-plugins/utils/index.ts +0 -69
- package/src/ui/TableFloatingControls/CornerControls/index.tsx +0 -2
- package/src/ui/TableFloatingControls/RowControls/index.tsx +0 -2
- package/src/ui/icons/index.ts +0 -9
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { getSelectedColumnIndexes, getSelectedRowIndexes } from './selection';
|
|
2
|
-
export { findControlsHoverDecoration, createControlsHoverDecoration, createCellHoverDecoration, updateDecorations, createColumnInsertLine, createColumnLineResize, createRowInsertLine, } from './decoration';
|
|
3
|
-
export { containsHeaderColumn, containsHeaderRow, checkIfHeaderColumnEnabled, checkIfHeaderRowEnabled, checkIfNumberColumnEnabled, getTableWidth, tablesHaveDifferentColumnWidths, tablesHaveDifferentNoOfColumns, tablesHaveDifferentNoOfRows, isTableNested, isTableNestedInMoreThanOneNode, } from './nodes';
|
|
4
|
-
export { transformSliceToRemoveOpenTable, transformSliceToCorrectEmptyTableCells, transformSliceToFixHardBreakProblemOnCopyFromCell, } from './paste';
|
|
5
|
-
export { isCell, isCornerButton, isInsertRowButton, isColumnControlsDecorations, isTableControlsButton, isTableContainerOrWrapper, isRowControlsButton, isDragColumnFloatingInsertDot, isDragRowFloatingInsertDot, isDragCornerButton, getColumnOrRowIndex, getMousePositionHorizontalRelativeByElement, getMousePositionVerticalRelativeByElement, isResizeHandleDecoration, hasResizeHandler, findNearestCellIndexToPoint, } from './dom';
|
|
6
|
-
export { convertHTMLCellIndexToColumnIndex, getColumnsWidths, getColumnDeleteButtonParams, getColumnIndexMappedToColumnIndexInFirstRow, } from './column-controls';
|
|
7
|
-
export { getRowHeights, getRowDeleteButtonParams, getRowsParams, getRowClassNames, copyPreviousRow, } from './row-controls';
|
|
8
|
-
export type { RowParams } from './row-controls';
|
|
9
|
-
export { getSelectedTableInfo, getSelectedCellInfo } from './analytics';
|
|
10
|
-
export { getMergedCellsPositions, getAssistiveMessage } from './table';
|
|
11
|
-
export { updatePluginStateDecorations } from './update-plugin-state-decorations';
|
|
12
|
-
export { hasMergedCellsInBetween, hasMergedCellsInSelection, findDuplicatePosition, } from './merged-cells';
|
|
13
|
-
export { createTableWithWidth } from './create';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { DragHandleIcon } from './DragHandleIcon';
|
|
2
|
-
export { DragHandleDisabledIcon } from './DragHandleDisabledIcon';
|
|
3
|
-
export { MinimisedHandleIcon } from './MinimisedHandle';
|
|
4
|
-
export { MergeCellsIcon } from './MergeCellsIcon';
|
|
5
|
-
export { SplitCellIcon } from './SplitCellIcon';
|
|
6
|
-
export { AddRowAboveIcon } from './AddRowAboveIcon';
|
|
7
|
-
export { AddRowBelowIcon } from './AddRowBelowIcon';
|
|
8
|
-
export { AddColLeftIcon } from './AddColLeftIcon';
|
|
9
|
-
export { AddColRightIcon } from './AddColRightIcon';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { autoScrollerFactory } from './autoscrollers';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { generateColgroup, insertColgroupFromNode, hasTableBeenResized, getColgroupChildrenLength, getResizerMinWidth, } from './colgroup';
|
|
2
|
-
export { contentWidth } from './content-width';
|
|
3
|
-
export { getCellsRefsInColumn, calculateColumnWidth } from './column-state';
|
|
4
|
-
export { getResizeState, updateColgroup, evenAllColumnsWidths } from './resize-state';
|
|
5
|
-
export { getLayoutSize, pointsAtCell, currentColWidth, getTableMaxWidth, getTableElementWidth, getTableContainerElementWidth, } from './misc';
|
|
6
|
-
export { updateControls, isClickNear, getResizeCellPos } from './dom';
|
|
7
|
-
export { scaleTable, previewScaleTable } from './scale-table';
|
|
8
|
-
export type { ResizeState, ResizeStateWithAnalytics } from './types';
|
|
9
|
-
export { resizeColumn, resizeColumnAndTable } from './resize-column';
|
|
10
|
-
export { COLUMN_MIN_WIDTH, TABLE_MAX_WIDTH, TABLE_OFFSET_IN_COMMENT_EDITOR } from './consts';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { fixTables, fixAutoSizedTable } from './fix-tables';
|
|
2
|
-
export { mergeCells, canMergeCells } from './merge';
|
|
3
|
-
export { deleteColumns } from './delete-columns';
|
|
4
|
-
export { deleteRows } from './delete-rows';
|
|
5
|
-
export { updateColumnWidths } from './column-width';
|
|
6
|
-
export { replaceSelectedTable } from './replace-table';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { getSelectedColumnIndexes, getSelectedRowIndexes } from './selection';
|
|
2
|
-
export { findControlsHoverDecoration, createControlsHoverDecoration, createCellHoverDecoration, updateDecorations, createColumnInsertLine, createColumnLineResize, createRowInsertLine, } from './decoration';
|
|
3
|
-
export { containsHeaderColumn, containsHeaderRow, checkIfHeaderColumnEnabled, checkIfHeaderRowEnabled, checkIfNumberColumnEnabled, getTableWidth, tablesHaveDifferentColumnWidths, tablesHaveDifferentNoOfColumns, tablesHaveDifferentNoOfRows, isTableNested, isTableNestedInMoreThanOneNode, } from './nodes';
|
|
4
|
-
export { transformSliceToRemoveOpenTable, transformSliceToCorrectEmptyTableCells, transformSliceToFixHardBreakProblemOnCopyFromCell, } from './paste';
|
|
5
|
-
export { isCell, isCornerButton, isInsertRowButton, isColumnControlsDecorations, isTableControlsButton, isTableContainerOrWrapper, isRowControlsButton, isDragColumnFloatingInsertDot, isDragRowFloatingInsertDot, isDragCornerButton, getColumnOrRowIndex, getMousePositionHorizontalRelativeByElement, getMousePositionVerticalRelativeByElement, isResizeHandleDecoration, hasResizeHandler, findNearestCellIndexToPoint, } from './dom';
|
|
6
|
-
export { convertHTMLCellIndexToColumnIndex, getColumnsWidths, getColumnDeleteButtonParams, getColumnIndexMappedToColumnIndexInFirstRow, } from './column-controls';
|
|
7
|
-
export { getRowHeights, getRowDeleteButtonParams, getRowsParams, getRowClassNames, copyPreviousRow, } from './row-controls';
|
|
8
|
-
export type { RowParams } from './row-controls';
|
|
9
|
-
export { getSelectedTableInfo, getSelectedCellInfo } from './analytics';
|
|
10
|
-
export { getMergedCellsPositions, getAssistiveMessage } from './table';
|
|
11
|
-
export { updatePluginStateDecorations } from './update-plugin-state-decorations';
|
|
12
|
-
export { hasMergedCellsInBetween, hasMergedCellsInSelection, findDuplicatePosition, } from './merged-cells';
|
|
13
|
-
export { createTableWithWidth } from './create';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { DragHandleIcon } from './DragHandleIcon';
|
|
2
|
-
export { DragHandleDisabledIcon } from './DragHandleDisabledIcon';
|
|
3
|
-
export { MinimisedHandleIcon } from './MinimisedHandle';
|
|
4
|
-
export { MergeCellsIcon } from './MergeCellsIcon';
|
|
5
|
-
export { SplitCellIcon } from './SplitCellIcon';
|
|
6
|
-
export { AddRowAboveIcon } from './AddRowAboveIcon';
|
|
7
|
-
export { AddRowBelowIcon } from './AddRowBelowIcon';
|
|
8
|
-
export { AddColLeftIcon } from './AddColLeftIcon';
|
|
9
|
-
export { AddColRightIcon } from './AddColRightIcon';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { autoScrollerFactory } from './autoscrollers';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export {
|
|
2
|
-
generateColgroup,
|
|
3
|
-
insertColgroupFromNode,
|
|
4
|
-
hasTableBeenResized,
|
|
5
|
-
getColgroupChildrenLength,
|
|
6
|
-
getResizerMinWidth,
|
|
7
|
-
} from './colgroup';
|
|
8
|
-
export { contentWidth } from './content-width';
|
|
9
|
-
export { getCellsRefsInColumn, calculateColumnWidth } from './column-state';
|
|
10
|
-
export { getResizeState, updateColgroup, evenAllColumnsWidths } from './resize-state';
|
|
11
|
-
export {
|
|
12
|
-
getLayoutSize,
|
|
13
|
-
pointsAtCell,
|
|
14
|
-
currentColWidth,
|
|
15
|
-
getTableMaxWidth,
|
|
16
|
-
getTableElementWidth,
|
|
17
|
-
getTableContainerElementWidth,
|
|
18
|
-
} from './misc';
|
|
19
|
-
export { updateControls, isClickNear, getResizeCellPos } from './dom';
|
|
20
|
-
export { scaleTable, previewScaleTable } from './scale-table';
|
|
21
|
-
export type { ResizeState, ResizeStateWithAnalytics } from './types';
|
|
22
|
-
export { resizeColumn, resizeColumnAndTable } from './resize-column';
|
|
23
|
-
export { COLUMN_MIN_WIDTH, TABLE_MAX_WIDTH, TABLE_OFFSET_IN_COMMENT_EDITOR } from './consts';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { fixTables, fixAutoSizedTable } from './fix-tables';
|
|
2
|
-
export { mergeCells, canMergeCells } from './merge';
|
|
3
|
-
export { deleteColumns } from './delete-columns';
|
|
4
|
-
export { deleteRows } from './delete-rows';
|
|
5
|
-
export { updateColumnWidths } from './column-width';
|
|
6
|
-
export { replaceSelectedTable } from './replace-table';
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
export { getSelectedColumnIndexes, getSelectedRowIndexes } from './selection';
|
|
2
|
-
export {
|
|
3
|
-
findControlsHoverDecoration,
|
|
4
|
-
createControlsHoverDecoration,
|
|
5
|
-
createCellHoverDecoration,
|
|
6
|
-
updateDecorations,
|
|
7
|
-
createColumnInsertLine,
|
|
8
|
-
createColumnLineResize,
|
|
9
|
-
createRowInsertLine,
|
|
10
|
-
} from './decoration';
|
|
11
|
-
export {
|
|
12
|
-
containsHeaderColumn,
|
|
13
|
-
containsHeaderRow,
|
|
14
|
-
checkIfHeaderColumnEnabled,
|
|
15
|
-
checkIfHeaderRowEnabled,
|
|
16
|
-
checkIfNumberColumnEnabled,
|
|
17
|
-
getTableWidth,
|
|
18
|
-
tablesHaveDifferentColumnWidths,
|
|
19
|
-
tablesHaveDifferentNoOfColumns,
|
|
20
|
-
tablesHaveDifferentNoOfRows,
|
|
21
|
-
isTableNested,
|
|
22
|
-
isTableNestedInMoreThanOneNode,
|
|
23
|
-
} from './nodes';
|
|
24
|
-
export {
|
|
25
|
-
transformSliceToRemoveOpenTable,
|
|
26
|
-
transformSliceToCorrectEmptyTableCells,
|
|
27
|
-
transformSliceToFixHardBreakProblemOnCopyFromCell,
|
|
28
|
-
} from './paste';
|
|
29
|
-
export {
|
|
30
|
-
isCell,
|
|
31
|
-
isCornerButton,
|
|
32
|
-
isInsertRowButton,
|
|
33
|
-
isColumnControlsDecorations,
|
|
34
|
-
isTableControlsButton,
|
|
35
|
-
isTableContainerOrWrapper,
|
|
36
|
-
isRowControlsButton,
|
|
37
|
-
isDragColumnFloatingInsertDot,
|
|
38
|
-
isDragRowFloatingInsertDot,
|
|
39
|
-
isDragCornerButton,
|
|
40
|
-
getColumnOrRowIndex,
|
|
41
|
-
getMousePositionHorizontalRelativeByElement,
|
|
42
|
-
getMousePositionVerticalRelativeByElement,
|
|
43
|
-
isResizeHandleDecoration,
|
|
44
|
-
hasResizeHandler,
|
|
45
|
-
findNearestCellIndexToPoint,
|
|
46
|
-
} from './dom';
|
|
47
|
-
export {
|
|
48
|
-
convertHTMLCellIndexToColumnIndex,
|
|
49
|
-
getColumnsWidths,
|
|
50
|
-
getColumnDeleteButtonParams,
|
|
51
|
-
getColumnIndexMappedToColumnIndexInFirstRow,
|
|
52
|
-
} from './column-controls';
|
|
53
|
-
export {
|
|
54
|
-
getRowHeights,
|
|
55
|
-
getRowDeleteButtonParams,
|
|
56
|
-
getRowsParams,
|
|
57
|
-
getRowClassNames,
|
|
58
|
-
copyPreviousRow,
|
|
59
|
-
} from './row-controls';
|
|
60
|
-
export type { RowParams } from './row-controls';
|
|
61
|
-
export { getSelectedTableInfo, getSelectedCellInfo } from './analytics';
|
|
62
|
-
export { getMergedCellsPositions, getAssistiveMessage } from './table';
|
|
63
|
-
export { updatePluginStateDecorations } from './update-plugin-state-decorations';
|
|
64
|
-
export {
|
|
65
|
-
hasMergedCellsInBetween,
|
|
66
|
-
hasMergedCellsInSelection,
|
|
67
|
-
findDuplicatePosition,
|
|
68
|
-
} from './merged-cells';
|
|
69
|
-
export { createTableWithWidth } from './create';
|
package/src/ui/icons/index.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { DragHandleIcon } from './DragHandleIcon';
|
|
2
|
-
export { DragHandleDisabledIcon } from './DragHandleDisabledIcon';
|
|
3
|
-
export { MinimisedHandleIcon } from './MinimisedHandle';
|
|
4
|
-
export { MergeCellsIcon } from './MergeCellsIcon';
|
|
5
|
-
export { SplitCellIcon } from './SplitCellIcon';
|
|
6
|
-
export { AddRowAboveIcon } from './AddRowAboveIcon';
|
|
7
|
-
export { AddRowBelowIcon } from './AddRowBelowIcon';
|
|
8
|
-
export { AddColLeftIcon } from './AddColLeftIcon';
|
|
9
|
-
export { AddColRightIcon } from './AddColRightIcon';
|