@atlaskit/media-ui 29.0.0 → 29.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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @atlaskit/media-ui
2
2
 
3
+ ## 29.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`818d7e656a226`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/818d7e656a226) -
8
+ Autofix: add explicit package exports (barrel removal)
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 29.0.0
4
15
 
5
16
  ### Major Changes
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/ErroredView",
3
+ "main": "../dist/cjs/MediaInlineCard/ErroredView/index.js",
4
+ "module": "../dist/esm/MediaInlineCard/ErroredView/index.js",
5
+ "module:es2019": "../dist/es2019/MediaInlineCard/ErroredView/index.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/MediaInlineCard/ErroredView/index.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/MediaInlineCard/ErroredView/index.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/LoadedView",
3
+ "main": "../dist/cjs/MediaInlineCard/LoadedView/index.js",
4
+ "module": "../dist/esm/MediaInlineCard/LoadedView/index.js",
5
+ "module:es2019": "../dist/es2019/MediaInlineCard/LoadedView/index.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/MediaInlineCard/LoadedView/index.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/MediaInlineCard/LoadedView/index.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/LoadingView",
3
+ "main": "../dist/cjs/MediaInlineCard/LoadingView/index.js",
4
+ "module": "../dist/esm/MediaInlineCard/LoadingView/index.js",
5
+ "module:es2019": "../dist/es2019/MediaInlineCard/LoadingView/index.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/MediaInlineCard/LoadingView/index.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/MediaInlineCard/LoadingView/index.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/MediaButton",
3
+ "main": "../dist/cjs/MediaButton.js",
4
+ "module": "../dist/esm/MediaButton.js",
5
+ "module:es2019": "../dist/es2019/MediaButton.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/MediaButton.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/MediaButton.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/camera",
3
+ "main": "../dist/cjs/camera.js",
4
+ "module": "../dist/esm/camera.js",
5
+ "module:es2019": "../dist/es2019/camera.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/camera.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/camera.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/customMediaPlayer",
3
+ "main": "../dist/cjs/customMediaPlayer/index.js",
4
+ "module": "../dist/esm/customMediaPlayer/index.js",
5
+ "module:es2019": "../dist/es2019/customMediaPlayer/index.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/customMediaPlayer/index.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/customMediaPlayer/index.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -44,7 +44,8 @@ var MediaInlineCardLoadingView = exports.MediaInlineCardLoadingView = /*#__PURE_
44
44
  }, /*#__PURE__*/_react.default.createElement(_styled2.IconTitleWrapper, null, message, /*#__PURE__*/_react.default.createElement(_styled2.RightIconPositionWrapper, null, /*#__PURE__*/_react.default.createElement(_styled.SpinnerWrapper, {
45
45
  className: "inline-loading-spinner"
46
46
  }, /*#__PURE__*/_react.default.createElement(_spinner.default, {
47
- size: 14
47
+ size: 14,
48
+ interactionName: "media-inline-card-loading-view"
48
49
  })))));
49
50
  } else {
50
51
  return /*#__PURE__*/_react.default.createElement(_Frame.Frame, {
@@ -57,7 +58,8 @@ var MediaInlineCardLoadingView = exports.MediaInlineCardLoadingView = /*#__PURE_
57
58
  }, /*#__PURE__*/_react.default.createElement(_styled.SpinnerWrapper, {
58
59
  className: "inline-loading-spinner"
59
60
  }, /*#__PURE__*/_react.default.createElement(_spinner.default, {
60
- size: 14
61
+ size: 14,
62
+ interactionName: "media-inline-card-loading-view"
61
63
  }))));
62
64
  }
63
65
  }
@@ -871,19 +871,9 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
871
871
  defaultMessage: 'Svg Image',
872
872
  description: 'The text is shown as the alt attribute for the SVG image element in the media viewer, providing an accessible text description for screen reader users.'
873
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: 'The text is shown as the aria-label for the interactive SVG image wrapper in the media viewer, indicating to assistive technology users that clicking it closes the image preview.'
878
- },
879
874
  archive_download_label_assistive_text: {
880
875
  id: 'media.media-viewer.archive-sidebar.wrapper.label_assistive_text',
881
876
  defaultMessage: 'Download Media',
882
877
  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: 'The text is shown as the aria-label for the media file card wrapper element, providing an accessible name that identifies this component as a media file card to screen reader users.'
888
878
  }
