feat: add Surface, Link and Spinner components

This commit is contained in:
maoyingjie
2026-10-21 13:04:06 +08:00
parent 9d40dc0ecb
commit 630963c652
52 changed files with 2683 additions and 162 deletions
+23
View File
@@ -18,10 +18,18 @@ export {
cardVariants,
inputVariants,
switchVariants,
surfaceVariants,
linkVariants,
spinnerVariants,
textAreaVariants,
type ButtonVariants,
type CardVariants,
type InputVariants,
type SwitchVariants,
type SurfaceVariants,
type LinkVariants,
type SpinnerVariants,
type TextAreaVariants,
} from "@heroui-vue/styles";
export type {
ButtonProps,
@@ -30,9 +38,24 @@ export type {
SwitchProps,
SwitchGroupProps,
LabelProps,
SurfaceProps,
LinkProps,
LinkIconProps,
SpinnerProps,
TextAreaProps,
} from "./types";
export { tv, cn, type VariantProps } from "@heroui-vue/styles";
export { default as SwitchGroup } from "./components/switch/SwitchGroup.vue";
export { default as FieldError } from "./components/switch/FieldError.vue";
export { default as Surface } from "./components/surface/Surface.vue";
export {
surfaceContextKey,
type SurfaceContext,
} from "./components/surface/context";
export { default as Link } from "./components/link/Link.vue";
export { default as LinkIcon } from "./components/link/LinkIcon.vue";
export { default as Spinner } from "./components/spinner/Spinner.vue";
export { default as TextArea } from "./components/textarea/TextArea.vue";