import { ThemeColor, ThemeSize } from "../../theme/types.js"; import { CheckboxShape } from "../../styles/checkbox.js"; import { CheckboxCardCompactEmits, CheckboxCardCompactProps, CheckboxCardGroupCompactEmits, CheckboxCardGroupCompactProps, CheckboxCardGroupOptionData, CheckboxCardUi, CheckboxCompactEmits, CheckboxCompactProps, CheckboxGroupCompactEmits, CheckboxGroupCompactProps, CheckboxGroupOptionData, CheckboxUi } from "@soybeanjs/headless/checkbox"; import { ClassValue, DefinedValue } from "@soybeanjs/headless/types"; //#region src/components/checkbox/types.d.ts /** * Properties for the Checkbox component. */ interface CheckboxProps extends CheckboxCompactProps { /** * the class of 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?: CheckboxShape; } /** * Events for the Checkbox component. */ type CheckboxEmits = CheckboxCompactEmits; /** * Properties for the CheckboxCard component. */ interface CheckboxCardProps extends CheckboxCardCompactProps { /** * the class of 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?: CheckboxShape; /** * Icon rendered by the component. */ icon?: string; /** * Description text rendered by the component. */ description?: string; } /** * Events for the CheckboxCard component. */ type CheckboxCardEmits = CheckboxCardCompactEmits; /** * Properties for the CheckboxGroup component. */ interface CheckboxGroupProps extends CheckboxGroupCompactProps { /** * the class of group 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?: CheckboxShape; } /** * Events for the CheckboxGroup component. */ type CheckboxGroupEmits = CheckboxGroupCompactEmits; /** * Properties for the CheckboxCardGroup component. */ interface CheckboxCardGroupProps extends CheckboxCardGroupCompactProps { /** * the class of group 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?: CheckboxShape; } /** * Events for the CheckboxCardGroup component. */ type CheckboxCardGroupEmits = CheckboxCardGroupCompactEmits; //#endregion export { CheckboxCardEmits, CheckboxCardGroupEmits, type CheckboxCardGroupOptionData, CheckboxCardGroupProps, CheckboxCardProps, CheckboxEmits, CheckboxGroupEmits, type CheckboxGroupOptionData, CheckboxGroupProps, CheckboxProps };