@tantainnovative/ndpr-toolkit 2.1.1 → 2.2.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.
Files changed (192) hide show
  1. package/README.md +56 -0
  2. package/dist/{breach-6z0r-KuE.d.mts → breach-B_-6lDqS.d.mts} +1 -1
  3. package/dist/{breach-BFfnvtRk.d.ts → breach-CzXqSsaY.d.ts} +1 -1
  4. package/dist/{breach-BtFbDOmV.d.mts → breach-Eu9byel8.d.mts} +1 -1
  5. package/dist/{breach-BtFbDOmV.d.ts → breach-Eu9byel8.d.ts} +1 -1
  6. package/dist/breach.d.mts +81 -5
  7. package/dist/breach.d.ts +81 -5
  8. package/dist/breach.js +1 -1
  9. package/dist/breach.mjs +1 -1
  10. package/dist/chunk-4RGDNVR5.mjs +72 -0
  11. package/dist/chunk-6LM3RAFO.js +7 -0
  12. package/dist/chunk-7DNQSOER.js +2 -0
  13. package/dist/chunk-A7DRHSDQ.mjs +2 -0
  14. package/dist/chunk-FC6EG34C.js +72 -0
  15. package/dist/chunk-FDB6KZUD.mjs +2 -0
  16. package/dist/chunk-FZUCKGIM.mjs +7 -0
  17. package/dist/chunk-G3JNFZPT.js +2 -0
  18. package/dist/chunk-HXCRMA4J.mjs +2 -0
  19. package/dist/chunk-IC7VOOKJ.mjs +2 -0
  20. package/dist/chunk-ICUZG6CD.mjs +2 -0
  21. package/dist/chunk-IW5PHOG7.mjs +7 -0
  22. package/dist/chunk-JKEAPTYP.js +7 -0
  23. package/dist/chunk-N52S64SU.js +2 -0
  24. package/dist/chunk-SKAMVXBI.mjs +94 -0
  25. package/dist/chunk-VURIXCGY.js +2 -0
  26. package/dist/chunk-VXRY3V42.js +94 -0
  27. package/dist/chunk-YBPHGEL2.js +2 -0
  28. package/dist/consent.d.mts +68 -2
  29. package/dist/consent.d.ts +68 -2
  30. package/dist/consent.js +1 -1
  31. package/dist/consent.mjs +1 -1
  32. package/dist/core.d.mts +10 -10
  33. package/dist/core.d.ts +10 -10
  34. package/dist/{cross-border-BrIy1ieh.d.ts → cross-border-BMcqLvjC.d.mts} +1 -1
  35. package/dist/{cross-border-BrIy1ieh.d.mts → cross-border-BMcqLvjC.d.ts} +1 -1
  36. package/dist/cross-border-entry-BfF7jw5o.d.mts +84 -0
  37. package/dist/cross-border-entry-CtX8_o-_.d.ts +84 -0
  38. package/dist/cross-border.d.mts +4 -58
  39. package/dist/cross-border.d.ts +4 -58
  40. package/dist/cross-border.js +1 -1
  41. package/dist/cross-border.mjs +1 -1
  42. package/dist/{dpia-vWfE_9bO.d.mts → dpia-5OQVA1R_.d.mts} +1 -1
  43. package/dist/{dpia-vWfE_9bO.d.ts → dpia-5OQVA1R_.d.ts} +1 -1
  44. package/dist/{dpia-fdtTd2DI.d.ts → dpia-B0Pok5us.d.ts} +1 -1
  45. package/dist/{dpia-B9ZZJG5a.d.mts → dpia-CUfOmzvX.d.mts} +1 -1
  46. package/dist/dpia.d.mts +105 -5
  47. package/dist/dpia.d.ts +105 -5
  48. package/dist/dpia.js +1 -1
  49. package/dist/dpia.mjs +1 -1
  50. package/dist/{dsr-pQzQ3H1O.d.mts → dsr-Cm9lzWG7.d.mts} +1 -1
  51. package/dist/{dsr-pQzQ3H1O.d.ts → dsr-Cm9lzWG7.d.ts} +1 -1
  52. package/dist/{dsr-whPkiI0_.d.mts → dsr-D_eTNc4S.d.mts} +1 -1
  53. package/dist/{dsr-jq5NUEdz.d.ts → dsr-pNtVb1BK.d.ts} +1 -1
  54. package/dist/dsr.d.mts +66 -5
  55. package/dist/dsr.d.ts +66 -5
  56. package/dist/dsr.js +1 -1
  57. package/dist/dsr.mjs +1 -1
  58. package/dist/hooks.d.mts +13 -13
  59. package/dist/hooks.d.ts +13 -13
  60. package/dist/index.d.mts +24 -24
  61. package/dist/index.d.ts +24 -24
  62. package/dist/index.js +1 -1
  63. package/dist/index.mjs +1 -1
  64. package/dist/{lawful-basis-v04AhbK2.d.ts → lawful-basis-BEyI0kGg.d.ts} +2 -2
  65. package/dist/{lawful-basis-D-oXFizg.d.mts → lawful-basis-C2eGaoHM.d.mts} +2 -2
  66. package/dist/{lawful-basis-CWtvDG1x.d.mts → lawful-basis-Cv1VmDLn.d.mts} +1 -1
  67. package/dist/{lawful-basis-CWtvDG1x.d.ts → lawful-basis-Cv1VmDLn.d.ts} +1 -1
  68. package/dist/lawful-basis-entry-BeSX7u0U.d.ts +81 -0
  69. package/dist/lawful-basis-entry-CMPPM9Rh.d.mts +81 -0
  70. package/dist/lawful-basis.d.mts +5 -55
  71. package/dist/lawful-basis.d.ts +5 -55
  72. package/dist/lawful-basis.js +1 -1
  73. package/dist/lawful-basis.mjs +1 -1
  74. package/dist/policy-dmsRlqgM.d.ts +283 -0
  75. package/dist/policy-kZN23hrR.d.mts +283 -0
  76. package/dist/policy.d.mts +3 -193
  77. package/dist/policy.d.ts +3 -193
  78. package/dist/policy.js +1 -1
  79. package/dist/policy.mjs +1 -1
  80. package/dist/{ropa-Rb4dsFSz.d.mts → ropa-DP7pPPql.d.mts} +2 -2
  81. package/dist/{ropa-BebGfqKQ.d.ts → ropa-Li6UlL5H.d.ts} +2 -2
  82. package/dist/ropa-entry-CZJ91ymk.d.mts +71 -0
  83. package/dist/ropa-entry-DIEQ9WFs.d.ts +71 -0
  84. package/dist/ropa.d.mts +5 -45
  85. package/dist/ropa.d.ts +5 -45
  86. package/dist/ropa.js +1 -1
  87. package/dist/ropa.mjs +1 -1
  88. package/dist/unstyled.js +1 -1
  89. package/dist/unstyled.mjs +1 -1
  90. package/dist/{useBreach-WrZzJilM.d.mts → useBreach-BBSoIcZO.d.mts} +1 -1
  91. package/dist/{useBreach-vrh_XMpI.d.ts → useBreach-lFLbSyAN.d.ts} +1 -1
  92. package/dist/{useCrossBorderTransfer-TVnY8_UX.d.mts → useCrossBorderTransfer-BZVFCXfr.d.mts} +1 -1
  93. package/dist/{useCrossBorderTransfer-D4FQYfFt.d.ts → useCrossBorderTransfer-DmtACeqW.d.ts} +1 -1
  94. package/dist/{useDPIA-DFDHBLSa.d.ts → useDPIA-DBsg2yZx.d.ts} +1 -1
  95. package/dist/{useDPIA-FqPofFaV.d.mts → useDPIA-Da7-Q_yW.d.mts} +1 -1
  96. package/dist/{useDSR-DAqqOBXb.d.ts → useDSR-CYI7WCXr.d.ts} +1 -1
  97. package/dist/{useDSR-OXM5Q9rf.d.mts → useDSR-YYZ6FYFs.d.mts} +1 -1
  98. package/dist/{useLawfulBasis-RILM_xsx.d.ts → useLawfulBasis-CCWF9waR.d.ts} +2 -2
  99. package/dist/{useLawfulBasis-DNQ8YszQ.d.mts → useLawfulBasis-CpWuHtyh.d.mts} +2 -2
  100. package/dist/{useROPA-Bcs6cRdi.d.ts → useROPA-BhJ3kvHp.d.ts} +1 -1
  101. package/dist/{useROPA-nmcSiUYv.d.mts → useROPA-DLFdjkxP.d.mts} +1 -1
  102. package/package.json +33 -17
  103. package/dist/breach.js.map +0 -1
  104. package/dist/breach.mjs.map +0 -1
  105. package/dist/chunk-2SYNHRP6.mjs.map +0 -1
  106. package/dist/chunk-2XHD22J7.mjs +0 -7
  107. package/dist/chunk-2XHD22J7.mjs.map +0 -1
  108. package/dist/chunk-3YCV2BA6.js.map +0 -1
  109. package/dist/chunk-4A354HL3.js.map +0 -1
  110. package/dist/chunk-4DKT6IB6.js +0 -94
  111. package/dist/chunk-4DKT6IB6.js.map +0 -1
  112. package/dist/chunk-5ZBO2UPH.js.map +0 -1
  113. package/dist/chunk-6GGGTRDZ.mjs.map +0 -1
  114. package/dist/chunk-6JFTAYXV.mjs +0 -2
  115. package/dist/chunk-6JFTAYXV.mjs.map +0 -1
  116. package/dist/chunk-6JVYYLS7.js +0 -2
  117. package/dist/chunk-6JVYYLS7.js.map +0 -1
  118. package/dist/chunk-6SGG6WPA.mjs +0 -2
  119. package/dist/chunk-6SGG6WPA.mjs.map +0 -1
  120. package/dist/chunk-AQEGDEQM.js +0 -7
  121. package/dist/chunk-AQEGDEQM.js.map +0 -1
  122. package/dist/chunk-C2IJWCZQ.mjs +0 -2
  123. package/dist/chunk-C2IJWCZQ.mjs.map +0 -1
  124. package/dist/chunk-CMZTI7SG.js.map +0 -1
  125. package/dist/chunk-DB3JH4DS.mjs.map +0 -1
  126. package/dist/chunk-FFW7RUAG.mjs +0 -94
  127. package/dist/chunk-FFW7RUAG.mjs.map +0 -1
  128. package/dist/chunk-FK3CSFLJ.js +0 -2
  129. package/dist/chunk-FK3CSFLJ.js.map +0 -1
  130. package/dist/chunk-GIV2OHE6.mjs.map +0 -1
  131. package/dist/chunk-GMLNWS2N.mjs.map +0 -1
  132. package/dist/chunk-IQF726GS.js.map +0 -1
  133. package/dist/chunk-IWUUVRLJ.js.map +0 -1
  134. package/dist/chunk-JUN6YPLL.mjs +0 -72
  135. package/dist/chunk-JUN6YPLL.mjs.map +0 -1
  136. package/dist/chunk-L3FKTBGV.js +0 -72
  137. package/dist/chunk-L3FKTBGV.js.map +0 -1
  138. package/dist/chunk-L52PDW6O.mjs.map +0 -1
  139. package/dist/chunk-LI6WJ3LZ.js.map +0 -1
  140. package/dist/chunk-LXRXDTPI.js.map +0 -1
  141. package/dist/chunk-MQFZHA2D.js.map +0 -1
  142. package/dist/chunk-OITITR6K.mjs.map +0 -1
  143. package/dist/chunk-PDJGTQMY.mjs.map +0 -1
  144. package/dist/chunk-PGSA2O5P.mjs.map +0 -1
  145. package/dist/chunk-PM7CMTMB.js.map +0 -1
  146. package/dist/chunk-PYEX7DFR.mjs.map +0 -1
  147. package/dist/chunk-QKK5S54L.mjs.map +0 -1
  148. package/dist/chunk-RB26MIRI.js +0 -2
  149. package/dist/chunk-RB26MIRI.js.map +0 -1
  150. package/dist/chunk-RGYK4VAY.mjs.map +0 -1
  151. package/dist/chunk-RHWW5FDP.js +0 -16
  152. package/dist/chunk-RHWW5FDP.js.map +0 -1
  153. package/dist/chunk-RYZEIDNR.js.map +0 -1
  154. package/dist/chunk-SLNMKGQ2.mjs +0 -2
  155. package/dist/chunk-SLNMKGQ2.mjs.map +0 -1
  156. package/dist/chunk-SSGJREE3.js.map +0 -1
  157. package/dist/chunk-SWF3YVE5.js.map +0 -1
  158. package/dist/chunk-T44JQT2O.mjs.map +0 -1
  159. package/dist/chunk-TDDAYVKK.js.map +0 -1
  160. package/dist/chunk-TXBZPCGF.mjs.map +0 -1
  161. package/dist/chunk-UUWVBENC.js +0 -2
  162. package/dist/chunk-UUWVBENC.js.map +0 -1
  163. package/dist/chunk-UYP64PV7.mjs.map +0 -1
  164. package/dist/chunk-VMJBW3EF.mjs.map +0 -1
  165. package/dist/chunk-WW3X3ELF.js.map +0 -1
  166. package/dist/chunk-WWT2ZSNU.mjs.map +0 -1
  167. package/dist/chunk-XMKA6GVK.mjs +0 -16
  168. package/dist/chunk-XMKA6GVK.mjs.map +0 -1
  169. package/dist/chunk-Y34DQYS7.js.map +0 -1
  170. package/dist/chunk-ZU73VG3X.js.map +0 -1
  171. package/dist/consent.js.map +0 -1
  172. package/dist/consent.mjs.map +0 -1
  173. package/dist/core.js.map +0 -1
  174. package/dist/core.mjs.map +0 -1
  175. package/dist/cross-border.js.map +0 -1
  176. package/dist/cross-border.mjs.map +0 -1
  177. package/dist/dpia.js.map +0 -1
  178. package/dist/dpia.mjs.map +0 -1
  179. package/dist/dsr.js.map +0 -1
  180. package/dist/dsr.mjs.map +0 -1
  181. package/dist/hooks.js.map +0 -1
  182. package/dist/hooks.mjs.map +0 -1
  183. package/dist/index.js.map +0 -1
  184. package/dist/index.mjs.map +0 -1
  185. package/dist/lawful-basis.js.map +0 -1
  186. package/dist/lawful-basis.mjs.map +0 -1
  187. package/dist/policy.js.map +0 -1
  188. package/dist/policy.mjs.map +0 -1
  189. package/dist/ropa.js.map +0 -1
  190. package/dist/ropa.mjs.map +0 -1
  191. package/dist/unstyled.js.map +0 -1
  192. package/dist/unstyled.mjs.map +0 -1
