@atlaskit/editor-plugin-breakout 5.0.1 → 5.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,27 @@
1
1
  # @atlaskit/editor-plugin-breakout
2
2
 
3
+ ## 5.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`b367661ba720e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b367661ba720e) -
8
+ EDITOR-1562 bump adf-schema for afm
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 5.1.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [`64ec65231b4cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64ec65231b4cf) -
19
+ EDITOR-1568 bump adf-schema for afm
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+
3
25
  ## 5.0.1
4
26
 
5
27
  ### Patch Changes
@@ -242,6 +242,9 @@ var breakoutPlugin = exports.breakoutPlugin = function breakoutPlugin(_ref4) {
242
242
  popupsMountPoint = _ref6.popupsMountPoint,
243
243
  popupsBoundariesElement = _ref6.popupsBoundariesElement,
244
244
  popupsScrollableElement = _ref6.popupsScrollableElement;
245
+ if (!editorView) {
246
+ return null;
247
+ }
245
248
  if ((0, _expValEquals.expValEquals)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_breakout_resizing_hello_release')) {
246
249
  return /*#__PURE__*/_react.default.createElement(_GuidelineLabel.GuidelineLabel, {
247
250
  api: api,
@@ -225,6 +225,9 @@ export const breakoutPlugin = ({
225
225
  popupsBoundariesElement,
226
226
  popupsScrollableElement
227
227
  }) {
228
+ if (!editorView) {
229
+ return null;
230
+ }
228
231
  if (expValEquals('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release')) {
229
232
  return /*#__PURE__*/React.createElement(GuidelineLabel, {
230
233
  api: api,
@@ -233,6 +233,9 @@ export var breakoutPlugin = function breakoutPlugin(_ref4) {
233
233
  popupsMountPoint = _ref6.popupsMountPoint,
234
234
  popupsBoundariesElement = _ref6.popupsBoundariesElement,
235
235
  popupsScrollableElement = _ref6.popupsScrollableElement;
236
+ if (!editorView) {
237
+ return null;
238
+ }
236
239
  if (expValEquals('platform_editor_breakout_resizing', 'isEnabled', true) && fg('platform_editor_breakout_resizing_hello_release')) {
237
240
  return /*#__PURE__*/React.createElement(GuidelineLabel, {
238
241
  api: api,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-breakout",
3
- "version": "5.0.1",
3
+ "version": "5.2.0",
4
4
  "description": "Breakout plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,8 +29,8 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^51.0.0",
33
- "@atlaskit/editor-plugin-block-controls": "^6.0.0",
32
+ "@atlaskit/adf-schema": "^51.1.2",
33
+ "@atlaskit/editor-plugin-block-controls": "^6.2.0",
34
34
  "@atlaskit/editor-plugin-editor-disabled": "^5.0.0",
35
35
  "@atlaskit/editor-plugin-editor-viewmode": "^7.0.0",
36
36
  "@atlaskit/editor-plugin-guideline": "^5.0.0",
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
44
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
45
45
  "@atlaskit/theme": "^21.0.0",
46
- "@atlaskit/tmp-editor-statsig": "^12.10.0",
46
+ "@atlaskit/tmp-editor-statsig": "^12.18.0",
47
47
  "@atlaskit/tokens": "^6.3.0",
48
48
  "@atlaskit/tooltip": "^20.4.0",
49
49
  "@babel/runtime": "^7.0.0",
@@ -53,7 +53,7 @@
53
53
  "uuid": "^3.1.0"
54
54
  },
55
55
  "peerDependencies": {
56
- "@atlaskit/editor-common": "^109.1.0",
56
+ "@atlaskit/editor-common": "^109.5.0",
57
57
  "react": "^18.2.0",
58
58
  "react-dom": "^18.2.0",
59
59
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -61,7 +61,7 @@
61
61
  "devDependencies": {
62
62
  "@af/integration-testing": "workspace:^",
63
63
  "@af/visual-regression": "workspace:^",
64
- "@atlaskit/editor-plugin-code-block": "^7.0.0",
64
+ "@atlaskit/editor-plugin-code-block": "^7.2.0",
65
65
  "@atlaskit/editor-plugin-composition": "^4.0.0",
66
66
  "@atlaskit/editor-plugin-decorations": "^5.0.0",
67
67
  "@atlaskit/ssr": "workspace:^",