@atlaskit/editor-plugin-card 4.0.0 → 4.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 4.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#150349](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/150349)
8
+ [`3930014486c26`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3930014486c26) -
9
+ Clean up FF that disables inline smart-card overlay in view mode
10
+
3
11
  ## 4.0.0
4
12
 
5
13
  ### Major Changes
@@ -162,7 +162,7 @@ function InlineCardNodeView(props) {
162
162
  useAlternativePreloader: useAlternativePreloader,
163
163
  pluginInjectionApi: pluginInjectionApi,
164
164
  onClickCallback: onClickCallback
165
- }, enableInlineUpgradeFeatures && (0, _utils.getAwarenessProps)(view.state, getPos, allowEmbeds, allowBlockCards, (0, _platformFeatureFlags.fg)('linking_platform_disable_live_view_inline_overlay') && (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'view')));
165
+ }, enableInlineUpgradeFeatures && (0, _utils.getAwarenessProps)(view.state, getPos, allowEmbeds, allowBlockCards, (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'view')));
166
166
  }
167
167
  var inlineCardNodeView = exports.inlineCardNodeView = function inlineCardNodeView(_ref2) {
168
168
  var inlineCardViewProducer = _ref2.inlineCardViewProducer;
@@ -151,7 +151,7 @@ export function InlineCardNodeView(props) {
151
151
  useAlternativePreloader: useAlternativePreloader,
152
152
  pluginInjectionApi: pluginInjectionApi,
153
153
  onClickCallback: onClickCallback
154
- }, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards, fg('linking_platform_disable_live_view_inline_overlay') && (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'view')));
154
+ }, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards, (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'view')));
155
155
  }
156
156
  export const inlineCardNodeView = ({
157
157
  inlineCardViewProducer
@@ -150,7 +150,7 @@ export function InlineCardNodeView(props) {
150
150
  useAlternativePreloader: useAlternativePreloader,
151
151
  pluginInjectionApi: pluginInjectionApi,
152
152
  onClickCallback: onClickCallback
153
- }, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards, fg('linking_platform_disable_live_view_inline_overlay') && (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'view')));
153
+ }, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards, (editorViewModeState === null || editorViewModeState === void 0 ? void 0 : editorViewModeState.mode) === 'view')));
154
154
  }
155
155
  export var inlineCardNodeView = function inlineCardNodeView(_ref2) {
156
156
  var inlineCardViewProducer = _ref2.inlineCardViewProducer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -46,16 +46,16 @@
46
46
  "@atlaskit/editor-prosemirror": "6.0.0",
47
47
  "@atlaskit/editor-shared-styles": "^3.0.0",
48
48
  "@atlaskit/frontend-utilities": "^2.7.0",
49
- "@atlaskit/icon": "^22.21.0",
49
+ "@atlaskit/icon": "^22.22.0",
50
50
  "@atlaskit/link-analytics": "^8.5.0",
51
51
  "@atlaskit/link-client-extension": "^2.4.0",
52
- "@atlaskit/link-datasource": "^3.4.0",
52
+ "@atlaskit/link-datasource": "^3.5.0",
53
53
  "@atlaskit/linking-common": "^5.11.0",
54
54
  "@atlaskit/linking-types": "^9.0.0",
55
55
  "@atlaskit/menu": "2.12.7",
56
56
  "@atlaskit/platform-feature-flags": "^0.3.0",
57
57
  "@atlaskit/primitives": "^12.2.0",
58
- "@atlaskit/smart-card": "^29.0.0",
58
+ "@atlaskit/smart-card": "^29.1.0",
59
59
  "@atlaskit/theme": "^13.0.0",
60
60
  "@atlaskit/tmp-editor-statsig": "^2.3.0",
61
61
  "@atlaskit/tokens": "^2.0.0",
@@ -132,9 +132,6 @@
132
132
  "platform_linking_enable_transaction_filtering": {
133
133
  "type": "boolean"
134
134
  },
135
- "linking_platform_disable_live_view_inline_overlay": {
136
- "type": "boolean"
137
- },
138
135
  "linking_platform_smart_links_in_live_pages": {
139
136
  "type": "boolean"
140
137
  },