@atlaskit/editor-plugin-floating-toolbar 8.2.20 → 8.2.21

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
+ ## 8.2.21
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 8.2.20
4
10
 
5
11
  ### Patch Changes
@@ -623,9 +623,10 @@ function floatingToolbarPluginFactory(options) {
623
623
  getConfigWithNodeInfo: getConfigWithNodeInfo
624
624
  };
625
625
  },
626
- apply: (0, _expValEquals.expValEquals)('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true)
626
+ apply: (0, _expValEquals.expValEquals)('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true) ?
627
627
  // @ts-ignore - Workaround for help-center local consumption
628
- ? function (_tr, _pluginState, __oldEditorState, newEditorState) {
628
+
629
+ function (_tr, _pluginState, __oldEditorState, newEditorState) {
629
630
  var suppressedToolbar = getIsToolbarSuppressed(newEditorState);
630
631
  var newPluginState = {
631
632
  getConfigWithNodeInfo: getConfigWithNodeInfo,
@@ -608,9 +608,10 @@ export function floatingToolbarPluginFactory(options) {
608
608
  getConfigWithNodeInfo
609
609
  };
610
610
  },
611
- apply: expValEquals('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true)
611
+ apply: expValEquals('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true) ?
612
612
  // @ts-ignore - Workaround for help-center local consumption
613
- ? (_tr, _pluginState, __oldEditorState, newEditorState) => {
613
+
614
+ (_tr, _pluginState, __oldEditorState, newEditorState) => {
614
615
  const suppressedToolbar = getIsToolbarSuppressed(newEditorState);
615
616
  const newPluginState = {
616
617
  getConfigWithNodeInfo,
@@ -613,9 +613,10 @@ export function floatingToolbarPluginFactory(options) {
613
613
  getConfigWithNodeInfo: getConfigWithNodeInfo
614
614
  };
615
615
  },
616
- apply: expValEquals('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true)
616
+ apply: expValEquals('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true) ?
617
617
  // @ts-ignore - Workaround for help-center local consumption
618
- ? function (_tr, _pluginState, __oldEditorState, newEditorState) {
618
+
619
+ function (_tr, _pluginState, __oldEditorState, newEditorState) {
619
620
  var suppressedToolbar = getIsToolbarSuppressed(newEditorState);
620
621
  var newPluginState = {
621
622
  getConfigWithNodeInfo: getConfigWithNodeInfo,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "8.2.20",
3
+ "version": "8.2.21",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,10 +31,9 @@
31
31
  "@atlaskit/editor-plugin-decorations": "^6.1.0",
32
32
  "@atlaskit/editor-plugin-editor-disabled": "^6.1.0",
33
33
  "@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
34
- "@atlaskit/editor-plugin-emoji": "^7.6.0",
34
+ "@atlaskit/editor-plugin-emoji": "^7.7.0",
35
35
  "@atlaskit/editor-plugin-extension": "^9.2.0",
36
36
  "@atlaskit/editor-plugin-interaction": "^10.0.0",
37
- "@atlaskit/editor-plugin-table": "^15.4.0",
38
37
  "@atlaskit/editor-plugin-user-intent": "^4.0.0",
39
38
  "@atlaskit/editor-prosemirror": "7.0.0",
40
39
  "@atlaskit/emoji": "^69.8.0",
@@ -42,11 +41,11 @@
42
41
  "@atlaskit/menu": "^8.4.0",
43
42
  "@atlaskit/modal-dialog": "^14.7.0",
44
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
- "@atlaskit/primitives": "^16.3.0",
44
+ "@atlaskit/primitives": "^16.4.0",
46
45
  "@atlaskit/select": "^21.4.0",
47
46
  "@atlaskit/theme": "^21.0.0",
48
- "@atlaskit/tmp-editor-statsig": "^13.42.0",
49
- "@atlaskit/tokens": "^8.3.0",
47
+ "@atlaskit/tmp-editor-statsig": "^14.0.0",
48
+ "@atlaskit/tokens": "^8.4.0",
50
49
  "@atlaskit/tooltip": "^20.10.0",
51
50
  "@babel/runtime": "^7.0.0",
52
51
  "@emotion/react": "^11.7.1",
@@ -57,7 +56,7 @@
57
56
  "react-loadable": "^5.1.0"
58
57
  },
59
58
  "peerDependencies": {
60
- "@atlaskit/editor-common": "^110.34.0",
59
+ "@atlaskit/editor-common": "^110.36.0",
61
60
  "react": "^18.2.0",
62
61
  "react-dom": "^18.2.0"
63
62
  },