@atlaskit/media-card 81.12.3 → 81.12.4
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/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-2.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-2.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/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-2.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-2.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/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-2.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-2.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/example-helpers/cards.tsx +3 -1
- package/example-helpers/index.tsx +3 -2
- package/example-helpers/selectableCard.tsx +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/cjs/card/card.js
CHANGED
|
@@ -8,7 +8,7 @@ var _reactIntl = require("react-intl");
|
|
|
8
8
|
var _mediaCommon = require("@atlaskit/media-common");
|
|
9
9
|
var _CardWithPerformanceObserver = require("./CardWithPerformanceObserver");
|
|
10
10
|
var packageName = "@atlaskit/media-card";
|
|
11
|
-
var packageVersion = "81.12.
|
|
11
|
+
var packageVersion = "81.12.3";
|
|
12
12
|
var Card = exports.Card = (0, _mediaCommon.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 = "81.12.
|
|
90
|
+
var packageVersion = "81.12.3";
|
|
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.12.
|
|
119
|
+
packageName: "81.12.3",
|
|
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 = "81.12.
|
|
26
|
+
var packageVersion = "81.12.3";
|
|
27
27
|
var SAMPLE_RATE = 0.05;
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AIGeneratingOverlay.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* AIGeneratingOverlay.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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
|
@@ -2,7 +2,7 @@ import { injectIntl } from 'react-intl';
|
|
|
2
2
|
import { withMediaAnalyticsContext } from '@atlaskit/media-common';
|
|
3
3
|
import { CardWithPerformanceObserver } from './CardWithPerformanceObserver';
|
|
4
4
|
const packageName = "@atlaskit/media-card";
|
|
5
|
-
const packageVersion = "81.12.
|
|
5
|
+
const packageVersion = "81.12.3";
|
|
6
6
|
export const Card = withMediaAnalyticsContext({
|
|
7
7
|
packageVersion,
|
|
8
8
|
packageName,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* inlinePlayerWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* inlinePlayerWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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.12.
|
|
69
|
+
const packageVersion = "81.12.3";
|
|
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 v3.0.
|
|
1
|
+
/* svgImage-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* actionsBarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import "./actionsBarWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* cardActionButton-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* cardActionButton-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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
|
-
/* iconMessageWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* iconMessageWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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
|
-
/* imageRendererV2.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* imageRendererV2.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* loadingBar.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* playButtonBackground-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* playButtonWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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
|
-
/* tickBoxWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* tickBoxWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* titleBoxComponents-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* unhandledErrorCard-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import "./unhandledErrorCard-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* imageContainer-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* imageContainer-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* wrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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.12.
|
|
40
|
+
packageName: "81.12.3",
|
|
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 = "81.12.
|
|
15
|
+
const packageVersion = "81.12.3";
|
|
16
16
|
const SAMPLE_RATE = 0.05;
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AIGeneratingOverlay.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* AIGeneratingOverlay.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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
|
@@ -2,7 +2,7 @@ import { injectIntl } from 'react-intl';
|
|
|
2
2
|
import { withMediaAnalyticsContext } from '@atlaskit/media-common';
|
|
3
3
|
import { CardWithPerformanceObserver } from './CardWithPerformanceObserver';
|
|
4
4
|
var packageName = "@atlaskit/media-card";
|
|
5
|
-
var packageVersion = "81.12.
|
|
5
|
+
var packageVersion = "81.12.3";
|
|
6
6
|
export var Card = withMediaAnalyticsContext({
|
|
7
7
|
packageVersion: packageVersion,
|
|
8
8
|
packageName: packageName,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* inlinePlayerWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* inlinePlayerWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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.12.
|
|
83
|
+
var packageVersion = "81.12.3";
|
|
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 v3.0.
|
|
1
|
+
/* svgImage-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* actionsBarWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import "./actionsBarWrapper-compiled.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* cardActionButton-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* cardActionButton-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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
|
-
/* iconMessageWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* iconMessageWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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
|
-
/* imageRendererV2.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* imageRendererV2.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* loadingBar.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* playButtonBackground-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* playButtonWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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-2.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* StyledBar-2.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import "./StyledBar-2.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* tickBoxWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* tickBoxWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* titleBoxComponents-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* unhandledErrorCard-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* imageContainer-compiled.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* imageContainer-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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 v3.0.
|
|
1
|
+
/* wrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
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.12.
|
|
104
|
+
packageName: "81.12.3",
|
|
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 = "81.12.
|
|
19
|
+
var packageVersion = "81.12.3";
|
|
20
20
|
var SAMPLE_RATE = 0.05;
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -15,7 +15,9 @@ import {
|
|
|
15
15
|
import { type FileIdentifier } from '@atlaskit/media-client';
|
|
16
16
|
|
|
17
17
|
import { createApiCards, actions } from '.';
|
|
18
|
-
import { CardLoading
|
|
18
|
+
import { CardLoading } from '../src/utils/lightCards/cardLoading';
|
|
19
|
+
import { CardError } from '../src/utils/lightCards/cardError';
|
|
20
|
+
import Card from '../src/card/cardLoader';
|
|
19
21
|
|
|
20
22
|
const mediaClientConfig = createStorybookMediaClientConfig();
|
|
21
23
|
// standard
|
|
@@ -20,9 +20,10 @@ import {
|
|
|
20
20
|
FeatureFlagsWrapper,
|
|
21
21
|
} from '@atlaskit/media-test-helpers';
|
|
22
22
|
|
|
23
|
-
import
|
|
23
|
+
import Card from '../src/card/cardLoader';
|
|
24
|
+
import { type CardAction } from '../src/card/actions';
|
|
24
25
|
import { MediaCardError } from '../src/MediaCardError';
|
|
25
|
-
import {
|
|
26
|
+
import type { CardFocusEvent, CardAppearance, CardEvent } from '../src/types';
|
|
26
27
|
import DevelopmentUseMessage from './developmentUseMessage';
|
|
27
28
|
import { SelectableCard } from './selectableCard';
|
|
28
29
|
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Component } from 'react';
|
|
3
3
|
import type { MediaClientConfig } from '@atlaskit/media-core/auth';
|
|
4
4
|
import { type Identifier } from '@atlaskit/media-client';
|
|
5
|
-
import
|
|
5
|
+
import Card from '../src/card/cardLoader';
|
|
6
6
|
|
|
7
7
|
export interface SelectableCardProps {
|
|
8
8
|
mediaClientConfig: MediaClientConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-card",
|
|
3
|
-
"version": "81.12.
|
|
3
|
+
"version": "81.12.4",
|
|
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.10.0",
|
|
52
52
|
"@atlaskit/section-message": "^10.2.0",
|
|
53
53
|
"@atlaskit/theme": "^28.2.0",
|
|
54
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
54
|
+
"@atlaskit/tmp-editor-statsig": "^197.0.0",
|
|
55
55
|
"@atlaskit/tokens": "^17.0.0",
|
|
56
56
|
"@atlaskit/tooltip": "^24.3.0",
|
|
57
57
|
"@atlaskit/ufo": "^1.2.0",
|