@atlaskit/editor-plugin-floating-toolbar 4.2.4 → 4.2.5

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-floating-toolbar
2
2
 
3
+ ## 4.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 4.2.4
4
10
 
5
11
  ### Patch Changes
@@ -62,7 +62,7 @@ function groupItems(items) {
62
62
  } else {
63
63
  finalOutput.push(item);
64
64
  }
65
- } else if (item.type === 'separator' && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_6')) {
65
+ } else if (item.type === 'separator' && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1')) {
66
66
  var _items;
67
67
  var isLeadingSeparator = i === 0;
68
68
  var isTrailingSeparator = i === items.length - 1;
@@ -341,7 +341,7 @@ var ToolbarItems = /*#__PURE__*/_react.default.memo(function (_ref) {
341
341
  scrollable: scrollable
342
342
  });
343
343
  case 'separator':
344
- if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_6')) {
344
+ if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1')) {
345
345
  return item.fullHeight ? (0, _react2.jsx)(_ui.FloatingToolbarSeparator, {
346
346
  key: idx,
347
347
  fullHeight: true
@@ -51,7 +51,7 @@ export function groupItems(items) {
51
51
  } else {
52
52
  finalOutput.push(item);
53
53
  }
54
- } else if (item.type === 'separator' && editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_6')) {
54
+ } else if (item.type === 'separator' && editorExperiment('platform_editor_controls', 'variant1')) {
55
55
  var _items;
56
56
  const isLeadingSeparator = i === 0;
57
57
  const isTrailingSeparator = i === items.length - 1;
@@ -315,7 +315,7 @@ const ToolbarItems = /*#__PURE__*/React.memo(({
315
315
  scrollable: scrollable
316
316
  });
317
317
  case 'separator':
318
- if (editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_6')) {
318
+ if (editorExperiment('platform_editor_controls', 'variant1')) {
319
319
  return item.fullHeight ? jsx(Separator, {
320
320
  key: idx,
321
321
  fullHeight: true
@@ -56,7 +56,7 @@ export function groupItems(items) {
56
56
  } else {
57
57
  finalOutput.push(item);
58
58
  }
59
- } else if (item.type === 'separator' && editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_6')) {
59
+ } else if (item.type === 'separator' && editorExperiment('platform_editor_controls', 'variant1')) {
60
60
  var _items;
61
61
  var isLeadingSeparator = i === 0;
62
62
  var isTrailingSeparator = i === items.length - 1;
@@ -335,7 +335,7 @@ var ToolbarItems = /*#__PURE__*/React.memo(function (_ref) {
335
335
  scrollable: scrollable
336
336
  });
337
337
  case 'separator':
338
- if (editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_6')) {
338
+ if (editorExperiment('platform_editor_controls', 'variant1')) {
339
339
  return item.fullHeight ? jsx(Separator, {
340
340
  key: idx,
341
341
  fullHeight: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "4.2.4",
3
+ "version": "4.2.5",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -28,7 +28,7 @@
28
28
  "@atlaskit/adf-utils": "^19.20.0",
29
29
  "@atlaskit/button": "^23.2.0",
30
30
  "@atlaskit/checkbox": "^17.1.0",
31
- "@atlaskit/editor-common": "^106.9.0",
31
+ "@atlaskit/editor-common": "^107.0.0",
32
32
  "@atlaskit/editor-palette": "^2.1.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
34
34
  "@atlaskit/editor-plugin-context-panel": "^4.1.0",
@@ -137,7 +137,7 @@
137
137
  "platform_editor_remove_slow_table_transactions": {
138
138
  "type": "boolean"
139
139
  },
140
- "platform_editor_controls_patch_6": {
140
+ "platform_editor_user_intent_plugin": {
141
141
  "type": "boolean"
142
142
  },
143
143
  "platform_editor_controls_patch_13": {