@jmruthers/pace-core 0.5.186 → 0.5.187
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-Z9NLVJh0.d.ts → DataTable-IVYljGJ6.d.ts} +1 -1
- package/dist/{DataTable-IX2NBUTP.js → DataTable-K3RJRSOX.js} +7 -7
- package/dist/{PublicPageProvider-DIzEzwKl.d.ts → PublicPageProvider-DrLDztHt.d.ts} +211 -106
- package/dist/{UnifiedAuthProvider-A4BCQRJY.js → UnifiedAuthProvider-B76OWOAT.js} +2 -2
- package/dist/{api-BMFCXVQX.js → api-YP7XD5L6.js} +3 -3
- package/dist/{audit-WRS3KJKI.js → audit-B5P6FFIR.js} +2 -2
- package/dist/{chunk-445GEP27.js → chunk-3IC5WCMO.js} +33 -8
- package/dist/chunk-3IC5WCMO.js.map +1 -0
- package/dist/{chunk-OALXJH4Y.js → chunk-3NFNJOO7.js} +8 -8
- package/dist/chunk-3NFNJOO7.js.map +1 -0
- package/dist/{chunk-FSFQFJCU.js → chunk-63FOKYGO.js} +174 -6
- package/dist/chunk-63FOKYGO.js.map +1 -0
- package/dist/{chunk-TC7D3CR3.js → chunk-C4OYJOV4.js} +556 -101
- package/dist/chunk-C4OYJOV4.js.map +1 -0
- package/dist/{chunk-HGPQUCBC.js → chunk-FMTK4XNN.js} +3 -3
- package/dist/{chunk-U6WNSFX5.js → chunk-HEHYGYOX.js} +279 -44
- package/dist/chunk-HEHYGYOX.js.map +1 -0
- package/dist/{chunk-XAUHJD3L.js → chunk-K2JGDXGU.js} +2 -2
- package/dist/{chunk-HDCUMOOI.js → chunk-LBBUPSSC.js} +792 -559
- package/dist/chunk-LBBUPSSC.js.map +1 -0
- package/dist/{chunk-UQWSHFVX.js → chunk-SAUPYVLF.js} +1 -1
- package/dist/{chunk-UQWSHFVX.js.map → chunk-SAUPYVLF.js.map} +1 -1
- package/dist/{chunk-GRIQLQ52.js → chunk-T6ZJVI3A.js} +27 -23
- package/dist/chunk-T6ZJVI3A.js.map +1 -0
- package/dist/{chunk-DAGICKHT.js → chunk-ULX5FYEM.js} +3 -3
- package/dist/{chunk-FXFJRTKI.js → chunk-WK2Y6TGA.js} +3 -3
- package/dist/chunk-WK2Y6TGA.js.map +1 -0
- package/dist/chunk-YHCN776L.js +447 -0
- package/dist/chunk-YHCN776L.js.map +1 -0
- package/dist/components.d.ts +4 -4
- package/dist/components.js +12 -10
- package/dist/components.js.map +1 -1
- package/dist/{file-reference-PRTSLxKx.d.ts → file-reference-D037xOFK.d.ts} +0 -1
- package/dist/hooks.d.ts +221 -6
- package/dist/hooks.js +146 -49
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +24 -9
- package/dist/index.js +62 -28
- package/dist/index.js.map +1 -1
- package/dist/providers.js +1 -1
- package/dist/rbac/index.d.ts +124 -7
- package/dist/rbac/index.js +27 -7
- package/dist/{types-DUyCRSTj.d.ts → types-Bwgl--Xo.d.ts} +162 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.js +1 -1
- package/dist/{usePublicRouteParams-D71QLlg4.d.ts → usePublicRouteParams-CTDELQ7H.d.ts} +2 -2
- package/dist/utils.d.ts +213 -3
- package/dist/utils.js +22 -2
- package/dist/utils.js.map +1 -1
- 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/Logger.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/RBACAuditManager.md +21 -17
- package/docs/api/classes/RBACCache.md +31 -23
- package/docs/api/classes/RBACEngine.md +5 -5
- 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/enums/LogLevel.md +1 -1
- package/docs/api/enums/RBACErrorCode.md +1 -1
- package/docs/api/enums/RPCFunction.md +1 -1
- package/docs/api/interfaces/AddressFieldProps.md +241 -0
- package/docs/api/interfaces/AddressFieldRef.md +94 -0
- package/docs/api/interfaces/AggregateConfig.md +1 -1
- package/docs/api/interfaces/AutocompleteOptions.md +75 -0
- package/docs/api/interfaces/BadgeProps.md +1 -1
- package/docs/api/interfaces/ButtonProps.md +1 -1
- package/docs/api/interfaces/CalendarProps.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/ComplianceResult.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/DatabaseComplianceResult.md +1 -1
- package/docs/api/interfaces/DatabaseIssue.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/ExportColumn.md +1 -1
- package/docs/api/interfaces/ExportOptions.md +1 -1
- package/docs/api/interfaces/FileDisplayProps.md +15 -15
- 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/FormFieldProps.md +1 -1
- package/docs/api/interfaces/FormProps.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/LoggerConfig.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 +11 -11
- package/docs/api/interfaces/PagePermissionProviderProps.md +1 -1
- package/docs/api/interfaces/PaletteData.md +1 -1
- package/docs/api/interfaces/ParsedAddress.md +120 -0
- package/docs/api/interfaces/PermissionEnforcerProps.md +1 -1
- package/docs/api/interfaces/ProgressProps.md +1 -1
- package/docs/api/interfaces/ProtectedRouteProps.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/QuickFix.md +1 -1
- package/docs/api/interfaces/RBACAccessValidateParams.md +1 -1
- package/docs/api/interfaces/RBACAccessValidateResult.md +1 -1
- package/docs/api/interfaces/RBACAuditLogParams.md +1 -1
- package/docs/api/interfaces/RBACAuditLogResult.md +1 -1
- package/docs/api/interfaces/RBACConfig.md +26 -3
- package/docs/api/interfaces/RBACContext.md +1 -1
- package/docs/api/interfaces/RBACLogger.md +5 -5
- package/docs/api/interfaces/RBACPageAccessCheckParams.md +1 -1
- package/docs/api/interfaces/RBACPerformanceMetrics.md +138 -0
- package/docs/api/interfaces/RBACPermissionCheckParams.md +1 -1
- package/docs/api/interfaces/RBACPermissionCheckResult.md +1 -1
- package/docs/api/interfaces/RBACPermissionsGetParams.md +1 -1
- package/docs/api/interfaces/RBACPermissionsGetResult.md +1 -1
- package/docs/api/interfaces/RBACResult.md +1 -1
- package/docs/api/interfaces/RBACRoleGrantParams.md +1 -1
- package/docs/api/interfaces/RBACRoleGrantResult.md +1 -1
- package/docs/api/interfaces/RBACRoleRevokeParams.md +1 -1
- package/docs/api/interfaces/RBACRoleRevokeResult.md +1 -1
- package/docs/api/interfaces/RBACRoleValidateParams.md +1 -1
- package/docs/api/interfaces/RBACRoleValidateResult.md +1 -1
- package/docs/api/interfaces/RBACRolesListParams.md +1 -1
- package/docs/api/interfaces/RBACRolesListResult.md +1 -1
- package/docs/api/interfaces/RBACSessionTrackParams.md +1 -1
- package/docs/api/interfaces/RBACSessionTrackResult.md +1 -1
- package/docs/api/interfaces/ResourcePermissions.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/RuntimeComplianceResult.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/SetupIssue.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/TabsContentProps.md +1 -1
- package/docs/api/interfaces/TabsListProps.md +1 -1
- package/docs/api/interfaces/TabsProps.md +1 -1
- package/docs/api/interfaces/TabsTriggerProps.md +1 -1
- package/docs/api/interfaces/TextareaProps.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/UseFormDialogOptions.md +1 -1
- package/docs/api/interfaces/UseFormDialogReturn.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/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/UseResourcePermissionsOptions.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 +318 -59
- package/docs/best-practices/performance.md +11 -0
- package/docs/implementation-guides/file-upload-storage.md +29 -0
- package/docs/rbac/README.md +2 -1
- package/docs/rbac/api-reference.md +11 -0
- package/docs/rbac/performance.md +320 -0
- package/docs/standards/01-architecture-standard.md +5 -0
- package/docs/standards/05-security-standard.md +12 -0
- package/package.json +1 -1
- package/src/components/AddressField/AddressField.test.tsx +411 -0
- package/src/components/AddressField/AddressField.tsx +323 -0
- package/src/components/AddressField/README.md +336 -0
- package/src/components/AddressField/index.ts +10 -0
- package/src/components/AddressField/types.ts +65 -0
- package/src/components/FileDisplay/FileDisplay.test.tsx +454 -0
- package/src/components/FileDisplay/FileDisplay.tsx +28 -1
- package/src/components/index.ts +2 -0
- package/src/hooks/__tests__/useFileDisplay.unit.test.ts +30 -5
- package/src/hooks/__tests__/useOrganisationSecurity.unit.test.tsx +11 -10
- package/src/hooks/__tests__/usePublicFileDisplay.test.ts +31 -6
- package/src/hooks/index.ts +6 -0
- package/src/hooks/public/usePublicFileDisplay.ts +8 -10
- package/src/hooks/useAddressAutocomplete.test.ts +318 -0
- package/src/hooks/useAddressAutocomplete.ts +268 -0
- package/src/hooks/useFileDisplay.ts +3 -15
- package/src/hooks/useFileReference.test.ts +20 -3
- package/src/hooks/useFileReference.ts +3 -24
- package/src/hooks/useFileUrlCache.ts +246 -0
- package/src/hooks/useInactivityTracker.ts +31 -20
- package/src/hooks/useOrganisationSecurity.test.ts +10 -7
- package/src/hooks/useOrganisationSecurity.ts +3 -3
- package/src/hooks/useQueryCache.ts +315 -0
- package/src/index.ts +2 -0
- package/src/providers/services/EventServiceProvider.tsx +4 -1
- package/src/rbac/api.test.ts +21 -6
- package/src/rbac/api.ts +32 -11
- package/src/rbac/audit-batched.ts +223 -0
- package/src/rbac/audit-enhanced.ts +2 -2
- package/src/rbac/audit.test.ts +6 -5
- package/src/rbac/audit.ts +34 -6
- package/src/rbac/cache-invalidation.ts +63 -12
- package/src/rbac/cache.test.ts +2 -2
- package/src/rbac/cache.ts +61 -14
- package/src/rbac/components/PagePermissionGuard.tsx +19 -10
- package/src/rbac/components/__tests__/PagePermissionGuard.performance.test.tsx +248 -0
- package/src/rbac/config.ts +9 -0
- package/src/rbac/engine.ts +2 -21
- package/src/rbac/hooks/usePermissions.ts +21 -5
- package/src/rbac/index.ts +19 -0
- package/src/rbac/performance.ts +210 -0
- package/src/rbac/request-deduplication.ts +87 -0
- package/src/rbac/utils/deep-equal.ts +93 -0
- package/src/types/file-reference.ts +0 -1
- package/src/utils/file-reference/__tests__/file-reference.test.ts +31 -4
- package/src/utils/file-reference/index.ts +44 -15
- package/src/utils/google-places/googlePlacesUtils.test.ts +403 -0
- package/src/utils/google-places/googlePlacesUtils.ts +475 -0
- package/src/utils/google-places/index.ts +26 -0
- package/src/utils/google-places/loadGoogleMapsScript.ts +207 -0
- package/src/utils/google-places/types.ts +94 -0
- package/src/utils/index.ts +23 -0
- package/src/utils/request-deduplication.ts +165 -0
- package/src/utils/storage/helpers.ts +143 -4
- package/dist/chunk-445GEP27.js.map +0 -1
- package/dist/chunk-FMUCXFII.js +0 -76
- package/dist/chunk-FMUCXFII.js.map +0 -1
- package/dist/chunk-FSFQFJCU.js.map +0 -1
- package/dist/chunk-FXFJRTKI.js.map +0 -1
- package/dist/chunk-GRIQLQ52.js.map +0 -1
- package/dist/chunk-HDCUMOOI.js.map +0 -1
- package/dist/chunk-OALXJH4Y.js.map +0 -1
- package/dist/chunk-TC7D3CR3.js.map +0 -1
- package/dist/chunk-U6WNSFX5.js.map +0 -1
- /package/dist/{DataTable-IX2NBUTP.js.map → DataTable-K3RJRSOX.js.map} +0 -0
- /package/dist/{UnifiedAuthProvider-A4BCQRJY.js.map → UnifiedAuthProvider-B76OWOAT.js.map} +0 -0
- /package/dist/{api-BMFCXVQX.js.map → api-YP7XD5L6.js.map} +0 -0
- /package/dist/{audit-WRS3KJKI.js.map → audit-B5P6FFIR.js.map} +0 -0
- /package/dist/{chunk-HGPQUCBC.js.map → chunk-FMTK4XNN.js.map} +0 -0
- /package/dist/{chunk-XAUHJD3L.js.map → chunk-K2JGDXGU.js.map} +0 -0
- /package/dist/{chunk-DAGICKHT.js.map → chunk-ULX5FYEM.js.map} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { Component, ReactNode } from 'react';
|
|
3
|
+
import { P as ParsedAddress, A as AutocompleteOptions } from './types-Bwgl--Xo.js';
|
|
3
4
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
4
5
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
5
6
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
@@ -16,9 +17,9 @@ import { z } from 'zod';
|
|
|
16
17
|
import { User, SupabaseClient, createClient } from '@supabase/supabase-js';
|
|
17
18
|
import { P as Permission, A as AccessLevel } from './types-UU913iLA.js';
|
|
18
19
|
import { E as Event, O as Organisation } from './event-CW5YB_2p.js';
|
|
19
|
-
import { F as FileCategory, e as FileUploadResult, U as UploadProgress, c as FileUploadOptions, a as FileReference } from './file-reference-
|
|
20
|
+
import { F as FileCategory, e as FileUploadResult, U as UploadProgress, c as FileUploadOptions, a as FileReference } from './file-reference-D037xOFK.js';
|
|
20
21
|
|
|
21
|
-
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
22
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
22
23
|
/** Visual variant of the button */
|
|
23
24
|
variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
|
|
24
25
|
/** Size of the button */
|
|
@@ -45,7 +46,7 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
45
46
|
* </Button>
|
|
46
47
|
* ```
|
|
47
48
|
*/
|
|
48
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
49
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
49
50
|
|
|
50
51
|
/**
|
|
51
52
|
* @file Card Component Suite
|
|
@@ -110,7 +111,7 @@ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAtt
|
|
|
110
111
|
* - Screen reader friendly with semantic landmarks
|
|
111
112
|
*/
|
|
112
113
|
|
|
113
|
-
interface CardProps extends React.HTMLAttributes<HTMLElement> {
|
|
114
|
+
interface CardProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
114
115
|
/** Visual variant of the card */
|
|
115
116
|
variant?: 'default' | 'outline' | 'ghost';
|
|
116
117
|
/** Size of the card */
|
|
@@ -120,14 +121,14 @@ interface CardProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
120
121
|
/** Path or URL to navigate to when the card is clicked */
|
|
121
122
|
link?: string;
|
|
122
123
|
}
|
|
123
|
-
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLElement>>;
|
|
124
|
-
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
125
|
-
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
126
|
-
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
127
|
-
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
128
|
-
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
129
|
-
declare const CardActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
130
|
-
type CardActionsProps = React.HTMLAttributes<HTMLElement>;
|
|
124
|
+
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLElement>>;
|
|
125
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & React$1.RefAttributes<HTMLElement>>;
|
|
126
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
127
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
128
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & React$1.RefAttributes<HTMLElement>>;
|
|
129
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & React$1.RefAttributes<HTMLElement>>;
|
|
130
|
+
declare const CardActions: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLElement> & React$1.RefAttributes<HTMLElement>>;
|
|
131
|
+
type CardActionsProps = React$1.HTMLAttributes<HTMLElement>;
|
|
131
132
|
|
|
132
133
|
/**
|
|
133
134
|
* @file Input Component Suite
|
|
@@ -179,7 +180,7 @@ type CardActionsProps = React.HTMLAttributes<HTMLElement>;
|
|
|
179
180
|
* - Focus management
|
|
180
181
|
*/
|
|
181
182
|
|
|
182
|
-
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
183
|
+
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
183
184
|
/**
|
|
184
185
|
* Input variant style
|
|
185
186
|
*/
|
|
@@ -221,7 +222,108 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, '
|
|
|
221
222
|
* />
|
|
222
223
|
* ```
|
|
223
224
|
*/
|
|
224
|
-
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
225
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* @file AddressField Component Types
|
|
229
|
+
* @package @jmruthers/pace-core
|
|
230
|
+
* @module Components/AddressField
|
|
231
|
+
* @since 0.1.0
|
|
232
|
+
*/
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Props for AddressField component
|
|
236
|
+
*/
|
|
237
|
+
interface AddressFieldProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value' | 'defaultValue' | 'size'> {
|
|
238
|
+
/** Google Places API key (required) */
|
|
239
|
+
apiKey: string;
|
|
240
|
+
/** Controlled input value */
|
|
241
|
+
value?: string;
|
|
242
|
+
/** Uncontrolled default value */
|
|
243
|
+
defaultValue?: string;
|
|
244
|
+
/** Callback when address is selected */
|
|
245
|
+
onChange?: (address: ParsedAddress | null) => void;
|
|
246
|
+
/** Callback when input value changes */
|
|
247
|
+
onInputChange?: (value: string) => void;
|
|
248
|
+
/** Placeholder text */
|
|
249
|
+
placeholder?: string;
|
|
250
|
+
/** Error state styling */
|
|
251
|
+
error?: boolean;
|
|
252
|
+
/** Disabled state */
|
|
253
|
+
disabled?: boolean;
|
|
254
|
+
/** Input size */
|
|
255
|
+
size?: 'sm' | 'md' | 'lg';
|
|
256
|
+
/** Input variant */
|
|
257
|
+
variant?: 'default' | 'destructive';
|
|
258
|
+
/** Google Places API autocomplete options */
|
|
259
|
+
autocompleteOptions?: AutocompleteOptions;
|
|
260
|
+
/** Debounce delay in milliseconds */
|
|
261
|
+
debounceDelay?: number;
|
|
262
|
+
/** Enable caching (default: true) */
|
|
263
|
+
cacheEnabled?: boolean;
|
|
264
|
+
/** Cache TTL configuration */
|
|
265
|
+
cacheTTL?: {
|
|
266
|
+
/** Autocomplete cache TTL in seconds */
|
|
267
|
+
autocomplete?: number;
|
|
268
|
+
/** Place details cache TTL in seconds */
|
|
269
|
+
placeDetails?: number;
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Ref type for AddressField component
|
|
274
|
+
*/
|
|
275
|
+
interface AddressFieldRef {
|
|
276
|
+
/** Focus the input */
|
|
277
|
+
focus: () => void;
|
|
278
|
+
/** Blur the input */
|
|
279
|
+
blur: () => void;
|
|
280
|
+
/** Get current input value */
|
|
281
|
+
getValue: () => string;
|
|
282
|
+
/** Clear the input and suggestions */
|
|
283
|
+
clear: () => void;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @file AddressField Component
|
|
288
|
+
* @package @jmruthers/pace-core
|
|
289
|
+
* @module Components/AddressField
|
|
290
|
+
* @since 0.1.0
|
|
291
|
+
*
|
|
292
|
+
* Address input field with Google Places API autocomplete.
|
|
293
|
+
* Provides address suggestions, keyboard navigation, and accessibility.
|
|
294
|
+
*
|
|
295
|
+
* Features:
|
|
296
|
+
* - Google Places API autocomplete integration
|
|
297
|
+
* - Debounced input with caching
|
|
298
|
+
* - Keyboard navigation (Arrow keys, Enter, Escape)
|
|
299
|
+
* - Accessible ARIA attributes
|
|
300
|
+
* - Loading and error states
|
|
301
|
+
* - place_id storage for later retrieval
|
|
302
|
+
*/
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* AddressField component
|
|
306
|
+
*
|
|
307
|
+
* A production-ready address input field with Google Places API autocomplete.
|
|
308
|
+
* Returns structured address data including place_id for later retrieval.
|
|
309
|
+
*
|
|
310
|
+
* @param props - AddressField configuration
|
|
311
|
+
* @param ref - Forwarded ref for imperative access
|
|
312
|
+
* @returns JSX.Element - The rendered address field
|
|
313
|
+
*
|
|
314
|
+
* @example
|
|
315
|
+
* ```tsx
|
|
316
|
+
* <AddressField
|
|
317
|
+
* apiKey={apiKey}
|
|
318
|
+
* onChange={(address) => {
|
|
319
|
+
* // address includes place_id, full_address, lat, lng, etc.
|
|
320
|
+
* console.log(address.place_id);
|
|
321
|
+
* }}
|
|
322
|
+
* placeholder="Enter your address"
|
|
323
|
+
* />
|
|
324
|
+
* ```
|
|
325
|
+
*/
|
|
326
|
+
declare const AddressField: React$1.ForwardRefExoticComponent<AddressFieldProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
225
327
|
|
|
226
328
|
/**
|
|
227
329
|
* @file Label Component
|
|
@@ -300,11 +402,11 @@ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttri
|
|
|
300
402
|
/**
|
|
301
403
|
* Props for the Label component
|
|
302
404
|
*/
|
|
303
|
-
interface LabelProps extends React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> {
|
|
405
|
+
interface LabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> {
|
|
304
406
|
/** Whether the field is required */
|
|
305
407
|
required?: boolean;
|
|
306
408
|
/** Custom required indicator (default: '*') */
|
|
307
|
-
requiredIndicator?: React.ReactNode;
|
|
409
|
+
requiredIndicator?: React$1.ReactNode;
|
|
308
410
|
/** Whether to hide the required indicator visually */
|
|
309
411
|
hideRequiredIndicator?: boolean;
|
|
310
412
|
/** Helper text to display below the label */
|
|
@@ -331,7 +433,7 @@ interface LabelProps extends React.ComponentPropsWithoutRef<typeof LabelPrimitiv
|
|
|
331
433
|
* </Label>
|
|
332
434
|
* ```
|
|
333
435
|
*/
|
|
334
|
-
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
436
|
+
declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
335
437
|
|
|
336
438
|
/**
|
|
337
439
|
* @file Textarea Component
|
|
@@ -375,7 +477,7 @@ declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttri
|
|
|
375
477
|
* - Focus management
|
|
376
478
|
*/
|
|
377
479
|
|
|
378
|
-
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
480
|
+
interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
379
481
|
/**
|
|
380
482
|
* Textarea variant style
|
|
381
483
|
*/
|
|
@@ -417,7 +519,7 @@ interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement
|
|
|
417
519
|
* />
|
|
418
520
|
* ```
|
|
419
521
|
*/
|
|
420
|
-
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
522
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
421
523
|
|
|
422
524
|
/**
|
|
423
525
|
* @file Alert Component Suite
|
|
@@ -466,11 +568,11 @@ declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.Re
|
|
|
466
568
|
* - Supports keyboard navigation and focus
|
|
467
569
|
*/
|
|
468
570
|
|
|
469
|
-
declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
571
|
+
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
470
572
|
variant?: "default" | "destructive" | "inline";
|
|
471
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
472
|
-
declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
473
|
-
declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
573
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
574
|
+
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
575
|
+
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
474
576
|
|
|
475
577
|
/**
|
|
476
578
|
* @file Avatar Component Suite
|
|
@@ -508,9 +610,9 @@ declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttrib
|
|
|
508
610
|
* - Keyboard focusable and navigable
|
|
509
611
|
*/
|
|
510
612
|
|
|
511
|
-
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
512
|
-
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
513
|
-
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
613
|
+
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
614
|
+
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
615
|
+
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
514
616
|
|
|
515
617
|
/**
|
|
516
618
|
* @file Badge Component
|
|
@@ -557,7 +659,7 @@ declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimiti
|
|
|
557
659
|
*/
|
|
558
660
|
|
|
559
661
|
type 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';
|
|
560
|
-
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
662
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
561
663
|
/** Visual variant of the badge (style-color-shade) */
|
|
562
664
|
variant?: BadgeVariant;
|
|
563
665
|
}
|
|
@@ -581,7 +683,7 @@ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
581
683
|
* <Badge variant="soft-acc-strong">Featured</Badge>
|
|
582
684
|
* ```
|
|
583
685
|
*/
|
|
584
|
-
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
686
|
+
declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
585
687
|
|
|
586
688
|
/**
|
|
587
689
|
* @file Checkbox Component
|
|
@@ -630,7 +732,7 @@ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttri
|
|
|
630
732
|
* - ARIA attributes handled automatically
|
|
631
733
|
*/
|
|
632
734
|
|
|
633
|
-
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
735
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
634
736
|
|
|
635
737
|
/**
|
|
636
738
|
* @file Switch Component
|
|
@@ -705,7 +807,7 @@ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.C
|
|
|
705
807
|
* Switch component props
|
|
706
808
|
* Extends all props from Radix UI Switch.Root
|
|
707
809
|
*/
|
|
708
|
-
interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> {
|
|
810
|
+
interface SwitchProps extends React$1.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> {
|
|
709
811
|
/**
|
|
710
812
|
* Additional CSS classes to apply to the switch
|
|
711
813
|
*/
|
|
@@ -722,7 +824,7 @@ interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimit
|
|
|
722
824
|
* <Switch checked={isEnabled} onCheckedChange={setIsEnabled} />
|
|
723
825
|
* ```
|
|
724
826
|
*/
|
|
725
|
-
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
827
|
+
declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
726
828
|
|
|
727
829
|
/**
|
|
728
830
|
* @file Progress Component
|
|
@@ -789,7 +891,7 @@ declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAtt
|
|
|
789
891
|
/**
|
|
790
892
|
* Props for the Progress component
|
|
791
893
|
*/
|
|
792
|
-
interface ProgressProps extends React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
|
|
894
|
+
interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
|
|
793
895
|
/** Current progress value (0 to max) */
|
|
794
896
|
value?: number;
|
|
795
897
|
/** Maximum progress value (default: 100) */
|
|
@@ -808,7 +910,7 @@ interface ProgressProps extends React.ComponentPropsWithoutRef<typeof ProgressPr
|
|
|
808
910
|
* <Progress value={75} max={100} />
|
|
809
911
|
* ```
|
|
810
912
|
*/
|
|
811
|
-
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
913
|
+
declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
812
914
|
|
|
813
915
|
/**
|
|
814
916
|
* Dialog size variants
|
|
@@ -832,7 +934,7 @@ interface DialogTriggerProps extends DialogPrimitive.DialogTriggerProps {
|
|
|
832
934
|
* Uses semantic HTML dialog element with Radix UI accessibility features
|
|
833
935
|
* @public
|
|
834
936
|
*/
|
|
835
|
-
interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
937
|
+
interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
836
938
|
/** Dialog size variant */
|
|
837
939
|
size?: DialogSize;
|
|
838
940
|
/** Whether to show the close button */
|
|
@@ -862,13 +964,13 @@ interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof Dialo
|
|
|
862
964
|
* Props for the DialogOverlay component
|
|
863
965
|
* @public
|
|
864
966
|
*/
|
|
865
|
-
interface DialogOverlayProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay> {
|
|
967
|
+
interface DialogOverlayProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay> {
|
|
866
968
|
}
|
|
867
969
|
/**
|
|
868
970
|
* Props for the DialogHeader component (semantic header element)
|
|
869
971
|
* @public
|
|
870
972
|
*/
|
|
871
|
-
interface DialogHeaderProps extends React.HTMLAttributes<HTMLElement> {
|
|
973
|
+
interface DialogHeaderProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
872
974
|
/** Whether this header should be sticky when scrolling is enabled */
|
|
873
975
|
sticky?: boolean;
|
|
874
976
|
}
|
|
@@ -876,7 +978,7 @@ interface DialogHeaderProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
876
978
|
* Props for the DialogFooter component (semantic footer element)
|
|
877
979
|
* @public
|
|
878
980
|
*/
|
|
879
|
-
interface DialogFooterProps extends React.HTMLAttributes<HTMLElement> {
|
|
981
|
+
interface DialogFooterProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
880
982
|
/** Whether this footer should be sticky when scrolling is enabled */
|
|
881
983
|
sticky?: boolean;
|
|
882
984
|
}
|
|
@@ -884,7 +986,7 @@ interface DialogFooterProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
884
986
|
* Props for the DialogBody component (semantic main element)
|
|
885
987
|
* @public
|
|
886
988
|
*/
|
|
887
|
-
interface DialogBodyProps extends React.HTMLAttributes<HTMLElement> {
|
|
989
|
+
interface DialogBodyProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
888
990
|
/** Custom max height for the scrollable area */
|
|
889
991
|
maxHeight?: string;
|
|
890
992
|
/** HTML content to render (will be sanitized for security) */
|
|
@@ -900,7 +1002,7 @@ interface DialogBodyProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
900
1002
|
* Props for the DialogTitle component
|
|
901
1003
|
* @public
|
|
902
1004
|
*/
|
|
903
|
-
interface DialogTitleProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title> {
|
|
1005
|
+
interface DialogTitleProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Title> {
|
|
904
1006
|
/** HTML content to render as title (will be sanitized for security) */
|
|
905
1007
|
htmlContent?: string;
|
|
906
1008
|
/** Whether to allow HTML content rendering (default: true) */
|
|
@@ -910,17 +1012,17 @@ interface DialogTitleProps extends React.ComponentPropsWithoutRef<typeof DialogP
|
|
|
910
1012
|
* Props for the DialogDescription component
|
|
911
1013
|
* @public
|
|
912
1014
|
*/
|
|
913
|
-
interface DialogDescriptionProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description> {
|
|
1015
|
+
interface DialogDescriptionProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Description> {
|
|
914
1016
|
/** HTML content to render as description (will be sanitized for security) */
|
|
915
1017
|
htmlContent?: string;
|
|
916
1018
|
/** Whether to allow HTML content rendering (default: true) */
|
|
917
1019
|
allowHtml?: boolean;
|
|
918
1020
|
}
|
|
919
|
-
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
920
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
921
|
-
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
922
|
-
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
923
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<DialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
|
|
1021
|
+
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
1022
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1023
|
+
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
1024
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1025
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
924
1026
|
/**
|
|
925
1027
|
* DialogContent component
|
|
926
1028
|
* The main content container using semantic HTML <dialog> element with enhanced features
|
|
@@ -946,7 +1048,7 @@ declare const DialogOverlay: React.ForwardRefExoticComponent<DialogOverlayProps
|
|
|
946
1048
|
* </DialogContent>
|
|
947
1049
|
* ```
|
|
948
1050
|
*/
|
|
949
|
-
declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
1051
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
950
1052
|
/**
|
|
951
1053
|
* DialogHeader component
|
|
952
1054
|
* Semantic header container for dialog title and description with optional sticky behavior
|
|
@@ -1014,8 +1116,8 @@ declare const DialogFooter: {
|
|
|
1014
1116
|
({ className, sticky, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
|
|
1015
1117
|
displayName: string;
|
|
1016
1118
|
};
|
|
1017
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
1018
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<DialogDescriptionProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
1119
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1120
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<DialogDescriptionProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1019
1121
|
|
|
1020
1122
|
/**
|
|
1021
1123
|
* @file Select Component - Refactored SOLID Implementation
|
|
@@ -1041,50 +1143,50 @@ interface UseSelectStateProps {
|
|
|
1041
1143
|
onValueChange?: (value: string) => void;
|
|
1042
1144
|
onOpenChange?: (open: boolean) => void;
|
|
1043
1145
|
}
|
|
1044
|
-
interface SelectProps extends Omit<React.HTMLAttributes<HTMLFormElement>, 'onChange' | 'onKeyDown' | 'onFocus' | 'onBlur'> {
|
|
1045
|
-
children: React.ReactNode;
|
|
1146
|
+
interface SelectProps extends Omit<React$1.HTMLAttributes<HTMLFormElement>, 'onChange' | 'onKeyDown' | 'onFocus' | 'onBlur'> {
|
|
1147
|
+
children: React$1.ReactNode;
|
|
1046
1148
|
className?: string;
|
|
1047
1149
|
direction?: 'up' | 'down';
|
|
1048
1150
|
}
|
|
1049
1151
|
interface SelectTriggerProps extends Omit<ButtonProps, 'onClick' | 'onKeyDown'> {
|
|
1050
|
-
children: React.ReactNode;
|
|
1152
|
+
children: React$1.ReactNode;
|
|
1051
1153
|
asChild?: boolean;
|
|
1052
1154
|
}
|
|
1053
1155
|
interface SelectValueProps {
|
|
1054
1156
|
placeholder?: string;
|
|
1055
|
-
children?: React.ReactNode;
|
|
1157
|
+
children?: React$1.ReactNode;
|
|
1056
1158
|
}
|
|
1057
1159
|
interface SelectContentProps {
|
|
1058
|
-
children: React.ReactNode;
|
|
1160
|
+
children: React$1.ReactNode;
|
|
1059
1161
|
className?: string;
|
|
1060
1162
|
searchable?: boolean;
|
|
1061
1163
|
searchPlaceholder?: string;
|
|
1062
1164
|
maxHeight?: string;
|
|
1063
|
-
style?: React.CSSProperties;
|
|
1165
|
+
style?: React$1.CSSProperties;
|
|
1064
1166
|
}
|
|
1065
1167
|
interface SelectItemProps {
|
|
1066
1168
|
value: string;
|
|
1067
|
-
children: React.ReactNode;
|
|
1169
|
+
children: React$1.ReactNode;
|
|
1068
1170
|
disabled?: boolean;
|
|
1069
1171
|
className?: string;
|
|
1070
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
1172
|
+
onClick?: (e: React$1.MouseEvent) => void;
|
|
1071
1173
|
}
|
|
1072
|
-
declare const Select: React.ForwardRefExoticComponent<SelectProps & UseSelectStateProps & React.RefAttributes<HTMLFormElement>>;
|
|
1073
|
-
declare const SelectTrigger: React.ForwardRefExoticComponent<SelectTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1074
|
-
declare const SelectValue: React.ForwardRefExoticComponent<SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1075
|
-
declare const SelectContent: React.ForwardRefExoticComponent<SelectContentProps & React.RefAttributes<HTMLUListElement>>;
|
|
1076
|
-
declare const SelectItem: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
1077
|
-
declare const SelectGroup: React.ForwardRefExoticComponent<{
|
|
1078
|
-
children: React.ReactNode;
|
|
1174
|
+
declare const Select: React$1.ForwardRefExoticComponent<SelectProps & UseSelectStateProps & React$1.RefAttributes<HTMLFormElement>>;
|
|
1175
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1176
|
+
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1177
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<SelectContentProps & React$1.RefAttributes<HTMLUListElement>>;
|
|
1178
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
1179
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<{
|
|
1180
|
+
children: React$1.ReactNode;
|
|
1079
1181
|
className?: string;
|
|
1080
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
1081
|
-
declare const SelectLabel: React.ForwardRefExoticComponent<{
|
|
1082
|
-
children: React.ReactNode;
|
|
1182
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1183
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<{
|
|
1184
|
+
children: React$1.ReactNode;
|
|
1083
1185
|
className?: string;
|
|
1084
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
1085
|
-
declare const SelectSeparator: React.ForwardRefExoticComponent<{
|
|
1186
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1187
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<{
|
|
1086
1188
|
className?: string;
|
|
1087
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
1189
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1088
1190
|
|
|
1089
1191
|
/**
|
|
1090
1192
|
* @file Tabs Component System
|
|
@@ -1157,8 +1259,8 @@ interface TabsProps extends TabsPrimitive.TabsProps {
|
|
|
1157
1259
|
* </Tabs>
|
|
1158
1260
|
* ```
|
|
1159
1261
|
*/
|
|
1160
|
-
declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
1161
|
-
interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.List> {
|
|
1262
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1263
|
+
interface TabsListProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List> {
|
|
1162
1264
|
}
|
|
1163
1265
|
/**
|
|
1164
1266
|
* TabsList component
|
|
@@ -1173,8 +1275,8 @@ interface TabsListProps extends React.ComponentPropsWithoutRef<typeof TabsPrimit
|
|
|
1173
1275
|
* </TabsList>
|
|
1174
1276
|
* ```
|
|
1175
1277
|
*/
|
|
1176
|
-
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
1177
|
-
interface TabsTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, 'asChild'>, Pick<ButtonProps, 'variant' | 'size'> {
|
|
1278
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<TabsListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1279
|
+
interface TabsTriggerProps extends Omit<React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>, 'asChild'>, Pick<ButtonProps, 'variant' | 'size'> {
|
|
1178
1280
|
}
|
|
1179
1281
|
/**
|
|
1180
1282
|
* TabsTrigger component
|
|
@@ -1198,8 +1300,8 @@ interface TabsTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof Ta
|
|
|
1198
1300
|
* </TabsTrigger>
|
|
1199
1301
|
* ```
|
|
1200
1302
|
*/
|
|
1201
|
-
declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1202
|
-
interface TabsContentProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content> {
|
|
1303
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1304
|
+
interface TabsContentProps extends React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Content> {
|
|
1203
1305
|
}
|
|
1204
1306
|
/**
|
|
1205
1307
|
* TabsContent component
|
|
@@ -1213,7 +1315,7 @@ interface TabsContentProps extends React.ComponentPropsWithoutRef<typeof TabsPri
|
|
|
1213
1315
|
* </TabsContent>
|
|
1214
1316
|
* ```
|
|
1215
1317
|
*/
|
|
1216
|
-
declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
1318
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<TabsContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1217
1319
|
|
|
1218
1320
|
/**
|
|
1219
1321
|
* @file Calendar Component
|
|
@@ -1319,9 +1421,9 @@ interface CalendarProps extends Omit<DayPickerProps, 'className' | 'classNames'
|
|
|
1319
1421
|
* />
|
|
1320
1422
|
* ```
|
|
1321
1423
|
*/
|
|
1322
|
-
declare const Calendar: React.ForwardRefExoticComponent<CalendarProps & React.RefAttributes<HTMLDivElement>>;
|
|
1424
|
+
declare const Calendar: React$1.ForwardRefExoticComponent<CalendarProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1323
1425
|
|
|
1324
|
-
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
1426
|
+
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
1325
1427
|
/**
|
|
1326
1428
|
* ToastViewport component
|
|
1327
1429
|
* Container for all toast notifications with customizable positioning
|
|
@@ -1330,7 +1432,7 @@ declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
|
1330
1432
|
* @param ref - Forwarded ref to the viewport element
|
|
1331
1433
|
* @returns JSX.Element - The toast viewport container
|
|
1332
1434
|
*/
|
|
1333
|
-
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
1435
|
+
declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
1334
1436
|
/**
|
|
1335
1437
|
* Toast component
|
|
1336
1438
|
* The main toast notification component with animations and interactions
|
|
@@ -1348,7 +1450,7 @@ declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitive
|
|
|
1348
1450
|
* </Toast>
|
|
1349
1451
|
* ```
|
|
1350
1452
|
*/
|
|
1351
|
-
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
1453
|
+
declare const Toast: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
1352
1454
|
/**
|
|
1353
1455
|
* ToastAction component
|
|
1354
1456
|
* Action button within a toast notification
|
|
@@ -1362,7 +1464,7 @@ declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastP
|
|
|
1362
1464
|
* <ToastAction altText="Undo changes">Undo</ToastAction>
|
|
1363
1465
|
* ```
|
|
1364
1466
|
*/
|
|
1365
|
-
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1467
|
+
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1366
1468
|
/**
|
|
1367
1469
|
* ToastClose component
|
|
1368
1470
|
* Close button for dismissing toast notifications
|
|
@@ -1376,7 +1478,7 @@ declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.
|
|
|
1376
1478
|
* <ToastClose />
|
|
1377
1479
|
* ```
|
|
1378
1480
|
*/
|
|
1379
|
-
declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1481
|
+
declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1380
1482
|
/**
|
|
1381
1483
|
* ToastTitle component
|
|
1382
1484
|
* Title text for toast notifications
|
|
@@ -1390,7 +1492,7 @@ declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.T
|
|
|
1390
1492
|
* <ToastTitle>Success!</ToastTitle>
|
|
1391
1493
|
* ```
|
|
1392
1494
|
*/
|
|
1393
|
-
declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1495
|
+
declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1394
1496
|
/**
|
|
1395
1497
|
* ToastDescription component
|
|
1396
1498
|
* Description text for toast notifications
|
|
@@ -1404,10 +1506,10 @@ declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.T
|
|
|
1404
1506
|
* <ToastDescription>Your changes have been saved successfully.</ToastDescription>
|
|
1405
1507
|
* ```
|
|
1406
1508
|
*/
|
|
1407
|
-
declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1408
|
-
interface ToastProps extends React.ComponentPropsWithoutRef<typeof ToastPrimitives.Root> {
|
|
1509
|
+
declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1510
|
+
interface ToastProps extends React$1.ComponentPropsWithoutRef<typeof ToastPrimitives.Root> {
|
|
1409
1511
|
}
|
|
1410
|
-
interface ToastActionElement extends React.ReactElement<typeof ToastAction> {
|
|
1512
|
+
interface ToastActionElement extends React$1.ReactElement<typeof ToastAction> {
|
|
1411
1513
|
}
|
|
1412
1514
|
/**
|
|
1413
1515
|
* Toaster component
|
|
@@ -1503,9 +1605,9 @@ declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
|
1503
1605
|
* - Tailwind CSS - Styling and animations
|
|
1504
1606
|
*/
|
|
1505
1607
|
|
|
1506
|
-
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1507
|
-
declare const TooltipRoot: React.FC<TooltipPrimitive.TooltipProps>;
|
|
1508
|
-
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1608
|
+
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1609
|
+
declare const TooltipRoot: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
1610
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1509
1611
|
/**
|
|
1510
1612
|
* TooltipContent component
|
|
1511
1613
|
* The content container for tooltip information
|
|
@@ -1521,15 +1623,15 @@ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.T
|
|
|
1521
1623
|
* </TooltipContent>
|
|
1522
1624
|
* ```
|
|
1523
1625
|
*/
|
|
1524
|
-
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1626
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1525
1627
|
/**
|
|
1526
1628
|
* Props for the simplified Tooltip component
|
|
1527
1629
|
*/
|
|
1528
1630
|
interface TooltipProps {
|
|
1529
1631
|
/** The element that triggers the tooltip */
|
|
1530
|
-
children: React.ReactNode;
|
|
1632
|
+
children: React$1.ReactNode;
|
|
1531
1633
|
/** The content to display in the tooltip */
|
|
1532
|
-
content: React.ReactNode;
|
|
1634
|
+
content: React$1.ReactNode;
|
|
1533
1635
|
/** Delay before showing the tooltip (in milliseconds) */
|
|
1534
1636
|
delayDuration?: number;
|
|
1535
1637
|
}
|
|
@@ -1548,7 +1650,7 @@ interface TooltipProps {
|
|
|
1548
1650
|
* </Tooltip>
|
|
1549
1651
|
* ```
|
|
1550
1652
|
*/
|
|
1551
|
-
declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1653
|
+
declare const Tooltip: React$1.ForwardRefExoticComponent<TooltipProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1552
1654
|
|
|
1553
1655
|
/**
|
|
1554
1656
|
* Props for the Form component
|
|
@@ -2101,7 +2203,7 @@ interface NavigationItem {
|
|
|
2101
2203
|
/**
|
|
2102
2204
|
* Navigation menu component props
|
|
2103
2205
|
*/
|
|
2104
|
-
interface NavigationMenuProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
2206
|
+
interface NavigationMenuProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
2105
2207
|
items: NavigationItem[];
|
|
2106
2208
|
mode?: NavigationMode;
|
|
2107
2209
|
currentPath?: string;
|
|
@@ -2313,7 +2415,7 @@ interface NavigationMenuProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
2313
2415
|
*
|
|
2314
2416
|
* @since 0.1.0
|
|
2315
2417
|
*/
|
|
2316
|
-
declare const NavigationMenu: React.ForwardRefExoticComponent<NavigationMenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
2418
|
+
declare const NavigationMenu: React$1.ForwardRefExoticComponent<NavigationMenuProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2317
2419
|
|
|
2318
2420
|
/**
|
|
2319
2421
|
* @file Password Change Form Component
|
|
@@ -3552,7 +3654,10 @@ interface FileDisplayProps {
|
|
|
3552
3654
|
* - UnifiedAuthProvider context for authenticated pages
|
|
3553
3655
|
*
|
|
3554
3656
|
* @param props - File display configuration
|
|
3555
|
-
* @param props.displayOnly - Display only a single file instead of all files. Uses first file (prefers images) from all files, without category filtering. When true
|
|
3657
|
+
* @param props.displayOnly - Display only a single file instead of all files. Uses first file (prefers images) from all files, without category filtering. When true:
|
|
3658
|
+
* - **Image files**: Renders a simplified image-only display without metadata or wrapper divs
|
|
3659
|
+
* - **Non-image files** (PDFs, Word docs, Excel files, etc.): Renders as clickable links that open in a new tab with document icon, filename, and external link icon. Links include proper security attributes (`rel="noopener noreferrer"`) and accessibility features (ARIA labels, keyboard navigation, visible focus states)
|
|
3660
|
+
* - If `showDelete={true}`, uses standard wrapper behavior instead of simplified display
|
|
3556
3661
|
* @param props.category - Optional category filter. When specified, only displays files matching this category and uses single file display variant.
|
|
3557
3662
|
* @returns React element with file display
|
|
3558
3663
|
*/
|
|
@@ -3760,14 +3865,14 @@ type UseFileReferenceForRecordReturn = {
|
|
|
3760
3865
|
* </Table>
|
|
3761
3866
|
* ```
|
|
3762
3867
|
*/
|
|
3763
|
-
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
3764
|
-
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
3765
|
-
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
3766
|
-
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
3767
|
-
declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
|
|
3768
|
-
declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
3769
|
-
declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
3770
|
-
declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
3868
|
+
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
3869
|
+
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
3870
|
+
declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
3871
|
+
declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
3872
|
+
declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
3873
|
+
declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
3874
|
+
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
3875
|
+
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
3771
3876
|
|
|
3772
3877
|
interface PublicPageLayoutProps {
|
|
3773
3878
|
/** The event code for this public page */
|
|
@@ -3897,4 +4002,4 @@ declare function usePublicPageContext(): PublicPageContextType;
|
|
|
3897
4002
|
*/
|
|
3898
4003
|
declare function useIsPublicPage(): boolean;
|
|
3899
4004
|
|
|
3900
|
-
export { type
|
|
4005
|
+
export { type DialogProps as $, AddressField as A, Button as B, Card as C, Table as D, TableHeader as E, TableBody as F, TableCaption as G, TableCell as H, Input as I, TableFooter as J, TableHead as K, Label as L, TableRow as M, Dialog as N, DialogPortal as O, Progress as P, DialogOverlay as Q, DialogTrigger as R, Switch as S, Textarea as T, DialogClose as U, DialogContent as V, DialogHeader as W, DialogBody as X, DialogFooter as Y, DialogTitle as Z, DialogDescription as _, type ButtonProps as a, type SessionRestorationLoaderProps as a$, type DialogTriggerProps as a0, type DialogContentProps as a1, type DialogOverlayProps as a2, type DialogHeaderProps as a3, type DialogFooterProps as a4, type DialogTitleProps as a5, type DialogDescriptionProps as a6, type DialogSize as a7, Select as a8, SelectGroup as a9, Tooltip as aA, TooltipTrigger as aB, TooltipContent as aC, TooltipProvider as aD, TooltipRoot as aE, Form as aF, FormField as aG, type FormProps as aH, type FormFieldProps as aI, LoginForm as aJ, type LoginFormProps as aK, Header as aL, Footer as aM, type FooterProps as aN, ProtectedRoute as aO, type ProtectedRouteProps as aP, NavigationMenu as aQ, type NavigationMenuProps as aR, type NavigationItem as aS, OrganisationSelector as aT, type OrganisationSelectorProps as aU, UserMenu as aV, ErrorBoundary as aW, type ErrorBoundaryProps as aX, type ErrorBoundaryState as aY, LoadingSpinner as aZ, SessionRestorationLoader as a_, SelectValue as aa, SelectTrigger as ab, SelectContent as ac, SelectLabel as ad, SelectItem as ae, SelectSeparator as af, Tabs as ag, TabsList as ah, TabsTrigger as ai, TabsContent as aj, type TabsProps as ak, type TabsListProps as al, type TabsTriggerProps as am, type TabsContentProps as an, Calendar as ao, type CalendarProps as ap, Toast as aq, Toaster as ar, ToastAction as as, ToastProvider as at, ToastViewport as au, ToastTitle as av, ToastDescription as aw, ToastClose as ax, type ToastActionElement as ay, type ToastProps as az, CardHeader as b, EventSelector as b0, FileUpload as b1, type FileUploadProps as b2, FileDisplay as b3, type FileDisplayProps as b4, useFileReference as b5, useFileReferenceForRecord as b6, useFileReferenceById as b7, useFilesByCategory as b8, type UseFileReferenceOptions as b9, type UseFileReferenceReturn as ba, type UseFileReferenceForRecordReturn as bb, PublicPageLayout as bc, PublicPageHeader as bd, PublicPageFooter as be, PublicPageProvider as bf, usePublicPageContext as bg, useIsPublicPage as bh, type PublicPageLayoutProps as bi, type PublicPageHeaderProps as bj, type PublicPageFooterProps as bk, type PaceAppLayoutProps as bl, PaceAppLayout as bm, type PaceLoginPageProps as bn, PaceLoginPage as bo, type NavigationMode as bp, type UserMenuProps as bq, PasswordChangeForm as br, CardFooter as c, CardTitle as d, CardDescription as e, CardContent as f, CardActions as g, type CardProps as h, type CardActionsProps as i, type InputProps as j, type AddressFieldProps as k, type AddressFieldRef as l, type LabelProps as m, type TextareaProps as n, Alert as o, AlertTitle as p, AlertDescription as q, Avatar as r, AvatarImage as s, AvatarFallback as t, Badge as u, type BadgeProps as v, type BadgeVariant as w, Checkbox as x, type SwitchProps as y, type ProgressProps as z };
|