react-lgpd-consent 0.3.1 → 0.3.3
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/CHANGELOG.md +4 -17
- package/README.md +56 -648
- package/dist/{PreferencesModal-J27W5XAJ.js → PreferencesModal-HTTMUZND.js} +1 -1
- package/dist/{chunk-VFAOBR3X.js → chunk-GPLNN3FD.js} +303 -276
- package/dist/index.cjs +326 -290
- package/dist/index.d.cts +1589 -226
- package/dist/index.d.ts +1589 -226
- package/dist/index.js +21 -11
- package/package.json +16 -12
- package/COMPLIANCE.md +0 -107
package/CHANGELOG.md
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Todas as mudanças notáveis neste projeto serão documentadas neste arquivo.
|
|
4
4
|
|
|
5
|
-
O formato é baseado em [Keep a Changelog](https://keepachangelog.com/pt-BR/1.0.0/),
|
|
6
|
-
e este projeto segue [Semantic Versioning](https://semver.org/lang/pt-BR/).
|
|
5
|
+
O formato é baseado em [Keep a Changelog](https://keepachangelog.com/pt-BR/1.0.0/), e este projeto segue [Semantic Versioning](https://semver.org/lang/pt-BR/).
|
|
7
6
|
|
|
8
7
|
## [0.3.1] - 2025-08-13 - CORREÇÕES DE PRODUÇÃO E MELHORIAS DE COMPATIBILIDADE
|
|
9
8
|
|
|
@@ -54,7 +53,7 @@ e este projeto segue [Semantic Versioning](https://semver.org/lang/pt-BR/).
|
|
|
54
53
|
|
|
55
54
|
### 📚 **Documentação**
|
|
56
55
|
|
|
57
|
-
#### Guia de API v0.3.1
|
|
56
|
+
#### Guia de API v0.3.1+
|
|
58
57
|
|
|
59
58
|
- **Novo arquivo**: `docs/API-v0.3.1.md` com exemplos completos
|
|
60
59
|
- **Casos de uso**: Next.js 14+, Material-UI, componentes totalmente customizados
|
|
@@ -239,11 +238,6 @@ setDebugLogging(true, LogLevel.DEBUG)
|
|
|
239
238
|
|
|
240
239
|
---
|
|
241
240
|
|
|
242
|
-
as mudanças notáveis neste projeto serão documentadas neste arquivo.
|
|
243
|
-
|
|
244
|
-
O formato é baseado em [Keep a Changelog](https://keepachangelog.com/pt-BR/1.0.0/),
|
|
245
|
-
e este projeto segue [Semantic Versioning](https://semver.org/lang/pt-BR/).
|
|
246
|
-
|
|
247
241
|
## [0.2.1] - 2025-08-12 - CONFORMIDADE LGPD RIGOROSA + SISTEMA DE ORIENTAÇÕES
|
|
248
242
|
|
|
249
243
|
### 🚨 **NOVO: Sistema de Orientações para Desenvolvedores**
|
|
@@ -254,7 +248,7 @@ A v0.2.1 introduz um **sistema inteligente de orientações** que guia desenvolv
|
|
|
254
248
|
|
|
255
249
|
#### **Cookie de Consentimento Reestruturado**
|
|
256
250
|
|
|
257
|
-
-
|
|
251
|
+
- **🍪 Estrutura do Cookie**: Novo formato com campos obrigatórios para compliance
|
|
258
252
|
- `version`: Controle de migração de schema
|
|
259
253
|
- `consentDate`: Timestamp da primeira interação
|
|
260
254
|
- `lastUpdate`: Timestamp da última modificação
|
|
@@ -466,14 +460,7 @@ A v0.2.1 introduz um **sistema inteligente de orientações** que guia desenvolv
|
|
|
466
460
|
|
|
467
461
|
## [Unreleased]
|
|
468
462
|
|
|
469
|
-
###
|
|
470
|
-
|
|
471
|
-
- [ ] Textos ANPD expandidos (campos opcionais)
|
|
472
|
-
- [ ] Validação robusta de cookies com versioning
|
|
473
|
-
- [ ] Logs de consentimento básicos
|
|
474
|
-
- [ ] Mais categorias de cookies
|
|
475
|
-
|
|
476
|
-
### 🔮 Futuro (v0.3.0+)
|
|
463
|
+
### 🔮 Futuro (v0.4.0+)
|
|
477
464
|
|
|
478
465
|
- [ ] Modal detalhado com lista de cookies
|
|
479
466
|
- [ ] Base legal por categoria
|