@atlaskit/editor-plugin-media 12.8.1 → 12.8.2
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 +9 -0
- package/dist/cjs/ui/toolbar/index.js +3 -3
- package/dist/cjs/ui/toolbar/mediaInline.js +2 -2
- package/dist/es2019/ui/toolbar/index.js +3 -3
- package/dist/es2019/ui/toolbar/mediaInline.js +2 -2
- package/dist/esm/ui/toolbar/index.js +3 -3
- package/dist/esm/ui/toolbar/mediaInline.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 12.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`00871f73e3651`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/00871f73e3651) -
|
|
8
|
+
[ux] Update translations package for media plugin and use expand tooltip instead of preview for
|
|
9
|
+
consistency across elements
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 12.8.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -142,7 +142,7 @@ var generateMediaCardFloatingToolbar = function generateMediaCardFloatingToolbar
|
|
|
142
142
|
testId: 'file-preview-toolbar-button',
|
|
143
143
|
type: 'button',
|
|
144
144
|
icon: areAnyNewToolbarFlagsEnabled ? _growDiagonal.default : _maximize.default,
|
|
145
|
-
title: intl.formatMessage(_mediaUi.messages.
|
|
145
|
+
title: intl.formatMessage(_mediaUi.messages.expand),
|
|
146
146
|
onClick: function onClick() {
|
|
147
147
|
var _handleShowMediaViewe;
|
|
148
148
|
return (_handleShowMediaViewe = handleShowMediaViewer({
|
|
@@ -611,7 +611,7 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
611
611
|
testId: 'file-preview-toolbar-button',
|
|
612
612
|
type: 'button',
|
|
613
613
|
icon: _maximize.default,
|
|
614
|
-
title: intl.formatMessage(_mediaUi.messages.
|
|
614
|
+
title: intl.formatMessage(_mediaUi.messages.expand),
|
|
615
615
|
onClick: function onClick() {
|
|
616
616
|
var _handleShowMediaViewe2;
|
|
617
617
|
return (_handleShowMediaViewe2 = handleShowMediaViewer({
|
|
@@ -697,7 +697,7 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
697
697
|
testId: 'file-preview-toolbar-button',
|
|
698
698
|
type: 'button',
|
|
699
699
|
icon: _growDiagonal.default,
|
|
700
|
-
title: intl.formatMessage(_mediaUi.messages.
|
|
700
|
+
title: intl.formatMessage(_mediaUi.messages.expand),
|
|
701
701
|
onClick: function onClick() {
|
|
702
702
|
var _handleShowMediaViewe3;
|
|
703
703
|
return (_handleShowMediaViewe3 = handleShowMediaViewer({
|
|
@@ -53,7 +53,7 @@ var generateMediaInlineFloatingToolbar = exports.generateMediaInlineFloatingTool
|
|
|
53
53
|
testId: 'file-preview-toolbar-button',
|
|
54
54
|
type: 'button',
|
|
55
55
|
icon: areAnyNewToolbarFlagsEnabled ? _growDiagonal.default : _maximize.default,
|
|
56
|
-
title: intl.formatMessage(_mediaUi.messages.
|
|
56
|
+
title: intl.formatMessage(_mediaUi.messages.expand),
|
|
57
57
|
onClick: function onClick() {
|
|
58
58
|
var _handleShowMediaViewe;
|
|
59
59
|
return (_handleShowMediaViewe = (0, _index.handleShowMediaViewer)({
|
|
@@ -336,7 +336,7 @@ var getMediaInlineImageToolbar = function getMediaInlineImageToolbar(state, intl
|
|
|
336
336
|
testId: 'file-preview-toolbar-button',
|
|
337
337
|
type: 'button',
|
|
338
338
|
icon: isEditorControlsEnabled ? _growDiagonal.default : _maximize.default,
|
|
339
|
-
title: intl.formatMessage(_mediaUi.messages.
|
|
339
|
+
title: intl.formatMessage(_mediaUi.messages.expand),
|
|
340
340
|
onClick: function onClick() {
|
|
341
341
|
var _handleShowMediaViewe2;
|
|
342
342
|
return (_handleShowMediaViewe2 = (0, _index.handleShowMediaViewer)({
|
|
@@ -131,7 +131,7 @@ const generateMediaCardFloatingToolbar = (state, intl, mediaPluginState, hoverDe
|
|
|
131
131
|
testId: 'file-preview-toolbar-button',
|
|
132
132
|
type: 'button',
|
|
133
133
|
icon: areAnyNewToolbarFlagsEnabled ? GrowDiagonalIcon : MaximizeIcon,
|
|
134
|
-
title: intl.formatMessage(messages.
|
|
134
|
+
title: intl.formatMessage(messages.expand),
|
|
135
135
|
onClick: () => {
|
|
136
136
|
var _handleShowMediaViewe;
|
|
137
137
|
return (_handleShowMediaViewe = handleShowMediaViewer({
|
|
@@ -610,7 +610,7 @@ const generateMediaSingleFloatingToolbar = (state, intl, options, pluginState, m
|
|
|
610
610
|
testId: 'file-preview-toolbar-button',
|
|
611
611
|
type: 'button',
|
|
612
612
|
icon: MaximizeIcon,
|
|
613
|
-
title: intl.formatMessage(messages.
|
|
613
|
+
title: intl.formatMessage(messages.expand),
|
|
614
614
|
onClick: () => {
|
|
615
615
|
var _handleShowMediaViewe2;
|
|
616
616
|
return (_handleShowMediaViewe2 = handleShowMediaViewer({
|
|
@@ -696,7 +696,7 @@ const generateMediaSingleFloatingToolbar = (state, intl, options, pluginState, m
|
|
|
696
696
|
testId: 'file-preview-toolbar-button',
|
|
697
697
|
type: 'button',
|
|
698
698
|
icon: GrowDiagonalIcon,
|
|
699
|
-
title: intl.formatMessage(messages.
|
|
699
|
+
title: intl.formatMessage(messages.expand),
|
|
700
700
|
onClick: () => {
|
|
701
701
|
var _handleShowMediaViewe3;
|
|
702
702
|
return (_handleShowMediaViewe3 = handleShowMediaViewer({
|
|
@@ -42,7 +42,7 @@ export const generateMediaInlineFloatingToolbar = (state, intl, mediaPluginState
|
|
|
42
42
|
testId: 'file-preview-toolbar-button',
|
|
43
43
|
type: 'button',
|
|
44
44
|
icon: areAnyNewToolbarFlagsEnabled ? GrowDiagonalIcon : MaximizeIcon,
|
|
45
|
-
title: intl.formatMessage(messages.
|
|
45
|
+
title: intl.formatMessage(messages.expand),
|
|
46
46
|
onClick: () => {
|
|
47
47
|
var _handleShowMediaViewe;
|
|
48
48
|
return (_handleShowMediaViewe = handleShowMediaViewer({
|
|
@@ -328,7 +328,7 @@ const getMediaInlineImageToolbar = (state, intl, mediaPluginState, hoverDecorati
|
|
|
328
328
|
testId: 'file-preview-toolbar-button',
|
|
329
329
|
type: 'button',
|
|
330
330
|
icon: isEditorControlsEnabled ? GrowDiagonalIcon : MaximizeIcon,
|
|
331
|
-
title: intl.formatMessage(messages.
|
|
331
|
+
title: intl.formatMessage(messages.expand),
|
|
332
332
|
onClick: () => {
|
|
333
333
|
var _handleShowMediaViewe2;
|
|
334
334
|
return (_handleShowMediaViewe2 = handleShowMediaViewer({
|
|
@@ -133,7 +133,7 @@ var generateMediaCardFloatingToolbar = function generateMediaCardFloatingToolbar
|
|
|
133
133
|
testId: 'file-preview-toolbar-button',
|
|
134
134
|
type: 'button',
|
|
135
135
|
icon: areAnyNewToolbarFlagsEnabled ? GrowDiagonalIcon : MaximizeIcon,
|
|
136
|
-
title: intl.formatMessage(messages.
|
|
136
|
+
title: intl.formatMessage(messages.expand),
|
|
137
137
|
onClick: function onClick() {
|
|
138
138
|
var _handleShowMediaViewe;
|
|
139
139
|
return (_handleShowMediaViewe = handleShowMediaViewer({
|
|
@@ -602,7 +602,7 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
602
602
|
testId: 'file-preview-toolbar-button',
|
|
603
603
|
type: 'button',
|
|
604
604
|
icon: MaximizeIcon,
|
|
605
|
-
title: intl.formatMessage(messages.
|
|
605
|
+
title: intl.formatMessage(messages.expand),
|
|
606
606
|
onClick: function onClick() {
|
|
607
607
|
var _handleShowMediaViewe2;
|
|
608
608
|
return (_handleShowMediaViewe2 = handleShowMediaViewer({
|
|
@@ -688,7 +688,7 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
|
|
|
688
688
|
testId: 'file-preview-toolbar-button',
|
|
689
689
|
type: 'button',
|
|
690
690
|
icon: GrowDiagonalIcon,
|
|
691
|
-
title: intl.formatMessage(messages.
|
|
691
|
+
title: intl.formatMessage(messages.expand),
|
|
692
692
|
onClick: function onClick() {
|
|
693
693
|
var _handleShowMediaViewe3;
|
|
694
694
|
return (_handleShowMediaViewe3 = handleShowMediaViewer({
|
|
@@ -44,7 +44,7 @@ export var generateMediaInlineFloatingToolbar = function generateMediaInlineFloa
|
|
|
44
44
|
testId: 'file-preview-toolbar-button',
|
|
45
45
|
type: 'button',
|
|
46
46
|
icon: areAnyNewToolbarFlagsEnabled ? GrowDiagonalIcon : MaximizeIcon,
|
|
47
|
-
title: intl.formatMessage(messages.
|
|
47
|
+
title: intl.formatMessage(messages.expand),
|
|
48
48
|
onClick: function onClick() {
|
|
49
49
|
var _handleShowMediaViewe;
|
|
50
50
|
return (_handleShowMediaViewe = handleShowMediaViewer({
|
|
@@ -327,7 +327,7 @@ var getMediaInlineImageToolbar = function getMediaInlineImageToolbar(state, intl
|
|
|
327
327
|
testId: 'file-preview-toolbar-button',
|
|
328
328
|
type: 'button',
|
|
329
329
|
icon: isEditorControlsEnabled ? GrowDiagonalIcon : MaximizeIcon,
|
|
330
|
-
title: intl.formatMessage(messages.
|
|
330
|
+
title: intl.formatMessage(messages.expand),
|
|
331
331
|
onClick: function onClick() {
|
|
332
332
|
var _handleShowMediaViewe2;
|
|
333
333
|
return (_handleShowMediaViewe2 = handleShowMediaViewer({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "12.8.
|
|
3
|
+
"version": "12.8.2",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"uuid": "^3.1.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
|
-
"@atlaskit/editor-common": "^114.
|
|
80
|
+
"@atlaskit/editor-common": "^114.47.0",
|
|
81
81
|
"@atlaskit/media-core": "^37.1.0",
|
|
82
82
|
"react": "^18.2.0",
|
|
83
83
|
"react-dom": "^18.2.0",
|