fix(web): substitui Space direction por orientation em todos os arquivos

AntD 6 deprecou direction em favor de orientation.
14 ocorrências em ClientsPage, NewOrderPage, RafaelPainel e SandraPainel.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-29 15:00:02 +00:00
parent f9d5f8a84c
commit 20b0793227
4 changed files with 15 additions and 15 deletions

View File

@@ -88,7 +88,7 @@ export function RafaelPainel() {
<Card style={{ height: '100%' }}>
<Flex vertical gap={16}>
<Flex justify="space-between" align="flex-start">
<Space direction="vertical" size={0}>
<Space orientation="vertical" size={0}>
<Text type="secondary" style={{ fontSize: 'var(--text-sm)' }}>
META DO MÊS
</Text>
@@ -127,7 +127,7 @@ export function RafaelPainel() {
<Col xs={12} md={6}>
<Card>
<Space direction="vertical" size={4}>
<Space orientation="vertical" size={4}>
<Text type="secondary" style={{ fontSize: 'var(--text-sm)' }}>
PEDIDOS NO MÊS
</Text>
@@ -143,7 +143,7 @@ export function RafaelPainel() {
<Col xs={12} md={6}>
<Card>
<Space direction="vertical" size={4}>
<Space orientation="vertical" size={4}>
<Text type="secondary" style={{ fontSize: 'var(--text-sm)' }}>
COMISSÃO ACUMULADA
</Text>
@@ -191,7 +191,7 @@ export function RafaelPainel() {
background: c.diasSemCompra > 60 ? '#fff7e6' : 'var(--bg-surface-alt)',
}}
>
<Space direction="vertical" size={0}>
<Space orientation="vertical" size={0}>
<Link to="/clientes/$id" params={{ id: String(c.idCliente) }}>
<Text strong>{c.nome}</Text>
</Link>
@@ -236,7 +236,7 @@ export function RafaelPainel() {
<Flex vertical gap={10}>
{pedidosRecentes.map((o: PedidoSummary) => (
<Flex key={o.id} justify="space-between" align="center">
<Space direction="vertical" size={0}>
<Space orientation="vertical" size={0}>
<Link to="/pedidos/$id" params={{ id: o.id }}>
<Text strong className="tabular-nums">
{o.numPedSar}