@tantainnovative/ndpr-toolkit 2.2.0 → 2.4.1

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.
Files changed (116) hide show
  1. package/README.md +26 -11
  2. package/dist/breach.d.mts +94 -6
  3. package/dist/breach.d.ts +94 -6
  4. package/dist/breach.js +1 -1
  5. package/dist/breach.mjs +1 -1
  6. package/dist/chunk-2XFAV267.mjs +2 -0
  7. package/dist/chunk-32UIWTGD.js +72 -0
  8. package/dist/chunk-4JUDKBA2.mjs +7 -0
  9. package/dist/chunk-4VVARDN2.mjs +2 -0
  10. package/dist/chunk-5RSOLEEP.js +63 -0
  11. package/dist/chunk-AYKLAEOU.mjs +2 -0
  12. package/dist/chunk-BGHQTZAC.js +94 -0
  13. package/dist/chunk-BZTTQS4A.mjs +7 -0
  14. package/dist/chunk-CAB7O3GR.mjs +63 -0
  15. package/dist/chunk-CL53OI3I.js +7 -0
  16. package/dist/chunk-E64TU6IU.js +2 -0
  17. package/dist/chunk-EKVTLHBQ.js +2 -0
  18. package/dist/chunk-ELKEZEV5.mjs +2 -0
  19. package/dist/chunk-EPF7J2FK.js +3 -0
  20. package/dist/chunk-ER7X6E36.js +2 -0
  21. package/dist/chunk-FXTZDKDC.mjs +3 -0
  22. package/dist/chunk-IBEKLDBY.mjs +2 -0
  23. package/dist/chunk-ILCNDOBU.js +2 -0
  24. package/dist/chunk-K3GMTMQ6.js +2 -0
  25. package/dist/chunk-MJGOLP5M.js +2 -0
  26. package/dist/chunk-NW4A3JW6.mjs +2 -0
  27. package/dist/chunk-P3PULLYP.mjs +2 -0
  28. package/dist/chunk-SKJCQKFL.mjs +94 -0
  29. package/dist/chunk-TCJCE6WN.js +2 -0
  30. package/dist/chunk-UZ5EZOA7.js +2 -0
  31. package/dist/chunk-WSHSHIIM.mjs +2 -0
  32. package/dist/chunk-XMYUYQH7.mjs +72 -0
  33. package/dist/chunk-ZNTMZ6NM.js +7 -0
  34. package/dist/consent-audit-BdByjYlM.d.mts +65 -0
  35. package/dist/consent-audit-DhbfMR0n.d.ts +65 -0
  36. package/dist/consent.d.mts +55 -8
  37. package/dist/consent.d.ts +55 -8
  38. package/dist/consent.js +1 -1
  39. package/dist/consent.mjs +1 -1
  40. package/dist/core.d.mts +52 -2
  41. package/dist/core.d.ts +52 -2
  42. package/dist/core.js +1 -1
  43. package/dist/core.mjs +1 -1
  44. package/dist/{cross-border-entry-CtX8_o-_.d.ts → cross-border-entry-BrWVPly6.d.ts} +7 -0
  45. package/dist/{cross-border-entry-BfF7jw5o.d.mts → cross-border-entry-cCTvpwnT.d.mts} +7 -0
  46. package/dist/cross-border.d.mts +1 -1
  47. package/dist/cross-border.d.ts +1 -1
  48. package/dist/cross-border.js +1 -1
  49. package/dist/cross-border.mjs +1 -1
  50. package/dist/dpia.d.mts +14 -0
  51. package/dist/dpia.d.ts +14 -0
  52. package/dist/dpia.js +1 -1
  53. package/dist/dpia.mjs +1 -1
  54. package/dist/dsr.d.mts +60 -5
  55. package/dist/dsr.d.ts +60 -5
  56. package/dist/dsr.js +1 -1
  57. package/dist/dsr.mjs +1 -1
  58. package/dist/hooks.d.mts +1 -1
  59. package/dist/hooks.d.ts +1 -1
  60. package/dist/hooks.js +1 -1
  61. package/dist/hooks.mjs +1 -1
  62. package/dist/index.d.mts +11 -10
  63. package/dist/index.d.ts +11 -10
  64. package/dist/index.js +1 -1
  65. package/dist/index.mjs +1 -1
  66. package/dist/{lawful-basis-entry-BeSX7u0U.d.ts → lawful-basis-entry-15qjKcNO.d.ts} +6 -0
  67. package/dist/{lawful-basis-entry-CMPPM9Rh.d.mts → lawful-basis-entry-CxZrofwG.d.mts} +6 -0
  68. package/dist/lawful-basis.d.mts +1 -1
  69. package/dist/lawful-basis.d.ts +1 -1
  70. package/dist/lawful-basis.js +1 -1
  71. package/dist/lawful-basis.mjs +1 -1
  72. package/dist/{policy-dmsRlqgM.d.ts → policy-D2_jh5-T.d.ts} +15 -5
  73. package/dist/{policy-kZN23hrR.d.mts → policy-E0fXZkda.d.mts} +15 -5
  74. package/dist/policy-templates-CIKcV0i1.d.ts +36 -0
  75. package/dist/policy-templates-DMsPwOSZ.d.mts +36 -0
  76. package/dist/policy.d.mts +3 -3
  77. package/dist/policy.d.ts +3 -3
  78. package/dist/policy.js +1 -1
  79. package/dist/policy.mjs +1 -1
  80. package/dist/{ropa-entry-DIEQ9WFs.d.ts → ropa-entry-B0D7X1GV.d.ts} +10 -1
  81. package/dist/{ropa-entry-CZJ91ymk.d.mts → ropa-entry-DiOThOc2.d.mts} +10 -1
  82. package/dist/ropa.d.mts +1 -1
  83. package/dist/ropa.d.ts +1 -1
  84. package/dist/ropa.js +1 -1
  85. package/dist/ropa.mjs +1 -1
  86. package/dist/styles.css +40 -28
  87. package/dist/styles.d.ts +1 -0
  88. package/dist/{usePrivacyPolicy-CfySfBLS.d.ts → useDefaultPrivacyPolicy-B7kTHbZh.d.ts} +39 -2
  89. package/dist/{usePrivacyPolicy-Dit2sFuV.d.mts → useDefaultPrivacyPolicy-CUluF_ic.d.mts} +39 -2
  90. package/package.json +9 -7
  91. package/dist/chunk-4RGDNVR5.mjs +0 -72
  92. package/dist/chunk-6LM3RAFO.js +0 -7
  93. package/dist/chunk-7DNQSOER.js +0 -2
  94. package/dist/chunk-A7DRHSDQ.mjs +0 -2
  95. package/dist/chunk-DB3JH4DS.mjs +0 -2
  96. package/dist/chunk-FC6EG34C.js +0 -72
  97. package/dist/chunk-FDB6KZUD.mjs +0 -2
  98. package/dist/chunk-FZUCKGIM.mjs +0 -7
  99. package/dist/chunk-G3JNFZPT.js +0 -2
  100. package/dist/chunk-HXCRMA4J.mjs +0 -2
  101. package/dist/chunk-IC7VOOKJ.mjs +0 -2
  102. package/dist/chunk-ICUZG6CD.mjs +0 -2
  103. package/dist/chunk-IW5PHOG7.mjs +0 -7
  104. package/dist/chunk-IWUUVRLJ.js +0 -2
  105. package/dist/chunk-JKEAPTYP.js +0 -7
  106. package/dist/chunk-N52S64SU.js +0 -2
  107. package/dist/chunk-PM7CMTMB.js +0 -4
  108. package/dist/chunk-SKAMVXBI.mjs +0 -94
  109. package/dist/chunk-UYP64PV7.mjs +0 -4
  110. package/dist/chunk-VURIXCGY.js +0 -2
  111. package/dist/chunk-VXRY3V42.js +0 -94
  112. package/dist/chunk-YBPHGEL2.js +0 -2
  113. package/dist/consent-DCc5zjXI.d.mts +0 -24
  114. package/dist/consent-DLWb5ota.d.ts +0 -24
  115. package/dist/privacy-9FcJceMr.d.mts +0 -15
  116. package/dist/privacy-BXz7O2ej.d.ts +0 -15
