@atlaskit/editor-plugin-table 5.3.17 → 5.3.19
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/plugins/table/nodeviews/TableResizer.js +2 -8
- package/dist/cjs/plugins/table/toolbar.js +29 -56
- package/dist/cjs/plugins/table/ui/ColumnResizeWidget/index.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingContextualButton/index.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +14 -56
- package/dist/cjs/plugins/table/ui/FloatingDeleteButton/index.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingInsertButton/InsertButton.js +2 -2
- package/dist/cjs/plugins/table/ui/TableFloatingControls/CornerControls/ClassicCornerControls.js +2 -2
- package/dist/cjs/plugins/table/ui/TableFloatingControls/CornerControls/DragCornerControls.js +2 -2
- package/dist/cjs/plugins/table/ui/TableFloatingControls/RowControls/ClassicControls.js +2 -8
- package/dist/es2019/plugins/table/nodeviews/TableResizer.js +2 -8
- package/dist/es2019/plugins/table/toolbar.js +20 -50
- package/dist/es2019/plugins/table/ui/ColumnResizeWidget/index.js +1 -1
- package/dist/es2019/plugins/table/ui/FloatingContextualButton/index.js +1 -1
- package/dist/es2019/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +6 -48
- package/dist/es2019/plugins/table/ui/FloatingDeleteButton/index.js +2 -2
- package/dist/es2019/plugins/table/ui/FloatingInsertButton/InsertButton.js +2 -2
- package/dist/es2019/plugins/table/ui/TableFloatingControls/CornerControls/ClassicCornerControls.js +1 -1
- package/dist/es2019/plugins/table/ui/TableFloatingControls/CornerControls/DragCornerControls.js +1 -1
- package/dist/es2019/plugins/table/ui/TableFloatingControls/RowControls/ClassicControls.js +2 -8
- package/dist/esm/plugins/table/nodeviews/TableResizer.js +2 -8
- package/dist/esm/plugins/table/toolbar.js +20 -50
- package/dist/esm/plugins/table/ui/ColumnResizeWidget/index.js +1 -1
- package/dist/esm/plugins/table/ui/FloatingContextualButton/index.js +1 -1
- package/dist/esm/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +6 -48
- package/dist/esm/plugins/table/ui/FloatingDeleteButton/index.js +2 -2
- package/dist/esm/plugins/table/ui/FloatingInsertButton/InsertButton.js +2 -2
- package/dist/esm/plugins/table/ui/TableFloatingControls/CornerControls/ClassicCornerControls.js +1 -1
- package/dist/esm/plugins/table/ui/TableFloatingControls/CornerControls/DragCornerControls.js +1 -1
- package/dist/esm/plugins/table/ui/TableFloatingControls/RowControls/ClassicControls.js +2 -8
- package/dist/types/plugins/table/toolbar.d.ts +0 -27
- package/dist/types/plugins/table/ui/FloatingContextualButton/index.d.ts +5 -5
- package/dist/types/plugins/table/ui/FloatingContextualMenu/ContextualMenu.d.ts +0 -42
- package/dist/types-ts4.5/plugins/table/toolbar.d.ts +0 -27
- package/dist/types-ts4.5/plugins/table/ui/FloatingContextualButton/index.d.ts +5 -5
- package/dist/types-ts4.5/plugins/table/ui/FloatingContextualMenu/ContextualMenu.d.ts +0 -42
- package/package.json +2 -2
- package/src/__tests__/integration/delete-columns.ts +1 -1
- package/src/__tests__/integration/delete-rows.ts +1 -1
- package/src/__tests__/unit/ui/DeleteButton.tsx +4 -3
- package/src/plugins/table/nodeviews/TableResizer.tsx +2 -9
- package/src/plugins/table/toolbar.tsx +22 -53
- package/src/plugins/table/ui/ColumnResizeWidget/index.tsx +1 -1
- package/src/plugins/table/ui/FloatingContextualButton/index.tsx +10 -11
- package/src/plugins/table/ui/FloatingContextualMenu/ContextualMenu.tsx +6 -50
- package/src/plugins/table/ui/FloatingDeleteButton/index.tsx +3 -3
- package/src/plugins/table/ui/FloatingInsertButton/InsertButton.tsx +2 -2
- package/src/plugins/table/ui/TableFloatingControls/CornerControls/ClassicCornerControls.tsx +1 -1
- package/src/plugins/table/ui/TableFloatingControls/CornerControls/DragCornerControls.tsx +1 -1
- package/src/plugins/table/ui/TableFloatingControls/RowControls/ClassicControls.tsx +2 -10
- package/dist/cjs/plugins/table/ui/messages.js +0 -74
- package/dist/es2019/plugins/table/ui/messages.js +0 -68
- package/dist/esm/plugins/table/ui/messages.js +0 -68
- package/dist/types/plugins/table/ui/messages.d.ts +0 -68
- package/dist/types-ts4.5/plugins/table/ui/messages.d.ts +0 -68
- package/src/plugins/table/ui/messages.ts +0 -74
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
export default defineMessages({
|
|
3
|
-
insertColumn: {
|
|
4
|
-
id: 'fabric.editor.insertColumn',
|
|
5
|
-
defaultMessage: 'Insert column right',
|
|
6
|
-
description: 'Inserts a new column to the right of selected column.'
|
|
7
|
-
},
|
|
8
|
-
removeColumns: {
|
|
9
|
-
id: 'fabric.editor.removeColumns',
|
|
10
|
-
defaultMessage: 'Delete {0, plural, one {column} other {columns}}',
|
|
11
|
-
description: 'Deletes a table column.'
|
|
12
|
-
},
|
|
13
|
-
insertRow: {
|
|
14
|
-
id: 'fabric.editor.insertRow',
|
|
15
|
-
defaultMessage: 'Insert row below',
|
|
16
|
-
description: 'Inserts a new row below the selected row.'
|
|
17
|
-
},
|
|
18
|
-
removeRows: {
|
|
19
|
-
id: 'fabric.editor.removeRows',
|
|
20
|
-
defaultMessage: 'Delete {0, plural, one {row} other {rows}}',
|
|
21
|
-
description: 'Deletes a table row.'
|
|
22
|
-
},
|
|
23
|
-
cellOptions: {
|
|
24
|
-
id: 'fabric.editor.cellOptions',
|
|
25
|
-
defaultMessage: 'Cell options',
|
|
26
|
-
description: 'Opens a menu with options for the current table cell.'
|
|
27
|
-
},
|
|
28
|
-
confirmDeleteLinkedModalOKButton: {
|
|
29
|
-
id: 'fabric.editor.tables.confirmDeleteLinkedModalOKButton',
|
|
30
|
-
defaultMessage: 'Delete',
|
|
31
|
-
description: 'Action button label for confirm modal when deleting a table linked to an extension.'
|
|
32
|
-
},
|
|
33
|
-
confirmDeleteLinkedModalMessage: {
|
|
34
|
-
id: 'fabric.editor.tables.confirmDeleteLinkedModalMessage',
|
|
35
|
-
defaultMessage: 'Deleting {nodeName} will break anything connected to it.',
|
|
36
|
-
description: 'Message for confirm modal when deleting a table linked to an extension.'
|
|
37
|
-
},
|
|
38
|
-
confirmDeleteLinkedModalMessagePrefix: {
|
|
39
|
-
id: 'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix',
|
|
40
|
-
defaultMessage: 'Deleting',
|
|
41
|
-
description: 'prefix for confirmation dialog text'
|
|
42
|
-
},
|
|
43
|
-
confirmModalCheckboxLabel: {
|
|
44
|
-
id: 'fabric.editor.floatingToolbar.confirmModalCheckboxLabel',
|
|
45
|
-
defaultMessage: 'Also delete connected elements',
|
|
46
|
-
description: 'checkbox label text'
|
|
47
|
-
},
|
|
48
|
-
deleteElementTitle: {
|
|
49
|
-
id: 'fabric.editor.extension.deleteElementTitle',
|
|
50
|
-
defaultMessage: 'Delete element',
|
|
51
|
-
description: 'Title text for confirm modal when deleting an extension linked to a data consumer.'
|
|
52
|
-
},
|
|
53
|
-
unnamedSource: {
|
|
54
|
-
id: 'fabric.editor.extension.sourceNoTitledName',
|
|
55
|
-
defaultMessage: 'this element',
|
|
56
|
-
description: 'The current element without preset name been selected'
|
|
57
|
-
},
|
|
58
|
-
adjustColumns: {
|
|
59
|
-
id: 'fabric.editor.tables.adjustColumn',
|
|
60
|
-
defaultMessage: 'Adjust column',
|
|
61
|
-
description: 'Tooltip displayed on table column resize handle'
|
|
62
|
-
},
|
|
63
|
-
cornerControl: {
|
|
64
|
-
id: 'fabric.editor.cornerControl',
|
|
65
|
-
defaultMessage: 'Highlight table',
|
|
66
|
-
description: 'A button on the upper left corner of the table that shows up when the table is in focus. Clicking on it will select the entire table.'
|
|
67
|
-
}
|
|
68
|
-
});
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
insertColumn: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
description: string;
|
|
6
|
-
};
|
|
7
|
-
removeColumns: {
|
|
8
|
-
id: string;
|
|
9
|
-
defaultMessage: string;
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
12
|
-
insertRow: {
|
|
13
|
-
id: string;
|
|
14
|
-
defaultMessage: string;
|
|
15
|
-
description: string;
|
|
16
|
-
};
|
|
17
|
-
removeRows: {
|
|
18
|
-
id: string;
|
|
19
|
-
defaultMessage: string;
|
|
20
|
-
description: string;
|
|
21
|
-
};
|
|
22
|
-
cellOptions: {
|
|
23
|
-
id: string;
|
|
24
|
-
defaultMessage: string;
|
|
25
|
-
description: string;
|
|
26
|
-
};
|
|
27
|
-
confirmDeleteLinkedModalOKButton: {
|
|
28
|
-
id: string;
|
|
29
|
-
defaultMessage: string;
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
confirmDeleteLinkedModalMessage: {
|
|
33
|
-
id: string;
|
|
34
|
-
defaultMessage: string;
|
|
35
|
-
description: string;
|
|
36
|
-
};
|
|
37
|
-
confirmDeleteLinkedModalMessagePrefix: {
|
|
38
|
-
id: string;
|
|
39
|
-
defaultMessage: string;
|
|
40
|
-
description: string;
|
|
41
|
-
};
|
|
42
|
-
confirmModalCheckboxLabel: {
|
|
43
|
-
id: string;
|
|
44
|
-
defaultMessage: string;
|
|
45
|
-
description: string;
|
|
46
|
-
};
|
|
47
|
-
deleteElementTitle: {
|
|
48
|
-
id: string;
|
|
49
|
-
defaultMessage: string;
|
|
50
|
-
description: string;
|
|
51
|
-
};
|
|
52
|
-
unnamedSource: {
|
|
53
|
-
id: string;
|
|
54
|
-
defaultMessage: string;
|
|
55
|
-
description: string;
|
|
56
|
-
};
|
|
57
|
-
adjustColumns: {
|
|
58
|
-
id: string;
|
|
59
|
-
defaultMessage: string;
|
|
60
|
-
description: string;
|
|
61
|
-
};
|
|
62
|
-
cornerControl: {
|
|
63
|
-
id: string;
|
|
64
|
-
defaultMessage: string;
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
export default _default;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
insertColumn: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
description: string;
|
|
6
|
-
};
|
|
7
|
-
removeColumns: {
|
|
8
|
-
id: string;
|
|
9
|
-
defaultMessage: string;
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
12
|
-
insertRow: {
|
|
13
|
-
id: string;
|
|
14
|
-
defaultMessage: string;
|
|
15
|
-
description: string;
|
|
16
|
-
};
|
|
17
|
-
removeRows: {
|
|
18
|
-
id: string;
|
|
19
|
-
defaultMessage: string;
|
|
20
|
-
description: string;
|
|
21
|
-
};
|
|
22
|
-
cellOptions: {
|
|
23
|
-
id: string;
|
|
24
|
-
defaultMessage: string;
|
|
25
|
-
description: string;
|
|
26
|
-
};
|
|
27
|
-
confirmDeleteLinkedModalOKButton: {
|
|
28
|
-
id: string;
|
|
29
|
-
defaultMessage: string;
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
confirmDeleteLinkedModalMessage: {
|
|
33
|
-
id: string;
|
|
34
|
-
defaultMessage: string;
|
|
35
|
-
description: string;
|
|
36
|
-
};
|
|
37
|
-
confirmDeleteLinkedModalMessagePrefix: {
|
|
38
|
-
id: string;
|
|
39
|
-
defaultMessage: string;
|
|
40
|
-
description: string;
|
|
41
|
-
};
|
|
42
|
-
confirmModalCheckboxLabel: {
|
|
43
|
-
id: string;
|
|
44
|
-
defaultMessage: string;
|
|
45
|
-
description: string;
|
|
46
|
-
};
|
|
47
|
-
deleteElementTitle: {
|
|
48
|
-
id: string;
|
|
49
|
-
defaultMessage: string;
|
|
50
|
-
description: string;
|
|
51
|
-
};
|
|
52
|
-
unnamedSource: {
|
|
53
|
-
id: string;
|
|
54
|
-
defaultMessage: string;
|
|
55
|
-
description: string;
|
|
56
|
-
};
|
|
57
|
-
adjustColumns: {
|
|
58
|
-
id: string;
|
|
59
|
-
defaultMessage: string;
|
|
60
|
-
description: string;
|
|
61
|
-
};
|
|
62
|
-
cornerControl: {
|
|
63
|
-
id: string;
|
|
64
|
-
defaultMessage: string;
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
export default _default;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
3
|
-
export default defineMessages({
|
|
4
|
-
insertColumn: {
|
|
5
|
-
id: 'fabric.editor.insertColumn',
|
|
6
|
-
defaultMessage: 'Insert column right',
|
|
7
|
-
description: 'Inserts a new column to the right of selected column.',
|
|
8
|
-
},
|
|
9
|
-
removeColumns: {
|
|
10
|
-
id: 'fabric.editor.removeColumns',
|
|
11
|
-
defaultMessage: 'Delete {0, plural, one {column} other {columns}}',
|
|
12
|
-
description: 'Deletes a table column.',
|
|
13
|
-
},
|
|
14
|
-
insertRow: {
|
|
15
|
-
id: 'fabric.editor.insertRow',
|
|
16
|
-
defaultMessage: 'Insert row below',
|
|
17
|
-
description: 'Inserts a new row below the selected row.',
|
|
18
|
-
},
|
|
19
|
-
removeRows: {
|
|
20
|
-
id: 'fabric.editor.removeRows',
|
|
21
|
-
defaultMessage: 'Delete {0, plural, one {row} other {rows}}',
|
|
22
|
-
description: 'Deletes a table row.',
|
|
23
|
-
},
|
|
24
|
-
cellOptions: {
|
|
25
|
-
id: 'fabric.editor.cellOptions',
|
|
26
|
-
defaultMessage: 'Cell options',
|
|
27
|
-
description: 'Opens a menu with options for the current table cell.',
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
confirmDeleteLinkedModalOKButton: {
|
|
31
|
-
id: 'fabric.editor.tables.confirmDeleteLinkedModalOKButton',
|
|
32
|
-
defaultMessage: 'Delete',
|
|
33
|
-
description:
|
|
34
|
-
'Action button label for confirm modal when deleting a table linked to an extension.',
|
|
35
|
-
},
|
|
36
|
-
confirmDeleteLinkedModalMessage: {
|
|
37
|
-
id: 'fabric.editor.tables.confirmDeleteLinkedModalMessage',
|
|
38
|
-
defaultMessage: 'Deleting {nodeName} will break anything connected to it.',
|
|
39
|
-
description:
|
|
40
|
-
'Message for confirm modal when deleting a table linked to an extension.',
|
|
41
|
-
},
|
|
42
|
-
confirmDeleteLinkedModalMessagePrefix: {
|
|
43
|
-
id: 'fabric.editor.extension.confirmDeleteLinkedModalMessagePrefix',
|
|
44
|
-
defaultMessage: 'Deleting',
|
|
45
|
-
description: 'prefix for confirmation dialog text',
|
|
46
|
-
},
|
|
47
|
-
confirmModalCheckboxLabel: {
|
|
48
|
-
id: 'fabric.editor.floatingToolbar.confirmModalCheckboxLabel',
|
|
49
|
-
defaultMessage: 'Also delete connected elements',
|
|
50
|
-
description: 'checkbox label text',
|
|
51
|
-
},
|
|
52
|
-
deleteElementTitle: {
|
|
53
|
-
id: 'fabric.editor.extension.deleteElementTitle',
|
|
54
|
-
defaultMessage: 'Delete element',
|
|
55
|
-
description:
|
|
56
|
-
'Title text for confirm modal when deleting an extension linked to a data consumer.',
|
|
57
|
-
},
|
|
58
|
-
unnamedSource: {
|
|
59
|
-
id: 'fabric.editor.extension.sourceNoTitledName',
|
|
60
|
-
defaultMessage: 'this element',
|
|
61
|
-
description: 'The current element without preset name been selected',
|
|
62
|
-
},
|
|
63
|
-
adjustColumns: {
|
|
64
|
-
id: 'fabric.editor.tables.adjustColumn',
|
|
65
|
-
defaultMessage: 'Adjust column',
|
|
66
|
-
description: 'Tooltip displayed on table column resize handle',
|
|
67
|
-
},
|
|
68
|
-
cornerControl: {
|
|
69
|
-
id: 'fabric.editor.cornerControl',
|
|
70
|
-
defaultMessage: 'Highlight table',
|
|
71
|
-
description:
|
|
72
|
-
'A button on the upper left corner of the table that shows up when the table is in focus. Clicking on it will select the entire table.',
|
|
73
|
-
},
|
|
74
|
-
});
|