@jmruthers/pace-core 0.6.6 → 0.6.8

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 (292) hide show
  1. package/{scripts/audit/audit-dependencies.cjs → audit-tool/00-dependencies.cjs} +227 -22
  2. package/audit-tool/audits/01-pace-core-compliance.cjs +556 -0
  3. package/audit-tool/audits/02-project-structure.cjs +240 -0
  4. package/audit-tool/audits/03-architecture.cjs +224 -0
  5. package/audit-tool/audits/04-code-quality.cjs +149 -0
  6. package/audit-tool/audits/05-styling.cjs +224 -0
  7. package/audit-tool/audits/06-security-rbac.cjs +554 -0
  8. package/audit-tool/audits/07-api-tech-stack.cjs +355 -0
  9. package/audit-tool/audits/08-testing-documentation.cjs +202 -0
  10. package/audit-tool/audits/09-operations.cjs +208 -0
  11. package/audit-tool/index.cjs +295 -0
  12. package/audit-tool/utils/code-utils.cjs +218 -0
  13. package/audit-tool/utils/file-utils.cjs +230 -0
  14. package/audit-tool/utils/report-utils.cjs +380 -0
  15. package/cursor-rules/00-standards-overview.mdc +156 -0
  16. package/cursor-rules/{00-pace-core-compliance.mdc → 01-pace-core-compliance.mdc} +187 -34
  17. package/cursor-rules/02-project-structure.mdc +37 -5
  18. package/cursor-rules/{03-solid-principles.mdc → 03-architecture.mdc} +125 -11
  19. package/cursor-rules/04-code-quality.mdc +419 -0
  20. package/cursor-rules/{08-markup-quality.mdc → 05-styling.mdc} +55 -10
  21. package/cursor-rules/{09-rbac-compliance.mdc → 06-security-rbac.mdc} +62 -6
  22. package/cursor-rules/07-api-tech-stack.mdc +377 -0
  23. package/cursor-rules/08-testing-documentation.mdc +324 -0
  24. package/cursor-rules/09-operations.mdc +365 -0
  25. package/dist/DataTable-6RMSCQJ6.js +15 -0
  26. package/dist/{DataTable-2N_tqbfq.d.ts → DataTable-DRUIgtUH.d.ts} +1 -1
  27. package/dist/{PublicPageProvider-BBH6Vqg7.d.ts → PublicPageProvider-CIGSujI2.d.ts} +40 -24
  28. package/dist/{UnifiedAuthProvider-ZT6TIGM7.js → UnifiedAuthProvider-7SNDOWYD.js} +2 -2
  29. package/dist/{api-Y4MQWOFW.js → api-7P7DI652.js} +1 -1
  30. package/dist/{chunk-MAGBIDNS.js → chunk-4DDCYDQ3.js} +8 -7
  31. package/dist/{chunk-BVP2BCJF.js → chunk-5W2A3DRC.js} +10 -9
  32. package/dist/{chunk-SD6WQY43.js → chunk-7ILTDCL2.js} +9 -1
  33. package/dist/{chunk-3QC3KRHK.js → chunk-A3W6LW53.js} +16 -1
  34. package/dist/{chunk-3O3WHILE.js → chunk-EF2UGZWY.js} +239 -63
  35. package/dist/{chunk-LAZMKTTF.js → chunk-EURB7QFZ.js} +341 -337
  36. package/dist/{chunk-2HGJFNAH.js → chunk-FEJLJNWA.js} +1 -15
  37. package/dist/{chunk-7TYHROIV.js → chunk-GS5672WG.js} +55 -13
  38. package/dist/{chunk-UIYSCEV7.js → chunk-IUBRCBSY.js} +1 -1
  39. package/dist/{chunk-ZFYPMX46.js → chunk-LX6U42O3.js} +1 -1
  40. package/dist/{chunk-FENMYN2U.js → chunk-MPBLMWVR.js} +3 -3
  41. package/dist/{chunk-ZS5VO5JB.js → chunk-NKHKXPI4.js} +408 -453
  42. package/dist/{chunk-A55DK444.js → chunk-OJ4SKRSV.js} +1 -7
  43. package/dist/{chunk-4T7OBVTU.js → chunk-S6ZQKDY6.js} +1 -1
  44. package/dist/{chunk-FTCRZOG2.js → chunk-T5CVK4R3.js} +5 -5
  45. package/dist/{chunk-OHIK3MIO.js → chunk-Z2FNRKF3.js} +13 -13
  46. package/dist/components.d.ts +5 -4
  47. package/dist/components.js +29 -34
  48. package/dist/eslint-rules/index.cjs +22 -9
  49. package/{src/eslint-rules/rules/compliance.cjs → dist/eslint-rules/rules/01-pace-core-compliance.cjs} +184 -23
  50. package/dist/eslint-rules/rules/04-code-quality.cjs +346 -0
  51. package/dist/eslint-rules/rules/05-styling.cjs +61 -0
  52. package/dist/eslint-rules/rules/{rbac.cjs → 06-security-rbac.cjs} +34 -13
  53. package/dist/eslint-rules/rules/07-api-tech-stack.cjs +385 -0
  54. package/dist/eslint-rules/rules/08-testing.cjs +94 -0
  55. package/dist/{functions-DHebl8-F.d.ts → functions-lBy5L2ry.d.ts} +1 -1
  56. package/dist/hooks.d.ts +5 -5
  57. package/dist/hooks.js +8 -8
  58. package/dist/index.d.ts +7 -7
  59. package/dist/index.js +21 -20
  60. package/dist/providers.js +2 -2
  61. package/dist/rbac/index.d.ts +1 -1
  62. package/dist/rbac/index.js +8 -8
  63. package/dist/theming/runtime.d.ts +61 -1
  64. package/dist/theming/runtime.js +1 -1
  65. package/dist/{types-B-K_5VnO.d.ts → types-DXstZpNI.d.ts} +0 -17
  66. package/dist/types.d.ts +2 -2
  67. package/dist/{usePublicRouteParams-COZ28Mvq.d.ts → usePublicRouteParams-MamNgwqe.d.ts} +19 -19
  68. package/dist/utils.d.ts +2 -2
  69. package/dist/utils.js +8 -8
  70. package/docs/README.md +1 -1
  71. package/docs/api/modules.md +106 -41
  72. package/docs/api-reference/components.md +18 -20
  73. package/docs/api-reference/hooks.md +80 -80
  74. package/docs/api-reference/types.md +1 -1
  75. package/docs/api-reference/utilities.md +1 -1
  76. package/docs/architecture/README.md +1 -1
  77. package/docs/core-concepts/events.md +3 -3
  78. package/docs/core-concepts/organisations.md +6 -6
  79. package/docs/core-concepts/permissions.md +6 -6
  80. package/docs/documentation-index.md +12 -18
  81. package/docs/getting-started/dependencies.md +23 -0
  82. package/docs/getting-started/documentation-index.md +1 -1
  83. package/docs/getting-started/examples/README.md +4 -4
  84. package/docs/getting-started/examples/full-featured-app.md +1 -1
  85. package/docs/getting-started/faq.md +2 -2
  86. package/docs/getting-started/quick-reference.md +4 -4
  87. package/docs/implementation-guides/app-layout.md +1 -1
  88. package/docs/implementation-guides/authentication.md +15 -15
  89. package/docs/implementation-guides/component-styling.md +1 -1
  90. package/docs/implementation-guides/data-tables.md +127 -34
  91. package/docs/implementation-guides/datatable-rbac-usage.md +1 -1
  92. package/docs/implementation-guides/dynamic-colors.md +3 -3
  93. package/docs/implementation-guides/file-upload-storage.md +2 -2
  94. package/docs/implementation-guides/hierarchical-datatable.md +40 -60
  95. package/docs/implementation-guides/inactivity-tracking.md +3 -3
  96. package/docs/implementation-guides/large-datasets.md +3 -2
  97. package/docs/implementation-guides/organisation-security.md +2 -2
  98. package/docs/implementation-guides/performance.md +2 -2
  99. package/docs/implementation-guides/permission-enforcement.md +1 -1
  100. package/docs/migration/V0.3.44_organisation-context-timing-fix.md +1 -1
  101. package/docs/migration/V0.4.0_rbac-migration.md +6 -6
  102. package/docs/rbac/README.md +5 -5
  103. package/docs/rbac/advanced-patterns.md +6 -6
  104. package/docs/rbac/api-reference.md +20 -20
  105. package/docs/rbac/event-based-apps.md +3 -3
  106. package/docs/rbac/examples.md +41 -41
  107. package/docs/rbac/getting-started.md +37 -37
  108. package/docs/rbac/performance.md +1 -1
  109. package/docs/rbac/quick-start.md +52 -52
  110. package/docs/rbac/secure-client-protection.md +1 -1
  111. package/docs/rbac/troubleshooting.md +1 -1
  112. package/docs/security/README.md +5 -5
  113. package/docs/standards/0-standards-overview.md +220 -0
  114. package/docs/standards/{00-pace-core-compliance.md → 1-pace-core-compliance-standards.md} +241 -185
  115. package/docs/standards/{02-project-structure.md → 2-project-structure-standards.md} +11 -47
  116. package/docs/standards/3-architecture-standards.md +606 -0
  117. package/docs/standards/4-code-quality-standards.md +728 -0
  118. package/docs/standards/{08-markup-quality.md → 5-styling-standards.md} +12 -9
  119. package/docs/standards/{09-rbac-compliance.md → 6-security-rbac-standards.md} +126 -18
  120. package/docs/standards/7-api-tech-stack-standards.md +662 -0
  121. package/docs/standards/8-testing-documentation-standards.md +401 -0
  122. package/docs/standards/9-operations-standards.md +1102 -0
  123. package/docs/standards/README.md +203 -104
  124. package/docs/troubleshooting/README.md +4 -4
  125. package/docs/troubleshooting/common-issues.md +2 -2
  126. package/docs/troubleshooting/debugging.md +9 -9
  127. package/docs/troubleshooting/migration.md +4 -4
  128. package/eslint-config-pace-core.cjs +50 -20
  129. package/package.json +50 -19
  130. package/scripts/eslint-audit.cjs +123 -0
  131. package/scripts/install-cursor-rules.cjs +11 -243
  132. package/scripts/install-eslint-config.cjs +349 -0
  133. package/scripts/validate-dependencies.cjs +248 -0
  134. package/src/__tests__/helpers/__tests__/component-test-utils.test.tsx +2 -2
  135. package/src/__tests__/helpers/__tests__/test-providers.test.tsx +2 -2
  136. package/src/__tests__/helpers/__tests__/test-utils.test.tsx +30 -18
  137. package/src/__tests__/integration/UserProfile.test.tsx +14 -14
  138. package/src/__tests__/rbac/PagePermissionGuard.test.tsx +6 -6
  139. package/src/__tests__/templates/accessibility.test.template.tsx +10 -9
  140. package/src/__tests__/templates/component.test.template.tsx +18 -15
  141. package/src/components/AddressField/AddressField.tsx +26 -1
  142. package/src/components/Alert/Alert.test.tsx +86 -22
  143. package/src/components/Alert/Alert.tsx +19 -11
  144. package/src/components/Badge/Badge.tsx +1 -1
  145. package/src/components/Calendar/Calendar.tsx +201 -47
  146. package/src/components/Checkbox/Checkbox.test.tsx +2 -1
  147. package/src/components/ContextSelector/ContextSelector.tsx +108 -126
  148. package/src/components/DataTable/AUDIT_REPORT.md +293 -0
  149. package/src/components/DataTable/DataTable.tsx +1 -19
  150. package/src/components/DataTable/__tests__/DataTableCore.test.tsx +6 -2
  151. package/src/components/DataTable/__tests__/a11y.basic.test.tsx +21 -6
  152. package/src/components/DataTable/__tests__/pagination.modes.test.tsx +3 -2
  153. package/src/components/DataTable/__tests__/test-utils/sharedTestUtils.tsx +9 -9
  154. package/src/components/DataTable/components/ColumnFilter.tsx +63 -74
  155. package/src/components/DataTable/components/ColumnVisibilityDropdown.tsx +43 -41
  156. package/src/components/DataTable/components/DataTableErrorBoundary.tsx +9 -11
  157. package/src/components/DataTable/components/DataTableLayout.tsx +5 -16
  158. package/src/components/DataTable/components/EditableRow.tsx +5 -7
  159. package/src/components/DataTable/components/EmptyState.tsx +11 -10
  160. package/src/components/DataTable/components/FilterRow.tsx +2 -4
  161. package/src/components/DataTable/components/ImportModal.tsx +124 -126
  162. package/src/components/DataTable/components/LoadingState.tsx +5 -6
  163. package/src/components/DataTable/components/SortIndicator.tsx +50 -0
  164. package/src/components/DataTable/components/__tests__/COVERAGE_NOTE.md +4 -4
  165. package/src/components/DataTable/components/__tests__/ColumnFilter.test.tsx +23 -82
  166. package/src/components/DataTable/components/__tests__/DataTableErrorBoundary.test.tsx +37 -9
  167. package/src/components/DataTable/components/__tests__/EmptyState.test.tsx +7 -4
  168. package/src/components/DataTable/components/__tests__/FilterRow.test.tsx +12 -4
  169. package/src/components/DataTable/components/__tests__/LoadingState.test.tsx +45 -27
  170. package/src/components/DataTable/components/index.ts +2 -1
  171. package/src/components/DataTable/types.ts +0 -18
  172. package/src/components/DataTable/utils/a11yUtils.ts +17 -0
  173. package/src/components/DatePickerWithTimezone/DatePickerWithTimezone.test.tsx +1 -1
  174. package/src/components/DatePickerWithTimezone/DatePickerWithTimezone.tsx +11 -15
  175. package/src/components/DateTimeField/DateTimeField.tsx +7 -8
  176. package/src/components/Dialog/Dialog.test.tsx +1 -0
  177. package/src/components/Dialog/Dialog.tsx +25 -8
  178. package/src/components/ErrorBoundary/ErrorBoundary.tsx +77 -79
  179. package/src/components/FileUpload/FileUpload.test.tsx +45 -16
  180. package/src/components/FileUpload/FileUpload.tsx +141 -130
  181. package/src/components/NavigationMenu/NavigationMenu.test.tsx +48 -12
  182. package/src/components/PaceAppLayout/PaceAppLayout.performance.test.tsx +9 -9
  183. package/src/components/PaceAppLayout/PaceAppLayout.security.test.tsx +30 -30
  184. package/src/components/PaceAppLayout/PaceAppLayout.test.tsx +4 -4
  185. package/src/components/PaceLoginPage/PaceLoginPage.test.tsx +7 -1
  186. package/src/components/Progress/Progress.tsx +2 -4
  187. package/src/components/ProtectedRoute/ProtectedRoute.tsx +8 -8
  188. package/src/components/Select/Select.tsx +86 -77
  189. package/src/components/Select/types.ts +3 -0
  190. package/src/hooks/__tests__/ServiceHooks.test.tsx +16 -16
  191. package/src/hooks/__tests__/hooks.integration.test.tsx +49 -49
  192. package/src/hooks/__tests__/useDataTablePerformance.unit.test.ts +8 -5
  193. package/src/hooks/__tests__/useFileUrl.unit.test.ts +4 -0
  194. package/src/hooks/__tests__/useFocusTrap.unit.test.tsx +99 -99
  195. package/src/hooks/__tests__/useInactivityTracker.unit.test.ts +45 -8
  196. package/src/hooks/__tests__/usePerformanceMonitor.unit.test.ts +22 -2
  197. package/src/hooks/public/usePublicEvent.ts +5 -5
  198. package/src/hooks/public/usePublicEventLogo.ts +5 -5
  199. package/src/hooks/public/usePublicFileDisplay.ts +2 -2
  200. package/src/hooks/public/usePublicRouteParams.ts +13 -9
  201. package/src/hooks/useAddressAutocomplete.test.ts +18 -18
  202. package/src/hooks/useAppConfig.ts +2 -2
  203. package/src/hooks/useEventTheme.test.ts +7 -7
  204. package/src/hooks/useEventTheme.ts +2 -1
  205. package/src/hooks/useFileDisplay.ts +2 -2
  206. package/src/hooks/useFileUrl.ts +52 -8
  207. package/src/hooks/useOrganisationSecurity.test.ts +2 -1
  208. package/src/providers/UnifiedAuthProvider.smoke.test.tsx +21 -21
  209. package/src/providers/__tests__/AuthProvider.test.tsx +21 -21
  210. package/src/providers/__tests__/EventProvider.test.tsx +61 -61
  211. package/src/providers/__tests__/InactivityProvider.test.tsx +56 -56
  212. package/src/providers/__tests__/OrganisationProvider.test.tsx +75 -75
  213. package/src/providers/__tests__/ProviderLifecycle.test.tsx +38 -38
  214. package/src/providers/__tests__/UnifiedAuthProvider.test.tsx +103 -103
  215. package/src/providers/services/__tests__/AuthServiceProvider.integration.test.tsx +7 -7
  216. package/src/providers/services/__tests__/UnifiedAuthProvider.integration.test.tsx +10 -10
  217. package/src/rbac/__tests__/auth-rbac.e2e.test.tsx +15 -6
  218. package/src/rbac/__tests__/rbac-functions.test.ts +3 -3
  219. package/src/rbac/api.test.ts +104 -0
  220. package/src/rbac/engine.ts +1 -1
  221. package/src/rbac/hooks/useCan.test.ts +2 -2
  222. package/src/rbac/secureClient.ts +1 -1
  223. package/src/rbac/types/functions.ts +1 -1
  224. package/src/styles/core.css +7 -0
  225. package/src/theming/__tests__/parseEventColours.test.ts +118 -3
  226. package/src/theming/parseEventColours.ts +77 -11
  227. package/src/types/supabase.ts +2 -3
  228. package/src/utils/__tests__/bundleAnalysis.unit.test.ts +9 -9
  229. package/src/utils/__tests__/lazyLoad.unit.test.tsx +42 -39
  230. package/src/utils/file-reference/__tests__/file-reference.test.ts +4 -0
  231. package/src/utils/formatting/formatDate.test.ts +3 -2
  232. package/src/utils/formatting/formatDateTime.test.ts +2 -2
  233. package/src/utils/google-places/googlePlacesUtils.test.ts +36 -24
  234. package/src/utils/storage/README.md +1 -1
  235. package/src/utils/storage/__tests__/helpers.unit.test.ts +19 -12
  236. package/src/utils/storage/helpers.test.ts +69 -3
  237. package/cursor-rules/01-standards-compliance.mdc +0 -285
  238. package/cursor-rules/04-testing-standards.mdc +0 -270
  239. package/cursor-rules/05-bug-reports-and-features.mdc +0 -248
  240. package/cursor-rules/06-code-quality.mdc +0 -311
  241. package/cursor-rules/07-tech-stack-compliance.mdc +0 -216
  242. package/cursor-rules/10-error-handling-patterns.mdc +0 -179
  243. package/cursor-rules/11-performance-optimization.mdc +0 -169
  244. package/cursor-rules/12-ci-cd-integration.mdc +0 -150
  245. package/dist/DataTable-LRJL4IRV.js +0 -15
  246. package/dist/eslint-rules/rules/compliance.cjs +0 -348
  247. package/dist/eslint-rules/rules/components.cjs +0 -113
  248. package/dist/eslint-rules/rules/imports.cjs +0 -102
  249. package/docs/best-practices/README.md +0 -472
  250. package/docs/best-practices/accessibility.md +0 -604
  251. package/docs/best-practices/common-patterns.md +0 -516
  252. package/docs/best-practices/deployment.md +0 -1103
  253. package/docs/best-practices/performance.md +0 -1328
  254. package/docs/best-practices/security.md +0 -940
  255. package/docs/best-practices/testing.md +0 -1034
  256. package/docs/rbac/compliance/compliance-guide.md +0 -544
  257. package/docs/standards/01-standards-compliance.md +0 -188
  258. package/docs/standards/03-solid-principles.md +0 -39
  259. package/docs/standards/04-testing-standards.md +0 -36
  260. package/docs/standards/05-bug-reports-and-features.md +0 -27
  261. package/docs/standards/06-code-quality.md +0 -34
  262. package/docs/standards/07-tech-stack-compliance.md +0 -30
  263. package/docs/standards/10-error-handling-patterns.md +0 -401
  264. package/docs/standards/11-performance-optimization.md +0 -348
  265. package/docs/standards/12-ci-cd-integration.md +0 -370
  266. package/docs/standards/ALIGNMENT_REVIEW_SUMMARY.md +0 -192
  267. package/scripts/audit/audit-compliance.cjs +0 -1295
  268. package/scripts/audit/audit-components.cjs +0 -260
  269. package/scripts/audit/audit-rbac.cjs +0 -954
  270. package/scripts/audit/audit-standards.cjs +0 -1268
  271. package/scripts/audit/index.cjs +0 -1927
  272. package/src/components/DataTable/components/DataTableBody.tsx +0 -478
  273. package/src/components/DataTable/components/DraggableColumnHeader.tsx +0 -156
  274. package/src/components/DataTable/components/ExpandButton.tsx +0 -113
  275. package/src/components/DataTable/components/GroupHeader.tsx +0 -54
  276. package/src/components/DataTable/components/ViewRowModal.tsx +0 -68
  277. package/src/components/DataTable/components/VirtualizedDataTable.tsx +0 -525
  278. package/src/components/DataTable/components/__tests__/ExpandButton.test.tsx +0 -462
  279. package/src/components/DataTable/components/__tests__/GroupHeader.test.tsx +0 -393
  280. package/src/components/DataTable/components/__tests__/ViewRowModal.test.tsx +0 -476
  281. package/src/components/DataTable/components/__tests__/VirtualizedDataTable.test.tsx +0 -128
  282. package/src/components/DataTable/core/DataTableContext.tsx +0 -216
  283. package/src/components/DataTable/core/__tests__/DataTableContext.test.tsx +0 -136
  284. package/src/components/DataTable/hooks/__tests__/useColumnReordering.test.ts +0 -570
  285. package/src/components/DataTable/hooks/useColumnReordering.ts +0 -123
  286. package/src/components/DataTable/utils/debugTools.ts +0 -514
  287. package/src/eslint-rules/index.cjs +0 -22
  288. package/src/eslint-rules/rules/components.cjs +0 -113
  289. package/src/eslint-rules/rules/imports.cjs +0 -102
  290. package/src/eslint-rules/rules/rbac.cjs +0 -790
  291. package/src/eslint-rules/utils/helpers.cjs +0 -42
  292. package/src/eslint-rules/utils/manifest-loader.cjs +0 -75