package/dist/dpia.d.mts CHANGED
@@ -1,9 +1,41 @@
1
1
  import React from 'react';
2
- import { a as DPIASection, b as DPIAResult } from './dpia-vWfE_9bO.mjs';
3
- export { D as DPIAQuestion, c as DPIARisk } from './dpia-vWfE_9bO.mjs';
4
- export { u as useDPIA } from './useDPIA-FqPofFaV.mjs';
5
- export { a as assessDPIARisk } from './dpia-B9ZZJG5a.mjs';
2
+ import { c as DPIASection, a as DPIAResult } from './dpia-5OQVA1R_.mjs';
3
+ export { D as DPIAQuestion, b as DPIARisk } from './dpia-5OQVA1R_.mjs';
4
+ export { u as useDPIA } from './useDPIA-Da7-Q_yW.mjs';
5
+ export { a as assessDPIARisk } from './dpia-CUfOmzvX.mjs';
6
6
 
7
+ interface DPIAQuestionnaireClassNames {
8
+ /** Outermost wrapper */
9
+ root?: string;
10
+ /** Header area containing progress indicator */
11
+ header?: string;
12
+ /** Section title */
13
+ title?: string;
14
+ /** Section container */
15
+ section?: string;
16
+ /** Section title heading */
17
+ sectionTitle?: string;
18
+ /** Individual question wrapper */
19
+ question?: string;
20
+ /** Question label text */
21
+ questionText?: string;
22
+ /** Guidance / help text below a question */
23
+ guidance?: string;
24
+ /** Text / textarea / select inputs */
25
+ input?: string;
26
+ /** Radio option group container */
27
+ radioGroup?: string;
28
+ /** Individual radio option row */
29
+ radioOption?: string;
30
+ /** Navigation button container */
31
+ navigation?: string;
32
+ /** Next / submit button */
33
+ nextButton?: string;
34
+ /** Previous button */
35
+ prevButton?: string;
36
+ /** Progress bar wrapper */
37
+ progressBar?: string;
38
+ }
7
39
  interface DPIAQuestionnaireProps {
8
40
  /**
9
41
  * Sections of the DPIA questionnaire
@@ -70,9 +102,41 @@ interface DPIAQuestionnaireProps {
70
102
  * Current progress percentage (0-100)
71
103
  */
72
104
  progress?: number;
105
+ /**
106
+ * Per-section class name overrides
107
+ */
108
+ classNames?: DPIAQuestionnaireClassNames;
109
+ /**
110
+ * When true, all default classes are stripped.
111
+ * Only explicit overrides from `classNames` are applied.
112
+ * @default false
113
+ */
114
+ unstyled?: boolean;
73
115
  }
