@jmruthers/pace-core 0.5.61 → 0.5.62

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 (155) hide show
  1. package/dist/{DataTable-5M6MV2VY.js → DataTable-7BER7PDS.js} +6 -6
  2. package/dist/{DataTable-DqDDvBfI.d.ts → DataTable-D15XipLZ.d.ts} +7 -0
  3. package/dist/{PublicLoadingSpinner-CrMOrhNz.d.ts → PublicLoadingSpinner-CXJ-W9wZ.d.ts} +2 -2
  4. package/dist/{chunk-44SAHU2N.js → chunk-2LPYEFXI.js} +5 -5
  5. package/dist/{chunk-XMTHMOOM.js → chunk-BTCA3ENN.js} +4 -4
  6. package/dist/{chunk-ESXTFEE6.js → chunk-C7GUF747.js} +3 -3
  7. package/dist/{chunk-W7PPXKTZ.js → chunk-CKNY7HYS.js} +2 -2
  8. package/dist/{chunk-5MLDIGHB.js → chunk-FVDOEGGG.js} +3 -3
  9. package/dist/{chunk-HFDYTSAP.js → chunk-QVEOQVD4.js} +3 -3
  10. package/dist/{chunk-XDXG6QVH.js → chunk-S66AJVI2.js} +13 -6
  11. package/dist/chunk-S66AJVI2.js.map +1 -0
  12. package/dist/{chunk-E4FPK232.js → chunk-T2MQY57J.js} +2 -2
  13. package/dist/{chunk-4ULBJNIT.js → chunk-T6HVDA24.js} +2 -2
  14. package/dist/{chunk-STT7INZR.js → chunk-ULBI5JGB.js} +2 -1
  15. package/dist/{chunk-CGSYCF2W.js → chunk-VTJ5HCZB.js} +2 -2
  16. package/dist/components.d.ts +82 -5
  17. package/dist/components.js +258 -9
  18. package/dist/components.js.map +1 -1
  19. package/dist/hooks.d.ts +3 -2
  20. package/dist/hooks.js +5 -5
  21. package/dist/index.d.ts +6 -5
  22. package/dist/index.js +11 -11
  23. package/dist/{organisation-DD0yBbGU.d.ts → organisation-t-vvQC3g.d.ts} +1 -1
  24. package/dist/providers.d.ts +2 -2
  25. package/dist/providers.js +4 -4
  26. package/dist/rbac/index.js +6 -6
  27. package/dist/types.js +1 -1
  28. package/dist/{usePublicRouteParams-Cu6oKazv.d.ts → usePublicRouteParams-CdoFxnJK.d.ts} +2 -63
  29. package/dist/useToast-Bm6TnSK-.d.ts +63 -0
  30. package/dist/utils.d.ts +1 -1
  31. package/dist/utils.js +1 -1
  32. package/docs/api/classes/ErrorBoundary.md +1 -1
  33. package/docs/api/classes/InvalidScopeError.md +1 -1
  34. package/docs/api/classes/MissingUserContextError.md +1 -1
  35. package/docs/api/classes/OrganisationContextRequiredError.md +1 -1
  36. package/docs/api/classes/PermissionDeniedError.md +1 -1
  37. package/docs/api/classes/PublicErrorBoundary.md +1 -1
  38. package/docs/api/classes/RBACAuditManager.md +1 -1
  39. package/docs/api/classes/RBACCache.md +1 -1
  40. package/docs/api/classes/RBACEngine.md +1 -1
  41. package/docs/api/classes/RBACError.md +1 -1
  42. package/docs/api/classes/RBACNotInitializedError.md +1 -1
  43. package/docs/api/classes/SecureSupabaseClient.md +1 -1
  44. package/docs/api/classes/StorageUtils.md +1 -1
  45. package/docs/api/interfaces/AggregateConfig.md +1 -1
  46. package/docs/api/interfaces/ButtonProps.md +1 -1
  47. package/docs/api/interfaces/CardProps.md +1 -1
  48. package/docs/api/interfaces/ColorPalette.md +1 -1
  49. package/docs/api/interfaces/ColorShade.md +1 -1
  50. package/docs/api/interfaces/DataAccessRecord.md +1 -1
  51. package/docs/api/interfaces/DataTableAction.md +1 -1
  52. package/docs/api/interfaces/DataTableColumn.md +1 -1
  53. package/docs/api/interfaces/DataTableProps.md +44 -18
  54. package/docs/api/interfaces/DataTableToolbarButton.md +1 -1
  55. package/docs/api/interfaces/EmptyStateConfig.md +1 -1
  56. package/docs/api/interfaces/EnhancedNavigationMenuProps.md +1 -1
  57. package/docs/api/interfaces/EventContextType.md +1 -1
  58. package/docs/api/interfaces/EventLogoProps.md +1 -1
  59. package/docs/api/interfaces/EventProviderProps.md +1 -1
  60. package/docs/api/interfaces/FileSizeLimits.md +1 -1
  61. package/docs/api/interfaces/FileUploadProps.md +1 -1
  62. package/docs/api/interfaces/FooterProps.md +1 -1
  63. package/docs/api/interfaces/InactivityWarningModalProps.md +1 -1
  64. package/docs/api/interfaces/InputProps.md +1 -1
  65. package/docs/api/interfaces/LabelProps.md +1 -1
  66. package/docs/api/interfaces/LoginFormProps.md +1 -1
  67. package/docs/api/interfaces/NavigationAccessRecord.md +1 -1
  68. package/docs/api/interfaces/NavigationContextType.md +1 -1
  69. package/docs/api/interfaces/NavigationGuardProps.md +1 -1
  70. package/docs/api/interfaces/NavigationItem.md +1 -1
  71. package/docs/api/interfaces/NavigationMenuProps.md +1 -1
  72. package/docs/api/interfaces/NavigationProviderProps.md +1 -1
  73. package/docs/api/interfaces/Organisation.md +1 -1
  74. package/docs/api/interfaces/OrganisationContextType.md +1 -1
  75. package/docs/api/interfaces/OrganisationMembership.md +1 -1
  76. package/docs/api/interfaces/OrganisationProviderProps.md +1 -1
  77. package/docs/api/interfaces/OrganisationSecurityError.md +1 -1
  78. package/docs/api/interfaces/PaceAppLayoutProps.md +1 -1
  79. package/docs/api/interfaces/PaceLoginPageProps.md +1 -1
  80. package/docs/api/interfaces/PageAccessRecord.md +1 -1
  81. package/docs/api/interfaces/PagePermissionContextType.md +1 -1
  82. package/docs/api/interfaces/PagePermissionGuardProps.md +1 -1
  83. package/docs/api/interfaces/PagePermissionProviderProps.md +1 -1
  84. package/docs/api/interfaces/PaletteData.md +1 -1
  85. package/docs/api/interfaces/PermissionEnforcerProps.md +1 -1
  86. package/docs/api/interfaces/PublicErrorBoundaryProps.md +1 -1
  87. package/docs/api/interfaces/PublicErrorBoundaryState.md +1 -1
  88. package/docs/api/interfaces/PublicLoadingSpinnerProps.md +1 -1
  89. package/docs/api/interfaces/PublicPageFooterProps.md +1 -1
  90. package/docs/api/interfaces/PublicPageHeaderProps.md +1 -1
  91. package/docs/api/interfaces/PublicPageLayoutProps.md +1 -1
  92. package/docs/api/interfaces/RBACConfig.md +1 -1
  93. package/docs/api/interfaces/RBACContextType.md +1 -1
  94. package/docs/api/interfaces/RBACLogger.md +1 -1
  95. package/docs/api/interfaces/RBACProviderProps.md +1 -1
  96. package/docs/api/interfaces/RoleBasedRouterContextType.md +1 -1
  97. package/docs/api/interfaces/RoleBasedRouterProps.md +1 -1
  98. package/docs/api/interfaces/RouteAccessRecord.md +1 -1
  99. package/docs/api/interfaces/RouteConfig.md +1 -1
  100. package/docs/api/interfaces/SecureDataContextType.md +1 -1
  101. package/docs/api/interfaces/SecureDataProviderProps.md +1 -1
  102. package/docs/api/interfaces/StorageConfig.md +1 -1
  103. package/docs/api/interfaces/StorageFileInfo.md +1 -1
  104. package/docs/api/interfaces/StorageFileMetadata.md +1 -1
  105. package/docs/api/interfaces/StorageListOptions.md +1 -1
  106. package/docs/api/interfaces/StorageListResult.md +1 -1
  107. package/docs/api/interfaces/StorageUploadOptions.md +1 -1
  108. package/docs/api/interfaces/StorageUploadResult.md +1 -1
  109. package/docs/api/interfaces/StorageUrlOptions.md +1 -1
  110. package/docs/api/interfaces/StyleImport.md +1 -1
  111. package/docs/api/interfaces/ToastActionElement.md +1 -1
  112. package/docs/api/interfaces/ToastProps.md +1 -1
  113. package/docs/api/interfaces/UnifiedAuthContextType.md +1 -1
  114. package/docs/api/interfaces/UnifiedAuthProviderProps.md +1 -1
  115. package/docs/api/interfaces/UseInactivityTrackerOptions.md +1 -1
  116. package/docs/api/interfaces/UseInactivityTrackerReturn.md +1 -1
  117. package/docs/api/interfaces/UsePublicEventLogoOptions.md +1 -1
  118. package/docs/api/interfaces/UsePublicEventLogoReturn.md +1 -1
  119. package/docs/api/interfaces/UsePublicEventOptions.md +1 -1
  120. package/docs/api/interfaces/UsePublicEventReturn.md +1 -1
  121. package/docs/api/interfaces/UsePublicRouteParamsReturn.md +1 -1
  122. package/docs/api/interfaces/UserEventAccess.md +1 -1
  123. package/docs/api/interfaces/UserMenuProps.md +1 -1
  124. package/docs/api/interfaces/UserProfile.md +1 -1
  125. package/docs/api/modules.md +3 -3
  126. package/docs/implementation-guides/data-tables.md +67 -0
  127. package/package.json +1 -1
  128. package/src/components/DataTable/DataTable.tsx +13 -0
  129. package/src/components/DataTable/__tests__/DataTable.default-state.test.tsx +414 -0
  130. package/src/components/DataTable/components/DataTableCore.tsx +19 -2
  131. package/src/components/DataTable/types.ts +9 -0
  132. package/src/components/Dialog/examples/__tests__/SmartDialogExample.unit.test.tsx +151 -0
  133. package/src/components/Dialog/utils/__tests__/safeHtml.unit.test.ts +611 -0
  134. package/src/components/PaceAppLayout/__tests__/PaceAppLayout.accessibility.test.tsx +287 -0
  135. package/src/components/PaceAppLayout/__tests__/PaceAppLayout.integration.test.tsx +861 -0
  136. package/src/components/PaceAppLayout/__tests__/PaceAppLayout.performance.test.tsx +628 -0
  137. package/src/components/PaceAppLayout/__tests__/PaceAppLayout.security.test.tsx +777 -0
  138. package/src/components/PaceAppLayout/__tests__/PaceAppLayout.unit.test.tsx +901 -0
  139. package/src/components/Toast/index.ts +2 -0
  140. package/src/components/index.ts +15 -0
  141. package/src/hooks/useFileReference.ts +37 -0
  142. package/src/styles/base.css +208 -0
  143. package/src/styles/semantic.css +24 -0
  144. package/dist/chunk-XDXG6QVH.js.map +0 -1
  145. /package/dist/{DataTable-5M6MV2VY.js.map → DataTable-7BER7PDS.js.map} +0 -0
  146. /package/dist/{chunk-44SAHU2N.js.map → chunk-2LPYEFXI.js.map} +0 -0
  147. /package/dist/{chunk-XMTHMOOM.js.map → chunk-BTCA3ENN.js.map} +0 -0
  148. /package/dist/{chunk-ESXTFEE6.js.map → chunk-C7GUF747.js.map} +0 -0
  149. /package/dist/{chunk-W7PPXKTZ.js.map → chunk-CKNY7HYS.js.map} +0 -0
  150. /package/dist/{chunk-5MLDIGHB.js.map → chunk-FVDOEGGG.js.map} +0 -0
  151. /package/dist/{chunk-HFDYTSAP.js.map → chunk-QVEOQVD4.js.map} +0 -0
  152. /package/dist/{chunk-E4FPK232.js.map → chunk-T2MQY57J.js.map} +0 -0
  153. /package/dist/{chunk-4ULBJNIT.js.map → chunk-T6HVDA24.js.map} +0 -0
  154. /package/dist/{chunk-STT7INZR.js.map → chunk-ULBI5JGB.js.map} +0 -0
  155. /package/dist/{chunk-CGSYCF2W.js.map → chunk-VTJ5HCZB.js.map} +0 -0
