@classic-homes/theme-react 0.1.52 → 0.1.54

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/index.d.mts CHANGED
@@ -1,10 +1,9 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import * as React from 'react';
2
+ import * as React$1 from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
  import * as LabelPrimitive from '@radix-ui/react-label';
5
5
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
6
6
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
7
- import * as react_jsx_runtime from 'react/jsx-runtime';
8
7
  import * as DialogPrimitive from '@radix-ui/react-dialog';
9
8
  import { PanelMode, PanelEdge, DataPanelAction, PanelConstraints, Position, Size } from '@classic-homes/data-panel-core';
10
9
  export { DataPanelAction, DataPanelState, PanelConstraints, PanelEdge, PanelMode, Position, Size } from '@classic-homes/data-panel-core';
@@ -12,44 +11,104 @@ import { ClassValue } from 'clsx';
12
11
 
13
12
  declare const buttonVariants: (props?: ({
14
13
  variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
15
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
14
+ size?: "default" | "sm" | "md" | "lg" | "icon" | null | undefined;
16
15
  } & class_variance_authority_types.ClassProp) | undefined) => string;
17
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
16
+ /** Base button props without size */
17
+ interface BaseButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, Omit<VariantProps<typeof buttonVariants>, 'size'> {
18
18
  asChild?: boolean;
19
19
  }
20
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
20
+ /**
21
+ * Icon-only buttons MUST have an aria-label for WCAG compliance.
22
+ * This provides the accessible name since there's no visible text.
23
+ */
24
+ interface IconButtonProps extends BaseButtonProps {
25
+ size: 'icon';
26
+ 'aria-label': string;
27
+ }
28
+ /** Regular buttons with visible text content */
29
+ interface NonIconButtonProps extends BaseButtonProps {
30
+ size?: 'default' | 'sm' | 'md' | 'lg';
31
+ }
32
+ /**
33
+ * Button component props.
34
+ * When size="icon", aria-label is required at compile time.
35
+ */
36
+ type ButtonProps = IconButtonProps | NonIconButtonProps;
37
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
21
38
 
22
- declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
23
- declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
24
- declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
25
- declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
26
- declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
27
- declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
39
+ interface CardProps extends React$1.HTMLAttributes<HTMLElement> {
40
+ /**
41
+ * The semantic HTML element to render.
42
+ * Use 'article' for standalone, self-contained content.
43
+ * Use 'section' for a thematic grouping with a heading.
44
+ * Use 'aside' for tangentially related content.
45
+ * @default 'div'
46
+ */
47
+ as?: 'div' | 'article' | 'section' | 'aside';
48
+ }
49
+ declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLElement>>;
50
+ declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
51
+ interface CardTitleProps extends React$1.HTMLAttributes<HTMLHeadingElement> {
52
+ /** Heading level (h2 for page sections, h3 for nested, etc.) */
53
+ as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
54
+ }
55
+ declare const CardTitle: React$1.ForwardRefExoticComponent<CardTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
56
+ declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
57
+ declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
58
+ declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
28
59
 
29
- interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
60
+ interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
61
+ /**
62
+ * When true, applies destructive styling (red border/ring) to indicate an error state.
63
+ * Use with aria-describedby pointing to an error message element for full accessibility.
64
+ */
65
+ 'aria-invalid'?: boolean | 'true' | 'false';
66
+ /**
67
+ * ID of the element(s) that describe this input (e.g., error messages, hints).
68
+ * Multiple IDs can be space-separated.
69
+ * @example aria-describedby="email-error email-hint"
70
+ */
71
+ 'aria-describedby'?: string;
30
72
  }
31
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
73
+ declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
32
74
 
