@atlaskit/editor-plugin-show-diff 16.0.11 → 16.0.12

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,16 @@
1
1
  # @atlaskit/editor-plugin-show-diff
2
2
 
3
+ ## 16.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`c3d0cc90fb8a8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c3d0cc90fb8a8) -
8
+ [ux] A contributor tag that has been clicked no longer stays visible after the pointer has left
9
+ the change it captions. Behind `confluence_ncs_step_diffing_version_history`.
10
+ - [`e6656f3612782`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e6656f3612782) -
11
+ Use the shared agent icon for external diff contributors.
12
+ - Updated dependencies
13
+
3
14
  ## 16.0.11
4
15
 
5
16
  ### Patch Changes
@@ -104,7 +104,7 @@ var contributorAvatarRenderer = exports.contributorAvatarRenderer = function con
104
104
  shape.appendChild(fallback);
105
105
  return;
106
106
  }
107
- shape.appendChild((0, _contributorTagIcons.getContributorTagIcon)((_AGENT_KIND_ICONS = AGENT_KIND_ICONS[(_contributor$agentKin = contributor.agentKind) !== null && _contributor$agentKin !== void 0 ? _contributor$agentKin : 'external']) !== null && _AGENT_KIND_ICONS !== void 0 ? _AGENT_KIND_ICONS : 'aiBot', doc));
107
+ shape.appendChild((0, _contributorTagIcons.getContributorTagIcon)((_AGENT_KIND_ICONS = AGENT_KIND_ICONS[(_contributor$agentKin = contributor.agentKind) !== null && _contributor$agentKin !== void 0 ? _contributor$agentKin : 'external']) !== null && _AGENT_KIND_ICONS !== void 0 ? _AGENT_KIND_ICONS : 'aiAgent', doc));
108
108
  };
109
109
  if (contributor.avatarUrl) {
110
110
  image = doc.createElement('img');
@@ -40,6 +40,18 @@ var setRevealed = function setRevealed(tag, isVisible) {
40
40
  tag.toggleAttribute(_buildContributorTagDom.CONTRIBUTOR_TAG_REVEALED_ATTRIBUTE, isVisible);
41
41
  };
42
42
 
43
+ /**
44
+ * Whether the browser is showing this focus, which is the same question its focus ring answers — see
45
+ * the `:focus-visible` rule in `contributorTagStyles`.
46
+ *
47
+ * Clicking the tag focuses it, so a tag held up by focus alone stayed on screen after the pointer had
48
+ * left, until something else took focus (EDITOR-9046). Measured in Chromium: a click leaves this
49
+ * `false` and `Tab` leaves it `true`, so the keyboard focus stop is unaffected.
50
+ */
51
+ var isFocusVisible = function isFocusVisible(tag) {
52
+ return tag.matches(':focus-visible');
53
+ };
54
+
43
55
  /**
44
56
  * Whether flipping the tag's state will actually run a transition on it.
45
57
  *
@@ -252,6 +264,7 @@ var ContributorTagController = exports.ContributorTagController = /*#__PURE__*/f
252
264
  }, {
253
265
  key: "bindTag",
254
266
  value: function bindTag(_ref4) {
267
+ var _this3 = this;
255
268
  var tag = _ref4.tag;
256
269
  // `mouseover`/`mouseout` rather than the enter/leave pair, because they are what fire as the
257
270
  // pointer moves between the tag's own children. Both are keyed on the tag, so those moves add
@@ -262,9 +275,13 @@ var ContributorTagController = exports.ContributorTagController = /*#__PURE__*/f
262
275
  }, {
263
276
  type: 'mouseout',
264
277
  listener: this.trackRevealSource(tag, false)
265
- }, {
278
+ },
279
+ // Only a focus the browser is showing holds the tag up — see `isFocusVisible`.
280
+ {
266
281
  type: 'focus',
267
- listener: this.trackRevealSource(FOCUS_SOURCE, true)
282
+ listener: function listener() {
283
+ return _this3.setRevealSource(FOCUS_SOURCE, isFocusVisible(tag));
284
+ }
268
285
  }, {
269
286
  type: 'blur',
270
287
  listener: this.trackRevealSource(FOCUS_SOURCE, false)
@@ -275,21 +292,26 @@ var ContributorTagController = exports.ContributorTagController = /*#__PURE__*/f
275
292
  }, {
276
293
  key: "trackRevealSource",
277
294
  value: function trackRevealSource(source, isRevealing) {
278
- var _this3 = this;
295
+ var _this4 = this;
279
296
  return function () {
280
- if (isRevealing) {
281
- _this3.revealSources.add(source);
282
- } else {
283
- _this3.revealSources.delete(source);
284
- }
285
- _this3.applyVisibility();
297
+ return _this4.setRevealSource(source, isRevealing);
286
298
  };
287
299
  }
300
+ }, {
301
+ key: "setRevealSource",
302
+ value: function setRevealSource(source, isRevealing) {
303
+ if (isRevealing) {
304
+ this.revealSources.add(source);
305
+ } else {
306
+ this.revealSources.delete(source);
307
+ }
308
+ this.applyVisibility();
309
+ }
288
310
  }, {
289
311
  key: "renderAvatars",
290
312
  value: function renderAvatars(model) {
291
313
  var _this$dom,
292
- _this4 = this;
314
+ _this5 = this;
293
315
  var _ref5 = (_this$dom = this.dom) !== null && _this$dom !== void 0 ? _this$dom : {},
294
316
  container = _ref5.avatars;
295
317
  if (!container) {
@@ -333,7 +355,7 @@ var ContributorTagController = exports.ContributorTagController = /*#__PURE__*/f
333
355
  avatar.element.style.setProperty('margin-inline-end', "var(--ds-space-negative-050, -4px)");
334
356
  }
335
357
  container.appendChild(avatar.element);
336
- _this4.avatars.push(avatar);
358
+ _this5.avatars.push(avatar);
337
359
  });
338
360
  }
