@atlaskit/media-common 11.4.1 → 11.6.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,21 @@
1
1
  # @atlaskit/media-common
2
2
 
3
+ ## 11.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#151581](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151581)
8
+ [`f1c0ae301860f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f1c0ae301860f) -
9
+ Cleanup media-picker folderUploads feature flag
10
+
11
+ ## 11.5.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#144888](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/144888)
16
+ [`de9029605ff53`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/de9029605ff53) -
17
+ [ED-24681] Clean up FD `confluence.frontend.comments-on-media.bug.insert.excerpt`
18
+
3
19
  ## 11.4.1
4
20
 
5
21
  ### Patch Changes
@@ -12,7 +12,7 @@ var _react = _interopRequireWildcard(require("react"));
12
12
  var _analyticsNext = require("@atlaskit/analytics-next");
13
13
  var _MediaAnalyticsContext = require("@atlaskit/analytics-namespaced-context/MediaAnalyticsContext");
14
14
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
16
16
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
17
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18
18
  /**
@@ -56,9 +56,7 @@ var defaultMediaFeatureFlags = exports.defaultMediaFeatureFlags = {
56
56
  mediaInline: false,
57
57
  // We can't yet switch this feature on
58
58
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
59
- folderUploads: false,
60
- commentsOnMedia: false,
61
- commentsOnMediaInsertExcerpt: false
59
+ commentsOnMedia: false
62
60
  };
63
61
 
64
62
  /**
@@ -10,16 +10,12 @@ var productKeys = {
10
10
  * Note: Confluence Flags must be prefixed with "confluence.frontend" in order to integrate properly with the product
11
11
  */
12
12
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
13
- folderUploads: 'confluence.frontend.media.picker.folder.uploads',
14
- commentsOnMedia: 'confluence.frontend.renderer.comments-on-media',
15
- commentsOnMediaInsertExcerpt: 'confluence.frontend.comments-on-media.bug.insert.excerpt'
13
+ commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
16
14
  },
17
15
  jira: {
18
16
  // Manged by Linking Platform. No Rollout plan found for Jira
19
17
  mediaInline: '',
20
- folderUploads: 'issue.details.media-picker-folder-upload',
21
- commentsOnMedia: '',
22
- commentsOnMediaInsertExcerpt: ''
18
+ commentsOnMedia: ''
23
19
  }
24
20
  };
25
21
  var getProductKeys = exports.getProductKeys = function getProductKeys() {
@@ -35,9 +35,7 @@ export const defaultMediaFeatureFlags = {
35
35
  mediaInline: false,
36
36
  // We can't yet switch this feature on
37
37
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
38
- folderUploads: false,
39
- commentsOnMedia: false,
40
- commentsOnMediaInsertExcerpt: false
38
+ commentsOnMedia: false
41
39
  };
42
40
 
43
41
  /**
@@ -4,16 +4,12 @@ const productKeys = {
4
4
  * Note: Confluence Flags must be prefixed with "confluence.frontend" in order to integrate properly with the product
5
5
  */
6
6
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
7
- folderUploads: 'confluence.frontend.media.picker.folder.uploads',
8
- commentsOnMedia: 'confluence.frontend.renderer.comments-on-media',
9
- commentsOnMediaInsertExcerpt: 'confluence.frontend.comments-on-media.bug.insert.excerpt'
7
+ commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
10
8
  },
11
9
  jira: {
12
10
  // Manged by Linking Platform. No Rollout plan found for Jira
13
11
  mediaInline: '',
14
- folderUploads: 'issue.details.media-picker-folder-upload',
15
- commentsOnMedia: '',
16
- commentsOnMediaInsertExcerpt: ''
12
+ commentsOnMedia: ''
17
13
  }
18
14
  };
19
15
  export const getProductKeys = () => productKeys;
@@ -48,9 +48,7 @@ export var defaultMediaFeatureFlags = {
48
48
  mediaInline: false,
49
49
  // We can't yet switch this feature on
50
50
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
51
- folderUploads: false,
52
- commentsOnMedia: false,
53
- commentsOnMediaInsertExcerpt: false
51
+ commentsOnMedia: false
54
52
  };
55
53
 
56
54
  /**
@@ -4,16 +4,12 @@ var productKeys = {
4
4
  * Note: Confluence Flags must be prefixed with "confluence.frontend" in order to integrate properly with the product
5
5
  */
6
6
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
7
- folderUploads: 'confluence.frontend.media.picker.folder.uploads',
8
- commentsOnMedia: 'confluence.frontend.renderer.comments-on-media',
9
- commentsOnMediaInsertExcerpt: 'confluence.frontend.comments-on-media.bug.insert.excerpt'
7
+ commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
10
8
  },
11
9
  jira: {
12
10
  // Manged by Linking Platform. No Rollout plan found for Jira
13
11
  mediaInline: '',
14
- folderUploads: 'issue.details.media-picker-folder-upload',
15
- commentsOnMedia: '',
16
- commentsOnMediaInsertExcerpt: ''
12
+ commentsOnMedia: ''
17
13
  }
18
14
  };
19
15
  export var getProductKeys = function getProductKeys() {
@@ -1,8 +1,6 @@
1
1
  export interface MediaFeatureFlags {
2
2
  mediaInline?: boolean;
3
- folderUploads?: boolean;
4
3
  commentsOnMedia?: boolean;
5
- commentsOnMediaInsertExcerpt?: boolean;
6
4
  }
7
5
  export interface WithMediaFeatureFlags {
8
6
  featureFlags?: MediaFeatureFlags;
@@ -1,8 +1,6 @@
1
1
  export interface MediaFeatureFlags {
2
2
  mediaInline?: boolean;
3
- folderUploads?: boolean;
4
3
  commentsOnMedia?: boolean;
5
- commentsOnMediaInsertExcerpt?: boolean;
6
4
  }
7
5
  export interface WithMediaFeatureFlags {
8
6
  featureFlags?: MediaFeatureFlags;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-common",
3
- "version": "11.4.1",
3
+ "version": "11.6.0",
4
4
  "description": "Includes common utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,17 +33,14 @@
33
33
  },
34
34
  "atlassian": {
35
35
  "team": "Media Experience",
36
- "inPublicMirror": true,
37
- "releaseModel": "continuous",
38
36
  "website": {
39
37
  "name": "Media Common"
40
38
  },
41
39
  "runReact18": true
42
40
  },
43
- "scripts": {},
44
41
  "dependencies": {
45
42
  "@atlaskit/analytics-gas-types": "^5.1.0",
46
- "@atlaskit/analytics-namespaced-context": "^6.11.0",
43
+ "@atlaskit/analytics-namespaced-context": "^6.12.0",
47
44
  "@atlaskit/analytics-next": "^10.1.0",
48
45
  "@atlaskit/section-message": "^6.6.0",
49
46
  "@babel/runtime": "^7.0.0",