@atlaskit/media-common 11.7.0 → 11.8.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,27 @@
1
1
  # @atlaskit/media-common
2
2
 
3
+ ## 11.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
8
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
9
+ Update `React` from v16 to v18
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 11.7.1
16
+
17
+ ### Patch Changes
18
+
19
+ - [#158723](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/158723)
20
+ [`8ff5b01b0d37f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8ff5b01b0d37f) -
21
+ [ED-24682] Cleanup feature flag for commenting on media in the renderer
22
+
23
+ **@atlaskit/editor-plugin-media**: Add optional checks for the api in Comment Badges on media
24
+
3
25
  ## 11.7.0
4
26
 
5
27
  ### 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,13 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.getProductKeys = void 0;
7
7
  var productKeys = {
8
8
  confluence: {
9
- mediaInline: '',
10
- commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
9
+ mediaInline: ''
11
10
  },
12
11
  jira: {
13
12
  // Manged by Linking Platform. No Rollout plan found for Jira
14
- mediaInline: '',
15
- commentsOnMedia: ''
13
+ mediaInline: ''
16
14
  }
17
15
  };
18
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,12 +1,10 @@
1
1
  const productKeys = {
2
2
  confluence: {
3
- mediaInline: '',
4
- commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
3
+ mediaInline: ''
5
4
  },
6
5
  jira: {
7
6
  // Manged by Linking Platform. No Rollout plan found for Jira
8
- mediaInline: '',
9
- commentsOnMedia: ''
7
+ mediaInline: ''
10
8
  }
11
9
  };
12
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,12 +1,10 @@
1
1
  var productKeys = {
2
2
  confluence: {
3
- mediaInline: '',
4
- commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
3
+ mediaInline: ''
5
4
  },
6
5
  jira: {
7
6
  // Manged by Linking Platform. No Rollout plan found for Jira
8
- mediaInline: '',
9
- commentsOnMedia: ''
7
+ mediaInline: ''
10
8
  }
11
9
  };
12
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.7.0",
3
+ "version": "11.8.0",
4
4
  "description": "Includes common utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,9 +40,9 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@atlaskit/analytics-gas-types": "^5.1.0",
43
- "@atlaskit/analytics-namespaced-context": "^6.12.0",
44
- "@atlaskit/analytics-next": "^10.1.0",
45
- "@atlaskit/section-message": "^6.6.0",
43
+ "@atlaskit/analytics-namespaced-context": "^6.13.0",
44
+ "@atlaskit/analytics-next": "^10.3.0",
45
+ "@atlaskit/section-message": "^6.9.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "immer": "^9.0.12",
48
48
  "uuid-validate": "^0.0.3"
@@ -60,8 +60,8 @@
60
60
  "devDependencies": {
61
61
  "@types/uuid-validate": "^0.0.2",
62
62
  "enzyme": "^3.10.0",
63
- "react": "^16.8.0",
64
- "react-dom": "^16.8.0",
63
+ "react": "^18.2.0",
64
+ "react-dom": "^18.2.0",
65
65
  "typescript": "~5.4.2"
66
66
  }
67
67
  }