@atlaskit/editor-plugin-toolbar 3.1.2 → 3.2.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,16 @@
1
1
  # @atlaskit/editor-plugin-toolbar
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`3e586d8ee0ce4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3e586d8ee0ce4) -
8
+ Remove platform_editor_aifc_selection_toolbar_responsive exp and gate new logic in aiPlugin
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 3.1.2
4
15
 
5
16
  ### Patch Changes
@@ -102,7 +102,7 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
102
102
  type: 'toolbar',
103
103
  key: _toolbar.TOOLBARS.PRIMARY_TOOLBAR,
104
104
  rank: _toolbar.TOOLBAR_RANK[_toolbar.TEXT_SECTION_COLLAPSED.key]
105
- }, (0, _expValEquals.expValEquals)('platform_editor_aifc_selection_toolbar_responsive', 'isEnabled', true) && {
105
+ }, (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_responsive', 'isEnabled', true) && {
106
106
  type: 'toolbar',
107
107
  key: _toolbar.TOOLBARS.INLINE_TEXT_TOOLBAR,
108
108
  rank: _toolbar.TOOLBAR_RANK[_toolbar.TEXT_SECTION_COLLAPSED.key]
@@ -71,7 +71,7 @@ export const SelectionToolbar = ({
71
71
  currentUserIntent,
72
72
  shouldShowToolbar,
73
73
  editorViewMode,
74
- // @ts-expect-error
74
+ // @ts-ignore
75
75
  selection
76
76
  } = usePluginState(api);
77
77
  const intl = useIntl();
@@ -96,7 +96,7 @@ export const getToolbarComponents = (api, disableSelectionToolbar) => {
96
96
  type: 'toolbar',
97
97
  key: TOOLBARS.PRIMARY_TOOLBAR,
98
98
  rank: TOOLBAR_RANK[TEXT_SECTION_COLLAPSED.key]
99
- }, expValEquals('platform_editor_aifc_selection_toolbar_responsive', 'isEnabled', true) && {
99
+ }, expValEquals('platform_editor_toolbar_aifc_responsive', 'isEnabled', true) && {
100
100
  type: 'toolbar',
101
101
  key: TOOLBARS.INLINE_TEXT_TOOLBAR,
102
102
  rank: TOOLBAR_RANK[TEXT_SECTION_COLLAPSED.key]
@@ -95,7 +95,7 @@ export var getToolbarComponents = function getToolbarComponents(api, disableSele
95
95
  type: 'toolbar',
96
96
  key: TOOLBARS.PRIMARY_TOOLBAR,
97
97
  rank: TOOLBAR_RANK[TEXT_SECTION_COLLAPSED.key]
98
- }, expValEquals('platform_editor_aifc_selection_toolbar_responsive', 'isEnabled', true) && {
98
+ }, expValEquals('platform_editor_toolbar_aifc_responsive', 'isEnabled', true) && {
99
99
  type: 'toolbar',
100
100
  key: TOOLBARS.INLINE_TEXT_TOOLBAR,
101
101
  rank: TOOLBAR_RANK[TEXT_SECTION_COLLAPSED.key]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-toolbar",
3
- "version": "3.1.2",
3
+ "version": "3.2.0",
4
4
  "description": "Toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,16 +36,16 @@
36
36
  "@atlaskit/editor-plugin-user-intent": "^4.0.0",
37
37
  "@atlaskit/editor-plugin-user-preferences": "^4.0.0",
38
38
  "@atlaskit/editor-prosemirror": "7.0.0",
39
- "@atlaskit/editor-toolbar": "^0.14.0",
39
+ "@atlaskit/editor-toolbar": "^0.15.0",
40
40
  "@atlaskit/editor-toolbar-model": "^0.2.0",
41
41
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
42
- "@atlaskit/tmp-editor-statsig": "^13.4.0",
42
+ "@atlaskit/tmp-editor-statsig": "^13.8.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "bind-event-listener": "^3.0.0",
45
45
  "react-intl-next": "npm:react-intl@^5.18.1"
46
46
  },
47
47
  "peerDependencies": {
48
- "@atlaskit/editor-common": "^110.7.0",
48
+ "@atlaskit/editor-common": "^110.10.0",
49
49
  "react": "^18.2.0"
50
50
  },
51
51
  "techstack": {