@atlaskit/editor-plugin-status 6.1.0 → 6.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-status
2
2
 
3
+ ## 6.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
+
3
14
  ## 6.1.0
4
15
 
5
16
  ### Minor Changes
@@ -144,6 +144,9 @@ var statusPlugin = exports.statusPlugin = function statusPlugin(_ref) {
144
144
  popupsMountPoint = _ref3.popupsMountPoint,
145
145
  popupsBoundariesElement = _ref3.popupsBoundariesElement,
146
146
  popupsScrollableElement = _ref3.popupsScrollableElement;
147
+ if (!editorView) {
148
+ return null;
149
+ }
147
150
  var domAtPos = editorView.domAtPos.bind(editorView);
148
151
  return /*#__PURE__*/_react.default.createElement(_ContentComponent.ContentComponent, {
149
152
  domAtPos: domAtPos,
@@ -134,6 +134,9 @@ export const statusPlugin = ({
134
134
  popupsBoundariesElement,
135
135
  popupsScrollableElement
136
136
  }) {
137
+ if (!editorView) {
138
+ return null;
139
+ }
137
140
  const domAtPos = editorView.domAtPos.bind(editorView);
138
141
  return /*#__PURE__*/React.createElement(ContentComponent, {
139
142
  domAtPos: domAtPos,
@@ -137,6 +137,9 @@ export var statusPlugin = function statusPlugin(_ref) {
137
137
  popupsMountPoint = _ref3.popupsMountPoint,
138
138
  popupsBoundariesElement = _ref3.popupsBoundariesElement,
139
139
  popupsScrollableElement = _ref3.popupsScrollableElement;
140
+ if (!editorView) {
141
+ return null;
142
+ }
140
143
  var domAtPos = editorView.domAtPos.bind(editorView);
141
144
  return /*#__PURE__*/React.createElement(ContentComponent, {
142
145
  domAtPos: domAtPos,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-status",
3
- "version": "6.1.0",
3
+ "version": "6.2.0",
4
4
  "description": "Status plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,23 +29,23 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^51.1.1",
32
+ "@atlaskit/adf-schema": "^51.1.2",
33
33
  "@atlaskit/analytics-next": "^11.1.0",
34
- "@atlaskit/editor-plugin-analytics": "^5.1.0",
34
+ "@atlaskit/editor-plugin-analytics": "^5.2.0",
35
35
  "@atlaskit/editor-prosemirror": "7.0.0",
36
36
  "@atlaskit/editor-shared-styles": "^3.6.0",
37
37
  "@atlaskit/icon": "^28.1.0",
38
38
  "@atlaskit/platform-feature-flags": "^1.1.0",
39
39
  "@atlaskit/status": "^3.0.0",
40
40
  "@atlaskit/theme": "^21.0.0",
41
- "@atlaskit/tmp-editor-statsig": "^12.14.0",
41
+ "@atlaskit/tmp-editor-statsig": "^12.18.0",
42
42
  "@atlaskit/tokens": "^6.3.0",
43
43
  "@atlaskit/visually-hidden": "^3.0.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@emotion/react": "^11.7.1"
46
46
  },
47
47
  "peerDependencies": {
48
- "@atlaskit/editor-common": "^109.3.0",
48
+ "@atlaskit/editor-common": "^109.5.0",
49
49
  "react": "^18.2.0",
50
50
  "react-dom": "^18.2.0",
51
51
  "react-intl-next": "npm:react-intl@^5.18.1"