@atlaskit/media-card 78.8.0 → 78.9.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 CHANGED
@@ -1,5 +1,26 @@
1
1
  # @atlaskit/media-card
2
2
 
3
+ ## 78.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#156360](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/156360)
8
+ [`411b348673f6b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/411b348673f6b) -
9
+ [ux] Replace "Preview currently unavailable" messaging for media card rate limit errors with
10
+ standard "Preview unavailable" messaging. `@atlaskit/media-ui` requires a major version bump as
11
+ the "Preview currently unavailable" messaging has been removed, this messaging is only used by the
12
+ `@atlaskit/media-card` component however.
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
18
+ ## 78.8.1
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies
23
+
3
24
  ## 78.8.0
4
25
 
5
26
  ### Minor Changes
@@ -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.8.0";
24
+ var packageVersion = "78.9.0";
25
25
  var CardBase = exports.CardBase = function CardBase(_ref) {
26
26
  var identifier = _ref.identifier,
27
27
  otherProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);
@@ -153,11 +153,7 @@ var CardViewBase = exports.CardViewBase = function CardViewBase(_ref) {
153
153
  });
154
154
  var _iconMessage;
155
155
  var _customTitleMessage;
156
- var _ref4 = error || {},
157
- secondaryError = _ref4.secondaryError;
158
- if ((0, _errors.isRateLimitedError)(secondaryError) || (0, _errors.isPollingError)(secondaryError)) {
159
- _iconMessage = (0, _react.jsx)(_iconMessage2.PreviewCurrentlyUnavailable, null);
160
- } else if ((0, _errors.isUploadError)(error)) {
156
+ if ((0, _errors.isUploadError)(error)) {
161
157
  _iconMessage = (0, _react.jsx)(_iconMessage2.FailedToUpload, null);
162
158
  _customTitleMessage = _mediaUi.messages.failed_to_upload;
163
159
  } else if (!metadata) {
@@ -205,11 +201,11 @@ var CardViewBase = exports.CardViewBase = function CardViewBase(_ref) {
205
201
  var isTickBoxSelectable = !disableOverlay && !!selectable && !selected;
206
202
  // Disable tooltip for Media Single
207
203
  var shouldDisplayTooltip = !disableOverlay && !shouldHideTooltip;
208
- var _ref5 = metadata || {},
209
- mediaType = _ref5.mediaType,
210
- mimeType = _ref5.mimeType,
211
- name = _ref5.name,
212
- createdAt = _ref5.createdAt;
204
+ var _ref4 = metadata || {},
205
+ mediaType = _ref4.mediaType,
206
+ mimeType = _ref4.mimeType,
207
+ name = _ref4.name,
208
+ createdAt = _ref4.createdAt;
213
209
  var isTitleBoxVisible = renderTitleBox && name;
214
210
  var hasVisibleTitleBox = !!(isTitleBoxVisible || renderFailedTitleBox);
215
211
  var metadataRef = (0, _useCurrentValueRef.useCurrentValueRef)(metadata);
@@ -90,7 +90,7 @@ var WrappedMediaCardAnalyticsErrorBoundary = /*#__PURE__*/function (_React$Compo
90
90
  }(_react.default.Component);
91
91
  (0, _defineProperty2.default)(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
92
92
  var packageName = "@atlaskit/media-card";
93
- var packageVersion = "78.8.0";
93
+ var packageVersion = "78.9.0";
94
94
 
95
95
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
96
96
  var MediaCardAnalyticsErrorBoundary = (0, _mediaCommon.withMediaAnalyticsContext)({
@@ -30,9 +30,6 @@ var animatedStyles = (0, _react.css)({
30
30
  animationTimingFunction: 'ease-in-out',
31
31
  animationIterationCount: 'infinite'
32
32
  });
33
- var reducedFontStyle = (0, _react.css)({
34
- fontSize: '0.7em'
35
- });
36
33
  var baseStyles = (0, _react.css)({
37
34
  overflow: 'hidden',
38
35
  opacity: 1,
@@ -46,10 +43,9 @@ var baseStyles = (0, _react.css)({
46
43
  paddingInline: "var(--ds-space-100, 8px)"
47
44
  });
48
45
  var IconMessageWrapper = exports.IconMessageWrapper = function IconMessageWrapper(props) {
49
- var animated = props.animated,
50
- reducedFont = props.reducedFont;
46
+ var animated = props.animated;
51
47
  return (0, _react.jsx)("div", {
52
48
  id: "iconMessageWrapper",
53
- css: [baseStyles, reducedFont && reducedFontStyle, animated && animatedStyles]
49
+ css: [baseStyles, animated && animatedStyles]
54
50
  }, props.children);
55
51
  };
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.PreviewUnavailable = exports.PreviewCurrentlyUnavailable = exports.IconMessage = exports.FailedToUpload = exports.FailedToLoad = exports.CreatingPreview = void 0;
7
+ exports.PreviewUnavailable = exports.IconMessage = exports.FailedToUpload = exports.FailedToLoad = exports.CreatingPreview = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
10
  var _iconMessageWrapper = require("./iconMessageWrapper");
@@ -13,12 +13,9 @@ var _reactIntlNext = require("react-intl-next");
13
13
  var IconMessage = exports.IconMessage = function IconMessage(_ref) {
14
14
  var messageDescriptor = _ref.messageDescriptor,
15
15
  _ref$animated = _ref.animated,
16
- animated = _ref$animated === void 0 ? false : _ref$animated,
17
- _ref$reducedFont = _ref.reducedFont,
18
- reducedFont = _ref$reducedFont === void 0 ? false : _ref$reducedFont;
16
+ animated = _ref$animated === void 0 ? false : _ref$animated;
19
17
  return /*#__PURE__*/_react.default.createElement(_iconMessageWrapper.IconMessageWrapper, {
20
- animated: animated,
21
- reducedFont: reducedFont
18
+ animated: animated
22
19
  }, /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, messageDescriptor)));
23
20
  };
24
21
  var CreatingPreview = exports.CreatingPreview = function CreatingPreview(_ref2) {
@@ -42,10 +39,4 @@ var FailedToUpload = exports.FailedToUpload = function FailedToUpload(props) {
42
39
  return /*#__PURE__*/_react.default.createElement(IconMessage, (0, _extends2.default)({}, props, {
43
40
  messageDescriptor: _mediaUi.messages.failed_to_upload
44
41
  }));
45
- };
46
- var PreviewCurrentlyUnavailable = exports.PreviewCurrentlyUnavailable = function PreviewCurrentlyUnavailable(props) {
47
- return /*#__PURE__*/_react.default.createElement(IconMessage, (0, _extends2.default)({}, props, {
48
- messageDescriptor: _mediaUi.messages.preview_currently_unavailable,
49
- reducedFont: true
50
- }));
51
42
  };
@@ -119,7 +119,7 @@ var MediaInlineCardLoader = exports.default = /*#__PURE__*/function (_React$Pure
119
119
  ErrorBoundary = _this$state.ErrorBoundary;
120
120
  var analyticsContext = {
121
121
  packageVersion: "@atlaskit/media-card",
122
- packageName: "78.8.0",
122
+ packageName: "78.9.0",
123
123
  componentName: 'mediaInlineCard',
124
124
  component: 'mediaInlineCard'
125
125
  };
@@ -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.8.0";
18
+ var packageVersion = "78.9.0";
19
19
  var concurrentExperience;
20
20
  var getExperience = function getExperience(id) {
21
21
  if (!concurrentExperience) {
@@ -9,7 +9,7 @@ import { startResourceObserver, setAnalyticsContext } from '../utils/mediaPerfor
9
9
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
10
10
  import { fg } from '@atlaskit/platform-feature-flags';
11
11
  const packageName = "@atlaskit/media-card";
12
- const packageVersion = "78.8.0";
12
+ const packageVersion = "78.9.0";
13
13
  export const CardBase = ({
14
14
  identifier,
15
15
  ...otherProps
@@ -20,8 +20,8 @@ import { TickBox } from './ui/tickBox/tickBox';
20
20
  import { Blanket } from './ui/blanket/blanket';
21
21
  import { ActionsBar } from './ui/actionsBar/actionsBar';
22
22
  import { IconWrapper } from './ui/iconWrapper/iconWrapper';
23
- import { PreviewUnavailable, CreatingPreview, FailedToUpload, PreviewCurrentlyUnavailable, FailedToLoad } from './ui/iconMessage';
24
- import { isUploadError, isRateLimitedError, isPollingError } from '../errors';
23
+ import { PreviewUnavailable, CreatingPreview, FailedToUpload, FailedToLoad } from './ui/iconMessage';
24
+ import { isUploadError } from '../errors';
25
25
  import { Wrapper, ImageContainer } from './ui/wrapper';
26
26
  import { fileCardImageViewSelector } from './classnames';
27
27
  import { useBreakpoint } from './useBreakpoint';
@@ -143,12 +143,7 @@ export const CardViewBase = ({
143
143
  };
144
144
  let iconMessage;
145
145
  let customTitleMessage;
146
- const {
147
- secondaryError
148
- } = error || {};
149
- if (isRateLimitedError(secondaryError) || isPollingError(secondaryError)) {
150
- iconMessage = jsx(PreviewCurrentlyUnavailable, null);
151
- } else if (isUploadError(error)) {
146
+ if (isUploadError(error)) {
152
147
  iconMessage = jsx(FailedToUpload, null);
153
148
  customTitleMessage = messages.failed_to_upload;
154
149
  } else if (!metadata) {
@@ -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.8.0";
69
+ const packageVersion = "78.9.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({
@@ -23,9 +23,6 @@ const animatedStyles = css({
23
23
  animationTimingFunction: 'ease-in-out',
24
24
  animationIterationCount: 'infinite'
25
25
  });
26
- const reducedFontStyle = css({
27
- fontSize: '0.7em'
28
- });
29
26
  const baseStyles = css({
30
27
  overflow: 'hidden',
31
28
  opacity: 1,
@@ -40,11 +37,10 @@ const baseStyles = css({
40
37
  });
41
38
  export const IconMessageWrapper = props => {
42
39
  const {
43
- animated,
44
- reducedFont
40
+ animated
45
41
  } = props;
46
42
  return jsx("div", {
47
43
  id: "iconMessageWrapper",
48
- css: [baseStyles, reducedFont && reducedFontStyle, animated && animatedStyles]
44
+ css: [baseStyles, animated && animatedStyles]
49
45
  }, props.children);
50
46
  };
@@ -5,12 +5,10 @@ import { messages } from '@atlaskit/media-ui';
5
5
  import { FormattedMessage } from 'react-intl-next';
6
6
  export const IconMessage = ({
7
7
  messageDescriptor,
8
- animated = false,
9
- reducedFont = false
8
+ animated = false
10
9
  }) => {
11
10
  return /*#__PURE__*/React.createElement(IconMessageWrapper, {
12
- animated: animated,
13
- reducedFont: reducedFont
11
+ animated: animated
14
12
  }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(FormattedMessage, messageDescriptor)));
15
13
  };
16
14
  export const CreatingPreview = ({
@@ -27,8 +25,4 @@ export const FailedToLoad = props => /*#__PURE__*/React.createElement(IconMessag
27
25
  }));
28
26
  export const FailedToUpload = props => /*#__PURE__*/React.createElement(IconMessage, _extends({}, props, {
29
27
  messageDescriptor: messages.failed_to_upload
30
- }));
31
- export const PreviewCurrentlyUnavailable = props => /*#__PURE__*/React.createElement(IconMessage, _extends({}, props, {
32
- messageDescriptor: messages.preview_currently_unavailable,
33
- reducedFont: true
34
28
  }));
@@ -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.8.0",
40
+ packageName: "78.9.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.0";
8
+ const packageVersion = "78.9.0";
9
9
  let concurrentExperience;
10
10
  const getExperience = id => {
11
11
  if (!concurrentExperience) {
@@ -11,7 +11,7 @@ import { startResourceObserver, setAnalyticsContext } from '../utils/mediaPerfor
11
11
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
12
12
  import { fg } from '@atlaskit/platform-feature-flags';
13
13
  var packageName = "@atlaskit/media-card";
14
- var packageVersion = "78.8.0";
14
+ var packageVersion = "78.9.0";
15
15
  export var CardBase = function CardBase(_ref) {
16
16
  var identifier = _ref.identifier,
17
17
  otherProps = _objectWithoutProperties(_ref, _excluded);
@@ -24,8 +24,8 @@ import { TickBox } from './ui/tickBox/tickBox';
24
24
  import { Blanket } from './ui/blanket/blanket';
25
25
  import { ActionsBar } from './ui/actionsBar/actionsBar';
26
26
  import { IconWrapper } from './ui/iconWrapper/iconWrapper';
27
- import { PreviewUnavailable, CreatingPreview, FailedToUpload, PreviewCurrentlyUnavailable, FailedToLoad } from './ui/iconMessage';
28
- import { isUploadError, isRateLimitedError, isPollingError } from '../errors';
27
+ import { PreviewUnavailable, CreatingPreview, FailedToUpload, FailedToLoad } from './ui/iconMessage';
28
+ import { isUploadError } from '../errors';
29
29
  import { Wrapper, ImageContainer } from './ui/wrapper';
30
30
  import { fileCardImageViewSelector } from './classnames';
31
31
  import { useBreakpoint } from './useBreakpoint';
@@ -145,11 +145,7 @@ export var CardViewBase = function CardViewBase(_ref) {
145
145
  });
146
146
  var _iconMessage;
147
147
  var _customTitleMessage;
148
- var _ref4 = error || {},
149
- secondaryError = _ref4.secondaryError;
150
- if (isRateLimitedError(secondaryError) || isPollingError(secondaryError)) {
151
- _iconMessage = jsx(PreviewCurrentlyUnavailable, null);
152
- } else if (isUploadError(error)) {
148
+ if (isUploadError(error)) {
153
149
  _iconMessage = jsx(FailedToUpload, null);
154
150
  _customTitleMessage = messages.failed_to_upload;
155
151
  } else if (!metadata) {
@@ -197,11 +193,11 @@ export var CardViewBase = function CardViewBase(_ref) {
197
193
  var isTickBoxSelectable = !disableOverlay && !!selectable && !selected;
198
194
  // Disable tooltip for Media Single
199
195
  var shouldDisplayTooltip = !disableOverlay && !shouldHideTooltip;
200
- var _ref5 = metadata || {},
201
- mediaType = _ref5.mediaType,
202
- mimeType = _ref5.mimeType,
203
- name = _ref5.name,
204
- createdAt = _ref5.createdAt;
196
+ var _ref4 = metadata || {},
197
+ mediaType = _ref4.mediaType,
198
+ mimeType = _ref4.mimeType,
199
+ name = _ref4.name,
200
+ createdAt = _ref4.createdAt;
205
201
  var isTitleBoxVisible = renderTitleBox && name;
206
202
  var hasVisibleTitleBox = !!(isTitleBoxVisible || renderFailedTitleBox);
207
203
  var metadataRef = useCurrentValueRef(metadata);
@@ -83,7 +83,7 @@ var WrappedMediaCardAnalyticsErrorBoundary = /*#__PURE__*/function (_React$Compo
83
83
  }(React.Component);
84
84
  _defineProperty(WrappedMediaCardAnalyticsErrorBoundary, "displayName", 'MediaCardAnalyticsErrorBoundary');
85
85
  var packageName = "@atlaskit/media-card";
86
- var packageVersion = "78.8.0";
86
+ var packageVersion = "78.9.0";
87
87
 
88
88
  // @ts-ignore: [PIT-1685] Fails in post-office due to backwards incompatibility issue with React 18
89
89
  var MediaCardAnalyticsErrorBoundary = withMediaAnalyticsContext({
@@ -23,9 +23,6 @@ var animatedStyles = css({
23
23
  animationTimingFunction: 'ease-in-out',
24
24
  animationIterationCount: 'infinite'
25
25
  });
26
- var reducedFontStyle = css({
27
- fontSize: '0.7em'
28
- });
29
26
  var baseStyles = css({
30
27
  overflow: 'hidden',
31
28
  opacity: 1,
@@ -39,10 +36,9 @@ var baseStyles = css({
39
36
  paddingInline: "var(--ds-space-100, 8px)"
40
37
  });
41
38
  export var IconMessageWrapper = function IconMessageWrapper(props) {
42
- var animated = props.animated,
43
- reducedFont = props.reducedFont;
39
+ var animated = props.animated;
44
40
  return jsx("div", {
45
41
  id: "iconMessageWrapper",
46
- css: [baseStyles, reducedFont && reducedFontStyle, animated && animatedStyles]
42
+ css: [baseStyles, animated && animatedStyles]
47
43
  }, props.children);
48
44
  };
@@ -6,12 +6,9 @@ import { FormattedMessage } from 'react-intl-next';
6
6
  export var IconMessage = function IconMessage(_ref) {
7
7
  var messageDescriptor = _ref.messageDescriptor,
8
8
  _ref$animated = _ref.animated,
9
- animated = _ref$animated === void 0 ? false : _ref$animated,
10
- _ref$reducedFont = _ref.reducedFont,
11
- reducedFont = _ref$reducedFont === void 0 ? false : _ref$reducedFont;
9
+ animated = _ref$animated === void 0 ? false : _ref$animated;
12
10
  return /*#__PURE__*/React.createElement(IconMessageWrapper, {
13
- animated: animated,
14
- reducedFont: reducedFont
11
+ animated: animated
15
12
  }, /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(FormattedMessage, messageDescriptor)));
16
13
  };
17
14
  export var CreatingPreview = function CreatingPreview(_ref2) {
@@ -35,10 +32,4 @@ export var FailedToUpload = function FailedToUpload(props) {
35
32
  return /*#__PURE__*/React.createElement(IconMessage, _extends({}, props, {
36
33
  messageDescriptor: messages.failed_to_upload
37
34
  }));
38
- };
39
- export var PreviewCurrentlyUnavailable = function PreviewCurrentlyUnavailable(props) {
40
- return /*#__PURE__*/React.createElement(IconMessage, _extends({}, props, {
41
- messageDescriptor: messages.preview_currently_unavailable,
42
- reducedFont: true
43
- }));
44
35
  };
@@ -103,7 +103,7 @@ var MediaInlineCardLoader = /*#__PURE__*/function (_React$PureComponent) {
103
103
  ErrorBoundary = _this$state.ErrorBoundary;
104
104
  var analyticsContext = {
105
105
  packageVersion: "@atlaskit/media-card",
106
- packageName: "78.8.0",
106
+ packageName: "78.9.0",
107
107
  componentName: 'mediaInlineCard',
108
108
  component: 'mediaInlineCard'
109
109
  };
@@ -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.8.0";
11
+ var packageVersion = "78.9.0";
12
12
  var concurrentExperience;
13
13
  var getExperience = function getExperience(id) {
14
14
  if (!concurrentExperience) {
@@ -5,4 +5,3 @@ export declare const CreatingPreview: React.FC<CreatingPreviewProps>;
5
5
  export declare const PreviewUnavailable: React.FC;
6
6
  export declare const FailedToLoad: React.FC;
7
7
  export declare const FailedToUpload: React.FC;
8
- export declare const PreviewCurrentlyUnavailable: React.FC;
@@ -3,7 +3,6 @@ import { type MessageDescriptor } from 'react-intl-next';
3
3
  export type InternalIconMessageProps = {
4
4
  messageDescriptor: MessageDescriptor;
5
5
  animated?: boolean;
6
- reducedFont?: boolean;
7
6
  };
8
7
  export type CreatingPreviewProps = {
9
8
  disableAnimation?: boolean;
@@ -5,4 +5,3 @@ export declare const CreatingPreview: React.FC<CreatingPreviewProps>;
5
5
  export declare const PreviewUnavailable: React.FC;
6
6
  export declare const FailedToLoad: React.FC;
7
7
  export declare const FailedToUpload: React.FC;
8
- export declare const PreviewCurrentlyUnavailable: React.FC;
@@ -3,7 +3,6 @@ import { type MessageDescriptor } from 'react-intl-next';
3
3
  export type InternalIconMessageProps = {
4
4
  messageDescriptor: MessageDescriptor;
5
5
  animated?: boolean;
6
- reducedFont?: boolean;
7
6
  };
8
7
  export type CreatingPreviewProps = {
9
8
  disableAnimation?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-card",
3
- "version": "78.8.0",
3
+ "version": "78.9.0",
4
4
  "description": "Includes all media card related components, CardView, CardViewSmall, Card...",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,18 +37,18 @@
37
37
  "dependencies": {
38
38
  "@atlaskit/analytics-next": "^10.1.0",
39
39
  "@atlaskit/dropdown-menu": "^12.21.0",
40
- "@atlaskit/editor-shared-styles": "^3.0.0",
40
+ "@atlaskit/editor-shared-styles": "^3.1.0",
41
41
  "@atlaskit/icon": "^22.24.0",
42
42
  "@atlaskit/media-client": "^28.0.0",
43
43
  "@atlaskit/media-client-react": "^2.2.0",
44
- "@atlaskit/media-common": "^11.6.0",
44
+ "@atlaskit/media-common": "^11.7.0",
45
45
  "@atlaskit/media-file-preview": "^0.9.0",
46
46
  "@atlaskit/media-svg": "^0.2.0",
47
- "@atlaskit/media-ui": "^25.16.0",
47
+ "@atlaskit/media-ui": "^26.0.0",
48
48
  "@atlaskit/media-viewer": "^49.2.0",
49
49
  "@atlaskit/platform-feature-flags": "^0.3.0",
50
50
  "@atlaskit/primitives": "^12.2.0",
51
- "@atlaskit/react-ufo": "^1.1.0",
51
+ "@atlaskit/react-ufo": "^2.0.0",
52
52
  "@atlaskit/spinner": "^16.3.0",
53
53
  "@atlaskit/theme": "^14.0.0",
54
54
  "@atlaskit/tokens": "^2.0.0",