@atlaskit/editor-plugin-media 7.2.1 → 7.2.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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 7.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1c474ad18f3ac`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1c474ad18f3ac) -
|
|
8
|
+
[ED-28566] Clean up platform_editor_controls_patch_15
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 7.2.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -13,8 +13,6 @@ var _styles = require("@atlaskit/editor-common/styles");
|
|
|
13
13
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
14
14
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
15
15
|
var _imageAltText = _interopRequireDefault(require("@atlaskit/icon-lab/core/image-alt-text"));
|
|
16
|
-
var _text = _interopRequireDefault(require("@atlaskit/icon/core/text"));
|
|
17
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
16
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
19
17
|
var _commands = require("../../pm-plugins/alt-text/commands");
|
|
20
18
|
var _AltTextEdit = _interopRequireDefault(require("../../pm-plugins/alt-text/ui/AltTextEdit"));
|
|
@@ -99,9 +97,7 @@ var getAltTextDropdownOption = exports.getAltTextDropdownOption = function getAl
|
|
|
99
97
|
return [{
|
|
100
98
|
title: formatMessage(_media.altTextMessages.addAltText),
|
|
101
99
|
onClick: (0, _commands.openMediaAltTextMenu)(editorAnalyticsAPI),
|
|
102
|
-
icon:
|
|
103
|
-
label: ""
|
|
104
|
-
}) : /*#__PURE__*/_react.default.createElement(_text.default, {
|
|
100
|
+
icon: /*#__PURE__*/_react.default.createElement(_imageAltText.default, {
|
|
105
101
|
label: ""
|
|
106
102
|
}),
|
|
107
103
|
testId: 'media-alt-text-dropdown-option'
|
|
@@ -5,8 +5,6 @@ import { MediaSharedClassNames as ClassNames } from '@atlaskit/editor-common/sty
|
|
|
5
5
|
import { RECENT_SEARCH_WIDTH_IN_PX as CONTAINER_WIDTH_IN_PX } from '@atlaskit/editor-common/ui';
|
|
6
6
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
7
7
|
import ImageAltTextIcon from '@atlaskit/icon-lab/core/image-alt-text';
|
|
8
|
-
import TextIcon from '@atlaskit/icon/core/text';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
8
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
11
9
|
import { openMediaAltTextMenu } from '../../pm-plugins/alt-text/commands';
|
|
12
10
|
import AltTextEdit from '../../pm-plugins/alt-text/ui/AltTextEdit';
|
|
@@ -95,9 +93,7 @@ export const getAltTextDropdownOption = (state, formatMessage, allowAltTextOnIma
|
|
|
95
93
|
return [{
|
|
96
94
|
title: formatMessage(messages.addAltText),
|
|
97
95
|
onClick: openMediaAltTextMenu(editorAnalyticsAPI),
|
|
98
|
-
icon:
|
|
99
|
-
label: ""
|
|
100
|
-
}) : /*#__PURE__*/React.createElement(TextIcon, {
|
|
96
|
+
icon: /*#__PURE__*/React.createElement(ImageAltTextIcon, {
|
|
101
97
|
label: ""
|
|
102
98
|
}),
|
|
103
99
|
testId: 'media-alt-text-dropdown-option'
|
|
@@ -8,8 +8,6 @@ import { MediaSharedClassNames as ClassNames } from '@atlaskit/editor-common/sty
|
|
|
8
8
|
import { RECENT_SEARCH_WIDTH_IN_PX as CONTAINER_WIDTH_IN_PX } from '@atlaskit/editor-common/ui';
|
|
9
9
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
10
10
|
import ImageAltTextIcon from '@atlaskit/icon-lab/core/image-alt-text';
|
|
11
|
-
import TextIcon from '@atlaskit/icon/core/text';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
11
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
14
12
|
import { openMediaAltTextMenu } from '../../pm-plugins/alt-text/commands';
|
|
15
13
|
import AltTextEdit from '../../pm-plugins/alt-text/ui/AltTextEdit';
|
|
@@ -92,9 +90,7 @@ export var getAltTextDropdownOption = function getAltTextDropdownOption(state, f
|
|
|
92
90
|
return [{
|
|
93
91
|
title: formatMessage(messages.addAltText),
|
|
94
92
|
onClick: openMediaAltTextMenu(editorAnalyticsAPI),
|
|
95
|
-
icon:
|
|
96
|
-
label: ""
|
|
97
|
-
}) : /*#__PURE__*/React.createElement(TextIcon, {
|
|
93
|
+
icon: /*#__PURE__*/React.createElement(ImageAltTextIcon, {
|
|
98
94
|
label: ""
|
|
99
95
|
}),
|
|
100
96
|
testId: 'media-alt-text-dropdown-option'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.2",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
53
53
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
54
54
|
"@atlaskit/form": "^12.6.0",
|
|
55
|
-
"@atlaskit/icon": "^28.
|
|
55
|
+
"@atlaskit/icon": "^28.2.0",
|
|
56
56
|
"@atlaskit/icon-lab": "^5.7.0",
|
|
57
57
|
"@atlaskit/media-card": "^79.5.0",
|
|
58
58
|
"@atlaskit/media-client": "^35.3.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/primitives": "^14.14.0",
|
|
67
67
|
"@atlaskit/textfield": "^8.0.0",
|
|
68
68
|
"@atlaskit/theme": "^21.0.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^12.23.0",
|
|
70
70
|
"@atlaskit/tokens": "^6.3.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.4.0",
|
|
72
72
|
"@babel/runtime": "^7.0.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"uuid": "^3.1.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@atlaskit/editor-common": "^109.
|
|
81
|
+
"@atlaskit/editor-common": "^109.8.0",
|
|
82
82
|
"@atlaskit/media-core": "^37.0.0",
|
|
83
83
|
"react": "^18.2.0",
|
|
84
84
|
"react-dom": "^18.2.0",
|
|
@@ -168,9 +168,6 @@
|
|
|
168
168
|
},
|
|
169
169
|
"platform_media_video_captions": {
|
|
170
170
|
"type": "boolean"
|
|
171
|
-
},
|
|
172
|
-
"platform_editor_controls_patch_15": {
|
|
173
|
-
"type": "boolean"
|
|
174
171
|
}
|
|
175
172
|
},
|
|
176
173
|
"stricter": {
|