@atlaskit/editor-plugin-help-dialog 5.0.2 → 5.0.3

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,13 @@
1
1
  # @atlaskit/editor-plugin-help-dialog
2
2
 
3
+ ## 5.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`39f3b00f65aa0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39f3b00f65aa0) -
8
+ NOISSUE: Patches emotion CSS exports in various editor packages
9
+ - Updated dependencies
10
+
3
11
  ## 5.0.2
4
12
 
5
13
  ### Patch Changes
@@ -100,6 +100,9 @@ var helpDialogPlugin = exports.helpDialogPlugin = function helpDialogPlugin(_ref
100
100
  },
101
101
  contentComponent: function contentComponent(_ref5) {
102
102
  var editorView = _ref5.editorView;
103
+ if (!editorView) {
104
+ return null;
105
+ }
103
106
  return /*#__PURE__*/_react.default.createElement(_HelpDialogLoader.HelpDialogLoader, {
104
107
  pluginInjectionApi: api,
105
108
  editorView: editorView,
@@ -92,6 +92,9 @@ export const helpDialogPlugin = ({
92
92
  contentComponent({
93
93
  editorView
94
94
  }) {
95
+ if (!editorView) {
96
+ return null;
97
+ }
95
98
  return /*#__PURE__*/React.createElement(HelpDialogLoader, {
96
99
  pluginInjectionApi: api,
97
100
  editorView: editorView,
@@ -94,6 +94,9 @@ export var helpDialogPlugin = function helpDialogPlugin(_ref2) {
94
94
  },
95
95
  contentComponent: function contentComponent(_ref5) {
96
96
  var editorView = _ref5.editorView;
97
+ if (!editorView) {
98
+ return null;
99
+ }
97
100
  return /*#__PURE__*/React.createElement(HelpDialogLoader, {
98
101
  pluginInjectionApi: api,
99
102
  editorView: editorView,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-help-dialog",
3
- "version": "5.0.2",
3
+ "version": "5.0.3",
4
4
  "description": "Help Dialog plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/editor-plugin-analytics": "^5.0.0",
32
+ "@atlaskit/editor-plugin-analytics": "^5.2.0",
33
33
  "@atlaskit/editor-plugin-quick-insert": "^5.0.0",
34
34
  "@atlaskit/editor-prosemirror": "7.0.0",
35
35
  "@atlaskit/editor-shared-styles": "^3.6.0",
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/primitives": "^14.14.0",
41
41
  "@atlaskit/theme": "^21.0.0",
42
- "@atlaskit/tmp-editor-statsig": "^12.12.0",
42
+ "@atlaskit/tmp-editor-statsig": "^12.21.0",
43
43
  "@atlaskit/tokens": "^6.3.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@emotion/react": "^11.7.1",
@@ -50,7 +50,7 @@
50
50
  "@testing-library/react": "^13.4.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@atlaskit/editor-common": "^109.1.0",
53
+ "@atlaskit/editor-common": "^109.6.0",
54
54
  "react": "^18.2.0"
55
55
  },
56
56
  "techstack": {