@datametria/vue-components 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  ## Vue.js Component Library com Sistema de Theming Multi-Brand/Multi-Tenant
8
8
 
9
9
  [![Build Status](https://img.shields.io/github/actions/workflow/status/datametria/DATAMETRIA-common-libraries/ci-cd-monorepo.yml?branch=main)](https://github.com/datametria/DATAMETRIA-common-libraries/actions)
10
- [![Coverage](https://img.shields.io/badge/coverage-98.2%25-brightgreen)](https://github.com/datametria/DATAMETRIA-common-libraries)
10
+ [![Coverage](https://img.shields.io/badge/coverage-98.1%25-brightgreen)](https://github.com/datametria/DATAMETRIA-common-libraries)
11
11
  [![License](https://img.shields.io/github/license/datametria/DATAMETRIA-common-libraries)](LICENSE)
12
12
  [![Version](https://img.shields.io/npm/v/@datametria/vue-components)](https://www.npmjs.com/package/@datametria/vue-components)
13
13
  [![Vue.js](https://img.shields.io/badge/Vue.js-3.3+-green)](https://vuejs.org/)
@@ -20,8 +20,8 @@
20
20
 
21
21
  </div>
22
22
 
23
- **Versão**: 2.0.1
24
- **Data**: 27/11/2025
23
+ **Versão**: 2.1.0
24
+ **Data**: 19/11/2025
25
25
  **Autor**: Vander Loto - CTO DATAMETRIA
26
26
 
27
27
  ---
@@ -78,13 +78,17 @@ Biblioteca completa de componentes Vue.js 3 com suporte a **theming multi-brand/
78
78
  - 🏢 **Multi-Tenant**: Suporte a múltiplas marcas simultaneamente
79
79
  - 📱 **Backward Compatible**: 100% compatível com v1.x
80
80
 
81
- ### Melhorias v2.0.1
81
+ ### Novidades v2.1.0
82
82
 
83
- - 🐛 **Bug Fixes**: Eliminados todos os warnings dos testes
84
- - **Performance**: Ajustado limite de teste de performance (1000ms)
85
- - 🧪 **Testes**: 1052 testes passando, 0 warnings
86
- - 📚 **Qualidade**: Cobertura mantida em 98.2%
87
- - 🔧 **Estabilidade**: Props obrigatórias corrigidas nos testes
83
+ - 🏗️ **Novos Componentes de Navegação**
84
+ - DatametriaSidebar: Sidebar lateral com colapso
85
+ - DatametriaFloatingBar: Barra flutuante para ações rápidas
86
+ - ⬆️ **DatametriaTabs Melhorado**
87
+ - Variantes: default, pills, underline
88
+ - Orientação: horizontal e vertical
89
+ - Ícones, badges e tabs desabilitáveis
90
+ - 🧪 **Testes**: +62 testes (100% coverage)
91
+ - 📚 **Documentação**: 3 novos guias completos
88
92
 
89
93
  ---
90
94
 
@@ -93,18 +97,18 @@ Biblioteca completa de componentes Vue.js 3 com suporte a **theming multi-brand/
93
97
  ### NPM
94
98
 
95
99
  ```bash
96
- npm install @datametria/vue-components@^2.0.1
100
+ npm install @datametria/vue-components@^2.1.0
97
101
  ```
98
102
 
99
103
  ### Yarn
100
104
 
101
105
  ```bash
102
- yarn add @datametria/vue-components@^2.0.1
106
+ yarn add @datametria/vue-components@^2.1.0
103
107
  ```
104
108
 
105
109
  ### Pré-requisitos
106
110
 
107
- - **Vue.js**: 3.3+
111
+ - **Vue.js**: 3.3+
108
112
  - **Node.js**: 18+
109
113
  - **TypeScript**: 5.3+ (opcional, mas recomendado)
110
114
 
@@ -258,10 +262,10 @@ const theme = useTheme()
258
262
 
259
263
  ```vue
260
264
  <script setup lang="ts">
261
- import {
262
- ThemeProvider,
263
- datametriaTheme,
264
- defaultTheme
265
+ import {
266
+ ThemeProvider,
267
+ datametriaTheme,
268
+ defaultTheme
265
269
  } from '@datametria/vue-components'
266
270
 
267
271
  // Usar tema DATAMETRIA (padrão)
@@ -282,7 +286,7 @@ const tema = defaultTheme
282
286
  <option value="clienteA">Cliente A</option>
283
287
  <option value="clienteB">Cliente B</option>
284
288
  </select>
285
-
289
+
286
290
  <ThemeProvider :theme="temas[tenantAtual]">
287
291
  <MeuApp />
288
292
  </ThemeProvider>
@@ -343,18 +347,20 @@ const temas = {
343
347
  - `DatametriaBadge` - Badge de status + theming
344
348
  - `DatametriaChip` - Chip removível + theming
345
349
 
346
- ### Navigation (4 componentes)
350
+ ### Navigation (6 componentes)
347
351
  - `DatametriaNavbar` - Barra de navegação + theming
352
+ - `DatametriaSidebar` - Sidebar lateral com colapso + theming ✨ **NOVO v2.1**
353
+ - `DatametriaFloatingBar` - Barra flutuante para ações + theming ✨ **NOVO v2.1**
348
354
  - `DatametriaMenu` - Menu dropdown + theming
349
355
  - `DatametriaBreadcrumb` - Navegação breadcrumb + theming
350
- - `DatametriaTabs` - Abas navegáveis + theming
356
+ - `DatametriaTabs` - Abas navegáveis (melhorado v2.1) + theming
351
357
 
352
358
  ### Theming System (3 componentes)
353
359
  - `ThemeProvider` - Provider de tema
354
360
  - `useTheme` - Composable para acessar tema
355
361
  - Presets: `datametriaTheme`, `defaultTheme`
356
362
 
357
- **Total: 30+ componentes com theming**
363
+ **Total: 32 componentes com theming**
358
364
 
359
365
  ---
360
366
 
@@ -372,7 +378,7 @@ const temas = {
372
378
  - **WCAG 2.1 AA**: Compliance de acessibilidade
373
379
  - **Responsive**: Mobile-first design
374
380
  - **Dark Mode**: Suporte nativo
375
- - **98.2% Coverage**: Testes automatizados
381
+ - **98.1% Coverage**: Testes automatizados
376
382
 
377
383
  ### ✅ Developer Experience
378
384
  - **Composition API**: Vue 3 nativo
@@ -448,7 +454,7 @@ npm run type-check
448
454
 
449
455
  ```
450
456
  src/
451
- ├── components/ # 30+ componentes
457
+ ├── components/ # 32 componentes
452
458
  ├── composables/ # 10 composables
453
459
  ├── theme/ # Sistema de theming (novo!)
454
460
  │ ├── ThemeProvider.vue
@@ -479,8 +485,8 @@ src/
479
485
  - **Tree Shaking**: Suporte completo
480
486
 
481
487
  ### Qualidade
482
- - **Componentes**: 30+ com theming
483
- - **Cobertura**: 98.2% testes
488
+ - **Componentes**: 32 com theming
489
+ - **Cobertura**: 98.1% testes
484
490
  - **TypeScript**: 100% tipado
485
491
  - **Acessibilidade**: WCAG 2.1 AA
486
492
 
@@ -545,4 +551,4 @@ Este projeto está licenciado sob a Licença MIT - veja o arquivo [LICENSE](LICE
545
551
 
546
552
  ⭐ **Se este projeto te ajudou, considere dar uma estrela!** ⭐
547
553
 
548
- </div>
554
+ </div>