@atlaskit/editor-plugin-selection-toolbar 3.5.1 → 3.5.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,14 @@
1
1
  # @atlaskit/editor-plugin-selection-toolbar
2
2
 
3
+ ## 3.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#144194](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/144194)
8
+ [`542b82e03416e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/542b82e03416e) -
9
+ [ux] Remove separators within group in Editor floating toolbar
10
+ - Updated dependencies
11
+
3
12
  ## 3.5.1
4
13
 
5
14
  ### Patch Changes
@@ -276,7 +276,7 @@ var selectionToolbarPlugin = exports.selectionToolbarPlugin = function selection
276
276
  type: 'separator',
277
277
  fullHeight: true
278
278
  });
279
- } else {
279
+ } else if (!(0, _platformFeatureFlags.fg)('platform_editor_controls_patch_6')) {
280
280
  if (i !== resolved.length - 1 && !shouldNotAddSeparator) {
281
281
  items.push({
282
282
  type: 'separator',
@@ -268,7 +268,7 @@ export const selectionToolbarPlugin = ({
268
268
  type: 'separator',
269
269
  fullHeight: true
270
270
  });
271
- } else {
271
+ } else if (!fg('platform_editor_controls_patch_6')) {
272
272
  if (i !== resolved.length - 1 && !shouldNotAddSeparator) {
273
273
  items.push({
274
274
  type: 'separator',
@@ -269,7 +269,7 @@ export var selectionToolbarPlugin = function selectionToolbarPlugin(_ref) {
269
269
  type: 'separator',
270
270
  fullHeight: true
271
271
  });
272
- } else {
272
+ } else if (!fg('platform_editor_controls_patch_6')) {
273
273
  if (i !== resolved.length - 1 && !shouldNotAddSeparator) {
274
274
  items.push({
275
275
  type: 'separator',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-toolbar",
3
- "version": "3.5.1",
3
+ "version": "3.5.2",
4
4
  "description": "@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/css": "^0.10.0",
37
- "@atlaskit/editor-common": "^103.12.0",
37
+ "@atlaskit/editor-common": "^103.15.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
39
39
  "@atlaskit/editor-plugin-block-controls": "^3.11.0",
40
40
  "@atlaskit/editor-plugin-editor-viewmode": "^3.1.0",
@@ -44,7 +44,7 @@
44
44
  "@atlaskit/icon-lab": "^4.9.0",
45
45
  "@atlaskit/menu": "^3.2.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
- "@atlaskit/tmp-editor-statsig": "^4.12.0",
47
+ "@atlaskit/tmp-editor-statsig": "^4.13.0",
48
48
  "@atlaskit/tokens": "^4.8.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "bind-event-listener": "^3.0.0"
@@ -106,6 +106,9 @@
106
106
  },
107
107
  "platform_editor_controls_patch_5": {
108
108
  "type": "boolean"
109
+ },
110
+ "platform_editor_controls_patch_6": {
111
+ "type": "boolean"
109
112
  }
110
113
  }
111
114
  }