feat: add Separator Kbd and Chip components

This commit is contained in:
maoyingjie
2026-10-21 18:35:24 +08:00
parent 3d05fea7bd
commit 3515a47f5e
51 changed files with 2813 additions and 21 deletions
+34
View File
@@ -26,6 +26,9 @@ export {
avatarVariants,
avatarGroupVariants,
skeletonVariants,
separatorVariants,
kbdVariants,
chipVariants,
type ButtonVariants,
type CardVariants,
type InputVariants,
@@ -38,6 +41,9 @@ export {
type AvatarVariants,
type AvatarGroupVariants,
type SkeletonVariants,
type SeparatorVariants,
type KbdVariants,
type ChipVariants,
} from "@heroui-vue/styles";
export type {
ButtonProps,
@@ -58,6 +64,12 @@ export type {
AvatarGroupProps,
AvatarGroupCountProps,
SkeletonProps,
SeparatorProps,
KbdProps,
KbdAbbrProps,
KbdContentProps,
ChipProps,
ChipLabelProps,
} from "./types";
export { tv, cn, type VariantProps } from "@heroui-vue/styles";
@@ -91,3 +103,25 @@ export {
type AvatarSlots,
} from "./components/avatar/context";
export { default as Skeleton } from "./components/skeleton/Skeleton.vue";
export { default as Separator } from "./components/separator/Separator.vue";
export { default as Kbd } from "./components/kbd/Kbd.vue";
export { default as KbdAbbr } from "./components/kbd/KbdAbbr.vue";
export { default as KbdContent } from "./components/kbd/KbdContent.vue";
export {
kbdKeysMap,
kbdKeysLabelMap,
type KbdKey,
} from "./components/kbd/constants";
export {
kbdContextKey,
type KbdContextValue,
type KbdSlots,
} from "./components/kbd/context";
export { default as Chip } from "./components/chip/Chip.vue";
export { default as ChipLabel } from "./components/chip/ChipLabel.vue";
export {
chipContextKey,
type ChipContextValue,
type ChipSlots,
} from "./components/chip/context";