@atlaskit/editor-plugin-table 7.11.1 → 7.11.2

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 7.11.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#95258](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95258) [`f40514ef08e3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f40514ef08e3) - Cleanup feature flag to allow grouping with editor dropdown menu.
8
+ - Updated dependencies
9
+
3
10
  ## 7.11.1
4
11
 
5
12
  ### Patch Changes
@@ -30,7 +30,6 @@ var _utils2 = require("@atlaskit/editor-tables/utils");
30
30
  var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/cross-circle"));
31
31
  var _backgroundColor = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/background-color"));
32
32
  var _remove = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/remove"));
33
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
34
33
  var _commands = require("../../commands");
35
34
  var _commandsWithAnalytics = require("../../commands-with-analytics");
36
35
  var _pluginFactory = require("../../pm-plugins/plugin-factory");
@@ -543,7 +542,7 @@ var ContextualMenu = exports.ContextualMenu = /*#__PURE__*/function (_Component)
543
542
  fitWidth: isDragAndDropEnabled ? _consts.contextualMenuDropdownWidthDnD : _consts.contextualMenuDropdownWidth,
544
543
  boundariesElement: boundariesElement,
545
544
  offset: offset,
546
- section: isDragAndDropEnabled && (0, _platformFeatureFlags.getBooleanFF)('platform.editor.menu.group-items') ? {
545
+ section: isDragAndDropEnabled ? {
547
546
  hasSeparator: true
548
547
  } : undefined
549
548
  }));
@@ -18,7 +18,6 @@ import { splitCell } from '@atlaskit/editor-tables/utils';
18
18
  import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
19
19
  import EditorBackgroundColorIcon from '@atlaskit/icon/glyph/editor/background-color';
20
20
  import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
21
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
22
21
  import { clearHoverSelection, hoverColumns, hoverMergedCells, hoverRows, toggleContextualMenu } from '../../commands';
23
22
  import { deleteColumnsWithAnalytics, deleteRowsWithAnalytics, distributeColumnsWidthsWithAnalytics, emptyMultipleCellsWithAnalytics, insertColumnWithAnalytics, insertRowWithAnalytics, mergeCellsWithAnalytics, setColorWithAnalytics, sortColumnWithAnalytics, splitCellWithAnalytics } from '../../commands-with-analytics';
24
23
  import { getPluginState } from '../../pm-plugins/plugin-factory';
@@ -591,7 +590,7 @@ export class ContextualMenu extends Component {
591
590
  fitWidth: isDragAndDropEnabled ? contextualMenuDropdownWidthDnD : contextualMenuDropdownWidth,
592
591
  boundariesElement: boundariesElement,
593
592
  offset: offset,
594
- section: isDragAndDropEnabled && getBooleanFF('platform.editor.menu.group-items') ? {
593
+ section: isDragAndDropEnabled ? {
595
594
  hasSeparator: true
596
595
  } : undefined
597
596
  }));
@@ -29,7 +29,6 @@ import { splitCell } from '@atlaskit/editor-tables/utils';
29
29
  import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
30
30
  import EditorBackgroundColorIcon from '@atlaskit/icon/glyph/editor/background-color';
31
31
  import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
32
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
33
32
  import { clearHoverSelection, hoverColumns, hoverMergedCells, hoverRows, toggleContextualMenu } from '../../commands';
34
33
  import { deleteColumnsWithAnalytics, deleteRowsWithAnalytics, distributeColumnsWidthsWithAnalytics, emptyMultipleCellsWithAnalytics, insertColumnWithAnalytics, insertRowWithAnalytics, mergeCellsWithAnalytics, setColorWithAnalytics, sortColumnWithAnalytics, splitCellWithAnalytics } from '../../commands-with-analytics';
35
34
  import { getPluginState } from '../../pm-plugins/plugin-factory';
@@ -538,7 +537,7 @@ export var ContextualMenu = /*#__PURE__*/function (_Component) {
538
537
  fitWidth: isDragAndDropEnabled ? contextualMenuDropdownWidthDnD : contextualMenuDropdownWidth,
539
538
  boundariesElement: boundariesElement,
540
539
  offset: offset,
541
- section: isDragAndDropEnabled && getBooleanFF('platform.editor.menu.group-items') ? {
540
+ section: isDragAndDropEnabled ? {
542
541
  hasSeparator: true
543
542
  } : undefined
544
543
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "7.11.1",
3
+ "version": "7.11.2",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,9 +46,9 @@
46
46
  "@atlaskit/menu": "^2.2.0",
47
47
  "@atlaskit/platform-feature-flags": "^0.2.1",
48
48
  "@atlaskit/pragmatic-drag-and-drop": "^1.1.0",
49
- "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.2.0",
49
+ "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.3.0",
50
50
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
51
- "@atlaskit/primitives": "^5.6.0",
51
+ "@atlaskit/primitives": "^5.7.0",
52
52
  "@atlaskit/theme": "^12.7.0",
53
53
  "@atlaskit/toggle": "^13.0.0",
54
54
  "@atlaskit/tokens": "^1.44.0",
@@ -115,9 +115,6 @@
115
115
  "platform.editor.a11y-table-resizing_uapcv": {
116
116
  "type": "boolean"
117
117
  },
118
- "platform.editor.menu.group-items": {
119
- "type": "boolean"
120
- },
121
118
  "platform.editor.a11y-column-resizing_emcvz": {
122
119
  "type": "boolean"
123
120
  },
@@ -46,7 +46,6 @@ import { splitCell } from '@atlaskit/editor-tables/utils';
46
46
  import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
47
47
  import EditorBackgroundColorIcon from '@atlaskit/icon/glyph/editor/background-color';
48
48
  import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
49
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
50
49
 
51
50
  import {
52
51
  clearHoverSelection,
@@ -157,12 +156,7 @@ export class ContextualMenu extends Component<
157
156
  }
158
157
  boundariesElement={boundariesElement}
159
158
  offset={offset}
160
- section={
161
- isDragAndDropEnabled &&
162
- getBooleanFF('platform.editor.menu.group-items')
163
- ? { hasSeparator: true }
164
- : undefined
165
- }
159
+ section={isDragAndDropEnabled ? { hasSeparator: true } : undefined}
166
160
  />
167
161
  </div>
168
162
  );