@atlaskit/media-ui 28.5.3 → 28.5.4
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 +9 -0
- package/dist/cjs/customMediaPlayer/index.js +1 -1
- package/dist/cjs/customMediaPlayer/mediaPlayer/captions/captionDeleteConfirmationModal.js +1 -3
- package/dist/cjs/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/es2019/customMediaPlayer/index.js +1 -1
- package/dist/es2019/customMediaPlayer/mediaPlayer/captions/captionDeleteConfirmationModal.js +1 -3
- package/dist/es2019/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/esm/customMediaPlayer/index.js +1 -1
- package/dist/esm/customMediaPlayer/mediaPlayer/captions/captionDeleteConfirmationModal.js +1 -3
- package/dist/esm/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/media-ui
|
|
2
2
|
|
|
3
|
+
## 28.5.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#179845](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/179845)
|
|
8
|
+
[`853f0161e48b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/853f0161e48b0) -
|
|
9
|
+
Updated Delete Video Caption interface
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 28.5.3
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -16,7 +16,7 @@ var CustomMediaPlayerBase = exports.CustomMediaPlayerBase = function CustomMedia
|
|
|
16
16
|
return (0, _platformFeatureFlags.fg)('platform_media_compiled') ? /*#__PURE__*/_react.default.createElement(_indexCompiled.CustomMediaPlayerBase, props) : /*#__PURE__*/_react.default.createElement(_indexEmotion.CustomMediaPlayerBase, props);
|
|
17
17
|
};
|
|
18
18
|
var packageName = "@atlaskit/media-ui";
|
|
19
|
-
var packageVersion = "28.5.
|
|
19
|
+
var packageVersion = "28.5.3";
|
|
20
20
|
|
|
21
21
|
// @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
|
|
22
22
|
var CustomMediaPlayer = exports.CustomMediaPlayer = (0, _mediaCommon.withMediaAnalyticsContext)({
|
|
@@ -78,9 +78,7 @@ var deleteCaption = /*#__PURE__*/function () {
|
|
|
78
78
|
onStart === null || onStart === void 0 || onStart(context);
|
|
79
79
|
_context.prev = 2;
|
|
80
80
|
_context.next = 5;
|
|
81
|
-
return mediaClient.file.deleteArtifact(identifier.id, {
|
|
82
|
-
artifactName: artifactName
|
|
83
|
-
}, identifier.collectionName, {
|
|
81
|
+
return mediaClient.file.deleteArtifact(identifier.id, artifactName, identifier.collectionName, {
|
|
84
82
|
traceId: context.traceId
|
|
85
83
|
});
|
|
86
84
|
case 5:
|
|
@@ -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.5.
|
|
18
|
+
var packageVersion = "28.5.3";
|
|
19
19
|
var MediaPlayerWihtoutContext = exports.MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
|
|
20
20
|
var _onPlay = _ref.onPlay,
|
|
21
21
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
@@ -7,7 +7,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
7
7
|
import { withMediaAnalyticsContext } from '@atlaskit/media-common';
|
|
8
8
|
export const CustomMediaPlayerBase = props => fg('platform_media_compiled') ? /*#__PURE__*/React.createElement(CompiledCustomMediaPlayerBase, props) : /*#__PURE__*/React.createElement(EmotionCustomMediaPlayerBase, props);
|
|
9
9
|
const packageName = "@atlaskit/media-ui";
|
|
10
|
-
const packageVersion = "28.5.
|
|
10
|
+
const packageVersion = "28.5.3";
|
|
11
11
|
|
|
12
12
|
// @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
|
|
13
13
|
export const CustomMediaPlayer = withMediaAnalyticsContext({
|
package/dist/es2019/customMediaPlayer/mediaPlayer/captions/captionDeleteConfirmationModal.js
CHANGED
|
@@ -56,9 +56,7 @@ const deleteCaption = async (mediaClient, identifier, artifactName, onStart, onE
|
|
|
56
56
|
};
|
|
57
57
|
onStart === null || onStart === void 0 ? void 0 : onStart(context);
|
|
58
58
|
try {
|
|
59
|
-
await mediaClient.file.deleteArtifact(identifier.id, {
|
|
60
|
-
artifactName
|
|
61
|
-
}, identifier.collectionName, {
|
|
59
|
+
await mediaClient.file.deleteArtifact(identifier.id, artifactName, identifier.collectionName, {
|
|
62
60
|
traceId: context.traceId
|
|
63
61
|
});
|
|
64
62
|
onEnd === null || onEnd === void 0 ? void 0 : onEnd(context);
|
|
@@ -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.5.
|
|
9
|
+
const packageVersion = "28.5.3";
|
|
10
10
|
export const MediaPlayerWihtoutContext = ({
|
|
11
11
|
onPlay,
|
|
12
12
|
...props
|
|
@@ -9,7 +9,7 @@ export var CustomMediaPlayerBase = function CustomMediaPlayerBase(props) {
|
|
|
9
9
|
return fg('platform_media_compiled') ? /*#__PURE__*/React.createElement(CompiledCustomMediaPlayerBase, props) : /*#__PURE__*/React.createElement(EmotionCustomMediaPlayerBase, props);
|
|
10
10
|
};
|
|
11
11
|
var packageName = "@atlaskit/media-ui";
|
|
12
|
-
var packageVersion = "28.5.
|
|
12
|
+
var packageVersion = "28.5.3";
|
|
13
13
|
|
|
14
14
|
// @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
|
|
15
15
|
export var CustomMediaPlayer = withMediaAnalyticsContext({
|
|
@@ -69,9 +69,7 @@ var deleteCaption = /*#__PURE__*/function () {
|
|
|
69
69
|
onStart === null || onStart === void 0 || onStart(context);
|
|
70
70
|
_context.prev = 2;
|
|
71
71
|
_context.next = 5;
|
|
72
|
-
return mediaClient.file.deleteArtifact(identifier.id, {
|
|
73
|
-
artifactName: artifactName
|
|
74
|
-
}, identifier.collectionName, {
|
|
72
|
+
return mediaClient.file.deleteArtifact(identifier.id, artifactName, identifier.collectionName, {
|
|
75
73
|
traceId: context.traceId
|
|
76
74
|
});
|
|
77
75
|
case 5:
|
|
@@ -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.5.
|
|
11
|
+
var packageVersion = "28.5.3";
|
|
12
12
|
export var MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
|
|
13
13
|
var _onPlay = _ref.onPlay,
|
|
14
14
|
props = _objectWithoutProperties(_ref, _excluded);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-ui",
|
|
3
|
-
"version": "28.5.
|
|
3
|
+
"version": "28.5.4",
|
|
4
4
|
"description": "Includes common components and utilities used by other media packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -20,8 +20,7 @@
|
|
|
20
20
|
"team": "Media Exif",
|
|
21
21
|
"website": {
|
|
22
22
|
"name": "Media UI"
|
|
23
|
-
}
|
|
24
|
-
"runReact18": true
|
|
23
|
+
}
|
|
25
24
|
},
|
|
26
25
|
"dependencies": {
|
|
27
26
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
@@ -36,7 +35,7 @@
|
|
|
36
35
|
"@atlaskit/icon-lab": "^5.1.0",
|
|
37
36
|
"@atlaskit/legacy-custom-icons": "^0.22.0",
|
|
38
37
|
"@atlaskit/locale": "^3.0.0",
|
|
39
|
-
"@atlaskit/media-client": "^
|
|
38
|
+
"@atlaskit/media-client": "^35.0.0",
|
|
40
39
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
41
40
|
"@atlaskit/media-common": "^12.3.0",
|
|
42
41
|
"@atlaskit/media-state": "^1.7.0",
|