@atlaskit/media-common 11.3.2 → 11.4.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,21 @@
1
1
  # @atlaskit/media-common
2
2
 
3
+ ## 11.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#133513](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/133513)
8
+ [`be0d9eb2d3a01`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be0d9eb2d3a01) -
9
+ [ux] ED-23401 remove media include page feature flag
10
+
11
+ ## 11.4.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#130435](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/130435)
16
+ [`c3ee11ca89274`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c3ee11ca89274) -
17
+ add React 18 support
18
+
3
19
  ## 11.3.2
4
20
 
5
21
  ### Patch Changes
@@ -58,7 +58,6 @@ var defaultMediaFeatureFlags = exports.defaultMediaFeatureFlags = {
58
58
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
59
59
  folderUploads: false,
60
60
  commentsOnMedia: false,
61
- commentsOnMediaIncludePage: false,
62
61
  commentsOnMediaInsertExcerpt: false
63
62
  };
64
63
 
@@ -12,7 +12,6 @@ var productKeys = {
12
12
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
13
13
  folderUploads: 'confluence.frontend.media.picker.folder.uploads',
14
14
  commentsOnMedia: 'confluence.frontend.renderer.comments-on-media',
15
- commentsOnMediaIncludePage: 'confluence.frontend.comments-on-media.bug.include.page_tnawt',
16
15
  commentsOnMediaInsertExcerpt: 'confluence.frontend.comments-on-media.bug.insert.excerpt'
17
16
  },
18
17
  jira: {
@@ -20,7 +19,6 @@ var productKeys = {
20
19
  mediaInline: '',
21
20
  folderUploads: 'issue.details.media-picker-folder-upload',
22
21
  commentsOnMedia: '',
23
- commentsOnMediaIncludePage: '',
24
22
  commentsOnMediaInsertExcerpt: ''
25
23
  }
26
24
  };
@@ -37,7 +37,6 @@ export const defaultMediaFeatureFlags = {
37
37
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
38
38
  folderUploads: false,
39
39
  commentsOnMedia: false,
40
- commentsOnMediaIncludePage: false,
41
40
  commentsOnMediaInsertExcerpt: false
42
41
  };
43
42
 
@@ -6,7 +6,6 @@ const productKeys = {
6
6
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
7
7
  folderUploads: 'confluence.frontend.media.picker.folder.uploads',
8
8
  commentsOnMedia: 'confluence.frontend.renderer.comments-on-media',
9
- commentsOnMediaIncludePage: 'confluence.frontend.comments-on-media.bug.include.page_tnawt',
10
9
  commentsOnMediaInsertExcerpt: 'confluence.frontend.comments-on-media.bug.insert.excerpt'
11
10
  },
12
11
  jira: {
@@ -14,7 +13,6 @@ const productKeys = {
14
13
  mediaInline: '',
15
14
  folderUploads: 'issue.details.media-picker-folder-upload',
16
15
  commentsOnMedia: '',
17
- commentsOnMediaIncludePage: '',
18
16
  commentsOnMediaInsertExcerpt: ''
19
17
  }
20
18
  };
@@ -50,7 +50,6 @@ export var defaultMediaFeatureFlags = {
50
50
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
51
51
  folderUploads: false,
52
52
  commentsOnMedia: false,
53
- commentsOnMediaIncludePage: false,
54
53
  commentsOnMediaInsertExcerpt: false
55
54
  };
56
55
 
@@ -6,7 +6,6 @@ var productKeys = {
6
6
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
7
7
  folderUploads: 'confluence.frontend.media.picker.folder.uploads',
8
8
  commentsOnMedia: 'confluence.frontend.renderer.comments-on-media',
9
- commentsOnMediaIncludePage: 'confluence.frontend.comments-on-media.bug.include.page_tnawt',
10
9
  commentsOnMediaInsertExcerpt: 'confluence.frontend.comments-on-media.bug.insert.excerpt'
11
10
  },
12
11
  jira: {
@@ -14,7 +13,6 @@ var productKeys = {
14
13
  mediaInline: '',
15
14
  folderUploads: 'issue.details.media-picker-folder-upload',
16
15
  commentsOnMedia: '',
17
- commentsOnMediaIncludePage: '',
18
16
  commentsOnMediaInsertExcerpt: ''
19
17
  }
20
18
  };
@@ -2,7 +2,6 @@ export interface MediaFeatureFlags {
2
2
  mediaInline?: boolean;
3
3
  folderUploads?: boolean;
4
4
  commentsOnMedia?: boolean;
5
- commentsOnMediaIncludePage?: boolean;
6
5
  commentsOnMediaInsertExcerpt?: boolean;
7
6
  }
8
7
  export interface WithMediaFeatureFlags {
@@ -2,7 +2,6 @@ export interface MediaFeatureFlags {
2
2
  mediaInline?: boolean;
3
3
  folderUploads?: boolean;
4
4
  commentsOnMedia?: boolean;
5
- commentsOnMediaIncludePage?: boolean;
6
5
  commentsOnMediaInsertExcerpt?: boolean;
7
6
  }
8
7
  export interface WithMediaFeatureFlags {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "11.3.2",
3
+ "version": "11.4.1",
4
4
  "description": "Includes common utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,22 +37,23 @@
37
37
  "releaseModel": "continuous",
38
38
  "website": {
39
39
  "name": "Media Common"
40
- }
40
+ },
41
+ "runReact18": true
41
42
  },
42
43
  "scripts": {},
43
44
  "dependencies": {
44
45
  "@atlaskit/analytics-gas-types": "^5.1.0",
45
- "@atlaskit/analytics-namespaced-context": "^6.10.0",
46
- "@atlaskit/analytics-next": "^10.0.0",
47
- "@atlaskit/section-message": "^6.5.0",
46
+ "@atlaskit/analytics-namespaced-context": "^6.11.0",
47
+ "@atlaskit/analytics-next": "^10.1.0",
48
+ "@atlaskit/section-message": "^6.6.0",
48
49
  "@babel/runtime": "^7.0.0",
49
50
  "immer": "^9.0.12",
50
51
  "uuid-validate": "^0.0.3"
51
52
  },
52
53
  "peerDependencies": {
53
54
  "enzyme": ">=3.10.0",
54
- "react": "^16.8.0",
55
- "react-dom": "^16.8.0"
55
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
56
+ "react-dom": "^16.8.0 || ^17.0.0 || ~18.2.0"
56
57
  },
57
58
  "peerDependenciesMeta": {
58
59
  "enzyme": {