889
879
  });
@@ -23,7 +23,8 @@ export class MediaInlineCardLoadingView extends React.Component {
23
23
  }, /*#__PURE__*/React.createElement(IconTitleWrapper, null, message, /*#__PURE__*/React.createElement(RightIconPositionWrapper, null, /*#__PURE__*/React.createElement(SpinnerWrapper, {
24
24
  className: "inline-loading-spinner"
25
25
  }, /*#__PURE__*/React.createElement(Spinner, {
26
- size: 14
26
+ size: 14,
27
+ interactionName: "media-inline-card-loading-view"
27
28
  })))));
28
29
  } else {
29
30
  return /*#__PURE__*/React.createElement(Frame, {
@@ -36,7 +37,8 @@ export class MediaInlineCardLoadingView extends React.Component {
36
37
  }, /*#__PURE__*/React.createElement(SpinnerWrapper, {
37
38
  className: "inline-loading-spinner"
38
39
  }, /*#__PURE__*/React.createElement(Spinner, {
39
- size: 14
40
+ size: 14,
41
+ interactionName: "media-inline-card-loading-view"
40
42
  }))));
41
43
  }
42
44
  }
@@ -865,19 +865,9 @@ export const messages = defineMessages({
865
865
  defaultMessage: 'Svg Image',
866
866
  description: 'The text is shown as the alt attribute for the SVG image element in the media viewer, providing an accessible text description for screen reader users.'
867
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: 'The text is shown as the aria-label for the interactive SVG image wrapper in the media viewer, indicating to assistive technology users that clicking it closes the image preview.'
872
- },
873
868
  archive_download_label_assistive_text: {
874
869
  id: 'media.media-viewer.archive-sidebar.wrapper.label_assistive_text',
875
870
  defaultMessage: 'Download Media',
876
871
  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: 'The text is shown as the aria-label for the media file card wrapper element, providing an accessible name that identifies this component as a media file card to screen reader users.'
882
872
  }
883
873
  });
@@ -37,7 +37,8 @@ export var MediaInlineCardLoadingView = /*#__PURE__*/function (_React$Component)
37
37
  }, /*#__PURE__*/React.createElement(IconTitleWrapper, null, message, /*#__PURE__*/React.createElement(RightIconPositionWrapper, null, /*#__PURE__*/React.createElement(SpinnerWrapper, {
38
38
  className: "inline-loading-spinner"
39
39
  }, /*#__PURE__*/React.createElement(Spinner, {
40
- size: 14
40
+ size: 14,
41
+ interactionName: "media-inline-card-loading-view"
41
42
  })))));
42
43
  } else {
43
44
  return /*#__PURE__*/React.createElement(Frame, {
@@ -50,7 +51,8 @@ export var MediaInlineCardLoadingView = /*#__PURE__*/function (_React$Component)
50
51
  }, /*#__PURE__*/React.createElement(SpinnerWrapper, {
51
52
  className: "inline-loading-spinner"
52
53
  }, /*#__PURE__*/React.createElement(Spinner, {
53
- size: 14
54
+ size: 14,
55
+ interactionName: "media-inline-card-loading-view"
54
56
  }))));
55
57
  }
56
58
  }
@@ -865,19 +865,9 @@ export var messages = defineMessages({
865
865
  defaultMessage: 'Svg Image',
866
866
  description: 'The text is shown as the alt attribute for the SVG image element in the media viewer, providing an accessible text description for screen reader users.'
867
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: 'The text is shown as the aria-label for the interactive SVG image wrapper in the media viewer, indicating to assistive technology users that clicking it closes the image preview.'
872
- },
873
868
  archive_download_label_assistive_text: {
874
869
  id: 'media.media-viewer.archive-sidebar.wrapper.label_assistive_text',
875
870
  defaultMessage: 'Download Media',
876
871
  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: 'The text is shown as the aria-label for the media file card wrapper element, providing an accessible name that identifies this component as a media file card to screen reader users.'
882
872
  }
883
873
  });
