@atlaskit/editor-plugin-toolbar 9.0.4 → 9.0.6

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,19 @@
1
1
  # @atlaskit/editor-plugin-toolbar
2
2
 
3
+ ## 9.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 9.0.5
10
+
11
+ ### Patch Changes
12
+
13
+ - [`1b816d3689775`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b816d3689775) -
14
+ Clean up feature gate `platform_editor_fix_toolbar_on_first_highlight`
15
+ - Updated dependencies
16
+
3
17
  ## 9.0.4
4
18
 
5
19
  ### Patch Changes
@@ -207,7 +207,7 @@ var toolbarPlugin = exports.toolbarPlugin = function toolbarPlugin(_ref) {
207
207
  listener: function listener() {
208
208
  // On first page load, focus fires after mousedown — skip to
209
209
  // avoid showing the toolbar mid-drag
210
- if (mouseState.isMouseDown && (0, _platformFeatureFlags.fg)('platform_editor_fix_toolbar_on_first_highlight')) {
210
+ if (mouseState.isMouseDown) {
211
211
  return;
212
212
  }
213
213
  _view.dispatch(_view.state.tr.setMeta(_pluginKey.editorToolbarPluginKey, {
@@ -199,7 +199,7 @@ export const toolbarPlugin = ({
199
199
  listener: () => {
200
200
  // On first page load, focus fires after mousedown — skip to
201
201
  // avoid showing the toolbar mid-drag
202
- if (mouseState.isMouseDown && fg('platform_editor_fix_toolbar_on_first_highlight')) {
202
+ if (mouseState.isMouseDown) {
203
203
  return;
204
204
  }
205
205
  view.dispatch(view.state.tr.setMeta(editorToolbarPluginKey, {
@@ -200,7 +200,7 @@ export var toolbarPlugin = function toolbarPlugin(_ref) {
200
200
  listener: function listener() {
201
201
  // On first page load, focus fires after mousedown — skip to
202
202
  // avoid showing the toolbar mid-drag
203
- if (mouseState.isMouseDown && fg('platform_editor_fix_toolbar_on_first_highlight')) {
203
+ if (mouseState.isMouseDown) {
204
204
  return;
205
205
  }
206
206
  _view.dispatch(_view.state.tr.setMeta(editorToolbarPluginKey, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-toolbar",
3
- "version": "9.0.4",
3
+ "version": "9.0.6",
4
4
  "description": "Toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,19 +32,16 @@
32
32
  "@atlaskit/editor-toolbar": "^2.0.0",
33
33
  "@atlaskit/editor-toolbar-model": "^1.0.0",
34
34
  "@atlaskit/platform-feature-flags": "^2.0.0",
35
- "@atlaskit/tmp-editor-statsig": "^108.0.0",
35
+ "@atlaskit/tmp-editor-statsig": "^110.0.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "bind-event-listener": "^3.0.0"
38
38
  },
39
39
  "peerDependencies": {
40
- "@atlaskit/editor-common": "^116.3.0",
40
+ "@atlaskit/editor-common": "^116.11.0",
41
41
  "react": "^18.2.0",
42
42
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
43
43
  },
44
44
  "platform-feature-flags": {
45
- "platform_editor_fix_toolbar_on_first_highlight": {
46
- "type": "boolean"
47
- },
48
45
  "platform_editor_toolbar_aifc_placement_overridden": {
49
46
  "type": "boolean"
50
47
  },
@@ -93,6 +90,6 @@
93
90
  },
94
91
  "devDependencies": {
95
92
  "react": "^18.2.0",
96
- "react-intl": "^6.6.2"
93
+ "react-intl": "^7.0.0"
97
94
  }
98
95
  }