@atlaskit/media-ui 28.7.37 → 28.7.38
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 +8 -0
- package/dist/cjs/customMediaPlayer/index.js +1 -1
- package/dist/cjs/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/cjs/messages.js +20 -0
- package/dist/es2019/customMediaPlayer/index.js +1 -1
- package/dist/es2019/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/es2019/messages.js +20 -0
- package/dist/esm/customMediaPlayer/index.js +1 -1
- package/dist/esm/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/esm/messages.js +20 -0
- package/dist/types/messages.d.ts +1 -1
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/media-ui
|
|
2
2
|
|
|
3
|
+
## 28.7.38
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9896ce8e69e57`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9896ce8e69e57) -
|
|
8
|
+
Improve accessibility across media packages with semantic button elements and i18n support, all
|
|
9
|
+
changes are behind feature flag
|
|
10
|
+
|
|
3
11
|
## 28.7.37
|
|
4
12
|
|
|
5
13
|
### 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 = "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 = "
|
|
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);
|
package/dist/cjs/messages.js
CHANGED
|
@@ -865,5 +865,25 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
865
865
|
id: 'media.media-avatar-picker.image-placer.image-alt',
|
|
866
866
|
defaultMessage: 'Image preview',
|
|
867
867
|
description: 'Alt text for the image being positioned in the image placer'
|
|
868
|
+
},
|
|
869
|
+
svg_base_alt: {
|
|
870
|
+
id: 'media.media-viewer.base-svg.alt',
|
|
871
|
+
defaultMessage: 'Svg Image',
|
|
872
|
+
description: 'Alt text for the Svg image placer'
|
|
873
|
+
},
|
|
874
|
+
svg_image_preview_label_assistive_text: {
|
|
875
|
+
id: 'media.media-viewer.svg-wrapper.label_assistive_text',
|
|
876
|
+
defaultMessage: 'Close Image Preview',
|
|
877
|
+
description: 'Aria-label for SVG image wrapper'
|
|
878
|
+
},
|
|
879
|
+
archive_download_label_assistive_text: {
|
|
880
|
+
id: 'media.media-viewer.archive-sidebar.wrapper.label_assistive_text',
|
|
881
|
+
defaultMessage: 'Download Media',
|
|
882
|
+
description: 'Aria-label for media archive download button'
|
|
883
|
+
},
|
|
884
|
+
media_card_wrapper_label_assistive_text: {
|
|
885
|
+
id: 'media.media-card.wrapper.label_assistive_text',
|
|
886
|
+
defaultMessage: 'Media file card',
|
|
887
|
+
description: 'Aria-label for media card wrapper'
|
|
868
888
|
}
|
|
869
889
|
});
|
|
@@ -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 = "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 = "
|
|
9
|
+
const packageVersion = "0.0.0-development";
|
|
10
10
|
export const MediaPlayerWihtoutContext = ({
|
|
11
11
|
onPlay,
|
|
12
12
|
...props
|
package/dist/es2019/messages.js
CHANGED
|
@@ -859,5 +859,25 @@ export const messages = defineMessages({
|
|
|
859
859
|
id: 'media.media-avatar-picker.image-placer.image-alt',
|
|
860
860
|
defaultMessage: 'Image preview',
|
|
861
861
|
description: 'Alt text for the image being positioned in the image placer'
|
|
862
|
+
},
|
|
863
|
+
svg_base_alt: {
|
|
864
|
+
id: 'media.media-viewer.base-svg.alt',
|
|
865
|
+
defaultMessage: 'Svg Image',
|
|
866
|
+
description: 'Alt text for the Svg image placer'
|
|
867
|
+
},
|
|
868
|
+
svg_image_preview_label_assistive_text: {
|
|
869
|
+
id: 'media.media-viewer.svg-wrapper.label_assistive_text',
|
|
870
|
+
defaultMessage: 'Close Image Preview',
|
|
871
|
+
description: 'Aria-label for SVG image wrapper'
|
|
872
|
+
},
|
|
873
|
+
archive_download_label_assistive_text: {
|
|
874
|
+
id: 'media.media-viewer.archive-sidebar.wrapper.label_assistive_text',
|
|
875
|
+
defaultMessage: 'Download Media',
|
|
876
|
+
description: 'Aria-label for media archive download button'
|
|
877
|
+
},
|
|
878
|
+
media_card_wrapper_label_assistive_text: {
|
|
879
|
+
id: 'media.media-card.wrapper.label_assistive_text',
|
|
880
|
+
defaultMessage: 'Media file card',
|
|
881
|
+
description: 'Aria-label for media card wrapper'
|
|
862
882
|
}
|
|
863
883
|
});
|
|
@@ -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 = "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 = "
|
|
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);
|
package/dist/esm/messages.js
CHANGED
|
@@ -859,5 +859,25 @@ export var messages = defineMessages({
|
|
|
859
859
|
id: 'media.media-avatar-picker.image-placer.image-alt',
|
|
860
860
|
defaultMessage: 'Image preview',
|
|
861
861
|
description: 'Alt text for the image being positioned in the image placer'
|
|
862
|
+
},
|
|
863
|
+
svg_base_alt: {
|
|
864
|
+
id: 'media.media-viewer.base-svg.alt',
|
|
865
|
+
defaultMessage: 'Svg Image',
|
|
866
|
+
description: 'Alt text for the Svg image placer'
|
|
867
|
+
},
|
|
868
|
+
svg_image_preview_label_assistive_text: {
|
|
869
|
+
id: 'media.media-viewer.svg-wrapper.label_assistive_text',
|
|
870
|
+
defaultMessage: 'Close Image Preview',
|
|
871
|
+
description: 'Aria-label for SVG image wrapper'
|
|
872
|
+
},
|
|
873
|
+
archive_download_label_assistive_text: {
|
|
874
|
+
id: 'media.media-viewer.archive-sidebar.wrapper.label_assistive_text',
|
|
875
|
+
defaultMessage: 'Download Media',
|
|
876
|
+
description: 'Aria-label for media archive download button'
|
|
877
|
+
},
|
|
878
|
+
media_card_wrapper_label_assistive_text: {
|
|
879
|
+
id: 'media.media-card.wrapper.label_assistive_text',
|
|
880
|
+
defaultMessage: 'Media file card',
|
|
881
|
+
description: 'Aria-label for media card wrapper'
|
|
862
882
|
}
|
|
863
883
|
});
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl-next';
|
|
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' | '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' | 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' | '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' | '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' | 'svg_image_preview_label_assistive_text' | 'archive_download_label_assistive_text' | 'media_card_wrapper_label_assistive_text' | RequestAccessMessageKey;
|
|
4
4
|
type Messages = {
|
|
5
5
|
[K in MessageKey]: MessageDescriptor;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl-next';
|
|
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' | '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' | 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' | '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' | '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' | 'svg_image_preview_label_assistive_text' | 'archive_download_label_assistive_text' | 'media_card_wrapper_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": "28.7.
|
|
3
|
+
"version": "28.7.38",
|
|
4
4
|
"description": "Includes common components and utilities used by other media packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
42
42
|
"@atlaskit/primitives": "^18.1.0",
|
|
43
43
|
"@atlaskit/range": "^10.0.0",
|
|
44
|
-
"@atlaskit/react-ufo": "^5.
|
|
44
|
+
"@atlaskit/react-ufo": "^5.11.0",
|
|
45
45
|
"@atlaskit/select": "^21.10.0",
|
|
46
46
|
"@atlaskit/spinner": "^19.0.0",
|
|
47
47
|
"@atlaskit/theme": "^22.0.0",
|