@atlaskit/media-common 11.4.1 → 11.5.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,13 @@
1
1
  # @atlaskit/media-common
2
2
 
3
+ ## 11.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#144888](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/144888)
8
+ [`de9029605ff53`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/de9029605ff53) -
9
+ [ED-24681] Clean up FD `confluence.frontend.comments-on-media.bug.insert.excerpt`
10
+
3
11
  ## 11.4.1
4
12
 
5
13
  ### 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
  /**
@@ -57,8 +57,7 @@ var defaultMediaFeatureFlags = exports.defaultMediaFeatureFlags = {
57
57
  // We can't yet switch this feature on
58
58
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
59
59
  folderUploads: false,
60
- commentsOnMedia: false,
61
- commentsOnMediaInsertExcerpt: false
60
+ commentsOnMedia: false
62
61
  };
63
62
 
64
63
  /**
@@ -11,15 +11,13 @@ var productKeys = {
11
11
  */
12
12
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
13
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'
14
+ commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
16
15
  },
17
16
  jira: {
18
17
  // Manged by Linking Platform. No Rollout plan found for Jira
19
18
  mediaInline: '',
20
19
  folderUploads: 'issue.details.media-picker-folder-upload',
21
- commentsOnMedia: '',
22
- commentsOnMediaInsertExcerpt: ''
20
+ commentsOnMedia: ''
23
21
  }
24
22
  };
25
23
  var getProductKeys = exports.getProductKeys = function getProductKeys() {
@@ -36,8 +36,7 @@ export const defaultMediaFeatureFlags = {
36
36
  // We can't yet switch this feature on
37
37
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
38
38
  folderUploads: false,
39
- commentsOnMedia: false,
40
- commentsOnMediaInsertExcerpt: false
39
+ commentsOnMedia: false
41
40
  };
42
41
 
43
42
  /**
@@ -5,15 +5,13 @@ const productKeys = {
5
5
  */
6
6
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
7
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'
8
+ commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
10
9
  },
11
10
  jira: {
12
11
  // Manged by Linking Platform. No Rollout plan found for Jira
13
12
  mediaInline: '',
14
13
  folderUploads: 'issue.details.media-picker-folder-upload',
15
- commentsOnMedia: '',
16
- commentsOnMediaInsertExcerpt: ''
14
+ commentsOnMedia: ''
17
15
  }
18
16
  };
19
17
  export const getProductKeys = () => productKeys;
@@ -49,8 +49,7 @@ export var defaultMediaFeatureFlags = {
49
49
  // We can't yet switch this feature on
50
50
  // TODO https://product-fabric.atlassian.net/browse/MEX-104
51
51
  folderUploads: false,
52
- commentsOnMedia: false,
53
- commentsOnMediaInsertExcerpt: false
52
+ commentsOnMedia: false
54
53
  };
55
54
 
56
55
  /**
@@ -5,15 +5,13 @@ var productKeys = {
5
5
  */
6
6
  mediaInline: 'confluence.frontend.fabric.editor.media.inline',
7
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'
8
+ commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
10
9
  },
11
10
  jira: {
12
11
  // Manged by Linking Platform. No Rollout plan found for Jira
13
12
  mediaInline: '',
14
13
  folderUploads: 'issue.details.media-picker-folder-upload',
15
- commentsOnMedia: '',
16
- commentsOnMediaInsertExcerpt: ''
14
+ commentsOnMedia: ''
17
15
  }
18
16
  };
19
17
  export var getProductKeys = function getProductKeys() {
@@ -2,7 +2,6 @@ export interface MediaFeatureFlags {
2
2
  mediaInline?: boolean;
3
3
  folderUploads?: boolean;
4
4
  commentsOnMedia?: boolean;
5
- commentsOnMediaInsertExcerpt?: boolean;
6
5
  }
7
6
  export interface WithMediaFeatureFlags {
8
7
  featureFlags?: MediaFeatureFlags;
@@ -2,7 +2,6 @@ export interface MediaFeatureFlags {
2
2
  mediaInline?: boolean;
3
3
  folderUploads?: boolean;
4
4
  commentsOnMedia?: boolean;
5
- commentsOnMediaInsertExcerpt?: boolean;
6
5
  }
7
6
  export interface WithMediaFeatureFlags {
8
7
  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.5.0",
4
4
  "description": "Includes common utilities used by other media packages",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,8 +33,6 @@
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
  },
@@ -43,7 +41,7 @@
43
41
  "scripts": {},
44
42
  "dependencies": {
45
43
  "@atlaskit/analytics-gas-types": "^5.1.0",
46
- "@atlaskit/analytics-namespaced-context": "^6.11.0",
44
+ "@atlaskit/analytics-namespaced-context": "^6.12.0",
47
45
  "@atlaskit/analytics-next": "^10.1.0",
48
46
  "@atlaskit/section-message": "^6.6.0",
49
47
  "@babel/runtime": "^7.0.0",