@@ -770,7 +770,7 @@ Extends DayPickerProps with pace-core specific customizations.
770
770
 
771
771
  #### Defined in
772
772
 
773
- [packages/core/src/components/Calendar/Calendar.tsx:96](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Calendar/Calendar.tsx#L96)
773
+ [packages/core/src/components/Calendar/Calendar.tsx:101](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Calendar/Calendar.tsx#L101)
774
774
 
775
775
  ___
776
776
 
@@ -795,7 +795,7 @@ Props for the ContextSelector component.
795
795
 
796
796
  #### Defined in
797
797
 
798
- [packages/core/src/components/ContextSelector/ContextSelector.tsx:66](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/ContextSelector/ContextSelector.tsx#L66)
798
+ [packages/core/src/components/ContextSelector/ContextSelector.tsx:65](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/ContextSelector/ContextSelector.tsx#L65)
799
799
 
800
800
  ___
801
801
 
@@ -813,7 +813,7 @@ Enhanced DataTable props with performance features
813
813
 
814
814
  #### Defined in
815
815
 
816
- [packages/core/src/components/DataTable/DataTable.tsx:315](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L315)
816
+ [packages/core/src/components/DataTable/DataTable.tsx:297](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L297)
817
817
 
818
818
  ___
819
819
 
@@ -845,7 +845,7 @@ Enhanced column definition that extends TanStack's ColumnDef
845
845
 
846
846
  #### Defined in
847
847
 
848
- [packages/core/src/components/DataTable/types.ts:263](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L263)
848
+ [packages/core/src/components/DataTable/types.ts:245](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L245)
849
849
 
850
850
  ___
851
851
 
@@ -864,7 +864,7 @@ Defines custom actions that can be performed on table rows.
864
864
 
865
865
  #### Defined in
866
866
 
867
- [packages/core/src/components/DataTable/types.ts:397](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L397)
867
+ [packages/core/src/components/DataTable/types.ts:379](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L379)
868
868
 
869
869
  ___
870
870
 
@@ -876,7 +876,7 @@ Toolbar button definition
876
876
 
877
877
  #### Defined in
878
878
 
879
- [packages/core/src/components/DataTable/types.ts:437](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L437)
879
+ [packages/core/src/components/DataTable/types.ts:419](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L419)
880
880
 
881
881
  ___
882
882
 
@@ -888,7 +888,7 @@ Aggregate configuration
888
888
 
889
889
  #### Defined in
890
890
 
891
- [packages/core/src/components/DataTable/types.ts:459](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L459)
891
+ [packages/core/src/components/DataTable/types.ts:441](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L441)
892
892
 
893
893
  ___
894
894
 
@@ -900,7 +900,7 @@ Empty state configuration
900
900
 
901
901
  #### Defined in
902
902
 
903
- [packages/core/src/components/DataTable/types.ts:468](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L468)
903
+ [packages/core/src/components/DataTable/types.ts:450](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L450)
904
904
 
905
905
  ___
906
906
 
@@ -937,7 +937,7 @@ Options provided to the onExport handler for custom export functionality
937
937
 
938
938
  #### Defined in
939
939
 
940
- [packages/core/src/components/DataTable/types.ts:646](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L646)
940
+ [packages/core/src/components/DataTable/types.ts:628](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L628)
941
941
 
942
942
  ___
943
943
 
@@ -1012,6 +1012,8 @@ Props for the DialogClose component
1012
1012
 
1013
1013
  [packages/core/src/components/Dialog/Dialog.tsx:239](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L239)
1014
1014
 
1015
+ [packages/core/src/components/Dialog/Dialog.tsx:1365](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1365)
1016
+
1015
1017
  ___
1016
1018
 
1017
1019
  ### DialogHeaderProps
@@ -1058,7 +1060,7 @@ State interface for the ErrorBoundary component
1058
1060
 
1059
1061
  #### Defined in
1060
1062
 
1061
- [packages/core/src/components/ErrorBoundary/ErrorBoundary.tsx:126](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/ErrorBoundary/ErrorBoundary.tsx#L126)
1063
+ [packages/core/src/components/ErrorBoundary/ErrorBoundary.tsx:127](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/ErrorBoundary/ErrorBoundary.tsx#L127)
1062
1064
 
1063
1065
  ___
1064
1066
 
@@ -1070,7 +1072,7 @@ Props interface for the ErrorBoundary component
1070
1072
 
1071
1073
  #### Defined in
1072
1074
 
1073
- [packages/core/src/components/ErrorBoundary/ErrorBoundary.tsx:143](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/ErrorBoundary/ErrorBoundary.tsx#L143)
1075
+ [packages/core/src/components/ErrorBoundary/ErrorBoundary.tsx:144](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/ErrorBoundary/ErrorBoundary.tsx#L144)
1074
1076
 
1075
1077
  ___
1076
1078
 
@@ -1105,7 +1107,7 @@ Configures file upload behavior including storage location, validation, and call
1105
1107
 
1106
1108
  #### Defined in
1107
1109
 
1108
- [packages/core/src/components/FileUpload/FileUpload.tsx:22](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/FileUpload/FileUpload.tsx#L22)
1110
+ [packages/core/src/components/FileUpload/FileUpload.tsx:26](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/FileUpload/FileUpload.tsx#L26)
1109
1111
 
1110
1112
  ___
1111
1113
 
@@ -2356,7 +2358,7 @@ ergonomic while maintaining strict internal guarantees.
2356
2358
 
2357
2359
  #### Defined in
2358
2360
 
2359
- [packages/core/src/components/DataTable/types.ts:536](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L536)
2361
+ [packages/core/src/components/DataTable/types.ts:518](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L518)
2360
2362
 
2361
2363
  ___
2362
2364
 
@@ -3132,7 +3134,7 @@ ___
3132
3134
 
3133
3135
  | Name | Type |
3134
3136
  | :------ | :------ |
3135
- | `props` | HTMLAttributes\<HTMLElement\> & Object & RefAttributes\<HTMLElement\> |
3137
+ | `props` | HTMLAttributes\<HTMLParagraphElement\> & Object & RefAttributes\<HTMLParagraphElement\> |
3136
3138
 
3137
3139
  #### Returns
3138
3140
 
@@ -3140,7 +3142,7 @@ ReactNode
3140
3142
 
3141
3143
  #### Defined in
3142
3144
 
3143
- [packages/core/src/components/Alert/Alert.tsx:67](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Alert/Alert.tsx#L67)
3145
+ [packages/core/src/components/Alert/Alert.tsx:72](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Alert/Alert.tsx#L72)
3144
3146
 
3145
3147
  ___
3146
3148
 
@@ -3160,7 +3162,7 @@ ReactNode
3160
3162
 
3161
3163
  #### Defined in
3162
3164
 
3163
- [packages/core/src/components/Alert/Alert.tsx:94](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Alert/Alert.tsx#L94)
3165
+ [packages/core/src/components/Alert/Alert.tsx:102](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Alert/Alert.tsx#L102)
3164
3166
 
3165
3167
  ___
3166
3168
 
@@ -3180,7 +3182,7 @@ ReactNode
3180
3182
 
3181
3183
  #### Defined in
3182
3184
 
3183
- [packages/core/src/components/Alert/Alert.tsx:114](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Alert/Alert.tsx#L114)
3185
+ [packages/core/src/components/Alert/Alert.tsx:122](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Alert/Alert.tsx#L122)
3184
3186
 
3185
3187
  ___
3186
3188
 
@@ -3283,7 +3285,7 @@ JSX.Element - The rendered calendar element
3283
3285
 
3284
3286
  #### Defined in
3285
3287
 
3286
- [packages/core/src/components/Calendar/Calendar.tsx:192](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Calendar/Calendar.tsx#L192)
3288
+ [packages/core/src/components/Calendar/Calendar.tsx:197](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Calendar/Calendar.tsx#L197)
3287
3289
 
3288
3290
  ___
3289
3291
 
@@ -3485,7 +3487,7 @@ null \| Element
3485
3487
 
3486
3488
  #### Defined in
3487
3489
 
3488
- [packages/core/src/components/ContextSelector/ContextSelector.tsx:108](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/ContextSelector/ContextSelector.tsx#L108)
3490
+ [packages/core/src/components/ContextSelector/ContextSelector.tsx:107](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/ContextSelector/ContextSelector.tsx#L107)
3489
3491
 
3490
3492
  ___
3491
3493
 
@@ -3516,7 +3518,7 @@ The rendered DataTable component
3516
3518
 
3517
3519
  #### Defined in
3518
3520
 
3519
- [packages/core/src/components/DataTable/DataTable.tsx:497](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L497)
3521
+ [packages/core/src/components/DataTable/DataTable.tsx:479](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L479)
3520
3522
 
3521
3523
  ___
3522
3524
 
@@ -4008,7 +4010,7 @@ ReactNode
4008
4010
 
4009
4011
  #### Defined in
4010
4012
 
4011
- [packages/core/src/components/Dialog/Dialog.tsx:1366](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1366)
4013
+ [packages/core/src/components/Dialog/Dialog.tsx:1374](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1374)
4012
4014
 
4013
4015
  ___
4014
4016
 
@@ -4028,7 +4030,7 @@ Element
4028
4030
 
4029
4031
  #### Defined in
4030
4032
 
4031
- [packages/core/src/components/Dialog/Dialog.tsx:1409](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1409)
4033
+ [packages/core/src/components/Dialog/Dialog.tsx:1426](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1426)
4032
4034
 
4033
4035
  ___
4034
4036
 
@@ -4048,7 +4050,7 @@ Element
4048
4050
 
4049
4051
  #### Defined in
4050
4052
 
4051
- [packages/core/src/components/Dialog/Dialog.tsx:1429](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1429)
4053
+ [packages/core/src/components/Dialog/Dialog.tsx:1446](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1446)
4052
4054
 
4053
4055
  ___
4054
4056
 
@@ -4068,7 +4070,7 @@ Element
4068
4070
 
4069
4071
  #### Defined in
4070
4072
 
4071
- [packages/core/src/components/Dialog/Dialog.tsx:1531](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1531)
4073
+ [packages/core/src/components/Dialog/Dialog.tsx:1548](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1548)
4072
4074
 
4073
4075
  ___
4074
4076
 
@@ -4088,7 +4090,7 @@ ReactNode
4088
4090
 
4089
4091
  #### Defined in
4090
4092
 
4091
- [packages/core/src/components/Dialog/Dialog.tsx:1551](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1551)
4093
+ [packages/core/src/components/Dialog/Dialog.tsx:1568](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1568)
4092
4094
 
4093
4095
  ___
4094
4096
 
@@ -4108,7 +4110,7 @@ ReactNode
4108
4110
 
4109
4111
  #### Defined in
4110
4112
 
4111
- [packages/core/src/components/Dialog/Dialog.tsx:1590](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1590)
4113
+ [packages/core/src/components/Dialog/Dialog.tsx:1607](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Dialog/Dialog.tsx#L1607)
4112
4114
 
4113
4115
  ___
4114
4116
 
@@ -4198,7 +4200,7 @@ Element
4198
4200
 
4199
4201
  #### Defined in
4200
4202
 
4201
- [packages/core/src/components/FileUpload/FileUpload.tsx:54](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/FileUpload/FileUpload.tsx#L54)
4203
+ [packages/core/src/components/FileUpload/FileUpload.tsx:58](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/FileUpload/FileUpload.tsx#L58)
4202
4204
 
4203
4205
  ___
4204
4206
 
@@ -4981,7 +4983,7 @@ The rendered select trigger
4981
4983
 
4982
4984
  #### Defined in
4983
4985
 
4984
- [packages/core/src/components/Select/Select.tsx:231](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L231)
4986
+ [packages/core/src/components/Select/Select.tsx:233](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L233)
4985
4987
 
4986
4988
  ___
4987
4989
 
@@ -5003,7 +5005,7 @@ The rendered select value display
5003
5005
 
5004
5006
  #### Defined in
5005
5007
 
5006
- [packages/core/src/components/Select/Select.tsx:407](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L407)
5008
+ [packages/core/src/components/Select/Select.tsx:409](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L409)
5007
5009
 
5008
5010
  ___
5009
5011
 
@@ -5025,7 +5027,7 @@ The rendered select content
5025
5027
 
5026
5028
  #### Defined in
5027
5029
 
5028
- [packages/core/src/components/Select/Select.tsx:437](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L437)
5030
+ [packages/core/src/components/Select/Select.tsx:439](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L439)
5029
5031
 
5030
5032
  ___
5031
5033
 
@@ -5059,7 +5061,7 @@ ___
5059
5061
 
5060
5062
  | Name | Type | Description |
5061
5063
  | :------ | :------ | :------ |
5062
- | `props` | Object & RefAttributes\<HTMLDivElement\> | Select group configuration |
5064
+ | `props` | Object & RefAttributes\<HTMLUListElement\> | Select group configuration |
5063
5065
 
5064
5066
  #### Returns
5065
5067
 
@@ -5069,7 +5071,7 @@ The rendered select group
5069
5071
 
5070
5072
  #### Defined in
5071
5073
 
5072
- [packages/core/src/components/Select/Select.tsx:660](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L660)
5074
+ [packages/core/src/components/Select/Select.tsx:663](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L663)
5073
5075
 
5074
5076
  ___
5075
5077
 
@@ -5081,7 +5083,7 @@ ___
5081
5083
 
5082
5084
  | Name | Type | Description |
5083
5085
  | :------ | :------ | :------ |
5084
- | `props` | Object & RefAttributes\<HTMLDivElement\> | Select label configuration |
5086
+ | `props` | Object & RefAttributes\<HTMLLIElement\> | Select label configuration |
5085
5087
 
5086
5088
  #### Returns
5087
5089
 
@@ -5091,7 +5093,7 @@ The rendered select label
5091
5093
 
5092
5094
  #### Defined in
5093
5095
 
5094
- [packages/core/src/components/Select/Select.tsx:679](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L679)
5096
+ [packages/core/src/components/Select/Select.tsx:688](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L688)
5095
5097
 
5096
5098
  ___
5097
5099
 
@@ -5103,7 +5105,7 @@ ___
5103
5105
 
5104
5106
  | Name | Type | Description |
5105
5107
  | :------ | :------ | :------ |
5106
- | `props` | Object & RefAttributes\<HTMLDivElement\> | Select separator configuration |
5108
+ | `props` | Object & RefAttributes\<HTMLHRElement\> | Select separator configuration |
5107
5109
 
5108
5110
  #### Returns
5109
5111
 
@@ -5113,7 +5115,7 @@ The rendered select separator
5113
5115
 
5114
5116
  #### Defined in
5115
5117
 
5116
- [packages/core/src/components/Select/Select.tsx:698](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L698)
5118
+ [packages/core/src/components/Select/Select.tsx:707](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L707)
5117
5119
 
5118
5120
  ___
5119
5121
 
@@ -6009,7 +6011,7 @@ Object
6009
6011
 
6010
6012
  #### Defined in
6011
6013
 
6012
- [packages/core/src/hooks/public/usePublicRouteParams.ts:216](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicRouteParams.ts#L216)
6014
+ [packages/core/src/hooks/public/usePublicRouteParams.ts:220](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicRouteParams.ts#L220)
6013
6015
 
6014
6016
  ___
6015
6017
 
@@ -6032,7 +6034,7 @@ string
6032
6034
 
6033
6035
  #### Defined in
6034
6036
 
6035
- [packages/core/src/hooks/public/usePublicRouteParams.ts:252](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicRouteParams.ts#L252)
6037
+ [packages/core/src/hooks/public/usePublicRouteParams.ts:256](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicRouteParams.ts#L256)
6036
6038
 
6037
6039
  ___
6038
6040
 
@@ -6055,7 +6057,7 @@ string \| null
6055
6057
 
6056
6058
  #### Defined in
6057
6059
 
6058
- [packages/core/src/hooks/public/usePublicRouteParams.ts:267](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicRouteParams.ts#L267)
6060
+ [packages/core/src/hooks/public/usePublicRouteParams.ts:271](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicRouteParams.ts#L271)
6059
6061
 
6060
6062
  ___
6061
6063
 
@@ -8607,13 +8609,23 @@ ___
8607
8609
  Parse and normalize event_colours to PaletteData
8608
8610
 
8609
8611
  Supports input formats:
8610
- - Object with 'main', 'sec', 'acc' keys
8612
+ - Object with 'main', 'sec', 'acc' keys (standard format)
8613
+ - Object with 'ev-main', 'ev-sec', 'ev-acc' keys (database format with prefix)
8614
+ - Shade names with 'ev-' prefix (e.g., 'ev-acc-500' -> 'acc-500', 'ev-main-raw' -> 'main-raw')
8611
8615
  - JSON string that will be parsed
8612
8616
 
8613
8617
  Only includes explicitly defined color values. Does not fill
8614
8618
  missing shades - only shades that are present in the input will
8615
8619
  be included in the output.
8616
8620
 
8621
+ The parser automatically strips 'ev-' prefixes from BOTH palette keys and shade names
8622
+ for future-proofing, allowing distinction between event colors and organization colors
8623
+ (org colors not yet implemented).
8624
+
8625
+ Normalization rules:
8626
+ - Palette keys: 'ev-main' -> 'main', 'ev-sec' -> 'sec', 'ev-acc' -> 'acc'
8627
+ - Shade names: 'ev-main-raw' -> 'main-raw', 'ev-sec-200' -> 'sec-200', 'ev-acc-800' -> 'acc-800'
8628
+
8617
8629
  #### Parameters
8618
8630
 
8619
8631
  | Name | Type | Description |
@@ -8639,9 +8651,62 @@ const palette = parseAndNormalizeEventColours(colours);
8639
8651
  // Returns: { main: { 500: {...}, raw: {...} }, sec: { 500: {...} }, acc: { 500: {...} } }
8640
8652
  ```
8641
8653
 
8654
+ **`Example`**
8655
+
8656
+ ```ts
8657
+ // Database format with ev- prefix on palette keys
8658
+ const colours = {
8659
+ 'ev-main': { 500: { L: 0.5, C: 0.2, H: 0 } },
8660
+ 'ev-sec': { 500: { L: 0.5, C: 0.2, H: 120 } },
8661
+ 'ev-acc': { 500: { L: 0.5, C: 0.2, H: 240 } }
8662
+ };
8663
+ const palette = parseAndNormalizeEventColours(colours);
8664
+ // Returns: { main: { 500: {...} }, sec: { 500: {...} }, acc: { 500: {...} } }
8665
+ ```
8666
+
8667
+ **`Example`**
8668
+
8669
+ ```ts
8670
+ // Future-proofing: ev- prefix on shade names
8671
+ const colours = {
8672
+ main: {
8673
+ 'ev-main-500': { L: 0.5, C: 0.2, H: 0 },
8674
+ 'ev-main-raw': { L: 0.55, C: 0.25, H: 5 }
8675
+ },
8676
+ sec: {
8677
+ 'ev-sec-200': { L: 0.8, C: 0.15, H: 120 }
8678
+ },
8679
+ acc: {
8680
+ 'ev-acc-800': { L: 0.3, C: 0.2, H: 240 }
8681
+ }
8682
+ };
8683
+ const palette = parseAndNormalizeEventColours(colours);
8684
+ // Returns: { main: { 'main-500': {...}, 'main-raw': {...} }, sec: { 'sec-200': {...} }, acc: { 'acc-800': {...} } }
8685
+ ```
8686
+
8687
+ **`Example`**
8688
+
8689
+ ```ts
8690
+ // Both palette keys and shade names with ev- prefix
8691
+ const colours = {
8692
+ 'ev-main': {
8693
+ 'ev-main-raw': { L: 0.55, C: 0.25, H: 5 },
8694
+ 'ev-main-200': { L: 0.8, C: 0.15, H: 0 }
8695
+ },
8696
+ 'ev-sec': {
8697
+ 'ev-sec-500': { L: 0.5, C: 0.2, H: 120 }
8698
+ },
8699
+ 'ev-acc': {
8700
+ 'ev-acc-800': { L: 0.3, C: 0.2, H: 240 }
8701
+ }
8702
+ };
8703
+ const palette = parseAndNormalizeEventColours(colours);
8704
+ // Returns: { main: { 'main-raw': {...}, 'main-200': {...} }, sec: { 'sec-500': {...} }, acc: { 'acc-800': {...} } }
8705
+ ```
8706
+
8642
8707
  #### Defined in
8643
8708
 
8644
- [packages/core/src/theming/parseEventColours.ts:42](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/parseEventColours.ts#L42)
8709
+ [packages/core/src/theming/parseEventColours.ts:99](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/parseEventColours.ts#L99)
8645
8710
 
8646
8711
  ___
8647
8712
 
@@ -284,8 +284,6 @@ interface HierarchicalConfig {
284
284
  defaultExpanded?: boolean | string[];
285
285
  /** Callback when expansion state changes */
286
286
  onExpandedChange?: (expandedIds: string[]) => void;
287
- /** Custom expand/collapse button component */
288
- expandButton?: React.ComponentType<ExpandButtonProps>;
289
287
  /** Indentation for child rows in pixels */
290
288
  indentSize?: number;
291
289
  /** CSS classes for parent rows */
@@ -1162,10 +1160,10 @@ function MyComponent() {
1162
1160
  };
1163
1161
 
1164
1162
  return (
1165
- <div>
1163
+ <section>
1166
1164
  <Button onClick={handleSuccess}>Save Changes</Button>
1167
1165
  <Button onClick={handleError}>Trigger Error</Button>
1168
- </div>
1166
+ </section>
1169
1167
  );
1170
1168
  }
1171
1169
 
@@ -1240,10 +1238,10 @@ import {
1240
1238
  <Button>Advanced Tooltip</Button>
1241
1239
  </TooltipTrigger>
1242
1240
  <TooltipContent side="top" className="bg-main-500 text-main-50">
1243
- <div className="space-y-1">
1241
+ <section className="space-y-1">
1244
1242
  <p className="font-semibold">Advanced Tooltip</p>
1245
1243
  <p className="text-xs">With custom styling</p>
1246
- </div>
1244
+ </section>
1247
1245
  </TooltipContent>
1248
1246
  </TooltipRoot>
1249
1247
  </TooltipProvider>
@@ -1289,7 +1287,7 @@ A complete application layout with header, navigation, and content area.
1289
1287
  import { PaceAppLayout } from '@jmruthers/pace-core';
1290
1288
 
1291
1289
  <PaceAppLayout>
1292
- <div>Your app content</div>
1290
+ <main>Your app content</main>
1293
1291
  </PaceAppLayout>
1294
1292
  ```
1295
1293
 
@@ -1575,10 +1573,10 @@ function App() {
1575
1573
  loginPath="/login"
1576
1574
  loadingFallback={<CustomLoader />}
1577
1575
  noEventsFallback={
1578
- <div>
1576
+ <section>
1579
1577
  <h2>No Events Available</h2>
1580
1578
  <p>Contact your administrator for access.</p>
1581
- </div>
1579
+ </section>
1582
1580
  }
1583
1581
  />
1584
1582
  }>
@@ -1789,7 +1787,7 @@ function PublicEventPage() {
1789
1787
  }
1790
1788
 
1791
1789
  if (error || !event) {
1792
- return <div>Event not found</div>;
1790
+ return <p>Event not found</p>;
1793
1791
  }
1794
1792
 
1795
1793
  return (
@@ -1885,9 +1883,9 @@ function MyFileUpload() {
1885
1883
  console.log('URL:', result.file_url);
1886
1884
  }}
1887
1885
  >
1888
- <div className="border-2 border-dashed border-main-300 rounded-lg p-8 text-center">
1886
+ <section className="border-2 border-dashed border-main-300 rounded-lg p-8 text-center">
1889
1887
  <p>Drag and drop files here or click to browse</p>
1890
- </div>
1888
+ </section>
1891
1889
  </FileUpload>
1892
1890
  );
1893
1891
  }
@@ -1927,7 +1925,7 @@ function MyApp() {
1927
1925
  });
1928
1926
 
1929
1927
  return (
1930
- <div>
1928
+ <main>
1931
1929
  <h1>My App</h1>
1932
1930
 
1933
1931
  <InactivityWarningModal
@@ -1938,7 +1936,7 @@ function MyApp() {
1938
1936
  title="Session Timeout Warning"
1939
1937
  message="You will be signed out due to inactivity."
1940
1938
  />
1941
- </div>
1939
+ </main>
1942
1940
  );
1943
1941
  }
1944
1942
  ```
@@ -1969,14 +1967,14 @@ import { EventLogo } from '@jmruthers/pace-core';
1969
1967
 
1970
1968
  function EventHeader({ eventId }: { eventId: string }) {
1971
1969
  return (
1972
- <div className="text-center">
1970
+ <section className="text-center">
1973
1971
  <EventLogo
1974
1972
  eventId={eventId}
1975
1973
  size="large"
1976
1974
  className="mx-auto mb-4"
1977
1975
  />
1978
1976
  <h1>Event Name</h1>
1979
- </div>
1977
+ </section>
1980
1978
  );
1981
1979
  }
1982
1980
  ```
@@ -2240,10 +2238,10 @@ import {
2240
2238
  - **[Component Styling](../styles/component-styling.md)** - How components are styled
2241
2239
  - **[Custom Themes](../styles/custom-themes.md)** - Creating custom themes
2242
2240
 
2243
- ### Best Practices
2244
- - **[Component Best Practices](../best-practices/README.md#component-usage)** - Component usage guidelines
2245
- - **[Performance Best Practices](../best-practices/performance.md)** - Performance optimization
2246
- - **[Accessibility Guidelines](../best-practices/README.md#accessibility)** - Accessibility best practices
2241
+ ### Standards & Best Practices
2242
+ - **[Architecture Standards](../standards/3-architecture-standards.md)** - Component design principles
2243
+ - **[Performance Optimization](../standards/9-operations-standards.md#performance-optimization)** - Performance optimization
2244
+ - **[Accessibility Requirements](../standards/4-code-quality-standards.md#accessibility-requirements)** - Accessibility requirements
2247
2245
 
2248
2246
  ### Troubleshooting
2249
2247
  - **[Common Issues](../troubleshooting/common-issues.md)** - Component-related problems