@atlaskit/editor-plugin-card 6.3.1 → 6.3.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 CHANGED
@@ -1,5 +1,38 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 6.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#159655](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/159655)
8
+ [`24f8c627d50f2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24f8c627d50f2) - ##
9
+ WHAT? Remove experimental graceful edit mode from view mode plugin and associated props.
10
+
11
+ ## WHY?
12
+
13
+ This experiment is being cleaned up and we are no longer proceeding in this direction.
14
+
15
+ ## HOW to adjust?
16
+
17
+ This experiment was only enabled for Confluence and should not have been enabled in other places.
18
+ If for some reason any of the following props/state/methdos were used please remove them:
19
+
20
+ - isConsumption
21
+ - contentMode
22
+ - initialContentMode
23
+ - updateContentMode
24
+
25
+ - Updated dependencies
26
+
27
+ ## 6.3.2
28
+
29
+ ### Patch Changes
30
+
31
+ - [#159351](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/159351)
32
+ [`8932459025c73`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8932459025c73) -
33
+ Move card removal to unmounting of component.
34
+ - Updated dependencies
35
+
3
36
  ## 6.3.1
4
37
 
5
38
  ### Patch Changes
package/compass.yml CHANGED
@@ -1,3 +1,4 @@
1
+ id: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/b3ffe2fd-7f29-4a07-81cd-67c57914ec9a'
1
2
  name: '@atlaskit/editor-plugin-card'
2
3
  description: |-
3
4
  This is an editor plugin for Atlassian's rich text editor that enables support for "smart cards" and advanced linking features within the editor. It integrates with the Atlassian linking platform to allow users to insert, display, and interact with rich link previews (smart cards) directly in the editor surface.
@@ -18,11 +19,11 @@ links:
18
19
  - name: '#help-twg-linking-platform'
19
20
  type: CHAT_CHANNEL
20
21
  url: 'https://atlassian.enterprise.slack.com/archives/CFKGAQZRV'
21
- - name: null
22
+ - name: ''
22
23
  type: ON_CALL
23
24
  url: 'https://atlassian.app.opsgenie.com/settings/schedule/detail/b9c8b313-dd6d-4a41-8eeb-d7a9df55be9d'
24
25
  - name: source code
25
26
  type: REPOSITORY
26
- url: 'https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-plugin-card'
27
+ url: 'https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/editor/editor-plugin-card'
27
28
  customFields: []
28
29
  relationships: {}
@@ -60,6 +60,7 @@ var BlockCardComponent = exports.BlockCardComponent = /*#__PURE__*/function (_Re
60
60
  })(view.state.tr));
61
61
  })();
62
62
  });
63
+ (0, _defineProperty2.default)(_this, "removeCardDispatched", false);
63
64
  (0, _defineProperty2.default)(_this, "gapCursorSpan", function () {
64
65
  // Don't render in EdgeHTMl version <= 18 (Edge version 44)
65
66
  // as it forces the edit popup to render 24px lower than it should
@@ -84,6 +85,26 @@ var BlockCardComponent = exports.BlockCardComponent = /*#__PURE__*/function (_Re
84
85
  }
85
86
  (0, _inherits2.default)(BlockCardComponent, _React$PureComponent);
86
87
  return (0, _createClass2.default)(BlockCardComponent, [{
88
+ key: "componentWillUnmount",
89
+ value: function componentWillUnmount() {
90
+ if ((0, _platformFeatureFlags.fg)('platform_editor_fix_advanced_code_crash')) {
91
+ this.removeCard();
92
+ }
93
+ }
94
+ }, {
95
+ key: "removeCard",
96
+ value: function removeCard() {
97
+ if (this.removeCardDispatched && (0, _platformFeatureFlags.fg)('platform_editor_cards_maxcallstackfix')) {
98
+ return;
99
+ }
100
+ this.removeCardDispatched = true;
101
+ var tr = this.props.view.state.tr;
102
+ (0, _actions.removeCard)({
103
+ id: this.props.id
104
+ })(tr);
105
+ this.props.view.dispatch(tr);
106
+ }
107
+ }, {
87
108
  key: "render",
88
109
  value: function render() {
89
110
  var _this$props2 = this.props,
@@ -187,7 +208,11 @@ var BlockCard = exports.BlockCard = /*#__PURE__*/function (_ReactNodeView) {
187
208
  value: function destroy() {
188
209
  var _this$unsubscribe;
189
210
  (_this$unsubscribe = this.unsubscribe) === null || _this$unsubscribe === void 0 || _this$unsubscribe.call(this);
190
- this.removeCard();
211
+ if ((0, _platformFeatureFlags.fg)('platform_editor_fix_advanced_code_crash')) {
212
+ _superPropGet(BlockCard, "destroy", this, 3)([]);
213
+ } else {
214
+ this.removeCard();
215
+ }
191
216
  }
192
217
  }, {
193
218
  key: "removeCard",
@@ -273,11 +273,32 @@ var EmbedCardComponent = exports.EmbedCardComponent = /*#__PURE__*/function (_Re
273
273
  throw err;
274
274
  }
275
275
  });
276
+ (0, _defineProperty2.default)(_this, "removeCardDispatched", false);
276
277
  _this.scrollContainer = (0, _ui.findOverflowScrollParent)(props.view.dom) || undefined;
277
278
  return _this;
278
279
  }
279
280
  (0, _inherits2.default)(EmbedCardComponent, _React$PureComponent);
280
281
  return (0, _createClass2.default)(EmbedCardComponent, [{
282
+ key: "componentWillUnmount",
283
+ value: function componentWillUnmount() {
284
+ if ((0, _platformFeatureFlags.fg)('platform_editor_fix_advanced_code_crash')) {
285
+ this.removeCard();
286
+ }
287
+ }
288
+ }, {
289
+ key: "removeCard",
290
+ value: function removeCard() {
291
+ if (this.removeCardDispatched && (0, _platformFeatureFlags.fg)('platform_editor_cards_maxcallstackfix')) {
292
+ return;
293
+ }
294
+ this.removeCardDispatched = true;
295
+ var tr = this.props.view.state.tr;
296
+ (0, _actions.removeCard)({
297
+ id: this.props.id
298
+ })(tr);
299
+ this.props.view.dispatch(tr);
300
+ }
301
+ }, {
281
302
  key: "render",
282
303
  value: function render() {
283
304
  var _this$props = this.props,
@@ -421,7 +442,11 @@ var EmbedCard = exports.EmbedCard = /*#__PURE__*/function (_ReactNodeView) {
421
442
  value: function destroy() {
422
443
  var _this$unsubscribe;
423
444
  (_this$unsubscribe = this.unsubscribe) === null || _this$unsubscribe === void 0 || _this$unsubscribe.call(this);
424
- this.removeCard();
445
+ if ((0, _platformFeatureFlags.fg)('platform_editor_fix_advanced_code_crash')) {
446
+ _superPropGet(EmbedCard, "destroy", this, 3)([]);
447
+ } else {
448
+ this.removeCard();
449
+ }
425
450
  }
426
451
  }, {
427
452
  key: "removeCard",
@@ -21,7 +21,6 @@ var _state = require("@atlaskit/editor-prosemirror/state");
21
21
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
22
22
  var _smartCard = require("@atlaskit/smart-card");
23
23
  var _ssr = require("@atlaskit/smart-card/ssr");
24
- var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
25
24
  var _actions = require("../pm-plugins/actions");
26
25
  var _utils = require("../pm-plugins/utils");
27
26
  var _ConfigureOverlay = _interopRequireDefault(require("../ui/ConfigureOverlay"));
@@ -230,7 +229,7 @@ function InlineCardNodeView(props) {
230
229
  appearance: "inline"
231
230
  // Ignored via go/ees005
232
231
  // eslint-disable-next-line react/jsx-props-no-spreading
233
- }, enableInlineUpgradeFeatures && (0, _utils.getAwarenessProps)(view.state, getPos, allowEmbeds, allowBlockCards, !(0, _experiments.editorExperiment)('live_pages_graceful_edit', 'control') ? true : mode === 'view'))), (0, _platformFeatureFlags.fg)('prompt_whiteboard_competitor_link_gate') && CompetitorPromptComponent);
232
+ }, enableInlineUpgradeFeatures && (0, _utils.getAwarenessProps)(view.state, getPos, allowEmbeds, allowBlockCards, mode === 'view'))), (0, _platformFeatureFlags.fg)('prompt_whiteboard_competitor_link_gate') && CompetitorPromptComponent);
234
233
  }
235
234
  var inlineCardNodeView = exports.inlineCardNodeView = function inlineCardNodeView(_ref2) {
236
235
  var inlineCardViewProducer = _ref2.inlineCardViewProducer;
@@ -46,6 +46,7 @@ export class BlockCardComponent extends React.PureComponent {
46
46
  })(view.state.tr));
47
47
  })();
48
48
  });
49
+ _defineProperty(this, "removeCardDispatched", false);
49
50
  _defineProperty(this, "gapCursorSpan", () => {
50
51
  // Don't render in EdgeHTMl version <= 18 (Edge version 44)
51
52
  // as it forces the edit popup to render 24px lower than it should
@@ -68,6 +69,24 @@ export class BlockCardComponent extends React.PureComponent {
68
69
  });
69
70
  this.scrollContainer = findOverflowScrollParent(props.view.dom) || undefined;
70
71
  }
72
+ componentWillUnmount() {
73
+ if (fg('platform_editor_fix_advanced_code_crash')) {
74
+ this.removeCard();
75
+ }
76
+ }
77
+ removeCard() {
78
+ if (this.removeCardDispatched && fg('platform_editor_cards_maxcallstackfix')) {
79
+ return;
80
+ }
81
+ this.removeCardDispatched = true;
82
+ const {
83
+ tr
84
+ } = this.props.view.state;
85
+ removeCard({
86
+ id: this.props.id
87
+ })(tr);
88
+ this.props.view.dispatch(tr);
89
+ }
71
90
  render() {
72
91
  const {
73
92
  node,
@@ -151,7 +170,11 @@ export class BlockCard extends ReactNodeView {
151
170
  destroy() {
152
171
  var _this$unsubscribe;
153
172
  (_this$unsubscribe = this.unsubscribe) === null || _this$unsubscribe === void 0 ? void 0 : _this$unsubscribe.call(this);
154
- this.removeCard();
173
+ if (fg('platform_editor_fix_advanced_code_crash')) {
174
+ super.destroy();
175
+ } else {
176
+ this.removeCard();
177
+ }
155
178
  }
156
179
  removeCard() {
157
180
  if (this.removeCardDispatched && fg('platform_editor_cards_maxcallstackfix')) {
@@ -268,8 +268,27 @@ export class EmbedCardComponent extends React.PureComponent {
268
268
  throw err;
269
269
  }
270
270
  });
271
+ _defineProperty(this, "removeCardDispatched", false);
271
272
  this.scrollContainer = findOverflowScrollParent(props.view.dom) || undefined;
272
273
  }
274
+ componentWillUnmount() {
275
+ if (fg('platform_editor_fix_advanced_code_crash')) {
276
+ this.removeCard();
277
+ }
278
+ }
279
+ removeCard() {
280
+ if (this.removeCardDispatched && fg('platform_editor_cards_maxcallstackfix')) {
281
+ return;
282
+ }
283
+ this.removeCardDispatched = true;
284
+ const {
285
+ tr
286
+ } = this.props.view.state;
287
+ removeCard({
288
+ id: this.props.id
289
+ })(tr);
290
+ this.props.view.dispatch(tr);
291
+ }
273
292
  render() {
274
293
  const {
275
294
  node,
@@ -397,7 +416,11 @@ export class EmbedCard extends ReactNodeView {
397
416
  destroy() {
398
417
  var _this$unsubscribe;
399
418
  (_this$unsubscribe = this.unsubscribe) === null || _this$unsubscribe === void 0 ? void 0 : _this$unsubscribe.call(this);
400
- this.removeCard();
419
+ if (fg('platform_editor_fix_advanced_code_crash')) {
420
+ super.destroy();
421
+ } else {
422
+ this.removeCard();
423
+ }
401
424
  }
402
425
  removeCard() {
403
426
  if (this.removeCardDispatched && fg('platform_editor_cards_maxcallstackfix')) {
@@ -10,7 +10,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
10
10
  import { fg } from '@atlaskit/platform-feature-flags';
11
11
  import { Card as SmartCard } from '@atlaskit/smart-card';
12
12
  import { CardSSR } from '@atlaskit/smart-card/ssr';
13
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
14
13
  import { registerCard, removeCard } from '../pm-plugins/actions';
15
14
  import { getAwarenessProps } from '../pm-plugins/utils';
16
15
  import OverlayWrapper from '../ui/ConfigureOverlay';
@@ -224,7 +223,7 @@ export function InlineCardNodeView(props) {
224
223
  appearance: "inline"
225
224
  // Ignored via go/ees005
226
225
  // eslint-disable-next-line react/jsx-props-no-spreading
227
- }, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards, !editorExperiment('live_pages_graceful_edit', 'control') ? true : mode === 'view'))), fg('prompt_whiteboard_competitor_link_gate') && CompetitorPromptComponent);
226
+ }, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards, mode === 'view'))), fg('prompt_whiteboard_competitor_link_gate') && CompetitorPromptComponent);
228
227
  }
229
228
  export const inlineCardNodeView = ({
230
229
  inlineCardViewProducer
@@ -54,6 +54,7 @@ export var BlockCardComponent = /*#__PURE__*/function (_React$PureComponent) {
54
54
  })(view.state.tr));
55
55
  })();
56
56
  });
57
+ _defineProperty(_this, "removeCardDispatched", false);
57
58
  _defineProperty(_this, "gapCursorSpan", function () {
58
59
  // Don't render in EdgeHTMl version <= 18 (Edge version 44)
59
60
  // as it forces the edit popup to render 24px lower than it should
@@ -78,6 +79,26 @@ export var BlockCardComponent = /*#__PURE__*/function (_React$PureComponent) {
78
79
  }
79
80
  _inherits(BlockCardComponent, _React$PureComponent);
80
81
  return _createClass(BlockCardComponent, [{
82
+ key: "componentWillUnmount",
83
+ value: function componentWillUnmount() {
84
+ if (fg('platform_editor_fix_advanced_code_crash')) {
85
+ this.removeCard();
86
+ }
87
+ }
88
+ }, {
89
+ key: "removeCard",
90
+ value: function removeCard() {
91
+ if (this.removeCardDispatched && fg('platform_editor_cards_maxcallstackfix')) {
92
+ return;
93
+ }
94
+ this.removeCardDispatched = true;
95
+ var tr = this.props.view.state.tr;
96
+ _removeCard({
97
+ id: this.props.id
98
+ })(tr);
99
+ this.props.view.dispatch(tr);
100
+ }
101
+ }, {
81
102
  key: "render",
82
103
  value: function render() {
83
104
  var _this$props2 = this.props,
@@ -181,7 +202,11 @@ export var BlockCard = /*#__PURE__*/function (_ReactNodeView) {
181
202
  value: function destroy() {
182
203
  var _this$unsubscribe;
183
204
  (_this$unsubscribe = this.unsubscribe) === null || _this$unsubscribe === void 0 || _this$unsubscribe.call(this);
184
- this.removeCard();
205
+ if (fg('platform_editor_fix_advanced_code_crash')) {
206
+ _superPropGet(BlockCard, "destroy", this, 3)([]);
207
+ } else {
208
+ this.removeCard();
209
+ }
185
210
  }
186
211
  }, {
187
212
  key: "removeCard",
@@ -266,11 +266,32 @@ export var EmbedCardComponent = /*#__PURE__*/function (_React$PureComponent) {
266
266
  throw err;
267
267
  }
268
268
  });
269
+ _defineProperty(_this, "removeCardDispatched", false);
269
270
  _this.scrollContainer = findOverflowScrollParent(props.view.dom) || undefined;
270
271
  return _this;
271
272
  }
272
273
  _inherits(EmbedCardComponent, _React$PureComponent);
273
274
  return _createClass(EmbedCardComponent, [{
275
+ key: "componentWillUnmount",
276
+ value: function componentWillUnmount() {
277
+ if (fg('platform_editor_fix_advanced_code_crash')) {
278
+ this.removeCard();
279
+ }
280
+ }
281
+ }, {
282
+ key: "removeCard",
283
+ value: function removeCard() {
284
+ if (this.removeCardDispatched && fg('platform_editor_cards_maxcallstackfix')) {
285
+ return;
286
+ }
287
+ this.removeCardDispatched = true;
288
+ var tr = this.props.view.state.tr;
289
+ _removeCard({
290
+ id: this.props.id
291
+ })(tr);
292
+ this.props.view.dispatch(tr);
293
+ }
294
+ }, {
274
295
  key: "render",
275
296
  value: function render() {
276
297
  var _this$props = this.props,
@@ -414,7 +435,11 @@ export var EmbedCard = /*#__PURE__*/function (_ReactNodeView) {
414
435
  value: function destroy() {
415
436
  var _this$unsubscribe;
416
437
  (_this$unsubscribe = this.unsubscribe) === null || _this$unsubscribe === void 0 || _this$unsubscribe.call(this);
417
- this.removeCard();
438
+ if (fg('platform_editor_fix_advanced_code_crash')) {
439
+ _superPropGet(EmbedCard, "destroy", this, 3)([]);
440
+ } else {
441
+ this.removeCard();
442
+ }
418
443
  }
419
444
  }, {
420
445
  key: "removeCard",
@@ -11,7 +11,6 @@ import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
11
11
  import { fg } from '@atlaskit/platform-feature-flags';
12
12
  import { Card as SmartCard } from '@atlaskit/smart-card';
13
13
  import { CardSSR } from '@atlaskit/smart-card/ssr';
14
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
15
14
  import { registerCard, removeCard } from '../pm-plugins/actions';
16
15
  import { getAwarenessProps } from '../pm-plugins/utils';
17
16
  import OverlayWrapper from '../ui/ConfigureOverlay';
@@ -218,7 +217,7 @@ export function InlineCardNodeView(props) {
218
217
  appearance: "inline"
219
218
  // Ignored via go/ees005
220
219
  // eslint-disable-next-line react/jsx-props-no-spreading
221
- }, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards, !editorExperiment('live_pages_graceful_edit', 'control') ? true : mode === 'view'))), fg('prompt_whiteboard_competitor_link_gate') && CompetitorPromptComponent);
220
+ }, enableInlineUpgradeFeatures && getAwarenessProps(view.state, getPos, allowEmbeds, allowBlockCards, mode === 'view'))), fg('prompt_whiteboard_competitor_link_gate') && CompetitorPromptComponent);
222
221
  }
223
222
  export var inlineCardNodeView = function inlineCardNodeView(_ref2) {
224
223
  var inlineCardViewProducer = _ref2.inlineCardViewProducer;
@@ -16,6 +16,9 @@ export declare class BlockCardComponent extends React.PureComponent<SmartCardPro
16
16
  url?: string | undefined;
17
17
  title?: string | undefined;
18
18
  }) => void;
19
+ componentWillUnmount(): void;
20
+ private removeCardDispatched;
21
+ private removeCard;
19
22
  gapCursorSpan: () => React.JSX.Element | undefined;
20
23
  onError: ({ err }: {
21
24
  err?: Error | undefined;
@@ -38,6 +38,9 @@ export declare class EmbedCardComponent extends React.PureComponent<SmartCardPro
38
38
  onError: ({ err }: {
39
39
  err?: Error | undefined;
40
40
  }) => void;
41
+ componentWillUnmount(): void;
42
+ private removeCardDispatched;
43
+ private removeCard;
41
44
  render(): React.JSX.Element;
42
45
  }
43
46
  export type EmbedCardNodeViewProps = Pick<SmartCardProps, 'eventDispatcher' | 'allowResizing' | 'fullWidthMode' | 'dispatchAnalyticsEvent' | 'pluginInjectionApi' | 'actionOptions' | 'onClickCallback'>;
@@ -16,6 +16,9 @@ export declare class BlockCardComponent extends React.PureComponent<SmartCardPro
16
16
  url?: string | undefined;
17
17
  title?: string | undefined;
18
18
  }) => void;
19
+ componentWillUnmount(): void;
20
+ private removeCardDispatched;
21
+ private removeCard;
19
22
  gapCursorSpan: () => React.JSX.Element | undefined;
20
23
  onError: ({ err }: {
21
24
  err?: Error | undefined;
@@ -38,6 +38,9 @@ export declare class EmbedCardComponent extends React.PureComponent<SmartCardPro
38
38
  onError: ({ err }: {
39
39
  err?: Error | undefined;
40
40
  }) => void;
41
+ componentWillUnmount(): void;
42
+ private removeCardDispatched;
43
+ private removeCard;
41
44
  render(): React.JSX.Element;
42
45
  }
43
46
  export type EmbedCardNodeViewProps = Pick<SmartCardProps, 'eventDispatcher' | 'allowResizing' | 'fullWidthMode' | 'dispatchAnalyticsEvent' | 'pluginInjectionApi' | 'actionOptions' | 'onClickCallback'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "6.3.1",
3
+ "version": "6.3.3",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,13 +37,13 @@
37
37
  "@atlaskit/analytics-next": "^11.0.0",
38
38
  "@atlaskit/button": "^23.2.0",
39
39
  "@atlaskit/custom-steps": "^0.11.0",
40
- "@atlaskit/editor-common": "^105.8.0",
40
+ "@atlaskit/editor-common": "^105.10.0",
41
41
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
42
42
  "@atlaskit/editor-plugin-base": "^3.0.0",
43
43
  "@atlaskit/editor-plugin-connectivity": "^2.0.0",
44
44
  "@atlaskit/editor-plugin-decorations": "^2.0.0",
45
45
  "@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
46
- "@atlaskit/editor-plugin-editor-viewmode": "^3.1.0",
46
+ "@atlaskit/editor-plugin-editor-viewmode": "^4.0.0",
47
47
  "@atlaskit/editor-plugin-feature-flags": "^1.4.0",
48
48
  "@atlaskit/editor-plugin-floating-toolbar": "^4.1.0",
49
49
  "@atlaskit/editor-plugin-grid": "^2.0.0",
@@ -51,7 +51,7 @@
51
51
  "@atlaskit/editor-prosemirror": "7.0.0",
52
52
  "@atlaskit/editor-shared-styles": "^3.4.0",
53
53
  "@atlaskit/frontend-utilities": "^3.0.0",
54
- "@atlaskit/icon": "^26.1.0",
54
+ "@atlaskit/icon": "^26.3.0",
55
55
  "@atlaskit/link": "^3.2.0",
56
56
  "@atlaskit/link-analytics": "^10.0.0",
57
57
  "@atlaskit/link-client-extension": "^5.0.0",
@@ -61,9 +61,9 @@
61
61
  "@atlaskit/menu": "^8.0.0",
62
62
  "@atlaskit/platform-feature-flags": "^1.1.0",
63
63
  "@atlaskit/primitives": "^14.8.0",
64
- "@atlaskit/smart-card": "^38.4.0",
64
+ "@atlaskit/smart-card": "^38.5.0",
65
65
  "@atlaskit/theme": "^18.0.0",
66
- "@atlaskit/tmp-editor-statsig": "^4.24.0",
66
+ "@atlaskit/tmp-editor-statsig": "^5.0.0",
67
67
  "@atlaskit/tokens": "^4.9.0",
68
68
  "@babel/runtime": "^7.0.0",
69
69
  "@emotion/react": "^11.7.1",
@@ -73,7 +73,7 @@
73
73
  "uuid": "^3.1.0"
74
74
  },
75
75
  "peerDependencies": {
76
- "@atlaskit/link-provider": "^3.0.0",
76
+ "@atlaskit/link-provider": "^3.1.0",
77
77
  "react": "^18.2.0",
78
78
  "react-intl-next": "npm:react-intl@^5.18.1"
79
79
  },
@@ -153,6 +153,9 @@
153
153
  "smart_link_editor_update_toolbar_open_link": {
154
154
  "type": "boolean"
155
155
  },
156
+ "platform_editor_fix_advanced_code_crash": {
157
+ "type": "boolean"
158
+ },
156
159
  "platform_editor_controls_patch_8": {
157
160
  "type": "boolean"
158
161
  },
@@ -170,5 +173,6 @@
170
173
  "no-unused-dependencies": {
171
174
  "checkDevDependencies": true
172
175
  }
173
- }
176
+ },
177
+ "compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/44b8f355-366d-4e0c-a22a-1ba5a6106330"
174
178
  }