@atlaskit/editor-plugin-block-controls 7.7.6 → 7.7.8

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,22 @@
1
1
  # @atlaskit/editor-plugin-block-controls
2
2
 
3
+ ## 7.7.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0d237a5696b06`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0d237a5696b06) -
8
+ Uncoupled several block of changes from the aifc FG and moved them behind their own FG so they can
9
+ be rolled out quicker
10
+ - Updated dependencies
11
+
12
+ ## 7.7.7
13
+
14
+ ### Patch Changes
15
+
16
+ - [`8854ad2383b33`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8854ad2383b33) -
17
+ Suppress no-literal-string-in-jsx
18
+ - Updated dependencies
19
+
3
20
  ## 7.7.6
4
21
 
5
22
  ### Patch Changes
@@ -57,7 +57,7 @@ var handleMouseOver = exports.handleMouseOver = function handleMouseOver(view, e
57
57
  var toolbarFlagsEnabled = (0, _toolbarFlagCheck.areToolbarFlagsEnabled)(Boolean(api === null || api === void 0 ? void 0 : api.toolbar));
58
58
 
59
59
  // We shouldn't be firing mouse over transactions when the editor is disabled
60
- if (editorDisabled && (0, _platformFeatureFlags.fg)('aifc_create_enabled')) {
60
+ if (editorDisabled && (0, _platformFeatureFlags.fg)('platform_editor_ai_generic_prep_for_aifc')) {
61
61
  return false;
62
62
  }
63
63
 
@@ -16,5 +16,6 @@ var DragHandleMenu = exports.DragHandleMenu = function DragHandleMenu(_ref) {
16
16
  };
17
17
  }),
18
18
  isMenuOpen = _useSharedPluginState.isMenuOpen;
19
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
19
20
  return isMenuOpen ? /*#__PURE__*/_react.default.createElement("div", null, "menu") : null;
20
21
  };
@@ -49,7 +49,7 @@ export const handleMouseOver = (view, event, api) => {
49
49
  const toolbarFlagsEnabled = areToolbarFlagsEnabled(Boolean(api === null || api === void 0 ? void 0 : api.toolbar));
50
50
 
51
51
  // We shouldn't be firing mouse over transactions when the editor is disabled
52
- if (editorDisabled && fg('aifc_create_enabled')) {
52
+ if (editorDisabled && fg('platform_editor_ai_generic_prep_for_aifc')) {
53
53
  return false;
54
54
  }
55
55
 
@@ -11,5 +11,6 @@ export const DragHandleMenu = ({
11
11
  isMenuOpen: (_states$blockControls = states.blockControlsState) === null || _states$blockControls === void 0 ? void 0 : _states$blockControls.isMenuOpen
12
12
  };
13
13
  });
14
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
14
15
  return isMenuOpen ? /*#__PURE__*/React.createElement("div", null, "menu") : null;
15
16
  };
@@ -50,7 +50,7 @@ export var handleMouseOver = function handleMouseOver(view, event, api) {
50
50
  var toolbarFlagsEnabled = areToolbarFlagsEnabled(Boolean(api === null || api === void 0 ? void 0 : api.toolbar));
51
51
 
52
52
  // We shouldn't be firing mouse over transactions when the editor is disabled
53
- if (editorDisabled && fg('aifc_create_enabled')) {
53
+ if (editorDisabled && fg('platform_editor_ai_generic_prep_for_aifc')) {
54
54
  return false;
55
55
  }
56
56
 
@@ -9,5 +9,6 @@ export var DragHandleMenu = function DragHandleMenu(_ref) {
9
9
  };
10
10
  }),
11
11
  isMenuOpen = _useSharedPluginState.isMenuOpen;
12
+ // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
12
13
  return isMenuOpen ? /*#__PURE__*/React.createElement("div", null, "menu") : null;
13
14
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "7.7.6",
3
+ "version": "7.7.8",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -54,7 +54,7 @@
54
54
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
55
55
  "@atlaskit/primitives": "^16.2.0",
56
56
  "@atlaskit/theme": "^21.0.0",
57
- "@atlaskit/tmp-editor-statsig": "^13.40.0",
57
+ "@atlaskit/tmp-editor-statsig": "^13.42.0",
58
58
  "@atlaskit/tokens": "^8.2.0",
59
59
  "@atlaskit/tooltip": "^20.10.0",
60
60
  "@babel/runtime": "^7.0.0",
@@ -66,7 +66,7 @@
66
66
  "uuid": "^3.1.0"
67
67
  },
68
68
  "peerDependencies": {
69
- "@atlaskit/editor-common": "^110.33.0",
69
+ "@atlaskit/editor-common": "^110.34.0",
70
70
  "react": "^18.2.0",
71
71
  "react-dom": "^18.2.0",
72
72
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -137,7 +137,7 @@
137
137
  "platform_editor_fix_widget_destroy": {
138
138
  "type": "boolean"
139
139
  },
140
- "aifc_create_enabled": {
140
+ "platform_editor_ai_generic_prep_for_aifc": {
141
141
  "type": "boolean"
142
142
  },
143
143
  "dst-a11y__replace-anchor-with-link__editor-jenga": {