@atlaskit/media-card 77.11.1 → 77.11.2

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.
Files changed (70) hide show
  1. package/CHANGELOG.md +2836 -1931
  2. package/dist/cjs/card/card.js +1 -1
  3. package/dist/cjs/card/media-card-analytics-error-boundary.js +1 -1
  4. package/dist/cjs/card/ui/actionsBar/cardActions/styles.js +19 -8
  5. package/dist/cjs/card/ui/actionsBar/styles.js +8 -4
  6. package/dist/cjs/card/ui/blanket/styles.js +9 -4
  7. package/dist/cjs/card/ui/iconWrapper/styles.js +9 -4
  8. package/dist/cjs/card/ui/playButton/styles.js +23 -5
  9. package/dist/cjs/card/ui/progressBar/styles.js +1 -4
  10. package/dist/cjs/card/ui/styles.js +9 -3
  11. package/dist/cjs/card/ui/titleBox/styles.js +35 -8
  12. package/dist/cjs/card/ui/unhandledErrorCard/index.js +15 -5
  13. package/dist/cjs/card/v2/cardV2.js +1 -1
  14. package/dist/cjs/inline/loader.js +1 -1
  15. package/dist/cjs/utils/lightCards/errorIcon/styles.js +4 -4
  16. package/dist/cjs/utils/lightCards/styles.js +9 -4
  17. package/dist/cjs/utils/ufoExperiences.js +1 -1
  18. package/dist/es2019/card/card.js +1 -1
  19. package/dist/es2019/card/media-card-analytics-error-boundary.js +1 -1
  20. package/dist/es2019/card/ui/actionsBar/cardActions/styles.js +18 -27
  21. package/dist/es2019/card/ui/actionsBar/styles.js +8 -10
  22. package/dist/es2019/card/ui/blanket/styles.js +9 -11
  23. package/dist/es2019/card/ui/iconWrapper/styles.js +9 -9
  24. package/dist/es2019/card/ui/playButton/styles.js +22 -22
  25. package/dist/es2019/card/ui/progressBar/styles.js +1 -3
  26. package/dist/es2019/card/ui/styles.js +9 -10
  27. package/dist/es2019/card/ui/titleBox/styles.js +33 -38
  28. package/dist/es2019/card/ui/unhandledErrorCard/index.js +13 -16
  29. package/dist/es2019/card/v2/cardV2.js +1 -1
  30. package/dist/es2019/inline/loader.js +1 -1
  31. package/dist/es2019/utils/lightCards/errorIcon/styles.js +4 -4
  32. package/dist/es2019/utils/lightCards/styles.js +9 -10
  33. package/dist/es2019/utils/ufoExperiences.js +1 -1
  34. package/dist/esm/card/card.js +1 -1
  35. package/dist/esm/card/media-card-analytics-error-boundary.js +1 -1
  36. package/dist/esm/card/ui/actionsBar/cardActions/styles.js +19 -7
  37. package/dist/esm/card/ui/actionsBar/styles.js +8 -3
  38. package/dist/esm/card/ui/blanket/styles.js +9 -3
  39. package/dist/esm/card/ui/iconWrapper/styles.js +9 -3
  40. package/dist/esm/card/ui/playButton/styles.js +23 -4
  41. package/dist/esm/card/ui/progressBar/styles.js +1 -3
  42. package/dist/esm/card/ui/styles.js +9 -3
  43. package/dist/esm/card/ui/titleBox/styles.js +35 -7
  44. package/dist/esm/card/ui/unhandledErrorCard/index.js +14 -3
  45. package/dist/esm/card/v2/cardV2.js +1 -1
  46. package/dist/esm/inline/loader.js +1 -1
  47. package/dist/esm/utils/lightCards/errorIcon/styles.js +4 -3
  48. package/dist/esm/utils/lightCards/styles.js +9 -3
  49. package/dist/esm/utils/ufoExperiences.js +1 -1
  50. package/dist/types/card/ui/actionsBar/cardActions/styles.d.ts +1 -1
  51. package/dist/types/card/ui/titleBox/styles.d.ts +2 -2
  52. package/dist/types/card/v2/cardViewV2.d.ts +1 -1
  53. package/dist/types/card/v2/cardviews/errorCardView.d.ts +5 -1
  54. package/dist/types/card/v2/cardviews/iconCardView.d.ts +6 -1
  55. package/dist/types/card/v2/cardviews/imageCardView.d.ts +14 -1
  56. package/dist/types/card/v2/cardviews/index.d.ts +1 -1
  57. package/dist/types/card/v2/cardviews/loadingCardView.d.ts +5 -1
  58. package/dist/types/card/v2/cardviews/processingCardView.d.ts +4 -1
  59. package/dist/types/card/v2/cardviews/videoCardView.d.ts +14 -1
  60. package/dist/types-ts4.5/card/ui/actionsBar/cardActions/styles.d.ts +1 -1
  61. package/dist/types-ts4.5/card/ui/titleBox/styles.d.ts +2 -2
  62. package/dist/types-ts4.5/card/v2/cardViewV2.d.ts +1 -1
  63. package/dist/types-ts4.5/card/v2/cardviews/errorCardView.d.ts +5 -1
  64. package/dist/types-ts4.5/card/v2/cardviews/iconCardView.d.ts +6 -1
  65. package/dist/types-ts4.5/card/v2/cardviews/imageCardView.d.ts +14 -1
  66. package/dist/types-ts4.5/card/v2/cardviews/index.d.ts +1 -1
  67. package/dist/types-ts4.5/card/v2/cardviews/loadingCardView.d.ts +5 -1
  68. package/dist/types-ts4.5/card/v2/cardviews/processingCardView.d.ts +4 -1
  69. package/dist/types-ts4.5/card/v2/cardviews/videoCardView.d.ts +14 -1
  70. package/package.json +14 -18
