import { forwardRef, type ComponentPropsWithoutRef } from "react"; import { emptyStateActionsVariants, emptyStateDescriptionVariants, emptyStateEyebrowVariants, emptyStateHeaderVariants, emptyStateMediaVariants, emptyStateTitleVariants, emptyStateVariants } from "./empty-state.variants"; import { cn } from "../lib/cn"; import type { VariantProps } from "../lib/cva"; import { createDataAttributes, createSlot } from "../lib/contracts"; export type EmptyStateProps = ComponentPropsWithoutRef<"div"> & VariantProps; export const EmptyState = forwardRef(function EmptyState( { align, className, layout, tone, ...props }, ref ) { return (
); }); export type EmptyStateMediaProps = ComponentPropsWithoutRef<"div"> & VariantProps; export const EmptyStateMedia = forwardRef( function EmptyStateMedia({ className, size, ...props }, ref) { return (
); } ); export type EmptyStateHeaderProps = ComponentPropsWithoutRef<"div"> & VariantProps; export const EmptyStateHeader = forwardRef( function EmptyStateHeader({ align, className, ...props }, ref) { return (
); } ); export type EmptyStateEyebrowProps = ComponentPropsWithoutRef<"p">; export const EmptyStateEyebrow = forwardRef( function EmptyStateEyebrow({ className, ...props }, ref) { return (

); } ); export type EmptyStateTitleProps = ComponentPropsWithoutRef<"h3">; export const EmptyStateTitle = forwardRef( function EmptyStateTitle({ className, ...props }, ref) { return (

); } ); export type EmptyStateDescriptionProps = ComponentPropsWithoutRef<"p">; export const EmptyStateDescription = forwardRef< HTMLParagraphElement, EmptyStateDescriptionProps >(function EmptyStateDescription({ className, ...props }, ref) { return (

); }); export type EmptyStateActionsProps = ComponentPropsWithoutRef<"div"> & VariantProps; export const EmptyStateActions = forwardRef( function EmptyStateActions({ className, layout, ...props }, ref) { return (

); } );