@atlaskit/editor-plugin-card 1.4.1 → 1.4.2

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,12 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 1.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+ - Updated dependencies
9
+
3
10
  ## 1.4.1
4
11
 
5
12
  ### Patch Changes
@@ -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,
@@ -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,
@@ -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.1",
3
+ "version": "1.4.2",
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.22.0",
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.3.0",
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",
@@ -53,10 +53,10 @@
53
53
  "@atlaskit/linking-common": "^5.6.0",
54
54
  "@atlaskit/linking-types": "^8.7.0",
55
55
  "@atlaskit/platform-feature-flags": "^0.2.0",
56
- "@atlaskit/primitives": "^5.2.0",
57
- "@atlaskit/smart-card": "^26.50.0",
56
+ "@atlaskit/primitives": "^5.5.0",
57
+ "@atlaskit/smart-card": "^26.52.0",
58
58
  "@atlaskit/theme": "^12.7.0",
59
- "@atlaskit/tokens": "^1.42.0",
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",