style(plan): prettier no rascunho UI do C139 + re-render PNGs

This commit is contained in:
Francisco Solla 2026-08-13 12:55:24 -03:00
parent 65a5881b2d
commit 72d189cfd7

View file

@ -10,62 +10,97 @@
<main class="mx-auto max-w-5xl p-8"> <main class="mx-auto max-w-5xl p-8">
<p class="text-sm text-zinc-400"> <p class="text-sm text-zinc-400">
Mesa (coordenação/assessores) na lista de Contatos — atualizar ficha e contatar pessoas. Mesa (coordenação/assessores) na lista de Contatos — atualizar ficha e contatar pessoas.
Cenas: desktop 1280px (lista + linha nova) e mobile 390px (cards + sheet de edição). Cenas: desktop 1280px (lista + linha nova) e mobile 390px (cards + sheet de edição). Acento
Acento único = CTA primário (vermelho do app). Chips dentro do input; células = inputs. único = CTA primário (vermelho do app). Chips dentro do input; células = inputs.
</p> </p>
<!-- ============ CENA: DESKTOP ============ --> <!-- ============ CENA: DESKTOP ============ -->
<h2 class="mt-8 text-sm font-semibold uppercase tracking-wide text-zinc-500"> <h2 class="mt-8 text-sm font-semibold uppercase tracking-wide text-zinc-500">
Desktop — /campanha/contatos (1280px) Desktop — /campanha/contatos (1280px)
</h2> </h2>
<section data-shot="desktop" class="mt-4 overflow-hidden rounded-xl border border-zinc-800 bg-zinc-100 text-zinc-900"> <section
data-shot="desktop"
class="mt-4 overflow-hidden rounded-xl border border-zinc-800 bg-zinc-100 text-zinc-900"
>
<!-- app header --> <!-- app header -->
<div class="flex h-14 items-center justify-between border-b border-zinc-300 bg-white px-4"> <div class="flex h-14 items-center justify-between border-b border-zinc-300 bg-white px-4">
<div class="flex items-baseline gap-2"> <div class="flex items-baseline gap-2">
<p class="text-sm font-semibold">Contatos</p> <p class="text-sm font-semibold">Contatos</p>
<p class="text-xs text-zinc-500">Fichas da campanha — atualize dados e fale com as pessoas</p> <p class="text-xs text-zinc-500">
Fichas da campanha — atualize dados e fale com as pessoas
</p>
</div> </div>
<span class="flex size-9 items-center justify-center rounded-full bg-zinc-200 text-xs text-zinc-600">SR</span> <span
class="flex size-9 items-center justify-center rounded-full bg-zinc-200 text-xs text-zinc-600"
>SR</span
>
</div> </div>
<!-- omnibox: chips DENTRO do input --> <!-- omnibox: chips DENTRO do input -->
<div class="border-b border-zinc-300 bg-white px-4 py-2"> <div class="border-b border-zinc-300 bg-white px-4 py-2">
<div class="flex items-center gap-1.5"> <div class="flex items-center gap-1.5">
<div class="flex min-h-9 flex-1 items-center gap-1 rounded-lg border border-zinc-300 px-2"> <div
class="flex min-h-9 flex-1 items-center gap-1 rounded-lg border border-zinc-300 px-2"
>
<span class="text-xs text-zinc-400">⌕</span> <span class="text-xs text-zinc-400">⌕</span>
<span class="flex items-center gap-1 rounded-full bg-zinc-800 px-2 py-0.5 text-xs text-zinc-100"> <span
class="flex items-center gap-1 rounded-full bg-zinc-800 px-2 py-0.5 text-xs text-zinc-100"
>
Gênero: Feminino <span class="text-zinc-400">✕</span> Gênero: Feminino <span class="text-zinc-400">✕</span>
</span> </span>
<span class="flex items-center gap-1 rounded-full bg-zinc-800 px-2 py-0.5 text-xs text-zinc-100"> <span
class="flex items-center gap-1 rounded-full bg-zinc-800 px-2 py-0.5 text-xs text-zinc-100"
>
Estado: BA <span class="text-zinc-400">✕</span> Estado: BA <span class="text-zinc-400">✕</span>
</span> </span>
<span class="flex items-center gap-1 rounded-full bg-zinc-800 px-2 py-0.5 text-xs text-zinc-100"> <span
class="flex items-center gap-1 rounded-full bg-zinc-800 px-2 py-0.5 text-xs text-zinc-100"
>
Sem e-mail <span class="text-zinc-400">✕</span> Sem e-mail <span class="text-zinc-400">✕</span>
</span> </span>
<input <input
class="min-h-8 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-zinc-500" class="min-h-8 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-zinc-500"
placeholder="Buscar contato — nome, e-mail ou telefone…" placeholder="Buscar contato — nome, e-mail ou telefone…"
/> />
<span class="flex size-8 shrink-0 items-center justify-center rounded-full bg-zinc-200 text-xs text-zinc-500">✕</span> <span
class="flex size-8 shrink-0 items-center justify-center rounded-full bg-zinc-200 text-xs text-zinc-500"
>✕</span
>
</div> </div>
<button class="flex h-9 shrink-0 items-center gap-1 rounded-lg bg-red-600 px-3 text-xs font-medium text-white"> <button
class="flex h-9 shrink-0 items-center gap-1 rounded-lg bg-red-600 px-3 text-xs font-medium text-white"
>
+ Criar contato + Criar contato
</button> </button>
<button class="flex h-9 shrink-0 items-center gap-1 rounded-lg bg-zinc-900 px-3 text-xs font-medium text-zinc-100"> <button
class="flex h-9 shrink-0 items-center gap-1 rounded-lg bg-zinc-900 px-3 text-xs font-medium text-zinc-100"
>
Colunas Colunas
</button> </button>
</div> </div>
<!-- sugestões (dropdown aberto) --> <!-- sugestões (dropdown aberto) -->
<div class="mt-2 rounded-lg border border-zinc-300 bg-white p-1 shadow-sm"> <div class="mt-2 rounded-lg border border-zinc-300 bg-white p-1 shadow-sm">
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">⌕ Buscar: “maria”</p> <p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">
⌕ Buscar: “maria”
</p>
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Lideranças: Sim</p> <p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Lideranças: Sim</p>
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Dobradinhas: Sim</p> <p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">
Dobradinhas: Sim
</p>
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Assessores: Sim</p> <p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Assessores: Sim</p>
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Equipe: Sim</p> <p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Equipe: Sim</p>
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Gênero: Masculino</p> <p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Gênero: Não binário</p> Gênero: Masculino
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Gênero: Não informado</p> </p>
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Cidade: Salvador</p> <p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">
Gênero: Não binário
</p>
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">
Gênero: Não informado
</p>
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">
Cidade: Salvador
</p>
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Sem telefone</p> <p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Sem telefone</p>
<p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Ordenar: Cidade</p> <p class="flex items-center gap-1 px-2 py-1.5 text-xs text-zinc-600">Ordenar: Cidade</p>
</div> </div>
@ -88,60 +123,180 @@
<tbody class="divide-y divide-zinc-200"> <tbody class="divide-y divide-zinc-200">
<!-- linha 1: telefone único --> <!-- linha 1: telefone único -->
<tr class="bg-white"> <tr class="bg-white">
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="Maria dos Santos" /></td> <td class="px-4 py-2">
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="Feminino" /></td> <input
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="(71) 99999-0001" /></td> class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="maria@email.com" /></td> value="Maria dos Santos"
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="Salvador" /></td> />
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="BA" /></td> </td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="Feminino"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="(71) 99999-0001"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="maria@email.com"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="Salvador"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="BA"
/>
</td>
<td class="px-4 py-2"> <td class="px-4 py-2">
<div class="flex justify-end gap-1"> <div class="flex justify-end gap-1">
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs">✆</span> <span
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs">✉</span> class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs"
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs">🗑</span> >✆</span
>
<span
class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs"
>✉</span
>
<span
class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs"
>🗑</span
>
</div> </div>
</td> </td>
</tr> </tr>
<!-- linha 2: dois telefones empilhados, sem e-mail --> <!-- linha 2: dois telefones empilhados, sem e-mail -->
<tr class="bg-white"> <tr class="bg-white">
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="João Pereira" /></td> <td class="px-4 py-2">
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="Masculino" /></td> <input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="João Pereira"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="Masculino"
/>
</td>
<td class="px-4 py-2"> <td class="px-4 py-2">
<div class="flex flex-col gap-1"> <div class="flex flex-col gap-1">
<input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="(75) 98888-0002" /> <input
<input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="(75) 97777-0009" /> class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="(75) 98888-0002"
/>
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="(75) 97777-0009"
/>
</div> </div>
</td> </td>
<td class="px-4 py-2"><input class="w-full rounded-md border border-dashed border-zinc-300 bg-white px-2 py-1.5 text-sm text-zinc-400 outline-none" value="Sem e-mail" /></td> <td class="px-4 py-2">
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="Feira de Santana" /></td> <input
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="BA" /></td> class="w-full rounded-md border border-dashed border-zinc-300 bg-white px-2 py-1.5 text-sm text-zinc-400 outline-none"
value="Sem e-mail"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="Feira de Santana"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="BA"
/>
</td>
<td class="px-4 py-2"> <td class="px-4 py-2">
<div class="flex justify-end gap-1"> <div class="flex justify-end gap-1">
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs">✆</span> <span
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs text-zinc-300">✉</span> class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs"
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs">🗑</span> >✆</span
>
<span
class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs text-zinc-300"
>✉</span
>
<span
class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs"
>🗑</span
>
</div> </div>
</td> </td>
</tr> </tr>
<!-- linha 3: linkada a liderança + dobradinha, sem telefone --> <!-- linha 3: linkada a liderança + dobradinha, sem telefone -->
<tr class="bg-white"> <tr class="bg-white">
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="Ana Lima" /></td> <td class="px-4 py-2">
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="Não binário" /></td> <input
<td class="px-4 py-2"><input class="w-full rounded-md border border-dashed border-zinc-300 bg-white px-2 py-1.5 text-sm text-zinc-400 outline-none" value="Sem telefone" /></td> class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="ana@email.com" /></td> value="Ana Lima"
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="Salvador" /></td> />
<td class="px-4 py-2"><input class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none" value="BA" /></td> </td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="Não binário"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-dashed border-zinc-300 bg-white px-2 py-1.5 text-sm text-zinc-400 outline-none"
value="Sem telefone"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="ana@email.com"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="Salvador"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-zinc-300 bg-white px-2 py-1.5 text-sm outline-none"
value="BA"
/>
</td>
<td class="px-4 py-2"> <td class="px-4 py-2">
<div class="flex justify-end gap-1"> <div class="flex justify-end gap-1">
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs text-zinc-300">✆</span> <span
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs">✉</span> class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs text-zinc-300"
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs">🗑</span> >✆</span
>
<span
class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs"
>✉</span
>
<span
class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs"
>🗑</span
>
</div> </div>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div class="flex items-center justify-between border-t border-zinc-300 px-4 py-2 text-xs text-zinc-500"> <div
class="flex items-center justify-between border-t border-zinc-300 px-4 py-2 text-xs text-zinc-500"
>
<span>Mostrando 3 de 435 contatos</span> <span>Mostrando 3 de 435 contatos</span>
<span>‹ 1 · 2 · 3 ›</span> <span>‹ 1 · 2 · 3 ›</span>
</div> </div>
@ -152,15 +307,24 @@
<h2 class="mt-8 text-sm font-semibold uppercase tracking-wide text-zinc-500"> <h2 class="mt-8 text-sm font-semibold uppercase tracking-wide text-zinc-500">
Desktop — linha nova (após “+ Criar contato”) Desktop — linha nova (após “+ Criar contato”)
</h2> </h2>
<section data-shot="desktop-novo" class="mt-4 overflow-hidden rounded-xl border border-zinc-800 bg-zinc-100 text-zinc-900"> <section
data-shot="desktop-novo"
class="mt-4 overflow-hidden rounded-xl border border-zinc-800 bg-zinc-100 text-zinc-900"
>
<div class="flex h-14 items-center justify-between border-b border-zinc-300 bg-white px-4"> <div class="flex h-14 items-center justify-between border-b border-zinc-300 bg-white px-4">
<p class="text-sm font-semibold">Contatos</p> <p class="text-sm font-semibold">Contatos</p>
<span class="flex size-9 items-center justify-center rounded-full bg-zinc-200 text-xs text-zinc-600">SR</span> <span
class="flex size-9 items-center justify-center rounded-full bg-zinc-200 text-xs text-zinc-600"
>SR</span
>
</div> </div>
<div class="border-b border-zinc-300 bg-white px-4 py-2"> <div class="border-b border-zinc-300 bg-white px-4 py-2">
<div class="flex min-h-9 items-center gap-1 rounded-lg border border-zinc-300 px-2"> <div class="flex min-h-9 items-center gap-1 rounded-lg border border-zinc-300 px-2">
<span class="text-xs text-zinc-400">⌕</span> <span class="text-xs text-zinc-400">⌕</span>
<input class="min-h-8 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-zinc-500" placeholder="Buscar contato…" /> <input
class="min-h-8 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-zinc-500"
placeholder="Buscar contato…"
/>
</div> </div>
</div> </div>
<div class="overflow-x-auto bg-white"> <div class="overflow-x-auto bg-white">
@ -179,16 +343,54 @@
<tbody> <tbody>
<!-- linha nova em rascunho --> <!-- linha nova em rascunho -->
<tr class="border-b-2 border-red-600 bg-red-50"> <tr class="border-b-2 border-red-600 bg-red-50">
<td class="px-4 py-2"><input class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none" placeholder="Nome" /></td> <td class="px-4 py-2">
<td class="px-4 py-2"><input class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none" placeholder="Gênero" /></td> <input
<td class="px-4 py-2"><input class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none" placeholder="(71) 9…" /></td> class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none"
<td class="px-4 py-2"><input class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none" placeholder="email@…" /></td> placeholder="Nome"
<td class="px-4 py-2"><input class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none" placeholder="Cidade" /></td> />
<td class="px-4 py-2"><input class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none" placeholder="UF" /></td> </td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none"
placeholder="Gênero"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none"
placeholder="(71) 9…"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none"
placeholder="email@…"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none"
placeholder="Cidade"
/>
</td>
<td class="px-4 py-2">
<input
class="w-full rounded-md border border-red-300 bg-white px-2 py-1.5 text-sm outline-none"
placeholder="UF"
/>
</td>
<td class="px-4 py-2"> <td class="px-4 py-2">
<div class="flex justify-end gap-1"> <div class="flex justify-end gap-1">
<button class="flex h-8 items-center rounded-lg bg-zinc-900 px-3 text-xs font-medium text-zinc-100">Salvar</button> <button
<button class="flex h-8 items-center rounded-lg border border-zinc-300 px-3 text-xs font-medium text-zinc-600">Descartar</button> class="flex h-8 items-center rounded-lg bg-zinc-900 px-3 text-xs font-medium text-zinc-100"
>
Salvar
</button>
<button
class="flex h-8 items-center rounded-lg border border-zinc-300 px-3 text-xs font-medium text-zinc-600"
>
Descartar
</button>
</div> </div>
</td> </td>
</tr> </tr>
@ -201,9 +403,18 @@
<td class="px-4 py-2.5 text-zinc-700">BA</td> <td class="px-4 py-2.5 text-zinc-700">BA</td>
<td class="px-4 py-2.5"> <td class="px-4 py-2.5">
<div class="flex justify-end gap-1"> <div class="flex justify-end gap-1">
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs">✆</span> <span
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs">✉</span> class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs"
<span class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs">🗑</span> >✆</span
>
<span
class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs"
>✉</span
>
<span
class="flex size-8 items-center justify-center rounded-lg bg-zinc-100 text-xs"
>🗑</span
>
</div> </div>
</td> </td>
</tr> </tr>
@ -216,17 +427,25 @@
<h2 class="mt-8 text-sm font-semibold uppercase tracking-wide text-zinc-500"> <h2 class="mt-8 text-sm font-semibold uppercase tracking-wide text-zinc-500">
Mobile — cards (390px, omnibox edge-to-edge sem borda) Mobile — cards (390px, omnibox edge-to-edge sem borda)
</h2> </h2>
<section data-shot="mobile" class="mt-4 w-[390px] overflow-hidden rounded-xl border border-zinc-800 bg-zinc-100 text-zinc-900"> <section
data-shot="mobile"
class="mt-4 w-[390px] overflow-hidden rounded-xl border border-zinc-800 bg-zinc-100 text-zinc-900"
>
<!-- app header --> <!-- app header -->
<div class="flex h-14 items-center justify-between border-b border-zinc-300 bg-white px-4"> <div class="flex h-14 items-center justify-between border-b border-zinc-300 bg-white px-4">
<p class="text-sm font-semibold">Contatos</p> <p class="text-sm font-semibold">Contatos</p>
<span class="flex size-9 items-center justify-center rounded-full bg-zinc-200 text-xs text-zinc-600">SR</span> <span
class="flex size-9 items-center justify-center rounded-full bg-zinc-200 text-xs text-zinc-600"
>SR</span
>
</div> </div>
<!-- omnibox sem moldura, edge-to-edge --> <!-- omnibox sem moldura, edge-to-edge -->
<div class="border-b border-zinc-300 bg-white px-3 py-1.5"> <div class="border-b border-zinc-300 bg-white px-3 py-1.5">
<div class="flex min-h-9 items-center gap-1"> <div class="flex min-h-9 items-center gap-1">
<span class="text-xs text-zinc-400">⌕</span> <span class="text-xs text-zinc-400">⌕</span>
<span class="flex items-center gap-1 rounded-full bg-zinc-800 px-2 py-0.5 text-xs text-zinc-100"> <span
class="flex items-center gap-1 rounded-full bg-zinc-800 px-2 py-0.5 text-xs text-zinc-100"
>
Gênero: Feminino <span class="text-zinc-400">✕</span> Gênero: Feminino <span class="text-zinc-400">✕</span>
</span> </span>
<input <input
@ -244,8 +463,12 @@
<p class="truncate text-xs text-zinc-500">(71) 99999-0001</p> <p class="truncate text-xs text-zinc-500">(71) 99999-0001</p>
</div> </div>
<div class="flex shrink-0 items-center gap-1"> <div class="flex shrink-0 items-center gap-1">
<span class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs">✆</span> <span class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs"
<span class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs">✉</span> >✆</span
>
<span class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs"
>✉</span
>
</div> </div>
</div> </div>
<div class="flex flex-wrap gap-1.5 text-xs"> <div class="flex flex-wrap gap-1.5 text-xs">
@ -260,13 +483,20 @@
<p class="truncate text-xs text-zinc-500">(75) 98888-0002</p> <p class="truncate text-xs text-zinc-500">(75) 98888-0002</p>
</div> </div>
<div class="flex shrink-0 items-center gap-1"> <div class="flex shrink-0 items-center gap-1">
<span class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs">✆</span> <span class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs"
<span class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs text-zinc-300">✉</span> >✆</span
>
<span
class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs text-zinc-300"
>✉</span
>
</div> </div>
</div> </div>
<div class="flex flex-wrap gap-1.5 text-xs"> <div class="flex flex-wrap gap-1.5 text-xs">
<span class="rounded-full bg-zinc-200 px-2 py-0.5 text-zinc-700">Masculino</span> <span class="rounded-full bg-zinc-200 px-2 py-0.5 text-zinc-700">Masculino</span>
<span class="rounded-full bg-zinc-200 px-2 py-0.5 text-zinc-700">Feira de Santana · BA</span> <span class="rounded-full bg-zinc-200 px-2 py-0.5 text-zinc-700"
>Feira de Santana · BA</span
>
</div> </div>
</li> </li>
<li class="flex flex-col gap-2 bg-white px-4 py-3"> <li class="flex flex-col gap-2 bg-white px-4 py-3">
@ -276,8 +506,13 @@
<p class="truncate text-xs text-zinc-500">ana@email.com</p> <p class="truncate text-xs text-zinc-500">ana@email.com</p>
</div> </div>
<div class="flex shrink-0 items-center gap-1"> <div class="flex shrink-0 items-center gap-1">
<span class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs text-zinc-300">✆</span> <span
<span class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs">✉</span> class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs text-zinc-300"
>✆</span
>
<span class="flex size-9 items-center justify-center rounded-lg bg-zinc-100 text-xs"
>✉</span
>
</div> </div>
</div> </div>
<div class="flex flex-wrap gap-1.5 text-xs"> <div class="flex flex-wrap gap-1.5 text-xs">
@ -288,8 +523,16 @@
</ul> </ul>
<!-- FAB de criação (substitui o de ações rápidas; FAB de IA permanece) --> <!-- FAB de criação (substitui o de ações rápidas; FAB de IA permanece) -->
<div class="relative h-20 bg-zinc-100"> <div class="relative h-20 bg-zinc-100">
<div class="absolute bottom-4 right-4 flex size-14 items-center justify-center rounded-full bg-red-600 text-2xl text-white">+</div> <div
<div class="absolute bottom-4 right-20 flex size-14 items-center justify-center rounded-full bg-zinc-900 text-xs text-zinc-100">IA</div> class="absolute bottom-4 right-4 flex size-14 items-center justify-center rounded-full bg-red-600 text-2xl text-white"
>
+
</div>
<div
class="absolute bottom-4 right-20 flex size-14 items-center justify-center rounded-full bg-zinc-900 text-xs text-zinc-100"
>
IA
</div>
</div> </div>
</section> </section>
@ -297,7 +540,10 @@
<h2 class="mt-8 text-sm font-semibold uppercase tracking-wide text-zinc-500"> <h2 class="mt-8 text-sm font-semibold uppercase tracking-wide text-zinc-500">
Mobile — bottom sheet de edição (toque no card) Mobile — bottom sheet de edição (toque no card)
</h2> </h2>
<section data-shot="mobile-edicao" class="mt-4 w-[390px] overflow-hidden rounded-xl border border-zinc-800 bg-zinc-100 text-zinc-900"> <section
data-shot="mobile-edicao"
class="mt-4 w-[390px] overflow-hidden rounded-xl border border-zinc-800 bg-zinc-100 text-zinc-900"
>
<!-- lista desfocada atrás (representação) --> <!-- lista desfocada atrás (representação) -->
<div class="h-24 bg-zinc-100 opacity-40"> <div class="h-24 bg-zinc-100 opacity-40">
<div class="flex h-14 items-center border-b border-zinc-300 bg-white px-4"> <div class="flex h-14 items-center border-b border-zinc-300 bg-white px-4">
@ -313,20 +559,50 @@
<div class="mx-auto mb-3 h-1 w-10 rounded-full bg-zinc-300"></div> <div class="mx-auto mb-3 h-1 w-10 rounded-full bg-zinc-300"></div>
<p class="mb-3 text-sm font-semibold">Editar contato</p> <p class="mb-3 text-sm font-semibold">Editar contato</p>
<div class="flex flex-col gap-2.5"> <div class="flex flex-col gap-2.5">
<input class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none" value="Maria dos Santos" /> <input
<input class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none" value="Feminino" /> class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none"
<input class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none" value="(71) 99999-0001" /> value="Maria dos Santos"
/>
<input
class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none"
value="Feminino"
/>
<input
class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none"
value="(71) 99999-0001"
/>
<p class="text-xs font-medium text-zinc-500">+ Adicionar telefone</p> <p class="text-xs font-medium text-zinc-500">+ Adicionar telefone</p>
<input class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none" value="maria@email.com" /> <input
class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none"
value="maria@email.com"
/>
<div class="grid grid-cols-2 gap-2"> <div class="grid grid-cols-2 gap-2">
<input class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none" value="Salvador" /> <input
<input class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none" value="BA" /> class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none"
value="Salvador"
/>
<input
class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none"
value="BA"
/>
</div> </div>
<input class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none" value="40000-000" placeholder="CEP" /> <input
class="rounded-md border border-zinc-300 bg-white px-3 py-2 text-sm outline-none"
value="40000-000"
placeholder="CEP"
/>
</div> </div>
<div class="mt-4 flex gap-2"> <div class="mt-4 flex gap-2">
<button class="flex h-10 flex-1 items-center justify-center rounded-lg border border-zinc-300 text-sm font-medium text-zinc-600">Cancelar</button> <button
<button class="flex h-10 flex-1 items-center justify-center rounded-lg bg-red-600 text-sm font-medium text-white">Salvar</button> class="flex h-10 flex-1 items-center justify-center rounded-lg border border-zinc-300 text-sm font-medium text-zinc-600"
>
Cancelar
</button>
<button
class="flex h-10 flex-1 items-center justify-center rounded-lg bg-red-600 text-sm font-medium text-white"
>
Salvar
</button>
</div> </div>
</div> </div>
</section> </section>