@atlaskit/editor-plugin-floating-toolbar 8.2.11 → 8.2.13

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,21 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 8.2.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [`29d0693bd5373`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/29d0693bd5373) -
8
+ EDITOR-2581 Fire event for suppressAllToolbars api being used
9
+ - Updated dependencies
10
+
11
+ ## 8.2.12
12
+
13
+ ### Patch Changes
14
+
15
+ - [`e727490d9f62f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e727490d9f62f) -
16
+ [ux] EDITOR-2572 Hide floating toolbar when status picker is open
17
+ - Updated dependencies
18
+
3
19
  ## 8.2.11
4
20
 
5
21
  ### Patch Changes
@@ -39,6 +39,8 @@ var _utils3 = require("./ui/utils");
39
39
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
40
40
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
41
41
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
42
+ var SUPPRESS_TOOLBAR_USER_INTENTS = ['dragging', 'tablePopupOpen', 'commenting', 'resizing', 'blockMenuOpen', 'statusPickerOpen'];
43
+
42
44
  // TODO: AFP-2532 - Fix automatic suppressions below
43
45
  var getRelevantConfig = exports.getRelevantConfig = function getRelevantConfig(selection, configs) {
44
46
  // node selections always take precedence, see if
@@ -259,7 +261,7 @@ function ContentComponent(_ref5) {
259
261
  if (((userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) === 'dragging' || (userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) === 'blockMenuOpen' && (0, _expValEquals.expValEquals)('platform_editor_block_menu', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_block_menu_hide_floating_toolbar')) && !userIntentEnabled) {
260
262
  return null;
261
263
  }
262
- if (userIntentState !== null && userIntentState !== void 0 && userIntentState.currentUserIntent && ['dragging', 'tablePopupOpen', 'commenting', 'resizing', 'blockMenuOpen'].includes(userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) && userIntentEnabled) {
264
+ if (userIntentState !== null && userIntentState !== void 0 && userIntentState.currentUserIntent && SUPPRESS_TOOLBAR_USER_INTENTS.includes(userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) && userIntentEnabled) {
263
265
  return null;
264
266
  }
265
267
  var config = configWithNodeInfo.config,
@@ -567,7 +569,7 @@ function floatingToolbarPluginFactory(options) {
567
569
  activeConfigs = undefined;
568
570
  break;
569
571
  }
570
- if (userIntentEnabled && ['dragging', 'tablePopupOpen', 'commenting', 'resizing', 'blockMenuOpen'].includes((api === null || api === void 0 || (_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 || (_api$userIntent = _api$userIntent.sharedState.currentState()) === null || _api$userIntent === void 0 ? void 0 : _api$userIntent.currentUserIntent) || '')) {
572
+ if (userIntentEnabled && SUPPRESS_TOOLBAR_USER_INTENTS.includes((api === null || api === void 0 || (_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 || (_api$userIntent = _api$userIntent.sharedState.currentState()) === null || _api$userIntent === void 0 ? void 0 : _api$userIntent.currentUserIntent) || '')) {
571
573
  activeConfigs = undefined;
572
574
  break;
573
575
  }
@@ -577,6 +579,20 @@ function floatingToolbarPluginFactory(options) {
577
579
  var relevantConfig = activeConfigs && getRelevantConfig(editorState.selection, activeConfigs);
578
580
  return relevantConfig;
579
581
  };
582
+ var getIsToolbarSuppressed = function getIsToolbarSuppressed(editorState) {
583
+ var userIntentEnabled = Boolean((api === null || api === void 0 ? void 0 : api.userIntent) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_user_intent', 'isEnabled', true));
584
+ if (userIntentEnabled) {
585
+ return false;
586
+ }
587
+ for (var index = 0; index < floatingToolbarHandlers.length; index++) {
588
+ var handler = floatingToolbarHandlers[index];
589
+ var config = handler(editorState, intl, providerFactory);
590
+ if (config !== null && config !== void 0 && config.__suppressAllToolbars) {
591
+ return true;
592
+ }
593
+ }
594
+ return false;
595
+ };
580
596
  var apply = function apply() {
581
597
  var newPluginState = {
582
598
  getConfigWithNodeInfo: getConfigWithNodeInfo
@@ -591,7 +607,31 @@ function floatingToolbarPluginFactory(options) {
591
607
  getConfigWithNodeInfo: getConfigWithNodeInfo
592
608
  };
593
609
  },
594
- apply: apply
595
- }
610
+ apply: (0, _expValEquals.expValEquals)('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true) ? function (_tr, _pluginState, __oldEditorState, newEditorState) {
611
+ var suppressedToolbar = getIsToolbarSuppressed(newEditorState);
612
+ var newPluginState = {
613
+ getConfigWithNodeInfo: getConfigWithNodeInfo,
614
+ suppressedToolbar: suppressedToolbar
615
+ };
616
+ return newPluginState;
617
+ } : apply
618
+ },
619
+ view: (0, _expValEquals.expValEquals)('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true) ? function () {
620
+ return {
621
+ update: function update(view, prevState) {
622
+ var pluginState = pluginKey.getState(view.state);
623
+ var prevPluginState = pluginKey.getState(prevState);
624
+ if (pluginState !== null && pluginState !== void 0 && pluginState.suppressedToolbar && !(prevPluginState !== null && prevPluginState !== void 0 && prevPluginState.suppressedToolbar)) {
625
+ var _api$analytics2;
626
+ api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 || (_api$analytics2 = _api$analytics2.actions) === null || _api$analytics2 === void 0 || _api$analytics2.fireAnalyticsEvent({
627
+ action: _analytics.ACTION.SUPPRESSED,
628
+ actionSubject: _analytics.ACTION_SUBJECT.FLOATING_TOOLBAR_PLUGIN,
629
+ actionSubjectId: _analytics.ACTION_SUBJECT_ID.FLOATING_TOOLBAR,
630
+ eventType: _analytics.EVENT_TYPE.TRACK
631
+ });
632
+ }
633
+ }
634
+ };
635
+ } : undefined
596
636
  });
597
637
  }
@@ -25,6 +25,7 @@ import { findNode } from './pm-plugins/utils';
25
25
  import { ConfirmationModal } from './ui/ConfirmationModal';
26
26
  import Toolbar from './ui/Toolbar';
27
27
  import { consolidateOverflowDropdownItems } from './ui/utils';
28
+ const SUPPRESS_TOOLBAR_USER_INTENTS = ['dragging', 'tablePopupOpen', 'commenting', 'resizing', 'blockMenuOpen', 'statusPickerOpen'];
28
29
 
29
30
  // TODO: AFP-2532 - Fix automatic suppressions below
30
31
  export const getRelevantConfig = (selection, configs) => {
@@ -249,7 +250,7 @@ export function ContentComponent({
249
250
  if (((userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) === 'dragging' || (userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) === 'blockMenuOpen' && expValEquals('platform_editor_block_menu', 'isEnabled', true) && fg('platform_editor_block_menu_hide_floating_toolbar')) && !userIntentEnabled) {
250
251
  return null;
251
252
  }
252
- if (userIntentState !== null && userIntentState !== void 0 && userIntentState.currentUserIntent && ['dragging', 'tablePopupOpen', 'commenting', 'resizing', 'blockMenuOpen'].includes(userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) && userIntentEnabled) {
253
+ if (userIntentState !== null && userIntentState !== void 0 && userIntentState.currentUserIntent && SUPPRESS_TOOLBAR_USER_INTENTS.includes(userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) && userIntentEnabled) {
253
254
  return null;
254
255
  }
255
256
  const {
@@ -553,7 +554,7 @@ export function floatingToolbarPluginFactory(options) {
553
554
  activeConfigs = undefined;
554
555
  break;
555
556
  }
556
- if (userIntentEnabled && ['dragging', 'tablePopupOpen', 'commenting', 'resizing', 'blockMenuOpen'].includes((api === null || api === void 0 ? void 0 : (_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 ? void 0 : (_api$userIntent$share = _api$userIntent.sharedState.currentState()) === null || _api$userIntent$share === void 0 ? void 0 : _api$userIntent$share.currentUserIntent) || '')) {
557
+ if (userIntentEnabled && SUPPRESS_TOOLBAR_USER_INTENTS.includes((api === null || api === void 0 ? void 0 : (_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 ? void 0 : (_api$userIntent$share = _api$userIntent.sharedState.currentState()) === null || _api$userIntent$share === void 0 ? void 0 : _api$userIntent$share.currentUserIntent) || '')) {
557
558
  activeConfigs = undefined;
558
559
  break;
559
560
  }
@@ -563,6 +564,20 @@ export function floatingToolbarPluginFactory(options) {
563
564
  const relevantConfig = activeConfigs && getRelevantConfig(editorState.selection, activeConfigs);
564
565
  return relevantConfig;
565
566
  };
567
+ const getIsToolbarSuppressed = editorState => {
568
+ const userIntentEnabled = Boolean((api === null || api === void 0 ? void 0 : api.userIntent) && expValEqualsNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true));
569
+ if (userIntentEnabled) {
570
+ return false;
571
+ }
572
+ for (let index = 0; index < floatingToolbarHandlers.length; index++) {
573
+ const handler = floatingToolbarHandlers[index];
574
+ const config = handler(editorState, intl, providerFactory);
575
+ if (config !== null && config !== void 0 && config.__suppressAllToolbars) {
576
+ return true;
577
+ }
578
+ }
579
+ return false;
580
+ };
566
581
  const apply = () => {
567
582
  const newPluginState = {
568
583
  getConfigWithNodeInfo
@@ -577,7 +592,31 @@ export function floatingToolbarPluginFactory(options) {
577
592
  getConfigWithNodeInfo
578
593
  };
579
594
  },
580
- apply
581
- }
595
+ apply: expValEquals('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true) ? (_tr, _pluginState, __oldEditorState, newEditorState) => {
596
+ const suppressedToolbar = getIsToolbarSuppressed(newEditorState);
597
+ const newPluginState = {
598
+ getConfigWithNodeInfo,
599
+ suppressedToolbar
600
+ };
601
+ return newPluginState;
602
+ } : apply
603
+ },
604
+ view: expValEquals('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true) ? () => {
605
+ return {
606
+ update: (view, prevState) => {
607
+ const pluginState = pluginKey.getState(view.state);
608
+ const prevPluginState = pluginKey.getState(prevState);
609
+ if (pluginState !== null && pluginState !== void 0 && pluginState.suppressedToolbar && !(prevPluginState !== null && prevPluginState !== void 0 && prevPluginState.suppressedToolbar)) {
610
+ var _api$analytics2, _api$analytics2$actio;
611
+ api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : (_api$analytics2$actio = _api$analytics2.actions) === null || _api$analytics2$actio === void 0 ? void 0 : _api$analytics2$actio.fireAnalyticsEvent({
612
+ action: ACTION.SUPPRESSED,
613
+ actionSubject: ACTION_SUBJECT.FLOATING_TOOLBAR_PLUGIN,
614
+ actionSubjectId: ACTION_SUBJECT_ID.FLOATING_TOOLBAR,
615
+ eventType: EVENT_TYPE.TRACK
616
+ });
617
+ }
618
+ }
619
+ };
620
+ } : undefined
582
621
  });
583
622
  }
@@ -29,6 +29,7 @@ import { findNode } from './pm-plugins/utils';
29
29
  import { ConfirmationModal } from './ui/ConfirmationModal';
30
30
  import Toolbar from './ui/Toolbar';
31
31
  import { consolidateOverflowDropdownItems } from './ui/utils';
32
+ var SUPPRESS_TOOLBAR_USER_INTENTS = ['dragging', 'tablePopupOpen', 'commenting', 'resizing', 'blockMenuOpen', 'statusPickerOpen'];
32
33
 
33
34
  // TODO: AFP-2532 - Fix automatic suppressions below
34
35
  export var getRelevantConfig = function getRelevantConfig(selection, configs) {
@@ -250,7 +251,7 @@ export function ContentComponent(_ref5) {
250
251
  if (((userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) === 'dragging' || (userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) === 'blockMenuOpen' && expValEquals('platform_editor_block_menu', 'isEnabled', true) && fg('platform_editor_block_menu_hide_floating_toolbar')) && !userIntentEnabled) {
251
252
  return null;
252
253
  }
253
- if (userIntentState !== null && userIntentState !== void 0 && userIntentState.currentUserIntent && ['dragging', 'tablePopupOpen', 'commenting', 'resizing', 'blockMenuOpen'].includes(userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) && userIntentEnabled) {
254
+ if (userIntentState !== null && userIntentState !== void 0 && userIntentState.currentUserIntent && SUPPRESS_TOOLBAR_USER_INTENTS.includes(userIntentState === null || userIntentState === void 0 ? void 0 : userIntentState.currentUserIntent) && userIntentEnabled) {
254
255
  return null;
255
256
  }
256
257
  var config = configWithNodeInfo.config,
@@ -558,7 +559,7 @@ export function floatingToolbarPluginFactory(options) {
558
559
  activeConfigs = undefined;
559
560
  break;
560
561
  }
561
- if (userIntentEnabled && ['dragging', 'tablePopupOpen', 'commenting', 'resizing', 'blockMenuOpen'].includes((api === null || api === void 0 || (_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 || (_api$userIntent = _api$userIntent.sharedState.currentState()) === null || _api$userIntent === void 0 ? void 0 : _api$userIntent.currentUserIntent) || '')) {
562
+ if (userIntentEnabled && SUPPRESS_TOOLBAR_USER_INTENTS.includes((api === null || api === void 0 || (_api$userIntent = api.userIntent) === null || _api$userIntent === void 0 || (_api$userIntent = _api$userIntent.sharedState.currentState()) === null || _api$userIntent === void 0 ? void 0 : _api$userIntent.currentUserIntent) || '')) {
562
563
  activeConfigs = undefined;
563
564
  break;
564
565
  }
@@ -568,6 +569,20 @@ export function floatingToolbarPluginFactory(options) {
568
569
  var relevantConfig = activeConfigs && getRelevantConfig(editorState.selection, activeConfigs);
569
570
  return relevantConfig;
570
571
  };
572
+ var getIsToolbarSuppressed = function getIsToolbarSuppressed(editorState) {
573
+ var userIntentEnabled = Boolean((api === null || api === void 0 ? void 0 : api.userIntent) && expValEqualsNoExposure('platform_editor_lovability_user_intent', 'isEnabled', true));
574
+ if (userIntentEnabled) {
575
+ return false;
576
+ }
577
+ for (var index = 0; index < floatingToolbarHandlers.length; index++) {
578
+ var handler = floatingToolbarHandlers[index];
579
+ var config = handler(editorState, intl, providerFactory);
580
+ if (config !== null && config !== void 0 && config.__suppressAllToolbars) {
581
+ return true;
582
+ }
583
+ }
584
+ return false;
585
+ };
571
586
  var apply = function apply() {
572
587
  var newPluginState = {
573
588
  getConfigWithNodeInfo: getConfigWithNodeInfo
@@ -582,7 +597,31 @@ export function floatingToolbarPluginFactory(options) {
582
597
  getConfigWithNodeInfo: getConfigWithNodeInfo
583
598
  };
584
599
  },
585
- apply: apply
586
- }
600
+ apply: expValEquals('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true) ? function (_tr, _pluginState, __oldEditorState, newEditorState) {
601
+ var suppressedToolbar = getIsToolbarSuppressed(newEditorState);
602
+ var newPluginState = {
603
+ getConfigWithNodeInfo: getConfigWithNodeInfo,
604
+ suppressedToolbar: suppressedToolbar
605
+ };
606
+ return newPluginState;
607
+ } : apply
608
+ },
609
+ view: expValEquals('platform_editor_lovability_suppress_toolbar_event', 'isEnabled', true) ? function () {
610
+ return {
611
+ update: function update(view, prevState) {
612
+ var pluginState = pluginKey.getState(view.state);
613
+ var prevPluginState = pluginKey.getState(prevState);
614
+ if (pluginState !== null && pluginState !== void 0 && pluginState.suppressedToolbar && !(prevPluginState !== null && prevPluginState !== void 0 && prevPluginState.suppressedToolbar)) {
615
+ var _api$analytics2;
616
+ api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 || (_api$analytics2 = _api$analytics2.actions) === null || _api$analytics2 === void 0 || _api$analytics2.fireAnalyticsEvent({
617
+ action: ACTION.SUPPRESSED,
618
+ actionSubject: ACTION_SUBJECT.FLOATING_TOOLBAR_PLUGIN,
619
+ actionSubjectId: ACTION_SUBJECT_ID.FLOATING_TOOLBAR,
620
+ eventType: EVENT_TYPE.TRACK
621
+ });
622
+ }
623
+ }
624
+ };
625
+ } : undefined
587
626
  });
588
627
  }
@@ -3,7 +3,7 @@ import type { IntlShape } from 'react-intl-next';
3
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
4
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
5
5
  import type { ExtractInjectionAPI, FloatingToolbarConfig, FloatingToolbarHandler, UiComponentFactoryParams } from '@atlaskit/editor-common/types';
6
- import type { Selection } from '@atlaskit/editor-prosemirror/state';
6
+ import type { EditorState, Selection } from '@atlaskit/editor-prosemirror/state';
7
7
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
8
8
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
9
9
  import type { ConfigWithNodeInfo, FloatingToolbarPlugin, FloatingToolbarPluginState } from './floatingToolbarPluginType';
@@ -55,4 +55,6 @@ export declare function floatingToolbarPluginFactory(options: {
55
55
  floatingToolbarHandlers: Array<FloatingToolbarHandler>;
56
56
  getIntl: () => IntlShape;
57
57
  providerFactory: ProviderFactory;
58
- }): SafePlugin<FloatingToolbarPluginState>;
58
+ }): SafePlugin<{
59
+ getConfigWithNodeInfo: (editorState: EditorState) => ConfigWithNodeInfo | null | undefined;
60
+ }>;
@@ -21,6 +21,7 @@ export type ConfigWithNodeInfo = {
21
21
  };
22
22
  export type FloatingToolbarPluginState = {
23
23
  getConfigWithNodeInfo: (state: EditorState) => ConfigWithNodeInfo | null | undefined;
24
+ suppressedToolbar?: boolean;
24
25
  };
25
26
  export type FloatingToolbarPluginData = {
26
27
  confirmDialogForItem?: number;
@@ -3,7 +3,7 @@ import type { IntlShape } from 'react-intl-next';
3
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
4
4
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
5
5
  import type { ExtractInjectionAPI, FloatingToolbarConfig, FloatingToolbarHandler, UiComponentFactoryParams } from '@atlaskit/editor-common/types';
6
- import type { Selection } from '@atlaskit/editor-prosemirror/state';
6
+ import type { EditorState, Selection } from '@atlaskit/editor-prosemirror/state';
7
7
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
8
8
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
9
9
  import type { ConfigWithNodeInfo, FloatingToolbarPlugin, FloatingToolbarPluginState } from './floatingToolbarPluginType';
@@ -55,4 +55,6 @@ export declare function floatingToolbarPluginFactory(options: {
55
55
  floatingToolbarHandlers: Array<FloatingToolbarHandler>;
56
56
  getIntl: () => IntlShape;
57
57
  providerFactory: ProviderFactory;
58
- }): SafePlugin<FloatingToolbarPluginState>;
58
+ }): SafePlugin<{
59
+ getConfigWithNodeInfo: (editorState: EditorState) => ConfigWithNodeInfo | null | undefined;
60
+ }>;
@@ -21,6 +21,7 @@ export type ConfigWithNodeInfo = {
21
21
  };
22
22
  export type FloatingToolbarPluginState = {
23
23
  getConfigWithNodeInfo: (state: EditorState) => ConfigWithNodeInfo | null | undefined;
24
+ suppressedToolbar?: boolean;
24
25
  };
25
26
  export type FloatingToolbarPluginData = {
26
27
  confirmDialogForItem?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "8.2.11",
3
+ "version": "8.2.13",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,7 +31,7 @@
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.5.0",
34
+ "@atlaskit/editor-plugin-emoji": "^7.6.0",
35
35
  "@atlaskit/editor-plugin-extension": "^9.2.0",
36
36
  "@atlaskit/editor-plugin-interaction": "^9.0.0",
37
37
  "@atlaskit/editor-plugin-table": "^15.3.0",
@@ -45,8 +45,8 @@
45
45
  "@atlaskit/primitives": "^16.1.0",
46
46
  "@atlaskit/select": "^21.3.0",
47
47
  "@atlaskit/theme": "^21.0.0",
48
- "@atlaskit/tmp-editor-statsig": "^13.21.0",
49
- "@atlaskit/tokens": "^7.0.0",
48
+ "@atlaskit/tmp-editor-statsig": "^13.26.0",
49
+ "@atlaskit/tokens": "^7.1.0",
50
50
  "@atlaskit/tooltip": "^20.7.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@emotion/react": "^11.7.1",
@@ -57,7 +57,7 @@
57
57
  "react-loadable": "^5.1.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "@atlaskit/editor-common": "^110.19.0",
60
+ "@atlaskit/editor-common": "^110.21.0",
61
61
  "react": "^18.2.0",
62
62
  "react-dom": "^18.2.0"
63
63
  },