@jmruthers/pace-core 0.2.4 → 0.2.5

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 (88) hide show
  1. package/dist/{api-GZHIDA4X.js → api-T6CBS7IO.js} +3 -2
  2. package/dist/cache-I72HKDOA.js +12 -0
  3. package/dist/cache-I72HKDOA.js.map +1 -0
  4. package/dist/{chunk-6ZQVSHKL.js → chunk-ANE4PDC2.js} +9 -158
  5. package/dist/chunk-ANE4PDC2.js.map +1 -0
  6. package/dist/chunk-MRRFJ6SA.js +161 -0
  7. package/dist/chunk-MRRFJ6SA.js.map +1 -0
  8. package/dist/{chunk-OKXMUYIB.js → chunk-O4T53L7X.js} +3 -3
  9. package/dist/{chunk-7JL3T7BO.js → chunk-UY7AM4QG.js} +3 -3
  10. package/dist/components.js +3 -2
  11. package/dist/components.js.map +1 -1
  12. package/dist/hooks.js +1 -1
  13. package/dist/index.js +4 -3
  14. package/dist/index.js.map +1 -1
  15. package/dist/rbac/index.d.ts +2 -0
  16. package/dist/rbac/index.js +18 -11
  17. package/dist/rbac/index.js.map +1 -1
  18. package/docs/api/classes/ErrorBoundary.md +1 -1
  19. package/docs/api/classes/PublicErrorBoundary.md +1 -1
  20. package/docs/api/interfaces/AggregateConfig.md +1 -1
  21. package/docs/api/interfaces/ButtonProps.md +1 -1
  22. package/docs/api/interfaces/CardProps.md +1 -1
  23. package/docs/api/interfaces/ColorPalette.md +1 -1
  24. package/docs/api/interfaces/ColorShade.md +1 -1
  25. package/docs/api/interfaces/DataTableAction.md +1 -1
  26. package/docs/api/interfaces/DataTableColumn.md +1 -1
  27. package/docs/api/interfaces/DataTableProps.md +1 -1
  28. package/docs/api/interfaces/DataTableToolbarButton.md +1 -1
  29. package/docs/api/interfaces/EmptyStateConfig.md +1 -1
  30. package/docs/api/interfaces/EventContextType.md +1 -1
  31. package/docs/api/interfaces/EventLogoProps.md +1 -1
  32. package/docs/api/interfaces/EventProviderProps.md +1 -1
  33. package/docs/api/interfaces/FileSizeLimits.md +1 -1
  34. package/docs/api/interfaces/FileUploadProps.md +1 -1
  35. package/docs/api/interfaces/FooterProps.md +1 -1
  36. package/docs/api/interfaces/InactivityWarningModalProps.md +1 -1
  37. package/docs/api/interfaces/InputProps.md +1 -1
  38. package/docs/api/interfaces/LabelProps.md +1 -1
  39. package/docs/api/interfaces/LoginFormProps.md +1 -1
  40. package/docs/api/interfaces/NavigationItem.md +1 -1
  41. package/docs/api/interfaces/NavigationMenuProps.md +1 -1
  42. package/docs/api/interfaces/Organisation.md +1 -1
  43. package/docs/api/interfaces/OrganisationContextType.md +1 -1
  44. package/docs/api/interfaces/OrganisationMembership.md +1 -1
  45. package/docs/api/interfaces/OrganisationProviderProps.md +1 -1
  46. package/docs/api/interfaces/OrganisationSecurityError.md +1 -1
  47. package/docs/api/interfaces/PaceAppLayoutProps.md +1 -1
  48. package/docs/api/interfaces/PaceLoginPageProps.md +1 -1
  49. package/docs/api/interfaces/PaletteData.md +1 -1
  50. package/docs/api/interfaces/PublicErrorBoundaryProps.md +1 -1
  51. package/docs/api/interfaces/PublicErrorBoundaryState.md +1 -1
  52. package/docs/api/interfaces/PublicLoadingSpinnerProps.md +1 -1
  53. package/docs/api/interfaces/PublicPageFooterProps.md +1 -1
  54. package/docs/api/interfaces/PublicPageHeaderProps.md +1 -1
  55. package/docs/api/interfaces/PublicPageLayoutProps.md +1 -1
  56. package/docs/api/interfaces/StorageConfig.md +1 -1
  57. package/docs/api/interfaces/StorageFileInfo.md +1 -1
  58. package/docs/api/interfaces/StorageFileMetadata.md +1 -1
  59. package/docs/api/interfaces/StorageListOptions.md +1 -1
  60. package/docs/api/interfaces/StorageListResult.md +1 -1
  61. package/docs/api/interfaces/StorageUploadOptions.md +1 -1
  62. package/docs/api/interfaces/StorageUploadResult.md +1 -1
  63. package/docs/api/interfaces/StorageUrlOptions.md +1 -1
  64. package/docs/api/interfaces/StyleImport.md +1 -1
  65. package/docs/api/interfaces/ToastActionElement.md +1 -1
  66. package/docs/api/interfaces/ToastProps.md +1 -1
  67. package/docs/api/interfaces/UnifiedAuthContextType.md +1 -1
  68. package/docs/api/interfaces/UnifiedAuthProviderProps.md +1 -1
  69. package/docs/api/interfaces/UseInactivityTrackerOptions.md +1 -1
  70. package/docs/api/interfaces/UseInactivityTrackerReturn.md +1 -1
  71. package/docs/api/interfaces/UsePublicEventLogoOptions.md +1 -1
  72. package/docs/api/interfaces/UsePublicEventLogoReturn.md +1 -1
  73. package/docs/api/interfaces/UsePublicEventOptions.md +1 -1
  74. package/docs/api/interfaces/UsePublicEventReturn.md +1 -1
  75. package/docs/api/interfaces/UsePublicRouteParamsReturn.md +1 -1
  76. package/docs/api/interfaces/UserEventAccess.md +1 -1
  77. package/docs/api/interfaces/UserMenuProps.md +1 -1
  78. package/docs/api/interfaces/UserProfile.md +1 -1
  79. package/docs/api/modules.md +2 -2
  80. package/package.json +1 -1
  81. package/src/rbac/api.ts +2 -0
  82. package/src/rbac/cache.ts +2 -0
  83. package/src/rbac/hooks.ts +7 -0
  84. package/src/rbac/types.ts +2 -0
  85. package/dist/chunk-6ZQVSHKL.js.map +0 -1
  86. /package/dist/{api-GZHIDA4X.js.map → api-T6CBS7IO.js.map} +0 -0
  87. /package/dist/{chunk-OKXMUYIB.js.map → chunk-O4T53L7X.js.map} +0 -0
  88. /package/dist/{chunk-7JL3T7BO.js.map → chunk-UY7AM4QG.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / ErrorBoundary
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / ErrorBoundary
2
2
 
3
3
  # Class: ErrorBoundary
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / PublicErrorBoundary
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / PublicErrorBoundary
2
2
 
3
3
  # Class: PublicErrorBoundary
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / AggregateConfig
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / AggregateConfig
2
2
 
3
3
  # Interface: AggregateConfig
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / ButtonProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / ButtonProps
2
2
 
3
3
  # Interface: ButtonProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / CardProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / CardProps
2
2
 
3
3
  # Interface: CardProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / ColorPalette
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / ColorPalette
2
2
 
3
3
  # Interface: ColorPalette
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / ColorShade
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / ColorShade
2
2
 
3
3
  # Interface: ColorShade
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / DataTableAction
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / DataTableAction
2
2
 
3
3
  # Interface: DataTableAction\<TData\>
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / DataTableColumn
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / DataTableColumn
2
2
 
3
3
  # Interface: DataTableColumn\<TData\>
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / DataTableProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / DataTableProps
2
2
 
3
3
  # Interface: DataTableProps\<TData\>
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / DataTableToolbarButton
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / DataTableToolbarButton
2
2
 
3
3
  # Interface: DataTableToolbarButton
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / EmptyStateConfig
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / EmptyStateConfig
2
2
 
3
3
  # Interface: EmptyStateConfig
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / EventContextType
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / EventContextType
2
2
 
3
3
  # Interface: EventContextType
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / EventLogoProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / EventLogoProps
2
2
 
3
3
  # Interface: EventLogoProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / EventProviderProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / EventProviderProps
2
2
 
3
3
  # Interface: EventProviderProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / FileSizeLimits
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / FileSizeLimits
2
2
 
3
3
  # Interface: FileSizeLimits
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / FileUploadProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / FileUploadProps
2
2
 
3
3
  # Interface: FileUploadProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / FooterProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / FooterProps
2
2
 
3
3
  # Interface: FooterProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / InactivityWarningModalProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / InactivityWarningModalProps
2
2
 
3
3
  # Interface: InactivityWarningModalProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / InputProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / InputProps
2
2
 
3
3
  # Interface: InputProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / LabelProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / LabelProps
2
2
 
3
3
  # Interface: LabelProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / LoginFormProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / LoginFormProps
2
2
 
3
3
  # Interface: LoginFormProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / NavigationItem
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / NavigationItem
2
2
 
3
3
  # Interface: NavigationItem
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / NavigationMenuProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / NavigationMenuProps
2
2
 
3
3
  # Interface: NavigationMenuProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / Organisation
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / Organisation
2
2
 
3
3
  # Interface: Organisation
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / OrganisationContextType
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / OrganisationContextType
2
2
 
3
3
  # Interface: OrganisationContextType
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / OrganisationMembership
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / OrganisationMembership
2
2
 
3
3
  # Interface: OrganisationMembership
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / OrganisationProviderProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / OrganisationProviderProps
2
2
 
3
3
  # Interface: OrganisationProviderProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / OrganisationSecurityError
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / OrganisationSecurityError
2
2
 
3
3
  # Interface: OrganisationSecurityError
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / PaceAppLayoutProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / PaceAppLayoutProps
2
2
 
3
3
  # Interface: PaceAppLayoutProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / PaceLoginPageProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / PaceLoginPageProps
2
2
 
3
3
  # Interface: PaceLoginPageProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / PaletteData
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / PaletteData
2
2
 
3
3
  # Interface: PaletteData
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / PublicErrorBoundaryProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / PublicErrorBoundaryProps
2
2
 
3
3
  # Interface: PublicErrorBoundaryProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / PublicErrorBoundaryState
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / PublicErrorBoundaryState
2
2
 
3
3
  # Interface: PublicErrorBoundaryState
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / PublicLoadingSpinnerProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / PublicLoadingSpinnerProps
2
2
 
3
3
  # Interface: PublicLoadingSpinnerProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / PublicPageFooterProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / PublicPageFooterProps
2
2
 
3
3
  # Interface: PublicPageFooterProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / PublicPageHeaderProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / PublicPageHeaderProps
2
2
 
3
3
  # Interface: PublicPageHeaderProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / PublicPageLayoutProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / PublicPageLayoutProps
2
2
 
3
3
  # Interface: PublicPageLayoutProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / StorageConfig
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / StorageConfig
2
2
 
3
3
  # Interface: StorageConfig
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / StorageFileInfo
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / StorageFileInfo
2
2
 
3
3
  # Interface: StorageFileInfo
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / StorageFileMetadata
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / StorageFileMetadata
2
2
 
3
3
  # Interface: StorageFileMetadata
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / StorageListOptions
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / StorageListOptions
2
2
 
3
3
  # Interface: StorageListOptions
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / StorageListResult
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / StorageListResult
2
2
 
3
3
  # Interface: StorageListResult
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / StorageUploadOptions
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / StorageUploadOptions
2
2
 
3
3
  # Interface: StorageUploadOptions
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / StorageUploadResult
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / StorageUploadResult
2
2
 
3
3
  # Interface: StorageUploadResult
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / StorageUrlOptions
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / StorageUrlOptions
2
2
 
3
3
  # Interface: StorageUrlOptions
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / StyleImport
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / StyleImport
2
2
 
3
3
  # Interface: StyleImport
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / ToastActionElement
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / ToastActionElement
2
2
 
3
3
  # Interface: ToastActionElement
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / ToastProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / ToastProps
2
2
 
3
3
  # Interface: ToastProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UnifiedAuthContextType
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UnifiedAuthContextType
2
2
 
3
3
  # Interface: UnifiedAuthContextType
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UnifiedAuthProviderProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UnifiedAuthProviderProps
2
2
 
3
3
  # Interface: UnifiedAuthProviderProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UseInactivityTrackerOptions
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UseInactivityTrackerOptions
2
2
 
3
3
  # Interface: UseInactivityTrackerOptions
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UseInactivityTrackerReturn
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UseInactivityTrackerReturn
2
2
 
3
3
  # Interface: UseInactivityTrackerReturn
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UsePublicEventLogoOptions
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UsePublicEventLogoOptions
2
2
 
3
3
  # Interface: UsePublicEventLogoOptions
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UsePublicEventLogoReturn
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UsePublicEventLogoReturn
2
2
 
3
3
  # Interface: UsePublicEventLogoReturn
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UsePublicEventOptions
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UsePublicEventOptions
2
2
 
3
3
  # Interface: UsePublicEventOptions
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UsePublicEventReturn
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UsePublicEventReturn
2
2
 
3
3
  # Interface: UsePublicEventReturn
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UsePublicRouteParamsReturn
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UsePublicRouteParamsReturn
2
2
 
3
3
  # Interface: UsePublicRouteParamsReturn
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UserEventAccess
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UserEventAccess
2
2
 
3
3
  # Interface: UserEventAccess
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UserMenuProps
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UserMenuProps
2
2
 
3
3
  # Interface: UserMenuProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.2.4](../README.md) / [Exports](../modules.md) / UserProfile
1
+ [@jmruthers/pace-core - v0.2.5](../README.md) / [Exports](../modules.md) / UserProfile
2
2
 
3
3
  # Interface: UserProfile
4
4
 
@@ -1,6 +1,6 @@
1
- [@jmruthers/pace-core - v0.2.4](README.md) / Exports
1
+ [@jmruthers/pace-core - v0.2.5](README.md) / Exports
2
2
 
3
- # @jmruthers/pace-core - v0.2.4
3
+ # @jmruthers/pace-core - v0.2.5
4
4
 
5
5
  **`File`**
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jmruthers/pace-core",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Clean, modern React component library with Tailwind v4 styling and native utilities",
5
5
  "private": false,
6
6
  "publishConfig": {
package/src/rbac/api.ts CHANGED
@@ -152,6 +152,8 @@ export async function isPermittedCached(input: PermissionCheck): Promise<boolean
152
152
  organisationId: scope.organisationId!,
153
153
  eventId: scope.eventId,
154
154
  appId: scope.appId,
155
+ permission,
156
+ pageId,
155
157
  });
