@redacto.io/consent-sdk-react 10.0.0-beta.8 → 10.0.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 (262) hide show
  1. package/NOTICE.md +17 -0
  2. package/README.md +141 -3
  3. package/dist/chunk-FEGTW73Q.mjs +182 -0
  4. package/dist/{chunk-6A665OPR.mjs → chunk-OGL6OC3A.mjs} +4 -0
  5. package/dist/fonts.d.mts +35 -0
  6. package/dist/fonts.d.ts +35 -0
  7. package/dist/fonts.js +183 -0
  8. package/dist/fonts.mjs +10 -0
  9. package/dist/index.d.mts +41 -4
  10. package/dist/index.d.ts +41 -4
  11. package/dist/index.js +881 -416
  12. package/dist/index.mjs +502 -253
  13. package/dist/montserrat.generated-NBTECYRW.mjs +22 -0
  14. package/dist/privacy-center.d.mts +51 -11
  15. package/dist/privacy-center.d.ts +51 -11
  16. package/dist/privacy-center.js +252 -136
  17. package/dist/privacy-center.mjs +251 -137
  18. package/dist/types-6Aj7faxL.d.mts +57 -0
  19. package/dist/types-6Aj7faxL.d.ts +57 -0
  20. package/package.json +10 -1
  21. package/.turbo/turbo-build.log +0 -22
  22. package/.turbo/turbo-test.log +0 -203
  23. package/.turbo/turbo-verify-pack.log +0 -6
  24. package/CHANGELOG.md +0 -343
  25. package/src/RedactoNoticeAssisted/RedactoNoticeAssisted.test.tsx +0 -934
  26. package/src/RedactoNoticeAssisted/RedactoNoticeAssisted.tsx +0 -2160
  27. package/src/RedactoNoticeAssisted/api/index.ts +0 -275
  28. package/src/RedactoNoticeAssisted/api/types.ts +0 -182
  29. package/src/RedactoNoticeAssisted/assets/redacto-logo.png +0 -0
  30. package/src/RedactoNoticeAssisted/constants.ts +0 -51
  31. package/src/RedactoNoticeAssisted/i18n.ts +0 -1408
  32. package/src/RedactoNoticeAssisted/index.ts +0 -1
  33. package/src/RedactoNoticeAssisted/injectStyles.ts +0 -251
  34. package/src/RedactoNoticeAssisted/styles.ts +0 -730
  35. package/src/RedactoNoticeAssisted/types.ts +0 -26
  36. package/src/RedactoNoticeAssisted/useMediaQuery.ts +0 -36
  37. package/src/RedactoNoticeConsent/RedactoNoticeConsent.test.tsx +0 -1152
  38. package/src/RedactoNoticeConsent/RedactoNoticeConsent.tsx +0 -4258
  39. package/src/RedactoNoticeConsent/api/index.ts +0 -512
  40. package/src/RedactoNoticeConsent/api/types.ts +0 -469
  41. package/src/RedactoNoticeConsent/assets/redacto-logo.png +0 -0
  42. package/src/RedactoNoticeConsent/components/DigiLockerCallback.tsx +0 -602
  43. package/src/RedactoNoticeConsent/components/index.ts +0 -7
  44. package/src/RedactoNoticeConsent/constants.ts +0 -20
  45. package/src/RedactoNoticeConsent/index.ts +0 -1
  46. package/src/RedactoNoticeConsent/injectStyles.ts +0 -151
  47. package/src/RedactoNoticeConsent/language-codes.ts +0 -95
  48. package/src/RedactoNoticeConsent/services/storage.ts +0 -122
  49. package/src/RedactoNoticeConsent/styles.ts +0 -409
  50. package/src/RedactoNoticeConsent/types.ts +0 -54
  51. package/src/RedactoNoticeConsent/useMediaQuery.ts +0 -36
  52. package/src/RedactoNoticeConsentInline/RedactoNoticeConsentInline.test.tsx +0 -369
  53. package/src/RedactoNoticeConsentInline/RedactoNoticeConsentInline.tsx +0 -687
  54. package/src/RedactoNoticeConsentInline/api/index.ts +0 -106
  55. package/src/RedactoNoticeConsentInline/api/types.ts +0 -183
  56. package/src/RedactoNoticeConsentInline/assets/redacto-logo.png +0 -0
  57. package/src/RedactoNoticeConsentInline/index.ts +0 -1
  58. package/src/RedactoNoticeConsentInline/injectStyles.ts +0 -40
  59. package/src/RedactoNoticeConsentInline/styles.ts +0 -397
  60. package/src/RedactoNoticeConsentInline/types.ts +0 -51
  61. package/src/RedactoNoticeConsentInline/useMediaQuery.ts +0 -36
  62. package/src/RedactoPrivacyCenter/NotificationsPage.tsx +0 -182
  63. package/src/RedactoPrivacyCenter/PrivacyCenterActivityPage.tsx +0 -19
  64. package/src/RedactoPrivacyCenter/PrivacyCenterCaseDetailsPage.tsx +0 -156
  65. package/src/RedactoPrivacyCenter/PrivacyCenterConsentManagerPage.tsx +0 -17
  66. package/src/RedactoPrivacyCenter/PrivacyCenterFormPage.tsx +0 -79
  67. package/src/RedactoPrivacyCenter/PrivacyCenterHomePage.tsx +0 -36
  68. package/src/RedactoPrivacyCenter/PrivacyCenterLayout.tsx +0 -177
  69. package/src/RedactoPrivacyCenter/PrivacyCenterMyReceiptPage.tsx +0 -26
  70. package/src/RedactoPrivacyCenter/RedactoPrivacyCenter.tsx +0 -58
  71. package/src/RedactoPrivacyCenter/api/actions.ts +0 -695
  72. package/src/RedactoPrivacyCenter/api/client.ts +0 -911
  73. package/src/RedactoPrivacyCenter/api/config.ts +0 -33
  74. package/src/RedactoPrivacyCenter/api/fetcher.ts +0 -260
  75. package/src/RedactoPrivacyCenter/api/orgBranding.ts +0 -16
  76. package/src/RedactoPrivacyCenter/api/upload.ts +0 -93
  77. package/src/RedactoPrivacyCenter/assets/character.svg +0 -31
  78. package/src/RedactoPrivacyCenter/assets/fileAttach.svg +0 -9
  79. package/src/RedactoPrivacyCenter/assets/greenTick.svg +0 -4
  80. package/src/RedactoPrivacyCenter/assets/mail.svg +0 -3
  81. package/src/RedactoPrivacyCenter/assets/poweredByRedacto.svg +0 -9
  82. package/src/RedactoPrivacyCenter/assets/sentImg.svg +0 -9
  83. package/src/RedactoPrivacyCenter/assets/uploadFileIcon.svg +0 -9
  84. package/src/RedactoPrivacyCenter/components/ActivitiesList.tsx +0 -252
  85. package/src/RedactoPrivacyCenter/components/ActivityTimeline.tsx +0 -239
  86. package/src/RedactoPrivacyCenter/components/AppShell/AppShell.tsx +0 -268
  87. package/src/RedactoPrivacyCenter/components/AppShell/MobileNavDrawer.tsx +0 -218
  88. package/src/RedactoPrivacyCenter/components/AppShell/NavItem.tsx +0 -205
  89. package/src/RedactoPrivacyCenter/components/AppShell/PageHeader.tsx +0 -107
  90. package/src/RedactoPrivacyCenter/components/AppShell/SidebarNav.tsx +0 -100
  91. package/src/RedactoPrivacyCenter/components/AppShell/TopAppBar.tsx +0 -339
  92. package/src/RedactoPrivacyCenter/components/AppShell/UserMenu.tsx +0 -245
  93. package/src/RedactoPrivacyCenter/components/AppShell/hooks/useIsTruncated.ts +0 -28
  94. package/src/RedactoPrivacyCenter/components/AppShell/hooks/useKeyboardShortcut.ts +0 -40
  95. package/src/RedactoPrivacyCenter/components/AppShell/hooks/useSidebarState.ts +0 -62
  96. package/src/RedactoPrivacyCenter/components/AppShell/usePrivacyCenterExitAction.ts +0 -36
  97. package/src/RedactoPrivacyCenter/components/CaseDetails/AttachmentCard.tsx +0 -38
  98. package/src/RedactoPrivacyCenter/components/CaseDetails/ChatBubble.tsx +0 -31
  99. package/src/RedactoPrivacyCenter/components/CaseDetails/DocumentRequestCard.tsx +0 -79
  100. package/src/RedactoPrivacyCenter/components/CaseDetails/FinalizedTooltipWrapper.tsx +0 -25
  101. package/src/RedactoPrivacyCenter/components/CaseDetails/MessageComposer.tsx +0 -96
  102. package/src/RedactoPrivacyCenter/components/CaseDetails/MessageItem.tsx +0 -97
  103. package/src/RedactoPrivacyCenter/components/CaseDetails/MessagesTab.tsx +0 -156
  104. package/src/RedactoPrivacyCenter/components/CaseDetails/RequestDetailsTab.tsx +0 -171
  105. package/src/RedactoPrivacyCenter/components/CaseDetails/StatusEvent.tsx +0 -23
  106. package/src/RedactoPrivacyCenter/components/CaseDetails/useFileUpload.ts +0 -116
  107. package/src/RedactoPrivacyCenter/components/CaseDetails/useMessagePolling.ts +0 -43
  108. package/src/RedactoPrivacyCenter/components/CaseDetails/utils.ts +0 -71
  109. package/src/RedactoPrivacyCenter/components/CaseDetailsModal.tsx +0 -469
  110. package/src/RedactoPrivacyCenter/components/CaseHistory.tsx +0 -426
  111. package/src/RedactoPrivacyCenter/components/ConsentManager.tsx +0 -1206
  112. package/src/RedactoPrivacyCenter/components/ConsentManagerCells.tsx +0 -218
  113. package/src/RedactoPrivacyCenter/components/ConsentManagerColumns.tsx +0 -138
  114. package/src/RedactoPrivacyCenter/components/ConsentManagerConstants.ts +0 -7
  115. package/src/RedactoPrivacyCenter/components/ConsentManagerExpandedRow.tsx +0 -179
  116. package/src/RedactoPrivacyCenter/components/ConsentManagerGroupedColumns.tsx +0 -318
  117. package/src/RedactoPrivacyCenter/components/ConsentManagerProductCards.tsx +0 -333
  118. package/src/RedactoPrivacyCenter/components/ConsentManagerPurposeCards.tsx +0 -102
  119. package/src/RedactoPrivacyCenter/components/ConsentManagerTableSkeleton.tsx +0 -159
  120. package/src/RedactoPrivacyCenter/components/DataRequest/CorrectionDataSection.tsx +0 -189
  121. package/src/RedactoPrivacyCenter/components/DataRequest/GrievanceDataSection.tsx +0 -118
  122. package/src/RedactoPrivacyCenter/components/DataRequest/NominationDataSection.tsx +0 -66
  123. package/src/RedactoPrivacyCenter/components/DataRequest/ProductSelectionSection.tsx +0 -222
  124. package/src/RedactoPrivacyCenter/components/DataRequest/PurposeSelectionSection.tsx +0 -331
  125. package/src/RedactoPrivacyCenter/components/Form.tsx +0 -1796
  126. package/src/RedactoPrivacyCenter/components/GrievanceTable.tsx +0 -174
  127. package/src/RedactoPrivacyCenter/components/GrievanceTablePagination.tsx +0 -337
  128. package/src/RedactoPrivacyCenter/components/ModifyConsentModal.tsx +0 -334
  129. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationBell.tsx +0 -173
  130. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationCTAButton.tsx +0 -18
  131. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationDropdown.tsx +0 -54
  132. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationDropdownItem.tsx +0 -57
  133. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationIcon.tsx +0 -19
  134. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationListPanel.tsx +0 -92
  135. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationRefreshButton.tsx +0 -20
  136. package/src/RedactoPrivacyCenter/components/NotificationHub/NotificationRow.tsx +0 -58
  137. package/src/RedactoPrivacyCenter/components/NotificationHub/StatCard.tsx +0 -10
  138. package/src/RedactoPrivacyCenter/components/NotificationHub/useNotificationActions.ts +0 -112
  139. package/src/RedactoPrivacyCenter/components/NotificationHub/utils.ts +0 -27
  140. package/src/RedactoPrivacyCenter/components/Pagination.tsx +0 -140
  141. package/src/RedactoPrivacyCenter/components/PrivacyCenterEmptyState.tsx +0 -76
  142. package/src/RedactoPrivacyCenter/components/PrivacyCenterSessionExpired.tsx +0 -97
  143. package/src/RedactoPrivacyCenter/components/ReceiptsList.tsx +0 -454
  144. package/src/RedactoPrivacyCenter/components/RequestSubmit.tsx +0 -270
  145. package/src/RedactoPrivacyCenter/components/SelectUser.tsx +0 -95
  146. package/src/RedactoPrivacyCenter/components/SelectUserGate.tsx +0 -187
  147. package/src/RedactoPrivacyCenter/components/SideMenuBarPC/constants.tsx +0 -25
  148. package/src/RedactoPrivacyCenter/components/SideMenuBarPC/types.ts +0 -21
  149. package/src/RedactoPrivacyCenter/components/caseHistoryColumns.tsx +0 -159
  150. package/src/RedactoPrivacyCenter/components/constant.ts +0 -52
  151. package/src/RedactoPrivacyCenter/components/groupHelpers.ts +0 -119
  152. package/src/RedactoPrivacyCenter/components/receiptColumns.tsx +0 -203
  153. package/src/RedactoPrivacyCenter/components/types.ts +0 -123
  154. package/src/RedactoPrivacyCenter/components/utils.tsx +0 -10
  155. package/src/RedactoPrivacyCenter/config/routes.ts +0 -9
  156. package/src/RedactoPrivacyCenter/config/table.ts +0 -25
  157. package/src/RedactoPrivacyCenter/context/AuthContext.tsx +0 -160
  158. package/src/RedactoPrivacyCenter/context/BaseUrlContext.tsx +0 -47
  159. package/src/RedactoPrivacyCenter/context/BrandingContext.tsx +0 -52
  160. package/src/RedactoPrivacyCenter/context/DataAvailabilityContext.session-expired.test.tsx +0 -92
  161. package/src/RedactoPrivacyCenter/context/DataAvailabilityContext.tsx +0 -181
  162. package/src/RedactoPrivacyCenter/context/LocaleContext.tsx +0 -11
  163. package/src/RedactoPrivacyCenter/context/NavigationContext.tsx +0 -96
  164. package/src/RedactoPrivacyCenter/context/OrganizationContext.tsx +0 -30
  165. package/src/RedactoPrivacyCenter/context/PageChromeContext.tsx +0 -80
  166. package/src/RedactoPrivacyCenter/context/ProfileSwitchContext.tsx +0 -15
  167. package/src/RedactoPrivacyCenter/context/types.ts +0 -19
  168. package/src/RedactoPrivacyCenter/lib/api.ts +0 -759
  169. package/src/RedactoPrivacyCenter/lib/consent-manager/utils.tsx +0 -67
  170. package/src/RedactoPrivacyCenter/lib/constants.ts +0 -276
  171. package/src/RedactoPrivacyCenter/lib/i18n.ts +0 -81
  172. package/src/RedactoPrivacyCenter/lib/locales.ts +0 -102
  173. package/src/RedactoPrivacyCenter/lib/queries.ts +0 -141
  174. package/src/RedactoPrivacyCenter/lib/types.ts +0 -876
  175. package/src/RedactoPrivacyCenter/lib/useCurrentLanguage.ts +0 -37
  176. package/src/RedactoPrivacyCenter/lib/utils.refresh-circuit.test.ts +0 -127
  177. package/src/RedactoPrivacyCenter/lib/utils.refresh-storage.test.ts +0 -85
  178. package/src/RedactoPrivacyCenter/lib/utils.session-expired.test.ts +0 -109
  179. package/src/RedactoPrivacyCenter/lib/utils.ts +0 -783
  180. package/src/RedactoPrivacyCenter/locales/as/translation.json +0 -342
  181. package/src/RedactoPrivacyCenter/locales/bn/translation.json +0 -342
  182. package/src/RedactoPrivacyCenter/locales/brx/translation.json +0 -342
  183. package/src/RedactoPrivacyCenter/locales/doi/translation.json +0 -342
  184. package/src/RedactoPrivacyCenter/locales/en/translation.json +0 -357
  185. package/src/RedactoPrivacyCenter/locales/gom/translation.json +0 -342
  186. package/src/RedactoPrivacyCenter/locales/gu/translation.json +0 -342
  187. package/src/RedactoPrivacyCenter/locales/hi/translation.json +0 -345
  188. package/src/RedactoPrivacyCenter/locales/kn/translation.json +0 -342
  189. package/src/RedactoPrivacyCenter/locales/ks/translation.json +0 -342
  190. package/src/RedactoPrivacyCenter/locales/mai/translation.json +0 -342
  191. package/src/RedactoPrivacyCenter/locales/ml/translation.json +0 -342
  192. package/src/RedactoPrivacyCenter/locales/mni-Mtei/translation.json +0 -342
  193. package/src/RedactoPrivacyCenter/locales/mr/translation.json +0 -342
  194. package/src/RedactoPrivacyCenter/locales/ne/translation.json +0 -342
  195. package/src/RedactoPrivacyCenter/locales/or/translation.json +0 -342
  196. package/src/RedactoPrivacyCenter/locales/pa/translation.json +0 -342
  197. package/src/RedactoPrivacyCenter/locales/sa/translation.json +0 -342
  198. package/src/RedactoPrivacyCenter/locales/sat/translation.json +0 -342
  199. package/src/RedactoPrivacyCenter/locales/sd/translation.json +0 -342
  200. package/src/RedactoPrivacyCenter/locales/ta/translation.json +0 -342
  201. package/src/RedactoPrivacyCenter/locales/te/translation.json +0 -342
  202. package/src/RedactoPrivacyCenter/locales/ur/translation.json +0 -342
  203. package/src/RedactoPrivacyCenter/styles/applyBrandingTheme.ts +0 -66
  204. package/src/RedactoPrivacyCenter/styles/base.css +0 -117
  205. package/src/RedactoPrivacyCenter/styles/injectStyles.ts +0 -3108
  206. package/src/RedactoPrivacyCenter/styles/pcStyles.ts +0 -831
  207. package/src/RedactoPrivacyCenter/styles/responsive.ts +0 -138
  208. package/src/RedactoPrivacyCenter/styles/variables.css +0 -96
  209. package/src/RedactoPrivacyCenter/table/AdvancedTable.tsx +0 -387
  210. package/src/RedactoPrivacyCenter/table/AdvancedTablePagination.tsx +0 -468
  211. package/src/RedactoPrivacyCenter/table/index.ts +0 -2
  212. package/src/RedactoPrivacyCenter/types/images.d.ts +0 -29
  213. package/src/RedactoPrivacyCenter/ui/Footer.tsx +0 -69
  214. package/src/RedactoPrivacyCenter/ui/FormBlockWrapper.tsx +0 -54
  215. package/src/RedactoPrivacyCenter/ui/PCAccordion.tsx +0 -93
  216. package/src/RedactoPrivacyCenter/ui/PCActionIcon.tsx +0 -47
  217. package/src/RedactoPrivacyCenter/ui/PCAvatar.test.tsx +0 -83
  218. package/src/RedactoPrivacyCenter/ui/PCAvatar.tsx +0 -93
  219. package/src/RedactoPrivacyCenter/ui/PCBadge.tsx +0 -48
  220. package/src/RedactoPrivacyCenter/ui/PCButton.tsx +0 -77
  221. package/src/RedactoPrivacyCenter/ui/PCCheckbox.tsx +0 -55
  222. package/src/RedactoPrivacyCenter/ui/PCCollapse.tsx +0 -107
  223. package/src/RedactoPrivacyCenter/ui/PCEmpty.tsx +0 -35
  224. package/src/RedactoPrivacyCenter/ui/PCInput.tsx +0 -132
  225. package/src/RedactoPrivacyCenter/ui/PCLoader.tsx +0 -31
  226. package/src/RedactoPrivacyCenter/ui/PCModal.tsx +0 -106
  227. package/src/RedactoPrivacyCenter/ui/PCPopover.tsx +0 -206
  228. package/src/RedactoPrivacyCenter/ui/PCSelect.tsx +0 -433
  229. package/src/RedactoPrivacyCenter/ui/PCTable.tsx +0 -149
  230. package/src/RedactoPrivacyCenter/ui/PCText.tsx +0 -41
  231. package/src/RedactoPrivacyCenter/ui/PCTextarea.tsx +0 -43
  232. package/src/RedactoPrivacyCenter/ui/PCTitle.tsx +0 -37
  233. package/src/RedactoPrivacyCenter/ui/PCTooltip.tsx +0 -121
  234. package/src/RedactoPrivacyCenter/ui/SimpleBar.tsx +0 -25
  235. package/src/RedactoPrivacyCenter/ui/StatusBadge.tsx +0 -53
  236. package/src/RedactoPrivacyCenter/ui/index.ts +0 -18
  237. package/src/RedactoPrivacyCenter/utils/cn.ts +0 -28
  238. package/src/RedactoPrivacyCenter/utils/date.ts +0 -48
  239. package/src/RedactoPrivacyCenter/utils/status.ts +0 -111
  240. package/src/RedactoPrivacyCenter/utils/toast.ts +0 -130
  241. package/src/index.ts +0 -19
  242. package/src/privacy-center.ts +0 -113
  243. package/src/shared/api-errors.ts +0 -180
  244. package/src/shared/notice-consent-status.ts +0 -190
  245. package/src/types/css.d.ts +0 -4
  246. package/src/types/images.d.ts +0 -19
  247. package/src/types/react-jsx.d.ts +0 -26
  248. package/tests/DataAvailabilityContext.test.tsx +0 -123
  249. package/tests/Form.test.tsx +0 -1287
  250. package/tests/ManageConsentErrorMapping.test.tsx +0 -85
  251. package/tests/ProductSelectionSection.test.tsx +0 -328
  252. package/tests/RequestSubmit.test.tsx +0 -135
  253. package/tests/RevocablePurpose.test.tsx +0 -146
  254. package/tests/RevokeWarningMessage.test.tsx +0 -151
  255. package/tests/consentClient.test.ts +0 -217
  256. package/tests/manageConsentServer.test.ts +0 -38
  257. package/tests/mocks.ts +0 -257
  258. package/tests/resolveContactFromJwt.test.ts +0 -44
  259. package/tests/setup.ts +0 -16
  260. package/tsconfig.json +0 -16
  261. package/tsup.config.ts +0 -31
  262. package/vitest.config.ts +0 -16
