@jmruthers/pace-core 0.5.135 → 0.5.137

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 (544) hide show
  1. package/dist/{DataTable-A36PJG6N.js → DataTable-6M4L6BI2.js} +26 -13
  2. package/dist/{DataTable-C7GaRZye.d.ts → DataTable-CWAZZcXC.d.ts} +1 -1
  3. package/dist/{PublicLoadingSpinner-CUAnTvcg.d.ts → EventLogo-rFL_kRjk.d.ts} +123 -135
  4. package/dist/{UnifiedAuthProvider-BVKmQd9u.d.ts → UnifiedAuthProvider-DJxGTftH.d.ts} +1 -1
  5. package/dist/{UnifiedAuthProvider-CQDZRJIS.js → UnifiedAuthProvider-XIQQ7LVU.js} +5 -5
  6. package/dist/{api-TNIBJWLM.js → api-45XYYO2A.js} +4 -3
  7. package/dist/{audit-T36HM7IM.js → audit-64X3VJXB.js} +3 -2
  8. package/dist/{chunk-F64FFPOZ.js → chunk-22WKWKRX.js} +26 -20
  9. package/dist/chunk-22WKWKRX.js.map +1 -0
  10. package/dist/{chunk-VZ5OR6HD.js → chunk-4C7EXCAR.js} +62 -150
  11. package/dist/chunk-4C7EXCAR.js.map +1 -0
  12. package/dist/{chunk-PYUXFQJ3.js → chunk-56XJ3TU6.js} +2 -2
  13. package/dist/chunk-56XJ3TU6.js.map +1 -0
  14. package/dist/{chunk-CTJRBUX2.js → chunk-6LAAY47Q.js} +2 -2
  15. package/dist/{chunk-UJI6WSMD.js → chunk-7QCC6MCP.js} +90 -3
  16. package/dist/chunk-7QCC6MCP.js.map +1 -0
  17. package/dist/{chunk-66C4BSAY.js → chunk-ANBQRTPX.js} +9 -2
  18. package/dist/chunk-ANBQRTPX.js.map +1 -0
  19. package/dist/{chunk-CQZU6TFE.js → chunk-BCIBECNB.js} +100 -62
  20. package/dist/chunk-BCIBECNB.js.map +1 -0
  21. package/dist/{chunk-GKHF54DI.js → chunk-BESYRHQM.js} +10 -4
  22. package/dist/chunk-BESYRHQM.js.map +1 -0
  23. package/dist/chunk-BJPBT3CU.js +21 -0
  24. package/dist/chunk-BJPBT3CU.js.map +1 -0
  25. package/dist/{chunk-BYXRHAIF.js → chunk-BLCXZEYF.js} +23 -14
  26. package/dist/chunk-BLCXZEYF.js.map +1 -0
  27. package/dist/{chunk-WP5I5GLN.js → chunk-BVYWGZVV.js} +112 -97
  28. package/dist/chunk-BVYWGZVV.js.map +1 -0
  29. package/dist/{chunk-GEVIB2UB.js → chunk-ERISIBYU.js} +14 -5
  30. package/dist/chunk-ERISIBYU.js.map +1 -0
  31. package/dist/{chunk-O3NWNXDY.js → chunk-FMUCXFII.js} +2 -2
  32. package/dist/chunk-FMUCXFII.js.map +1 -0
  33. package/dist/{chunk-GVDR7WNV.js → chunk-HAWZXGR2.js} +334 -614
  34. package/dist/chunk-HAWZXGR2.js.map +1 -0
  35. package/dist/{chunk-ZV77RZMU.js → chunk-INQLMHPF.js} +2 -2
  36. package/dist/chunk-JISYG63F.js +70 -0
  37. package/dist/chunk-JISYG63F.js.map +1 -0
  38. package/dist/{chunk-HMNOSGVA.js → chunk-KYRHUBIU.js} +576 -767
  39. package/dist/chunk-KYRHUBIU.js.map +1 -0
  40. package/dist/{chunk-M6DDYFUD.js → chunk-LS353YLY.js} +19 -16
  41. package/dist/chunk-LS353YLY.js.map +1 -0
  42. package/dist/{chunk-TGIY2AR2.js → chunk-MA6EPSGZ.js} +4 -3
  43. package/dist/{chunk-TGIY2AR2.js.map → chunk-MA6EPSGZ.js.map} +1 -1
  44. package/dist/chunk-OWAG3GSU.js +58 -0
  45. package/dist/chunk-OWAG3GSU.js.map +1 -0
  46. package/dist/{chunk-JCQZ6LA7.js → chunk-Q5QRDWKI.js} +9 -3
  47. package/dist/chunk-Q5QRDWKI.js.map +1 -0
  48. package/dist/chunk-S5OFRT4M.js +94 -0
  49. package/dist/chunk-S5OFRT4M.js.map +1 -0
  50. package/dist/{chunk-3DBFLLLU.js → chunk-SBVILCCA.js} +14 -9
  51. package/dist/chunk-SBVILCCA.js.map +1 -0
  52. package/dist/{chunk-ZYZCRSBD.js → chunk-T6JN6LH6.js} +16 -11
  53. package/dist/chunk-T6JN6LH6.js.map +1 -0
  54. package/dist/chunk-XDNLUEXI.js +138 -0
  55. package/dist/chunk-XDNLUEXI.js.map +1 -0
  56. package/dist/{chunk-3CG5L6RN.js → chunk-YCWDTTUK.js} +90 -75
  57. package/dist/chunk-YCWDTTUK.js.map +1 -0
  58. package/dist/{chunk-5F3NDPJV.js → chunk-ZZ2SS7NI.js} +10 -5
  59. package/dist/chunk-ZZ2SS7NI.js.map +1 -0
  60. package/dist/components.d.ts +7 -287
  61. package/dist/components.js +27 -157
  62. package/dist/components.js.map +1 -1
  63. package/dist/{file-reference-C9isKNPn.d.ts → file-reference-C6Gkn77H.d.ts} +1 -1
  64. package/dist/{formatting-DFcCxUEk.d.ts → formatting-CvUXy2mF.d.ts} +1 -1
  65. package/dist/hooks.d.ts +3 -3
  66. package/dist/hooks.js +21 -16
  67. package/dist/hooks.js.map +1 -1
  68. package/dist/index.d.ts +101 -9
  69. package/dist/index.js +44 -31
  70. package/dist/index.js.map +1 -1
  71. package/dist/providers.d.ts +1 -1
  72. package/dist/providers.js +4 -4
  73. package/dist/rbac/index.js +12 -12
  74. package/dist/schema-DTDZQe2u.d.ts +28 -0
  75. package/dist/styles/index.js +2 -1
  76. package/dist/theming/runtime.d.ts +2 -19
  77. package/dist/theming/runtime.js +2 -1
  78. package/dist/{types-D5rqZQXk.d.ts → types-Dfz9dmVH.d.ts} +12 -1
  79. package/dist/types.d.ts +153 -4
  80. package/dist/types.js +51 -16
  81. package/dist/types.js.map +1 -1
  82. package/dist/{useInactivityTracker-MRUU55XI.js → useInactivityTracker-TO6ZOF35.js} +3 -2
  83. package/dist/{usePublicRouteParams-Dyt1tzI9.d.ts → usePublicRouteParams-B7PabvuH.d.ts} +1 -1
  84. package/dist/utils.d.ts +221 -173
  85. package/dist/utils.js +185 -225
  86. package/dist/utils.js.map +1 -1
  87. package/dist/validation.d.ts +24 -115
  88. package/dist/validation.js +19 -474
  89. package/dist/validation.js.map +1 -1
  90. package/docs/api/classes/ColumnFactory.md +1 -1
  91. package/docs/api/classes/ErrorBoundary.md +6 -6
  92. package/docs/api/classes/InvalidScopeError.md +1 -1
  93. package/docs/api/classes/MissingUserContextError.md +1 -1
  94. package/docs/api/classes/OrganisationContextRequiredError.md +1 -1
  95. package/docs/api/classes/PermissionDeniedError.md +1 -1
  96. package/docs/api/classes/PublicErrorBoundary.md +1 -1
  97. package/docs/api/classes/RBACAuditManager.md +6 -6
  98. package/docs/api/classes/RBACCache.md +1 -1
  99. package/docs/api/classes/RBACEngine.md +7 -7
  100. package/docs/api/classes/RBACError.md +1 -1
  101. package/docs/api/classes/RBACNotInitializedError.md +1 -1
  102. package/docs/api/classes/SecureSupabaseClient.md +1 -1
  103. package/docs/api/classes/StorageUtils.md +1 -1
  104. package/docs/api/enums/FileCategory.md +1 -1
  105. package/docs/api/interfaces/AggregateConfig.md +4 -4
  106. package/docs/api/interfaces/BadgeProps.md +27 -0
  107. package/docs/api/interfaces/ButtonProps.md +1 -1
  108. package/docs/api/interfaces/CardProps.md +1 -1
  109. package/docs/api/interfaces/ColorPalette.md +1 -1
  110. package/docs/api/interfaces/ColorShade.md +29 -4
  111. package/docs/api/interfaces/DataAccessRecord.md +9 -9
  112. package/docs/api/interfaces/DataRecord.md +1 -1
  113. package/docs/api/interfaces/DataTableAction.md +18 -18
  114. package/docs/api/interfaces/DataTableColumn.md +61 -1
  115. package/docs/api/interfaces/DataTableProps.md +1 -1
  116. package/docs/api/interfaces/DataTableToolbarButton.md +7 -7
  117. package/docs/api/interfaces/EmptyStateConfig.md +5 -5
  118. package/docs/api/interfaces/EnhancedNavigationMenuProps.md +14 -14
  119. package/docs/api/interfaces/EventAppRoleData.md +1 -1
  120. package/docs/api/interfaces/EventLogoProps.md +152 -0
  121. package/docs/api/interfaces/ExportColumn.md +1 -1
  122. package/docs/api/interfaces/ExportOptions.md +8 -8
  123. package/docs/api/interfaces/FileDisplayProps.md +15 -15
  124. package/docs/api/interfaces/FileMetadata.md +1 -1
  125. package/docs/api/interfaces/FileReference.md +1 -1
  126. package/docs/api/interfaces/FileSizeLimits.md +1 -1
  127. package/docs/api/interfaces/FileUploadOptions.md +1 -1
  128. package/docs/api/interfaces/FileUploadProps.md +1 -1
  129. package/docs/api/interfaces/FooterProps.md +1 -1
  130. package/docs/api/interfaces/GrantEventAppRoleParams.md +1 -1
  131. package/docs/api/interfaces/InactivityWarningModalProps.md +1 -1
  132. package/docs/api/interfaces/InputProps.md +1 -1
  133. package/docs/api/interfaces/LabelProps.md +1 -1
  134. package/docs/api/interfaces/LoginFormProps.md +1 -1
  135. package/docs/api/interfaces/NavigationAccessRecord.md +10 -10
  136. package/docs/api/interfaces/NavigationContextType.md +9 -9
  137. package/docs/api/interfaces/NavigationGuardProps.md +10 -10
  138. package/docs/api/interfaces/NavigationItem.md +1 -1
  139. package/docs/api/interfaces/NavigationMenuProps.md +1 -1
  140. package/docs/api/interfaces/NavigationProviderProps.md +7 -7
  141. package/docs/api/interfaces/Organisation.md +1 -1
  142. package/docs/api/interfaces/OrganisationContextType.md +1 -1
  143. package/docs/api/interfaces/OrganisationMembership.md +1 -1
  144. package/docs/api/interfaces/OrganisationProviderProps.md +1 -1
  145. package/docs/api/interfaces/OrganisationSecurityError.md +1 -1
  146. package/docs/api/interfaces/PaceAppLayoutProps.md +27 -27
  147. package/docs/api/interfaces/PaceLoginPageProps.md +4 -4
  148. package/docs/api/interfaces/PageAccessRecord.md +8 -8
  149. package/docs/api/interfaces/PagePermissionContextType.md +8 -8
  150. package/docs/api/interfaces/PagePermissionGuardProps.md +11 -11
  151. package/docs/api/interfaces/PagePermissionProviderProps.md +7 -7
  152. package/docs/api/interfaces/PaletteData.md +4 -4
  153. package/docs/api/interfaces/PermissionEnforcerProps.md +11 -11
  154. package/docs/api/interfaces/ProtectedRouteProps.md +6 -6
  155. package/docs/api/interfaces/PublicErrorBoundaryProps.md +1 -1
  156. package/docs/api/interfaces/PublicErrorBoundaryState.md +1 -1
  157. package/docs/api/interfaces/PublicLoadingSpinnerProps.md +1 -1
  158. package/docs/api/interfaces/PublicPageFooterProps.md +1 -1
  159. package/docs/api/interfaces/PublicPageHeaderProps.md +1 -1
  160. package/docs/api/interfaces/PublicPageLayoutProps.md +1 -1
  161. package/docs/api/interfaces/RBACConfig.md +1 -1
  162. package/docs/api/interfaces/RBACLogger.md +1 -1
  163. package/docs/api/interfaces/RevokeEventAppRoleParams.md +1 -1
  164. package/docs/api/interfaces/RoleBasedRouterContextType.md +8 -8
  165. package/docs/api/interfaces/RoleBasedRouterProps.md +10 -10
  166. package/docs/api/interfaces/RoleManagementResult.md +1 -1
  167. package/docs/api/interfaces/RouteAccessRecord.md +10 -10
  168. package/docs/api/interfaces/RouteConfig.md +10 -10
  169. package/docs/api/interfaces/SecureDataContextType.md +9 -9
  170. package/docs/api/interfaces/SecureDataProviderProps.md +8 -8
  171. package/docs/api/interfaces/SessionRestorationLoaderProps.md +21 -0
  172. package/docs/api/interfaces/StorageConfig.md +1 -1
  173. package/docs/api/interfaces/StorageFileInfo.md +1 -1
  174. package/docs/api/interfaces/StorageFileMetadata.md +1 -1
  175. package/docs/api/interfaces/StorageListOptions.md +1 -1
  176. package/docs/api/interfaces/StorageListResult.md +1 -1
  177. package/docs/api/interfaces/StorageUploadOptions.md +1 -1
  178. package/docs/api/interfaces/StorageUploadResult.md +1 -1
  179. package/docs/api/interfaces/StorageUrlOptions.md +1 -1
  180. package/docs/api/interfaces/StyleImport.md +1 -1
  181. package/docs/api/interfaces/SwitchProps.md +1 -1
  182. package/docs/api/interfaces/ToastActionElement.md +1 -1
  183. package/docs/api/interfaces/ToastProps.md +1 -1
  184. package/docs/api/interfaces/UnifiedAuthContextType.md +53 -53
  185. package/docs/api/interfaces/UnifiedAuthProviderProps.md +13 -13
  186. package/docs/api/interfaces/UseInactivityTrackerOptions.md +9 -9
  187. package/docs/api/interfaces/UseInactivityTrackerReturn.md +8 -8
  188. package/docs/api/interfaces/UsePublicEventOptions.md +3 -3
  189. package/docs/api/interfaces/UsePublicEventReturn.md +5 -5
  190. package/docs/api/interfaces/UsePublicFileDisplayOptions.md +4 -4
  191. package/docs/api/interfaces/UsePublicFileDisplayReturn.md +9 -9
  192. package/docs/api/interfaces/UsePublicRouteParamsReturn.md +1 -1
  193. package/docs/api/interfaces/UseResolvedScopeOptions.md +4 -4
  194. package/docs/api/interfaces/UseResolvedScopeReturn.md +4 -4
  195. package/docs/api/interfaces/UserEventAccess.md +11 -11
  196. package/docs/api/interfaces/UserMenuProps.md +1 -1
  197. package/docs/api/interfaces/UserProfile.md +1 -1
  198. package/docs/api/modules.md +591 -220
  199. package/docs/api-reference/components.md +106 -26
  200. package/docs/architecture/README.md +0 -3
  201. package/docs/implementation-guides/data-tables.md +277 -13
  202. package/docs/implementation-guides/forms.md +1 -16
  203. package/docs/implementation-guides/permission-enforcement.md +8 -2
  204. package/docs/styles/README.md +0 -2
  205. package/examples/README.md +30 -14
  206. package/examples/STRUCTURE.md +125 -0
  207. package/examples/components 2/DataTable/HierarchicalActionsExample.tsx +421 -0
  208. package/examples/components 2/DataTable/HierarchicalExample.tsx +475 -0
  209. package/examples/components 2/DataTable/InitialPageSizeExample.tsx +177 -0
  210. package/examples/components 2/DataTable/PerformanceExample.tsx +506 -0
  211. package/examples/components 2/DataTable/index.ts +13 -0
  212. package/examples/components 2/Dialog/BasicHtmlTest.tsx +55 -0
  213. package/examples/components 2/Dialog/DebugHtmlExample.tsx +68 -0
  214. package/examples/components 2/Dialog/HtmlDialogExample.tsx +202 -0
  215. package/examples/components 2/Dialog/ScrollableDialogExample.tsx +290 -0
  216. package/examples/components 2/Dialog/SimpleHtmlTest.tsx +61 -0
  217. package/examples/components 2/Dialog/SmartDialogExample.tsx +322 -0
  218. package/examples/components 2/Dialog/index.ts +15 -0
  219. package/examples/components 2/index.ts +11 -0
  220. package/examples/features/index.ts +12 -0
  221. package/{src/examples → examples/features/public-pages}/CorrectPublicPageImplementation.tsx +14 -17
  222. package/{src/examples → examples/features/public-pages}/PublicEventPage.tsx +14 -27
  223. package/{src/examples → examples/features/public-pages}/PublicPageApp.tsx +15 -28
  224. package/{src/examples → examples/features/public-pages}/PublicPageUsageExample.tsx +8 -10
  225. package/examples/features/public-pages/index.ts +14 -0
  226. package/examples/features/rbac/CompleteRBACExample.tsx +324 -0
  227. package/examples/features/rbac/EventBasedApp.tsx +239 -0
  228. package/examples/features/rbac/PermissionExample.tsx +151 -0
  229. package/examples/features/rbac/index.ts +13 -0
  230. package/examples/index.ts +11 -3
  231. package/package.json +30 -19
  232. package/src/__tests__/TEST_STANDARD.md +92 -0
  233. package/src/components/Alert/Alert.tsx +1 -1
  234. package/src/components/Avatar/Avatar.tsx +1 -1
  235. package/src/components/Badge/Badge.test.tsx +314 -0
  236. package/src/components/Badge/Badge.tsx +304 -0
  237. package/src/components/Badge/index.ts +3 -0
  238. package/src/components/Button/Button.tsx +1 -1
  239. package/src/components/Card/Card.tsx +1 -1
  240. package/src/components/Checkbox/Checkbox.tsx +1 -1
  241. package/src/components/DataTable/DataTable.test.tsx +1 -1
  242. package/src/components/DataTable/DataTable.tsx +1 -30
  243. package/src/components/DataTable/__tests__/DataTable.grouping-aggregation.test.tsx +562 -0
  244. package/src/components/DataTable/__tests__/DataTableCore.test-setup.ts +217 -0
  245. package/src/components/DataTable/__tests__/styles.test.ts +3 -3
  246. package/src/components/DataTable/components/ActionButtons.tsx +0 -15
  247. package/src/components/DataTable/components/ColumnFilter.tsx +8 -4
  248. package/src/components/DataTable/components/DataTableBody.tsx +461 -0
  249. package/src/components/DataTable/components/DataTableCore.tsx +4 -185
  250. package/src/components/DataTable/components/DataTableErrorBoundary.tsx +1 -1
  251. package/src/components/DataTable/components/DataTableModals.tsx +1 -27
  252. package/src/components/DataTable/components/DraggableColumnHeader.tsx +144 -0
  253. package/src/components/DataTable/components/EditableRow.tsx +1 -1
  254. package/src/components/DataTable/components/FilterRow.tsx +9 -3
  255. package/src/components/DataTable/components/ImportModal.tsx +2 -14
  256. package/src/components/DataTable/components/PaginationControls.tsx +2 -1
  257. package/src/components/DataTable/components/UnifiedTableBody.tsx +109 -82
  258. package/src/components/DataTable/components/VirtualizedDataTable.tsx +513 -0
  259. package/src/components/DataTable/components/__tests__/AccessDeniedPage.test.tsx +14 -68
  260. package/src/components/DataTable/components/__tests__/ActionButtons.test.tsx +1 -1
  261. package/src/components/DataTable/components/__tests__/ColumnFilter.test.tsx +62 -0
  262. package/src/components/DataTable/components/__tests__/DataTableErrorBoundary.test.tsx +1 -1
  263. package/src/components/DataTable/components/__tests__/DataTableModals.test.tsx +1 -1
  264. package/src/components/DataTable/components/__tests__/FilterRow.test.tsx +43 -0
  265. package/src/components/DataTable/components/__tests__/ImportModal.test.tsx +1 -1
  266. package/src/components/DataTable/core/ActionManager.ts +235 -0
  267. package/src/components/DataTable/core/ColumnManager.ts +205 -0
  268. package/src/components/DataTable/core/DataManager.ts +188 -0
  269. package/src/components/DataTable/core/DataTableContext.tsx +181 -0
  270. package/src/components/DataTable/core/LocalDataAdapter.ts +273 -0
  271. package/src/components/DataTable/core/PluginRegistry.ts +229 -0
  272. package/src/components/DataTable/core/StateManager.ts +311 -0
  273. package/src/components/DataTable/core/interfaces.ts +338 -0
  274. package/src/components/DataTable/examples/GroupingAggregationExample.tsx +273 -0
  275. package/src/components/DataTable/examples/HierarchicalActionsExample.tsx +1 -1
  276. package/src/components/DataTable/examples/__tests__/HierarchicalActionsExample.test.tsx +1 -1
  277. package/src/components/DataTable/hooks/useColumnOrderPersistence.ts +1 -1
  278. package/src/components/DataTable/hooks/useColumnVisibilityPersistence.ts +1 -1
  279. package/src/components/DataTable/hooks/useDataTablePermissions.ts +2 -23
  280. package/src/components/DataTable/index.ts +4 -0
  281. package/src/components/DataTable/styles.ts +28 -7
  282. package/src/components/DataTable/types.ts +13 -0
  283. package/src/components/DataTable/utils/__tests__/columnUtils.test.ts +94 -0
  284. package/src/components/DataTable/utils/__tests__/exportUtils.test.ts +1 -1
  285. package/src/components/DataTable/utils/aggregationUtils.ts +161 -0
  286. package/src/components/DataTable/utils/columnUtils.ts +40 -0
  287. package/src/components/DataTable/utils/debugTools.ts +609 -0
  288. package/src/components/DataTable/utils/exportUtils.ts +1 -1
  289. package/src/components/DataTable/utils/flexibleImport.ts +1 -11
  290. package/src/components/DataTable/utils/index.ts +2 -0
  291. package/src/components/DataTable/utils/paginationUtils.ts +1 -1
  292. package/src/components/Dialog/Dialog.tsx +2 -2
  293. package/src/components/Dialog/utils/__tests__/safeHtml.unit.test.ts +8 -1
  294. package/src/components/ErrorBoundary/ErrorBoundary.test.tsx +35 -7
  295. package/src/components/ErrorBoundary/ErrorBoundary.tsx +5 -4
  296. package/src/components/EventSelector/EventSelector.tsx +3 -2
  297. package/src/components/FileDisplay/FileDisplay.tsx +2 -36
  298. package/src/components/FileUpload/FileUpload.test.tsx +2 -2
  299. package/src/components/FileUpload/FileUpload.tsx +2 -2
  300. package/src/components/Footer/Footer.test.tsx +1 -1
  301. package/src/components/Footer/Footer.tsx +1 -1
  302. package/src/components/Form/Form.test.tsx +5 -510
  303. package/src/components/Form/Form.tsx +1 -1
  304. package/src/components/Form/FormField.tsx +1 -1
  305. package/src/components/Form/index.ts +0 -12
  306. package/src/components/Header/Header.tsx +1 -1
  307. package/src/components/Input/Input.tsx +1 -1
  308. package/src/components/Label/Label.tsx +1 -1
  309. package/src/components/LoginForm/LoginForm.test.tsx +1 -1
  310. package/src/components/LoginForm/LoginForm.tsx +1 -1
  311. package/src/components/NavigationMenu/NavigationMenu.test.tsx +19 -3
  312. package/src/components/NavigationMenu/NavigationMenu.tsx +9 -8
  313. package/src/components/OrganisationSelector/OrganisationSelector.tsx +4 -3
  314. package/src/components/PaceAppLayout/PaceAppLayout.tsx +14 -12
  315. package/src/components/PaceAppLayout/__tests__/PaceAppLayout.integration.test.tsx +0 -16
  316. package/src/components/PaceAppLayout/__tests__/PaceAppLayout.performance.test.tsx +76 -10
  317. package/src/components/PaceAppLayout/__tests__/PaceAppLayout.security.test.tsx +0 -1
  318. package/src/components/PaceAppLayout/__tests__/PaceAppLayout.unit.test.tsx +0 -9
  319. package/src/components/PaceLoginPage/PaceLoginPage.test.tsx +35 -3
  320. package/src/components/PaceLoginPage/PaceLoginPage.tsx +14 -13
  321. package/src/components/PasswordReset/PasswordChangeForm.tsx +1 -1
  322. package/src/components/PasswordReset/index.ts +0 -2
  323. package/src/components/Progress/Progress.tsx +1 -1
  324. package/src/components/ProtectedRoute/ProtectedRoute.test.tsx +35 -8
  325. package/src/components/ProtectedRoute/ProtectedRoute.tsx +3 -2
  326. package/src/components/PublicLayout/PublicErrorBoundary.tsx +1 -1
  327. package/src/components/PublicLayout/PublicLoadingSpinner.tsx +1 -1
  328. package/src/components/PublicLayout/PublicPageContextChecker.tsx +44 -43
  329. package/src/components/PublicLayout/PublicPageFooter.tsx +1 -1
  330. package/src/components/PublicLayout/PublicPageHeader.tsx +1 -15
  331. package/src/components/PublicLayout/PublicPageProvider.tsx +3 -2
  332. package/src/components/PublicLayout/__tests__/PublicPageContextChecker.test.tsx +2 -0
  333. package/src/components/PublicLayout/__tests__/PublicPageFooter.test.tsx +1 -1
  334. package/src/components/PublicLayout/index.ts +4 -2
  335. package/src/components/Select/Select.test.tsx +1 -1
  336. package/src/components/Select/Select.tsx +21 -9
  337. package/src/components/{SessionRestorationLoader.tsx → SessionRestorationLoader/SessionRestorationLoader.tsx} +3 -2
  338. package/src/components/SessionRestorationLoader/index.ts +3 -0
  339. package/src/components/Switch/Switch.tsx +1 -1
  340. package/src/components/Table/Table.tsx +1 -1
  341. package/src/components/Table/__tests__/Table.test.tsx +1 -1
  342. package/src/components/Toast/Toast.tsx +1 -1
  343. package/src/components/Tooltip/Tooltip.tsx +1 -1
  344. package/src/components/index.ts +7 -10
  345. package/src/hooks/__tests__/hooks.integration.test.tsx +37 -22
  346. package/src/hooks/__tests__/useComponentPerformance.unit.test.tsx +33 -17
  347. package/src/hooks/__tests__/useDataTablePerformance.unit.test.ts +28 -3
  348. package/src/hooks/__tests__/useFileDisplay.unit.test.ts +36 -9
  349. package/src/hooks/__tests__/useFileUrl.unit.test.ts +83 -85
  350. package/src/hooks/__tests__/useInactivityTracker.unit.test.ts +26 -2
  351. package/src/hooks/__tests__/usePerformanceMonitor.unit.test.ts +19 -6
  352. package/src/hooks/__tests__/usePermissionCache.simple.test.ts +17 -4
  353. package/src/hooks/__tests__/usePermissionCache.unit.test.ts +17 -4
  354. package/src/hooks/__tests__/usePublicEvent.simple.test.ts +26 -6
  355. package/src/hooks/__tests__/usePublicFileDisplay.test.ts +16 -6
  356. package/src/hooks/__tests__/useSecureDataAccess.unit.test.tsx +3 -3
  357. package/src/hooks/__tests__/useSessionRestoration.unit.test.tsx +17 -3
  358. package/src/hooks/public/usePublicEvent.ts +7 -6
  359. package/src/hooks/public/usePublicEventLogo.ts +7 -4
  360. package/src/hooks/public/usePublicFileDisplay.ts +6 -150
  361. package/src/hooks/useComponentPerformance.ts +4 -1
  362. package/src/hooks/useDataTablePerformance.ts +4 -3
  363. package/src/hooks/useEventTheme.test.ts +18 -5
  364. package/src/hooks/useEventTheme.ts +4 -1
  365. package/src/hooks/useEvents.ts +2 -0
  366. package/src/hooks/useFileDisplay.ts +9 -8
  367. package/src/hooks/useFileReference.ts +4 -1
  368. package/src/hooks/useFileUrl.ts +4 -1
  369. package/src/hooks/useInactivityTracker.ts +5 -4
  370. package/src/hooks/useOrganisationSecurity.test.ts +33 -12
  371. package/src/hooks/useOrganisationSecurity.ts +8 -7
  372. package/src/hooks/usePerformanceMonitor.ts +6 -3
  373. package/src/hooks/usePermissionCache.ts +13 -6
  374. package/src/hooks/useSecureDataAccess.test.ts +2 -2
  375. package/src/hooks/useSecureDataAccess.ts +9 -8
  376. package/src/hooks/useSessionRestoration.ts +4 -1
  377. package/src/hooks/useStorage.ts +4 -1
  378. package/src/index.ts +20 -7
  379. package/src/providers/services/AuthServiceProvider.tsx +3 -2
  380. package/src/providers/services/EventServiceProvider.tsx +2 -1
  381. package/src/providers/services/InactivityServiceProvider.tsx +2 -1
  382. package/src/providers/services/OrganisationServiceProvider.tsx +2 -1
  383. package/src/providers/services/UnifiedAuthProvider.tsx +4 -3
  384. package/src/providers/services/__tests__/AuthServiceProvider.integration.test.tsx +22 -2
  385. package/src/providers/services/__tests__/UnifiedAuthProvider.integration.test.tsx +24 -2
  386. package/src/rbac/__tests__/cache-invalidation.test.ts +20 -6
  387. package/src/rbac/api.ts +5 -2
  388. package/src/rbac/audit-enhanced.ts +6 -6
  389. package/src/rbac/audit.test.ts +60 -38
  390. package/src/rbac/audit.ts +8 -8
  391. package/src/rbac/cache-invalidation.ts +7 -4
  392. package/src/rbac/components/EnhancedNavigationMenu.tsx +11 -5
  393. package/src/rbac/components/NavigationGuard.tsx +7 -3
  394. package/src/rbac/components/NavigationProvider.tsx +6 -3
  395. package/src/rbac/components/PagePermissionGuard.tsx +28 -16
  396. package/src/rbac/components/PagePermissionProvider.tsx +4 -1
  397. package/src/rbac/components/PermissionEnforcer.tsx +9 -3
  398. package/src/rbac/components/RoleBasedRouter.tsx +3 -1
  399. package/src/rbac/components/SecureDataProvider.tsx +7 -3
  400. package/src/rbac/components/__tests__/EnhancedNavigationMenu.test.tsx +87 -61
  401. package/src/rbac/components/__tests__/NavigationGuard.test.tsx +83 -33
  402. package/src/rbac/components/__tests__/NavigationProvider.test.tsx +36 -13
  403. package/src/rbac/components/__tests__/PagePermissionGuard.test.tsx +2 -2
  404. package/src/rbac/components/__tests__/PagePermissionProvider.test.tsx +22 -8
  405. package/src/rbac/components/__tests__/PermissionEnforcer.test.tsx +19 -6
  406. package/src/rbac/components/__tests__/SecureDataProvider.fixed.test.tsx +43 -17
  407. package/src/rbac/components/__tests__/SecureDataProvider.test.tsx +42 -17
  408. package/src/rbac/engine.ts +15 -7
  409. package/src/rbac/hooks/usePermissions.ts +7 -3
  410. package/src/rbac/hooks/useResolvedScope.test.ts +2 -2
  411. package/src/rbac/hooks/useResolvedScope.ts +10 -7
  412. package/src/rbac/permissions.ts +5 -2
  413. package/src/rbac/security.test.ts +27 -16
  414. package/src/rbac/security.ts +5 -4
  415. package/src/services/AuthService.ts +22 -21
  416. package/src/services/EventService.ts +12 -12
  417. package/src/services/InactivityService.ts +5 -4
  418. package/src/services/OrganisationService.ts +26 -25
  419. package/src/services/__tests__/AuthService.test.ts +51 -19
  420. package/src/services/__tests__/EventService.test.ts +37 -5
  421. package/src/services/__tests__/InactivityService.test.ts +38 -4
  422. package/src/services/__tests__/OrganisationService.test.ts +3 -8
  423. package/src/services/base/BaseService.ts +3 -1
  424. package/src/styles/core.css +3 -0
  425. package/src/theming/__tests__/runtime.test.ts +21 -12
  426. package/src/theming/parseEventColours.ts +5 -19
  427. package/src/theming/runtime.ts +8 -4
  428. package/src/types/validation.ts +2 -29
  429. package/src/utils/__tests__/appConfig.unit.test.ts +1 -1
  430. package/src/utils/__tests__/audit.unit.test.ts +1 -1
  431. package/src/utils/__tests__/auth-utils.unit.test.ts +1 -1
  432. package/src/utils/__tests__/bundleAnalysis.unit.test.ts +19 -19
  433. package/src/utils/__tests__/cn.unit.test.ts +1 -1
  434. package/src/utils/__tests__/debugLogger.test.ts +1 -1
  435. package/src/utils/__tests__/deviceFingerprint.unit.test.ts +1 -1
  436. package/src/utils/__tests__/dynamicUtils.unit.test.ts +1 -1
  437. package/src/utils/__tests__/formatting.unit.test.ts +1 -1
  438. package/src/utils/__tests__/lazyLoad.unit.test.tsx +1 -1
  439. package/src/utils/__tests__/logger.unit.test.ts +1 -1
  440. package/src/utils/__tests__/organisationContext.unit.test.ts +1 -1
  441. package/src/utils/__tests__/performanceBenchmark.test.ts +1 -1
  442. package/src/utils/__tests__/performanceBudgets.unit.test.ts +1 -1
  443. package/src/utils/__tests__/permissionTypes.unit.test.ts +1 -1
  444. package/src/utils/__tests__/permissionUtils.unit.test.ts +1 -1
  445. package/src/utils/__tests__/sanitization.unit.test.ts +1 -1
  446. package/src/utils/__tests__/schemaUtils.unit.test.ts +1 -1
  447. package/src/utils/__tests__/secureDataAccess.unit.test.ts +1 -1
  448. package/src/utils/__tests__/secureErrors.unit.test.ts +33 -15
  449. package/src/utils/__tests__/secureStorage.unit.test.ts +1 -1
  450. package/src/utils/__tests__/security.unit.test.ts +40 -18
  451. package/src/utils/__tests__/securityMonitor.unit.test.ts +1 -1
  452. package/src/utils/__tests__/sessionTracking.unit.test.ts +40 -29
  453. package/src/utils/__tests__/validationUtils.unit.test.ts +19 -6
  454. package/src/utils/app/appConfig.ts +47 -0
  455. package/src/utils/app/appIdResolver.test.ts +497 -0
  456. package/src/utils/app/appIdResolver.ts +133 -0
  457. package/src/utils/app/appNameResolver.simple.test.ts +212 -0
  458. package/src/utils/app/appNameResolver.test.ts +121 -0
  459. package/src/utils/app/appNameResolver.ts +195 -0
  460. package/src/utils/audit/audit.ts +127 -0
  461. package/src/utils/context/organisationContext.test.ts +322 -0
  462. package/src/utils/context/organisationContext.ts +156 -0
  463. package/src/utils/context/sessionTracking.ts +125 -0
  464. package/src/utils/core/cn.ts +7 -0
  465. package/src/utils/core/debugLogger.ts +67 -0
  466. package/src/utils/core/logger.ts +181 -0
  467. package/src/utils/device/deviceFingerprint.ts +215 -0
  468. package/src/utils/dynamic/dynamicUtils.ts +105 -0
  469. package/src/utils/dynamic/lazyLoad.tsx +44 -0
  470. package/src/utils/file-reference/__tests__/file-reference.test.ts +788 -0
  471. package/src/utils/file-reference/index.ts +501 -0
  472. package/src/utils/formatting/formatDate.test.ts +237 -0
  473. package/src/utils/formatting/formatting.ts +133 -0
  474. package/src/utils/index.ts +39 -54
  475. package/src/utils/performance/bundleAnalysis.ts +129 -0
  476. package/src/utils/performance/performanceBenchmark.ts +64 -0
  477. package/src/utils/performance/performanceBudgets.ts +110 -0
  478. package/src/utils/permissions/permissionTypes.ts +37 -0
  479. package/src/utils/permissions/permissionUtils.test.ts +393 -0
  480. package/src/utils/permissions/permissionUtils.ts +34 -0
  481. package/src/utils/security/auth-utils.ts +96 -0
  482. package/src/utils/security/secureDataAccess.test.ts +711 -0
  483. package/src/utils/security/secureDataAccess.ts +377 -0
  484. package/src/utils/security/secureErrors.ts +82 -0
  485. package/src/utils/security/secureStorage.ts +244 -0
  486. package/src/utils/security/security.ts +159 -0
  487. package/src/utils/security/securityMonitor.ts +45 -0
  488. package/src/utils/storage/__tests__/helpers.unit.test.ts +1 -4
  489. package/src/utils/storage/helpers.ts +15 -8
  490. package/src/utils/validation/__tests__/htmlSanitization.unit.test.ts +598 -0
  491. package/src/{validation → utils/validation}/csrf.ts +1 -1
  492. package/src/utils/validation/htmlSanitization.ts +184 -0
  493. package/src/utils/validation/index.ts +79 -0
  494. package/src/utils/validation/sanitization.ts +333 -0
  495. package/src/{validation/schemaUtils.ts → utils/validation/schema.ts} +11 -6
  496. package/src/{validation → utils/validation}/sqlInjectionProtection.ts +2 -0
  497. package/src/utils/validation/validation.ts +111 -0
  498. package/src/utils/validation/validationUtils.ts +123 -0
  499. package/src/validation/index.ts +3 -34
  500. package/dist/chunk-24MKLB7U.js +0 -81
  501. package/dist/chunk-24MKLB7U.js.map +0 -1
  502. package/dist/chunk-3CG5L6RN.js.map +0 -1
  503. package/dist/chunk-3DBFLLLU.js.map +0 -1
  504. package/dist/chunk-5F3NDPJV.js.map +0 -1
  505. package/dist/chunk-66C4BSAY.js.map +0 -1
  506. package/dist/chunk-BDZUMRBD.js +0 -87
  507. package/dist/chunk-BDZUMRBD.js.map +0 -1
  508. package/dist/chunk-BYXRHAIF.js.map +0 -1
  509. package/dist/chunk-CDQ3PX7L.js +0 -18
  510. package/dist/chunk-CDQ3PX7L.js.map +0 -1
  511. package/dist/chunk-CQZU6TFE.js.map +0 -1
  512. package/dist/chunk-F64FFPOZ.js.map +0 -1
  513. package/dist/chunk-GEVIB2UB.js.map +0 -1
  514. package/dist/chunk-GKHF54DI.js.map +0 -1
  515. package/dist/chunk-GVDR7WNV.js.map +0 -1
  516. package/dist/chunk-HMNOSGVA.js.map +0 -1
  517. package/dist/chunk-JCQZ6LA7.js.map +0 -1
  518. package/dist/chunk-M6DDYFUD.js.map +0 -1
  519. package/dist/chunk-O3NWNXDY.js.map +0 -1
  520. package/dist/chunk-PYUXFQJ3.js.map +0 -1
  521. package/dist/chunk-UJI6WSMD.js.map +0 -1
  522. package/dist/chunk-VZ5OR6HD.js.map +0 -1
  523. package/dist/chunk-WP5I5GLN.js.map +0 -1
  524. package/dist/chunk-ZYZCRSBD.js.map +0 -1
  525. package/dist/validation-DnhrNMju.d.ts +0 -159
  526. package/src/components/PublicLayout/__tests__/PublicPageDebugger.test.tsx +0 -185
  527. package/src/validation/__tests__/common.unit.test.ts +0 -101
  528. package/src/validation/__tests__/csrf.unit.test.ts +0 -365
  529. package/src/validation/__tests__/passwordSchema.unit.test.ts +0 -203
  530. package/src/validation/__tests__/sanitization.unit.test.ts +0 -250
  531. package/src/validation/__tests__/schemaUtils.unit.test.ts +0 -451
  532. package/src/validation/__tests__/sqlInjectionProtection.unit.test.ts +0 -462
  533. package/src/validation/__tests__/user.unit.test.ts +0 -440
  534. package/src/validation/sanitization.ts +0 -96
  535. /package/dist/{DataTable-A36PJG6N.js.map → DataTable-6M4L6BI2.js.map} +0 -0
  536. /package/dist/{UnifiedAuthProvider-CQDZRJIS.js.map → UnifiedAuthProvider-XIQQ7LVU.js.map} +0 -0
  537. /package/dist/{api-TNIBJWLM.js.map → api-45XYYO2A.js.map} +0 -0
  538. /package/dist/{audit-T36HM7IM.js.map → audit-64X3VJXB.js.map} +0 -0
  539. /package/dist/{chunk-CTJRBUX2.js.map → chunk-6LAAY47Q.js.map} +0 -0
  540. /package/dist/{chunk-ZV77RZMU.js.map → chunk-INQLMHPF.js.map} +0 -0
  541. /package/dist/{useInactivityTracker-MRUU55XI.js.map → useInactivityTracker-TO6ZOF35.js.map} +0 -0
  542. /package/src/{validation → utils/validation}/common.ts +0 -0
  543. /package/src/{validation → utils/validation}/passwordSchema.ts +0 -0
  544. /package/src/{validation → utils/validation}/user.ts +0 -0
