@atlaskit/media-card 74.2.0 → 74.3.1
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 +20 -0
- package/dist/cjs/card/card.js +4 -4
- package/dist/cjs/card/cardImageView/cardOverlay/index.js +3 -1
- package/dist/cjs/card/cardImageView/cardOverlay/styles.js +8 -6
- package/dist/cjs/card/cardImageView/fileCardImageView.js +3 -1
- package/dist/cjs/card/cardImageView/styles.js +11 -7
- package/dist/cjs/card/getCardPreview/helpers.js +2 -2
- package/dist/cjs/card/getCardPreview/index.js +5 -5
- package/dist/cjs/card/styles/index.js +3 -1
- package/dist/cjs/card/ui/blanket/styles.js +3 -1
- package/dist/cjs/card/ui/iconMessage/styles.js +3 -1
- package/dist/cjs/card/ui/loadingRateLimited/styles.js +3 -1
- package/dist/cjs/card/ui/newFileExperience/styles.js +3 -1
- package/dist/cjs/card/ui/playButton/styles.js +4 -2
- package/dist/cjs/card/ui/progressBar/styles.js +5 -1
- package/dist/cjs/card/ui/styles.js +3 -1
- package/dist/cjs/card/ui/tickBox/styles.js +4 -2
- package/dist/cjs/card/ui/titleBox/failedTitleBox.js +3 -1
- package/dist/cjs/card/ui/titleBox/styles.js +3 -1
- package/dist/cjs/utils/cardActions/styles.js +6 -2
- package/dist/cjs/utils/errorIcon/styles.js +3 -1
- package/dist/cjs/utils/fileIcon/index.js +1 -1
- package/dist/cjs/utils/lightCards/styles.js +6 -4
- package/dist/cjs/utils/ufoExperiences.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/card/card.js +4 -4
- package/dist/es2019/card/cardImageView/cardOverlay/index.js +2 -1
- package/dist/es2019/card/cardImageView/cardOverlay/styles.js +24 -55
- package/dist/es2019/card/cardImageView/fileCardImageView.js +3 -3
- package/dist/es2019/card/cardImageView/styles.js +10 -7
- package/dist/es2019/card/getCardPreview/helpers.js +2 -2
- package/dist/es2019/card/getCardPreview/index.js +4 -4
- package/dist/es2019/card/styles/index.js +2 -1
- package/dist/es2019/card/ui/blanket/styles.js +2 -1
- package/dist/es2019/card/ui/iconMessage/styles.js +2 -1
- package/dist/es2019/card/ui/loadingRateLimited/styles.js +2 -1
- package/dist/es2019/card/ui/newFileExperience/styles.js +9 -8
- package/dist/es2019/card/ui/playButton/styles.js +3 -2
- package/dist/es2019/card/ui/progressBar/styles.js +5 -2
- package/dist/es2019/card/ui/styles.js +2 -1
- package/dist/es2019/card/ui/tickBox/styles.js +5 -4
- package/dist/es2019/card/ui/titleBox/failedTitleBox.js +2 -1
- package/dist/es2019/card/ui/titleBox/styles.js +2 -1
- package/dist/es2019/utils/cardActions/styles.js +6 -5
- package/dist/es2019/utils/errorIcon/styles.js +2 -1
- package/dist/es2019/utils/fileIcon/index.js +1 -1
- package/dist/es2019/utils/lightCards/styles.js +6 -6
- package/dist/es2019/utils/progressBar/styles.js +1 -0
- package/dist/es2019/utils/ufoExperiences.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/card/card.js +4 -4
- package/dist/esm/card/cardImageView/cardOverlay/index.js +2 -1
- package/dist/esm/card/cardImageView/cardOverlay/styles.js +8 -7
- package/dist/esm/card/cardImageView/fileCardImageView.js +3 -3
- package/dist/esm/card/cardImageView/styles.js +10 -7
- package/dist/esm/card/getCardPreview/helpers.js +2 -2
- package/dist/esm/card/getCardPreview/index.js +5 -5
- package/dist/esm/card/styles/index.js +2 -1
- package/dist/esm/card/ui/blanket/styles.js +2 -1
- package/dist/esm/card/ui/iconMessage/styles.js +2 -1
- package/dist/esm/card/ui/loadingRateLimited/styles.js +2 -1
- package/dist/esm/card/ui/newFileExperience/styles.js +2 -1
- package/dist/esm/card/ui/playButton/styles.js +3 -2
- package/dist/esm/card/ui/progressBar/styles.js +5 -2
- package/dist/esm/card/ui/styles.js +2 -1
- package/dist/esm/card/ui/tickBox/styles.js +3 -2
- package/dist/esm/card/ui/titleBox/failedTitleBox.js +2 -1
- package/dist/esm/card/ui/titleBox/styles.js +2 -1
- package/dist/esm/utils/cardActions/styles.js +4 -2
- package/dist/esm/utils/errorIcon/styles.js +2 -1
- package/dist/esm/utils/fileIcon/index.js +1 -1
- package/dist/esm/utils/lightCards/styles.js +6 -6
- package/dist/esm/utils/progressBar/styles.js +1 -0
- package/dist/esm/utils/ufoExperiences.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/card/getCardPreview/helpers.d.ts +2 -1
- package/dist/types/card/getCardPreview/index.d.ts +4 -4
- package/dist/types/card/styles/index.d.ts +1 -1
- package/example-helpers/styles.ts +10 -6
- package/package.json +13 -15
- package/report.api.md +44 -39
- package/dist/cjs/utils/mediaTypeIcon/iconWrapper.js +0 -20
- package/dist/cjs/utils/mediaTypeIcon/index.js +0 -81
- package/dist/cjs/utils/mediaTypeIcon/styles.js +0 -37
- package/dist/cjs/utils/mediaTypeIcon/types.js +0 -5
- package/dist/es2019/utils/mediaTypeIcon/iconWrapper.js +0 -9
- package/dist/es2019/utils/mediaTypeIcon/index.js +0 -35
- package/dist/es2019/utils/mediaTypeIcon/styles.js +0 -22
- package/dist/es2019/utils/mediaTypeIcon/types.js +0 -1
- package/dist/esm/utils/mediaTypeIcon/iconWrapper.js +0 -9
- package/dist/esm/utils/mediaTypeIcon/index.js +0 -59
- package/dist/esm/utils/mediaTypeIcon/styles.js +0 -24
- package/dist/esm/utils/mediaTypeIcon/types.js +0 -1
- package/dist/types/utils/mediaTypeIcon/iconWrapper.d.ts +0 -4
- package/dist/types/utils/mediaTypeIcon/index.d.ts +0 -10
- package/dist/types/utils/mediaTypeIcon/styles.d.ts +0 -2
- package/dist/types/utils/mediaTypeIcon/types.d.ts +0 -6
- package/dist/types-ts4.0/card/actions.d.ts +0 -9
- package/dist/types-ts4.0/card/card.d.ts +0 -60
- package/dist/types-ts4.0/card/cardAnalytics.d.ts +0 -9
- package/dist/types-ts4.0/card/cardConstants.d.ts +0 -1
- package/dist/types-ts4.0/card/cardImageView/cardImageViewWrapper.d.ts +0 -6
- package/dist/types-ts4.0/card/cardImageView/cardOverlay/cardOverlayComponents.d.ts +0 -8
- package/dist/types-ts4.0/card/cardImageView/cardOverlay/index.d.ts +0 -39
- package/dist/types-ts4.0/card/cardImageView/cardOverlay/styles.d.ts +0 -26
- package/dist/types-ts4.0/card/cardImageView/cardViewWrapper.d.ts +0 -4
- package/dist/types-ts4.0/card/cardImageView/classnames.d.ts +0 -2
- package/dist/types-ts4.0/card/cardImageView/fileCardImageView.d.ts +0 -49
- package/dist/types-ts4.0/card/cardImageView/index.d.ts +0 -2
- package/dist/types-ts4.0/card/cardImageView/styles.d.ts +0 -24
- package/dist/types-ts4.0/card/cardLoader.d.ts +0 -6
- package/dist/types-ts4.0/card/cardState.d.ts +0 -5
- package/dist/types-ts4.0/card/cardView.d.ts +0 -80
- package/dist/types-ts4.0/card/getCardPreview/cache.d.ts +0 -19
- package/dist/types-ts4.0/card/getCardPreview/filePreviewStatus.d.ts +0 -5
- package/dist/types-ts4.0/card/getCardPreview/helpers.d.ts +0 -9
- package/dist/types-ts4.0/card/getCardPreview/imageRefetchingAnalytics.d.ts +0 -10
- package/dist/types-ts4.0/card/getCardPreview/index.d.ts +0 -58
- package/dist/types-ts4.0/card/getCardStatus.d.ts +0 -4
- package/dist/types-ts4.0/card/index.d.ts +0 -1
- package/dist/types-ts4.0/card/inlinePlayer.d.ts +0 -52
- package/dist/types-ts4.0/card/inlinePlayerLazy.d.ts +0 -2
- package/dist/types-ts4.0/card/inlinePlayerWrapper.d.ts +0 -4
- package/dist/types-ts4.0/card/styles/animations.d.ts +0 -1
- package/dist/types-ts4.0/card/styles/config.d.ts +0 -1
- package/dist/types-ts4.0/card/styles/easing.d.ts +0 -2
- package/dist/types-ts4.0/card/styles/getSelectedBorderStyle.d.ts +0 -3
- package/dist/types-ts4.0/card/styles/index.d.ts +0 -9
- package/dist/types-ts4.0/card/styles/mixins.d.ts +0 -21
- package/dist/types-ts4.0/card/styles/styles.d.ts +0 -10
- package/dist/types-ts4.0/card/types.d.ts +0 -24
- package/dist/types-ts4.0/card/ui/actionsBar/actionsBar.d.ts +0 -5
- package/dist/types-ts4.0/card/ui/actionsBar/actionsBarWrapper.d.ts +0 -4
- package/dist/types-ts4.0/card/ui/actionsBar/styles.d.ts +0 -6
- package/dist/types-ts4.0/card/ui/actionsBar/types.d.ts +0 -10
- package/dist/types-ts4.0/card/ui/blanket/blanket.d.ts +0 -6
- package/dist/types-ts4.0/card/ui/blanket/styles.d.ts +0 -6
- package/dist/types-ts4.0/card/ui/common.d.ts +0 -23
- package/dist/types-ts4.0/card/ui/iconMessage/iconMessageWrapper.d.ts +0 -4
- package/dist/types-ts4.0/card/ui/iconMessage/index.d.ts +0 -8
- package/dist/types-ts4.0/card/ui/iconMessage/styles.d.ts +0 -5
- package/dist/types-ts4.0/card/ui/iconMessage/types.d.ts +0 -19
- package/dist/types-ts4.0/card/ui/iconWrapper/iconWrapper.d.ts +0 -4
- package/dist/types-ts4.0/card/ui/iconWrapper/styles.d.ts +0 -7
- package/dist/types-ts4.0/card/ui/iconWrapper/types.d.ts +0 -6
- package/dist/types-ts4.0/card/ui/imageRenderer/imageRenderer.d.ts +0 -15
- package/dist/types-ts4.0/card/ui/loadingRateLimited/styles.d.ts +0 -13
- package/dist/types-ts4.0/card/ui/newFileExperience/newFileExperienceWrapper.d.ts +0 -4
- package/dist/types-ts4.0/card/ui/newFileExperience/styles.d.ts +0 -5
- package/dist/types-ts4.0/card/ui/newFileExperience/types.d.ts +0 -23
- package/dist/types-ts4.0/card/ui/playButton/playButton.d.ts +0 -2
- package/dist/types-ts4.0/card/ui/playButton/playButtonBackground.d.ts +0 -3
- package/dist/types-ts4.0/card/ui/playButton/playButtonWrapper.d.ts +0 -3
- package/dist/types-ts4.0/card/ui/playButton/styles.d.ts +0 -5
- package/dist/types-ts4.0/card/ui/progressBar/progressBar.d.ts +0 -10
- package/dist/types-ts4.0/card/ui/progressBar/styledBar.d.ts +0 -4
- package/dist/types-ts4.0/card/ui/progressBar/styles.d.ts +0 -7
- package/dist/types-ts4.0/card/ui/progressBar/types.d.ts +0 -7
- package/dist/types-ts4.0/card/ui/styles.d.ts +0 -11
- package/dist/types-ts4.0/card/ui/tickBox/styles.d.ts +0 -7
- package/dist/types-ts4.0/card/ui/tickBox/tickBox.d.ts +0 -3
- package/dist/types-ts4.0/card/ui/tickBox/tickBoxWrapper.d.ts +0 -4
- package/dist/types-ts4.0/card/ui/tickBox/types.d.ts +0 -4
- package/dist/types-ts4.0/card/ui/titleBox/failedTitleBox.d.ts +0 -3
- package/dist/types-ts4.0/card/ui/titleBox/styles.d.ts +0 -15
- package/dist/types-ts4.0/card/ui/titleBox/titleBox.d.ts +0 -4
- package/dist/types-ts4.0/card/ui/titleBox/titleBoxComponents.d.ts +0 -8
- package/dist/types-ts4.0/card/ui/titleBox/types.d.ts +0 -32
- package/dist/types-ts4.0/classnames.d.ts +0 -5
- package/dist/types-ts4.0/errors.d.ts +0 -41
- package/dist/types-ts4.0/index.d.ts +0 -15
- package/dist/types-ts4.0/inline/index.d.ts +0 -1
- package/dist/types-ts4.0/inline/loader.d.ts +0 -25
- package/dist/types-ts4.0/inline/mediaInlineCard.d.ts +0 -14
- package/dist/types-ts4.0/types.d.ts +0 -96
- package/dist/types-ts4.0/utils/analytics.d.ts +0 -77
- package/dist/types-ts4.0/utils/breakpoint.d.ts +0 -11
- package/dist/types-ts4.0/utils/cardActions/cardActionButton.d.ts +0 -3
- package/dist/types-ts4.0/utils/cardActions/cardActionIconButton.d.ts +0 -12
- package/dist/types-ts4.0/utils/cardActions/cardActionsDropdownMenu.d.ts +0 -14
- package/dist/types-ts4.0/utils/cardActions/cardActionsView.d.ts +0 -16
- package/dist/types-ts4.0/utils/cardActions/index.d.ts +0 -7
- package/dist/types-ts4.0/utils/cardActions/styles.d.ts +0 -18
- package/dist/types-ts4.0/utils/cardDimensions.d.ts +0 -49
- package/dist/types-ts4.0/utils/containsPixelUnit.d.ts +0 -1
- package/dist/types-ts4.0/utils/dimensionComparer.d.ts +0 -3
- package/dist/types-ts4.0/utils/document.d.ts +0 -2
- package/dist/types-ts4.0/utils/errorIcon/index.d.ts +0 -12
- package/dist/types-ts4.0/utils/errorIcon/styles.d.ts +0 -1
- package/dist/types-ts4.0/utils/fileIcon/index.d.ts +0 -12
- package/dist/types-ts4.0/utils/fileIcon/styles.d.ts +0 -1
- package/dist/types-ts4.0/utils/generateUniqueId.d.ts +0 -1
- package/dist/types-ts4.0/utils/getCSSUnitValue.d.ts +0 -1
- package/dist/types-ts4.0/utils/getDataURIDimension.d.ts +0 -9
- package/dist/types-ts4.0/utils/getElementDimension.d.ts +0 -2
- package/dist/types-ts4.0/utils/getErrorMessage.d.ts +0 -2
- package/dist/types-ts4.0/utils/getMediaCardCursor.d.ts +0 -6
- package/dist/types-ts4.0/utils/globalScope/getSSRData.d.ts +0 -3
- package/dist/types-ts4.0/utils/globalScope/globalScope.d.ts +0 -21
- package/dist/types-ts4.0/utils/globalScope/index.d.ts +0 -4
- package/dist/types-ts4.0/utils/globalScope/types.d.ts +0 -8
- package/dist/types-ts4.0/utils/index.d.ts +0 -14
- package/dist/types-ts4.0/utils/isRetina.d.ts +0 -1
- package/dist/types-ts4.0/utils/isValidPercentageUnit.d.ts +0 -1
- package/dist/types-ts4.0/utils/lightCards/cardError.d.ts +0 -12
- package/dist/types-ts4.0/utils/lightCards/cardLoading.d.ts +0 -5
- package/dist/types-ts4.0/utils/lightCards/getDimensionsWithDefault.d.ts +0 -2
- package/dist/types-ts4.0/utils/lightCards/lightCardWrappers.d.ts +0 -5
- package/dist/types-ts4.0/utils/lightCards/styles.d.ts +0 -4
- package/dist/types-ts4.0/utils/lightCards/types.d.ts +0 -15
- package/dist/types-ts4.0/utils/media-card-analytics-error-boundary.d.ts +0 -10
- package/dist/types-ts4.0/utils/mediaTypeIcon/iconWrapper.d.ts +0 -4
- package/dist/types-ts4.0/utils/mediaTypeIcon/index.d.ts +0 -10
- package/dist/types-ts4.0/utils/mediaTypeIcon/styles.d.ts +0 -2
- package/dist/types-ts4.0/utils/mediaTypeIcon/types.d.ts +0 -6
- package/dist/types-ts4.0/utils/metadata.d.ts +0 -2
- package/dist/types-ts4.0/utils/objectURLCache.d.ts +0 -11
- package/dist/types-ts4.0/utils/preventClickThrough.d.ts +0 -8
- package/dist/types-ts4.0/utils/printScript.d.ts +0 -2
- package/dist/types-ts4.0/utils/progressBar/index.d.ts +0 -9
- package/dist/types-ts4.0/utils/progressBar/styles.d.ts +0 -1
- package/dist/types-ts4.0/utils/resizeModeToMediaImageProps.d.ts +0 -5
- package/dist/types-ts4.0/utils/shouldDisplayImageThumbnail.d.ts +0 -3
- package/dist/types-ts4.0/utils/ufoExperiences.d.ts +0 -7
- package/dist/types-ts4.0/utils/videoSnapshot.d.ts +0 -1
- package/dist/types-ts4.0/utils/viewportDetector.d.ts +0 -6
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { FileDetails, MediaClientErrorReason, RequestMetadata } from '@atlaskit/media-client';
|
|
2
|
-
import { FileAttributes, PerformanceAttributes, OperationalEventPayload, UIEventPayload, WithFileAttributes, WithPerformanceAttributes, SuccessAttributes, FailureAttributes, ScreenEventPayload, ScreenAttributes, MediaTraceContext, WithTraceContext } from '@atlaskit/media-common';
|
|
3
|
-
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
|
-
import { MediaCardError, MediaCardErrorPrimaryReason } from '../errors';
|
|
5
|
-
import { CardPreviewSource, CardDimensions } from '../types';
|
|
6
|
-
export declare type CardPreviewAttributes = {
|
|
7
|
-
fileId: string;
|
|
8
|
-
prevDimensions: CardDimensions | undefined;
|
|
9
|
-
currentDimensions: CardDimensions | undefined;
|
|
10
|
-
dimensionsPercentageDiff?: CardDimensions | undefined;
|
|
11
|
-
source: CardPreviewSource;
|
|
12
|
-
};
|
|
13
|
-
declare type WithCardPreviewCacheAttributes = {
|
|
14
|
-
cardPreviewAttributes: CardPreviewAttributes;
|
|
15
|
-
};
|
|
16
|
-
export declare const LOGGED_FEATURE_FLAGS: (keyof import("@atlaskit/media-common").MediaFeatureFlags)[];
|
|
17
|
-
export declare const LOGGED_FEATURE_FLAG_KEYS: string[];
|
|
18
|
-
export declare type FileUriFailReason = 'local-uri' | 'remote-uri' | `unknown-uri`;
|
|
19
|
-
export declare type FailedErrorFailReason = MediaCardErrorPrimaryReason | 'nativeError';
|
|
20
|
-
export declare type MediaCardErrorInfo = {
|
|
21
|
-
failReason: FailedErrorFailReason;
|
|
22
|
-
error: MediaClientErrorReason | 'nativeError';
|
|
23
|
-
errorDetail: string;
|
|
24
|
-
};
|
|
25
|
-
export declare type SSRStatusFail = MediaCardErrorInfo & {
|
|
26
|
-
status: 'fail';
|
|
27
|
-
};
|
|
28
|
-
declare type SSRStatusSuccess = SuccessAttributes;
|
|
29
|
-
declare type SSRStatusUnknown = {
|
|
30
|
-
status: 'unknown';
|
|
31
|
-
};
|
|
32
|
-
declare type SSRStatusAttributes = SSRStatusSuccess | SSRStatusFail | SSRStatusUnknown;
|
|
33
|
-
export declare type SSRStatus = {
|
|
34
|
-
server: SSRStatusAttributes;
|
|
35
|
-
client: SSRStatusAttributes;
|
|
36
|
-
};
|
|
37
|
-
export declare type WithSSRReliability = {
|
|
38
|
-
ssrReliability?: SSRStatus;
|
|
39
|
-
};
|
|
40
|
-
export declare type RenderFailedEventPayload = OperationalEventPayload<WithFileAttributes & WithPerformanceAttributes & WithSSRReliability & WithTraceContext & FailureAttributes & {
|
|
41
|
-
failReason: FailedErrorFailReason | 'failed-processing';
|
|
42
|
-
error?: MediaClientErrorReason | 'nativeError';
|
|
43
|
-
request?: RequestMetadata;
|
|
44
|
-
}, 'failed', 'mediaCardRender'>;
|
|
45
|
-
export declare type RenderSucceededEventPayload = OperationalEventPayload<WithFileAttributes & WithPerformanceAttributes & WithSSRReliability & SuccessAttributes & WithTraceContext, 'succeeded', 'mediaCardRender'>;
|
|
46
|
-
export declare type RenderCommencedEventPayload = OperationalEventPayload<WithFileAttributes & WithPerformanceAttributes & WithTraceContext, 'commenced', 'mediaCardRender'>;
|
|
47
|
-
export declare type CacheHitEventPayload = OperationalEventPayload<WithCardPreviewCacheAttributes, 'cache-hit', 'mediaCardCache'>;
|
|
48
|
-
export declare type RemoteSuccessEventPayload = OperationalEventPayload<WithCardPreviewCacheAttributes, 'Remote-success', 'mediaCardCache'>;
|
|
49
|
-
export declare type CopiedFileEventPayload = UIEventPayload<{}, 'copied', string>;
|
|
50
|
-
export declare type ClickedEventPayload = UIEventPayload<{
|
|
51
|
-
label?: string;
|
|
52
|
-
}, 'clicked', string>;
|
|
53
|
-
export declare type RenderScreenEventPayload = Omit<ScreenEventPayload<ScreenAttributes, 'mediaCardRenderScreen'>, 'attributes'> & {
|
|
54
|
-
attributes: {
|
|
55
|
-
type: string | undefined;
|
|
56
|
-
fileAttributes: FileAttributes;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
export declare type MediaCardAnalyticsEventPayload = RenderCommencedEventPayload | RenderSucceededEventPayload | RenderFailedEventPayload | CopiedFileEventPayload | ClickedEventPayload | RenderScreenEventPayload | CacheHitEventPayload | RemoteSuccessEventPayload;
|
|
60
|
-
export declare const getFileAttributes: (metadata: FileDetails, fileStatus?: import("@atlaskit/media-common").FileStatus | undefined) => FileAttributes;
|
|
61
|
-
export declare const getRenderPreviewableCardPayload: (fileAttributes: FileAttributes) => RenderScreenEventPayload;
|
|
62
|
-
export declare const getRenderCommencedEventPayload: (fileAttributes: FileAttributes, performanceAttributes: PerformanceAttributes, traceContext: MediaTraceContext) => RenderCommencedEventPayload;
|
|
63
|
-
export declare const getRenderSucceededEventPayload: (fileAttributes: FileAttributes, performanceAttributes: PerformanceAttributes, ssrReliability: SSRStatus, traceContext: MediaTraceContext) => RenderSucceededEventPayload;
|
|
64
|
-
export declare const getCacheHitEventPayload: (cardPreviewAttributes: CardPreviewAttributes) => CacheHitEventPayload;
|
|
65
|
-
export declare const getRemoteSuccessEventPayload: (cardPreviewAttributes: CardPreviewAttributes) => RemoteSuccessEventPayload;
|
|
66
|
-
export declare const getRenderFailedExternalUriPayload: (fileAttributes: FileAttributes, performanceAttributes: PerformanceAttributes) => RenderFailedEventPayload;
|
|
67
|
-
export declare const getRenderErrorFailReason: (error: MediaCardError) => FailedErrorFailReason;
|
|
68
|
-
export declare const getRenderErrorErrorReason: (error: MediaCardError) => MediaClientErrorReason | 'nativeError';
|
|
69
|
-
export declare const getRenderErrorErrorDetail: (error: MediaCardError) => string;
|
|
70
|
-
export declare const getRenderErrorRequestMetadata: (error: MediaCardError) => RequestMetadata | undefined;
|
|
71
|
-
export declare const extractErrorInfo: (error: MediaCardError) => MediaCardErrorInfo;
|
|
72
|
-
export declare const getRenderErrorEventPayload: (fileAttributes: FileAttributes, performanceAttributes: PerformanceAttributes, error: MediaCardError, ssrReliability: SSRStatus, traceContext: MediaTraceContext) => RenderFailedEventPayload;
|
|
73
|
-
export declare const getRenderFailedFileStatusPayload: (fileAttributes: FileAttributes, performanceAttributes: PerformanceAttributes, ssrReliability: SSRStatus, traceContext: MediaTraceContext) => RenderFailedEventPayload;
|
|
74
|
-
export declare const getCopiedFilePayload: (fileId: string) => CopiedFileEventPayload;
|
|
75
|
-
export declare function fireMediaCardEvent(payload: MediaCardAnalyticsEventPayload, createAnalyticsEvent?: CreateUIAnalyticsEvent): void;
|
|
76
|
-
export declare const createAndFireMediaCardEvent: (payload: MediaCardAnalyticsEventPayload) => (createAnalyticsEvent: CreateUIAnalyticsEvent) => import("@atlaskit/analytics-next").UIAnalyticsEvent;
|
|
77
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CardDimensionValue } from '../types';
|
|
2
|
-
export declare type BreakpointSizeValue = 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
|
-
export declare const breakpointSize: (width: CardDimensionValue, sizes?: any) => BreakpointSizeValue;
|
|
4
|
-
export interface BreakpointProps {
|
|
5
|
-
breakpointSize: BreakpointSizeValue;
|
|
6
|
-
}
|
|
7
|
-
export declare type CardBreakpoint = {
|
|
8
|
-
[P in BreakpointSizeValue]?: number;
|
|
9
|
-
};
|
|
10
|
-
export declare const cardBreakpointSizes: CardBreakpoint;
|
|
11
|
-
export declare const breakpointStyles: ({ breakpointSize }: BreakpointProps) => string;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component, ReactNode, MouseEvent } from 'react';
|
|
2
|
-
import { CardActionIconButtonVariant } from './styles';
|
|
3
|
-
export declare type CardActionIconButtonProps = {
|
|
4
|
-
readonly icon: ReactNode;
|
|
5
|
-
readonly variant?: CardActionIconButtonVariant;
|
|
6
|
-
readonly triggerColor?: string;
|
|
7
|
-
readonly onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare class CardActionIconButton extends Component<CardActionIconButtonProps> {
|
|
10
|
-
render(): JSX.Element;
|
|
11
|
-
private onMouseDown;
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { CardAction } from '../../card/actions';
|
|
3
|
-
import { CardActionIconButtonVariant } from './styles';
|
|
4
|
-
export declare type CardActionsDropdownMenuProps = {
|
|
5
|
-
readonly actions: CardAction[];
|
|
6
|
-
readonly triggerColor?: string;
|
|
7
|
-
readonly triggerVariant?: CardActionIconButtonVariant;
|
|
8
|
-
readonly onOpenChange?: (attrs: {
|
|
9
|
-
isOpen: boolean;
|
|
10
|
-
}) => void;
|
|
11
|
-
};
|
|
12
|
-
export declare class CardActionsDropdownMenu extends Component<CardActionsDropdownMenuProps> {
|
|
13
|
-
render(): JSX.Element | null;
|
|
14
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { CardAction } from '../../card/actions';
|
|
3
|
-
import { CardActionIconButtonVariant } from './styles';
|
|
4
|
-
export interface CardActionsViewProps {
|
|
5
|
-
readonly actions: CardAction[];
|
|
6
|
-
readonly onToggle?: (attrs: {
|
|
7
|
-
isOpen: boolean;
|
|
8
|
-
}) => void;
|
|
9
|
-
readonly triggerColor?: string;
|
|
10
|
-
readonly variant?: CardActionIconButtonVariant;
|
|
11
|
-
}
|
|
12
|
-
export declare class CardActionsView extends Component<CardActionsViewProps> {
|
|
13
|
-
render(): JSX.Element | null;
|
|
14
|
-
private renderActionIconButton;
|
|
15
|
-
private renderOtherActionButtons;
|
|
16
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { CardActionsView as default, CardActionsView } from './cardActionsView';
|
|
2
|
-
export type { CardActionsViewProps } from './cardActionsView';
|
|
3
|
-
export { CardActionIconButton } from './cardActionIconButton';
|
|
4
|
-
export type { CardActionIconButtonProps } from './cardActionIconButton';
|
|
5
|
-
export { CardActionsDropdownMenu } from './cardActionsDropdownMenu';
|
|
6
|
-
export type { CardActionsDropdownMenuProps } from './cardActionsDropdownMenu';
|
|
7
|
-
export { CardActionIconButtonVariant } from './styles';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { MouseEvent, HTMLAttributes } from 'react';
|
|
2
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
export declare const wrapperStyles: import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare enum CardActionIconButtonVariant {
|
|
5
|
-
default = "default",
|
|
6
|
-
filled = "filled"
|
|
7
|
-
}
|
|
8
|
-
export declare type CardActionButtonOwnProps = {
|
|
9
|
-
variant?: CardActionIconButtonVariant;
|
|
10
|
-
style?: {
|
|
11
|
-
color: string | undefined;
|
|
12
|
-
};
|
|
13
|
-
onClick?: (event: React.MouseEvent<HTMLDivElement>, analyticsEvent?: UIAnalyticsEvent) => void;
|
|
14
|
-
onMouseDown?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
};
|
|
17
|
-
export declare type CardActionButtonProps = CardActionButtonOwnProps & HTMLAttributes<HTMLDivElement>;
|
|
18
|
-
export declare const cardActionButtonStyles: ({ variant, }: CardActionButtonProps) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { CardAppearance, CardDimensions } from '../types';
|
|
2
|
-
export declare const defaultSmallCardDimensions: {
|
|
3
|
-
width: string;
|
|
4
|
-
height: number;
|
|
5
|
-
};
|
|
6
|
-
export declare const defaultImageCardDimensions: {
|
|
7
|
-
width: number;
|
|
8
|
-
height: number;
|
|
9
|
-
};
|
|
10
|
-
export declare const defaultHorizontalCardDimensions: {
|
|
11
|
-
width: number;
|
|
12
|
-
height: number;
|
|
13
|
-
};
|
|
14
|
-
export declare const defaultSquareCardDimensions: {
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
};
|
|
18
|
-
export declare const minSmallCardDimensions: {
|
|
19
|
-
width: number;
|
|
20
|
-
height: number;
|
|
21
|
-
};
|
|
22
|
-
export declare const minImageCardDimensions: {
|
|
23
|
-
width: number;
|
|
24
|
-
height: number;
|
|
25
|
-
};
|
|
26
|
-
export declare const minSquareCardDimensions: {
|
|
27
|
-
width: number;
|
|
28
|
-
height: number;
|
|
29
|
-
};
|
|
30
|
-
export declare const minHorizontalCardDimensions: {
|
|
31
|
-
width: number;
|
|
32
|
-
height: number;
|
|
33
|
-
};
|
|
34
|
-
export declare const maxImageCardDimensions: {
|
|
35
|
-
width: number;
|
|
36
|
-
height: number;
|
|
37
|
-
};
|
|
38
|
-
export declare const maxHorizontalCardDimensions: {
|
|
39
|
-
width: number;
|
|
40
|
-
height: number;
|
|
41
|
-
};
|
|
42
|
-
export declare const maxSquareCardDimensions: {
|
|
43
|
-
width: number;
|
|
44
|
-
height: number;
|
|
45
|
-
};
|
|
46
|
-
export declare const getCardMaxHeight: (appearance?: CardAppearance | undefined) => number;
|
|
47
|
-
export declare const getCardMinWidth: (appearance?: CardAppearance | undefined) => number;
|
|
48
|
-
export declare const getCardMaxWidth: (appearance?: CardAppearance | undefined) => number;
|
|
49
|
-
export declare const getDefaultCardDimensions: (appearance?: CardAppearance | undefined) => Required<CardDimensions>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const containsPixelUnit: (value: string) => boolean;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { CardDimensionValue, CardDimensions } from '../types';
|
|
2
|
-
export declare const canCompareDimension: (current?: CardDimensionValue | undefined, next?: CardDimensionValue | undefined) => boolean;
|
|
3
|
-
export declare const isBigger: (current?: CardDimensions | undefined, next?: CardDimensions | undefined) => boolean;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**@jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import { Component } from 'react';
|
|
4
|
-
export interface ErrorIconProps {
|
|
5
|
-
readonly size: 'small' | 'medium' | 'large' | 'xlarge';
|
|
6
|
-
}
|
|
7
|
-
export declare class ErrorIcon extends Component<ErrorIconProps, {}> {
|
|
8
|
-
static defaultProps: {
|
|
9
|
-
size: string;
|
|
10
|
-
};
|
|
11
|
-
render(): jsx.JSX.Element;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const errorIconWrapperStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**@jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import { Component } from 'react';
|
|
4
|
-
import { MediaType } from '@atlaskit/media-client';
|
|
5
|
-
export interface FileIconProps {
|
|
6
|
-
mediaType?: MediaType;
|
|
7
|
-
style?: any;
|
|
8
|
-
iconUrl?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class FileIcon extends Component<FileIconProps, {}> {
|
|
11
|
-
render(): jsx.JSX.Element;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const fileTypeIconStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const generateUniqueId: () => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getCSSUnitValue(value: number | string): string;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CardDimensions } from '../types';
|
|
2
|
-
import { ElementDimension } from './getElementDimension';
|
|
3
|
-
import { NumericalCardDimensions } from '@atlaskit/media-common';
|
|
4
|
-
export declare type getDataURIDimensionOptions = {
|
|
5
|
-
element?: Element | null;
|
|
6
|
-
dimensions?: CardDimensions;
|
|
7
|
-
};
|
|
8
|
-
export declare const getDataURIDimension: (dimension: ElementDimension, options: getDataURIDimensionOptions) => number;
|
|
9
|
-
export declare const getRequestedDimensions: (options: getDataURIDimensionOptions) => NumericalCardDimensions;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { MediaCardCursor } from '../types';
|
|
2
|
-
import { MediaType } from '@atlaskit/media-client';
|
|
3
|
-
/**
|
|
4
|
-
* When the returned value is undefined, we'd expect the media card to take the parent's cursor style.
|
|
5
|
-
*/
|
|
6
|
-
export declare const getMediaCardCursor: (useInlinePlayer: boolean, useMediaViewer: boolean, isErrorStatus: boolean, hasCardPreview: boolean, mediaType?: MediaType | undefined) => MediaCardCursor | undefined;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FileIdentifier } from '@atlaskit/media-client';
|
|
3
|
-
import { NumericalCardDimensions } from '@atlaskit/media-common';
|
|
4
|
-
import { MediaCardErrorInfo } from '../../utils/analytics';
|
|
5
|
-
import { MediaCardSsr } from './types';
|
|
6
|
-
export declare const GLOBAL_MEDIA_CARD_SSR = "mediaCardSsr";
|
|
7
|
-
export declare const GLOBAL_MEDIA_NAMESPACE = "__MEDIA_INTERNAL";
|
|
8
|
-
export declare type MediaGlobalScope = {
|
|
9
|
-
[GLOBAL_MEDIA_CARD_SSR]?: MediaCardSsr;
|
|
10
|
-
};
|
|
11
|
-
export declare function getMediaGlobalScope(globalScope?: any): MediaGlobalScope;
|
|
12
|
-
export declare function getMediaCardSSR(globalScope?: any): MediaCardSsr;
|
|
13
|
-
export declare const getKey: ({ id, collectionName, occurrenceKey }: FileIdentifier) => string;
|
|
14
|
-
export declare const storeDataURI: (key: string, dataURI?: string | undefined, dimensions?: NumericalCardDimensions | undefined, error?: MediaCardErrorInfo | undefined, globalScope?: any) => void;
|
|
15
|
-
export declare type StoreSSRDataScriptProps = {
|
|
16
|
-
identifier: FileIdentifier;
|
|
17
|
-
dataURI?: string;
|
|
18
|
-
dimensions?: NumericalCardDimensions;
|
|
19
|
-
error?: MediaCardErrorInfo;
|
|
20
|
-
};
|
|
21
|
-
export declare const StoreSSRDataScript: React.FC<StoreSSRDataScriptProps>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { StoreSSRDataScript, GLOBAL_MEDIA_NAMESPACE, GLOBAL_MEDIA_CARD_SSR, getKey, } from './globalScope';
|
|
2
|
-
export { getSSRData } from './getSSRData';
|
|
3
|
-
export type { MediaCardSsrData, MediaCardSsr } from './types';
|
|
4
|
-
export type { MediaGlobalScope } from './globalScope';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NumericalCardDimensions } from '@atlaskit/media-common';
|
|
2
|
-
import { MediaCardErrorInfo } from '../../utils/analytics';
|
|
3
|
-
export declare type MediaCardSsrData = {
|
|
4
|
-
dataURI?: string;
|
|
5
|
-
dimensions?: NumericalCardDimensions;
|
|
6
|
-
error?: MediaCardErrorInfo;
|
|
7
|
-
};
|
|
8
|
-
export declare type MediaCardSsr = Record<string, MediaCardSsrData>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export { ErrorIcon } from './errorIcon';
|
|
2
|
-
export type { ErrorIconProps } from './errorIcon';
|
|
3
|
-
export { FileIcon } from './fileIcon';
|
|
4
|
-
export type { FileIconProps } from './fileIcon';
|
|
5
|
-
export { CardActionIconButton, CardActionsDropdownMenu, CardActionsView, default, } from './cardActions';
|
|
6
|
-
export type { CardActionIconButtonProps, CardActionsDropdownMenuProps, CardActionsViewProps, } from './cardActions';
|
|
7
|
-
export { isRetina } from './isRetina';
|
|
8
|
-
export { defaultHorizontalCardDimensions, defaultImageCardDimensions, defaultSmallCardDimensions, defaultSquareCardDimensions, getCardMaxHeight, getCardMaxWidth, getCardMinWidth, getDefaultCardDimensions, maxHorizontalCardDimensions, maxImageCardDimensions, maxSquareCardDimensions, minHorizontalCardDimensions, minImageCardDimensions, minSmallCardDimensions, minSquareCardDimensions, } from './cardDimensions';
|
|
9
|
-
export { breakpointSize, breakpointStyles, cardBreakpointSizes, } from './breakpoint';
|
|
10
|
-
export type { BreakpointProps, BreakpointSizeValue, CardBreakpoint, } from './breakpoint';
|
|
11
|
-
export { isValidPercentageUnit } from './isValidPercentageUnit';
|
|
12
|
-
export { getElementDimension } from './getElementDimension';
|
|
13
|
-
export type { ElementDimension } from './getElementDimension';
|
|
14
|
-
export { containsPixelUnit } from './containsPixelUnit';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isRetina(): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isValidPercentageUnit: (value: string | number) => boolean;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import { StaticCardProps } from './types';
|
|
3
|
-
export interface ErrorCardProps extends StaticCardProps {
|
|
4
|
-
readonly size: 'small' | 'medium' | 'large' | 'xlarge';
|
|
5
|
-
}
|
|
6
|
-
export declare class CardError extends Component<ErrorCardProps, {}> {
|
|
7
|
-
static defaultProps: {
|
|
8
|
-
size: string;
|
|
9
|
-
};
|
|
10
|
-
render(): JSX.Element;
|
|
11
|
-
get icon(): JSX.Element;
|
|
12
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { WrapperProps } from './types';
|
|
2
|
-
export declare const blinkLoadingAnimation: import("@emotion/serialize").Keyframes;
|
|
3
|
-
export declare const wrapperStyles: ({ dimensions, theme }: WrapperProps) => import("@emotion/react").SerializedStyles;
|
|
4
|
-
export declare const animatedWrapperStyles: (props: WrapperProps) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CardDimensions } from '../../types';
|
|
3
|
-
import { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
4
|
-
import { GlobalThemeTokens } from '@atlaskit/theme/components';
|
|
5
|
-
export interface StaticCardProps {
|
|
6
|
-
dimensions?: CardDimensions;
|
|
7
|
-
testId?: string;
|
|
8
|
-
featureFlags?: MediaFeatureFlags;
|
|
9
|
-
}
|
|
10
|
-
export interface WrapperProps {
|
|
11
|
-
dimensions: CardDimensions;
|
|
12
|
-
testId?: string;
|
|
13
|
-
children?: JSX.Element;
|
|
14
|
-
theme?: GlobalThemeTokens;
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type MediaCardAnalyticsErrorBoundaryProps = {
|
|
3
|
-
data?: {
|
|
4
|
-
[k: string]: any;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
export default class MediaCardAnalyticsErrorBoundary extends React.Component<MediaCardAnalyticsErrorBoundaryProps> {
|
|
8
|
-
static displayName: string;
|
|
9
|
-
render(): JSX.Element;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MediaType } from '@atlaskit/media-client';
|
|
3
|
-
export interface FileIconProps {
|
|
4
|
-
type?: MediaType;
|
|
5
|
-
size?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class MediaTypeIcon extends React.Component<FileIconProps, {}> {
|
|
9
|
-
render(): JSX.Element;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CardPreview } from '../types';
|
|
2
|
-
export declare const PREVIEW_CACHE_LRU_SIZE = 50;
|
|
3
|
-
export declare class ObjectURLCache {
|
|
4
|
-
private readonly cache;
|
|
5
|
-
constructor(size: number);
|
|
6
|
-
has(key: string): boolean;
|
|
7
|
-
get(key: string): CardPreview | undefined;
|
|
8
|
-
set(key: string, value: CardPreview): void;
|
|
9
|
-
remove(key: string): void;
|
|
10
|
-
}
|
|
11
|
-
export declare const createObjectURLCache: () => ObjectURLCache;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
export declare type PreventClickThroughProps = {
|
|
4
|
-
readonly children?: ReactNode;
|
|
5
|
-
};
|
|
6
|
-
export declare function PreventClickThrough({ children, }: PreventClickThroughProps): JSX.Element;
|
|
7
|
-
export declare type CreatePreventClickThrough = <T>(onClick: () => void) => (event: React.MouseEvent<T, MouseEvent>) => void;
|
|
8
|
-
export declare const createPreventClickThrough: CreatePreventClickThrough;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**@jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import { Component } from 'react';
|
|
4
|
-
export interface ProgressBarProps {
|
|
5
|
-
progress?: number;
|
|
6
|
-
}
|
|
7
|
-
export declare class ProgressBar extends Component<ProgressBarProps, {}> {
|
|
8
|
-
render(): jsx.JSX.Element | null;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const progressWrapperStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { MediaItemType, MediaType } from '@atlaskit/media-client';
|
|
2
|
-
import { CardStatus } from '../types';
|
|
3
|
-
export declare const shouldDisplayImageThumbnail: (cardStatus: CardStatus, mediaItemType: MediaItemType, dataURI?: string | undefined, mediaType?: MediaType | undefined, mimeType?: string | undefined) => boolean;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CardStatus } from '../types';
|
|
2
|
-
import { FileAttributes } from '@atlaskit/media-common';
|
|
3
|
-
import { SSRStatus } from './analytics';
|
|
4
|
-
import { MediaCardError } from '../errors';
|
|
5
|
-
import { FileStateFlags } from '../types';
|
|
6
|
-
export declare const startUfoExperience: (id: string) => void;
|
|
7
|
-
export declare const completeUfoExperience: (id: string, status: CardStatus, fileAttributes: FileAttributes, fileStateFlags: FileStateFlags, ssrReliability: SSRStatus, error?: MediaCardError) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const takeSnapshot: (blob: Blob) => Promise<string>;
|