@atlaskit/editor-plugin-table 14.2.7 → 14.3.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 +14 -0
- package/dist/cjs/nodeviews/TableComponent.js +24 -65
- package/dist/cjs/nodeviews/table.js +14 -128
- package/dist/cjs/pm-plugins/utils/analytics.js +33 -1
- package/dist/cjs/tablePlugin.js +50 -13
- package/dist/cjs/ui/DragHandle/index.js +21 -8
- package/dist/cjs/ui/TableFloatingColumnControls/ColumnControls/index.js +1 -18
- package/dist/cjs/ui/TableFloatingColumnControls/index.js +1 -2
- package/dist/cjs/ui/TableFloatingControls/RowControls/DragControls.js +1 -18
- package/dist/cjs/ui/TableFloatingControls/index.js +3 -45
- package/dist/es2019/nodeviews/TableComponent.js +18 -62
- package/dist/es2019/nodeviews/table.js +14 -129
- package/dist/es2019/pm-plugins/utils/analytics.js +32 -0
- package/dist/es2019/tablePlugin.js +39 -1
- package/dist/es2019/ui/DragHandle/index.js +15 -5
- package/dist/es2019/ui/TableFloatingColumnControls/ColumnControls/index.js +2 -19
- package/dist/es2019/ui/TableFloatingColumnControls/index.js +1 -2
- package/dist/es2019/ui/TableFloatingControls/RowControls/DragControls.js +2 -19
- package/dist/es2019/ui/TableFloatingControls/index.js +5 -47
- package/dist/esm/nodeviews/TableComponent.js +24 -65
- package/dist/esm/nodeviews/table.js +14 -128
- package/dist/esm/pm-plugins/utils/analytics.js +32 -0
- package/dist/esm/tablePlugin.js +50 -13
- package/dist/esm/ui/DragHandle/index.js +20 -7
- package/dist/esm/ui/TableFloatingColumnControls/ColumnControls/index.js +2 -19
- package/dist/esm/ui/TableFloatingColumnControls/index.js +1 -2
- package/dist/esm/ui/TableFloatingControls/RowControls/DragControls.js +2 -19
- package/dist/esm/ui/TableFloatingControls/index.js +5 -47
- package/dist/types/pm-plugins/utils/analytics.d.ts +2 -0
- package/dist/types/ui/DragHandle/index.d.ts +1 -4
- package/dist/types-ts4.5/pm-plugins/utils/analytics.d.ts +2 -0
- package/dist/types-ts4.5/ui/DragHandle/index.d.ts +1 -4
- package/package.json +10 -22
|
@@ -33,8 +33,8 @@ var DragHandleComponent = function DragHandleComponent(_ref) {
|
|
|
33
33
|
forceDefaultHandle = _ref$forceDefaultHand === void 0 ? false : _ref$forceDefaultHand,
|
|
34
34
|
previewWidth = _ref.previewWidth,
|
|
35
35
|
previewHeight = _ref.previewHeight,
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
_onMouseOver = _ref.onMouseOver,
|
|
37
|
+
_onMouseOut = _ref.onMouseOut,
|
|
38
38
|
toggleDragMenu = _ref.toggleDragMenu,
|
|
39
39
|
hoveredCell = _ref.hoveredCell,
|
|
40
40
|
onClick = _ref.onClick,
|
|
@@ -59,6 +59,10 @@ var DragHandleComponent = function DragHandleComponent(_ref) {
|
|
|
59
59
|
var _getDnDPluginState = getDnDPluginState(state),
|
|
60
60
|
_getDnDPluginState$is = _getDnDPluginState.isDragMenuOpen,
|
|
61
61
|
isDragMenuOpen = _getDnDPluginState$is === void 0 ? false : _getDnDPluginState$is;
|
|
62
|
+
var _useState3 = useState(false),
|
|
63
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
64
|
+
isHovered = _useState4[0],
|
|
65
|
+
setIsHovered = _useState4[1];
|
|
62
66
|
var isRow = direction === 'row';
|
|
63
67
|
var isColumn = direction === 'column';
|
|
64
68
|
|
|
@@ -100,7 +104,7 @@ var DragHandleComponent = function DragHandleComponent(_ref) {
|
|
|
100
104
|
}, [indexes, selection, direction, hoveredCell]);
|
|
101
105
|
var handleIconProps = {
|
|
102
106
|
forceDefaultHandle: forceDefaultHandle,
|
|
103
|
-
isHandleHovered: isColumnHandleHovered || isRowHandleHovered,
|
|
107
|
+
isHandleHovered: expValEquals('platform_editor_table_drag_handle_hover', 'isEnabled', true) ? isHovered : isColumnHandleHovered || isRowHandleHovered,
|
|
104
108
|
hasMergedCells: hasMergedCells
|
|
105
109
|
};
|
|
106
110
|
useEffect(function () {
|
|
@@ -207,10 +211,20 @@ var DragHandleComponent = function DragHandleComponent(_ref) {
|
|
|
207
211
|
"aria-haspopup": "menu"
|
|
208
212
|
// eslint-disable-next-line jsx-a11y/mouse-events-have-key-events
|
|
209
213
|
,
|
|
210
|
-
onMouseOver: onMouseOver
|
|
214
|
+
onMouseOver: function onMouseOver(e) {
|
|
215
|
+
if (expValEquals('platform_editor_table_drag_handle_hover', 'isEnabled', true)) {
|
|
216
|
+
setIsHovered(true);
|
|
217
|
+
}
|
|
218
|
+
_onMouseOver && _onMouseOver(e);
|
|
219
|
+
}
|
|
211
220
|
// eslint-disable-next-line jsx-a11y/mouse-events-have-key-events
|
|
212
221
|
,
|
|
213
|
-
onMouseOut: onMouseOut
|
|
222
|
+
onMouseOut: function onMouseOut(e) {
|
|
223
|
+
if (expValEquals('platform_editor_table_drag_handle_hover', 'isEnabled', true)) {
|
|
224
|
+
setIsHovered(false);
|
|
225
|
+
}
|
|
226
|
+
_onMouseOut && _onMouseOut(e);
|
|
227
|
+
},
|
|
214
228
|
onMouseUp: function onMouseUp(e) {
|
|
215
229
|
// return focus to editor so copying table selections whilst still works, i cannot call e.preventDefault in a mousemove event as this stops dragstart events from firing
|
|
216
230
|
// -> this is bad for a11y but is the current standard new copy/paste keyboard shortcuts should be introduced instead
|
|
@@ -291,5 +305,4 @@ var DragHandleComponentWithSharedState = function DragHandleComponentWithSharedS
|
|
|
291
305
|
hoveredRows: hoveredRows
|
|
292
306
|
});
|
|
293
307
|
};
|
|
294
|
-
export var DragHandle = injectIntl(
|
|
295
|
-
export var DragHandleWithSharedState = injectIntl(DragHandleComponentWithSharedState);
|
|
308
|
+
export var DragHandle = injectIntl(DragHandleComponentWithSharedState);
|
|
@@ -6,13 +6,12 @@ import { tableCellMinWidth } from '@atlaskit/editor-common/styles';
|
|
|
6
6
|
import { akEditorTableNumberColumnWidth } from '@atlaskit/editor-shared-styles';
|
|
7
7
|
import { CellSelection } from '@atlaskit/editor-tables';
|
|
8
8
|
import { getSelectionRect } from '@atlaskit/editor-tables/utils';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
9
|
import { clearHoverSelection, hoverCell, hoverColumns, selectColumn, selectColumns } from '../../../pm-plugins/commands';
|
|
11
10
|
import { toggleDragMenu } from '../../../pm-plugins/drag-and-drop/commands';
|
|
12
11
|
import { getRowsParams } from '../../../pm-plugins/utils/row-controls';
|
|
13
12
|
import { getSelectedColumnIndexes } from '../../../pm-plugins/utils/selection';
|
|
14
13
|
import { TableCssClassName as ClassName } from '../../../types';
|
|
15
|
-
import { DragHandle
|
|
14
|
+
import { DragHandle } from '../../DragHandle';
|
|
16
15
|
var getSelectedColumns = function getSelectedColumns(selection) {
|
|
17
16
|
if (selection instanceof CellSelection && selection.isColSelection()) {
|
|
18
17
|
var rect = getSelectionRect(selection);
|
|
@@ -168,23 +167,7 @@ export var ColumnControls = function ColumnControls(_ref) {
|
|
|
168
167
|
position: 'relative'
|
|
169
168
|
},
|
|
170
169
|
"data-testid": "table-floating-column-".concat(isHover ? colIndex : isPlaceholder ? appearance : selectedColIndexes[0], "-drag-handle")
|
|
171
|
-
},
|
|
172
|
-
isDragMenuTarget: !isHover,
|
|
173
|
-
direction: "column",
|
|
174
|
-
tableLocalId: localId || '',
|
|
175
|
-
indexes: indexes,
|
|
176
|
-
hoveredCell: hoveredCell,
|
|
177
|
-
previewWidth: previewWidth,
|
|
178
|
-
forceDefaultHandle: !isHover,
|
|
179
|
-
previewHeight: previewHeight,
|
|
180
|
-
appearance: appearance,
|
|
181
|
-
onClick: handleClick,
|
|
182
|
-
onMouseOver: handleMouseOver,
|
|
183
|
-
onMouseOut: handleMouseOut,
|
|
184
|
-
toggleDragMenu: toggleDragMenuHandler,
|
|
185
|
-
editorView: editorView,
|
|
186
|
-
api: api
|
|
187
|
-
}) : /*#__PURE__*/React.createElement(DragHandle, {
|
|
170
|
+
}, /*#__PURE__*/React.createElement(DragHandle, {
|
|
188
171
|
isDragMenuTarget: !isHover,
|
|
189
172
|
direction: "column",
|
|
190
173
|
tableLocalId: localId || '',
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
3
|
import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
|
|
5
4
|
import { getColumnsWidths } from '../../pm-plugins/utils/column-controls';
|
|
6
5
|
import { containsHeaderColumn } from '../../pm-plugins/utils/nodes';
|
|
@@ -94,7 +93,7 @@ var TableFloatingColumnControls = function TableFloatingColumnControls(_ref) {
|
|
|
94
93
|
isNumberColumnEnabled: isNumberColumnEnabled,
|
|
95
94
|
isDragging: isDragging,
|
|
96
95
|
getScrollOffset: getScrollOffset,
|
|
97
|
-
api:
|
|
96
|
+
api: api
|
|
98
97
|
}), isDragging && /*#__PURE__*/React.createElement(ColumnDropTargets, {
|
|
99
98
|
tableRef: tableRef,
|
|
100
99
|
isHeaderSticky: (stickyHeader === null || stickyHeader === void 0 ? void 0 : stickyHeader.sticky) && hasHeaderRow,
|
|
@@ -5,7 +5,6 @@ import React, { Fragment, useCallback, useEffect, useMemo, useState } from 'reac
|
|
|
5
5
|
import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
|
|
6
6
|
import { CellSelection } from '@atlaskit/editor-tables';
|
|
7
7
|
import { getSelectionRect } from '@atlaskit/editor-tables/utils';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
|
|
10
9
|
import { clearHoverSelection } from '../../../pm-plugins/commands';
|
|
11
10
|
import { toggleDragMenu } from '../../../pm-plugins/drag-and-drop/commands';
|
|
@@ -14,7 +13,7 @@ import { getRowHeights, getRowsParams } from '../../../pm-plugins/utils/row-cont
|
|
|
14
13
|
import { getSelectedRowIndexes } from '../../../pm-plugins/utils/selection';
|
|
15
14
|
import { TableCssClassName as ClassName } from '../../../types';
|
|
16
15
|
import { dropTargetExtendedWidth } from '../../consts';
|
|
17
|
-
import { DragHandle
|
|
16
|
+
import { DragHandle } from '../../DragHandle';
|
|
18
17
|
import RowDropTarget from '../RowDropTarget';
|
|
19
18
|
var getSelectedRows = function getSelectedRows(selection) {
|
|
20
19
|
if (selection instanceof CellSelection && selection.isRowSelection()) {
|
|
@@ -157,23 +156,7 @@ export var DragControls = function DragControls(_ref) {
|
|
|
157
156
|
pointerEvents: 'none'
|
|
158
157
|
},
|
|
159
158
|
"data-testid": "table-floating-row-".concat(isHover ? rowIndex : selectedRowIndexes[0], "-drag-handle")
|
|
160
|
-
},
|
|
161
|
-
isDragMenuTarget: !isHover,
|
|
162
|
-
direction: "row",
|
|
163
|
-
tableLocalId: currentNodeLocalId,
|
|
164
|
-
indexes: indexes,
|
|
165
|
-
forceDefaultHandle: !isHover,
|
|
166
|
-
previewWidth: tableWidth,
|
|
167
|
-
previewHeight: previewHeight,
|
|
168
|
-
appearance: appearance,
|
|
169
|
-
hoveredCell: hoveredCell,
|
|
170
|
-
onClick: handleClick,
|
|
171
|
-
onMouseOver: handleMouseOver,
|
|
172
|
-
onMouseOut: handleMouseOut,
|
|
173
|
-
toggleDragMenu: toggleDragMenuHandler,
|
|
174
|
-
editorView: editorView,
|
|
175
|
-
api: api
|
|
176
|
-
}) : /*#__PURE__*/React.createElement(DragHandle, {
|
|
159
|
+
}, /*#__PURE__*/React.createElement(DragHandle, {
|
|
177
160
|
isDragMenuTarget: !isHover,
|
|
178
161
|
direction: "row",
|
|
179
162
|
tableLocalId: currentNodeLocalId,
|
|
@@ -5,12 +5,10 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
5
5
|
import { hoverCell, hoverRows, selectRow, selectRows } from '../../pm-plugins/commands';
|
|
6
6
|
import { isTableNested } from '../../pm-plugins/utils/nodes';
|
|
7
7
|
import { TableCssClassName as ClassName } from '../../types';
|
|
8
|
-
import {
|
|
9
|
-
import { DragCornerControls, DragCornerControlsWithSelection } from './CornerControls/DragCornerControls';
|
|
8
|
+
import { DragCornerControlsWithSelection } from './CornerControls/DragCornerControls';
|
|
10
9
|
import { FloatingControlsWithSelection } from './FloatingControlsWithSelection';
|
|
11
10
|
import NumberColumn from './NumberColumn';
|
|
12
|
-
import {
|
|
13
|
-
import { DragControls, DragControlsWithSelection } from './RowControls/DragControls';
|
|
11
|
+
import { DragControlsWithSelection } from './RowControls/DragControls';
|
|
14
12
|
// Row controls
|
|
15
13
|
export var TableFloatingControls = function TableFloatingControls(_ref) {
|
|
16
14
|
var _findTable;
|
|
@@ -102,7 +100,7 @@ export var TableFloatingControls = function TableFloatingControls(_ref) {
|
|
|
102
100
|
updateCellHoverLocation: updateCellHoverLocation,
|
|
103
101
|
stickyTop: stickyTop,
|
|
104
102
|
isDragAndDropEnabled: isDragAndDropEnabled
|
|
105
|
-
}) : null, tableActive && /*#__PURE__*/React.createElement(React.Fragment, null, isDragAndDropEnabled ? /*#__PURE__*/React.createElement(React.Fragment, null,
|
|
103
|
+
}) : null, tableActive && /*#__PURE__*/React.createElement(React.Fragment, null, isDragAndDropEnabled ? /*#__PURE__*/React.createElement(React.Fragment, null, shouldShowCornerControls && /*#__PURE__*/React.createElement(DragCornerControlsWithSelection, {
|
|
106
104
|
editorView: editorView,
|
|
107
105
|
tableRef: tableRef,
|
|
108
106
|
isInDanger: isInDanger,
|
|
@@ -126,29 +124,7 @@ export var TableFloatingControls = function TableFloatingControls(_ref) {
|
|
|
126
124
|
selectRows: _selectRows,
|
|
127
125
|
updateCellHoverLocation: updateCellHoverLocation,
|
|
128
126
|
api: api
|
|
129
|
-
})) : /*#__PURE__*/React.createElement(
|
|
130
|
-
editorView: editorView,
|
|
131
|
-
tableRef: tableRef,
|
|
132
|
-
isInDanger: isInDanger,
|
|
133
|
-
isResizing: isResizing
|
|
134
|
-
}), /*#__PURE__*/React.createElement(DragControls, {
|
|
135
|
-
tableRef: tableRef,
|
|
136
|
-
tableNode: tableNode,
|
|
137
|
-
hoveredCell: hoveredCell,
|
|
138
|
-
isTableHovered: isTableHovered,
|
|
139
|
-
editorView: editorView,
|
|
140
|
-
tableActive: tableActive,
|
|
141
|
-
isInDanger: isInDanger,
|
|
142
|
-
isResizing: isResizing
|
|
143
|
-
// Ignored via go/ees005
|
|
144
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
145
|
-
,
|
|
146
|
-
tableWidth: tableWrapperWidth,
|
|
147
|
-
hoverRows: _hoverRows,
|
|
148
|
-
selectRow: _selectRow,
|
|
149
|
-
selectRows: _selectRows,
|
|
150
|
-
updateCellHoverLocation: updateCellHoverLocation
|
|
151
|
-
}))) : fg('platform_editor_table_use_shared_state_hook_fg') ? /*#__PURE__*/React.createElement(FloatingControlsWithSelection, {
|
|
127
|
+
})) : /*#__PURE__*/React.createElement(FloatingControlsWithSelection, {
|
|
152
128
|
editorView: editorView,
|
|
153
129
|
tableRef: tableRef,
|
|
154
130
|
isInDanger: isInDanger,
|
|
@@ -161,25 +137,7 @@ export var TableFloatingControls = function TableFloatingControls(_ref) {
|
|
|
161
137
|
hoverRows: _hoverRows,
|
|
162
138
|
selectRow: _selectRow,
|
|
163
139
|
api: api
|
|
164
|
-
})
|
|
165
|
-
editorView: editorView,
|
|
166
|
-
tableRef: tableRef,
|
|
167
|
-
isInDanger: isInDanger,
|
|
168
|
-
isResizing: isResizing,
|
|
169
|
-
isHeaderRowEnabled: isHeaderRowEnabled,
|
|
170
|
-
isHeaderColumnEnabled: isHeaderColumnEnabled,
|
|
171
|
-
hoveredRows: hoveredRows,
|
|
172
|
-
stickyTop: tableActive ? stickyTop : undefined
|
|
173
|
-
}), /*#__PURE__*/React.createElement(RowControls, {
|
|
174
|
-
editorView: editorView,
|
|
175
|
-
tableRef: tableRef,
|
|
176
|
-
hoverRows: _hoverRows,
|
|
177
|
-
hoveredRows: hoveredRows,
|
|
178
|
-
isInDanger: isInDanger,
|
|
179
|
-
isResizing: isResizing,
|
|
180
|
-
selectRow: _selectRow,
|
|
181
|
-
stickyTop: tableActive ? stickyTop : undefined
|
|
182
|
-
})))))
|
|
140
|
+
}))))
|
|
183
141
|
);
|
|
184
142
|
};
|
|
185
143
|
export default TableFloatingControls;
|
|
@@ -2,6 +2,7 @@ import type { AnalyticsEventPayload, AnalyticsEventPayloadCallback, EditorAnalyt
|
|
|
2
2
|
import type { HigherOrderCommand } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
5
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
6
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
6
7
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
7
8
|
export declare function getSelectedTableInfo(selection: Selection): {
|
|
@@ -43,4 +44,5 @@ export declare const useMeasureFramerate: (config?: UseMeasureFramerateConfig) =
|
|
|
43
44
|
endMeasure: () => number[];
|
|
44
45
|
countFrames: () => void;
|
|
45
46
|
};
|
|
47
|
+
export declare const getWidthInfoPayload: (editorView: EditorView, editorWidth: number) => TableEventPayload;
|
|
46
48
|
export {};
|
|
@@ -25,10 +25,7 @@ type DragHandleProps = {
|
|
|
25
25
|
tableLocalId: string;
|
|
26
26
|
toggleDragMenu?: (trigger: TriggerType, event?: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
27
27
|
};
|
|
28
|
-
export declare const DragHandle: React.FC<import("react-intl-next").WithIntlProps<DragHandleProps &
|
|
29
|
-
WrappedComponent: React.ComponentType<DragHandleProps & WrappedComponentProps>;
|
|
30
|
-
};
|
|
31
|
-
export declare const DragHandleWithSharedState: React.FC<import("react-intl-next").WithIntlProps<DragHandleProps & {
|
|
28
|
+
export declare const DragHandle: React.FC<import("react-intl-next").WithIntlProps<DragHandleProps & {
|
|
32
29
|
api?: ExtractInjectionAPI<TablePlugin>;
|
|
33
30
|
} & WrappedComponentProps>> & {
|
|
34
31
|
WrappedComponent: React.ComponentType<DragHandleProps & {
|
|
@@ -2,6 +2,7 @@ import type { AnalyticsEventPayload, AnalyticsEventPayloadCallback, EditorAnalyt
|
|
|
2
2
|
import type { HigherOrderCommand } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
5
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
6
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
6
7
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
7
8
|
export declare function getSelectedTableInfo(selection: Selection): {
|
|
@@ -43,4 +44,5 @@ export declare const useMeasureFramerate: (config?: UseMeasureFramerateConfig) =
|
|
|
43
44
|
endMeasure: () => number[];
|
|
44
45
|
countFrames: () => void;
|
|
45
46
|
};
|
|
47
|
+
export declare const getWidthInfoPayload: (editorView: EditorView, editorWidth: number) => TableEventPayload;
|
|
46
48
|
export {};
|
|
@@ -25,10 +25,7 @@ type DragHandleProps = {
|
|
|
25
25
|
tableLocalId: string;
|
|
26
26
|
toggleDragMenu?: (trigger: TriggerType, event?: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
27
27
|
};
|
|
28
|
-
export declare const DragHandle: React.FC<import("react-intl-next").WithIntlProps<DragHandleProps &
|
|
29
|
-
WrappedComponent: React.ComponentType<DragHandleProps & WrappedComponentProps>;
|
|
30
|
-
};
|
|
31
|
-
export declare const DragHandleWithSharedState: React.FC<import("react-intl-next").WithIntlProps<DragHandleProps & {
|
|
28
|
+
export declare const DragHandle: React.FC<import("react-intl-next").WithIntlProps<DragHandleProps & {
|
|
32
29
|
api?: ExtractInjectionAPI<TablePlugin>;
|
|
33
30
|
} & WrappedComponentProps>> & {
|
|
34
31
|
WrappedComponent: React.ComponentType<DragHandleProps & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.3.0",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"singleton": true
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/adf-schema": "^51.
|
|
31
|
+
"@atlaskit/adf-schema": "^51.2.0",
|
|
32
32
|
"@atlaskit/button": "^23.4.0",
|
|
33
|
-
"@atlaskit/custom-steps": "^0.
|
|
33
|
+
"@atlaskit/custom-steps": "^0.14.0",
|
|
34
34
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
35
35
|
"@atlaskit/editor-plugin-accessibility-utils": "^5.0.0",
|
|
36
|
-
"@atlaskit/editor-plugin-analytics": "^5.
|
|
37
|
-
"@atlaskit/editor-plugin-batch-attribute-updates": "^5.
|
|
36
|
+
"@atlaskit/editor-plugin-analytics": "^5.3.0",
|
|
37
|
+
"@atlaskit/editor-plugin-batch-attribute-updates": "^5.3.0",
|
|
38
38
|
"@atlaskit/editor-plugin-content-insertion": "^5.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^7.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-extension": "8.
|
|
40
|
+
"@atlaskit/editor-plugin-extension": "8.3.0",
|
|
41
41
|
"@atlaskit/editor-plugin-guideline": "^5.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-interaction": "^7.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-limited-mode": "^2.1.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
49
49
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
50
50
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
51
|
-
"@atlaskit/icon": "^28.
|
|
51
|
+
"@atlaskit/icon": "^28.3.0",
|
|
52
52
|
"@atlaskit/insm": "^0.1.0",
|
|
53
53
|
"@atlaskit/menu": "^8.4.0",
|
|
54
54
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
58
58
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
|
|
59
59
|
"@atlaskit/primitives": "^14.15.0",
|
|
60
|
-
"@atlaskit/react-ufo": "^4.
|
|
60
|
+
"@atlaskit/react-ufo": "^4.10.0",
|
|
61
61
|
"@atlaskit/theme": "^21.0.0",
|
|
62
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
62
|
+
"@atlaskit/tmp-editor-statsig": "^12.30.0",
|
|
63
63
|
"@atlaskit/toggle": "^15.1.0",
|
|
64
64
|
"@atlaskit/tokens": "^6.3.0",
|
|
65
65
|
"@atlaskit/tooltip": "^20.4.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"uuid": "^3.1.0"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
|
-
"@atlaskit/editor-common": "^109.
|
|
75
|
+
"@atlaskit/editor-common": "^109.16.0",
|
|
76
76
|
"react": "^18.2.0",
|
|
77
77
|
"react-dom": "^18.2.0",
|
|
78
78
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -115,21 +115,9 @@
|
|
|
115
115
|
"platform_editor_table_overflow_in_full_width_fix": {
|
|
116
116
|
"type": "boolean"
|
|
117
117
|
},
|
|
118
|
-
"platform_editor_table_use_shared_state_hook_fg": {
|
|
119
|
-
"type": "boolean"
|
|
120
|
-
},
|
|
121
118
|
"platform_editor_live_page_prevent_table_recreation": {
|
|
122
119
|
"type": "boolean"
|
|
123
120
|
},
|
|
124
|
-
"nested_table_control_padding_with_css": {
|
|
125
|
-
"type": "boolean"
|
|
126
|
-
},
|
|
127
|
-
"platform_editor_nested_tables_view_mode_sort": {
|
|
128
|
-
"type": "boolean"
|
|
129
|
-
},
|
|
130
|
-
"disable-sticky-scrollbar-for-nested-tables": {
|
|
131
|
-
"type": "boolean"
|
|
132
|
-
},
|
|
133
121
|
"platform_editor_nested_tables_sticky_header_bug": {
|
|
134
122
|
"type": "boolean"
|
|
135
123
|
},
|