@@ -30,7 +30,7 @@ import {
30
30
  withAccessLevelGuard,
31
31
  withPermissionGuard,
32
32
  withRoleGuard
33
- } from "../chunk-XMTHMOOM.js";
33
+ } from "../chunk-BTCA3ENN.js";
34
34
  import "../chunk-TYHR5X4W.js";
35
35
  import {
36
36
  useAccessLevel,
@@ -41,7 +41,7 @@ import {
41
41
  useMultiplePermissions,
42
42
  usePermissions,
43
43
  useRBAC as useRBAC2
44
- } from "../chunk-ESXTFEE6.js";
44
+ } from "../chunk-C7GUF747.js";
45
45
  import {
46
46
  CACHE_PATTERNS,
47
47
  RBACCache,
@@ -69,13 +69,13 @@ import {
69
69
  getGlobalAuditManager,
70
70
  setGlobalAuditManager
71
71
  } from "../chunk-B2WTCLCV.js";
72
- import "../chunk-CGSYCF2W.js";
73
- import "../chunk-W7PPXKTZ.js";
72
+ import "../chunk-VTJ5HCZB.js";
73
+ import "../chunk-CKNY7HYS.js";
74
74
  import {
75
75
  RBACProvider,
76
76
  useRBAC
77
- } from "../chunk-E4FPK232.js";
78
- import "../chunk-STT7INZR.js";
77
+ } from "../chunk-T2MQY57J.js";
78
+ import "../chunk-ULBI5JGB.js";
79
79
  import "../chunk-5BSLGBYI.js";
