@atlaskit/media-card 82.1.36 → 82.1.37
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/card/card.js +1 -1
- package/dist/cjs/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/cjs/card/ui/openMediaViewerButton/openMediaViewerButton.js +2 -2
- package/dist/cjs/inline/loader.js +1 -1
- package/dist/cjs/utils/ufoExperiences.js +1 -1
- package/dist/es2019/card/card.js +1 -1
- package/dist/es2019/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/es2019/card/ui/openMediaViewerButton/openMediaViewerButton.js +1 -1
- package/dist/es2019/inline/loader.js +1 -1
- package/dist/es2019/utils/ufoExperiences.js +1 -1
- package/dist/esm/card/card.js +1 -1
- package/dist/esm/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/esm/card/ui/openMediaViewerButton/openMediaViewerButton.js +1 -1
- package/dist/esm/inline/loader.js +1 -1
- package/dist/esm/utils/ufoExperiences.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/dist/cjs/card/card.js
CHANGED
|
@@ -8,7 +8,7 @@ var _reactIntl = require("react-intl");
|
|
|
8
8
|
var _withMediaAnalyticsContext = require("@atlaskit/media-common/withMediaAnalyticsContext");
|
|
9
9
|
var _CardWithPerformanceObserver = require("./CardWithPerformanceObserver");
|
|
10
10
|
var packageName = "@atlaskit/media-card";
|
|
11
|
-
var packageVersion = "82.1.
|
|
11
|
+
var packageVersion = "82.1.36";
|
|
12
12
|
var Card = exports.Card = (0, _withMediaAnalyticsContext.withMediaAnalyticsContext)({
|
|
13
13
|
packageVersion: packageVersion,
|
|
14
14
|
packageName: packageName,
|
|
@@ -87,7 +87,7 @@ var WrappedMediaCardAnalyticsErrorBoundary = /*#__PURE__*/function (_React$Compo
|
|
|
87
87
|
}(_react.default.Component);
|
|
88
88
|
(0, _defineProperty2.default)(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
|
|
89
89
|
var packageName = "@atlaskit/media-card";
|
|
90
|
-
var packageVersion = "82.1.
|
|
90
|
+
var packageVersion = "82.1.36";
|
|
91
91
|
|
|
92
92
|
// @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
|
|
93
93
|
var MediaCardAnalyticsErrorBoundary = (0, _withMediaAnalyticsContext.withMediaAnalyticsContext)({
|
|
@@ -11,7 +11,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
11
11
|
var _reactIntl = require("react-intl");
|
|
12
12
|
var _messages = require("@atlaskit/media-ui/messages");
|
|
13
13
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
14
|
-
var
|
|
14
|
+
var _pressable = require("@atlaskit/primitives/compiled/pressable");
|
|
15
15
|
var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden/visually-hidden"));
|
|
16
16
|
var _excluded = ["fileName", "innerRef"];
|
|
17
17
|
var OpenMediaViewerButton = function OpenMediaViewerButton(_ref) {
|
|
@@ -19,7 +19,7 @@ var OpenMediaViewerButton = function OpenMediaViewerButton(_ref) {
|
|
|
19
19
|
innerRef = _ref.innerRef,
|
|
20
20
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
21
21
|
var intl = (0, _reactIntl.useIntl)();
|
|
22
|
-
return /*#__PURE__*/_react.default.createElement(_visuallyHidden.default, null, /*#__PURE__*/_react.default.createElement(
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(_visuallyHidden.default, null, /*#__PURE__*/_react.default.createElement(_pressable.Pressable, (0, _extends2.default)({
|
|
23
23
|
ref: innerRef
|
|
24
24
|
}, props, (0, _fg.fg)('create_modernization_ga_fixes_drop_2') ? {
|
|
25
25
|
'aria-label': intl.formatMessage(_messages.messages.open_file_in_viewer_aria_label, {
|
|
@@ -116,7 +116,7 @@ var MediaInlineCardLoader = exports.default = /*#__PURE__*/function (_React$Pure
|
|
|
116
116
|
ErrorBoundary = _this$state.ErrorBoundary;
|
|
117
117
|
var analyticsContext = {
|
|
118
118
|
packageVersion: "@atlaskit/media-card",
|
|
119
|
-
packageName: "82.1.
|
|
119
|
+
packageName: "82.1.36",
|
|
120
120
|
componentName: 'mediaInlineCard',
|
|
121
121
|
component: 'mediaInlineCard'
|
|
122
122
|
};
|
|
@@ -23,7 +23,7 @@ var _getMediaGlobalScope = require("./globalScope/getMediaGlobalScope");
|
|
|
23
23
|
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; }
|
|
24
24
|
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; }
|
|
25
25
|
var packageName = "@atlaskit/media-card";
|
|
26
|
-
var packageVersion = "82.1.
|
|
26
|
+
var packageVersion = "82.1.36";
|
|
27
27
|
var SAMPLE_RATE = 0.05;
|
|
28
28
|
|
|
29
29
|
/**
|
package/dist/es2019/card/card.js
CHANGED
|
@@ -2,7 +2,7 @@ import { injectIntl } from 'react-intl';
|
|
|
2
2
|
import { withMediaAnalyticsContext } from '@atlaskit/media-common/withMediaAnalyticsContext';
|
|
3
3
|
import { CardWithPerformanceObserver } from './CardWithPerformanceObserver';
|
|
4
4
|
const packageName = "@atlaskit/media-card";
|
|
5
|
-
const packageVersion = "82.1.
|
|
5
|
+
const packageVersion = "82.1.36";
|
|
6
6
|
export const Card = withMediaAnalyticsContext({
|
|
7
7
|
packageVersion,
|
|
8
8
|
packageName,
|
|
@@ -66,7 +66,7 @@ class WrappedMediaCardAnalyticsErrorBoundary extends React.Component {
|
|
|
66
66
|
}
|
|
67
67
|
_defineProperty(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
|
|
68
68
|
const packageName = "@atlaskit/media-card";
|
|
69
|
-
const packageVersion = "82.1.
|
|
69
|
+
const packageVersion = "82.1.36";
|
|
70
70
|
|
|
71
71
|
// @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
|
|
72
72
|
const MediaCardAnalyticsErrorBoundary = withMediaAnalyticsContext({
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { injectIntl, IntlProvider, useIntl } from 'react-intl';
|
|
4
4
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
|
-
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
7
7
|
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
8
8
|
const OpenMediaViewerButton = ({
|
|
9
9
|
fileName,
|
|
@@ -37,7 +37,7 @@ export default class MediaInlineCardLoader extends React.PureComponent {
|
|
|
37
37
|
} = this.state;
|
|
38
38
|
const analyticsContext = {
|
|
39
39
|
packageVersion: "@atlaskit/media-card",
|
|
40
|
-
packageName: "82.1.
|
|
40
|
+
packageName: "82.1.36",
|
|
41
41
|
componentName: 'mediaInlineCard',
|
|
42
42
|
component: 'mediaInlineCard'
|
|
43
43
|
};
|
|
@@ -12,7 +12,7 @@ import { extractErrorInfo } from './analytics/extractErrorInfo';
|
|
|
12
12
|
import { getRenderErrorRequestMetadata } from './analytics/getRenderErrorRequestMetadata';
|
|
13
13
|
import { getMediaGlobalScope } from './globalScope/getMediaGlobalScope';
|
|
14
14
|
const packageName = "@atlaskit/media-card";
|
|
15
|
-
const packageVersion = "82.1.
|
|
15
|
+
const packageVersion = "82.1.36";
|
|
16
16
|
const SAMPLE_RATE = 0.05;
|
|
17
17
|
|
|
18
18
|
/**
|
package/dist/esm/card/card.js
CHANGED
|
@@ -2,7 +2,7 @@ import { injectIntl } from 'react-intl';
|
|
|
2
2
|
import { withMediaAnalyticsContext } from '@atlaskit/media-common/withMediaAnalyticsContext';
|
|
3
3
|
import { CardWithPerformanceObserver } from './CardWithPerformanceObserver';
|
|
4
4
|
var packageName = "@atlaskit/media-card";
|
|
5
|
-
var packageVersion = "82.1.
|
|
5
|
+
var packageVersion = "82.1.36";
|
|
6
6
|
export var Card = withMediaAnalyticsContext({
|
|
7
7
|
packageVersion: packageVersion,
|
|
8
8
|
packageName: packageName,
|
|
@@ -80,7 +80,7 @@ var WrappedMediaCardAnalyticsErrorBoundary = /*#__PURE__*/function (_React$Compo
|
|
|
80
80
|
}(React.Component);
|
|
81
81
|
_defineProperty(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
|
|
82
82
|
var packageName = "@atlaskit/media-card";
|
|
83
|
-
var packageVersion = "82.1.
|
|
83
|
+
var packageVersion = "82.1.36";
|
|
84
84
|
|
|
85
85
|
// @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
|
|
86
86
|
var MediaCardAnalyticsErrorBoundary = withMediaAnalyticsContext({
|
|
@@ -5,7 +5,7 @@ import React from 'react';
|
|
|
5
5
|
import { injectIntl, IntlProvider, useIntl } from 'react-intl';
|
|
6
6
|
import { messages } from '@atlaskit/media-ui/messages';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
|
-
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
9
9
|
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
10
10
|
var OpenMediaViewerButton = function OpenMediaViewerButton(_ref) {
|
|
11
11
|
var fileName = _ref.fileName,
|
|
@@ -101,7 +101,7 @@ var MediaInlineCardLoader = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
101
101
|
ErrorBoundary = _this$state.ErrorBoundary;
|
|
102
102
|
var analyticsContext = {
|
|
103
103
|
packageVersion: "@atlaskit/media-card",
|
|
104
|
-
packageName: "82.1.
|
|
104
|
+
packageName: "82.1.36",
|
|
105
105
|
componentName: 'mediaInlineCard',
|
|
106
106
|
component: 'mediaInlineCard'
|
|
107
107
|
};
|
|
@@ -16,7 +16,7 @@ import { extractErrorInfo } from './analytics/extractErrorInfo';
|
|
|
16
16
|
import { getRenderErrorRequestMetadata } from './analytics/getRenderErrorRequestMetadata';
|
|
17
17
|
import { getMediaGlobalScope } from './globalScope/getMediaGlobalScope';
|
|
18
18
|
var packageName = "@atlaskit/media-card";
|
|
19
|
-
var packageVersion = "82.1.
|
|
19
|
+
var packageVersion = "82.1.36";
|
|
20
20
|
var SAMPLE_RATE = 0.05;
|
|
21
21
|
|
|
22
22
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-card",
|
|
3
|
-
"version": "82.1.
|
|
3
|
+
"version": "82.1.37",
|
|
4
4
|
"description": "Includes all media card related components, CardView, CardViewSmall, Card...",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/analytics-next": "^12.6.0",
|
|
37
37
|
"@atlaskit/dropdown-menu": "^21.0.0",
|
|
38
|
-
"@atlaskit/editor-shared-styles": "^4.
|
|
38
|
+
"@atlaskit/editor-shared-styles": "^4.5.0",
|
|
39
39
|
"@atlaskit/icon": "^38.0.0",
|
|
40
40
|
"@atlaskit/interaction-context": "^4.1.0",
|
|
41
41
|
"@atlaskit/link": "^5.1.0",
|
|
42
|
-
"@atlaskit/media-client": "^39.
|
|
42
|
+
"@atlaskit/media-client": "^39.2.0",
|
|
43
43
|
"@atlaskit/media-client-react": "^7.0.0",
|
|
44
|
-
"@atlaskit/media-common": "^14.
|
|
44
|
+
"@atlaskit/media-common": "^14.7.0",
|
|
45
45
|
"@atlaskit/media-file-preview": "^2.0.0",
|
|
46
46
|
"@atlaskit/media-state": "^4.0.0",
|
|
47
47
|
"@atlaskit/media-svg": "^4.0.0",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"@atlaskit/media-viewer": "^54.11.0",
|
|
50
50
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
51
51
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
52
|
-
"@atlaskit/primitives": "^22.
|
|
52
|
+
"@atlaskit/primitives": "^22.6.0",
|
|
53
53
|
"@atlaskit/progress-bar": "^5.3.0",
|
|
54
54
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
55
55
|
"@atlaskit/react-ufo": "^8.1.0",
|
|
56
56
|
"@atlaskit/section-message": "^10.2.0",
|
|
57
57
|
"@atlaskit/theme": "^28.2.0",
|
|
58
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
58
|
+
"@atlaskit/tmp-editor-statsig": "^241.0.0",
|
|
59
59
|
"@atlaskit/tokens": "^20.6.0",
|
|
60
60
|
"@atlaskit/tooltip": "^24.4.0",
|
|
61
61
|
"@atlaskit/ufo": "^2.0.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@atlaskit/heading": "^8.0.0",
|
|
85
85
|
"@atlaskit/inline-message": "^16.4.0",
|
|
86
86
|
"@atlaskit/media-core": "^39.0.0",
|
|
87
|
-
"@atlaskit/media-picker": "^73.
|
|
87
|
+
"@atlaskit/media-picker": "^73.2.0",
|
|
88
88
|
"@atlaskit/media-test-data": "^4.0.0",
|
|
89
89
|
"@atlaskit/media-test-helpers": "^43.0.0",
|
|
90
90
|
"@atlaskit/radio": "^10.2.0",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
96
96
|
"@atlassian/experiment-test-utils": "^0.2.0",
|
|
97
97
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
98
|
-
"@atlassian/testing-library": "^0.
|
|
98
|
+
"@atlassian/testing-library": "^0.12.0",
|
|
99
99
|
"@atlassian/ufo": "^1.0.0",
|
|
100
100
|
"@atlassian/workbench": "workspace:^",
|
|
101
101
|
"@testing-library/dom": "^10.1.0",
|