@atlaskit/media-ui 28.7.33 → 28.7.34

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.
Files changed (69) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/MediaInlineCard/ErroredView/index.js +1 -1
  3. package/dist/cjs/MediaInlineCard/Frame/styled-compiled.js +1 -1
  4. package/dist/cjs/MediaInlineCard/Icon-compiled.js +1 -1
  5. package/dist/cjs/MediaInlineCard/IconAndTitleLayout/styled-compiled.js +1 -1
  6. package/dist/cjs/MediaInlineCard/LoadingView/styled-compiled.js +1 -1
  7. package/dist/cjs/customMediaPlayer/dropdownControlCommon.js +3 -3
  8. package/dist/cjs/customMediaPlayer/index-compiled.js +1 -1
  9. package/dist/cjs/customMediaPlayer/index.js +1 -1
  10. package/dist/cjs/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
  11. package/dist/cjs/customMediaPlayer/mediaPlayer/mediaPlayerBase.js +1 -1
  12. package/dist/cjs/customMediaPlayer/playPauseBlanket-compiled.js +1 -1
  13. package/dist/cjs/customMediaPlayer/react-video-renderer/video.js +1 -1
  14. package/dist/cjs/customMediaPlayer/styled-compiled.js +1 -1
  15. package/dist/cjs/ellipsify-compiled.js +1 -1
  16. package/dist/cjs/inactivityDetector/styled-compiled.js +1 -1
  17. package/dist/cjs/media-type-icon-compiled.js +1 -1
  18. package/dist/cjs/mediaImage/styled.js +4 -2
  19. package/dist/cjs/messages.js +5 -0
  20. package/dist/cjs/mime-type-icon.js +1 -1
  21. package/dist/cjs/modalSpinner-compiled.js +1 -1
  22. package/dist/cjs/truncateText-compiled.js +1 -1
  23. package/dist/es2019/MediaInlineCard/ErroredView/index.js +1 -1
  24. package/dist/es2019/MediaInlineCard/Frame/styled-compiled.js +1 -1
  25. package/dist/es2019/MediaInlineCard/Icon-compiled.js +1 -1
  26. package/dist/es2019/MediaInlineCard/IconAndTitleLayout/styled-compiled.js +1 -1
  27. package/dist/es2019/MediaInlineCard/LoadingView/styled-compiled.js +1 -1
  28. package/dist/es2019/customMediaPlayer/dropdownControlCommon.js +2 -2
  29. package/dist/es2019/customMediaPlayer/index-compiled.js +1 -1
  30. package/dist/es2019/customMediaPlayer/index.js +1 -1
  31. package/dist/es2019/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
  32. package/dist/es2019/customMediaPlayer/mediaPlayer/mediaPlayerBase.js +1 -1
  33. package/dist/es2019/customMediaPlayer/playPauseBlanket-compiled.js +1 -1
  34. package/dist/es2019/customMediaPlayer/react-video-renderer/video.js +1 -1
  35. package/dist/es2019/customMediaPlayer/styled-compiled.js +1 -1
  36. package/dist/es2019/ellipsify-compiled.js +1 -1
  37. package/dist/es2019/inactivityDetector/styled-compiled.js +1 -1
  38. package/dist/es2019/media-type-icon-compiled.js +1 -1
  39. package/dist/es2019/mediaImage/styled.js +3 -1
  40. package/dist/es2019/messages.js +5 -0
  41. package/dist/es2019/mime-type-icon.js +1 -1
  42. package/dist/es2019/modalSpinner-compiled.js +1 -1
  43. package/dist/es2019/truncateText-compiled.js +1 -1
  44. package/dist/esm/MediaInlineCard/ErroredView/index.js +1 -1
  45. package/dist/esm/MediaInlineCard/Frame/styled-compiled.js +1 -1
  46. package/dist/esm/MediaInlineCard/Icon-compiled.js +1 -1
  47. package/dist/esm/MediaInlineCard/IconAndTitleLayout/styled-compiled.js +1 -1
  48. package/dist/esm/MediaInlineCard/LoadingView/styled-compiled.js +1 -1
  49. package/dist/esm/customMediaPlayer/dropdownControlCommon.js +2 -2
  50. package/dist/esm/customMediaPlayer/index-compiled.js +1 -1
  51. package/dist/esm/customMediaPlayer/index.js +1 -1
  52. package/dist/esm/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
  53. package/dist/esm/customMediaPlayer/mediaPlayer/mediaPlayerBase.js +1 -1
  54. package/dist/esm/customMediaPlayer/playPauseBlanket-compiled.js +1 -1
  55. package/dist/esm/customMediaPlayer/react-video-renderer/video.js +1 -1
  56. package/dist/esm/customMediaPlayer/styled-compiled.js +1 -1
  57. package/dist/esm/ellipsify-compiled.js +1 -1
  58. package/dist/esm/inactivityDetector/styled-compiled.js +1 -1
  59. package/dist/esm/media-type-icon-compiled.js +1 -1
  60. package/dist/esm/mediaImage/styled.js +4 -2
  61. package/dist/esm/messages.js +5 -0
  62. package/dist/esm/mime-type-icon.js +1 -1
  63. package/dist/esm/modalSpinner-compiled.js +1 -1
  64. package/dist/esm/truncateText-compiled.js +1 -1
  65. package/dist/types/mediaImage/styled.d.ts +1 -0
  66. package/dist/types/messages.d.ts +1 -1
  67. package/dist/types-ts4.5/mediaImage/styled.d.ts +1 -0
  68. package/dist/types-ts4.5/messages.d.ts +1 -1
  69. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/media-ui
