@jmruthers/pace-core 0.5.19 → 0.5.21
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.
- package/dist/{DataTable-ZEQDWNKA.js → DataTable-IX7N7XYG.js} +4 -4
- package/dist/{chunk-3ZVV6URZ.js → chunk-37WAIATW.js} +4 -4
- package/dist/{chunk-7UEIZCST.js → chunk-4TMM2IGR.js} +5 -4
- package/dist/chunk-4TMM2IGR.js.map +1 -0
- package/dist/{chunk-DKDTXS5Q.js → chunk-JE7K6Q3N.js} +10 -9
- package/dist/chunk-JE7K6Q3N.js.map +1 -0
- package/dist/{chunk-CLEIIMJO.js → chunk-R4QSIQDW.js} +2 -2
- package/dist/{chunk-J42NVDVM.js → chunk-ULP6OIQE.js} +42 -8
- package/dist/chunk-ULP6OIQE.js.map +1 -0
- package/dist/{chunk-CMXBNDPM.js → chunk-UYKKHRJN.js} +2 -2
- package/dist/{chunk-7EGP6KZT.js → chunk-YA77BOZM.js} +17 -17
- package/dist/chunk-YA77BOZM.js.map +1 -0
- package/dist/{chunk-DV2Z3RBQ.js → chunk-ZIYFAQJ5.js} +2 -2
- package/dist/components.js +6 -6
- package/dist/hooks.js +2 -2
- package/dist/index.js +8 -8
- package/dist/providers.js +2 -2
- package/dist/rbac/index.js +3 -3
- package/dist/utils.js +1 -1
- package/docs/api/classes/ErrorBoundary.md +1 -1
- package/docs/api/classes/InvalidScopeError.md +1 -1
- package/docs/api/classes/MissingUserContextError.md +1 -1
- package/docs/api/classes/OrganisationContextRequiredError.md +1 -1
- package/docs/api/classes/PermissionDeniedError.md +1 -1
- package/docs/api/classes/PublicErrorBoundary.md +1 -1
- package/docs/api/classes/RBACAuditManager.md +1 -1
- package/docs/api/classes/RBACCache.md +1 -1
- package/docs/api/classes/RBACEngine.md +1 -1
- package/docs/api/classes/RBACError.md +1 -1
- package/docs/api/classes/RBACNotInitializedError.md +1 -1
- package/docs/api/classes/SecureSupabaseClient.md +1 -1
- package/docs/api/interfaces/AggregateConfig.md +1 -1
- package/docs/api/interfaces/ButtonProps.md +1 -1
- package/docs/api/interfaces/CardProps.md +1 -1
- package/docs/api/interfaces/ColorPalette.md +1 -1
- package/docs/api/interfaces/ColorShade.md +1 -1
- package/docs/api/interfaces/DataAccessRecord.md +1 -1
- package/docs/api/interfaces/DataTableAction.md +1 -1
- package/docs/api/interfaces/DataTableColumn.md +1 -1
- package/docs/api/interfaces/DataTableProps.md +1 -1
- package/docs/api/interfaces/DataTableToolbarButton.md +1 -1
- package/docs/api/interfaces/EmptyStateConfig.md +1 -1
- package/docs/api/interfaces/EnhancedNavigationMenuProps.md +1 -1
- package/docs/api/interfaces/EventContextType.md +7 -7
- package/docs/api/interfaces/EventLogoProps.md +1 -1
- package/docs/api/interfaces/EventProviderProps.md +2 -2
- package/docs/api/interfaces/FileSizeLimits.md +1 -1
- package/docs/api/interfaces/FileUploadProps.md +1 -1
- package/docs/api/interfaces/FooterProps.md +1 -1
- package/docs/api/interfaces/InactivityWarningModalProps.md +1 -1
- package/docs/api/interfaces/InputProps.md +1 -1
- package/docs/api/interfaces/LabelProps.md +1 -1
- package/docs/api/interfaces/LoginFormProps.md +1 -1
- package/docs/api/interfaces/NavigationAccessRecord.md +1 -1
- package/docs/api/interfaces/NavigationContextType.md +1 -1
- package/docs/api/interfaces/NavigationGuardProps.md +1 -1
- package/docs/api/interfaces/NavigationItem.md +1 -1
- package/docs/api/interfaces/NavigationMenuProps.md +1 -1
- package/docs/api/interfaces/NavigationProviderProps.md +1 -1
- package/docs/api/interfaces/Organisation.md +1 -1
- package/docs/api/interfaces/OrganisationContextType.md +1 -1
- package/docs/api/interfaces/OrganisationMembership.md +1 -1
- package/docs/api/interfaces/OrganisationProviderProps.md +1 -1
- package/docs/api/interfaces/OrganisationSecurityError.md +1 -1
- package/docs/api/interfaces/PaceAppLayoutProps.md +1 -1
- package/docs/api/interfaces/PaceLoginPageProps.md +1 -1
- package/docs/api/interfaces/PageAccessRecord.md +1 -1
- package/docs/api/interfaces/PagePermissionContextType.md +1 -1
- package/docs/api/interfaces/PagePermissionGuardProps.md +1 -1
- package/docs/api/interfaces/PagePermissionProviderProps.md +1 -1
- package/docs/api/interfaces/PaletteData.md +1 -1
- package/docs/api/interfaces/PermissionEnforcerProps.md +1 -1
- package/docs/api/interfaces/PublicErrorBoundaryProps.md +1 -1
- package/docs/api/interfaces/PublicErrorBoundaryState.md +1 -1
- package/docs/api/interfaces/PublicLoadingSpinnerProps.md +1 -1
- package/docs/api/interfaces/PublicPageFooterProps.md +1 -1
- package/docs/api/interfaces/PublicPageHeaderProps.md +1 -1
- package/docs/api/interfaces/PublicPageLayoutProps.md +1 -1
- package/docs/api/interfaces/RBACConfig.md +1 -1
- package/docs/api/interfaces/RBACContextType.md +1 -1
- package/docs/api/interfaces/RBACLogger.md +1 -1
- package/docs/api/interfaces/RBACProviderProps.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterContextType.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterProps.md +1 -1
- package/docs/api/interfaces/RouteAccessRecord.md +1 -1
- package/docs/api/interfaces/RouteConfig.md +1 -1
- package/docs/api/interfaces/SecureDataContextType.md +1 -1
- package/docs/api/interfaces/SecureDataProviderProps.md +1 -1
- package/docs/api/interfaces/StorageConfig.md +1 -1
- package/docs/api/interfaces/StorageFileInfo.md +1 -1
- package/docs/api/interfaces/StorageFileMetadata.md +1 -1
- package/docs/api/interfaces/StorageListOptions.md +1 -1
- package/docs/api/interfaces/StorageListResult.md +1 -1
- package/docs/api/interfaces/StorageUploadOptions.md +1 -1
- package/docs/api/interfaces/StorageUploadResult.md +1 -1
- package/docs/api/interfaces/StorageUrlOptions.md +1 -1
- package/docs/api/interfaces/StyleImport.md +1 -1
- package/docs/api/interfaces/ToastActionElement.md +1 -1
- package/docs/api/interfaces/ToastProps.md +1 -1
- package/docs/api/interfaces/UnifiedAuthContextType.md +1 -1
- package/docs/api/interfaces/UnifiedAuthProviderProps.md +1 -1
- package/docs/api/interfaces/UseInactivityTrackerOptions.md +1 -1
- package/docs/api/interfaces/UseInactivityTrackerReturn.md +1 -1
- package/docs/api/interfaces/UsePublicEventLogoOptions.md +1 -1
- package/docs/api/interfaces/UsePublicEventLogoReturn.md +1 -1
- package/docs/api/interfaces/UsePublicEventOptions.md +1 -1
- package/docs/api/interfaces/UsePublicEventReturn.md +1 -1
- package/docs/api/interfaces/UsePublicRouteParamsReturn.md +1 -1
- package/docs/api/interfaces/UserEventAccess.md +1 -1
- package/docs/api/interfaces/UserMenuProps.md +1 -1
- package/docs/api/interfaces/UserProfile.md +1 -1
- package/docs/api/modules.md +12 -12
- package/docs/troubleshooting/cake-infinite-rerender-debugging.md +284 -0
- package/docs/troubleshooting/cake-infinite-rerender-summary.md +117 -0
- package/docs/troubleshooting/cake-rerender-diagnostic.js +162 -0
- package/docs/troubleshooting/rbac-critical-fixes-summary.md +260 -0
- package/package.json +1 -1
- package/src/__tests__/hooks/usePermissions.test.ts +265 -0
- package/src/__tests__/rbac/PagePermissionGuard.test.tsx +187 -0
- package/src/hooks/useAppConfig.ts +7 -6
- package/src/providers/EventProvider.tsx +4 -2
- package/src/rbac/components/PagePermissionGuard.tsx +56 -13
- package/src/rbac/hooks/usePermissions.ts +21 -14
- package/dist/chunk-7EGP6KZT.js.map +0 -1
- package/dist/chunk-7UEIZCST.js.map +0 -1
- package/dist/chunk-DKDTXS5Q.js.map +0 -1
- package/dist/chunk-J42NVDVM.js.map +0 -1
- /package/dist/{DataTable-ZEQDWNKA.js.map → DataTable-IX7N7XYG.js.map} +0 -0
- /package/dist/{chunk-3ZVV6URZ.js.map → chunk-37WAIATW.js.map} +0 -0
- /package/dist/{chunk-CLEIIMJO.js.map → chunk-R4QSIQDW.js.map} +0 -0
- /package/dist/{chunk-CMXBNDPM.js.map → chunk-UYKKHRJN.js.map} +0 -0
- /package/dist/{chunk-DV2Z3RBQ.js.map → chunk-ZIYFAQJ5.js.map} +0 -0
package/docs/api/modules.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.5.
|
|
1
|
+
[@jmruthers/pace-core - v0.5.21](README.md) / Exports
|
|
2
2
|
|
|
3
|
-
# @jmruthers/pace-core - v0.5.
|
|
3
|
+
# @jmruthers/pace-core - v0.5.21
|
|
4
4
|
|
|
5
5
|
**`File`**
|
|
6
6
|
|
|
@@ -3889,7 +3889,7 @@ App configuration and loading state
|
|
|
3889
3889
|
|
|
3890
3890
|
#### Defined in
|
|
3891
3891
|
|
|
3892
|
-
[packages/core/src/hooks/useAppConfig.ts:
|
|
3892
|
+
[packages/core/src/hooks/useAppConfig.ts:47](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/hooks/useAppConfig.ts#L47)
|
|
3893
3893
|
|
|
3894
3894
|
___
|
|
3895
3895
|
|
|
@@ -4012,7 +4012,7 @@ ___
|
|
|
4012
4012
|
|
|
4013
4013
|
#### Defined in
|
|
4014
4014
|
|
|
4015
|
-
[packages/core/src/providers/EventProvider.tsx:
|
|
4015
|
+
[packages/core/src/providers/EventProvider.tsx:30](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/EventProvider.tsx#L30)
|
|
4016
4016
|
|
|
4017
4017
|
___
|
|
4018
4018
|
|
|
@@ -4032,7 +4032,7 @@ ___
|
|
|
4032
4032
|
|
|
4033
4033
|
#### Defined in
|
|
4034
4034
|
|
|
4035
|
-
[packages/core/src/providers/EventProvider.tsx:
|
|
4035
|
+
[packages/core/src/providers/EventProvider.tsx:69](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/providers/EventProvider.tsx#L69)
|
|
4036
4036
|
|
|
4037
4037
|
___
|
|
4038
4038
|
|
|
@@ -5058,7 +5058,7 @@ React element with permission enforcement
|
|
|
5058
5058
|
|
|
5059
5059
|
#### Defined in
|
|
5060
5060
|
|
|
5061
|
-
[packages/core/src/rbac/components/PagePermissionGuard.tsx:
|
|
5061
|
+
[packages/core/src/rbac/components/PagePermissionGuard.tsx:508](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/components/PagePermissionGuard.tsx#L508)
|
|
5062
5062
|
|
|
5063
5063
|
___
|
|
5064
5064
|
|
|
@@ -5434,7 +5434,7 @@ function MyComponent() {
|
|
|
5434
5434
|
|
|
5435
5435
|
#### Defined in
|
|
5436
5436
|
|
|
5437
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
5437
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:176](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L176)
|
|
5438
5438
|
|
|
5439
5439
|
___
|
|
5440
5440
|
|
|
@@ -5484,7 +5484,7 @@ function MyComponent() {
|
|
|
5484
5484
|
|
|
5485
5485
|
#### Defined in
|
|
5486
5486
|
|
|
5487
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
5487
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:313](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L313)
|
|
5488
5488
|
|
|
5489
5489
|
___
|
|
5490
5490
|
|
|
@@ -5541,7 +5541,7 @@ function MyComponent() {
|
|
|
5541
5541
|
|
|
5542
5542
|
#### Defined in
|
|
5543
5543
|
|
|
5544
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
5544
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:388](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L388)
|
|
5545
5545
|
|
|
5546
5546
|
___
|
|
5547
5547
|
|
|
@@ -5592,7 +5592,7 @@ function MyComponent() {
|
|
|
5592
5592
|
|
|
5593
5593
|
#### Defined in
|
|
5594
5594
|
|
|
5595
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
5595
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:471](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L471)
|
|
5596
5596
|
|
|
5597
5597
|
___
|
|
5598
5598
|
|
|
@@ -5643,7 +5643,7 @@ function MyComponent() {
|
|
|
5643
5643
|
|
|
5644
5644
|
#### Defined in
|
|
5645
5645
|
|
|
5646
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
5646
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:557](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L557)
|
|
5647
5647
|
|
|
5648
5648
|
___
|
|
5649
5649
|
|
|
@@ -5694,7 +5694,7 @@ function MyComponent() {
|
|
|
5694
5694
|
|
|
5695
5695
|
#### Defined in
|
|
5696
5696
|
|
|
5697
|
-
[packages/core/src/rbac/hooks/usePermissions.ts:
|
|
5697
|
+
[packages/core/src/rbac/hooks/usePermissions.ts:642](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/usePermissions.ts#L642)
|
|
5698
5698
|
|
|
5699
5699
|
___
|
|
5700
5700
|
|