@atlaskit/media-viewer 52.9.2 → 52.9.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,14 @@
1
1
  # @atlaskit/media-viewer
2
2
 
3
+ ## 52.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9896ce8e69e57`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9896ce8e69e57) -
8
+ Improve accessibility across media packages with semantic button elements and i18n support, all
9
+ changes are behind feature flag
10
+ - Updated dependencies
11
+
3
12
  ## 52.9.2
4
13
 
5
14
  ### Patch Changes
@@ -10,7 +10,7 @@ exports.packageVersion = exports.packageName = void 0;
10
10
  var _analytics = require("@atlaskit/media-common/analytics");
11
11
  var componentName = exports.component = exports.componentName = 'mediaViewer';
12
12
  var packageName = exports.packageName = "@atlaskit/media-viewer";
13
- var packageVersion = exports.packageVersion = "52.9.1";
13
+ var packageVersion = exports.packageVersion = "0.0.0-development";
14
14
  function getFileAttributes(fileState) {
15
15
  if (!fileState) {
16
16
  return {
@@ -13,7 +13,7 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
13
  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; }
14
14
  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) { (0, _defineProperty2.default)(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; }
15
15
  var packageName = "@atlaskit/media-viewer";
16
- var packageVersion = "52.9.1";
16
+ var packageVersion = "0.0.0-development";
17
17
  var ufoExperience;
18
18
  var getExperience = function getExperience() {
19
19
  if (!ufoExperience) {
@@ -1,4 +1,5 @@
1
1
 
2
+ ._kkk2n7od{all:unset}
2
3
  ._11q75a80{background:linear-gradient(180deg,#101214,rgba(14,22,36,0)) no-repeat}
3
4
  ._151kfhey._151kfhey h1{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
4
5
  ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
@@ -27,6 +28,7 @@
27
28
  ._1bto1l2s{text-overflow:ellipsis}
28
29
  ._1e0c1o8l{display:inline-block}
29
30
  ._1e0c1txw{display:flex}
31
+ ._1e0c1ule{display:block}
30
32
  ._1ghp1kxc video{max-height:100vh}
31
33
  ._1itkdlpg{background-image:linear-gradient(0deg,#101214,rgba(14,22,36,0))}
32
34
  ._1jyy1poe._1jyy1poe h1{color:#c7d1db}
@@ -15,8 +15,11 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
15
15
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
16
16
  var _reactScrolllock = require("react-scrolllock");
17
17
  var _useCallbackRef = require("use-callback-ref");
18
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
19
  var _primitives = require("@atlaskit/primitives");
19
20
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
21
+ var _reactIntlNext = require("react-intl-next");
22
+ var _mediaUi = require("@atlaskit/media-ui");
20
23
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
21
24
  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; }
22
25
  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) { (0, _defineProperty2.default)(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; } /* eslint-disable @atlaskit/design-system/use-tokens-typography */ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
@@ -67,6 +70,7 @@ var downloadButtonWrapperStyles = null;
67
70
  var customVideoPlayerWrapperStyles = null;
68
71
  var sidebarWrapperStyles = null;
69
72
  var spinnerWrapperStyles = null;
73
+ var resetButtonStyle = null;
70
74
  var formattedMessageWrapperStyles = null;
71
75
  // We are keeping this data-testid since JIRA is still using it in their codebase to perform checks. Before removing this, we need to ensure this 'media-viewer-popup' test id is not being used anywhere else in other codebases
72
76
  var Blanket = exports.Blanket = function Blanket(_ref) {
@@ -239,12 +243,26 @@ var LeftHeader = exports.LeftHeader = function LeftHeader(_ref18) {
239
243
  var ImageWrapper = exports.ImageWrapper = /*#__PURE__*/(0, _react.forwardRef)(function (_ref19, ref) {
240
244
  var children = _ref19.children,
241
245
  datatestId = _ref19['data-testid'],
242
- onClick = _ref19.onClick,
246
+ _onClick = _ref19.onClick,
243
247
  style = _ref19.style,
244
248
  className = _ref19.className;
245
- return /*#__PURE__*/React.createElement("div", {
249
+ var intl = (0, _reactIntlNext.useIntl)();
250
+ return (0, _platformFeatureFlags.fg)('platform_media_a11y_suppression_fixes') ? /*#__PURE__*/React.createElement("button", {
246
251
  "data-testid": datatestId,
247
- onClick: onClick,
252
+ onClick: function onClick(event) {
253
+ return _onClick && _onClick(event);
254
+ },
255
+ ref: ref,
256
+ "aria-label": intl.formatMessage(_mediaUi.messages.svg_image_preview_label_assistive_text)
257
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
258
+ ,
259
+ style: style
260
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
261
+ ,
262
+ className: (0, _runtime.ax)(["_kkk2n7od _1e0c1ule", "_1reo1wug _18m91wug _1bsbauwl _4t3i1kxc _y3gn1h6o _s7n4nkob _o5721q9c", className])
263
+ }, children) : /*#__PURE__*/React.createElement("div", {
264
+ "data-testid": datatestId,
265
+ onClick: _onClick,
248
266
  ref: ref,
249
267
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
250
268
  style: style
@@ -267,9 +285,9 @@ var Img = exports.Img = function Img(_ref20) {
267
285
  style = _ref20.style,
268
286
  onLoad = _ref20.onLoad,
269
287
  onError = _ref20.onError,
270
- onMouseDown = _ref20.onMouseDown,
271
288
  alt = _ref20.alt,
272
- className = _ref20.className;
289
+ className = _ref20.className,
290
+ onMouseDown = _ref20.onMouseDown;
273
291
  var cursor = (0, _react.useMemo)(function () {
274
292
  if (canDrag && isDragging) {
275
293
  return 'grabbing';
@@ -280,7 +298,9 @@ var Img = exports.Img = function Img(_ref20) {
280
298
  }
281
299
  }, [canDrag, isDragging]);
282
300
  return /*#__PURE__*/React.createElement("img", {
301
+ onMouseDown: onMouseDown
283
302
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
303
+ ,
284
304
  className: (0, _runtime.ax)(["_1e0c1o8l _s7n4nkob _kqswh2mm", shouldPixelate && "_1kemd8h4", className]),
285
305
  alt: alt,
286
306
  "data-testid": datatestId,
@@ -291,8 +311,7 @@ var Img = exports.Img = function Img(_ref20) {
291
311
  cursor: cursor
292
312
  }, style),
293
313
  onLoad: onLoad,
294
- onError: onError,
295
- onMouseDown: onMouseDown
314
+ onError: onError
296
315
  });
297
316
  };
298
317
  var MedatadataTextWrapper = exports.MedatadataTextWrapper = function MedatadataTextWrapper(_ref21) {
@@ -10,9 +10,11 @@ require("./styleWrappers.compiled.css");
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
  var React = _react;
12
12
  var _runtime = require("@compiled/react/runtime");
13
+ var _reactIntlNext = require("react-intl-next");
14
+ var _mediaUi = require("@atlaskit/media-ui");
15
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
14
17
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
-
16
18
  var ARCHIVE_SIDE_BAR_WIDTH = exports.ARCHIVE_SIDE_BAR_WIDTH = 300;
17
19
  var archiveItemViewerWrapperStyles = null;
18
20
  var archiveSideBarStyles = null;
@@ -55,9 +57,17 @@ var ArchiveSidebarFolderWrapper = exports.ArchiveSidebarFolderWrapper = function
55
57
  };
56
58
  var ArchiveDownloadButtonWrapper = exports.ArchiveDownloadButtonWrapper = function ArchiveDownloadButtonWrapper(_ref4) {
57
59
  var children = _ref4.children,
58
- onClick = _ref4.onClick;
59
- return /*#__PURE__*/React.createElement("div", {
60
- onClick: onClick,
60
+ _onClick = _ref4.onClick;
61
+ var intl = (0, _reactIntlNext.useIntl)();
62
+ return (0, _platformFeatureFlags.fg)('platform_media_a11y_suppression_fixes') ? /*#__PURE__*/React.createElement("button", {
63
+ "aria-label": intl.formatMessage(_mediaUi.messages.archive_download_label_assistive_text),
64
+ onClick: function onClick(event) {
65
+ return _onClick && _onClick(event);
66
+ },
67
+ "data-testid": "media-archiveDownloadButton",
68
+ className: (0, _runtime.ax)(["_19itglyw _2rkofajl _ca0qu2gc _u5f31v6z _n3td14y2 _19bvu2gc _bfhk1j28 _syaz1q3r _d0altlke _irr31dpa _1qamtlke _1di6fcek"])
69
+ }, children) : /*#__PURE__*/React.createElement("div", {
70
+ onClick: _onClick,
61
71
  "data-testid": "media-archiveDownloadButton",
62
72
  className: (0, _runtime.ax)(["_19itglyw _2rkofajl _ca0qu2gc _u5f31v6z _n3td14y2 _19bvu2gc _bfhk1j28 _syaz1q3r _d0altlke _irr31dpa _1qamtlke _1di6fcek"])
63
73
  }, children);
@@ -7,9 +7,11 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.ImageWrapper = void 0;
9
9
  require("./ImageWrapper-compiled.compiled.css");
10
- var _react = _interopRequireWildcard(require("react"));
11
- var React = _react;
12
10
  var _runtime = require("@compiled/react/runtime");
11
+ var _mediaUi = require("@atlaskit/media-ui");
12
+ var _react = _interopRequireWildcard(require("react"));
13
+ var _reactIntlNext = require("react-intl-next");
14
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
15
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
14
16
  var imageWrapperStyles = null;
15
17
  var dynamicImageWrapperStyles = null;
@@ -17,7 +19,14 @@ var ImageWrapper = exports.ImageWrapper = /*#__PURE__*/(0, _react.forwardRef)(fu
17
19
  var children = _ref.children,
18
20
  onClick = _ref.onClick,
19
21
  isHidden = _ref.isHidden;
20
- return /*#__PURE__*/React.createElement("div", {
22
+ var intl = (0, _reactIntlNext.useIntl)();
23
+ return (0, _platformFeatureFlags.fg)('platform_media_a11y_suppression_fixes') ? /*#__PURE__*/_react.default.createElement("button", {
24
+ "data-testid": "media-viewer-svg-wrapper",
25
+ onClick: onClick,
26
+ ref: ref,
27
+ "aria-label": intl.formatMessage(_mediaUi.messages.svg_image_preview_label_assistive_text),
28
+ className: (0, _runtime.ax)(["_1reo1wug _18m91wug _1bsbauwl _4t3i1kxc _y3gn1h6o _s7n4nkob _o5721q9c", isHidden && "_1reo15vq _18m915vq"])
29
+ }, children) : /*#__PURE__*/_react.default.createElement("div", {
21
30
  "data-testid": "media-viewer-svg-wrapper",
22
31
  onClick: onClick,
23
32
  ref: ref,
@@ -20,6 +20,7 @@ var _errors = require("../../errors");
20
20
  var _utils = require("./utils");
21
21
  var _ImageWrapper = require("./ImageWrapper");
22
22
  var _errors2 = require("./errors");
23
+ var _reactIntlNext = require("react-intl-next");
23
24
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
24
25
  var SvgViewerBase = function SvgViewerBase(_ref) {
25
26
  var identifier = _ref.identifier,
@@ -48,6 +49,7 @@ var SvgViewerBase = function SvgViewerBase(_ref) {
48
49
  _useState0 = (0, _slicedToArray2.default)(_useState9, 2),
49
50
  wrapperScroll = _useState0[0],
50
51
  setWrapperScroll = _useState0[1];
52
+ var intl = (0, _reactIntlNext.useIntl)();
51
53
  var onResize = (0, _react.useCallback)(function () {
52
54
  if (!wrapperRef.current || !camera) {
53
55
  return;
@@ -164,6 +166,7 @@ var SvgViewerBase = function SvgViewerBase(_ref) {
164
166
  isHidden: isHidden
165
167
  }, /*#__PURE__*/_react.default.createElement(_mediaSvg.default, {
166
168
  testId: 'media-viewer-svg',
169
+ alt: intl.formatMessage(_mediaUi.messages.svg_base_alt),
167
170
  identifier: identifier,
168
171
  dimensions: imgDimensions
169
172
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
@@ -1,7 +1,7 @@
1
1
  import { ANALYTICS_MEDIA_CHANNEL, sanitiseAnalyticsPayload } from '@atlaskit/media-common/analytics';
2
2
  const componentName = 'mediaViewer';
3
3
  const packageName = "@atlaskit/media-viewer";
4
- const packageVersion = "52.9.1";
4
+ const packageVersion = "0.0.0-development";
5
5
  export { packageName, packageVersion, componentName, componentName as component };
6
6
  export function getFileAttributes(fileState) {
7
7
  if (!fileState) {
@@ -3,7 +3,7 @@ import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
3
3
  import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
4
4
  import { fg } from '@atlaskit/platform-feature-flags';
5
5
  const packageName = "@atlaskit/media-viewer";
6
- const packageVersion = "52.9.1";
6
+ const packageVersion = "0.0.0-development";
7
7
  let ufoExperience;
8
8
  const getExperience = () => {
9
9
  if (!ufoExperience) {
@@ -1,4 +1,5 @@
1
1
 
2
+ ._kkk2n7od{all:unset}
2
3
  ._11q75a80{background:linear-gradient(180deg,#101214,rgba(14,22,36,0)) no-repeat}
3
4
  ._151kfhey._151kfhey h1{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
4
5
  ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
@@ -27,6 +28,7 @@
27
28
  ._1bto1l2s{text-overflow:ellipsis}
28
29
  ._1e0c1o8l{display:inline-block}
29
30
  ._1e0c1txw{display:flex}
31
+ ._1e0c1ule{display:block}
30
32
  ._1ghp1kxc video{max-height:100vh}
31
33
  ._1itkdlpg{background-image:linear-gradient(0deg,#101214,rgba(14,22,36,0))}
32
34
  ._1jyy1poe._1jyy1poe h1{color:#c7d1db}
@@ -8,9 +8,12 @@ import { ax, ix } from "@compiled/react/runtime";
8
8
  import { forwardRef, useMemo } from 'react';
9
9
  import { TouchScrollable } from 'react-scrolllock';
10
10
  import { useMergeRefs } from 'use-callback-ref';
11
+ import { fg } from '@atlaskit/platform-feature-flags';
11
12
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
12
13
  import { Box, xcss } from '@atlaskit/primitives';
13
14
  import Heading from '@atlaskit/heading';
15
+ import { useIntl } from 'react-intl-next';
16
+ import { messages } from '@atlaskit/media-ui';
14
17
  const blanketStyles = null;
15
18
  const headerWrapperStyles = null;
16
19
  const archiveHeaderWrapperStyles = null;
@@ -58,6 +61,7 @@ const downloadButtonWrapperStyles = null;
58
61
  const customVideoPlayerWrapperStyles = null;
59
62
  const sidebarWrapperStyles = null;
60
63
  const spinnerWrapperStyles = null;
64
+ const resetButtonStyle = null;
61
65
  const formattedMessageWrapperStyles = null;
62
66
  // We are keeping this data-testid since JIRA is still using it in their codebase to perform checks. Before removing this, we need to ensure this 'media-viewer-popup' test id is not being used anywhere else in other codebases
63
67
  export const Blanket = ({
@@ -217,16 +221,30 @@ export const ImageWrapper = /*#__PURE__*/forwardRef(({
217
221
  onClick,
218
222
  style,
219
223
  className
220
- }, ref) => /*#__PURE__*/React.createElement("div", {
221
- "data-testid": datatestId,
222
- onClick: onClick,
223
- ref: ref,
224
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
225
- style: style
226
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
227
- ,
228
- className: ax(["_1reo1wug _18m91wug _1bsbauwl _4t3i1kxc _y3gn1h6o _s7n4nkob _o5721q9c", className])
229
- }, children));
224
+ }, ref) => {
225
+ const intl = useIntl();
226
+ return fg('platform_media_a11y_suppression_fixes') ? /*#__PURE__*/React.createElement("button", {
227
+ "data-testid": datatestId,
228
+ onClick: event => onClick && onClick(event),
229
+ ref: ref,
230
+ "aria-label": intl.formatMessage(messages.svg_image_preview_label_assistive_text)
231
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
232
+ ,
233
+ style: style
234
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
235
+ ,
236
+ className: ax(["_kkk2n7od _1e0c1ule", "_1reo1wug _18m91wug _1bsbauwl _4t3i1kxc _y3gn1h6o _s7n4nkob _o5721q9c", className])
237
+ }, children) : /*#__PURE__*/React.createElement("div", {
238
+ "data-testid": datatestId,
239
+ onClick: onClick,
240
+ ref: ref,
241
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
242
+ style: style
243
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
244
+ ,
245
+ className: ax(["_1reo1wug _18m91wug _1bsbauwl _4t3i1kxc _y3gn1h6o _s7n4nkob _o5721q9c", className])
246
+ }, children);
247
+ });
230
248
  export const BaselineExtend = () => /*#__PURE__*/React.createElement("div", {
231
249
  className: ax(["_4t3i1osq _1e0c1o8l _s7n4nkob"])
232
250
  });
@@ -239,9 +257,9 @@ export const Img = ({
239
257
  style,
240
258
  onLoad,
241
259
  onError,
242
- onMouseDown,
243
260
  alt,
244
- className
261
+ className,
262
+ onMouseDown
245
263
  }) => {
246
264
  const cursor = useMemo(() => {
247
265
  if (canDrag && isDragging) {
@@ -253,7 +271,9 @@ export const Img = ({
253
271
  }
254
272
  }, [canDrag, isDragging]);
255
273
  return /*#__PURE__*/React.createElement("img", {
274
+ onMouseDown: onMouseDown
256
275
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
276
+ ,
257
277
  className: ax(["_1e0c1o8l _s7n4nkob _kqswh2mm", shouldPixelate && "_1kemd8h4", className]),
258
278
  alt: alt,
259
279
  "data-testid": datatestId,
@@ -265,8 +285,7 @@ export const Img = ({
265
285
  ...style
266
286
  },
267
287
  onLoad: onLoad,
268
- onError: onError,
269
- onMouseDown: onMouseDown
288
+ onError: onError
270
289
  });
271
290
  };
272
291
  export const MedatadataTextWrapper = ({
@@ -5,6 +5,9 @@ import { ax, ix } from "@compiled/react/runtime";
5
5
  import { forwardRef } from 'react';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
 
8
+ import { useIntl } from 'react-intl-next';
9
+ import { messages } from '@atlaskit/media-ui';
10
+ import { fg } from '@atlaskit/platform-feature-flags';
8
11
  export const ARCHIVE_SIDE_BAR_WIDTH = 300;
9
12
  const archiveItemViewerWrapperStyles = null;
10
13
  const archiveSideBarStyles = null;
@@ -49,7 +52,13 @@ export const ArchiveDownloadButtonWrapper = ({
49
52
  children,
50
53
  onClick
51
54
  }) => {
52
- return /*#__PURE__*/React.createElement("div", {
55
+ const intl = useIntl();
56
+ return fg('platform_media_a11y_suppression_fixes') ? /*#__PURE__*/React.createElement("button", {
57
+ "aria-label": intl.formatMessage(messages.archive_download_label_assistive_text),
58
+ onClick: event => onClick && onClick(event),
59
+ "data-testid": "media-archiveDownloadButton",
60
+ className: ax(["_19itglyw _2rkofajl _ca0qu2gc _u5f31v6z _n3td14y2 _19bvu2gc _bfhk1j28 _syaz1q3r _d0altlke _irr31dpa _1qamtlke _1di6fcek"])
61
+ }, children) : /*#__PURE__*/React.createElement("div", {
53
62
  onClick: onClick,
54
63
  "data-testid": "media-archiveDownloadButton",
55
64
  className: ax(["_19itglyw _2rkofajl _ca0qu2gc _u5f31v6z _n3td14y2 _19bvu2gc _bfhk1j28 _syaz1q3r _d0altlke _irr31dpa _1qamtlke _1di6fcek"])
@@ -1,17 +1,28 @@
1
1
  /* ImageWrapper-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./ImageWrapper-compiled.compiled.css";
3
- import * as React from 'react';
4
3
  import { ax, ix } from "@compiled/react/runtime";
5
- import { forwardRef } from 'react';
4
+ import { messages } from '@atlaskit/media-ui';
5
+ import React, { forwardRef } from 'react';
6
+ import { useIntl } from 'react-intl-next';
7
+ import { fg } from '@atlaskit/platform-feature-flags';
6
8
  const imageWrapperStyles = null;
7
9
  const dynamicImageWrapperStyles = null;
8
10
  export const ImageWrapper = /*#__PURE__*/forwardRef(({
9
11
  children,
10
12
  onClick,
11
13
  isHidden
12
- }, ref) => /*#__PURE__*/React.createElement("div", {
13
- "data-testid": "media-viewer-svg-wrapper",
14
- onClick: onClick,
15
- ref: ref,
16
- className: ax(["_1reo1wug _18m91wug _1bsbauwl _4t3i1kxc _y3gn1h6o _s7n4nkob _o5721q9c", isHidden && "_1reo15vq _18m915vq"])
17
- }, children));
14
+ }, ref) => {
15
+ const intl = useIntl();
16
+ return fg('platform_media_a11y_suppression_fixes') ? /*#__PURE__*/React.createElement("button", {
17
+ "data-testid": "media-viewer-svg-wrapper",
18
+ onClick: onClick,
19
+ ref: ref,
20
+ "aria-label": intl.formatMessage(messages.svg_image_preview_label_assistive_text),
21
+ className: ax(["_1reo1wug _18m91wug _1bsbauwl _4t3i1kxc _y3gn1h6o _s7n4nkob _o5721q9c", isHidden && "_1reo15vq _18m915vq"])
22
+ }, children) : /*#__PURE__*/React.createElement("div", {
23
+ "data-testid": "media-viewer-svg-wrapper",
24
+ onClick: onClick,
25
+ ref: ref,
26
+ className: ax(["_1reo1wug _18m91wug _1bsbauwl _4t3i1kxc _y3gn1h6o _s7n4nkob _o5721q9c", isHidden && "_1reo15vq _18m915vq"])
27
+ }, children);
28
+ });
@@ -1,5 +1,5 @@
1
1
  import React, { useState, useRef, useEffect, useCallback, useLayoutEffect } from 'react';
2
- import { Camera, Vector2 } from '@atlaskit/media-ui';
2
+ import { Camera, messages, Vector2 } from '@atlaskit/media-ui';
3
3
  import { ANALYTICS_MEDIA_CHANNEL } from '@atlaskit/media-common';
4
4
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
5
5
  import { BaselineExtend } from '../../styleWrappers';
@@ -11,6 +11,7 @@ import { MediaViewerError } from '../../errors';
11
11
  import { clientRectangle, naturalSizeRectangle, zoomLevelAfterResize } from './utils';
12
12
  import { ImageWrapper } from './ImageWrapper';
13
13
  import { getErrorReason } from './errors';
14
+ import { useIntl } from 'react-intl-next';
14
15
  const SvgViewerBase = ({
15
16
  identifier,
16
17
  onLoad,
@@ -24,6 +25,7 @@ const SvgViewerBase = ({
24
25
  const [camera, setCamera] = useState();
25
26
  const wrapperRef = useRef(null);
26
27
  const [wrapperScroll, setWrapperScroll] = useState();
28
+ const intl = useIntl();
27
29
  const onResize = useCallback(() => {
28
30
  if (!wrapperRef.current || !camera) {
29
31
  return;
@@ -149,6 +151,7 @@ const SvgViewerBase = ({
149
151
  isHidden: isHidden
150
152
  }, /*#__PURE__*/React.createElement(MediaSvg, {
151
153
  testId: 'media-viewer-svg',
154
+ alt: intl.formatMessage(messages.svg_base_alt),
152
155
  identifier: identifier,
153
156
  dimensions: imgDimensions
154
157
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
@@ -1,7 +1,7 @@
1
1
  import { ANALYTICS_MEDIA_CHANNEL, sanitiseAnalyticsPayload } from '@atlaskit/media-common/analytics';
2
2
  var componentName = 'mediaViewer';
3
3
  var packageName = "@atlaskit/media-viewer";
4
- var packageVersion = "52.9.1";
4
+ var packageVersion = "0.0.0-development";
5
5
  export { packageName, packageVersion, componentName, componentName as component };
6
6
  export function getFileAttributes(fileState) {
7
7
  if (!fileState) {
@@ -6,7 +6,7 @@ import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
6
6
  import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
8
  var packageName = "@atlaskit/media-viewer";
9
- var packageVersion = "52.9.1";
9
+ var packageVersion = "0.0.0-development";
10
10
  var ufoExperience;
11
11
  var getExperience = function getExperience() {
12
12
  if (!ufoExperience) {
@@ -1,4 +1,5 @@
1
1
 
2
+ ._kkk2n7od{all:unset}
2
3
  ._11q75a80{background:linear-gradient(180deg,#101214,rgba(14,22,36,0)) no-repeat}
3
4
  ._151kfhey._151kfhey h1{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
4
5
  ._2rkofajl{border-radius:var(--ds-radius-small,3px)}
@@ -27,6 +28,7 @@
27
28
  ._1bto1l2s{text-overflow:ellipsis}
28
29
  ._1e0c1o8l{display:inline-block}
29
30
  ._1e0c1txw{display:flex}
31
+ ._1e0c1ule{display:block}
30
32
  ._1ghp1kxc video{max-height:100vh}
31
33
  ._1itkdlpg{background-image:linear-gradient(0deg,#101214,rgba(14,22,36,0))}
32
34
  ._1jyy1poe._1jyy1poe h1{color:#c7d1db}
@@ -11,9 +11,12 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
11
11
  import { forwardRef, useMemo } from 'react';
12
12
  import { TouchScrollable } from 'react-scrolllock';
13
13
  import { useMergeRefs } from 'use-callback-ref';
14
+ import { fg } from '@atlaskit/platform-feature-flags';
14
15
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
15
16
  import { Box, xcss } from '@atlaskit/primitives';
16
17
  import Heading from '@atlaskit/heading';
18
+ import { useIntl } from 'react-intl-next';
19
+ import { messages } from '@atlaskit/media-ui';
17
20
  var blanketStyles = null;
18
21
  var headerWrapperStyles = null;
19
22
  var archiveHeaderWrapperStyles = null;
@@ -61,6 +64,7 @@ var downloadButtonWrapperStyles = null;
61
64
  var customVideoPlayerWrapperStyles = null;
62
65
  var sidebarWrapperStyles = null;
63
66
  var spinnerWrapperStyles = null;
67
+ var resetButtonStyle = null;
64
68
  var formattedMessageWrapperStyles = null;
65
69
  // We are keeping this data-testid since JIRA is still using it in their codebase to perform checks. Before removing this, we need to ensure this 'media-viewer-popup' test id is not being used anywhere else in other codebases
66
70
  export var Blanket = function Blanket(_ref) {
@@ -233,12 +237,26 @@ export var LeftHeader = function LeftHeader(_ref18) {
233
237
  export var ImageWrapper = /*#__PURE__*/forwardRef(function (_ref19, ref) {
234
238
  var children = _ref19.children,
235
239
  datatestId = _ref19['data-testid'],
236
- onClick = _ref19.onClick,
240
+ _onClick = _ref19.onClick,
237
241
  style = _ref19.style,
238
242
  className = _ref19.className;
239
- return /*#__PURE__*/React.createElement("div", {
243
+ var intl = useIntl();
244
+ return fg('platform_media_a11y_suppression_fixes') ? /*#__PURE__*/React.createElement("button", {
240
245
  "data-testid": datatestId,
241
- onClick: onClick,
246
+ onClick: function onClick(event) {
247
+ return _onClick && _onClick(event);
248
+ },
249
+ ref: ref,
250
+ "aria-label": intl.formatMessage(messages.svg_image_preview_label_assistive_text)
251
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
252
+ ,
253
+ style: style
254
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
255
+ ,
256
+ className: ax(["_kkk2n7od _1e0c1ule", "_1reo1wug _18m91wug _1bsbauwl _4t3i1kxc _y3gn1h6o _s7n4nkob _o5721q9c", className])
257
+ }, children) : /*#__PURE__*/React.createElement("div", {
258
+ "data-testid": datatestId,
259
+ onClick: _onClick,
242
260
  ref: ref,
243
261
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
244
262
  style: style
@@ -261,9 +279,9 @@ export var Img = function Img(_ref20) {
261
279
  style = _ref20.style,
262
280
  onLoad = _ref20.onLoad,
263
281
  onError = _ref20.onError,
264
- onMouseDown = _ref20.onMouseDown,
265
282
  alt = _ref20.alt,
266
- className = _ref20.className;
283
+ className = _ref20.className,
284
+ onMouseDown = _ref20.onMouseDown;
267
285
  var cursor = useMemo(function () {
268
286
  if (canDrag && isDragging) {
269
287
  return 'grabbing';
@@ -274,7 +292,9 @@ export var Img = function Img(_ref20) {
274
292
  }
275
293
  }, [canDrag, isDragging]);
276
294
  return /*#__PURE__*/React.createElement("img", {
295
+ onMouseDown: onMouseDown
277
296
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
297
+ ,
278
298
  className: ax(["_1e0c1o8l _s7n4nkob _kqswh2mm", shouldPixelate && "_1kemd8h4", className]),
279
299
  alt: alt,
280
300
  "data-testid": datatestId,
@@ -285,8 +305,7 @@ export var Img = function Img(_ref20) {
285
305
  cursor: cursor
286
306
  }, style),
287
307
  onLoad: onLoad,
288
- onError: onError,
289
- onMouseDown: onMouseDown
308
+ onError: onError
290
309
  });
291
310
  };
292
311
  export var MedatadataTextWrapper = function MedatadataTextWrapper(_ref21) {
@@ -5,6 +5,9 @@ import { ax, ix } from "@compiled/react/runtime";
5
5
  import { forwardRef } from 'react';
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
 
8
+ import { useIntl } from 'react-intl-next';
9
+ import { messages } from '@atlaskit/media-ui';
10
+ import { fg } from '@atlaskit/platform-feature-flags';
8
11
  export var ARCHIVE_SIDE_BAR_WIDTH = 300;
9
12
  var archiveItemViewerWrapperStyles = null;
10
13
  var archiveSideBarStyles = null;
@@ -47,9 +50,17 @@ export var ArchiveSidebarFolderWrapper = function ArchiveSidebarFolderWrapper(_r
47
50
  };
48
51
  export var ArchiveDownloadButtonWrapper = function ArchiveDownloadButtonWrapper(_ref4) {
49
52
  var children = _ref4.children,
50
- onClick = _ref4.onClick;
51
- return /*#__PURE__*/React.createElement("div", {
52
- onClick: onClick,
53
+ _onClick = _ref4.onClick;
54
+ var intl = useIntl();
55
+ return fg('platform_media_a11y_suppression_fixes') ? /*#__PURE__*/React.createElement("button", {
56
+ "aria-label": intl.formatMessage(messages.archive_download_label_assistive_text),
57
+ onClick: function onClick(event) {
58
+ return _onClick && _onClick(event);
59
+ },
60
+ "data-testid": "media-archiveDownloadButton",
61
+ className: ax(["_19itglyw _2rkofajl _ca0qu2gc _u5f31v6z _n3td14y2 _19bvu2gc _bfhk1j28 _syaz1q3r _d0altlke _irr31dpa _1qamtlke _1di6fcek"])
62
+ }, children) : /*#__PURE__*/React.createElement("div", {
63
+ onClick: _onClick,
53
64
  "data-testid": "media-archiveDownloadButton",
54
65
  className: ax(["_19itglyw _2rkofajl _ca0qu2gc _u5f31v6z _n3td14y2 _19bvu2gc _bfhk1j28 _syaz1q3r _d0altlke _irr31dpa _1qamtlke _1di6fcek"])
55
66
  }, children);
@@ -1,15 +1,24 @@
1
1
  /* ImageWrapper-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./ImageWrapper-compiled.compiled.css";
3
- import * as React from 'react';
4
3
  import { ax, ix } from "@compiled/react/runtime";
5
- import { forwardRef } from 'react';
4
+ import { messages } from '@atlaskit/media-ui';
5
+ import React, { forwardRef } from 'react';
6
+ import { useIntl } from 'react-intl-next';
7
+ import { fg } from '@atlaskit/platform-feature-flags';
6
8
  var imageWrapperStyles = null;
7
9
  var dynamicImageWrapperStyles = null;
8
10
  export var ImageWrapper = /*#__PURE__*/forwardRef(function (_ref, ref) {
9
11
  var children = _ref.children,
10
12
  onClick = _ref.onClick,
11
13
  isHidden = _ref.isHidden;
12
- return /*#__PURE__*/React.createElement("div", {
14
+ var intl = useIntl();
15
+ return fg('platform_media_a11y_suppression_fixes') ? /*#__PURE__*/React.createElement("button", {
16
+ "data-testid": "media-viewer-svg-wrapper",
17
+ onClick: onClick,
18
+ ref: ref,
19
+ "aria-label": intl.formatMessage(messages.svg_image_preview_label_assistive_text),
20
+ className: ax(["_1reo1wug _18m91wug _1bsbauwl _4t3i1kxc _y3gn1h6o _s7n4nkob _o5721q9c", isHidden && "_1reo15vq _18m915vq"])
21
+ }, children) : /*#__PURE__*/React.createElement("div", {
13
22
  "data-testid": "media-viewer-svg-wrapper",
14
23
  onClick: onClick,
15
24
  ref: ref,
@@ -1,6 +1,6 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import React, { useState, useRef, useEffect, useCallback, useLayoutEffect } from 'react';
3
- import { Camera, Vector2 } from '@atlaskit/media-ui';
3
+ import { Camera, messages, Vector2 } from '@atlaskit/media-ui';
4
4
  import { ANALYTICS_MEDIA_CHANNEL } from '@atlaskit/media-common';
5
5
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
6
6
  import { BaselineExtend } from '../../styleWrappers';
@@ -12,6 +12,7 @@ import { MediaViewerError } from '../../errors';
12
12
  import { clientRectangle, naturalSizeRectangle, zoomLevelAfterResize } from './utils';
13
13
  import { ImageWrapper } from './ImageWrapper';
14
14
  import { getErrorReason } from './errors';
15
+ import { useIntl } from 'react-intl-next';
15
16
  var SvgViewerBase = function SvgViewerBase(_ref) {
16
17
  var identifier = _ref.identifier,
17
18
  onLoad = _ref.onLoad,
@@ -39,6 +40,7 @@ var SvgViewerBase = function SvgViewerBase(_ref) {
39
40
  _useState0 = _slicedToArray(_useState9, 2),
40
41
  wrapperScroll = _useState0[0],
41
42
  setWrapperScroll = _useState0[1];
43
+ var intl = useIntl();
42
44
  var onResize = useCallback(function () {
43
45
  if (!wrapperRef.current || !camera) {
44
46
  return;
@@ -155,6 +157,7 @@ var SvgViewerBase = function SvgViewerBase(_ref) {
155
157
  isHidden: isHidden
156
158
  }, /*#__PURE__*/React.createElement(MediaSvg, {
157
159
  testId: 'media-viewer-svg',
160
+ alt: intl.formatMessage(messages.svg_base_alt),
158
161
  identifier: identifier,
159
162
  dimensions: imgDimensions
160
163
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
@@ -81,7 +81,7 @@ export type ImgProps = {
81
81
  onError: (() => void) | undefined;
82
82
  alt?: string;
83
83
  } & DataTestID & ClassName;
84
- export declare const Img: ({ canDrag, isDragging, shouldPixelate, "data-testid": datatestId, src, style, onLoad, onError, onMouseDown, alt, className, }: ImgProps) => JSX.Element;
84
+ export declare const Img: ({ canDrag, isDragging, shouldPixelate, "data-testid": datatestId, src, style, onLoad, onError, alt, className, onMouseDown }: ImgProps) => JSX.Element;
85
85
  export declare const MedatadataTextWrapper: ({ children }: Children) => JSX.Element;
86
86
  export declare const MetadataWrapper: ({ children }: Children) => JSX.Element;
87
87
  type MetadataFileNameProps = DataTestID & Children;
@@ -1,7 +1,7 @@
1
- import { type ReactNode } from 'react';
1
+ import React, { type ReactNode } from 'react';
2
2
  export type ImageWrapperProps = {
3
3
  children: ReactNode;
4
4
  isHidden: boolean;
5
5
  onClick: (e: React.MouseEvent<Element, MouseEvent>) => void;
6
6
  };
7
- export declare const ImageWrapper: import("react").ForwardRefExoticComponent<ImageWrapperProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ export declare const ImageWrapper: React.ForwardRefExoticComponent<ImageWrapperProps & React.RefAttributes<HTMLDivElement>>;
@@ -81,7 +81,7 @@ export type ImgProps = {
81
81
  onError: (() => void) | undefined;
82
82
  alt?: string;
83
83
  } & DataTestID & ClassName;
84
- export declare const Img: ({ canDrag, isDragging, shouldPixelate, "data-testid": datatestId, src, style, onLoad, onError, onMouseDown, alt, className, }: ImgProps) => JSX.Element;
84
+ export declare const Img: ({ canDrag, isDragging, shouldPixelate, "data-testid": datatestId, src, style, onLoad, onError, alt, className, onMouseDown }: ImgProps) => JSX.Element;
85
85
  export declare const MedatadataTextWrapper: ({ children }: Children) => JSX.Element;
86
86
  export declare const MetadataWrapper: ({ children }: Children) => JSX.Element;
87
87
  type MetadataFileNameProps = DataTestID & Children;
@@ -1,7 +1,7 @@
1
- import { type ReactNode } from 'react';
1
+ import React, { type ReactNode } from 'react';
2
2
  export type ImageWrapperProps = {
3
3
  children: ReactNode;
4
4
  isHidden: boolean;
5
5
  onClick: (e: React.MouseEvent<Element, MouseEvent>) => void;
6
6
  };
7
- export declare const ImageWrapper: import("react").ForwardRefExoticComponent<ImageWrapperProps & import("react").RefAttributes<HTMLDivElement>>;
7
+ export declare const ImageWrapper: React.ForwardRefExoticComponent<ImageWrapperProps & React.RefAttributes<HTMLDivElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-viewer",
3
- "version": "52.9.2",
3
+ "version": "52.9.3",
4
4
  "description": "MediaViewer is Atlassian's powerful solution for viewing files on the web. It's both powerful and extendable yet easy-to-integrate",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/heading": "^5.3.0",
40
40
  "@atlaskit/icon": "^34.0.0",
41
41
  "@atlaskit/icon-file-type": "^7.0.0",
42
- "@atlaskit/icon-lab": "^6.2.0",
42
+ "@atlaskit/icon-lab": "^6.4.0",
43
43
  "@atlaskit/media-client": "^36.0.0",
44
44
  "@atlaskit/media-client-react": "^5.0.0",
45
45
  "@atlaskit/media-common": "^13.0.0",
@@ -47,7 +47,7 @@
47
47
  "@atlaskit/media-svg": "^2.2.0",
48
48
  "@atlaskit/media-ui": "^28.7.0",
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
- "@atlaskit/portal": "^5.3.0",
50
+ "@atlaskit/portal": "^5.4.0",
51
51
  "@atlaskit/primitives": "^18.1.0",
52
52
  "@atlaskit/side-navigation": "^11.1.0",
53
53
  "@atlaskit/spinner": "^19.0.0",
@@ -90,7 +90,7 @@
90
90
  "@atlaskit/media-test-data": "^3.2.0",
91
91
  "@atlaskit/media-test-helpers": "^40.0.0",
92
92
  "@atlaskit/ssr": "workspace:^",
93
- "@atlaskit/toggle": "^15.2.0",
93
+ "@atlaskit/toggle": "^15.3.0",
94
94
  "@atlassian/a11y-jest-testing": "^0.11.0",
95
95
  "@atlassian/feature-flags-test-utils": "^1.0.0",
96
96
  "@atlassian/ufo": "^0.7.0",
@@ -130,6 +130,9 @@
130
130
  },
131
131
  "platform_media_react19_support": {
132
132
  "type": "boolean"
133
+ },
134
+ "platform_media_a11y_suppression_fixes": {
135
+ "type": "boolean"
133
136
  }
134
137
  },
135
138
  "techstack": {