@@ -2,8 +2,14 @@ import React from 'react';
2
2
  import { C as ConsentOption, a as ConsentSettings, b as ConsentStorageOptions } from './consent-CmVzqZUk.mjs';
3
3
  export { L as LawfulBasisType } from './consent-CmVzqZUk.mjs';
4
4
  export { u as useConsent } from './useConsent-DOt2Njst.mjs';
5
- export { v as validateConsent, a as validateConsentOptions } from './consent-DCc5zjXI.mjs';
5
+ export { C as ConsentAuditEntry, a as appendAuditEntry, c as createAuditEntry, g as getAuditLog, v as validateConsent, b as validateConsentOptions } from './consent-audit-BdByjYlM.mjs';
6
6
 
7
+ interface ConsentAnalyticsEvent {
8
+ action: 'shown' | 'accepted_all' | 'rejected_all' | 'customized' | 'dismissed';
9
+ timestamp: number;
10
+ version: string;
11
+ categories?: Record<string, boolean>;
12
+ }
7
13
  interface ConsentBannerClassNames {
8
14
  root?: string;
9
15
  container?: string;
@@ -19,6 +25,12 @@ interface ConsentBannerClassNames {
19
25
  rejectButton?: string;
20
26
  customizeButton?: string;
21
27
  saveButton?: string;
28
+ customizePanel?: string;
29
+ selectAllButton?: string;
30
+ /** Alias for acceptButton */
31
+ primaryButton?: string;
32
+ /** Alias for rejectButton */
33
+ secondaryButton?: string;
22
34
  }
23
35
  interface ConsentBannerProps {
24
36
  /**
@@ -36,7 +48,7 @@ interface ConsentBannerProps {
36
48
  title?: string;
37
49
  /**
38
50
  * Description text displayed on the banner
39
- * @default "We use cookies and similar technologies to provide our services and enhance your experience."
51
+ * @default "We use cookies and similar technologies to provide our services and enhance your experience. Your consent is collected in accordance with NDPA Sections 25-26."
40
52
  */
41
53
  description?: string;
42
54
  /**
@@ -60,10 +72,19 @@ interface ConsentBannerProps {
60
72
  */
61
73
  saveButtonText?: string;
62
74
  /**
63
- * Position of the banner
75
+ * Position of the banner.
76
+ * 'top', 'bottom', and 'center' render via a portal to document.body
77
+ * with fixed positioning so the banner overlays the page.
78
+ * 'inline' renders in the normal DOM tree without a portal.
64
79
  * @default "bottom"
65
80
  */
66
- position?: 'top' | 'bottom' | 'center';
81
+ position?: 'top' | 'bottom' | 'center' | 'inline';
82
+ /**
83
+ * z-index applied to the fixed-position banner.
84
+ * Ignored when position is 'inline'.
85
+ * @default 9999
86
+ */
87
+ zIndex?: number;
67
88
  /**
68
89
  * Version of the consent form
69
90
  * @default "1.0"
@@ -79,6 +100,14 @@ interface ConsentBannerProps {
79
100
  * @default "ndpr_consent"
80
101
  */
81
102
  storageKey?: string;
103
+ /**
104
+ * Whether the banner manages its own localStorage persistence.
105
+ * Set to false when an external storage mechanism (e.g., ConsentStorage)
106
+ * is responsible for persisting consent settings under the same key.
107
+ * This avoids race conditions where two writers target the same storage key.
108
+ * @default true
109
+ */
110
+ manageStorage?: boolean;
82
111
  /**
83
112
  * Custom CSS class for the banner
84
113
  */
@@ -105,7 +134,16 @@ interface ConsentBannerProps {
105
134
  * can style from scratch using classNames.
106
135
  */
107
136
  unstyled?: boolean;
137
+ /**
138
+ * Optional analytics callback fired on each user interaction.
139
+ * Called when the banner is shown, accepted, rejected, customized, or dismissed.
140
+ */
141
+ onAnalytics?: (event: ConsentAnalyticsEvent) => void;
108
142
  }
143
+ /**
144
+ * Consent banner component. Implements NDPA Sections 25-26 consent requirements
145
+ * for obtaining and managing data subject consent.
146
+ */
109
147
  declare const ConsentBanner: React.FC<ConsentBannerProps>;
110
148
 
111
149
  interface ConsentManagerClassNames {
@@ -118,6 +156,10 @@ interface ConsentManagerClassNames {
118
156
  toggle?: string;
119
157
  saveButton?: string;
120
158
  resetButton?: string;
159
+ /** Alias for saveButton */
160
+ primaryButton?: string;
161
+ /** Alias for resetButton */
162
+ secondaryButton?: string;
121
163
  }
122
164
  interface ConsentManagerProps {
123
165
  /**
@@ -139,7 +181,7 @@ interface ConsentManagerProps {
139
181
  title?: string;
140
182
  /**
141
183
  * Description text displayed in the manager
142
- * @default "Update your consent preferences at any time. Required cookies cannot be disabled as they are necessary for the website to function."
184
+ * @default "Update your consent preferences at any time. Required cookies cannot be disabled as they are necessary for the website to function. Consent management is provided in accordance with NDPA Sections 25-26."
143
185
  */
144
186
  description?: string;
145
187
  /**
@@ -199,6 +241,10 @@ interface ConsentManagerProps {
199
241
  */
200
242
  successMessageDuration?: number;
201
243
  }
244
+ /**
245
+ * Consent management component. Implements NDPA Sections 25-26 consent requirements,
246
+ * allowing data subjects to review and update their consent preferences.
247
+ */
202
248
  declare const ConsentManager: React.FC<ConsentManagerProps>;
203
249
 
204
250
  interface ConsentStorageClassNames {
@@ -255,9 +301,10 @@ declare const ConsentStorage: ({ settings, storageOptions, onLoad, onSave, autoS
255
301
 
256
302
  /**
257
303
  * Resolves class names for a component section.
258
- * If unstyled is true, only the override class is used.
259
- * Otherwise, the override is appended to the default.
304
+ * If unstyled is true, only the override class is used (or empty string).
305
+ * If an override is provided, it fully REPLACES the default — no appending.
306
+ * Otherwise the default class string is returned as-is.
260
307
  */
261
308
  declare function resolveClass(defaultClass: string, override?: string, unstyled?: boolean): string;
262
309
 
263
- export { ConsentBanner, type ConsentBannerClassNames, ConsentManager, type ConsentManagerClassNames, ConsentOption, ConsentSettings, ConsentStorage, type ConsentStorageClassNames, ConsentStorageOptions, resolveClass };
310
+ export { type ConsentAnalyticsEvent, ConsentBanner, type ConsentBannerClassNames, ConsentManager, type ConsentManagerClassNames, ConsentOption, ConsentSettings, ConsentStorage, type ConsentStorageClassNames, ConsentStorageOptions, resolveClass };
package/dist/consent.d.ts CHANGED
@@ -2,8 +2,14 @@ import React from 'react';
2
2
  import { C as ConsentOption, a as ConsentSettings, b as ConsentStorageOptions } from './consent-CmVzqZUk.js';
3
3
  export { L as LawfulBasisType } from './consent-CmVzqZUk.js';
4
4
  export { u as useConsent } from './useConsent-D0pAfTlb.js';
5
- export { v as validateConsent, a as validateConsentOptions } from './consent-DLWb5ota.js';
5
+ export { C as ConsentAuditEntry, a as appendAuditEntry, c as createAuditEntry, g as getAuditLog, v as validateConsent, b as validateConsentOptions } from './consent-audit-DhbfMR0n.js';
6
6
 
7
+ interface ConsentAnalyticsEvent {
8
+ action: 'shown' | 'accepted_all' | 'rejected_all' | 'customized' | 'dismissed';
9
+ timestamp: number;
10
+ version: string;
11
+ categories?: Record<string, boolean>;
12
+ }
7
13
  interface ConsentBannerClassNames {
8
14
  root?: string;
9
15
  container?: string;
@@ -19,6 +25,12 @@ interface ConsentBannerClassNames {
19
25
  rejectButton?: string;
20
26
  customizeButton?: string;
21
27
  saveButton?: string;
28
+ customizePanel?: string;
29
+ selectAllButton?: string;
30
+ /** Alias for acceptButton */
31
+ primaryButton?: string;
32
+ /** Alias for rejectButton */
33
+ secondaryButton?: string;
22
34
  }
23
35
  interface ConsentBannerProps {
24
36
  /**
@@ -36,7 +48,7 @@ interface ConsentBannerProps {
36
48
  title?: string;
37
49
  /**
38
50
  * Description text displayed on the banner
39
- * @default "We use cookies and similar technologies to provide our services and enhance your experience."
51
+ * @default "We use cookies and similar technologies to provide our services and enhance your experience. Your consent is collected in accordance with NDPA Sections 25-26."
40
52
  */
41
53
  description?: string;
42
54
  /**
@@ -60,10 +72,19 @@ interface ConsentBannerProps {
60
72
  */
61
73
  saveButtonText?: string;
62
74
  /**
63
- * Position of the banner
75
+ * Position of the banner.
76
+ * 'top', 'bottom', and 'center' render via a portal to document.body
77
+ * with fixed positioning so the banner overlays the page.
78
+ * 'inline' renders in the normal DOM tree without a portal.
64
79
  * @default "bottom"
65
80
  */
66
- position?: 'top' | 'bottom' | 'center';
81
+ position?: 'top' | 'bottom' | 'center' | 'inline';
82
+ /**
83
+ * z-index applied to the fixed-position banner.
84
+ * Ignored when position is 'inline'.
85
+ * @default 9999
86
+ */
87
+ zIndex?: number;
67
88
  /**
68
89
  * Version of the consent form
69
90
  * @default "1.0"
@@ -79,6 +100,14 @@ interface ConsentBannerProps {
79
100
  * @default "ndpr_consent"
80
101
  */
81
102
  storageKey?: string;
103
+ /**
104
+ * Whether the banner manages its own localStorage persistence.
105
+ * Set to false when an external storage mechanism (e.g., ConsentStorage)
106
+ * is responsible for persisting consent settings under the same key.
107
+ * This avoids race conditions where two writers target the same storage key.
108
+ * @default true
109
+ */
110
+ manageStorage?: boolean;
82
111
  /**
83
112
  * Custom CSS class for the banner
84
113
  */
@@ -105,7 +134,16 @@ interface ConsentBannerProps {
105
134
  * can style from scratch using classNames.
106
135
  */
107
136
  unstyled?: boolean;
137
+ /**
138
+ * Optional analytics callback fired on each user interaction.
139
+ * Called when the banner is shown, accepted, rejected, customized, or dismissed.
140
+ */
141
+ onAnalytics?: (event: ConsentAnalyticsEvent) => void;
108
142
  }
143
+ /**
144
+ * Consent banner component. Implements NDPA Sections 25-26 consent requirements
145
+ * for obtaining and managing data subject consent.
146
+ */
109
147
  declare const ConsentBanner: React.FC<ConsentBannerProps>;
110
148
 
111
149
  interface ConsentManagerClassNames {
@@ -118,6 +156,10 @@ interface ConsentManagerClassNames {
118
156
  toggle?: string;
119
157
  saveButton?: string;
120
158
  resetButton?: string;
159
+ /** Alias for saveButton */
160
+ primaryButton?: string;
161
+ /** Alias for resetButton */
162
+ secondaryButton?: string;
121
163
  }
122
164
  interface ConsentManagerProps {
123
165
  /**
@@ -139,7 +181,7 @@ interface ConsentManagerProps {
139
181
  title?: string;
140
182
  /**
141
183
  * Description text displayed in the manager
142
- * @default "Update your consent preferences at any time. Required cookies cannot be disabled as they are necessary for the website to function."
184
+ * @default "Update your consent preferences at any time. Required cookies cannot be disabled as they are necessary for the website to function. Consent management is provided in accordance with NDPA Sections 25-26."
143
185
  */
144
186
  description?: string;
145
187
  /**
@@ -199,6 +241,10 @@ interface ConsentManagerProps {
199
241
  */
200
242
  successMessageDuration?: number;
201
243
  }
244
+ /**
245
+ * Consent management component. Implements NDPA Sections 25-26 consent requirements,
246
+ * allowing data subjects to review and update their consent preferences.
247
+ */
202
248
  declare const ConsentManager: React.FC<ConsentManagerProps>;
203
249
 
204
250
  interface ConsentStorageClassNames {
@@ -255,9 +301,10 @@ declare const ConsentStorage: ({ settings, storageOptions, onLoad, onSave, autoS
255
301
 
256
302
  /**
257
303
  * Resolves class names for a component section.
258
- * If unstyled is true, only the override class is used.
259
- * Otherwise, the override is appended to the default.
304
+ * If unstyled is true, only the override class is used (or empty string).
305
+ * If an override is provided, it fully REPLACES the default — no appending.
306
+ * Otherwise the default class string is returned as-is.
260
307
  */
261
308
  declare function resolveClass(defaultClass: string, override?: string, unstyled?: boolean): string;
262
309
 
263
- export { ConsentBanner, type ConsentBannerClassNames, ConsentManager, type ConsentManagerClassNames, ConsentOption, ConsentSettings, ConsentStorage, type ConsentStorageClassNames, ConsentStorageOptions, resolveClass };
310
+ export { type ConsentAnalyticsEvent, ConsentBanner, type ConsentBannerClassNames, ConsentManager, type ConsentManagerClassNames, ConsentOption, ConsentSettings, ConsentStorage, type ConsentStorageClassNames, ConsentStorageOptions, resolveClass };
package/dist/consent.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkYBPHGEL2_js=require('./chunk-YBPHGEL2.js'),chunkZU73VG3X_js=require('./chunk-ZU73VG3X.js'),chunkY34DQYS7_js=require('./chunk-Y34DQYS7.js'),chunkVURIXCGY_js=require('./chunk-VURIXCGY.js');require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"ConsentBanner",{enumerable:true,get:function(){return chunkYBPHGEL2_js.a}});Object.defineProperty(exports,"ConsentManager",{enumerable:true,get:function(){return chunkYBPHGEL2_js.b}});Object.defineProperty(exports,"ConsentStorage",{enumerable:true,get:function(){return chunkYBPHGEL2_js.c}});Object.defineProperty(exports,"useConsent",{enumerable:true,get:function(){return chunkZU73VG3X_js.a}});Object.defineProperty(exports,"validateConsent",{enumerable:true,get:function(){return chunkY34DQYS7_js.a}});Object.defineProperty(exports,"validateConsentOptions",{enumerable:true,get:function(){return chunkY34DQYS7_js.b}});Object.defineProperty(exports,"resolveClass",{enumerable:true,get:function(){return chunkVURIXCGY_js.a}});//# sourceMappingURL=consent.js.map
1
+ 'use strict';var chunkK3GMTMQ6_js=require('./chunk-K3GMTMQ6.js'),chunkMJGOLP5M_js=require('./chunk-MJGOLP5M.js'),chunkZU73VG3X_js=require('./chunk-ZU73VG3X.js'),chunkY34DQYS7_js=require('./chunk-Y34DQYS7.js'),chunkE64TU6IU_js=require('./chunk-E64TU6IU.js');require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"ConsentBanner",{enumerable:true,get:function(){return chunkK3GMTMQ6_js.a}});Object.defineProperty(exports,"ConsentManager",{enumerable:true,get:function(){return chunkK3GMTMQ6_js.b}});Object.defineProperty(exports,"ConsentStorage",{enumerable:true,get:function(){return chunkK3GMTMQ6_js.c}});Object.defineProperty(exports,"appendAuditEntry",{enumerable:true,get:function(){return chunkMJGOLP5M_js.c}});Object.defineProperty(exports,"createAuditEntry",{enumerable:true,get:function(){return chunkMJGOLP5M_js.a}});Object.defineProperty(exports,"getAuditLog",{enumerable:true,get:function(){return chunkMJGOLP5M_js.b}});Object.defineProperty(exports,"useConsent",{enumerable:true,get:function(){return chunkZU73VG3X_js.a}});Object.defineProperty(exports,"validateConsent",{enumerable:true,get:function(){return chunkY34DQYS7_js.a}});Object.defineProperty(exports,"validateConsentOptions",{enumerable:true,get:function(){return chunkY34DQYS7_js.b}});Object.defineProperty(exports,"resolveClass",{enumerable:true,get:function(){return chunkE64TU6IU_js.a}});//# sourceMappingURL=consent.js.map
2
2
  //# sourceMappingURL=consent.js.map
package/dist/consent.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{a as ConsentBanner,b as ConsentManager,c as ConsentStorage}from'./chunk-ICUZG6CD.mjs';export{a as useConsent}from'./chunk-PDJGTQMY.mjs';export{a as validateConsent,b as validateConsentOptions}from'./chunk-GIV2OHE6.mjs';export{a as resolveClass}from'./chunk-FDB6KZUD.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=consent.mjs.map
1
+ export{a as ConsentBanner,b as ConsentManager,c as ConsentStorage}from'./chunk-NW4A3JW6.mjs';export{c as appendAuditEntry,a as createAuditEntry,b as getAuditLog}from'./chunk-P3PULLYP.mjs';export{a as useConsent}from'./chunk-PDJGTQMY.mjs';export{a as validateConsent,b as validateConsentOptions}from'./chunk-GIV2OHE6.mjs';export{a as resolveClass}from'./chunk-AYKLAEOU.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=consent.mjs.map
2
2
  //# sourceMappingURL=consent.mjs.map
package/dist/core.d.mts CHANGED
@@ -7,8 +7,58 @@ export { L as LawfulBasis, a as LawfulBasisSummary, b as LegitimateInterestAsses
7
7
  export { A as AdequacyStatus, C as CrossBorderSummary, a as CrossBorderTransfer, T as TransferImpactAssessment, b as TransferMechanism, c as TransferRiskResult, d as TransferValidationResult, e as assessTransferRisk, g as getTransferMechanismDescription, i as isNDPCApprovalRequired, v as validateTransfer } from './cross-border-BMcqLvjC.mjs';
8
8
  export { P as ProcessingRecord, R as ROPAComplianceGap, a as ROPASummary, b as ROPAValidationResult, c as RecordOfProcessingActivities, e as exportROPAToCSV, g as generateROPASummary, i as identifyComplianceGaps, v as validateProcessingRecord } from './ropa-DP7pPPql.mjs';
9
9
  export { L as LawfulBasisComplianceGap, a as LawfulBasisValidationResult, b as assessComplianceGaps, g as generateLawfulBasisSummary, c as getLawfulBasisDescription, v as validateProcessingActivity } from './lawful-basis-C2eGaoHM.mjs';
10
- export { v as validateConsent, a as validateConsentOptions } from './consent-DCc5zjXI.mjs';
10
+ import React from 'react';
11
+ export { C as ConsentAuditEntry, a as appendAuditEntry, c as createAuditEntry, g as getAuditLog, v as validateConsent, b as validateConsentOptions } from './consent-audit-BdByjYlM.mjs';
11
12
  export { f as formatDSRRequest } from './dsr-D_eTNc4S.mjs';
12
13
  export { a as assessDPIARisk } from './dpia-CUfOmzvX.mjs';
13
14
  export { c as calculateBreachSeverity } from './breach-B_-6lDqS.mjs';
14
- export { g as generatePolicyText } from './privacy-9FcJceMr.mjs';
15
+ export { D as DEFAULT_POLICY_SECTIONS, a as DEFAULT_POLICY_VARIABLES, c as createBusinessPolicyTemplate, g as generatePolicyText } from './policy-templates-DMsPwOSZ.mjs';
16
+
17
+ /**
18
+ * Configuration for the NDPR toolkit provider.
19
+ */
20
+ interface NDPRConfig {
21
+ /** The official name of the organisation */
22
+ organizationName?: string;
23
+ /** Email address of the Data Protection Officer */
24
+ dpoEmail?: string;
25
+ /** NDPC registration number, if registered */
26
+ ndpcRegistrationNumber?: string;
27
+ /** Prefix for localStorage/sessionStorage keys used by toolkit components */
28
+ storageKeyPrefix?: string;
29
+ /** When true, removes all default styles from toolkit components */
30
+ unstyled?: boolean;
31
+ /** Theme overrides applied as CSS custom properties */
32
+ theme?: {
33
+ /** Primary brand colour (e.g. "#0070f3") */
34
+ primary?: string;
35
+ /** Hover state for primary colour */
36
+ primaryHover?: string;
37
+ /** Foreground colour used on primary backgrounds */
38
+ primaryForeground?: string;
39
+ };
40
+ }
41
+ /**
42
+ * Provides NDPR configuration to all descendant toolkit components.
43
+ *
44
+ * When a `theme` is supplied, the corresponding CSS custom properties
45
+ * (`--ndpr-primary`, `--ndpr-primary-hover`, `--ndpr-primary-foreground`)
46
+ * are set on the wrapping element so components can reference them.
47
+ */
48
+ declare const NDPRProvider: React.FC<NDPRConfig & {
49
+ children: React.ReactNode;
50
+ }>;
51
+ /**
52
+ * Returns the current NDPR configuration from the nearest `NDPRProvider`.
53
+ * If no provider is found, returns an empty config object.
54
+ */
55
+ declare function useNDPRConfig(): NDPRConfig;
56
+
57
+ /**
58
+ * Sanitizes user input to prevent XSS attacks.
59
+ * Escapes HTML special characters so that data rendered in dashboards
60
+ * or other consumer UIs cannot execute embedded scripts.
61
+ */
62
+ declare function sanitizeInput(input: string): string;
63
+
64
+ export { type NDPRConfig, NDPRProvider, sanitizeInput, useNDPRConfig };
package/dist/core.d.ts CHANGED
@@ -7,8 +7,58 @@ export { L as LawfulBasis, a as LawfulBasisSummary, b as LegitimateInterestAsses
7
7
  export { A as AdequacyStatus, C as CrossBorderSummary, a as CrossBorderTransfer, T as TransferImpactAssessment, b as TransferMechanism, c as TransferRiskResult, d as TransferValidationResult, e as assessTransferRisk, g as getTransferMechanismDescription, i as isNDPCApprovalRequired, v as validateTransfer } from './cross-border-BMcqLvjC.js';
8
8
  export { P as ProcessingRecord, R as ROPAComplianceGap, a as ROPASummary, b as ROPAValidationResult, c as RecordOfProcessingActivities, e as exportROPAToCSV, g as generateROPASummary, i as identifyComplianceGaps, v as validateProcessingRecord } from './ropa-Li6UlL5H.js';
9
9
  export { L as LawfulBasisComplianceGap, a as LawfulBasisValidationResult, b as assessComplianceGaps, g as generateLawfulBasisSummary, c as getLawfulBasisDescription, v as validateProcessingActivity } from './lawful-basis-BEyI0kGg.js';
10
- export { v as validateConsent, a as validateConsentOptions } from './consent-DLWb5ota.js';
10
+ import React from 'react';
11
+ export { C as ConsentAuditEntry, a as appendAuditEntry, c as createAuditEntry, g as getAuditLog, v as validateConsent, b as validateConsentOptions } from './consent-audit-DhbfMR0n.js';
11
12
  export { f as formatDSRRequest } from './dsr-pNtVb1BK.js';
12
13
  export { a as assessDPIARisk } from './dpia-B0Pok5us.js';
13
14
  export { c as calculateBreachSeverity } from './breach-CzXqSsaY.js';
14
- export { g as generatePolicyText } from './privacy-BXz7O2ej.js';
15
+ export { D as DEFAULT_POLICY_SECTIONS, a as DEFAULT_POLICY_VARIABLES, c as createBusinessPolicyTemplate, g as generatePolicyText } from './policy-templates-CIKcV0i1.js';
16
+
17
+ /**
18
+ * Configuration for the NDPR toolkit provider.
19
+ */
20
+ interface NDPRConfig {
21
+ /** The official name of the organisation */
22
+ organizationName?: string;
23
+ /** Email address of the Data Protection Officer */
24
+ dpoEmail?: string;
25
+ /** NDPC registration number, if registered */
26
+ ndpcRegistrationNumber?: string;
27
+ /** Prefix for localStorage/sessionStorage keys used by toolkit components */
28
+ storageKeyPrefix?: string;
29
+ /** When true, removes all default styles from toolkit components */
30
+ unstyled?: boolean;
31
+ /** Theme overrides applied as CSS custom properties */
32
+ theme?: {
33
+ /** Primary brand colour (e.g. "#0070f3") */
34
+ primary?: string;
35
+ /** Hover state for primary colour */
36
+ primaryHover?: string;
37
+ /** Foreground colour used on primary backgrounds */
38
+ primaryForeground?: string;
39
+ };
40
+ }
41
+ /**
42
+ * Provides NDPR configuration to all descendant toolkit components.
43
+ *
44
+ * When a `theme` is supplied, the corresponding CSS custom properties
45
+ * (`--ndpr-primary`, `--ndpr-primary-hover`, `--ndpr-primary-foreground`)
46
+ * are set on the wrapping element so components can reference them.
47
+ */
48
+ declare const NDPRProvider: React.FC<NDPRConfig & {
49
+ children: React.ReactNode;
50
+ }>;
51
+ /**
52
+ * Returns the current NDPR configuration from the nearest `NDPRProvider`.
53
+ * If no provider is found, returns an empty config object.
54
+ */
55
+ declare function useNDPRConfig(): NDPRConfig;
56
+
57
+ /**
58
+ * Sanitizes user input to prevent XSS attacks.
59
+ * Escapes HTML special characters so that data rendered in dashboards
60
+ * or other consumer UIs cannot execute embedded scripts.
61
+ */
62
+ declare function sanitizeInput(input: string): string;
63
+
64
+ export { type NDPRConfig, NDPRProvider, sanitizeInput, useNDPRConfig };
package/dist/core.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkTDDAYVKK_js=require('./chunk-TDDAYVKK.js'),chunkIQF726GS_js=require('./chunk-IQF726GS.js'),chunkSWF3YVE5_js=require('./chunk-SWF3YVE5.js'),chunkY34DQYS7_js=require('./chunk-Y34DQYS7.js'),chunkCMZTI7SG_js=require('./chunk-CMZTI7SG.js'),chunkSSGJREE3_js=require('./chunk-SSGJREE3.js'),chunkRYZEIDNR_js=require('./chunk-RYZEIDNR.js'),chunkPM7CMTMB_js=require('./chunk-PM7CMTMB.js');require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"assessComplianceGaps",{enumerable:true,get:function(){return chunkTDDAYVKK_js.c}});Object.defineProperty(exports,"generateLawfulBasisSummary",{enumerable:true,get:function(){return chunkTDDAYVKK_js.d}});Object.defineProperty(exports,"getLawfulBasisDescription",{enumerable:true,get:function(){return chunkTDDAYVKK_js.b}});Object.defineProperty(exports,"validateProcessingActivity",{enumerable:true,get:function(){return chunkTDDAYVKK_js.a}});Object.defineProperty(exports,"assessTransferRisk",{enumerable:true,get:function(){return chunkIQF726GS_js.d}});Object.defineProperty(exports,"getTransferMechanismDescription",{enumerable:true,get:function(){return chunkIQF726GS_js.b}});Object.defineProperty(exports,"isNDPCApprovalRequired",{enumerable:true,get:function(){return chunkIQF726GS_js.a}});Object.defineProperty(exports,"validateTransfer",{enumerable:true,get:function(){return chunkIQF726GS_js.c}});Object.defineProperty(exports,"exportROPAToCSV",{enumerable:true,get:function(){return chunkSWF3YVE5_js.c}});Object.defineProperty(exports,"generateROPASummary",{enumerable:true,get:function(){return chunkSWF3YVE5_js.b}});Object.defineProperty(exports,"identifyComplianceGaps",{enumerable:true,get:function(){return chunkSWF3YVE5_js.d}});Object.defineProperty(exports,"validateProcessingRecord",{enumerable:true,get:function(){return chunkSWF3YVE5_js.a}});Object.defineProperty(exports,"validateConsent",{enumerable:true,get:function(){return chunkY34DQYS7_js.a}});Object.defineProperty(exports,"validateConsentOptions",{enumerable:true,get:function(){return chunkY34DQYS7_js.b}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkCMZTI7SG_js.a}});Object.defineProperty(exports,"assessDPIARisk",{enumerable:true,get:function(){return chunkSSGJREE3_js.a}});Object.defineProperty(exports,"calculateBreachSeverity",{enumerable:true,get:function(){return chunkRYZEIDNR_js.a}});Object.defineProperty(exports,"generatePolicyText",{enumerable:true,get:function(){return chunkPM7CMTMB_js.a}});//# sourceMappingURL=core.js.map
1
+ 'use strict';var chunkILCNDOBU_js=require('./chunk-ILCNDOBU.js'),chunkTDDAYVKK_js=require('./chunk-TDDAYVKK.js'),chunkIQF726GS_js=require('./chunk-IQF726GS.js'),chunkSWF3YVE5_js=require('./chunk-SWF3YVE5.js'),chunkMJGOLP5M_js=require('./chunk-MJGOLP5M.js'),chunkY34DQYS7_js=require('./chunk-Y34DQYS7.js'),chunkCMZTI7SG_js=require('./chunk-CMZTI7SG.js'),chunkSSGJREE3_js=require('./chunk-SSGJREE3.js'),chunkRYZEIDNR_js=require('./chunk-RYZEIDNR.js'),chunkEPF7J2FK_js=require('./chunk-EPF7J2FK.js'),chunk5RSOLEEP_js=require('./chunk-5RSOLEEP.js');require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"NDPRProvider",{enumerable:true,get:function(){return chunkILCNDOBU_js.a}});Object.defineProperty(exports,"useNDPRConfig",{enumerable:true,get:function(){return chunkILCNDOBU_js.b}});Object.defineProperty(exports,"assessComplianceGaps",{enumerable:true,get:function(){return chunkTDDAYVKK_js.c}});Object.defineProperty(exports,"generateLawfulBasisSummary",{enumerable:true,get:function(){return chunkTDDAYVKK_js.d}});Object.defineProperty(exports,"getLawfulBasisDescription",{enumerable:true,get:function(){return chunkTDDAYVKK_js.b}});Object.defineProperty(exports,"validateProcessingActivity",{enumerable:true,get:function(){return chunkTDDAYVKK_js.a}});Object.defineProperty(exports,"assessTransferRisk",{enumerable:true,get:function(){return chunkIQF726GS_js.d}});Object.defineProperty(exports,"getTransferMechanismDescription",{enumerable:true,get:function(){return chunkIQF726GS_js.b}});Object.defineProperty(exports,"isNDPCApprovalRequired",{enumerable:true,get:function(){return chunkIQF726GS_js.a}});Object.defineProperty(exports,"validateTransfer",{enumerable:true,get:function(){return chunkIQF726GS_js.c}});Object.defineProperty(exports,"exportROPAToCSV",{enumerable:true,get:function(){return chunkSWF3YVE5_js.c}});Object.defineProperty(exports,"generateROPASummary",{enumerable:true,get:function(){return chunkSWF3YVE5_js.b}});Object.defineProperty(exports,"identifyComplianceGaps",{enumerable:true,get:function(){return chunkSWF3YVE5_js.d}});Object.defineProperty(exports,"validateProcessingRecord",{enumerable:true,get:function(){return chunkSWF3YVE5_js.a}});Object.defineProperty(exports,"appendAuditEntry",{enumerable:true,get:function(){return chunkMJGOLP5M_js.c}});Object.defineProperty(exports,"createAuditEntry",{enumerable:true,get:function(){return chunkMJGOLP5M_js.a}});Object.defineProperty(exports,"getAuditLog",{enumerable:true,get:function(){return chunkMJGOLP5M_js.b}});Object.defineProperty(exports,"validateConsent",{enumerable:true,get:function(){return chunkY34DQYS7_js.a}});Object.defineProperty(exports,"validateConsentOptions",{enumerable:true,get:function(){return chunkY34DQYS7_js.b}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkCMZTI7SG_js.a}});Object.defineProperty(exports,"assessDPIARisk",{enumerable:true,get:function(){return chunkSSGJREE3_js.a}});Object.defineProperty(exports,"calculateBreachSeverity",{enumerable:true,get:function(){return chunkRYZEIDNR_js.a}});Object.defineProperty(exports,"sanitizeInput",{enumerable:true,get:function(){return chunkEPF7J2FK_js.a}});Object.defineProperty(exports,"DEFAULT_POLICY_SECTIONS",{enumerable:true,get:function(){return chunk5RSOLEEP_js.b}});Object.defineProperty(exports,"DEFAULT_POLICY_VARIABLES",{enumerable:true,get:function(){return chunk5RSOLEEP_js.c}});Object.defineProperty(exports,"createBusinessPolicyTemplate",{enumerable:true,get:function(){return chunk5RSOLEEP_js.d}});Object.defineProperty(exports,"generatePolicyText",{enumerable:true,get:function(){return chunk5RSOLEEP_js.a}});//# sourceMappingURL=core.js.map
2
2
  //# sourceMappingURL=core.js.map
package/dist/core.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{c as assessComplianceGaps,d as generateLawfulBasisSummary,b as getLawfulBasisDescription,a as validateProcessingActivity}from'./chunk-TXBZPCGF.mjs';export{d as assessTransferRisk,b as getTransferMechanismDescription,a as isNDPCApprovalRequired,c as validateTransfer}from'./chunk-QKK5S54L.mjs';export{c as exportROPAToCSV,b as generateROPASummary,d as identifyComplianceGaps,a as validateProcessingRecord}from'./chunk-PYEX7DFR.mjs';export{a as validateConsent,b as validateConsentOptions}from'./chunk-GIV2OHE6.mjs';export{a as formatDSRRequest}from'./chunk-2SYNHRP6.mjs';export{a as assessDPIARisk}from'./chunk-PGSA2O5P.mjs';export{a as calculateBreachSeverity}from'./chunk-RGYK4VAY.mjs';export{a as generatePolicyText}from'./chunk-UYP64PV7.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=core.mjs.map
1
+ export{a as NDPRProvider,b as useNDPRConfig}from'./chunk-WSHSHIIM.mjs';export{c as assessComplianceGaps,d as generateLawfulBasisSummary,b as getLawfulBasisDescription,a as validateProcessingActivity}from'./chunk-TXBZPCGF.mjs';export{d as assessTransferRisk,b as getTransferMechanismDescription,a as isNDPCApprovalRequired,c as validateTransfer}from'./chunk-QKK5S54L.mjs';export{c as exportROPAToCSV,b as generateROPASummary,d as identifyComplianceGaps,a as validateProcessingRecord}from'./chunk-PYEX7DFR.mjs';export{c as appendAuditEntry,a as createAuditEntry,b as getAuditLog}from'./chunk-P3PULLYP.mjs';export{a as validateConsent,b as validateConsentOptions}from'./chunk-GIV2OHE6.mjs';export{a as formatDSRRequest}from'./chunk-2SYNHRP6.mjs';export{a as assessDPIARisk}from'./chunk-PGSA2O5P.mjs';export{a as calculateBreachSeverity}from'./chunk-RGYK4VAY.mjs';export{a as sanitizeInput}from'./chunk-FXTZDKDC.mjs';export{b as DEFAULT_POLICY_SECTIONS,c as DEFAULT_POLICY_VARIABLES,d as createBusinessPolicyTemplate,a as generatePolicyText}from'./chunk-CAB7O3GR.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=core.mjs.map
2
2
  //# sourceMappingURL=core.mjs.map
@@ -14,6 +14,8 @@ interface CrossBorderTransferManagerClassNames {
14
14
  input?: string;
15
15
  select?: string;
16
16
  submitButton?: string;
17
+ /** Alias for submitButton */
18
+ primaryButton?: string;
17
19
  riskBadge?: string;
18
20
  statusBadge?: string;
19
21
  detailPanel?: string;
@@ -79,6 +81,11 @@ interface CrossBorderTransferManagerProps {
79
81
  */
80
82
  unstyled?: boolean;
81
83
  }
84
+ /**
85
+ * Cross-border data transfer management component. Implements NDPA Sections 41-45 requirements
86
+ * for managing international data transfers, including adequacy decisions, standard contractual
87
+ * clauses, and NDPC authorization.
88
+ */
82
89
  declare const CrossBorderTransferManager: React.FC<CrossBorderTransferManagerProps>;
83
90
 
84
91
  export { CrossBorderTransferManager as C, type CrossBorderTransferManagerClassNames as a };
@@ -14,6 +14,8 @@ interface CrossBorderTransferManagerClassNames {
14
14
  input?: string;
15
15
  select?: string;
16
16
  submitButton?: string;
17
+ /** Alias for submitButton */
18
+ primaryButton?: string;
17
19
  riskBadge?: string;
18
20
  statusBadge?: string;
19
21
  detailPanel?: string;
@@ -79,6 +81,11 @@ interface CrossBorderTransferManagerProps {
79
81
  */
80
82
  unstyled?: boolean;
81
83
  }
84
+ /**
85
+ * Cross-border data transfer management component. Implements NDPA Sections 41-45 requirements
86
+ * for managing international data transfers, including adequacy decisions, standard contractual
87
+ * clauses, and NDPC authorization.
88
+ */
82
89
  declare const CrossBorderTransferManager: React.FC<CrossBorderTransferManagerProps>;
83
90
 
84
91
  export { CrossBorderTransferManager as C, type CrossBorderTransferManagerClassNames as a };
@@ -1,4 +1,4 @@
1
- export { C as CrossBorderTransferManager } from './cross-border-entry-BfF7jw5o.mjs';
1
+ export { C as CrossBorderTransferManager } from './cross-border-entry-cCTvpwnT.mjs';
2
2
  export { u as useCrossBorderTransfer } from './useCrossBorderTransfer-BZVFCXfr.mjs';
3
3
  export { A as AdequacyStatus, C as CrossBorderSummary, a as CrossBorderTransfer, T as TransferImpactAssessment, b as TransferMechanism, c as TransferRiskResult, d as TransferValidationResult, e as assessTransferRisk, g as getTransferMechanismDescription, i as isNDPCApprovalRequired, v as validateTransfer } from './cross-border-BMcqLvjC.mjs';
4
4
  import 'react';
@@ -1,4 +1,4 @@
1
- export { C as CrossBorderTransferManager } from './cross-border-entry-CtX8_o-_.js';
1
+ export { C as CrossBorderTransferManager } from './cross-border-entry-BrWVPly6.js';
2
2
  export { u as useCrossBorderTransfer } from './useCrossBorderTransfer-DmtACeqW.js';
3
3
  export { A as AdequacyStatus, C as CrossBorderSummary, a as CrossBorderTransfer, T as TransferImpactAssessment, b as TransferMechanism, c as TransferRiskResult, d as TransferValidationResult, e as assessTransferRisk, g as getTransferMechanismDescription, i as isNDPCApprovalRequired, v as validateTransfer } from './cross-border-BMcqLvjC.js';
4
4
  import 'react';
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkJKEAPTYP_js=require('./chunk-JKEAPTYP.js'),chunk5ZBO2UPH_js=require('./chunk-5ZBO2UPH.js'),chunkIQF726GS_js=require('./chunk-IQF726GS.js');require('./chunk-VURIXCGY.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"CrossBorderTransferManager",{enumerable:true,get:function(){return chunkJKEAPTYP_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunk5ZBO2UPH_js.a}});Object.defineProperty(exports,"assessTransferRisk",{enumerable:true,get:function(){return chunkIQF726GS_js.d}});Object.defineProperty(exports,"getTransferMechanismDescription",{enumerable:true,get:function(){return chunkIQF726GS_js.b}});Object.defineProperty(exports,"isNDPCApprovalRequired",{enumerable:true,get:function(){return chunkIQF726GS_js.a}});Object.defineProperty(exports,"validateTransfer",{enumerable:true,get:function(){return chunkIQF726GS_js.c}});//# sourceMappingURL=cross-border.js.map
1
+ 'use strict';var chunkCL53OI3I_js=require('./chunk-CL53OI3I.js'),chunk5ZBO2UPH_js=require('./chunk-5ZBO2UPH.js'),chunkIQF726GS_js=require('./chunk-IQF726GS.js');require('./chunk-E64TU6IU.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"CrossBorderTransferManager",{enumerable:true,get:function(){return chunkCL53OI3I_js.a}});Object.defineProperty(exports,"useCrossBorderTransfer",{enumerable:true,get:function(){return chunk5ZBO2UPH_js.a}});Object.defineProperty(exports,"assessTransferRisk",{enumerable:true,get:function(){return chunkIQF726GS_js.d}});Object.defineProperty(exports,"getTransferMechanismDescription",{enumerable:true,get:function(){return chunkIQF726GS_js.b}});Object.defineProperty(exports,"isNDPCApprovalRequired",{enumerable:true,get:function(){return chunkIQF726GS_js.a}});Object.defineProperty(exports,"validateTransfer",{enumerable:true,get:function(){return chunkIQF726GS_js.c}});//# sourceMappingURL=cross-border.js.map
2
2
  //# sourceMappingURL=cross-border.js.map
@@ -1,2 +1,2 @@
1
- export{a as CrossBorderTransferManager}from'./chunk-IW5PHOG7.mjs';export{a as useCrossBorderTransfer}from'./chunk-VMJBW3EF.mjs';export{d as assessTransferRisk,b as getTransferMechanismDescription,a as isNDPCApprovalRequired,c as validateTransfer}from'./chunk-QKK5S54L.mjs';import'./chunk-FDB6KZUD.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=cross-border.mjs.map
1
+ export{a as CrossBorderTransferManager}from'./chunk-4JUDKBA2.mjs';export{a as useCrossBorderTransfer}from'./chunk-VMJBW3EF.mjs';export{d as assessTransferRisk,b as getTransferMechanismDescription,a as isNDPCApprovalRequired,c as validateTransfer}from'./chunk-QKK5S54L.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=cross-border.mjs.map
2
2
  //# sourceMappingURL=cross-border.mjs.map
package/dist/dpia.d.mts CHANGED
@@ -33,6 +33,10 @@ interface DPIAQuestionnaireClassNames {
33
33
  nextButton?: string;
34
34
  /** Previous button */
35
35
  prevButton?: string;
36
+ /** Alias for nextButton */
37
+ primaryButton?: string;
38
+ /** Alias for prevButton */
39
+ secondaryButton?: string;
36
40
  /** Progress bar wrapper */
37
41
  progressBar?: string;
38
42
  }
@@ -113,6 +117,10 @@ interface DPIAQuestionnaireProps {
113
117
  */
114
118
  unstyled?: boolean;
115
119
  }
120
+ /**
121
+ * DPIA questionnaire component. Implements NDPA Section 38 requirements
122
+ * for conducting Data Protection Impact Assessments on high-risk processing activities.
123
+ */
116
124
  declare const DPIAQuestionnaire: React.FC<DPIAQuestionnaireProps>;
117
125
 
118
126
  interface DPIAReportClassNames {
@@ -136,6 +144,8 @@ interface DPIAReportClassNames {
136
144
  conclusion?: string;
137
145
  /** Print button */
138
146
  printButton?: string;
147
+ /** Alias for printButton */
148
+ primaryButton?: string;
139
149
  }
140
150
  interface DPIAReportProps {
141
151
  /**
@@ -184,6 +194,10 @@ interface DPIAReportProps {
184
194
  */
185
195
  unstyled?: boolean;
186
196
  }
197
+ /**
198
+ * DPIA report component. Implements NDPA Sections 38-39 requirements for documenting
199
+ * and presenting Data Protection Impact Assessment findings, risks, and recommendations.
200
+ */
187
201
  declare const DPIAReport: React.FC<DPIAReportProps>;
188
202
 
189
203
  interface Step {
package/dist/dpia.d.ts CHANGED
@@ -33,6 +33,10 @@ interface DPIAQuestionnaireClassNames {
33
33
  nextButton?: string;
34
34
  /** Previous button */
35
35
  prevButton?: string;
36
+ /** Alias for nextButton */
37
+ primaryButton?: string;
38
+ /** Alias for prevButton */
39
+ secondaryButton?: string;
36
40
  /** Progress bar wrapper */
37
41
  progressBar?: string;
38
42
  }
@@ -113,6 +117,10 @@ interface DPIAQuestionnaireProps {
113
117
  */
114
118
  unstyled?: boolean;
115
119
  }
120
+ /**
121
+ * DPIA questionnaire component. Implements NDPA Section 38 requirements
122
+ * for conducting Data Protection Impact Assessments on high-risk processing activities.
123
+ */
116
124
  declare const DPIAQuestionnaire: React.FC<DPIAQuestionnaireProps>;
117
125
 
118
126
  interface DPIAReportClassNames {
@@ -136,6 +144,8 @@ interface DPIAReportClassNames {
136
144
  conclusion?: string;
137
145
  /** Print button */
138
146
  printButton?: string;
147
+ /** Alias for printButton */
148
+ primaryButton?: string;
139
149
  }
140
150
  interface DPIAReportProps {
141
151
  /**
@@ -184,6 +194,10 @@ interface DPIAReportProps {
184
194
  */
185
195
  unstyled?: boolean;
186
196
  }
197
+ /**
198
+ * DPIA report component. Implements NDPA Sections 38-39 requirements for documenting
199
+ * and presenting Data Protection Impact Assessment findings, risks, and recommendations.
200
+ */
187
201
  declare const DPIAReport: React.FC<DPIAReportProps>;
188
202
 
189
203
  interface Step {
package/dist/dpia.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk6LM3RAFO_js=require('./chunk-6LM3RAFO.js'),chunk3YCV2BA6_js=require('./chunk-3YCV2BA6.js'),chunkSSGJREE3_js=require('./chunk-SSGJREE3.js');require('./chunk-VURIXCGY.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"DPIAQuestionnaire",{enumerable:true,get:function(){return chunk6LM3RAFO_js.a}});Object.defineProperty(exports,"DPIAReport",{enumerable:true,get:function(){return chunk6LM3RAFO_js.b}});Object.defineProperty(exports,"StepIndicator",{enumerable:true,get:function(){return chunk6LM3RAFO_js.c}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunk3YCV2BA6_js.a}});Object.defineProperty(exports,"assessDPIARisk",{enumerable:true,get:function(){return chunkSSGJREE3_js.a}});//# sourceMappingURL=dpia.js.map
1
+ 'use strict';var chunkZNTMZ6NM_js=require('./chunk-ZNTMZ6NM.js'),chunk3YCV2BA6_js=require('./chunk-3YCV2BA6.js'),chunkSSGJREE3_js=require('./chunk-SSGJREE3.js');require('./chunk-E64TU6IU.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"DPIAQuestionnaire",{enumerable:true,get:function(){return chunkZNTMZ6NM_js.a}});Object.defineProperty(exports,"DPIAReport",{enumerable:true,get:function(){return chunkZNTMZ6NM_js.b}});Object.defineProperty(exports,"StepIndicator",{enumerable:true,get:function(){return chunkZNTMZ6NM_js.c}});Object.defineProperty(exports,"useDPIA",{enumerable:true,get:function(){return chunk3YCV2BA6_js.a}});Object.defineProperty(exports,"assessDPIARisk",{enumerable:true,get:function(){return chunkSSGJREE3_js.a}});//# sourceMappingURL=dpia.js.map
2
2
  //# sourceMappingURL=dpia.js.map
package/dist/dpia.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{a as DPIAQuestionnaire,b as DPIAReport,c as StepIndicator}from'./chunk-FZUCKGIM.mjs';export{a as useDPIA}from'./chunk-6GGGTRDZ.mjs';export{a as assessDPIARisk}from'./chunk-PGSA2O5P.mjs';import'./chunk-FDB6KZUD.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=dpia.mjs.map
1
+ export{a as DPIAQuestionnaire,b as DPIAReport,c as StepIndicator}from'./chunk-BZTTQS4A.mjs';export{a as useDPIA}from'./chunk-6GGGTRDZ.mjs';export{a as assessDPIARisk}from'./chunk-PGSA2O5P.mjs';import'./chunk-AYKLAEOU.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=dpia.mjs.map
2
2
  //# sourceMappingURL=dpia.mjs.map