@jmruthers/pace-core 0.5.136 → 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.
- package/dist/{DataTable-CYOHOX3O.js → DataTable-6M4L6BI2.js} +10 -9
- package/dist/{EventLogo-801uofbR.d.ts → EventLogo-rFL_kRjk.d.ts} +73 -1
- package/dist/{UnifiedAuthProvider-5E5TUNMS.js → UnifiedAuthProvider-XIQQ7LVU.js} +4 -5
- package/dist/{chunk-YLKIDTUK.js → chunk-22WKWKRX.js} +4 -4
- package/dist/{chunk-TVYPTYOY.js → chunk-4C7EXCAR.js} +60 -24
- package/dist/chunk-4C7EXCAR.js.map +1 -0
- package/dist/{chunk-2TWNJ46Y.js → chunk-6LAAY47Q.js} +2 -2
- package/dist/{chunk-444EZN6N.js → chunk-7QCC6MCP.js} +88 -1
- package/dist/chunk-7QCC6MCP.js.map +1 -0
- package/dist/{chunk-FHWWBIHA.js → chunk-BCIBECNB.js} +5 -5
- package/dist/chunk-BJPBT3CU.js +21 -0
- package/dist/chunk-BJPBT3CU.js.map +1 -0
- package/dist/{chunk-L6PGMCMD.js → chunk-BLCXZEYF.js} +3 -3
- package/dist/{chunk-HJGGOMQ6.js → chunk-HAWZXGR2.js} +147 -103
- package/dist/chunk-HAWZXGR2.js.map +1 -0
- package/dist/{chunk-XARJS7CD.js → chunk-INQLMHPF.js} +2 -2
- package/dist/chunk-JISYG63F.js +70 -0
- package/dist/chunk-JISYG63F.js.map +1 -0
- package/dist/{chunk-NOHEVYVX.js → chunk-KYRHUBIU.js} +417 -319
- package/dist/chunk-KYRHUBIU.js.map +1 -0
- package/dist/{chunk-SL2YQDR6.js → chunk-MA6EPSGZ.js} +2 -2
- package/dist/{chunk-5DPZ5EAT.js → chunk-OWAG3GSU.js} +1 -3
- package/dist/{chunk-LTV3XIJJ.js → chunk-T6JN6LH6.js} +4 -4
- package/dist/{chunk-4MT5BGGL.js → chunk-YCWDTTUK.js} +4 -6
- package/dist/{chunk-4MT5BGGL.js.map → chunk-YCWDTTUK.js.map} +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/components.js +12 -11
- package/dist/components.js.map +1 -1
- package/dist/hooks.js +8 -9
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +15 -14
- package/dist/index.js.map +1 -1
- package/dist/providers.js +3 -4
- package/dist/rbac/index.js +8 -9
- package/dist/schema-DTDZQe2u.d.ts +28 -0
- package/dist/types.d.ts +152 -3
- package/dist/types.js +51 -16
- package/dist/types.js.map +1 -1
- package/dist/utils.d.ts +89 -4
- package/dist/utils.js +214 -96
- package/dist/utils.js.map +1 -1
- package/dist/validation.d.ts +1 -343
- package/dist/validation.js +3 -100
- 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/enums/FileCategory.md +1 -1
- package/docs/api/interfaces/AggregateConfig.md +1 -1
- package/docs/api/interfaces/BadgeProps.md +27 -0
- 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/DataRecord.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/EventAppRoleData.md +1 -1
- package/docs/api/interfaces/EventLogoProps.md +1 -1
- package/docs/api/interfaces/ExportColumn.md +1 -1
- package/docs/api/interfaces/ExportOptions.md +1 -1
- package/docs/api/interfaces/FileDisplayProps.md +1 -1
- package/docs/api/interfaces/FileMetadata.md +1 -1
- package/docs/api/interfaces/FileReference.md +1 -1
- package/docs/api/interfaces/FileSizeLimits.md +1 -1
- package/docs/api/interfaces/FileUploadOptions.md +1 -1
- package/docs/api/interfaces/FileUploadProps.md +1 -1
- package/docs/api/interfaces/FooterProps.md +1 -1
- package/docs/api/interfaces/GrantEventAppRoleParams.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/ProtectedRouteProps.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/RBACLogger.md +1 -1
- package/docs/api/interfaces/RevokeEventAppRoleParams.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterContextType.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterProps.md +1 -1
- package/docs/api/interfaces/RoleManagementResult.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/SessionRestorationLoaderProps.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 +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/UsePublicEventOptions.md +1 -1
- package/docs/api/interfaces/UsePublicEventReturn.md +1 -1
- package/docs/api/interfaces/UsePublicFileDisplayOptions.md +1 -1
- package/docs/api/interfaces/UsePublicFileDisplayReturn.md +1 -1
- package/docs/api/interfaces/UsePublicRouteParamsReturn.md +1 -1
- package/docs/api/interfaces/UseResolvedScopeOptions.md +1 -1
- package/docs/api/interfaces/UseResolvedScopeReturn.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 +79 -10
- package/docs/architecture/README.md +0 -1
- package/docs/styles/README.md +0 -2
- package/examples/RBAC/CompleteRBACExample.tsx +324 -0
- package/examples/RBAC/EventBasedApp.tsx +239 -0
- package/examples/RBAC/PermissionExample.tsx +151 -0
- package/examples/RBAC/index.ts +13 -0
- package/examples/public-pages/CorrectPublicPageImplementation.tsx +301 -0
- package/examples/public-pages/PublicEventPage.tsx +274 -0
- package/examples/public-pages/PublicPageApp.tsx +308 -0
- package/examples/public-pages/PublicPageUsageExample.tsx +216 -0
- package/examples/public-pages/index.ts +14 -0
- package/package.json +1 -10
- package/src/__tests__/TEST_STANDARD.md +92 -0
- package/src/components/Badge/Badge.test.tsx +314 -0
- package/src/components/Badge/Badge.tsx +304 -0
- package/src/components/Badge/index.ts +3 -0
- package/src/components/DataTable/__tests__/DataTableCore.test-setup.ts +217 -0
- package/src/components/DataTable/__tests__/styles.test.ts +1 -1
- package/src/components/DataTable/components/ColumnFilter.tsx +8 -4
- package/src/components/DataTable/components/DataTableBody.tsx +461 -0
- package/src/components/DataTable/components/DraggableColumnHeader.tsx +144 -0
- package/src/components/DataTable/components/FilterRow.tsx +9 -3
- package/src/components/DataTable/components/PaginationControls.tsx +1 -0
- package/src/components/DataTable/components/VirtualizedDataTable.tsx +513 -0
- package/src/components/DataTable/components/__tests__/AccessDeniedPage.test.tsx +14 -68
- package/src/components/DataTable/components/__tests__/ColumnFilter.test.tsx +62 -0
- package/src/components/DataTable/components/__tests__/FilterRow.test.tsx +43 -0
- package/src/components/DataTable/core/ActionManager.ts +235 -0
- package/src/components/DataTable/core/ColumnManager.ts +205 -0
- package/src/components/DataTable/core/DataManager.ts +188 -0
- package/src/components/DataTable/core/DataTableContext.tsx +181 -0
- package/src/components/DataTable/core/LocalDataAdapter.ts +273 -0
- package/src/components/DataTable/core/PluginRegistry.ts +229 -0
- package/src/components/DataTable/core/StateManager.ts +311 -0
- package/src/components/DataTable/core/interfaces.ts +338 -0
- package/src/components/DataTable/styles.ts +27 -6
- package/src/components/DataTable/utils/__tests__/columnUtils.test.ts +94 -0
- package/src/components/DataTable/utils/columnUtils.ts +40 -0
- package/src/components/DataTable/utils/debugTools.ts +609 -0
- package/src/components/DataTable/utils/index.ts +1 -0
- package/src/components/Dialog/README.md +804 -0
- package/src/components/Dialog/utils/__tests__/safeHtml.unit.test.ts +611 -0
- package/src/components/Dialog/utils/safeHtml.ts +185 -0
- package/src/components/Footer/Footer.test.tsx +1 -1
- package/src/components/Form/Form.test.tsx +1 -1
- package/src/components/Form/FormErrorSummary.tsx +113 -0
- package/src/components/Form/FormFieldset.tsx +127 -0
- package/src/components/Form/FormLiveRegion.tsx +198 -0
- package/src/components/LoginForm/LoginForm.test.tsx +1 -1
- package/src/components/PaceAppLayout/__tests__/PaceAppLayout.performance.test.tsx +76 -10
- package/src/components/PaceLoginPage/PaceLoginPage.tsx +1 -1
- package/src/components/PasswordReset/PasswordResetForm.test.tsx +597 -0
- package/src/components/PasswordReset/PasswordResetForm.tsx +201 -0
- package/src/components/PublicLayout/PublicPageDebugger.tsx +104 -0
- package/src/components/PublicLayout/PublicPageDiagnostic.tsx +162 -0
- package/src/components/PublicLayout/__tests__/PublicPageFooter.test.tsx +1 -1
- package/src/components/Select/Select.test.tsx +1 -1
- package/src/components/Select/Select.tsx +20 -8
- package/src/components/Table/__tests__/Table.test.tsx +1 -1
- package/src/components/index.ts +3 -0
- package/src/hooks/__tests__/useFileUrl.unit.test.ts +83 -85
- package/src/index.ts +4 -0
- package/src/styles/core.css +3 -0
- package/src/utils/appConfig.ts +47 -0
- package/src/utils/appIdResolver.test.ts +499 -0
- package/src/utils/appIdResolver.ts +130 -0
- package/src/utils/appNameResolver.simple.test.ts +212 -0
- package/src/utils/appNameResolver.test.ts +121 -0
- package/src/utils/appNameResolver.ts +191 -0
- package/src/utils/audit.ts +127 -0
- package/src/utils/auth-utils.ts +96 -0
- package/src/utils/bundleAnalysis.ts +129 -0
- package/src/utils/cn.ts +7 -0
- package/src/utils/debugLogger.ts +67 -0
- package/src/utils/deviceFingerprint.ts +215 -0
- package/src/utils/dynamicUtils.ts +105 -0
- package/src/utils/file-reference.test.ts +788 -0
- package/src/utils/file-reference.ts +519 -0
- package/src/utils/formatDate.test.ts +237 -0
- package/src/utils/formatting.ts +133 -0
- package/src/utils/index.ts +7 -0
- package/src/utils/lazyLoad.tsx +44 -0
- package/src/utils/logger.ts +179 -0
- package/src/utils/organisationContext.test.ts +322 -0
- package/src/utils/organisationContext.ts +153 -0
- package/src/utils/performanceBenchmark.ts +64 -0
- package/src/utils/performanceBudgets.ts +110 -0
- package/src/utils/permissionTypes.ts +37 -0
- package/src/utils/permissionUtils.test.ts +393 -0
- package/src/utils/permissionUtils.ts +34 -0
- package/src/utils/sanitization.ts +264 -0
- package/src/utils/schemaUtils.ts +37 -0
- package/src/utils/secureDataAccess.test.ts +711 -0
- package/src/utils/secureDataAccess.ts +377 -0
- package/src/utils/secureErrors.ts +79 -0
- package/src/utils/secureStorage.ts +244 -0
- package/src/utils/security.ts +156 -0
- package/src/utils/securityMonitor.ts +45 -0
- package/src/utils/sessionTracking.ts +126 -0
- package/src/utils/validation.ts +111 -0
- package/src/utils/validationUtils.ts +120 -0
- package/src/validation/index.ts +2 -2
- package/dist/chunk-444EZN6N.js.map +0 -1
- package/dist/chunk-APIBCTL2.js +0 -670
- package/dist/chunk-APIBCTL2.js.map +0 -1
- package/dist/chunk-HJGGOMQ6.js.map +0 -1
- package/dist/chunk-K2WWTH7O.js +0 -94
- package/dist/chunk-K2WWTH7O.js.map +0 -1
- package/dist/chunk-LMC26NLJ.js +0 -84
- package/dist/chunk-LMC26NLJ.js.map +0 -1
- package/dist/chunk-NOHEVYVX.js.map +0 -1
- package/dist/chunk-TVYPTYOY.js.map +0 -1
- package/dist/validation-8npbysjg.d.ts +0 -177
- /package/dist/{DataTable-CYOHOX3O.js.map → DataTable-6M4L6BI2.js.map} +0 -0
- /package/dist/{UnifiedAuthProvider-5E5TUNMS.js.map → UnifiedAuthProvider-XIQQ7LVU.js.map} +0 -0
- /package/dist/{chunk-YLKIDTUK.js.map → chunk-22WKWKRX.js.map} +0 -0
- /package/dist/{chunk-2TWNJ46Y.js.map → chunk-6LAAY47Q.js.map} +0 -0
- /package/dist/{chunk-FHWWBIHA.js.map → chunk-BCIBECNB.js.map} +0 -0
- /package/dist/{chunk-L6PGMCMD.js.map → chunk-BLCXZEYF.js.map} +0 -0
- /package/dist/{chunk-XARJS7CD.js.map → chunk-INQLMHPF.js.map} +0 -0
- /package/dist/{chunk-SL2YQDR6.js.map → chunk-MA6EPSGZ.js.map} +0 -0
- /package/dist/{chunk-5DPZ5EAT.js.map → chunk-OWAG3GSU.js.map} +0 -0
- /package/dist/{chunk-LTV3XIJJ.js.map → chunk-T6JN6LH6.js.map} +0 -0
- /package/examples/{components → components 2}/DataTable/HierarchicalActionsExample.tsx +0 -0
- /package/examples/{components → components 2}/DataTable/HierarchicalExample.tsx +0 -0
- /package/examples/{components → components 2}/DataTable/InitialPageSizeExample.tsx +0 -0
- /package/examples/{components → components 2}/DataTable/PerformanceExample.tsx +0 -0
- /package/examples/{components → components 2}/DataTable/index.ts +0 -0
- /package/examples/{components → components 2}/Dialog/BasicHtmlTest.tsx +0 -0
- /package/examples/{components → components 2}/Dialog/DebugHtmlExample.tsx +0 -0
- /package/examples/{components → components 2}/Dialog/HtmlDialogExample.tsx +0 -0
- /package/examples/{components → components 2}/Dialog/ScrollableDialogExample.tsx +0 -0
- /package/examples/{components → components 2}/Dialog/SimpleHtmlTest.tsx +0 -0
- /package/examples/{components → components 2}/Dialog/SmartDialogExample.tsx +0 -0
- /package/examples/{components → components 2}/Dialog/index.ts +0 -0
- /package/examples/{components → components 2}/index.ts +0 -0
package/docs/api/modules.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.5.
|
|
1
|
+
[@jmruthers/pace-core - v0.5.137](README.md) / Exports
|
|
2
2
|
|
|
3
|
-
# @jmruthers/pace-core - v0.5.
|
|
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)
|
|
@@ -147,7 +148,9 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
|
|
|
147
148
|
|
|
148
149
|
### Type Aliases
|
|
149
150
|
|
|
151
|
+
- [BadgeVariant](modules.md#badgevariant)
|
|
150
152
|
- [GetRowId](modules.md#getrowid)
|
|
153
|
+
- [DataTableFeatureConfig](modules.md#datatablefeatureconfig)
|
|
151
154
|
- [UseFileReferenceOptions](modules.md#usefilereferenceoptions)
|
|
152
155
|
- [UseFileReferenceReturn](modules.md#usefilereferencereturn)
|
|
153
156
|
- [UseFileReferenceForRecordReturn](modules.md#usefilereferenceforrecordreturn)
|
|
@@ -187,6 +190,7 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
|
|
|
187
190
|
- [Avatar](modules.md#avatar)
|
|
188
191
|
- [AvatarImage](modules.md#avatarimage)
|
|
189
192
|
- [AvatarFallback](modules.md#avatarfallback)
|
|
193
|
+
- [Badge](modules.md#badge)
|
|
190
194
|
- [Button](modules.md#button)
|
|
191
195
|
- [Card](modules.md#card)
|
|
192
196
|
- [CardHeader](modules.md#cardheader)
|
|
@@ -406,6 +410,16 @@ import { Dialog, NavigationMenu } from '@jmruthers/pace-core/components';
|
|
|
406
410
|
|
|
407
411
|
## Type Aliases
|
|
408
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
|
+
|
|
409
423
|
### GetRowId
|
|
410
424
|
|
|
411
425
|
Ƭ **GetRowId**\<`TData`\>: (`row`: `TData`, `index`: `number`) => `RowId`
|
|
@@ -439,6 +453,20 @@ Row identifier function type
|
|
|
439
453
|
|
|
440
454
|
___
|
|
441
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
|
+
|
|
442
470
|
### UseFileReferenceOptions
|
|
443
471
|
|
|
444
472
|
Ƭ **UseFileReferenceOptions**: `Object`
|
|
@@ -1081,6 +1109,47 @@ ___
|
|
|
1081
1109
|
|
|
1082
1110
|
___
|
|
1083
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
|
+
|
|
1084
1153
|
### Button
|
|
1085
1154
|
|
|
1086
1155
|
▸ **Button**(`props`): `ReactNode`
|
|
@@ -3452,7 +3521,7 @@ ___
|
|
|
3452
3521
|
|
|
3453
3522
|
#### Defined in
|
|
3454
3523
|
|
|
3455
|
-
[packages/core/src/components/Select/Select.tsx:
|
|
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)
|
|
3456
3525
|
|
|
3457
3526
|
___
|
|
3458
3527
|
|
|
@@ -3472,7 +3541,7 @@ ___
|
|
|
3472
3541
|
|
|
3473
3542
|
#### Defined in
|
|
3474
3543
|
|
|
3475
|
-
[packages/core/src/components/Select/Select.tsx:
|
|
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)
|
|
3476
3545
|
|
|
3477
3546
|
___
|
|
3478
3547
|
|
|
@@ -3492,7 +3561,7 @@ ___
|
|
|
3492
3561
|
|
|
3493
3562
|
#### Defined in
|
|
3494
3563
|
|
|
3495
|
-
[packages/core/src/components/Select/Select.tsx:
|
|
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)
|
|
3496
3565
|
|
|
3497
3566
|
___
|
|
3498
3567
|
|
|
@@ -3512,7 +3581,7 @@ ___
|
|
|
3512
3581
|
|
|
3513
3582
|
#### Defined in
|
|
3514
3583
|
|
|
3515
|
-
[packages/core/src/components/Select/Select.tsx:
|
|
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)
|
|
3516
3585
|
|
|
3517
3586
|
___
|
|
3518
3587
|
|
|
@@ -3532,7 +3601,7 @@ ___
|
|
|
3532
3601
|
|
|
3533
3602
|
#### Defined in
|
|
3534
3603
|
|
|
3535
|
-
[packages/core/src/components/Select/Select.tsx:
|
|
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)
|
|
3536
3605
|
|
|
3537
3606
|
___
|
|
3538
3607
|
|
|
@@ -3552,7 +3621,7 @@ ___
|
|
|
3552
3621
|
|
|
3553
3622
|
#### Defined in
|
|
3554
3623
|
|
|
3555
|
-
[packages/core/src/components/Select/Select.tsx:
|
|
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)
|
|
3556
3625
|
|
|
3557
3626
|
___
|
|
3558
3627
|
|
|
@@ -3572,7 +3641,7 @@ ___
|
|
|
3572
3641
|
|
|
3573
3642
|
#### Defined in
|
|
3574
3643
|
|
|
3575
|
-
[packages/core/src/components/Select/Select.tsx:
|
|
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)
|
|
3576
3645
|
|
|
3577
3646
|
___
|
|
3578
3647
|
|
|
@@ -3592,7 +3661,7 @@ ___
|
|
|
3592
3661
|
|
|
3593
3662
|
#### Defined in
|
|
3594
3663
|
|
|
3595
|
-
[packages/core/src/components/Select/Select.tsx:
|
|
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)
|
|
3596
3665
|
|
|
3597
3666
|
___
|
|
3598
3667
|
|
|
@@ -462,7 +462,6 @@ PACE Core is built as a single package with multiple entry points:
|
|
|
462
462
|
".": "./dist/index.js",
|
|
463
463
|
"./components": "./dist/components.js",
|
|
464
464
|
"./rbac": "./dist/rbac/index.js",
|
|
465
|
-
"./validation": "./dist/validation.js",
|
|
466
465
|
"./hooks": "./dist/hooks.js",
|
|
467
466
|
"./styles/core.css": "./src/styles/core.css"
|
|
468
467
|
}
|
package/docs/styles/README.md
CHANGED
|
@@ -100,7 +100,6 @@ Every app must define three color palettes with complete shade ranges (50-950):
|
|
|
100
100
|
@source "./node_modules/@jmruthers/pace-core/src/hooks/**/*.{js,ts,jsx,tsx}";
|
|
101
101
|
@source "./node_modules/@jmruthers/pace-core/src/utils/**/*.{js,ts,jsx,tsx}";
|
|
102
102
|
@source "./node_modules/@jmruthers/pace-core/src/types/**/*.{js,ts,jsx,tsx}";
|
|
103
|
-
@source "./node_modules/@jmruthers/pace-core/src/validation/**/*.{js,ts,jsx,tsx}";
|
|
104
103
|
@source "./node_modules/@jmruthers/pace-core/src/rbac/**/*.{js,ts,jsx,tsx}";
|
|
105
104
|
|
|
106
105
|
/* This file is only to contain the color palette for the app. NEVER ADD ANY CSS OVERRIDES TO THIS FILE!! */
|
|
@@ -215,7 +214,6 @@ Create `src/app.css` in your consuming app with your brand colors and source dir
|
|
|
215
214
|
@source "./node_modules/@jmruthers/pace-core/src/hooks/**/*.{js,ts,jsx,tsx}";
|
|
216
215
|
@source "./node_modules/@jmruthers/pace-core/src/utils/**/*.{js,ts,jsx,tsx}";
|
|
217
216
|
@source "./node_modules/@jmruthers/pace-core/src/types/**/*.{js,ts,jsx,tsx}";
|
|
218
|
-
@source "./node_modules/@jmruthers/pace-core/src/validation/**/*.{js,ts,jsx,tsx}";
|
|
219
217
|
@source "./node_modules/@jmruthers/pace-core/src/rbac/**/*.{js,ts,jsx,tsx}";
|
|
220
218
|
|
|
221
219
|
/* Define your brand color palettes */
|