@northslopetech/altitude-ui 3.0.0-alpha.3 → 3.0.0-alpha.5

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,27 +1,85 @@
1
1
  import * as class_variance_authority_types from 'class-variance-authority/types';
2
2
  import * as React$1 from 'react';
3
3
  import { ReactNode } from 'react';
4
- import { Button as Button$1 } from '@base-ui/react/button';
5
4
  import { VariantProps } from 'class-variance-authority';
6
- import * as SelectPrimitive from '@radix-ui/react-select';
7
- import * as react_jsx_runtime from 'react/jsx-runtime';
5
+ import * as _base_ui_react_accordion from '@base-ui/react/accordion';
6
+ import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
7
+ import { Button as Button$1 } from '@base-ui/react/button';
8
+ import * as _base_ui_react_use_render from '@base-ui/react/use-render';
9
+ import { useRender } from '@base-ui/react/use-render';
8
10
  import * as _base_ui_react_separator from '@base-ui/react/separator';
9
11
  import { Separator as Separator$1 } from '@base-ui/react/separator';
10
- import { useRender } from '@base-ui/react/use-render';
11
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
12
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
12
+ import * as SelectPrimitive from '@radix-ui/react-select';
13
+ import * as react_jsx_runtime from 'react/jsx-runtime';
14
+ import * as _base_ui_react_dialog from '@base-ui/react/dialog';
15
+ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
16
+ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
17
+ import * as _base_ui_react_avatar from '@base-ui/react/avatar';
18
+ import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
19
+ import * as _base_ui_react_checkbox from '@base-ui/react/checkbox';
20
+ import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
13
21
  import { Switch as Switch$1 } from '@base-ui/react/switch';
22
+ import { Input as Input$1 } from '@base-ui/react/input';
23
+ import * as _base_ui_react from '@base-ui/react';
24
+ import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
14
25
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
15
26
  import { Table as Table$1 } from '@tanstack/react-table';
16
27
 
