webmoney/frontend
marcoitaloesp-ai 3ba4bed1c4
🎨 v1.40.0 - Sidebar Mobile Overlay: UX Reimaginada
Substituída sidebar comprimida por overlay slide-in moderna:

MOBILE (<768px):
- Sidebar ESCONDIDA por padrão (left: -100%)
- Conteúdo em tela cheia (app-main margin-left: 0, width: 100%)
- Hamburger menu (☰) 44x44px no header
- Click hamburger: sidebar slide-in de 280px sobre conteúdo
- Backdrop escuro (rgba(0,0,0,0.5)) para fechar ao clicar fora
- Animação: cubic-bezier(0.4, 0, 0.2, 1) 0.3s
- Shadow: 4px 0 12px rgba(0,0,0,0.5) quando aberta
- Classe .mobile-open para estado aberto
- Auto-close ao redimensionar para desktop

DESKTOP (>=769px):
- Mantém comportamento atual (sidebar fixa colapsável)
- Hamburger e backdrop escondidos
- Toggle colapsa/expande (não esconde)

COMPONENTE (Layout.jsx):
- Estado sidebarOpen (mobile) separado de sidebarCollapsed (desktop)
- isMobile() helper para detectar <768px
- toggleSidebar() inteligente (mobile: open/close | desktop: collapse/expand)
- handleBackdropClick() fecha sidebar mobile
- useEffect cleanup ao resize

CSS:
- @media (max-width: 768px) com sidebar overlay
- @media (min-width: 769px) esconde mobile-only elements
- Removidas regras conflitantes de sidebar 56px/50px
- Safe area: padding-left/right 0 em body para permitir overlay
- Touch target hamburger: 44x44px com hover effect

Deploy: frontend/dist
2025-12-16 08:35:10 +00:00
..
public v1.39.0 - PWA iOS: Service Worker + instalação iPhone/iPad 2025-12-16 08:21:14 +00:00
src 🎨 v1.40.0 - Sidebar Mobile Overlay: UX Reimaginada 2025-12-16 08:35:10 +00:00
.gitignore feat: IconSelector no modal de categoria + traducao costCenters.costCenter + categorias UTF-8 corrigidas 2025-12-13 18:33:14 +01:00
deploy.ps1 v1.30.0: Fichas de Servicios, Horas Productivas, i18n completo, fix modal responsivo 2025-12-14 10:47:18 +01:00
deploy.sh feat: CategorySelector colapsable - selectores de categoría com dropdown colapsado 2025-12-14 14:02:53 +00:00
eslint.config.js feat: IconSelector no modal de categoria + traducao costCenters.costCenter + categorias UTF-8 corrigidas 2025-12-13 18:33:14 +01:00
index.html 🎨 v1.39.1 - Responsividade otimizada para iPhone/iOS 2025-12-16 08:26:04 +00:00
package-lock.json feat: IconSelector no modal de categoria + traducao costCenters.costCenter + categorias UTF-8 corrigidas 2025-12-13 18:33:14 +01:00
package.json feat: IconSelector no modal de categoria + traducao costCenters.costCenter + categorias UTF-8 corrigidas 2025-12-13 18:33:14 +01:00
README.md feat: IconSelector no modal de categoria + traducao costCenters.costCenter + categorias UTF-8 corrigidas 2025-12-13 18:33:14 +01:00
vite.config.js feat: IconSelector no modal de categoria + traducao costCenters.costCenter + categorias UTF-8 corrigidas 2025-12-13 18:33:14 +01:00

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.