@atlaskit/media-common 5.0.0 → 6.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
+ ## 6.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`a425ccdeb0c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a425ccdeb0c) - Remove 'newCardExperience' feature flag
8
+
3
9
  ## 5.0.0
4
10
 
5
11
  ### Major Changes
@@ -21,7 +21,6 @@ var areEqualFeatureFlags = function areEqualFeatureFlags(ffA, ffB) {
21
21
  return false;
22
22
  }
23
23
  var results = {
24
- newCardExperience: ffA.newCardExperience === ffB.newCardExperience,
25
24
  captions: ffA.captions === ffB.captions,
26
25
  mediaInline: ffA.mediaInline === ffB.mediaInline,
27
26
  folderUploads: ffA.folderUploads === ffB.folderUploads,
@@ -78,7 +77,6 @@ var getFeatureFlagKeysAllProducts = function getFeatureFlagKeysAllProducts() {
78
77
  */
79
78
  exports.getFeatureFlagKeysAllProducts = getFeatureFlagKeysAllProducts;
80
79
  var defaultMediaFeatureFlags = {
81
- newCardExperience: false,
82
80
  captions: false,
83
81
  mediaInline: false,
84
82
  // We can't yet switch this feature on
@@ -9,7 +9,6 @@ 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
- newCardExperience: 'confluence.frontend.media.cards.new.experience',
13
12
  captions: 'confluence.frontend.fabric.editor.media.captions',
14
13
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
15
14
  folderUploads: 'confluence.frontend.media.picker.folder.uploads',
@@ -19,7 +18,6 @@ var productKeys = {
19
18
  memoryCacheLogging: 'confluence-frontend-media-card-memory-cache-logging'
20
19
  },
21
20
  jira: {
22
- newCardExperience: 'issue.details.media-cards-new-experience',
23
21
  captions: 'issue.details.editor.media.captions',
24
22
  // Manged by Linking Platform. No Rollout plan found for Jira
25
23
  mediaInline: '',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "sideEffects": false
5
5
  }
@@ -10,7 +10,6 @@ export const areEqualFeatureFlags = (ffA, ffB) => {
10
10
  return false;
11
11
  }
12
12
  const results = {
13
- newCardExperience: ffA.newCardExperience === ffB.newCardExperience,
14
13
  captions: ffA.captions === ffB.captions,
15
14
  mediaInline: ffA.mediaInline === ffB.mediaInline,
16
15
  folderUploads: ffA.folderUploads === ffB.folderUploads,
@@ -51,7 +50,6 @@ export const getFeatureFlagKeysAllProducts = () => {
51
50
  * that change should be released as a MAJOR, because it's a breaking change.
52
51
  */
53
52
  export const defaultMediaFeatureFlags = {
54
- newCardExperience: false,
55
53
  captions: false,
56
54
  mediaInline: false,
57
55
  // We can't yet switch this feature on
@@ -3,7 +3,6 @@ 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
- newCardExperience: 'confluence.frontend.media.cards.new.experience',
7
6
  captions: 'confluence.frontend.fabric.editor.media.captions',
8
7
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
9
8
  folderUploads: 'confluence.frontend.media.picker.folder.uploads',
@@ -13,7 +12,6 @@ const productKeys = {
13
12
  memoryCacheLogging: 'confluence-frontend-media-card-memory-cache-logging'
14
13
  },
15
14
  jira: {
16
- newCardExperience: 'issue.details.media-cards-new-experience',
17
15
  captions: 'issue.details.editor.media.captions',
18
16
  // Manged by Linking Platform. No Rollout plan found for Jira
19
17
  mediaInline: '',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "sideEffects": false
5
5
  }
@@ -12,7 +12,6 @@ export var areEqualFeatureFlags = function areEqualFeatureFlags(ffA, ffB) {
12
12
  return false;
13
13
  }
14
14
  var results = {
15
- newCardExperience: ffA.newCardExperience === ffB.newCardExperience,
16
15
  captions: ffA.captions === ffB.captions,
17
16
  mediaInline: ffA.mediaInline === ffB.mediaInline,
18
17
  folderUploads: ffA.folderUploads === ffB.folderUploads,
@@ -66,7 +65,6 @@ export var getFeatureFlagKeysAllProducts = function getFeatureFlagKeysAllProduct
66
65
  * that change should be released as a MAJOR, because it's a breaking change.
67
66
  */
68
67
  export var defaultMediaFeatureFlags = {
69
- newCardExperience: false,
70
68
  captions: false,
71
69
  mediaInline: false,
72
70
  // We can't yet switch this feature on
@@ -3,7 +3,6 @@ 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
- newCardExperience: 'confluence.frontend.media.cards.new.experience',
7
6
  captions: 'confluence.frontend.fabric.editor.media.captions',
8
7
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
9
8
  folderUploads: 'confluence.frontend.media.picker.folder.uploads',
@@ -13,7 +12,6 @@ var productKeys = {
13
12
  memoryCacheLogging: 'confluence-frontend-media-card-memory-cache-logging'
14
13
  },
15
14
  jira: {
16
- newCardExperience: 'issue.details.media-cards-new-experience',
17
15
  captions: 'issue.details.editor.media.captions',
18
16
  // Manged by Linking Platform. No Rollout plan found for Jira
19
17
  mediaInline: '',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,4 @@
1
1
  export interface MediaFeatureFlags {
2
- newCardExperience?: boolean;
3
2
  captions?: boolean;
4
3
  mediaInline?: boolean;
5
4
  folderUploads?: boolean;
@@ -1,5 +1,4 @@
1
1
  export interface MediaFeatureFlags {
2
- newCardExperience?: boolean;
3
2
  captions?: boolean;
4
3
  mediaInline?: boolean;
5
4
  folderUploads?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "5.0.0",
3
+ "version": "6.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
@@ -157,8 +157,6 @@ export interface MediaFeatureFlags {
157
157
  // (undocumented)
158
158
  memoryCacheLogging?: boolean;
159
159
  // (undocumented)
160
- newCardExperience?: boolean;
161
- // (undocumented)
162
160
  observedWidth?: boolean;
163
161
  // (undocumented)
164
162
  timestampOnVideo?: boolean;