74
116
  declare const DPIAQuestionnaire: React.FC<DPIAQuestionnaireProps>;
75
117
 
118
+ interface DPIAReportClassNames {
119
+ /** Outermost wrapper */
120
+ root?: string;
121
+ /** Report header area */
122
+ header?: string;
123
+ /** Main report title */
124
+ title?: string;
125
+ /** Executive summary section */
126
+ summary?: string;
127
+ /** Risk level badge */
128
+ riskBadge?: string;
129
+ /** Risks table element */
130
+ riskTable?: string;
131
+ /** Individual risk row */
132
+ riskRow?: string;
133
+ /** Recommendation list item */
134
+ recommendation?: string;
135
+ /** Conclusion text */
136
+ conclusion?: string;
137
+ /** Print button */
138
+ printButton?: string;
139
+ }
76
140
  interface DPIAReportProps {
77
141
  /**
78
142
  * The DPIA result to display
@@ -109,6 +173,16 @@ interface DPIAReportProps {
109
173
  * Custom CSS class for the buttons
110
174
  */
111
175
  buttonClassName?: string;
176
+ /**
177
+ * Per-section class name overrides
178
+ */
179
+ classNames?: DPIAReportClassNames;
180
+ /**
181
+ * When true, all default classes are stripped.
182
+ * Only explicit overrides from `classNames` are applied.
183
+ * @default false
184
+ */
185
+ unstyled?: boolean;
112
186
  }
