import { ThemeColor, ThemeSize } from "../../theme/types.js"; import { SwitchShape } from "../../styles/switch.js"; import { SwitchCompactEmits, SwitchCompactProps, SwitchCompactSlots, SwitchUi } from "@soybeanjs/headless/switch"; import { AcceptableBooleanValue, ClassValue } from "@soybeanjs/headless/types"; //#region src/components/switch/types.d.ts /** * Properties for the Switch component. */ interface SwitchProps extends SwitchCompactProps { /** * Additional class names applied to the root element. */ class?: ClassValue; /** * Per-slot class overrides for the component. */ ui?: Partial; /** * Theme color of the component. */ color?: ThemeColor; /** * Visual size of the component. */ size?: ThemeSize; /** * Shape of the component. */ shape?: SwitchShape; } /** * Events for the Switch component. */ type SwitchEmits = SwitchCompactEmits; /** * Slots for the Switch component. */ type SwitchSlots = SwitchCompactSlots; //#endregion export { SwitchEmits, SwitchProps, SwitchSlots };