@atlaskit/editor-plugin-table 10.12.3 → 10.12.4

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,11 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 10.12.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 10.12.3
4
10
 
5
11
  ### Patch Changes
@@ -494,8 +494,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(getE
494
494
  onBlur: (0, _commands.clearHoverSelection)()
495
495
  };
496
496
  };
497
- var shouldGroupWithoutSeparators = (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_6');
498
-
497
+ var shouldGroupWithoutSeparators = (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1');
499
498
  // testId is required to show focus on trigger button on ESC key press
500
499
  // see hideOnEsc in platform/packages/editor/editor-plugin-floating-toolbar/src/ui/Dropdown.tsx
501
500
  var overflowDropdownTestId = (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_8') ? 'table-overflow-dropdown-trigger' : undefined;
@@ -649,7 +648,7 @@ var getColumnSettingItems = function getColumnSettingItems(editorState, editorVi
649
648
  disabled: !wouldChange
650
649
  });
651
650
  }
652
- if (items.length !== 0 && (!(0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') || !(0, _platformFeatureFlags.fg)('platform_editor_controls_patch_6'))) {
651
+ if (items.length !== 0 && !(0, _experiments.editorExperiment)('platform_editor_controls', 'variant1')) {
653
652
  items.push({
654
653
  type: 'separator'
655
654
  });
@@ -464,8 +464,7 @@ export const getToolbarConfig = (getEditorContainerWidth, api, editorAnalyticsAP
464
464
  onFocus: hoverTable(isInDanger, isSelected),
465
465
  onBlur: clearHoverSelection()
466
466
  });
467
- const shouldGroupWithoutSeparators = editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_6');
468
-
467
+ const shouldGroupWithoutSeparators = editorExperiment('platform_editor_controls', 'variant1');
469
468
  // testId is required to show focus on trigger button on ESC key press
470
469
  // see hideOnEsc in platform/packages/editor/editor-plugin-floating-toolbar/src/ui/Dropdown.tsx
471
470
  const overflowDropdownTestId = fg('platform_editor_controls_patch_8') ? 'table-overflow-dropdown-trigger' : undefined;
@@ -605,7 +604,7 @@ const getColumnSettingItems = (editorState, editorView, {
605
604
  disabled: !wouldChange
606
605
  });
607
606
  }
608
- if (items.length !== 0 && (!editorExperiment('platform_editor_controls', 'variant1') || !fg('platform_editor_controls_patch_6'))) {
607
+ if (items.length !== 0 && !editorExperiment('platform_editor_controls', 'variant1')) {
609
608
  items.push({
610
609
  type: 'separator'
611
610
  });
@@ -487,8 +487,7 @@ export var getToolbarConfig = function getToolbarConfig(getEditorContainerWidth,
487
487
  onBlur: clearHoverSelection()
488
488
  };
489
489
  };
490
- var shouldGroupWithoutSeparators = editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_6');
491
-
490
+ var shouldGroupWithoutSeparators = editorExperiment('platform_editor_controls', 'variant1');
492
491
  // testId is required to show focus on trigger button on ESC key press
493
492
  // see hideOnEsc in platform/packages/editor/editor-plugin-floating-toolbar/src/ui/Dropdown.tsx
494
493
  var overflowDropdownTestId = fg('platform_editor_controls_patch_8') ? 'table-overflow-dropdown-trigger' : undefined;
@@ -642,7 +641,7 @@ var getColumnSettingItems = function getColumnSettingItems(editorState, editorVi
642
641
  disabled: !wouldChange
643
642
  });
644
643
  }
645
- if (items.length !== 0 && (!editorExperiment('platform_editor_controls', 'variant1') || !fg('platform_editor_controls_patch_6'))) {
644
+ if (items.length !== 0 && !editorExperiment('platform_editor_controls', 'variant1')) {
646
645
  items.push({
647
646
  type: 'separator'
648
647
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "10.12.3",
3
+ "version": "10.12.4",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,14 +32,14 @@
32
32
  "@atlaskit/adf-schema": "^47.6.0",
33
33
  "@atlaskit/button": "^23.2.0",
34
34
  "@atlaskit/custom-steps": "^0.11.0",
35
- "@atlaskit/editor-common": "^106.9.0",
35
+ "@atlaskit/editor-common": "^107.0.0",
36
36
  "@atlaskit/editor-palette": "^2.1.0",
37
37
  "@atlaskit/editor-plugin-accessibility-utils": "^2.0.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
39
39
  "@atlaskit/editor-plugin-batch-attribute-updates": "^2.1.0",
40
40
  "@atlaskit/editor-plugin-content-insertion": "^2.1.0",
41
41
  "@atlaskit/editor-plugin-editor-viewmode": "^4.0.0",
42
- "@atlaskit/editor-plugin-extension": "5.5.7",
42
+ "@atlaskit/editor-plugin-extension": "5.5.8",
43
43
  "@atlaskit/editor-plugin-guideline": "^2.0.0",
44
44
  "@atlaskit/editor-plugin-interaction": "^2.0.0",
45
45
  "@atlaskit/editor-plugin-selection": "^2.2.0",
@@ -199,9 +199,6 @@
199
199
  "platform_editor_remove_slow_table_transactions": {
200
200
  "type": "boolean"
201
201
  },
202
- "platform_editor_controls_patch_6": {
203
- "type": "boolean"
204
- },
205
202
  "platform_editor_fix_table_resizing_undo": {
206
203
  "type": "boolean"
207
204
  },
@@ -672,10 +672,7 @@ export const getToolbarConfig =
672
672
  onBlur: clearHoverSelection(),
673
673
  });
674
674
 
675
- const shouldGroupWithoutSeparators =
676
- editorExperiment('platform_editor_controls', 'variant1') &&
677
- fg('platform_editor_controls_patch_6');
678
-
675
+ const shouldGroupWithoutSeparators = editorExperiment('platform_editor_controls', 'variant1');
679
676
  // testId is required to show focus on trigger button on ESC key press
680
677
  // see hideOnEsc in platform/packages/editor/editor-plugin-floating-toolbar/src/ui/Dropdown.tsx
681
678
  const overflowDropdownTestId = fg('platform_editor_controls_patch_8')
@@ -919,11 +916,7 @@ const getColumnSettingItems = (
919
916
  });
920
917
  }
921
918
 
922
- if (
923
- items.length !== 0 &&
924
- (!editorExperiment('platform_editor_controls', 'variant1') ||
925
- !fg('platform_editor_controls_patch_6'))
926
- ) {
919
+ if (items.length !== 0 && !editorExperiment('platform_editor_controls', 'variant1')) {
927
920
  items.push({
928
921
  type: 'separator',
929
922
  });