@atlaskit/editor-plugin-media 0.4.4 → 0.4.5

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,31 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 0.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#43646](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43646) [`d43f8e9402f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d43f8e9402f) - Make feature flags plugin optional in all plugins including:
8
+
9
+ - analytics
10
+ - base
11
+ - card
12
+ - code-block
13
+ - expand
14
+ - extension
15
+ - floating-toolbar
16
+ - hyperlink
17
+ - insert-block
18
+ - layout
19
+ - layout
20
+ - list
21
+ - media
22
+ - paste
23
+ - rule
24
+ - table
25
+ - tasks-and-decisions
26
+
27
+ We already treat it as optional in the plugins, so this is just ensuring that the plugin is not mandatory to be added to the preset.
28
+
3
29
  ## 0.4.4
4
30
 
5
31
  ### Patch Changes
@@ -15,7 +15,7 @@ import type { InsertMediaAsMediaSingle } from './utils/media-single';
15
15
  export type MediaNextEditorPluginType = NextEditorPlugin<'media', {
16
16
  pluginConfiguration: MediaOptions | undefined;
17
17
  dependencies: [
18
- FeatureFlagsPlugin,
18
+ OptionalPlugin<FeatureFlagsPlugin>,
19
19
  OptionalPlugin<AnalyticsPlugin>,
20
20
  GuidelinePlugin,
21
21
  GridPlugin,
@@ -15,7 +15,7 @@ import type { InsertMediaAsMediaSingle } from './utils/media-single';
15
15
  export type MediaNextEditorPluginType = NextEditorPlugin<'media', {
16
16
  pluginConfiguration: MediaOptions | undefined;
17
17
  dependencies: [
18
- FeatureFlagsPlugin,
18
+ OptionalPlugin<FeatureFlagsPlugin>,
19
19
  OptionalPlugin<AnalyticsPlugin>,
20
20
  GuidelinePlugin,
21
21
  GridPlugin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
package/report.api.md CHANGED
@@ -156,7 +156,7 @@ export type MediaPlugin = NextEditorPlugin<
156
156
  {
157
157
  pluginConfiguration: MediaOptions | undefined;
158
158
  dependencies: [
159
- FeatureFlagsPlugin,
159
+ OptionalPlugin<FeatureFlagsPlugin>,
160
160
  OptionalPlugin<AnalyticsPlugin>,
161
161
  GuidelinePlugin,
162
162
  GridPlugin,
@@ -139,7 +139,7 @@ interface MediaOptions {
139
139
  export type MediaPlugin = NextEditorPlugin<'media', {
140
140
  pluginConfiguration: MediaOptions | undefined;
141
141
  dependencies: [
142
- FeatureFlagsPlugin,
142
+ OptionalPlugin<FeatureFlagsPlugin>,
143
143
  OptionalPlugin<AnalyticsPlugin>,
144
144
  GuidelinePlugin,
145
145
  GridPlugin,