@livo-tv/blocks 1.25.1 → 1.26.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/dist/index.cjs +420 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +125 -3
- package/dist/index.d.ts +125 -3
- package/dist/index.js +412 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -801,6 +801,10 @@ interface VideoPlayerProps {
|
|
|
801
801
|
* beacon here. */
|
|
802
802
|
onFirstPlay?: () => void;
|
|
803
803
|
onError?: (error: DescribedPlaybackError) => void;
|
|
804
|
+
/** Throttled ~5s while the playhead advances. */
|
|
805
|
+
onPlaybackProgress?: (currentTime: number, duration: number) => void;
|
|
806
|
+
onRebuffer?: (seconds: number) => void;
|
|
807
|
+
onQualityChange?: (quality: string) => void;
|
|
804
808
|
/**
|
|
805
809
|
* Default `aspect-video` for feed cards. Use `contain` in fullscreen
|
|
806
810
|
* viewers so portrait sources fill the pane with object-fit and controls
|
|
@@ -822,7 +826,7 @@ interface VideoPlayerProps {
|
|
|
822
826
|
*
|
|
823
827
|
* hls.js is a peer dependency loaded on demand; see {@link useHlsPlayback}.
|
|
824
828
|
*/
|
|
825
|
-
declare function VideoPlayer({ src, mode, poster, autoPlay, muted, stats, labels, showQualitySelector, paused, onPlayingChange, onFirstPlay, onError, fit, className, defaultCaptionLocale, liveCaptionsBaseUrl, }: VideoPlayerProps): React.JSX.Element;
|
|
829
|
+
declare function VideoPlayer({ src, mode, poster, autoPlay, muted, stats, labels, showQualitySelector, paused, onPlayingChange, onFirstPlay, onError, onPlaybackProgress, onRebuffer, onQualityChange, fit, className, defaultCaptionLocale, liveCaptionsBaseUrl, }: VideoPlayerProps): React.JSX.Element;
|
|
826
830
|
|
|
827
831
|
interface FeedVideoPlayerProps extends VideoPlayerProps {
|
|
828
832
|
/** Stable id for exclusive playback (typically the feed post id). */
|
|
@@ -867,6 +871,8 @@ interface UseHlsPlaybackOptions {
|
|
|
867
871
|
muted?: boolean;
|
|
868
872
|
onError?: (error: DescribedPlaybackError) => void;
|
|
869
873
|
onPlayingChange?: (playing: boolean) => void;
|
|
874
|
+
onRebuffer?: (seconds: number) => void;
|
|
875
|
+
onQualityChange?: (quality: string) => void;
|
|
870
876
|
}
|
|
871
877
|
interface UseHlsPlaybackResult {
|
|
872
878
|
videoRef: React.RefObject<HTMLVideoElement | null>;
|
|
@@ -887,7 +893,7 @@ interface UseHlsPlaybackResult {
|
|
|
887
893
|
* from the app's production `HlsPlayer` effect, minus the built-in UI and
|
|
888
894
|
* Sentry: errors are classified and handed to `onError`.
|
|
889
895
|
*/
|
|
890
|
-
declare function useHlsPlayback({ src, mode, active, autoPlay, muted, onError, onPlayingChange, }: UseHlsPlaybackOptions): UseHlsPlaybackResult;
|
|
896
|
+
declare function useHlsPlayback({ src, mode, active, autoPlay, muted, onError, onPlayingChange, onRebuffer, onQualityChange, }: UseHlsPlaybackOptions): UseHlsPlaybackResult;
|
|
891
897
|
|
|
892
898
|
/** Retry transient live-edge 404s; hls.js skips all 4xx by default. */
|
|
893
899
|
declare function shouldRetryLiveEdge404(retryConfig: RetryConfig | null | undefined, retryCount: number, _isTimeout: boolean, loaderResponse: LoaderResponse | undefined, defaultRetry: boolean): boolean;
|
|
@@ -1025,4 +1031,120 @@ declare function useMediaQuery(query: string): boolean;
|
|
|
1025
1031
|
|
|
1026
1032
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1027
1033
|
|
|
1028
|
-
|
|
1034
|
+
type PlaybackBeaconEventType = "view" | "progress" | "rebuffer" | "quality_change" | "error";
|
|
1035
|
+
type PlaybackBeaconSurface = "app" | "player" | "embed" | "sdk";
|
|
1036
|
+
type PlaybackBeaconEvent = {
|
|
1037
|
+
type: PlaybackBeaconEventType;
|
|
1038
|
+
ts: number;
|
|
1039
|
+
streamId?: string;
|
|
1040
|
+
vodId?: string;
|
|
1041
|
+
currentTime?: number;
|
|
1042
|
+
duration?: number;
|
|
1043
|
+
rebufferSeconds?: number;
|
|
1044
|
+
quality?: string;
|
|
1045
|
+
errorCode?: string;
|
|
1046
|
+
surface?: PlaybackBeaconSurface | string;
|
|
1047
|
+
[key: string]: unknown;
|
|
1048
|
+
};
|
|
1049
|
+
type PlaybackBeaconTrackInput = Omit<PlaybackBeaconEvent, "ts"> & {
|
|
1050
|
+
ts?: number;
|
|
1051
|
+
};
|
|
1052
|
+
type CreatePlaybackBeaconClientOptions = {
|
|
1053
|
+
endpoint: string;
|
|
1054
|
+
sessionId: string;
|
|
1055
|
+
surface: PlaybackBeaconSurface | string;
|
|
1056
|
+
getContext?: () => Record<string, unknown>;
|
|
1057
|
+
/** Override for tests. */
|
|
1058
|
+
fetchFn?: typeof fetch;
|
|
1059
|
+
intervalMs?: number;
|
|
1060
|
+
now?: () => number;
|
|
1061
|
+
};
|
|
1062
|
+
type PlaybackBeaconClient = {
|
|
1063
|
+
track: (event: PlaybackBeaconTrackInput) => void;
|
|
1064
|
+
flush: () => Promise<void>;
|
|
1065
|
+
destroy: () => void;
|
|
1066
|
+
};
|
|
1067
|
+
declare function createPlaybackBeaconClient({ endpoint, sessionId, surface, getContext, fetchFn, intervalMs, now, }: CreatePlaybackBeaconClientOptions): PlaybackBeaconClient;
|
|
1068
|
+
|
|
1069
|
+
type StatHighlightCardProps = {
|
|
1070
|
+
label: string;
|
|
1071
|
+
value: React.ReactNode;
|
|
1072
|
+
hint?: string;
|
|
1073
|
+
delta?: string;
|
|
1074
|
+
deltaTone?: "up" | "down" | "neutral";
|
|
1075
|
+
className?: string;
|
|
1076
|
+
};
|
|
1077
|
+
declare function StatHighlightCard({ label, value, hint, delta, deltaTone, className, }: StatHighlightCardProps): React.JSX.Element;
|
|
1078
|
+
|
|
1079
|
+
type MetricChartCardProps = {
|
|
1080
|
+
title: string;
|
|
1081
|
+
description?: string;
|
|
1082
|
+
action?: React.ReactNode;
|
|
1083
|
+
children: React.ReactNode;
|
|
1084
|
+
className?: string;
|
|
1085
|
+
};
|
|
1086
|
+
declare function MetricChartCard({ title, description, action, children, className, }: MetricChartCardProps): React.JSX.Element;
|
|
1087
|
+
|
|
1088
|
+
type SparklineStatProps = {
|
|
1089
|
+
label: string;
|
|
1090
|
+
value: React.ReactNode;
|
|
1091
|
+
points: number[];
|
|
1092
|
+
className?: string;
|
|
1093
|
+
};
|
|
1094
|
+
declare function SparklineStat({ label, value, points, className, }: SparklineStatProps): React.JSX.Element;
|
|
1095
|
+
|
|
1096
|
+
declare const TIME_RANGE_OPTIONS: readonly ["day", "week", "month", "year"];
|
|
1097
|
+
type TimeRange = (typeof TIME_RANGE_OPTIONS)[number];
|
|
1098
|
+
type TimeRangePickerLabels = Partial<Record<TimeRange, string>>;
|
|
1099
|
+
type TimeRangePickerProps = {
|
|
1100
|
+
value: TimeRange;
|
|
1101
|
+
onChange: (value: TimeRange) => void;
|
|
1102
|
+
labels?: TimeRangePickerLabels;
|
|
1103
|
+
className?: string;
|
|
1104
|
+
};
|
|
1105
|
+
declare function TimeRangePicker({ value, onChange, labels, className, }: TimeRangePickerProps): React.JSX.Element;
|
|
1106
|
+
|
|
1107
|
+
type DimensionBreakdownRow = {
|
|
1108
|
+
id: string;
|
|
1109
|
+
label: string;
|
|
1110
|
+
value: React.ReactNode;
|
|
1111
|
+
share?: string;
|
|
1112
|
+
};
|
|
1113
|
+
type DimensionBreakdownTableProps = {
|
|
1114
|
+
title?: string;
|
|
1115
|
+
rows: DimensionBreakdownRow[];
|
|
1116
|
+
empty?: React.ReactNode;
|
|
1117
|
+
className?: string;
|
|
1118
|
+
};
|
|
1119
|
+
declare function DimensionBreakdownTable({ title, rows, empty, className, }: DimensionBreakdownTableProps): React.JSX.Element;
|
|
1120
|
+
|
|
1121
|
+
type CostBreakdownItem = {
|
|
1122
|
+
id: string;
|
|
1123
|
+
label: string;
|
|
1124
|
+
amount: React.ReactNode;
|
|
1125
|
+
basis?: string;
|
|
1126
|
+
};
|
|
1127
|
+
type CostBreakdownCardProps = {
|
|
1128
|
+
title: string;
|
|
1129
|
+
total?: React.ReactNode;
|
|
1130
|
+
items: CostBreakdownItem[];
|
|
1131
|
+
className?: string;
|
|
1132
|
+
};
|
|
1133
|
+
declare function CostBreakdownCard({ title, total, items, className, }: CostBreakdownCardProps): React.JSX.Element;
|
|
1134
|
+
|
|
1135
|
+
type MetricEmptyStateProps = {
|
|
1136
|
+
title: string;
|
|
1137
|
+
description?: string;
|
|
1138
|
+
action?: React.ReactNode;
|
|
1139
|
+
icon?: EmptyStateIcon;
|
|
1140
|
+
className?: string;
|
|
1141
|
+
};
|
|
1142
|
+
declare function MetricEmptyState({ title, description, action, icon, className, }: MetricEmptyStateProps): React.JSX.Element;
|
|
1143
|
+
|
|
1144
|
+
type MetricSkeletonProps = {
|
|
1145
|
+
className?: string;
|
|
1146
|
+
bars?: number;
|
|
1147
|
+
};
|
|
1148
|
+
declare function MetricSkeleton({ className, bars }: MetricSkeletonProps): React.JSX.Element;
|
|
1149
|
+
|
|
1150
|
+
export { type AutoplayState, AvatarEditor, AvatarEditorDialog, type AvatarEditorDialogProps, type AvatarEditorLabels, type AvatarEditorProps, type BlocksLanguage, CAPTION_LOCALES, type CaptionLocale, ConfirmDestructiveDialog, type ConfirmDestructiveDialogProps, CostBreakdownCard, type CostBreakdownCardProps, type CostBreakdownItem, type CreateMultipartUploadControllerOptions, type CreatePlaybackBeaconClientOptions, type CurtainKind, CurtainPicker, type CurtainPickerItem, type CurtainPickerLabels, type CurtainPickerOwnerType, type CurtainPickerProps, CurtainPickerSkeleton, CurtainPreview, type CurtainPreviewProps, CurtainStage, type CurtainStageLabels, type CurtainStageProps, DEFAULT_CURTAIN_PICKER_LABELS, DEFAULT_EDITABLE_SECTION_LABELS, DEFAULT_FILE_DROPZONE_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILE_UPLOAD_TRAY_LABELS, DEFAULT_NOTIFICATION_BELL_LABELS, DataList, DataListItem, type DataListItemProps, type DataListProps, type DescribedPlaybackError, type DimensionBreakdownRow, DimensionBreakdownTable, type DimensionBreakdownTableProps, EditableSection, type EditableSectionLabels, type EditableSectionMode, type EditableSectionProps, type EditableSectionSlots, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateProps, EmptyTitle, ErrorState, FeedVideoPlayer, type FeedVideoPlayerProps, FieldMessage, type FieldMessageProps, FileDropzone, type FileDropzoneLabels, type FileDropzoneProps, FileUploadMenu, type FileUploadMenuProps, FileUploadTray, type FileUploadTrayLabels, type FileUploadTrayProps, type HlsPlayerMode, type Language, LanguageContext, type LanguageContextValue, LanguageSwitcher, type LanguageSwitcherLabels, type LanguageSwitcherProps, LoadingState, MetricChartCard, type MetricChartCardProps, MetricEmptyState, type MetricEmptyStateProps, MetricSkeleton, type MetricSkeletonProps, type MultipartUploadAdapter, type MultipartUploadController, type MultipartUploadPart, NotificationBell, type NotificationBellItem, type NotificationBellLabels, type NotificationBellProps, type PartRange, type PlaybackBeaconClient, type PlaybackBeaconEvent, type PlaybackBeaconEventType, type PlaybackBeaconSurface, type PlaybackBeaconTrackInput, type PlaybackErrorContext, type PlaybackErrorDetail, type PlaybackErrorKind, type PlaybackState, type PlaybackStats, type QualityLevel, SafeImage, type SafeImageProps, SparklineStat, type SparklineStatProps, StatHighlightCard, type StatHighlightCardProps, TIME_RANGE_OPTIONS, ThemeSwitcher, type ThemeSwitcherLabels, type ThemeSwitcherProps, type TimeRange, TimeRangePicker, type TimeRangePickerLabels, type TimeRangePickerProps, type UploadControllerStatus, type UploadJob, type UploadJobStatus, type UploadProgress, type UseEditableSectionOptions, type UseEditableSectionResult, type UseFeedExclusivePlaybackResult, type UseHlsPlaybackOptions, type UseHlsPlaybackResult, type UsePlaybackStatsOptions, VideoPlayer, type VideoPlayerLabels, type VideoPlayerProps, WaitingRoom, type WaitingRoomCurtain, type WaitingRoomProps, captionsVttUrlFromPlayback, castHlsUrl, cn, createLiveHlsConfig, createMultipartUploadController, createPlaybackBeaconClient, createVodHlsConfig, defaultLanguages, describeAvResync, describePlaybackError, fileMatchesAccept, isCaptionLocale, loadCastSender, partRanges, progressFromBytes, shouldRetryLiveEdge404, useEditableSection, useFeedExclusivePlayback, useHlsPlayback, useLanguageContext, useMediaQuery, usePlaybackStats };
|
package/dist/index.d.ts
CHANGED
|
@@ -801,6 +801,10 @@ interface VideoPlayerProps {
|
|
|
801
801
|
* beacon here. */
|
|
802
802
|
onFirstPlay?: () => void;
|
|
803
803
|
onError?: (error: DescribedPlaybackError) => void;
|
|
804
|
+
/** Throttled ~5s while the playhead advances. */
|
|
805
|
+
onPlaybackProgress?: (currentTime: number, duration: number) => void;
|
|
806
|
+
onRebuffer?: (seconds: number) => void;
|
|
807
|
+
onQualityChange?: (quality: string) => void;
|
|
804
808
|
/**
|
|
805
809
|
* Default `aspect-video` for feed cards. Use `contain` in fullscreen
|
|
806
810
|
* viewers so portrait sources fill the pane with object-fit and controls
|
|
@@ -822,7 +826,7 @@ interface VideoPlayerProps {
|
|
|
822
826
|
*
|
|
823
827
|
* hls.js is a peer dependency loaded on demand; see {@link useHlsPlayback}.
|
|
824
828
|
*/
|
|
825
|
-
declare function VideoPlayer({ src, mode, poster, autoPlay, muted, stats, labels, showQualitySelector, paused, onPlayingChange, onFirstPlay, onError, fit, className, defaultCaptionLocale, liveCaptionsBaseUrl, }: VideoPlayerProps): React.JSX.Element;
|
|
829
|
+
declare function VideoPlayer({ src, mode, poster, autoPlay, muted, stats, labels, showQualitySelector, paused, onPlayingChange, onFirstPlay, onError, onPlaybackProgress, onRebuffer, onQualityChange, fit, className, defaultCaptionLocale, liveCaptionsBaseUrl, }: VideoPlayerProps): React.JSX.Element;
|
|
826
830
|
|
|
827
831
|
interface FeedVideoPlayerProps extends VideoPlayerProps {
|
|
828
832
|
/** Stable id for exclusive playback (typically the feed post id). */
|
|
@@ -867,6 +871,8 @@ interface UseHlsPlaybackOptions {
|
|
|
867
871
|
muted?: boolean;
|
|
868
872
|
onError?: (error: DescribedPlaybackError) => void;
|
|
869
873
|
onPlayingChange?: (playing: boolean) => void;
|
|
874
|
+
onRebuffer?: (seconds: number) => void;
|
|
875
|
+
onQualityChange?: (quality: string) => void;
|
|
870
876
|
}
|
|
871
877
|
interface UseHlsPlaybackResult {
|
|
872
878
|
videoRef: React.RefObject<HTMLVideoElement | null>;
|
|
@@ -887,7 +893,7 @@ interface UseHlsPlaybackResult {
|
|
|
887
893
|
* from the app's production `HlsPlayer` effect, minus the built-in UI and
|
|
888
894
|
* Sentry: errors are classified and handed to `onError`.
|
|
889
895
|
*/
|
|
890
|
-
declare function useHlsPlayback({ src, mode, active, autoPlay, muted, onError, onPlayingChange, }: UseHlsPlaybackOptions): UseHlsPlaybackResult;
|
|
896
|
+
declare function useHlsPlayback({ src, mode, active, autoPlay, muted, onError, onPlayingChange, onRebuffer, onQualityChange, }: UseHlsPlaybackOptions): UseHlsPlaybackResult;
|
|
891
897
|
|
|
892
898
|
/** Retry transient live-edge 404s; hls.js skips all 4xx by default. */
|
|
893
899
|
declare function shouldRetryLiveEdge404(retryConfig: RetryConfig | null | undefined, retryCount: number, _isTimeout: boolean, loaderResponse: LoaderResponse | undefined, defaultRetry: boolean): boolean;
|
|
@@ -1025,4 +1031,120 @@ declare function useMediaQuery(query: string): boolean;
|
|
|
1025
1031
|
|
|
1026
1032
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1027
1033
|
|
|
1028
|
-
|
|
1034
|
+
type PlaybackBeaconEventType = "view" | "progress" | "rebuffer" | "quality_change" | "error";
|
|
1035
|
+
type PlaybackBeaconSurface = "app" | "player" | "embed" | "sdk";
|
|
1036
|
+
type PlaybackBeaconEvent = {
|
|
1037
|
+
type: PlaybackBeaconEventType;
|
|
1038
|
+
ts: number;
|
|
1039
|
+
streamId?: string;
|
|
1040
|
+
vodId?: string;
|
|
1041
|
+
currentTime?: number;
|
|
1042
|
+
duration?: number;
|
|
1043
|
+
rebufferSeconds?: number;
|
|
1044
|
+
quality?: string;
|
|
1045
|
+
errorCode?: string;
|
|
1046
|
+
surface?: PlaybackBeaconSurface | string;
|
|
1047
|
+
[key: string]: unknown;
|
|
1048
|
+
};
|
|
1049
|
+
type PlaybackBeaconTrackInput = Omit<PlaybackBeaconEvent, "ts"> & {
|
|
1050
|
+
ts?: number;
|
|
1051
|
+
};
|
|
1052
|
+
type CreatePlaybackBeaconClientOptions = {
|
|
1053
|
+
endpoint: string;
|
|
1054
|
+
sessionId: string;
|
|
1055
|
+
surface: PlaybackBeaconSurface | string;
|
|
1056
|
+
getContext?: () => Record<string, unknown>;
|
|
1057
|
+
/** Override for tests. */
|
|
1058
|
+
fetchFn?: typeof fetch;
|
|
1059
|
+
intervalMs?: number;
|
|
1060
|
+
now?: () => number;
|
|
1061
|
+
};
|
|
1062
|
+
type PlaybackBeaconClient = {
|
|
1063
|
+
track: (event: PlaybackBeaconTrackInput) => void;
|
|
1064
|
+
flush: () => Promise<void>;
|
|
1065
|
+
destroy: () => void;
|
|
1066
|
+
};
|
|
1067
|
+
declare function createPlaybackBeaconClient({ endpoint, sessionId, surface, getContext, fetchFn, intervalMs, now, }: CreatePlaybackBeaconClientOptions): PlaybackBeaconClient;
|
|
1068
|
+
|
|
1069
|
+
type StatHighlightCardProps = {
|
|
1070
|
+
label: string;
|
|
1071
|
+
value: React.ReactNode;
|
|
1072
|
+
hint?: string;
|
|
1073
|
+
delta?: string;
|
|
1074
|
+
deltaTone?: "up" | "down" | "neutral";
|
|
1075
|
+
className?: string;
|
|
1076
|
+
};
|
|
1077
|
+
declare function StatHighlightCard({ label, value, hint, delta, deltaTone, className, }: StatHighlightCardProps): React.JSX.Element;
|
|
1078
|
+
|
|
1079
|
+
type MetricChartCardProps = {
|
|
1080
|
+
title: string;
|
|
1081
|
+
description?: string;
|
|
1082
|
+
action?: React.ReactNode;
|
|
1083
|
+
children: React.ReactNode;
|
|
1084
|
+
className?: string;
|
|
1085
|
+
};
|
|
1086
|
+
declare function MetricChartCard({ title, description, action, children, className, }: MetricChartCardProps): React.JSX.Element;
|
|
1087
|
+
|
|
1088
|
+
type SparklineStatProps = {
|
|
1089
|
+
label: string;
|
|
1090
|
+
value: React.ReactNode;
|
|
1091
|
+
points: number[];
|
|
1092
|
+
className?: string;
|
|
1093
|
+
};
|
|
1094
|
+
declare function SparklineStat({ label, value, points, className, }: SparklineStatProps): React.JSX.Element;
|
|
1095
|
+
|
|
1096
|
+
declare const TIME_RANGE_OPTIONS: readonly ["day", "week", "month", "year"];
|
|
1097
|
+
type TimeRange = (typeof TIME_RANGE_OPTIONS)[number];
|
|
1098
|
+
type TimeRangePickerLabels = Partial<Record<TimeRange, string>>;
|
|
1099
|
+
type TimeRangePickerProps = {
|
|
1100
|
+
value: TimeRange;
|
|
1101
|
+
onChange: (value: TimeRange) => void;
|
|
1102
|
+
labels?: TimeRangePickerLabels;
|
|
1103
|
+
className?: string;
|
|
1104
|
+
};
|
|
1105
|
+
declare function TimeRangePicker({ value, onChange, labels, className, }: TimeRangePickerProps): React.JSX.Element;
|
|
1106
|
+
|
|
1107
|
+
type DimensionBreakdownRow = {
|
|
1108
|
+
id: string;
|
|
1109
|
+
label: string;
|
|
1110
|
+
value: React.ReactNode;
|
|
1111
|
+
share?: string;
|
|
1112
|
+
};
|
|
1113
|
+
type DimensionBreakdownTableProps = {
|
|
1114
|
+
title?: string;
|
|
1115
|
+
rows: DimensionBreakdownRow[];
|
|
1116
|
+
empty?: React.ReactNode;
|
|
1117
|
+
className?: string;
|
|
1118
|
+
};
|
|
1119
|
+
declare function DimensionBreakdownTable({ title, rows, empty, className, }: DimensionBreakdownTableProps): React.JSX.Element;
|
|
1120
|
+
|
|
1121
|
+
type CostBreakdownItem = {
|
|
1122
|
+
id: string;
|
|
1123
|
+
label: string;
|
|
1124
|
+
amount: React.ReactNode;
|
|
1125
|
+
basis?: string;
|
|
1126
|
+
};
|
|
1127
|
+
type CostBreakdownCardProps = {
|
|
1128
|
+
title: string;
|
|
1129
|
+
total?: React.ReactNode;
|
|
1130
|
+
items: CostBreakdownItem[];
|
|
1131
|
+
className?: string;
|
|
1132
|
+
};
|
|
1133
|
+
declare function CostBreakdownCard({ title, total, items, className, }: CostBreakdownCardProps): React.JSX.Element;
|
|
1134
|
+
|
|
1135
|
+
type MetricEmptyStateProps = {
|
|
1136
|
+
title: string;
|
|
1137
|
+
description?: string;
|
|
1138
|
+
action?: React.ReactNode;
|
|
1139
|
+
icon?: EmptyStateIcon;
|
|
1140
|
+
className?: string;
|
|
1141
|
+
};
|
|
1142
|
+
declare function MetricEmptyState({ title, description, action, icon, className, }: MetricEmptyStateProps): React.JSX.Element;
|
|
1143
|
+
|
|
1144
|
+
type MetricSkeletonProps = {
|
|
1145
|
+
className?: string;
|
|
1146
|
+
bars?: number;
|
|
1147
|
+
};
|
|
1148
|
+
declare function MetricSkeleton({ className, bars }: MetricSkeletonProps): React.JSX.Element;
|
|
1149
|
+
|
|
1150
|
+
export { type AutoplayState, AvatarEditor, AvatarEditorDialog, type AvatarEditorDialogProps, type AvatarEditorLabels, type AvatarEditorProps, type BlocksLanguage, CAPTION_LOCALES, type CaptionLocale, ConfirmDestructiveDialog, type ConfirmDestructiveDialogProps, CostBreakdownCard, type CostBreakdownCardProps, type CostBreakdownItem, type CreateMultipartUploadControllerOptions, type CreatePlaybackBeaconClientOptions, type CurtainKind, CurtainPicker, type CurtainPickerItem, type CurtainPickerLabels, type CurtainPickerOwnerType, type CurtainPickerProps, CurtainPickerSkeleton, CurtainPreview, type CurtainPreviewProps, CurtainStage, type CurtainStageLabels, type CurtainStageProps, DEFAULT_CURTAIN_PICKER_LABELS, DEFAULT_EDITABLE_SECTION_LABELS, DEFAULT_FILE_DROPZONE_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILE_UPLOAD_TRAY_LABELS, DEFAULT_NOTIFICATION_BELL_LABELS, DataList, DataListItem, type DataListItemProps, type DataListProps, type DescribedPlaybackError, type DimensionBreakdownRow, DimensionBreakdownTable, type DimensionBreakdownTableProps, EditableSection, type EditableSectionLabels, type EditableSectionMode, type EditableSectionProps, type EditableSectionSlots, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateProps, EmptyTitle, ErrorState, FeedVideoPlayer, type FeedVideoPlayerProps, FieldMessage, type FieldMessageProps, FileDropzone, type FileDropzoneLabels, type FileDropzoneProps, FileUploadMenu, type FileUploadMenuProps, FileUploadTray, type FileUploadTrayLabels, type FileUploadTrayProps, type HlsPlayerMode, type Language, LanguageContext, type LanguageContextValue, LanguageSwitcher, type LanguageSwitcherLabels, type LanguageSwitcherProps, LoadingState, MetricChartCard, type MetricChartCardProps, MetricEmptyState, type MetricEmptyStateProps, MetricSkeleton, type MetricSkeletonProps, type MultipartUploadAdapter, type MultipartUploadController, type MultipartUploadPart, NotificationBell, type NotificationBellItem, type NotificationBellLabels, type NotificationBellProps, type PartRange, type PlaybackBeaconClient, type PlaybackBeaconEvent, type PlaybackBeaconEventType, type PlaybackBeaconSurface, type PlaybackBeaconTrackInput, type PlaybackErrorContext, type PlaybackErrorDetail, type PlaybackErrorKind, type PlaybackState, type PlaybackStats, type QualityLevel, SafeImage, type SafeImageProps, SparklineStat, type SparklineStatProps, StatHighlightCard, type StatHighlightCardProps, TIME_RANGE_OPTIONS, ThemeSwitcher, type ThemeSwitcherLabels, type ThemeSwitcherProps, type TimeRange, TimeRangePicker, type TimeRangePickerLabels, type TimeRangePickerProps, type UploadControllerStatus, type UploadJob, type UploadJobStatus, type UploadProgress, type UseEditableSectionOptions, type UseEditableSectionResult, type UseFeedExclusivePlaybackResult, type UseHlsPlaybackOptions, type UseHlsPlaybackResult, type UsePlaybackStatsOptions, VideoPlayer, type VideoPlayerLabels, type VideoPlayerProps, WaitingRoom, type WaitingRoomCurtain, type WaitingRoomProps, captionsVttUrlFromPlayback, castHlsUrl, cn, createLiveHlsConfig, createMultipartUploadController, createPlaybackBeaconClient, createVodHlsConfig, defaultLanguages, describeAvResync, describePlaybackError, fileMatchesAccept, isCaptionLocale, loadCastSender, partRanges, progressFromBytes, shouldRetryLiveEdge404, useEditableSection, useFeedExclusivePlayback, useHlsPlayback, useLanguageContext, useMediaQuery, usePlaybackStats };
|