@atlaskit/media-common 10.0.0 → 11.0.0

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,11 @@
1
1
  # @atlaskit/media-common
2
2
 
3
+ ## 11.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#42702](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42702) [`9565884ac81`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9565884ac81) - ED-19543 clean up unused caption FF for Jira
8
+
3
9
  ## 10.0.0
4
10
 
5
11
  ### Major Changes
@@ -53,7 +53,6 @@ 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
- captions: false,
57
56
  mediaInline: false,
58
57
  // We can't yet switch this feature on
59
58
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
@@ -9,12 +9,10 @@ var productKeys = {
9
9
  /**
10
10
  * Note: Confluence Flags must be prefixed with "confluence.frontend" in order to integrate properly with the product
11
11
  */
12
- captions: 'confluence.frontend.fabric.editor.media.captions',
13
12
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
14
13
  folderUploads: 'confluence.frontend.media.picker.folder.uploads'
15
14
  },
16
15
  jira: {
17
- captions: 'issue.details.editor.media.captions',
18
16
  // Manged by Linking Platform. No Rollout plan found for Jira
19
17
  mediaInline: '',
20
18
  folderUploads: 'issue.details.media-picker-folder-upload'
@@ -32,7 +32,6 @@ 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
- captions: false,
36
35
  mediaInline: false,
37
36
  // We can't yet switch this feature on
38
37
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
@@ -3,12 +3,10 @@ const productKeys = {
3
3
  /**
4
4
  * Note: Confluence Flags must be prefixed with "confluence.frontend" in order to integrate properly with the product
5
5
  */
6
- captions: 'confluence.frontend.fabric.editor.media.captions',
7
6
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
8
7
  folderUploads: 'confluence.frontend.media.picker.folder.uploads'
9
8
  },
10
9
  jira: {
11
- captions: 'issue.details.editor.media.captions',
12
10
  // Manged by Linking Platform. No Rollout plan found for Jira
13
11
  mediaInline: '',
14
12
  folderUploads: 'issue.details.media-picker-folder-upload'
@@ -45,7 +45,6 @@ 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
- captions: false,
49
48
  mediaInline: false,
50
49
  // We can't yet switch this feature on
51
50
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
@@ -3,12 +3,10 @@ var productKeys = {
3
3
  /**
4
4
  * Note: Confluence Flags must be prefixed with "confluence.frontend" in order to integrate properly with the product
5
5
  */
6
- captions: 'confluence.frontend.fabric.editor.media.captions',
7
6
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
8
7
  folderUploads: 'confluence.frontend.media.picker.folder.uploads'
9
8
  },
10
9
  jira: {
11
- captions: 'issue.details.editor.media.captions',
12
10
  // Manged by Linking Platform. No Rollout plan found for Jira
13
11
  mediaInline: '',
14
12
  folderUploads: 'issue.details.media-picker-folder-upload'
@@ -1,9 +1,4 @@
1
1
  export interface MediaFeatureFlags {
2
- /**
3
- * @private
4
- * @deprecated Use media option `allowCaptions` instead.
5
- */
6
- captions?: boolean;
7
2
  mediaInline?: boolean;
8
3
  folderUploads?: boolean;
9
4
  }
@@ -1,9 +1,4 @@
1
1
  export interface MediaFeatureFlags {
2
- /**
3
- * @private
4
- * @deprecated Use media option `allowCaptions` instead.
5
- */
6
- captions?: boolean;
7
2
  mediaInline?: boolean;
8
3
  folderUploads?: boolean;
9
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "10.0.0",
3
+ "version": "11.0.0",
4
4
  "description": "Includes common utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
package/report.api.md CHANGED
@@ -142,8 +142,6 @@ export const matches: (srcObj: Object) => (obj: Object) => boolean;
142
142
 
143
143
  // @public (undocumented)
144
144
  export interface MediaFeatureFlags {
145
- // @deprecated (undocumented)
146
- captions?: boolean;
147
145
  // (undocumented)
148
146
  folderUploads?: boolean;
149
147
  // (undocumented)
@@ -113,8 +113,6 @@ export const matches: (srcObj: Object) => (obj: Object) => boolean;
113
113
 
114
114
  // @public (undocumented)
115
115
  export interface MediaFeatureFlags {
116
- // @deprecated (undocumented)
117
- captions?: boolean;
118
116
  // (undocumented)
119
117
  folderUploads?: boolean;
120
118
  // (undocumented)