@@ -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' | '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;
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' | 'archive_download_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';
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' | 'svg_base_alt' | 'svg_image_preview_label_assistive_text' | 'archive_download_label_assistive_text' | 'media_card_wrapper_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' | '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' | 'archive_download_label_assistive_text' | RequestAccessMessageKey;
4
4
  type Messages = {
5
5
  [K in MessageKey]: MessageDescriptor;
6
6
  };
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/ellipsify/compiled",
3
+ "main": "../../dist/cjs/ellipsify-compiled.js",
4
+ "module": "../../dist/esm/ellipsify-compiled.js",
5
+ "module:es2019": "../../dist/es2019/ellipsify-compiled.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/ellipsify-compiled.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/ellipsify-compiled.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/ellipsify",
3
+ "main": "../dist/cjs/ellipsify.js",
4
+ "module": "../dist/esm/ellipsify.js",
5
+ "module:es2019": "../dist/es2019/ellipsify.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/ellipsify.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/ellipsify.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/formatDuration",
3
+ "main": "../dist/cjs/formatDuration.js",
4
+ "module": "../dist/esm/formatDuration.js",
5
+ "module:es2019": "../dist/es2019/formatDuration.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/formatDuration.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/formatDuration.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/humanReadableSize",
3
+ "main": "../dist/cjs/humanReadableSize.js",
4
+ "module": "../dist/esm/humanReadableSize.js",
5
+ "module:es2019": "../dist/es2019/humanReadableSize.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/humanReadableSize.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/humanReadableSize.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/imageMetaData",
3
+ "main": "../dist/cjs/imageMetaData/index.js",
4
+ "module": "../dist/esm/imageMetaData/index.js",
5
+ "module:es2019": "../dist/es2019/imageMetaData/index.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/imageMetaData/index.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/imageMetaData/index.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/imageMetaData/types",
3
+ "main": "../../dist/cjs/imageMetaData/types.js",
4
+ "module": "../../dist/esm/imageMetaData/types.js",
5
+ "module:es2019": "../../dist/es2019/imageMetaData/types.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/imageMetaData/types.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/imageMetaData/types.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/imageOrientationUtil",
3
+ "main": "../dist/cjs/imageMetaData/imageOrientationUtil.js",
4
+ "module": "../dist/esm/imageMetaData/imageOrientationUtil.js",
5
+ "module:es2019": "../dist/es2019/imageMetaData/imageOrientationUtil.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/imageMetaData/imageOrientationUtil.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/imageMetaData/imageOrientationUtil.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/inactivityDetector",
3
+ "main": "../dist/cjs/inactivityDetector/inactivityDetector.js",
4
+ "module": "../dist/esm/inactivityDetector/inactivityDetector.js",
5
+ "module:es2019": "../dist/es2019/inactivityDetector/inactivityDetector.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/inactivityDetector/inactivityDetector.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/inactivityDetector/inactivityDetector.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/intersectionObserver",
3
+ "main": "../dist/cjs/intersectionObserver.js",
4
+ "module": "../dist/esm/intersectionObserver.js",
5
+ "module:es2019": "../dist/es2019/intersectionObserver.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/intersectionObserver.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/intersectionObserver.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/media-type-icon/compiled",
3
+ "main": "../../dist/cjs/media-type-icon-compiled.js",
4
+ "module": "../../dist/esm/media-type-icon-compiled.js",
5
+ "module:es2019": "../../dist/es2019/media-type-icon-compiled.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/media-type-icon-compiled.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/media-type-icon-compiled.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/mediaImage",
3
+ "main": "../dist/cjs/mediaImage/index.js",
4
+ "module": "../dist/esm/mediaImage/index.js",
5
+ "module:es2019": "../dist/es2019/mediaImage/index.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/mediaImage/index.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/mediaImage/index.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/mediaPlayer",
3
+ "main": "../dist/cjs/customMediaPlayer/mediaPlayer/mediaPlayer.js",
4
+ "module": "../dist/esm/customMediaPlayer/mediaPlayer/mediaPlayer.js",
5
+ "module:es2019": "../dist/es2019/customMediaPlayer/mediaPlayer/mediaPlayer.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/customMediaPlayer/mediaPlayer/mediaPlayer.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/customMediaPlayer/mediaPlayer/mediaPlayer.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/mediaPlayer/types",
3
+ "main": "../../dist/cjs/customMediaPlayer/mediaPlayer/types.js",
4
+ "module": "../../dist/esm/customMediaPlayer/mediaPlayer/types.js",
5
+ "module:es2019": "../../dist/es2019/customMediaPlayer/mediaPlayer/types.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/customMediaPlayer/mediaPlayer/types.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/customMediaPlayer/mediaPlayer/types.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/mixins",
3
+ "main": "../dist/cjs/mixins.js",
4
+ "module": "../dist/esm/mixins.js",
5
+ "module:es2019": "../dist/es2019/mixins.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/mixins.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/mixins.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-ui",
3
- "version": "29.0.0",
3
+ "version": "29.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/"
@@ -28,25 +28,25 @@
28
28
  "@atlaskit/button": "^23.11.0",