113
187
  declare const DPIAReport: React.FC<DPIAReportProps>;
114
188
 
@@ -138,6 +212,22 @@ interface Step {
138
212
  */
139
213
  icon?: React.ReactNode;
140
214
  }
215
+ interface StepIndicatorClassNames {
216
+ /** Outermost wrapper */
217
+ root?: string;
218
+ /** Individual step wrapper */
219
+ step?: string;
220
+ /** Active step circle / indicator */
221
+ stepActive?: string;
222
+ /** Completed step circle / indicator */
223
+ stepCompleted?: string;
224
+ /** Pending (incomplete, inactive) step circle / indicator */
225
+ stepPending?: string;
226
+ /** Connector line between steps */
227
+ connector?: string;
228
+ /** Step label text */
229
+ label?: string;
230
+ }
141
231
  interface StepIndicatorProps {
142
232
  /**
143
233
  * Array of steps to display
@@ -173,7 +263,17 @@ interface StepIndicatorProps {
173
263
  * Custom CSS class for incomplete steps
174
264
  */
175
265
  incompleteStepClassName?: string;
266
+ /**
267
+ * Per-section class name overrides
268
+ */
269
+ classNames?: StepIndicatorClassNames;
270
+ /**
271
+ * When true, all default classes are stripped.
272
+ * Only explicit overrides from `classNames` are applied.
273
+ * @default false
274
+ */
275
+ unstyled?: boolean;
176
276
  }
177
277
  declare const StepIndicator: React.FC<StepIndicatorProps>;
178
278
 
179
- export { DPIAQuestionnaire, DPIAReport, DPIAResult, DPIASection, StepIndicator };
279
+ export { DPIAQuestionnaire, type DPIAQuestionnaireClassNames, DPIAReport, type DPIAReportClassNames, DPIAResult, DPIASection, StepIndicator, type StepIndicatorClassNames };
package/dist/dpia.d.ts CHANGED
@@ -1,9 +1,41 @@
1
1
  import React from 'react';
2
- import { a as DPIASection, b as DPIAResult } from './dpia-vWfE_9bO.js';
3
- export { D as DPIAQuestion, c as DPIARisk } from './dpia-vWfE_9bO.js';
4
- export { u as useDPIA } from './useDPIA-DFDHBLSa.js';
5
- export { a as assessDPIARisk } from './dpia-fdtTd2DI.js';
2
+ import { c as DPIASection, a as DPIAResult } from './dpia-5OQVA1R_.js';
3
+ export { D as DPIAQuestion, b as DPIARisk } from './dpia-5OQVA1R_.js';
4
+ export { u as useDPIA } from './useDPIA-DBsg2yZx.js';
5
+ export { a as assessDPIARisk } from './dpia-B0Pok5us.js';
6
6
 
7
+ interface DPIAQuestionnaireClassNames {
8
+ /** Outermost wrapper */
9
+ root?: string;
10
+ /** Header area containing progress indicator */
11
+ header?: string;
12
+ /** Section title */
13
+ title?: string;
14
+ /** Section container */
15
+ section?: string;
16
+ /** Section title heading */
17
+ sectionTitle?: string;
18
+ /** Individual question wrapper */
19
+ question?: string;
20
+ /** Question label text */
21
+ questionText?: string;
22
+ /** Guidance / help text below a question */
23
+ guidance?: string;
24
+ /** Text / textarea / select inputs */
25
+ input?: string;
26
+ /** Radio option group container */
27
+ radioGroup?: string;
28
+ /** Individual radio option row */
29
+ radioOption?: string;
30
+ /** Navigation button container */
31
+ navigation?: string;
32
+ /** Next / submit button */
33
+ nextButton?: string;
34
+ /** Previous button */
35
+ prevButton?: string;
36
+ /** Progress bar wrapper */
37
+ progressBar?: string;
38
+ }
7
39
  interface DPIAQuestionnaireProps {
8
40
  /**
9
41
  * Sections of the DPIA questionnaire
@@ -70,9 +102,41 @@ interface DPIAQuestionnaireProps {
70
102
  * Current progress percentage (0-100)
71
103
  */
72
104
  progress?: number;
105
+ /**
106
+ * Per-section class name overrides
107
+ */
108
+ classNames?: DPIAQuestionnaireClassNames;
109
+ /**
110
+ * When true, all default classes are stripped.
111
+ * Only explicit overrides from `classNames` are applied.
112
+ * @default false
113
+ */
114
+ unstyled?: boolean;
73
115
  }
74
116
  declare const DPIAQuestionnaire: React.FC<DPIAQuestionnaireProps>;
75
117
 
