@atlaskit/media-ui 28.7.12 → 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,19 @@
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
+
10
+ ## 28.7.13
11
+
12
+ ### Patch Changes
13
+
14
+ - [`c60de47015108`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c60de47015108) -
15
+ Fix types for editor related dependencies
16
+
3
17
  ## 28.7.12
4
18
 
5
19
  ### 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
  });
@@ -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.11";
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.11";
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);
@@ -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
  });
@@ -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.11";
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.11";
9
+ const packageVersion = "0.0.0-development";
10
10
  export const MediaPlayerWihtoutContext = ({
11
11
  onPlay,
12
12
  ...props
@@ -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
  });
@@ -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.11";
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.11";
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);
@@ -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
  });
@@ -9,8 +9,8 @@ export interface TimeRangeProps {
9
9
  disableThumbTooltip: boolean;
10
10
  isAlwaysActive: boolean;
11
11
  onChanged?: () => void;
12
- skipBackward?: (skipAmount: number) => void;
13
- skipForward?: (skipAmount: number) => void;
12
+ skipBackward?: (skipAmount?: number) => void;
13
+ skipForward?: (skipAmount?: number) => void;
14
14
  }
15
15
  export interface TimeRangeState {
16
16
  isDragging: boolean;
@@ -23,7 +23,10 @@ export declare class TimeRangeBase extends Component<TimeRangeProps & WrappedCom
23
23
  wrapperElement: React.RefObject<HTMLDivElement>;
24
24
  wrapperElementWidth: number;
25
25
  state: TimeRangeState;
26
- static defaultProps: Partial<TimeRangeProps>;
26
+ static defaultProps: {
27
+ disableThumbTooltip: boolean;
28
+ isAlwaysActive: boolean;
29
+ };
27
30
  private numberFormatterHours;
28
31
  private numberFormatterMinutes;
29
32
  private numberFormatterSeconds;
@@ -38,6 +41,4 @@ export declare class TimeRangeBase extends Component<TimeRangeProps & WrappedCom
38
41
  onTimeLineThumbKeydown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
39
42
  render(): React.JSX.Element;
40
43
  }
41
- export declare const TimeRange: React.FC<import("react-intl-next").WithIntlProps<TimeRangeProps & WrappedComponentProps<"intl">>> & {
42
- WrappedComponent: React.ComponentType<TimeRangeProps & WrappedComponentProps<"intl">>;
43
- };
44
+ export declare const TimeRange: React.ComponentType<TimeRangeProps>;
@@ -9,8 +9,8 @@ export interface TimeRangeProps {
9
9
  disableThumbTooltip: boolean;
10
10
  isAlwaysActive: boolean;
11
11
  onChanged?: () => void;
12
- skipBackward?: (skipAmount: number) => void;
13
- skipForward?: (skipAmount: number) => void;
12
+ skipBackward?: (skipAmount?: number) => void;
13
+ skipForward?: (skipAmount?: number) => void;
14
14
  }
15
15
  export interface TimeRangeState {
16
16
  isDragging: boolean;
@@ -23,7 +23,10 @@ export declare class TimeRangeBase extends Component<TimeRangeProps & WrappedCom
23
23
  wrapperElement: React.RefObject<HTMLDivElement>;
24
24
  wrapperElementWidth: number;
25
25
  state: TimeRangeState;
26
- static defaultProps: Partial<TimeRangeProps>;
26
+ static defaultProps: {
27
+ disableThumbTooltip: boolean;
28
+ isAlwaysActive: boolean;
29
+ };
27
30
  private numberFormatterHours;
28
31
  private numberFormatterMinutes;
29
32
  private numberFormatterSeconds;
@@ -38,6 +41,4 @@ export declare class TimeRangeBase extends Component<TimeRangeProps & WrappedCom
38
41
  onTimeLineThumbKeydown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
39
42
  render(): React.JSX.Element;
40
43
  }
41
- export declare const TimeRange: React.FC<import("react-intl-next").WithIntlProps<TimeRangeProps & WrappedComponentProps<"intl">>> & {
42
- WrappedComponent: React.ComponentType<TimeRangeProps & WrappedComponentProps<"intl">>;
43
- };
44
+ export declare const TimeRange: React.ComponentType<TimeRangeProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-ui",
3
- "version": "28.7.12",
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/"
@@ -40,16 +40,16 @@
40
40
  "@atlaskit/media-client-react": "^4.1.0",
41
41
  "@atlaskit/media-common": "^12.3.0",
42
42
  "@atlaskit/media-state": "^1.8.0",
43
- "@atlaskit/modal-dialog": "^14.6.0",
43
+ "@atlaskit/modal-dialog": "^14.7.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/primitives": "^16.1.0",
46
46
  "@atlaskit/range": "^9.2.0",
47
47
  "@atlaskit/react-ufo": "^4.14.0",
48
- "@atlaskit/select": "^21.3.0",
48
+ "@atlaskit/select": "^21.4.0",
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",