339
361
  }, {
@@ -484,7 +506,7 @@ var ContributorTagController = exports.ContributorTagController = /*#__PURE__*/f
484
506
  key: "syncHighlightBindings",
485
507
  value: function syncHighlightBindings(model) {
486
508
  var _model$linkedDiffIds,
487
- _this5 = this;
509
+ _this6 = this;
488
510
  var diffId = this.options.diffId;
489
511
  var selector = [diffId].concat((0, _toConsumableArray2.default)((_model$linkedDiffIds = model.linkedDiffIds) !== null && _model$linkedDiffIds !== void 0 ? _model$linkedDiffIds : [])).map(function (id) {
490
512
  return "[data-diff-id=\"".concat(id, "\"]");
@@ -499,8 +521,8 @@ var ContributorTagController = exports.ContributorTagController = /*#__PURE__*/f
499
521
  // not be in the document yet. A microtask lands once that pass has finished.
500
522
  var pendingBind = ++this.bindToken;
501
523
  queueMicrotask(function () {
502
- if (!_this5.isDestroyed && pendingBind === _this5.bindToken) {
503
- _this5.bindHighlightState(selector);
524
+ if (!_this6.isDestroyed && pendingBind === _this6.bindToken) {
525
+ _this6.bindHighlightState(selector);
504
526
  }
505
527
  });
506
528
  }
@@ -508,7 +530,7 @@ var ContributorTagController = exports.ContributorTagController = /*#__PURE__*/f
508
530
  key: "bindHighlightState",
509
531
  value: function bindHighlightState(selector) {
510
532
  var _this$options$getEdit,
511
- _this6 = this;
533
+ _this7 = this;
512
534
  // Scoped to this editor's content root, so a tag can only ever bind to the decorations its own
513
535
  // plugin instance rendered — another editor on the page, or one nested inside this one, cannot
514
536
  // reveal this tag.
@@ -524,10 +546,10 @@ var ContributorTagController = exports.ContributorTagController = /*#__PURE__*/f
524
546
  this.unbindHighlights = this.highlightElements.map(function (highlight) {
525
547
  return (0, _bindEventListener.bindAll)(highlight, [{
526
548
  type: 'mouseenter',
527
- listener: _this6.trackRevealSource(highlight, true)
549
+ listener: _this7.trackRevealSource(highlight, true)
528
550
  }, {
529
551
  type: 'mouseleave',
530
- listener: _this6.trackRevealSource(highlight, false)
552
+ listener: _this7.trackRevealSource(highlight, false)
531
553
  }]);
532
554
  });
533
555
  // The pointer may already be over a highlight by the time this binds, a draw pass after it
@@ -21,12 +21,20 @@ var PERSON_ICON_SVG = "<svg width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0
21
21
  /** `@atlaskit/icon-lab/core/ai-bot`, at 12px so it fits inside the 16px hexagon. */
22
22
  var AI_BOT_ICON_SVG = "<svg width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 16 16\" role=\"presentation\" style=\"display:block\"><path fill=\"currentcolor\" d=\"M13 5.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5V13a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5zm-6.5 2v3H5v-3zm4.5 0v3H9.5v-3zm3.5 1H16V10h-1.5v3a2 2 0 0 1-2 2h-9a2 2 0 0 1-2-2v-3H0V8.5h1.5v-3a2 2 0 0 1 2-2h3.75v-2H4V0h4a.75.75 0 0 1 .75.75V3.5h3.75a2 2 0 0 1 2 2z\"/></svg>";
23
23
 
24
+ /**
25
+ * The glyph from `@atlaskit/icon/core/ai-agent`, at 12px so it fits inside the 16px hexagon.
26
+ * The icon package only exposes this as a React component; this tag is otherwise imperative DOM,
27
+ * so keep the generated glyph here rather than introducing a React render boundary.
28
+ */
29
+ var AI_AGENT_ICON_SVG = "<svg width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 16 16\" role=\"presentation\" style=\"display:block\"><path fill=\"currentcolor\" fill-rule=\"evenodd\" d=\"M6.971.493a2 2 0 0 1 2.058 0l5 3A2 2 0 0 1 15 5.208v5.584a2 2 0 0 1-.971 1.715l-5 3a2 2 0 0 1-2.058 0l-5-3A2 2 0 0 1 1 10.792V5.208a2 2 0 0 1 .971-1.715zm1.286 1.286a.5.5 0 0 0-.514 0l-5 3a.5.5 0 0 0-.243.429v5.584a.5.5 0 0 0 .243.429l1.098.66a4.25 4.25 0 1 1 8.318 0l1.098-.66a.5.5 0 0 0 .243-.429V5.208a.5.5 0 0 0-.243-.429zM8 8.25a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5\" clip-rule=\"evenodd\"/></svg>";
30
+
24
31
  /** `RovoHexIcon` from `@atlaskit/logo/rovo-hex/icon`, at the 16px `xxsmall` renders. */
25
32
  var ROVO_HEX_ICON_SVG = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" role=\"presentation\" style=\"display:block\"><path fill=\"#1868db\" fill-rule=\"evenodd\" d=\"m13.227 16.789-7.154 4.169-3.403-1.96a2.72 2.72 0 0 1-1.362-2.355V7.366c0-.973.518-1.87 1.361-2.354l6.044-3.487-.038.114a3.6 3.6 0 0 0-.172 1.088v9.278c0 1.274.68 2.45 1.786 3.085z\" clip-rule=\"evenodd\"/><path fill=\"#6a9a23\" fill-rule=\"evenodd\" d=\"m11.296 15.671-7.193 4.153 6.607 3.812a2.73 2.73 0 0 0 2.676.026l.048-.033a2.73 2.73 0 0 0 1.232-1.525 2.7 2.7 0 0 0 .127-.822v-3.594z\" clip-rule=\"evenodd\"/><path fill=\"#af59e1\" fill-rule=\"evenodd\" d=\"m21.477 5.003-4.404-2.539-5.904 4.89 2.69 1.556a3.56 3.56 0 0 1 1.785 3.086v9.277a3.6 3.6 0 0 1-.21 1.202l6.044-3.486a2.71 2.71 0 0 0 1.362-2.355V7.357c0-.97-.521-1.87-1.363-2.354\" clip-rule=\"evenodd\"/><path fill=\"#fca700\" fill-rule=\"evenodd\" d=\"M12.74 8.266 9.353 6.312V2.718c0-.283.044-.56.127-.821A2.73 2.73 0 0 1 10.71.372V.37a.4.4 0 0 0 .048-.033 2.73 2.73 0 0 1 2.676.026l6.499 3.75z\" clip-rule=\"evenodd\"/></svg>";
26
33
 
27
34
  /** ClaudeLogo from ai-mate/studio-browse-kit, inset to fit the agent hexagon. */
28
35
  var CLAUDE_ICON_SVG = "<svg width=\"12\" height=\"12\" viewBox=\"8 8 32 32\" role=\"presentation\" style=\"display:block\"><path fill=\"#FFFFFF\" d=\"M14.2785 29.274L20.5732 25.7445L20.6785 25.4369L20.5732 25.2669H20.2653L19.2122 25.2021L15.6152 25.105L12.4962 24.9755L9.47443 24.8136L8.71291 24.6517L8 23.7126L8.07291 23.2431L8.71291 22.8141L9.62835 22.895L11.6537 23.0326L14.6916 23.2431L16.8952 23.3726L20.16 23.7126H20.6785L20.7514 23.5022L20.5732 23.3726L20.4354 23.2431L17.2922 21.1141L13.8896 18.8636L12.1073 17.5684L11.1433 16.9127L10.6572 16.2975L10.4466 14.9537L11.3215 13.9904L12.4962 14.0713L12.7959 14.1523L13.9868 15.067L16.5306 17.0342L19.8522 19.4789L20.3382 19.8836L20.5327 19.746L20.557 19.6489L20.3382 19.2846L18.5316 16.0223L16.6035 12.7033L15.7448 11.3271L15.518 10.5014C15.437 10.1614 15.3803 9.87807 15.3803 9.52998L16.3767 8.17809L16.9276 8L18.2562 8.17809L18.8152 8.6638L19.6415 10.55L20.9782 13.5209L23.0522 17.5603L23.6597 18.7584L23.9838 19.8674L24.1053 20.2074H24.3159V20.0132L24.4861 17.7384L24.802 14.9456L25.1099 11.3514L25.2152 10.3395L25.7175 9.12522L26.7139 8.46952L27.4916 8.84189L28.1316 9.75664L28.0425 10.3476L27.6618 12.8166L26.9165 16.6861L26.4304 19.2765H26.7139L27.038 18.9527L28.3504 17.2122L30.5539 14.4599L31.5261 13.3671L32.6603 12.1609L33.3894 11.5861H34.7666L35.7792 13.0918L35.3256 14.6461L33.9079 16.4432L32.7332 17.9651L31.0481 20.2317L29.9949 22.045L30.0922 22.1907L30.3433 22.1665L34.1509 21.3569L36.2086 20.9846L38.6633 20.5636L39.7732 21.0817L39.8947 21.6079L39.4572 22.6845L36.8324 23.3322L33.7539 23.9474L29.1686 25.0321L29.1119 25.0726L29.1767 25.1536L31.2425 25.3478L32.1256 25.3964H34.2886L38.3149 25.6959L39.3681 26.3921L40 27.2421L39.8947 27.8897L38.2744 28.7154L36.0871 28.1973L30.9833 26.9831L29.2334 26.5459H28.9904V26.6916L30.4486 28.1164L33.122 30.5287L36.4678 33.6372L36.638 34.4063L36.2086 35.0134L35.7549 34.9486L32.8142 32.7387L31.68 31.743L29.1119 29.5816H28.9418V29.8082L29.5332 30.6744L32.6603 35.3696L32.8223 36.8105L32.5954 37.28L31.7853 37.5634L30.8942 37.4015L29.0633 34.8353L27.1757 31.9454L25.6527 29.3549L25.4663 29.4602L24.5671 39.1338L24.1458 39.6276L23.1737 40L22.3635 39.3848L21.9342 38.3891L22.3635 36.422L22.882 33.8558L23.3033 31.8158L23.6841 29.2821L23.9109 28.4402L23.8947 28.3835L23.7084 28.4078L21.7965 31.0306L18.8881 34.9567L16.5873 37.4177L16.0365 37.6362L15.0805 37.1424L15.1696 36.2601L15.7043 35.4748L18.8881 31.4273L20.8081 28.9178L22.0476 27.4688L22.0395 27.2583H21.9666L13.5089 32.7468L12.002 32.9411L11.3539 32.3339L11.4349 31.3382L11.7428 31.0144L14.2866 29.2659L14.2785 29.274Z\"/></svg>";
29
36
  var markup = {
37
+ aiAgent: AI_AGENT_ICON_SVG,
30
38
  aiBot: AI_BOT_ICON_SVG,
31
39
  claude: CLAUDE_ICON_SVG,
32
40
  person: PERSON_ICON_SVG,
@@ -1,4 +1,4 @@
1
- /* IndicatorBar.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* IndicatorBar.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* IndicatorBarContentComponent.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* IndicatorBarContentComponent.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -100,7 +100,7 @@ export const contributorAvatarRenderer = ({
100
100
  shape.appendChild(fallback);
101
101
  return;
102
102
  }
103
- shape.appendChild(getContributorTagIcon((_AGENT_KIND_ICONS = AGENT_KIND_ICONS[(_contributor$agentKin = contributor.agentKind) !== null && _contributor$agentKin !== void 0 ? _contributor$agentKin : 'external']) !== null && _AGENT_KIND_ICONS !== void 0 ? _AGENT_KIND_ICONS : 'aiBot', doc));
103
+ shape.appendChild(getContributorTagIcon((_AGENT_KIND_ICONS = AGENT_KIND_ICONS[(_contributor$agentKin = contributor.agentKind) !== null && _contributor$agentKin !== void 0 ? _contributor$agentKin : 'external']) !== null && _AGENT_KIND_ICONS !== void 0 ? _AGENT_KIND_ICONS : 'aiAgent', doc));
104
104
  };
105
105
  if (contributor.avatarUrl) {
106
106
  image = doc.createElement('img');
@@ -31,6 +31,16 @@ const setRevealed = (tag, isVisible) => {
31
31
  tag.toggleAttribute(CONTRIBUTOR_TAG_REVEALED_ATTRIBUTE, isVisible);
32
32
  };
33
33
 
34
+ /**
35
+ * Whether the browser is showing this focus, which is the same question its focus ring answers — see
36
+ * the `:focus-visible` rule in `contributorTagStyles`.
37
+ *
38
+ * Clicking the tag focuses it, so a tag held up by focus alone stayed on screen after the pointer had
39
+ * left, until something else took focus (EDITOR-9046). Measured in Chromium: a click leaves this
40
+ * `false` and `Tab` leaves it `true`, so the keyboard focus stop is unaffected.
41
+ */
42
+ const isFocusVisible = tag => tag.matches(':focus-visible');
43
+
34
44
  /**
35
45
  * Whether flipping the tag's state will actually run a transition on it.
36
46
  *
@@ -235,9 +245,11 @@ export class ContributorTagController {
235
245
  }, {
236
246
  type: 'mouseout',
237
247
  listener: this.trackRevealSource(tag, false)
238
- }, {
248
+ },
249
+ // Only a focus the browser is showing holds the tag up — see `isFocusVisible`.
250
+ {
239
251
  type: 'focus',
240
- listener: this.trackRevealSource(FOCUS_SOURCE, true)
252
+ listener: () => this.setRevealSource(FOCUS_SOURCE, isFocusVisible(tag))
241
253
  }, {
242
254
  type: 'blur',
243
255
  listener: this.trackRevealSource(FOCUS_SOURCE, false)
@@ -246,14 +258,15 @@ export class ContributorTagController {
246
258
 
247
259
  /** One listener shape for every reveal source, so all of them land in the same set. */
248
260
  trackRevealSource(source, isRevealing) {
249
- return () => {
250
- if (isRevealing) {
251
- this.revealSources.add(source);
252
- } else {
253
- this.revealSources.delete(source);
254
- }
255
- this.applyVisibility();
256
- };
261
+ return () => this.setRevealSource(source, isRevealing);
262
+ }
263
+ setRevealSource(source, isRevealing) {
264
+ if (isRevealing) {
265
+ this.revealSources.add(source);
266
+ } else {
267
+ this.revealSources.delete(source);
268
+ }
269
+ this.applyVisibility();
257
270
  }
258
271
  renderAvatars(model) {
259
272
  var _this$dom;
@@ -15,12 +15,20 @@ const PERSON_ICON_SVG = `<svg width="16" height="16" fill="none" viewBox="0 0 16
15
15
  /** `@atlaskit/icon-lab/core/ai-bot`, at 12px so it fits inside the 16px hexagon. */
16
16
  const AI_BOT_ICON_SVG = `<svg width="12" height="12" fill="none" viewBox="0 0 16 16" role="presentation" style="display:block"><path fill="currentcolor" d="M13 5.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5V13a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5zm-6.5 2v3H5v-3zm4.5 0v3H9.5v-3zm3.5 1H16V10h-1.5v3a2 2 0 0 1-2 2h-9a2 2 0 0 1-2-2v-3H0V8.5h1.5v-3a2 2 0 0 1 2-2h3.75v-2H4V0h4a.75.75 0 0 1 .75.75V3.5h3.75a2 2 0 0 1 2 2z"/></svg>`;
17
17
 
18
+ /**
19
+ * The glyph from `@atlaskit/icon/core/ai-agent`, at 12px so it fits inside the 16px hexagon.
20
+ * The icon package only exposes this as a React component; this tag is otherwise imperative DOM,
21
+ * so keep the generated glyph here rather than introducing a React render boundary.
22
+ */
23
+ const AI_AGENT_ICON_SVG = `<svg width="12" height="12" fill="none" viewBox="0 0 16 16" role="presentation" style="display:block"><path fill="currentcolor" fill-rule="evenodd" d="M6.971.493a2 2 0 0 1 2.058 0l5 3A2 2 0 0 1 15 5.208v5.584a2 2 0 0 1-.971 1.715l-5 3a2 2 0 0 1-2.058 0l-5-3A2 2 0 0 1 1 10.792V5.208a2 2 0 0 1 .971-1.715zm1.286 1.286a.5.5 0 0 0-.514 0l-5 3a.5.5 0 0 0-.243.429v5.584a.5.5 0 0 0 .243.429l1.098.66a4.25 4.25 0 1 1 8.318 0l1.098-.66a.5.5 0 0 0 .243-.429V5.208a.5.5 0 0 0-.243-.429zM8 8.25a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5" clip-rule="evenodd"/></svg>`;
24
+
18
25
  /** `RovoHexIcon` from `@atlaskit/logo/rovo-hex/icon`, at the 16px `xxsmall` renders. */
19
26
  const ROVO_HEX_ICON_SVG = `<svg width="16" height="16" viewBox="0 0 24 24" role="presentation" style="display:block"><path fill="#1868db" fill-rule="evenodd" d="m13.227 16.789-7.154 4.169-3.403-1.96a2.72 2.72 0 0 1-1.362-2.355V7.366c0-.973.518-1.87 1.361-2.354l6.044-3.487-.038.114a3.6 3.6 0 0 0-.172 1.088v9.278c0 1.274.68 2.45 1.786 3.085z" clip-rule="evenodd"/><path fill="#6a9a23" fill-rule="evenodd" d="m11.296 15.671-7.193 4.153 6.607 3.812a2.73 2.73 0 0 0 2.676.026l.048-.033a2.73 2.73 0 0 0 1.232-1.525 2.7 2.7 0 0 0 .127-.822v-3.594z" clip-rule="evenodd"/><path fill="#af59e1" fill-rule="evenodd" d="m21.477 5.003-4.404-2.539-5.904 4.89 2.69 1.556a3.56 3.56 0 0 1 1.785 3.086v9.277a3.6 3.6 0 0 1-.21 1.202l6.044-3.486a2.71 2.71 0 0 0 1.362-2.355V7.357c0-.97-.521-1.87-1.363-2.354" clip-rule="evenodd"/><path fill="#fca700" fill-rule="evenodd" d="M12.74 8.266 9.353 6.312V2.718c0-.283.044-.56.127-.821A2.73 2.73 0 0 1 10.71.372V.37a.4.4 0 0 0 .048-.033 2.73 2.73 0 0 1 2.676.026l6.499 3.75z" clip-rule="evenodd"/></svg>`;
20
27
 
21
28
  /** ClaudeLogo from ai-mate/studio-browse-kit, inset to fit the agent hexagon. */
22
29
  const CLAUDE_ICON_SVG = `<svg width="12" height="12" viewBox="8 8 32 32" role="presentation" style="display:block"><path fill="#FFFFFF" d="M14.2785 29.274L20.5732 25.7445L20.6785 25.4369L20.5732 25.2669H20.2653L19.2122 25.2021L15.6152 25.105L12.4962 24.9755L9.47443 24.8136L8.71291 24.6517L8 23.7126L8.07291 23.2431L8.71291 22.8141L9.62835 22.895L11.6537 23.0326L14.6916 23.2431L16.8952 23.3726L20.16 23.7126H20.6785L20.7514 23.5022L20.5732 23.3726L20.4354 23.2431L17.2922 21.1141L13.8896 18.8636L12.1073 17.5684L11.1433 16.9127L10.6572 16.2975L10.4466 14.9537L11.3215 13.9904L12.4962 14.0713L12.7959 14.1523L13.9868 15.067L16.5306 17.0342L19.8522 19.4789L20.3382 19.8836L20.5327 19.746L20.557 19.6489L20.3382 19.2846L18.5316 16.0223L16.6035 12.7033L15.7448 11.3271L15.518 10.5014C15.437 10.1614 15.3803 9.87807 15.3803 9.52998L16.3767 8.17809L16.9276 8L18.2562 8.17809L18.8152 8.6638L19.6415 10.55L20.9782 13.5209L23.0522 17.5603L23.6597 18.7584L23.9838 19.8674L24.1053 20.2074H24.3159V20.0132L24.4861 17.7384L24.802 14.9456L25.1099 11.3514L25.2152 10.3395L25.7175 9.12522L26.7139 8.46952L27.4916 8.84189L28.1316 9.75664L28.0425 10.3476L27.6618 12.8166L26.9165 16.6861L26.4304 19.2765H26.7139L27.038 18.9527L28.3504 17.2122L30.5539 14.4599L31.5261 13.3671L32.6603 12.1609L33.3894 11.5861H34.7666L35.7792 13.0918L35.3256 14.6461L33.9079 16.4432L32.7332 17.9651L31.0481 20.2317L29.9949 22.045L30.0922 22.1907L30.3433 22.1665L34.1509 21.3569L36.2086 20.9846L38.6633 20.5636L39.7732 21.0817L39.8947 21.6079L39.4572 22.6845L36.8324 23.3322L33.7539 23.9474L29.1686 25.0321L29.1119 25.0726L29.1767 25.1536L31.2425 25.3478L32.1256 25.3964H34.2886L38.3149 25.6959L39.3681 26.3921L40 27.2421L39.8947 27.8897L38.2744 28.7154L36.0871 28.1973L30.9833 26.9831L29.2334 26.5459H28.9904V26.6916L30.4486 28.1164L33.122 30.5287L36.4678 33.6372L36.638 34.4063L36.2086 35.0134L35.7549 34.9486L32.8142 32.7387L31.68 31.743L29.1119 29.5816H28.9418V29.8082L29.5332 30.6744L32.6603 35.3696L32.8223 36.8105L32.5954 37.28L31.7853 37.5634L30.8942 37.4015L29.0633 34.8353L27.1757 31.9454L25.6527 29.3549L25.4663 29.4602L24.5671 39.1338L24.1458 39.6276L23.1737 40L22.3635 39.3848L21.9342 38.3891L22.3635 36.422L22.882 33.8558L23.3033 31.8158L23.6841 29.2821L23.9109 28.4402L23.8947 28.3835L23.7084 28.4078L21.7965 31.0306L18.8881 34.9567L16.5873 37.4177L16.0365 37.6362L15.0805 37.1424L15.1696 36.2601L15.7043 35.4748L18.8881 31.4273L20.8081 28.9178L22.0476 27.4688L22.0395 27.2583H21.9666L13.5089 32.7468L12.002 32.9411L11.3539 32.3339L11.4349 31.3382L11.7428 31.0144L14.2866 29.2659L14.2785 29.274Z"/></svg>`;
23
30
  const markup = {
31
+ aiAgent: AI_AGENT_ICON_SVG,
24
32
  aiBot: AI_BOT_ICON_SVG,
25
33
  claude: CLAUDE_ICON_SVG,
26
34
  person: PERSON_ICON_SVG,
@@ -1,4 +1,4 @@
1
- /* IndicatorBar.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* IndicatorBar.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./IndicatorBar.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* IndicatorBarContentComponent.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* IndicatorBarContentComponent.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import { ax, ix } from "@compiled/react/runtime";
3
3
  import React from 'react';
4
4
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
@@ -99,7 +99,7 @@ export var contributorAvatarRenderer = function contributorAvatarRenderer(_ref)
99
99
  shape.appendChild(fallback);
100
100
  return;
101
101
  }
102
- shape.appendChild(getContributorTagIcon((_AGENT_KIND_ICONS = AGENT_KIND_ICONS[(_contributor$agentKin = contributor.agentKind) !== null && _contributor$agentKin !== void 0 ? _contributor$agentKin : 'external']) !== null && _AGENT_KIND_ICONS !== void 0 ? _AGENT_KIND_ICONS : 'aiBot', doc));
102
+ shape.appendChild(getContributorTagIcon((_AGENT_KIND_ICONS = AGENT_KIND_ICONS[(_contributor$agentKin = contributor.agentKind) !== null && _contributor$agentKin !== void 0 ? _contributor$agentKin : 'external']) !== null && _AGENT_KIND_ICONS !== void 0 ? _AGENT_KIND_ICONS : 'aiAgent', doc));
103
103
  };
104
104
  if (contributor.avatarUrl) {
105
105
  image = doc.createElement('img');
@@ -33,6 +33,18 @@ var setRevealed = function setRevealed(tag, isVisible) {
33
33
  tag.toggleAttribute(CONTRIBUTOR_TAG_REVEALED_ATTRIBUTE, isVisible);
34
34
  };
35
35
 
36
+ /**
37
+ * Whether the browser is showing this focus, which is the same question its focus ring answers — see
38
+ * the `:focus-visible` rule in `contributorTagStyles`.
39
+ *
40
+ * Clicking the tag focuses it, so a tag held up by focus alone stayed on screen after the pointer had
41
+ * left, until something else took focus (EDITOR-9046). Measured in Chromium: a click leaves this
42
+ * `false` and `Tab` leaves it `true`, so the keyboard focus stop is unaffected.
43
+ */
44
+ var isFocusVisible = function isFocusVisible(tag) {
45
+ return tag.matches(':focus-visible');
46
+ };
47
+
36
48
  /**
37
49
  * Whether flipping the tag's state will actually run a transition on it.
38
50
  *
@@ -245,6 +257,7 @@ export var ContributorTagController = /*#__PURE__*/function () {
245
257
  }, {
246
258
  key: "bindTag",
247
259
  value: function bindTag(_ref4) {
260
+ var _this3 = this;
248
261
  var tag = _ref4.tag;
249
262
  // `mouseover`/`mouseout` rather than the enter/leave pair, because they are what fire as the
250
263
  // pointer moves between the tag's own children. Both are keyed on the tag, so those moves add
@@ -255,9 +268,13 @@ export var ContributorTagController = /*#__PURE__*/function () {
255
268
  }, {
256
269
  type: 'mouseout',
257
270
  listener: this.trackRevealSource(tag, false)
258
- }, {
271
+ },
272
+ // Only a focus the browser is showing holds the tag up — see `isFocusVisible`.
273
+ {
259
274
  type: 'focus',
260
- listener: this.trackRevealSource(FOCUS_SOURCE, true)
275
+ listener: function listener() {
276
+ return _this3.setRevealSource(FOCUS_SOURCE, isFocusVisible(tag));
277
+ }
261
278
  }, {
262
279
  type: 'blur',
263
280
  listener: this.trackRevealSource(FOCUS_SOURCE, false)
@@ -268,21 +285,26 @@ export var ContributorTagController = /*#__PURE__*/function () {
268
285
  }, {
269
286
  key: "trackRevealSource",
270
287
  value: function trackRevealSource(source, isRevealing) {
271
- var _this3 = this;
288
+ var _this4 = this;
272
289
  return function () {
273
- if (isRevealing) {
274
- _this3.revealSources.add(source);
275
- } else {
276
- _this3.revealSources.delete(source);
277
- }
278
- _this3.applyVisibility();
290
+ return _this4.setRevealSource(source, isRevealing);
279
291
  };
280
292
  }
293
+ }, {
294
+ key: "setRevealSource",
295
+ value: function setRevealSource(source, isRevealing) {
296
+ if (isRevealing) {
297
+ this.revealSources.add(source);
298
+ } else {
299
+ this.revealSources.delete(source);
300
+ }
301
+ this.applyVisibility();
302
+ }
281
303
  }, {
282
304
  key: "renderAvatars",
283
305
  value: function renderAvatars(model) {
284
306
  var _this$dom,
285
- _this4 = this;
307
+ _this5 = this;
286
308
  var _ref5 = (_this$dom = this.dom) !== null && _this$dom !== void 0 ? _this$dom : {},
287
309
  container = _ref5.avatars;
288
310
  if (!container) {
@@ -326,7 +348,7 @@ export var ContributorTagController = /*#__PURE__*/function () {
326
348
  avatar.element.style.setProperty('margin-inline-end', "var(--ds-space-negative-050, -4px)");
327
349
  }
328
350
  container.appendChild(avatar.element);
329
- _this4.avatars.push(avatar);
351
+ _this5.avatars.push(avatar);
330
352
  });
331
353
  }
332
354
  }, {
@@ -477,7 +499,7 @@ export var ContributorTagController = /*#__PURE__*/function () {
477
499
  key: "syncHighlightBindings",
478
500
  value: function syncHighlightBindings(model) {
479
501
  var _model$linkedDiffIds,
480
- _this5 = this;
502
+ _this6 = this;
481
503
  var diffId = this.options.diffId;
482
504
  var selector = [diffId].concat(_toConsumableArray((_model$linkedDiffIds = model.linkedDiffIds) !== null && _model$linkedDiffIds !== void 0 ? _model$linkedDiffIds : [])).map(function (id) {
483
505
  return "[data-diff-id=\"".concat(id, "\"]");
@@ -492,8 +514,8 @@ export var ContributorTagController = /*#__PURE__*/function () {
492
514
  // not be in the document yet. A microtask lands once that pass has finished.
493
515
  var pendingBind = ++this.bindToken;
494
516
  queueMicrotask(function () {
495
- if (!_this5.isDestroyed && pendingBind === _this5.bindToken) {
496
- _this5.bindHighlightState(selector);
517
+ if (!_this6.isDestroyed && pendingBind === _this6.bindToken) {
518
+ _this6.bindHighlightState(selector);
497
519
  }
498
520
  });
499
521
  }
@@ -501,7 +523,7 @@ export var ContributorTagController = /*#__PURE__*/function () {
501
523
  key: "bindHighlightState",
502
524
  value: function bindHighlightState(selector) {
503
525
  var _this$options$getEdit,
504
- _this6 = this;
526
+ _this7 = this;
505
527
  // Scoped to this editor's content root, so a tag can only ever bind to the decorations its own
506
528
  // plugin instance rendered — another editor on the page, or one nested inside this one, cannot
507
529
  // reveal this tag.
@@ -517,10 +539,10 @@ export var ContributorTagController = /*#__PURE__*/function () {
517
539
  this.unbindHighlights = this.highlightElements.map(function (highlight) {
518
540
  return bindAll(highlight, [{
519
541
  type: 'mouseenter',
520
- listener: _this6.trackRevealSource(highlight, true)
542
+ listener: _this7.trackRevealSource(highlight, true)
521
543
  }, {
522
544
  type: 'mouseleave',
523
- listener: _this6.trackRevealSource(highlight, false)
545
+ listener: _this7.trackRevealSource(highlight, false)
524
546
  }]);
525
547
  });
526
548
  // The pointer may already be over a highlight by the time this binds, a draw pass after it
@@ -15,12 +15,20 @@ var PERSON_ICON_SVG = "<svg width=\"16\" height=\"16\" fill=\"none\" viewBox=\"0
15
15
  /** `@atlaskit/icon-lab/core/ai-bot`, at 12px so it fits inside the 16px hexagon. */
16
16
  var AI_BOT_ICON_SVG = "<svg width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 16 16\" role=\"presentation\" style=\"display:block\"><path fill=\"currentcolor\" d=\"M13 5.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5V13a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5zm-6.5 2v3H5v-3zm4.5 0v3H9.5v-3zm3.5 1H16V10h-1.5v3a2 2 0 0 1-2 2h-9a2 2 0 0 1-2-2v-3H0V8.5h1.5v-3a2 2 0 0 1 2-2h3.75v-2H4V0h4a.75.75 0 0 1 .75.75V3.5h3.75a2 2 0 0 1 2 2z\"/></svg>";
17
17
 
18
+ /**
19
+ * The glyph from `@atlaskit/icon/core/ai-agent`, at 12px so it fits inside the 16px hexagon.
20
+ * The icon package only exposes this as a React component; this tag is otherwise imperative DOM,
21
+ * so keep the generated glyph here rather than introducing a React render boundary.
22
+ */
23
+ var AI_AGENT_ICON_SVG = "<svg width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 16 16\" role=\"presentation\" style=\"display:block\"><path fill=\"currentcolor\" fill-rule=\"evenodd\" d=\"M6.971.493a2 2 0 0 1 2.058 0l5 3A2 2 0 0 1 15 5.208v5.584a2 2 0 0 1-.971 1.715l-5 3a2 2 0 0 1-2.058 0l-5-3A2 2 0 0 1 1 10.792V5.208a2 2 0 0 1 .971-1.715zm1.286 1.286a.5.5 0 0 0-.514 0l-5 3a.5.5 0 0 0-.243.429v5.584a.5.5 0 0 0 .243.429l1.098.66a4.25 4.25 0 1 1 8.318 0l1.098-.66a.5.5 0 0 0 .243-.429V5.208a.5.5 0 0 0-.243-.429zM8 8.25a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5\" clip-rule=\"evenodd\"/></svg>";
24
+
18
25
  /** `RovoHexIcon` from `@atlaskit/logo/rovo-hex/icon`, at the 16px `xxsmall` renders. */
19
26
  var ROVO_HEX_ICON_SVG = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" role=\"presentation\" style=\"display:block\"><path fill=\"#1868db\" fill-rule=\"evenodd\" d=\"m13.227 16.789-7.154 4.169-3.403-1.96a2.72 2.72 0 0 1-1.362-2.355V7.366c0-.973.518-1.87 1.361-2.354l6.044-3.487-.038.114a3.6 3.6 0 0 0-.172 1.088v9.278c0 1.274.68 2.45 1.786 3.085z\" clip-rule=\"evenodd\"/><path fill=\"#6a9a23\" fill-rule=\"evenodd\" d=\"m11.296 15.671-7.193 4.153 6.607 3.812a2.73 2.73 0 0 0 2.676.026l.048-.033a2.73 2.73 0 0 0 1.232-1.525 2.7 2.7 0 0 0 .127-.822v-3.594z\" clip-rule=\"evenodd\"/><path fill=\"#af59e1\" fill-rule=\"evenodd\" d=\"m21.477 5.003-4.404-2.539-5.904 4.89 2.69 1.556a3.56 3.56 0 0 1 1.785 3.086v9.277a3.6 3.6 0 0 1-.21 1.202l6.044-3.486a2.71 2.71 0 0 0 1.362-2.355V7.357c0-.97-.521-1.87-1.363-2.354\" clip-rule=\"evenodd\"/><path fill=\"#fca700\" fill-rule=\"evenodd\" d=\"M12.74 8.266 9.353 6.312V2.718c0-.283.044-.56.127-.821A2.73 2.73 0 0 1 10.71.372V.37a.4.4 0 0 0 .048-.033 2.73 2.73 0 0 1 2.676.026l6.499 3.75z\" clip-rule=\"evenodd\"/></svg>";
20
27
 
21
28
  /** ClaudeLogo from ai-mate/studio-browse-kit, inset to fit the agent hexagon. */
22
29
  var CLAUDE_ICON_SVG = "<svg width=\"12\" height=\"12\" viewBox=\"8 8 32 32\" role=\"presentation\" style=\"display:block\"><path fill=\"#FFFFFF\" d=\"M14.2785 29.274L20.5732 25.7445L20.6785 25.4369L20.5732 25.2669H20.2653L19.2122 25.2021L15.6152 25.105L12.4962 24.9755L9.47443 24.8136L8.71291 24.6517L8 23.7126L8.07291 23.2431L8.71291 22.8141L9.62835 22.895L11.6537 23.0326L14.6916 23.2431L16.8952 23.3726L20.16 23.7126H20.6785L20.7514 23.5022L20.5732 23.3726L20.4354 23.2431L17.2922 21.1141L13.8896 18.8636L12.1073 17.5684L11.1433 16.9127L10.6572 16.2975L10.4466 14.9537L11.3215 13.9904L12.4962 14.0713L12.7959 14.1523L13.9868 15.067L16.5306 17.0342L19.8522 19.4789L20.3382 19.8836L20.5327 19.746L20.557 19.6489L20.3382 19.2846L18.5316 16.0223L16.6035 12.7033L15.7448 11.3271L15.518 10.5014C15.437 10.1614 15.3803 9.87807 15.3803 9.52998L16.3767 8.17809L16.9276 8L18.2562 8.17809L18.8152 8.6638L19.6415 10.55L20.9782 13.5209L23.0522 17.5603L23.6597 18.7584L23.9838 19.8674L24.1053 20.2074H24.3159V20.0132L24.4861 17.7384L24.802 14.9456L25.1099 11.3514L25.2152 10.3395L25.7175 9.12522L26.7139 8.46952L27.4916 8.84189L28.1316 9.75664L28.0425 10.3476L27.6618 12.8166L26.9165 16.6861L26.4304 19.2765H26.7139L27.038 18.9527L28.3504 17.2122L30.5539 14.4599L31.5261 13.3671L32.6603 12.1609L33.3894 11.5861H34.7666L35.7792 13.0918L35.3256 14.6461L33.9079 16.4432L32.7332 17.9651L31.0481 20.2317L29.9949 22.045L30.0922 22.1907L30.3433 22.1665L34.1509 21.3569L36.2086 20.9846L38.6633 20.5636L39.7732 21.0817L39.8947 21.6079L39.4572 22.6845L36.8324 23.3322L33.7539 23.9474L29.1686 25.0321L29.1119 25.0726L29.1767 25.1536L31.2425 25.3478L32.1256 25.3964H34.2886L38.3149 25.6959L39.3681 26.3921L40 27.2421L39.8947 27.8897L38.2744 28.7154L36.0871 28.1973L30.9833 26.9831L29.2334 26.5459H28.9904V26.6916L30.4486 28.1164L33.122 30.5287L36.4678 33.6372L36.638 34.4063L36.2086 35.0134L35.7549 34.9486L32.8142 32.7387L31.68 31.743L29.1119 29.5816H28.9418V29.8082L29.5332 30.6744L32.6603 35.3696L32.8223 36.8105L32.5954 37.28L31.7853 37.5634L30.8942 37.4015L29.0633 34.8353L27.1757 31.9454L25.6527 29.3549L25.4663 29.4602L24.5671 39.1338L24.1458 39.6276L23.1737 40L22.3635 39.3848L21.9342 38.3891L22.3635 36.422L22.882 33.8558L23.3033 31.8158L23.6841 29.2821L23.9109 28.4402L23.8947 28.3835L23.7084 28.4078L21.7965 31.0306L18.8881 34.9567L16.5873 37.4177L16.0365 37.6362L15.0805 37.1424L15.1696 36.2601L15.7043 35.4748L18.8881 31.4273L20.8081 28.9178L22.0476 27.4688L22.0395 27.2583H21.9666L13.5089 32.7468L12.002 32.9411L11.3539 32.3339L11.4349 31.3382L11.7428 31.0144L14.2866 29.2659L14.2785 29.274Z\"/></svg>";
23
30
  var markup = {
31
+ aiAgent: AI_AGENT_ICON_SVG,
24
32
  aiBot: AI_BOT_ICON_SVG,
25
33
  claude: CLAUDE_ICON_SVG,
26
34
  person: PERSON_ICON_SVG,
@@ -1,4 +1,4 @@
1
- /* IndicatorBar.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* IndicatorBar.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./IndicatorBar.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* IndicatorBarContentComponent.tsx generated by @compiled/babel-plugin v3.0.1 */
1
+ /* IndicatorBarContentComponent.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import { ax, ix } from "@compiled/react/runtime";
3
3
  import React from 'react';
4
4
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
@@ -75,6 +75,7 @@ export declare class ContributorTagController {
75
75
  private bindTag;
76
76
  /** One listener shape for every reveal source, so all of them land in the same set. */
77
77
  private trackRevealSource;
78
+ private setRevealSource;
78
79
  private renderAvatars;
79
80
  private renderLabels;
80
81
  private accentOf;
@@ -8,5 +8,5 @@
8
8
  * The Rovo hex is the `brand` appearance, whose `--rovo-*-color` variables resolve to `initial` in
9
9
  * both themes — the fallbacks below are the rendered colours, so no theme observer is needed.
10
10
  */
11
- export type ContributorTagIcon = 'aiBot' | 'claude' | 'person' | 'rovoHex';
11
+ export type ContributorTagIcon = 'aiAgent' | 'aiBot' | 'claude' | 'person' | 'rovoHex';
12
12
  export declare const getContributorTagIcon: (icon: ContributorTagIcon, doc: Document) => DocumentFragment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-show-diff",
3
- "version": "16.0.11",
3
+ "version": "16.0.12",
4
4
  "description": "ShowDiff plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,7 +32,7 @@
32
32
  "@atlaskit/platform-feature-experiments": "^0.3.0",
33
33
  "@atlaskit/platform-feature-flags": "^2.2.0",
34
34
  "@atlaskit/primitives": "^22.5.0",
35
- "@atlaskit/tmp-editor-statsig": "^195.0.0",
35
+ "@atlaskit/tmp-editor-statsig": "^196.0.0",
36
36
  "@atlaskit/tokens": "^17.0.0",
37
37
  "@babel/runtime": "^7.0.0",
38
38
  "@compiled/react": "^1.0.2",
@@ -64,7 +64,7 @@
64
64
  "react-intl": "^7.0.0"
65
65
  },
66
66
  "peerDependencies": {
67
- "@atlaskit/editor-common": "^122.6.0",
67
+ "@atlaskit/editor-common": "^122.7.0",
68
68
  "react": "^18.2.0 || ^19.2.0",
69
69
  "react-dom": "^18.2.0 || ^19.2.0",
70
70
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"