@atlaskit/editor-plugin-table 22.2.9 → 22.2.10
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 +8 -0
- package/dist/cjs/pm-plugins/decorations/utils/column-resizing.js +11 -26
- package/dist/cjs/pm-plugins/utils/decoration.js +4 -65
- package/dist/cjs/types/index.js +0 -2
- package/dist/cjs/ui/common-styles.js +1 -1
- package/dist/es2019/pm-plugins/decorations/utils/column-resizing.js +3 -9
- package/dist/es2019/pm-plugins/utils/decoration.js +4 -65
- package/dist/es2019/types/index.js +0 -2
- package/dist/es2019/ui/common-styles.js +0 -4
- package/dist/esm/pm-plugins/decorations/utils/column-resizing.js +11 -25
- package/dist/esm/pm-plugins/utils/decoration.js +4 -65
- package/dist/esm/types/index.js +0 -2
- package/dist/esm/ui/common-styles.js +1 -1
- package/dist/types/pm-plugins/utils/decoration.d.ts +1 -1
- package/dist/types/types/index.d.ts +74 -76
- package/dist/types-ts4.5/pm-plugins/utils/decoration.d.ts +1 -4
- package/dist/types-ts4.5/types/index.d.ts +74 -76
- package/package.json +2 -2
|
@@ -316,121 +316,101 @@ export declare enum TableDecorations {
|
|
|
316
316
|
COLUMN_RESIZING_HANDLE_WIDGET = "COLUMN_RESIZING_HANDLE_WIDGET",
|
|
317
317
|
COLUMN_RESIZING_HANDLE_LINE = "COLUMN_RESIZING_HANDLE_LINE",
|
|
318
318
|
COLUMN_INSERT_LINE = "COLUMN_INSERT_LINE",
|
|
319
|
-
ROW_INSERT_LINE = "ROW_INSERT_LINE"
|
|
320
|
-
LAST_CELL_ELEMENT = "LAST_CELL_ELEMENT"
|
|
319
|
+
ROW_INSERT_LINE = "ROW_INSERT_LINE"
|
|
321
320
|
}
|
|
322
321
|
export declare const TableCssClassName: {
|
|
323
322
|
/** Classic controls */
|
|
324
323
|
COLUMN_CONTROLS: string;
|
|
325
324
|
COLUMN_CONTROLS_DECORATIONS: string;
|
|
326
325
|
COLUMN_SELECTED: string;
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
326
|
+
CONTEXTUAL_MENU_BUTTON: string;
|
|
327
|
+
CONTEXTUAL_MENU_BUTTON_FIXED: string;
|
|
328
|
+
CONTEXTUAL_MENU_BUTTON_WRAP: string;
|
|
329
|
+
CONTEXTUAL_MENU_ICON: string;
|
|
330
|
+
CONTEXTUAL_MENU_ICON_SMALL: string;
|
|
331
|
+
CONTEXTUAL_SUBMENU: string;
|
|
332
332
|
CONTROLS_BUTTON: string;
|
|
333
333
|
CONTROLS_BUTTON_ICON: string;
|
|
334
|
+
CONTROLS_BUTTON_OVERLAY: string;
|
|
335
|
+
CONTROLS_CORNER_BUTTON: string;
|
|
336
|
+
CONTROLS_DELETE_BUTTON: string;
|
|
337
|
+
CONTROLS_DELETE_BUTTON_WRAP: string;
|
|
338
|
+
CONTROLS_FLOATING_BUTTON_COLUMN: string;
|
|
339
|
+
CONTROLS_FLOATING_BUTTON_ROW: string;
|
|
334
340
|
CONTROLS_INSERT_BUTTON: string;
|
|
335
341
|
CONTROLS_INSERT_BUTTON_INNER: string;
|
|
336
342
|
CONTROLS_INSERT_BUTTON_WRAP: string;
|
|
343
|
+
CONTROLS_INSERT_COLUMN: string;
|
|
337
344
|
CONTROLS_INSERT_LINE: string;
|
|
338
|
-
CONTROLS_BUTTON_OVERLAY: string;
|
|
339
|
-
DRAG_CONTROLS_INSERT_BUTTON: string;
|
|
340
|
-
DRAG_CONTROLS_INSERT_BUTTON_INNER: string;
|
|
341
|
-
DRAG_CONTROLS_INSERT_BUTTON_INNER_COLUMN: string;
|
|
342
|
-
DRAG_CONTROLS_INSERT_BUTTON_INNER_ROW: string;
|
|
343
|
-
DRAG_CONTROLS_INSERT_BUTTON_INNER_ROW_CHROMELESS: string;
|
|
344
|
-
DRAG_CONTROLS_INSERT_BUTTON_WRAP: string;
|
|
345
345
|
CONTROLS_INSERT_MARKER: string;
|
|
346
|
-
CONTROLS_INSERT_COLUMN: string;
|
|
347
346
|
CONTROLS_INSERT_ROW: string;
|
|
348
|
-
CONTROLS_DELETE_BUTTON_WRAP: string;
|
|
349
|
-
CONTROLS_DELETE_BUTTON: string;
|
|
350
|
-
CONTROLS_FLOATING_BUTTON_COLUMN: string;
|
|
351
|
-
CONTROLS_FLOATING_BUTTON_ROW: string;
|
|
352
347
|
CORNER_CONTROLS: string;
|
|
353
|
-
CORNER_CONTROLS_INSERT_ROW_MARKER: string;
|
|
354
348
|
CORNER_CONTROLS_INSERT_COLUMN_MARKER: string;
|
|
355
|
-
|
|
356
|
-
/** drag and drop controls */
|
|
357
|
-
DRAG_ROW_CONTROLS_WRAPPER: string;
|
|
358
|
-
DRAG_ROW_CONTROLS: string;
|
|
359
|
-
DRAG_ROW_FLOATING_INSERT_DOT_WRAPPER: string;
|
|
360
|
-
DRAG_ROW_FLOATING_INSERT_DOT: string;
|
|
361
|
-
DRAG_ROW_FLOATING_DRAG_HANDLE: string;
|
|
349
|
+
CORNER_CONTROLS_INSERT_ROW_MARKER: string;
|
|
362
350
|
DRAG_COLUMN_CONTROLS: string;
|
|
363
|
-
|
|
364
|
-
DRAG_COLUMN_FLOATING_INSERT_DOT: string;
|
|
351
|
+
DRAG_COLUMN_CONTROLS_INNER: string;
|
|
365
352
|
DRAG_COLUMN_CONTROLS_WRAPPER: string;
|
|
366
353
|
DRAG_COLUMN_DROP_TARGET_CONTROLS: string;
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
354
|
+
DRAG_COLUMN_FLOATING_INSERT_DOT: string;
|
|
355
|
+
DRAG_COLUMN_FLOATING_INSERT_DOT_WRAPPER: string;
|
|
356
|
+
DRAG_CONTROLS_INSERT_BUTTON: string;
|
|
357
|
+
DRAG_CONTROLS_INSERT_BUTTON_INNER: string;
|
|
358
|
+
DRAG_CONTROLS_INSERT_BUTTON_INNER_COLUMN: string;
|
|
359
|
+
DRAG_CONTROLS_INSERT_BUTTON_INNER_ROW: string;
|
|
360
|
+
DRAG_CONTROLS_INSERT_BUTTON_INNER_ROW_CHROMELESS: string;
|
|
361
|
+
DRAG_CONTROLS_INSERT_BUTTON_WRAP: string;
|
|
370
362
|
DRAG_CORNER_BUTTON: string;
|
|
371
363
|
DRAG_CORNER_BUTTON_INNER: string;
|
|
372
|
-
|
|
373
|
-
|
|
364
|
+
DRAG_HANDLE_BUTTON_CLICKABLE_ZONE: string;
|
|
365
|
+
DRAG_HANDLE_BUTTON_CONTAINER: string;
|
|
374
366
|
/** disabled classes */
|
|
375
367
|
DRAG_HANDLE_DISABLED: string;
|
|
376
368
|
/** minimised handle class */
|
|
377
369
|
DRAG_HANDLE_MINIMISED: string;
|
|
370
|
+
DRAG_ROW_CONTROLS: string;
|
|
371
|
+
/** drag and drop controls */
|
|
372
|
+
DRAG_ROW_CONTROLS_WRAPPER: string;
|
|
373
|
+
DRAG_ROW_FLOATING_DRAG_HANDLE: string;
|
|
374
|
+
DRAG_ROW_FLOATING_INSERT_DOT: string;
|
|
375
|
+
DRAG_ROW_FLOATING_INSERT_DOT_WRAPPER: string;
|
|
378
376
|
DRAG_SUBMENU: string;
|
|
379
377
|
DRAG_SUBMENU_ICON: string;
|
|
380
|
-
/** Other classes */
|
|
381
|
-
NUMBERED_COLUMN: string;
|
|
382
|
-
NUMBERED_COLUMN_BUTTON: string;
|
|
383
|
-
NUMBERED_COLUMN_BUTTON_DISABLED: string;
|
|
384
|
-
HOVERED_COLUMN: string;
|
|
385
|
-
HOVERED_ROW: string;
|
|
386
|
-
HOVERED_TABLE: string;
|
|
387
|
-
HOVERED_NO_HIGHLIGHT: string;
|
|
388
378
|
HOVERED_CELL: string;
|
|
389
|
-
HOVERED_CELL_IN_DANGER: string;
|
|
390
379
|
HOVERED_CELL_ACTIVE: string;
|
|
380
|
+
HOVERED_CELL_IN_DANGER: string;
|
|
391
381
|
HOVERED_CELL_WARNING: string;
|
|
382
|
+
HOVERED_COLUMN: string;
|
|
392
383
|
HOVERED_DELETE_BUTTON: string;
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
384
|
+
HOVERED_NO_HIGHLIGHT: string;
|
|
385
|
+
HOVERED_ROW: string;
|
|
386
|
+
HOVERED_TABLE: string;
|
|
396
387
|
IS_RESIZING: string;
|
|
397
|
-
RESIZE_HANDLE_DECORATION: string;
|
|
398
|
-
CONTEXTUAL_SUBMENU: string;
|
|
399
|
-
CONTEXTUAL_MENU_BUTTON_WRAP: string;
|
|
400
|
-
CONTEXTUAL_MENU_BUTTON: string;
|
|
401
|
-
CONTEXTUAL_MENU_BUTTON_FIXED: string;
|
|
402
|
-
CONTEXTUAL_MENU_ICON: string;
|
|
403
|
-
CONTEXTUAL_MENU_ICON_SMALL: string;
|
|
404
|
-
SELECTED_CELL: string;
|
|
405
|
-
NODEVIEW_WRAPPER: string;
|
|
406
|
-
TABLE_SELECTED: string;
|
|
407
|
-
TABLE_CELL: 'pm-table-cell-content-wrap';
|
|
408
|
-
TABLE_HEADER_CELL: 'pm-table-header-content-wrap';
|
|
409
|
-
TABLE_STICKY: string;
|
|
410
|
-
TABLE_CHROMELESS: string;
|
|
411
|
-
TOP_LEFT_CELL: string;
|
|
412
|
-
LAST_ITEM_IN_CELL: string;
|
|
413
|
-
WITH_COLUMN_INSERT_LINE: string;
|
|
414
|
-
WITH_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
415
|
-
WITH_FIRST_COLUMN_INSERT_LINE: string;
|
|
416
|
-
WITH_FIRST_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
417
|
-
WITH_LAST_COLUMN_INSERT_LINE: string;
|
|
418
|
-
WITH_LAST_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
419
|
-
WITH_RESIZE_LINE: string;
|
|
420
|
-
WITH_RESIZE_LINE_LAST_COLUMN: string;
|
|
421
|
-
WITH_DRAG_RESIZE_LINE: string;
|
|
422
|
-
WITH_DRAG_RESIZE_LINE_LAST_COLUMN: string;
|
|
423
|
-
WITH_ROW_INSERT_LINE: string;
|
|
424
|
-
WITH_ROW_INSERT_LINE_INACTIVE: string;
|
|
425
|
-
WITH_LAST_ROW_INSERT_LINE: string;
|
|
426
|
-
WITH_LAST_ROW_INSERT_LINE_INACTIVE: string;
|
|
427
388
|
NATIVE_STICKY: string;
|
|
428
389
|
NATIVE_STICKY_ACTIVE: string;
|
|
390
|
+
/** nested tables classes */
|
|
391
|
+
NESTED_TABLE_WITH_CONTROLS: string;
|
|
429
392
|
NO_OVERFLOW: string;
|
|
393
|
+
NODEVIEW_WRAPPER: string;
|
|
394
|
+
/** Other classes */
|
|
395
|
+
NUMBERED_COLUMN: string;
|
|
396
|
+
NUMBERED_COLUMN_BUTTON: string;
|
|
397
|
+
NUMBERED_COLUMN_BUTTON_DISABLED: string;
|
|
398
|
+
RESIZE_CURSOR: string;
|
|
399
|
+
RESIZE_HANDLE_DECORATION: string;
|
|
400
|
+
RESIZING_PLUGIN: string;
|
|
401
|
+
ROW_CONTROLS: string;
|
|
402
|
+
ROW_CONTROLS_BUTTON: string;
|
|
403
|
+
ROW_CONTROLS_BUTTON_WRAP: string;
|
|
404
|
+
ROW_CONTROLS_INNER: string;
|
|
405
|
+
ROW_CONTROLS_WRAPPER: string;
|
|
406
|
+
SELECTED_CELL: string;
|
|
407
|
+
TABLE_CELL: 'pm-table-cell-content-wrap';
|
|
430
408
|
TABLE_CELL_NODEVIEW_CONTENT_DOM: 'pm-table-cell-nodeview-content-dom';
|
|
431
409
|
TABLE_CELL_WRAPPER: 'pm-table-cell-content-wrap';
|
|
410
|
+
TABLE_CHROMELESS: string;
|
|
432
411
|
TABLE_COLUMN_CONTROLS_DECORATIONS: 'pm-table-column-controls-decoration';
|
|
433
412
|
TABLE_CONTAINER: 'pm-table-container';
|
|
413
|
+
TABLE_HEADER_CELL: 'pm-table-header-content-wrap';
|
|
434
414
|
TABLE_HEADER_CELL_WRAPPER: 'pm-table-header-content-wrap';
|
|
435
415
|
TABLE_LEFT_BORDER: 'pm-table-left-border';
|
|
436
416
|
TABLE_LEFT_SHADOW: 'pm-table-with-left-shadow';
|
|
@@ -441,8 +421,10 @@ export declare const TableCssClassName: {
|
|
|
441
421
|
TABLE_RIGHT_SHADOW: 'pm-table-with-right-shadow';
|
|
442
422
|
TABLE_ROW_CONTROLS_WRAPPER: 'pm-table-row-controls-wrapper';
|
|
443
423
|
TABLE_SCROLL_INLINE_SHADOW: 'pm-table-scroll-inline-shadow';
|
|
424
|
+
TABLE_SELECTED: string;
|
|
444
425
|
TABLE_SHADOW_SENTINEL_LEFT: 'pm-table-shadow-sentinel-left';
|
|
445
426
|
TABLE_SHADOW_SENTINEL_RIGHT: 'pm-table-shadow-sentinel-right';
|
|
427
|
+
TABLE_STICKY: string;
|
|
446
428
|
TABLE_STICKY_SCROLLBAR_CONTAINER: 'pm-table-sticky-scrollbar-container';
|
|
447
429
|
TABLE_STICKY_SCROLLBAR_SENTINEL_BOTTOM: 'pm-table-sticky-scrollbar-sentinel-bottom';
|
|
448
430
|
TABLE_STICKY_SCROLLBAR_SENTINEL_TOP: 'pm-table-sticky-scrollbar-sentinel-top';
|
|
@@ -451,6 +433,22 @@ export declare const TableCssClassName: {
|
|
|
451
433
|
TABLE_STICKY_SHADOW: 'pm-table-sticky-shadow';
|
|
452
434
|
TABLE_STICKY_WRAPPER: 'pm-table-sticky-wrapper';
|
|
453
435
|
TABLE_VIEW_CONTENT_WRAP: 'tableView-content-wrap';
|
|
436
|
+
TOP_LEFT_CELL: string;
|
|
437
|
+
WITH_COLUMN_INSERT_LINE: string;
|
|
438
|
+
WITH_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
439
|
+
WITH_CONTROLS: string;
|
|
440
|
+
WITH_DRAG_RESIZE_LINE: string;
|
|
441
|
+
WITH_DRAG_RESIZE_LINE_LAST_COLUMN: string;
|
|
442
|
+
WITH_FIRST_COLUMN_INSERT_LINE: string;
|
|
443
|
+
WITH_FIRST_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
444
|
+
WITH_LAST_COLUMN_INSERT_LINE: string;
|
|
445
|
+
WITH_LAST_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
446
|
+
WITH_LAST_ROW_INSERT_LINE: string;
|
|
447
|
+
WITH_LAST_ROW_INSERT_LINE_INACTIVE: string;
|
|
448
|
+
WITH_RESIZE_LINE: string;
|
|
449
|
+
WITH_RESIZE_LINE_LAST_COLUMN: string;
|
|
450
|
+
WITH_ROW_INSERT_LINE: string;
|
|
451
|
+
WITH_ROW_INSERT_LINE_INACTIVE: string;
|
|
454
452
|
};
|
|
455
453
|
export interface ToolbarMenuConfig {
|
|
456
454
|
allowCollapse?: boolean;
|
|
@@ -13,10 +13,7 @@ export declare const createControlsHoverDecoration: (cells: Cell[], type: "row"
|
|
|
13
13
|
export declare const createColumnSelectedDecoration: (tr: Transaction | ReadonlyTransaction) => Decoration[];
|
|
14
14
|
export declare const createColumnControlsDecoration: (selection: Selection) => Decoration[];
|
|
15
15
|
export declare const updateDecorations: (node: PmNode, decorationSet: DecorationSet, decorations: Decoration[], key: TableDecorations) => DecorationSet;
|
|
16
|
-
export declare const createResizeHandleDecoration: (tr: Transaction | ReadonlyTransaction, rowIndexTarget: number, columnEndIndexTarget: Omit<CellColumnPositioning, "left">, includeTooltip: boolean | undefined, getIntl: () => IntlShape, nodeViewPortalProviderAPI: PortalProviderAPI) => [
|
|
17
|
-
Decoration[],
|
|
18
|
-
Decoration[]
|
|
19
|
-
];
|
|
16
|
+
export declare const createResizeHandleDecoration: (tr: Transaction | ReadonlyTransaction, rowIndexTarget: number, columnEndIndexTarget: Omit<CellColumnPositioning, "left">, includeTooltip: boolean | undefined, getIntl: () => IntlShape, nodeViewPortalProviderAPI: PortalProviderAPI) => Decoration[];
|
|
20
17
|
export declare const createColumnLineResize: (selection: Selection, cellColumnPositioning: Omit<CellColumnPositioning, "left">) => Decoration[];
|
|
21
18
|
export declare const createColumnInsertLine: (columnIndex: number, selection: Selection, hasMergedCells: boolean) => Decoration[];
|
|
22
19
|
export declare const createRowInsertLine: (rowIndex: number, selection: Selection, hasMergedCells: boolean) => Decoration[];
|
|
@@ -316,121 +316,101 @@ export declare enum TableDecorations {
|
|
|
316
316
|
COLUMN_RESIZING_HANDLE_WIDGET = "COLUMN_RESIZING_HANDLE_WIDGET",
|
|
317
317
|
COLUMN_RESIZING_HANDLE_LINE = "COLUMN_RESIZING_HANDLE_LINE",
|
|
318
318
|
COLUMN_INSERT_LINE = "COLUMN_INSERT_LINE",
|
|
319
|
-
ROW_INSERT_LINE = "ROW_INSERT_LINE"
|
|
320
|
-
LAST_CELL_ELEMENT = "LAST_CELL_ELEMENT"
|
|
319
|
+
ROW_INSERT_LINE = "ROW_INSERT_LINE"
|
|
321
320
|
}
|
|
322
321
|
export declare const TableCssClassName: {
|
|
323
322
|
/** Classic controls */
|
|
324
323
|
COLUMN_CONTROLS: string;
|
|
325
324
|
COLUMN_CONTROLS_DECORATIONS: string;
|
|
326
325
|
COLUMN_SELECTED: string;
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
326
|
+
CONTEXTUAL_MENU_BUTTON: string;
|
|
327
|
+
CONTEXTUAL_MENU_BUTTON_FIXED: string;
|
|
328
|
+
CONTEXTUAL_MENU_BUTTON_WRAP: string;
|
|
329
|
+
CONTEXTUAL_MENU_ICON: string;
|
|
330
|
+
CONTEXTUAL_MENU_ICON_SMALL: string;
|
|
331
|
+
CONTEXTUAL_SUBMENU: string;
|
|
332
332
|
CONTROLS_BUTTON: string;
|
|
333
333
|
CONTROLS_BUTTON_ICON: string;
|
|
334
|
+
CONTROLS_BUTTON_OVERLAY: string;
|
|
335
|
+
CONTROLS_CORNER_BUTTON: string;
|
|
336
|
+
CONTROLS_DELETE_BUTTON: string;
|
|
337
|
+
CONTROLS_DELETE_BUTTON_WRAP: string;
|
|
338
|
+
CONTROLS_FLOATING_BUTTON_COLUMN: string;
|
|
339
|
+
CONTROLS_FLOATING_BUTTON_ROW: string;
|
|
334
340
|
CONTROLS_INSERT_BUTTON: string;
|
|
335
341
|
CONTROLS_INSERT_BUTTON_INNER: string;
|
|
336
342
|
CONTROLS_INSERT_BUTTON_WRAP: string;
|
|
343
|
+
CONTROLS_INSERT_COLUMN: string;
|
|
337
344
|
CONTROLS_INSERT_LINE: string;
|
|
338
|
-
CONTROLS_BUTTON_OVERLAY: string;
|
|
339
|
-
DRAG_CONTROLS_INSERT_BUTTON: string;
|
|
340
|
-
DRAG_CONTROLS_INSERT_BUTTON_INNER: string;
|
|
341
|
-
DRAG_CONTROLS_INSERT_BUTTON_INNER_COLUMN: string;
|
|
342
|
-
DRAG_CONTROLS_INSERT_BUTTON_INNER_ROW: string;
|
|
343
|
-
DRAG_CONTROLS_INSERT_BUTTON_INNER_ROW_CHROMELESS: string;
|
|
344
|
-
DRAG_CONTROLS_INSERT_BUTTON_WRAP: string;
|
|
345
345
|
CONTROLS_INSERT_MARKER: string;
|
|
346
|
-
CONTROLS_INSERT_COLUMN: string;
|
|
347
346
|
CONTROLS_INSERT_ROW: string;
|
|
348
|
-
CONTROLS_DELETE_BUTTON_WRAP: string;
|
|
349
|
-
CONTROLS_DELETE_BUTTON: string;
|
|
350
|
-
CONTROLS_FLOATING_BUTTON_COLUMN: string;
|
|
351
|
-
CONTROLS_FLOATING_BUTTON_ROW: string;
|
|
352
347
|
CORNER_CONTROLS: string;
|
|
353
|
-
CORNER_CONTROLS_INSERT_ROW_MARKER: string;
|
|
354
348
|
CORNER_CONTROLS_INSERT_COLUMN_MARKER: string;
|
|
355
|
-
|
|
356
|
-
/** drag and drop controls */
|
|
357
|
-
DRAG_ROW_CONTROLS_WRAPPER: string;
|
|
358
|
-
DRAG_ROW_CONTROLS: string;
|
|
359
|
-
DRAG_ROW_FLOATING_INSERT_DOT_WRAPPER: string;
|
|
360
|
-
DRAG_ROW_FLOATING_INSERT_DOT: string;
|
|
361
|
-
DRAG_ROW_FLOATING_DRAG_HANDLE: string;
|
|
349
|
+
CORNER_CONTROLS_INSERT_ROW_MARKER: string;
|
|
362
350
|
DRAG_COLUMN_CONTROLS: string;
|
|
363
|
-
|
|
364
|
-
DRAG_COLUMN_FLOATING_INSERT_DOT: string;
|
|
351
|
+
DRAG_COLUMN_CONTROLS_INNER: string;
|
|
365
352
|
DRAG_COLUMN_CONTROLS_WRAPPER: string;
|
|
366
353
|
DRAG_COLUMN_DROP_TARGET_CONTROLS: string;
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
354
|
+
DRAG_COLUMN_FLOATING_INSERT_DOT: string;
|
|
355
|
+
DRAG_COLUMN_FLOATING_INSERT_DOT_WRAPPER: string;
|
|
356
|
+
DRAG_CONTROLS_INSERT_BUTTON: string;
|
|
357
|
+
DRAG_CONTROLS_INSERT_BUTTON_INNER: string;
|
|
358
|
+
DRAG_CONTROLS_INSERT_BUTTON_INNER_COLUMN: string;
|
|
359
|
+
DRAG_CONTROLS_INSERT_BUTTON_INNER_ROW: string;
|
|
360
|
+
DRAG_CONTROLS_INSERT_BUTTON_INNER_ROW_CHROMELESS: string;
|
|
361
|
+
DRAG_CONTROLS_INSERT_BUTTON_WRAP: string;
|
|
370
362
|
DRAG_CORNER_BUTTON: string;
|
|
371
363
|
DRAG_CORNER_BUTTON_INNER: string;
|
|
372
|
-
|
|
373
|
-
|
|
364
|
+
DRAG_HANDLE_BUTTON_CLICKABLE_ZONE: string;
|
|
365
|
+
DRAG_HANDLE_BUTTON_CONTAINER: string;
|
|
374
366
|
/** disabled classes */
|
|
375
367
|
DRAG_HANDLE_DISABLED: string;
|
|
376
368
|
/** minimised handle class */
|
|
377
369
|
DRAG_HANDLE_MINIMISED: string;
|
|
370
|
+
DRAG_ROW_CONTROLS: string;
|
|
371
|
+
/** drag and drop controls */
|
|
372
|
+
DRAG_ROW_CONTROLS_WRAPPER: string;
|
|
373
|
+
DRAG_ROW_FLOATING_DRAG_HANDLE: string;
|
|
374
|
+
DRAG_ROW_FLOATING_INSERT_DOT: string;
|
|
375
|
+
DRAG_ROW_FLOATING_INSERT_DOT_WRAPPER: string;
|
|
378
376
|
DRAG_SUBMENU: string;
|
|
379
377
|
DRAG_SUBMENU_ICON: string;
|
|
380
|
-
/** Other classes */
|
|
381
|
-
NUMBERED_COLUMN: string;
|
|
382
|
-
NUMBERED_COLUMN_BUTTON: string;
|
|
383
|
-
NUMBERED_COLUMN_BUTTON_DISABLED: string;
|
|
384
|
-
HOVERED_COLUMN: string;
|
|
385
|
-
HOVERED_ROW: string;
|
|
386
|
-
HOVERED_TABLE: string;
|
|
387
|
-
HOVERED_NO_HIGHLIGHT: string;
|
|
388
378
|
HOVERED_CELL: string;
|
|
389
|
-
HOVERED_CELL_IN_DANGER: string;
|
|
390
379
|
HOVERED_CELL_ACTIVE: string;
|
|
380
|
+
HOVERED_CELL_IN_DANGER: string;
|
|
391
381
|
HOVERED_CELL_WARNING: string;
|
|
382
|
+
HOVERED_COLUMN: string;
|
|
392
383
|
HOVERED_DELETE_BUTTON: string;
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
384
|
+
HOVERED_NO_HIGHLIGHT: string;
|
|
385
|
+
HOVERED_ROW: string;
|
|
386
|
+
HOVERED_TABLE: string;
|
|
396
387
|
IS_RESIZING: string;
|
|
397
|
-
RESIZE_HANDLE_DECORATION: string;
|
|
398
|
-
CONTEXTUAL_SUBMENU: string;
|
|
399
|
-
CONTEXTUAL_MENU_BUTTON_WRAP: string;
|
|
400
|
-
CONTEXTUAL_MENU_BUTTON: string;
|
|
401
|
-
CONTEXTUAL_MENU_BUTTON_FIXED: string;
|
|
402
|
-
CONTEXTUAL_MENU_ICON: string;
|
|
403
|
-
CONTEXTUAL_MENU_ICON_SMALL: string;
|
|
404
|
-
SELECTED_CELL: string;
|
|
405
|
-
NODEVIEW_WRAPPER: string;
|
|
406
|
-
TABLE_SELECTED: string;
|
|
407
|
-
TABLE_CELL: 'pm-table-cell-content-wrap';
|
|
408
|
-
TABLE_HEADER_CELL: 'pm-table-header-content-wrap';
|
|
409
|
-
TABLE_STICKY: string;
|
|
410
|
-
TABLE_CHROMELESS: string;
|
|
411
|
-
TOP_LEFT_CELL: string;
|
|
412
|
-
LAST_ITEM_IN_CELL: string;
|
|
413
|
-
WITH_COLUMN_INSERT_LINE: string;
|
|
414
|
-
WITH_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
415
|
-
WITH_FIRST_COLUMN_INSERT_LINE: string;
|
|
416
|
-
WITH_FIRST_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
417
|
-
WITH_LAST_COLUMN_INSERT_LINE: string;
|
|
418
|
-
WITH_LAST_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
419
|
-
WITH_RESIZE_LINE: string;
|
|
420
|
-
WITH_RESIZE_LINE_LAST_COLUMN: string;
|
|
421
|
-
WITH_DRAG_RESIZE_LINE: string;
|
|
422
|
-
WITH_DRAG_RESIZE_LINE_LAST_COLUMN: string;
|
|
423
|
-
WITH_ROW_INSERT_LINE: string;
|
|
424
|
-
WITH_ROW_INSERT_LINE_INACTIVE: string;
|
|
425
|
-
WITH_LAST_ROW_INSERT_LINE: string;
|
|
426
|
-
WITH_LAST_ROW_INSERT_LINE_INACTIVE: string;
|
|
427
388
|
NATIVE_STICKY: string;
|
|
428
389
|
NATIVE_STICKY_ACTIVE: string;
|
|
390
|
+
/** nested tables classes */
|
|
391
|
+
NESTED_TABLE_WITH_CONTROLS: string;
|
|
429
392
|
NO_OVERFLOW: string;
|
|
393
|
+
NODEVIEW_WRAPPER: string;
|
|
394
|
+
/** Other classes */
|
|
395
|
+
NUMBERED_COLUMN: string;
|
|
396
|
+
NUMBERED_COLUMN_BUTTON: string;
|
|
397
|
+
NUMBERED_COLUMN_BUTTON_DISABLED: string;
|
|
398
|
+
RESIZE_CURSOR: string;
|
|
399
|
+
RESIZE_HANDLE_DECORATION: string;
|
|
400
|
+
RESIZING_PLUGIN: string;
|
|
401
|
+
ROW_CONTROLS: string;
|
|
402
|
+
ROW_CONTROLS_BUTTON: string;
|
|
403
|
+
ROW_CONTROLS_BUTTON_WRAP: string;
|
|
404
|
+
ROW_CONTROLS_INNER: string;
|
|
405
|
+
ROW_CONTROLS_WRAPPER: string;
|
|
406
|
+
SELECTED_CELL: string;
|
|
407
|
+
TABLE_CELL: 'pm-table-cell-content-wrap';
|
|
430
408
|
TABLE_CELL_NODEVIEW_CONTENT_DOM: 'pm-table-cell-nodeview-content-dom';
|
|
431
409
|
TABLE_CELL_WRAPPER: 'pm-table-cell-content-wrap';
|
|
410
|
+
TABLE_CHROMELESS: string;
|
|
432
411
|
TABLE_COLUMN_CONTROLS_DECORATIONS: 'pm-table-column-controls-decoration';
|
|
433
412
|
TABLE_CONTAINER: 'pm-table-container';
|
|
413
|
+
TABLE_HEADER_CELL: 'pm-table-header-content-wrap';
|
|
434
414
|
TABLE_HEADER_CELL_WRAPPER: 'pm-table-header-content-wrap';
|
|
435
415
|
TABLE_LEFT_BORDER: 'pm-table-left-border';
|
|
436
416
|
TABLE_LEFT_SHADOW: 'pm-table-with-left-shadow';
|
|
@@ -441,8 +421,10 @@ export declare const TableCssClassName: {
|
|
|
441
421
|
TABLE_RIGHT_SHADOW: 'pm-table-with-right-shadow';
|
|
442
422
|
TABLE_ROW_CONTROLS_WRAPPER: 'pm-table-row-controls-wrapper';
|
|
443
423
|
TABLE_SCROLL_INLINE_SHADOW: 'pm-table-scroll-inline-shadow';
|
|
424
|
+
TABLE_SELECTED: string;
|
|
444
425
|
TABLE_SHADOW_SENTINEL_LEFT: 'pm-table-shadow-sentinel-left';
|
|
445
426
|
TABLE_SHADOW_SENTINEL_RIGHT: 'pm-table-shadow-sentinel-right';
|
|
427
|
+
TABLE_STICKY: string;
|
|
446
428
|
TABLE_STICKY_SCROLLBAR_CONTAINER: 'pm-table-sticky-scrollbar-container';
|
|
447
429
|
TABLE_STICKY_SCROLLBAR_SENTINEL_BOTTOM: 'pm-table-sticky-scrollbar-sentinel-bottom';
|
|
448
430
|
TABLE_STICKY_SCROLLBAR_SENTINEL_TOP: 'pm-table-sticky-scrollbar-sentinel-top';
|
|
@@ -451,6 +433,22 @@ export declare const TableCssClassName: {
|
|
|
451
433
|
TABLE_STICKY_SHADOW: 'pm-table-sticky-shadow';
|
|
452
434
|
TABLE_STICKY_WRAPPER: 'pm-table-sticky-wrapper';
|
|
453
435
|
TABLE_VIEW_CONTENT_WRAP: 'tableView-content-wrap';
|
|
436
|
+
TOP_LEFT_CELL: string;
|
|
437
|
+
WITH_COLUMN_INSERT_LINE: string;
|
|
438
|
+
WITH_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
439
|
+
WITH_CONTROLS: string;
|
|
440
|
+
WITH_DRAG_RESIZE_LINE: string;
|
|
441
|
+
WITH_DRAG_RESIZE_LINE_LAST_COLUMN: string;
|
|
442
|
+
WITH_FIRST_COLUMN_INSERT_LINE: string;
|
|
443
|
+
WITH_FIRST_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
444
|
+
WITH_LAST_COLUMN_INSERT_LINE: string;
|
|
445
|
+
WITH_LAST_COLUMN_INSERT_LINE_INACTIVE: string;
|
|
446
|
+
WITH_LAST_ROW_INSERT_LINE: string;
|
|
447
|
+
WITH_LAST_ROW_INSERT_LINE_INACTIVE: string;
|
|
448
|
+
WITH_RESIZE_LINE: string;
|
|
449
|
+
WITH_RESIZE_LINE_LAST_COLUMN: string;
|
|
450
|
+
WITH_ROW_INSERT_LINE: string;
|
|
451
|
+
WITH_ROW_INSERT_LINE_INACTIVE: string;
|
|
454
452
|
};
|
|
455
453
|
export interface ToolbarMenuConfig {
|
|
456
454
|
allowCollapse?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "22.2.
|
|
3
|
+
"version": "22.2.10",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"uuid": "^3.1.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@atlaskit/editor-common": "^114.
|
|
73
|
+
"@atlaskit/editor-common": "^114.13.0",
|
|
74
74
|
"react": "^18.2.0",
|
|
75
75
|
"react-dom": "^18.2.0",
|
|
76
76
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|