@redacto.io/consent-sdk-react 9.1.0 → 9.2.0-beta.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 (45) hide show
  1. package/.turbo/turbo-build.log +10 -14
  2. package/CHANGELOG.md +6 -0
  3. package/dist/index.js +2 -4
  4. package/dist/index.mjs +2 -4
  5. package/dist/privacy-center.js +860 -851
  6. package/dist/privacy-center.mjs +810 -801
  7. package/package.json +1 -1
  8. package/src/RedactoNoticeConsent/RedactoNoticeConsent.tsx +2 -4
  9. package/src/RedactoNoticeConsent/api/types.ts +1 -0
  10. package/src/RedactoPrivacyCenter/PrivacyCenterCaseDetailsPage.tsx +3 -1
  11. package/src/RedactoPrivacyCenter/components/CaseDetails/DocumentRequestCard.tsx +19 -13
  12. package/src/RedactoPrivacyCenter/components/CaseDetails/FinalizedTooltipWrapper.tsx +25 -0
  13. package/src/RedactoPrivacyCenter/components/CaseDetails/MessageComposer.tsx +39 -30
  14. package/src/RedactoPrivacyCenter/components/CaseDetails/MessageItem.tsx +2 -0
  15. package/src/RedactoPrivacyCenter/components/CaseDetails/MessagesTab.tsx +10 -3
  16. package/src/RedactoPrivacyCenter/components/CaseDetails/utils.ts +21 -6
  17. package/src/RedactoPrivacyCenter/components/DataRequest/PurposeSelectionSection.tsx +12 -0
  18. package/src/RedactoPrivacyCenter/components/Form.tsx +15 -129
  19. package/src/RedactoPrivacyCenter/lib/constants.ts +12 -0
  20. package/src/RedactoPrivacyCenter/lib/types.ts +10 -0
  21. package/src/RedactoPrivacyCenter/locales/as/translation.json +1 -0
  22. package/src/RedactoPrivacyCenter/locales/bho/translation.json +1 -0
  23. package/src/RedactoPrivacyCenter/locales/bn/translation.json +1 -0
  24. package/src/RedactoPrivacyCenter/locales/brx/translation.json +1 -0
  25. package/src/RedactoPrivacyCenter/locales/doi/translation.json +1 -0
  26. package/src/RedactoPrivacyCenter/locales/en/translation.json +2 -0
  27. package/src/RedactoPrivacyCenter/locales/gom/translation.json +1 -0
  28. package/src/RedactoPrivacyCenter/locales/gu/translation.json +1 -0
  29. package/src/RedactoPrivacyCenter/locales/hi/translation.json +1 -0
  30. package/src/RedactoPrivacyCenter/locales/kn/translation.json +1 -0
  31. package/src/RedactoPrivacyCenter/locales/ks/translation.json +1 -0
  32. package/src/RedactoPrivacyCenter/locales/mai/translation.json +1 -0
  33. package/src/RedactoPrivacyCenter/locales/ml/translation.json +1 -0
  34. package/src/RedactoPrivacyCenter/locales/mni-Mtei/translation.json +1 -0
  35. package/src/RedactoPrivacyCenter/locales/mr/translation.json +1 -0
  36. package/src/RedactoPrivacyCenter/locales/ne/translation.json +1 -0
  37. package/src/RedactoPrivacyCenter/locales/or/translation.json +1 -0
  38. package/src/RedactoPrivacyCenter/locales/pa/translation.json +1 -0
  39. package/src/RedactoPrivacyCenter/locales/sa/translation.json +1 -0
  40. package/src/RedactoPrivacyCenter/locales/sat/translation.json +1 -0
  41. package/src/RedactoPrivacyCenter/locales/sd/translation.json +1 -0
  42. package/src/RedactoPrivacyCenter/locales/ta/translation.json +1 -0
  43. package/src/RedactoPrivacyCenter/locales/te/translation.json +1 -0
  44. package/src/RedactoPrivacyCenter/locales/ur/translation.json +1 -0
  45. package/src/RedactoPrivacyCenter/ui/PCTooltip.tsx +3 -1
@@ -1,25 +1,21 @@
1
1
 
2
2
  
