@tantainnovative/ndpr-toolkit 1.0.1 → 1.0.2

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
@@ -21,38 +21,38 @@ The NDPR Toolkit is an enterprise-grade solution that provides a comprehensive s
21
21
 
22
22
  ## Key Features
23
23
 
24
- ### 🔒 Privacy Policy Management
24
+ ### Privacy Policy Management
25
25
 
26
26
  - **PolicyGenerator**: Create customizable, NDPR-compliant privacy policies with an intuitive form interface
27
27
  - **PolicyPreview**: Display generated policies with professional formatting and section navigation
28
28
  - **PolicyExporter**: Export policies in multiple formats (PDF, HTML, Markdown) with compliance notices
29
29
 
30
- ### 🍪 Consent Management
30
+ ### Consent Management
31
31
 
32
32
  - **ConsentBanner**: Implement cookie consent banners with customizable appearance and behavior
33
33
  - **ConsentManager**: Track and manage user consent preferences across your application
34
34
  - **ConsentStorage**: Securely store and retrieve consent records with built-in persistence
35
35
 
36
- ### 👤 Data Subject Rights (DSR)
36
+ ### Data Subject Rights (DSR)
37
37
 
38
38
  - **DSRRequestForm**: Collect and validate data subject requests with comprehensive form validation
39
39
  - **DSRTracker**: Monitor the status and progress of data subject requests
40
40
  - **DSRDashboard**: Visualize and manage all data subject requests in one place
41
41
 
42
- ### 📊 Data Protection Impact Assessment (DPIA)
42
+ ### Data Protection Impact Assessment (DPIA)
43
43
 
44
44
  - **DPIAQuestionnaire**: Guide users through the DPIA process with step-by-step questionnaires
45
45
  - **DPIAReport**: Generate comprehensive DPIA reports based on questionnaire responses
46
46
  - **StepIndicator**: Track progress through multi-step DPIA processes
47
47
 
48
- ### ⚠️ Breach Notification
48
+ ### Breach Notification
49
49
 
50
50
  - **BreachReportForm**: Collect essential information about data breaches
51
51
  - **BreachRiskAssessment**: Evaluate the risk level of reported breaches
52
52
  - **RegulatoryReportGenerator**: Create NDPR-compliant breach notification reports
53
53
  - **BreachNotificationManager**: Manage the entire breach notification workflow
54
54
 
55
- ### 🆕 Enterprise Features
55
+ ### Enterprise Features
56
56
 
57
57
  - **Advanced Conditional Logic**: Support for complex conditional blocks in policy templates
58
58
  - **Professional Formatting**: Enterprise-ready formatting for all exported documents
@@ -73,6 +73,22 @@ yarn add @tantainnovative/ndpr-toolkit
73
73
  pnpm add @tantainnovative/ndpr-toolkit
74
74
  ```
75
75
 
76
+ ### React 19 Compatibility
77
+
78
+ If you're using React 19 and encounter peer dependency warnings with other packages in your project, you can use the `--legacy-peer-deps` flag:
79
+
80
+ ```bash
81
+ npm install @tantainnovative/ndpr-toolkit --legacy-peer-deps
82
+ ```
83
+
84
+ Alternatively, you can create a `.npmrc` file in your project root with the following content:
85
+
86
+ ```
87
+ legacy-peer-deps=true
88
+ ```
89
+
90
+ This will make npm ignore peer dependency conflicts during installation.
91
+
76
92
  ## Quick Start
77
93
 
78
94
  ### Consent Management
package/dist/index.d.ts CHANGED
@@ -14,7 +14,7 @@ export { BreachReportForm } from './components/breach/BreachReportForm';
14
14
  export { BreachRiskAssessment } from './components/breach/BreachRiskAssessment';
15
15
  export { BreachNotificationManager } from './components/breach/BreachNotificationManager';
16
16
  export { RegulatoryReportGenerator } from './components/breach/RegulatoryReportGenerator';
17
- export type { BreachReport, RiskAssessment, NotificationRequirement } from './types/breach';
17
+ export type { BreachReport, RiskAssessment, NotificationRequirement, RegulatoryNotification } from './types/breach';
18
18
  export { PolicyGenerator } from './components/policy/PolicyGenerator';
19
19
  export { PolicyPreview } from './components/policy/PolicyPreview';
20
20
  export { PolicyExporter } from './components/policy/PolicyExporter';