@atlaskit/media-card 78.18.5 → 78.19.0
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 +24 -0
- package/dist/cjs/card/card.js +1 -1
- package/dist/cjs/card/fileCard.js +1 -1
- package/dist/cjs/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/cjs/card/ui/actionsBar/cardActions/cardActionButton.js +7 -6
- 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/fileCard.js +2 -2
- package/dist/es2019/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/es2019/card/ui/actionsBar/cardActions/cardActionButton.js +4 -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/fileCard.js +2 -2
- package/dist/esm/card/media-card-analytics-error-boundary.js +1 -1
- package/dist/esm/card/ui/actionsBar/cardActions/cardActionButton.js +6 -1
- package/dist/esm/inline/loader.js +1 -1
- package/dist/esm/utils/ufoExperiences.js +1 -1
- package/dist/types/card/inlinePlayer.d.ts +1 -1
- package/dist/types/card/inlinePlayerLazy.d.ts +1 -1
- package/dist/types-ts4.5/card/inlinePlayer.d.ts +1 -1
- package/dist/types-ts4.5/card/inlinePlayerLazy.d.ts +1 -1
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @atlaskit/media-card
|
|
2
2
|
|
|
3
|
+
## 78.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 78.18.6
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#107675](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107675)
|
|
20
|
+
[`0dcf1e05a2c8d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0dcf1e05a2c8d) -
|
|
21
|
+
Updated Media Viewer with DS Portal import
|
|
22
|
+
- [#107798](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107798)
|
|
23
|
+
[`dd36286da62e8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dd36286da62e8) -
|
|
24
|
+
Fixed Card Action Disabled Button Style
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
|
|
3
27
|
## 78.18.5
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/dist/cjs/card/card.js
CHANGED
|
@@ -21,7 +21,7 @@ var _excluded = ["identifier"];
|
|
|
21
21
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
22
22
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
23
23
|
var packageName = "@atlaskit/media-card";
|
|
24
|
-
var packageVersion = "78.
|
|
24
|
+
var packageVersion = "78.19.0";
|
|
25
25
|
var CardBase = exports.CardBase = function CardBase(_ref) {
|
|
26
26
|
var identifier = _ref.identifier,
|
|
27
27
|
otherProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
@@ -46,7 +46,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
46
46
|
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; }
|
|
47
47
|
var MediaViewerComponent = function MediaViewerComponent(props) {
|
|
48
48
|
if ((0, _platformFeatureFlags.fg)('media_card_replace_react_portal_for_ds_portal')) {
|
|
49
|
-
return /*#__PURE__*/_react.default.createElement(_mediaViewer.
|
|
49
|
+
return /*#__PURE__*/_react.default.createElement(_mediaViewer.MediaViewer, props);
|
|
50
50
|
} else {
|
|
51
51
|
return /*#__PURE__*/_reactDom.default.createPortal( /*#__PURE__*/_react.default.createElement(_mediaViewer.MediaViewer, props), document.body);
|
|
52
52
|
}
|
|
@@ -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 = "78.
|
|
90
|
+
var packageVersion = "78.19.0";
|
|
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)({
|
|
@@ -6,16 +6,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.CardActionButton = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
10
|
var _react = require("react");
|
|
10
11
|
var _react2 = require("@emotion/react");
|
|
11
12
|
var _styles = require("./styles");
|
|
12
|
-
|
|
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
|
+
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; } /**
|
|
13
15
|
* @jsxRuntime classic
|
|
14
16
|
* @jsx jsx
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
|
-
|
|
17
|
+
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
19
18
|
var CardActionButton = exports.CardActionButton = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
20
19
|
return (0, _react2.jsx)("button", (0, _extends2.default)({}, props, {
|
|
21
20
|
id: "cardActionButton",
|
|
@@ -26,7 +25,9 @@ var CardActionButton = exports.CardActionButton = /*#__PURE__*/(0, _react.forwar
|
|
|
26
25
|
css: (0, _styles.cardActionButtonStyles)(props)
|
|
27
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
28
27
|
,
|
|
29
|
-
style: props.style,
|
|
28
|
+
style: _objectSpread(_objectSpread({}, props.style), {}, {
|
|
29
|
+
cursor: props.disabled ? 'not-allowed' : 'default'
|
|
30
|
+
}),
|
|
30
31
|
onClick: props.onClick,
|
|
31
32
|
onMouseDown: props.onMouseDown,
|
|
32
33
|
ref: ref
|
|
@@ -117,7 +117,7 @@ var MediaInlineCardLoader = exports.default = /*#__PURE__*/function (_React$Pure
|
|
|
117
117
|
ErrorBoundary = _this$state.ErrorBoundary;
|
|
118
118
|
var analyticsContext = {
|
|
119
119
|
packageVersion: "@atlaskit/media-card",
|
|
120
|
-
packageName: "78.
|
|
120
|
+
packageName: "78.19.0",
|
|
121
121
|
componentName: 'mediaInlineCard',
|
|
122
122
|
component: 'mediaInlineCard'
|
|
123
123
|
};
|
|
@@ -15,7 +15,7 @@ var _mediaClient = require("@atlaskit/media-client");
|
|
|
15
15
|
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; }
|
|
16
16
|
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; }
|
|
17
17
|
var packageName = "@atlaskit/media-card";
|
|
18
|
-
var packageVersion = "78.
|
|
18
|
+
var packageVersion = "78.19.0";
|
|
19
19
|
var SAMPLE_RATE = 0.05;
|
|
20
20
|
var concurrentExperience;
|
|
21
21
|
var getExperience = function getExperience(id) {
|
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 = "78.
|
|
12
|
+
const packageVersion = "78.19.0";
|
|
13
13
|
export const CardBase = ({
|
|
14
14
|
identifier,
|
|
15
15
|
...otherProps
|
|
@@ -2,7 +2,7 @@ import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
|
2
2
|
import { globalMediaEventEmitter, RECENTS_COLLECTION, imageResizeModeToFileImageMode, isProcessedFileState, isErrorFileState, toCommonMediaClientError } from '@atlaskit/media-client';
|
|
3
3
|
import { useFileState, useMediaClient } from '@atlaskit/media-client-react';
|
|
4
4
|
import { getRandomHex, isMimeTypeSupportedByBrowser, isVideoMimeTypeSupportedByBrowser } from '@atlaskit/media-common';
|
|
5
|
-
import { MediaViewer
|
|
5
|
+
import { MediaViewer } from '@atlaskit/media-viewer';
|
|
6
6
|
import React, { Suspense, useEffect, useMemo, useRef, useState, useCallback } from 'react';
|
|
7
7
|
import ReactDOM from 'react-dom';
|
|
8
8
|
import { useMergeRefs } from 'use-callback-ref';
|
|
@@ -30,7 +30,7 @@ import { AbuseModal } from '@atlaskit/media-ui/abuseModal';
|
|
|
30
30
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
31
31
|
const MediaViewerComponent = props => {
|
|
32
32
|
if (fg('media_card_replace_react_portal_for_ds_portal')) {
|
|
33
|
-
return /*#__PURE__*/React.createElement(
|
|
33
|
+
return /*#__PURE__*/React.createElement(MediaViewer, props);
|
|
34
34
|
} else {
|
|
35
35
|
return /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(MediaViewer, props), document.body);
|
|
36
36
|
}
|
|
@@ -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 = "78.
|
|
69
|
+
const packageVersion = "78.19.0";
|
|
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({
|
|
@@ -17,7 +17,10 @@ export const CardActionButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
17
17
|
css: cardActionButtonStyles(props)
|
|
18
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
19
19
|
,
|
|
20
|
-
style:
|
|
20
|
+
style: {
|
|
21
|
+
...props.style,
|
|
22
|
+
cursor: props.disabled ? 'not-allowed' : 'default'
|
|
23
|
+
},
|
|
21
24
|
onClick: props.onClick,
|
|
22
25
|
onMouseDown: props.onMouseDown,
|
|
23
26
|
ref: ref
|
|
@@ -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: "78.
|
|
40
|
+
packageName: "78.19.0",
|
|
41
41
|
componentName: 'mediaInlineCard',
|
|
42
42
|
component: 'mediaInlineCard'
|
|
43
43
|
};
|
|
@@ -5,7 +5,7 @@ import { extractErrorInfo, getRenderErrorRequestMetadata } from './analytics';
|
|
|
5
5
|
import { MediaCardError } from '../errors';
|
|
6
6
|
import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
7
7
|
const packageName = "@atlaskit/media-card";
|
|
8
|
-
const packageVersion = "78.
|
|
8
|
+
const packageVersion = "78.19.0";
|
|
9
9
|
const SAMPLE_RATE = 0.05;
|
|
10
10
|
let concurrentExperience;
|
|
11
11
|
const getExperience = id => {
|
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 = "78.
|
|
14
|
+
var packageVersion = "78.19.0";
|
|
15
15
|
export var CardBase = function CardBase(_ref) {
|
|
16
16
|
var identifier = _ref.identifier,
|
|
17
17
|
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
@@ -9,7 +9,7 @@ import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
|
9
9
|
import { globalMediaEventEmitter, RECENTS_COLLECTION, imageResizeModeToFileImageMode, isProcessedFileState, isErrorFileState, toCommonMediaClientError } from '@atlaskit/media-client';
|
|
10
10
|
import { useFileState, useMediaClient } from '@atlaskit/media-client-react';
|
|
11
11
|
import { getRandomHex, isMimeTypeSupportedByBrowser, isVideoMimeTypeSupportedByBrowser } from '@atlaskit/media-common';
|
|
12
|
-
import { MediaViewer
|
|
12
|
+
import { MediaViewer } from '@atlaskit/media-viewer';
|
|
13
13
|
import React, { Suspense, useEffect, useMemo, useRef, useState, useCallback } from 'react';
|
|
14
14
|
import ReactDOM from 'react-dom';
|
|
15
15
|
import { useMergeRefs } from 'use-callback-ref';
|
|
@@ -37,7 +37,7 @@ import { AbuseModal } from '@atlaskit/media-ui/abuseModal';
|
|
|
37
37
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
38
38
|
var MediaViewerComponent = function MediaViewerComponent(props) {
|
|
39
39
|
if (fg('media_card_replace_react_portal_for_ds_portal')) {
|
|
40
|
-
return /*#__PURE__*/React.createElement(
|
|
40
|
+
return /*#__PURE__*/React.createElement(MediaViewer, props);
|
|
41
41
|
} else {
|
|
42
42
|
return /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(MediaViewer, props), document.body);
|
|
43
43
|
}
|
|
@@ -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 = "78.
|
|
83
|
+
var packageVersion = "78.19.0";
|
|
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,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
+
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; }
|
|
4
|
+
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) { _defineProperty(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; }
|
|
2
5
|
/**
|
|
3
6
|
* @jsxRuntime classic
|
|
4
7
|
* @jsx jsx
|
|
@@ -17,7 +20,9 @@ export var CardActionButton = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
17
20
|
css: cardActionButtonStyles(props)
|
|
18
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
19
22
|
,
|
|
20
|
-
style: props.style,
|
|
23
|
+
style: _objectSpread(_objectSpread({}, props.style), {}, {
|
|
24
|
+
cursor: props.disabled ? 'not-allowed' : 'default'
|
|
25
|
+
}),
|
|
21
26
|
onClick: props.onClick,
|
|
22
27
|
onMouseDown: props.onMouseDown,
|
|
23
28
|
ref: ref
|
|
@@ -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: "78.
|
|
104
|
+
packageName: "78.19.0",
|
|
105
105
|
componentName: 'mediaInlineCard',
|
|
106
106
|
component: 'mediaInlineCard'
|
|
107
107
|
};
|
|
@@ -8,7 +8,7 @@ import { extractErrorInfo, getRenderErrorRequestMetadata } from './analytics';
|
|
|
8
8
|
import { MediaCardError } from '../errors';
|
|
9
9
|
import { getMediaEnvironment, getMediaRegion } from '@atlaskit/media-client';
|
|
10
10
|
var packageName = "@atlaskit/media-card";
|
|
11
|
-
var packageVersion = "78.
|
|
11
|
+
var packageVersion = "78.19.0";
|
|
12
12
|
var SAMPLE_RATE = 0.05;
|
|
13
13
|
var concurrentExperience;
|
|
14
14
|
var getExperience = function getExperience(id) {
|
|
@@ -21,4 +21,4 @@ export interface InlinePlayerOwnProps {
|
|
|
21
21
|
export type InlinePlayerProps = InlinePlayerOwnProps & WithAnalyticsEventsProps;
|
|
22
22
|
export declare const getPreferredVideoArtifact: (fileState: FileState) => keyof MediaFileArtifacts | undefined;
|
|
23
23
|
export declare const InlinePlayerBase: ({ identifier, onError, onClick, dimensions, originalDimensions, selected, testId, forwardRef, autoplay, cardPreview, onFullscreenChange, videoControlsWrapperRef, }: InlinePlayerProps) => JSX.Element;
|
|
24
|
-
export declare const InlinePlayer: React.ForwardRefExoticComponent<
|
|
24
|
+
export declare const InlinePlayer: React.ForwardRefExoticComponent<Omit<InlinePlayerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const InlinePlayerLazy: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<
|
|
2
|
+
export declare const InlinePlayerLazy: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("./inlinePlayer").InlinePlayerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
@@ -21,4 +21,4 @@ export interface InlinePlayerOwnProps {
|
|
|
21
21
|
export type InlinePlayerProps = InlinePlayerOwnProps & WithAnalyticsEventsProps;
|
|
22
22
|
export declare const getPreferredVideoArtifact: (fileState: FileState) => keyof MediaFileArtifacts | undefined;
|
|
23
23
|
export declare const InlinePlayerBase: ({ identifier, onError, onClick, dimensions, originalDimensions, selected, testId, forwardRef, autoplay, cardPreview, onFullscreenChange, videoControlsWrapperRef, }: InlinePlayerProps) => JSX.Element;
|
|
24
|
-
export declare const InlinePlayer: React.ForwardRefExoticComponent<
|
|
24
|
+
export declare const InlinePlayer: React.ForwardRefExoticComponent<Omit<InlinePlayerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const InlinePlayerLazy: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<
|
|
2
|
+
export declare const InlinePlayerLazy: import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("./inlinePlayer").InlinePlayerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-card",
|
|
3
|
-
"version": "78.
|
|
3
|
+
"version": "78.19.0",
|
|
4
4
|
"description": "Includes all media card related components, CardView, CardViewSmall, Card...",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,25 +35,25 @@
|
|
|
35
35
|
"runReact18": true
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@atlaskit/analytics-next": "^10.
|
|
39
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
38
|
+
"@atlaskit/analytics-next": "^10.3.0",
|
|
39
|
+
"@atlaskit/dropdown-menu": "^12.26.0",
|
|
40
40
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
41
|
-
"@atlaskit/icon": "^23.
|
|
42
|
-
"@atlaskit/media-client": "^31.
|
|
43
|
-
"@atlaskit/media-client-react": "^2.
|
|
44
|
-
"@atlaskit/media-common": "^11.
|
|
45
|
-
"@atlaskit/media-file-preview": "^0.
|
|
46
|
-
"@atlaskit/media-ui": "^27.
|
|
47
|
-
"@atlaskit/media-viewer": "^
|
|
41
|
+
"@atlaskit/icon": "^23.5.0",
|
|
42
|
+
"@atlaskit/media-client": "^31.1.0",
|
|
43
|
+
"@atlaskit/media-client-react": "^2.7.0",
|
|
44
|
+
"@atlaskit/media-common": "^11.8.0",
|
|
45
|
+
"@atlaskit/media-file-preview": "^0.10.0",
|
|
46
|
+
"@atlaskit/media-ui": "^27.4.0",
|
|
47
|
+
"@atlaskit/media-viewer": "^50.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
49
|
-
"@atlaskit/primitives": "^13.
|
|
50
|
-
"@atlaskit/react-ufo": "^2.
|
|
51
|
-
"@atlaskit/spinner": "^
|
|
52
|
-
"@atlaskit/theme": "^14.
|
|
53
|
-
"@atlaskit/tokens": "^3.
|
|
54
|
-
"@atlaskit/tooltip": "^19.
|
|
49
|
+
"@atlaskit/primitives": "^13.4.0",
|
|
50
|
+
"@atlaskit/react-ufo": "^2.14.0",
|
|
51
|
+
"@atlaskit/spinner": "^17.1.0",
|
|
52
|
+
"@atlaskit/theme": "^14.1.0",
|
|
53
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
54
|
+
"@atlaskit/tooltip": "^19.1.0",
|
|
55
55
|
"@atlaskit/ufo": "^0.3.0",
|
|
56
|
-
"@atlaskit/visually-hidden": "^1.
|
|
56
|
+
"@atlaskit/visually-hidden": "^1.6.0",
|
|
57
57
|
"@babel/runtime": "^7.0.0",
|
|
58
58
|
"classnames": "^2.2.5",
|
|
59
59
|
"eventemitter2": "^4.1.0",
|
|
@@ -70,32 +70,32 @@
|
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@af/integration-testing": "*",
|
|
73
|
-
"@atlaskit/analytics-listeners": "^8.
|
|
74
|
-
"@atlaskit/analytics-namespaced-context": "^6.
|
|
75
|
-
"@atlaskit/form": "^11.
|
|
76
|
-
"@atlaskit/inline-message": "^13.
|
|
77
|
-
"@atlaskit/media-core": "^34.
|
|
78
|
-
"@atlaskit/media-picker": "^67.
|
|
73
|
+
"@atlaskit/analytics-listeners": "^8.14.0",
|
|
74
|
+
"@atlaskit/analytics-namespaced-context": "^6.13.0",
|
|
75
|
+
"@atlaskit/form": "^11.1.0",
|
|
76
|
+
"@atlaskit/inline-message": "^13.1.0",
|
|
77
|
+
"@atlaskit/media-core": "^34.5.0",
|
|
78
|
+
"@atlaskit/media-picker": "^67.1.0",
|
|
79
79
|
"@atlaskit/media-state": "^1.5.0",
|
|
80
|
-
"@atlaskit/media-test-data": "^2.
|
|
81
|
-
"@atlaskit/media-test-helpers": "^34.
|
|
82
|
-
"@atlaskit/radio": "^7.
|
|
83
|
-
"@atlaskit/range": "^8.
|
|
80
|
+
"@atlaskit/media-test-data": "^2.11.0",
|
|
81
|
+
"@atlaskit/media-test-helpers": "^34.8.0",
|
|
82
|
+
"@atlaskit/radio": "^7.2.0",
|
|
83
|
+
"@atlaskit/range": "^8.1.0",
|
|
84
84
|
"@atlaskit/ssr": "*",
|
|
85
|
-
"@atlaskit/toggle": "^14.
|
|
85
|
+
"@atlaskit/toggle": "^14.1.0",
|
|
86
86
|
"@atlaskit/visual-regression": "*",
|
|
87
|
-
"@atlassian/feature-flags-test-utils": "^0.
|
|
88
|
-
"@atlassian/ufo": "^0.
|
|
87
|
+
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
88
|
+
"@atlassian/ufo": "^0.5.0",
|
|
89
89
|
"@testing-library/dom": "^10.1.0",
|
|
90
|
-
"@testing-library/react": "^
|
|
90
|
+
"@testing-library/react": "^13.4.0",
|
|
91
91
|
"@testing-library/react-hooks": "^8.0.1",
|
|
92
92
|
"@testing-library/user-event": "^14.4.3",
|
|
93
93
|
"@types/classnames": "^2.2.6",
|
|
94
94
|
"@types/react-loadable": "^5.4.1",
|
|
95
95
|
"enzyme": "^3.10.0",
|
|
96
96
|
"exenv": "^1.2.2",
|
|
97
|
-
"react": "^
|
|
98
|
-
"react-dom": "^
|
|
97
|
+
"react": "^18.2.0",
|
|
98
|
+
"react-dom": "^18.2.0",
|
|
99
99
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
100
100
|
"typescript": "~5.4.2",
|
|
101
101
|
"uuid": "^3.1.0",
|