@@ -1,831 +0,0 @@
1
- /**
2
- * Privacy Center SDK Inline Styles
3
- *
4
- * All styles use CSS custom properties for theme support.
5
- * These styles are completely isolated and won't conflict with host app styles.
6
- */
7
-
8
- // Helper to get CSS variable value
9
- const getVar = (varName: string): string => `var(${varName})`;
10
-
11
- export const pcStyles = {
12
- // Layout utilities
13
- flex: {
14
- display: 'flex',
15
- },
16
- flexCol: {
17
- display: 'flex',
18
- flexDirection: 'column',
19
- },
20
- flexRow: {
21
- display: 'flex',
22
- flexDirection: 'row',
23
- },
24
- itemsCenter: {
25
- alignItems: 'center',
26
- },
27
- itemsStart: {
28
- alignItems: 'flex-start',
29
- },
30
- itemsEnd: {
31
- alignItems: 'flex-end',
32
- },
33
- justifyCenter: {
34
- justifyContent: 'center',
35
- },
36
- justifyBetween: {
37
- justifyContent: 'space-between',
38
- },
39
- justifyEnd: {
40
- justifyContent: 'flex-end',
41
- },
42
- justifyStart: {
43
- justifyContent: 'flex-start',
44
- },
45
- gapXs: {
46
- gap: getVar('--pc-spacing-xs'),
47
- },
48
- gapSm: {
49
- gap: getVar('--pc-spacing-sm'),
50
- },
51
- gapMd: {
52
- gap: getVar('--pc-spacing-md'),
53
- },
54
- gapLg: {
55
- gap: getVar('--pc-spacing-lg'),
56
- },
57
- gapXl: {
58
- gap: getVar('--pc-spacing-xl'),
59
- },
60
- wFull: {
61
- width: '100%',
62
- },
63
- hFull: {
64
- height: '100%',
65
- },
66
- wScreen: {
67
- width: '100vw',
68
- },
69
- hScreen: {
70
- height: '100vh',
71
- },
72
- textCenter: {
73
- textAlign: 'center',
74
- },
75
- textLeft: {
76
- textAlign: 'left',
77
- },
78
- textRight: {
79
- textAlign: 'right',
80
- },
81
- overflowHidden: {
82
- overflow: 'hidden',
83
- },
84
- overflowAuto: {
85
- overflow: 'auto',
86
- },
87
- overflowXAuto: {
88
- overflowX: 'auto',
89
- },
90
- overflowYAuto: {
91
- overflowY: 'auto',
92
- },
93
-
94
- // Typography
95
- text: {
96
- fontFamily: getVar('--pc-font-family'),
97
- fontSize: getVar('--pc-font-size-base'),
98
- lineHeight: 1.5,
99
- color: getVar('--pc-text-primary'),
100
- margin: 0,
101
- padding: 0,
102
- boxSizing: 'border-box',
103
- },
104
- textXs: {
105
- fontSize: getVar('--pc-font-size-xs'),
106
- },
107
- textSm: {
108
- fontSize: getVar('--pc-font-size-sm'),
109
- },
110
- textBase: {
111
- fontSize: getVar('--pc-font-size-base'),
112
- },
113
- textLg: {
114
- fontSize: getVar('--pc-font-size-lg'),
115
- },
116
- textXl: {
117
- fontSize: getVar('--pc-font-size-xl'),
118
- },
119
- text2xl: {
120
- fontSize: getVar('--pc-font-size-2xl'),
121
- },
122
- text3xl: {
123
- fontSize: getVar('--pc-font-size-3xl'),
124
- },
125
- fontWeightNormal: {
126
- fontWeight: getVar('--pc-font-weight-normal'),
127
- },
128
- fontWeightMedium: {
129
- fontWeight: getVar('--pc-font-weight-medium'),
130
- },
131
- fontWeightSemibold: {
132
- fontWeight: getVar('--pc-font-weight-semibold'),
133
- },
134
- fontWeightBold: {
135
- fontWeight: getVar('--pc-font-weight-bold'),
136
- },
137
- textPrimary: {
138
- color: getVar('--pc-text-primary'),
139
- },
140
- textSecondary: {
141
- color: getVar('--pc-text-secondary'),
142
- },
143
- textTertiary: {
144
- color: getVar('--pc-text-tertiary'),
145
- },
146
- textInverse: {
147
- color: getVar('--pc-text-inverse'),
148
- },
149
- textDisabled: {
150
- color: getVar('--pc-text-disabled'),
151
- },
152
-
153
- // Title styles
154
- title: {
155
- fontFamily: getVar('--pc-font-family'),
156
- fontWeight: getVar('--pc-font-weight-bold'),
157
- color: getVar('--pc-text-primary'),
158
- margin: 0,
159
- padding: 0,
160
- lineHeight: 1.2,
161
- },
162
- titleH1: {
163
- fontSize: getVar('--pc-font-size-3xl'),
164
- },
165
- titleH2: {
166
- fontSize: getVar('--pc-font-size-2xl'),
167
- },
168
- titleH3: {
169
- fontSize: getVar('--pc-font-size-xl'),
170
- },
171
- titleH4: {
172
- fontSize: getVar('--pc-font-size-lg'),
173
- },
174
- titleH5: {
175
- fontSize: getVar('--pc-font-size-base'),
176
- },
177
- titleH6: {
178
- fontSize: getVar('--pc-font-size-sm'),
179
- },
180
-
181
- // Button styles
182
- button: {
183
- fontFamily: getVar('--pc-font-family'),
184
- fontSize: getVar('--pc-font-size-base'),
185
- fontWeight: getVar('--pc-font-weight-medium'),
186
- borderRadius: getVar('--pc-border-radius-md'),
187
- padding: '0.4375rem 0.875rem',
188
- minHeight: '2.25rem',
189
- border: 'none',
190
- cursor: 'pointer',
191
- transition: getVar('--pc-transition-base'),
192
- display: 'inline-flex',
193
- alignItems: 'center',
194
- justifyContent: 'center',
195
- gap: getVar('--pc-spacing-sm'),
196
- boxSizing: 'border-box',
197
- outline: 'none',
198
- },
199
- buttonPrimary: {
200
- backgroundColor: getVar('--pc-primary'),
201
- color: getVar('--pc-text-inverse'),
202
- },
203
- buttonPrimaryHover: {
204
- backgroundColor: getVar('--pc-primary-hover'),
205
- },
206
- buttonSecondary: {
207
- backgroundColor: 'transparent',
208
- color: getVar('--pc-primary'),
209
- border: `1px solid ${getVar('--pc-primary')}`,
210
- },
211
- buttonOutline: {
212
- backgroundColor: 'transparent',
213
- border: `1px solid ${getVar('--pc-border-color')}`,
214
- color: getVar('--pc-text-primary'),
215
- },
216
- buttonText: {
217
- backgroundColor: 'transparent',
218
- border: 'none',
219
- color: getVar('--pc-primary'),
220
- padding: '0.125rem 0.375rem',
221
- minHeight: 'unset',
222
- },
223
- buttonDanger: {
224
- backgroundColor: getVar('--pc-error'),
225
- color: getVar('--pc-text-inverse'),
226
- },
227
- buttonSm: {
228
- fontSize: getVar('--pc-font-size-sm'),
229
- padding: '0.3125rem 0.625rem',
230
- minHeight: '2rem',
231
- },
232
- buttonLg: {
233
- fontSize: getVar('--pc-font-size-lg'),
234
- padding: '0.625rem 1.125rem',
235
- minHeight: '2.5rem',
236
- },
237
- buttonDisabled: {
238
- opacity: 0.5,
239
- cursor: 'not-allowed',
240
- pointerEvents: 'none',
241
- },
242
-
243
- // Input styles
244
- input: {
245
- fontFamily: getVar('--pc-font-family'),
246
- fontSize: getVar('--pc-font-size-base'),
247
- color: getVar('--pc-text-primary'),
248
- backgroundColor: getVar('--pc-bg-primary'),
249
- border: `1px solid ${getVar('--pc-border-color')}`,
250
- borderRadius: getVar('--pc-border-radius-md'),
251
- padding: '0.4375rem 0.625rem',
252
- minHeight: '2.25rem',
253
- width: '100%',
254
- boxSizing: 'border-box',
255
- outline: 'none',
256
- transition: getVar('--pc-transition-base'),
257
- },
258
- inputFocus: {
259
- borderColor: getVar('--pc-border-color'),
260
- boxShadow: 'none',
261
- outline: 'none',
262
- },
263
- inputDisabled: {
264
- backgroundColor: getVar('--pc-bg-tertiary'),
265
- color: getVar('--pc-text-disabled'),
266
- cursor: 'not-allowed',
267
- },
268
- inputError: {
269
- borderColor: getVar('--pc-error'),
270
- },
271
- inputSm: {
272
- fontSize: getVar('--pc-font-size-sm'),
273
- padding: '0.3125rem 0.5rem',
274
- minHeight: '2rem',
275
- },
276
- inputLg: {
277
- fontSize: getVar('--pc-font-size-lg'),
278
- padding: '0.625rem 0.875rem',
279
- minHeight: '2.5rem',
280
- },
281
- inputLabel: {
282
- display: 'block',
283
- fontSize: getVar('--pc-font-size-sm'),
284
- fontWeight: getVar('--pc-font-weight-medium'),
285
- color: getVar('--pc-text-primary'),
286
- marginBottom: getVar('--pc-spacing-xs'),
287
- },
288
- inputWrapper: {
289
- display: 'flex',
290
- flexDirection: 'column',
291
- width: '100%',
292
- },
293
- inputPrefix: {
294
- display: 'flex',
295
- alignItems: 'center',
296
- paddingLeft: getVar('--pc-spacing-sm'),
297
- paddingRight: getVar('--pc-spacing-sm'),
298
- color: getVar('--pc-text-secondary'),
299
- },
300
- inputSuffix: {
301
- display: 'flex',
302
- alignItems: 'center',
303
- paddingLeft: getVar('--pc-spacing-sm'),
304
- color: getVar('--pc-text-secondary'),
305
- },
306
- inputWithPrefix: {
307
- display: 'flex',
308
- alignItems: 'center',
309
- border: `1px solid ${getVar('--pc-border-color')}`,
310
- borderRadius: getVar('--pc-border-radius-md'),
311
- backgroundColor: getVar('--pc-bg-primary'),
312
- },
313
-
314
- // Textarea styles (extends input)
315
- textarea: {
316
- fontFamily: getVar('--pc-font-family'),
317
- fontSize: getVar('--pc-font-size-base'),
318
- color: getVar('--pc-text-primary'),
319
- backgroundColor: getVar('--pc-bg-primary'),
320
- border: `1px solid ${getVar('--pc-border-color')}`,
321
- borderRadius: getVar('--pc-border-radius-md'),
322
- padding: '0.5rem 0.625rem',
323
- width: '100%',
324
- minHeight: '90px',
325
- resize: 'vertical',
326
- boxSizing: 'border-box',
327
- outline: 'none',
328
- transition: getVar('--pc-transition-base'),
329
- },
330
-
331
- // Checkbox styles
332
- checkbox: {
333
- width: '20px',
334
- height: '20px',
335
- cursor: 'pointer',
336
- margin: 0,
337
- padding: 0,
338
- boxSizing: 'border-box',
339
- },
340
- checkboxSm: {
341
- width: '16px',
342
- height: '16px',
343
- },
344
- checkboxLabel: {
345
- display: 'flex',
346
- alignItems: 'center',
347
- gap: getVar('--pc-spacing-sm'),
348
- cursor: 'pointer',
349
- fontSize: getVar('--pc-font-size-base'),
350
- color: getVar('--pc-text-primary'),
351
- },
352
-
353
- // Select/Dropdown styles
354
- select: {
355
- fontFamily: getVar('--pc-font-family'),
356
- fontSize: getVar('--pc-font-size-base'),
357
- color: getVar('--pc-text-primary'),
358
- backgroundColor: getVar('--pc-bg-primary'),
359
- border: `1px solid ${getVar('--pc-border-color')}`,
360
- borderRadius: getVar('--pc-border-radius-md'),
361
- padding: '0.4375rem 0.625rem',
362
- minHeight: '2.25rem',
363
- width: '100%',
364
- cursor: 'pointer',
365
- boxSizing: 'border-box',
366
- outline: 'none',
367
- transition: getVar('--pc-transition-base'),
368
- },
369
- selectFocus: {
370
- borderColor: getVar('--pc-border-color-focus'),
371
- },
372
- selectOption: {
373
- padding: '0.4375rem 0.625rem',
374
- cursor: 'pointer',
375
- color: getVar('--pc-text-primary'),
376
- backgroundColor: getVar('--pc-bg-primary'),
377
- whiteSpace: 'nowrap',
378
- },
379
- selectOptionHover: {
380
- backgroundColor: getVar('--pc-bg-hover'),
381
- },
382
- selectDropdown: {
383
- position: 'absolute',
384
- left: 0,
385
- width: 'auto',
386
- minWidth: 'auto',
387
- maxWidth: 'max-content',
388
- backgroundColor: getVar('--pc-bg-primary'),
389
- border: `1px solid ${getVar('--pc-border-color')}`,
390
- borderRadius: getVar('--pc-border-radius-md'),
391
- boxShadow: getVar('--pc-shadow-lg'),
392
- zIndex: 1000,
393
- maxHeight: '300px',
394
- overflowY: 'auto',
395
- transition: 'background-color 0.3s ease, border-color 0.3s ease',
396
- boxSizing: 'border-box',
397
- },
398
-
399
- // Modal styles
400
- modalOverlay: {
401
- position: 'fixed',
402
- top: 0,
403
- left: 0,
404
- right: 0,
405
- bottom: 0,
406
- backgroundColor: getVar('--pc-bg-overlay'),
407
- display: 'flex',
408
- alignItems: 'center',
409
- justifyContent: 'center',
410
- zIndex: 1050,
411
- padding: getVar('--pc-spacing-md'),
412
- boxSizing: 'border-box',
413
- },
414
- modal: {
415
- backgroundColor: getVar('--pc-bg-primary'),
416
- borderRadius: getVar('--pc-border-radius-lg'),
417
- boxShadow: getVar('--pc-shadow-xl'),
418
- maxWidth: '90vw',
419
- maxHeight: '90vh',
420
- overflow: 'auto',
421
- position: 'relative',
422
- display: 'flex',
423
- flexDirection: 'column',
424
- boxSizing: 'border-box',
425
- },
426
- modalSm: {
427
- width: '400px',
428
- },
429
- modalMd: {
430
- width: '600px',
431
- },
432
- modalLg: {
433
- width: '800px',
434
- },
435
- modalXl: {
436
- width: '1000px',
437
- },
438
- modalHeader: {
439
- padding: getVar('--pc-spacing-lg'),
440
- borderBottom: `1px solid ${getVar('--pc-border-color')}`,
441
- display: 'flex',
442
- alignItems: 'center',
443
- justifyContent: 'space-between',
444
- },
445
- modalBody: {
446
- padding: getVar('--pc-spacing-lg'),
447
- flex: 1,
448
- overflow: 'auto',
449
- },
450
- modalFooter: {
451
- padding: getVar('--pc-spacing-lg'),
452
- borderTop: `1px solid ${getVar('--pc-border-color')}`,
453
- display: 'flex',
454
- alignItems: 'center',
455
- justifyContent: 'flex-end',
456
- gap: getVar('--pc-spacing-sm'),
457
- },
458
- modalCloseButton: {
459
- background: 'none',
460
- border: 'none',
461
- cursor: 'pointer',
462
- padding: getVar('--pc-spacing-xs'),
463
- color: getVar('--pc-text-secondary'),
464
- display: 'flex',
465
- alignItems: 'center',
466
- justifyContent: 'center',
467
- borderRadius: getVar('--pc-border-radius-sm'),
468
- },
469
-
470
- // Table styles
471
- table: {
472
- width: '100%',
473
- borderCollapse: 'collapse',
474
- fontFamily: getVar('--pc-font-family'),
475
- fontSize: getVar('--pc-font-size-base'),
476
- },
477
- tableHeader: {
478
- backgroundColor: getVar('--pc-bg-secondary'),
479
- },
480
- tableHeaderCell: {
481
- padding: '0.625rem 0.75rem',
482
- textAlign: 'left',
483
- fontSize: getVar('--pc-font-size-sm'),
484
- fontWeight: getVar('--pc-font-weight-medium'),
485
- color: getVar('--pc-text-primary'),
486
- borderBottom: `1px solid ${getVar('--pc-border-color')}`,
487
- },
488
- tableRow: {
489
- borderBottom: `1px solid ${getVar('--pc-border-color')}`,
490
- transition: getVar('--pc-transition-fast'),
491
- },
492
- tableRowHover: {
493
- backgroundColor: getVar('--pc-bg-hover'),
494
- },
495
- tableCell: {
496
- padding: '0.625rem 0.75rem',
497
- fontSize: getVar('--pc-font-size-sm'),
498
- color: getVar('--pc-text-primary'),
499
- },
500
-
501
- // Badge styles — pill-shaped, light bg matching text, no border, generous padding (reference style)
502
- badge: {
503
- display: 'inline-flex',
504
- alignItems: 'center',
505
- justifyContent: 'center',
506
- padding: '0.25rem 0.625rem',
507
- borderRadius: '9999px',
508
- fontSize: getVar('--pc-font-size-xs'),
509
- fontWeight: 600,
510
- lineHeight: 1,
511
- boxSizing: 'border-box',
512
- minWidth: 0,
513
- },
514
- badgeSuccess: {
515
- backgroundColor: 'rgba(16, 185, 129, 0.1)',
516
- color: getVar('--pc-success'),
517
- },
518
- badgeError: {
519
- backgroundColor: 'rgba(239, 68, 68, 0.1)',
520
- color: getVar('--pc-error'),
521
- },
522
- badgeWarning: {
523
- backgroundColor: 'rgba(245, 158, 11, 0.1)',
524
- color: getVar('--pc-warning'),
525
- },
526
- badgeInfo: {
527
- backgroundColor: 'rgba(59, 130, 246, 0.1)',
528
- color: getVar('--pc-info'),
529
- },
530
- badgeSecondary: {
531
- backgroundColor: getVar('--pc-bg-tertiary'),
532
- color: getVar('--pc-text-primary'),
533
- },
534
- badgeSm: {
535
- fontSize: '0.75rem',
536
- padding: '0.1875rem 0.5rem',
537
- },
538
-
539
- // Loader/Spinner styles
540
- loader: {
541
- display: 'inline-block',
542
- border: '3px solid',
543
- borderColor: `${getVar('--pc-border-color')} transparent ${getVar('--pc-border-color')} transparent`,
544
- borderRadius: '50%',
545
- animation: 'pc-spin 1s linear infinite',
546
- },
547
- loaderSm: {
548
- width: '16px',
549
- height: '16px',
550
- borderWidth: '2px',
551
- },
552
- loaderMd: {
553
- width: '24px',
554
- height: '24px',
555
- borderWidth: '3px',
556
- },
557
- loaderLg: {
558
- width: '40px',
559
- height: '40px',
560
- borderWidth: '4px',
561
- },
562
- loaderPrimary: {
563
- borderColor: `${getVar('--pc-primary')} transparent ${getVar('--pc-primary')} transparent`,
564
- },
565
- loaderInfo: {
566
- borderColor: `${getVar('--pc-info')} transparent ${getVar('--pc-info')} transparent`,
567
- },
568
-
569
- // Tooltip styles
570
- tooltip: {
571
- position: 'absolute',
572
- backgroundColor: '#1f2937',
573
- color: '#ffffff',
574
- padding: '0.5rem 0.75rem',
575
- borderRadius: getVar('--pc-border-radius-md'),
576
- fontSize: getVar('--pc-font-size-sm'),
577
- zIndex: 1070,
578
- pointerEvents: 'none',
579
- whiteSpace: 'nowrap',
580
- boxShadow: getVar('--pc-shadow-lg'),
581
- },
582
- tooltipArrow: {
583
- position: 'absolute',
584
- width: 0,
585
- height: 0,
586
- borderStyle: 'solid',
587
- },
588
-
589
- // ActionIcon styles
590
- actionIcon: {
591
- display: 'inline-flex',
592
- alignItems: 'center',
593
- justifyContent: 'center',
594
- padding: getVar('--pc-spacing-xs'),
595
- borderRadius: getVar('--pc-border-radius-sm'),
596
- cursor: 'pointer',
597
- border: 'none',
598
- backgroundColor: 'transparent',
599
- color: getVar('--pc-text-primary'),
600
- transition: getVar('--pc-transition-fast'),
601
- },
602
- actionIconHover: {
603
- backgroundColor: getVar('--pc-bg-hover'),
604
- },
605
- actionIconSm: {
606
- padding: '0.1875rem',
607
- width: '22px',
608
- height: '22px',
609
- },
610
- actionIconMd: {
611
- padding: '0.25rem',
612
- width: '28px',
613
- height: '28px',
614
- },
615
- actionIconOutline: {
616
- border: `1px solid ${getVar('--pc-border-color')}`,
617
- },
618
- actionIconDisabled: {
619
- opacity: 0.5,
620
- cursor: 'not-allowed',
621
- },
622
-
623
- // Accordion styles
624
- accordion: {
625
- border: `1px solid ${getVar('--pc-border-color')}`,
626
- borderRadius: getVar('--pc-border-radius-md'),
627
- overflow: 'hidden',
628
- },
629
- accordionHeader: {
630
- padding: getVar('--pc-spacing-md'),
631
- backgroundColor: getVar('--pc-bg-primary'),
632
- cursor: 'pointer',
633
- display: 'flex',
634
- alignItems: 'center',
635
- justifyContent: 'space-between',
636
- transition: getVar('--pc-transition-base'),
637
- },
638
- accordionHeaderHover: {
639
- backgroundColor: getVar('--pc-bg-hover'),
640
- },
641
- accordionBody: {
642
- padding: getVar('--pc-spacing-md'),
643
- backgroundColor: getVar('--pc-bg-secondary'),
644
- borderTop: `1px solid ${getVar('--pc-border-color')}`,
645
- },
646
-
647
- // Avatar styles
648
- avatar: {
649
- display: 'inline-flex',
650
- alignItems: 'center',
651
- justifyContent: 'center',
652
- borderRadius: '50%',
653
- backgroundColor: getVar('--pc-primary'),
654
- color: getVar('--pc-text-inverse'),
655
- fontWeight: getVar('--pc-font-weight-semibold'),
656
- },
657
- avatarSm: {
658
- width: '24px',
659
- height: '24px',
660
- fontSize: getVar('--pc-font-size-xs'),
661
- },
662
- avatarMd: {
663
- width: '32px',
664
- height: '32px',
665
- fontSize: getVar('--pc-font-size-sm'),
666
- },
667
- avatarLg: {
668
- width: '48px',
669
- height: '48px',
670
- fontSize: getVar('--pc-font-size-base'),
671
- },
672
- // Image avatars (org logos) must NOT sit on the brand-colour fill `avatar` sets:
673
- // --pc-info resolves to the org's own primary colour, so a brand-coloured mark on a
674
- // transparent background would be invisible against it. Neutral surface + hairline
675
- // border instead. border-box keeps the rendered box at the exact avatarSm/Md/Lg size.
676
- avatarImage: {
677
- backgroundColor: getVar('--pc-bg-shell'),
678
- border: `1px solid ${getVar('--pc-border-color')}`,
679
- boxSizing: 'border-box',
680
- objectFit: 'contain',
681
- padding: '3px',
682
- },
683
- // For an image avatar inside a control that already draws the ring and surface
684
- // (the navbar avatar button) — otherwise the two rings nest as concentric circles.
685
- avatarImageBare: {
686
- backgroundColor: 'transparent',
687
- border: 'none',
688
- },
689
-
690
- // Empty state styles
691
- empty: {
692
- display: 'flex',
693
- flexDirection: 'column',
694
- alignItems: 'center',
695
- justifyContent: 'center',
696
- padding: getVar('--pc-spacing-2xl'),
697
- color: getVar('--pc-text-secondary'),
698
- textAlign: 'center',
699
- },
700
- emptyIcon: {
701
- fontSize: getVar('--pc-font-size-3xl'),
702
- marginBottom: getVar('--pc-spacing-md'),
703
- opacity: 0.5,
704
- },
705
- emptyText: {
706
- fontSize: getVar('--pc-font-size-base'),
707
- color: getVar('--pc-text-secondary'),
708
- },
709
-
710
- // Container styles
711
- container: {
712
- width: '100%',
713
- maxWidth: '100%',
714
- marginLeft: 'auto',
715
- marginRight: 'auto',
716
- paddingLeft: getVar('--pc-spacing-md'),
717
- paddingRight: getVar('--pc-spacing-md'),
718
- },
719
- containerSm: {
720
- maxWidth: '640px',
721
- },
722
- containerMd: {
723
- maxWidth: '768px',
724
- },
725
- containerLg: {
726
- maxWidth: '1024px',
727
- },
728
- containerXl: {
729
- maxWidth: '1280px',
730
- },
731
-
732
- // Card styles
733
- card: {
734
- backgroundColor: getVar('--pc-bg-primary'),
735
- borderRadius: getVar('--pc-border-radius-lg'),
736
- boxShadow: getVar('--pc-shadow-sm'),
737
- padding: getVar('--pc-spacing-lg'),
738
- border: `1px solid ${getVar('--pc-border-color')}`,
739
- },
740
-
741
- // Spacing utilities
742
- pXs: { padding: getVar('--pc-spacing-xs') },
743
- pSm: { padding: getVar('--pc-spacing-sm') },
744
- pMd: { padding: getVar('--pc-spacing-md') },
745
- pLg: { padding: getVar('--pc-spacing-lg') },
746
- pXl: { padding: getVar('--pc-spacing-xl') },
747
- pxXs: { paddingLeft: getVar('--pc-spacing-xs'), paddingRight: getVar('--pc-spacing-xs') },
748
- pxSm: { paddingLeft: getVar('--pc-spacing-sm'), paddingRight: getVar('--pc-spacing-sm') },
749
- pxMd: { paddingLeft: getVar('--pc-spacing-md'), paddingRight: getVar('--pc-spacing-md') },
750
- pxLg: { paddingLeft: getVar('--pc-spacing-lg'), paddingRight: getVar('--pc-spacing-lg') },
751
- pyXs: { paddingTop: getVar('--pc-spacing-xs'), paddingBottom: getVar('--pc-spacing-xs') },
752
- pySm: { paddingTop: getVar('--pc-spacing-sm'), paddingBottom: getVar('--pc-spacing-sm') },
753
- pyMd: { paddingTop: getVar('--pc-spacing-md'), paddingBottom: getVar('--pc-spacing-md') },
754
- pyLg: { paddingTop: getVar('--pc-spacing-lg'), paddingBottom: getVar('--pc-spacing-lg') },
755
- mXs: { margin: getVar('--pc-spacing-xs') },
756
- mSm: { margin: getVar('--pc-spacing-sm') },
757
- mMd: { margin: getVar('--pc-spacing-md') },
758
- mLg: { margin: getVar('--pc-spacing-lg') },
759
- mXl: { margin: getVar('--pc-spacing-xl') },
760
- mbXs: { marginBottom: getVar('--pc-spacing-xs') },
761
- mbSm: { marginBottom: getVar('--pc-spacing-sm') },
762
- mbMd: { marginBottom: getVar('--pc-spacing-md') },
763
- mbLg: { marginBottom: getVar('--pc-spacing-lg') },
764
- mtXs: { marginTop: getVar('--pc-spacing-xs') },
765
- mtSm: { marginTop: getVar('--pc-spacing-sm') },
766
- mtMd: { marginTop: getVar('--pc-spacing-md') },
767
- mtLg: { marginTop: getVar('--pc-spacing-lg') },
768
- mxXs: { marginLeft: getVar('--pc-spacing-xs'), marginRight: getVar('--pc-spacing-xs') },
769
- mxSm: { marginLeft: getVar('--pc-spacing-sm'), marginRight: getVar('--pc-spacing-sm') },
770
- mxMd: { marginLeft: getVar('--pc-spacing-md'), marginRight: getVar('--pc-spacing-md') },
771
- myXs: { marginTop: getVar('--pc-spacing-xs'), marginBottom: getVar('--pc-spacing-xs') },
772
- mySm: { marginTop: getVar('--pc-spacing-sm'), marginBottom: getVar('--pc-spacing-sm') },
773
- myMd: { marginTop: getVar('--pc-spacing-md'), marginBottom: getVar('--pc-spacing-md') },
774
- mlXs: { marginLeft: getVar('--pc-spacing-xs') },
775
- mlSm: { marginLeft: getVar('--pc-spacing-sm') },
776
- mlMd: { marginLeft: getVar('--pc-spacing-md') },
777
- mlLg: { marginLeft: getVar('--pc-spacing-lg') },
778
- mrXs: { marginRight: getVar('--pc-spacing-xs') },
779
- mrSm: { marginRight: getVar('--pc-spacing-sm') },
780
- mrMd: { marginRight: getVar('--pc-spacing-md') },
781
- mrLg: { marginRight: getVar('--pc-spacing-lg') },
782
- ptXs: { paddingTop: getVar('--pc-spacing-xs') },
783
- ptSm: { paddingTop: getVar('--pc-spacing-sm') },
784
- ptMd: { paddingTop: getVar('--pc-spacing-md') },
785
- ptLg: { paddingTop: getVar('--pc-spacing-lg') },
786
- pbXs: { paddingBottom: getVar('--pc-spacing-xs') },
787
- pbSm: { paddingBottom: getVar('--pc-spacing-sm') },
788
- pbMd: { paddingBottom: getVar('--pc-spacing-md') },
789
- pbLg: { paddingBottom: getVar('--pc-spacing-lg') },
790
- plXs: { paddingLeft: getVar('--pc-spacing-xs') },
791
- plSm: { paddingLeft: getVar('--pc-spacing-sm') },
792
- plMd: { paddingLeft: getVar('--pc-spacing-md') },
793
- plLg: { paddingLeft: getVar('--pc-spacing-lg') },
794
- prXs: { paddingRight: getVar('--pc-spacing-xs') },
795
- prSm: { paddingRight: getVar('--pc-spacing-sm') },
796
- prMd: { paddingRight: getVar('--pc-spacing-md') },
797
- prLg: { paddingRight: getVar('--pc-spacing-lg') },
798
-
799
- // Border radius
800
- borderRadiusSm: getVar('--pc-border-radius-sm'),
801
- borderRadiusMd: getVar('--pc-border-radius-md'),
802
- borderRadiusLg: getVar('--pc-border-radius-lg'),
803
- borderRadiusXl: getVar('--pc-border-radius-xl'),
804
- borderRadius2xl: getVar('--pc-border-radius-2xl'),
805
- borderRadius3xl: getVar('--pc-border-radius-3xl'),
806
-
807
- // Border color
808
- borderColor: getVar('--pc-border-color'),
809
- borderColorHover: getVar('--pc-border-color-hover'),
810
- borderColorFocus: getVar('--pc-border-color-focus'),
811
-
812
- // Shadow
813
- shadowSm: getVar('--pc-shadow-sm'),
814
- shadowMd: getVar('--pc-shadow-md'),
815
- shadowLg: getVar('--pc-shadow-lg'),
816
- shadowXl: getVar('--pc-shadow-xl'),
817
-
818
- // Background utilities
819
- bgPrimary: { backgroundColor: getVar('--pc-bg-primary') },
820
- bgSecondary: { backgroundColor: getVar('--pc-bg-secondary') },
821
- bgTertiary: { backgroundColor: getVar('--pc-bg-tertiary') },
822
-
823
- // Warning styles
824
- warningBg: getVar('--pc-warning-bg'),
825
- warningBorder: getVar('--pc-warning-border'),
826
- warningText: getVar('--pc-warning-text'),
827
-
828
- // Color utilities
829
- primary: getVar('--pc-primary'),
830
- success: getVar('--pc-success'),
831
- } as const;