@atlaskit/editor-plugin-card 9.1.0 → 10.1.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 +17 -0
- package/dist/cjs/cardPlugin.js +3 -0
- package/dist/es2019/cardPlugin.js +3 -0
- package/dist/esm/cardPlugin.js +3 -0
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 10.1.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
|
+
## 10.0.0
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 9.1.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/dist/cjs/cardPlugin.js
CHANGED
|
@@ -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
|
package/dist/esm/cardPlugin.js
CHANGED
|
@@ -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": "
|
|
3
|
+
"version": "10.1.0",
|
|
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.
|
|
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.
|
|
36
|
-
"@atlaskit/editor-card-provider": "^
|
|
37
|
-
"@atlaskit/editor-plugin-analytics": "^5.
|
|
38
|
-
"@atlaskit/editor-plugin-base": "^6.
|
|
35
|
+
"@atlaskit/custom-steps": "^0.13.0",
|
|
36
|
+
"@atlaskit/editor-card-provider": "^6.0.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",
|
|
@@ -50,18 +50,18 @@
|
|
|
50
50
|
"@atlaskit/frontend-utilities": "^3.1.0",
|
|
51
51
|
"@atlaskit/icon": "^28.1.0",
|
|
52
52
|
"@atlaskit/link": "^3.2.0",
|
|
53
|
-
"@atlaskit/link-analytics": "^
|
|
54
|
-
"@atlaskit/link-client-extension": "^
|
|
55
|
-
"@atlaskit/link-datasource": "^4.
|
|
53
|
+
"@atlaskit/link-analytics": "^11.0.0",
|
|
54
|
+
"@atlaskit/link-client-extension": "^6.0.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",
|
|
59
59
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
60
60
|
"@atlaskit/platform-feature-flags-react": "^0.3.0",
|
|
61
61
|
"@atlaskit/primitives": "^14.14.0",
|
|
62
|
-
"@atlaskit/smart-card": "^
|
|
62
|
+
"@atlaskit/smart-card": "^41.0.0",
|
|
63
63
|
"@atlaskit/theme": "^21.0.0",
|
|
64
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
64
|
+
"@atlaskit/tmp-editor-statsig": "^12.18.0",
|
|
65
65
|
"@atlaskit/tokens": "^6.3.0",
|
|
66
66
|
"@babel/runtime": "^7.0.0",
|
|
67
67
|
"@emotion/react": "^11.7.1",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"uuid": "^3.1.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@atlaskit/editor-common": "^109.
|
|
75
|
-
"@atlaskit/link-provider": "^
|
|
74
|
+
"@atlaskit/editor-common": "^109.5.0",
|
|
75
|
+
"@atlaskit/link-provider": "^4.0.0",
|
|
76
76
|
"react": "^18.2.0",
|
|
77
77
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
78
78
|
},
|