118
+ interface DPIAReportClassNames {
119
+ /** Outermost wrapper */
120
+ root?: string;
121
+ /** Report header area */
122
+ header?: string;
123
+ /** Main report title */
124
+ title?: string;
125
+ /** Executive summary section */
126
+ summary?: string;
127
+ /** Risk level badge */
128
+ riskBadge?: string;
129
+ /** Risks table element */
130
+ riskTable?: string;
131
+ /** Individual risk row */
132
+ riskRow?: string;
133
+ /** Recommendation list item */
134
+ recommendation?: string;
135
+ /** Conclusion text */
136
+ conclusion?: string;
137
+ /** Print button */
138
+ printButton?: string;
139
+ }
76
140
  interface DPIAReportProps {
77
141
  /**
78
142
  * The DPIA result to display
@@ -109,6 +173,16 @@ interface DPIAReportProps {
109
173
  * Custom CSS class for the buttons
110
174
  */
111
175
  buttonClassName?: string;
176
+ /**
177
+ * Per-section class name overrides
178
+ */
179
+ classNames?: DPIAReportClassNames;
180
+ /**
181
+ * When true, all default classes are stripped.
182
+ * Only explicit overrides from `classNames` are applied.
183
+ * @default false
184
+ */
185
+ unstyled?: boolean;
112
186
  }
113
187
  declare const DPIAReport: React.FC<DPIAReportProps>;
114
188
 
@@ -138,6 +212,22 @@ interface Step {
138
212
  */
139
213
  icon?: React.ReactNode;
140
214
  }
215
+ interface StepIndicatorClassNames {
216
+ /** Outermost wrapper */
217
+ root?: string;
218
+ /** Individual step wrapper */
219
+ step?: string;
220
+ /** Active step circle / indicator */
221
+ stepActive?: string;
222
+ /** Completed step circle / indicator */
223
+ stepCompleted?: string;
224
+ /** Pending (incomplete, inactive) step circle / indicator */
225
+ stepPending?: string;
226
+ /** Connector line between steps */
227
+ connector?: string;
228
+ /** Step label text */
229
+ label?: string;
230
+ }
141
231
  interface StepIndicatorProps {
142
232
  /**
143
233
  * Array of steps to display
@@ -173,7 +263,17 @@ interface StepIndicatorProps {
173
263
  * Custom CSS class for incomplete steps
174
264
  */
175
265
  incompleteStepClassName?: string;
266
+ /**
267
+ * Per-section class name overrides
268
+ */
269
+ classNames?: StepIndicatorClassNames;
270
+ /**
271
+ * When true, all default classes are stripped.
272
+ * Only explicit overrides from `classNames` are applied.
273
+ * @default false
274
+ */
275
+ unstyled?: boolean;
176
276
  }
177
277
  declare const StepIndicator: React.FC<StepIndicatorProps>;
178
278
 
