diff --git a/docs/CSS_PATTERNS.md b/docs/CSS_PATTERNS.md index 8ea476b..c1f3418 100644 --- a/docs/CSS_PATTERNS.md +++ b/docs/CSS_PATTERNS.md @@ -16,7 +16,8 @@ 6. [Interactive Patterns](#interactive-patterns) 7. [Layout Patterns](#layout-patterns) 8. [Utility Classes](#utility-classes) -9. [Quick Reference](#quick-reference) +9. [Mobile Material Design](#mobile-material-design) +10. [Quick Reference](#quick-reference) --- @@ -956,6 +957,76 @@ Responsive column layout. --- +## Mobile Material Design + +> **Full Documentation:** [docs/MOBILE_PATTERNS.md](./MOBILE_PATTERNS.md) + +ROA2WEB includes a complete mobile component library following Material Design 3 principles. All mobile components are designed for touch interactions and support both light and dark themes. + +### Available Components + +| Component | Location | Description | +|-----------|----------|-------------| +| `MobileTopBar` | `@shared/components/mobile/` | Fixed top bar with title, back/menu buttons, and actions | +| `MobileBottomNav` | `@shared/components/mobile/` | Fixed bottom navigation with router integration | +| `MobileSelectionFooter` | `@shared/components/mobile/` | Slide-up action bar for batch operations | +| `BottomSheet` | `@shared/components/mobile/` | Modal sheet for filters and forms | +| `SwipeableCards` | `@shared/components/mobile/` | Touch carousel for KPI cards | + +### Mobile Breakpoints + +```css +/* Mobile-first breakpoints */ +@media (max-width: 768px) { + /* Mobile styles - this is where mobile components activate */ +} + +@media (min-width: 769px) { + /* Tablet and desktop styles */ +} + +@media (min-width: 1024px) { + /* Desktop-only styles */ +} +``` + +### Key Mobile Layout Tokens + +| Token | Value | Use | +|-------|-------|-----| +| `--header-height` | 56px | TopBar and BottomNav height | +| Touch target | 48×48px | Minimum button/tap area | +| `--z-fixed` | 1030 | Fixed navigation elements | +| `--z-modal` | 1050 | BottomSheet and overlays | + +### Quick Example + +```vue + + + +``` + +**For complete documentation including all props, events, and usage patterns, see [MOBILE_PATTERNS.md](./MOBILE_PATTERNS.md).** + +--- + ## Quick Reference ### Most Common Patterns @@ -1059,6 +1130,6 @@ All patterns support: --- -**Last Updated:** 2025-11-19 -**Version:** 2.0.0 (Post CSS Refactoring Phase 6) +**Last Updated:** 2026-01-12 +**Version:** 2.1.0 (Added Mobile Material Design section) **Maintained By:** Frontend Team diff --git a/scripts/ralph/prd.json b/scripts/ralph/prd.json index d4dec61..7a3d2d2 100644 --- a/scripts/ralph/prd.json +++ b/scripts/ralph/prd.json @@ -288,8 +288,8 @@ "Rezumat scurt al componentelor disponibile", "Breakpoint-uri mobile documentate" ], - "passes": false, - "notes": "" + "passes": true, + "notes": "Completed in iteration 4" }, { "id": "US-116", diff --git a/scripts/ralph/progress.txt b/scripts/ralph/progress.txt index 695a726..621011e 100644 --- a/scripts/ralph/progress.txt +++ b/scripts/ralph/progress.txt @@ -544,3 +544,9 @@ Mon Jan 12 09:44:54 AM UTC 2026 [2026-01-12 11:12:53] Working on story: US-118 [2026-01-12 11:12:53] Running Claude... (log: /workspace/roa2web/scripts/ralph/logs/iteration_3_US-118.log) [2026-01-12 11:16:15] SUCCESS: Story US-118 passed! +[2026-01-12 11:16:16] Changes committed +[2026-01-12 11:16:16] Progress: 16/20 stories completed +[2026-01-12 11:16:18] === Iteration 4/50 === +[2026-01-12 11:16:18] Working on story: US-115 +[2026-01-12 11:16:18] Running Claude... (log: /workspace/roa2web/scripts/ralph/logs/iteration_4_US-115.log) +[2026-01-12 11:17:28] SUCCESS: Story US-115 passed!