- Nx 22.7 monorepo (pnpm 11.1, TypeScript 5.9, Node 24) - apps/api: NestJS 11 (CJS conforme CODING-RULES.md PGD-DB-004) - apps/web: React 19 + Vite 8 (ESM) - libs/shared/api-interface: Zod contract base - Docker Compose dev: Postgres 18, Valkey 8, MinIO, Mailpit - WDS artifacts: - design-artifacts/A-Product-Brief/ (5 docs canônicos + 16 dialogs) - design-artifacts/B-Trigger-Map/ (hub + 4 personas + feature impact) - Stack canon: STACK.md v2.2 + CODING-RULES.md v2.0 + brand.md - AGENTS.md + README.md como entrada para devs/agentes Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
135 lines
1.4 KiB
Markdown
135 lines
1.4 KiB
Markdown
# [Component Name] [[component-id]]
|
|
|
|
**Type:** [Interactive/Form/Layout/Content/Feedback/Navigation]
|
|
**Category:** [Specific category]
|
|
**Purpose:** [Brief description]
|
|
|
|
---
|
|
|
|
## Overview
|
|
|
|
[Component description and when to use it]
|
|
|
|
---
|
|
|
|
## Variants
|
|
|
|
[List variants if any, or state "This component has no variants"]
|
|
|
|
---
|
|
|
|
## States
|
|
|
|
**Required States:**
|
|
|
|
- default
|
|
- [other required states]
|
|
|
|
**Optional States:**
|
|
|
|
- [optional states if any]
|
|
|
|
**State Descriptions:**
|
|
[Describe each state]
|
|
|
|
---
|
|
|
|
## Styling
|
|
|
|
### Visual Properties
|
|
|
|
**Size:** [values]
|
|
**Shape:** [values]
|
|
**Colors:** [values]
|
|
**Typography:** [values]
|
|
**Spacing:** [values]
|
|
|
|
### Design Tokens
|
|
|
|
```yaml
|
|
[Token definitions]
|
|
```
|
|
|
|
### Figma Reference
|
|
|
|
[If Mode B - Custom Design System]
|
|
|
|
### Library Component
|
|
|
|
[If Mode C - Component Library]
|
|
|
|
---
|
|
|
|
## Behavior
|
|
|
|
### Interactions
|
|
|
|
[Describe interactions]
|
|
|
|
### Animations
|
|
|
|
[Describe animations if any]
|
|
|
|
---
|
|
|
|
## Accessibility
|
|
|
|
**ARIA Attributes:**
|
|
[List ARIA attributes]
|
|
|
|
**Keyboard Support:**
|
|
[List keyboard shortcuts]
|
|
|
|
**Screen Reader:**
|
|
[How screen readers announce this]
|
|
|
|
---
|
|
|
|
## Usage
|
|
|
|
### When to Use
|
|
|
|
[Guidelines]
|
|
|
|
### When Not to Use
|
|
|
|
[Guidelines]
|
|
|
|
### Best Practices
|
|
|
|
- [Practice 1]
|
|
- [Practice 2]
|
|
|
|
---
|
|
|
|
## Used In
|
|
|
|
**Pages:** [count]
|
|
|
|
**Examples:**
|
|
|
|
- [Page] - [Usage]
|
|
|
|
---
|
|
|
|
## Related Components
|
|
|
|
[Related components if any]
|
|
|
|
---
|
|
|
|
## Version History
|
|
|
|
**Created:** [Date]
|
|
**Last Updated:** [Date]
|
|
|
|
**Changes:**
|
|
|
|
- [Date]: [Change]
|
|
|
|
---
|
|
|
|
## Notes
|
|
|
|
[Additional notes]
|