@atlaskit/media-viewer 52.4.34 → 52.4.36
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 +13 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/analytics/ufoExperiences.js +1 -1
- package/dist/cjs/viewers/doc/pdfPasswordInput-compiled.js +0 -1
- package/dist/cjs/viewers/doc-next/passwordInput.js +0 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/analytics/ufoExperiences.js +1 -1
- package/dist/es2019/viewers/doc/pdfPasswordInput-compiled.js +0 -1
- package/dist/es2019/viewers/doc-next/passwordInput.js +0 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/analytics/ufoExperiences.js +1 -1
- package/dist/esm/viewers/doc/pdfPasswordInput-compiled.js +0 -1
- package/dist/esm/viewers/doc-next/passwordInput.js +0 -1
- package/dist/types/components/portal.d.ts +1 -1
- package/dist/types-ts4.5/components/portal.d.ts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/media-viewer
|
|
2
2
|
|
|
3
|
+
## 52.4.36
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d9471960330dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d9471960330dd) -
|
|
8
|
+
Remove duplicated inert `aria-required` attribute from Field components.
|
|
9
|
+
|
|
10
|
+
## 52.4.35
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 52.4.34
|
|
4
17
|
|
|
5
18
|
### 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 = "
|
|
13
|
+
var packageVersion = exports.packageVersion = "0.0.0-development";
|
|
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 = "
|
|
16
|
+
var packageVersion = "0.0.0-development";
|
|
17
17
|
var ufoExperience;
|
|
18
18
|
var getExperience = function getExperience() {
|
|
19
19
|
if (!ufoExperience) {
|
|
@@ -84,7 +84,6 @@ var PDFPasswordInput = exports.PDFPasswordInput = function PDFPasswordInput(_ref
|
|
|
84
84
|
as: "h1",
|
|
85
85
|
size: "medium"
|
|
86
86
|
}, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, _mediaUi.messages.password_protected_pdf)))), /*#__PURE__*/React.createElement(_form.Field, {
|
|
87
|
-
"aria-required": true,
|
|
88
87
|
name: "password",
|
|
89
88
|
defaultValue: "",
|
|
90
89
|
isRequired: true
|
|
@@ -84,7 +84,6 @@ var PasswordInput = exports.PasswordInput = function PasswordInput(_ref) {
|
|
|
84
84
|
as: "h1",
|
|
85
85
|
size: "medium"
|
|
86
86
|
}, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, _mediaUi.messages.password_protected_pdf)))), /*#__PURE__*/React.createElement(_form.Field, {
|
|
87
|
-
"aria-required": true,
|
|
88
87
|
name: "password",
|
|
89
88
|
defaultValue: "",
|
|
90
89
|
isRequired: true
|
|
@@ -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 = "
|
|
4
|
+
const packageVersion = "0.0.0-development";
|
|
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 = "
|
|
6
|
+
const packageVersion = "0.0.0-development";
|
|
7
7
|
let ufoExperience;
|
|
8
8
|
const getExperience = () => {
|
|
9
9
|
if (!ufoExperience) {
|
|
@@ -72,7 +72,6 @@ export const PDFPasswordInput = ({
|
|
|
72
72
|
as: "h1",
|
|
73
73
|
size: "medium"
|
|
74
74
|
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.password_protected_pdf)))), /*#__PURE__*/React.createElement(Field, {
|
|
75
|
-
"aria-required": true,
|
|
76
75
|
name: "password",
|
|
77
76
|
defaultValue: "",
|
|
78
77
|
isRequired: true
|
|
@@ -72,7 +72,6 @@ export const PasswordInput = ({
|
|
|
72
72
|
as: "h1",
|
|
73
73
|
size: "medium"
|
|
74
74
|
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.password_protected_pdf)))), /*#__PURE__*/React.createElement(Field, {
|
|
75
|
-
"aria-required": true,
|
|
76
75
|
name: "password",
|
|
77
76
|
defaultValue: "",
|
|
78
77
|
isRequired: true
|
|
@@ -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 = "
|
|
4
|
+
var packageVersion = "0.0.0-development";
|
|
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 = "
|
|
9
|
+
var packageVersion = "0.0.0-development";
|
|
10
10
|
var ufoExperience;
|
|
11
11
|
var getExperience = function getExperience() {
|
|
12
12
|
if (!ufoExperience) {
|
|
@@ -75,7 +75,6 @@ export var PDFPasswordInput = function PDFPasswordInput(_ref) {
|
|
|
75
75
|
as: "h1",
|
|
76
76
|
size: "medium"
|
|
77
77
|
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.password_protected_pdf)))), /*#__PURE__*/React.createElement(Field, {
|
|
78
|
-
"aria-required": true,
|
|
79
78
|
name: "password",
|
|
80
79
|
defaultValue: "",
|
|
81
80
|
isRequired: true
|
|
@@ -75,7 +75,6 @@ export var PasswordInput = function PasswordInput(_ref) {
|
|
|
75
75
|
as: "h1",
|
|
76
76
|
size: "medium"
|
|
77
77
|
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.password_protected_pdf)))), /*#__PURE__*/React.createElement(Field, {
|
|
78
|
-
"aria-required": true,
|
|
79
78
|
name: "password",
|
|
80
79
|
defaultValue: "",
|
|
81
80
|
isRequired: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-viewer",
|
|
3
|
-
"version": "52.4.
|
|
3
|
+
"version": "52.4.36",
|
|
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/"
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
35
35
|
"@atlaskit/button": "^23.6.0",
|
|
36
36
|
"@atlaskit/code": "^17.3.0",
|
|
37
|
-
"@atlaskit/css": "^0.
|
|
38
|
-
"@atlaskit/form": "^14.
|
|
37
|
+
"@atlaskit/css": "^0.17.0",
|
|
38
|
+
"@atlaskit/form": "^14.3.0",
|
|
39
39
|
"@atlaskit/heading": "^5.2.0",
|
|
40
40
|
"@atlaskit/icon": "^29.0.0",
|
|
41
41
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
@@ -48,12 +48,12 @@
|
|
|
48
48
|
"@atlaskit/media-ui": "^28.7.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
50
50
|
"@atlaskit/portal": "^5.1.0",
|
|
51
|
-
"@atlaskit/primitives": "^16.
|
|
51
|
+
"@atlaskit/primitives": "^16.3.0",
|
|
52
52
|
"@atlaskit/side-navigation": "^11.0.0",
|
|
53
53
|
"@atlaskit/spinner": "^19.0.0",
|
|
54
54
|
"@atlaskit/textfield": "^8.1.0",
|
|
55
55
|
"@atlaskit/theme": "^21.0.0",
|
|
56
|
-
"@atlaskit/tokens": "^8.
|
|
56
|
+
"@atlaskit/tokens": "^8.3.0",
|
|
57
57
|
"@atlaskit/tooltip": "^20.10.0",
|
|
58
58
|
"@atlaskit/ufo": "^0.4.0",
|
|
59
59
|
"@babel/runtime": "^7.0.0",
|