@atlaskit/media-common 11.4.0 → 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 +16 -0
- package/dist/cjs/analytics/withMediaAnalyticsContext.js +1 -1
- package/dist/cjs/mediaFeatureFlags/mediaFeatureFlags.js +1 -3
- package/dist/cjs/mediaFeatureFlags/productKeys.js +2 -6
- package/dist/es2019/mediaFeatureFlags/mediaFeatureFlags.js +1 -3
- package/dist/es2019/mediaFeatureFlags/productKeys.js +2 -6
- package/dist/esm/mediaFeatureFlags/mediaFeatureFlags.js +1 -3
- package/dist/esm/mediaFeatureFlags/productKeys.js +2 -6
- package/dist/types/mediaFeatureFlags/types.d.ts +0 -2
- package/dist/types-ts4.5/mediaFeatureFlags/types.d.ts +0 -2
- package/package.json +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
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
|
+
|
|
11
|
+
## 11.4.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#133513](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/133513)
|
|
16
|
+
[`be0d9eb2d3a01`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be0d9eb2d3a01) -
|
|
17
|
+
[ux] ED-23401 remove media include page feature flag
|
|
18
|
+
|
|
3
19
|
## 11.4.0
|
|
4
20
|
|
|
5
21
|
### Minor 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 &&
|
|
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,9 +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
|
-
commentsOnMediaIncludePage: false,
|
|
62
|
-
commentsOnMediaInsertExcerpt: false
|
|
60
|
+
commentsOnMedia: false
|
|
63
61
|
};
|
|
64
62
|
|
|
65
63
|
/**
|
|
@@ -11,17 +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
|
-
commentsOnMediaIncludePage: 'confluence.frontend.comments-on-media.bug.include.page_tnawt',
|
|
16
|
-
commentsOnMediaInsertExcerpt: 'confluence.frontend.comments-on-media.bug.insert.excerpt'
|
|
14
|
+
commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
|
|
17
15
|
},
|
|
18
16
|
jira: {
|
|
19
17
|
// Manged by Linking Platform. No Rollout plan found for Jira
|
|
20
18
|
mediaInline: '',
|
|
21
19
|
folderUploads: 'issue.details.media-picker-folder-upload',
|
|
22
|
-
commentsOnMedia: ''
|
|
23
|
-
commentsOnMediaIncludePage: '',
|
|
24
|
-
commentsOnMediaInsertExcerpt: ''
|
|
20
|
+
commentsOnMedia: ''
|
|
25
21
|
}
|
|
26
22
|
};
|
|
27
23
|
var getProductKeys = exports.getProductKeys = function getProductKeys() {
|
|
@@ -36,9 +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
|
-
commentsOnMediaIncludePage: false,
|
|
41
|
-
commentsOnMediaInsertExcerpt: false
|
|
39
|
+
commentsOnMedia: false
|
|
42
40
|
};
|
|
43
41
|
|
|
44
42
|
/**
|
|
@@ -5,17 +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
|
-
commentsOnMediaIncludePage: 'confluence.frontend.comments-on-media.bug.include.page_tnawt',
|
|
10
|
-
commentsOnMediaInsertExcerpt: 'confluence.frontend.comments-on-media.bug.insert.excerpt'
|
|
8
|
+
commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
|
|
11
9
|
},
|
|
12
10
|
jira: {
|
|
13
11
|
// Manged by Linking Platform. No Rollout plan found for Jira
|
|
14
12
|
mediaInline: '',
|
|
15
13
|
folderUploads: 'issue.details.media-picker-folder-upload',
|
|
16
|
-
commentsOnMedia: ''
|
|
17
|
-
commentsOnMediaIncludePage: '',
|
|
18
|
-
commentsOnMediaInsertExcerpt: ''
|
|
14
|
+
commentsOnMedia: ''
|
|
19
15
|
}
|
|
20
16
|
};
|
|
21
17
|
export const getProductKeys = () => productKeys;
|
|
@@ -49,9 +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
|
-
commentsOnMediaIncludePage: false,
|
|
54
|
-
commentsOnMediaInsertExcerpt: false
|
|
52
|
+
commentsOnMedia: false
|
|
55
53
|
};
|
|
56
54
|
|
|
57
55
|
/**
|
|
@@ -5,17 +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
|
-
commentsOnMediaIncludePage: 'confluence.frontend.comments-on-media.bug.include.page_tnawt',
|
|
10
|
-
commentsOnMediaInsertExcerpt: 'confluence.frontend.comments-on-media.bug.insert.excerpt'
|
|
8
|
+
commentsOnMedia: 'confluence.frontend.renderer.comments-on-media'
|
|
11
9
|
},
|
|
12
10
|
jira: {
|
|
13
11
|
// Manged by Linking Platform. No Rollout plan found for Jira
|
|
14
12
|
mediaInline: '',
|
|
15
13
|
folderUploads: 'issue.details.media-picker-folder-upload',
|
|
16
|
-
commentsOnMedia: ''
|
|
17
|
-
commentsOnMediaIncludePage: '',
|
|
18
|
-
commentsOnMediaInsertExcerpt: ''
|
|
14
|
+
commentsOnMedia: ''
|
|
19
15
|
}
|
|
20
16
|
};
|
|
21
17
|
export var getProductKeys = function getProductKeys() {
|
|
@@ -2,8 +2,6 @@ export interface MediaFeatureFlags {
|
|
|
2
2
|
mediaInline?: boolean;
|
|
3
3
|
folderUploads?: boolean;
|
|
4
4
|
commentsOnMedia?: boolean;
|
|
5
|
-
commentsOnMediaIncludePage?: boolean;
|
|
6
|
-
commentsOnMediaInsertExcerpt?: boolean;
|
|
7
5
|
}
|
|
8
6
|
export interface WithMediaFeatureFlags {
|
|
9
7
|
featureFlags?: MediaFeatureFlags;
|
|
@@ -2,8 +2,6 @@ export interface MediaFeatureFlags {
|
|
|
2
2
|
mediaInline?: boolean;
|
|
3
3
|
folderUploads?: boolean;
|
|
4
4
|
commentsOnMedia?: boolean;
|
|
5
|
-
commentsOnMediaIncludePage?: boolean;
|
|
6
|
-
commentsOnMediaInsertExcerpt?: boolean;
|
|
7
5
|
}
|
|
8
6
|
export interface WithMediaFeatureFlags {
|
|
9
7
|
featureFlags?: MediaFeatureFlags;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-common",
|
|
3
|
-
"version": "11.
|
|
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.
|
|
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",
|