Skip to content

docs: composição interna do Sheet (Padrão 8) — contenção única - #131

Merged
nevitonsantana merged 1 commit into
mainfrom
docs/sheet-pattern-374
Jul 10, 2026
Merged

nevitonsantana merged 1 commit into
mainfrom
docs/sheet-pattern-374

Conversation

@nevitonsantana

Copy link
Copy Markdown
Collaborator

Espelha no repo oficial a regra de composição interna de sidesheets aplicada no Crisis Monitor (Issue Crisis-Monitor/Crisis-Monitor#374, PR Crisis-Monitor/Crisis-Monitor#380):

  • DESIGN.md: nova seção "Sheet (composição interna — Padrão 8)" ao lado da regra de Card — header fixo (kicker + título, conteúdo não repete), conteúdo scrollável com seções por divisor + espaço em branco, footer fixo com ação principal; regra de contenção única (no máximo um nível de tint sem borda, nunca borda dentro de borda; métricas como linhas de definição) e o anti-padrão da "caixa-mãe" que repete o título.
  • content/components/organisms/responsive-sheet.mdx: seção "Composição interna (Padrão 8)" antes das regras + regra 6 (sem empilhamento; destrutivas em DropdownMenu).

Mesmo fluxo do #130 (Card default/flat).

🤖 Generated with Claude Code

…-padrão da caixa-mãe

Espelha a regra aplicada no Crisis Monitor (Issue Crisis-Monitor/Crisis-Monitor#374,
PR Crisis-Monitor/Crisis-Monitor#380): header/footer fixos, conteúdo scrollável com
seções por divisor + espaço em branco, no máximo um nível de contenção visual e
métricas como linhas de definição.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e7a9822288

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +118 to +120
| Header | fixo; kicker + título + descrição — o conteúdo não repete esse título |
| Conteúdo | scrollável (`min-h-0 flex-1`); seções separadas por **divisor + espaço em branco**, nunca por caixas com borda |
| Footer | fixo; ação principal à esquerda |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the copyable examples for Padrão 8

These new Padrão 8 requirements don't match the copyable component immediately above: the header API renders only title/description (no kicker), the sheet body at lines 52/61 is not a flex container using min-h-0 flex-1, and the footer aligns controls with sm:justify-end instead of putting the primary action on the left. Consumers who copy this page will still implement the old layout while the rules below say it is invalid, so please update the snippets/API along with the new contract or relax the table to match them.

Useful? React with 👍 / 👎.

@nevitonsantana
nevitonsantana merged commit 68ab246 into main Jul 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants