@atlaskit/media-ui 30.2.0 → 30.3.1
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/AGENTS.md +5 -5
- package/CHANGELOG.md +27 -0
- package/dist/cjs/customMediaPlayer/index.js +1 -1
- package/dist/cjs/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/cjs/messages.js +15 -0
- package/dist/es2019/customMediaPlayer/index.js +1 -1
- package/dist/es2019/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/es2019/messages.js +15 -0
- package/dist/esm/customMediaPlayer/index.js +1 -1
- package/dist/esm/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/esm/messages.js +15 -0
- package/dist/types/messages.d.ts +1 -1
- package/package.json +7 -7
package/AGENTS.md
CHANGED
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
> codebase and the docs after any code change. Use the `generate` subcommand to bootstrap the index
|
|
27
27
|
> in a new repository.
|
|
28
28
|
|
|
29
|
-
**Entry point:** `.agents/knowledge-index/INDEX.md`
|
|
30
|
-
`.agents/knowledge-index/domains/media/units/atlaskit-media-ui.md`
|
|
31
|
-
|
|
32
|
-
**
|
|
33
|
-
first, edit, then `kg.py edit <path> --message "<reason>"`.
|
|
29
|
+
**Entry point:** `.agents/knowledge-index/INDEX.md`
|
|
30
|
+
**Unit doc:** `.agents/knowledge-index/domains/media/units/atlaskit-media-ui.md`
|
|
31
|
+
**Standards page:** `.agents/knowledge-index/domains/media/units/atlaskit-media-ui/standards-and-patterns.md`
|
|
32
|
+
**CLI:** `python3 .agents/skills/knowledge-index/scripts/kg.py {find,read,edit,investigate,validate,init,explore,generate} …`
|
|
33
|
+
**Refresh protocol:** never silently bump `Last verified` — always re-read the listed `Sources` first, edit, then `kg.py edit <path> --message "<reason>"`.
|
|
34
34
|
|
|
35
35
|
## Key source files
|
|
36
36
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @atlaskit/media-ui
|
|
2
2
|
|
|
3
|
+
## 30.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
|
|
8
|
+
Add @atlassian/react-compiler-gating as a runtime dependency to enable React Compiler platform
|
|
9
|
+
gating.
|
|
10
|
+
- [`3a1dcbc4999da`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3a1dcbc4999da) -
|
|
11
|
+
A11Y fix (A11Y-41905): Add new `open_file_in_viewer_aria_label` message
|
|
12
|
+
(`'Open {name} in fullscreen'`) to provide screen reader users with clearer context about the
|
|
13
|
+
button action. The original `open_file_in_viewer` message is unchanged. `OpenMediaViewerButton`
|
|
14
|
+
now applies this aria-label when the `create_modernization_ga_fixes_drop_2` gate is enabled.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
17
|
+
## 30.3.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- [`758e07b536b13`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/758e07b536b13) -
|
|
22
|
+
[ux] Show a clear "Unsupported file format" message for non-ZIP archives (e.g. 7z, tar, gzip) in
|
|
23
|
+
the media viewer instead of a generic error, and remove the empty sidebar gap. Behind feature gate
|
|
24
|
+
platform_media_archive_zip_guard.
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
|
|
3
30
|
## 30.2.0
|
|
4
31
|
|
|
5
32
|
### Minor 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 = "30.
|
|
17
|
+
var packageVersion = "30.3.0";
|
|
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 = "30.
|
|
18
|
+
var packageVersion = "30.3.0";
|
|
19
19
|
var MediaPlayerWihtoutContext = exports.MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
|
|
20
20
|
var _onPlay = _ref.onPlay,
|
|
21
21
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
package/dist/cjs/messages.js
CHANGED
|
@@ -386,6 +386,16 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
386
386
|
defaultMessage: 'Try downloading the file to view it.',
|
|
387
387
|
description: 'We show this message to allow users to download a file'
|
|
388
388
|
},
|
|
389
|
+
archive_format_not_supported: {
|
|
390
|
+
id: 'fabric.media.archive_format_not_supported',
|
|
391
|
+
defaultMessage: 'Preview is not available for this file type.',
|
|
392
|
+
description: 'Error message shown in the archive viewer when a non-ZIP archive file (e.g. RAR, TAR, 7z) is opened. Only ZIP is supported by the browser-based viewer.'
|
|
393
|
+
},
|
|
394
|
+
unsupported_file_format: {
|
|
395
|
+
id: 'fabric.media.unsupported_file_format',
|
|
396
|
+
defaultMessage: 'Unsupported file format',
|
|
397
|
+
description: 'Heading shown when a file type cannot be previewed (e.g. non-ZIP archives like RAR, TAR, 7z).'
|
|
398
|
+
},
|
|
389
399
|
webgl_warning_description: {
|
|
390
400
|
id: 'fabric.media.webgl_warning_description',
|
|
391
401
|
defaultMessage: 'Your browser does not support WebGL. Use a WebGL enabled browser to annotate images.',
|
|
@@ -816,6 +826,11 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
816
826
|
defaultMessage: 'Open {name}',
|
|
817
827
|
description: 'Shown when user focuses on preview to open the full screen viewer of the file with {name}'
|
|
818
828
|
},
|
|
829
|
+
open_file_in_viewer_aria_label: {
|
|
830
|
+
id: 'fabric.media.open_file_in_viewer_aria_label',
|
|
831
|
+
defaultMessage: 'Open {name} in fullscreen',
|
|
832
|
+
description: 'Aria label for the button that opens the full screen viewer. Provides additional context for screen reader users that the action opens a fullscreen viewer.'
|
|
833
|
+
},
|
|
819
834
|
video_seeker_assistive_text_time_value: {
|
|
820
835
|
id: 'fabric.media.video_seeker_assistive_text_time_value',
|
|
821
836
|
defaultMessage: '{currentTimeHours} {currentTimeMinutes} {currentTimeSeconds} of {videoTotalHours} {videoTotalMinutes} {videoTotalSeconds}',
|
|
@@ -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 = "30.
|
|
8
|
+
const packageVersion = "30.3.0";
|
|
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 = "30.
|
|
9
|
+
const packageVersion = "30.3.0";
|
|
10
10
|
export const MediaPlayerWihtoutContext = ({
|
|
11
11
|
onPlay,
|
|
12
12
|
...props
|
package/dist/es2019/messages.js
CHANGED
|
@@ -380,6 +380,16 @@ export const messages = defineMessages({
|
|
|
380
380
|
defaultMessage: 'Try downloading the file to view it.',
|
|
381
381
|
description: 'We show this message to allow users to download a file'
|
|
382
382
|
},
|
|
383
|
+
archive_format_not_supported: {
|
|
384
|
+
id: 'fabric.media.archive_format_not_supported',
|
|
385
|
+
defaultMessage: 'Preview is not available for this file type.',
|
|
386
|
+
description: 'Error message shown in the archive viewer when a non-ZIP archive file (e.g. RAR, TAR, 7z) is opened. Only ZIP is supported by the browser-based viewer.'
|
|
387
|
+
},
|
|
388
|
+
unsupported_file_format: {
|
|
389
|
+
id: 'fabric.media.unsupported_file_format',
|
|
390
|
+
defaultMessage: 'Unsupported file format',
|
|
391
|
+
description: 'Heading shown when a file type cannot be previewed (e.g. non-ZIP archives like RAR, TAR, 7z).'
|
|
392
|
+
},
|
|
383
393
|
webgl_warning_description: {
|
|
384
394
|
id: 'fabric.media.webgl_warning_description',
|
|
385
395
|
defaultMessage: 'Your browser does not support WebGL. Use a WebGL enabled browser to annotate images.',
|
|
@@ -810,6 +820,11 @@ export const messages = defineMessages({
|
|
|
810
820
|
defaultMessage: 'Open {name}',
|
|
811
821
|
description: 'Shown when user focuses on preview to open the full screen viewer of the file with {name}'
|
|
812
822
|
},
|
|
823
|
+
open_file_in_viewer_aria_label: {
|
|
824
|
+
id: 'fabric.media.open_file_in_viewer_aria_label',
|
|
825
|
+
defaultMessage: 'Open {name} in fullscreen',
|
|
826
|
+
description: 'Aria label for the button that opens the full screen viewer. Provides additional context for screen reader users that the action opens a fullscreen viewer.'
|
|
827
|
+
},
|
|
813
828
|
video_seeker_assistive_text_time_value: {
|
|
814
829
|
id: 'fabric.media.video_seeker_assistive_text_time_value',
|
|
815
830
|
defaultMessage: '{currentTimeHours} {currentTimeMinutes} {currentTimeSeconds} of {videoTotalHours} {videoTotalMinutes} {videoTotalSeconds}',
|
|
@@ -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 = "30.
|
|
10
|
+
var packageVersion = "30.3.0";
|
|
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 = "30.
|
|
11
|
+
var packageVersion = "30.3.0";
|
|
12
12
|
export var MediaPlayerWihtoutContext = function MediaPlayerWihtoutContext(_ref) {
|
|
13
13
|
var _onPlay = _ref.onPlay,
|
|
14
14
|
props = _objectWithoutProperties(_ref, _excluded);
|
package/dist/esm/messages.js
CHANGED
|
@@ -380,6 +380,16 @@ export var messages = defineMessages({
|
|
|
380
380
|
defaultMessage: 'Try downloading the file to view it.',
|
|
381
381
|
description: 'We show this message to allow users to download a file'
|
|
382
382
|
},
|
|
383
|
+
archive_format_not_supported: {
|
|
384
|
+
id: 'fabric.media.archive_format_not_supported',
|
|
385
|
+
defaultMessage: 'Preview is not available for this file type.',
|
|
386
|
+
description: 'Error message shown in the archive viewer when a non-ZIP archive file (e.g. RAR, TAR, 7z) is opened. Only ZIP is supported by the browser-based viewer.'
|
|
387
|
+
},
|
|
388
|
+
unsupported_file_format: {
|
|
389
|
+
id: 'fabric.media.unsupported_file_format',
|
|
390
|
+
defaultMessage: 'Unsupported file format',
|
|
391
|
+
description: 'Heading shown when a file type cannot be previewed (e.g. non-ZIP archives like RAR, TAR, 7z).'
|
|
392
|
+
},
|
|
383
393
|
webgl_warning_description: {
|
|
384
394
|
id: 'fabric.media.webgl_warning_description',
|
|
385
395
|
defaultMessage: 'Your browser does not support WebGL. Use a WebGL enabled browser to annotate images.',
|
|
@@ -810,6 +820,11 @@ export var messages = defineMessages({
|
|
|
810
820
|
defaultMessage: 'Open {name}',
|
|
811
821
|
description: 'Shown when user focuses on preview to open the full screen viewer of the file with {name}'
|
|
812
822
|
},
|
|
823
|
+
open_file_in_viewer_aria_label: {
|
|
824
|
+
id: 'fabric.media.open_file_in_viewer_aria_label',
|
|
825
|
+
defaultMessage: 'Open {name} in fullscreen',
|
|
826
|
+
description: 'Aria label for the button that opens the full screen viewer. Provides additional context for screen reader users that the action opens a fullscreen viewer.'
|
|
827
|
+
},
|
|
813
828
|
video_seeker_assistive_text_time_value: {
|
|
814
829
|
id: 'fabric.media.video_seeker_assistive_text_time_value',
|
|
815
830
|
defaultMessage: '{currentTimeHours} {currentTimeMinutes} {currentTimeSeconds} of {videoTotalHours} {videoTotalMinutes} {videoTotalSeconds}',
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
export type RequestAccessMessageKey = 'request_access_description' | 'click_to_join_description' | 'request_access_pending_description' | 'click_to_join' | 'request_access' | 'request_access_pending' | 'forbidden_description' | 'request_denied_description';
|
|
3
|
-
export type MessageKey = 'retry' | 'failed_to_load' | 'failed_to_upload' | 'check_internet_connection' | 'recent_uploads' | 'upload_file' | 'drag_and_drop_your_files' | 'drag_and_drop_your_files_and_folders' | 'drop_your_files' | 'upload' | 'cancel' | 'delete' | 'success' | 'error' | 'search_all_gifs' | 'cant_retrieve_gifs' | 'cant_retrieve_files' | 'check_your_network' | 'try_again' | 'try_another_account' | 'no_gifs_found' | 'no_gifs_found_suggestion' | 'load_more_gifs' | 'add_account' | 'unlink_account' | 'upload_file_from' | 'connect_to' | 'connect_account_description' | 'connect_link_account' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'invalid_permissions' | 'invalid_permissions_description' | 'select_an_avatar' | 'upload_an_avatar' | 'or_select_default_avatars' | 'select_an_avatar_from_all_defaults' | 'show_more_avatars_btn_label' | 'loading' | 'loading_file' | 'save' | 'or' | 'upload_photo' | 'default_avatars' | 'avatar_picker_back_btn_label' | 'drag_and_drop_images_here' | 'alt_text' | 'alt_text_description' | 'image_url_invalid_error' | 'image_format_invalid_error' | 'image_size_too_large_error' | 'something_went_wrong' | 'might_be_a_hiccup' | 'couldnt_generate_preview' | 'couldnt_generate_encrypted_entry_preview' | 'cant_preview_file_type' | 'item_not_found_in_list' | 'not_found_title' | 'not_found_description' | 'no_pdf_artifacts' | 'password_protected_pdf' | 'password' | 'enter_password' | 'incorrect_password' | 'submit' | 'give_feedback' | 'try_downloading_file' | 'webgl_warning_description' | 'unable_to_annotate_image' | 'learn_more' | 'accounts' | 'actions' | 'error_hint_retry' | 'error_hint_critical' | 'close' | 'could_not_load_editor' | 'could_not_save_image' | 'could_not_load_link' | 'annotate' | 'annotate_tool_arrow' | 'annotate_tool_text' | 'annotate_tool_shape' | 'annotate_tool_brush' | 'annotate_tool_blur' | 'annotate_tool_line_thickness' | 'annotate_tool_color' | 'annotate_confirmation_close_anyway' | 'annotate_confirmation_heading' | 'annotate_confirmation_content' | 'drop_your_files_here' | 'share_files_instantly' | 'insert_files' | 'zoom_out' | 'zoom_in' | 'remove_image' | 'play' | 'pause' | 'disable_fullscreen' | 'enable_fullscreen' | 'error_loading_file' | 'error_generating_preview' | 'download' | 'download_disabled_security_policy' | 'unknown' | 'document' | 'audio' | 'video' | 'image' | 'archive' | 'email' | 'text' | 'displayThumbnail' | 'search' | 'view' | 'viewIn' | 'viewOriginal' | 'changeView' | 'playbackSpeed' | 'skipBackward' | 'skipForward' | 'sizeOptions' | 'fileDisplayOptions' | 'volumeMuteButtonAria' | 'volumeLevelControlAria' | 'playbackDefaultSpeed' | 'expand' | 'preview' | 'preview_unavailable' | 'creating_preview' | 'couldnt_load_file' | 'error_429' | 'close_and_reopen' | 'viewer_rateLimited' | 'zip_entry_load_fail' | 'file_image_is_selected' | 'file_video_is_selected' | 'file_audio_is_selected' | 'file_doc_is_selected' | 'file_archive_is_selected' | 'file_unknown_is_selected' | 'open_file_in_viewer' | 'video_seeker_assistive_text_time_value' | 'video_seeker_label_assistive_text' | 'abuse_modal_body' | 'abuse_modal_title' | 'abuse_modal_submit' | 'image_cropper_arrow_keys_label' | 'image_cropper_image_moved' | 'image_cropper_zoom_out' | 'image_cropper_zoom_in' | 'image_cropper_zoom_slider' | 'image_placer_img_alt' | 'video_captions_enable' | 'video_captions_select_captions' | 'video_captions_upload_captions_form_header' | 'video_captions_upload_captions_form_language_picker' | 'video_captions_upload_success_description' | 'video_captions_upload_error_description' | 'video_captions_delete_captions_confirmation_header' | 'video_captions_delete_captions_confirmation_description' | 'video_captions_delete_success_description' | 'video_captions_delete_error_description' | 'manage_captions' | 'add_captions' | 'svg_base_alt' | 'archive_download_label_assistive_text' | RequestAccessMessageKey;
|
|
3
|
+
export type MessageKey = 'retry' | 'failed_to_load' | 'failed_to_upload' | 'check_internet_connection' | 'recent_uploads' | 'upload_file' | 'drag_and_drop_your_files' | 'drag_and_drop_your_files_and_folders' | 'drop_your_files' | 'upload' | 'cancel' | 'delete' | 'success' | 'error' | 'search_all_gifs' | 'cant_retrieve_gifs' | 'cant_retrieve_files' | 'check_your_network' | 'try_again' | 'try_another_account' | 'no_gifs_found' | 'no_gifs_found_suggestion' | 'load_more_gifs' | 'add_account' | 'unlink_account' | 'upload_file_from' | 'connect_to' | 'connect_account_description' | 'connect_link_account' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'invalid_permissions' | 'invalid_permissions_description' | 'select_an_avatar' | 'upload_an_avatar' | 'or_select_default_avatars' | 'select_an_avatar_from_all_defaults' | 'show_more_avatars_btn_label' | 'loading' | 'loading_file' | 'save' | 'or' | 'upload_photo' | 'default_avatars' | 'avatar_picker_back_btn_label' | 'drag_and_drop_images_here' | 'alt_text' | 'alt_text_description' | 'image_url_invalid_error' | 'image_format_invalid_error' | 'image_size_too_large_error' | 'something_went_wrong' | 'might_be_a_hiccup' | 'couldnt_generate_preview' | 'couldnt_generate_encrypted_entry_preview' | 'cant_preview_file_type' | 'item_not_found_in_list' | 'not_found_title' | 'not_found_description' | 'no_pdf_artifacts' | 'password_protected_pdf' | 'password' | 'enter_password' | 'incorrect_password' | 'submit' | 'give_feedback' | 'try_downloading_file' | 'archive_format_not_supported' | 'unsupported_file_format' | 'webgl_warning_description' | 'unable_to_annotate_image' | 'learn_more' | 'accounts' | 'actions' | 'error_hint_retry' | 'error_hint_critical' | 'close' | 'could_not_load_editor' | 'could_not_save_image' | 'could_not_load_link' | 'annotate' | 'annotate_tool_arrow' | 'annotate_tool_text' | 'annotate_tool_shape' | 'annotate_tool_brush' | 'annotate_tool_blur' | 'annotate_tool_line_thickness' | 'annotate_tool_color' | 'annotate_confirmation_close_anyway' | 'annotate_confirmation_heading' | 'annotate_confirmation_content' | 'drop_your_files_here' | 'share_files_instantly' | 'insert_files' | 'zoom_out' | 'zoom_in' | 'remove_image' | 'play' | 'pause' | 'disable_fullscreen' | 'enable_fullscreen' | 'error_loading_file' | 'error_generating_preview' | 'download' | 'download_disabled_security_policy' | 'unknown' | 'document' | 'audio' | 'video' | 'image' | 'archive' | 'email' | 'text' | 'displayThumbnail' | 'search' | 'view' | 'viewIn' | 'viewOriginal' | 'changeView' | 'playbackSpeed' | 'skipBackward' | 'skipForward' | 'sizeOptions' | 'fileDisplayOptions' | 'volumeMuteButtonAria' | 'volumeLevelControlAria' | 'playbackDefaultSpeed' | 'expand' | 'preview' | 'preview_unavailable' | 'creating_preview' | 'couldnt_load_file' | 'error_429' | 'close_and_reopen' | 'viewer_rateLimited' | 'zip_entry_load_fail' | 'file_image_is_selected' | 'file_video_is_selected' | 'file_audio_is_selected' | 'file_doc_is_selected' | 'file_archive_is_selected' | 'file_unknown_is_selected' | 'open_file_in_viewer' | 'open_file_in_viewer_aria_label' | 'video_seeker_assistive_text_time_value' | 'video_seeker_label_assistive_text' | 'abuse_modal_body' | 'abuse_modal_title' | 'abuse_modal_submit' | 'image_cropper_arrow_keys_label' | 'image_cropper_image_moved' | 'image_cropper_zoom_out' | 'image_cropper_zoom_in' | 'image_cropper_zoom_slider' | 'image_placer_img_alt' | 'video_captions_enable' | 'video_captions_select_captions' | 'video_captions_upload_captions_form_header' | 'video_captions_upload_captions_form_language_picker' | 'video_captions_upload_success_description' | 'video_captions_upload_error_description' | 'video_captions_delete_captions_confirmation_header' | 'video_captions_delete_captions_confirmation_description' | 'video_captions_delete_success_description' | 'video_captions_delete_error_description' | 'manage_captions' | 'add_captions' | 'svg_base_alt' | 'archive_download_label_assistive_text' | RequestAccessMessageKey;
|
|
4
4
|
type Messages = {
|
|
5
5
|
[K in MessageKey]: MessageDescriptor;
|
|
6
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-ui",
|
|
3
|
-
"version": "30.
|
|
3
|
+
"version": "30.3.1",
|
|
4
4
|
"description": "Includes common components and utilities used by other media packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,21 +41,22 @@
|
|
|
41
41
|
"@atlaskit/icon": "^36.0.0",
|
|
42
42
|
"@atlaskit/icon-file-type": "^8.0.0",
|
|
43
43
|
"@atlaskit/locale": "^5.0.0",
|
|
44
|
-
"@atlaskit/media-client": "^37.
|
|
44
|
+
"@atlaskit/media-client": "^37.1.0",
|
|
45
45
|
"@atlaskit/media-client-react": "^6.0.0",
|
|
46
|
-
"@atlaskit/media-common": "^14.
|
|
46
|
+
"@atlaskit/media-common": "^14.1.0",
|
|
47
47
|
"@atlaskit/media-state": "^3.0.0",
|
|
48
48
|
"@atlaskit/modal-dialog": "^16.0.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
50
50
|
"@atlaskit/primitives": "^20.0.0",
|
|
51
51
|
"@atlaskit/range": "^11.0.0",
|
|
52
52
|
"@atlaskit/react-ufo": "^7.1.0",
|
|
53
|
-
"@atlaskit/select": "^22.
|
|
53
|
+
"@atlaskit/select": "^22.1.0",
|
|
54
54
|
"@atlaskit/spinner": "^20.0.0",
|
|
55
55
|
"@atlaskit/theme": "^26.0.0",
|
|
56
|
-
"@atlaskit/tokens": "^
|
|
56
|
+
"@atlaskit/tokens": "^15.0.0",
|
|
57
57
|
"@atlaskit/tooltip": "^23.0.0",
|
|
58
58
|
"@atlaskit/width-detector": "^6.0.0",
|
|
59
|
+
"@atlassian/react-compiler-gating": "^0.2.0",
|
|
59
60
|
"@babel/runtime": "^7.0.0",
|
|
60
61
|
"@compiled/react": "^0.20.0",
|
|
61
62
|
"@emotion/styled": "^11.0.0",
|
|
@@ -79,7 +80,6 @@
|
|
|
79
80
|
"@atlaskit/ssr": "workspace:^",
|
|
80
81
|
"@atlassian/a11y-jest-testing": "^0.12.0",
|
|
81
82
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
82
|
-
"@atlassian/react-compiler-gating": "workspace:^",
|
|
83
83
|
"@atlassian/testing-library": "^0.6.0",
|
|
84
84
|
"@testing-library/jest-dom": "^6.4.5",
|
|
85
85
|
"@testing-library/react": "^16.3.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"jsverify": "^0.8.3",
|
|
92
92
|
"react": "^18.2.0",
|
|
93
93
|
"react-dom": "^18.2.0",
|
|
94
|
-
"react-intl": "^
|
|
94
|
+
"react-intl": "^7.0.0",
|
|
95
95
|
"wait-for-expect": "^1.2.0"
|
|
96
96
|
},
|
|
97
97
|
"platform-feature-flags": {
|