@@ -16,4 +16,4 @@ export type CardActionButtonOwnProps = {
16
16
  children?: React.ReactNode;
17
17
  };
18
18
  export type CardActionButtonProps = CardActionButtonOwnProps & HTMLAttributes<HTMLButtonElement>;
19
- export declare const cardActionButtonStyles: ({ variant, }: CardActionButtonProps) => import("@emotion/react").SerializedStyles;
19
+ export declare const cardActionButtonStyles: ({ variant }: CardActionButtonProps) => import("@emotion/react").SerializedStyles;
@@ -4,11 +4,11 @@ export declare const titleBoxWrapperStyles: {
4
4
  displayName: string;
5
5
  };
6
6
  export declare const titleBoxHeaderStyles: {
7
- ({ hasIconOverlap, }: TitleBoxHeaderProps): import("@emotion/react").SerializedStyles;
7
+ ({ hasIconOverlap }: TitleBoxHeaderProps): import("@emotion/react").SerializedStyles;
8
8
  displayName: string;
9
9
  };
10
10
  export declare const titleBoxFooterStyles: {
11
- ({ hasIconOverlap, }: TitleBoxFooterProps): import("@emotion/react").SerializedStyles;
11
+ ({ hasIconOverlap }: TitleBoxFooterProps): import("@emotion/react").SerializedStyles;
12
12
  displayName: string;
13
13
  };
14
14
  export declare const titleBoxIconStyles: import("@emotion/react").SerializedStyles;
@@ -55,4 +55,4 @@ export interface RenderConfigByStatusV2 {
55
55
  customTitleMessage?: MessageDescriptor;
56
56
  }
57
57
  export declare const CardViewV2Base: ({ innerRef, onImageLoad, onImageError, dimensions, onClick, onMouseEnter, testId, metadata, status, selected, selectable, cardPreview, mediaCardCursor, shouldHideTooltip, progress, alt, resizeMode, onDisplayImage, nativeLazyLoad, forceSyncDisplay, actions, disableOverlay, titleBoxBgColor, titleBoxIcon, error, disableAnimation, openMediaViewerButtonRef, shouldOpenMediaViewer, }: CardViewV2BaseProps) => jsx.JSX.Element;
58
- export declare const CardViewV2: React.ForwardRefExoticComponent<Omit<CardViewV2BaseProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
58
+ export declare const CardViewV2: React.ForwardRefExoticComponent<Omit<CardViewV2Props & WithAnalyticsEventsProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
@@ -8,4 +8,8 @@ export type ErrorCardViewProps = SharedCardViewProps & WithAnalyticsEventsProps
8
8
  disableAnimation?: boolean;
9
9
  readonly error?: MediaCardError;
10
10
  };
