feat: migrate ListBox with virtual collection and accessible parts

This commit is contained in:
maoyingjie
2026-10-23 15:02:30 +08:00
parent dea5ded716
commit 65db60a7ac
39 changed files with 2694 additions and 12 deletions
+28
View File
@@ -630,3 +630,31 @@ export type {
SliderOutputProps,
SliderMarksProps,
} from "./types";
export {
default as ListBox,
default as ListBoxRoot,
} from "./components/list-box/ListBox.vue";
export { default as ListBoxItem } from "./components/list-box/ListBoxItem.vue";
export { default as ListBoxItemIndicator } from "./components/list-box/ListBoxItemIndicator.vue";
export { default as ListBoxSection } from "./components/list-box/ListBoxSection.vue";
export type {
ListBoxKey,
ListBoxDataItem,
ListBoxItemState,
} from "./components/list-box/context";
export type {
ListBoxProps,
ListBoxRootProps,
ListBoxItemProps,
ListBoxItemIndicatorProps,
ListBoxSectionProps,
} from "./types";
export {
listboxVariants,
listboxItemVariants,
listboxSectionVariants,
type ListBoxVariants,
type ListBoxItemVariants,
type ListBoxSectionVariants,
} from "@heroui-vue/styles";