80
80
  import "../chunk-D7ARGIA3.js";
81
81
  import "../chunk-PLDDJCW6.js";
package/dist/types.js CHANGED
@@ -30,7 +30,7 @@ import {
30
30
  isRequestId,
31
31
  isSessionToken,
32
32
  isUserId
33
- } from "./chunk-STT7INZR.js";
33
+ } from "./chunk-ULBI5JGB.js";
34
34
  import "./chunk-PLDDJCW6.js";
35
35
 
36
36
  // src/types/index.ts
@@ -1,69 +1,8 @@
1
- import * as React from 'react';
2
- import { e as OrganisationRole, f as OrganisationPermission, S as SuperAdminContext } from './organisation-DD0yBbGU.js';
1
+ import { O as OrganisationRole, a as OrganisationPermission, S as SuperAdminContext } from './organisation-t-vvQC3g.js';
3
2
  import { r as Event } from './unified-CMPjE_fv.js';
4
3
  import { SupabaseClient } from '@supabase/supabase-js';
5
4
  import { D as Database } from './database-C3Szpi5J.js';
6
5
 
7
- /**
8
- * @file Toast hook for managing toast notifications
9
- * @package @jmruthers/pace-core
10
- * @module Hooks
11
- * @since 0.1.0
12
- */
13
-
14
- interface ToastProps {
15
- title?: React.ReactNode;
16
- description?: React.ReactNode;
17
- variant?: 'default' | 'destructive' | 'success';
18
- duration?: number;
19
- onClose?: () => void;
20
- action?: React.ReactElement;
21
- }
22
- /**
23
- * Extended toast props with additional properties
24
- * @interface ToasterToast
25
- */
26
- type ToasterToast = ToastProps & {
27
- /** Unique identifier for the toast */
28
- id: string;
29
- /** Optional title content */
30
- title?: React.ReactNode;
31
- /** Optional description content */
32
- description?: React.ReactNode;
33
- /** Optional action button */
34
- action?: React.ReactElement;
35
- /** Open state */
36
- open?: boolean;
37
- /** Open change handler */
38
- onOpenChange?: (open: boolean) => void;
39
- /** Dismiss function */
40
- dismiss?: () => void;
41
- };
42
- /**
43
- * Toast configuration without ID
44
- */
45
- type Toast = Omit<ToasterToast, "id">;
46
- /**
47
- * Creates a new toast notification
48
- * @param props - Toast configuration
49
- * @returns Object with toast ID and control methods
50
- */
51
- declare function toast({ ...props }: Toast): {
52
- id: string;
53
- dismiss: () => void;
54
- update: (props: Partial<Omit<ToasterToast, "id">>) => void;
55
- };
56
- /**
57
- * Hook for managing toast notifications
58
- * @returns Object with toast state and control methods
59
- */
60
- declare function useToast(): {
61
- toast: typeof toast;
62
- dismiss: (toastId?: string) => void;
63
- /** Array of active toasts */
64
- toasts: ToasterToast[];
65
- };
66
-
67
6
  /**
68
7
  * @file useOrganisationPermissions Hook
69
8
  * @package @jmruthers/pace-core
@@ -535,4 +474,4 @@ declare function generatePublicRoutePath(eventCode: string, pageName?: string):
535
474
  */