179
- export { DPIAQuestionnaire, DPIAReport, DPIAResult, DPIASection, StepIndicator };
279
+ export { DPIAQuestionnaire, type DPIAQuestionnaireClassNames, DPIAReport, type DPIAReportClassNames, DPIAResult, DPIASection, StepIndicator, type StepIndicatorClassNames };
package/dist/dpia.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkRHWW5FDP_js=require('./chunk-RHWW5FDP.js'),chunk3YCV2BA6_js=require('./chunk-3YCV2BA6.js'),chunkSSGJREE3_js=require('./chunk-SSGJREE3.js');require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"DPIAQuestionnaire",{enumerable:true,get:function(){return chunkRHWW5FDP_js.a}});Object.defineProperty(exports,"DPIAReport",{enumerable:true,get:function(){return chunkRHWW5FDP_js.b}});Object.defineProperty(exports,"StepIndicator",{enumerable:true,get:function(){return chunkRHWW5FDP_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 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
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-XMKA6GVK.mjs';export{a as useDPIA}from'./chunk-6GGGTRDZ.mjs';export{a as assessDPIARisk}from'./chunk-PGSA2O5P.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=dpia.mjs.map
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
2
2
  //# sourceMappingURL=dpia.mjs.map
@@ -125,4 +125,4 @@ interface DSRRequest {
125
125
  extensionReason?: string;
126
126
  }
127
127
 
128
- export type { DSRRequest as D, RequestType as R, DSRStatus as a, DSRType as b, RequestStatus as c };
128
+ export type { DSRRequest as D, RequestStatus as R, DSRStatus as a, DSRType as b, RequestType as c };
@@ -125,4 +125,4 @@ interface DSRRequest {
125
125
  extensionReason?: string;
126
126
  }
127
127
 
128
- export type { DSRRequest as D, RequestType as R, DSRStatus as a, DSRType as b, RequestStatus as c };
128
+ export type { DSRRequest as D, RequestStatus as R, DSRStatus as a, DSRType as b, RequestType as c };
@@ -1,4 +1,4 @@
1
- import { D as DSRRequest } from './dsr-pQzQ3H1O.mjs';
1
+ import { D as DSRRequest } from './dsr-Cm9lzWG7.mjs';
2
2
 
3
3
  /**
4
4
  * Formats a DSR request for display or submission
@@ -1,4 +1,4 @@
1
- import { D as DSRRequest } from './dsr-pQzQ3H1O.js';
1
+ import { D as DSRRequest } from './dsr-Cm9lzWG7.js';
2
2
 
3
3
  /**
4
4
  * Formats a DSR request for display or submission
package/dist/dsr.d.mts CHANGED
@@ -1,9 +1,22 @@
1
1
  import React from 'react';
2
- import { R as RequestType, D as DSRRequest, a as DSRStatus } from './dsr-pQzQ3H1O.mjs';
3
- export { b as DSRType, c as RequestStatus } from './dsr-pQzQ3H1O.mjs';
4
- export { u as useDSR } from './useDSR-OXM5Q9rf.mjs';
5
- export { f as formatDSRRequest } from './dsr-whPkiI0_.mjs';
2
+ import { c as RequestType, D as DSRRequest, a as DSRStatus } from './dsr-Cm9lzWG7.mjs';
3
+ export { b as DSRType, R as RequestStatus } from './dsr-Cm9lzWG7.mjs';
4
+ export { u as useDSR } from './useDSR-YYZ6FYFs.mjs';
5
+ export { f as formatDSRRequest } from './dsr-D_eTNc4S.mjs';
6
6
 
7
+ interface DSRRequestFormClassNames {
8
+ root?: string;
9
+ title?: string;
10
+ description?: string;
11
+ form?: string;
12
+ fieldGroup?: string;
13
+ label?: string;
14
+ input?: string;
15
+ select?: string;
16
+ textarea?: string;
17
+ submitButton?: string;
18
+ successMessage?: string;
19
+ }
7
20
  interface DSRRequestFormProps {
8
21
  /**
9
22
  * Array of request types that can be submitted
@@ -74,9 +87,28 @@ interface DSRRequestFormProps {
74
87
  description?: string;
75
88
  submit?: string;
76
89
  };
90
+ /**
91
+ * Object of CSS class overrides keyed by semantic section name.
92
+ */
93
+ classNames?: DSRRequestFormClassNames;
94
+ /**
95
+ * When true, all default Tailwind classes are removed so consumers
96
+ * can style from scratch using classNames.
97
+ */
98
+ unstyled?: boolean;
77
99
  }
78
100
  declare const DSRRequestForm: React.FC<DSRRequestFormProps>;
79
101
 
102
+ interface DSRDashboardClassNames {
103
+ root?: string;
104
+ header?: string;
105
+ title?: string;
106
+ filters?: string;
107
+ requestList?: string;
108
+ requestItem?: string;
109
+ statusBadge?: string;
110
+ detailPanel?: string;
111
+ }
80
112
  interface DSRDashboardProps {
81
113
  /**
82
114
  * List of DSR requests to display
@@ -131,9 +163,29 @@ interface DSRDashboardProps {
131
163
  * List of possible assignees
132
164
  */
133
165
  assignees?: string[];
166
+ /**
167
+ * Object of CSS class overrides keyed by semantic section name.
168
+ */
169
+ classNames?: DSRDashboardClassNames;
170
+ /**
171
+ * When true, all default Tailwind classes are removed so consumers
172
+ * can style from scratch using classNames.
173
+ */
174
+ unstyled?: boolean;
134
175
  }
135
176
  declare const DSRDashboard: React.FC<DSRDashboardProps>;
136
177
 
178
+ interface DSRTrackerClassNames {
179
+ root?: string;
180
+ header?: string;
181
+ title?: string;
182
+ stats?: string;
183
+ statCard?: string;
184
+ table?: string;
185
+ tableHeader?: string;
186
+ tableRow?: string;
187
+ statusBadge?: string;
188
+ }
137
189
  interface DSRTrackerProps {
138
190
  /**
139
191
  * List of DSR requests to track
@@ -186,7 +238,16 @@ interface DSRTrackerProps {
186
238
  * @default true
187
239
  */
188
240
  showOverdueRequests?: boolean;
241
+ /**
242
+ * Object of CSS class overrides keyed by semantic section name.
243
+ */
244
+ classNames?: DSRTrackerClassNames;
245
+ /**
246
+ * When true, all default Tailwind classes are removed so consumers
247
+ * can style from scratch using classNames.
248
+ */
249
+ unstyled?: boolean;
189
250
  }
190
251
  declare const DSRTracker: React.FC<DSRTrackerProps>;
191
252
 
192
- export { DSRDashboard, DSRRequest, DSRRequestForm, DSRStatus, DSRTracker, RequestType };
253
+ export { DSRDashboard, type DSRDashboardClassNames, DSRRequest, DSRRequestForm, type DSRRequestFormClassNames, DSRStatus, DSRTracker, type DSRTrackerClassNames, RequestType };
package/dist/dsr.d.ts CHANGED
@@ -1,9 +1,22 @@
1
1
  import React from 'react';
2
- import { R as RequestType, D as DSRRequest, a as DSRStatus } from './dsr-pQzQ3H1O.js';
3
- export { b as DSRType, c as RequestStatus } from './dsr-pQzQ3H1O.js';
4
- export { u as useDSR } from './useDSR-DAqqOBXb.js';
5
- export { f as formatDSRRequest } from './dsr-jq5NUEdz.js';
2
+ import { c as RequestType, D as DSRRequest, a as DSRStatus } from './dsr-Cm9lzWG7.js';
3
+ export { b as DSRType, R as RequestStatus } from './dsr-Cm9lzWG7.js';
4
+ export { u as useDSR } from './useDSR-CYI7WCXr.js';
5
+ export { f as formatDSRRequest } from './dsr-pNtVb1BK.js';
6
6
 
7
+ interface DSRRequestFormClassNames {
8
+ root?: string;
9
+ title?: string;
10
+ description?: string;
11
+ form?: string;
12
+ fieldGroup?: string;
13
+ label?: string;
14
+ input?: string;
15
+ select?: string;
16
+ textarea?: string;
17
+ submitButton?: string;
18
+ successMessage?: string;
19
+ }
7
20
  interface DSRRequestFormProps {
8
21
  /**
9
22
  * Array of request types that can be submitted
@@ -74,9 +87,28 @@ interface DSRRequestFormProps {
74
87
  description?: string;
75
88
  submit?: string;
76
89
  };
90
+ /**
91
+ * Object of CSS class overrides keyed by semantic section name.
92
+ */
93
+ classNames?: DSRRequestFormClassNames;
94
+ /**
95
+ * When true, all default Tailwind classes are removed so consumers
96
+ * can style from scratch using classNames.
97
+ */
98
+ unstyled?: boolean;
77
99
  }
78
100
  declare const DSRRequestForm: React.FC<DSRRequestFormProps>;
79
101
 
102
+ interface DSRDashboardClassNames {
103
+ root?: string;
104
+ header?: string;
105
+ title?: string;
106
+ filters?: string;
107
+ requestList?: string;
108
+ requestItem?: string;
109
+ statusBadge?: string;
110
+ detailPanel?: string;
111
+ }
80
112
  interface DSRDashboardProps {
81
113
  /**
82
114
  * List of DSR requests to display
@@ -131,9 +163,29 @@ interface DSRDashboardProps {
131
163
  * List of possible assignees
132
164
  */
133
165
  assignees?: string[];
166
+ /**
167
+ * Object of CSS class overrides keyed by semantic section name.
168
+ */
169
+ classNames?: DSRDashboardClassNames;
170
+ /**
171
+ * When true, all default Tailwind classes are removed so consumers
172
+ * can style from scratch using classNames.
173
+ */
174
+ unstyled?: boolean;
134
175
  }
135
176
  declare const DSRDashboard: React.FC<DSRDashboardProps>;
136
177
 
178
+ interface DSRTrackerClassNames {
179
+ root?: string;
180
+ header?: string;
181
+ title?: string;
182
+ stats?: string;
183
+ statCard?: string;
184
+ table?: string;
185
+ tableHeader?: string;
186
+ tableRow?: string;
187
+ statusBadge?: string;
188
+ }
137
189
  interface DSRTrackerProps {
138
190
  /**
139
191
  * List of DSR requests to track
@@ -186,7 +238,16 @@ interface DSRTrackerProps {
186
238
  * @default true
187
239
  */
188
240
  showOverdueRequests?: boolean;
241
+ /**
242
+ * Object of CSS class overrides keyed by semantic section name.
243
+ */
244
+ classNames?: DSRTrackerClassNames;
245
+ /**
246
+ * When true, all default Tailwind classes are removed so consumers
247
+ * can style from scratch using classNames.
248
+ */
249
+ unstyled?: boolean;
189
250
  }
190
251
  declare const DSRTracker: React.FC<DSRTrackerProps>;
191
252
 
192
- export { DSRDashboard, DSRRequest, DSRRequestForm, DSRStatus, DSRTracker, RequestType };
253
+ export { DSRDashboard, type DSRDashboardClassNames, DSRRequest, DSRRequestForm, type DSRRequestFormClassNames, DSRStatus, DSRTracker, type DSRTrackerClassNames, RequestType };
package/dist/dsr.js CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';var chunk6JVYYLS7_js=require('./chunk-6JVYYLS7.js'),chunkWW3X3ELF_js=require('./chunk-WW3X3ELF.js'),chunkCMZTI7SG_js=require('./chunk-CMZTI7SG.js');require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"DSRDashboard",{enumerable:true,get:function(){return chunk6JVYYLS7_js.b}});Object.defineProperty(exports,"DSRRequestForm",{enumerable:true,get:function(){return chunk6JVYYLS7_js.a}});Object.defineProperty(exports,"DSRTracker",{enumerable:true,get:function(){return chunk6JVYYLS7_js.c}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkWW3X3ELF_js.a}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkCMZTI7SG_js.a}});//# sourceMappingURL=dsr.js.map
1
+ 'use strict';var chunkN52S64SU_js=require('./chunk-N52S64SU.js'),chunkWW3X3ELF_js=require('./chunk-WW3X3ELF.js'),chunkCMZTI7SG_js=require('./chunk-CMZTI7SG.js');require('./chunk-VURIXCGY.js'),require('./chunk-MQFZHA2D.js');Object.defineProperty(exports,"DSRDashboard",{enumerable:true,get:function(){return chunkN52S64SU_js.b}});Object.defineProperty(exports,"DSRRequestForm",{enumerable:true,get:function(){return chunkN52S64SU_js.a}});Object.defineProperty(exports,"DSRTracker",{enumerable:true,get:function(){return chunkN52S64SU_js.c}});Object.defineProperty(exports,"useDSR",{enumerable:true,get:function(){return chunkWW3X3ELF_js.a}});Object.defineProperty(exports,"formatDSRRequest",{enumerable:true,get:function(){return chunkCMZTI7SG_js.a}});//# sourceMappingURL=dsr.js.map
2
2
  //# sourceMappingURL=dsr.js.map
package/dist/dsr.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{b as DSRDashboard,a as DSRRequestForm,c as DSRTracker}from'./chunk-6JFTAYXV.mjs';export{a as useDSR}from'./chunk-GMLNWS2N.mjs';export{a as formatDSRRequest}from'./chunk-2SYNHRP6.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=dsr.mjs.map
1
+ export{b as DSRDashboard,a as DSRRequestForm,c as DSRTracker}from'./chunk-HXCRMA4J.mjs';export{a as useDSR}from'./chunk-GMLNWS2N.mjs';export{a as formatDSRRequest}from'./chunk-2SYNHRP6.mjs';import'./chunk-FDB6KZUD.mjs';import'./chunk-WWT2ZSNU.mjs';//# sourceMappingURL=dsr.mjs.map
2
2
  //# sourceMappingURL=dsr.mjs.map
package/dist/hooks.d.mts CHANGED
@@ -1,17 +1,17 @@
1
1
  export { C as ConsentOption, a as ConsentSettings, b as ConsentStorageOptions, L as LawfulBasisType } from './consent-CmVzqZUk.mjs';
2
- export { D as DSRRequest, a as DSRStatus, b as DSRType } from './dsr-pQzQ3H1O.mjs';
3
- export { b as DPIAResult, c as DPIARisk } from './dpia-vWfE_9bO.mjs';
4
- export { B as BreachReport, N as NotificationRequirement, R as RiskAssessment } from './breach-BtFbDOmV.mjs';
2
+ export { D as DSRRequest, a as DSRStatus, b as DSRType } from './dsr-Cm9lzWG7.mjs';
3
+ export { a as DPIAResult, b as DPIARisk } from './dpia-5OQVA1R_.mjs';
4
+ export { a as BreachReport, N as NotificationRequirement, b as RiskAssessment } from './breach-Eu9byel8.mjs';
5
5
  export { O as OrganizationInfo, P as PolicySection, c as PrivacyPolicy } from './privacy-Ca6te9Ir.mjs';
6
- export { L as LawfulBasis, b as LawfulBasisSummary, P as ProcessingActivity } from './lawful-basis-CWtvDG1x.mjs';
7
- export { b as CrossBorderSummary, C as CrossBorderTransfer } from './cross-border-BrIy1ieh.mjs';
8
- export { P as ProcessingRecord, a as ROPASummary, R as RecordOfProcessingActivities } from './ropa-Rb4dsFSz.mjs';
6
+ export { L as LawfulBasis, a as LawfulBasisSummary, P as ProcessingActivity } from './lawful-basis-Cv1VmDLn.mjs';
7
+ export { C as CrossBorderSummary, a as CrossBorderTransfer } from './cross-border-BMcqLvjC.mjs';
8
+ export { P as ProcessingRecord, a as ROPASummary, c as RecordOfProcessingActivities } from './ropa-DP7pPPql.mjs';
9
9
  export { u as useConsent } from './useConsent-DOt2Njst.mjs';
10
- export { u as useDSR } from './useDSR-OXM5Q9rf.mjs';
11
- export { u as useDPIA } from './useDPIA-FqPofFaV.mjs';
12
- export { u as useBreach } from './useBreach-WrZzJilM.mjs';
10
+ export { u as useDSR } from './useDSR-YYZ6FYFs.mjs';
11
+ export { u as useDPIA } from './useDPIA-Da7-Q_yW.mjs';
12
+ export { u as useBreach } from './useBreach-BBSoIcZO.mjs';
13
13
  export { u as usePrivacyPolicy } from './usePrivacyPolicy-Dit2sFuV.mjs';
14
- export { u as useLawfulBasis } from './useLawfulBasis-DNQ8YszQ.mjs';
15
- export { u as useCrossBorderTransfer } from './useCrossBorderTransfer-TVnY8_UX.mjs';
16
- export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-nmcSiUYv.mjs';
17
- import './lawful-basis-D-oXFizg.mjs';
14
+ export { u as useLawfulBasis } from './useLawfulBasis-CpWuHtyh.mjs';
15
+ export { u as useCrossBorderTransfer } from './useCrossBorderTransfer-BZVFCXfr.mjs';
16
+ export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-DLFdjkxP.mjs';
17
+ import './lawful-basis-C2eGaoHM.mjs';
package/dist/hooks.d.ts CHANGED
@@ -1,17 +1,17 @@
1
1
  export { C as ConsentOption, a as ConsentSettings, b as ConsentStorageOptions, L as LawfulBasisType } from './consent-CmVzqZUk.js';
2
- export { D as DSRRequest, a as DSRStatus, b as DSRType } from './dsr-pQzQ3H1O.js';
3
- export { b as DPIAResult, c as DPIARisk } from './dpia-vWfE_9bO.js';
4
- export { B as BreachReport, N as NotificationRequirement, R as RiskAssessment } from './breach-BtFbDOmV.js';
2
+ export { D as DSRRequest, a as DSRStatus, b as DSRType } from './dsr-Cm9lzWG7.js';
3
+ export { a as DPIAResult, b as DPIARisk } from './dpia-5OQVA1R_.js';
4
+ export { a as BreachReport, N as NotificationRequirement, b as RiskAssessment } from './breach-Eu9byel8.js';
5
5
  export { O as OrganizationInfo, P as PolicySection, c as PrivacyPolicy } from './privacy-Ca6te9Ir.js';
6
- export { L as LawfulBasis, b as LawfulBasisSummary, P as ProcessingActivity } from './lawful-basis-CWtvDG1x.js';
7
- export { b as CrossBorderSummary, C as CrossBorderTransfer } from './cross-border-BrIy1ieh.js';
8
- export { P as ProcessingRecord, a as ROPASummary, R as RecordOfProcessingActivities } from './ropa-BebGfqKQ.js';
6
+ export { L as LawfulBasis, a as LawfulBasisSummary, P as ProcessingActivity } from './lawful-basis-Cv1VmDLn.js';
7
+ export { C as CrossBorderSummary, a as CrossBorderTransfer } from './cross-border-BMcqLvjC.js';
8
+ export { P as ProcessingRecord, a as ROPASummary, c as RecordOfProcessingActivities } from './ropa-Li6UlL5H.js';
9
9
  export { u as useConsent } from './useConsent-D0pAfTlb.js';
10
- export { u as useDSR } from './useDSR-DAqqOBXb.js';
11
- export { u as useDPIA } from './useDPIA-DFDHBLSa.js';
12
- export { u as useBreach } from './useBreach-vrh_XMpI.js';
10
+ export { u as useDSR } from './useDSR-CYI7WCXr.js';
11
+ export { u as useDPIA } from './useDPIA-DBsg2yZx.js';
12
+ export { u as useBreach } from './useBreach-lFLbSyAN.js';
13
13
  export { u as usePrivacyPolicy } from './usePrivacyPolicy-CfySfBLS.js';
14
- export { u as useLawfulBasis } from './useLawfulBasis-RILM_xsx.js';
15
- export { u as useCrossBorderTransfer } from './useCrossBorderTransfer-D4FQYfFt.js';
16
- export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-Bcs6cRdi.js';
17
- import './lawful-basis-v04AhbK2.js';
14
+ export { u as useLawfulBasis } from './useLawfulBasis-CCWF9waR.js';
15
+ export { u as useCrossBorderTransfer } from './useCrossBorderTransfer-DmtACeqW.js';
16
+ export { U as UseROPAOptions, a as UseROPAReturn, u as useROPA } from './useROPA-BhJ3kvHp.js';
17
+ import './lawful-basis-BEyI0kGg.js';