11
- export declare const ErrorCardView: import("react").ForwardRefExoticComponent<Omit<ErrorCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
11
+ export declare const ErrorCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
12
+ metadata?: FileDetails | undefined;
13
+ disableAnimation?: boolean | undefined;
14
+ readonly error?: MediaCardError | undefined;
15
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
@@ -9,4 +9,9 @@ export type IconCardViewProps = SharedCardViewProps & WithAnalyticsEventsProps &
9
9
  readonly progress?: number;
10
10
  readonly innerRef?: (instance: HTMLDivElement | null) => void;
11
11
  };
12
- export declare const IconCardView: import("react").ForwardRefExoticComponent<Omit<IconCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
12
+ export declare const IconCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
13
+ status: CardStatus;
14
+ metadata?: FileDetails | undefined;
15
+ readonly progress?: number | undefined;
16
+ readonly innerRef?: ((instance: HTMLDivElement | null) => void) | undefined;
17
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
@@ -18,4 +18,17 @@ export type ImageCardViewProps = SharedCardViewProps & WithAnalyticsEventsProps
18
18
  readonly innerRef?: (instance: HTMLDivElement | null) => void;
19
19
  readonly progress?: number;
20
20
  };
21
- export declare const ImageCardView: import("react").ForwardRefExoticComponent<Omit<ImageCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
21
+ export declare const ImageCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
22
+ status: CardStatus;
23
+ cardPreview: CardPreview;
24
+ readonly alt?: string | undefined;
25
+ readonly resizeMode?: ImageResizeMode | undefined;
26
+ readonly onDisplayImage?: (() => void) | undefined;
27
+ readonly nativeLazyLoad?: boolean | undefined;
28
+ readonly forceSyncDisplay?: boolean | undefined;
29
+ readonly onImageLoad?: ((cardPreview: CardPreview) => void) | undefined;
30
+ readonly onImageError?: ((cardPreview: CardPreview) => void) | undefined;
31
+ metadata?: FileDetails | undefined;
32
+ readonly innerRef?: ((instance: HTMLDivElement | null) => void) | undefined;
33
+ readonly progress?: number | undefined;
34
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
@@ -44,4 +44,4 @@ export interface RenderConfigByStatusV2 {
44
44
  customTitleMessage?: MessageDescriptor;
45
45
  }
46
46
  export declare const CardViewsBase: ({ innerRef, onImageLoad, onImageError, dimensions, appearance, onClick, onMouseEnter, testId, metadata, status, selected, selectable, cardPreview, mediaCardCursor, shouldHideTooltip, progress, alt, resizeMode, onDisplayImage, nativeLazyLoad, forceSyncDisplay, actions, disableOverlay, titleBoxBgColor, titleBoxIcon, error, disableAnimation, shouldOpenMediaViewer, openMediaViewerButtonRef, }: CardViewV2Props) => jsx.JSX.Element;
47
- export declare const CardViews: React.ForwardRefExoticComponent<Omit<CardViewV2Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
47
+ export declare const CardViews: React.ForwardRefExoticComponent<Omit<CardViewsOwnProps & WithAnalyticsEventsProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
@@ -7,4 +7,8 @@ export type LoadingCardViewProps = SharedCardViewProps & WithAnalyticsEventsProp
7
7
  disableAnimation?: boolean;
8
8
  readonly innerRef?: (instance: HTMLDivElement | null) => void;
9
9
  };
10
- export declare const LoadingCardView: import("react").ForwardRefExoticComponent<Omit<LoadingCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
10
+ export declare const LoadingCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
11
+ metadata?: FileDetails | undefined;
12
+ disableAnimation?: boolean | undefined;
13
+ readonly innerRef?: ((instance: HTMLDivElement | null) => void) | undefined;
14
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
@@ -5,4 +5,7 @@ export type ProcessingCardViewProps = SharedCardViewProps & WithAnalyticsEventsP
5
5
  disableAnimation?: boolean;
6
6
  readonly innerRef?: (instance: HTMLDivElement | null) => void;
7
7
  };
8
- export declare const ProcessingCardView: import("react").ForwardRefExoticComponent<Omit<ProcessingCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
8
+ export declare const ProcessingCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
9
+ disableAnimation?: boolean | undefined;
10
+ readonly innerRef?: ((instance: HTMLDivElement | null) => void) | undefined;
11
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
@@ -18,4 +18,17 @@ export type VideoCardViewProps = SharedCardViewProps & WithAnalyticsEventsProps
18
18
  readonly innerRef?: (instance: HTMLDivElement | null) => void;
