feat: add Badge and Alert components
This commit is contained in:
@@ -29,6 +29,8 @@ export {
|
||||
separatorVariants,
|
||||
kbdVariants,
|
||||
chipVariants,
|
||||
badgeVariants,
|
||||
alertVariants,
|
||||
type ButtonVariants,
|
||||
type CardVariants,
|
||||
type InputVariants,
|
||||
@@ -44,6 +46,8 @@ export {
|
||||
type SeparatorVariants,
|
||||
type KbdVariants,
|
||||
type ChipVariants,
|
||||
type BadgeVariants,
|
||||
type AlertVariants,
|
||||
} from "@heroui-vue/styles";
|
||||
export type {
|
||||
ButtonProps,
|
||||
@@ -70,6 +74,14 @@ export type {
|
||||
KbdContentProps,
|
||||
ChipProps,
|
||||
ChipLabelProps,
|
||||
BadgeProps,
|
||||
BadgeAnchorProps,
|
||||
BadgeLabelProps,
|
||||
AlertProps,
|
||||
AlertIndicatorProps,
|
||||
AlertContentProps,
|
||||
AlertTitleProps,
|
||||
AlertDescriptionProps,
|
||||
} from "./types";
|
||||
|
||||
export { tv, cn, type VariantProps } from "@heroui-vue/styles";
|
||||
@@ -125,3 +137,23 @@ export {
|
||||
type ChipContextValue,
|
||||
type ChipSlots,
|
||||
} from "./components/chip/context";
|
||||
|
||||
export { default as Badge } from "./components/badge/Badge.vue";
|
||||
export { default as BadgeAnchor } from "./components/badge/BadgeAnchor.vue";
|
||||
export { default as BadgeLabel } from "./components/badge/BadgeLabel.vue";
|
||||
export {
|
||||
badgeContextKey,
|
||||
type BadgeContextValue,
|
||||
type BadgeSlots,
|
||||
} from "./components/badge/context";
|
||||
export { default as Alert } from "./components/alert/Alert.vue";
|
||||
export { default as AlertIndicator } from "./components/alert/AlertIndicator.vue";
|
||||
export { default as AlertContent } from "./components/alert/AlertContent.vue";
|
||||
export { default as AlertTitle } from "./components/alert/AlertTitle.vue";
|
||||
export { default as AlertDescription } from "./components/alert/AlertDescription.vue";
|
||||
export {
|
||||
alertContextKey,
|
||||
type AlertContextValue,
|
||||
type AlertSlots,
|
||||
type AlertStatus,
|
||||
} from "./components/alert/context";
|
||||
|
||||
Reference in New Issue
Block a user