chore: clean git cache

This commit is contained in:
GitHub Actions
2026-01-02 00:59:57 +00:00
parent 9a05e2f927
commit aae55a8ae9
289 changed files with 0 additions and 62352 deletions

View File

@@ -1,70 +0,0 @@
import * as React from 'react'
import { cn } from '../../utils/cn'
import { Button, type ButtonProps } from './Button'
export interface EmptyStateAction {
label: string
onClick: () => void
variant?: ButtonProps['variant']
}
export interface EmptyStateProps {
icon?: React.ReactNode
title: string
description: string
action?: EmptyStateAction
secondaryAction?: EmptyStateAction
className?: string
}
/**
* EmptyState - Empty state pattern component
*
* Features:
* - Centered content with dashed border
* - Icon in muted background circle
* - Primary and secondary action buttons
* - Uses Button component for actions
*/
export function EmptyState({
icon,
title,
description,
action,
secondaryAction,
className,
}: EmptyStateProps) {
return (
<div
className={cn(
'flex flex-col items-center justify-center py-16 px-6 text-center',
'rounded-xl border border-dashed border-border bg-surface-subtle/50',
className
)}
>
{icon && (
<div className="mb-4 rounded-full bg-surface-muted p-4 text-content-muted">
{icon}
</div>
)}
<h3 className="text-lg font-semibold text-content-primary">{title}</h3>
<p className="mt-2 max-w-sm text-sm text-content-secondary">
{description}
</p>
{(action || secondaryAction) && (
<div className="mt-6 flex flex-wrap items-center justify-center gap-3">
{action && (
<Button variant={action.variant || 'primary'} onClick={action.onClick}>
{action.label}
</Button>
)}
{secondaryAction && (
<Button variant="ghost" onClick={secondaryAction.onClick}>
{secondaryAction.label}
</Button>
)}
</div>
)}
</div>
)
}