@atlaskit/media-common 4.0.0 → 4.1.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 +10 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/analytics/types.js +15 -1
- package/dist/es2019/index.js +5 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/analytics/types.js +15 -1
- package/dist/esm/index.js +5 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/mediaFeatureFlags/types.d.ts +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/media-common
|
|
2
2
|
|
|
3
|
+
## 4.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 4.0.0
|
|
4
14
|
|
|
5
15
|
### Major Changes
|
package/dist/cjs/version.json
CHANGED
|
@@ -1 +1,15 @@
|
|
|
1
|
-
import { MEDIA_CONTEXT } from '@atlaskit/analytics-namespaced-context/MediaAnalyticsContext';
|
|
1
|
+
import { MEDIA_CONTEXT } from '@atlaskit/analytics-namespaced-context/MediaAnalyticsContext';
|
|
2
|
+
|
|
3
|
+
// Base Media Analytics Event Shape
|
|
4
|
+
|
|
5
|
+
// Base Attributes ...
|
|
6
|
+
|
|
7
|
+
// Operational Events ...
|
|
8
|
+
// https://hello.atlassian.net/wiki/spaces/MEASURE/pages/134329315/Operational+Events
|
|
9
|
+
// UI Events ...
|
|
10
|
+
// https://hello.atlassian.net/wiki/spaces/MEASURE/pages/134329336/UI+Events
|
|
11
|
+
// Screen Events ...
|
|
12
|
+
// https://hello.atlassian.net/wiki/spaces/MEASURE/pages/134329341/Screen+Events
|
|
13
|
+
// Track Events ...
|
|
14
|
+
// https://hello.atlassian.net/wiki/spaces/MEASURE/pages/134329319/Track+Events
|
|
15
|
+
// Media Analytics Context Types
|
package/dist/es2019/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export { downloadUrl } from './downloadUrl';
|
|
2
2
|
// Warning! You can't add new media types!
|
|
3
3
|
// See packages/media/media-core/src/__tests__/cache-backward-compatibility.spec.ts
|
|
4
|
-
|
|
5
4
|
// Media Feature Flags
|
|
6
5
|
export { getMediaFeatureFlag, defaultMediaFeatureFlags, areEqualFeatureFlags, useMemoizeFeatureFlags, filterFeatureFlagNames, getFeatureFlagKeysAllProducts } from './mediaFeatureFlags';
|
|
6
|
+
|
|
7
|
+
// TODO EDM-689 Please, consolidate these two CardDimensions types
|
|
8
|
+
|
|
9
|
+
// Analytics base types
|
|
10
|
+
|
|
7
11
|
// Analytics context
|
|
8
12
|
export { withMediaAnalyticsContext } from './analytics/withMediaAnalyticsContext';
|
|
9
13
|
|
package/dist/es2019/version.json
CHANGED
|
@@ -1 +1,15 @@
|
|
|
1
|
-
import { MEDIA_CONTEXT } from '@atlaskit/analytics-namespaced-context/MediaAnalyticsContext';
|
|
1
|
+
import { MEDIA_CONTEXT } from '@atlaskit/analytics-namespaced-context/MediaAnalyticsContext';
|
|
2
|
+
|
|
3
|
+
// Base Media Analytics Event Shape
|
|
4
|
+
|
|
5
|
+
// Base Attributes ...
|
|
6
|
+
|
|
7
|
+
// Operational Events ...
|
|
8
|
+
// https://hello.atlassian.net/wiki/spaces/MEASURE/pages/134329315/Operational+Events
|
|
9
|
+
// UI Events ...
|
|
10
|
+
// https://hello.atlassian.net/wiki/spaces/MEASURE/pages/134329336/UI+Events
|
|
11
|
+
// Screen Events ...
|
|
12
|
+
// https://hello.atlassian.net/wiki/spaces/MEASURE/pages/134329341/Screen+Events
|
|
13
|
+
// Track Events ...
|
|
14
|
+
// https://hello.atlassian.net/wiki/spaces/MEASURE/pages/134329319/Track+Events
|
|
15
|
+
// Media Analytics Context Types
|
package/dist/esm/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
export { downloadUrl } from './downloadUrl';
|
|
2
2
|
// Warning! You can't add new media types!
|
|
3
3
|
// See packages/media/media-core/src/__tests__/cache-backward-compatibility.spec.ts
|
|
4
|
-
|
|
5
4
|
// Media Feature Flags
|
|
6
5
|
export { getMediaFeatureFlag, defaultMediaFeatureFlags, areEqualFeatureFlags, useMemoizeFeatureFlags, filterFeatureFlagNames, getFeatureFlagKeysAllProducts } from './mediaFeatureFlags';
|
|
6
|
+
|
|
7
|
+
// TODO EDM-689 Please, consolidate these two CardDimensions types
|
|
8
|
+
|
|
9
|
+
// Analytics base types
|
|
10
|
+
|
|
7
11
|
// Analytics context
|
|
8
12
|
export { withMediaAnalyticsContext } from './analytics/withMediaAnalyticsContext';
|
|
9
13
|
|
package/dist/esm/version.json
CHANGED
|
@@ -14,5 +14,5 @@ export interface WithMediaFeatureFlags {
|
|
|
14
14
|
export declare type RequiredMediaFeatureFlags = Record<keyof Required<MediaFeatureFlags>, boolean>;
|
|
15
15
|
export declare type MediaFeatureFlagsMap = Record<keyof Required<MediaFeatureFlags>, string>;
|
|
16
16
|
export declare const supportedProducts: readonly ["confluence", "jira"];
|
|
17
|
-
export declare type SupportedProduct = typeof supportedProducts[number];
|
|
17
|
+
export declare type SupportedProduct = (typeof supportedProducts)[number];
|
|
18
18
|
export declare type ProductKeys = Record<SupportedProduct, MediaFeatureFlagsMap>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-common",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Includes common utilities used by other media packages",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
"scripts": {},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/analytics-gas-types": "^5.0
|
|
36
|
-
"@atlaskit/analytics-namespaced-context": "^6.
|
|
37
|
-
"@atlaskit/analytics-next": "^9.
|
|
38
|
-
"@atlaskit/section-message": "^6.
|
|
35
|
+
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
36
|
+
"@atlaskit/analytics-namespaced-context": "^6.7.0",
|
|
37
|
+
"@atlaskit/analytics-next": "^9.1.0",
|
|
38
|
+
"@atlaskit/section-message": "^6.4.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@atlaskit/docs": "*",
|
|
47
|
-
"@atlaskit/media-test-helpers": "^
|
|
47
|
+
"@atlaskit/media-test-helpers": "^33.0.0",
|
|
48
48
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
49
49
|
"enzyme": "^3.10.0",
|
|
50
50
|
"react": "^16.8.0",
|