mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 11:01:45 +00:00
style(ui): reordena exports e padroniza rótulos visuais
This commit is contained in:
@@ -43,19 +43,19 @@ export function NoteCard({
|
|||||||
|
|
||||||
const actions = [
|
const actions = [
|
||||||
{
|
{
|
||||||
label: "Editar",
|
label: "editar",
|
||||||
icon: <RiPencilLine className="size-4" aria-hidden />,
|
icon: <RiPencilLine className="size-4" aria-hidden />,
|
||||||
onClick: onEdit,
|
onClick: onEdit,
|
||||||
destructive: false,
|
destructive: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Detalhes",
|
label: "detalhes",
|
||||||
icon: <RiFileList2Line className="size-4" aria-hidden />,
|
icon: <RiFileList2Line className="size-4" aria-hidden />,
|
||||||
onClick: onDetails,
|
onClick: onDetails,
|
||||||
destructive: false,
|
destructive: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: isArquivadas ? "Desarquivar" : "Arquivar",
|
label: isArquivadas ? "desarquivar" : "arquivar",
|
||||||
icon: isArquivadas ? (
|
icon: isArquivadas ? (
|
||||||
<RiInboxUnarchiveLine className="size-4" aria-hidden />
|
<RiInboxUnarchiveLine className="size-4" aria-hidden />
|
||||||
) : (
|
) : (
|
||||||
@@ -65,7 +65,7 @@ export function NoteCard({
|
|||||||
destructive: false,
|
destructive: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Remover",
|
label: "remover",
|
||||||
icon: <RiDeleteBin5Line className="size-4" aria-hidden />,
|
icon: <RiDeleteBin5Line className="size-4" aria-hidden />,
|
||||||
onClick: onRemove,
|
onClick: onRemove,
|
||||||
destructive: true,
|
destructive: true,
|
||||||
|
|||||||
@@ -143,14 +143,14 @@ function AlertDialogCancel({
|
|||||||
|
|
||||||
export {
|
export {
|
||||||
AlertDialog,
|
AlertDialog,
|
||||||
AlertDialogPortal,
|
|
||||||
AlertDialogOverlay,
|
|
||||||
AlertDialogTrigger,
|
|
||||||
AlertDialogContent,
|
|
||||||
AlertDialogHeader,
|
|
||||||
AlertDialogFooter,
|
|
||||||
AlertDialogTitle,
|
|
||||||
AlertDialogDescription,
|
|
||||||
AlertDialogAction,
|
AlertDialogAction,
|
||||||
AlertDialogCancel,
|
AlertDialogCancel,
|
||||||
|
AlertDialogContent,
|
||||||
|
AlertDialogDescription,
|
||||||
|
AlertDialogFooter,
|
||||||
|
AlertDialogHeader,
|
||||||
|
AlertDialogOverlay,
|
||||||
|
AlertDialogPortal,
|
||||||
|
AlertDialogTitle,
|
||||||
|
AlertDialogTrigger,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -63,4 +63,4 @@ function AlertDescription({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export { Alert, AlertTitle, AlertDescription };
|
export { Alert, AlertDescription, AlertTitle };
|
||||||
|
|||||||
@@ -50,4 +50,4 @@ function AvatarFallback({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export { Avatar, AvatarImage, AvatarFallback };
|
export { Avatar, AvatarFallback, AvatarImage };
|
||||||
|
|||||||
@@ -374,9 +374,9 @@ function getPayloadConfigFromPayload(
|
|||||||
|
|
||||||
export {
|
export {
|
||||||
ChartContainer,
|
ChartContainer,
|
||||||
ChartTooltip,
|
|
||||||
ChartTooltipContent,
|
|
||||||
ChartLegend,
|
ChartLegend,
|
||||||
ChartLegendContent,
|
ChartLegendContent,
|
||||||
ChartStyle,
|
ChartStyle,
|
||||||
|
ChartTooltip,
|
||||||
|
ChartTooltipContent,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -30,4 +30,4 @@ function CollapsibleContent({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export { Collapsible, CollapsibleTrigger, CollapsibleContent };
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
||||||
|
|||||||
@@ -123,13 +123,13 @@ function DrawerDescription({
|
|||||||
|
|
||||||
export {
|
export {
|
||||||
Drawer,
|
Drawer,
|
||||||
DrawerPortal,
|
|
||||||
DrawerOverlay,
|
|
||||||
DrawerTrigger,
|
|
||||||
DrawerClose,
|
DrawerClose,
|
||||||
DrawerContent,
|
DrawerContent,
|
||||||
DrawerHeader,
|
|
||||||
DrawerFooter,
|
|
||||||
DrawerTitle,
|
|
||||||
DrawerDescription,
|
DrawerDescription,
|
||||||
|
DrawerFooter,
|
||||||
|
DrawerHeader,
|
||||||
|
DrawerOverlay,
|
||||||
|
DrawerPortal,
|
||||||
|
DrawerTitle,
|
||||||
|
DrawerTrigger,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -96,9 +96,9 @@ function EmptyContent({ className, ...props }: React.ComponentProps<"div">) {
|
|||||||
|
|
||||||
export {
|
export {
|
||||||
Empty,
|
Empty,
|
||||||
EmptyHeader,
|
|
||||||
EmptyTitle,
|
|
||||||
EmptyDescription,
|
|
||||||
EmptyContent,
|
EmptyContent,
|
||||||
|
EmptyDescription,
|
||||||
|
EmptyHeader,
|
||||||
EmptyMedia,
|
EmptyMedia,
|
||||||
|
EmptyTitle,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -235,13 +235,13 @@ function FieldError({
|
|||||||
|
|
||||||
export {
|
export {
|
||||||
Field,
|
Field,
|
||||||
FieldLabel,
|
FieldContent,
|
||||||
FieldDescription,
|
FieldDescription,
|
||||||
FieldError,
|
FieldError,
|
||||||
FieldGroup,
|
FieldGroup,
|
||||||
|
FieldLabel,
|
||||||
FieldLegend,
|
FieldLegend,
|
||||||
FieldSeparator,
|
FieldSeparator,
|
||||||
FieldSet,
|
FieldSet,
|
||||||
FieldContent,
|
|
||||||
FieldTitle,
|
FieldTitle,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -41,4 +41,4 @@ function HoverCardContent({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export { HoverCard, HoverCardTrigger, HoverCardContent };
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
||||||
|
|||||||
@@ -180,13 +180,13 @@ function ItemFooter({ className, ...props }: React.ComponentProps<"div">) {
|
|||||||
|
|
||||||
export {
|
export {
|
||||||
Item,
|
Item,
|
||||||
ItemMedia,
|
|
||||||
ItemContent,
|
|
||||||
ItemActions,
|
ItemActions,
|
||||||
|
ItemContent,
|
||||||
|
ItemDescription,
|
||||||
|
ItemFooter,
|
||||||
ItemGroup,
|
ItemGroup,
|
||||||
|
ItemHeader,
|
||||||
|
ItemMedia,
|
||||||
ItemSeparator,
|
ItemSeparator,
|
||||||
ItemTitle,
|
ItemTitle,
|
||||||
ItemDescription,
|
|
||||||
ItemHeader,
|
|
||||||
ItemFooter,
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -156,12 +156,12 @@ function NavigationMenuIndicator({
|
|||||||
|
|
||||||
export {
|
export {
|
||||||
NavigationMenu,
|
NavigationMenu,
|
||||||
NavigationMenuList,
|
|
||||||
NavigationMenuItem,
|
|
||||||
NavigationMenuContent,
|
NavigationMenuContent,
|
||||||
NavigationMenuTrigger,
|
|
||||||
NavigationMenuLink,
|
|
||||||
NavigationMenuIndicator,
|
NavigationMenuIndicator,
|
||||||
|
NavigationMenuItem,
|
||||||
|
NavigationMenuLink,
|
||||||
|
NavigationMenuList,
|
||||||
|
NavigationMenuTrigger,
|
||||||
NavigationMenuViewport,
|
NavigationMenuViewport,
|
||||||
navigationMenuTriggerStyle,
|
navigationMenuTriggerStyle,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -45,4 +45,4 @@ function PopoverAnchor({
|
|||||||
return <PopoverPrimitive.Anchor data-slot="popover-anchor" {...props} />;
|
return <PopoverPrimitive.Anchor data-slot="popover-anchor" {...props} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
||||||
|
|||||||
@@ -58,4 +58,4 @@ function TooltipContent({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
||||||
|
|||||||
Reference in New Issue
Block a user