@atlaskit/editor-plugin-card 11.5.9 → 11.5.11

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,19 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 11.5.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.5.10
10
+
11
+ ### Patch Changes
12
+
13
+ - [`2e389ee54c1f1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2e389ee54c1f1) -
14
+ Update gates to roll out minor updates faster
15
+ - Updated dependencies
16
+
3
17
  ## 11.5.9
4
18
 
5
19
  ### Patch Changes
@@ -171,11 +171,11 @@ function Card(SmartCardComponent, UnsupportedComponent) {
171
171
  * We cache fatal errors by position to avoid retrying the same errors
172
172
  * on the same links at the same position.
173
173
  */
174
- if (url && pos && fatalErrorPositionMap.get(url) === pos && (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_patch_beta_2')) {
174
+ if (url && pos && fatalErrorPositionMap.get(url) === pos && (0, _platformFeatureFlags.fg)('platform_editor_ai_generic_prep_for_aifc_2')) {
175
175
  return null;
176
176
  }
177
177
  (0, _doc.changeSelectedCardToLinkFallback)(undefined, url, true, node, getPos(), pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$a = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a === void 0 ? void 0 : _pluginInjectionApi$a.actions)(view.state, view.dispatch);
178
- if (url && pos && (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_patch_beta_2')) {
178
+ if (url && pos && (0, _platformFeatureFlags.fg)('platform_editor_ai_generic_prep_for_aifc_2')) {
179
179
  fatalErrorPositionMap.set(url, pos);
180
180
  }
181
181
  return null;
@@ -146,11 +146,11 @@ export function Card(SmartCardComponent, UnsupportedComponent) {
146
146
  * We cache fatal errors by position to avoid retrying the same errors
147
147
  * on the same links at the same position.
148
148
  */
149
- if (url && pos && fatalErrorPositionMap.get(url) === pos && fg('platform_editor_ai_aifc_patch_beta_2')) {
149
+ if (url && pos && fatalErrorPositionMap.get(url) === pos && fg('platform_editor_ai_generic_prep_for_aifc_2')) {
150
150
  return null;
151
151
  }
152
152
  changeSelectedCardToLinkFallback(undefined, url, true, node, getPos(), pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$a = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a === void 0 ? void 0 : _pluginInjectionApi$a.actions)(view.state, view.dispatch);
153
- if (url && pos && fg('platform_editor_ai_aifc_patch_beta_2')) {
153
+ if (url && pos && fg('platform_editor_ai_generic_prep_for_aifc_2')) {
154
154
  fatalErrorPositionMap.set(url, pos);
155
155
  }
156
156
  return null;
@@ -162,11 +162,11 @@ export function Card(SmartCardComponent, UnsupportedComponent) {
162
162
  * We cache fatal errors by position to avoid retrying the same errors
163
163
  * on the same links at the same position.
164
164
  */
165
- if (url && pos && fatalErrorPositionMap.get(url) === pos && fg('platform_editor_ai_aifc_patch_beta_2')) {
165
+ if (url && pos && fatalErrorPositionMap.get(url) === pos && fg('platform_editor_ai_generic_prep_for_aifc_2')) {
166
166
  return null;
167
167
  }
168
168
  changeSelectedCardToLinkFallback(undefined, url, true, node, getPos(), pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$a = pluginInjectionApi.analytics) === null || _pluginInjectionApi$a === void 0 ? void 0 : _pluginInjectionApi$a.actions)(view.state, view.dispatch);
169
- if (url && pos && fg('platform_editor_ai_aifc_patch_beta_2')) {
169
+ if (url && pos && fg('platform_editor_ai_generic_prep_for_aifc_2')) {
170
170
  fatalErrorPositionMap.set(url, pos);
171
171
  }
172
172
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "11.5.9",
3
+ "version": "11.5.11",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -59,9 +59,9 @@
59
59
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
60
60
  "@atlaskit/primitives": "^16.4.0",
61
61
  "@atlaskit/prosemirror-history": "^0.2.0",
62
- "@atlaskit/smart-card": "^43.12.0",
62
+ "@atlaskit/smart-card": "^43.14.0",
63
63
  "@atlaskit/theme": "^21.0.0",
64
- "@atlaskit/tmp-editor-statsig": "^14.5.0",
64
+ "@atlaskit/tmp-editor-statsig": "^15.0.0",
65
65
  "@atlaskit/tokens": "^8.4.0",
66
66
  "@babel/runtime": "^7.0.0",
67
67
  "@emotion/react": "^11.7.1",
@@ -71,7 +71,7 @@
71
71
  "uuid": "^3.1.0"
72
72
  },
73
73
  "peerDependencies": {
74
- "@atlaskit/editor-common": "^110.38.0",
74
+ "@atlaskit/editor-common": "^110.40.0",
75
75
  "@atlaskit/link-provider": "^4.0.0",
76
76
  "react": "^18.2.0",
77
77
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -122,10 +122,10 @@
122
122
  "platform_editor_adf_with_localid": {
123
123
  "type": "boolean"
124
124
  },
125
- "platform_editor_ai_generic_prep_for_aifc": {
125
+ "platform_editor_ai_generic_prep_for_aifc_2": {
126
126
  "type": "boolean"
127
127
  },
128
- "platform_editor_ai_aifc_patch_beta_2": {
128
+ "platform_editor_ai_generic_prep_for_aifc": {
129
129
  "type": "boolean"
130
130
  }
131
131
  },