@atlaskit/editor-plugin-card 0.14.4 → 0.14.6
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 +14 -0
- package/dist/cjs/plugin.js +2 -1
- package/dist/es2019/plugin.js +2 -1
- package/dist/esm/plugin.js +2 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 0.14.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#57368](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57368) [`d69503f13a52`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d69503f13a52) - [ux] Changed the datasource layout resize button will show only when editor is in "full-page" mode
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 0.14.5
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790) [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) - ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 0.14.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -101,12 +101,13 @@ var cardPlugin = exports.cardPlugin = function cardPlugin(_ref) {
|
|
|
101
101
|
popupsMountPoint = _ref3.popupsMountPoint,
|
|
102
102
|
popupsScrollableElement = _ref3.popupsScrollableElement,
|
|
103
103
|
popupsBoundariesElement = _ref3.popupsBoundariesElement;
|
|
104
|
+
var breakoutEnabled = options.editorAppearance === 'full-page';
|
|
104
105
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_EditorSmartCardEvents.EditorSmartCardEvents, {
|
|
105
106
|
editorView: editorView
|
|
106
107
|
}), /*#__PURE__*/_react.default.createElement(_EditorLinkingPlatformAnalytics.EditorLinkingPlatformAnalytics, {
|
|
107
108
|
cardPluginEvents: cardPluginEvents,
|
|
108
109
|
editorView: editorView
|
|
109
|
-
}), /*#__PURE__*/_react.default.createElement(_LayoutButton.default, {
|
|
110
|
+
}), breakoutEnabled && /*#__PURE__*/_react.default.createElement(_LayoutButton.default, {
|
|
110
111
|
api: api,
|
|
111
112
|
editorView: editorView,
|
|
112
113
|
mountPoint: popupsMountPoint,
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -93,12 +93,13 @@ export const cardPlugin = ({
|
|
|
93
93
|
popupsScrollableElement,
|
|
94
94
|
popupsBoundariesElement
|
|
95
95
|
}) {
|
|
96
|
+
const breakoutEnabled = options.editorAppearance === 'full-page';
|
|
96
97
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EditorSmartCardEvents, {
|
|
97
98
|
editorView: editorView
|
|
98
99
|
}), /*#__PURE__*/React.createElement(EditorLinkingPlatformAnalytics, {
|
|
99
100
|
cardPluginEvents: cardPluginEvents,
|
|
100
101
|
editorView: editorView
|
|
101
|
-
}), /*#__PURE__*/React.createElement(LayoutButton, {
|
|
102
|
+
}), breakoutEnabled && /*#__PURE__*/React.createElement(LayoutButton, {
|
|
102
103
|
api: api,
|
|
103
104
|
editorView: editorView,
|
|
104
105
|
mountPoint: popupsMountPoint,
|
package/dist/esm/plugin.js
CHANGED
|
@@ -94,12 +94,13 @@ export var cardPlugin = function cardPlugin(_ref) {
|
|
|
94
94
|
popupsMountPoint = _ref3.popupsMountPoint,
|
|
95
95
|
popupsScrollableElement = _ref3.popupsScrollableElement,
|
|
96
96
|
popupsBoundariesElement = _ref3.popupsBoundariesElement;
|
|
97
|
+
var breakoutEnabled = options.editorAppearance === 'full-page';
|
|
97
98
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EditorSmartCardEvents, {
|
|
98
99
|
editorView: editorView
|
|
99
100
|
}), /*#__PURE__*/React.createElement(EditorLinkingPlatformAnalytics, {
|
|
100
101
|
cardPluginEvents: cardPluginEvents,
|
|
101
102
|
editorView: editorView
|
|
102
|
-
}), /*#__PURE__*/React.createElement(LayoutButton, {
|
|
103
|
+
}), breakoutEnabled && /*#__PURE__*/React.createElement(LayoutButton, {
|
|
103
104
|
api: api,
|
|
104
105
|
editorView: editorView,
|
|
105
106
|
mountPoint: popupsMountPoint,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.6",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/adf-schema": "^34.0.
|
|
34
|
+
"@atlaskit/adf-schema": "^34.0.1",
|
|
35
35
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
36
|
-
"@atlaskit/custom-steps": "^0.0.
|
|
37
|
-
"@atlaskit/editor-common": "^76.
|
|
36
|
+
"@atlaskit/custom-steps": "^0.0.5",
|
|
37
|
+
"@atlaskit/editor-common": "^76.24.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^0.3.0",
|
|
39
39
|
"@atlaskit/editor-plugin-decorations": "^0.2.0",
|
|
40
40
|
"@atlaskit/editor-plugin-feature-flags": "^1.0.0",
|