156
158
 
157
159
  const cached = rbacCache.get<boolean>(cacheKey);
package/src/rbac/cache.ts CHANGED
@@ -135,6 +135,8 @@ export class RBACCache {
135
135
  key.organisationId || 'null',
136
136
  key.eventId || 'null',
137
137
  key.appId || 'null',
138
+ key.permission || 'null',
139
+ key.pageId || 'null',
138
140
  ];
139
141
 
140
142
  return parts.join(':');
package/src/rbac/hooks.ts CHANGED
@@ -133,6 +133,13 @@ export function useCan(
133
133
  console.log('[useCan] check() called with:', { userId, scope, permission, pageId });
134
134
  console.log('[useCan] Hook parameters:', { userId, scope, permission, pageId, useCache });
135
135
 
136
+ // Clear cache for debugging - remove this after fixing
137
+ if (typeof window !== 'undefined') {
138
+ console.log('[useCan] Clearing cache for debugging...');
139
+ const { rbacCache } = await import('./cache');
140
+ rbacCache.clear();
141
+ }
142
+
136
143
  if (!userId) {
137
144
  console.log('[useCan] No userId, denying access');
138
145
  setCan(false);
package/src/rbac/types.ts CHANGED
@@ -176,6 +176,8 @@ export interface PermissionCacheKey {
176
176
  organisationId?: UUID;
177
177
  eventId?: string;
178
178
  appId?: UUID;
179
+ permission?: Permission;
180
+ pageId?: UUID | string;
179
181
  }
180
182
 
181
183
  // ============================================================================