2
2
 
3
+ ## 28.7.34
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 28.7.33
4
10
 
5
11
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* Icon-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* Icon-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* dropdownControlCommon.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* dropdownControlCommon.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -14,7 +14,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
14
14
  var _react = _interopRequireDefault(require("react"));
15
15
  var _select = require("@atlaskit/select");
16
16
  var _colors = require("@atlaskit/theme/colors");
17
- var _primitives = require("@atlaskit/primitives");
17
+ var _compiled = require("@atlaskit/primitives/compiled");
18
18
  var _excluded = ["children"];
19
19
  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; }
20
20
  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/ensure-design-token-usage */ // Keep PlaybackSpeedControls to use static colors from the new color palette to support the hybrid
@@ -87,7 +87,7 @@ var createPopupSelectComponentsWithIcon = exports.createPopupSelectComponentsWit
87
87
  Option: function Option(_ref2) {
88
88
  var children = _ref2.children,
89
89
  props = (0, _objectWithoutProperties2.default)(_ref2, _excluded);
90
- var childrenWithIcon = /*#__PURE__*/_react.default.createElement(_primitives.Flex, {
90
+ var childrenWithIcon = /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
91
91
  justifyContent: "space-between",
92
92
  alignItems: "center"
93
93
  }, children, /*#__PURE__*/_react.default.createElement(IconComponent, {
@@ -1,4 +1,4 @@
1
- /* index-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* index-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -14,7 +14,7 @@ var CustomMediaPlayerBase = exports.CustomMediaPlayerBase = function CustomMedia
14
14
  return /*#__PURE__*/_react.default.createElement(_indexCompiled.CustomMediaPlayerBase, props);
15
15
  };
16
16
  var packageName = "@atlaskit/media-ui";
17
- var packageVersion = "28.7.32";
17
+ var packageVersion = "0.0.0-development";
18
18
 
19
19
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
20
20
  var CustomMediaPlayer = exports.CustomMediaPlayer = (0, _mediaCommon.withMediaAnalyticsContext)({
@@ -15,7 +15,7 @@ var _useTextTracks2 = require("./useTextTracks");
15
15
  var _analyticsNext = require("@atlaskit/analytics-next");
16
16
  var _excluded = ["onPlay"];
17
17
  var packageName = "@atlaskit/media-ui";
18
- var packageVersion = "28.7.32";
18
+ var packageVersion = "0.0.0-development";
19
19
  var MediaPlayerWihtoutContext = exports.MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
20
20
  var _onPlay = _ref.onPlay,
21
21
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
@@ -1,4 +1,4 @@
1
- /* mediaPlayerBase.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* mediaPlayerBase.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* playPauseBlanket-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* playPauseBlanket-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* video.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* video.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* ellipsify-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* ellipsify-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -9,7 +9,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
9
9
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
10
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
11
  var _react = _interopRequireDefault(require("react"));
12
- var _excluded = ["style", "imageRef"];
12
+ var _excluded = ["style", "imageRef", "alt"];
13
13
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
14
14
  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; }
15
15
  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; }
@@ -29,11 +29,13 @@ var imgStyle = {
29
29
  var ImageComponent = exports.ImageComponent = function ImageComponent(props) {
30
30
  var style = props.style,
31
31
  imageRef = props.imageRef,
32
+ alt = props.alt,
32
33
  otherProps = (0, _objectWithoutProperties2.default)(props, _excluded);
33
34
  return (
34
35
  /*#__PURE__*/
35
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlassian/a11y/alt-text -- Ignored via go/DSP-18766
36
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
36
37
  _react.default.createElement("img", (0, _extends2.default)({}, otherProps, {
38
+ alt: alt,
37
39
  ref: imageRef,
38
40
  style: _objectSpread(_objectSpread({}, imgStyle), style)
39
41
  }))
@@ -860,5 +860,10 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
860
860
  id: 'media.media-avatar-picker.image-cropper.zoom_slider',
861
861
  defaultMessage: 'set zoom',
862
862
  description: 'Label for the zoom slider to adjust image zoom'
863
+ },
864
+ image_placer_img_alt: {
865
+ id: 'media.media-avatar-picker.image-placer.image-alt',
866
+ defaultMessage: 'Image preview',
867
+ description: 'Alt text for the image being positioned in the image placer'
863
868
  }
864
869
  });
@@ -1,4 +1,4 @@
1
- /* mime-type-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* mime-type-icon.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* modalSpinner-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* modalSpinner-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* truncateText-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* truncateText-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled-compiled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* Icon-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* Icon-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./Icon-compiled.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled-compiled.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled-compiled.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* dropdownControlCommon.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* dropdownControlCommon.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./dropdownControlCommon.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -10,7 +10,7 @@ import React from 'react';
10
10
  import { components } from '@atlaskit/select';
11
11
  import { DN900 } from '@atlaskit/theme/colors';
12
12
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
13
- import { Flex } from '@atlaskit/primitives';
13
+ import { Flex } from '@atlaskit/primitives/compiled';
14
14
  export const popupCustomStyles = {
15
15
  container: styles => ({
16
16
  ...styles,
@@ -1,4 +1,4 @@
1
- /* index-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* index-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./index-compiled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -5,7 +5,7 @@ import { CustomMediaPlayerBase as CompiledCustomMediaPlayerBase } from './index-
5
5
  import { withMediaAnalyticsContext } from '@atlaskit/media-common';
6
6
  export const CustomMediaPlayerBase = props => /*#__PURE__*/React.createElement(CompiledCustomMediaPlayerBase, props);
7
7
  const packageName = "@atlaskit/media-ui";
8
- const packageVersion = "28.7.32";
8
+ const packageVersion = "0.0.0-development";
9
9
 
10
10
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
11
11
  export const CustomMediaPlayer = withMediaAnalyticsContext({
@@ -6,7 +6,7 @@ import { MediaPlayerBase } from './mediaPlayerBase';
6
6
  import { useTextTracks } from './useTextTracks';
7
7
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
8
8
  const packageName = "@atlaskit/media-ui";
9
- const packageVersion = "28.7.32";
9
+ const packageVersion = "0.0.0-development";
10
10
  export const MediaPlayerWihtoutContext = ({
11
11
  onPlay,
12
12
  ...props
@@ -1,4 +1,4 @@
1
- /* mediaPlayerBase.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* mediaPlayerBase.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./mediaPlayerBase.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* playPauseBlanket-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* playPauseBlanket-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./playPauseBlanket-compiled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* video.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* video.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled-compiled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* ellipsify-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* ellipsify-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./ellipsify-compiled.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./styled-compiled.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./media-type-icon-compiled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -19,12 +19,14 @@ export const ImageComponent = props => {
19
19
  const {
20
20
  style,
21
21
  imageRef,
22
+ alt,
22
23
  ...otherProps
23
24
  } = props;
24
25
  return (
25
26
  /*#__PURE__*/
26
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlassian/a11y/alt-text -- Ignored via go/DSP-18766
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
27
28
  React.createElement("img", _extends({}, otherProps, {
29
+ alt: alt,
28
30
  ref: imageRef,
29
31
  style: {
30
32
  ...imgStyle,
@@ -854,5 +854,10 @@ export const messages = defineMessages({
854
854
  id: 'media.media-avatar-picker.image-cropper.zoom_slider',
855
855
  defaultMessage: 'set zoom',
856
856
  description: 'Label for the zoom slider to adjust image zoom'
857
+ },
858
+ image_placer_img_alt: {
859
+ id: 'media.media-avatar-picker.image-placer.image-alt',
860
+ defaultMessage: 'Image preview',
861
+ description: 'Alt text for the image being positioned in the image placer'
857
862
  }
858
863
  });
@@ -1,4 +1,4 @@
1
- /* mime-type-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* mime-type-icon.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./mime-type-icon.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* modalSpinner-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* modalSpinner-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./modalSpinner-compiled.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* truncateText-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* truncateText-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./truncateText-compiled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["isSelected", "isError", "children"];
@@ -1,4 +1,4 @@
1
- /* Icon-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* Icon-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["alt"],
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["children"],
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["children"];
@@ -1,4 +1,4 @@
1
- /* dropdownControlCommon.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* dropdownControlCommon.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  import _extends from "@babel/runtime/helpers/extends";
4
4
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
@@ -15,7 +15,7 @@ import React from 'react';
15
15
  import { components } from '@atlaskit/select';
16
16
  import { DN900 } from '@atlaskit/theme/colors';
17
17
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
18
- import { Flex } from '@atlaskit/primitives';
18
+ import { Flex } from '@atlaskit/primitives/compiled';
19
19
  export var popupCustomStyles = {
20
20
  container: function container(styles) {
21
21
  return _objectSpread(_objectSpread({}, styles), {}, {
@@ -1,4 +1,4 @@
1
- /* index-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* index-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -7,7 +7,7 @@ export var CustomMediaPlayerBase = function CustomMediaPlayerBase(props) {
7
7
  return /*#__PURE__*/React.createElement(CompiledCustomMediaPlayerBase, props);
8
8
  };
9
9
  var packageName = "@atlaskit/media-ui";
10
- var packageVersion = "28.7.32";
10
+ var packageVersion = "0.0.0-development";
11
11
 
12
12
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
13
13
  export var CustomMediaPlayer = withMediaAnalyticsContext({
@@ -8,7 +8,7 @@ import { MediaPlayerBase } from './mediaPlayerBase';
8
8
  import { useTextTracks } from './useTextTracks';
9
9
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
10
10
  var packageName = "@atlaskit/media-ui";
11
- var packageVersion = "28.7.32";
11
+ var packageVersion = "0.0.0-development";
12
12
  export var MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
13
13
  var _onPlay = _ref.onPlay,
14
14
  props = _objectWithoutProperties(_ref, _excluded);
@@ -1,4 +1,4 @@
1
- /* mediaPlayerBase.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* mediaPlayerBase.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -1,4 +1,4 @@
1
- /* playPauseBlanket-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* playPauseBlanket-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["children"];
@@ -1,4 +1,4 @@
1
- /* video.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* video.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
4
4
  import _createClass from "@babel/runtime/helpers/createClass";
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["showSlider", "children"],
@@ -1,4 +1,4 @@
1
- /* ellipsify-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* ellipsify-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./ellipsify-compiled.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* styled-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* styled-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["controlsAreVisible", "children"];
@@ -1,4 +1,4 @@
1
- /* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* media-type-icon-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["style", "imageRef"];
4
+ var _excluded = ["style", "imageRef", "alt"];
5
5
  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; }
6
6
  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; }
7
7
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage/preview */
@@ -23,11 +23,13 @@ var imgStyle = {
23
23
  export var ImageComponent = function ImageComponent(props) {
24
24
  var style = props.style,
25
25
  imageRef = props.imageRef,
26
+ alt = props.alt,
26
27
  otherProps = _objectWithoutProperties(props, _excluded);
27
28
  return (
28
29
  /*#__PURE__*/
29
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlassian/a11y/alt-text -- Ignored via go/DSP-18766
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
30
31
  React.createElement("img", _extends({}, otherProps, {
32
+ alt: alt,
31
33
  ref: imageRef,
32
34
  style: _objectSpread(_objectSpread({}, imgStyle), style)
33
35
  }))
@@ -854,5 +854,10 @@ export var messages = defineMessages({
854
854
  id: 'media.media-avatar-picker.image-cropper.zoom_slider',
855
855
  defaultMessage: 'set zoom',
856
856
  description: 'Label for the zoom slider to adjust image zoom'
857
+ },
858
+ image_placer_img_alt: {
859
+ id: 'media.media-avatar-picker.image-placer.image-alt',
860
+ defaultMessage: 'Image preview',
861
+ description: 'Alt text for the image being positioned in the image placer'
857
862
  }
858
863
  });
@@ -1,4 +1,4 @@
1
- /* mime-type-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* mime-type-icon.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./mime-type-icon.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* modalSpinner-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* modalSpinner-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./modalSpinner-compiled.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* truncateText-compiled.tsx generated by @compiled/babel-plugin v0.38.1 */
1
+ /* truncateText-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["fontSizePX", "startFixedChars", "endFixedChars", "children"],
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const ImageComponent: React.FC<React.ClassAttributes<HTMLImageElement> & React.ImgHTMLAttributes<HTMLImageElement> & {
3
+ alt: string;
3
4
  loading?: 'lazy' | 'eager';
4
5
  imageRef?: ((instance: HTMLImageElement | null) => void) | React.RefObject<HTMLImageElement> | null;
5
6
  }>;
@@ -1,6 +1,6 @@
1
1
  import { type MessageDescriptor } from 'react-intl-next';
2
2
  export type RequestAccessMessageKey = 'request_access_description' | 'click_to_join_description' | 'request_access_pending_description' | 'click_to_join' | 'request_access' | 'request_access_pending' | 'forbidden_description' | 'request_denied_description';
3
- export type MessageKey = 'retry' | 'failed_to_load' | 'failed_to_upload' | 'check_internet_connection' | 'recent_uploads' | 'upload_file' | 'drag_and_drop_your_files' | 'drag_and_drop_your_files_and_folders' | 'drop_your_files' | 'upload' | 'cancel' | 'delete' | 'success' | 'error' | 'search_all_gifs' | 'cant_retrieve_gifs' | 'cant_retrieve_files' | 'check_your_network' | 'try_again' | 'try_another_account' | 'no_gifs_found' | 'no_gifs_found_suggestion' | 'load_more_gifs' | 'add_account' | 'unlink_account' | 'upload_file_from' | 'connect_to' | 'connect_account_description' | 'connect_link_account' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'invalid_permissions' | 'invalid_permissions_description' | 'select_an_avatar' | 'upload_an_avatar' | 'or_select_default_avatars' | 'select_an_avatar_from_all_defaults' | 'show_more_avatars_btn_label' | 'loading' | 'loading_file' | 'save' | 'or' | 'upload_photo' | 'default_avatars' | 'avatar_picker_back_btn_label' | 'drag_and_drop_images_here' | 'alt_text' | 'alt_text_description' | 'image_url_invalid_error' | 'image_format_invalid_error' | 'image_size_too_large_error' | 'something_went_wrong' | 'might_be_a_hiccup' | 'couldnt_generate_preview' | 'couldnt_generate_encrypted_entry_preview' | 'cant_preview_file_type' | 'item_not_found_in_list' | 'not_found_title' | 'not_found_description' | 'no_pdf_artifacts' | 'password_protected_pdf' | 'password' | 'enter_password' | 'incorrect_password' | 'submit' | 'give_feedback' | 'try_downloading_file' | 'webgl_warning_description' | 'unable_to_annotate_image' | 'learn_more' | 'accounts' | 'actions' | 'error_hint_retry' | 'error_hint_critical' | 'close' | 'could_not_load_editor' | 'could_not_save_image' | 'could_not_load_link' | 'annotate' | 'annotate_tool_arrow' | 'annotate_tool_text' | 'annotate_tool_shape' | 'annotate_tool_brush' | 'annotate_tool_blur' | 'annotate_tool_line_thickness' | 'annotate_tool_color' | 'annotate_confirmation_close_anyway' | 'annotate_confirmation_heading' | 'annotate_confirmation_content' | 'drop_your_files_here' | 'share_files_instantly' | 'insert_files' | 'zoom_out' | 'zoom_in' | 'remove_image' | 'play' | 'pause' | 'disable_fullscreen' | 'enable_fullscreen' | 'error_loading_file' | 'error_generating_preview' | 'download' | 'download_disabled_security_policy' | 'unknown' | 'document' | 'audio' | 'video' | 'image' | 'archive' | 'email' | 'text' | 'displayThumbnail' | 'search' | 'view' | 'viewIn' | 'viewOriginal' | 'changeView' | 'playbackSpeed' | 'skipBackward' | 'skipForward' | 'sizeOptions' | 'fileDisplayOptions' | 'volumeMuteButtonAria' | 'volumeLevelControlAria' | 'playbackDefaultSpeed' | 'preview' | 'preview_unavailable' | 'creating_preview' | 'couldnt_load_file' | 'error_429' | 'close_and_reopen' | 'viewer_rateLimited' | 'zip_entry_load_fail' | 'file_image_is_selected' | 'file_video_is_selected' | 'file_audio_is_selected' | 'file_doc_is_selected' | 'file_archive_is_selected' | 'file_unknown_is_selected' | 'open_file_in_viewer' | 'video_seeker_assistive_text_time_value' | 'video_seeker_label_assistive_text' | 'abuse_modal_body' | 'abuse_modal_title' | 'abuse_modal_submit' | 'image_cropper_arrow_keys_label' | 'image_cropper_image_moved' | 'image_cropper_zoom_out' | 'image_cropper_zoom_in' | 'image_cropper_zoom_slider' | 'video_captions_enable' | 'video_captions_select_captions' | 'video_captions_upload_captions_form_header' | 'video_captions_upload_captions_form_language_picker' | 'video_captions_upload_success_description' | 'video_captions_upload_error_description' | 'video_captions_delete_captions_confirmation_header' | 'video_captions_delete_captions_confirmation_description' | 'video_captions_delete_success_description' | 'video_captions_delete_error_description' | 'manage_captions' | 'add_captions' | RequestAccessMessageKey;
3
+ export type MessageKey = 'retry' | 'failed_to_load' | 'failed_to_upload' | 'check_internet_connection' | 'recent_uploads' | 'upload_file' | 'drag_and_drop_your_files' | 'drag_and_drop_your_files_and_folders' | 'drop_your_files' | 'upload' | 'cancel' | 'delete' | 'success' | 'error' | 'search_all_gifs' | 'cant_retrieve_gifs' | 'cant_retrieve_files' | 'check_your_network' | 'try_again' | 'try_another_account' | 'no_gifs_found' | 'no_gifs_found_suggestion' | 'load_more_gifs' | 'add_account' | 'unlink_account' | 'upload_file_from' | 'connect_to' | 'connect_account_description' | 'connect_link_account' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'invalid_permissions' | 'invalid_permissions_description' | 'select_an_avatar' | 'upload_an_avatar' | 'or_select_default_avatars' | 'select_an_avatar_from_all_defaults' | 'show_more_avatars_btn_label' | 'loading' | 'loading_file' | 'save' | 'or' | 'upload_photo' | 'default_avatars' | 'avatar_picker_back_btn_label' | 'drag_and_drop_images_here' | 'alt_text' | 'alt_text_description' | 'image_url_invalid_error' | 'image_format_invalid_error' | 'image_size_too_large_error' | 'something_went_wrong' | 'might_be_a_hiccup' | 'couldnt_generate_preview' | 'couldnt_generate_encrypted_entry_preview' | 'cant_preview_file_type' | 'item_not_found_in_list' | 'not_found_title' | 'not_found_description' | 'no_pdf_artifacts' | 'password_protected_pdf' | 'password' | 'enter_password' | 'incorrect_password' | 'submit' | 'give_feedback' | 'try_downloading_file' | 'webgl_warning_description' | 'unable_to_annotate_image' | 'learn_more' | 'accounts' | 'actions' | 'error_hint_retry' | 'error_hint_critical' | 'close' | 'could_not_load_editor' | 'could_not_save_image' | 'could_not_load_link' | 'annotate' | 'annotate_tool_arrow' | 'annotate_tool_text' | 'annotate_tool_shape' | 'annotate_tool_brush' | 'annotate_tool_blur' | 'annotate_tool_line_thickness' | 'annotate_tool_color' | 'annotate_confirmation_close_anyway' | 'annotate_confirmation_heading' | 'annotate_confirmation_content' | 'drop_your_files_here' | 'share_files_instantly' | 'insert_files' | 'zoom_out' | 'zoom_in' | 'remove_image' | 'play' | 'pause' | 'disable_fullscreen' | 'enable_fullscreen' | 'error_loading_file' | 'error_generating_preview' | 'download' | 'download_disabled_security_policy' | 'unknown' | 'document' | 'audio' | 'video' | 'image' | 'archive' | 'email' | 'text' | 'displayThumbnail' | 'search' | 'view' | 'viewIn' | 'viewOriginal' | 'changeView' | 'playbackSpeed' | 'skipBackward' | 'skipForward' | 'sizeOptions' | 'fileDisplayOptions' | 'volumeMuteButtonAria' | 'volumeLevelControlAria' | 'playbackDefaultSpeed' | 'preview' | 'preview_unavailable' | 'creating_preview' | 'couldnt_load_file' | 'error_429' | 'close_and_reopen' | 'viewer_rateLimited' | 'zip_entry_load_fail' | 'file_image_is_selected' | 'file_video_is_selected' | 'file_audio_is_selected' | 'file_doc_is_selected' | 'file_archive_is_selected' | 'file_unknown_is_selected' | 'open_file_in_viewer' | 'video_seeker_assistive_text_time_value' | 'video_seeker_label_assistive_text' | 'abuse_modal_body' | 'abuse_modal_title' | 'abuse_modal_submit' | 'image_cropper_arrow_keys_label' | 'image_cropper_image_moved' | 'image_cropper_zoom_out' | 'image_cropper_zoom_in' | 'image_cropper_zoom_slider' | 'image_placer_img_alt' | 'video_captions_enable' | 'video_captions_select_captions' | 'video_captions_upload_captions_form_header' | 'video_captions_upload_captions_form_language_picker' | 'video_captions_upload_success_description' | 'video_captions_upload_error_description' | 'video_captions_delete_captions_confirmation_header' | 'video_captions_delete_captions_confirmation_description' | 'video_captions_delete_success_description' | 'video_captions_delete_error_description' | 'manage_captions' | 'add_captions' | RequestAccessMessageKey;
4
4
  type Messages = {
5
5
  [K in MessageKey]: MessageDescriptor;
6
6
  };
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const ImageComponent: React.FC<React.ClassAttributes<HTMLImageElement> & React.ImgHTMLAttributes<HTMLImageElement> & {
3
+ alt: string;
3
4
  loading?: 'lazy' | 'eager';
4
5
  imageRef?: ((instance: HTMLImageElement | null) => void) | React.RefObject<HTMLImageElement> | null;
5
6
  }>;
@@ -1,6 +1,6 @@
1
1
  import { type MessageDescriptor } from 'react-intl-next';
2
2
  export type RequestAccessMessageKey = 'request_access_description' | 'click_to_join_description' | 'request_access_pending_description' | 'click_to_join' | 'request_access' | 'request_access_pending' | 'forbidden_description' | 'request_denied_description';
3
- export type MessageKey = 'retry' | 'failed_to_load' | 'failed_to_upload' | 'check_internet_connection' | 'recent_uploads' | 'upload_file' | 'drag_and_drop_your_files' | 'drag_and_drop_your_files_and_folders' | 'drop_your_files' | 'upload' | 'cancel' | 'delete' | 'success' | 'error' | 'search_all_gifs' | 'cant_retrieve_gifs' | 'cant_retrieve_files' | 'check_your_network' | 'try_again' | 'try_another_account' | 'no_gifs_found' | 'no_gifs_found_suggestion' | 'load_more_gifs' | 'add_account' | 'unlink_account' | 'upload_file_from' | 'connect_to' | 'connect_account_description' | 'connect_link_account' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'invalid_permissions' | 'invalid_permissions_description' | 'select_an_avatar' | 'upload_an_avatar' | 'or_select_default_avatars' | 'select_an_avatar_from_all_defaults' | 'show_more_avatars_btn_label' | 'loading' | 'loading_file' | 'save' | 'or' | 'upload_photo' | 'default_avatars' | 'avatar_picker_back_btn_label' | 'drag_and_drop_images_here' | 'alt_text' | 'alt_text_description' | 'image_url_invalid_error' | 'image_format_invalid_error' | 'image_size_too_large_error' | 'something_went_wrong' | 'might_be_a_hiccup' | 'couldnt_generate_preview' | 'couldnt_generate_encrypted_entry_preview' | 'cant_preview_file_type' | 'item_not_found_in_list' | 'not_found_title' | 'not_found_description' | 'no_pdf_artifacts' | 'password_protected_pdf' | 'password' | 'enter_password' | 'incorrect_password' | 'submit' | 'give_feedback' | 'try_downloading_file' | 'webgl_warning_description' | 'unable_to_annotate_image' | 'learn_more' | 'accounts' | 'actions' | 'error_hint_retry' | 'error_hint_critical' | 'close' | 'could_not_load_editor' | 'could_not_save_image' | 'could_not_load_link' | 'annotate' | 'annotate_tool_arrow' | 'annotate_tool_text' | 'annotate_tool_shape' | 'annotate_tool_brush' | 'annotate_tool_blur' | 'annotate_tool_line_thickness' | 'annotate_tool_color' | 'annotate_confirmation_close_anyway' | 'annotate_confirmation_heading' | 'annotate_confirmation_content' | 'drop_your_files_here' | 'share_files_instantly' | 'insert_files' | 'zoom_out' | 'zoom_in' | 'remove_image' | 'play' | 'pause' | 'disable_fullscreen' | 'enable_fullscreen' | 'error_loading_file' | 'error_generating_preview' | 'download' | 'download_disabled_security_policy' | 'unknown' | 'document' | 'audio' | 'video' | 'image' | 'archive' | 'email' | 'text' | 'displayThumbnail' | 'search' | 'view' | 'viewIn' | 'viewOriginal' | 'changeView' | 'playbackSpeed' | 'skipBackward' | 'skipForward' | 'sizeOptions' | 'fileDisplayOptions' | 'volumeMuteButtonAria' | 'volumeLevelControlAria' | 'playbackDefaultSpeed' | 'preview' | 'preview_unavailable' | 'creating_preview' | 'couldnt_load_file' | 'error_429' | 'close_and_reopen' | 'viewer_rateLimited' | 'zip_entry_load_fail' | 'file_image_is_selected' | 'file_video_is_selected' | 'file_audio_is_selected' | 'file_doc_is_selected' | 'file_archive_is_selected' | 'file_unknown_is_selected' | 'open_file_in_viewer' | 'video_seeker_assistive_text_time_value' | 'video_seeker_label_assistive_text' | 'abuse_modal_body' | 'abuse_modal_title' | 'abuse_modal_submit' | 'image_cropper_arrow_keys_label' | 'image_cropper_image_moved' | 'image_cropper_zoom_out' | 'image_cropper_zoom_in' | 'image_cropper_zoom_slider' | 'video_captions_enable' | 'video_captions_select_captions' | 'video_captions_upload_captions_form_header' | 'video_captions_upload_captions_form_language_picker' | 'video_captions_upload_success_description' | 'video_captions_upload_error_description' | 'video_captions_delete_captions_confirmation_header' | 'video_captions_delete_captions_confirmation_description' | 'video_captions_delete_success_description' | 'video_captions_delete_error_description' | 'manage_captions' | 'add_captions' | RequestAccessMessageKey;
3
+ export type MessageKey = 'retry' | 'failed_to_load' | 'failed_to_upload' | 'check_internet_connection' | 'recent_uploads' | 'upload_file' | 'drag_and_drop_your_files' | 'drag_and_drop_your_files_and_folders' | 'drop_your_files' | 'upload' | 'cancel' | 'delete' | 'success' | 'error' | 'search_all_gifs' | 'cant_retrieve_gifs' | 'cant_retrieve_files' | 'check_your_network' | 'try_again' | 'try_another_account' | 'no_gifs_found' | 'no_gifs_found_suggestion' | 'load_more_gifs' | 'add_account' | 'unlink_account' | 'upload_file_from' | 'connect_to' | 'connect_account_description' | 'connect_link_account' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'invalid_permissions' | 'invalid_permissions_description' | 'select_an_avatar' | 'upload_an_avatar' | 'or_select_default_avatars' | 'select_an_avatar_from_all_defaults' | 'show_more_avatars_btn_label' | 'loading' | 'loading_file' | 'save' | 'or' | 'upload_photo' | 'default_avatars' | 'avatar_picker_back_btn_label' | 'drag_and_drop_images_here' | 'alt_text' | 'alt_text_description' | 'image_url_invalid_error' | 'image_format_invalid_error' | 'image_size_too_large_error' | 'something_went_wrong' | 'might_be_a_hiccup' | 'couldnt_generate_preview' | 'couldnt_generate_encrypted_entry_preview' | 'cant_preview_file_type' | 'item_not_found_in_list' | 'not_found_title' | 'not_found_description' | 'no_pdf_artifacts' | 'password_protected_pdf' | 'password' | 'enter_password' | 'incorrect_password' | 'submit' | 'give_feedback' | 'try_downloading_file' | 'webgl_warning_description' | 'unable_to_annotate_image' | 'learn_more' | 'accounts' | 'actions' | 'error_hint_retry' | 'error_hint_critical' | 'close' | 'could_not_load_editor' | 'could_not_save_image' | 'could_not_load_link' | 'annotate' | 'annotate_tool_arrow' | 'annotate_tool_text' | 'annotate_tool_shape' | 'annotate_tool_brush' | 'annotate_tool_blur' | 'annotate_tool_line_thickness' | 'annotate_tool_color' | 'annotate_confirmation_close_anyway' | 'annotate_confirmation_heading' | 'annotate_confirmation_content' | 'drop_your_files_here' | 'share_files_instantly' | 'insert_files' | 'zoom_out' | 'zoom_in' | 'remove_image' | 'play' | 'pause' | 'disable_fullscreen' | 'enable_fullscreen' | 'error_loading_file' | 'error_generating_preview' | 'download' | 'download_disabled_security_policy' | 'unknown' | 'document' | 'audio' | 'video' | 'image' | 'archive' | 'email' | 'text' | 'displayThumbnail' | 'search' | 'view' | 'viewIn' | 'viewOriginal' | 'changeView' | 'playbackSpeed' | 'skipBackward' | 'skipForward' | 'sizeOptions' | 'fileDisplayOptions' | 'volumeMuteButtonAria' | 'volumeLevelControlAria' | 'playbackDefaultSpeed' | 'preview' | 'preview_unavailable' | 'creating_preview' | 'couldnt_load_file' | 'error_429' | 'close_and_reopen' | 'viewer_rateLimited' | 'zip_entry_load_fail' | 'file_image_is_selected' | 'file_video_is_selected' | 'file_audio_is_selected' | 'file_doc_is_selected' | 'file_archive_is_selected' | 'file_unknown_is_selected' | 'open_file_in_viewer' | 'video_seeker_assistive_text_time_value' | 'video_seeker_label_assistive_text' | 'abuse_modal_body' | 'abuse_modal_title' | 'abuse_modal_submit' | 'image_cropper_arrow_keys_label' | 'image_cropper_image_moved' | 'image_cropper_zoom_out' | 'image_cropper_zoom_in' | 'image_cropper_zoom_slider' | 'image_placer_img_alt' | 'video_captions_enable' | 'video_captions_select_captions' | 'video_captions_upload_captions_form_header' | 'video_captions_upload_captions_form_language_picker' | 'video_captions_upload_success_description' | 'video_captions_upload_error_description' | 'video_captions_delete_captions_confirmation_header' | 'video_captions_delete_captions_confirmation_description' | 'video_captions_delete_success_description' | 'video_captions_delete_error_description' | 'manage_captions' | 'add_captions' | RequestAccessMessageKey;
4
4
  type Messages = {
5
5
  [K in MessageKey]: MessageDescriptor;
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-ui",
3
- "version": "28.7.33",
3
+ "version": "28.7.34",
4
4
  "description": "Includes common components and utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,8 +29,8 @@
29
29
  "@atlaskit/code": "^17.4.0",
30
30
  "@atlaskit/css": "^0.19.0",
31
31
  "@atlaskit/flag": "^17.8.0",
32
- "@atlaskit/form": "^15.3.0",
33
- "@atlaskit/icon": "^32.0.0",
32
+ "@atlaskit/form": "^15.4.0",
33
+ "@atlaskit/icon": "^33.0.0",
34
34
  "@atlaskit/icon-file-type": "^7.0.0",
35
35
  "@atlaskit/locale": "^3.0.0",
36
36
  "@atlaskit/media-client": "^36.0.0",
@@ -40,16 +40,16 @@
40
40
  "@atlaskit/modal-dialog": "^14.11.0",
41
41
  "@atlaskit/platform-feature-flags": "^1.1.0",
42
42
  "@atlaskit/primitives": "^18.0.0",
43
- "@atlaskit/range": "^9.3.0",
43
+ "@atlaskit/range": "^10.0.0",
44
44
  "@atlaskit/react-ufo": "^5.4.0",
45
- "@atlaskit/select": "^21.7.0",
45
+ "@atlaskit/select": "^21.8.0",
46
46
  "@atlaskit/spinner": "^19.0.0",
47
47
  "@atlaskit/theme": "^22.0.0",
48
- "@atlaskit/tokens": "^11.0.0",
48
+ "@atlaskit/tokens": "^11.1.0",
49
49
  "@atlaskit/tooltip": "^20.14.0",
50
50
  "@atlaskit/width-detector": "^5.0.0",
51
51
  "@babel/runtime": "^7.0.0",
52
- "@compiled/react": "^0.18.6",
52
+ "@compiled/react": "^0.20.0",
53
53
  "@emotion/styled": "^11.0.0",
54
54
  "blueimp-load-image": "2.19.0",
55
55
  "bytes": "^3.1.0",
@@ -68,7 +68,7 @@
68
68
  "@atlaskit/analytics-listeners": "^10.0.0",
69
69
  "@atlaskit/media-test-data": "^3.2.0",
70
70
  "@atlaskit/ssr": "workspace:^",
71
- "@atlassian/a11y-jest-testing": "^0.11.0",
71
+ "@atlassian/a11y-jest-testing": "^0.10.0",
72
72
  "@atlassian/feature-flags-test-utils": "^1.0.0",
73
73
  "@testing-library/jest-dom": "^6.4.5",
74
74
  "@testing-library/react": "^16.3.0",