@atlaskit/editor-plugin-card 10.0.0 → 10.1.1

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,24 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 10.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`910ca893a9910`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/910ca893a9910) -
8
+ ED-29307: experiment config clean up
9
+ - Updated dependencies
10
+
11
+ ## 10.1.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [`b367661ba720e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b367661ba720e) -
16
+ EDITOR-1562 bump adf-schema for afm
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 10.0.0
4
23
 
5
24
  ### Patch Changes
@@ -112,6 +112,9 @@ var cardPlugin = exports.cardPlugin = function cardPlugin(_ref) {
112
112
  popupsMountPoint = _ref4.popupsMountPoint,
113
113
  popupsScrollableElement = _ref4.popupsScrollableElement,
114
114
  popupsBoundariesElement = _ref4.popupsBoundariesElement;
115
+ if (!editorView) {
116
+ return null;
117
+ }
115
118
  var breakoutEnabled = options.editorAppearance === 'full-page';
116
119
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_EditorSmartCardEvents.EditorSmartCardEvents, {
117
120
  editorView: editorView
@@ -111,6 +111,9 @@ export const cardPlugin = ({
111
111
  popupsScrollableElement,
112
112
  popupsBoundariesElement
113
113
  }) {
114
+ if (!editorView) {
115
+ return null;
116
+ }
114
117
  const breakoutEnabled = options.editorAppearance === 'full-page';
115
118
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EditorSmartCardEvents, {
116
119
  editorView: editorView
@@ -106,6 +106,9 @@ export var cardPlugin = function cardPlugin(_ref) {
106
106
  popupsMountPoint = _ref4.popupsMountPoint,
107
107
  popupsScrollableElement = _ref4.popupsScrollableElement,
108
108
  popupsBoundariesElement = _ref4.popupsBoundariesElement;
109
+ if (!editorView) {
110
+ return null;
111
+ }
109
112
  var breakoutEnabled = options.editorAppearance === 'full-page';
110
113
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EditorSmartCardEvents, {
111
114
  editorView: editorView
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "10.0.0",
3
+ "version": "10.1.1",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,13 +29,13 @@
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
34
  "@atlaskit/button": "^23.4.0",
35
- "@atlaskit/custom-steps": "^0.12.0",
35
+ "@atlaskit/custom-steps": "^0.13.0",
36
36
  "@atlaskit/editor-card-provider": "^6.0.0",
37
- "@atlaskit/editor-plugin-analytics": "^5.1.0",
38
- "@atlaskit/editor-plugin-base": "^6.1.0",
37
+ "@atlaskit/editor-plugin-analytics": "^5.2.0",
38
+ "@atlaskit/editor-plugin-base": "^6.2.0",
39
39
  "@atlaskit/editor-plugin-connectivity": "^5.0.0",
40
40
  "@atlaskit/editor-plugin-decorations": "^5.0.0",
41
41
  "@atlaskit/editor-plugin-editor-disabled": "^5.0.0",
@@ -52,7 +52,7 @@
52
52
  "@atlaskit/link": "^3.2.0",
53
53
  "@atlaskit/link-analytics": "^11.0.0",
54
54
  "@atlaskit/link-client-extension": "^6.0.0",
55
- "@atlaskit/link-datasource": "^4.22.0",
55
+ "@atlaskit/link-datasource": "^4.23.0",
56
56
  "@atlaskit/linking-common": "^9.5.0",
57
57
  "@atlaskit/linking-types": "^14.0.0",
58
58
  "@atlaskit/menu": "^8.4.0",
@@ -61,7 +61,7 @@
61
61
  "@atlaskit/primitives": "^14.14.0",
62
62
  "@atlaskit/smart-card": "^41.0.0",
63
63
  "@atlaskit/theme": "^21.0.0",
64
- "@atlaskit/tmp-editor-statsig": "^12.18.0",
64
+ "@atlaskit/tmp-editor-statsig": "^12.21.0",
65
65
  "@atlaskit/tokens": "^6.3.0",
66
66
  "@babel/runtime": "^7.0.0",
67
67
  "@emotion/react": "^11.7.1",
@@ -71,7 +71,7 @@
71
71
  "uuid": "^3.1.0"
72
72
  },
73
73
  "peerDependencies": {
74
- "@atlaskit/editor-common": "^109.4.0",
74
+ "@atlaskit/editor-common": "^109.6.0",
75
75
  "@atlaskit/link-provider": "^4.0.0",
76
76
  "react": "^18.2.0",
77
77
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -122,9 +122,6 @@
122
122
  "dst-a11y__replace-anchor-with-link__linking-platfo": {
123
123
  "type": "boolean"
124
124
  },
125
- "platform_editor_cards_maxcallstackfix": {
126
- "type": "boolean"
127
- },
128
125
  "platform_editor_controls_patch_15": {
129
126
  "type": "boolean"
130
127
  },