import { ClassValue, StyledComponentProps, ThemeColor } from "../../types/shared.js"; import { ProgressSlots } from "./progress-variants.js"; import { ProgressProps } from "@radix-ui/react-progress"; //#region src/components/progress/types.d.ts /** * Class names for different slots in the progress component. * Allows customizing styles for specific parts of the progress bar. */ type ProgressClassNames = Partial>; /** * Props for the Progress component. * A visual indicator showing the progress of an operation or task. * * @example * // Basic progress bar at 60% * * * @example * // Progress bar with custom color * * * @example * // Indeterminate progress (loading) * * * @example * // Progress with label *
*
* Loading... * 45% *
* *
*/ interface ProgressProps$1 extends StyledComponentProps> { /** Class names for customizing different parts of the progress component */ classNames?: ProgressClassNames; /** Color variant for the progress bar */ color?: ThemeColor; } //#endregion export { ProgressClassNames, ProgressProps$1 as ProgressProps };