28
+ declare const alertVariants: (props?: ({
29
+ variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
30
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
31
+ type AlertProps = React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>;
32
+ declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
33
+ variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
34
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
35
+ type AlertBodyProps = React$1.HTMLAttributes<HTMLDivElement>;
36
+ declare const AlertBody: React$1.ForwardRefExoticComponent<AlertBodyProps & React$1.RefAttributes<HTMLDivElement>>;
37
+ type AlertTitleProps = React$1.HTMLAttributes<HTMLParagraphElement>;
38
+ declare const AlertTitle: React$1.ForwardRefExoticComponent<AlertTitleProps & React$1.RefAttributes<HTMLParagraphElement>>;
39
+ type AlertDescriptionProps = React$1.HTMLAttributes<HTMLParagraphElement>;
40
+ declare const AlertDescription: React$1.ForwardRefExoticComponent<AlertDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
41
+ type AlertActionsProps = React$1.HTMLAttributes<HTMLDivElement>;
42
+ declare const AlertActions: React$1.ForwardRefExoticComponent<AlertActionsProps & React$1.RefAttributes<HTMLDivElement>>;
43
+
44
+ type AccordionProps = Accordion$1.Root.Props;
45
+ declare const Accordion: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_accordion.AccordionRootProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
46
+ type AccordionItemProps = Accordion$1.Item.Props;
47
+ declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_accordion.AccordionItemProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
48
+ type AccordionTriggerProps = Accordion$1.Trigger.Props;
49
+ declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_accordion.AccordionTriggerProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
50
+ type AccordionContentProps = Accordion$1.Panel.Props;
51
+ declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_accordion.AccordionPanelProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
52
+
17
53
  declare const buttonVariants: (props?: ({
18
- variant?: "default" | "primary" | "destructive" | "ghost" | "link" | null | undefined;
54
+ variant?: "default" | "link" | "primary" | "destructive" | "ghost" | null | undefined;
19
55
  size?: "default" | "lg" | "sm" | "mini" | null | undefined;
20
56
  } & class_variance_authority_types.ClassProp) | undefined) => string;
21
57
  interface ButtonProps extends Button$1.Props, VariantProps<typeof buttonVariants> {
22
58
  }
23
59
  declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
24
60
 
61
+ type SeparatorProps = Separator$1.Props;
62
+ declare const Separator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_separator.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
63
+
64
+ declare const buttonGroupVariants: (props?: ({
65
+ variant?: "ghost" | "outlined" | null | undefined;
66
+ orientation?: "horizontal" | "vertical" | null | undefined;
67
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
68
+ type ButtonGroupProps = React$1.ComponentPropsWithoutRef<"div"> & VariantProps<typeof buttonGroupVariants>;
69
+ declare const ButtonGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & VariantProps<(props?: ({
70
+ variant?: "ghost" | "outlined" | null | undefined;
71
+ orientation?: "horizontal" | "vertical" | null | undefined;
72
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
73
+ declare const buttonGroupTextVariants: (props?: ({
74
+ size?: "default" | "lg" | "sm" | null | undefined;
75
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
76
+ type ButtonGroupTextProps = Omit<useRender.ComponentProps<"div">, "ref"> & VariantProps<typeof buttonGroupTextVariants>;
77
+ declare const ButtonGroupText: React$1.ForwardRefExoticComponent<Omit<useRender.ComponentProps<"div", {}, _base_ui_react_use_render.HTMLProps>, "ref"> & VariantProps<(props?: ({
78
+ size?: "default" | "lg" | "sm" | null | undefined;
79
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
80
+ type ButtonGroupSeparatorProps = Omit<React$1.ComponentPropsWithoutRef<typeof Separator>, "orientation">;
81
+ declare const ButtonGroupSeparator: React$1.ForwardRefExoticComponent<ButtonGroupSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
82
+
25
83
  /**
26
84
  * Current-generation text variant styles using @utility classes from design tokens.
27
85
  */
@@ -148,8 +206,52 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
148
206
  } | undefined>;
149
207
  }): react_jsx_runtime.JSX.Element | null;
150
208
 
151
- type SeparatorProps = Separator$1.Props;
152
- declare const Separator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_separator.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
209
+ type DialogProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Root>;
210
+ declare const Dialog: typeof Dialog$1.Root;
211
+ type DialogTriggerProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Trigger>;
212
+ declare const DialogTrigger: Dialog$1.Trigger;
213
+ type DialogOverlayProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Backdrop>;
214
+ declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogBackdropProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
215
+ type DialogContentProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Popup> & {
216
+ /**
217
+ * Whether to show the default close button in the top-right corner.
218
+ * Set to false to hide it (e.g., when providing custom actions).
219
+ */
220
+ showCloseButton?: boolean;
221
+ /**
222
+ * Preset dialog dimensions.
223
+ * - desktop: 640x480
224
+ * - mobile: 320x240, can grow up to 640px height
225
+ */
226
+ size?: "desktop" | "mobile";
227
+ };
228
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogPopupProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
229
+ /**
230
+ * Whether to show the default close button in the top-right corner.
231
+ * Set to false to hide it (e.g., when providing custom actions).
232
+ */
233
+ showCloseButton?: boolean;
234
+ /**
235
+ * Preset dialog dimensions.
236
+ * - desktop: 640x480
237
+ * - mobile: 320x240, can grow up to 640px height
238
+ */
239
+ size?: "desktop" | "mobile";
240
+ } & React$1.RefAttributes<HTMLDivElement>>;
241
+ type DialogBodyProps = React$1.HTMLAttributes<HTMLDivElement>;
242
+ /**
243
+ * Scrollable main region of the dialog (Figma "Slot"). Keep {@link DialogFooter}
244
+ * as a sibling so the footer stays pinned to the bottom while this area scrolls.
245
+ */
246
+ declare const DialogBody: React$1.ForwardRefExoticComponent<DialogBodyProps & React$1.RefAttributes<HTMLDivElement>>;
247
+ type DialogFooterProps = React$1.HTMLAttributes<HTMLDivElement>;
248
+ declare const DialogFooter: React$1.ForwardRefExoticComponent<DialogFooterProps & React$1.RefAttributes<HTMLDivElement>>;
249
+ type DialogTitleProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Title>;
250
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogTitleProps, "ref"> & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
251
+ type DialogDescriptionProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Description>;
252
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_dialog.DialogDescriptionProps, "ref"> & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
253
+ type DialogCloseProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Close>;
254
+ declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_dialog.DialogCloseProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
153
255
 
154
256
  declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
155
257
  declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
@@ -160,28 +262,14 @@ declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.Det
160
262
  declare const BreadcrumbSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
161
263
  declare const BreadcrumbEllipsis: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
162
264
 
163
- type TooltipProviderProps = React$1.ComponentProps<typeof TooltipPrimitive.Provider> & {
164
- delayDuration?: number;
165
- };
166
- type TooltipProps = React$1.ComponentProps<typeof TooltipPrimitive.Root> & {
167
- delayDuration?: number;
168
- };
169
- type TooltipTriggerProps = React$1.ComponentProps<typeof TooltipPrimitive.Trigger>;
170
- type TooltipContentProps = React$1.ComponentProps<typeof TooltipPrimitive.Content>;
171
- declare function TooltipProvider({ delayDuration, ...props }: TooltipProviderProps): react_jsx_runtime.JSX.Element;
172
- declare namespace TooltipProvider {
173
- var displayName: string;
174
- }
175
- declare function Tooltip({ delayDuration, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
176
- declare namespace Tooltip {
177
- var displayName: string;
178
- }
179
- declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
180
- /**
181
- * Tooltip content - the actual tooltip popup.
182
- * @param {number} [props.sideOffset=2] - Distance from trigger element
183
- */
184
- declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
265
+ declare function TooltipProvider({ delay, ...props }: Tooltip$1.Provider.Props): react_jsx_runtime.JSX.Element;
266
+ declare function Tooltip({ ...props }: Tooltip$1.Root.Props): react_jsx_runtime.JSX.Element;
267
+ declare function TooltipTrigger({ ...props }: Tooltip$1.Trigger.Props): react_jsx_runtime.JSX.Element;
268
+ type TooltipContentProps = Tooltip$1.Popup.Props & Pick<Tooltip$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">;
269
+ declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: TooltipContentProps): react_jsx_runtime.JSX.Element;
270
+ type TooltipProps = Tooltip$1.Root.Props;
271
+ type TooltipTriggerProps = Tooltip$1.Trigger.Props;
272
+ type TooltipProviderProps = Tooltip$1.Provider.Props;
185
273
 
186
274
  /**
187
275
  * @fileoverview Sidebar component for Altitude UI.
@@ -303,7 +391,7 @@ declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & Re
303
391
  * Upload variant styles for different states.
304
392
  */
305
393
  declare const uploadVariants: (props?: ({
306
- state?: "default" | "error" | "dragOver" | "uploading" | "success" | null | undefined;
394
+ state?: "default" | "success" | "error" | "dragOver" | "uploading" | null | undefined;
307
395
  disabled?: boolean | null | undefined;
308
396
  } & class_variance_authority_types.ClassProp) | undefined) => string;
309
397
  interface UploadProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onError"> {
@@ -330,20 +418,59 @@ interface UploadProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onEr
330
418
  declare const Upload: React$1.ForwardRefExoticComponent<UploadProps & React$1.RefAttributes<HTMLDivElement>>;
331
419
 
332
420
  /**
333
- * Checkbox variant styles.
421
+ * Avatar size and shape variants.
422
+ * Sizes map to Figma: regular=40px, sm=32px, mini=24px, xMini=20px.
423
+ * Roundrect radius scales down with size: 10px → 6px → 4px.
334
424
  */
335
- declare const checkboxVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
336
- interface CheckboxProps extends React$1.ComponentProps<typeof CheckboxPrimitive.Root> {
337
- className?: string;
425
+ declare const avatarVariants: (props?: ({
426
+ size?: "regular" | "sm" | "mini" | "xMini" | null | undefined;
427
+ shape?: "round" | "roundrect" | null | undefined;
428
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
429
+ interface AvatarProps extends Avatar$1.Root.Props, VariantProps<typeof avatarVariants> {
430
+ }
431
+ /**
432
+ * Avatar root. Renders a user image with an initials-based fallback.
433
+ * @param {string} [props.size] - Avatar size: regular (40px), sm (32px), mini (24px), xMini (20px)
434
+ * @param {string} [props.shape] - Corner style: round (circle) or roundrect (rounded rect)
435
+ */
436
+ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
437
+ /**
438
+ * Avatar image. Falls back to AvatarFallback if the image fails to load.
439
+ */
440
+ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_avatar.AvatarImageProps, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
441
+ /**
442
+ * Fallback shown when no image is provided or the image fails to load.
443
+ * Typically displays 1–2 character initials.
444
+ */
445
+ declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_avatar.AvatarFallbackProps, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
446
+ interface AvatarGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
447
+ ringColor?: string;
338
448
  }
339
449
  /**
340
- * Checkbox component with Altitude design system styling.
450
+ * Container that stacks multiple avatars with an overlapping layout.
451
+ * @param {string} [props.ringColor] - Ring color around each avatar. Defaults to the surface-default token.
452
+ */
453
+ declare const AvatarGroup: React$1.ForwardRefExoticComponent<AvatarGroupProps & React$1.RefAttributes<HTMLDivElement>>;
454
+ interface AvatarGroupCountProps extends React$1.HTMLAttributes<HTMLDivElement>, Pick<VariantProps<typeof avatarVariants>, "size" | "shape"> {
455
+ }
456
+ /**
457
+ * Displays the overflow count in an avatar group (e.g. "+3").
458
+ * Must receive the same size and shape as the other avatars in the group.
459
+ */
460
+ declare const AvatarGroupCount: React$1.ForwardRefExoticComponent<AvatarGroupCountProps & React$1.RefAttributes<HTMLDivElement>>;
461
+
462
+ declare const checkboxVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
463
+ type CheckboxProps = React$1.ComponentPropsWithoutRef<typeof Checkbox$1.Root>;
464
+ /**
465
+ * Checkbox component for binary and indeterminate selection states.
341
466
  * @param {boolean} [props.checked] - Controlled checked state
342
- * @param {function} [props.onCheckedChange] - Callback when checked state changes
343
- * @param {boolean} [props.disabled] - Whether checkbox is disabled
344
- * @param {string} [props.className] - Additional CSS classes
467
+ * @param {boolean} [props.defaultChecked] - Initial unchecked/checked state
468
+ * @param {(checked: boolean) => void} [props.onCheckedChange] - Checked state change handler
469
+ * @param {boolean} [props.indeterminate] - Shows a mixed/indeterminate state with a minus icon
470
+ * @param {boolean} [props.disabled] - Disables interaction and applies disabled styles
471
+ * @param {string} [props.className] - Additional class names for custom styling
345
472
  */
346
- declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
473
+ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_checkbox.CheckboxRootProps, "ref"> & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
347
474
 
348
475
  declare const switchVariants: (props?: ({
349
476
  size?: "default" | "sm" | null | undefined;
@@ -360,23 +487,19 @@ interface SwitchProps extends Switch$1.Root.Props, VariantProps<typeof switchVar
360
487
  */
361
488
  declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
362
489
 
363
- /**
364
- * @fileoverview Input component for Altitude UI.
365
- */
366
-
367
- /**
368
- * Props for standard text input.
369
- */
370
- interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "style"> {
371
- className?: string;
372
- style?: React$1.CSSProperties;
373
- onClear?: () => void;
374
- showClear?: boolean;
490
+ declare const inputVariants: (props?: ({
491
+ roundness?: "default" | "round" | null | undefined;
492
+ size?: "default" | "small" | "mini" | "large" | null | undefined;
493
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
494
+ interface InputProps extends Omit<React$1.ComponentPropsWithoutRef<typeof Input$1>, "size">, VariantProps<typeof inputVariants> {
375
495
  }
376
496
  /**
377
497
  * Input component for single-line text entry.
378
- * @param {function} [props.onClear] - Callback when clear button is clicked
379
- * @param {boolean} [props.showClear] - Whether to show clear button
498
+ * @param {string} [props.size] - Size variant: "default" | "large" | "small" | "mini"
499
+ * @param {string} [props.roundness] - Border radius: "default" | "round"
500
+ * @param {boolean} [props.disabled] - Disables the input
501
+ * @param {boolean} [props.aria-invalid] - Applies error styling
502
+ * @param {string} [props.className] - Additional class names for custom styling
380
503
  */
381
504
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
382
505
 
@@ -386,6 +509,45 @@ interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextArea
386
509
  }
387
510
  declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
388
511
 
512
+ declare const inputGroupVariants: (props?: ({
513
+ size?: "default" | "small" | "mini" | "large" | null | undefined;
514
+ roundness?: "default" | "round" | null | undefined;
515
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
516
+ interface InputGroupProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof inputGroupVariants> {
517
+ }
518
+ /**
519
+ * Groups related form controls (input, addons, buttons) into a single visual unit.
520
+ *
521
+ * Uses `role="group"` — always provide `aria-label` or `aria-labelledby` so
522
+ * screen readers can announce a meaningful name for the group.
523
+ *
524
+ * @example
525
+ * <InputGroup aria-label="Search">
526
+ * <InputGroupAddon><MagnifyingGlass /></InputGroupAddon>
527
+ * <InputGroupInput placeholder="Search…" />
528
+ * </InputGroup>
529
+ */
530
+ declare const InputGroup: React$1.ForwardRefExoticComponent<InputGroupProps & React$1.RefAttributes<HTMLDivElement>>;
531
+ declare const inputGroupAddonVariants: (props?: ({
532
+ align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
533
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
534
+ interface InputGroupAddonProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof inputGroupAddonVariants> {
535
+ }
536
+ declare const InputGroupAddon: React$1.ForwardRefExoticComponent<InputGroupAddonProps & React$1.RefAttributes<HTMLDivElement>>;
537
+ declare const inputGroupButtonVariants: (props?: ({
538
+ size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
539
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
540
+ interface InputGroupButtonProps extends Omit<React$1.ComponentProps<typeof Button>, "size" | "type">, VariantProps<typeof inputGroupButtonVariants> {
541
+ type?: "button" | "submit" | "reset";
542
+ }
543
+ declare const InputGroupButton: React$1.ForwardRefExoticComponent<Omit<InputGroupButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
544
+ type InputGroupTextProps = React$1.HTMLAttributes<HTMLSpanElement>;
545
+ declare const InputGroupText: React$1.ForwardRefExoticComponent<InputGroupTextProps & React$1.RefAttributes<HTMLSpanElement>>;
546
+ type InputGroupInputProps = Omit<React$1.ComponentProps<typeof Input>, "size" | "roundness">;
547
+ declare const InputGroupInput: React$1.ForwardRefExoticComponent<Omit<InputGroupInputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
548
+ type InputGroupTextareaProps = React$1.ComponentProps<typeof Textarea>;
549
+ declare const InputGroupTextarea: React$1.ForwardRefExoticComponent<Omit<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
550
+
389
551
  /**
390
552
  * Badge variant styles.
391
553
  */
@@ -403,6 +565,66 @@ interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantPro
403
565
  */
404
566
  declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
405
567
 
568
+ declare function AlertDialog({ ...props }: AlertDialog$1.Root.Props): react_jsx_runtime.JSX.Element;
569
+ declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<Omit<AlertDialog$1.Trigger.Props<unknown>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
570
+ interface AlertDialogContentProps extends AlertDialog$1.Popup.Props {
571
+ size?: "desktop" | "mobile";
572
+ }
573
+ declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogContentProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
574
+ declare const AlertDialogHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
575
+ declare const AlertDialogFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
576
+ declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.DialogTitleProps, "ref"> & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
577
+ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.DialogDescriptionProps, "ref"> & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
578
+ /**
579
+ * Primary action button. Closes the dialog on click. Defaults to the `primary` variant.
580
+ */
581
+ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.DialogCloseProps & Pick<ButtonProps, "variant" | "size">, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
582
+ /**
583
+ * Cancel / dismiss button. Closes the dialog on click. Defaults to the `default` variant.
584
+ */
585
+ declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.DialogCloseProps & Pick<ButtonProps, "variant" | "size">, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
586
+
587
+ /**
588
+ * Wrapper that provides `role="list"` semantics and adjusts gap spacing
589
+ * based on the `size` of its child Items.
590
+ */
591
+ declare const ItemGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
592
+ declare const ItemSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
593
+ /** Item variant styles. */
594
+ declare const itemVariants: (props?: ({
595
+ variant?: "default" | "outline" | "muted" | null | undefined;
596
+ size?: "default" | "sm" | null | undefined;
597
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
598
+ type ItemProps = useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants>;
599
+ /**
600
+ * Core Item component. Renders as a `div`. Automatically gets `role="listitem"`
601
+ * when inside an `ItemGroup` (`role="list"`), and no role otherwise.
602
+ * Supports polymorphic rendering via the `render` prop (e.g. `<a>`, `<Link>`).
603
+ */
604
+ declare const Item: {
605
+ ({ className, variant, size, render, ...props }: ItemProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
606
+ displayName: string;
607
+ };
608
+ /** ItemMedia variant styles. */
609
+ declare const itemMediaVariants: (props?: ({
610
+ variant?: "default" | "image" | "icon" | "iconBadge" | null | undefined;
611
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
612
+ type ItemMediaProps = React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>;
613
+ /**
614
+ * Leading visual slot. Use `variant="icon"` for SVG icons (auto-sized to 20px),
615
+ * `variant="iconBadge"` for icons in a 32px badge container (icon auto-sized to 16px),
616
+ * or `variant="image"` for thumbnails (cropped to fit, size-responsive).
617
+ */
618
+ declare const ItemMedia: React$1.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
619
+ /** Flex container for title and description. Grows to fill available space. */
620
+ declare const ItemContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
621
+ declare const ItemTitle: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
622
+ /** Secondary text, clamped to 2 lines. Inline links are auto-styled. */
623
+ declare const ItemDescription: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
624
+ declare const ItemActions: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
625
+ declare const ItemHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
626
+ declare const ItemFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
627
+
406
628
  /**
407
629
  * @fileoverview Shared TypeScript types for PDF viewer components.
408
630
  */
@@ -1281,4 +1503,4 @@ interface TableProps<T> {
1281
1503
  */
1282
1504
  declare function Table<T>({ table, className, showPagination, paginationClassName, }: TableProps<T>): react_jsx_runtime.JSX.Element;
1283
1505
 
1284
- export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Badge, type BadgeProps, BarChart, type BarChartData, type BarChartProps, BellIcon, BookmarkIcon, type BoundingBox, type BoundingBoxStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CHART_COLORS, CHART_CONSTANTS, COLOR_SCHEMES, CalendarIcon, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, type ChartAxisLabelProps, type ChartColorScheme, ChartLegend, type ChartLegendProps, ChatIcon, CheckIcon, Checkbox, type CheckboxProps, CheckmarkIcon, CheckmarkSquareIcon, CloseIcon, CogIcon, CredentialsIcon, DatePicker, type DatePickerProps, DocumentIcon, DollarIcon, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownMenuTriggerProps, EditIcon, EnvelopeIcon, ExclamationIcon, EyeClosedIcon, EyeOpenIcon, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterDescendingIcon, FilterIcon, GenericTooltip, type GenericTooltipProps, GraphBarIcon, GraphDonutIcon, GraphLineIcon, GraphPieIcon, HamburgerMenuIcon, HomeIcon, type IconProps, type IconVariant, type IconWeight, InformationIcon, Input, type InputProps, Label, type LabelProps, type LegendItem, LineChart, type LineChartData, type LineChartProps, type LineSeries, LocationIcon, LockIcon, LogoutIcon, MagnifyingGlassIcon, MinusIcon, MoreMenuIcon, PanelIcon, type PdfFile, PdfViewer, type PdfViewerProps, PhoneIcon, PieChart, type PieChartData, type PieChartProps, type PieLabelProps, PlusIcon, PrintIcon, QuestionCircleIcon, type ScrollTarget, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, type SeparatorProps, ShareIcon, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupContent, type SidebarGroupContentProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, StarIcon, StatementIcon, Switch, type SwitchProps, Table, TableIcon, type TableProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Text, type TextProps, Textarea, type TextareaProps, type TickProps, Tooltip, TooltipContainer, type TooltipContainerProps, TooltipContent, type TooltipContentProps, TooltipItem, type TooltipItemProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, TrashIcon, Typography, type TypographyProps, Upload, type UploadProps, UserIcon, UserMultiIcon, WarningIcon, WrenchIcon, badgeVariants, buttonVariants, calculateYAxisWidth, checkboxVariants, createCustomXAxisLabel, createCustomYAxisLabel, createCustomYAxisRightLabel, createLegendItems, customXAxisTick, customXAxisTickRotated, customYAxisTick, formatLargeNumber, formatPercentage, getHeatmapColor, getPerformanceColor, getSeriesColor, initializePdfWorker, selectTriggerVariants, switchVariants, tabsVariants, textVariants, typographyVariants, uploadVariants, useSidebar };
1506
+ export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertActions, type AlertActionsProps, AlertBody, type AlertBodyProps, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, AvatarFallback, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarImage, type AvatarProps, Badge, type BadgeProps, BarChart, type BarChartData, type BarChartProps, BellIcon, BookmarkIcon, type BoundingBox, type BoundingBoxStyle, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, CHART_COLORS, CHART_CONSTANTS, COLOR_SCHEMES, CalendarIcon, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon, type ChartAxisLabelProps, type ChartColorScheme, ChartLegend, type ChartLegendProps, ChatIcon, CheckIcon, Checkbox, type CheckboxProps, CheckmarkIcon, CheckmarkSquareIcon, CloseIcon, CogIcon, CredentialsIcon, DatePicker, type DatePickerProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogOverlay, type DialogOverlayProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DocumentIcon, DollarIcon, DownloadIcon, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownMenuTriggerProps, EditIcon, EnvelopeIcon, ExclamationIcon, EyeClosedIcon, EyeOpenIcon, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterDescendingIcon, FilterIcon, GenericTooltip, type GenericTooltipProps, GraphBarIcon, GraphDonutIcon, GraphLineIcon, GraphPieIcon, HamburgerMenuIcon, HomeIcon, type IconProps, type IconVariant, type IconWeight, InformationIcon, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputGroupTextarea, type InputGroupTextareaProps, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, type ItemMediaProps, type ItemProps, ItemSeparator, ItemTitle, Label, type LabelProps, type LegendItem, LineChart, type LineChartData, type LineChartProps, type LineSeries, LocationIcon, LockIcon, LogoutIcon, MagnifyingGlassIcon, MinusIcon, MoreMenuIcon, PanelIcon, type PdfFile, PdfViewer, type PdfViewerProps, PhoneIcon, PieChart, type PieChartData, type PieChartProps, type PieLabelProps, PlusIcon, PrintIcon, QuestionCircleIcon, type ScrollTarget, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, type SeparatorProps, ShareIcon, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupContent, type SidebarGroupContentProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, StarIcon, StatementIcon, Switch, type SwitchProps, Table, TableIcon, type TableProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Text, type TextProps, Textarea, type TextareaProps, type TickProps, Tooltip, TooltipContainer, type TooltipContainerProps, TooltipContent, type TooltipContentProps, TooltipItem, type TooltipItemProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, TrashIcon, Typography, type TypographyProps, Upload, type UploadProps, UserIcon, UserMultiIcon, WarningIcon, WrenchIcon, alertVariants, avatarVariants, badgeVariants, buttonGroupTextVariants, buttonGroupVariants, buttonVariants, calculateYAxisWidth, checkboxVariants, createCustomXAxisLabel, createCustomYAxisLabel, createCustomYAxisRightLabel, createLegendItems, customXAxisTick, customXAxisTickRotated, customYAxisTick, formatLargeNumber, formatPercentage, getHeatmapColor, getPerformanceColor, getSeriesColor, initializePdfWorker, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants, inputVariants, itemMediaVariants, itemVariants, selectTriggerVariants, switchVariants, tabsVariants, textVariants, typographyVariants, uploadVariants, useSidebar };