29
29
  "@atlaskit/code": "^17.4.0",
30
30
  "@atlaskit/css": "^0.19.0",
31
- "@atlaskit/flag": "^17.9.0",
31
+ "@atlaskit/flag": "^17.10.0",
32
32
  "@atlaskit/form": "^15.5.0",
33
- "@atlaskit/icon": "^34.2.0",
33
+ "@atlaskit/icon": "^34.3.0",
34
34
  "@atlaskit/icon-file-type": "^7.0.0",
35
35
  "@atlaskit/locale": "^4.1.0",
36
36
  "@atlaskit/media-client": "^36.0.0",
37
- "@atlaskit/media-client-react": "^5.0.0",
38
- "@atlaskit/media-common": "^13.0.0",
39
- "@atlaskit/media-state": "^2.0.0",
40
- "@atlaskit/modal-dialog": "^14.15.0",
37
+ "@atlaskit/media-client-react": "^5.1.0",
38
+ "@atlaskit/media-common": "^13.1.0",
39
+ "@atlaskit/media-state": "^2.1.0",
40
+ "@atlaskit/modal-dialog": "^14.18.0",
41
41
  "@atlaskit/platform-feature-flags": "^1.1.0",
42
42
  "@atlaskit/primitives": "^19.0.0",
43
43
  "@atlaskit/range": "^10.0.0",
44
- "@atlaskit/react-ufo": "^5.14.0",
44
+ "@atlaskit/react-ufo": "^5.16.0",
45
45
  "@atlaskit/select": "^21.10.0",
46
46
  "@atlaskit/spinner": "^19.1.0",
47
- "@atlaskit/theme": "^23.1.0",
47
+ "@atlaskit/theme": "^23.2.0",
48
48
  "@atlaskit/tokens": "^13.0.0",
49
- "@atlaskit/tooltip": "^21.1.0",
49
+ "@atlaskit/tooltip": "^21.2.0",
50
50
  "@atlaskit/width-detector": "^5.1.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@compiled/react": "^0.20.0",
@@ -66,7 +66,7 @@
66
66
  "devDependencies": {
67
67
  "@af/visual-regression": "workspace:^",
68
68
  "@atlaskit/analytics-listeners": "^10.0.0",
69
- "@atlaskit/media-test-data": "^3.2.0",
69
+ "@atlaskit/media-test-data": "^3.3.0",
70
70
  "@atlaskit/ssr": "workspace:^",
71
71
  "@atlassian/a11y-jest-testing": "^0.11.0",
72
72
  "@atlassian/feature-flags-test-utils": "^1.0.0",
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/shortcut",
3
+ "main": "../dist/cjs/shortcut.js",
4
+ "module": "../dist/esm/shortcut.js",
5
+ "module:es2019": "../dist/es2019/shortcut.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/shortcut.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/shortcut.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/timeRange",
3
+ "main": "../dist/cjs/customMediaPlayer/timeRange.js",
4
+ "module": "../dist/esm/customMediaPlayer/timeRange.js",
5
+ "module:es2019": "../dist/es2019/customMediaPlayer/timeRange.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/customMediaPlayer/timeRange.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/customMediaPlayer/timeRange.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/media-ui/truncateText/compiled",
3
+ "main": "../../dist/cjs/truncateText-compiled.js",
4
+ "module": "../../dist/esm/truncateText-compiled.js",
5
+ "module:es2019": "../../dist/es2019/truncateText-compiled.js",
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/truncateText-compiled.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/truncateText-compiled.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }