Files
kniha_jizd_web/frontend/components/ui/input.tsx
Docker Config Backup 410d5092ff feat: Integrate shadcn/ui design system
- Install shadcn/ui dependencies (CVA, clsx, tailwind-merge, lucide-react)
- Install Radix UI primitives (slot, label)
- Create utility helper (lib/utils.ts with cn function)
- Update Tailwind config for shadcn/ui theme support
- Add CSS variables for theming in globals.css (Tailwind v4 syntax)
- Add shadcn/ui components: Button, Card, Input, Label
- Update JourneyForm with shadcn/ui components and icons
- Update DataPreview with shadcn/ui components and icons
- Improve UI consistency and accessibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 20:41:06 +02:00

23 lines
790 B
TypeScript

import * as React from "react"
import { cn } from "@/lib/utils"
const Input = React.forwardRef<HTMLInputElement, React.ComponentProps<"input">>(
({ className, type, ...props }, ref) => {
return (
<input
type={type}
className={cn(
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
className
)}
ref={ref}
{...props}
/>
)
}
)
Input.displayName = "Input"
export { Input }