@atlaskit/editor-plugin-media 5.1.8 → 5.2.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 5.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#188952](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188952)
|
|
8
|
+
[`1a88e6e2601ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a88e6e2601ae) -
|
|
9
|
+
Migrated usage of renamed/deprecated icons
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 5.2.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#189314](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/189314)
|
|
17
|
+
[`22c6251496010`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22c6251496010) -
|
|
18
|
+
Exported missing types that were already being inferred from existing exports
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 5.1.8
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -15,7 +15,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
15
15
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
16
16
|
var _media = require("@atlaskit/editor-common/media");
|
|
17
17
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
18
|
-
var
|
|
18
|
+
var _crossEditorClose = _interopRequireDefault(require("@atlaskit/icon/core/migration/cross--editor-close"));
|
|
19
19
|
var _mediaCommon = require("@atlaskit/media-common");
|
|
20
20
|
var _mediaFilmstrip = require("@atlaskit/media-filmstrip");
|
|
21
21
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
@@ -83,7 +83,7 @@ var prepareFilmstripItem = function prepareFilmstripItem(_ref) {
|
|
|
83
83
|
shouldEnableDownloadButton: enableDownloadButton,
|
|
84
84
|
actions: [{
|
|
85
85
|
handler: handleMediaNodeRemoval.bind(null, undefined, getNodePos),
|
|
86
|
-
icon: /*#__PURE__*/_react.default.createElement(
|
|
86
|
+
icon: /*#__PURE__*/_react.default.createElement(_crossEditorClose.default, {
|
|
87
87
|
label: intl.formatMessage(_media.nodeViewsMessages.mediaGroupDeleteLabel)
|
|
88
88
|
})
|
|
89
89
|
}]
|
|
@@ -3,7 +3,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
3
3
|
import { usePreviousState } from '@atlaskit/editor-common/hooks';
|
|
4
4
|
import { nodeViewsMessages as messages } from '@atlaskit/editor-common/media';
|
|
5
5
|
import { isNodeSelectedOrInRange, SelectedState, setNodeSelection } from '@atlaskit/editor-common/utils';
|
|
6
|
-
import EditorCloseIcon from '@atlaskit/icon/core/migration/
|
|
6
|
+
import EditorCloseIcon from '@atlaskit/icon/core/migration/cross--editor-close';
|
|
7
7
|
import { getMediaFeatureFlag } from '@atlaskit/media-common';
|
|
8
8
|
import { Filmstrip } from '@atlaskit/media-filmstrip';
|
|
9
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -9,7 +9,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
9
9
|
import { usePreviousState } from '@atlaskit/editor-common/hooks';
|
|
10
10
|
import { nodeViewsMessages as messages } from '@atlaskit/editor-common/media';
|
|
11
11
|
import { isNodeSelectedOrInRange, SelectedState, setNodeSelection } from '@atlaskit/editor-common/utils';
|
|
12
|
-
import EditorCloseIcon from '@atlaskit/icon/core/migration/
|
|
12
|
+
import EditorCloseIcon from '@atlaskit/icon/core/migration/cross--editor-close';
|
|
13
13
|
import { getMediaFeatureFlag } from '@atlaskit/media-common';
|
|
14
14
|
import { Filmstrip } from '@atlaskit/media-filmstrip';
|
|
15
15
|
import { fg } from '@atlaskit/platform-feature-flags';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { MediaNextEditorPluginType as MediaPlugin } from './mediaPluginType';
|
|
1
|
+
export type { MediaNextEditorPluginType as MediaPlugin, MediaPluginDependencies, } from './mediaPluginType';
|
|
2
2
|
export type { MediaPluginOptions } from './types/index';
|
|
3
3
|
export { mediaPlugin } from './mediaPlugin';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { MediaNextEditorPluginType as MediaPlugin } from './mediaPluginType';
|
|
1
|
+
export type { MediaNextEditorPluginType as MediaPlugin, MediaPluginDependencies, } from './mediaPluginType';
|
|
2
2
|
export type { MediaPluginOptions } from './types/index';
|
|
3
3
|
export { mediaPlugin } from './mediaPlugin';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "5.1
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@atlaskit/button": "^23.2.0",
|
|
40
40
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
41
41
|
"@atlaskit/editor-plugin-analytics": "^3.0.0",
|
|
42
|
-
"@atlaskit/editor-plugin-annotation": "^3.
|
|
43
|
-
"@atlaskit/editor-plugin-connectivity": "^3.
|
|
42
|
+
"@atlaskit/editor-plugin-annotation": "^3.1.0",
|
|
43
|
+
"@atlaskit/editor-plugin-connectivity": "^3.1.0",
|
|
44
44
|
"@atlaskit/editor-plugin-decorations": "^3.0.0",
|
|
45
45
|
"@atlaskit/editor-plugin-editor-disabled": "^3.0.0",
|
|
46
46
|
"@atlaskit/editor-plugin-editor-viewmode": "^5.0.0",
|
|
47
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^5.
|
|
47
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^5.1.0",
|
|
48
48
|
"@atlaskit/editor-plugin-focus": "^2.0.0",
|
|
49
|
-
"@atlaskit/editor-plugin-grid": "^3.
|
|
49
|
+
"@atlaskit/editor-plugin-grid": "^3.1.0",
|
|
50
50
|
"@atlaskit/editor-plugin-guideline": "^3.0.0",
|
|
51
51
|
"@atlaskit/editor-plugin-interaction": "^4.0.0",
|
|
52
52
|
"@atlaskit/editor-plugin-selection": "^3.0.0",
|