feat: add Checkbox and Radio field families

This commit is contained in:
maoyingjie
2026-10-22 09:15:27 +08:00
parent a4fb3c550a
commit bcadbeaf8c
75 changed files with 5293 additions and 22 deletions
+29
View File
@@ -233,3 +233,32 @@ export {
type FieldsetVariants,
type SearchFieldVariants,
} from "@heroui-vue/styles";
export { Checkbox, Radio } from "./components/choice/item";
export { CheckboxGroup, RadioGroup } from "./components/choice/group";
export type { CheckboxProps } from "./types";
export type { RadioProps } from "./types";
export type { CheckboxGroupProps } from "./types";
export type { RadioGroupProps } from "./types";
export { default as CheckboxContent } from "./components/checkbox/CheckboxContent.vue";
export type { CheckboxContentProps } from "./types";
export { default as CheckboxControl } from "./components/checkbox/CheckboxControl.vue";
export type { CheckboxControlProps } from "./types";
export { default as CheckboxIndicator } from "./components/checkbox/CheckboxIndicator.vue";
export type { CheckboxIndicatorProps } from "./types";
export { default as RadioContent } from "./components/radio/RadioContent.vue";
export type { RadioContentProps } from "./types";
export { default as RadioControl } from "./components/radio/RadioControl.vue";
export type { RadioControlProps } from "./types";
export { default as RadioIndicator } from "./components/radio/RadioIndicator.vue";
export type { RadioIndicatorProps } from "./types";
export {
checkboxVariants,
checkboxGroupVariants,
radioVariants,
radioGroupVariants,
type CheckboxVariants,
type CheckboxGroupVariants,
type RadioVariants,
type RadioGroupVariants,
} from "@heroui-vue/styles";