19
19
  readonly progress?: number;
20
20
  };
21
- export declare const VideoCardView: import("react").ForwardRefExoticComponent<Omit<VideoCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
21
+ export declare const VideoCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
22
+ status: CardStatus;
23
+ cardPreview: CardPreview;
24
+ readonly alt?: string | undefined;
25
+ readonly resizeMode?: ImageResizeMode | undefined;
26
+ readonly onDisplayImage?: (() => void) | undefined;
27
+ readonly nativeLazyLoad?: boolean | undefined;
28
+ readonly forceSyncDisplay?: boolean | undefined;
29
+ readonly onImageLoad?: ((cardPreview: CardPreview) => void) | undefined;
30
+ readonly onImageError?: ((cardPreview: CardPreview) => void) | undefined;
31
+ metadata?: FileDetails | undefined;
32
+ readonly innerRef?: ((instance: HTMLDivElement | null) => void) | undefined;
33
+ readonly progress?: number | undefined;
34
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
@@ -16,4 +16,4 @@ export type CardActionButtonOwnProps = {
16
16
  children?: React.ReactNode;
17
17
  };
18
18
  export type CardActionButtonProps = CardActionButtonOwnProps & HTMLAttributes<HTMLButtonElement>;
19
- export declare const cardActionButtonStyles: ({ variant, }: CardActionButtonProps) => import("@emotion/react").SerializedStyles;
19
+ export declare const cardActionButtonStyles: ({ variant }: CardActionButtonProps) => import("@emotion/react").SerializedStyles;
@@ -4,11 +4,11 @@ export declare const titleBoxWrapperStyles: {
4
4
  displayName: string;
5
5
  };
6
6
  export declare const titleBoxHeaderStyles: {
7
- ({ hasIconOverlap, }: TitleBoxHeaderProps): import("@emotion/react").SerializedStyles;
7
+ ({ hasIconOverlap }: TitleBoxHeaderProps): import("@emotion/react").SerializedStyles;
8
8
  displayName: string;
9
9
  };
10
10
  export declare const titleBoxFooterStyles: {
11
- ({ hasIconOverlap, }: TitleBoxFooterProps): import("@emotion/react").SerializedStyles;
11
+ ({ hasIconOverlap }: TitleBoxFooterProps): import("@emotion/react").SerializedStyles;
12
12
  displayName: string;
13
13
  };
14
14
  export declare const titleBoxIconStyles: import("@emotion/react").SerializedStyles;
@@ -55,4 +55,4 @@ export interface RenderConfigByStatusV2 {
55
55
  customTitleMessage?: MessageDescriptor;
56
56
  }
57
57
  export declare const CardViewV2Base: ({ innerRef, onImageLoad, onImageError, dimensions, onClick, onMouseEnter, testId, metadata, status, selected, selectable, cardPreview, mediaCardCursor, shouldHideTooltip, progress, alt, resizeMode, onDisplayImage, nativeLazyLoad, forceSyncDisplay, actions, disableOverlay, titleBoxBgColor, titleBoxIcon, error, disableAnimation, openMediaViewerButtonRef, shouldOpenMediaViewer, }: CardViewV2BaseProps) => jsx.JSX.Element;
58
- export declare const CardViewV2: React.ForwardRefExoticComponent<Omit<CardViewV2BaseProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
58
+ export declare const CardViewV2: React.ForwardRefExoticComponent<Omit<CardViewV2Props & WithAnalyticsEventsProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
@@ -8,4 +8,8 @@ export type ErrorCardViewProps = SharedCardViewProps & WithAnalyticsEventsProps
8
8
  disableAnimation?: boolean;
9
9
  readonly error?: MediaCardError;
10
10
  };
11
- export declare const ErrorCardView: import("react").ForwardRefExoticComponent<Omit<ErrorCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
11
+ export declare const ErrorCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
12
+ metadata?: FileDetails | undefined;
13
+ disableAnimation?: boolean | undefined;
14
+ readonly error?: MediaCardError | undefined;
15
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
@@ -9,4 +9,9 @@ export type IconCardViewProps = SharedCardViewProps & WithAnalyticsEventsProps &
9
9
  readonly progress?: number;
