From 58f5a4ab2f5cd2822925ff6ffe105c39d943cc11 Mon Sep 17 00:00:00 2001 From: Felipe Coutinho Date: Tue, 17 Mar 2026 17:11:05 +0000 Subject: [PATCH] =?UTF-8?q?style(ui):=20reordena=20exports=20e=20padroniza?= =?UTF-8?q?=20r=C3=B3tulos=20visuais?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/features/notes/components/note-card.tsx | 8 ++++---- src/shared/components/ui/alert-dialog.tsx | 16 ++++++++-------- src/shared/components/ui/alert.tsx | 2 +- src/shared/components/ui/avatar.tsx | 2 +- src/shared/components/ui/chart.tsx | 4 ++-- src/shared/components/ui/collapsible.tsx | 2 +- src/shared/components/ui/drawer.tsx | 12 ++++++------ src/shared/components/ui/empty.tsx | 6 +++--- src/shared/components/ui/field.tsx | 4 ++-- src/shared/components/ui/hover-card.tsx | 2 +- src/shared/components/ui/item.tsx | 10 +++++----- src/shared/components/ui/navigation-menu.tsx | 8 ++++---- src/shared/components/ui/popover.tsx | 2 +- src/shared/components/ui/tooltip.tsx | 2 +- 14 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/features/notes/components/note-card.tsx b/src/features/notes/components/note-card.tsx index 2a8ae1e..43418b1 100644 --- a/src/features/notes/components/note-card.tsx +++ b/src/features/notes/components/note-card.tsx @@ -43,19 +43,19 @@ export function NoteCard({ const actions = [ { - label: "Editar", + label: "editar", icon: , onClick: onEdit, destructive: false, }, { - label: "Detalhes", + label: "detalhes", icon: , onClick: onDetails, destructive: false, }, { - label: isArquivadas ? "Desarquivar" : "Arquivar", + label: isArquivadas ? "desarquivar" : "arquivar", icon: isArquivadas ? ( ) : ( @@ -65,7 +65,7 @@ export function NoteCard({ destructive: false, }, { - label: "Remover", + label: "remover", icon: , onClick: onRemove, destructive: true, diff --git a/src/shared/components/ui/alert-dialog.tsx b/src/shared/components/ui/alert-dialog.tsx index 9fe9bbd..b63b4ea 100644 --- a/src/shared/components/ui/alert-dialog.tsx +++ b/src/shared/components/ui/alert-dialog.tsx @@ -143,14 +143,14 @@ function AlertDialogCancel({ export { AlertDialog, - AlertDialogPortal, - AlertDialogOverlay, - AlertDialogTrigger, - AlertDialogContent, - AlertDialogHeader, - AlertDialogFooter, - AlertDialogTitle, - AlertDialogDescription, AlertDialogAction, AlertDialogCancel, + AlertDialogContent, + AlertDialogDescription, + AlertDialogFooter, + AlertDialogHeader, + AlertDialogOverlay, + AlertDialogPortal, + AlertDialogTitle, + AlertDialogTrigger, }; diff --git a/src/shared/components/ui/alert.tsx b/src/shared/components/ui/alert.tsx index d49616d..a35481c 100644 --- a/src/shared/components/ui/alert.tsx +++ b/src/shared/components/ui/alert.tsx @@ -63,4 +63,4 @@ function AlertDescription({ ); } -export { Alert, AlertTitle, AlertDescription }; +export { Alert, AlertDescription, AlertTitle }; diff --git a/src/shared/components/ui/avatar.tsx b/src/shared/components/ui/avatar.tsx index a206530..6f61914 100644 --- a/src/shared/components/ui/avatar.tsx +++ b/src/shared/components/ui/avatar.tsx @@ -50,4 +50,4 @@ function AvatarFallback({ ); } -export { Avatar, AvatarImage, AvatarFallback }; +export { Avatar, AvatarFallback, AvatarImage }; diff --git a/src/shared/components/ui/chart.tsx b/src/shared/components/ui/chart.tsx index 37850c5..b760c4c 100644 --- a/src/shared/components/ui/chart.tsx +++ b/src/shared/components/ui/chart.tsx @@ -374,9 +374,9 @@ function getPayloadConfigFromPayload( export { ChartContainer, - ChartTooltip, - ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, + ChartTooltip, + ChartTooltipContent, }; diff --git a/src/shared/components/ui/collapsible.tsx b/src/shared/components/ui/collapsible.tsx index 0551ffd..bbad3eb 100644 --- a/src/shared/components/ui/collapsible.tsx +++ b/src/shared/components/ui/collapsible.tsx @@ -30,4 +30,4 @@ function CollapsibleContent({ ); } -export { Collapsible, CollapsibleTrigger, CollapsibleContent }; +export { Collapsible, CollapsibleContent, CollapsibleTrigger }; diff --git a/src/shared/components/ui/drawer.tsx b/src/shared/components/ui/drawer.tsx index 8d6eefe..d2059b0 100644 --- a/src/shared/components/ui/drawer.tsx +++ b/src/shared/components/ui/drawer.tsx @@ -123,13 +123,13 @@ function DrawerDescription({ export { Drawer, - DrawerPortal, - DrawerOverlay, - DrawerTrigger, DrawerClose, DrawerContent, - DrawerHeader, - DrawerFooter, - DrawerTitle, DrawerDescription, + DrawerFooter, + DrawerHeader, + DrawerOverlay, + DrawerPortal, + DrawerTitle, + DrawerTrigger, }; diff --git a/src/shared/components/ui/empty.tsx b/src/shared/components/ui/empty.tsx index 762b11f..f49cc75 100644 --- a/src/shared/components/ui/empty.tsx +++ b/src/shared/components/ui/empty.tsx @@ -96,9 +96,9 @@ function EmptyContent({ className, ...props }: React.ComponentProps<"div">) { export { Empty, - EmptyHeader, - EmptyTitle, - EmptyDescription, EmptyContent, + EmptyDescription, + EmptyHeader, EmptyMedia, + EmptyTitle, }; diff --git a/src/shared/components/ui/field.tsx b/src/shared/components/ui/field.tsx index 65f5679..291ba5c 100644 --- a/src/shared/components/ui/field.tsx +++ b/src/shared/components/ui/field.tsx @@ -235,13 +235,13 @@ function FieldError({ export { Field, - FieldLabel, + FieldContent, FieldDescription, FieldError, FieldGroup, + FieldLabel, FieldLegend, FieldSeparator, FieldSet, - FieldContent, FieldTitle, }; diff --git a/src/shared/components/ui/hover-card.tsx b/src/shared/components/ui/hover-card.tsx index 787cb9a..83f49c2 100644 --- a/src/shared/components/ui/hover-card.tsx +++ b/src/shared/components/ui/hover-card.tsx @@ -41,4 +41,4 @@ function HoverCardContent({ ); } -export { HoverCard, HoverCardTrigger, HoverCardContent }; +export { HoverCard, HoverCardContent, HoverCardTrigger }; diff --git a/src/shared/components/ui/item.tsx b/src/shared/components/ui/item.tsx index 98b1bf4..21c5060 100644 --- a/src/shared/components/ui/item.tsx +++ b/src/shared/components/ui/item.tsx @@ -180,13 +180,13 @@ function ItemFooter({ className, ...props }: React.ComponentProps<"div">) { export { Item, - ItemMedia, - ItemContent, ItemActions, + ItemContent, + ItemDescription, + ItemFooter, ItemGroup, + ItemHeader, + ItemMedia, ItemSeparator, ItemTitle, - ItemDescription, - ItemHeader, - ItemFooter, }; diff --git a/src/shared/components/ui/navigation-menu.tsx b/src/shared/components/ui/navigation-menu.tsx index d1d3432..930a46e 100644 --- a/src/shared/components/ui/navigation-menu.tsx +++ b/src/shared/components/ui/navigation-menu.tsx @@ -156,12 +156,12 @@ function NavigationMenuIndicator({ export { NavigationMenu, - NavigationMenuList, - NavigationMenuItem, NavigationMenuContent, - NavigationMenuTrigger, - NavigationMenuLink, NavigationMenuIndicator, + NavigationMenuItem, + NavigationMenuLink, + NavigationMenuList, + NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle, }; diff --git a/src/shared/components/ui/popover.tsx b/src/shared/components/ui/popover.tsx index c846980..18bcdd5 100644 --- a/src/shared/components/ui/popover.tsx +++ b/src/shared/components/ui/popover.tsx @@ -45,4 +45,4 @@ function PopoverAnchor({ return ; } -export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor }; +export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger }; diff --git a/src/shared/components/ui/tooltip.tsx b/src/shared/components/ui/tooltip.tsx index 6af3b84..2c9310d 100644 --- a/src/shared/components/ui/tooltip.tsx +++ b/src/shared/components/ui/tooltip.tsx @@ -58,4 +58,4 @@ function TooltipContent({ ); } -export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }; +export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };