@atlaskit/media-ui 28.7.15 → 28.7.17
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 +13 -0
- package/dist/cjs/customMediaPlayer/index.js +1 -1
- package/dist/cjs/customMediaPlayer/mediaPlayer/captionsSelectControls.js +1 -0
- package/dist/cjs/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/es2019/customMediaPlayer/index.js +1 -1
- package/dist/es2019/customMediaPlayer/mediaPlayer/captionsSelectControls.js +1 -0
- package/dist/es2019/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/esm/customMediaPlayer/index.js +1 -1
- package/dist/esm/customMediaPlayer/mediaPlayer/captionsSelectControls.js +1 -0
- package/dist/esm/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/types/customMediaPlayer/mediaPlayer/captions/artifactUploader/filePickers/browser.d.ts +1 -1
- package/dist/types/customMediaPlayer/react-video-renderer/track.d.ts +1 -1
- package/dist/types-ts4.5/customMediaPlayer/mediaPlayer/captions/artifactUploader/filePickers/browser.d.ts +1 -1
- package/dist/types-ts4.5/customMediaPlayer/react-video-renderer/track.d.ts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/media-ui
|
|
2
2
|
|
|
3
|
+
## 28.7.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 28.7.16
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`7cfa4a9ffdf8d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7cfa4a9ffdf8d) -
|
|
14
|
+
Suppress i18n eslint errors
|
|
15
|
+
|
|
3
16
|
## 28.7.15
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -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 = "
|
|
17
|
+
var packageVersion = "28.7.16";
|
|
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)({
|
|
@@ -63,6 +63,7 @@ var CaptionsSelectControlsWithIntl = /*#__PURE__*/(0, _react.memo)(function (_re
|
|
|
63
63
|
return onCaptionsEnabledChange(!areCaptionsEnabled);
|
|
64
64
|
},
|
|
65
65
|
"aria-label": closedCaptions
|
|
66
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
66
67
|
}, "CC")), /*#__PURE__*/_react.default.createElement(_select.PopupSelect, {
|
|
67
68
|
searchThreshold: 100,
|
|
68
69
|
components: _dropdownControlCommon.popupSelectComponents,
|
|
@@ -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 = "
|
|
18
|
+
var packageVersion = "28.7.16";
|
|
19
19
|
var MediaPlayerWihtoutContext = exports.MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
|
|
20
20
|
var _onPlay = _ref.onPlay,
|
|
21
21
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
@@ -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 = "
|
|
8
|
+
const packageVersion = "28.7.16";
|
|
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({
|
|
@@ -42,6 +42,7 @@ const CaptionsSelectControlsWithIntl = /*#__PURE__*/memo(({
|
|
|
42
42
|
appearance: areCaptionsEnabled ? 'primary' : 'default',
|
|
43
43
|
onClick: () => onCaptionsEnabledChange(!areCaptionsEnabled),
|
|
44
44
|
"aria-label": closedCaptions
|
|
45
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
45
46
|
}, "CC")), /*#__PURE__*/React.createElement(PopupSelect, {
|
|
46
47
|
searchThreshold: 100,
|
|
47
48
|
components: popupSelectComponents,
|
|
@@ -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 = "
|
|
9
|
+
const packageVersion = "28.7.16";
|
|
10
10
|
export const MediaPlayerWihtoutContext = ({
|
|
11
11
|
onPlay,
|
|
12
12
|
...props
|
|
@@ -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 = "
|
|
10
|
+
var packageVersion = "28.7.16";
|
|
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({
|
|
@@ -54,6 +54,7 @@ var CaptionsSelectControlsWithIntl = /*#__PURE__*/memo(function (_ref) {
|
|
|
54
54
|
return onCaptionsEnabledChange(!areCaptionsEnabled);
|
|
55
55
|
},
|
|
56
56
|
"aria-label": closedCaptions
|
|
57
|
+
// eslint-disable-next-line @atlassian/i18n/no-literal-string-in-jsx
|
|
57
58
|
}, "CC")), /*#__PURE__*/React.createElement(PopupSelect, {
|
|
58
59
|
searchThreshold: 100,
|
|
59
60
|
components: popupSelectComponents,
|
|
@@ -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 = "
|
|
11
|
+
var packageVersion = "28.7.16";
|
|
12
12
|
export var MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
|
|
13
13
|
var _onPlay = _ref.onPlay,
|
|
14
14
|
props = _objectWithoutProperties(_ref, _excluded);
|
package/dist/types/customMediaPlayer/mediaPlayer/captions/artifactUploader/filePickers/browser.d.ts
CHANGED
|
@@ -6,4 +6,4 @@ export interface BrowserPickerProps {
|
|
|
6
6
|
onClose?: () => void;
|
|
7
7
|
onFilesPicked?: (file: FileList) => void;
|
|
8
8
|
}
|
|
9
|
-
export declare const BrowserPicker: ({ isOpen, type, onFilesPicked, onClose }: BrowserPickerProps) => React.JSX.Element;
|
|
9
|
+
export declare const BrowserPicker: ({ isOpen, type, onFilesPicked, onClose, }: BrowserPickerProps) => React.JSX.Element;
|
|
@@ -6,5 +6,5 @@ type TextTracksProps = {
|
|
|
6
6
|
onLoad?: () => void;
|
|
7
7
|
onError?: (artifactName: string, lang: string, label: string) => void;
|
|
8
8
|
};
|
|
9
|
-
export declare const TextTracks: React.MemoExoticComponent<({ videoTextTracks, textTracksPosition, onLoad, onError }: TextTracksProps) => React.JSX.Element[]>;
|
|
9
|
+
export declare const TextTracks: React.MemoExoticComponent<({ videoTextTracks, textTracksPosition, onLoad, onError, }: TextTracksProps) => React.JSX.Element[]>;
|
|
10
10
|
export {};
|
|
@@ -6,4 +6,4 @@ export interface BrowserPickerProps {
|
|
|
6
6
|
onClose?: () => void;
|
|
7
7
|
onFilesPicked?: (file: FileList) => void;
|
|
8
8
|
}
|
|
9
|
-
export declare const BrowserPicker: ({ isOpen, type, onFilesPicked, onClose }: BrowserPickerProps) => React.JSX.Element;
|
|
9
|
+
export declare const BrowserPicker: ({ isOpen, type, onFilesPicked, onClose, }: BrowserPickerProps) => React.JSX.Element;
|
|
@@ -6,5 +6,5 @@ type TextTracksProps = {
|
|
|
6
6
|
onLoad?: () => void;
|
|
7
7
|
onError?: (artifactName: string, lang: string, label: string) => void;
|
|
8
8
|
};
|
|
9
|
-
export declare const TextTracks: React.MemoExoticComponent<({ videoTextTracks, textTracksPosition, onLoad, onError }: TextTracksProps) => React.JSX.Element[]>;
|
|
9
|
+
export declare const TextTracks: React.MemoExoticComponent<({ videoTextTracks, textTracksPosition, onLoad, onError, }: TextTracksProps) => React.JSX.Element[]>;
|
|
10
10
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-ui",
|
|
3
|
-
"version": "28.7.
|
|
3
|
+
"version": "28.7.17",
|
|
4
4
|
"description": "Includes common components and utilities used by other media packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
28
28
|
"@atlaskit/button": "^23.6.0",
|
|
29
29
|
"@atlaskit/code": "^17.3.0",
|
|
30
|
-
"@atlaskit/css": "^0.
|
|
30
|
+
"@atlaskit/css": "^0.17.0",
|
|
31
31
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
32
32
|
"@atlaskit/flag": "^17.5.0",
|
|
33
|
-
"@atlaskit/form": "^14.
|
|
33
|
+
"@atlaskit/form": "^14.3.0",
|
|
34
34
|
"@atlaskit/icon": "^29.0.0",
|
|
35
35
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
36
36
|
"@atlaskit/icon-lab": "^5.12.0",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"@atlaskit/media-state": "^1.8.0",
|
|
43
43
|
"@atlaskit/modal-dialog": "^14.7.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
|
-
"@atlaskit/primitives": "^16.
|
|
45
|
+
"@atlaskit/primitives": "^16.3.0",
|
|
46
46
|
"@atlaskit/range": "^9.2.0",
|
|
47
47
|
"@atlaskit/react-ufo": "^4.15.0",
|
|
48
48
|
"@atlaskit/select": "^21.4.0",
|
|
49
49
|
"@atlaskit/spinner": "^19.0.0",
|
|
50
50
|
"@atlaskit/theme": "^21.0.0",
|
|
51
|
-
"@atlaskit/tokens": "^8.
|
|
51
|
+
"@atlaskit/tokens": "^8.3.0",
|
|
52
52
|
"@atlaskit/tooltip": "^20.10.0",
|
|
53
53
|
"@atlaskit/width-detector": "^5.0.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|