svelte-5-ui-lib
Version:
Svelte 5 UI Lib is a UI library built from scratch to leverage Svelte 5's runes system, creating smooth, reactive components.
21 lines (20 loc) • 816 B
TypeScript
import type { HTMLAttributes } from 'svelte/elements';
import type { EasingFunction } from 'svelte/transition';
type ColorType = 'primary' | 'gray' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | undefined;
interface ProgressbarProps extends HTMLAttributes<HTMLDivElement> {
progress?: string | number;
precision?: number;
tweenDuration?: number;
animate?: boolean;
size?: string;
labelInside?: boolean;
labelOutside?: string;
easing?: EasingFunction;
color?: ColorType;
div2Class?: string;
oustsideSpanClass?: string;
oustsideProgressClass?: string;
labeloutsidedivClass?: string;
divClass?: string;
}
export { type ProgressbarProps };