@northslopetech/altitude-ui 3.0.0-alpha.4 → 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 +180 -47
- package/dist/index.d.ts +180 -47
- package/dist/index.js +1688 -910
- package/dist/index.mjs +1596 -858
- package/package.json +4 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,31 +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';
|
|
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';
|
|
10
|
+
import * as _base_ui_react_separator from '@base-ui/react/separator';
|
|
11
|
+
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
6
12
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
7
13
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
14
|
import * as _base_ui_react_dialog from '@base-ui/react/dialog';
|
|
9
15
|
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
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';
|
|
14
19
|
import * as _base_ui_react_checkbox from '@base-ui/react/checkbox';
|
|
15
20
|
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
16
21
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
22
|
+
import { Input as Input$1 } from '@base-ui/react/input';
|
|
17
23
|
import * as _base_ui_react from '@base-ui/react';
|
|
24
|
+
import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
|
|
18
25
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
19
26
|
import { Table as Table$1 } from '@tanstack/react-table';
|
|
20
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
|
+
|
|
21
53
|
declare const buttonVariants: (props?: ({
|
|
22
|
-
variant?: "default" | "
|
|
54
|
+
variant?: "default" | "link" | "primary" | "destructive" | "ghost" | null | undefined;
|
|
23
55
|
size?: "default" | "lg" | "sm" | "mini" | null | undefined;
|
|
24
56
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
25
57
|
interface ButtonProps extends Button$1.Props, VariantProps<typeof buttonVariants> {
|
|
26
58
|
}
|
|
27
59
|
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
28
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
|
+
|
|
29
83
|
/**
|
|
30
84
|
* Current-generation text variant styles using @utility classes from design tokens.
|
|
31
85
|
*/
|
|
@@ -199,9 +253,6 @@ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<Omit<_ba
|
|
|
199
253
|
type DialogCloseProps = React$1.ComponentPropsWithoutRef<typeof Dialog$1.Close>;
|
|
200
254
|
declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_dialog.DialogCloseProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
201
255
|
|
|
202
|
-
type SeparatorProps = Separator$1.Props;
|
|
203
|
-
declare const Separator: React$1.ForwardRefExoticComponent<Omit<_base_ui_react_separator.SeparatorProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
204
|
-
|
|
205
256
|
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
206
257
|
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
207
258
|
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
@@ -211,28 +262,14 @@ declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.Det
|
|
|
211
262
|
declare const BreadcrumbSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
212
263
|
declare const BreadcrumbEllipsis: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
213
264
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
};
|
|
217
|
-
type
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
type TooltipTriggerProps =
|
|
221
|
-
type
|
|
222
|
-
declare function TooltipProvider({ delayDuration, ...props }: TooltipProviderProps): react_jsx_runtime.JSX.Element;
|
|
223
|
-
declare namespace TooltipProvider {
|
|
224
|
-
var displayName: string;
|
|
225
|
-
}
|
|
226
|
-
declare function Tooltip({ delayDuration, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
227
|
-
declare namespace Tooltip {
|
|
228
|
-
var displayName: string;
|
|
229
|
-
}
|
|
230
|
-
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
231
|
-
/**
|
|
232
|
-
* Tooltip content - the actual tooltip popup.
|
|
233
|
-
* @param {number} [props.sideOffset=2] - Distance from trigger element
|
|
234
|
-
*/
|
|
235
|
-
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;
|
|
236
273
|
|
|
237
274
|
/**
|
|
238
275
|
* @fileoverview Sidebar component for Altitude UI.
|
|
@@ -354,7 +391,7 @@ declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & Re
|
|
|
354
391
|
* Upload variant styles for different states.
|
|
355
392
|
*/
|
|
356
393
|
declare const uploadVariants: (props?: ({
|
|
357
|
-
state?: "default" | "
|
|
394
|
+
state?: "default" | "success" | "error" | "dragOver" | "uploading" | null | undefined;
|
|
358
395
|
disabled?: boolean | null | undefined;
|
|
359
396
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
360
397
|
interface UploadProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onError"> {
|
|
@@ -380,6 +417,48 @@ interface UploadProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onEr
|
|
|
380
417
|
*/
|
|
381
418
|
declare const Upload: React$1.ForwardRefExoticComponent<UploadProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
382
419
|
|
|
420
|
+
/**
|
|
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.
|
|
424
|
+
*/
|
|
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;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
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
|
+
|
|
383
462
|
declare const checkboxVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
384
463
|
type CheckboxProps = React$1.ComponentPropsWithoutRef<typeof Checkbox$1.Root>;
|
|
385
464
|
/**
|
|
@@ -408,23 +487,19 @@ interface SwitchProps extends Switch$1.Root.Props, VariantProps<typeof switchVar
|
|
|
408
487
|
*/
|
|
409
488
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
410
489
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
* Props for standard text input.
|
|
417
|
-
*/
|
|
418
|
-
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "style"> {
|
|
419
|
-
className?: string;
|
|
420
|
-
style?: React$1.CSSProperties;
|
|
421
|
-
onClear?: () => void;
|
|
422
|
-
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> {
|
|
423
495
|
}
|
|
424
496
|
/**
|
|
425
497
|
* Input component for single-line text entry.
|
|
426
|
-
* @param {
|
|
427
|
-
* @param {
|
|
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
|
|
428
503
|
*/
|
|
429
504
|
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
430
505
|
|
|
@@ -434,6 +509,45 @@ interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextArea
|
|
|
434
509
|
}
|
|
435
510
|
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
436
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
|
+
|
|
437
551
|
/**
|
|
438
552
|
* Badge variant styles.
|
|
439
553
|
*/
|
|
@@ -451,6 +565,25 @@ interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement>, VariantPro
|
|
|
451
565
|
*/
|
|
452
566
|
declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
453
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
|
+
|
|
454
587
|
/**
|
|
455
588
|
* Wrapper that provides `role="list"` semantics and adjusts gap spacing
|
|
456
589
|
* based on the `size` of its child Items.
|
|
@@ -1370,4 +1503,4 @@ interface TableProps<T> {
|
|
|
1370
1503
|
*/
|
|
1371
1504
|
declare function Table<T>({ table, className, showPagination, paginationClassName, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
1372
1505
|
|
|
1373
|
-
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, 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, 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, badgeVariants, buttonVariants, calculateYAxisWidth, checkboxVariants, createCustomXAxisLabel, createCustomYAxisLabel, createCustomYAxisRightLabel, createLegendItems, customXAxisTick, customXAxisTickRotated, customYAxisTick, formatLargeNumber, formatPercentage, getHeatmapColor, getPerformanceColor, getSeriesColor, initializePdfWorker, itemMediaVariants, itemVariants, 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 };
|