@atlaskit/editor-plugin-card 3.4.3 → 3.4.4
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 +9 -0
- package/dist/cjs/toolbar.js +1 -3
- package/dist/es2019/toolbar.js +1 -3
- package/dist/esm/toolbar.js +1 -3
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 3.4.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#147230](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/147230)
|
|
8
|
+
[`9221804a29ac8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9221804a29ac8) -
|
|
9
|
+
[ux] Remove FF platform.linking-platform.datasource-enable-toolbar-buttons-for-all-datasources
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 3.4.3
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/cjs/toolbar.js
CHANGED
|
@@ -415,9 +415,7 @@ var getDatasourceButtonGroup = function getDatasourceButtonGroup(metadata, intl,
|
|
|
415
415
|
if (!metadata.url) {
|
|
416
416
|
return false;
|
|
417
417
|
}
|
|
418
|
-
|
|
419
|
-
// FF to enable additional toolbar buttons based on if the datasource is configurable or not
|
|
420
|
-
return (0, _platformFeatureFlags.fg)('platform.linking-platform.datasource-enable-toolbar-buttons-for-all-datasources') ? true : !(0, _utils3.isDatasourceConfigEditable)(datasourceId);
|
|
418
|
+
return true;
|
|
421
419
|
};
|
|
422
420
|
if (canShowAppearanceSwitch()) {
|
|
423
421
|
var allowBlockCards = cardOptions.allowBlockCards,
|
package/dist/es2019/toolbar.js
CHANGED
|
@@ -402,9 +402,7 @@ const getDatasourceButtonGroup = (metadata, intl, editorAnalyticsApi, node, hove
|
|
|
402
402
|
if (!metadata.url) {
|
|
403
403
|
return false;
|
|
404
404
|
}
|
|
405
|
-
|
|
406
|
-
// FF to enable additional toolbar buttons based on if the datasource is configurable or not
|
|
407
|
-
return fg('platform.linking-platform.datasource-enable-toolbar-buttons-for-all-datasources') ? true : !isDatasourceConfigEditable(datasourceId);
|
|
405
|
+
return true;
|
|
408
406
|
};
|
|
409
407
|
if (canShowAppearanceSwitch()) {
|
|
410
408
|
const {
|
package/dist/esm/toolbar.js
CHANGED
|
@@ -405,9 +405,7 @@ var getDatasourceButtonGroup = function getDatasourceButtonGroup(metadata, intl,
|
|
|
405
405
|
if (!metadata.url) {
|
|
406
406
|
return false;
|
|
407
407
|
}
|
|
408
|
-
|
|
409
|
-
// FF to enable additional toolbar buttons based on if the datasource is configurable or not
|
|
410
|
-
return fg('platform.linking-platform.datasource-enable-toolbar-buttons-for-all-datasources') ? true : !isDatasourceConfigEditable(datasourceId);
|
|
408
|
+
return true;
|
|
411
409
|
};
|
|
412
410
|
if (canShowAppearanceSwitch()) {
|
|
413
411
|
var allowBlockCards = cardOptions.allowBlockCards,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.4",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atlaskit/adf-schema": "^40.9.0",
|
|
35
35
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
36
36
|
"@atlaskit/custom-steps": "^0.7.0",
|
|
37
|
-
"@atlaskit/editor-common": "^93.
|
|
37
|
+
"@atlaskit/editor-common": "^93.1.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^1.8.0",
|
|
39
39
|
"@atlaskit/editor-plugin-decorations": "^1.3.0",
|
|
40
40
|
"@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/icon": "^22.20.0",
|
|
50
50
|
"@atlaskit/link-analytics": "^8.5.0",
|
|
51
51
|
"@atlaskit/link-client-extension": "^2.4.0",
|
|
52
|
-
"@atlaskit/link-datasource": "^3.
|
|
52
|
+
"@atlaskit/link-datasource": "^3.4.0",
|
|
53
53
|
"@atlaskit/linking-common": "^5.11.0",
|
|
54
54
|
"@atlaskit/linking-types": "^9.0.0",
|
|
55
55
|
"@atlaskit/menu": "2.12.6",
|
|
@@ -120,9 +120,6 @@
|
|
|
120
120
|
"platform.linking-platform.datasource-word_wrap": {
|
|
121
121
|
"type": "boolean"
|
|
122
122
|
},
|
|
123
|
-
"platform.linking-platform.datasource-enable-toolbar-buttons-for-all-datasources": {
|
|
124
|
-
"type": "boolean"
|
|
125
|
-
},
|
|
126
123
|
"platform.editor.card.inject-settings-button": {
|
|
127
124
|
"type": "boolean"
|
|
128
125
|
},
|