3
- > @redacto.io/consent-sdk-react@7.1.0 build /Users/sadanmianredacto/Developer/redacto/consent-sdk/packages/consent-sdk-react
3
+ > @redacto.io/consent-sdk-react@3.5.0 build /Users/abhishekashyap/Documents/consent-sdk/packages/consent-sdk-react
4
4
  > tsup
5
5
 
6
- CLI Building entry: {"index":"src/index.ts","privacy-center":"src/privacy-center.ts"}
6
+ CLI Building entry: {"index":"src/index.ts"}
7
7
  CLI Using tsconfig: tsconfig.json
8
8
  CLI tsup v8.5.1
9
- CLI Using tsup config: /Users/sadanmianredacto/Developer/redacto/consent-sdk/packages/consent-sdk-react/tsup.config.ts
9
+ CLI Using tsup config: /Users/abhishekashyap/Documents/consent-sdk/packages/consent-sdk-react/tsup.config.ts
10
10
  CLI Target: es2019
11
11
  CLI Cleaning output folder
12
12
  ESM Build start
13
13
  CJS Build start
14
- ESM dist/index.mjs 227.81 KB
15
- ESM dist/privacy-center.mjs 1.98 MB
16
- ESM ⚡️ Build success in 69ms
17
- CJS dist/index.js 237.08 KB
18
- CJS dist/privacy-center.js 2.02 MB
19
- CJS ⚡️ Build success in 69ms
14
+ ESM dist/index.mjs 165.70 KB
15
+ ESM ⚡️ Build success in 66ms
16
+ CJS dist/index.js 172.18 KB
17
+ CJS ⚡️ Build success in 68ms
20
18
  DTS Build start
21
- DTS ⚡️ Build success in 2460ms
22
- DTS dist/index.d.mts 6.12 KB
23
- DTS dist/privacy-center.d.mts 28.46 KB
24
- DTS dist/index.d.ts 6.12 KB
25
- DTS dist/privacy-center.d.ts 28.46 KB
19
+ DTS ⚡️ Build success in 819ms
20
+ DTS dist/index.d.mts 2.92 KB
21
+ DTS dist/index.d.ts 2.92 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @redacto.io/consent-sdk-react
2
2
 
3
+ ## 9.2.0-beta.0
4
+
5
+ ### Minor Changes
6
+
7
+ - keep revoked-consent purposes raisable in privacy-center DSAR forms
8
+
3
9
  ## 9.1.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.js CHANGED
@@ -4536,14 +4536,12 @@ var RedactoNoticeConsent = ({
4536
4536
  content.dpo_info.dpo_text || ""
4537
4537
  ) }),
4538
4538
  " ",
4539
- content.dpo_info.dpo_url && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
4539
+ content.dpo_info.dpo_email && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
4540
4540
  "a",
4541
4541
  {
4542
4542
  id: "dpo-dpo-link",
4543
4543
  style: { ...styles.link, ...linkStyle },
4544
- href: content.dpo_info.dpo_url,
4545
- target: "_blank",
4546
- rel: "noopener noreferrer",
4544
+ href: `mailto:${content.dpo_info.dpo_email}`,
4547
4545
  children: getTranslatedDpoText(
4548
4546
  "dpo_anchor_text",
4549
4547
  content.dpo_info.dpo_anchor_text || "Click here"
package/dist/index.mjs CHANGED
@@ -4484,14 +4484,12 @@ var RedactoNoticeConsent = ({
4484
4484
  content.dpo_info.dpo_text || ""
4485
4485
  ) }),
4486
4486
  " ",
4487
- content.dpo_info.dpo_url && /* @__PURE__ */ jsx(
4487
+ content.dpo_info.dpo_email && /* @__PURE__ */ jsx(
4488
4488
  "a",
4489
4489
  {
4490
4490
  id: "dpo-dpo-link",
4491
4491
  style: { ...styles.link, ...linkStyle },
4492
- href: content.dpo_info.dpo_url,
4493
- target: "_blank",
4494
- rel: "noopener noreferrer",
4492
+ href: `mailto:${content.dpo_info.dpo_email}`,
4495
4493
  children: getTranslatedDpoText(
4496
4494
  "dpo_anchor_text",
4497
4495
  content.dpo_info.dpo_anchor_text || "Click here"