@atlaskit/media-card 81.4.17 → 81.4.18
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/ai-generating-overlay/AIGeneratingOverlay.js +1 -1
- package/dist/cjs/card/card.js +1 -1
- package/dist/cjs/card/fileCard.js +3 -3
- package/dist/cjs/card/inlinePlayerWrapper-compiled.js +1 -1
- package/dist/cjs/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/cjs/card/svgView/svgImage-compiled.js +1 -1
- package/dist/cjs/card/ui/actionsBar/actionsBarWrapper-compiled.js +1 -1
- package/dist/cjs/card/ui/actionsBar/cardActions/cardActionButton-compiled.js +1 -1
- package/dist/cjs/card/ui/aiBorder/aiBorder.js +1 -1
- package/dist/cjs/card/ui/blanket/blanket-compiled.js +1 -1
- package/dist/cjs/card/ui/iconMessage/iconMessageWrapper-compiled.js +1 -1
- package/dist/cjs/card/ui/iconWrapper/iconWrapper-compiled.js +1 -1
- package/dist/cjs/card/ui/imageRenderer/imageRendererV2.js +1 -1
- package/dist/cjs/card/ui/imageRenderer/wrapper.js +1 -1
- package/dist/cjs/card/ui/loadingBar/loadingBar.js +1 -1
- package/dist/cjs/card/ui/playButton/playButtonBackground-compiled.js +1 -1
- package/dist/cjs/card/ui/playButton/playButtonWrapper-compiled.js +1 -1
- package/dist/cjs/card/ui/progressBar/styledBar-compiled.js +1 -1
- package/dist/cjs/card/ui/tickBox/tickBoxWrapper-compiled.js +1 -1
- package/dist/cjs/card/ui/titleBox/failedTitleBox.js +1 -1
- package/dist/cjs/card/ui/titleBox/titleBoxComponents-compiled.js +1 -1
- package/dist/cjs/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.js +1 -1
- package/dist/cjs/card/ui/wrapper/imageContainer-compiled.js +1 -1
- package/dist/cjs/card/ui/wrapper/wrapper-compiled.js +1 -1
- package/dist/cjs/inline/loader.js +1 -1
- package/dist/cjs/utils/ufoExperiences.js +1 -1
- package/dist/es2019/card/ai-generating-overlay/AIGeneratingOverlay.js +1 -1
- package/dist/es2019/card/card.js +1 -1
- package/dist/es2019/card/fileCard.js +3 -3
- package/dist/es2019/card/inlinePlayerWrapper-compiled.js +1 -1
- package/dist/es2019/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/es2019/card/svgView/svgImage-compiled.js +1 -1
- package/dist/es2019/card/ui/actionsBar/actionsBarWrapper-compiled.js +1 -1
- package/dist/es2019/card/ui/actionsBar/cardActions/cardActionButton-compiled.js +1 -1
- package/dist/es2019/card/ui/aiBorder/aiBorder.js +1 -1
- package/dist/es2019/card/ui/blanket/blanket-compiled.js +1 -1
- package/dist/es2019/card/ui/iconMessage/iconMessageWrapper-compiled.js +1 -1
- package/dist/es2019/card/ui/iconWrapper/iconWrapper-compiled.js +1 -1
- package/dist/es2019/card/ui/imageRenderer/imageRendererV2.js +1 -1
- package/dist/es2019/card/ui/imageRenderer/wrapper.js +1 -1
- package/dist/es2019/card/ui/loadingBar/loadingBar.js +1 -1
- package/dist/es2019/card/ui/playButton/playButtonBackground-compiled.js +1 -1
- package/dist/es2019/card/ui/playButton/playButtonWrapper-compiled.js +1 -1
- package/dist/es2019/card/ui/progressBar/styledBar-compiled.js +1 -1
- package/dist/es2019/card/ui/tickBox/tickBoxWrapper-compiled.js +1 -1
- package/dist/es2019/card/ui/titleBox/failedTitleBox.js +1 -1
- package/dist/es2019/card/ui/titleBox/titleBoxComponents-compiled.js +1 -1
- package/dist/es2019/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.js +1 -1
- package/dist/es2019/card/ui/wrapper/imageContainer-compiled.js +1 -1
- package/dist/es2019/card/ui/wrapper/wrapper-compiled.js +1 -1
- package/dist/es2019/inline/loader.js +1 -1
- package/dist/es2019/utils/ufoExperiences.js +1 -1
- package/dist/esm/card/ai-generating-overlay/AIGeneratingOverlay.js +1 -1
- package/dist/esm/card/card.js +1 -1
- package/dist/esm/card/fileCard.js +3 -3
- package/dist/esm/card/inlinePlayerWrapper-compiled.js +1 -1
- package/dist/esm/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/esm/card/svgView/svgImage-compiled.js +1 -1
- package/dist/esm/card/ui/actionsBar/actionsBarWrapper-compiled.js +1 -1
- package/dist/esm/card/ui/actionsBar/cardActions/cardActionButton-compiled.js +1 -1
- package/dist/esm/card/ui/aiBorder/aiBorder.js +1 -1
- package/dist/esm/card/ui/blanket/blanket-compiled.js +1 -1
- package/dist/esm/card/ui/iconMessage/iconMessageWrapper-compiled.js +1 -1
- package/dist/esm/card/ui/iconWrapper/iconWrapper-compiled.js +1 -1
- package/dist/esm/card/ui/imageRenderer/imageRendererV2.js +1 -1
- package/dist/esm/card/ui/imageRenderer/wrapper.js +1 -1
- package/dist/esm/card/ui/loadingBar/loadingBar.js +1 -1
- package/dist/esm/card/ui/playButton/playButtonBackground-compiled.js +1 -1
- package/dist/esm/card/ui/playButton/playButtonWrapper-compiled.js +1 -1
- package/dist/esm/card/ui/progressBar/styledBar-compiled.js +1 -1
- package/dist/esm/card/ui/tickBox/tickBoxWrapper-compiled.js +1 -1
- package/dist/esm/card/ui/titleBox/failedTitleBox.js +1 -1
- package/dist/esm/card/ui/titleBox/titleBoxComponents-compiled.js +1 -1
- package/dist/esm/card/ui/unhandledErrorCard/unhandledErrorCard-compiled.js +1 -1
- package/dist/esm/card/ui/wrapper/imageContainer-compiled.js +1 -1
- package/dist/esm/card/ui/wrapper/wrapper-compiled.js +1 -1
- package/dist/esm/inline/loader.js +1 -1
- package/dist/esm/utils/ufoExperiences.js +1 -1
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
package/dist/cjs/card/card.js
CHANGED
|
@@ -20,7 +20,7 @@ var _label = _interopRequireDefault(require("@atlaskit/react-ufo/label"));
|
|
|
20
20
|
var _excluded = ["identifier"];
|
|
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
|
var packageName = "@atlaskit/media-card";
|
|
23
|
-
var packageVersion = "81.4.
|
|
23
|
+
var packageVersion = "81.4.17";
|
|
24
24
|
var CardBase = exports.CardBase = function CardBase(_ref) {
|
|
25
25
|
var identifier = _ref.identifier,
|
|
26
26
|
otherProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
@@ -48,10 +48,10 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
48
48
|
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; }
|
|
49
49
|
var traceContextRetriever = function traceContextRetriever() {
|
|
50
50
|
var trace = (0, _experienceTraceIdContext.getActiveTrace)();
|
|
51
|
-
if (trace
|
|
51
|
+
if (trace) {
|
|
52
52
|
return {
|
|
53
|
-
traceId: trace
|
|
54
|
-
spanId: trace
|
|
53
|
+
traceId: trace.traceId,
|
|
54
|
+
spanId: trace.spanId
|
|
55
55
|
};
|
|
56
56
|
} else {
|
|
57
57
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* inlinePlayerWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* inlinePlayerWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -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 = "81.4.
|
|
90
|
+
var packageVersion = "81.4.17";
|
|
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, _mediaCommon.withMediaAnalyticsContext)({
|
|
@@ -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: "81.4.
|
|
119
|
+
packageName: "81.4.17",
|
|
120
120
|
componentName: 'mediaInlineCard',
|
|
121
121
|
component: 'mediaInlineCard'
|
|
122
122
|
};
|
|
@@ -19,7 +19,7 @@ var _globalScope = require("./globalScope/globalScope");
|
|
|
19
19
|
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; }
|
|
20
20
|
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; }
|
|
21
21
|
var packageName = "@atlaskit/media-card";
|
|
22
|
-
var packageVersion = "81.4.
|
|
22
|
+
var packageVersion = "81.4.17";
|
|
23
23
|
var SAMPLE_RATE = 0.05;
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AIGeneratingOverlay.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* AIGeneratingOverlay.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
/** AI loading overlay rendered over a media node: blanket + sliding rainbow bar. */
|
|
3
3
|
import "./AIGeneratingOverlay.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
package/dist/es2019/card/card.js
CHANGED
|
@@ -9,7 +9,7 @@ import { startResourceObserver, setAnalyticsContext } from '../utils/mediaPerfor
|
|
|
9
9
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
10
10
|
import UFOLabel from '@atlaskit/react-ufo/label';
|
|
11
11
|
const packageName = "@atlaskit/media-card";
|
|
12
|
-
const packageVersion = "81.4.
|
|
12
|
+
const packageVersion = "81.4.17";
|
|
13
13
|
export const CardBase = ({
|
|
14
14
|
identifier,
|
|
15
15
|
...otherProps
|
|
@@ -33,10 +33,10 @@ import { getActiveTrace } from '@atlaskit/react-ufo/experience-trace-id-context'
|
|
|
33
33
|
import usePressTracing from '@atlaskit/react-ufo/use-press-tracing';
|
|
34
34
|
const traceContextRetriever = () => {
|
|
35
35
|
const trace = getActiveTrace();
|
|
36
|
-
if (trace
|
|
36
|
+
if (trace) {
|
|
37
37
|
return {
|
|
38
|
-
traceId: trace
|
|
39
|
-
spanId: trace
|
|
38
|
+
traceId: trace.traceId,
|
|
39
|
+
spanId: trace.spanId
|
|
40
40
|
};
|
|
41
41
|
} else {
|
|
42
42
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* inlinePlayerWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* inlinePlayerWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./inlinePlayerWrapper-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -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 = "81.4.
|
|
69
|
+
const packageVersion = "81.4.17";
|
|
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({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* svgImage-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* svgImage-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./svgImage-compiled.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* actionsBarWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* actionsBarWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./actionsBarWrapper-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* cardActionButton-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* cardActionButton-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./cardActionButton-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* blanket-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* blanket-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./blanket-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* iconMessageWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* iconMessageWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./iconMessageWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* iconWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* iconWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./iconWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* imageRendererV2.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* imageRendererV2.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./imageRendererV2.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useState, useRef, useEffect, useLayoutEffect } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* loadingBar.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* loadingBar.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./loadingBar.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useContext, useEffect, useLayoutEffect as useRealLayoutEffect, useRef, useState } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* playButtonBackground-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* playButtonBackground-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./playButtonBackground-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* playButtonWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* playButtonWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./playButtonWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styledBar-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* styledBar-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./styledBar-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* tickBoxWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* tickBoxWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./tickBoxWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* titleBoxComponents-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* titleBoxComponents-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./titleBoxComponents-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* unhandledErrorCard-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* unhandledErrorCard-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./unhandledErrorCard-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* imageContainer-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* imageContainer-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./imageContainer-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* wrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* wrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./wrapper-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -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: "81.4.
|
|
40
|
+
packageName: "81.4.17",
|
|
41
41
|
componentName: 'mediaInlineCard',
|
|
42
42
|
component: 'mediaInlineCard'
|
|
43
43
|
};
|
|
@@ -9,7 +9,7 @@ import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
|
9
9
|
import { getActiveInteraction } from '@atlaskit/react-ufo/interaction-metrics';
|
|
10
10
|
import { getMediaGlobalScope } from './globalScope/globalScope';
|
|
11
11
|
const packageName = "@atlaskit/media-card";
|
|
12
|
-
const packageVersion = "81.4.
|
|
12
|
+
const packageVersion = "81.4.17";
|
|
13
13
|
const SAMPLE_RATE = 0.05;
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AIGeneratingOverlay.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* AIGeneratingOverlay.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
/** AI loading overlay rendered over a media node: blanket + sliding rainbow bar. */
|
|
3
3
|
import "./AIGeneratingOverlay.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
package/dist/esm/card/card.js
CHANGED
|
@@ -11,7 +11,7 @@ import { startResourceObserver, setAnalyticsContext } from '../utils/mediaPerfor
|
|
|
11
11
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
12
12
|
import UFOLabel from '@atlaskit/react-ufo/label';
|
|
13
13
|
var packageName = "@atlaskit/media-card";
|
|
14
|
-
var packageVersion = "81.4.
|
|
14
|
+
var packageVersion = "81.4.17";
|
|
15
15
|
export var CardBase = function CardBase(_ref) {
|
|
16
16
|
var identifier = _ref.identifier,
|
|
17
17
|
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -40,10 +40,10 @@ import { getActiveTrace } from '@atlaskit/react-ufo/experience-trace-id-context'
|
|
|
40
40
|
import usePressTracing from '@atlaskit/react-ufo/use-press-tracing';
|
|
41
41
|
var traceContextRetriever = function traceContextRetriever() {
|
|
42
42
|
var trace = getActiveTrace();
|
|
43
|
-
if (trace
|
|
43
|
+
if (trace) {
|
|
44
44
|
return {
|
|
45
|
-
traceId: trace
|
|
46
|
-
spanId: trace
|
|
45
|
+
traceId: trace.traceId,
|
|
46
|
+
spanId: trace.spanId
|
|
47
47
|
};
|
|
48
48
|
} else {
|
|
49
49
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* inlinePlayerWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* inlinePlayerWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./inlinePlayerWrapper-compiled.compiled.css";
|
|
@@ -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 = "81.4.
|
|
83
|
+
var packageVersion = "81.4.17";
|
|
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({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* svgImage-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* svgImage-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./svgImage-compiled.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* actionsBarWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* actionsBarWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./actionsBarWrapper-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* cardActionButton-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* cardActionButton-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./cardActionButton-compiled.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* blanket-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* blanket-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./blanket-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* iconMessageWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* iconMessageWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./iconMessageWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* iconWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* iconWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./iconWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* imageRendererV2.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* imageRendererV2.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./imageRendererV2.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* loadingBar.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* loadingBar.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import "./loadingBar.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* playButtonBackground-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* playButtonBackground-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./playButtonBackground-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* playButtonWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* playButtonWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./playButtonWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* styledBar-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* styledBar-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./styledBar-compiled.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* tickBoxWrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* tickBoxWrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./tickBoxWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* titleBoxComponents-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* titleBoxComponents-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./titleBoxComponents-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* unhandledErrorCard-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* unhandledErrorCard-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* imageContainer-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* imageContainer-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import "./imageContainer-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* wrapper-compiled.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* wrapper-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./wrapper-compiled.compiled.css";
|
|
@@ -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: "81.4.
|
|
104
|
+
packageName: "81.4.17",
|
|
105
105
|
componentName: 'mediaInlineCard',
|
|
106
106
|
component: 'mediaInlineCard'
|
|
107
107
|
};
|
|
@@ -13,7 +13,7 @@ import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
|
13
13
|
import { getActiveInteraction } from '@atlaskit/react-ufo/interaction-metrics';
|
|
14
14
|
import { getMediaGlobalScope } from './globalScope/globalScope';
|
|
15
15
|
var packageName = "@atlaskit/media-card";
|
|
16
|
-
var packageVersion = "81.4.
|
|
16
|
+
var packageVersion = "81.4.17";
|
|
17
17
|
var SAMPLE_RATE = 0.05;
|
|
18
18
|
|
|
19
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-card",
|
|
3
|
-
"version": "81.4.
|
|
3
|
+
"version": "81.4.18",
|
|
4
4
|
"description": "Includes all media card related components, CardView, CardViewSmall, Card...",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/react-ufo": "^7.3.0",
|
|
52
52
|
"@atlaskit/spinner": "^20.1.0",
|
|
53
53
|
"@atlaskit/theme": "^26.1.0",
|
|
54
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
54
|
+
"@atlaskit/tmp-editor-statsig": "^136.0.0",
|
|
55
55
|
"@atlaskit/tokens": "^16.3.0",
|
|
56
56
|
"@atlaskit/tooltip": "^24.0.0",
|
|
57
57
|
"@atlaskit/ufo": "^1.0.0",
|
|
@@ -110,9 +110,6 @@
|
|
|
110
110
|
"platform_media_auth_provider_analytics": {
|
|
111
111
|
"type": "boolean"
|
|
112
112
|
},
|
|
113
|
-
"platform-filecard-ufo-trace": {
|
|
114
|
-
"type": "boolean"
|
|
115
|
-
},
|
|
116
113
|
"platform.media-card-performance-observer_a803k": {
|
|
117
114
|
"type": "boolean"
|
|
118
115
|
},
|