@atlaskit/editor-common 93.4.4 → 93.5.1

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,36 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 93.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#152594](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152594)
8
+ [`4f17733c95c94`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4f17733c95c94) -
9
+ [ux] ED-25093: Migrated media toolbar to use the new icons
10
+ - Updated dependencies
11
+
12
+ ## 93.5.0
13
+
14
+ ### Minor Changes
15
+
16
+ - [#151611](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151611)
17
+ [`ee71cb75c933c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ee71cb75c933c) -
18
+ ED-25294 add new attribute as engagement platform message trigger
19
+
20
+ ### Patch Changes
21
+
22
+ - [#152399](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152399)
23
+ [`fbd7217f0cb51`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fbd7217f0cb51) -
24
+ [ux] ED-25092: Added iconFallback prop to FloatingToolbarDropdown
25
+ - [#151611](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151611)
26
+ [`c866e61e26ae2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c866e61e26ae2) -
27
+ [ux] [ED-25306] When opening the media picker from the editor main toolbar do not use the
28
+ ToolbarArrowKeyNavigationProvider
29
+ - [#152510](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152510)
30
+ [`dcf9edde7ac7b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dcf9edde7ac7b) -
31
+ bump adf-schema to 42.0.1
32
+ - Updated dependencies
33
+
3
34
  ## 93.4.4
4
35
 
5
36
  ### Patch Changes
@@ -8,9 +8,15 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports.wrappingIcons = exports.layoutToMessages = exports.default = exports.alignmentIcons = void 0;
9
9
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
10
10
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
+ var _react = _interopRequireDefault(require("react"));
11
12
  var _state = require("@atlaskit/editor-prosemirror/state");
12
13
  var _utils = require("@atlaskit/editor-prosemirror/utils");
13
14
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
15
+ var _contentAlignCenter = _interopRequireDefault(require("@atlaskit/icon/core/content-align-center"));
16
+ var _contentAlignLeft = _interopRequireDefault(require("@atlaskit/icon/core/content-align-left"));
17
+ var _contentAlignRight = _interopRequireDefault(require("@atlaskit/icon/core/content-align-right"));
18
+ var _contentWrapLeft = _interopRequireDefault(require("@atlaskit/icon/core/content-wrap-left"));
19
+ var _contentWrapRight = _interopRequireDefault(require("@atlaskit/icon/core/content-wrap-right"));
14
20
  var _alignImageCenter = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/align-image-center"));
15
21
  var _alignImageLeft = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/align-image-left"));
16
22
  var _alignImageRight = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/align-image-right"));
@@ -33,24 +39,59 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
33
39
  var alignmentIcons = exports.alignmentIcons = [{
34
40
  id: 'editor.media.alignLeft',
35
41
  value: 'align-start',
36
- icon: _alignImageLeft.default
42
+ icon: function icon() {
43
+ return /*#__PURE__*/_react.default.createElement(_contentAlignLeft.default, {
44
+ color: "currentColor",
45
+ spacing: "spacious",
46
+ label: "media-toolbar-align-left-icon",
47
+ LEGACY_fallbackIcon: _alignImageLeft.default
48
+ });
49
+ }
37
50
  }, {
38
51
  id: 'editor.media.alignCenter',
39
52
  value: 'center',
40
- icon: _alignImageCenter.default
53
+ icon: function icon() {
54
+ return /*#__PURE__*/_react.default.createElement(_contentAlignCenter.default, {
55
+ color: "currentColor",
56
+ spacing: "spacious",
57
+ label: "media-toolbar-align-center-icon",
58
+ LEGACY_fallbackIcon: _alignImageCenter.default
59
+ });
60
+ }
41
61
  }, {
42
62
  id: 'editor.media.alignRight',
43
63
  value: 'align-end',
44
- icon: _alignImageRight.default
64
+ icon: function icon() {
65
+ return /*#__PURE__*/_react.default.createElement(_contentAlignRight.default, {
66
+ color: "currentColor",
67
+ spacing: "spacious",
68
+ label: "media-toolbar-align-right-icon",
69
+ LEGACY_fallbackIcon: _alignImageRight.default
70
+ });
71
+ }
45
72
  }];
46
73
  var wrappingIcons = exports.wrappingIcons = [{
47
74
  id: 'editor.media.wrapLeft',
48
75
  value: 'wrap-left',
49
- icon: _mediaWrapLeft.default
76
+ icon: function icon() {
77
+ return /*#__PURE__*/_react.default.createElement(_contentWrapLeft.default, {
78
+ color: "currentColor",
79
+ spacing: "spacious",
80
+ label: "media-toolbar-wrap-left-icon",
81
+ LEGACY_fallbackIcon: _mediaWrapLeft.default
82
+ });
83
+ }
50
84
  }, {
51
85
  id: 'editor.media.wrapRight',
52
86
  value: 'wrap-right',
53
- icon: _mediaWrapRight.default
87
+ icon: function icon() {
88
+ return /*#__PURE__*/_react.default.createElement(_contentWrapRight.default, {
89
+ color: "currentColor",
90
+ spacing: "spacious",
91
+ label: "media-toolbar-wrap-right-icon",
92
+ LEGACY_fallbackIcon: _mediaWrapRight.default
93
+ });
94
+ }
54
95
  }];
55
96
  var breakoutIcons = [{
56
97
  value: 'wide',
@@ -89,7 +130,7 @@ var makeAlign = function makeAlign(layout, nodeType, widthPluginDependencyApi, a
89
130
  return false;
90
131
  }
91
132
  var nodeWidth = getNodeWidth(node, state.schema);
92
- var newAttrs = (0, _platformFeatureFlags.getBooleanFF)('platform.editor.media.extended-resize-experience') ? // with extended experience, change alignment does not change media single width
133
+ var newAttrs = (0, _platformFeatureFlags.fg)('platform.editor.media.extended-resize-experience') ? // with extended experience, change alignment does not change media single width
93
134
  _objectSpread(_objectSpread({}, node.attrs), {}, {
94
135
  layout: layout
95
136
  }) : (0, _utils2.alignAttributes)(layout, node.attrs, undefined, nodeWidth, widthPluginState.lineLength);
@@ -122,7 +163,7 @@ var makeAlign = function makeAlign(layout, nodeType, widthPluginDependencyApi, a
122
163
  };
123
164
  };
124
165
  var getToolbarLayout = function getToolbarLayout(layout) {
125
- if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.media.extended-resize-experience') && _utils2.nonWrappedLayouts.includes(layout)) {
166
+ if (_utils2.nonWrappedLayouts.includes(layout) && (0, _platformFeatureFlags.fg)('platform.editor.media.extended-resize-experience')) {
126
167
  return 'center';
127
168
  }
128
169
  return layout;
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
17
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
18
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
19
19
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
20
- var packageVersion = "93.4.4";
20
+ var packageVersion = "93.5.1";
21
21
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
22
22
  // Remove URL as it has UGC
23
23
  // TODO: Sanitise the URL instead of just removing it
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "93.4.4";
27
+ var packageVersion = "93.5.1";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var DropList = /*#__PURE__*/function (_Component) {
@@ -12,6 +12,8 @@ var _withAnalyticsContext = _interopRequireDefault(require("@atlaskit/analytics-
12
12
  var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsEvents"));
13
13
  var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
14
14
  var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-down"));
15
+ var _chevronDown2 = _interopRequireDefault(require("@atlaskit/icon/utility/chevron-down"));
16
+ var _primitives = require("@atlaskit/primitives");
15
17
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
16
18
  var _analytics = require("../../analytics");
17
19
  var _uiColor = require("../../ui-color");
@@ -30,8 +32,11 @@ var _types = require("../ArrowKeyNavigationProvider/types");
30
32
  var colorPickerButtonWrapper = (0, _react2.css)({
31
33
  position: 'relative'
32
34
  });
33
- var colorPickerExpandContainer = (0, _react2.css)({
34
- margin: "0px ".concat("var(--ds-space-negative-050, -4px)")
35
+ var colorPickerExpandContainer = (0, _primitives.xcss)({
36
+ marginTop: 'space.0',
37
+ marginBottom: 'space.0',
38
+ marginLeft: 'space.negative.050',
39
+ marginRight: 'space.negative.050'
35
40
  });
36
41
 
37
42
  // Control the size of color picker buttons and preview
@@ -228,10 +233,13 @@ var ColorPickerButton = function ColorPickerButton(props) {
228
233
  // TODO: (from codemod) Buttons with "component", "css" or "style" prop can't be automatically migrated with codemods. Please migrate it manually.
229
234
  ,
230
235
  css: buttonStyle,
231
- iconAfter: (0, _react2.jsx)("span", {
232
- css: colorPickerExpandContainer
233
- }, (0, _react2.jsx)(_chevronDown.default, {
234
- label: ""
236
+ iconAfter: (0, _react2.jsx)(_primitives.Box, {
237
+ xcss: colorPickerExpandContainer
238
+ }, (0, _react2.jsx)(_chevronDown2.default, {
239
+ color: "currentColor",
240
+ spacing: "spacious",
241
+ LEGACY_fallbackIcon: _chevronDown.default,
242
+ label: "color-picker-chevron-down"
235
243
  })),
236
244
  "data-selected-color": props.currentColor
237
245
  })), renderPopup());
@@ -9,6 +9,7 @@ var _react = _interopRequireWildcard(require("react"));
9
9
  var _react2 = require("@emotion/react");
10
10
  var _elementBrowser = require("../../element-browser");
11
11
  var _messages = require("../../messages");
12
+ var _mediaInsert = require("../../messages/media-insert");
12
13
  var _ui = require("../../ui");
13
14
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
15
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
@@ -16,7 +17,6 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
16
17
  * @jsxRuntime classic
17
18
  * @jsx jsx
18
19
  */
19
- /* eslint-disable no-console */
20
20
 
21
21
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
22
 
@@ -144,6 +144,11 @@ var ToolbarArrowKeyNavigationProvider = exports.ToolbarArrowKeyNavigationProvide
144
144
  if (!filteredFocusableElements || (filteredFocusableElements === null || filteredFocusableElements === void 0 ? void 0 : filteredFocusableElements.length) === 0) {
145
145
  return;
146
146
  }
147
+
148
+ // If the target element is the media picker then navigation is handled by the media picker
149
+ if (targetElement instanceof HTMLElement && targetElement.closest("[aria-label=\"".concat(intl.formatMessage(_mediaInsert.mediaInsertMessages.mediaPickerPopupAriaLabel), "\"]"))) {
150
+ return;
151
+ }
147
152
  if (targetElement instanceof HTMLElement && !((_wrapperRef$current2 = wrapperRef.current) !== null && _wrapperRef$current2 !== void 0 && _wrapperRef$current2.contains(targetElement))) {
148
153
  selectedItemIndex.current = -1;
149
154
  } else {
@@ -196,7 +201,7 @@ var ToolbarArrowKeyNavigationProvider = exports.ToolbarArrowKeyNavigationProvide
196
201
  editorViewDom === null || editorViewDom === void 0 || editorViewDom.removeEventListener('keydown', globalKeyDownHandler);
197
202
  }
198
203
  };
199
- }, [selectedItemIndex, wrapperRef, editorView, disableArrowKeyNavigation, handleEscape, childComponentSelector, incrementIndex, decrementIndex, isShortcutToFocusToolbar, editorAppearance, useStickyToolbar]);
204
+ }, [selectedItemIndex, wrapperRef, editorView, disableArrowKeyNavigation, handleEscape, childComponentSelector, incrementIndex, decrementIndex, isShortcutToFocusToolbar, editorAppearance, useStickyToolbar, intl]);
200
205
  return (0, _react2.jsx)("div", {
201
206
  css: editorAppearance === 'comment' && centeredToolbarContainer
202
207
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
@@ -1,6 +1,12 @@
1
+ import React from 'react';
1
2
  import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
2
3
  import { hasParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
3
4
  import { DEFAULT_EMBED_CARD_WIDTH } from '@atlaskit/editor-shared-styles';
5
+ import ContentAlignCenterIcon from '@atlaskit/icon/core/content-align-center';
6
+ import ContentAlignLeftIcon from '@atlaskit/icon/core/content-align-left';
7
+ import ContentAlignRightIcon from '@atlaskit/icon/core/content-align-right';
8
+ import ContentWrapLeftIcon from '@atlaskit/icon/core/content-wrap-left';
9
+ import ContentWrapRightIcon from '@atlaskit/icon/core/content-wrap-right';
4
10
  import EditorAlignImageCenter from '@atlaskit/icon/glyph/editor/align-image-center';
5
11
  import EditorAlignImageLeft from '@atlaskit/icon/glyph/editor/align-image-left';
6
12
  import EditorAlignImageRight from '@atlaskit/icon/glyph/editor/align-image-right';
@@ -8,7 +14,7 @@ import FullWidthIcon from '@atlaskit/icon/glyph/editor/media-full-width';
8
14
  import WideIcon from '@atlaskit/icon/glyph/editor/media-wide';
9
15
  import WrapLeftIcon from '@atlaskit/icon/glyph/editor/media-wrap-left';
10
16
  import WrapRightIcon from '@atlaskit/icon/glyph/editor/media-wrap-right';
11
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
17
+ import { fg } from '@atlaskit/platform-feature-flags';
12
18
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../analytics';
13
19
  import { insideTable } from '../../core-utils';
14
20
  import commonMessages, { mediaAndEmbedToolbarMessages as toolbarMessages } from '../../messages';
@@ -20,24 +26,49 @@ import { alignAttributes, isInLayoutColumn, nonWrappedLayouts } from '../../util
20
26
  export const alignmentIcons = [{
21
27
  id: 'editor.media.alignLeft',
22
28
  value: 'align-start',
23
- icon: EditorAlignImageLeft
29
+ icon: () => /*#__PURE__*/React.createElement(ContentAlignLeftIcon, {
30
+ color: "currentColor",
31
+ spacing: "spacious",
32
+ label: "media-toolbar-align-left-icon",
33
+ LEGACY_fallbackIcon: EditorAlignImageLeft
34
+ })
24
35
  }, {
25
36
  id: 'editor.media.alignCenter',
26
37
  value: 'center',
27
- icon: EditorAlignImageCenter
38
+ icon: () => /*#__PURE__*/React.createElement(ContentAlignCenterIcon, {
39
+ color: "currentColor",
40
+ spacing: "spacious",
41
+ label: "media-toolbar-align-center-icon",
42
+ LEGACY_fallbackIcon: EditorAlignImageCenter
43
+ })
28
44
  }, {
29
45
  id: 'editor.media.alignRight',
30
46
  value: 'align-end',
31
- icon: EditorAlignImageRight
47
+ icon: () => /*#__PURE__*/React.createElement(ContentAlignRightIcon, {
48
+ color: "currentColor",
49
+ spacing: "spacious",
50
+ label: "media-toolbar-align-right-icon",
51
+ LEGACY_fallbackIcon: EditorAlignImageRight
52
+ })
32
53
  }];
33
54
  export const wrappingIcons = [{
34
55
  id: 'editor.media.wrapLeft',
35
56
  value: 'wrap-left',
36
- icon: WrapLeftIcon
57
+ icon: () => /*#__PURE__*/React.createElement(ContentWrapLeftIcon, {
58
+ color: "currentColor",
59
+ spacing: "spacious",
60
+ label: "media-toolbar-wrap-left-icon",
61
+ LEGACY_fallbackIcon: WrapLeftIcon
62
+ })
37
63
  }, {
38
64
  id: 'editor.media.wrapRight',
39
65
  value: 'wrap-right',
40
- icon: WrapRightIcon
66
+ icon: () => /*#__PURE__*/React.createElement(ContentWrapRightIcon, {
67
+ color: "currentColor",
68
+ spacing: "spacious",
69
+ label: "media-toolbar-wrap-right-icon",
70
+ LEGACY_fallbackIcon: WrapRightIcon
71
+ })
41
72
  }];
42
73
  const breakoutIcons = [{
43
74
  value: 'wide',
@@ -83,7 +114,7 @@ const makeAlign = (layout, nodeType, widthPluginDependencyApi, analyticsApi) =>
83
114
  return false;
84
115
  }
85
116
  const nodeWidth = getNodeWidth(node, state.schema);
86
- const newAttrs = getBooleanFF('platform.editor.media.extended-resize-experience') ?
117
+ const newAttrs = fg('platform.editor.media.extended-resize-experience') ?
87
118
  // with extended experience, change alignment does not change media single width
88
119
  {
89
120
  ...node.attrs,
@@ -128,7 +159,7 @@ const makeAlign = (layout, nodeType, widthPluginDependencyApi, analyticsApi) =>
128
159
  };
129
160
  };
130
161
  const getToolbarLayout = layout => {
131
- if (getBooleanFF('platform.editor.media.extended-resize-experience') && nonWrappedLayouts.includes(layout)) {
162
+ if (nonWrappedLayouts.includes(layout) && fg('platform.editor.media.extended-resize-experience')) {
132
163
  return 'center';
133
164
  }
134
165
  return layout;
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "93.4.4";
4
+ const packageVersion = "93.5.1";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // TODO: Sanitise the URL instead of just removing it
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "93.4.4";
16
+ const packageVersion = "93.5.1";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  class DropList extends Component {
@@ -1,2 +1,2 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export const EditorContext = /*#__PURE__*/React.createContext({});
@@ -9,7 +9,9 @@ import { css, jsx } from '@emotion/react';
9
9
  import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
10
10
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
11
11
  import Button from '@atlaskit/button/standard-button';
12
- import ExpandIcon from '@atlaskit/icon/glyph/chevron-down';
12
+ import LegacyExpandIcon from '@atlaskit/icon/glyph/chevron-down';
13
+ import ChevronDownIcon from '@atlaskit/icon/utility/chevron-down';
14
+ import { Box, xcss } from '@atlaskit/primitives';
13
15
  import Tooltip from '@atlaskit/tooltip';
14
16
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, editorAnalyticsChannel, EVENT_TYPE } from '../../analytics';
15
17
  import { ColorPalette, DEFAULT_BORDER_COLOR, getSelectedRowAndColumnFromPalette } from '../../ui-color';
@@ -22,8 +24,11 @@ import { ArrowKeyNavigationType } from '../ArrowKeyNavigationProvider/types';
22
24
  const colorPickerButtonWrapper = css({
23
25
  position: 'relative'
24
26
  });
25
- const colorPickerExpandContainer = css({
26
- margin: `0px ${"var(--ds-space-negative-050, -4px)"}`
27
+ const colorPickerExpandContainer = xcss({
28
+ marginTop: 'space.0',
29
+ marginBottom: 'space.0',
30
+ marginLeft: 'space.negative.050',
31
+ marginRight: 'space.negative.050'
27
32
  });
28
33
 
29
34
  // Control the size of color picker buttons and preview
@@ -208,10 +213,13 @@ const ColorPickerButton = props => {
208
213
  // TODO: (from codemod) Buttons with "component", "css" or "style" prop can't be automatically migrated with codemods. Please migrate it manually.
209
214
  ,
210
215
  css: buttonStyle,
211
- iconAfter: jsx("span", {
212
- css: colorPickerExpandContainer
213
- }, jsx(ExpandIcon, {
214
- label: ""
216
+ iconAfter: jsx(Box, {
217
+ xcss: colorPickerExpandContainer
218
+ }, jsx(ChevronDownIcon, {
219
+ color: "currentColor",
220
+ spacing: "spacious",
221
+ LEGACY_fallbackIcon: LegacyExpandIcon,
222
+ label: "color-picker-chevron-down"
215
223
  })),
216
224
  "data-selected-color": props.currentColor
217
225
  })), renderPopup());
@@ -2,14 +2,14 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- /* eslint-disable no-console */
6
5
 
7
6
  import React, { useCallback, useLayoutEffect, useRef } from 'react';
8
7
 
9
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
9
  import { css, jsx } from '@emotion/react';
11
10
  import { ELEMENT_BROWSER_ID } from '../../element-browser';
12
- import { fullPageMessages as messages } from '../../messages';
11
+ import { fullPageMessages } from '../../messages';
12
+ import { mediaInsertMessages } from '../../messages/media-insert';
13
13
  import { EDIT_AREA_ID } from '../../ui';
14
14
  /*
15
15
  ** The context is used to handle the keydown events of submenus.
@@ -137,6 +137,11 @@ export const ToolbarArrowKeyNavigationProvider = ({
137
137
  if (!filteredFocusableElements || (filteredFocusableElements === null || filteredFocusableElements === void 0 ? void 0 : filteredFocusableElements.length) === 0) {
138
138
  return;
139
139
  }
140
+
141
+ // If the target element is the media picker then navigation is handled by the media picker
142
+ if (targetElement instanceof HTMLElement && targetElement.closest(`[aria-label="${intl.formatMessage(mediaInsertMessages.mediaPickerPopupAriaLabel)}"]`)) {
143
+ return;
144
+ }
140
145
  if (targetElement instanceof HTMLElement && !((_wrapperRef$current2 = wrapperRef.current) !== null && _wrapperRef$current2 !== void 0 && _wrapperRef$current2.contains(targetElement))) {
141
146
  selectedItemIndex.current = -1;
142
147
  } else {
@@ -189,7 +194,7 @@ export const ToolbarArrowKeyNavigationProvider = ({
189
194
  editorViewDom === null || editorViewDom === void 0 ? void 0 : editorViewDom.removeEventListener('keydown', globalKeyDownHandler);
190
195
  }
191
196
  };
192
- }, [selectedItemIndex, wrapperRef, editorView, disableArrowKeyNavigation, handleEscape, childComponentSelector, incrementIndex, decrementIndex, isShortcutToFocusToolbar, editorAppearance, useStickyToolbar]);
197
+ }, [selectedItemIndex, wrapperRef, editorView, disableArrowKeyNavigation, handleEscape, childComponentSelector, incrementIndex, decrementIndex, isShortcutToFocusToolbar, editorAppearance, useStickyToolbar, intl]);
193
198
  return jsx("div", {
194
199
  css: editorAppearance === 'comment' && centeredToolbarContainer
195
200
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
@@ -197,7 +202,7 @@ export const ToolbarArrowKeyNavigationProvider = ({
197
202
  className: "custom-key-handler-wrapper",
198
203
  ref: wrapperRef,
199
204
  role: "toolbar",
200
- "aria-label": intl.formatMessage(messages.toolbarLabel),
205
+ "aria-label": intl.formatMessage(fullPageMessages.toolbarLabel),
201
206
  "aria-controls": EDIT_AREA_ID
202
207
  }, jsx(KeyDownHandlerContext.Provider, {
203
208
  value: submenuKeydownHandleContext
@@ -2,9 +2,15 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ import React from 'react';
5
6
  import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
6
7
  import { hasParentNodeOfType } from '@atlaskit/editor-prosemirror/utils';
7
8
  import { DEFAULT_EMBED_CARD_WIDTH } from '@atlaskit/editor-shared-styles';
9
+ import ContentAlignCenterIcon from '@atlaskit/icon/core/content-align-center';
10
+ import ContentAlignLeftIcon from '@atlaskit/icon/core/content-align-left';
11
+ import ContentAlignRightIcon from '@atlaskit/icon/core/content-align-right';
12
+ import ContentWrapLeftIcon from '@atlaskit/icon/core/content-wrap-left';
13
+ import ContentWrapRightIcon from '@atlaskit/icon/core/content-wrap-right';
8
14
  import EditorAlignImageCenter from '@atlaskit/icon/glyph/editor/align-image-center';
9
15
  import EditorAlignImageLeft from '@atlaskit/icon/glyph/editor/align-image-left';
10
16
  import EditorAlignImageRight from '@atlaskit/icon/glyph/editor/align-image-right';
@@ -12,7 +18,7 @@ import FullWidthIcon from '@atlaskit/icon/glyph/editor/media-full-width';
12
18
  import WideIcon from '@atlaskit/icon/glyph/editor/media-wide';
13
19
  import WrapLeftIcon from '@atlaskit/icon/glyph/editor/media-wrap-left';
14
20
  import WrapRightIcon from '@atlaskit/icon/glyph/editor/media-wrap-right';
15
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
21
+ import { fg } from '@atlaskit/platform-feature-flags';
16
22
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../analytics';
17
23
  import { insideTable } from '../../core-utils';
18
24
  import commonMessages, { mediaAndEmbedToolbarMessages as toolbarMessages } from '../../messages';
@@ -24,24 +30,59 @@ import { alignAttributes, isInLayoutColumn, nonWrappedLayouts } from '../../util
24
30
  export var alignmentIcons = [{
25
31
  id: 'editor.media.alignLeft',
26
32
  value: 'align-start',
27
- icon: EditorAlignImageLeft
33
+ icon: function icon() {
34
+ return /*#__PURE__*/React.createElement(ContentAlignLeftIcon, {
35
+ color: "currentColor",
36
+ spacing: "spacious",
37
+ label: "media-toolbar-align-left-icon",
38
+ LEGACY_fallbackIcon: EditorAlignImageLeft
39
+ });
40
+ }
28
41
  }, {
29
42
  id: 'editor.media.alignCenter',
30
43
  value: 'center',
31
- icon: EditorAlignImageCenter
44
+ icon: function icon() {
45
+ return /*#__PURE__*/React.createElement(ContentAlignCenterIcon, {
46
+ color: "currentColor",
47
+ spacing: "spacious",
48
+ label: "media-toolbar-align-center-icon",
49
+ LEGACY_fallbackIcon: EditorAlignImageCenter
50
+ });
51
+ }
32
52
  }, {
33
53
  id: 'editor.media.alignRight',
34
54
  value: 'align-end',
35
- icon: EditorAlignImageRight
55
+ icon: function icon() {
56
+ return /*#__PURE__*/React.createElement(ContentAlignRightIcon, {
57
+ color: "currentColor",
58
+ spacing: "spacious",
59
+ label: "media-toolbar-align-right-icon",
60
+ LEGACY_fallbackIcon: EditorAlignImageRight
61
+ });
62
+ }
36
63
  }];
37
64
  export var wrappingIcons = [{
38
65
  id: 'editor.media.wrapLeft',
39
66
  value: 'wrap-left',
40
- icon: WrapLeftIcon
67
+ icon: function icon() {
68
+ return /*#__PURE__*/React.createElement(ContentWrapLeftIcon, {
69
+ color: "currentColor",
70
+ spacing: "spacious",
71
+ label: "media-toolbar-wrap-left-icon",
72
+ LEGACY_fallbackIcon: WrapLeftIcon
73
+ });
74
+ }
41
75
  }, {
42
76
  id: 'editor.media.wrapRight',
43
77
  value: 'wrap-right',
44
- icon: WrapRightIcon
78
+ icon: function icon() {
79
+ return /*#__PURE__*/React.createElement(ContentWrapRightIcon, {
80
+ color: "currentColor",
81
+ spacing: "spacious",
82
+ label: "media-toolbar-wrap-right-icon",
83
+ LEGACY_fallbackIcon: WrapRightIcon
84
+ });
85
+ }
45
86
  }];
46
87
  var breakoutIcons = [{
47
88
  value: 'wide',
@@ -80,7 +121,7 @@ var makeAlign = function makeAlign(layout, nodeType, widthPluginDependencyApi, a
80
121
  return false;
81
122
  }
82
123
  var nodeWidth = getNodeWidth(node, state.schema);
83
- var newAttrs = getBooleanFF('platform.editor.media.extended-resize-experience') ? // with extended experience, change alignment does not change media single width
124
+ var newAttrs = fg('platform.editor.media.extended-resize-experience') ? // with extended experience, change alignment does not change media single width
84
125
  _objectSpread(_objectSpread({}, node.attrs), {}, {
85
126
  layout: layout
86
127
  }) : alignAttributes(layout, node.attrs, undefined, nodeWidth, widthPluginState.lineLength);
@@ -113,7 +154,7 @@ var makeAlign = function makeAlign(layout, nodeType, widthPluginDependencyApi, a
113
154
  };
114
155
  };
115
156
  var getToolbarLayout = function getToolbarLayout(layout) {
116
- if (getBooleanFF('platform.editor.media.extended-resize-experience') && nonWrappedLayouts.includes(layout)) {
157
+ if (nonWrappedLayouts.includes(layout) && fg('platform.editor.media.extended-resize-experience')) {
117
158
  return 'center';
118
159
  }
119
160
  return layout;
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "93.4.4";
10
+ var packageVersion = "93.5.1";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // TODO: Sanitise the URL instead of just removing it
@@ -21,7 +21,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
21
21
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "93.4.4";
24
+ var packageVersion = "93.5.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var DropList = /*#__PURE__*/function (_Component) {
@@ -1,2 +1,2 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export var EditorContext = /*#__PURE__*/React.createContext({});
@@ -10,7 +10,9 @@ import { css, jsx } from '@emotion/react';
10
10
  import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
11
11
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
12
12
  import Button from '@atlaskit/button/standard-button';
13
- import ExpandIcon from '@atlaskit/icon/glyph/chevron-down';
13
+ import LegacyExpandIcon from '@atlaskit/icon/glyph/chevron-down';
14
+ import ChevronDownIcon from '@atlaskit/icon/utility/chevron-down';
15
+ import { Box, xcss } from '@atlaskit/primitives';
14
16
  import Tooltip from '@atlaskit/tooltip';
15
17
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, editorAnalyticsChannel, EVENT_TYPE } from '../../analytics';
16
18
  import { ColorPalette, DEFAULT_BORDER_COLOR, getSelectedRowAndColumnFromPalette } from '../../ui-color';
@@ -23,8 +25,11 @@ import { ArrowKeyNavigationType } from '../ArrowKeyNavigationProvider/types';
23
25
  var colorPickerButtonWrapper = css({
24
26
  position: 'relative'
25
27
  });
26
- var colorPickerExpandContainer = css({
27
- margin: "0px ".concat("var(--ds-space-negative-050, -4px)")
28
+ var colorPickerExpandContainer = xcss({
29
+ marginTop: 'space.0',
30
+ marginBottom: 'space.0',
31
+ marginLeft: 'space.negative.050',
32
+ marginRight: 'space.negative.050'
28
33
  });
29
34
 
30
35
  // Control the size of color picker buttons and preview
@@ -221,10 +226,13 @@ var ColorPickerButton = function ColorPickerButton(props) {
221
226
  // TODO: (from codemod) Buttons with "component", "css" or "style" prop can't be automatically migrated with codemods. Please migrate it manually.
222
227
  ,
223
228
  css: buttonStyle,
224
- iconAfter: jsx("span", {
225
- css: colorPickerExpandContainer
226
- }, jsx(ExpandIcon, {
227
- label: ""
229
+ iconAfter: jsx(Box, {
230
+ xcss: colorPickerExpandContainer
231
+ }, jsx(ChevronDownIcon, {
232
+ color: "currentColor",
233
+ spacing: "spacious",
234
+ LEGACY_fallbackIcon: LegacyExpandIcon,
235
+ label: "color-picker-chevron-down"
228
236
  })),
229
237
  "data-selected-color": props.currentColor
230
238
  })), renderPopup());
@@ -2,14 +2,14 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- /* eslint-disable no-console */
6
5
 
7
6
  import React, { useCallback, useLayoutEffect, useRef } from 'react';
8
7
 
9
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
9
  import { css, jsx } from '@emotion/react';
11
10
  import { ELEMENT_BROWSER_ID } from '../../element-browser';
12
- import { fullPageMessages as messages } from '../../messages';
11
+ import { fullPageMessages } from '../../messages';
12
+ import { mediaInsertMessages } from '../../messages/media-insert';
13
13
  import { EDIT_AREA_ID } from '../../ui';
14
14
  /*
15
15
  ** The context is used to handle the keydown events of submenus.
@@ -135,6 +135,11 @@ export var ToolbarArrowKeyNavigationProvider = function ToolbarArrowKeyNavigatio
135
135
  if (!filteredFocusableElements || (filteredFocusableElements === null || filteredFocusableElements === void 0 ? void 0 : filteredFocusableElements.length) === 0) {
136
136
  return;
137
137
  }
138
+
139
+ // If the target element is the media picker then navigation is handled by the media picker
140
+ if (targetElement instanceof HTMLElement && targetElement.closest("[aria-label=\"".concat(intl.formatMessage(mediaInsertMessages.mediaPickerPopupAriaLabel), "\"]"))) {
141
+ return;
142
+ }
138
143
  if (targetElement instanceof HTMLElement && !((_wrapperRef$current2 = wrapperRef.current) !== null && _wrapperRef$current2 !== void 0 && _wrapperRef$current2.contains(targetElement))) {
139
144
  selectedItemIndex.current = -1;
140
145
  } else {
@@ -187,7 +192,7 @@ export var ToolbarArrowKeyNavigationProvider = function ToolbarArrowKeyNavigatio
187
192
  editorViewDom === null || editorViewDom === void 0 || editorViewDom.removeEventListener('keydown', globalKeyDownHandler);
188
193
  }
189
194
  };
190
- }, [selectedItemIndex, wrapperRef, editorView, disableArrowKeyNavigation, handleEscape, childComponentSelector, incrementIndex, decrementIndex, isShortcutToFocusToolbar, editorAppearance, useStickyToolbar]);
195
+ }, [selectedItemIndex, wrapperRef, editorView, disableArrowKeyNavigation, handleEscape, childComponentSelector, incrementIndex, decrementIndex, isShortcutToFocusToolbar, editorAppearance, useStickyToolbar, intl]);
191
196
  return jsx("div", {
192
197
  css: editorAppearance === 'comment' && centeredToolbarContainer
193
198
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
@@ -195,7 +200,7 @@ export var ToolbarArrowKeyNavigationProvider = function ToolbarArrowKeyNavigatio
195
200
  className: "custom-key-handler-wrapper",
196
201
  ref: wrapperRef,
197
202
  role: "toolbar",
198
- "aria-label": intl.formatMessage(messages.toolbarLabel),
203
+ "aria-label": intl.formatMessage(fullPageMessages.toolbarLabel),
199
204
  "aria-controls": EDIT_AREA_ID
200
205
  }, jsx(KeyDownHandlerContext.Provider, {
201
206
  value: submenuKeydownHandleContext
@@ -5,5 +5,6 @@ export type ViewInlineCommentsButtonEventAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJE
5
5
  isDisabled: boolean;
6
6
  mode: MODE.EDITOR;
7
7
  inputMethod: INPUT_METHOD.FLOATING_TB;
8
+ isNonTextInlineNodeInludedInComment: boolean;
8
9
  }, undefined>;
9
10
  export type ViewEventPayload = ViewInlineCommentsButtonEventAEP;
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  import type { IntlShape } from 'react-intl-next';
3
2
  import type { NodeType } from '@atlaskit/editor-prosemirror/model';
4
3
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
5
4
  import type { EditorAnalyticsAPI } from '../../analytics';
6
- import type { Command, EditorContainerWidth, FloatingToolbarItem, NextEditorPlugin, PluginDependenciesAPI } from '../../types';
5
+ import type { Command, EditorContainerWidth, FloatingToolbarItem, Icon, NextEditorPlugin, PluginDependenciesAPI } from '../../types';
7
6
  type WidthPluginType = NextEditorPlugin<'width', {
8
7
  sharedState: EditorContainerWidth | undefined;
9
8
  }>;
@@ -11,7 +10,7 @@ type WidthPluginDependencyApi = PluginDependenciesAPI<WidthPluginType> | undefin
11
10
  export type LayoutIcon = {
12
11
  id?: string;
13
12
  value: string;
14
- icon: React.ComponentClass<any>;
13
+ icon: Icon;
15
14
  };
16
15
  export type IconMap = Array<LayoutIcon | {
17
16
  value: 'separator';
@@ -1,2 +1,2 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export declare const EditorContext: React.Context<{}>;
@@ -5,5 +5,6 @@ export type ViewInlineCommentsButtonEventAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJE
5
5
  isDisabled: boolean;
6
6
  mode: MODE.EDITOR;
7
7
  inputMethod: INPUT_METHOD.FLOATING_TB;
8
+ isNonTextInlineNodeInludedInComment: boolean;
8
9
  }, undefined>;
9
10
  export type ViewEventPayload = ViewInlineCommentsButtonEventAEP;
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  import type { IntlShape } from 'react-intl-next';
3
2
  import type { NodeType } from '@atlaskit/editor-prosemirror/model';
4
3
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
5
4
  import type { EditorAnalyticsAPI } from '../../analytics';
6
- import type { Command, EditorContainerWidth, FloatingToolbarItem, NextEditorPlugin, PluginDependenciesAPI } from '../../types';
5
+ import type { Command, EditorContainerWidth, FloatingToolbarItem, Icon, NextEditorPlugin, PluginDependenciesAPI } from '../../types';
7
6
  type WidthPluginType = NextEditorPlugin<'width', {
8
7
  sharedState: EditorContainerWidth | undefined;
9
8
  }>;
@@ -11,7 +10,7 @@ type WidthPluginDependencyApi = PluginDependenciesAPI<WidthPluginType> | undefin
11
10
  export type LayoutIcon = {
12
11
  id?: string;
13
12
  value: string;
14
- icon: React.ComponentClass<any>;
13
+ icon: Icon;
15
14
  };
16
15
  export type IconMap = Array<LayoutIcon | {
17
16
  value: 'separator';
@@ -1,2 +1,2 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export declare const EditorContext: React.Context<{}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "93.4.4",
3
+ "version": "93.5.1",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -110,7 +110,7 @@
110
110
  },
111
111
  "dependencies": {
112
112
  "@atlaskit/activity-provider": "^2.4.0",
113
- "@atlaskit/adf-schema": "^40.9.4",
113
+ "@atlaskit/adf-schema": "^42.0.2",
114
114
  "@atlaskit/adf-utils": "^19.9.0",
115
115
  "@atlaskit/analytics-listeners": "^8.11.0",
116
116
  "@atlaskit/analytics-namespaced-context": "^6.12.0",
@@ -121,7 +121,7 @@
121
121
  "@atlaskit/codemod-utils": "^4.2.0",
122
122
  "@atlaskit/custom-steps": "^0.8.0",
123
123
  "@atlaskit/dropdown-menu": "^12.20.0",
124
- "@atlaskit/editor-json-transformer": "^8.19.0",
124
+ "@atlaskit/editor-json-transformer": "^8.20.0",
125
125
  "@atlaskit/editor-palette": "1.6.1",
126
126
  "@atlaskit/editor-prosemirror": "6.0.0",
127
127
  "@atlaskit/editor-shared-styles": "^3.0.0",
@@ -138,7 +138,7 @@
138
138
  "@atlaskit/media-file-preview": "^0.9.0",
139
139
  "@atlaskit/media-picker": "^66.7.0",
140
140
  "@atlaskit/media-ui": "^25.15.0",
141
- "@atlaskit/media-viewer": "49.1.0",
141
+ "@atlaskit/media-viewer": "49.1.1",
142
142
  "@atlaskit/mention": "^23.3.0",
143
143
  "@atlaskit/menu": "^2.12.0",
144
144
  "@atlaskit/onboarding": "^11.2.0",
@@ -151,7 +151,7 @@
151
151
  "@atlaskit/spinner": "^16.3.0",
152
152
  "@atlaskit/task-decision": "^17.11.0",
153
153
  "@atlaskit/textfield": "^6.5.0",
154
- "@atlaskit/tmp-editor-statsig": "^2.4.0",
154
+ "@atlaskit/tmp-editor-statsig": "^2.5.0",
155
155
  "@atlaskit/tokens": "^2.0.0",
156
156
  "@atlaskit/tooltip": "^18.8.0",
157
157
  "@atlaskit/ufo": "^0.3.0",