10
10
  readonly innerRef?: (instance: HTMLDivElement | null) => void;
11
11
  };
12
- export declare const IconCardView: import("react").ForwardRefExoticComponent<Omit<IconCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
12
+ export declare const IconCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
13
+ status: CardStatus;
14
+ metadata?: FileDetails | undefined;
15
+ readonly progress?: number | undefined;
16
+ readonly innerRef?: ((instance: HTMLDivElement | null) => void) | undefined;
17
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
@@ -18,4 +18,17 @@ export type ImageCardViewProps = SharedCardViewProps & WithAnalyticsEventsProps
18
18
  readonly innerRef?: (instance: HTMLDivElement | null) => void;
19
19
  readonly progress?: number;
20
20
  };
21
- export declare const ImageCardView: import("react").ForwardRefExoticComponent<Omit<ImageCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
21
+ export declare const ImageCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
22
+ status: CardStatus;
23
+ cardPreview: CardPreview;
24
+ readonly alt?: string | undefined;
25
+ readonly resizeMode?: ImageResizeMode | undefined;
26
+ readonly onDisplayImage?: (() => void) | undefined;
27
+ readonly nativeLazyLoad?: boolean | undefined;
28
+ readonly forceSyncDisplay?: boolean | undefined;
29
+ readonly onImageLoad?: ((cardPreview: CardPreview) => void) | undefined;
30
+ readonly onImageError?: ((cardPreview: CardPreview) => void) | undefined;
31
+ metadata?: FileDetails | undefined;
32
+ readonly innerRef?: ((instance: HTMLDivElement | null) => void) | undefined;
33
+ readonly progress?: number | undefined;
34
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
@@ -44,4 +44,4 @@ export interface RenderConfigByStatusV2 {
44
44
  customTitleMessage?: MessageDescriptor;
45
45
  }
46
46
  export declare const CardViewsBase: ({ innerRef, onImageLoad, onImageError, dimensions, appearance, onClick, onMouseEnter, testId, metadata, status, selected, selectable, cardPreview, mediaCardCursor, shouldHideTooltip, progress, alt, resizeMode, onDisplayImage, nativeLazyLoad, forceSyncDisplay, actions, disableOverlay, titleBoxBgColor, titleBoxIcon, error, disableAnimation, shouldOpenMediaViewer, openMediaViewerButtonRef, }: CardViewV2Props) => jsx.JSX.Element;
47
- export declare const CardViews: React.ForwardRefExoticComponent<Omit<CardViewV2Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
47
+ export declare const CardViews: React.ForwardRefExoticComponent<Omit<CardViewsOwnProps & WithAnalyticsEventsProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
@@ -7,4 +7,8 @@ export type LoadingCardViewProps = SharedCardViewProps & WithAnalyticsEventsProp
7
7
  disableAnimation?: boolean;
8
8
  readonly innerRef?: (instance: HTMLDivElement | null) => void;
9
9
  };
10
- export declare const LoadingCardView: import("react").ForwardRefExoticComponent<Omit<LoadingCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
10
+ export declare const LoadingCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
11
+ metadata?: FileDetails | undefined;
12
+ disableAnimation?: boolean | undefined;
13
+ readonly innerRef?: ((instance: HTMLDivElement | null) => void) | undefined;
14
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
@@ -5,4 +5,7 @@ export type ProcessingCardViewProps = SharedCardViewProps & WithAnalyticsEventsP
5
5
  disableAnimation?: boolean;
6
6
  readonly innerRef?: (instance: HTMLDivElement | null) => void;
7
7
  };
8
- export declare const ProcessingCardView: import("react").ForwardRefExoticComponent<Omit<ProcessingCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
8
+ export declare const ProcessingCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
9
+ disableAnimation?: boolean | undefined;
10
+ readonly innerRef?: ((instance: HTMLDivElement | null) => void) | undefined;
11
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
@@ -18,4 +18,17 @@ export type VideoCardViewProps = SharedCardViewProps & WithAnalyticsEventsProps
18
18
  readonly innerRef?: (instance: HTMLDivElement | null) => void;
19
19
  readonly progress?: number;
20
20
  };
