@atlaskit/editor-plugin-floating-toolbar 3.4.0 → 3.6.0

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,31 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 3.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#139053](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139053)
8
+ [`c1c6278a78c4a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c1c6278a78c4a) -
9
+ [ux] Adds a new temporary floating toolbar's config option to hide any toolbars when any table's
10
+ menu is opend.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
16
+ ## 3.5.0
17
+
18
+ ### Minor Changes
19
+
20
+ - [#138977](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/138977)
21
+ [`3d812d3a14c39`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3d812d3a14c39) -
22
+ [ux] Revert "Adds a new temporary floating toolbar's config option to hide any toolbars when any
23
+ table's menu is opened."
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies
28
+
3
29
  ## 3.4.0
4
30
 
5
31
  ### Minor Changes
@@ -478,7 +478,7 @@ function floatingToolbarPluginFactory(options) {
478
478
  var handler = floatingToolbarHandlers[index];
479
479
  var config = handler(editorState, intl, providerFactory, activeConfigs);
480
480
  if (config) {
481
- if (config.__suppressAllToolbars && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_3')) {
481
+ if (config.__suppressAllToolbars && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_4')) {
482
482
  activeConfigs = undefined;
483
483
  break;
484
484
  }
@@ -452,7 +452,7 @@ export function floatingToolbarPluginFactory(options) {
452
452
  const handler = floatingToolbarHandlers[index];
453
453
  const config = handler(editorState, intl, providerFactory, activeConfigs);
454
454
  if (config) {
455
- if (config.__suppressAllToolbars && editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_3')) {
455
+ if (config.__suppressAllToolbars && editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_4')) {
456
456
  activeConfigs = undefined;
457
457
  break;
458
458
  }
@@ -466,7 +466,7 @@ export function floatingToolbarPluginFactory(options) {
466
466
  var handler = floatingToolbarHandlers[index];
467
467
  var config = handler(editorState, intl, providerFactory, activeConfigs);
468
468
  if (config) {
469
- if (config.__suppressAllToolbars && editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_3')) {
469
+ if (config.__suppressAllToolbars && editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_4')) {
470
470
  activeConfigs = undefined;
471
471
  break;
472
472
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "3.4.0",
3
+ "version": "3.6.0",
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.19.0",
29
29
  "@atlaskit/button": "^23.0.0",
30
30
  "@atlaskit/checkbox": "^17.0.0",
31
- "@atlaskit/editor-common": "^103.1.0",
31
+ "@atlaskit/editor-common": "^103.2.0",
32
32
  "@atlaskit/editor-palette": "^2.1.0",
33
33
  "@atlaskit/editor-plugin-block-controls": "^3.8.0",
34
34
  "@atlaskit/editor-plugin-context-panel": "^4.0.0",
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/menu": "^3.2.0",
46
46
  "@atlaskit/modal-dialog": "^14.1.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
- "@atlaskit/primitives": "^14.3.0",
48
+ "@atlaskit/primitives": "^14.4.0",
49
49
  "@atlaskit/select": "^20.2.0",
50
50
  "@atlaskit/theme": "^18.0.0",
51
51
  "@atlaskit/tmp-editor-statsig": "^4.6.0",
@@ -138,7 +138,7 @@
138
138
  "platform_editor_controls_patch_2": {
139
139
  "type": "boolean"
140
140
  },
141
- "platform_editor_controls_patch_3": {
141
+ "platform_editor_controls_patch_4": {
142
142
  "type": "boolean"
143
143
  }
144
144
  }