@atlaskit/editor-plugin-card 1.4.1 → 1.4.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 +13 -0
- package/dist/cjs/toolbar.js +1 -1
- package/dist/cjs/ui/HyperlinkToolbarAppearance.js +1 -1
- package/dist/es2019/toolbar.js +1 -1
- package/dist/es2019/ui/HyperlinkToolbarAppearance.js +1 -1
- package/dist/esm/toolbar.js +1 -1
- package/dist/esm/ui/HyperlinkToolbarAppearance.js +1 -1
- package/package.json +8 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 1.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#87517](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87517) [`cb501b6ea6e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cb501b6ea6e0) - Link preferences button for datasources toolbar is now in full effect (feature flag removed).
|
|
8
|
+
|
|
9
|
+
## 1.4.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#87585](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87585) [`b9e0cbd0958b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9e0cbd0958b) - [ux] Fix hyperlink toolbar to render list view icon only when datasources is explicitly set to true by parent property
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 1.4.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/cjs/toolbar.js
CHANGED
|
@@ -450,7 +450,7 @@ var getDatasourceButtonGroup = function getDatasourceButtonGroup(metadata, intl,
|
|
|
450
450
|
}, {
|
|
451
451
|
type: 'separator'
|
|
452
452
|
}]
|
|
453
|
-
}].concat((0, _toConsumableArray2.default)(
|
|
453
|
+
}].concat((0, _toConsumableArray2.default)(getSettingsButtonGroup(intl, editorAnalyticsApi)), [{
|
|
454
454
|
id: 'editor.link.delete',
|
|
455
455
|
focusEditoronEnter: true,
|
|
456
456
|
type: 'button',
|
|
@@ -178,7 +178,7 @@ var HyperlinkToolbarAppearance = exports.HyperlinkToolbarAppearance = /*#__PURE_
|
|
|
178
178
|
platform: platform,
|
|
179
179
|
editorAnalyticsApi: editorAnalyticsApi,
|
|
180
180
|
cardActions: cardActions
|
|
181
|
-
}), (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.enable-datasource-appearance-toolbar') && /*#__PURE__*/_react.default.createElement(_DatasourceAppearanceButton.DatasourceAppearanceButton, {
|
|
181
|
+
}), (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.enable-datasource-appearance-toolbar') && (cardOptions === null || cardOptions === void 0 ? void 0 : cardOptions.allowDatasource) && /*#__PURE__*/_react.default.createElement(_DatasourceAppearanceButton.DatasourceAppearanceButton, {
|
|
182
182
|
intl: intl,
|
|
183
183
|
url: url,
|
|
184
184
|
editorState: editorState,
|
package/dist/es2019/toolbar.js
CHANGED
|
@@ -443,7 +443,7 @@ const getDatasourceButtonGroup = (metadata, intl, editorAnalyticsApi, node, hove
|
|
|
443
443
|
}, {
|
|
444
444
|
type: 'separator'
|
|
445
445
|
}]
|
|
446
|
-
}, ...
|
|
446
|
+
}, ...getSettingsButtonGroup(intl, editorAnalyticsApi), {
|
|
447
447
|
id: 'editor.link.delete',
|
|
448
448
|
focusEditoronEnter: true,
|
|
449
449
|
type: 'button',
|
|
@@ -93,7 +93,7 @@ export class HyperlinkToolbarAppearance extends Component {
|
|
|
93
93
|
platform: platform,
|
|
94
94
|
editorAnalyticsApi: editorAnalyticsApi,
|
|
95
95
|
cardActions: cardActions
|
|
96
|
-
}), getBooleanFF('platform.linking-platform.enable-datasource-appearance-toolbar') && /*#__PURE__*/React.createElement(DatasourceAppearanceButton, {
|
|
96
|
+
}), getBooleanFF('platform.linking-platform.enable-datasource-appearance-toolbar') && (cardOptions === null || cardOptions === void 0 ? void 0 : cardOptions.allowDatasource) && /*#__PURE__*/React.createElement(DatasourceAppearanceButton, {
|
|
97
97
|
intl: intl,
|
|
98
98
|
url: url,
|
|
99
99
|
editorState: editorState,
|
package/dist/esm/toolbar.js
CHANGED
|
@@ -440,7 +440,7 @@ var getDatasourceButtonGroup = function getDatasourceButtonGroup(metadata, intl,
|
|
|
440
440
|
}, {
|
|
441
441
|
type: 'separator'
|
|
442
442
|
}]
|
|
443
|
-
}].concat(_toConsumableArray(
|
|
443
|
+
}].concat(_toConsumableArray(getSettingsButtonGroup(intl, editorAnalyticsApi)), [{
|
|
444
444
|
id: 'editor.link.delete',
|
|
445
445
|
focusEditoronEnter: true,
|
|
446
446
|
type: 'button',
|
|
@@ -168,7 +168,7 @@ export var HyperlinkToolbarAppearance = /*#__PURE__*/function (_Component) {
|
|
|
168
168
|
platform: platform,
|
|
169
169
|
editorAnalyticsApi: editorAnalyticsApi,
|
|
170
170
|
cardActions: cardActions
|
|
171
|
-
}), getBooleanFF('platform.linking-platform.enable-datasource-appearance-toolbar') && /*#__PURE__*/React.createElement(DatasourceAppearanceButton, {
|
|
171
|
+
}), getBooleanFF('platform.linking-platform.enable-datasource-appearance-toolbar') && (cardOptions === null || cardOptions === void 0 ? void 0 : cardOptions.allowDatasource) && /*#__PURE__*/React.createElement(DatasourceAppearanceButton, {
|
|
172
172
|
intl: intl,
|
|
173
173
|
url: url,
|
|
174
174
|
editorState: editorState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"@atlaskit/adf-schema": "^35.8.0",
|
|
36
36
|
"@atlaskit/analytics-next": "^9.2.0",
|
|
37
37
|
"@atlaskit/custom-steps": "^0.0.17",
|
|
38
|
-
"@atlaskit/editor-common": "^78.
|
|
38
|
+
"@atlaskit/editor-common": "^78.23.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.0.0",
|
|
40
40
|
"@atlaskit/editor-plugin-decorations": "^1.0.0",
|
|
41
41
|
"@atlaskit/editor-plugin-feature-flags": "^1.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-floating-toolbar": "^1.2.0",
|
|
43
43
|
"@atlaskit/editor-plugin-grid": "^1.0.0",
|
|
44
|
-
"@atlaskit/editor-plugin-hyperlink": "^1.
|
|
44
|
+
"@atlaskit/editor-plugin-hyperlink": "^1.4.0",
|
|
45
45
|
"@atlaskit/editor-plugin-width": "^1.0.0",
|
|
46
46
|
"@atlaskit/editor-prosemirror": "3.0.0",
|
|
47
47
|
"@atlaskit/editor-shared-styles": "^2.9.0",
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
"@atlaskit/icon": "^22.1.0",
|
|
50
50
|
"@atlaskit/link-analytics": "^8.3.0",
|
|
51
51
|
"@atlaskit/link-client-extension": "^1.8.0",
|
|
52
|
-
"@atlaskit/link-datasource": "^1.
|
|
52
|
+
"@atlaskit/link-datasource": "^1.25.0",
|
|
53
53
|
"@atlaskit/linking-common": "^5.6.0",
|
|
54
|
-
"@atlaskit/linking-types": "^8.
|
|
54
|
+
"@atlaskit/linking-types": "^8.8.0",
|
|
55
55
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
56
|
-
"@atlaskit/primitives": "^5.
|
|
57
|
-
"@atlaskit/smart-card": "^26.
|
|
56
|
+
"@atlaskit/primitives": "^5.5.0",
|
|
57
|
+
"@atlaskit/smart-card": "^26.52.0",
|
|
58
58
|
"@atlaskit/theme": "^12.7.0",
|
|
59
|
-
"@atlaskit/tokens": "^1.
|
|
59
|
+
"@atlaskit/tokens": "^1.43.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
61
61
|
"@emotion/react": "^11.7.1",
|
|
62
62
|
"lodash": "^4.17.21",
|
|
@@ -116,9 +116,6 @@
|
|
|
116
116
|
"platform.linking-platform.enable-datasource-appearance-toolbar": {
|
|
117
117
|
"type": "boolean"
|
|
118
118
|
},
|
|
119
|
-
"platform.editor-add-link-preferences-button-to-datasources_xt1sh": {
|
|
120
|
-
"type": "boolean"
|
|
121
|
-
},
|
|
122
119
|
"platform.editor.card.fix-embed-card-select-all": {
|
|
123
120
|
"type": "boolean"
|
|
124
121
|
}
|