@atlaskit/media-ui 28.7.13 → 28.7.14

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,12 @@
1
1
  # @atlaskit/media-ui
2
2
 
3
+ ## 28.7.14
4
+
5
+ ### Patch Changes
6
+
7
+ - [`80eb37089f8a2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/80eb37089f8a2) -
8
+ Fix HD button inactive state label to properly announce 'hd inactive' for screen readers
9
+
3
10
  ## 28.7.13
4
11
 
5
12
  ### Patch Changes
@@ -181,7 +181,7 @@ var CustomMediaPlayerBase = exports.CustomMediaPlayerBase = /*#__PURE__*/functio
181
181
  iconBefore: isHDActive ? /*#__PURE__*/_react.default.createElement(_videoHdFilled.default, {
182
182
  label: "hd active"
183
183
  }) : /*#__PURE__*/_react.default.createElement(_videoHd.default, {
184
- label: "hd"
184
+ label: "hd inactive"
185
185
  }),
186
186
  "aria-pressed": isHDActive
187
187
  });
@@ -244,7 +244,7 @@ var _MediaPlayerBase = /*#__PURE__*/function (_Component) {
244
244
  iconBefore: isHDActive ? /*#__PURE__*/_react.default.createElement(_videoHdFilled.default, {
245
245
  label: "hd active"
246
246
  }) : /*#__PURE__*/_react.default.createElement(_videoHd.default, {
247
- label: "hd"
247
+ label: "hd inactive"
248
248
  }),
249
249
  "aria-pressed": isHDActive
250
250
  });
@@ -165,7 +165,7 @@ export class CustomMediaPlayerBase extends Component {
165
165
  iconBefore: isHDActive ? /*#__PURE__*/React.createElement(VideoHdFilledIcon, {
166
166
  label: "hd active"
167
167
  }) : /*#__PURE__*/React.createElement(VideoHdIcon, {
168
- label: "hd"
168
+ label: "hd inactive"
169
169
  }),
170
170
  "aria-pressed": isHDActive
171
171
  });
@@ -205,7 +205,7 @@ class _MediaPlayerBase extends Component {
205
205
  iconBefore: isHDActive ? /*#__PURE__*/React.createElement(VideoHdFilledIcon, {
206
206
  label: "hd active"
207
207
  }) : /*#__PURE__*/React.createElement(VideoHdIcon, {
208
- label: "hd"
208
+ label: "hd inactive"
209
209
  }),
210
210
  "aria-pressed": isHDActive
211
211
  });
@@ -175,7 +175,7 @@ export var CustomMediaPlayerBase = /*#__PURE__*/function (_Component) {
175
175
  iconBefore: isHDActive ? /*#__PURE__*/React.createElement(VideoHdFilledIcon, {
176
176
  label: "hd active"
177
177
  }) : /*#__PURE__*/React.createElement(VideoHdIcon, {
178
- label: "hd"
178
+ label: "hd inactive"
179
179
  }),
180
180
  "aria-pressed": isHDActive
181
181
  });
@@ -238,7 +238,7 @@ var _MediaPlayerBase = /*#__PURE__*/function (_Component) {
238
238
  iconBefore: isHDActive ? /*#__PURE__*/React.createElement(VideoHdFilledIcon, {
239
239
  label: "hd active"
240
240
  }) : /*#__PURE__*/React.createElement(VideoHdIcon, {
241
- label: "hd"
241
+ label: "hd inactive"
242
242
  }),
243
243
  "aria-pressed": isHDActive
244
244
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-ui",
3
- "version": "28.7.13",
3
+ "version": "28.7.14",
4
4
  "description": "Includes common components and utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/spinner": "^19.0.0",
50
50
  "@atlaskit/theme": "^21.0.0",
51
51
  "@atlaskit/tokens": "^8.0.0",
52
- "@atlaskit/tooltip": "^20.8.0",
52
+ "@atlaskit/tooltip": "^20.9.0",
53
53
  "@atlaskit/width-detector": "^5.0.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@compiled/react": "^0.18.6",