@atlaskit/media-ui 30.4.0 → 30.5.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 +6 -5
- package/CHANGELOG.md +26 -0
- package/dist/cjs/customMediaPlayer/index.js +1 -1
- package/dist/cjs/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/cjs/messages.js +28 -28
- package/dist/es2019/customMediaPlayer/index.js +1 -1
- package/dist/es2019/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/es2019/messages.js +28 -28
- package/dist/esm/customMediaPlayer/index.js +1 -1
- package/dist/esm/customMediaPlayer/mediaPlayer/mediaPlayer.js +1 -1
- package/dist/esm/messages.js +28 -28
- package/package.json +23 -23
package/AGENTS.md
CHANGED
|
@@ -26,11 +26,12 @@
|
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
**Refresh protocol:** never silently bump `Last verified` — always re-read the listed `Sources`
|
|
29
|
+
**Entry point:** `.agents/knowledge-index/INDEX.md` **Unit doc:**
|
|
30
|
+
`.agents/knowledge-index/domains/media/units/atlaskit-media-ui.md` **Standards page:**
|
|
31
|
+
`.agents/knowledge-index/domains/media/units/atlaskit-media-ui/standards-and-patterns.md` **CLI:**
|
|
32
|
+
`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`
|
|
34
|
+
first, edit, then `kg.py edit <path> --message "<reason>"`.
|
|
34
35
|
|
|
35
36
|
## Key source files
|
|
36
37
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/media-ui
|
|
2
2
|
|
|
3
|
+
## 30.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8a141c7aaddfa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8a141c7aaddfa) -
|
|
8
|
+
Improve i18n message descriptions with meaningful translator context for media-ui and
|
|
9
|
+
proforma-form-builder messages
|
|
10
|
+
|
|
11
|
+
## 30.5.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`cd097a2111788`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd097a2111788) -
|
|
16
|
+
Republish packages depending on `@atlaskit/react-compiler-gating` so their published dependency
|
|
17
|
+
reference is updated to the renamed `@atlaskit/react-compiler-gating` scope.
|
|
18
|
+
|
|
19
|
+
The earlier rename of `@atlassian/react-compiler-gating` to `@atlaskit/react-compiler-gating` only
|
|
20
|
+
bumped the renamed package itself, so dependent packages were never republished and their
|
|
21
|
+
published versions still referenced the old `@atlassian/react-compiler-gating` name, which is not
|
|
22
|
+
available in the public npm registry. This minor bump republishes all affected packages with the
|
|
23
|
+
corrected dependency.
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
|
|
3
29
|
## 30.4.0
|
|
4
30
|
|
|
5
31
|
### 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.5.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.5.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
|
@@ -409,17 +409,17 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
409
409
|
learn_more: {
|
|
410
410
|
id: 'fabric.media.learn_more',
|
|
411
411
|
defaultMessage: 'Learn More',
|
|
412
|
-
description: ''
|
|
412
|
+
description: 'Link label in the media UI that navigates the user to additional documentation or help content.'
|
|
413
413
|
},
|
|
414
414
|
accounts: {
|
|
415
415
|
id: 'fabric.media.accounts',
|
|
416
416
|
defaultMessage: 'Accounts',
|
|
417
|
-
description: ''
|
|
417
|
+
description: 'Section heading or tab label in the media file picker listing connected cloud storage accounts.'
|
|
418
418
|
},
|
|
419
419
|
actions: {
|
|
420
420
|
id: 'fabric.media.actions',
|
|
421
421
|
defaultMessage: 'Actions',
|
|
422
|
-
description: ''
|
|
422
|
+
description: 'Label for the actions menu or toolbar in the media viewer that contains available file operations.'
|
|
423
423
|
},
|
|
424
424
|
error_hint_retry: {
|
|
425
425
|
id: 'fabric.media.error_hint_retry',
|
|
@@ -434,7 +434,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
434
434
|
close: {
|
|
435
435
|
id: 'fabric.media.close',
|
|
436
436
|
defaultMessage: 'Close',
|
|
437
|
-
description: ''
|
|
437
|
+
description: 'Button label in the media viewer or dialog that dismisses the current modal or overlay.'
|
|
438
438
|
},
|
|
439
439
|
could_not_load_editor: {
|
|
440
440
|
id: 'fabric.media.could_not_load_editor',
|
|
@@ -454,57 +454,57 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
454
454
|
annotate: {
|
|
455
455
|
id: 'fabric.media.annotate',
|
|
456
456
|
defaultMessage: 'Annotate',
|
|
457
|
-
description: ''
|
|
457
|
+
description: 'Button label in the media viewer toolbar that opens the image annotation editor.'
|
|
458
458
|
},
|
|
459
459
|
annotate_tool_arrow: {
|
|
460
460
|
id: 'fabric.media.annotate.tool.arrow',
|
|
461
461
|
defaultMessage: 'Arrow',
|
|
462
|
-
description: ''
|
|
462
|
+
description: 'Label for the arrow drawing tool in the media image annotation editor toolbar.'
|
|
463
463
|
},
|
|
464
464
|
annotate_tool_text: {
|
|
465
465
|
id: 'fabric.media.annotate.tool.text',
|
|
466
466
|
defaultMessage: 'Text',
|
|
467
|
-
description: ''
|
|
467
|
+
description: 'Label for the text tool in the media image annotation editor toolbar.'
|
|
468
468
|
},
|
|
469
469
|
annotate_tool_shape: {
|
|
470
470
|
id: 'fabric.media.annotate.tool.shape',
|
|
471
471
|
defaultMessage: 'Shape',
|
|
472
|
-
description: ''
|
|
472
|
+
description: 'Label for the shape drawing tool in the media image annotation editor toolbar.'
|
|
473
473
|
},
|
|
474
474
|
annotate_tool_brush: {
|
|
475
475
|
id: 'fabric.media.annotate.tool.brush',
|
|
476
476
|
defaultMessage: 'Brush',
|
|
477
|
-
description: ''
|
|
477
|
+
description: 'Label for the freehand brush drawing tool in the media image annotation editor toolbar.'
|
|
478
478
|
},
|
|
479
479
|
annotate_tool_blur: {
|
|
480
480
|
id: 'fabric.media.annotate.tool.blur',
|
|
481
481
|
defaultMessage: 'Blur',
|
|
482
|
-
description: ''
|
|
482
|
+
description: 'Label for the blur tool in the media image annotation editor used to obscure areas of an image.'
|
|
483
483
|
},
|
|
484
484
|
annotate_tool_line_thickness: {
|
|
485
485
|
id: 'fabric.media.annotate.tool.line.thickness',
|
|
486
486
|
defaultMessage: 'Line thickness',
|
|
487
|
-
description: ''
|
|
487
|
+
description: 'Label for the line thickness selector in the media image annotation editor toolbar.'
|
|
488
488
|
},
|
|
489
489
|
annotate_tool_color: {
|
|
490
490
|
id: 'fabric.media.annotate.tool.color',
|
|
491
491
|
defaultMessage: 'Color',
|
|
492
|
-
description: ''
|
|
492
|
+
description: 'Label for the color picker in the media image annotation editor toolbar.'
|
|
493
493
|
},
|
|
494
494
|
annotate_confirmation_close_anyway: {
|
|
495
495
|
id: 'fabric.media.annotate.confirmation.close.anyway',
|
|
496
496
|
defaultMessage: 'Close anyway',
|
|
497
|
-
description: ''
|
|
497
|
+
description: 'Button label in the annotation editor confirmation dialog that discards unsaved changes and closes the editor.'
|
|
498
498
|
},
|
|
499
499
|
annotate_confirmation_heading: {
|
|
500
500
|
id: 'fabric.media.annotate.confirmation.heading',
|
|
501
501
|
defaultMessage: 'Unsaved changes',
|
|
502
|
-
description: ''
|
|
502
|
+
description: 'Heading of the confirmation dialog shown when the user tries to close the annotation editor with unsaved changes.'
|
|
503
503
|
},
|
|
504
504
|
annotate_confirmation_content: {
|
|
505
505
|
id: 'fabric.media.annotate.confirmation.content',
|
|
506
506
|
defaultMessage: 'You have some unsaved changes. Are you sure you want to leave?',
|
|
507
|
-
description: ''
|
|
507
|
+
description: 'Body text of the confirmation dialog asking the user whether to discard unsaved annotation changes.'
|
|
508
508
|
},
|
|
509
509
|
drop_your_files_here: {
|
|
510
510
|
id: 'fabric.media.drop_your_files_here',
|
|
@@ -539,12 +539,12 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
539
539
|
play: {
|
|
540
540
|
id: 'fabric.media.play',
|
|
541
541
|
defaultMessage: 'Play',
|
|
542
|
-
description: ''
|
|
542
|
+
description: 'Accessible label for the play button in the media video or audio player.'
|
|
543
543
|
},
|
|
544
544
|
pause: {
|
|
545
545
|
id: 'fabric.media.pause',
|
|
546
546
|
defaultMessage: 'Pause',
|
|
547
|
-
description: ''
|
|
547
|
+
description: 'Accessible label for the pause button in the media video or audio player.'
|
|
548
548
|
},
|
|
549
549
|
disable_fullscreen: {
|
|
550
550
|
id: 'fabric.media.disable_fullscreen',
|
|
@@ -569,52 +569,52 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
569
569
|
download: {
|
|
570
570
|
id: 'fabric.media.download',
|
|
571
571
|
defaultMessage: 'Download',
|
|
572
|
-
description: '
|
|
572
|
+
description: "Button label in the media viewer toolbar that triggers downloading the current file to the user's device."
|
|
573
573
|
},
|
|
574
574
|
download_disabled_security_policy: {
|
|
575
575
|
id: 'fabric.media.download_disabled_security_policy',
|
|
576
576
|
defaultMessage: "Download is blocked by your organization's security policy.",
|
|
577
|
-
description: '
|
|
577
|
+
description: "Tooltip or message shown on the disabled download button when the org's security policy prevents file downloads."
|
|
578
578
|
},
|
|
579
579
|
unknown: {
|
|
580
580
|
id: 'fabric.media.unknown',
|
|
581
581
|
defaultMessage: 'unknown',
|
|
582
|
-
description: ''
|
|
582
|
+
description: 'File type label used in the media UI when the file type cannot be determined.'
|
|
583
583
|
},
|
|
584
584
|
document: {
|
|
585
585
|
id: 'fabric.media.document',
|
|
586
586
|
defaultMessage: 'document',
|
|
587
|
-
description: ''
|
|
587
|
+
description: 'File type label used in the media UI to categorise files such as PDFs and office documents.'
|
|
588
588
|
},
|
|
589
589
|
audio: {
|
|
590
590
|
id: 'fabric.media.audio',
|
|
591
591
|
defaultMessage: 'audio',
|
|
592
|
-
description: ''
|
|
592
|
+
description: 'File type label used in the media UI to categorise audio files such as MP3 or WAV.'
|
|
593
593
|
},
|
|
594
594
|
video: {
|
|
595
595
|
id: 'fabric.media.video',
|
|
596
596
|
defaultMessage: 'video',
|
|
597
|
-
description: ''
|
|
597
|
+
description: 'File type label used in the media UI to categorise video files such as MP4 or MOV.'
|
|
598
598
|
},
|
|
599
599
|
image: {
|
|
600
600
|
id: 'fabric.media.image',
|
|
601
601
|
defaultMessage: 'image',
|
|
602
|
-
description: ''
|
|
602
|
+
description: 'File type label used in the media UI to categorise image files such as PNG or JPEG.'
|
|
603
603
|
},
|
|
604
604
|
archive: {
|
|
605
605
|
id: 'fabric.media.archive',
|
|
606
606
|
defaultMessage: 'archive',
|
|
607
|
-
description: ''
|
|
607
|
+
description: 'File type label used in the media UI to categorise compressed archive files such as ZIP.'
|
|
608
608
|
},
|
|
609
609
|
email: {
|
|
610
610
|
id: 'fabric.media.email',
|
|
611
611
|
defaultMessage: 'email',
|
|
612
|
-
description: ''
|
|
612
|
+
description: 'File type label used in the media UI to categorise email files such as EML or MSG.'
|
|
613
613
|
},
|
|
614
614
|
text: {
|
|
615
615
|
id: 'fabric.media.text',
|
|
616
616
|
defaultMessage: 'text',
|
|
617
|
-
description: ''
|
|
617
|
+
description: 'File type label used in the media UI to categorise plain text files such as TXT or CSV.'
|
|
618
618
|
},
|
|
619
619
|
displayThumbnail: {
|
|
620
620
|
id: 'fabric.media.display_thumbnail',
|
|
@@ -624,7 +624,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
624
624
|
search: {
|
|
625
625
|
id: 'fabric.media.search',
|
|
626
626
|
defaultMessage: 'search',
|
|
627
|
-
description: ''
|
|
627
|
+
description: 'Accessible label for the search input or button in the media file picker used to find files.'
|
|
628
628
|
},
|
|
629
629
|
view: {
|
|
630
630
|
id: 'fabric.media.view',
|
|
@@ -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.5.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.5.0";
|
|
10
10
|
export const MediaPlayerWihtoutContext = ({
|
|
11
11
|
onPlay,
|
|
12
12
|
...props
|
package/dist/es2019/messages.js
CHANGED
|
@@ -403,17 +403,17 @@ export const messages = defineMessages({
|
|
|
403
403
|
learn_more: {
|
|
404
404
|
id: 'fabric.media.learn_more',
|
|
405
405
|
defaultMessage: 'Learn More',
|
|
406
|
-
description: ''
|
|
406
|
+
description: 'Link label in the media UI that navigates the user to additional documentation or help content.'
|
|
407
407
|
},
|
|
408
408
|
accounts: {
|
|
409
409
|
id: 'fabric.media.accounts',
|
|
410
410
|
defaultMessage: 'Accounts',
|
|
411
|
-
description: ''
|
|
411
|
+
description: 'Section heading or tab label in the media file picker listing connected cloud storage accounts.'
|
|
412
412
|
},
|
|
413
413
|
actions: {
|
|
414
414
|
id: 'fabric.media.actions',
|
|
415
415
|
defaultMessage: 'Actions',
|
|
416
|
-
description: ''
|
|
416
|
+
description: 'Label for the actions menu or toolbar in the media viewer that contains available file operations.'
|
|
417
417
|
},
|
|
418
418
|
error_hint_retry: {
|
|
419
419
|
id: 'fabric.media.error_hint_retry',
|
|
@@ -428,7 +428,7 @@ export const messages = defineMessages({
|
|
|
428
428
|
close: {
|
|
429
429
|
id: 'fabric.media.close',
|
|
430
430
|
defaultMessage: 'Close',
|
|
431
|
-
description: ''
|
|
431
|
+
description: 'Button label in the media viewer or dialog that dismisses the current modal or overlay.'
|
|
432
432
|
},
|
|
433
433
|
could_not_load_editor: {
|
|
434
434
|
id: 'fabric.media.could_not_load_editor',
|
|
@@ -448,57 +448,57 @@ export const messages = defineMessages({
|
|
|
448
448
|
annotate: {
|
|
449
449
|
id: 'fabric.media.annotate',
|
|
450
450
|
defaultMessage: 'Annotate',
|
|
451
|
-
description: ''
|
|
451
|
+
description: 'Button label in the media viewer toolbar that opens the image annotation editor.'
|
|
452
452
|
},
|
|
453
453
|
annotate_tool_arrow: {
|
|
454
454
|
id: 'fabric.media.annotate.tool.arrow',
|
|
455
455
|
defaultMessage: 'Arrow',
|
|
456
|
-
description: ''
|
|
456
|
+
description: 'Label for the arrow drawing tool in the media image annotation editor toolbar.'
|
|
457
457
|
},
|
|
458
458
|
annotate_tool_text: {
|
|
459
459
|
id: 'fabric.media.annotate.tool.text',
|
|
460
460
|
defaultMessage: 'Text',
|
|
461
|
-
description: ''
|
|
461
|
+
description: 'Label for the text tool in the media image annotation editor toolbar.'
|
|
462
462
|
},
|
|
463
463
|
annotate_tool_shape: {
|
|
464
464
|
id: 'fabric.media.annotate.tool.shape',
|
|
465
465
|
defaultMessage: 'Shape',
|
|
466
|
-
description: ''
|
|
466
|
+
description: 'Label for the shape drawing tool in the media image annotation editor toolbar.'
|
|
467
467
|
},
|
|
468
468
|
annotate_tool_brush: {
|
|
469
469
|
id: 'fabric.media.annotate.tool.brush',
|
|
470
470
|
defaultMessage: 'Brush',
|
|
471
|
-
description: ''
|
|
471
|
+
description: 'Label for the freehand brush drawing tool in the media image annotation editor toolbar.'
|
|
472
472
|
},
|
|
473
473
|
annotate_tool_blur: {
|
|
474
474
|
id: 'fabric.media.annotate.tool.blur',
|
|
475
475
|
defaultMessage: 'Blur',
|
|
476
|
-
description: ''
|
|
476
|
+
description: 'Label for the blur tool in the media image annotation editor used to obscure areas of an image.'
|
|
477
477
|
},
|
|
478
478
|
annotate_tool_line_thickness: {
|
|
479
479
|
id: 'fabric.media.annotate.tool.line.thickness',
|
|
480
480
|
defaultMessage: 'Line thickness',
|
|
481
|
-
description: ''
|
|
481
|
+
description: 'Label for the line thickness selector in the media image annotation editor toolbar.'
|
|
482
482
|
},
|
|
483
483
|
annotate_tool_color: {
|
|
484
484
|
id: 'fabric.media.annotate.tool.color',
|
|
485
485
|
defaultMessage: 'Color',
|
|
486
|
-
description: ''
|
|
486
|
+
description: 'Label for the color picker in the media image annotation editor toolbar.'
|
|
487
487
|
},
|
|
488
488
|
annotate_confirmation_close_anyway: {
|
|
489
489
|
id: 'fabric.media.annotate.confirmation.close.anyway',
|
|
490
490
|
defaultMessage: 'Close anyway',
|
|
491
|
-
description: ''
|
|
491
|
+
description: 'Button label in the annotation editor confirmation dialog that discards unsaved changes and closes the editor.'
|
|
492
492
|
},
|
|
493
493
|
annotate_confirmation_heading: {
|
|
494
494
|
id: 'fabric.media.annotate.confirmation.heading',
|
|
495
495
|
defaultMessage: 'Unsaved changes',
|
|
496
|
-
description: ''
|
|
496
|
+
description: 'Heading of the confirmation dialog shown when the user tries to close the annotation editor with unsaved changes.'
|
|
497
497
|
},
|
|
498
498
|
annotate_confirmation_content: {
|
|
499
499
|
id: 'fabric.media.annotate.confirmation.content',
|
|
500
500
|
defaultMessage: 'You have some unsaved changes. Are you sure you want to leave?',
|
|
501
|
-
description: ''
|
|
501
|
+
description: 'Body text of the confirmation dialog asking the user whether to discard unsaved annotation changes.'
|
|
502
502
|
},
|
|
503
503
|
drop_your_files_here: {
|
|
504
504
|
id: 'fabric.media.drop_your_files_here',
|
|
@@ -533,12 +533,12 @@ export const messages = defineMessages({
|
|
|
533
533
|
play: {
|
|
534
534
|
id: 'fabric.media.play',
|
|
535
535
|
defaultMessage: 'Play',
|
|
536
|
-
description: ''
|
|
536
|
+
description: 'Accessible label for the play button in the media video or audio player.'
|
|
537
537
|
},
|
|
538
538
|
pause: {
|
|
539
539
|
id: 'fabric.media.pause',
|
|
540
540
|
defaultMessage: 'Pause',
|
|
541
|
-
description: ''
|
|
541
|
+
description: 'Accessible label for the pause button in the media video or audio player.'
|
|
542
542
|
},
|
|
543
543
|
disable_fullscreen: {
|
|
544
544
|
id: 'fabric.media.disable_fullscreen',
|
|
@@ -563,52 +563,52 @@ export const messages = defineMessages({
|
|
|
563
563
|
download: {
|
|
564
564
|
id: 'fabric.media.download',
|
|
565
565
|
defaultMessage: 'Download',
|
|
566
|
-
description: '
|
|
566
|
+
description: "Button label in the media viewer toolbar that triggers downloading the current file to the user's device."
|
|
567
567
|
},
|
|
568
568
|
download_disabled_security_policy: {
|
|
569
569
|
id: 'fabric.media.download_disabled_security_policy',
|
|
570
570
|
defaultMessage: "Download is blocked by your organization's security policy.",
|
|
571
|
-
description: '
|
|
571
|
+
description: "Tooltip or message shown on the disabled download button when the org's security policy prevents file downloads."
|
|
572
572
|
},
|
|
573
573
|
unknown: {
|
|
574
574
|
id: 'fabric.media.unknown',
|
|
575
575
|
defaultMessage: 'unknown',
|
|
576
|
-
description: ''
|
|
576
|
+
description: 'File type label used in the media UI when the file type cannot be determined.'
|
|
577
577
|
},
|
|
578
578
|
document: {
|
|
579
579
|
id: 'fabric.media.document',
|
|
580
580
|
defaultMessage: 'document',
|
|
581
|
-
description: ''
|
|
581
|
+
description: 'File type label used in the media UI to categorise files such as PDFs and office documents.'
|
|
582
582
|
},
|
|
583
583
|
audio: {
|
|
584
584
|
id: 'fabric.media.audio',
|
|
585
585
|
defaultMessage: 'audio',
|
|
586
|
-
description: ''
|
|
586
|
+
description: 'File type label used in the media UI to categorise audio files such as MP3 or WAV.'
|
|
587
587
|
},
|
|
588
588
|
video: {
|
|
589
589
|
id: 'fabric.media.video',
|
|
590
590
|
defaultMessage: 'video',
|
|
591
|
-
description: ''
|
|
591
|
+
description: 'File type label used in the media UI to categorise video files such as MP4 or MOV.'
|
|
592
592
|
},
|
|
593
593
|
image: {
|
|
594
594
|
id: 'fabric.media.image',
|
|
595
595
|
defaultMessage: 'image',
|
|
596
|
-
description: ''
|
|
596
|
+
description: 'File type label used in the media UI to categorise image files such as PNG or JPEG.'
|
|
597
597
|
},
|
|
598
598
|
archive: {
|
|
599
599
|
id: 'fabric.media.archive',
|
|
600
600
|
defaultMessage: 'archive',
|
|
601
|
-
description: ''
|
|
601
|
+
description: 'File type label used in the media UI to categorise compressed archive files such as ZIP.'
|
|
602
602
|
},
|
|
603
603
|
email: {
|
|
604
604
|
id: 'fabric.media.email',
|
|
605
605
|
defaultMessage: 'email',
|
|
606
|
-
description: ''
|
|
606
|
+
description: 'File type label used in the media UI to categorise email files such as EML or MSG.'
|
|
607
607
|
},
|
|
608
608
|
text: {
|
|
609
609
|
id: 'fabric.media.text',
|
|
610
610
|
defaultMessage: 'text',
|
|
611
|
-
description: ''
|
|
611
|
+
description: 'File type label used in the media UI to categorise plain text files such as TXT or CSV.'
|
|
612
612
|
},
|
|
613
613
|
displayThumbnail: {
|
|
614
614
|
id: 'fabric.media.display_thumbnail',
|
|
@@ -618,7 +618,7 @@ export const messages = defineMessages({
|
|
|
618
618
|
search: {
|
|
619
619
|
id: 'fabric.media.search',
|
|
620
620
|
defaultMessage: 'search',
|
|
621
|
-
description: ''
|
|
621
|
+
description: 'Accessible label for the search input or button in the media file picker used to find files.'
|
|
622
622
|
},
|
|
623
623
|
view: {
|
|
624
624
|
id: 'fabric.media.view',
|
|
@@ -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.5.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.5.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
|
@@ -403,17 +403,17 @@ export var messages = defineMessages({
|
|
|
403
403
|
learn_more: {
|
|
404
404
|
id: 'fabric.media.learn_more',
|
|
405
405
|
defaultMessage: 'Learn More',
|
|
406
|
-
description: ''
|
|
406
|
+
description: 'Link label in the media UI that navigates the user to additional documentation or help content.'
|
|
407
407
|
},
|
|
408
408
|
accounts: {
|
|
409
409
|
id: 'fabric.media.accounts',
|
|
410
410
|
defaultMessage: 'Accounts',
|
|
411
|
-
description: ''
|
|
411
|
+
description: 'Section heading or tab label in the media file picker listing connected cloud storage accounts.'
|
|
412
412
|
},
|
|
413
413
|
actions: {
|
|
414
414
|
id: 'fabric.media.actions',
|
|
415
415
|
defaultMessage: 'Actions',
|
|
416
|
-
description: ''
|
|
416
|
+
description: 'Label for the actions menu or toolbar in the media viewer that contains available file operations.'
|
|
417
417
|
},
|
|
418
418
|
error_hint_retry: {
|
|
419
419
|
id: 'fabric.media.error_hint_retry',
|
|
@@ -428,7 +428,7 @@ export var messages = defineMessages({
|
|
|
428
428
|
close: {
|
|
429
429
|
id: 'fabric.media.close',
|
|
430
430
|
defaultMessage: 'Close',
|
|
431
|
-
description: ''
|
|
431
|
+
description: 'Button label in the media viewer or dialog that dismisses the current modal or overlay.'
|
|
432
432
|
},
|
|
433
433
|
could_not_load_editor: {
|
|
434
434
|
id: 'fabric.media.could_not_load_editor',
|
|
@@ -448,57 +448,57 @@ export var messages = defineMessages({
|
|
|
448
448
|
annotate: {
|
|
449
449
|
id: 'fabric.media.annotate',
|
|
450
450
|
defaultMessage: 'Annotate',
|
|
451
|
-
description: ''
|
|
451
|
+
description: 'Button label in the media viewer toolbar that opens the image annotation editor.'
|
|
452
452
|
},
|
|
453
453
|
annotate_tool_arrow: {
|
|
454
454
|
id: 'fabric.media.annotate.tool.arrow',
|
|
455
455
|
defaultMessage: 'Arrow',
|
|
456
|
-
description: ''
|
|
456
|
+
description: 'Label for the arrow drawing tool in the media image annotation editor toolbar.'
|
|
457
457
|
},
|
|
458
458
|
annotate_tool_text: {
|
|
459
459
|
id: 'fabric.media.annotate.tool.text',
|
|
460
460
|
defaultMessage: 'Text',
|
|
461
|
-
description: ''
|
|
461
|
+
description: 'Label for the text tool in the media image annotation editor toolbar.'
|
|
462
462
|
},
|
|
463
463
|
annotate_tool_shape: {
|
|
464
464
|
id: 'fabric.media.annotate.tool.shape',
|
|
465
465
|
defaultMessage: 'Shape',
|
|
466
|
-
description: ''
|
|
466
|
+
description: 'Label for the shape drawing tool in the media image annotation editor toolbar.'
|
|
467
467
|
},
|
|
468
468
|
annotate_tool_brush: {
|
|
469
469
|
id: 'fabric.media.annotate.tool.brush',
|
|
470
470
|
defaultMessage: 'Brush',
|
|
471
|
-
description: ''
|
|
471
|
+
description: 'Label for the freehand brush drawing tool in the media image annotation editor toolbar.'
|
|
472
472
|
},
|
|
473
473
|
annotate_tool_blur: {
|
|
474
474
|
id: 'fabric.media.annotate.tool.blur',
|
|
475
475
|
defaultMessage: 'Blur',
|
|
476
|
-
description: ''
|
|
476
|
+
description: 'Label for the blur tool in the media image annotation editor used to obscure areas of an image.'
|
|
477
477
|
},
|
|
478
478
|
annotate_tool_line_thickness: {
|
|
479
479
|
id: 'fabric.media.annotate.tool.line.thickness',
|
|
480
480
|
defaultMessage: 'Line thickness',
|
|
481
|
-
description: ''
|
|
481
|
+
description: 'Label for the line thickness selector in the media image annotation editor toolbar.'
|
|
482
482
|
},
|
|
483
483
|
annotate_tool_color: {
|
|
484
484
|
id: 'fabric.media.annotate.tool.color',
|
|
485
485
|
defaultMessage: 'Color',
|
|
486
|
-
description: ''
|
|
486
|
+
description: 'Label for the color picker in the media image annotation editor toolbar.'
|
|
487
487
|
},
|
|
488
488
|
annotate_confirmation_close_anyway: {
|
|
489
489
|
id: 'fabric.media.annotate.confirmation.close.anyway',
|
|
490
490
|
defaultMessage: 'Close anyway',
|
|
491
|
-
description: ''
|
|
491
|
+
description: 'Button label in the annotation editor confirmation dialog that discards unsaved changes and closes the editor.'
|
|
492
492
|
},
|
|
493
493
|
annotate_confirmation_heading: {
|
|
494
494
|
id: 'fabric.media.annotate.confirmation.heading',
|
|
495
495
|
defaultMessage: 'Unsaved changes',
|
|
496
|
-
description: ''
|
|
496
|
+
description: 'Heading of the confirmation dialog shown when the user tries to close the annotation editor with unsaved changes.'
|
|
497
497
|
},
|
|
498
498
|
annotate_confirmation_content: {
|
|
499
499
|
id: 'fabric.media.annotate.confirmation.content',
|
|
500
500
|
defaultMessage: 'You have some unsaved changes. Are you sure you want to leave?',
|
|
501
|
-
description: ''
|
|
501
|
+
description: 'Body text of the confirmation dialog asking the user whether to discard unsaved annotation changes.'
|
|
502
502
|
},
|
|
503
503
|
drop_your_files_here: {
|
|
504
504
|
id: 'fabric.media.drop_your_files_here',
|
|
@@ -533,12 +533,12 @@ export var messages = defineMessages({
|
|
|
533
533
|
play: {
|
|
534
534
|
id: 'fabric.media.play',
|
|
535
535
|
defaultMessage: 'Play',
|
|
536
|
-
description: ''
|
|
536
|
+
description: 'Accessible label for the play button in the media video or audio player.'
|
|
537
537
|
},
|
|
538
538
|
pause: {
|
|
539
539
|
id: 'fabric.media.pause',
|
|
540
540
|
defaultMessage: 'Pause',
|
|
541
|
-
description: ''
|
|
541
|
+
description: 'Accessible label for the pause button in the media video or audio player.'
|
|
542
542
|
},
|
|
543
543
|
disable_fullscreen: {
|
|
544
544
|
id: 'fabric.media.disable_fullscreen',
|
|
@@ -563,52 +563,52 @@ export var messages = defineMessages({
|
|
|
563
563
|
download: {
|
|
564
564
|
id: 'fabric.media.download',
|
|
565
565
|
defaultMessage: 'Download',
|
|
566
|
-
description: '
|
|
566
|
+
description: "Button label in the media viewer toolbar that triggers downloading the current file to the user's device."
|
|
567
567
|
},
|
|
568
568
|
download_disabled_security_policy: {
|
|
569
569
|
id: 'fabric.media.download_disabled_security_policy',
|
|
570
570
|
defaultMessage: "Download is blocked by your organization's security policy.",
|
|
571
|
-
description: '
|
|
571
|
+
description: "Tooltip or message shown on the disabled download button when the org's security policy prevents file downloads."
|
|
572
572
|
},
|
|
573
573
|
unknown: {
|
|
574
574
|
id: 'fabric.media.unknown',
|
|
575
575
|
defaultMessage: 'unknown',
|
|
576
|
-
description: ''
|
|
576
|
+
description: 'File type label used in the media UI when the file type cannot be determined.'
|
|
577
577
|
},
|
|
578
578
|
document: {
|
|
579
579
|
id: 'fabric.media.document',
|
|
580
580
|
defaultMessage: 'document',
|
|
581
|
-
description: ''
|
|
581
|
+
description: 'File type label used in the media UI to categorise files such as PDFs and office documents.'
|
|
582
582
|
},
|
|
583
583
|
audio: {
|
|
584
584
|
id: 'fabric.media.audio',
|
|
585
585
|
defaultMessage: 'audio',
|
|
586
|
-
description: ''
|
|
586
|
+
description: 'File type label used in the media UI to categorise audio files such as MP3 or WAV.'
|
|
587
587
|
},
|
|
588
588
|
video: {
|
|
589
589
|
id: 'fabric.media.video',
|
|
590
590
|
defaultMessage: 'video',
|
|
591
|
-
description: ''
|
|
591
|
+
description: 'File type label used in the media UI to categorise video files such as MP4 or MOV.'
|
|
592
592
|
},
|
|
593
593
|
image: {
|
|
594
594
|
id: 'fabric.media.image',
|
|
595
595
|
defaultMessage: 'image',
|
|
596
|
-
description: ''
|
|
596
|
+
description: 'File type label used in the media UI to categorise image files such as PNG or JPEG.'
|
|
597
597
|
},
|
|
598
598
|
archive: {
|
|
599
599
|
id: 'fabric.media.archive',
|
|
600
600
|
defaultMessage: 'archive',
|
|
601
|
-
description: ''
|
|
601
|
+
description: 'File type label used in the media UI to categorise compressed archive files such as ZIP.'
|
|
602
602
|
},
|
|
603
603
|
email: {
|
|
604
604
|
id: 'fabric.media.email',
|
|
605
605
|
defaultMessage: 'email',
|
|
606
|
-
description: ''
|
|
606
|
+
description: 'File type label used in the media UI to categorise email files such as EML or MSG.'
|
|
607
607
|
},
|
|
608
608
|
text: {
|
|
609
609
|
id: 'fabric.media.text',
|
|
610
610
|
defaultMessage: 'text',
|
|
611
|
-
description: ''
|
|
611
|
+
description: 'File type label used in the media UI to categorise plain text files such as TXT or CSV.'
|
|
612
612
|
},
|
|
613
613
|
displayThumbnail: {
|
|
614
614
|
id: 'fabric.media.display_thumbnail',
|
|
@@ -618,7 +618,7 @@ export var messages = defineMessages({
|
|
|
618
618
|
search: {
|
|
619
619
|
id: 'fabric.media.search',
|
|
620
620
|
defaultMessage: 'search',
|
|
621
|
-
description: ''
|
|
621
|
+
description: 'Accessible label for the search input or button in the media file picker used to find files.'
|
|
622
622
|
},
|
|
623
623
|
view: {
|
|
624
624
|
id: 'fabric.media.view',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-ui",
|
|
3
|
-
"version": "30.
|
|
3
|
+
"version": "30.5.1",
|
|
4
4
|
"description": "Includes common components and utilities used by other media packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,32 +31,32 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@atlaskit/afm-i18n-platform-media-media-ui": "2.168.0",
|
|
34
|
-
"@atlaskit/analytics-next": "^12.
|
|
35
|
-
"@atlaskit/browser-apis": "^1.
|
|
36
|
-
"@atlaskit/button": "^24.
|
|
37
|
-
"@atlaskit/code": "^18.
|
|
34
|
+
"@atlaskit/analytics-next": "^12.1.0",
|
|
35
|
+
"@atlaskit/browser-apis": "^1.1.0",
|
|
36
|
+
"@atlaskit/button": "^24.3.0",
|
|
37
|
+
"@atlaskit/code": "^18.2.0",
|
|
38
38
|
"@atlaskit/css": "^1.0.0",
|
|
39
|
-
"@atlaskit/flag": "^18.
|
|
40
|
-
"@atlaskit/form": "^16.
|
|
41
|
-
"@atlaskit/icon": "^36.
|
|
42
|
-
"@atlaskit/icon-file-type": "^8.
|
|
39
|
+
"@atlaskit/flag": "^18.1.0",
|
|
40
|
+
"@atlaskit/form": "^16.1.0",
|
|
41
|
+
"@atlaskit/icon": "^36.1.0",
|
|
42
|
+
"@atlaskit/icon-file-type": "^8.1.0",
|
|
43
43
|
"@atlaskit/locale": "^5.0.0",
|
|
44
44
|
"@atlaskit/media-client": "^37.1.0",
|
|
45
|
-
"@atlaskit/media-client-react": "^6.
|
|
46
|
-
"@atlaskit/media-common": "^14.
|
|
45
|
+
"@atlaskit/media-client-react": "^6.1.0",
|
|
46
|
+
"@atlaskit/media-common": "^14.2.0",
|
|
47
47
|
"@atlaskit/media-state": "^3.0.0",
|
|
48
|
-
"@atlaskit/modal-dialog": "^16.
|
|
48
|
+
"@atlaskit/modal-dialog": "^16.1.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
50
|
-
"@atlaskit/primitives": "^20.
|
|
51
|
-
"@atlaskit/range": "^11.
|
|
50
|
+
"@atlaskit/primitives": "^20.2.0",
|
|
51
|
+
"@atlaskit/range": "^11.1.0",
|
|
52
52
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
53
|
-
"@atlaskit/react-ufo": "^7.
|
|
54
|
-
"@atlaskit/select": "^22.
|
|
55
|
-
"@atlaskit/spinner": "^20.
|
|
56
|
-
"@atlaskit/theme": "^26.
|
|
57
|
-
"@atlaskit/tokens": "^15.
|
|
58
|
-
"@atlaskit/tooltip": "^23.
|
|
59
|
-
"@atlaskit/width-detector": "^6.
|
|
53
|
+
"@atlaskit/react-ufo": "^7.3.0",
|
|
54
|
+
"@atlaskit/select": "^22.2.0",
|
|
55
|
+
"@atlaskit/spinner": "^20.1.0",
|
|
56
|
+
"@atlaskit/theme": "^26.1.0",
|
|
57
|
+
"@atlaskit/tokens": "^15.2.0",
|
|
58
|
+
"@atlaskit/tooltip": "^23.1.0",
|
|
59
|
+
"@atlaskit/width-detector": "^6.1.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
61
61
|
"@compiled/react": "^0.20.0",
|
|
62
62
|
"@emotion/styled": "^11.0.0",
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@af/visual-regression": "workspace:^",
|
|
78
|
-
"@atlaskit/analytics-listeners": "^11.
|
|
78
|
+
"@atlaskit/analytics-listeners": "^11.1.0",
|
|
79
79
|
"@atlaskit/media-test-data": "^4.0.0",
|
|
80
80
|
"@atlaskit/ssr": "workspace:^",
|
|
81
81
|
"@atlassian/a11y-jest-testing": "^0.13.0",
|
|
82
82
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
83
|
-
"@atlassian/testing-library": "^0.
|
|
83
|
+
"@atlassian/testing-library": "^0.7.0",
|
|
84
84
|
"@testing-library/jest-dom": "^6.4.5",
|
|
85
85
|
"@testing-library/react": "^16.3.0",
|
|
86
86
|
"@types/blueimp-load-image": "^5.16.3",
|