@jmruthers/pace-core 0.5.66 → 0.5.68
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/README.md +26 -0
- package/dist/{DataTable-MFUXNGPR.js → DataTable-4IUY7BXB.js} +5 -5
- package/dist/{PublicLoadingSpinner-CXJ-W9wZ.d.ts → PublicLoadingSpinner-DdKXTkCZ.d.ts} +94 -1
- package/dist/{UnifiedAuthProvider-CQNiemcB.d.ts → UnifiedAuthProvider-D02AMXgO.d.ts} +3 -3
- package/dist/{chunk-VTJ5HCZB.js → chunk-IPCH4YPT.js} +2 -2
- package/dist/{chunk-QVEOQVD4.js → chunk-KRCRNXPD.js} +106 -14
- package/dist/chunk-KRCRNXPD.js.map +1 -0
- package/dist/{chunk-T2MQY57J.js → chunk-MOJXHWDE.js} +1 -1
- package/dist/{chunk-T2MQY57J.js.map → chunk-MOJXHWDE.js.map} +1 -1
- package/dist/{chunk-FVDOEGGG.js → chunk-NN45OBIS.js} +3 -3
- package/dist/{chunk-4HQ5BOVZ.js → chunk-OPCWH3A4.js} +3 -3
- package/dist/{chunk-CKNY7HYS.js → chunk-PXWEDX7Y.js} +2 -2
- package/dist/{chunk-PSE2XO4L.js → chunk-U6GPOF6J.js} +312 -264
- package/dist/chunk-U6GPOF6J.js.map +1 -0
- package/dist/{chunk-BTCA3ENN.js → chunk-UYA6U6H7.js} +4 -4
- package/dist/{chunk-C7GUF747.js → chunk-ZMS23NS5.js} +3 -3
- package/dist/{chunk-T6HVDA24.js → chunk-ZPG4XPV5.js} +2 -2
- package/dist/components.d.ts +3 -2
- package/dist/components.js +9 -7
- package/dist/components.js.map +1 -1
- package/dist/hooks.js +4 -4
- package/dist/index.d.ts +4 -3
- package/dist/index.js +12 -10
- package/dist/index.js.map +1 -1
- package/dist/providers.d.ts +1 -1
- package/dist/providers.js +3 -3
- package/dist/rbac/index.js +5 -5
- package/dist/utils.js +1 -1
- package/docs/api/README.md +26 -0
- package/docs/api/classes/ColumnFactory.md +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/classes/StorageUtils.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 +1 -1
- package/docs/api/interfaces/EventLogoProps.md +1 -1
- package/docs/api/interfaces/EventProviderProps.md +1 -1
- 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/SwitchProps.md +34 -0
- 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 +4 -4
- 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 +38 -4
- package/docs/api-reference/providers.md +16 -7
- package/docs/migration-guides/unified-auth-provider-mandatory-timeouts.md +226 -0
- package/docs/security/README.md +5 -1
- package/package.json +2 -1
- package/src/components/Switch/Switch.test.tsx +438 -0
- package/src/components/Switch/Switch.tsx +140 -0
- package/src/components/Switch/index.ts +9 -0
- package/src/components/index.ts +2 -0
- package/src/hooks/public/usePublicEvent.ts +160 -13
- package/src/index.ts +2 -0
- package/src/providers/UnifiedAuthProvider.test.simple.tsx +42 -6
- package/src/providers/UnifiedAuthProvider.tsx +4 -4
- package/dist/chunk-PSE2XO4L.js.map +0 -1
- package/dist/chunk-QVEOQVD4.js.map +0 -1
- /package/dist/{DataTable-MFUXNGPR.js.map → DataTable-4IUY7BXB.js.map} +0 -0
- /package/dist/{chunk-VTJ5HCZB.js.map → chunk-IPCH4YPT.js.map} +0 -0
- /package/dist/{chunk-FVDOEGGG.js.map → chunk-NN45OBIS.js.map} +0 -0
- /package/dist/{chunk-4HQ5BOVZ.js.map → chunk-OPCWH3A4.js.map} +0 -0
- /package/dist/{chunk-CKNY7HYS.js.map → chunk-PXWEDX7Y.js.map} +0 -0
- /package/dist/{chunk-BTCA3ENN.js.map → chunk-UYA6U6H7.js.map} +0 -0
- /package/dist/{chunk-C7GUF747.js.map → chunk-ZMS23NS5.js.map} +0 -0
- /package/dist/{chunk-T6HVDA24.js.map → chunk-ZPG4XPV5.js.map} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[@jmruthers/pace-core - v0.5.68](../README.md) / [Exports](../modules.md) / SwitchProps
|
|
2
|
+
|
|
3
|
+
# Interface: SwitchProps
|
|
4
|
+
|
|
5
|
+
Switch component props
|
|
6
|
+
Extends all props from Radix UI Switch.Root
|
|
7
|
+
|
|
8
|
+
## Hierarchy
|
|
9
|
+
|
|
10
|
+
- `ComponentPropsWithoutRef`\<typeof `SwitchPrimitive.Root`\>
|
|
11
|
+
|
|
12
|
+
↳ **`SwitchProps`**
|
|
13
|
+
|
|
14
|
+
## Table of contents
|
|
15
|
+
|
|
16
|
+
### Properties
|
|
17
|
+
|
|
18
|
+
- [className](SwitchProps.md#classname)
|
|
19
|
+
|
|
20
|
+
## Properties
|
|
21
|
+
|
|
22
|
+
### className
|
|
23
|
+
|
|
24
|
+
• `Optional` **className**: `string`
|
|
25
|
+
|
|
26
|
+
Additional CSS classes to apply to the switch
|
|
27
|
+
|
|
28
|
+
#### Overrides
|
|
29
|
+
|
|
30
|
+
React.ComponentPropsWithoutRef.className
|
|
31
|
+
|
|
32
|
+
#### Defined in
|
|
33
|
+
|
|
34
|
+
[packages/core/src/components/Switch/Switch.tsx:83](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/Switch/Switch.tsx#L83)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.5.
|
|
1
|
+
[@jmruthers/pace-core - v0.5.68](../README.md) / [Exports](../modules.md) / UnifiedAuthProviderProps
|
|
2
2
|
|
|
3
3
|
# Interface: UnifiedAuthProviderProps
|
|
4
4
|
|
|
@@ -93,7 +93,7 @@ ___
|
|
|
93
93
|
|
|
94
94
|
### idleTimeoutMs
|
|
95
95
|
|
|
96
|
-
•
|
|
96
|
+
• **idleTimeoutMs**: `number`
|
|
97
97
|
|
|
98
98
|
#### Defined in
|
|
99
99
|
|
|
@@ -103,7 +103,7 @@ ___
|
|
|
103
103
|
|
|
104
104
|
### warnBeforeMs
|
|
105
105
|
|
|
106
|
-
•
|
|
106
|
+
• **warnBeforeMs**: `number`
|
|
107
107
|
|
|
108
108
|
#### Defined in
|
|
109
109
|
|
|
@@ -113,7 +113,7 @@ ___
|
|
|
113
113
|
|
|
114
114
|
### onIdleLogout
|
|
115
115
|
|
|
116
|
-
•
|
|
116
|
+
• **onIdleLogout**: (`reason`: ``"inactivity"``) => `void`
|
|
117
117
|
|
|
118
118
|
#### Type declaration
|
|
119
119
|
|