@@ -1,6 +1,6 @@
1
- [@jmruthers/pace-core - v0.5.135](README.md) / Exports
1
+ [@jmruthers/pace-core - v0.5.137](README.md) / Exports
2
2
 
3
- # @jmruthers/pace-core - v0.5.135
3
+ # @jmruthers/pace-core - v0.5.137
4
4
 
5
5
  **`File`**
6
6
 
@@ -52,6 +52,7 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
52
52
 
53
53
  ### Interfaces
54
54
 
55
+ - [BadgeProps](interfaces/BadgeProps.md)
55
56
  - [ButtonProps](interfaces/ButtonProps.md)
56
57
  - [CardProps](interfaces/CardProps.md)
57
58
  - [DataTableProps](interfaces/DataTableProps.md)
@@ -75,12 +76,14 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
75
76
  - [PaceAppLayoutProps](interfaces/PaceAppLayoutProps.md)
76
77
  - [PaceLoginPageProps](interfaces/PaceLoginPageProps.md)
77
78
  - [ProtectedRouteProps](interfaces/ProtectedRouteProps.md)
79
+ - [EventLogoProps](interfaces/EventLogoProps.md)
78
80
  - [PublicErrorBoundaryProps](interfaces/PublicErrorBoundaryProps.md)
79
81
  - [PublicErrorBoundaryState](interfaces/PublicErrorBoundaryState.md)
