From 92d5460c776d70b9b6d9ce3975cc7c20c8d32a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Neves?= Date: Tue, 30 Jun 2026 12:06:27 +0000 Subject: [PATCH] chore(ui): remove unused button and input exports Remove buttonVariants and ButtonProps from the button.tsx export list, and remove the InputProps interface from input.tsx (using inline React.InputHTMLAttributes instead). These exports are never imported by any other file in the project. The internal variables/interfaces remain in the file since they are used by the component implementations. Consistent with similar cleanup PRs: - #213, #207, #203 (dialog) - #201 (dropdown-menu) - #200 (sheet) --- src/components/ui/button.tsx | 2 +- src/components/ui/input.tsx | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index 4106711..03834c0 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -53,4 +53,4 @@ const Button = React.forwardRef( ) Button.displayName = "Button" -export { Button, buttonVariants } +export { Button } diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx index 7b9d75c..13da622 100644 --- a/src/components/ui/input.tsx +++ b/src/components/ui/input.tsx @@ -2,10 +2,7 @@ import * as React from "react" import { cn } from "../../lib/utils" -export interface InputProps - extends React.InputHTMLAttributes {} - -const Input = React.forwardRef( +const Input = React.forwardRef>( ({ className, type, ...props }, ref) => { return (