import type { HTMLAttributes } from 'svelte/elements';
type CardSizeType = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | undefined;
interface CardPlaceholderProps extends HTMLAttributes {
size?: CardSizeType;
class?: string;
}
type SizeImageType = 'sm' | 'md' | 'lg' | undefined;
type RoundedType = 'sm' | 'md' | 'lg' | 'none' | 'full' | undefined;
interface ImagePlaceholderProps extends HTMLAttributes {
size?: SizeImageType;
rounded?: RoundedType;
class?: string;
}
type SizeListType = 'sm' | 'md' | 'lg' | undefined;
type RoundedListType = 'sm' | 'md' | 'lg' | 'none' | 'full' | undefined;
interface ListPlaceholderProps extends HTMLAttributes {
itemNumber?: number;
size?: SizeListType;
rounded?: RoundedListType;
class?: string;
}
type SizeSkeletonType = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | undefined;
interface SkeletonProps extends HTMLAttributes {
size?: SizeSkeletonType;
class?: string;
}
type SizeTextType = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | undefined;
interface TextPlaceholderProps extends HTMLAttributes {
size?: SizeTextType;
class?: string;
}
type SizeVideoType = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | undefined;
interface VideoPlaceholderProps extends HTMLAttributes {
size?: SizeVideoType;
class?: string;
}
export type { CardPlaceholderProps, ImagePlaceholderProps, ListPlaceholderProps, SkeletonProps, TextPlaceholderProps, VideoPlaceholderProps, SizeVideoType };