80
82
  - [PublicLoadingSpinnerProps](interfaces/PublicLoadingSpinnerProps.md)
81
83
  - [PublicPageFooterProps](interfaces/PublicPageFooterProps.md)
82
84
  - [PublicPageHeaderProps](interfaces/PublicPageHeaderProps.md)
83
85
  - [PublicPageLayoutProps](interfaces/PublicPageLayoutProps.md)
86
+ - [SessionRestorationLoaderProps](interfaces/SessionRestorationLoaderProps.md)
84
87
  - [SwitchProps](interfaces/SwitchProps.md)
85
88
  - [ToastProps](interfaces/ToastProps.md)
86
89
  - [ToastActionElement](interfaces/ToastActionElement.md)
@@ -145,7 +148,9 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
145
148
 
146
149
  ### Type Aliases
147
150
 
151
+ - [BadgeVariant](modules.md#badgevariant)
148
152
  - [GetRowId](modules.md#getrowid)
153
+ - [DataTableFeatureConfig](modules.md#datatablefeatureconfig)
149
154
  - [UseFileReferenceOptions](modules.md#usefilereferenceoptions)
150
155
  - [UseFileReferenceReturn](modules.md#usefilereferencereturn)
151
156
  - [UseFileReferenceForRecordReturn](modules.md#usefilereferenceforrecordreturn)
@@ -185,6 +190,7 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
185
190
  - [Avatar](modules.md#avatar)
186
191
  - [AvatarImage](modules.md#avatarimage)
187
192
  - [AvatarFallback](modules.md#avatarfallback)
193
+ - [Badge](modules.md#badge)
188
194
  - [Button](modules.md#button)
189
195
  - [Card](modules.md#card)
190
196
  - [CardHeader](modules.md#cardheader)
@@ -195,6 +201,11 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
195
201
  - [CardActions](modules.md#cardactions)
196
202
  - [Checkbox](modules.md#checkbox)
197
203
  - [DataTable](modules.md#datatable)
204
+ - [sum](modules.md#sum)
205
+ - [average](modules.md#average)
206
+ - [count](modules.md#count)
207
+ - [min](modules.md#min)
208
+ - [max](modules.md#max)
198
209
  - [generateCSVContent](modules.md#generatecsvcontent)
199
210
  - [exportToCSVWithTableRows](modules.md#exporttocsvwithtablerows)
200
211
  - [exportToCSV](modules.md#exporttocsv)
@@ -225,17 +236,17 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
225
236
  - [PaceAppLayout](modules.md#paceapplayout)
226
237
  - [PaceLoginPage](modules.md#paceloginpage)
227
238
  - [PasswordChangeForm](modules.md#passwordchangeform)
228
- - [PasswordResetForm](modules.md#passwordresetform)
229
239
  - [Progress](modules.md#progress)
230
240
  - [ProtectedRoute](modules.md#protectedroute)
241
+ - [EventLogo](modules.md#eventlogo)
242
+ - [EventLogoCompact](modules.md#eventlogocompact)
243
+ - [EventLogoLarge](modules.md#eventlogolarge)
231
244
  - [useErrorBoundary](modules.md#useerrorboundary)
232
245
  - [DefaultPublicErrorFallback](modules.md#defaultpublicerrorfallback)
233
246
  - [PublicLoadingSpinner](modules.md#publicloadingspinner)
234
247
  - [PublicLoadingSpinnerFullPage](modules.md#publicloadingspinnerfullpage)
235
248
  - [PublicLoadingSkeleton](modules.md#publicloadingskeleton)
236
249
  - [PublicPageContextChecker](modules.md#publicpagecontextchecker)
237
- - [PublicPageDebugger](modules.md#publicpagedebugger)
238
- - [PublicPageDiagnostic](modules.md#publicpagediagnostic)
239
250
  - [PublicPageFooter](modules.md#publicpagefooter)
240
251
  - [PublicPageHeader](modules.md#publicpageheader)
241
252
  - [PublicPageLayout](modules.md#publicpagelayout)
@@ -374,6 +385,7 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
374
385
  - [getAppConfig](modules.md#getappconfig)
375
386
  - [getCurrentAppName](modules.md#getcurrentappname)
376
387
  - [getCurrentAppId](modules.md#getcurrentappid)
388
+ - [useSessionTracking](modules.md#usesessiontracking)
377
389
  - [cn](modules.md#cn)
378
390
  - [formatDate](modules.md#formatdate)
379
391
  - [formatCurrency](modules.md#formatcurrency)
@@ -382,7 +394,6 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
382
394
  - [formatCompactNumber](modules.md#formatcompactnumber)
383
395
  - [formatFileSize](modules.md#formatfilesize)
384
396
  - [createSecureDataAccess](modules.md#createsecuredataaccess)
385
- - [useSessionTracking](modules.md#usesessiontracking)
386
397
  - [getFileSizeLimit](modules.md#getfilesizelimit)
387
398
  - [getBucketName](modules.md#getbucketname)
388
399
  - [validateFileSize](modules.md#validatefilesize)
@@ -399,6 +410,16 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
399
410
 
400
411
  ## Type Aliases
401
412
 
413
+ ### BadgeVariant
414
+
415
+ Ƭ **BadgeVariant**: ``"solid-main-muted"`` \| ``"solid-main-normal"`` \| ``"solid-main-strong"`` \| ``"solid-sec-muted"`` \| ``"solid-sec-normal"`` \| ``"solid-sec-strong"`` \| ``"solid-acc-muted"`` \| ``"solid-acc-normal"`` \| ``"solid-acc-strong"`` \| ``"outline-main-muted"`` \| ``"outline-main-normal"`` \| ``"outline-main-strong"`` \| ``"outline-sec-muted"`` \| ``"outline-sec-normal"`` \| ``"outline-sec-strong"`` \| ``"outline-acc-muted"`` \| ``"outline-acc-normal"`` \| ``"outline-acc-strong"`` \| ``"soft-main-muted"`` \| ``"soft-main-normal"`` \| ``"soft-main-strong"`` \| ``"soft-sec-muted"`` \| ``"soft-sec-normal"`` \| ``"soft-sec-strong"`` \| ``"soft-acc-muted"`` \| ``"soft-acc-normal"`` \| ``"soft-acc-strong"``
416
+
417
+ #### Defined in
418
+
419
+ [packages/core/src/components/Badge/Badge.tsx:52](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Badge/Badge.tsx#L52)
420
+
421
+ ___
422
+
402
423
  ### GetRowId
403
424
 
404
425
  Ƭ **GetRowId**\<`TData`\>: (`row`: `TData`, `index`: `number`) => `RowId`
@@ -432,6 +453,20 @@ Row identifier function type
432
453
 
433
454
  ___
434
455
 
456
+ ### DataTableFeatureConfig
457
+
458
+ Ƭ **DataTableFeatureConfig**: `Partial`\<`DataTableFeatureFlags`\>
459
+
460
+ Consumer-facing feature configuration. All properties are optional and will be
461
+ merged with defaultDataTableFeatures at runtime to keep the public API
462
+ ergonomic while maintaining strict internal guarantees.
463
+
464
+ #### Defined in
465
+
466
+ [packages/core/src/components/DataTable/types.ts:535](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/types.ts#L535)
467
+
468
+ ___
469
+
435
470
  ### UseFileReferenceOptions
436
471
 
437
472
  Ƭ **UseFileReferenceOptions**: `Object`
@@ -446,7 +481,7 @@ ___
446
481
 
447
482
  #### Defined in
448
483
 
449
- [packages/core/src/hooks/useFileReference.ts:448](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L448)
484
+ [packages/core/src/hooks/useFileReference.ts:451](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L451)
450
485
 
451
486
  ___
452
487
 
@@ -472,7 +507,7 @@ ___
472
507
 
473
508
  #### Defined in
474
509
 
475
- [packages/core/src/hooks/useFileReference.ts:454](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L454)
510
+ [packages/core/src/hooks/useFileReference.ts:457](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L457)
476
511
 
477
512
  ___
478
513
 
@@ -500,7 +535,7 @@ ___
500
535
 
501
536
  #### Defined in
502
537
 
503
- [packages/core/src/hooks/useFileReference.ts:468](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L468)
538
+ [packages/core/src/hooks/useFileReference.ts:471](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L471)
504
539
 
505
540
  ___
506
541
 
@@ -520,7 +555,7 @@ ___
520
555
 
521
556
  #### Defined in
522
557
 
523
- [packages/core/src/rbac/permissions.ts:208](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L208)
558
+ [packages/core/src/rbac/permissions.ts:211](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L211)
524
559
 
525
560
  ___
526
561
 
@@ -693,7 +728,7 @@ ___
693
728
 
694
729
  #### Defined in
695
730
 
696
- [packages/core/src/rbac/permissions.ts:17](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L17)
731
+ [packages/core/src/rbac/permissions.ts:20](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L20)
697
732
 
698
733
  ___
699
734
 
@@ -727,7 +762,7 @@ ___
727
762
 
728
763
  #### Defined in
729
764
 
730
- [packages/core/src/rbac/permissions.ts:28](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L28)
765
+ [packages/core/src/rbac/permissions.ts:31](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L31)
731
766
 
732
767
  ___
733
768
 
@@ -766,7 +801,7 @@ ___
766
801
 
767
802
  #### Defined in
768
803
 
769
- [packages/core/src/rbac/permissions.ts:63](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L63)
804
+ [packages/core/src/rbac/permissions.ts:66](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L66)
770
805
 
771
806
  ___
772
807
 
@@ -801,7 +836,7 @@ ___
801
836
 
802
837
  #### Defined in
803
838
 
804
- [packages/core/src/rbac/permissions.ts:105](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L105)
839
+ [packages/core/src/rbac/permissions.ts:108](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L108)
805
840
 
806
841
  ___
807
842
 
@@ -883,7 +918,7 @@ ___
883
918
 
884
919
  #### Defined in
885
920
 
886
- [packages/core/src/rbac/permissions.ts:201](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L201)
921
+ [packages/core/src/rbac/permissions.ts:204](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L204)
887
922
 
888
923
  ___
889
924
 
@@ -1074,6 +1109,47 @@ ___
1074
1109
 
1075
1110
  ___
1076
1111
 
1112
+ ### Badge
1113
+
1114
+ ▸ **Badge**(`props`): `ReactNode`
1115
+
1116
+ Badge Component
1117
+ A small, non-interactive visual label for displaying concise information.
1118
+
1119
+ #### Parameters
1120
+
1121
+ | Name | Type |
1122
+ | :------ | :------ |
1123
+ | `props` | [`BadgeProps`](interfaces/BadgeProps.md) & `RefAttributes`\<`HTMLSpanElement`\> |
1124
+
1125
+ #### Returns
1126
+
1127
+ `ReactNode`
1128
+
1129
+ **`Component`**
1130
+
1131
+ **`Example`**
1132
+
1133
+ ```tsx
1134
+ // Default variant
1135
+ <Badge>New</Badge>
1136
+
1137
+ // Specific variant
1138
+ <Badge variant="solid-main-normal">Active</Badge>
1139
+
1140
+ // Outline variant
1141
+ <Badge variant="outline-sec-muted">Pending</Badge>
1142
+
1143
+ // Soft variant
1144
+ <Badge variant="soft-acc-strong">Featured</Badge>
1145
+ ```
1146
+
1147
+ #### Defined in
1148
+
1149
+ [packages/core/src/components/Badge/Badge.tsx:254](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Badge/Badge.tsx#L254)
1150
+
1151
+ ___
1152
+
1077
1153
  ### Button
1078
1154
 
1079
1155
  ▸ **Button**(`props`): `ReactNode`
@@ -1310,6 +1386,296 @@ Features are configured through the unified `features` prop for maximum flexibil
1310
1386
 
1311
1387
  ___
1312
1388
 
1389
+ ### sum
1390
+
1391
+ ▸ **sum**\<`TData`\>(`accessorKey`): \<TRow\>(`rows`: `TRow`[], `column`: [`DataTableColumn`](interfaces/DataTableColumn.md)\<`TRow`\>) => `number`
1392
+
1393
+ Creates a sum aggregation function for a specific field.
1394
+
1395
+ #### Type parameters
1396
+
1397
+ | Name | Type |
1398
+ | :------ | :------ |
1399
+ | `TData` | extends [`DataRecord`](interfaces/DataRecord.md) = [`DataRecord`](interfaces/DataRecord.md) |
1400
+
1401
+ #### Parameters
1402
+
1403
+ | Name | Type | Description |
1404
+ | :------ | :------ | :------ |
1405
+ | `accessorKey` | `string` \| keyof `TData` | The field key to sum (e.g., 'cost', 'quantity') |
1406
+
1407
+ #### Returns
1408
+
1409
+ `fn`
1410
+
1411
+ An aggregation function that sums the specified field across all rows
1412
+
1413
+ ▸ \<`TRow`\>(`rows`, `column`): `number`
1414
+
1415
+ ##### Type parameters
1416
+
1417
+ | Name | Type |
1418
+ | :------ | :------ |
1419
+ | `TRow` | extends [`DataRecord`](interfaces/DataRecord.md) = `TData` |
1420
+
1421
+ ##### Parameters
1422
+
1423
+ | Name | Type |
1424
+ | :------ | :------ |
1425
+ | `rows` | `TRow`[] |
1426
+ | `column` | [`DataTableColumn`](interfaces/DataTableColumn.md)\<`TRow`\> |
1427
+
1428
+ ##### Returns
1429
+
1430
+ `number`
1431
+
1432
+ **`Example`**
1433
+
1434
+ ```tsx
1435
+ {
1436
+ accessorKey: 'cost',
1437
+ header: 'Total Cost',
1438
+ aggregateFn: sum('cost'),
1439
+ }
1440
+ ```
1441
+
1442
+ #### Defined in
1443
+
1444
+ [packages/core/src/components/DataTable/utils/aggregationUtils.ts:28](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/utils/aggregationUtils.ts#L28)
1445
+
1446
+ ___
1447
+
1448
+ ### average
1449
+
1450
+ ▸ **average**\<`TData`\>(`accessorKey`): \<TRow\>(`rows`: `TRow`[], `column`: [`DataTableColumn`](interfaces/DataTableColumn.md)\<`TRow`\>) => `number`
1451
+
1452
+ Creates an average aggregation function for a specific field.
1453
+
1454
+ #### Type parameters
1455
+
1456
+ | Name | Type |
1457
+ | :------ | :------ |
1458
+ | `TData` | extends [`DataRecord`](interfaces/DataRecord.md) = [`DataRecord`](interfaces/DataRecord.md) |
1459
+
1460
+ #### Parameters
1461
+
1462
+ | Name | Type | Description |
1463
+ | :------ | :------ | :------ |
1464
+ | `accessorKey` | `string` \| keyof `TData` | The field key to average (e.g., 'price', 'rating') |
1465
+
1466
+ #### Returns
1467
+
1468
+ `fn`
1469
+
1470
+ An aggregation function that calculates the average of the specified field across all rows
1471
+
1472
+ ▸ \<`TRow`\>(`rows`, `column`): `number`
1473
+
1474
+ ##### Type parameters
1475
+
1476
+ | Name | Type |
1477
+ | :------ | :------ |
1478
+ | `TRow` | extends [`DataRecord`](interfaces/DataRecord.md) = `TData` |
1479
+
1480
+ ##### Parameters
1481
+
1482
+ | Name | Type |
1483
+ | :------ | :------ |
1484
+ | `rows` | `TRow`[] |
1485
+ | `column` | [`DataTableColumn`](interfaces/DataTableColumn.md)\<`TRow`\> |
1486
+
1487
+ ##### Returns
1488
+
1489
+ `number`
1490
+
1491
+ **`Example`**
1492
+
1493
+ ```tsx
1494
+ {
1495
+ accessorKey: 'price',
1496
+ header: 'Avg Price',
1497
+ aggregateFn: average('price'),
1498
+ }
1499
+ ```
1500
+
1501
+ #### Defined in
1502
+
1503
+ [packages/core/src/components/DataTable/utils/aggregationUtils.ts:53](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/utils/aggregationUtils.ts#L53)
1504
+
1505
+ ___
1506
+
1507
+ ### count
1508
+
1509
+ ▸ **count**\<`TData`\>(): \<TRow\>(`rows`: `TRow`[], `column`: [`DataTableColumn`](interfaces/DataTableColumn.md)\<`TRow`\>) => `number`
1510
+
1511
+ Creates a count aggregation function.
1512
+ Returns the number of rows in the group.
1513
+
1514
+ #### Type parameters
1515
+
1516
+ | Name | Type |
1517
+ | :------ | :------ |
1518
+ | `TData` | extends [`DataRecord`](interfaces/DataRecord.md) = [`DataRecord`](interfaces/DataRecord.md) |
1519
+
1520
+ #### Returns
1521
+
1522
+ `fn`
1523
+
1524
+ An aggregation function that counts the number of rows
1525
+
1526
+ ▸ \<`TRow`\>(`rows`, `column`): `number`
1527
+
1528
+ ##### Type parameters
1529
+
1530
+ | Name | Type |
1531
+ | :------ | :------ |
1532
+ | `TRow` | extends [`DataRecord`](interfaces/DataRecord.md) = `TData` |
1533
+
1534
+ ##### Parameters
1535
+
1536
+ | Name | Type |
1537
+ | :------ | :------ |
1538
+ | `rows` | `TRow`[] |
1539
+ | `column` | [`DataTableColumn`](interfaces/DataTableColumn.md)\<`TRow`\> |
1540
+
1541
+ ##### Returns
1542
+
1543
+ `number`
1544
+
1545
+ **`Example`**
1546
+
1547
+ ```tsx
1548
+ {
1549
+ accessorKey: 'id',
1550
+ header: 'Count',
1551
+ aggregateFn: count(),
1552
+ }
1553
+ ```
1554
+
1555
+ #### Defined in
1556
+
1557
+ [packages/core/src/components/DataTable/utils/aggregationUtils.ts:88](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/utils/aggregationUtils.ts#L88)
1558
+
1559
+ ___
1560
+
1561
+ ### min
1562
+
1563
+ ▸ **min**\<`TData`\>(`accessorKey`): \<TRow\>(`rows`: `TRow`[], `column`: [`DataTableColumn`](interfaces/DataTableColumn.md)\<`TRow`\>) => ``null`` \| `number`
1564
+
1565
+ Creates a minimum aggregation function for a specific field.
1566
+
1567
+ #### Type parameters
1568
+
1569
+ | Name | Type |
1570
+ | :------ | :------ |
1571
+ | `TData` | extends [`DataRecord`](interfaces/DataRecord.md) = [`DataRecord`](interfaces/DataRecord.md) |
1572
+
1573
+ #### Parameters
1574
+
1575
+ | Name | Type | Description |
1576
+ | :------ | :------ | :------ |
1577
+ | `accessorKey` | `string` \| keyof `TData` | The field key to find the minimum of (e.g., 'price', 'date') |
1578
+
1579
+ #### Returns
1580
+
1581
+ `fn`
1582
+
1583
+ An aggregation function that returns the minimum value of the specified field
1584
+
1585
+ ▸ \<`TRow`\>(`rows`, `column`): ``null`` \| `number`
1586
+
1587
+ ##### Type parameters
1588
+
1589
+ | Name | Type |
1590
+ | :------ | :------ |
1591
+ | `TRow` | extends [`DataRecord`](interfaces/DataRecord.md) = `TData` |
1592
+
1593
+ ##### Parameters
1594
+
1595
+ | Name | Type |
1596
+ | :------ | :------ |
1597
+ | `rows` | `TRow`[] |
1598
+ | `column` | [`DataTableColumn`](interfaces/DataTableColumn.md)\<`TRow`\> |
1599
+
1600
+ ##### Returns
1601
+
1602
+ ``null`` \| `number`
1603
+
1604
+ **`Example`**
1605
+
1606
+ ```tsx
1607
+ {
1608
+ accessorKey: 'price',
1609
+ header: 'Min Price',
1610
+ aggregateFn: min('price'),
1611
+ }
1612
+ ```
1613
+
1614
+ #### Defined in
1615
+
1616
+ [packages/core/src/components/DataTable/utils/aggregationUtils.ts:109](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/utils/aggregationUtils.ts#L109)
1617
+
1618
+ ___
1619
+
1620
+ ### max
1621
+
1622
+ ▸ **max**\<`TData`\>(`accessorKey`): \<TRow\>(`rows`: `TRow`[], `column`: [`DataTableColumn`](interfaces/DataTableColumn.md)\<`TRow`\>) => ``null`` \| `number`
1623
+
1624
+ Creates a maximum aggregation function for a specific field.
1625
+
1626
+ #### Type parameters
1627
+
1628
+ | Name | Type |
1629
+ | :------ | :------ |
1630
+ | `TData` | extends [`DataRecord`](interfaces/DataRecord.md) = [`DataRecord`](interfaces/DataRecord.md) |
1631
+
1632
+ #### Parameters
1633
+
1634
+ | Name | Type | Description |
1635
+ | :------ | :------ | :------ |
1636
+ | `accessorKey` | `string` \| keyof `TData` | The field key to find the maximum of (e.g., 'price', 'date') |
1637
+
1638
+ #### Returns
1639
+
1640
+ `fn`
1641
+
1642
+ An aggregation function that returns the maximum value of the specified field
1643
+
1644
+ ▸ \<`TRow`\>(`rows`, `column`): ``null`` \| `number`
1645
+
1646
+ ##### Type parameters
1647
+
1648
+ | Name | Type |
1649
+ | :------ | :------ |
1650
+ | `TRow` | extends [`DataRecord`](interfaces/DataRecord.md) = `TData` |
1651
+
1652
+ ##### Parameters
1653
+
1654
+ | Name | Type |
1655
+ | :------ | :------ |
1656
+ | `rows` | `TRow`[] |
1657
+ | `column` | [`DataTableColumn`](interfaces/DataTableColumn.md)\<`TRow`\> |
1658
+
1659
+ ##### Returns
1660
+
1661
+ ``null`` \| `number`
1662
+
1663
+ **`Example`**
1664
+
1665
+ ```tsx
1666
+ {
1667
+ accessorKey: 'price',
1668
+ header: 'Max Price',
1669
+ aggregateFn: max('price'),
1670
+ }
1671
+ ```
1672
+
1673
+ #### Defined in
1674
+
1675
+ [packages/core/src/components/DataTable/utils/aggregationUtils.ts:143](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/utils/aggregationUtils.ts#L143)
1676
+
1677
+ ___
1678
+
1313
1679
  ### generateCSVContent
1314
1680
 
1315
1681
  ▸ **generateCSVContent**\<`TData`\>(`data`, `columns`, `options?`): `string`
@@ -1771,7 +2137,7 @@ This component provides secure event selection with:
1771
2137
 
1772
2138
  #### Defined in
1773
2139
 
1774
- [packages/core/src/components/EventSelector/EventSelector.tsx:130](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/EventSelector/EventSelector.tsx#L130)
2140
+ [packages/core/src/components/EventSelector/EventSelector.tsx:131](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/EventSelector/EventSelector.tsx#L131)
1775
2141
 
1776
2142
  ___
1777
2143
 
@@ -1802,7 +2168,7 @@ React element with file display
1802
2168
 
1803
2169
  #### Defined in
1804
2170
 
1805
- [packages/core/src/components/FileDisplay/FileDisplay.tsx:803](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/FileDisplay/FileDisplay.tsx#L803)
2171
+ [packages/core/src/components/FileDisplay/FileDisplay.tsx:769](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/FileDisplay/FileDisplay.tsx#L769)
1806
2172
 
1807
2173
  ___
1808
2174
 
@@ -2394,7 +2760,7 @@ function CustomNavigation() {
2394
2760
 
2395
2761
  #### Defined in
2396
2762
 
2397
- [packages/core/src/components/NavigationMenu/NavigationMenu.tsx:397](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/NavigationMenu/NavigationMenu.tsx#L397)
2763
+ [packages/core/src/components/NavigationMenu/NavigationMenu.tsx:398](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/NavigationMenu/NavigationMenu.tsx#L398)
2398
2764
 
2399
2765
  ___
2400
2766
 
@@ -2425,7 +2791,7 @@ Security: Only shows organisations the user has valid access to
2425
2791
 
2426
2792
  #### Defined in
2427
2793
 
2428
- [packages/core/src/components/OrganisationSelector/OrganisationSelector.tsx:96](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/OrganisationSelector/OrganisationSelector.tsx#L96)
2794
+ [packages/core/src/components/OrganisationSelector/OrganisationSelector.tsx:97](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/OrganisationSelector/OrganisationSelector.tsx#L97)
2429
2795
 
2430
2796
  ___
2431
2797
 
@@ -2596,7 +2962,7 @@ function AdminApp() {
2596
2962
 
2597
2963
  #### Defined in
2598
2964
 
2599
- [packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:344](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L344)
2965
+ [packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:345](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L345)
2600
2966
 
2601
2967
  ___
2602
2968
 
@@ -2640,7 +3006,7 @@ JSX.Element - The rendered login page with enhanced functionality
2640
3006
 
2641
3007
  #### Defined in
2642
3008
 
2643
- [packages/core/src/components/PaceLoginPage/PaceLoginPage.tsx:166](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceLoginPage/PaceLoginPage.tsx#L166)
3009
+ [packages/core/src/components/PaceLoginPage/PaceLoginPage.tsx:167](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceLoginPage/PaceLoginPage.tsx#L167)
2644
3010
 
2645
3011
  ___
2646
3012
 
@@ -2664,26 +3030,6 @@ ___
2664
3030
 
2665
3031
  ___
2666
3032
 
2667
- ### PasswordResetForm
2668
-
2669
- ▸ **PasswordResetForm**(`«destructured»`): `Element`
2670
-
2671
- #### Parameters
2672
-
2673
- | Name | Type |
2674
- | :------ | :------ |
2675
- | `«destructured»` | `PasswordResetFormProps` |
2676
-
2677
- #### Returns
2678
-
2679
- `Element`
2680
-
2681
- #### Defined in
2682
-
2683
- [packages/core/src/components/PasswordReset/PasswordResetForm.tsx:94](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PasswordReset/PasswordResetForm.tsx#L94)
2684
-
2685
- ___
2686
-
2687
3033
  ### Progress
2688
3034
 
2689
3035
  ▸ **Progress**(`props`): `ReactNode`
@@ -2745,7 +3091,80 @@ React element with route protection logic
2745
3091
 
2746
3092
  #### Defined in
2747
3093
 
2748
- [packages/core/src/components/ProtectedRoute/ProtectedRoute.tsx:132](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/ProtectedRoute/ProtectedRoute.tsx#L132)
3094
+ [packages/core/src/components/ProtectedRoute/ProtectedRoute.tsx:133](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/ProtectedRoute/ProtectedRoute.tsx#L133)
3095
+
3096
+ ___
3097
+
3098
+ ### EventLogo
3099
+
3100
+ ▸ **EventLogo**(`props`): `Element`
3101
+
3102
+ Component for displaying event logos with fallback to initials
3103
+
3104
+ This component is context-aware and automatically detects whether it's being used
3105
+ in a public or authenticated context. It uses FileDisplay internally to fetch and
3106
+ display event logos from storage, with automatic fallback to event initials if no
3107
+ logo is available.
3108
+
3109
+ #### Parameters
3110
+
3111
+ | Name | Type | Description |
3112
+ | :------ | :------ | :------ |
3113
+ | `props` | [`EventLogoProps`](interfaces/EventLogoProps.md) | Logo configuration and styling |
3114
+
3115
+ #### Returns
3116
+
3117
+ `Element`
3118
+
3119
+ React element with event logo or fallback
3120
+
3121
+ #### Defined in
3122
+
3123
+ [packages/core/src/components/PublicLayout/EventLogo.tsx:100](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/EventLogo.tsx#L100)
3124
+
3125
+ ___
3126
+
3127
+ ### EventLogoCompact
3128
+
3129
+ ▸ **EventLogoCompact**(`props`): `Element`
3130
+
3131
+ Compact event logo for small spaces
3132
+
3133
+ #### Parameters
3134
+
3135
+ | Name | Type |
3136
+ | :------ | :------ |
3137
+ | `props` | [`EventLogoProps`](interfaces/EventLogoProps.md) |
3138
+
3139
+ #### Returns
3140
+
3141
+ `Element`
3142
+
3143
+ #### Defined in
3144
+
3145
+ [packages/core/src/components/PublicLayout/EventLogo.tsx:154](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/EventLogo.tsx#L154)
3146
+
3147
+ ___
3148
+
3149
+ ### EventLogoLarge
3150
+
3151
+ ▸ **EventLogoLarge**(`props`): `Element`
3152
+
3153
+ Large event logo for prominent display
3154
+
3155
+ #### Parameters
3156
+
3157
+ | Name | Type |
3158
+ | :------ | :------ |
3159
+ | `props` | [`EventLogoProps`](interfaces/EventLogoProps.md) |
3160
+
3161
+ #### Returns
3162
+
3163
+ `Element`
3164
+
3165
+ #### Defined in
3166
+
3167
+ [packages/core/src/components/PublicLayout/EventLogo.tsx:167](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/EventLogo.tsx#L167)
2749
3168
 
2750
3169
  ___
2751
3170
 
@@ -2875,61 +3294,13 @@ Context checker component that immediately identifies authentication context iss
2875
3294
  This component will immediately log to console if authentication context
2876
3295
  is being triggered in a public page.
2877
3296
 
2878
- #### Parameters
2879
-
2880
- | Name | Type |
2881
- | :------ | :------ |
2882
- | `«destructured»` | `PublicPageContextCheckerProps` |
2883
-
2884
- #### Returns
2885
-
2886
- ``null`` \| `Element`
2887
-
2888
- #### Defined in
2889
-
2890
- [packages/core/src/components/PublicLayout/PublicPageContextChecker.tsx:27](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageContextChecker.tsx#L27)
2891
-
2892
- ___
2893
-
2894
- ### PublicPageDebugger
2895
-
2896
- ▸ **PublicPageDebugger**(`«destructured»`): ``null`` \| `Element`
2897
-
2898
- Debugger component that logs context information
2899
-
2900
- This component helps identify why authentication context
2901
- is being triggered in public pages.
3297
+ Only enabled in development mode when VITE_ENABLE_DEBUG_LOGS is 'true'
2902
3298
 
2903
3299
  #### Parameters
2904
3300
 
2905
3301
  | Name | Type |
2906
3302
  | :------ | :------ |
2907
- | `«destructured»` | `PublicPageDebuggerProps` |
2908
-
2909
- #### Returns
2910
-
2911
- ``null`` \| `Element`
2912
-
2913
- #### Defined in
2914
-
2915
- [packages/core/src/components/PublicLayout/PublicPageDebugger.tsx:27](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageDebugger.tsx#L27)
2916
-
2917
- ___
2918
-
2919
- ### PublicPageDiagnostic
2920
-
2921
- ▸ **PublicPageDiagnostic**(`«destructured»`): ``null`` \| `Element`
2922
-
2923
- Diagnostic component that identifies authentication context issues
2924
-
2925
- This component will help you identify exactly where the problem is
2926
- in your public page implementation.
2927
-
2928
- #### Parameters
2929
-
2930
- | Name | Type |
2931
- | :------ | :------ |
2932
- | `«destructured»` | `PublicPageDiagnosticProps` |
3303
+ | `«destructured»` | `PublicPageContextCheckerProps` |
2933
3304
 
2934
3305
  #### Returns
2935
3306
 
@@ -2937,7 +3308,7 @@ in your public page implementation.
2937
3308
 
2938
3309
  #### Defined in
2939
3310
 
2940
- [packages/core/src/components/PublicLayout/PublicPageDiagnostic.tsx:27](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageDiagnostic.tsx#L27)
3311
+ [packages/core/src/components/PublicLayout/PublicPageContextChecker.tsx:30](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageContextChecker.tsx#L30)
2941
3312
 
2942
3313
  ___
2943
3314
 
@@ -3094,7 +3465,7 @@ This provider:
3094
3465
 
3095
3466
  #### Defined in
3096
3467
 
3097
- [packages/core/src/components/PublicLayout/PublicPageProvider.tsx:70](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageProvider.tsx#L70)
3468
+ [packages/core/src/components/PublicLayout/PublicPageProvider.tsx:71](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageProvider.tsx#L71)
3098
3469
 
3099
3470
  ___
3100
3471
 
@@ -3112,7 +3483,7 @@ Public page context with environment variables
3112
3483
 
3113
3484
  #### Defined in
3114
3485
 
3115
- [packages/core/src/components/PublicLayout/PublicPageProvider.tsx:128](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageProvider.tsx#L128)
3486
+ [packages/core/src/components/PublicLayout/PublicPageProvider.tsx:129](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageProvider.tsx#L129)
3116
3487
 
3117
3488
  ___
3118
3489
 
@@ -3130,7 +3501,7 @@ True if we're in a public page context
3130
3501
 
3131
3502
  #### Defined in
3132
3503
 
3133
- [packages/core/src/components/PublicLayout/PublicPageProvider.tsx:143](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageProvider.tsx#L143)
3504
+ [packages/core/src/components/PublicLayout/PublicPageProvider.tsx:144](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PublicLayout/PublicPageProvider.tsx#L144)
3134
3505
 
3135
3506
  ___
3136
3507
 
@@ -3150,7 +3521,7 @@ ___
3150
3521
 
3151
3522
  #### Defined in
3152
3523
 
3153
- [packages/core/src/components/Select/Select.tsx:167](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L167)
3524
+ [packages/core/src/components/Select/Select.tsx:169](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L169)
3154
3525
 
3155
3526
  ___
3156
3527
 
@@ -3170,7 +3541,7 @@ ___
3170
3541
 
3171
3542
  #### Defined in
3172
3543
 
3173
- [packages/core/src/components/Select/Select.tsx:342](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L342)
3544
+ [packages/core/src/components/Select/Select.tsx:346](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L346)
3174
3545
 
3175
3546
  ___
3176
3547
 
@@ -3190,7 +3561,7 @@ ___
3190
3561
 
3191
3562
  #### Defined in
3192
3563
 
3193
- [packages/core/src/components/Select/Select.tsx:473](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L473)
3564
+ [packages/core/src/components/Select/Select.tsx:480](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L480)
3194
3565
 
3195
3566
  ___
3196
3567
 
@@ -3210,7 +3581,7 @@ ___
3210
3581
 
3211
3582
  #### Defined in
3212
3583
 
3213
- [packages/core/src/components/Select/Select.tsx:490](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L490)
3584
+ [packages/core/src/components/Select/Select.tsx:497](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L497)
3214
3585
 
3215
3586
  ___
3216
3587
 
@@ -3230,7 +3601,7 @@ ___
3230
3601
 
3231
3602
  #### Defined in
3232
3603
 
3233
- [packages/core/src/components/Select/Select.tsx:593](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L593)
3604
+ [packages/core/src/components/Select/Select.tsx:605](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L605)
3234
3605
 
3235
3606
  ___
3236
3607
 
@@ -3250,7 +3621,7 @@ ___
3250
3621
 
3251
3622
  #### Defined in
3252
3623
 
3253
- [packages/core/src/components/Select/Select.tsx:694](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L694)
3624
+ [packages/core/src/components/Select/Select.tsx:706](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L706)
3254
3625
 
3255
3626
  ___
3256
3627
 
@@ -3270,7 +3641,7 @@ ___
3270
3641
 
3271
3642
  #### Defined in
3272
3643
 
3273
- [packages/core/src/components/Select/Select.tsx:705](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L705)
3644
+ [packages/core/src/components/Select/Select.tsx:717](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L717)
3274
3645
 
3275
3646
  ___
3276
3647
 
@@ -3290,7 +3661,7 @@ ___
3290
3661
 
3291
3662
  #### Defined in
3292
3663
 
3293
- [packages/core/src/components/Select/Select.tsx:716](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L716)
3664
+ [packages/core/src/components/Select/Select.tsx:728](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Select/Select.tsx#L728)
3294
3665
 
3295
3666
  ___
3296
3667
 
@@ -3302,7 +3673,7 @@ ___
3302
3673
 
3303
3674
  | Name | Type | Description |
3304
3675
  | :------ | :------ | :------ |
3305
- | `props` | `SessionRestorationLoaderProps` | - |
3676
+ | `props` | [`SessionRestorationLoaderProps`](interfaces/SessionRestorationLoaderProps.md) | - |
3306
3677
  | `deprecatedLegacyContext?` | `any` | **`See`** [React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) |
3307
3678
 
3308
3679
  #### Returns
@@ -3311,7 +3682,7 @@ ___
3311
3682
 
3312
3683
  #### Defined in
3313
3684
 
3314
- [packages/core/src/components/SessionRestorationLoader.tsx:19](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/SessionRestorationLoader.tsx#L19)
3685
+ [packages/core/src/components/SessionRestorationLoader/SessionRestorationLoader.tsx:19](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/SessionRestorationLoader/SessionRestorationLoader.tsx#L19)
3315
3686
 
3316
3687
  ___
3317
3688
 
@@ -3931,7 +4302,7 @@ Object containing event data, loading state, error, and refetch function
3931
4302
 
3932
4303
  #### Defined in
3933
4304
 
3934
- [packages/core/src/hooks/public/usePublicEvent.ts:99](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicEvent.ts#L99)
4305
+ [packages/core/src/hooks/public/usePublicEvent.ts:100](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicEvent.ts#L100)
3935
4306
 
3936
4307
  ___
3937
4308
 
@@ -3948,7 +4319,7 @@ Useful for testing or when you need to force refresh all data
3948
4319
 
3949
4320
  #### Defined in
3950
4321
 
3951
- [packages/core/src/hooks/public/usePublicEvent.ts:410](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicEvent.ts#L410)
4322
+ [packages/core/src/hooks/public/usePublicEvent.ts:411](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicEvent.ts#L411)
3952
4323
 
3953
4324
  ___
3954
4325
 
@@ -3969,7 +4340,7 @@ Get cache statistics for debugging
3969
4340
 
3970
4341
  #### Defined in
3971
4342
 
3972
- [packages/core/src/hooks/public/usePublicEvent.ts:421](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicEvent.ts#L421)
4343
+ [packages/core/src/hooks/public/usePublicEvent.ts:422](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicEvent.ts#L422)
3973
4344
 
3974
4345
  ___
3975
4346
 
@@ -4000,7 +4371,7 @@ Object containing file data, loading state, error, and refetch function
4000
4371
 
4001
4372
  #### Defined in
4002
4373
 
4003
- [packages/core/src/hooks/public/usePublicFileDisplay.ts:89](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicFileDisplay.ts#L89)
4374
+ [packages/core/src/hooks/public/usePublicFileDisplay.ts:90](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicFileDisplay.ts#L90)
4004
4375
 
4005
4376
  ___
4006
4377
 
@@ -4017,7 +4388,7 @@ Useful for testing or when you need to force refresh all data
4017
4388
 
4018
4389
  #### Defined in
4019
4390
 
4020
- [packages/core/src/hooks/public/usePublicFileDisplay.ts:542](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicFileDisplay.ts#L542)
4391
+ [packages/core/src/hooks/public/usePublicFileDisplay.ts:398](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicFileDisplay.ts#L398)
4021
4392
 
4022
4393
  ___
4023
4394
 
@@ -4038,7 +4409,7 @@ Get cache statistics for debugging
4038
4409
 
4039
4410
  #### Defined in
4040
4411
 
4041
- [packages/core/src/hooks/public/usePublicFileDisplay.ts:553](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicFileDisplay.ts#L553)
4412
+ [packages/core/src/hooks/public/usePublicFileDisplay.ts:409](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/public/usePublicFileDisplay.ts#L409)
4042
4413
 
4043
4414
  ___
4044
4415
 
@@ -4277,7 +4648,7 @@ function PublicPageLayout({ event }) {
4277
4648
 
4278
4649
  #### Defined in
4279
4650
 
4280
- [packages/core/src/hooks/useEventTheme.ts:92](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useEventTheme.ts#L92)
4651
+ [packages/core/src/hooks/useEventTheme.ts:95](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useEventTheme.ts#L95)
4281
4652
 
4282
4653
  ___
4283
4654
 
@@ -4317,7 +4688,7 @@ function MyComponent() {
4317
4688
 
4318
4689
  #### Defined in
4319
4690
 
4320
- [packages/core/src/hooks/useEvents.ts:49](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useEvents.ts#L49)
4691
+ [packages/core/src/hooks/useEvents.ts:50](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useEvents.ts#L50)
4321
4692
 
4322
4693
  ___
4323
4694
 
@@ -4353,7 +4724,7 @@ ___
4353
4724
 
4354
4725
  #### Defined in
4355
4726
 
4356
- [packages/core/src/hooks/useFileReference.ts:16](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L16)
4727
+ [packages/core/src/hooks/useFileReference.ts:19](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L19)
4357
4728
 
4358
4729
  ___
4359
4730
 
@@ -4392,7 +4763,7 @@ ___
4392
4763
 
4393
4764
  #### Defined in
4394
4765
 
4395
- [packages/core/src/hooks/useFileReference.ts:199](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L199)
4766
+ [packages/core/src/hooks/useFileReference.ts:202](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L202)
4396
4767
 
4397
4768
  ___
4398
4769
 
@@ -4425,7 +4796,7 @@ Hook for getting a file reference by ID
4425
4796
 
4426
4797
  #### Defined in
4427
4798
 
4428
- [packages/core/src/hooks/useFileReference.ts:301](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L301)
4799
+ [packages/core/src/hooks/useFileReference.ts:304](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L304)
4429
4800
 
4430
4801
  ___
4431
4802
 
@@ -4469,7 +4840,7 @@ For more control, use useFileReference() directly and manage URLs yourself.
4469
4840
 
4470
4841
  #### Defined in
4471
4842
 
4472
- [packages/core/src/hooks/useFileReference.ts:374](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L374)
4843
+ [packages/core/src/hooks/useFileReference.ts:377](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useFileReference.ts#L377)
4473
4844
 
4474
4845
  ___
4475
4846
 
@@ -4489,7 +4860,7 @@ ___
4489
4860
 
4490
4861
  #### Defined in
4491
4862
 
4492
- [packages/core/src/hooks/useInactivityTracker.ts:127](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useInactivityTracker.ts#L127)
4863
+ [packages/core/src/hooks/useInactivityTracker.ts:128](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useInactivityTracker.ts#L128)
4493
4864
 
4494
4865
  ___
4495
4866
 
@@ -4527,7 +4898,7 @@ ___
4527
4898
 
4528
4899
  #### Defined in
4529
4900
 
4530
- [packages/core/src/hooks/useOrganisationSecurity.ts:39](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useOrganisationSecurity.ts#L39)
4901
+ [packages/core/src/hooks/useOrganisationSecurity.ts:40](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useOrganisationSecurity.ts#L40)
4531
4902
 
4532
4903
  ___
4533
4904
 
@@ -4582,7 +4953,7 @@ ___
4582
4953
 
4583
4954
  #### Defined in
4584
4955
 
4585
- [packages/core/src/hooks/useSessionRestoration.ts:25](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useSessionRestoration.ts#L25)
4956
+ [packages/core/src/hooks/useSessionRestoration.ts:28](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useSessionRestoration.ts#L28)
4586
4957
 
4587
4958
  ___
4588
4959
 
@@ -4626,7 +4997,7 @@ ___
4626
4997
 
4627
4998
  #### Defined in
4628
4999
 
4629
- [packages/core/src/providers/services/EventServiceProvider.tsx:35](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/services/EventServiceProvider.tsx#L35)
5000
+ [packages/core/src/providers/services/EventServiceProvider.tsx:36](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/services/EventServiceProvider.tsx#L36)
4630
5001
 
4631
5002
  ___
4632
5003
 
@@ -4646,7 +5017,7 @@ ___
4646
5017
 
4647
5018
  #### Defined in
4648
5019
 
4649
- [packages/core/src/providers/services/InactivityServiceProvider.tsx:32](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/services/InactivityServiceProvider.tsx#L32)
5020
+ [packages/core/src/providers/services/InactivityServiceProvider.tsx:33](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/services/InactivityServiceProvider.tsx#L33)
4650
5021
 
4651
5022
  ___
4652
5023
 
@@ -4666,7 +5037,7 @@ ___
4666
5037
 
4667
5038
  #### Defined in
4668
5039
 
4669
- [packages/core/src/providers/services/OrganisationServiceProvider.tsx:29](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/services/OrganisationServiceProvider.tsx#L29)
5040
+ [packages/core/src/providers/services/OrganisationServiceProvider.tsx:30](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/services/OrganisationServiceProvider.tsx#L30)
4670
5041
 
4671
5042
  ___
4672
5043
 
@@ -4680,7 +5051,7 @@ ___
4680
5051
 
4681
5052
  #### Defined in
4682
5053
 
4683
- [packages/core/src/providers/services/UnifiedAuthProvider.tsx:116](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/services/UnifiedAuthProvider.tsx#L116)
5054
+ [packages/core/src/providers/services/UnifiedAuthProvider.tsx:117](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/services/UnifiedAuthProvider.tsx#L117)
4684
5055
 
4685
5056
  ___
4686
5057
 
@@ -4700,7 +5071,7 @@ ___
4700
5071
 
4701
5072
  #### Defined in
4702
5073
 
4703
- [packages/core/src/providers/services/UnifiedAuthProvider.tsx:514](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/services/UnifiedAuthProvider.tsx#L514)
5074
+ [packages/core/src/providers/services/UnifiedAuthProvider.tsx:515](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/services/UnifiedAuthProvider.tsx#L515)
4704
5075
 
4705
5076
  ___
4706
5077
 
@@ -5207,7 +5578,7 @@ Setup RBAC system
5207
5578
 
5208
5579
  #### Defined in
5209
5580
 
5210
- [packages/core/src/rbac/api.ts:39](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L39)
5581
+ [packages/core/src/rbac/api.ts:42](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L42)
5211
5582
 
5212
5583
  ___
5213
5584
 
@@ -5242,7 +5613,7 @@ const accessLevel = await getAccessLevel({
5242
5613
 
5243
5614
  #### Defined in
5244
5615
 
5245
- [packages/core/src/rbac/api.ts:90](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L90)
5616
+ [packages/core/src/rbac/api.ts:93](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L93)
5246
5617
 
5247
5618
  ___
5248
5619
 
@@ -5281,7 +5652,7 @@ const permissions = await getPermissionMap({
5281
5652
 
5282
5653
  #### Defined in
5283
5654
 
5284
- [packages/core/src/rbac/api.ts:116](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L116)
5655
+ [packages/core/src/rbac/api.ts:119](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L119)
5285
5656
 
5286
5657
  ___
5287
5658
 
@@ -5303,7 +5674,7 @@ ___
5303
5674
 
5304
5675
  #### Defined in
5305
5676
 
5306
- [packages/core/src/rbac/api.ts:124](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L124)
5677
+ [packages/core/src/rbac/api.ts:127](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L127)
5307
5678
 
5308
5679
  ___
5309
5680
 
@@ -5325,7 +5696,7 @@ ___
5325
5696
 
5326
5697
  #### Defined in
5327
5698
 
5328
- [packages/core/src/rbac/api.ts:132](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L132)
5699
+ [packages/core/src/rbac/api.ts:135](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L135)
5329
5700
 
5330
5701
  ___
5331
5702
 
@@ -5360,7 +5731,7 @@ const canManage = await isPermitted({
5360
5731
 
5361
5732
  #### Defined in
5362
5733
 
5363
- [packages/core/src/rbac/api.ts:156](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L156)
5734
+ [packages/core/src/rbac/api.ts:159](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L159)
5364
5735
 
5365
5736
  ___
5366
5737
 
@@ -5384,7 +5755,7 @@ Promise resolving to permission result
5384
5755
 
5385
5756
  #### Defined in
5386
5757
 
5387
- [packages/core/src/rbac/api.ts:182](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L182)
5758
+ [packages/core/src/rbac/api.ts:185](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L185)
5388
5759
 
5389
5760
  ___
5390
5761
 
@@ -5408,7 +5779,7 @@ Promise<boolean> - True if user has permission
5408
5779
 
5409
5780
  #### Defined in
5410
5781
 
5411
- [packages/core/src/rbac/api.ts:215](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L215)
5782
+ [packages/core/src/rbac/api.ts:218](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L218)
5412
5783
 
5413
5784
  ___
5414
5785
 
@@ -5436,7 +5807,7 @@ Promise resolving to true if user has any permission
5436
5807
 
5437
5808
  #### Defined in
5438
5809
 
5439
- [packages/core/src/rbac/api.ts:225](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L225)
5810
+ [packages/core/src/rbac/api.ts:228](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L228)
5440
5811
 
5441
5812
  ___
5442
5813
 
@@ -5464,7 +5835,7 @@ Promise resolving to true if user has all permissions
5464
5835
 
5465
5836
  #### Defined in
5466
5837
 
5467
- [packages/core/src/rbac/api.ts:253](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L253)
5838
+ [packages/core/src/rbac/api.ts:256](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/api.ts#L256)
5468
5839
 
5469
5840
  ___
5470
5841
 
@@ -5577,7 +5948,7 @@ React element with enhanced navigation menu
5577
5948
 
5578
5949
  #### Defined in
5579
5950
 
5580
- [packages/core/src/rbac/components/EnhancedNavigationMenu.tsx:112](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/EnhancedNavigationMenu.tsx#L112)
5951
+ [packages/core/src/rbac/components/EnhancedNavigationMenu.tsx:113](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/EnhancedNavigationMenu.tsx#L113)
5581
5952
 
5582
5953
  ___
5583
5954
 
@@ -5605,7 +5976,7 @@ React element with navigation permission enforcement
5605
5976
 
5606
5977
  #### Defined in
5607
5978
 
5608
- [packages/core/src/rbac/components/NavigationGuard.tsx:113](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/NavigationGuard.tsx#L113)
5979
+ [packages/core/src/rbac/components/NavigationGuard.tsx:114](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/NavigationGuard.tsx#L114)
5609
5980
 
5610
5981
  ___
5611
5982
 
@@ -5632,7 +6003,7 @@ React element with navigation permission context
5632
6003
 
5633
6004
  #### Defined in
5634
6005
 
5635
- [packages/core/src/rbac/components/NavigationProvider.tsx:165](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/NavigationProvider.tsx#L165)
6006
+ [packages/core/src/rbac/components/NavigationProvider.tsx:167](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/NavigationProvider.tsx#L167)
5636
6007
 
5637
6008
  ___
5638
6009
 
@@ -5654,7 +6025,7 @@ Error if used outside of NavigationProvider
5654
6025
 
5655
6026
  #### Defined in
5656
6027
 
5657
- [packages/core/src/rbac/components/NavigationProvider.tsx:328](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/NavigationProvider.tsx#L328)
6028
+ [packages/core/src/rbac/components/NavigationProvider.tsx:331](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/NavigationProvider.tsx#L331)
5658
6029
 
5659
6030
  ___
5660
6031
 
@@ -5682,7 +6053,7 @@ React element with permission enforcement
5682
6053
 
5683
6054
  #### Defined in
5684
6055
 
5685
- [packages/core/src/rbac/components/PagePermissionGuard.tsx:534](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/PagePermissionGuard.tsx#L534)
6056
+ [packages/core/src/rbac/components/PagePermissionGuard.tsx:546](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/PagePermissionGuard.tsx#L546)
5686
6057
 
5687
6058
  ___
5688
6059
 
@@ -5709,7 +6080,7 @@ React element with page permission context
5709
6080
 
5710
6081
  #### Defined in
5711
6082
 
5712
- [packages/core/src/rbac/components/PagePermissionProvider.tsx:125](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/PagePermissionProvider.tsx#L125)
6083
+ [packages/core/src/rbac/components/PagePermissionProvider.tsx:128](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/PagePermissionProvider.tsx#L128)
5713
6084
 
5714
6085
  ___
5715
6086
 
@@ -5731,7 +6102,7 @@ Error if used outside of PagePermissionProvider
5731
6102
 
5732
6103
  #### Defined in
5733
6104
 
5734
- [packages/core/src/rbac/components/PagePermissionProvider.tsx:264](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/PagePermissionProvider.tsx#L264)
6105
+ [packages/core/src/rbac/components/PagePermissionProvider.tsx:267](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/PagePermissionProvider.tsx#L267)
5735
6106
 
5736
6107
  ___
5737
6108
 
@@ -5759,7 +6130,7 @@ React element with permission enforcement
5759
6130
 
5760
6131
  #### Defined in
5761
6132
 
5762
- [packages/core/src/rbac/components/PermissionEnforcer.tsx:117](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/PermissionEnforcer.tsx#L117)
6133
+ [packages/core/src/rbac/components/PermissionEnforcer.tsx:121](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/PermissionEnforcer.tsx#L121)
5763
6134
 
5764
6135
  ___
5765
6136
 
@@ -5786,7 +6157,7 @@ React element with role-based routing
5786
6157
 
5787
6158
  #### Defined in
5788
6159
 
5789
- [packages/core/src/rbac/components/RoleBasedRouter.tsx:181](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/RoleBasedRouter.tsx#L181)
6160
+ [packages/core/src/rbac/components/RoleBasedRouter.tsx:182](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/RoleBasedRouter.tsx#L182)
5790
6161
 
5791
6162
  ___
5792
6163
 
@@ -5808,7 +6179,7 @@ Error if used outside of RoleBasedRouter
5808
6179
 
5809
6180
  #### Defined in
5810
6181
 
5811
- [packages/core/src/rbac/components/RoleBasedRouter.tsx:395](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/RoleBasedRouter.tsx#L395)
6182
+ [packages/core/src/rbac/components/RoleBasedRouter.tsx:397](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/RoleBasedRouter.tsx#L397)
5812
6183
 
5813
6184
  ___
5814
6185
 
@@ -5835,7 +6206,7 @@ React element with secure data context
5835
6206
 
5836
6207
  #### Defined in
5837
6208
 
5838
- [packages/core/src/rbac/components/SecureDataProvider.tsx:135](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/SecureDataProvider.tsx#L135)
6209
+ [packages/core/src/rbac/components/SecureDataProvider.tsx:136](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/SecureDataProvider.tsx#L136)
5839
6210
 
5840
6211
  ___
5841
6212
 
@@ -5857,7 +6228,7 @@ Error if used outside of SecureDataProvider
5857
6228
 
5858
6229
  #### Defined in
5859
6230
 
5860
- [packages/core/src/rbac/components/SecureDataProvider.tsx:309](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/SecureDataProvider.tsx#L309)
6231
+ [packages/core/src/rbac/components/SecureDataProvider.tsx:313](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/SecureDataProvider.tsx#L313)
5861
6232
 
5862
6233
  ___
5863
6234
 
@@ -5958,7 +6329,7 @@ RBACEngine instance
5958
6329
 
5959
6330
  #### Defined in
5960
6331
 
5961
- [packages/core/src/rbac/engine.ts:613](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/engine.ts#L613)
6332
+ [packages/core/src/rbac/engine.ts:621](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/engine.ts#L621)
5962
6333
 
5963
6334
  ___
5964
6335
 
@@ -6011,7 +6382,7 @@ function MyComponent() {
6011
6382
 
6012
6383
  #### Defined in
6013
6384
 
6014
- [packages/core/src/rbac/hooks/usePermissions.ts:49](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L49)
6385
+ [packages/core/src/rbac/hooks/usePermissions.ts:50](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L50)
6015
6386
 
6016
6387
  ___
6017
6388
 
@@ -6059,7 +6430,7 @@ function MyComponent() {
6059
6430
 
6060
6431
  #### Defined in
6061
6432
 
6062
- [packages/core/src/rbac/hooks/usePermissions.ts:217](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L217)
6433
+ [packages/core/src/rbac/hooks/usePermissions.ts:220](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L220)
6063
6434
 
6064
6435
  ___
6065
6436
 
@@ -6109,7 +6480,7 @@ function MyComponent() {
6109
6480
 
6110
6481
  #### Defined in
6111
6482
 
6112
- [packages/core/src/rbac/hooks/usePermissions.ts:375](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L375)
6483
+ [packages/core/src/rbac/hooks/usePermissions.ts:379](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L379)
6113
6484
 
6114
6485
  ___
6115
6486
 
@@ -6166,7 +6537,7 @@ function MyComponent() {
6166
6537
 
6167
6538
  #### Defined in
6168
6539
 
6169
- [packages/core/src/rbac/hooks/usePermissions.ts:450](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L450)
6540
+ [packages/core/src/rbac/hooks/usePermissions.ts:454](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L454)
6170
6541
 
6171
6542
  ___
6172
6543
 
@@ -6217,7 +6588,7 @@ function MyComponent() {
6217
6588
 
6218
6589
  #### Defined in
6219
6590
 
6220
- [packages/core/src/rbac/hooks/usePermissions.ts:533](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L533)
6591
+ [packages/core/src/rbac/hooks/usePermissions.ts:537](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L537)
6221
6592
 
6222
6593
  ___
6223
6594
 
@@ -6268,7 +6639,7 @@ function MyComponent() {
6268
6639
 
6269
6640
  #### Defined in
6270
6641
 
6271
- [packages/core/src/rbac/hooks/usePermissions.ts:619](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L619)
6642
+ [packages/core/src/rbac/hooks/usePermissions.ts:623](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L623)
6272
6643
 
6273
6644
  ___
6274
6645
 
@@ -6319,7 +6690,7 @@ function MyComponent() {
6319
6690
 
6320
6691
  #### Defined in
6321
6692
 
6322
- [packages/core/src/rbac/hooks/usePermissions.ts:704](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L704)
6693
+ [packages/core/src/rbac/hooks/usePermissions.ts:708](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L708)
6323
6694
 
6324
6695
  ___
6325
6696
 
@@ -6382,7 +6753,7 @@ const permission = useCan(userId, resolvedScope, permission);
6382
6753
 
6383
6754
  #### Defined in
6384
6755
 
6385
- [packages/core/src/rbac/hooks/useResolvedScope.ts:61](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useResolvedScope.ts#L61)
6756
+ [packages/core/src/rbac/hooks/useResolvedScope.ts:64](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useResolvedScope.ts#L64)
6386
6757
 
6387
6758
  ___
6388
6759
 
@@ -6428,7 +6799,7 @@ True if valid, false otherwise
6428
6799
 
6429
6800
  #### Defined in
6430
6801
 
6431
- [packages/core/src/rbac/permissions.ts:156](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L156)
6802
+ [packages/core/src/rbac/permissions.ts:159](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L159)
6432
6803
 
6433
6804
  ___
6434
6805
 
@@ -6467,7 +6838,7 @@ Empty array (function deprecated)
6467
6838
 
6468
6839
  #### Defined in
6469
6840
 
6470
- [packages/core/src/rbac/permissions.ts:188](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L188)
6841
+ [packages/core/src/rbac/permissions.ts:191](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/permissions.ts#L191)
6471
6842
 
6472
6843
  ___
6473
6844
 
@@ -6627,7 +6998,7 @@ const palette = parseAndNormalizeEventColours(colours);
6627
6998
 
6628
6999
  #### Defined in
6629
7000
 
6630
- [packages/core/src/theming/parseEventColours.ts:68](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/parseEventColours.ts#L68)
7001
+ [packages/core/src/theming/parseEventColours.ts:54](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/parseEventColours.ts#L54)
6631
7002
 
6632
7003
  ___
6633
7004
 
@@ -6650,7 +7021,7 @@ Uses document.documentElement.style.setProperty() for runtime updates.
6650
7021
 
6651
7022
  #### Defined in
6652
7023
 
6653
- [packages/core/src/theming/runtime.ts:64](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/runtime.ts#L64)
7024
+ [packages/core/src/theming/runtime.ts:70](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/runtime.ts#L70)
6654
7025
 
6655
7026
  ___
6656
7027
 
@@ -6667,7 +7038,7 @@ This allows the browser to fall back to static CSS values.
6667
7038
 
6668
7039
  #### Defined in
6669
7040
 
6670
- [packages/core/src/theming/runtime.ts:116](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/runtime.ts#L116)
7041
+ [packages/core/src/theming/runtime.ts:120](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/runtime.ts#L120)
6671
7042
 
6672
7043
  ___
6673
7044
 
@@ -6690,7 +7061,7 @@ Use this in your SSR setup to avoid FOUC
6690
7061
 
6691
7062
  #### Defined in
6692
7063
 
6693
- [packages/core/src/theming/runtime.ts:194](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/runtime.ts#L194)
7064
+ [packages/core/src/theming/runtime.ts:198](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/runtime.ts#L198)
6694
7065
 
6695
7066
  ___
6696
7067
 
@@ -6706,7 +7077,7 @@ Checks if dynamic theming is currently active
6706
7077
 
6707
7078
  #### Defined in
6708
7079
 
6709
- [packages/core/src/theming/runtime.ts:201](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/runtime.ts#L201)
7080
+ [packages/core/src/theming/runtime.ts:205](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/runtime.ts#L205)
6710
7081
 
6711
7082
  ___
6712
7083
 
@@ -6723,7 +7094,7 @@ Useful for debugging or persistence
6723
7094
 
6724
7095
  #### Defined in
6725
7096
 
6726
- [packages/core/src/theming/runtime.ts:215](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/runtime.ts#L215)
7097
+ [packages/core/src/theming/runtime.ts:219](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/theming/runtime.ts#L219)
6727
7098
 
6728
7099
  ___
6729
7100
 
@@ -6745,7 +7116,7 @@ Set the current application configuration
6745
7116
 
6746
7117
  #### Defined in
6747
7118
 
6748
- [packages/core/src/utils/appConfig.ts:16](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/appConfig.ts#L16)
7119
+ [packages/core/src/utils/app/appConfig.ts:16](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/app/appConfig.ts#L16)
6749
7120
 
6750
7121
  ___
6751
7122
 
@@ -6761,7 +7132,7 @@ Get the current application configuration
6761
7132
 
6762
7133
  #### Defined in
6763
7134
 
6764
- [packages/core/src/utils/appConfig.ts:23](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/appConfig.ts#L23)
7135
+ [packages/core/src/utils/app/appConfig.ts:23](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/app/appConfig.ts#L23)
6765
7136
 
6766
7137
  ___
6767
7138
 
@@ -6777,7 +7148,7 @@ Get the current app name
6777
7148
 
6778
7149
  #### Defined in
6779
7150
 
6780
- [packages/core/src/utils/appConfig.ts:38](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/appConfig.ts#L38)
7151
+ [packages/core/src/utils/app/appConfig.ts:38](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/app/appConfig.ts#L38)
6781
7152
 
6782
7153
  ___
6783
7154
 
@@ -6793,7 +7164,40 @@ Get the current app ID
6793
7164
 
6794
7165
  #### Defined in
6795
7166
 
6796
- [packages/core/src/utils/appConfig.ts:45](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/appConfig.ts#L45)
7167
+ [packages/core/src/utils/app/appConfig.ts:45](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/app/appConfig.ts#L45)
7168
+
7169
+ ___
7170
+
7171
+ ### useSessionTracking
7172
+
7173
+ ▸ **useSessionTracking**(`supabaseClient`, `appName?`): `Object`
7174
+
7175
+ Hook for manual session tracking (event switches and session expiration).
7176
+
7177
+ Note: Login and logout tracking is automatically handled by UnifiedAuthProvider.
7178
+ You should only use this hook for tracking event switches or session expirations.
7179
+
7180
+ #### Parameters
7181
+
7182
+ | Name | Type | Description |
7183
+ | :------ | :------ | :------ |
7184
+ | `supabaseClient` | `default`\<`any`, ``"public"``, ``"public"``, `any`, `any`\> | Supabase client instance |
7185
+ | `appName?` | `string` | Optional application name for tracking |
7186
+
7187
+ #### Returns
7188
+
7189
+ `Object`
7190
+
7191
+ Object containing tracking functions for event switches and session expiration
7192
+
7193
+ | Name | Type |
7194
+ | :------ | :------ |
7195
+ | `trackEventSwitch` | (`eventId`: `string`) => `Promise`\<`void`\> |
7196
+ | `trackSessionExpired` | () => `Promise`\<`void`\> |
7197
+
7198
+ #### Defined in
7199
+
7200
+ [packages/core/src/utils/context/sessionTracking.ts:25](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/context/sessionTracking.ts#L25)
6797
7201
 
6798
7202
  ___
6799
7203
 
@@ -6813,7 +7217,7 @@ ___
6813
7217
 
6814
7218
  #### Defined in
6815
7219
 
6816
- [packages/core/src/utils/cn.ts:5](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/cn.ts#L5)
7220
+ [packages/core/src/utils/core/cn.ts:5](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/core/cn.ts#L5)
6817
7221
 
6818
7222
  ___
6819
7223
 
@@ -6835,7 +7239,7 @@ Format a date as a readable string in "dd mmm yyyy" format (e.g., "15 Jun 2024")
6835
7239
 
6836
7240
  #### Defined in
6837
7241
 
6838
- [packages/core/src/utils/formatting.ts:8](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting.ts#L8)
7242
+ [packages/core/src/utils/formatting/formatting.ts:8](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting/formatting.ts#L8)
6839
7243
 
6840
7244
  ___
6841
7245
 
@@ -6859,7 +7263,7 @@ Format a number as a currency
6859
7263
 
6860
7264
  #### Defined in
6861
7265
 
6862
- [packages/core/src/utils/formatting.ts:24](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting.ts#L24)
7266
+ [packages/core/src/utils/formatting/formatting.ts:24](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting/formatting.ts#L24)
6863
7267
 
6864
7268
  ___
6865
7269
 
@@ -6883,7 +7287,7 @@ Format a number with custom options
6883
7287
 
6884
7288
  #### Defined in
6885
7289
 
6886
- [packages/core/src/utils/formatting.ts:34](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting.ts#L34)
7290
+ [packages/core/src/utils/formatting/formatting.ts:34](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting/formatting.ts#L34)
6887
7291
 
6888
7292
  ___
6889
7293
 
@@ -6928,7 +7332,7 @@ formatPercent(0.8123, 'en-US', { preserveDecimals: true, maxDecimals: 2 }) // '0
6928
7332
 
6929
7333
  #### Defined in
6930
7334
 
6931
- [packages/core/src/utils/formatting.ts:71](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting.ts#L71)
7335
+ [packages/core/src/utils/formatting/formatting.ts:71](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting/formatting.ts#L71)
6932
7336
 
6933
7337
  ___
6934
7338
 
@@ -6951,7 +7355,7 @@ Format a large number with abbreviations (K, M, B)
6951
7355
 
6952
7356
  #### Defined in
6953
7357
 
6954
- [packages/core/src/utils/formatting.ts:115](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting.ts#L115)
7358
+ [packages/core/src/utils/formatting/formatting.ts:115](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting/formatting.ts#L115)
6955
7359
 
6956
7360
  ___
6957
7361
 
@@ -6973,7 +7377,7 @@ Format a file size in bytes to a human-readable string
6973
7377
 
6974
7378
  #### Defined in
6975
7379
 
6976
- [packages/core/src/utils/formatting.ts:125](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting.ts#L125)
7380
+ [packages/core/src/utils/formatting/formatting.ts:125](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/formatting/formatting.ts#L125)
6977
7381
 
6978
7382
  ___
6979
7383
 
@@ -6999,40 +7403,7 @@ Secure data access utilities
6999
7403
 
7000
7404
  #### Defined in
7001
7405
 
7002
- [packages/core/src/utils/secureDataAccess.ts:76](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/secureDataAccess.ts#L76)
7003
-
7004
- ___
7005
-
7006
- ### useSessionTracking
7007
-
7008
- ▸ **useSessionTracking**(`supabaseClient`, `appName?`): `Object`
7009
-
7010
- Hook for manual session tracking (event switches and session expiration).
7011
-
7012
- Note: Login and logout tracking is automatically handled by UnifiedAuthProvider.
7013
- You should only use this hook for tracking event switches or session expirations.
7014
-
7015
- #### Parameters
7016
-
7017
- | Name | Type | Description |
7018
- | :------ | :------ | :------ |
7019
- | `supabaseClient` | `default`\<`any`, ``"public"``, ``"public"``, `any`, `any`\> | Supabase client instance |
7020
- | `appName?` | `string` | Optional application name for tracking |
7021
-
7022
- #### Returns
7023
-
7024
- `Object`
7025
-
7026
- Object containing tracking functions for event switches and session expiration
7027
-
7028
- | Name | Type |
7029
- | :------ | :------ |
7030
- | `trackEventSwitch` | (`eventId`: `string`) => `Promise`\<`void`\> |
7031
- | `trackSessionExpired` | () => `Promise`\<`void`\> |
7032
-
7033
- #### Defined in
7034
-
7035
- [packages/core/src/utils/sessionTracking.ts:22](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/sessionTracking.ts#L22)
7406
+ [packages/core/src/utils/security/secureDataAccess.ts:76](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/security/secureDataAccess.ts#L76)
7036
7407
 
7037
7408
  ___
7038
7409
 
@@ -7128,7 +7499,7 @@ Generate a file path based on organization-first structure
7128
7499
 
7129
7500
  #### Defined in
7130
7501
 
7131
- [packages/core/src/utils/storage/helpers.ts:20](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L20)
7502
+ [packages/core/src/utils/storage/helpers.ts:23](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L23)
7132
7503
 
7133
7504
  ___
7134
7505
 
@@ -7151,7 +7522,7 @@ Sanitizes the original filename to remove spaces and invalid characters for stor
7151
7522
 
7152
7523
  #### Defined in
7153
7524
 
7154
- [packages/core/src/utils/storage/helpers.ts:51](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L51)
7525
+ [packages/core/src/utils/storage/helpers.ts:54](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L54)
7155
7526
 
7156
7527
  ___
7157
7528
 
@@ -7175,7 +7546,7 @@ Extract file metadata from a File object
7175
7546
 
7176
7547
  #### Defined in
7177
7548
 
7178
- [packages/core/src/utils/storage/helpers.ts:78](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L78)
7549
+ [packages/core/src/utils/storage/helpers.ts:81](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L81)
7179
7550
 
7180
7551
  ___
7181
7552
 
@@ -7199,7 +7570,7 @@ Upload a file to Supabase storage with app segregation
7199
7570
 
7200
7571
  #### Defined in
7201
7572
 
7202
- [packages/core/src/utils/storage/helpers.ts:152](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L152)
7573
+ [packages/core/src/utils/storage/helpers.ts:159](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L159)
7203
7574
 
7204
7575
  ___
7205
7576
 
@@ -7225,7 +7596,7 @@ Public URL for the file
7225
7596
 
7226
7597
  #### Defined in
7227
7598
 
7228
- [packages/core/src/utils/storage/helpers.ts:224](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L224)
7599
+ [packages/core/src/utils/storage/helpers.ts:231](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L231)
7229
7600
 
7230
7601
  ___
7231
7602
 
@@ -7252,7 +7623,7 @@ Signed URL with expiration timestamp, or null if failed
7252
7623
 
7253
7624
  #### Defined in
7254
7625
 
7255
- [packages/core/src/utils/storage/helpers.ts:320](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L320)
7626
+ [packages/core/src/utils/storage/helpers.ts:327](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L327)
7256
7627
 
7257
7628
  ___
7258
7629
 
@@ -7278,7 +7649,7 @@ Success status and optional error message
7278
7649
 
7279
7650
  #### Defined in
7280
7651
 
7281
- [packages/core/src/utils/storage/helpers.ts:355](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L355)
7652
+ [packages/core/src/utils/storage/helpers.ts:362](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L362)
7282
7653
 
7283
7654
  ___
7284
7655
 
@@ -7303,7 +7674,7 @@ List of files with metadata
7303
7674
 
7304
7675
  #### Defined in
7305
7676
 
7306
- [packages/core/src/utils/storage/helpers.ts:389](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L389)
7677
+ [packages/core/src/utils/storage/helpers.ts:396](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L396)
7307
7678
 
7308
7679
  ___
7309
7680
 
@@ -7329,7 +7700,7 @@ File blob with metadata, or null if failed
7329
7700
 
7330
7701
  #### Defined in
7331
7702
 
7332
- [packages/core/src/utils/storage/helpers.ts:449](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L449)
7703
+ [packages/core/src/utils/storage/helpers.ts:456](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L456)
7333
7704
 
7334
7705
  ___
7335
7706
 
@@ -7356,4 +7727,4 @@ Move a file to archived location (soft delete)
7356
7727
 
7357
7728
  #### Defined in
7358
7729
 
7359
- [packages/core/src/utils/storage/helpers.ts:502](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L502)
7730
+ [packages/core/src/utils/storage/helpers.ts:509](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/utils/storage/helpers.ts#L509)