@atlaskit/media-ui 25.10.1 → 25.10.2

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,13 @@
1
1
  # @atlaskit/media-ui
2
2
 
3
+ ## 25.10.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#94950](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94950)
8
+ [`829cce5728a3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/829cce5728a3) -
9
+ ECAY11-190 Add state announcement of the “Volume“ button by the screen reader
10
+
3
11
  ## 25.10.1
4
12
 
5
13
  ### Patch Changes
@@ -54,7 +54,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
54
54
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */ // Keep media player components used in media-viewer to use static colors from the new color palette to
55
55
  // support the hybrid theming in media viewer https://product-fabric.atlassian.net/browse/DSP-6067
56
56
  var packageName = "@atlaskit/media-ui";
57
- var packageVersion = "25.10.1";
57
+ var packageVersion = "25.10.2";
58
58
  var MEDIUM_VIDEO_MAX_WIDTH = 400;
59
59
  var SMALL_VIDEO_MAX_WIDTH = 160;
60
60
  var MINIMUM_DURATION_BEFORE_SAVING_TIME = 60;
@@ -226,7 +226,8 @@ var CustomMediaPlayerBase = exports.CustomMediaPlayerBase = /*#__PURE__*/functio
226
226
  onClick: _this.getMediaButtonClickHandler(actions.toggleMute, 'muteButton'),
227
227
  iconBefore: /*#__PURE__*/_react.default.createElement(_outgoingSound.default, {
228
228
  label: "volume"
229
- })
229
+ }),
230
+ "aria-pressed": videoState.isMuted
230
231
  })), (0, _platformFeatureFlags.getBooleanFF)('platform.editor.a11y_video_controls_keyboard_support_yhcxh') ? showSlider && /*#__PURE__*/_react.default.createElement(_styled.VolumeTimeRangeWrapper, null, /*#__PURE__*/_react.default.createElement(_volumeRange.default, {
231
232
  onChange: actions.setVolume,
232
233
  currentVolume: videoState.volume,
@@ -37,7 +37,7 @@ import { SkipTenBackwardIcon, SkipTenForwardIcon } from './icons';
37
37
  import { getControlsWrapperClassName } from './getControlsWrapperClassName';
38
38
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
39
39
  const packageName = "@atlaskit/media-ui";
40
- const packageVersion = "25.10.1";
40
+ const packageVersion = "25.10.2";
41
41
  const MEDIUM_VIDEO_MAX_WIDTH = 400;
42
42
  const SMALL_VIDEO_MAX_WIDTH = 160;
43
43
  const MINIMUM_DURATION_BEFORE_SAVING_TIME = 60;
@@ -209,7 +209,8 @@ export class CustomMediaPlayerBase extends Component {
209
209
  onClick: this.getMediaButtonClickHandler(actions.toggleMute, 'muteButton'),
210
210
  iconBefore: /*#__PURE__*/React.createElement(SoundIcon, {
211
211
  label: "volume"
212
- })
212
+ }),
213
+ "aria-pressed": videoState.isMuted
213
214
  })), getBooleanFF('platform.editor.a11y_video_controls_keyboard_support_yhcxh') ? showSlider && /*#__PURE__*/React.createElement(VolumeTimeRangeWrapper, null, /*#__PURE__*/React.createElement(VolumeRange, {
214
215
  onChange: actions.setVolume,
215
216
  currentVolume: videoState.volume,
@@ -47,7 +47,7 @@ import { SkipTenBackwardIcon, SkipTenForwardIcon } from './icons';
47
47
  import { getControlsWrapperClassName } from './getControlsWrapperClassName';
48
48
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
49
49
  var packageName = "@atlaskit/media-ui";
50
- var packageVersion = "25.10.1";
50
+ var packageVersion = "25.10.2";
51
51
  var MEDIUM_VIDEO_MAX_WIDTH = 400;
52
52
  var SMALL_VIDEO_MAX_WIDTH = 160;
53
53
  var MINIMUM_DURATION_BEFORE_SAVING_TIME = 60;
@@ -219,7 +219,8 @@ export var CustomMediaPlayerBase = /*#__PURE__*/function (_Component) {
219
219
  onClick: _this.getMediaButtonClickHandler(actions.toggleMute, 'muteButton'),
220
220
  iconBefore: /*#__PURE__*/React.createElement(SoundIcon, {
221
221
  label: "volume"
222
- })
222
+ }),
223
+ "aria-pressed": videoState.isMuted
223
224
  })), getBooleanFF('platform.editor.a11y_video_controls_keyboard_support_yhcxh') ? showSlider && /*#__PURE__*/React.createElement(VolumeTimeRangeWrapper, null, /*#__PURE__*/React.createElement(VolumeRange, {
224
225
  onChange: actions.setVolume,
225
226
  currentVolume: videoState.volume,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-ui",
3
- "version": "25.10.1",
3
+ "version": "25.10.2",
4
4
  "description": "Includes common components and utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,14 +31,14 @@
31
31
  "@atlaskit/locale": "^2.7.0",
32
32
  "@atlaskit/media-common": "^11.2.0",
33
33
  "@atlaskit/platform-feature-flags": "^0.2.5",
34
- "@atlaskit/primitives": "^6.0.0",
34
+ "@atlaskit/primitives": "^6.1.0",
35
35
  "@atlaskit/range": "^7.2.0",
36
- "@atlaskit/select": "^17.8.0",
36
+ "@atlaskit/select": "^17.9.0",
37
37
  "@atlaskit/spinner": "^16.1.0",
38
38
  "@atlaskit/theme": "^12.7.0",
39
39
  "@atlaskit/tokens": "^1.45.0",
40
40
  "@atlaskit/tooltip": "^18.3.0",
41
- "@atlaskit/width-detector": "^4.1.0",
41
+ "@atlaskit/width-detector": "^4.2.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "@emotion/styled": "^11.0.0",
44
44
  "blueimp-load-image": "2.19.0",