@atlaskit/editor-plugin-selection-toolbar 3.5.0 → 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,24 @@
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
+
12
+ ## 3.5.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#141455](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/141455)
17
+ [`8a8bd624345b5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8a8bd624345b5) -
18
+ [ED-27542] Clean up platform_editor_controls_patch_2 used for floating toolbar scroll left/right
19
+ buttons
20
+ - Updated dependencies
21
+
3
22
  ## 3.5.0
4
23
 
5
24
  ### Minor 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',
@@ -313,7 +313,7 @@ var selectionToolbarPlugin = exports.selectionToolbarPlugin = function selection
313
313
  title: 'Selection toolbar',
314
314
  nodeType: nodeType,
315
315
  items: items
316
- }, isEditorControlsEnabled && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_2') && {
316
+ }, isEditorControlsEnabled && {
317
317
  scrollable: true
318
318
  }), {}, {
319
319
  onPositionCalculated: onPositionCalculated
@@ -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',
@@ -305,7 +305,7 @@ export const selectionToolbarPlugin = ({
305
305
  title: 'Selection toolbar',
306
306
  nodeType: nodeType,
307
307
  items: items,
308
- ...(isEditorControlsEnabled && fg('platform_editor_controls_patch_2') && {
308
+ ...(isEditorControlsEnabled && {
309
309
  scrollable: true
310
310
  }),
311
311
  onPositionCalculated
@@ -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',
@@ -306,7 +306,7 @@ export var selectionToolbarPlugin = function selectionToolbarPlugin(_ref) {
306
306
  title: 'Selection toolbar',
307
307
  nodeType: nodeType,
308
308
  items: items
309
- }, isEditorControlsEnabled && fg('platform_editor_controls_patch_2') && {
309
+ }, isEditorControlsEnabled && {
310
310
  scrollable: true
311
311
  }), {}, {
312
312
  onPositionCalculated: onPositionCalculated
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-selection-toolbar",
3
- "version": "3.5.0",
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,17 +34,17 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/css": "^0.10.0",
37
- "@atlaskit/editor-common": "^103.8.0",
37
+ "@atlaskit/editor-common": "^103.15.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
39
- "@atlaskit/editor-plugin-block-controls": "^3.10.0",
39
+ "@atlaskit/editor-plugin-block-controls": "^3.11.0",
40
40
  "@atlaskit/editor-plugin-editor-viewmode": "^3.1.0",
41
41
  "@atlaskit/editor-plugin-primary-toolbar": "^3.2.0",
42
42
  "@atlaskit/editor-prosemirror": "7.0.0",
43
43
  "@atlaskit/icon": "^25.6.0",
44
- "@atlaskit/icon-lab": "^4.8.0",
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.9.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
  }