@redacto.io/privacy-center-sdk 2.0.0 → 3.1.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 (74) hide show
  1. package/CHANGELOG.md +13 -1
  2. package/dist/index.js +8687 -2636
  3. package/dist/index.mjs +8615 -2576
  4. package/package.json +2 -8
  5. package/src/PrivacyCenterActivityPage.tsx +12 -5
  6. package/src/PrivacyCenterConsentManagerPage.tsx +6 -13
  7. package/src/PrivacyCenterFormPage.tsx +23 -16
  8. package/src/PrivacyCenterLayout.tsx +25 -6
  9. package/src/api/upload.ts +30 -7
  10. package/src/components/ActivitiesList.tsx +156 -11
  11. package/src/components/Breadcrumb.tsx +78 -0
  12. package/src/components/CaseDetailsModal.tsx +386 -98
  13. package/src/components/CaseHistory.tsx +374 -256
  14. package/src/components/ConsentManager.tsx +179 -71
  15. package/src/components/ConsentManagerColumns.tsx +75 -40
  16. package/src/components/ConsentManagerTableSkeleton.tsx +116 -28
  17. package/src/components/DataRequest/CorrectionDataSection.tsx +127 -76
  18. package/src/components/DataRequest/GrievanceDataSection.tsx +59 -39
  19. package/src/components/DataRequest/PurposeSelectionSection.tsx +106 -30
  20. package/src/components/Form.tsx +390 -190
  21. package/src/components/GrievanceTable.tsx +174 -0
  22. package/src/components/GrievanceTablePagination.tsx +328 -0
  23. package/src/components/ModifyConsentModal.tsx +131 -43
  24. package/src/components/Pagination.tsx +80 -51
  25. package/src/components/PrivacyCenterLayout.tsx +181 -9
  26. package/src/components/RequestSubmit.tsx +172 -40
  27. package/src/components/SideMenuBarPC/SideBarPC.tsx +224 -86
  28. package/src/components/SideMenuBarPC/SideMenuPC.tsx +302 -153
  29. package/src/components/SideMenuBarPC/constants.tsx +3 -3
  30. package/src/components/SideMenuBarPC/utils.ts +12 -0
  31. package/src/components/ThemeTransitionOverlay.tsx +85 -0
  32. package/src/components/activitiesColumns.tsx +33 -22
  33. package/src/components/caseHistoryColumns.tsx +169 -0
  34. package/src/context/theme.tsx +26 -5
  35. package/src/index.ts +4 -1
  36. package/src/lib/api.ts +16 -8
  37. package/src/lib/utils.ts +66 -29
  38. package/src/styles/base.css +117 -0
  39. package/src/styles/injectStyles.ts +956 -0
  40. package/src/styles/pcStyles.ts +811 -0
  41. package/src/styles/responsive.ts +138 -0
  42. package/src/styles/variables.css +129 -0
  43. package/src/table/AdvancedTable.tsx +173 -76
  44. package/src/table/AdvancedTablePagination.tsx +469 -89
  45. package/src/ui/Footer.tsx +4 -6
  46. package/src/ui/FormBlockWrapper.tsx +30 -15
  47. package/src/ui/PCAccordion.tsx +87 -0
  48. package/src/ui/PCActionIcon.tsx +47 -0
  49. package/src/ui/PCAvatar.tsx +69 -0
  50. package/src/ui/PCBadge.tsx +48 -0
  51. package/src/ui/PCButton.tsx +77 -0
  52. package/src/ui/PCCheckbox.tsx +55 -0
  53. package/src/ui/PCCollapse.tsx +97 -0
  54. package/src/ui/PCEmpty.tsx +35 -0
  55. package/src/ui/PCInput.tsx +128 -0
  56. package/src/ui/PCLoader.tsx +30 -0
  57. package/src/ui/PCModal.tsx +104 -0
  58. package/src/ui/PCPopover.tsx +175 -0
  59. package/src/ui/PCSelect.tsx +345 -0
  60. package/src/ui/PCTable.tsx +137 -0
  61. package/src/ui/PCText.tsx +39 -0
  62. package/src/ui/PCTextarea.tsx +43 -0
  63. package/src/ui/PCTitle.tsx +37 -0
  64. package/src/ui/PCTooltip.tsx +104 -0
  65. package/src/ui/SimpleBar.tsx +9 -3
  66. package/src/ui/StatusBadge.tsx +14 -43
  67. package/src/ui/ThemeToggle.tsx +45 -12
  68. package/src/ui/index.ts +18 -0
  69. package/src/utils/cn.ts +26 -4
  70. package/src/utils/toast.ts +122 -0
  71. package/test.css.json +1 -0
  72. package/tsup.config.ts +3 -9
  73. package/dist/index.css +0 -8
  74. package/src/styles.css +0 -9
package/CHANGELOG.md CHANGED
@@ -1,10 +1,22 @@
1
1
  # @redacto.io/privacy-center-sdk
2
2
 
3
+ ## 3.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - user experience improvements
8
+
9
+ ## 3.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - removed tailwind and rizzui
14
+
3
15
  ## 2.0.0
4
16
 
5
17
  ### Major Changes
6
18
 
7
- - Removed user service API
19
+ - removed tailwind and rizz ui
8
20
 
9
21
  ## 1.1.0
10
22