@atlaskit/media-viewer 48.6.13 → 48.6.15
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 +14 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/analytics/ufoExperiences.js +1 -1
- package/dist/cjs/styleWrappers.js +2 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/analytics/ufoExperiences.js +1 -1
- package/dist/es2019/styleWrappers.js +2 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/analytics/ufoExperiences.js +1 -1
- package/dist/esm/styleWrappers.js +2 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/media-viewer
|
|
2
2
|
|
|
3
|
+
## 48.6.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#128094](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128094)
|
|
8
|
+
[`02909d07d7b8d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/02909d07d7b8d) -
|
|
9
|
+
Migrate media-viewer image component unit tests from enzyme to RTL for React 18
|
|
10
|
+
|
|
11
|
+
## 48.6.14
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 48.6.13
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -10,7 +10,7 @@ exports.packageVersion = exports.packageName = void 0;
|
|
|
10
10
|
var _analytics = require("@atlaskit/media-common/analytics");
|
|
11
11
|
var componentName = exports.component = exports.componentName = 'mediaViewer';
|
|
12
12
|
var packageName = exports.packageName = "@atlaskit/media-viewer";
|
|
13
|
-
var packageVersion = exports.packageVersion = "48.6.
|
|
13
|
+
var packageVersion = exports.packageVersion = "48.6.15";
|
|
14
14
|
function getFileAttributes(fileState) {
|
|
15
15
|
if (!fileState) {
|
|
16
16
|
return {
|
|
@@ -12,7 +12,7 @@ var _mediaCommon = require("@atlaskit/media-common");
|
|
|
12
12
|
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; }
|
|
13
13
|
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; }
|
|
14
14
|
var packageName = "@atlaskit/media-viewer";
|
|
15
|
-
var packageVersion = "48.6.
|
|
15
|
+
var packageVersion = "48.6.15";
|
|
16
16
|
var ufoExperience;
|
|
17
17
|
var getExperience = function getExperience() {
|
|
18
18
|
if (!ufoExperience) {
|
|
@@ -458,7 +458,8 @@ var ZoomRightControls = exports.ZoomRightControls = function ZoomRightControls(_
|
|
|
458
458
|
var ZoomLevelIndicator = exports.ZoomLevelIndicator = function ZoomLevelIndicator(_ref15) {
|
|
459
459
|
var children = _ref15.children;
|
|
460
460
|
return (0, _react.jsx)("span", {
|
|
461
|
-
css: zoomLevelIndicatorStyles
|
|
461
|
+
css: zoomLevelIndicatorStyles,
|
|
462
|
+
"data-testid": "zoom-level-indicator"
|
|
462
463
|
}, children);
|
|
463
464
|
};
|
|
464
465
|
var HDIconGroupWrapper = exports.HDIconGroupWrapper = function HDIconGroupWrapper(_ref16) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ANALYTICS_MEDIA_CHANNEL, sanitiseAnalyticsPayload } from '@atlaskit/media-common/analytics';
|
|
2
2
|
const componentName = 'mediaViewer';
|
|
3
3
|
const packageName = "@atlaskit/media-viewer";
|
|
4
|
-
const packageVersion = "48.6.
|
|
4
|
+
const packageVersion = "48.6.15";
|
|
5
5
|
export { packageName, packageVersion, componentName, componentName as component };
|
|
6
6
|
export function getFileAttributes(fileState) {
|
|
7
7
|
if (!fileState) {
|
|
@@ -2,7 +2,7 @@ import { UFOExperience, ExperiencePerformanceTypes, ExperienceTypes } from '@atl
|
|
|
2
2
|
import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
3
3
|
import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
|
|
4
4
|
const packageName = "@atlaskit/media-viewer";
|
|
5
|
-
const packageVersion = "48.6.
|
|
5
|
+
const packageVersion = "48.6.15";
|
|
6
6
|
let ufoExperience;
|
|
7
7
|
const getExperience = () => {
|
|
8
8
|
if (!ufoExperience) {
|
|
@@ -442,7 +442,8 @@ export const ZoomRightControls = ({
|
|
|
442
442
|
export const ZoomLevelIndicator = ({
|
|
443
443
|
children
|
|
444
444
|
}) => jsx("span", {
|
|
445
|
-
css: zoomLevelIndicatorStyles
|
|
445
|
+
css: zoomLevelIndicatorStyles,
|
|
446
|
+
"data-testid": "zoom-level-indicator"
|
|
446
447
|
}, children);
|
|
447
448
|
export const HDIconGroupWrapper = ({
|
|
448
449
|
className,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ANALYTICS_MEDIA_CHANNEL, sanitiseAnalyticsPayload } from '@atlaskit/media-common/analytics';
|
|
2
2
|
var componentName = 'mediaViewer';
|
|
3
3
|
var packageName = "@atlaskit/media-viewer";
|
|
4
|
-
var packageVersion = "48.6.
|
|
4
|
+
var packageVersion = "48.6.15";
|
|
5
5
|
export { packageName, packageVersion, componentName, componentName as component };
|
|
6
6
|
export function getFileAttributes(fileState) {
|
|
7
7
|
if (!fileState) {
|
|
@@ -5,7 +5,7 @@ import { UFOExperience, ExperiencePerformanceTypes, ExperienceTypes } from '@atl
|
|
|
5
5
|
import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
6
6
|
import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
|
|
7
7
|
var packageName = "@atlaskit/media-viewer";
|
|
8
|
-
var packageVersion = "48.6.
|
|
8
|
+
var packageVersion = "48.6.15";
|
|
9
9
|
var ufoExperience;
|
|
10
10
|
var getExperience = function getExperience() {
|
|
11
11
|
if (!ufoExperience) {
|
|
@@ -450,7 +450,8 @@ export var ZoomRightControls = function ZoomRightControls(_ref14) {
|
|
|
450
450
|
export var ZoomLevelIndicator = function ZoomLevelIndicator(_ref15) {
|
|
451
451
|
var children = _ref15.children;
|
|
452
452
|
return jsx("span", {
|
|
453
|
-
css: zoomLevelIndicatorStyles
|
|
453
|
+
css: zoomLevelIndicatorStyles,
|
|
454
|
+
"data-testid": "zoom-level-indicator"
|
|
454
455
|
}, children);
|
|
455
456
|
};
|
|
456
457
|
export var HDIconGroupWrapper = function HDIconGroupWrapper(_ref16) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-viewer",
|
|
3
|
-
"version": "48.6.
|
|
3
|
+
"version": "48.6.15",
|
|
4
4
|
"description": "MediaViewer is Atlassian's powerful solution for viewing files on the web. It's both powerful and extendable yet easy-to-integrate",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@atlaskit/analytics-next": "^
|
|
38
|
+
"@atlaskit/analytics-next": "^10.0.0",
|
|
39
39
|
"@atlaskit/button": "^19.1.0",
|
|
40
40
|
"@atlaskit/code": "^15.4.0",
|
|
41
41
|
"@atlaskit/form": "^10.4.0",
|
|
42
|
-
"@atlaskit/icon": "^22.
|
|
42
|
+
"@atlaskit/icon": "^22.10.0",
|
|
43
43
|
"@atlaskit/icon-file-type": "^6.4.0",
|
|
44
44
|
"@atlaskit/media-client": "^27.3.0",
|
|
45
45
|
"@atlaskit/media-client-react": "^2.0.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/spinner": "^16.2.0",
|
|
53
53
|
"@atlaskit/textfield": "^6.4.0",
|
|
54
54
|
"@atlaskit/theme": "^12.11.0",
|
|
55
|
-
"@atlaskit/tokens": "^1.
|
|
55
|
+
"@atlaskit/tokens": "^1.57.0",
|
|
56
56
|
"@atlaskit/ufo": "^0.2.0",
|
|
57
57
|
"@babel/runtime": "^7.0.0",
|
|
58
58
|
"@kenjiuno/msgreader": "^1.2.6",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@atlaskit/media-test-data": "^2.4.0",
|
|
83
83
|
"@atlaskit/media-test-helpers": "^34.0.0",
|
|
84
84
|
"@atlaskit/ssr": "*",
|
|
85
|
-
"@atlaskit/toggle": "13.2.
|
|
85
|
+
"@atlaskit/toggle": "13.2.1",
|
|
86
86
|
"@atlaskit/visual-regression": "*",
|
|
87
87
|
"@atlassian/feature-flags-test-utils": "*",
|
|
88
88
|
"@atlassian/ufo": "^0.3.0",
|