33
- interface PasswordInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {
75
+ interface PasswordInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'type'> {
34
76
  /** Label for the toggle button when password is hidden */
35
77
  showLabel?: string;
36
78
  /** Label for the toggle button when password is visible */
37
79
  hideLabel?: string;
80
+ /** Screen reader announcement when password becomes visible */
81
+ visibleAnnouncement?: string;
82
+ /** Screen reader announcement when password becomes hidden */
83
+ hiddenAnnouncement?: string;
38
84
  }
39
- declare const PasswordInput: React.ForwardRefExoticComponent<PasswordInputProps & React.RefAttributes<HTMLInputElement>>;
85
+ declare const PasswordInput: React$1.ForwardRefExoticComponent<PasswordInputProps & React$1.RefAttributes<HTMLInputElement>>;
40
86
 
41
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
87
+ declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
42
88
 
43
89
  declare const badgeVariants: (props?: ({
44
- variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
90
+ variant?: "default" | "secondary" | "destructive" | "outline" | "success" | "warning" | "info" | null | undefined;
91
+ size?: "default" | "sm" | "dot" | null | undefined;
45
92
  } & class_variance_authority_types.ClassProp) | undefined) => string;
46
- interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
93
+ interface BadgeProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof badgeVariants> {
94
+ /** When true, adds role="status" and aria-live="polite" for dynamic content announcements */
95
+ live?: boolean;
96
+ /** When true, renders the badge as an interactive button */
97
+ clickable?: boolean;
98
+ /**
99
+ * Screen reader-only label providing context for the badge content.
100
+ * Useful for count badges (e.g., "unread messages" for a badge showing "5").
101
+ * @example label="unread notifications"
102
+ */
103
+ label?: string;
47
104
  }
48
- declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLDivElement>>;
105
+ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLElement>>;
49
106
 
50
- declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
107
+ interface SeparatorProps extends React$1.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> {
108
+ }
109
+ declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
51
110
 
52
- interface SwitchProps extends React.ComponentPropsWithoutRef<'button'> {
111
+ interface SwitchProps extends React$1.ComponentPropsWithoutRef<'button'> {
53
112
  /** Whether the switch is checked (controlled) */
54
113
  checked?: boolean;
55
114
  /** Default checked state (uncontrolled) */
@@ -58,29 +117,75 @@ interface SwitchProps extends React.ComponentPropsWithoutRef<'button'> {
58
117
  onCheckedChange?: (checked: boolean) => void;
59
118
  /** Size variant for the switch */
60
119
  size?: 'default' | 'sm';
120
+ /**
121
+ * Accessible label for the switch. Required when not using an external label.
122
+ * Use aria-labelledby instead if you have an external label element.
123
+ * @see https://www.w3.org/WAI/WCAG21/Understanding/name-role-value.html
124
+ */
125
+ 'aria-label'?: string;
126
+ /**
127
+ * ID of the element that labels this switch.
128
+ * Use this when you have an external label element.
129
+ */
130
+ 'aria-labelledby'?: string;
131
+ /**
132
+ * ID of the element that describes this switch (e.g., hint text).
133
+ */
134
+ 'aria-describedby'?: string;
61
135
  }
62
- declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
136
+ declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
63
137
 
64
- declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
65
- declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
66
- declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
138
+ interface AvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> {
139
+ /**
140
+ * Name of the person or entity the avatar represents.
141
+ * When provided, auto-generates aria-label if not explicitly set.
142
+ * @example name="John Doe"
143
+ */
144
+ name?: string;
145
+ /**
146
+ * Accessible label for the avatar.
147
+ * Use this when the avatar represents a user or entity.
148
+ * Takes precedence over auto-generated label from name prop.
149
+ * @example aria-label="Profile picture of John Doe"
150
+ */
151
+ 'aria-label'?: string;
152
+ }
153
+ declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLSpanElement>>;
154
+ interface AvatarImageProps extends Omit<React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>, 'alt'> {
155
+ /** Required alt text for accessibility */
156
+ alt: string;
157
+ }
158
+ declare const AvatarImage: React$1.ForwardRefExoticComponent<AvatarImageProps & React$1.RefAttributes<HTMLImageElement>>;
159
+ declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
67
160
 
68
- declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
69
- declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
70
- declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
71
- declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
72
- declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
73
- declare const DialogContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>>;
161
+ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
162
+ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
163
+ declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
164
+ declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
165
+ declare const dialogSizeClasses: {
166
+ readonly sm: "max-w-sm";
167
+ readonly md: "max-w-lg";
168
+ readonly lg: "max-w-xl";
169
+ readonly xl: "max-w-2xl";
170
+ readonly '2xl': "max-w-3xl";
171
+ readonly full: "max-w-[calc(100vw-2rem)]";
172
+ };
173
+ type DialogSize = keyof typeof dialogSizeClasses;
174
+ declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>>;
175
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & DialogPrimitive.DialogContentProps & {
176
+ /** Dialog size - controls max-width (default: 'md') */
177
+ size?: DialogSize;
178
+ } & React$1.RefAttributes<HTMLDivElement>>;
74
179
  declare const DialogHeader: {
75
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
180
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
76
181
  displayName: string;
77
182
  };
78
183
  declare const DialogFooter: {
79
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
184
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
80
185
  displayName: string;
81
186
  };
82
- declare const DialogTitle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
83
- declare const DialogDescription: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
187
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
188
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
84
189
 
85
190
  /**
86
191
  * PageHeader - Hero/page header component
@@ -106,15 +211,22 @@ declare const pageHeaderSubtitleVariants: (props?: ({
106
211
  declare const pageHeaderActionsVariants: (props?: ({
107
212
  variant?: "default" | "hero" | "centered" | null | undefined;
108
213
  } & class_variance_authority_types.ClassProp) | undefined) => string;
109
- interface PageHeaderProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof pageHeaderContainerVariants> {
214
+ interface PageHeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof pageHeaderContainerVariants> {
110
215
  /** Main title text */
111
216
  title: string;
112
217
  /** Optional subtitle text */
113
218
  subtitle?: string;
114
219
  /** Optional action buttons/content */
115
- actions?: React.ReactNode;
220
+ actions?: React$1.ReactNode;
221
+ /**
222
+ * Heading level for the title. Defaults to 'h1'.
223
+ * Use appropriate level based on page hierarchy for proper accessibility.
224
+ * Note: There should typically be only one h1 per page.
225
+ * @see https://www.w3.org/WAI/tutorials/page-structure/headings/
226
+ */
227
+ as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
116
228
  }
117
- declare const PageHeader: React.ForwardRefExoticComponent<PageHeaderProps & React.RefAttributes<HTMLElement>>;
229
+ declare const PageHeader: React$1.ForwardRefExoticComponent<PageHeaderProps & React$1.RefAttributes<HTMLElement>>;
118
230
 
119
231
  interface DataPanelProps {
120
232
  /** Panel visibility */
@@ -138,7 +250,7 @@ interface DataPanelProps {
138
250
  /** Panel subtitle */
139
251
  subtitle?: string;
140
252
  /** Content inside the panel */
141
- children: React.ReactNode;
253
+ children: React$1.ReactNode;
142
254
  /** Footer action buttons */
143
255
  actions?: DataPanelAction[];
144
256
  /** Size constraints */
@@ -158,13 +270,13 @@ interface DataPanelProps {
158
270
  /** Distance in pixels to drag before detaching from pinned mode (0 to disable) */
159
271
  detachThreshold?: number;
160
272
  /** Custom header content (replaces title/subtitle) */
161
- headerContent?: React.ReactNode;
273
+ headerContent?: React$1.ReactNode;
162
274
  /** Custom header actions */
163
- headerActions?: React.ReactNode;
275
+ headerActions?: React$1.ReactNode;
164
276
  /** Custom footer content */
165
- footerContent?: React.ReactNode;
277
+ footerContent?: React$1.ReactNode;
166
278
  /** Custom footer actions */
167
- footerActions?: React.ReactNode;
279
+ footerActions?: React$1.ReactNode;
168
280
  /** Additional class */
169
281
  className?: string;
170
282
  }
@@ -179,9 +291,9 @@ declare function useDataPanel(options?: UseDataPanelOptions): {
179
291
  mode: PanelMode;
180
292
  setMode: (newMode: PanelMode) => void;
181
293
  edge: PanelEdge;
182
- setEdge: React.Dispatch<React.SetStateAction<PanelEdge>>;
294
+ setEdge: React$1.Dispatch<React$1.SetStateAction<PanelEdge>>;
183
295
  isExpanded: boolean;
184
- setIsExpanded: React.Dispatch<React.SetStateAction<boolean>>;
296
+ setIsExpanded: React$1.Dispatch<React$1.SetStateAction<boolean>>;
185
297
  detachedPosition: Position;
186
298
  setDetachedPosition: (position: Position) => void;
187
299
  detachedSize: Size;
@@ -192,6 +304,8 @@ declare function useDataPanel(options?: UseDataPanelOptions): {
192
304
  interface DataPanelHeaderProps {
193
305
  title?: string;
194
306
  subtitle?: string;
307
+ /** ID for the title element (for aria-labelledby) */
308
+ titleId?: string;
195
309
  mode: PanelMode;
196
310
  edge: PanelEdge;
197
311
  isExpanded: boolean;
@@ -201,32 +315,629 @@ interface DataPanelHeaderProps {
201
315
  onClose?: () => void;
202
316
  disableClose?: boolean;
203
317
  disableModeSwitch?: boolean;
204
- headerContent?: React.ReactNode;
205
- headerActions?: React.ReactNode;
318
+ headerContent?: React$1.ReactNode;
319
+ headerActions?: React$1.ReactNode;
206
320
  className?: string;
207
321
  draggable?: boolean;
208
322
  }
209
- declare const DataPanelHeader: React.ForwardRefExoticComponent<DataPanelHeaderProps & React.RefAttributes<HTMLDivElement>>;
323
+ declare const DataPanelHeader: React$1.ForwardRefExoticComponent<DataPanelHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
210
324
  interface DataPanelContentProps {
211
- children: React.ReactNode;
325
+ children: React$1.ReactNode;
212
326
  className?: string;
327
+ /**
328
+ * Accessible label for the panel content region.
329
+ * Required for WCAG compliance when using role="region".
330
+ * @default "Panel content"
331
+ */
332
+ 'aria-label'?: string;
213
333
  }
214
- declare const DataPanelContent: React.ForwardRefExoticComponent<DataPanelContentProps & React.RefAttributes<HTMLDivElement>>;
334
+ declare const DataPanelContent: React$1.ForwardRefExoticComponent<DataPanelContentProps & React$1.RefAttributes<HTMLDivElement>>;
215
335
  interface DataPanelFooterProps {
216
336
  actions?: DataPanelAction[];
217
- footerContent?: React.ReactNode;
218
- footerActions?: React.ReactNode;
337
+ footerContent?: React$1.ReactNode;
338
+ footerActions?: React$1.ReactNode;
219
339
  className?: string;
220
340
  }
221
- declare const DataPanelFooter: React.ForwardRefExoticComponent<DataPanelFooterProps & React.RefAttributes<HTMLDivElement>>;
341
+ declare const DataPanelFooter: React$1.ForwardRefExoticComponent<DataPanelFooterProps & React$1.RefAttributes<HTMLDivElement>>;
222
342
  interface DataPanelTabProps {
223
343
  title?: string;
224
344
  edge: PanelEdge;
225
345
  onClick?: () => void;
226
346
  className?: string;
227
347
  }
228
- declare const DataPanelTab: React.ForwardRefExoticComponent<DataPanelTabProps & React.RefAttributes<HTMLButtonElement>>;
229
- declare const DataPanel: React.ForwardRefExoticComponent<DataPanelProps & React.RefAttributes<HTMLDivElement>>;
348
+ declare const DataPanelTab: React$1.ForwardRefExoticComponent<DataPanelTabProps & React$1.RefAttributes<HTMLButtonElement>>;
349
+ declare const DataPanel: React$1.ForwardRefExoticComponent<DataPanelProps & React$1.RefAttributes<HTMLDivElement>>;
350
+
351
+ declare const skeletonVariants: (props?: ({
352
+ variant?: "default" | "title" | "button" | "text" | "card" | "avatar" | null | undefined;
353
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
354
+ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
355
+ /** Animation style for the skeleton */
356
+ animation?: 'pulse' | 'shimmer' | 'none';
357
+ }
358
+ declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
359
+
360
+ declare const spinnerVariants: (props?: ({
361
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
362
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
363
+ interface SpinnerProps extends React$1.SVGAttributes<SVGSVGElement>, VariantProps<typeof spinnerVariants> {
364
+ /** Accessible label for the spinner */
365
+ label?: string;
366
+ }
367
+ declare const Spinner: React$1.ForwardRefExoticComponent<SpinnerProps & React$1.RefAttributes<SVGSVGElement>>;
368
+
369
+ interface LoadingLogoProps extends React$1.HTMLAttributes<HTMLDivElement> {
370
+ /** Width in pixels */
371
+ width?: number;
372
+ /** Height in pixels */
373
+ height?: number;
374
+ /** Enables loading animation */
375
+ loading?: boolean;
376
+ /** Color variant for different backgrounds */
377
+ variant?: 'light' | 'dark';
378
+ }
379
+ declare const LoadingLogo: React$1.ForwardRefExoticComponent<LoadingLogoProps & React$1.RefAttributes<HTMLDivElement>>;
380
+
381
+ declare const progressBarVariants: (props?: ({
382
+ size?: "sm" | "md" | "lg" | null | undefined;
383
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
384
+ declare const progressFillVariants: (props?: ({
385
+ variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
386
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
387
+ interface ProgressBarProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'role'>, VariantProps<typeof progressBarVariants>, VariantProps<typeof progressFillVariants> {
388
+ /** Progress value 0-100. Omit for indeterminate */
389
+ value?: number;
390
+ /** Maximum value */
391
+ max?: number;
392
+ /** Accessible label */
393
+ label?: string;
394
+ /** Show percentage text */
395
+ showValue?: boolean;
396
+ }
397
+ declare const ProgressBar: React$1.ForwardRefExoticComponent<ProgressBarProps & React$1.RefAttributes<HTMLDivElement>>;
398
+
399
+ interface LoadingOverlayProps extends React$1.HTMLAttributes<HTMLDivElement> {
400
+ /** Whether loading is active */
401
+ loading?: boolean;
402
+ /** Which indicator to show */
403
+ variant?: 'spinner' | 'logo' | 'progress' | 'skeleton';
404
+ /** Positioning mode */
405
+ mode?: 'fullscreen' | 'overlay' | 'inline';
406
+ /** Indicator size */
407
+ size?: 'sm' | 'md' | 'lg' | 'xl';
408
+ /** Loading message text */
409
+ message?: string;
410
+ /** Progress value for progress variant */
411
+ progress?: number;
412
+ /** Backdrop blur (overlay/fullscreen) */
413
+ blur?: boolean;
414
+ /** Fully opaque background */
415
+ opaque?: boolean;
416
+ /** Delay in ms before showing */
417
+ delay?: number;
418
+ }
419
+ declare const LoadingOverlay: React$1.ForwardRefExoticComponent<LoadingOverlayProps & React$1.RefAttributes<HTMLDivElement>>;
420
+
421
+ interface LoadingPageProps extends React$1.HTMLAttributes<HTMLDivElement> {
422
+ /** Whether loading is active */
423
+ loading?: boolean;
424
+ /** Loading message text */
425
+ message?: string;
426
+ /** Determinate progress value */
427
+ progress?: number;
428
+ /** Show branded LoadingLogo */
429
+ showLogo?: boolean;
430
+ /** Logo color variant */
431
+ logoVariant?: 'light' | 'dark';
432
+ /** Delay before showing (prevents flash) */
433
+ delay?: number;
434
+ }
435
+ declare const LoadingPage: React$1.ForwardRefExoticComponent<LoadingPageProps & React$1.RefAttributes<HTMLDivElement>>;
436
+
437
+ interface LoadingSectionProps extends React$1.HTMLAttributes<HTMLDivElement> {
438
+ /** Whether loading is active */
439
+ loading?: boolean;
440
+ /** Indicator type */
441
+ variant?: 'spinner' | 'skeleton' | 'logo' | 'progress';
442
+ /** Loading message */
443
+ message?: string;
444
+ /** Progress value */
445
+ progress?: number;
446
+ /** Minimum height to preserve layout */
447
+ minHeight?: string;
448
+ /** Backdrop blur */
449
+ blur?: boolean;
450
+ /** Delay before showing */
451
+ delay?: number;
452
+ }
453
+ declare const LoadingSection: React$1.ForwardRefExoticComponent<LoadingSectionProps & React$1.RefAttributes<HTMLDivElement>>;
454
+
455
+ interface LiveRegionProps {
456
+ /** Text to announce to screen readers */
457
+ message?: string;
458
+ /** Interruption level - 'polite' waits for idle, 'assertive' interrupts immediately */
459
+ politeness?: 'polite' | 'assertive';
460
+ /** Whether to announce the entire region on updates (default: true) */
461
+ atomic?: boolean;
462
+ /** Whether to hide the region visually (default: true) */
463
+ visuallyHidden?: boolean;
464
+ /** Additional class names */
465
+ className?: string;
466
+ /** Child elements to render in the live region */
467
+ children?: React$1.ReactNode;
468
+ }
469
+ /**
470
+ * LiveRegion announces dynamic content changes to screen readers.
471
+ *
472
+ * Use this component when content updates need to be communicated to assistive technology users,
473
+ * such as form validation messages, status updates, or notifications.
474
+ *
475
+ * @example
476
+ * ```tsx
477
+ * // Simple message announcement
478
+ * <LiveRegion message={errorMessage} politeness="assertive" />
479
+ *
480
+ * // With children content
481
+ * <LiveRegion politeness="polite">
482
+ * <span>Status: {status}</span>
483
+ * </LiveRegion>
484
+ *
485
+ * // Visible status region
486
+ * <LiveRegion visuallyHidden={false} message="Loading..." />
487
+ * ```
488
+ */
489
+ declare const LiveRegion: React$1.ForwardRefExoticComponent<LiveRegionProps & React$1.RefAttributes<HTMLDivElement>>;
490
+
491
+ interface SkipLinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement> {
492
+ /**
493
+ * ID of the target element to skip to (without the # prefix).
494
+ * @example targetId="main-content"
495
+ */
496
+ targetId: string;
497
+ /**
498
+ * Custom class name for the skip link.
499
+ * Note: The component uses the `.skip-link` class from @classic-homes/theme-styles
500
+ * which handles the visually hidden to visible transition on focus.
501
+ */
502
+ className?: string;
503
+ }
504
+ /**
505
+ * SkipLink - Accessible skip navigation link
506
+ *
507
+ * Provides keyboard users a way to skip repetitive navigation and jump directly
508
+ * to the main content. The link is visually hidden until focused.
509
+ *
510
+ * @see https://www.w3.org/WAI/WCAG21/Techniques/general/G1
511
+ *
512
+ * @example
513
+ * // Basic usage - place at the very beginning of your page/layout
514
+ * <SkipLink targetId="main-content">Skip to main content</SkipLink>
515
+ *
516
+ * // Then add the target ID to your main content
517
+ * <main id="main-content" tabIndex={-1}>
518
+ * ...
519
+ * </main>
520
+ */
521
+ declare const SkipLink: React$1.ForwardRefExoticComponent<SkipLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
522
+
523
+ interface UseFocusTrapOptions {
524
+ /** Whether the focus trap is active */
525
+ active?: boolean;
526
+ /** Element to return focus to when trap is deactivated */
527
+ returnFocusTo?: HTMLElement | null;
528
+ /** Selector for the element to focus initially (defaults to first focusable) */
529
+ initialFocus?: string;
530
+ /** Whether to prevent scrolling when focusing elements */
531
+ preventScroll?: boolean;
532
+ }
533
+ /**
534
+ * Hook to create a focus trap within a container element.
535
+ *
536
+ * Traps focus within the container so Tab/Shift+Tab cycles through
537
+ * focusable elements without escaping. Useful for modals, dialogs,
538
+ * and dropdown menus.
539
+ *
540
+ * @example
541
+ * ```tsx
542
+ * function Modal({ open, onClose }) {
543
+ * const containerRef = useFocusTrap<HTMLDivElement>({ active: open });
544
+ *
545
+ * return open ? (
546
+ * <div ref={containerRef} role="dialog">
547
+ * <button>First</button>
548
+ * <button>Second</button>
549
+ * <button onClick={onClose}>Close</button>
550
+ * </div>
551
+ * ) : null;
552
+ * }
553
+ * ```
554
+ */
555
+ declare function useFocusTrap<T extends HTMLElement = HTMLElement>(options?: UseFocusTrapOptions): React$1.MutableRefObject<T | null>;
556
+
557
+ interface UseFocusRefOptions {
558
+ /** Whether to focus the element on mount */
559
+ focusOnMount?: boolean;
560
+ /** Whether to prevent scroll when focusing */
561
+ preventScroll?: boolean;
562
+ /** Delay in ms before focusing (useful for animations) */
563
+ delay?: number;
564
+ }
565
+ /**
566
+ * Hook that returns a ref that can optionally auto-focus on mount.
567
+ *
568
+ * Useful for focusing form fields, dialog close buttons, or other
569
+ * elements that should receive focus when they appear.
570
+ *
571
+ * @example
572
+ * ```tsx
573
+ * function SearchForm() {
574
+ * const inputRef = useFocusRef<HTMLInputElement>({ focusOnMount: true });
575
+ * return <input ref={inputRef} type="search" />;
576
+ * }
577
+ * ```
578
+ *
579
+ * @example with delay (for animations)
580
+ * ```tsx
581
+ * function Modal() {
582
+ * const closeRef = useFocusRef<HTMLButtonElement>({
583
+ * focusOnMount: true,
584
+ * delay: 200, // Wait for animation
585
+ * });
586
+ * return <button ref={closeRef}>Close</button>;
587
+ * }
588
+ * ```
589
+ */
590
+ declare function useFocusRef<T extends HTMLElement = HTMLElement>(options?: UseFocusRefOptions): React$1.MutableRefObject<T | null>;
591
+
592
+ /**
593
+ * Hook to detect user's reduced motion preference from system settings.
594
+ *
595
+ * Responds to the CSS media query `prefers-reduced-motion: reduce` which users
596
+ * can set in their operating system accessibility settings to indicate they
597
+ * prefer minimal motion/animation.
598
+ *
599
+ * Use this hook to disable or reduce animations for users who have this preference,
600
+ * which is important for accessibility (vestibular disorders, motion sensitivity, etc.).
601
+ *
602
+ * @returns boolean - true if user prefers reduced motion, false otherwise
603
+ *
604
+ * @example
605
+ * ```tsx
606
+ * function AnimatedComponent() {
607
+ * const reducedMotion = useReducedMotion();
608
+ *
609
+ * return (
610
+ * <div
611
+ * style={{
612
+ * transition: reducedMotion ? 'none' : 'transform 0.3s ease',
613
+ * }}
614
+ * >
615
+ * Content
616
+ * </div>
617
+ * );
618
+ * }
619
+ * ```
620
+ *
621
+ * @example with framer-motion
622
+ * ```tsx
623
+ * function AnimatedCard() {
624
+ * const reducedMotion = useReducedMotion();
625
+ *
626
+ * return (
627
+ * <motion.div
628
+ * initial={{ opacity: 0, y: reducedMotion ? 0 : 20 }}
629
+ * animate={{ opacity: 1, y: 0 }}
630
+ * transition={{ duration: reducedMotion ? 0 : 0.3 }}
631
+ * >
632
+ * Card content
633
+ * </motion.div>
634
+ * );
635
+ * }
636
+ * ```
637
+ */
638
+ declare function useReducedMotion(): boolean;
639
+
640
+ type ArrowNavigationOrientation = 'horizontal' | 'vertical' | 'both';
641
+ interface UseArrowNavigationOptions {
642
+ /** Navigation orientation - determines which arrow keys work */
643
+ orientation?: ArrowNavigationOrientation;
644
+ /** Whether navigation wraps from end to start (and vice versa) */
645
+ loop?: boolean;
646
+ /** Selector for focusable items within the container */
647
+ itemSelector?: string;
648
+ /** Callback when focus changes */
649
+ onFocusChange?: (index: number, element: HTMLElement) => void;
650
+ }
651
+ /**
652
+ * Hook for arrow key navigation within a container of items.
653
+ *
654
+ * Implements keyboard navigation patterns for menus, listboxes, tabs,
655
+ * and other composite widgets per WAI-ARIA Authoring Practices.
656
+ *
657
+ * @example
658
+ * ```tsx
659
+ * function Menu() {
660
+ * const { containerProps, getItemProps } = useArrowNavigation({
661
+ * orientation: 'vertical',
662
+ * loop: true,
663
+ * });
664
+ *
665
+ * return (
666
+ * <ul {...containerProps} role="menu">
667
+ * {items.map((item, i) => (
668
+ * <li key={item.id} {...getItemProps(i)} role="menuitem">
669
+ * {item.label}
670
+ * </li>
671
+ * ))}
672
+ * </ul>
673
+ * );
674
+ * }
675
+ * ```
676
+ */
677
+ declare function useArrowNavigation(options?: UseArrowNavigationOptions): {
678
+ containerProps: {
679
+ ref: (node: HTMLElement | null) => void;
680
+ onKeyDown: (event: React.KeyboardEvent) => void;
681
+ onFocus: (event: React.FocusEvent) => void;
682
+ };
683
+ getItemProps: (index: number) => {
684
+ tabIndex: number;
685
+ onFocus: () => void;
686
+ };
687
+ focusItem: (index: number) => void;
688
+ getFocusedIndex: () => number;
689
+ };
690
+
691
+ interface UseRovingTabindexOptions {
692
+ /** Whether navigation wraps from end to start */
693
+ loop?: boolean;
694
+ /** Selector for focusable items */
695
+ itemSelector?: string;
696
+ /** Initial focused index */
697
+ initialIndex?: number;
698
+ /** Callback when active index changes */
699
+ onIndexChange?: (index: number) => void;
700
+ }
701
+ /**
702
+ * Hook implementing roving tabindex pattern for composite widgets.
703
+ *
704
+ * Only one item in the group has tabindex="0" at a time, while
705
+ * others have tabindex="-1". Arrow keys move focus within the group.
706
+ *
707
+ * This is the recommended pattern for widgets like toolbars, menus,
708
+ * listboxes, tree views, and tabs.
709
+ *
710
+ * @see https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_roving_tabindex
711
+ *
712
+ * @example
713
+ * ```tsx
714
+ * function Toolbar() {
715
+ * const { getItemProps, activeIndex } = useRovingTabindex();
716
+ *
717
+ * return (
718
+ * <div role="toolbar">
719
+ * {tools.map((tool, i) => (
720
+ * <button
721
+ * key={tool.id}
722
+ * data-roving-tabindex-item
723
+ * {...getItemProps(i)}
724
+ * >
725
+ * {tool.label}
726
+ * </button>
727
+ * ))}
728
+ * </div>
729
+ * );
730
+ * }
731
+ * ```
732
+ */
733
+ declare function useRovingTabindex(options?: UseRovingTabindexOptions): {
734
+ containerProps: {
735
+ ref: (node: HTMLElement | null) => void;
736
+ onKeyDown: (event: React.KeyboardEvent) => void;
737
+ };
738
+ getItemProps: (index: number) => {
739
+ 'data-roving-tabindex-item': boolean;
740
+ tabIndex: number;
741
+ ref: (node: HTMLElement | null) => void;
742
+ onClick: () => void;
743
+ onFocus: () => void;
744
+ };
745
+ activeIndex: number;
746
+ setActiveIndex: (index: number) => void;
747
+ focusNext: () => void;
748
+ focusPrevious: () => void;
749
+ focusFirst: () => void;
750
+ focusLast: () => void;
751
+ };
752
+
753
+ /**
754
+ * Options for the useAnnounce hook
755
+ */
756
+ interface UseAnnounceOptions {
757
+ /**
758
+ * Politeness level for the announcement.
759
+ * - 'polite': Waits for the user to be idle before announcing (default)
760
+ * - 'assertive': Interrupts the user immediately
761
+ */
762
+ politeness?: 'polite' | 'assertive';
763
+ /**
764
+ * Delay in milliseconds before clearing the announcement.
765
+ * Set to 0 to never auto-clear. Default is 1000ms.
766
+ */
767
+ clearDelay?: number;
768
+ }
769
+ /**
770
+ * Return type for useAnnounce hook
771
+ */
772
+ interface UseAnnounceReturn {
773
+ /**
774
+ * Function to make an announcement to screen readers
775
+ */
776
+ announce: (message: string, options?: UseAnnounceOptions) => void;
777
+ /**
778
+ * Current announcement message (for rendering in a live region)
779
+ */
780
+ message: string;
781
+ /**
782
+ * Current politeness level
783
+ */
784
+ politeness: 'polite' | 'assertive';
785
+ /**
786
+ * Clear the current announcement
787
+ */
788
+ clear: () => void;
789
+ }
790
+ /**
791
+ * useAnnounce - Hook for imperative screen reader announcements
792
+ *
793
+ * Creates a live region that can be used to announce dynamic content
794
+ * to screen reader users. Useful for status updates, form validation,
795
+ * and other dynamic content changes.
796
+ *
797
+ * @see https://www.w3.org/WAI/WCAG21/Techniques/aria/ARIA22
798
+ *
799
+ * @example
800
+ * ```tsx
801
+ * function MyComponent() {
802
+ * const { announce, message, politeness } = useAnnounce();
803
+ *
804
+ * const handleSave = async () => {
805
+ * await saveData();
806
+ * announce('Data saved successfully');
807
+ * };
808
+ *
809
+ * return (
810
+ * <>
811
+ * <button onClick={handleSave}>Save</button>
812
+ * <div role="status" aria-live={politeness} aria-atomic="true" className="sr-only">
813
+ * {message}
814
+ * </div>
815
+ * </>
816
+ * );
817
+ * }
818
+ * ```
819
+ */
820
+ declare function useAnnounce(defaultOptions?: UseAnnounceOptions): UseAnnounceReturn;
821
+
822
+ /**
823
+ * Options for the useEscapeKey hook
824
+ */
825
+ interface UseEscapeKeyOptions {
826
+ /**
827
+ * Whether the escape key handler is enabled.
828
+ * Useful for conditionally enabling based on component state (e.g., dialog open).
829
+ * Default: true
830
+ */
831
+ enabled?: boolean;
832
+ /**
833
+ * Whether to prevent default behavior when Escape is pressed.
834
+ * Default: true
835
+ */
836
+ preventDefault?: boolean;
837
+ /**
838
+ * Whether to stop propagation when Escape is pressed.
839
+ * Default: false
840
+ */
841
+ stopPropagation?: boolean;
842
+ }
843
+ /**
844
+ * useEscapeKey - Hook for handling Escape key press
845
+ *
846
+ * Registers a global keydown listener for the Escape key.
847
+ * Useful for closing modals, dialogs, dropdowns, etc.
848
+ *
849
+ * @see https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/
850
+ *
851
+ * @example
852
+ * ```tsx
853
+ * function Modal({ isOpen, onClose }) {
854
+ * useEscapeKey(onClose, { enabled: isOpen });
855
+ *
856
+ * if (!isOpen) return null;
857
+ * return <div>Modal content</div>;
858
+ * }
859
+ * ```
860
+ *
861
+ * @example With ref for scoped handling
862
+ * ```tsx
863
+ * function Dropdown({ isOpen, onClose }) {
864
+ * const ref = useRef<HTMLDivElement>(null);
865
+ *
866
+ * useEscapeKey(onClose, {
867
+ * enabled: isOpen,
868
+ * });
869
+ *
870
+ * return <div ref={ref}>Dropdown content</div>;
871
+ * }
872
+ * ```
873
+ */
874
+ declare function useEscapeKey(callback: (event: KeyboardEvent) => void, options?: UseEscapeKeyOptions): void;
875
+
876
+ /**
877
+ * Options for the useClickOutside hook
878
+ */
879
+ interface UseClickOutsideOptions {
880
+ /**
881
+ * Whether the click outside handler is enabled.
882
+ * Default: true
883
+ */
884
+ enabled?: boolean;
885
+ /**
886
+ * Event types to listen for.
887
+ * Default: ['mousedown', 'touchstart']
888
+ */
889
+ events?: ('mousedown' | 'mouseup' | 'touchstart' | 'touchend')[];
890
+ /**
891
+ * Elements that should be considered as "inside" even if not descendants.
892
+ * Useful for portaled elements like tooltips or dropdowns.
893
+ */
894
+ ignoreElements?: React$1.RefObject<HTMLElement | null>[];
895
+ }
896
+ /**
897
+ * useClickOutside - Hook for detecting clicks outside an element
898
+ *
899
+ * Useful for closing dropdowns, dialogs, and other overlay components
900
+ * when clicking outside of them.
901
+ *
902
+ * Accessibility note: This hook should be used in conjunction with
903
+ * keyboard escape handling for full accessibility. Users should be
904
+ * able to close overlays with both mouse clicks and the Escape key.
905
+ *
906
+ * @see useEscapeKey
907
+ *
908
+ * @example
909
+ * ```tsx
910
+ * function Dropdown({ isOpen, onClose }) {
911
+ * const ref = useRef<HTMLDivElement>(null);
912
+ *
913
+ * useClickOutside(ref, onClose, { enabled: isOpen });
914
+ * useEscapeKey(onClose, { enabled: isOpen });
915
+ *
916
+ * return <div ref={ref}>Dropdown content</div>;
917
+ * }
918
+ * ```
919
+ *
920
+ * @example With ignore elements for portals
921
+ * ```tsx
922
+ * function Popover({ isOpen, onClose }) {
923
+ * const triggerRef = useRef<HTMLButtonElement>(null);
924
+ * const contentRef = useRef<HTMLDivElement>(null);
925
+ *
926
+ * useClickOutside(contentRef, onClose, {
927
+ * enabled: isOpen,
928
+ * ignoreElements: [triggerRef], // Don't close when clicking the trigger
929
+ * });
930
+ *
931
+ * return (
932
+ * <>
933
+ * <button ref={triggerRef}>Toggle</button>
934
+ * {isOpen && <div ref={contentRef}>Popover content</div>}
935
+ * </>
936
+ * );
937
+ * }
938
+ * ```
939
+ */
940
+ declare function useClickOutside<T extends HTMLElement>(ref: React$1.RefObject<T | null>, callback: (event: MouseEvent | TouchEvent) => void, options?: UseClickOutsideOptions): void;
230
941
 
231
942
  /**
232
943
  * Utility function to merge Tailwind CSS classes
@@ -234,4 +945,4 @@ declare const DataPanel: React.ForwardRefExoticComponent<DataPanelProps & React.
234
945
  */
235
946
  declare function cn(...inputs: ClassValue[]): string;
236
947
 
237
- export { Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, DataPanel, DataPanelContent, type DataPanelContentProps, DataPanelFooter, type DataPanelFooterProps, DataPanelHeader, type DataPanelProps, DataPanelTab, type DataPanelTabProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Input, type InputProps, Label, PageHeader, type PageHeaderProps, PasswordInput, type PasswordInputProps, Separator, Switch, type SwitchProps, badgeVariants, buttonVariants, cn, pageHeaderActionsVariants, pageHeaderContainerVariants, pageHeaderSubtitleVariants, pageHeaderTitleVariants, useDataPanel };
948
+ export { type ArrowNavigationOrientation, Avatar, AvatarFallback, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, DataPanel, DataPanelContent, type DataPanelContentProps, DataPanelFooter, type DataPanelFooterProps, DataPanelHeader, type DataPanelProps, DataPanelTab, type DataPanelTabProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Input, type InputProps, Label, LiveRegion, type LiveRegionProps, LoadingLogo, type LoadingLogoProps, LoadingOverlay, type LoadingOverlayProps, LoadingPage, type LoadingPageProps, LoadingSection, type LoadingSectionProps, PageHeader, type PageHeaderProps, PasswordInput, type PasswordInputProps, ProgressBar, type ProgressBarProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, SkipLink, type SkipLinkProps, Spinner, type SpinnerProps, Switch, type SwitchProps, type UseAnnounceOptions, type UseAnnounceReturn, type UseArrowNavigationOptions, type UseClickOutsideOptions, type UseEscapeKeyOptions, type UseFocusRefOptions, type UseFocusTrapOptions, type UseRovingTabindexOptions, badgeVariants, buttonVariants, cn, pageHeaderActionsVariants, pageHeaderContainerVariants, pageHeaderSubtitleVariants, pageHeaderTitleVariants, progressBarVariants, skeletonVariants, spinnerVariants, useAnnounce, useArrowNavigation, useClickOutside, useDataPanel, useEscapeKey, useFocusRef, useFocusTrap, useReducedMotion, useRovingTabindex };