@atlaskit/media-card 80.4.7 → 80.4.8
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/playButton/playButtonBackground-compiled.js +2 -1
- package/dist/cjs/card/ui/playButton/playButtonBackground.js +6 -3
- package/dist/cjs/card/ui/playButton/playButtonWrapper-compiled.js +3 -1
- package/dist/cjs/card/ui/tickBox/tickBoxWrapper-compiled.js +1 -0
- package/dist/cjs/inline/loader.js +1 -1
- package/dist/cjs/inline/mediaInlineAnalyticsErrorBoundary.js +5 -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/playButton/playButtonBackground-compiled.js +3 -2
- package/dist/es2019/card/ui/playButton/playButtonBackground.js +6 -3
- package/dist/es2019/card/ui/playButton/playButtonWrapper-compiled.js +3 -1
- package/dist/es2019/card/ui/tickBox/tickBoxWrapper-compiled.js +1 -0
- package/dist/es2019/inline/loader.js +1 -1
- package/dist/es2019/inline/mediaInlineAnalyticsErrorBoundary.js +5 -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/playButton/playButtonBackground-compiled.js +2 -1
- package/dist/esm/card/ui/playButton/playButtonBackground.js +6 -3
- package/dist/esm/card/ui/playButton/playButtonWrapper-compiled.js +3 -1
- package/dist/esm/card/ui/tickBox/tickBoxWrapper-compiled.js +1 -0
- package/dist/esm/inline/loader.js +1 -1
- package/dist/esm/inline/mediaInlineAnalyticsErrorBoundary.js +5 -1
- package/dist/esm/utils/ufoExperiences.js +1 -1
- package/package.json +3 -3
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 = "
|
|
23
|
+
var packageVersion = "80.4.7";
|
|
24
24
|
var CardBase = exports.CardBase = function CardBase(_ref) {
|
|
25
25
|
var identifier = _ref.identifier,
|
|
26
26
|
otherProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
@@ -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 = "
|
|
90
|
+
var packageVersion = "80.4.7";
|
|
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)({
|
|
@@ -14,9 +14,10 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
14
14
|
var discSize = 48;
|
|
15
15
|
var backgroundStyles = null;
|
|
16
16
|
var PlayButtonBackground = exports.PlayButtonBackground = function PlayButtonBackground() {
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
18
17
|
return /*#__PURE__*/React.createElement("div", {
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
19
19
|
className: (0, _runtime.ax)(["_2rko1rr0 _k8m0jofv _1oec1yx9 _kqswstnw _1bsb1ezv _4t3i1ezv _bfhk1aqn", _styles.bkgClassName]),
|
|
20
|
+
"data-testid": "media-card-play-button-background",
|
|
20
21
|
style: {
|
|
21
22
|
"--_zq1rrr": (0, _runtime.ix)("".concat(discSize, "px"))
|
|
22
23
|
}
|
|
@@ -16,9 +16,12 @@ var _styles = require("./styles");
|
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
17
|
|
|
18
18
|
var PlayButtonBackground = exports.PlayButtonBackground = function PlayButtonBackground() {
|
|
19
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
20
19
|
return (0, _react2.jsx)("div", {
|
|
21
|
-
css
|
|
22
|
-
|
|
20
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
21
|
+
css: _styles.backgroundStyles
|
|
22
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
23
|
+
,
|
|
24
|
+
className: _styles.bkgClassName,
|
|
25
|
+
"data-testid": "media-card-play-button-background"
|
|
23
26
|
});
|
|
24
27
|
};
|
|
@@ -14,6 +14,8 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
14
14
|
var playButtonWrapperStyles = null;
|
|
15
15
|
var PlayButtonWrapper = exports.PlayButtonWrapper = function PlayButtonWrapper(props) {
|
|
16
16
|
return /*#__PURE__*/React.createElement("div", {
|
|
17
|
-
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
18
|
+
className: (0, _runtime.ax)(["_kqswstnw _154iidpf _1ltvidpf _1bsb1osq _4t3i1osq _1e0c1txw _4cvr1h6o _1bah1h6o _syaz5w2r _vr2wstnw", _styles.playButtonClassName]),
|
|
19
|
+
"data-testid": "media-card-play-button-wrapper"
|
|
18
20
|
}, props.children);
|
|
19
21
|
};
|
|
@@ -16,6 +16,7 @@ var wrapperStyles = null;
|
|
|
16
16
|
var TickBoxWrapper = exports.TickBoxWrapper = function TickBoxWrapper(props) {
|
|
17
17
|
return /*#__PURE__*/React.createElement("div", {
|
|
18
18
|
id: "tickBoxWrapper",
|
|
19
|
+
"data-testid": "media-card-tickbox",
|
|
19
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
20
21
|
className: (0, _runtime.ax)(["_11c8fhey _2rkov47k _4cvr1h6o _6a6z1h6o _v564ybtr _1bsbpxbi _4t3ipxbi _kqswstnw _154i12x7 _1ltv12x7 _syaz1j28 _1e0c11p5 _1b941ule", props.selected && "_bfhkyhbg _syaz5w2r", _styles.tickBoxClassName])
|
|
21
22
|
}, props.children);
|
|
@@ -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: "
|
|
119
|
+
packageName: "80.4.7",
|
|
120
120
|
componentName: 'mediaInlineCard',
|
|
121
121
|
component: 'mediaInlineCard'
|
|
122
122
|
};
|
|
@@ -57,7 +57,10 @@ var ErrorBoundaryComponent = function ErrorBoundaryComponent(_ref) {
|
|
|
57
57
|
color: "var(--ds-text, #292A2E)",
|
|
58
58
|
backgroundColor: "var(--ds-background-neutral, #0515240F)",
|
|
59
59
|
userSelect: 'text',
|
|
60
|
-
|
|
60
|
+
transitionProperty: 'all',
|
|
61
|
+
transitionDuration: "var(--ds-duration-xshort, 0.1s)",
|
|
62
|
+
transitionTimingFunction: "var(--ds-easing-inout-bold, ease-in-out)",
|
|
63
|
+
transitionDelay: '0s',
|
|
61
64
|
cursor: 'pointer'
|
|
62
65
|
}, isSelected ? _objectSpread({}, selectedStyle) : {
|
|
63
66
|
userSelect: 'text'
|
|
@@ -66,6 +69,7 @@ var ErrorBoundaryComponent = function ErrorBoundaryComponent(_ref) {
|
|
|
66
69
|
/*#__PURE__*/
|
|
67
70
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
68
71
|
_react.default.createElement("span", {
|
|
72
|
+
"data-testid": "media-inline-error-boundary",
|
|
69
73
|
style: style
|
|
70
74
|
}, /*#__PURE__*/_react.default.createElement(_statusWarning.default, {
|
|
71
75
|
label: "error",
|
|
@@ -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 = "
|
|
22
|
+
var packageVersion = "80.4.7";
|
|
23
23
|
var SAMPLE_RATE = 0.05;
|
|
24
24
|
|
|
25
25
|
/**
|
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 = "
|
|
12
|
+
const packageVersion = "80.4.7";
|
|
13
13
|
export const CardBase = ({
|
|
14
14
|
identifier,
|
|
15
15
|
...otherProps
|
|
@@ -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 = "
|
|
69
|
+
const packageVersion = "80.4.7";
|
|
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({
|
|
@@ -6,8 +6,9 @@ import { bkgClassName } from './styles';
|
|
|
6
6
|
const discSize = 48;
|
|
7
7
|
const backgroundStyles = null;
|
|
8
8
|
export const PlayButtonBackground = () => {
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
10
9
|
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
-
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
11
|
+
className: ax(["_2rko1rr0 _k8m0jofv _1oec1yx9 _kqswstnw _1bsbckbl _4t3ickbl _bfhk1aqn", bkgClassName]),
|
|
12
|
+
"data-testid": "media-card-play-button-background"
|
|
12
13
|
});
|
|
13
14
|
};
|
|
@@ -7,9 +7,12 @@ import React from 'react';
|
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import { backgroundStyles, bkgClassName } from './styles';
|
|
9
9
|
export const PlayButtonBackground = () => {
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
11
10
|
return jsx("div", {
|
|
12
|
-
css
|
|
13
|
-
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
12
|
+
css: backgroundStyles
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
14
|
+
,
|
|
15
|
+
className: bkgClassName,
|
|
16
|
+
"data-testid": "media-card-play-button-background"
|
|
14
17
|
});
|
|
15
18
|
};
|
|
@@ -6,6 +6,8 @@ import { playButtonClassName } from './styles';
|
|
|
6
6
|
const playButtonWrapperStyles = null;
|
|
7
7
|
export const PlayButtonWrapper = props => {
|
|
8
8
|
return /*#__PURE__*/React.createElement("div", {
|
|
9
|
-
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
10
|
+
className: ax(["_kqswstnw _154iidpf _1ltvidpf _1bsb1osq _4t3i1osq _1e0c1txw _4cvr1h6o _1bah1h6o _syaz5w2r _vr2wstnw", playButtonClassName]),
|
|
11
|
+
"data-testid": "media-card-play-button-wrapper"
|
|
10
12
|
}, props.children);
|
|
11
13
|
};
|
|
@@ -8,6 +8,7 @@ const wrapperStyles = null;
|
|
|
8
8
|
export const TickBoxWrapper = props => {
|
|
9
9
|
return /*#__PURE__*/React.createElement("div", {
|
|
10
10
|
id: "tickBoxWrapper",
|
|
11
|
+
"data-testid": "media-card-tickbox",
|
|
11
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
12
13
|
className: ax(["_11c8fhey _2rkov47k _4cvr1h6o _6a6z1h6o _v564ybtr _1bsbpxbi _4t3ipxbi _kqswstnw _154i12x7 _1ltv12x7 _syaz1j28 _1e0c11p5 _1b941ule", props.selected && "_bfhkyhbg _syaz5w2r", tickBoxClassName])
|
|
13
14
|
}, props.children);
|
|
@@ -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: "
|
|
40
|
+
packageName: "80.4.7",
|
|
41
41
|
componentName: 'mediaInlineCard',
|
|
42
42
|
component: 'mediaInlineCard'
|
|
43
43
|
};
|
|
@@ -42,7 +42,10 @@ const ErrorBoundaryComponent = ({
|
|
|
42
42
|
color: "var(--ds-text, #292A2E)",
|
|
43
43
|
backgroundColor: "var(--ds-background-neutral, #0515240F)",
|
|
44
44
|
userSelect: 'text',
|
|
45
|
-
|
|
45
|
+
transitionProperty: 'all',
|
|
46
|
+
transitionDuration: "var(--ds-duration-xshort, 0.1s)",
|
|
47
|
+
transitionTimingFunction: "var(--ds-easing-inout-bold, ease-in-out)",
|
|
48
|
+
transitionDelay: '0s',
|
|
46
49
|
cursor: 'pointer',
|
|
47
50
|
...(isSelected ? {
|
|
48
51
|
...selectedStyle
|
|
@@ -54,6 +57,7 @@ const ErrorBoundaryComponent = ({
|
|
|
54
57
|
/*#__PURE__*/
|
|
55
58
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
56
59
|
React.createElement("span", {
|
|
60
|
+
"data-testid": "media-inline-error-boundary",
|
|
57
61
|
style: style
|
|
58
62
|
}, /*#__PURE__*/React.createElement(WarningIcon, {
|
|
59
63
|
label: "error",
|
|
@@ -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 = "
|
|
12
|
+
const packageVersion = "80.4.7";
|
|
13
13
|
const SAMPLE_RATE = 0.05;
|
|
14
14
|
|
|
15
15
|
/**
|
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 = "
|
|
14
|
+
var packageVersion = "80.4.7";
|
|
15
15
|
export var CardBase = function CardBase(_ref) {
|
|
16
16
|
var identifier = _ref.identifier,
|
|
17
17
|
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -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 = "
|
|
83
|
+
var packageVersion = "80.4.7";
|
|
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({
|
|
@@ -6,9 +6,10 @@ import { bkgClassName } from './styles';
|
|
|
6
6
|
var discSize = 48;
|
|
7
7
|
var backgroundStyles = null;
|
|
8
8
|
export var PlayButtonBackground = function PlayButtonBackground() {
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
10
9
|
return /*#__PURE__*/React.createElement("div", {
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
11
11
|
className: ax(["_2rko1rr0 _k8m0jofv _1oec1yx9 _kqswstnw _1bsb1ezv _4t3i1ezv _bfhk1aqn", bkgClassName]),
|
|
12
|
+
"data-testid": "media-card-play-button-background",
|
|
12
13
|
style: {
|
|
13
14
|
"--_zq1rrr": ix("".concat(discSize, "px"))
|
|
14
15
|
}
|
|
@@ -7,9 +7,12 @@ import React from 'react';
|
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import { backgroundStyles, bkgClassName } from './styles';
|
|
9
9
|
export var PlayButtonBackground = function PlayButtonBackground() {
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop, @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
11
10
|
return jsx("div", {
|
|
12
|
-
css
|
|
13
|
-
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
12
|
+
css: backgroundStyles
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
14
|
+
,
|
|
15
|
+
className: bkgClassName,
|
|
16
|
+
"data-testid": "media-card-play-button-background"
|
|
14
17
|
});
|
|
15
18
|
};
|
|
@@ -6,6 +6,8 @@ import { playButtonClassName } from './styles';
|
|
|
6
6
|
var playButtonWrapperStyles = null;
|
|
7
7
|
export var PlayButtonWrapper = function PlayButtonWrapper(props) {
|
|
8
8
|
return /*#__PURE__*/React.createElement("div", {
|
|
9
|
-
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
10
|
+
className: ax(["_kqswstnw _154iidpf _1ltvidpf _1bsb1osq _4t3i1osq _1e0c1txw _4cvr1h6o _1bah1h6o _syaz5w2r _vr2wstnw", playButtonClassName]),
|
|
11
|
+
"data-testid": "media-card-play-button-wrapper"
|
|
10
12
|
}, props.children);
|
|
11
13
|
};
|
|
@@ -8,6 +8,7 @@ var wrapperStyles = null;
|
|
|
8
8
|
export var TickBoxWrapper = function TickBoxWrapper(props) {
|
|
9
9
|
return /*#__PURE__*/React.createElement("div", {
|
|
10
10
|
id: "tickBoxWrapper",
|
|
11
|
+
"data-testid": "media-card-tickbox",
|
|
11
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
12
13
|
className: ax(["_11c8fhey _2rkov47k _4cvr1h6o _6a6z1h6o _v564ybtr _1bsbpxbi _4t3ipxbi _kqswstnw _154i12x7 _1ltv12x7 _syaz1j28 _1e0c11p5 _1b941ule", props.selected && "_bfhkyhbg _syaz5w2r", tickBoxClassName])
|
|
13
14
|
}, props.children);
|
|
@@ -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: "
|
|
104
|
+
packageName: "80.4.7",
|
|
105
105
|
componentName: 'mediaInlineCard',
|
|
106
106
|
component: 'mediaInlineCard'
|
|
107
107
|
};
|
|
@@ -50,7 +50,10 @@ var ErrorBoundaryComponent = function ErrorBoundaryComponent(_ref) {
|
|
|
50
50
|
color: "var(--ds-text, #292A2E)",
|
|
51
51
|
backgroundColor: "var(--ds-background-neutral, #0515240F)",
|
|
52
52
|
userSelect: 'text',
|
|
53
|
-
|
|
53
|
+
transitionProperty: 'all',
|
|
54
|
+
transitionDuration: "var(--ds-duration-xshort, 0.1s)",
|
|
55
|
+
transitionTimingFunction: "var(--ds-easing-inout-bold, ease-in-out)",
|
|
56
|
+
transitionDelay: '0s',
|
|
54
57
|
cursor: 'pointer'
|
|
55
58
|
}, isSelected ? _objectSpread({}, selectedStyle) : {
|
|
56
59
|
userSelect: 'text'
|
|
@@ -59,6 +62,7 @@ var ErrorBoundaryComponent = function ErrorBoundaryComponent(_ref) {
|
|
|
59
62
|
/*#__PURE__*/
|
|
60
63
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
61
64
|
React.createElement("span", {
|
|
65
|
+
"data-testid": "media-inline-error-boundary",
|
|
62
66
|
style: style
|
|
63
67
|
}, /*#__PURE__*/React.createElement(WarningIcon, {
|
|
64
68
|
label: "error",
|
|
@@ -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 = "
|
|
16
|
+
var packageVersion = "80.4.7";
|
|
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": "80.4.
|
|
3
|
+
"version": "80.4.8",
|
|
4
4
|
"description": "Includes all media card related components, CardView, CardViewSmall, Card...",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
55
55
|
"@atlaskit/primitives": "^19.0.0",
|
|
56
56
|
"@atlaskit/progress-bar": "^4.2.0",
|
|
57
|
-
"@atlaskit/react-ufo": "^5.
|
|
57
|
+
"@atlaskit/react-ufo": "^5.20.0",
|
|
58
58
|
"@atlaskit/spinner": "^19.1.0",
|
|
59
59
|
"@atlaskit/theme": "^23.2.0",
|
|
60
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
60
|
+
"@atlaskit/tmp-editor-statsig": "^78.0.0",
|
|
61
61
|
"@atlaskit/tokens": "^13.0.0",
|
|
62
62
|
"@atlaskit/tooltip": "^22.1.0",
|
|
63
63
|
"@atlaskit/ufo": "^0.4.0",
|