@atlaskit/media-viewer 52.4.8 → 52.4.9
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 +9 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/analytics/ufoExperiences.js +1 -1
- package/dist/cjs/content.js +2 -2
- package/dist/cjs/viewers/doc/pdfPasswordInput-compiled.js +2 -2
- package/dist/cjs/viewers/doc/pdfPasswordInput-emotion.js +2 -2
- package/dist/cjs/viewers/doc-next/passwordInput.js +2 -2
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/analytics/ufoExperiences.js +1 -1
- package/dist/es2019/content.js +1 -1
- package/dist/es2019/viewers/doc/pdfPasswordInput-compiled.js +1 -1
- package/dist/es2019/viewers/doc/pdfPasswordInput-emotion.js +1 -1
- package/dist/es2019/viewers/doc-next/passwordInput.js +1 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/analytics/ufoExperiences.js +1 -1
- package/dist/esm/content.js +1 -1
- package/dist/esm/viewers/doc/pdfPasswordInput-compiled.js +1 -1
- package/dist/esm/viewers/doc/pdfPasswordInput-emotion.js +1 -1
- package/dist/esm/viewers/doc-next/passwordInput.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/media-viewer
|
|
2
2
|
|
|
3
|
+
## 52.4.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#188952](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188952)
|
|
8
|
+
[`1a88e6e2601ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a88e6e2601ae) -
|
|
9
|
+
Migrated usage of renamed/deprecated icons
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 52.4.8
|
|
4
13
|
|
|
5
14
|
### 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 = "52.4.
|
|
13
|
+
var packageVersion = exports.packageVersion = "52.4.8";
|
|
14
14
|
function getFileAttributes(fileState) {
|
|
15
15
|
if (!fileState) {
|
|
16
16
|
return {
|
|
@@ -13,7 +13,7 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
|
13
13
|
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; }
|
|
14
14
|
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; }
|
|
15
15
|
var packageName = "@atlaskit/media-viewer";
|
|
16
|
-
var packageVersion = "52.4.
|
|
16
|
+
var packageVersion = "52.4.8";
|
|
17
17
|
var ufoExperience;
|
|
18
18
|
var getExperience = function getExperience() {
|
|
19
19
|
if (!ufoExperience) {
|
package/dist/cjs/content.js
CHANGED
|
@@ -12,7 +12,7 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
|
12
12
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
13
13
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
|
-
var
|
|
15
|
+
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/migration/cross"));
|
|
16
16
|
var _mediaUi = require("@atlaskit/media-ui");
|
|
17
17
|
var _styleWrappers = require("./styleWrappers");
|
|
18
18
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -47,7 +47,7 @@ var Content = exports.Content = /*#__PURE__*/function (_Component) {
|
|
|
47
47
|
}, /*#__PURE__*/_react.default.createElement(_mediaUi.MediaButton, {
|
|
48
48
|
testId: "media-viewer-close-button",
|
|
49
49
|
onClick: onClose,
|
|
50
|
-
iconBefore: /*#__PURE__*/_react.default.createElement(
|
|
50
|
+
iconBefore: /*#__PURE__*/_react.default.createElement(_cross.default, {
|
|
51
51
|
color: "currentColor",
|
|
52
52
|
spacing: "spacious",
|
|
53
53
|
label: "Close"
|
|
@@ -20,7 +20,7 @@ var _form = _interopRequireWildcard(require("@atlaskit/form"));
|
|
|
20
20
|
var _reactIntlNext = require("react-intl-next");
|
|
21
21
|
var _mediaUi = require("@atlaskit/media-ui");
|
|
22
22
|
var _primitives = require("@atlaskit/primitives");
|
|
23
|
-
var
|
|
23
|
+
var _statusErrorError = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-error--error"));
|
|
24
24
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
25
25
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
26
26
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
@@ -105,7 +105,7 @@ var PDFPasswordInput = exports.PDFPasswordInput = function PDFPasswordInput(_ref
|
|
|
105
105
|
})), formError && /*#__PURE__*/React.createElement("div", {
|
|
106
106
|
id: "".concat(fieldProps.id, "-error"),
|
|
107
107
|
className: (0, _runtime.ax)(["_11c8dcr7 _19pk1b66 _1e0c1txw _4cvr1h6o _syaz1366 _125x1366"])
|
|
108
|
-
}, /*#__PURE__*/React.createElement(
|
|
108
|
+
}, /*#__PURE__*/React.createElement(_statusErrorError.default, {
|
|
109
109
|
color: "currentColor",
|
|
110
110
|
LEGACY_size: "small",
|
|
111
111
|
label: "",
|
|
@@ -17,7 +17,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
17
17
|
var _mediaUi = require("@atlaskit/media-ui");
|
|
18
18
|
var _primitives = require("@atlaskit/primitives");
|
|
19
19
|
var _react2 = require("@emotion/react");
|
|
20
|
-
var
|
|
20
|
+
var _statusErrorError = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-error--error"));
|
|
21
21
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
22
22
|
/**
|
|
23
23
|
* @jsxRuntime classic
|
|
@@ -119,7 +119,7 @@ var PDFPasswordInput = exports.PDFPasswordInput = function PDFPasswordInput(_ref
|
|
|
119
119
|
})), formError && (0, _react2.jsx)("div", {
|
|
120
120
|
css: errorMessageWrapperStyle,
|
|
121
121
|
id: "".concat(fieldProps.id, "-error")
|
|
122
|
-
}, (0, _react2.jsx)(
|
|
122
|
+
}, (0, _react2.jsx)(_statusErrorError.default, {
|
|
123
123
|
color: "currentColor",
|
|
124
124
|
LEGACY_size: "small",
|
|
125
125
|
label: "",
|
|
@@ -20,7 +20,7 @@ var _form = _interopRequireWildcard(require("@atlaskit/form"));
|
|
|
20
20
|
var _reactIntlNext = require("react-intl-next");
|
|
21
21
|
var _mediaUi = require("@atlaskit/media-ui");
|
|
22
22
|
var _primitives = require("@atlaskit/primitives");
|
|
23
|
-
var
|
|
23
|
+
var _statusErrorError = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-error--error"));
|
|
24
24
|
var _heading = _interopRequireDefault(require("@atlaskit/heading"));
|
|
25
25
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
26
26
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
@@ -105,7 +105,7 @@ var PasswordInput = exports.PasswordInput = function PasswordInput(_ref) {
|
|
|
105
105
|
})), formError && /*#__PURE__*/React.createElement("div", {
|
|
106
106
|
id: "".concat(fieldProps.id, "-error"),
|
|
107
107
|
className: (0, _runtime.ax)(["_11c8dcr7 _19pk1b66 _1e0c1txw _4cvr1h6o _syaz1366 _125x1366"])
|
|
108
|
-
}, /*#__PURE__*/React.createElement(
|
|
108
|
+
}, /*#__PURE__*/React.createElement(_statusErrorError.default, {
|
|
109
109
|
color: "currentColor",
|
|
110
110
|
LEGACY_size: "small",
|
|
111
111
|
label: "",
|
|
@@ -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.4.
|
|
4
|
+
const packageVersion = "52.4.8";
|
|
5
5
|
export { packageName, packageVersion, componentName, componentName as component };
|
|
6
6
|
export function getFileAttributes(fileState) {
|
|
7
7
|
if (!fileState) {
|
|
@@ -3,7 +3,7 @@ import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
|
3
3
|
import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
5
|
const packageName = "@atlaskit/media-viewer";
|
|
6
|
-
const packageVersion = "52.4.
|
|
6
|
+
const packageVersion = "52.4.8";
|
|
7
7
|
let ufoExperience;
|
|
8
8
|
const getExperience = () => {
|
|
9
9
|
if (!ufoExperience) {
|
package/dist/es2019/content.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Component } from 'react';
|
|
3
|
-
import CrossIcon from '@atlaskit/icon/core/migration/
|
|
3
|
+
import CrossIcon from '@atlaskit/icon/core/migration/cross';
|
|
4
4
|
import { MediaButton, hideControlsClassName, InactivityDetector } from '@atlaskit/media-ui';
|
|
5
5
|
import { CloseButtonWrapper, ContentWrapper } from './styleWrappers';
|
|
6
6
|
export class Content extends Component {
|
|
@@ -13,7 +13,7 @@ import { messages } from '@atlaskit/media-ui';
|
|
|
13
13
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
14
14
|
import { xcss, Box, Flex, Text } from '@atlaskit/primitives';
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
16
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
17
17
|
import Heading from '@atlaskit/heading';
|
|
18
18
|
const COLOR_SHADE = '#b6c2cf';
|
|
19
19
|
const ERROR_COLOR = '#FD9891';
|
|
@@ -14,7 +14,7 @@ import { messages } from '@atlaskit/media-ui';
|
|
|
14
14
|
import { xcss, Box, Flex } from '@atlaskit/primitives';
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
16
|
import { jsx, css } from '@emotion/react';
|
|
17
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
17
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
18
18
|
const COLOR_SHADE = '#b6c2cf';
|
|
19
19
|
const headingStyle = css({
|
|
20
20
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
@@ -13,7 +13,7 @@ import { messages } from '@atlaskit/media-ui';
|
|
|
13
13
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
14
14
|
import { xcss, Box, Flex, Text } from '@atlaskit/primitives';
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
16
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
17
17
|
import Heading from '@atlaskit/heading';
|
|
18
18
|
const COLOR_SHADE = '#b6c2cf';
|
|
19
19
|
const ERROR_COLOR = '#FD9891';
|
|
@@ -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.4.
|
|
4
|
+
var packageVersion = "52.4.8";
|
|
5
5
|
export { packageName, packageVersion, componentName, componentName as component };
|
|
6
6
|
export function getFileAttributes(fileState) {
|
|
7
7
|
if (!fileState) {
|
|
@@ -6,7 +6,7 @@ import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
|
6
6
|
import { getFeatureFlagKeysAllProducts } from '@atlaskit/media-common';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
var packageName = "@atlaskit/media-viewer";
|
|
9
|
-
var packageVersion = "52.4.
|
|
9
|
+
var packageVersion = "52.4.8";
|
|
10
10
|
var ufoExperience;
|
|
11
11
|
var getExperience = function getExperience() {
|
|
12
12
|
if (!ufoExperience) {
|
package/dist/esm/content.js
CHANGED
|
@@ -7,7 +7,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
7
7
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { Component } from 'react';
|
|
10
|
-
import CrossIcon from '@atlaskit/icon/core/migration/
|
|
10
|
+
import CrossIcon from '@atlaskit/icon/core/migration/cross';
|
|
11
11
|
import { MediaButton, hideControlsClassName, InactivityDetector } from '@atlaskit/media-ui';
|
|
12
12
|
import { CloseButtonWrapper, ContentWrapper } from './styleWrappers';
|
|
13
13
|
export var Content = /*#__PURE__*/function (_Component) {
|
|
@@ -14,7 +14,7 @@ import { messages } from '@atlaskit/media-ui';
|
|
|
14
14
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
15
15
|
import { xcss, Box, Flex, Text } from '@atlaskit/primitives';
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
17
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
18
18
|
import Heading from '@atlaskit/heading';
|
|
19
19
|
var COLOR_SHADE = '#b6c2cf';
|
|
20
20
|
var ERROR_COLOR = '#FD9891';
|
|
@@ -15,7 +15,7 @@ import { messages } from '@atlaskit/media-ui';
|
|
|
15
15
|
import { xcss, Box, Flex } from '@atlaskit/primitives';
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
17
|
import { jsx, css } from '@emotion/react';
|
|
18
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
18
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
19
19
|
var COLOR_SHADE = '#b6c2cf';
|
|
20
20
|
var headingStyle = css({
|
|
21
21
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
@@ -14,7 +14,7 @@ import { messages } from '@atlaskit/media-ui';
|
|
|
14
14
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
15
15
|
import { xcss, Box, Flex, Text } from '@atlaskit/primitives';
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
17
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
18
18
|
import Heading from '@atlaskit/heading';
|
|
19
19
|
var COLOR_SHADE = '#b6c2cf';
|
|
20
20
|
var ERROR_COLOR = '#FD9891';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-viewer",
|
|
3
|
-
"version": "52.4.
|
|
3
|
+
"version": "52.4.9",
|
|
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/"
|