21
- export declare const VideoCardView: import("react").ForwardRefExoticComponent<Omit<VideoCardViewProps, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
21
+ export declare const VideoCardView: import("react").ForwardRefExoticComponent<Omit<SharedCardViewProps & WithAnalyticsEventsProps & {
22
+ status: CardStatus;
23
+ cardPreview: CardPreview;
24
+ readonly alt?: string | undefined;
25
+ readonly resizeMode?: ImageResizeMode | undefined;
26
+ readonly onDisplayImage?: (() => void) | undefined;
27
+ readonly nativeLazyLoad?: boolean | undefined;
28
+ readonly forceSyncDisplay?: boolean | undefined;
29
+ readonly onImageLoad?: ((cardPreview: CardPreview) => void) | undefined;
30
+ readonly onImageError?: ((cardPreview: CardPreview) => void) | undefined;
31
+ metadata?: FileDetails | undefined;
32
+ readonly innerRef?: ((instance: HTMLDivElement | null) => void) | undefined;
33
+ readonly progress?: number | undefined;
34
+ }, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-card",
3
- "version": "77.11.1",
3
+ "version": "77.11.2",
4
4
  "description": "Includes all media card related components, CardView, CardViewSmall, Card...",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,21 +36,21 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "@atlaskit/analytics-next": "^9.2.0",
40
- "@atlaskit/dropdown-menu": "^12.8.0",
41
- "@atlaskit/editor-shared-styles": "^2.9.0",
39
+ "@atlaskit/analytics-next": "^9.3.0",
40
+ "@atlaskit/dropdown-menu": "^12.10.0",
41
+ "@atlaskit/editor-shared-styles": "^2.10.0",
42
42
  "@atlaskit/icon": "^22.1.0",
43
- "@atlaskit/media-client": "^26.3.0",
43
+ "@atlaskit/media-client": "^27.0.0",
44
44
  "@atlaskit/media-client-react": "^2.0.0",
45
- "@atlaskit/media-common": "^11.1.0",
45
+ "@atlaskit/media-common": "^11.2.0",
46
46
  "@atlaskit/media-file-preview": "^0.5.0",
47
- "@atlaskit/media-ui": "^25.7.0",
48
- "@atlaskit/media-viewer": "^48.4.0",
47
+ "@atlaskit/media-ui": "^25.10.0",
48
+ "@atlaskit/media-viewer": "^48.5.0",
49
49
  "@atlaskit/platform-feature-flags": "^0.2.2",
50
- "@atlaskit/spinner": "^16.0.0",
50
+ "@atlaskit/spinner": "^16.1.0",
51
51
  "@atlaskit/theme": "^12.7.0",
52
- "@atlaskit/tokens": "^1.43.0",
53
- "@atlaskit/tooltip": "^18.2.0",
52
+ "@atlaskit/tokens": "^1.45.0",
53
+ "@atlaskit/tooltip": "^18.3.0",
54
54
  "@atlaskit/ufo": "^0.2.0",
55
55
  "@atlaskit/ufo-interaction-ignore": "^1.1.0",
56
56
  "@babel/runtime": "^7.0.0",
@@ -69,13 +69,13 @@
69
69
  "@af/integration-testing": "*",
70
70
  "@atlaskit/analytics-listeners": "^8.9.0",
71
71
  "@atlaskit/analytics-namespaced-context": "^6.9.0",
72
- "@atlaskit/inline-message": "^12.0.0",
72
+ "@atlaskit/inline-message": "^12.1.0",
73
73
  "@atlaskit/media-core": "^34.2.0",
74
74
  "@atlaskit/media-picker": "^66.4.0",
75
75
  "@atlaskit/media-state": "^1.0.0",
76
- "@atlaskit/media-test-data": "^2.0.0",
76
+ "@atlaskit/media-test-data": "^2.1.0",
77
77
  "@atlaskit/media-test-helpers": "^33.0.0",
78
- "@atlaskit/primitives": "^5.5.0",
78
+ "@atlaskit/primitives": "^6.1.0",
79
79
  "@atlaskit/ssr": "*",
80
80
  "@atlaskit/visual-regression": "*",
81
81
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
@@ -101,10 +101,6 @@
101
101
  },
102
102
  "platform.media-experience.card-views-refactor_b91lr": {
103
103
  "type": "boolean"
104
- },
105
- "platform.corex.password-protected-pdf_ht8re": {
106
- "type": "boolean",
107
- "referenceOnly": "true"
108
104
  }
109
105
  },
110
106
  "techstack": {