@atlaskit/media-viewer 52.0.0 → 52.0.1
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 +6 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/analytics/ufoExperiences.js +1 -1
- package/dist/cjs/viewers/codeViewer/styles.js +1 -1
- package/dist/cjs/viewers/doc/pdfPasswordInput.js +2 -2
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/analytics/ufoExperiences.js +1 -1
- package/dist/es2019/viewers/codeViewer/styles.js +1 -1
- package/dist/es2019/viewers/doc/pdfPasswordInput.js +2 -2
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/analytics/ufoExperiences.js +1 -1
- package/dist/esm/viewers/codeViewer/styles.js +1 -1
- package/dist/esm/viewers/doc/pdfPasswordInput.js +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -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 = "52.0.
|
|
13
|
+
var packageVersion = exports.packageVersion = "52.0.1";
|
|
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 = "52.0.
|
|
15
|
+
var packageVersion = "52.0.1";
|
|
16
16
|
var ufoExperience;
|
|
17
17
|
var getExperience = function getExperience() {
|
|
18
18
|
if (!ufoExperience) {
|
|
@@ -35,6 +35,6 @@ var codeViewerHTMLStyles = exports.codeViewerHTMLStyles = (0, _react.css)({
|
|
|
35
35
|
display: 'flex',
|
|
36
36
|
overflowX: 'auto',
|
|
37
37
|
whiteSpace: 'pre',
|
|
38
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
38
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
39
39
|
padding: "var(--ds-space-100, 8px)"
|
|
40
40
|
});
|
|
@@ -29,7 +29,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
29
29
|
|
|
30
30
|
var COLOR_SHADE = '#b6c2cf';
|
|
31
31
|
var headingStyle = (0, _react2.css)({
|
|
32
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
32
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
33
33
|
fontWeight: "var(--ds-font-weight-bold, 700)",
|
|
34
34
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
35
35
|
color: COLOR_SHADE
|
|
@@ -38,7 +38,7 @@ var errorMessageWrapperStyle = (0, _react2.css)({
|
|
|
38
38
|
marginTop: "var(--ds-space-050, 4px)",
|
|
39
39
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
40
40
|
color: '#FD9891',
|
|
41
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
41
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
42
42
|
display: 'flex',
|
|
43
43
|
alignItems: 'center'
|
|
44
44
|
});
|
|
@@ -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 = "52.0.
|
|
4
|
+
const packageVersion = "52.0.1";
|
|
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 = "52.0.
|
|
5
|
+
const packageVersion = "52.0.1";
|
|
6
6
|
let ufoExperience;
|
|
7
7
|
const getExperience = () => {
|
|
8
8
|
if (!ufoExperience) {
|
|
@@ -27,6 +27,6 @@ export const codeViewerHTMLStyles = css({
|
|
|
27
27
|
display: 'flex',
|
|
28
28
|
overflowX: 'auto',
|
|
29
29
|
whiteSpace: 'pre',
|
|
30
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
30
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
31
31
|
padding: "var(--ds-space-100, 8px)"
|
|
32
32
|
});
|
|
@@ -16,7 +16,7 @@ import { jsx, css } from '@emotion/react';
|
|
|
16
16
|
import ErrorIcon from '@atlaskit/icon/utility/migration/error';
|
|
17
17
|
const COLOR_SHADE = '#b6c2cf';
|
|
18
18
|
const headingStyle = css({
|
|
19
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
19
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
20
20
|
fontWeight: "var(--ds-font-weight-bold, 700)",
|
|
21
21
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
22
22
|
color: COLOR_SHADE
|
|
@@ -25,7 +25,7 @@ const errorMessageWrapperStyle = css({
|
|
|
25
25
|
marginTop: "var(--ds-space-050, 4px)",
|
|
26
26
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
27
27
|
color: '#FD9891',
|
|
28
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
28
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
29
29
|
display: 'flex',
|
|
30
30
|
alignItems: 'center'
|
|
31
31
|
});
|
|
@@ -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 = "52.0.
|
|
4
|
+
var packageVersion = "52.0.1";
|
|
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 = "52.0.
|
|
8
|
+
var packageVersion = "52.0.1";
|
|
9
9
|
var ufoExperience;
|
|
10
10
|
var getExperience = function getExperience() {
|
|
11
11
|
if (!ufoExperience) {
|
|
@@ -27,6 +27,6 @@ export var codeViewerHTMLStyles = css({
|
|
|
27
27
|
display: 'flex',
|
|
28
28
|
overflowX: 'auto',
|
|
29
29
|
whiteSpace: 'pre',
|
|
30
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
30
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
31
31
|
padding: "var(--ds-space-100, 8px)"
|
|
32
32
|
});
|
|
@@ -17,7 +17,7 @@ import { jsx, css } from '@emotion/react';
|
|
|
17
17
|
import ErrorIcon from '@atlaskit/icon/utility/migration/error';
|
|
18
18
|
var COLOR_SHADE = '#b6c2cf';
|
|
19
19
|
var headingStyle = css({
|
|
20
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
20
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
21
21
|
fontWeight: "var(--ds-font-weight-bold, 700)",
|
|
22
22
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
23
23
|
color: COLOR_SHADE
|
|
@@ -26,7 +26,7 @@ var errorMessageWrapperStyle = css({
|
|
|
26
26
|
marginTop: "var(--ds-space-050, 4px)",
|
|
27
27
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
28
28
|
color: '#FD9891',
|
|
29
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu,
|
|
29
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
30
30
|
display: 'flex',
|
|
31
31
|
alignItems: 'center'
|
|
32
32
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-viewer",
|
|
3
|
-
"version": "52.0.
|
|
3
|
+
"version": "52.0.1",
|
|
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/"
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"@atlaskit/side-navigation": "^6.0.0",
|
|
54
54
|
"@atlaskit/spinner": "^18.0.0",
|
|
55
55
|
"@atlaskit/textfield": "^8.0.0",
|
|
56
|
-
"@atlaskit/theme": "^
|
|
57
|
-
"@atlaskit/tokens": "^4.
|
|
56
|
+
"@atlaskit/theme": "^18.0.0",
|
|
57
|
+
"@atlaskit/tokens": "^4.3.0",
|
|
58
58
|
"@atlaskit/tooltip": "^20.0.0",
|
|
59
59
|
"@atlaskit/ufo": "^0.4.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@atlaskit/media-test-data": "^3.0.0",
|
|
86
86
|
"@atlaskit/media-test-helpers": "^35.0.0",
|
|
87
87
|
"@atlaskit/ssr": "*",
|
|
88
|
-
"@atlaskit/toggle": "15.0.
|
|
88
|
+
"@atlaskit/toggle": "15.0.1",
|
|
89
89
|
"@atlaskit/visual-regression": "*",
|
|
90
90
|
"@atlassian/feature-flags-test-utils": "*",
|
|
91
91
|
"@atlassian/ufo": "^0.6.0",
|