@atlaskit/media-common 11.6.0 → 11.7.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,23 @@
1
1
  # @atlaskit/media-common
2
2
 
3
+ ## 11.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#158723](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/158723)
8
+ [`8ff5b01b0d37f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ff5b01b0d37f) -
9
+ [ED-24682] Cleanup feature flag for commenting on media in the renderer
10
+
11
+ **@atlaskit/editor-plugin-media**: Add optional checks for the api in Comment Badges on media
12
+
13
+ ## 11.7.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [#156370](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/156370)
18
+ [`28298169be085`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/28298169be085) -
19
+ remove mediaInline FF
20
+
3
21
  ## 11.6.0
4
22
 
5
23
  ### Minor Changes
@@ -53,10 +53,7 @@ var getFeatureFlagKeysAllProducts = exports.getFeatureFlagKeysAllProducts = func
53
53
  * that change should be released as a MAJOR, because it's a breaking change.
54
54
  */
55
55
  var defaultMediaFeatureFlags = exports.defaultMediaFeatureFlags = {
56
- mediaInline: false,
57
- // We can't yet switch this feature on
58
- // TODO https://product-fabric.atlassian.net/browse/MEX-104
59
- commentsOnMedia: false
56
+ mediaInline: false
60
57
  };
61
58
 
62
59
  /**
@@ -6,16 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.getProductKeys = void 0;
7
7
  var productKeys = {
8
8
  confluence: {
9
- /**
10
- * Note: Confluence Flags must be prefixed with "confluence.frontend" in order to integrate properly with the product
11
- */
12
- mediaInline: 'confluence.frontend.fabric.editor.media.inline',
13
- commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
9
+ mediaInline: ''
14
10
  },
15
11
  jira: {
16
12
  // Manged by Linking Platform. No Rollout plan found for Jira
17
- mediaInline: '',
18
- commentsOnMedia: ''
13
+ mediaInline: ''
19
14
  }
20
15
  };
21
16
  var getProductKeys = exports.getProductKeys = function getProductKeys() {
@@ -32,10 +32,7 @@ export const getFeatureFlagKeysAllProducts = () => {
32
32
  * that change should be released as a MAJOR, because it's a breaking change.
33
33
  */
34
34
  export const defaultMediaFeatureFlags = {
35
- mediaInline: false,
36
- // We can't yet switch this feature on
37
- // TODO https://product-fabric.atlassian.net/browse/MEX-104
38
- commentsOnMedia: false
35
+ mediaInline: false
39
36
  };
40
37
 
41
38
  /**
@@ -1,15 +1,10 @@
1
1
  const productKeys = {
2
2
  confluence: {
3
- /**
4
- * Note: Confluence Flags must be prefixed with "confluence.frontend" in order to integrate properly with the product
5
- */
6
- mediaInline: 'confluence.frontend.fabric.editor.media.inline',
7
- commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
3
+ mediaInline: ''
8
4
  },
9
5
  jira: {
10
6
  // Manged by Linking Platform. No Rollout plan found for Jira
11
- mediaInline: '',
12
- commentsOnMedia: ''
7
+ mediaInline: ''
13
8
  }
14
9
  };
15
10
  export const getProductKeys = () => productKeys;
@@ -45,10 +45,7 @@ export var getFeatureFlagKeysAllProducts = function getFeatureFlagKeysAllProduct
45
45
  * that change should be released as a MAJOR, because it's a breaking change.
46
46
  */
47
47
  export var defaultMediaFeatureFlags = {
48
- mediaInline: false,
49
- // We can't yet switch this feature on
50
- // TODO https://product-fabric.atlassian.net/browse/MEX-104
51
- commentsOnMedia: false
48
+ mediaInline: false
52
49
  };
53
50
 
54
51
  /**
@@ -1,15 +1,10 @@
1
1
  var productKeys = {
2
2
  confluence: {
3
- /**
4
- * Note: Confluence Flags must be prefixed with "confluence.frontend" in order to integrate properly with the product
5
- */
6
- mediaInline: 'confluence.frontend.fabric.editor.media.inline',
7
- commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
3
+ mediaInline: ''
8
4
  },
9
5
  jira: {
10
6
  // Manged by Linking Platform. No Rollout plan found for Jira
11
- mediaInline: '',
12
- commentsOnMedia: ''
7
+ mediaInline: ''
13
8
  }
14
9
  };
15
10
  export var getProductKeys = function getProductKeys() {
@@ -1,6 +1,5 @@
1
1
  export interface MediaFeatureFlags {
2
2
  mediaInline?: boolean;
3
- commentsOnMedia?: boolean;
4
3
  }
5
4
  export interface WithMediaFeatureFlags {
6
5
  featureFlags?: MediaFeatureFlags;
@@ -1,6 +1,5 @@
1
1
  export interface MediaFeatureFlags {
2
2
  mediaInline?: boolean;
3
- commentsOnMedia?: boolean;
4
3
  }
5
4
  export interface WithMediaFeatureFlags {
6
5
  featureFlags?: MediaFeatureFlags;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "11.6.0",
3
+ "version": "11.7.1",
4
4
  "description": "Includes common utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"