536
475
  declare function extractEventCodeFromPath(path: string): string | null;
537
476
 
538
- export { type OrganisationSecurityHook as O, type UsePublicEventReturn as U, useOrganisationPermissions as a, useOrganisationSecurity as b, useAppConfig as c, usePublicEvent as d, clearPublicEventCache as e, usePublicEventLogo as f, getPublicEventCacheStats as g, clearPublicLogoCache as h, getPublicLogoCacheStats as i, usePublicRouteParams as j, usePublicEventCode as k, generatePublicRoutePath as l, extractEventCodeFromPath as m, type UsePublicEventOptions as n, type UsePublicEventLogoReturn as o, type UsePublicEventLogoOptions as p, type UsePublicRouteParamsReturn as q, type UseOrganisationPermissionsReturn as r, type UseAppConfigReturn as s, useToast as u };
477
+ export { type OrganisationSecurityHook as O, type UsePublicEventReturn as U, useOrganisationSecurity as a, useAppConfig as b, usePublicEvent as c, clearPublicEventCache as d, usePublicEventLogo as e, clearPublicLogoCache as f, getPublicEventCacheStats as g, getPublicLogoCacheStats as h, usePublicRouteParams as i, usePublicEventCode as j, generatePublicRoutePath as k, extractEventCodeFromPath as l, type UsePublicEventOptions as m, type UsePublicEventLogoReturn as n, type UsePublicEventLogoOptions as o, type UsePublicRouteParamsReturn as p, type UseOrganisationPermissionsReturn as q, type UseAppConfigReturn as r, useOrganisationPermissions as u };
@@ -0,0 +1,63 @@
1
+ import * as React from 'react';
2
+
3
+ /**
4
+ * @file Toast hook for managing toast notifications
5
+ * @package @jmruthers/pace-core
6
+ * @module Hooks
7
+ * @since 0.1.0
8
+ */
9
+
10
+ interface ToastProps {
11
+ title?: React.ReactNode;
12
+ description?: React.ReactNode;
13
+ variant?: 'default' | 'destructive' | 'success';
14
+ duration?: number;
15
+ onClose?: () => void;
16
+ action?: React.ReactElement;
17
+ }
18
+ /**
19
+ * Extended toast props with additional properties
20
+ * @interface ToasterToast
21
+ */
22
+ type ToasterToast = ToastProps & {
23
+ /** Unique identifier for the toast */
24
+ id: string;
25
+ /** Optional title content */
26
+ title?: React.ReactNode;
27
+ /** Optional description content */
28
+ description?: React.ReactNode;
29
+ /** Optional action button */
30
+ action?: React.ReactElement;
31
+ /** Open state */
32
+ open?: boolean;
33
+ /** Open change handler */
34
+ onOpenChange?: (open: boolean) => void;
35
+ /** Dismiss function */
36
+ dismiss?: () => void;
37
+ };
38
+ /**
39
+ * Toast configuration without ID
40
+ */
41
+ type Toast = Omit<ToasterToast, "id">;
42
+ /**
43
+ * Creates a new toast notification
44
+ * @param props - Toast configuration
45
+ * @returns Object with toast ID and control methods
46
+ */
47
+ declare function toast({ ...props }: Toast): {
48
+ id: string;
49
+ dismiss: () => void;
50
+ update: (props: Partial<Omit<ToasterToast, "id">>) => void;
51
+ };
52
+ /**
53
+ * Hook for managing toast notifications
54
+ * @returns Object with toast state and control methods
55
+ */
56
+ declare function useToast(): {
57
+ toast: typeof toast;
58
+ dismiss: (toastId?: string) => void;
59
+ /** Array of active toasts */
60
+ toasts: ToasterToast[];
61
+ };
62
+
63
+ export { useToast as u };
package/dist/utils.d.ts CHANGED
@@ -2,7 +2,7 @@ export { A as AppConfig, S as SecureDataAccess, a as cn, g as getAppConfig, d as
2
2
  import { z } from 'zod';
3
3
  export { u as useComponentPerformance } from './useComponentPerformance-DE9l5RkL.js';
4
4
  import * as date_fns from 'date-fns';
5
- import { D as DataTable } from './DataTable-DqDDvBfI.js';
5
+ import { D as DataTable } from './DataTable-D15XipLZ.js';
6
6
  import React__default, { ComponentType } from 'react';
7
7
  import { SupabaseClient } from '@supabase/supabase-js';
8
8
  import 'clsx';
package/dist/utils.js CHANGED
@@ -545,7 +545,7 @@ function createLazyComponent(importFn, componentName, options = {}) {
545
545
  return WrappedComponent;
546
546
  }
547
547
  var LazyDataTable = createLazyComponent(
548
- () => import("./DataTable-5M6MV2VY.js").then((module) => ({ default: module.DataTable })),
548
+ () => import("./DataTable-7BER7PDS.js").then((module) => ({ default: module.DataTable })),
549
549
  "DataTable"
550
550
  );
551
551
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / ErrorBoundary
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / ErrorBoundary
2
2
 
3
3
  # Class: ErrorBoundary
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / InvalidScopeError
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / InvalidScopeError
2
2
 
3
3
  # Class: InvalidScopeError
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / MissingUserContextError
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / MissingUserContextError
2
2
 
3
3
  # Class: MissingUserContextError
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / OrganisationContextRequiredError
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / OrganisationContextRequiredError
2
2
 
3
3
  # Class: OrganisationContextRequiredError
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / PermissionDeniedError
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / PermissionDeniedError
2
2
 
3
3
  # Class: PermissionDeniedError
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / PublicErrorBoundary
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / PublicErrorBoundary
2
2
 
3
3
  # Class: PublicErrorBoundary
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / RBACAuditManager
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / RBACAuditManager
2
2
 
3
3
  # Class: RBACAuditManager
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / RBACCache
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / RBACCache
2
2
 
3
3
  # Class: RBACCache
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / RBACEngine
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / RBACEngine
2
2
 
3
3
  # Class: RBACEngine
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / RBACError
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / RBACError
2
2
 
3
3
  # Class: RBACError
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / RBACNotInitializedError
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / RBACNotInitializedError
2
2
 
3
3
  # Class: RBACNotInitializedError
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / SecureSupabaseClient
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / SecureSupabaseClient
2
2
 
3
3
  # Class: SecureSupabaseClient
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / StorageUtils
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / StorageUtils
2
2
 
3
3
  # Class: StorageUtils
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / AggregateConfig
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / AggregateConfig
2
2
 
3
3
  # Interface: AggregateConfig
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / ButtonProps
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / ButtonProps
2
2
 
3
3
  # Interface: ButtonProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / CardProps
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / CardProps
2
2
 
3
3
  # Interface: CardProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / ColorPalette
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / ColorPalette
2
2
 
3
3
  # Interface: ColorPalette
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / ColorShade
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / ColorShade
2
2
 
3
3
  # Interface: ColorShade
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / DataAccessRecord
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / DataAccessRecord
2
2
 
3
3
  # Interface: DataAccessRecord
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / DataTableAction
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / DataTableAction
2
2
 
3
3
  # Interface: DataTableAction\<TData\>
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / DataTableColumn
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / DataTableColumn
2
2
 
3
3
  # Interface: DataTableColumn\<TData\>
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / DataTableProps
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / DataTableProps
2
2
 
3
3
  # Interface: DataTableProps\<TData\>
4
4
 
@@ -30,6 +30,8 @@ Enhanced DataTable props with performance features
30
30
  - [searchIndex](DataTableProps.md#searchindex)
31
31
  - [virtualHeight](DataTableProps.md#virtualheight)
32
32
  - [initialPageSize](DataTableProps.md#initialpagesize)
33
+ - [defaultGrouping](DataTableProps.md#defaultgrouping)
34
+ - [defaultSorting](DataTableProps.md#defaultsorting)
33
35
  - [enhancedPagination](DataTableProps.md#enhancedpagination)
34
36
  - [loadingComponent](DataTableProps.md#loadingcomponent)
35
37
  - [errorComponent](DataTableProps.md#errorcomponent)
@@ -242,6 +244,30 @@ Initial page size for pagination
242
244
 
243
245
  ___
244
246
 
247
+ ### defaultGrouping
248
+
249
+ • `Optional` **defaultGrouping**: `string`[]
250
+
251
+ Initial grouping configuration - columns to group by on load
252
+
253
+ #### Defined in
254
+
255
+ [packages/core/src/components/DataTable/DataTable.tsx:377](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L377)
256
+
257
+ ___
258
+
259
+ ### defaultSorting
260
+
261
+ • `Optional` **defaultSorting**: \{ `id`: `string` ; `desc`: `boolean` }[]
262
+
263
+ Initial sorting configuration - sort state to apply on load
264
+
265
+ #### Defined in
266
+
267
+ [packages/core/src/components/DataTable/DataTable.tsx:379](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L379)
268
+
269
+ ___
270
+
245
271
  ### enhancedPagination
246
272
 
247
273
  • `Optional` **enhancedPagination**: `boolean`
@@ -250,7 +276,7 @@ Enable enhanced pagination controls
250
276
 
251
277
  #### Defined in
252
278
 
253
- [packages/core/src/components/DataTable/DataTable.tsx:372](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L372)
279
+ [packages/core/src/components/DataTable/DataTable.tsx:385](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L385)
254
280
 
255
281
  ___
256
282
 
@@ -262,7 +288,7 @@ Custom loading component
262
288
 
263
289
  #### Defined in
264
290
 
265
- [packages/core/src/components/DataTable/DataTable.tsx:374](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L374)
291
+ [packages/core/src/components/DataTable/DataTable.tsx:387](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L387)
266
292
 
267
293
  ___
268
294
 
@@ -274,7 +300,7 @@ Custom error component
274
300
 
275
301
  #### Defined in
276
302
 
277
- [packages/core/src/components/DataTable/DataTable.tsx:376](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L376)
303
+ [packages/core/src/components/DataTable/DataTable.tsx:389](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L389)
278
304
 
279
305
  ___
280
306
 
@@ -301,7 +327,7 @@ Callback when a row is edited
301
327
 
302
328
  #### Defined in
303
329
 
304
- [packages/core/src/components/DataTable/DataTable.tsx:383](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L383)
330
+ [packages/core/src/components/DataTable/DataTable.tsx:396](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L396)
305
331
 
306
332
  ___
307
333
 
@@ -327,7 +353,7 @@ Callback when a row is deleted
327
353
 
328
354
  #### Defined in
329
355
 
330
- [packages/core/src/components/DataTable/DataTable.tsx:385](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L385)
356
+ [packages/core/src/components/DataTable/DataTable.tsx:398](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L398)
331
357
 
332
358
  ___
333
359
 
@@ -353,7 +379,7 @@ Callback when a new row is created
353
379
 
354
380
  #### Defined in
355
381
 
356
- [packages/core/src/components/DataTable/DataTable.tsx:387](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L387)
382
+ [packages/core/src/components/DataTable/DataTable.tsx:400](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L400)
357
383
 
358
384
  ___
359
385
 
@@ -379,7 +405,7 @@ Callback when data is imported
379
405
 
380
406
  #### Defined in
381
407
 
382
- [packages/core/src/components/DataTable/DataTable.tsx:389](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L389)
408
+ [packages/core/src/components/DataTable/DataTable.tsx:402](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L402)
383
409
 
384
410
  ___
385
411
 
@@ -405,7 +431,7 @@ Callback when row selection changes
405
431
 
406
432
  #### Defined in
407
433
 
408
- [packages/core/src/components/DataTable/DataTable.tsx:391](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L391)
434
+ [packages/core/src/components/DataTable/DataTable.tsx:404](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L404)
409
435
 
410
436
  ___
411
437
 
@@ -417,7 +443,7 @@ Controlled selection state
417
443
 
418
444
  #### Defined in
419
445
 
420
- [packages/core/src/components/DataTable/DataTable.tsx:393](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L393)
446
+ [packages/core/src/components/DataTable/DataTable.tsx:406](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L406)
421
447
 
422
448
  ___
423
449
 
@@ -443,7 +469,7 @@ Callback when bulk delete selected rows is triggered
443
469
 
444
470
  #### Defined in
445
471
 
446
- [packages/core/src/components/DataTable/DataTable.tsx:395](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L395)
472
+ [packages/core/src/components/DataTable/DataTable.tsx:408](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L408)
447
473
 
448
474
  ___
449
475
 
@@ -455,7 +481,7 @@ Function to generate unique row IDs
455
481
 
456
482
  #### Defined in
457
483
 
458
- [packages/core/src/components/DataTable/DataTable.tsx:402](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L402)
484
+ [packages/core/src/components/DataTable/DataTable.tsx:415](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L415)
459
485
 
460
486
  ___
461
487
 
@@ -467,7 +493,7 @@ Whether the table is in a loading state
467
493
 
468
494
  #### Defined in
469
495
 
470
- [packages/core/src/components/DataTable/DataTable.tsx:404](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L404)
496
+ [packages/core/src/components/DataTable/DataTable.tsx:417](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L417)
471
497
 
472
498
  ___
473
499
 
@@ -479,7 +505,7 @@ Custom component to display when table is empty
479
505
 
480
506
  #### Defined in
481
507
 
482
- [packages/core/src/components/DataTable/DataTable.tsx:406](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L406)
508
+ [packages/core/src/components/DataTable/DataTable.tsx:419](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L419)
483
509
 
484
510
  ___
485
511
 
@@ -491,7 +517,7 @@ Array of aggregation functions for grouped data
491
517
 
492
518
  #### Defined in
493
519
 
494
- [packages/core/src/components/DataTable/DataTable.tsx:408](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L408)
520
+ [packages/core/src/components/DataTable/DataTable.tsx:421](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L421)
495
521
 
496
522
  ___
497
523
 
@@ -503,7 +529,7 @@ Import modal configuration
503
529
 
504
530
  #### Defined in
505
531
 
506
- [packages/core/src/components/DataTable/DataTable.tsx:411](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L411)
532
+ [packages/core/src/components/DataTable/DataTable.tsx:424](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L424)
507
533
 
508
534
  ___
509
535
 
@@ -515,7 +541,7 @@ Custom row actions - use this for custom action buttons
515
541
 
516
542
  #### Defined in
517
543
 
518
- [packages/core/src/components/DataTable/DataTable.tsx:414](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L414)
544
+ [packages/core/src/components/DataTable/DataTable.tsx:427](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L427)
519
545
 
520
546
  ___
521
547
 
@@ -527,4 +553,4 @@ Column order configuration - array of column IDs in desired order
527
553
 
528
554
  #### Defined in
529
555
 
530
- [packages/core/src/components/DataTable/DataTable.tsx:417](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L417)
556
+ [packages/core/src/components/DataTable/DataTable.tsx:430](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L430)
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / DataTableToolbarButton
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / DataTableToolbarButton
2
2
 
3
3
  # Interface: DataTableToolbarButton
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / EmptyStateConfig
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / EmptyStateConfig
2
2
 
3
3
  # Interface: EmptyStateConfig
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / EnhancedNavigationMenuProps
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / EnhancedNavigationMenuProps
2
2
 
3
3
  # Interface: EnhancedNavigationMenuProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / EventContextType
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / EventContextType
2
2
 
3
3
  # Interface: EventContextType
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / EventLogoProps
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / EventLogoProps
2
2
 
3
3
  # Interface: EventLogoProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / EventProviderProps
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / EventProviderProps
2
2
 
3
3
  # Interface: EventProviderProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / FileSizeLimits
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / FileSizeLimits
2
2
 
3
3
  # Interface: FileSizeLimits
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / FileUploadProps
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / FileUploadProps
2
2
 
3
3
  # Interface: FileUploadProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / FooterProps
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / FooterProps
2
2
 
3
3
  # Interface: FooterProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / InactivityWarningModalProps
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / InactivityWarningModalProps
2
2
 
3
3
  # Interface: InactivityWarningModalProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / InputProps
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / InputProps
2
2
 
3
3
  # Interface: InputProps
4
4
 
@@ -1,4 +1,4 @@
1
- [@jmruthers/pace-core - v0.5.61](../README.md) / [Exports](../modules.md) / LabelProps
1
+ [@jmruthers/pace-core - v0.5.62](../README.md) / [Exports](../modules.md) / LabelProps
2
2
 
3
3
  # Interface: LabelProps
4
4