@atlaskit/editor-plugin-table 7.17.8 → 7.17.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 +15 -0
- package/dist/cjs/toolbar.js +1 -2
- package/dist/es2019/toolbar.js +1 -2
- package/dist/esm/toolbar.js +1 -2
- package/package.json +5 -8
- package/src/toolbar.tsx +1 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 7.17.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 7.17.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#110582](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110582)
|
|
14
|
+
[`8846a40609a0e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8846a40609a0e) -
|
|
15
|
+
remove platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33 ff
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 7.17.8
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/cjs/toolbar.js
CHANGED
|
@@ -27,7 +27,6 @@ var _alignImageLeft = _interopRequireDefault(require("@atlaskit/icon/glyph/edito
|
|
|
27
27
|
var _layoutThreeEqual = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/layout-three-equal"));
|
|
28
28
|
var _remove = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/remove"));
|
|
29
29
|
var _preferences = _interopRequireDefault(require("@atlaskit/icon/glyph/preferences"));
|
|
30
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
31
30
|
var _commands = require("./commands");
|
|
32
31
|
var _commandsWithAnalytics = require("./commands-with-analytics");
|
|
33
32
|
var _pluginFactory = require("./pm-plugins/plugin-factory");
|
|
@@ -48,7 +47,7 @@ var getToolbarMenuConfig = exports.getToolbarMenuConfig = function getToolbarMen
|
|
|
48
47
|
var formatMessage = _ref.formatMessage;
|
|
49
48
|
var isTableScalingWithFixedColumnWidthsOptionShown = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|
50
49
|
var areTableColumnWidthsFixed = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;
|
|
51
|
-
var optionItem =
|
|
50
|
+
var optionItem = 'item-checkbox';
|
|
52
51
|
var options = [{
|
|
53
52
|
id: 'editor.table.lockColumnWidths',
|
|
54
53
|
title: formatMessage(_messages.tableMessages.lockColumnWidths),
|
package/dist/es2019/toolbar.js
CHANGED
|
@@ -19,7 +19,6 @@ import EditorAlignImageLeft from '@atlaskit/icon/glyph/editor/align-image-left';
|
|
|
19
19
|
import DistributeColumnIcon from '@atlaskit/icon/glyph/editor/layout-three-equal';
|
|
20
20
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
21
21
|
import TableOptionsIcon from '@atlaskit/icon/glyph/preferences';
|
|
22
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
23
22
|
import { clearHoverSelection, hoverColumns, hoverMergedCells, hoverRows, hoverTable, removeDescendantNodes } from './commands';
|
|
24
23
|
import { deleteColumnsWithAnalytics, deleteRowsWithAnalytics, deleteTableWithAnalytics, distributeColumnsWidthsWithAnalytics, emptyMultipleCellsWithAnalytics, insertColumnWithAnalytics, insertRowWithAnalytics, mergeCellsWithAnalytics, setColorWithAnalytics, setTableAlignmentWithAnalytics, sortColumnWithAnalytics, splitCellWithAnalytics, toggleFixedColumnWidthsOptionAnalytics, toggleHeaderColumnWithAnalytics, toggleHeaderRowWithAnalytics, toggleNumberColumnWithAnalytics, wrapTableInExpandWithAnalytics } from './commands-with-analytics';
|
|
25
24
|
import { getPluginState } from './pm-plugins/plugin-factory';
|
|
@@ -35,7 +34,7 @@ import { normaliseAlignment } from './utils/alignment';
|
|
|
35
34
|
export const getToolbarMenuConfig = (config, state, {
|
|
36
35
|
formatMessage
|
|
37
36
|
}, editorAnalyticsAPI, isTableScalingWithFixedColumnWidthsOptionShown = false, areTableColumnWidthsFixed = false) => {
|
|
38
|
-
const optionItem =
|
|
37
|
+
const optionItem = 'item-checkbox';
|
|
39
38
|
const options = [{
|
|
40
39
|
id: 'editor.table.lockColumnWidths',
|
|
41
40
|
title: formatMessage(messages.lockColumnWidths),
|
package/dist/esm/toolbar.js
CHANGED
|
@@ -23,7 +23,6 @@ import EditorAlignImageLeft from '@atlaskit/icon/glyph/editor/align-image-left';
|
|
|
23
23
|
import DistributeColumnIcon from '@atlaskit/icon/glyph/editor/layout-three-equal';
|
|
24
24
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
25
25
|
import TableOptionsIcon from '@atlaskit/icon/glyph/preferences';
|
|
26
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
27
26
|
import { clearHoverSelection, hoverColumns, hoverMergedCells, hoverRows, hoverTable, removeDescendantNodes } from './commands';
|
|
28
27
|
import { deleteColumnsWithAnalytics, deleteRowsWithAnalytics, deleteTableWithAnalytics, distributeColumnsWidthsWithAnalytics, emptyMultipleCellsWithAnalytics, insertColumnWithAnalytics, insertRowWithAnalytics, mergeCellsWithAnalytics, setColorWithAnalytics, setTableAlignmentWithAnalytics, sortColumnWithAnalytics, splitCellWithAnalytics, toggleFixedColumnWidthsOptionAnalytics, toggleHeaderColumnWithAnalytics, toggleHeaderRowWithAnalytics, toggleNumberColumnWithAnalytics, wrapTableInExpandWithAnalytics } from './commands-with-analytics';
|
|
29
28
|
import { getPluginState } from './pm-plugins/plugin-factory';
|
|
@@ -40,7 +39,7 @@ export var getToolbarMenuConfig = function getToolbarMenuConfig(config, state, _
|
|
|
40
39
|
var formatMessage = _ref.formatMessage;
|
|
41
40
|
var isTableScalingWithFixedColumnWidthsOptionShown = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|
42
41
|
var areTableColumnWidthsFixed = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;
|
|
43
|
-
var optionItem =
|
|
42
|
+
var optionItem = 'item-checkbox';
|
|
44
43
|
var options = [{
|
|
45
44
|
id: 'editor.table.lockColumnWidths',
|
|
46
45
|
title: formatMessage(messages.lockColumnWidths),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "7.17.
|
|
3
|
+
"version": "7.17.10",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@atlaskit/adf-schema": "^36.10.7",
|
|
32
|
-
"@atlaskit/button": "^
|
|
32
|
+
"@atlaskit/button": "^18.0.0",
|
|
33
33
|
"@atlaskit/custom-steps": "^0.2.0",
|
|
34
|
-
"@atlaskit/editor-common": "^82.
|
|
34
|
+
"@atlaskit/editor-common": "^82.11.0",
|
|
35
35
|
"@atlaskit/editor-palette": "1.6.0",
|
|
36
36
|
"@atlaskit/editor-plugin-accessibility-utils": "^1.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.2.0",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.3.0",
|
|
51
51
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
|
|
52
52
|
"@atlaskit/primitives": "^8.0.0",
|
|
53
|
-
"@atlaskit/theme": "^12.
|
|
53
|
+
"@atlaskit/theme": "^12.11.0",
|
|
54
54
|
"@atlaskit/toggle": "^13.2.0",
|
|
55
|
-
"@atlaskit/tokens": "^1.
|
|
55
|
+
"@atlaskit/tokens": "^1.52.0",
|
|
56
56
|
"@atlaskit/tooltip": "^18.5.0",
|
|
57
57
|
"@babel/runtime": "^7.0.0",
|
|
58
58
|
"@emotion/react": "^11.7.1",
|
|
@@ -126,9 +126,6 @@
|
|
|
126
126
|
"platform.editor.table.use-shared-state-hook": {
|
|
127
127
|
"type": "boolean"
|
|
128
128
|
},
|
|
129
|
-
"platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33": {
|
|
130
|
-
"type": "boolean"
|
|
131
|
-
},
|
|
132
129
|
"platform.editor.table.use-increased-scaling-percent": {
|
|
133
130
|
"type": "boolean"
|
|
134
131
|
},
|
package/src/toolbar.tsx
CHANGED
|
@@ -47,7 +47,6 @@ import EditorAlignImageLeft from '@atlaskit/icon/glyph/editor/align-image-left';
|
|
|
47
47
|
import DistributeColumnIcon from '@atlaskit/icon/glyph/editor/layout-three-equal';
|
|
48
48
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
49
49
|
import TableOptionsIcon from '@atlaskit/icon/glyph/preferences';
|
|
50
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
51
50
|
|
|
52
51
|
import {
|
|
53
52
|
clearHoverSelection,
|
|
@@ -108,11 +107,7 @@ export const getToolbarMenuConfig = (
|
|
|
108
107
|
isTableScalingWithFixedColumnWidthsOptionShown = false,
|
|
109
108
|
areTableColumnWidthsFixed = false,
|
|
110
109
|
): FloatingToolbarItem<Command> => {
|
|
111
|
-
const optionItem: typeOption =
|
|
112
|
-
'platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33',
|
|
113
|
-
)
|
|
114
|
-
? 'item-checkbox'
|
|
115
|
-
: 'item';
|
|
110
|
+
const optionItem: typeOption = 'item-checkbox';
|
|
116
111
|
|
|
117
112
|
const options = [
|
|
118
113
|
{
|