@atlaskit/media-ui 17.0.0 → 17.1.0
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 +10 -0
- package/dist/cjs/messages.js +5 -5
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/messages.js +5 -5
- package/dist/es2019/version.json +1 -1
- package/dist/esm/messages.js +5 -5
- package/dist/esm/version.json +1 -1
- package/dist/types/messages.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/media-ui
|
|
2
2
|
|
|
3
|
+
## 17.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`269ee940b87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/269ee940b87) - redesign error UI on new media card experience
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 17.0.0
|
|
4
14
|
|
|
5
15
|
### Major Changes
|
package/dist/cjs/messages.js
CHANGED
|
@@ -58,6 +58,11 @@ var messages = (0, _reactIntl.defineMessages)({
|
|
|
58
58
|
defaultMessage: 'Failed to load',
|
|
59
59
|
description: 'We show this message when we have an error loading a file'
|
|
60
60
|
},
|
|
61
|
+
failed_to_upload: {
|
|
62
|
+
id: 'fabric.media.failed_to_upload',
|
|
63
|
+
defaultMessage: 'Failed to upload',
|
|
64
|
+
description: 'We show this message when we have an error uploading a file'
|
|
65
|
+
},
|
|
61
66
|
recent_uploads: {
|
|
62
67
|
id: 'fabric.media.recent_uploads',
|
|
63
68
|
defaultMessage: 'Recent uploads',
|
|
@@ -598,11 +603,6 @@ var messages = (0, _reactIntl.defineMessages)({
|
|
|
598
603
|
defaultMessage: 'Error 429',
|
|
599
604
|
description: 'Error 429 is thrown'
|
|
600
605
|
},
|
|
601
|
-
preview_rateLimited: {
|
|
602
|
-
id: 'fabric.media.preview_rateLimited',
|
|
603
|
-
defaultMessage: 'We had difficulties creating a preview',
|
|
604
|
-
description: 'The preview is rate limited'
|
|
605
|
-
},
|
|
606
606
|
close_and_reopen: {
|
|
607
607
|
id: 'fabric.media.close_and_reopen',
|
|
608
608
|
defaultMessage: 'Try closing this file and reopening.',
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/messages.js
CHANGED
|
@@ -50,6 +50,11 @@ export const messages = defineMessages({
|
|
|
50
50
|
defaultMessage: 'Failed to load',
|
|
51
51
|
description: 'We show this message when we have an error loading a file'
|
|
52
52
|
},
|
|
53
|
+
failed_to_upload: {
|
|
54
|
+
id: 'fabric.media.failed_to_upload',
|
|
55
|
+
defaultMessage: 'Failed to upload',
|
|
56
|
+
description: 'We show this message when we have an error uploading a file'
|
|
57
|
+
},
|
|
53
58
|
recent_uploads: {
|
|
54
59
|
id: 'fabric.media.recent_uploads',
|
|
55
60
|
defaultMessage: 'Recent uploads',
|
|
@@ -590,11 +595,6 @@ export const messages = defineMessages({
|
|
|
590
595
|
defaultMessage: 'Error 429',
|
|
591
596
|
description: 'Error 429 is thrown'
|
|
592
597
|
},
|
|
593
|
-
preview_rateLimited: {
|
|
594
|
-
id: 'fabric.media.preview_rateLimited',
|
|
595
|
-
defaultMessage: 'We had difficulties creating a preview',
|
|
596
|
-
description: 'The preview is rate limited'
|
|
597
|
-
},
|
|
598
598
|
close_and_reopen: {
|
|
599
599
|
id: 'fabric.media.close_and_reopen',
|
|
600
600
|
defaultMessage: 'Try closing this file and reopening.',
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/messages.js
CHANGED
|
@@ -50,6 +50,11 @@ export var messages = defineMessages({
|
|
|
50
50
|
defaultMessage: 'Failed to load',
|
|
51
51
|
description: 'We show this message when we have an error loading a file'
|
|
52
52
|
},
|
|
53
|
+
failed_to_upload: {
|
|
54
|
+
id: 'fabric.media.failed_to_upload',
|
|
55
|
+
defaultMessage: 'Failed to upload',
|
|
56
|
+
description: 'We show this message when we have an error uploading a file'
|
|
57
|
+
},
|
|
53
58
|
recent_uploads: {
|
|
54
59
|
id: 'fabric.media.recent_uploads',
|
|
55
60
|
defaultMessage: 'Recent uploads',
|
|
@@ -590,11 +595,6 @@ export var messages = defineMessages({
|
|
|
590
595
|
defaultMessage: 'Error 429',
|
|
591
596
|
description: 'Error 429 is thrown'
|
|
592
597
|
},
|
|
593
|
-
preview_rateLimited: {
|
|
594
|
-
id: 'fabric.media.preview_rateLimited',
|
|
595
|
-
defaultMessage: 'We had difficulties creating a preview',
|
|
596
|
-
description: 'The preview is rate limited'
|
|
597
|
-
},
|
|
598
598
|
close_and_reopen: {
|
|
599
599
|
id: 'fabric.media.close_and_reopen',
|
|
600
600
|
defaultMessage: 'Try closing this file and reopening.',
|
package/dist/esm/version.json
CHANGED
package/dist/types/messages.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FormattedMessage } from 'react-intl';
|
|
2
2
|
export declare 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 declare type MessageKey = 'retry' | 'failed_to_load' | 'recent_uploads' | 'upload_file' | 'drag_and_drop_your_files' | 'drag_and_drop_your_files_and_folders' | 'drop_your_files' | 'upload' | 'cancel' | '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' | 'upload_an_avatar' | 'loading' | 'loading_file' | 'save' | 'or' | 'upload_photo' | 'default_avatars' | 'drag_and_drop_images_here' | 'upload_image' | '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' | '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' | 'unknown' | 'document' | 'audio' | 'video' | 'image' | 'archive' | 'email' | 'text' | 'displayThumbnail' | 'search' | 'view' | 'viewIn' | 'viewOriginal' | 'playbackSpeed' | 'skipBackward' | 'skipForward' | 'playbackDefaultSpeed' | 'preview' | 'preview_unavailable' | 'preview_currently_unavailable' | 'creating_preview' | 'couldnt_load_file' | 'error_429' | '
|
|
3
|
+
export declare type MessageKey = 'retry' | 'failed_to_load' | 'failed_to_upload' | 'recent_uploads' | 'upload_file' | 'drag_and_drop_your_files' | 'drag_and_drop_your_files_and_folders' | 'drop_your_files' | 'upload' | 'cancel' | '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' | 'upload_an_avatar' | 'loading' | 'loading_file' | 'save' | 'or' | 'upload_photo' | 'default_avatars' | 'drag_and_drop_images_here' | 'upload_image' | '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' | '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' | 'unknown' | 'document' | 'audio' | 'video' | 'image' | 'archive' | 'email' | 'text' | 'displayThumbnail' | 'search' | 'view' | 'viewIn' | 'viewOriginal' | 'playbackSpeed' | 'skipBackward' | 'skipForward' | 'playbackDefaultSpeed' | 'preview' | 'preview_unavailable' | 'preview_currently_unavailable' | 'creating_preview' | 'couldnt_load_file' | 'error_429' | 'close_and_reopen' | 'viewer_rateLimited' | 'zip_entry_load_fail' | RequestAccessMessageKey;
|
|
4
4
|
declare type Messages = {
|
|
5
5
|
[K in MessageKey]: FormattedMessage.MessageDescriptor;
|
|
6
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-ui",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.1.0",
|
|
4
4
|
"description": "Includes common components and utilities used by other media packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/locale": "^2.3.0",
|
|
53
53
|
"@atlaskit/lozenge": "^11.1.0",
|
|
54
54
|
"@atlaskit/media-common": "^2.9.0",
|
|
55
|
-
"@atlaskit/modal-dialog": "^12.
|
|
55
|
+
"@atlaskit/modal-dialog": "^12.1.0",
|
|
56
56
|
"@atlaskit/select": "^15.2.0",
|
|
57
57
|
"@atlaskit/spinner": "^15.1.0",
|
|
58
58
|
"@atlaskit/theme": "^12.0.0",
|