@yuva-devlab/ui 1.0.1 → 1.2.0
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/README.md +29 -14
- package/dist/common.css +158 -0
- package/dist/components/accordion/accordion.css +49 -0
- package/dist/components/alert/alert.css +41 -0
- package/dist/components/alert-dialog/alert-dialog.css +78 -0
- package/dist/components/avatar/avatar.css +26 -0
- package/dist/components/badge/badge.css +76 -0
- package/dist/components/breadcrumb/breadcrumb.css +63 -0
- package/dist/components/button/button.css +106 -0
- package/dist/components/card/card.css +30 -0
- package/dist/components/carousel/carousel.css +67 -0
- package/dist/components/chart/chart.css +38 -0
- package/dist/components/checkbox/checkbox.css +27 -0
- package/dist/components/command/command.css +125 -0
- package/dist/components/context-menu/context-menu.css +19 -0
- package/dist/components/date-picker/date-picker.css +30 -0
- package/dist/components/dialog/dialog.css +78 -0
- package/dist/components/drawer/drawer.css +64 -0
- package/dist/components/dropdown-menu/dropdown-menu.css +82 -0
- package/dist/components/form/form.css +17 -0
- package/dist/components/hover-card/hover-card.css +23 -0
- package/dist/components/input/input.css +89 -0
- package/dist/components/input-otp/input-otp.css +70 -0
- package/dist/components/label/label.css +9 -0
- package/dist/components/loading-state/loading-state.css +26 -0
- package/dist/components/menubar/menubar.css +36 -0
- package/dist/components/navigation-menu/navigation-menu.css +137 -0
- package/dist/components/pagination/pagination.css +43 -0
- package/dist/components/panel/panel.css +24 -0
- package/dist/components/popover/popover.css +17 -0
- package/dist/components/progress/progress.css +15 -0
- package/dist/components/radio-group/radio-group.css +37 -0
- package/dist/components/resizable/resizable.css +67 -0
- package/dist/components/scroll-area/scroll-area.css +32 -0
- package/dist/components/searchable-select/searchable-select.css +128 -0
- package/dist/components/select/select.css +97 -0
- package/dist/components/separator/separator.css +14 -0
- package/dist/components/sheet/sheet.css +83 -0
- package/dist/components/sidebar/sidebar.css +18 -0
- package/dist/components/skeleton/skeleton.css +5 -0
- package/dist/components/slider/slider.css +37 -0
- package/dist/components/sonner/sonner.css +25 -0
- package/dist/components/status-badge/status-badge.css +53 -0
- package/dist/components/status-chip/status-chip.css +44 -0
- package/dist/components/switch/switch.css +45 -0
- package/dist/components/table/table.css +46 -0
- package/dist/components/tabs/tabs.css +46 -0
- package/dist/components/textarea/textarea.css +30 -0
- package/dist/components/toggle/toggle.css +91 -0
- package/dist/components/tooltip/tooltip.css +17 -0
- package/dist/components.css +2523 -0
- package/dist/index.cjs +1606 -1963
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1805 -209
- package/dist/index.d.ts +1805 -209
- package/dist/index.js +1470 -1834
- package/dist/index.js.map +1 -1
- package/dist/preset.css +8 -0
- package/dist/root.css +1 -0
- package/dist/styles/common.css +158 -0
- package/dist/styles/components.css +2523 -0
- package/dist/styles/preset.css +8 -0
- package/dist/styles/root.css +1 -0
- package/dist/styles/styles.css +18 -0
- package/dist/styles/themes/finai.css +1 -0
- package/dist/styles/themes/orchestrai.css +1 -0
- package/dist/styles.css +18 -0
- package/dist/themes/finai.css +1 -0
- package/dist/themes/orchestrai.css +1 -0
- package/package.json +19 -6
package/dist/index.d.ts
CHANGED
|
@@ -3,22 +3,19 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
6
|
-
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
7
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
8
7
|
import { VariantProps } from 'class-variance-authority';
|
|
8
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
9
9
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
10
10
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
11
11
|
import { DayPicker, DayButton } from 'react-day-picker';
|
|
12
12
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
13
|
-
import * as recharts_types_util_payload_getUniqPayload from 'recharts/types/util/payload/getUniqPayload';
|
|
14
|
-
import * as recharts_types_component_Tooltip from 'recharts/types/component/Tooltip';
|
|
15
|
-
import * as recharts_types_util_types from 'recharts/types/util/types';
|
|
16
|
-
import * as recharts_types_component_DefaultTooltipContent from 'recharts/types/component/DefaultTooltipContent';
|
|
17
13
|
import * as RechartsPrimitive from 'recharts';
|
|
18
14
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
19
15
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
20
16
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
21
17
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
18
|
+
import { Command as Command$1 } from 'cmdk';
|
|
22
19
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
23
20
|
import * as vaul from 'vaul';
|
|
24
21
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
@@ -27,7 +24,7 @@ import * as react_hook_form from 'react-hook-form';
|
|
|
27
24
|
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
28
25
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
29
26
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
30
|
-
import
|
|
27
|
+
import { OTPInput } from 'input-otp';
|
|
31
28
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
32
29
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
33
30
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
@@ -43,8 +40,8 @@ import { Toaster as Toaster$1 } from 'sonner';
|
|
|
43
40
|
export { toast } from 'sonner';
|
|
44
41
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
45
42
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
46
|
-
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
47
43
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
44
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
48
45
|
|
|
49
46
|
/**
|
|
50
47
|
* Merges multiple Tailwind class names and conditionally applied class definitions.
|
|
@@ -56,28 +53,40 @@ import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
|
56
53
|
declare function cn(...inputs: ClassValue[]): string;
|
|
57
54
|
|
|
58
55
|
type Theme = "dark" | "light" | "system" | string;
|
|
56
|
+
type Brand = "finai" | "orchestrai" | string;
|
|
59
57
|
interface ThemeProviderProps {
|
|
60
58
|
children: React__default.ReactNode;
|
|
59
|
+
brand?: Brand;
|
|
61
60
|
defaultTheme?: Theme;
|
|
62
61
|
storageKey?: string;
|
|
62
|
+
brandStorageKey?: string;
|
|
63
63
|
attribute?: string;
|
|
64
|
+
brandAttribute?: string;
|
|
64
65
|
enableSystem?: boolean;
|
|
65
66
|
}
|
|
66
67
|
interface ThemeProviderState {
|
|
67
68
|
theme: Theme;
|
|
69
|
+
brand: Brand;
|
|
68
70
|
setTheme: (theme: Theme) => void;
|
|
71
|
+
setBrand: (brand: Brand) => void;
|
|
69
72
|
resolvedTheme: "dark" | "light";
|
|
70
73
|
}
|
|
71
74
|
/**
|
|
72
|
-
* Universal theme provider for Yuva DevLab applications (FinAI, OrchestrAI).
|
|
73
|
-
* Handles HTML class manipulation, data-theme
|
|
74
|
-
* and localStorage persistence.
|
|
75
|
+
* Universal theme & brand provider for Yuva DevLab applications (FinAI, OrchestrAI).
|
|
76
|
+
* Handles HTML class manipulation, data-theme and data-brand attributes,
|
|
77
|
+
* system preferences, and localStorage persistence.
|
|
75
78
|
*/
|
|
76
|
-
declare function ThemeProvider({ children, defaultTheme, storageKey, attribute, enableSystem, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
79
|
+
declare function ThemeProvider({ children, brand: initialBrand, defaultTheme, storageKey, brandStorageKey, attribute, brandAttribute, enableSystem, ...props }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
77
80
|
/**
|
|
78
|
-
* Hook to access current theme state and mutate the theme.
|
|
81
|
+
* Hook to access current theme & brand state and mutate the theme/brand.
|
|
79
82
|
*/
|
|
80
83
|
declare const useTheme: () => ThemeProviderState;
|
|
84
|
+
/**
|
|
85
|
+
* ConfigProvider: Brand and Theme Configuration Provider for Yuva DevLab applications.
|
|
86
|
+
*/
|
|
87
|
+
declare const ConfigProvider: typeof ThemeProvider;
|
|
88
|
+
type ConfigProviderProps = ThemeProviderProps;
|
|
89
|
+
declare const useConfig: () => ThemeProviderState;
|
|
81
90
|
|
|
82
91
|
/**
|
|
83
92
|
* Hook to determine if current viewport matches mobile breakpoint (< 768px).
|
|
@@ -86,101 +95,435 @@ declare const useTheme: () => ThemeProviderState;
|
|
|
86
95
|
*/
|
|
87
96
|
declare function useIsMobile(): boolean;
|
|
88
97
|
|
|
98
|
+
/**
|
|
99
|
+
* Root Accordion component from Radix UI providing collapsible disclosure sections.
|
|
100
|
+
* Supports single-item or multi-item expansion.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* ```tsx
|
|
104
|
+
* <Accordion type="single" collapsible>
|
|
105
|
+
* <AccordionItem value="item-1">
|
|
106
|
+
* <AccordionTrigger>Is it accessible?</AccordionTrigger>
|
|
107
|
+
* <AccordionContent>
|
|
108
|
+
* Yes. It adheres to the WAI-ARIA design pattern.
|
|
109
|
+
* </AccordionContent>
|
|
110
|
+
* </AccordionItem>
|
|
111
|
+
* </Accordion>
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
89
114
|
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
115
|
+
type AccordionItemProps = React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item>;
|
|
116
|
+
/**
|
|
117
|
+
* Collapsible section item container within an `Accordion`.
|
|
118
|
+
*/
|
|
90
119
|
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
120
|
+
type AccordionTriggerProps = React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger>;
|
|
121
|
+
/**
|
|
122
|
+
* Interactive header trigger button that toggles expansion of the associated accordion panel.
|
|
123
|
+
*/
|
|
91
124
|
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
125
|
+
type AccordionContentProps = React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content>;
|
|
126
|
+
/**
|
|
127
|
+
* Animated content container revealed when an `AccordionItem` is opened.
|
|
128
|
+
*/
|
|
92
129
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
93
130
|
|
|
131
|
+
/**
|
|
132
|
+
* Alert variant configuration mapping to dl-* scoped CSS classes.
|
|
133
|
+
*/
|
|
134
|
+
declare const alertVariants: (props?: ({
|
|
135
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
136
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
137
|
+
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Banner alert component for prominent user notifications, warnings, or error states.
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* ```tsx
|
|
144
|
+
* <Alert variant="destructive">
|
|
145
|
+
* <AlertCircle className="size-4" />
|
|
146
|
+
* <AlertTitle>Authentication Failed</AlertTitle>
|
|
147
|
+
* <AlertDescription>
|
|
148
|
+
* Your session has expired. Please log in again to continue.
|
|
149
|
+
* </AlertDescription>
|
|
150
|
+
* </Alert>
|
|
151
|
+
* ```
|
|
152
|
+
*/
|
|
153
|
+
declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
154
|
+
type AlertTitleProps = React$1.HTMLAttributes<HTMLHeadingElement>;
|
|
155
|
+
/**
|
|
156
|
+
* Bold header title element for an `Alert`.
|
|
157
|
+
*/
|
|
158
|
+
declare const AlertTitle: React$1.ForwardRefExoticComponent<AlertTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
159
|
+
type AlertDescriptionProps = React$1.HTMLAttributes<HTMLParagraphElement>;
|
|
160
|
+
/**
|
|
161
|
+
* Descriptive body text element within an `Alert`.
|
|
162
|
+
*/
|
|
163
|
+
declare const AlertDescription: React$1.ForwardRefExoticComponent<AlertDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Modal dialog that interrupts the user with critical information and requires an explicit response.
|
|
167
|
+
* Built upon Radix UI AlertDialog primitive with scoped CSS and token styling.
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* ```tsx
|
|
171
|
+
* <AlertDialog open={open} onOpenChange={setOpen}>
|
|
172
|
+
* <AlertDialogTrigger asChild>
|
|
173
|
+
* <Button variant="destructive">Delete Project</Button>
|
|
174
|
+
* </AlertDialogTrigger>
|
|
175
|
+
* <AlertDialogContent>
|
|
176
|
+
* <AlertDialogHeader>
|
|
177
|
+
* <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
|
|
178
|
+
* <AlertDialogDescription>
|
|
179
|
+
* This action cannot be undone. This will permanently delete your workspace.
|
|
180
|
+
* </AlertDialogDescription>
|
|
181
|
+
* </AlertDialogHeader>
|
|
182
|
+
* <AlertDialogFooter>
|
|
183
|
+
* <AlertDialogCancel>Cancel</AlertDialogCancel>
|
|
184
|
+
* <AlertDialogAction onClick={handleDelete}>Delete</AlertDialogAction>
|
|
185
|
+
* </AlertDialogFooter>
|
|
186
|
+
* </AlertDialogContent>
|
|
187
|
+
* </AlertDialog>
|
|
188
|
+
* ```
|
|
189
|
+
*/
|
|
94
190
|
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
191
|
+
/** Trigger button that opens the alert dialog. */
|
|
95
192
|
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
193
|
+
/** Portals alert dialog to document.body for clean stacking. */
|
|
96
194
|
declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
195
|
+
type AlertDialogOverlayProps = React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>;
|
|
196
|
+
/** Semi-transparent backdrop overlay rendered beneath the alert dialog. */
|
|
97
197
|
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
198
|
+
type AlertDialogContentProps = React$1.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>;
|
|
199
|
+
/** Modal content container for the alert dialog. */
|
|
98
200
|
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
201
|
+
/** Top container for alert dialog title and description. */
|
|
99
202
|
declare const AlertDialogHeader: {
|
|
100
203
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
101
204
|
displayName: string;
|
|
102
205
|
};
|
|
206
|
+
/** Bottom container for alert dialog action buttons. */
|
|
103
207
|
declare const AlertDialogFooter: {
|
|
104
208
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
105
209
|
displayName: string;
|
|
106
210
|
};
|
|
211
|
+
/** Accessible title heading for the alert dialog. */
|
|
107
212
|
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
213
|
+
/** Explanatory description text for the alert dialog action. */
|
|
108
214
|
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
215
|
+
/** Confirmation button that completes the alert action. */
|
|
109
216
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
217
|
+
/** Cancellation button that dismisses the alert dialog without side-effects. */
|
|
110
218
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
111
219
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
220
|
+
type AspectRatioProps = React.ComponentPropsWithoutRef<typeof AspectRatioPrimitive.Root>;
|
|
221
|
+
/**
|
|
222
|
+
* Displays content within a desired ratio (e.g. 16/9, 4/3, 1/1).
|
|
223
|
+
*
|
|
224
|
+
* @example
|
|
225
|
+
* ```tsx
|
|
226
|
+
* <div className="w-[300px]">
|
|
227
|
+
* <AspectRatio ratio={16 / 9}>
|
|
228
|
+
* <img
|
|
229
|
+
* src="https://images.unsplash.com/photo-1588345921523-c2dcdb7f1dcd"
|
|
230
|
+
* alt="Photo by Drew Beamer"
|
|
231
|
+
* className="rounded-md object-cover w-full h-full"
|
|
232
|
+
* />
|
|
233
|
+
* </AspectRatio>
|
|
234
|
+
* </div>
|
|
235
|
+
* ```
|
|
236
|
+
*/
|
|
118
237
|
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
119
238
|
|
|
239
|
+
type AvatarProps = React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>;
|
|
240
|
+
/**
|
|
241
|
+
* Avatar container component displaying user profile images or initials fallback.
|
|
242
|
+
*
|
|
243
|
+
* @example
|
|
244
|
+
* ```tsx
|
|
245
|
+
* <Avatar>
|
|
246
|
+
* <AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
|
|
247
|
+
* <AvatarFallback>CN</AvatarFallback>
|
|
248
|
+
* </Avatar>
|
|
249
|
+
* ```
|
|
250
|
+
*/
|
|
120
251
|
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
252
|
+
type AvatarImageProps = React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>;
|
|
253
|
+
/**
|
|
254
|
+
* Image element rendered within an `Avatar`.
|
|
255
|
+
*/
|
|
121
256
|
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
257
|
+
type AvatarFallbackProps = React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>;
|
|
258
|
+
/**
|
|
259
|
+
* Fallback initials or icon element shown when the avatar image fails to load.
|
|
260
|
+
*/
|
|
122
261
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
123
262
|
|
|
263
|
+
/**
|
|
264
|
+
* Badge style variant generator using class-variance-authority.
|
|
265
|
+
*/
|
|
124
266
|
declare const badgeVariants: (props?: ({
|
|
125
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
267
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | "info" | null | undefined;
|
|
126
268
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
127
269
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
128
270
|
}
|
|
271
|
+
/**
|
|
272
|
+
* Small status or label indicator with curated design-token variant styling.
|
|
273
|
+
*
|
|
274
|
+
* @example
|
|
275
|
+
* ```tsx
|
|
276
|
+
* <Badge variant="success">Completed</Badge>
|
|
277
|
+
* <Badge variant="destructive">Failed</Badge>
|
|
278
|
+
* <Badge variant="outline">v1.2.0</Badge>
|
|
279
|
+
* ```
|
|
280
|
+
*/
|
|
129
281
|
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
130
282
|
|
|
283
|
+
type BreadcrumbProps = React$1.ComponentPropsWithoutRef<"nav"> & {
|
|
284
|
+
separator?: React$1.ReactNode;
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* Breadcrumb navigation landmark providing context about the current page's
|
|
288
|
+
* location within a navigational hierarchy.
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* ```tsx
|
|
292
|
+
* <Breadcrumb>
|
|
293
|
+
* <BreadcrumbList>
|
|
294
|
+
* <BreadcrumbItem>
|
|
295
|
+
* <BreadcrumbLink href="/">Home</BreadcrumbLink>
|
|
296
|
+
* </BreadcrumbItem>
|
|
297
|
+
* <BreadcrumbSeparator />
|
|
298
|
+
* <BreadcrumbItem>
|
|
299
|
+
* <BreadcrumbLink href="/components">Components</BreadcrumbLink>
|
|
300
|
+
* </BreadcrumbItem>
|
|
301
|
+
* <BreadcrumbSeparator />
|
|
302
|
+
* <BreadcrumbItem>
|
|
303
|
+
* <BreadcrumbPage>Breadcrumb</BreadcrumbPage>
|
|
304
|
+
* </BreadcrumbItem>
|
|
305
|
+
* </BreadcrumbList>
|
|
306
|
+
* </Breadcrumb>
|
|
307
|
+
* ```
|
|
308
|
+
*/
|
|
131
309
|
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
132
310
|
separator?: React$1.ReactNode;
|
|
133
311
|
} & React$1.RefAttributes<HTMLElement>>;
|
|
312
|
+
type BreadcrumbListProps = React$1.ComponentPropsWithoutRef<"ol">;
|
|
313
|
+
/**
|
|
314
|
+
* Ordered list container (`<ol>`) wrapping breadcrumb items and separators.
|
|
315
|
+
*/
|
|
134
316
|
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
317
|
+
type BreadcrumbItemProps = React$1.ComponentPropsWithoutRef<"li">;
|
|
318
|
+
/**
|
|
319
|
+
* Individual item wrapper (`<li>`) within a breadcrumb trail.
|
|
320
|
+
*/
|
|
135
321
|
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
322
|
+
type BreadcrumbLinkProps = React$1.ComponentPropsWithoutRef<"a"> & {
|
|
323
|
+
/** If true, renders the child component as the root link element (e.g. Next.js Link) */
|
|
324
|
+
asChild?: boolean;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* Interactive link element within a breadcrumb trail.
|
|
328
|
+
*/
|
|
136
329
|
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
330
|
+
/** If true, renders the child component as the root link element (e.g. Next.js Link) */
|
|
137
331
|
asChild?: boolean;
|
|
138
332
|
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
333
|
+
type BreadcrumbPageProps = React$1.ComponentPropsWithoutRef<"span">;
|
|
334
|
+
/**
|
|
335
|
+
* Non-clickable page title representing the active, current page in a breadcrumb trail.
|
|
336
|
+
*/
|
|
139
337
|
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
338
|
+
type BreadcrumbSeparatorProps = React$1.ComponentProps<"li">;
|
|
339
|
+
/**
|
|
340
|
+
* Decorative divider between breadcrumb items (defaults to a chevron right icon).
|
|
341
|
+
*/
|
|
140
342
|
declare const BreadcrumbSeparator: {
|
|
141
|
-
({ children, className, ...props }:
|
|
343
|
+
({ children, className, ...props }: BreadcrumbSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
142
344
|
displayName: string;
|
|
143
345
|
};
|
|
346
|
+
type BreadcrumbEllipsisProps = React$1.ComponentProps<"span">;
|
|
347
|
+
/**
|
|
348
|
+
* Ellipsis placeholder indicating intermediate collapsed path items.
|
|
349
|
+
*/
|
|
144
350
|
declare const BreadcrumbEllipsis: {
|
|
145
|
-
({ className, ...props }:
|
|
351
|
+
({ className, ...props }: BreadcrumbEllipsisProps): react_jsx_runtime.JSX.Element;
|
|
146
352
|
displayName: string;
|
|
147
353
|
};
|
|
148
354
|
|
|
355
|
+
/**
|
|
356
|
+
* Button visual variant and size configurations using scoped `dl-btn` CSS classes.
|
|
357
|
+
* Compatible with Class Variance Authority (CVA).
|
|
358
|
+
*/
|
|
149
359
|
declare const buttonVariants: (props?: ({
|
|
150
360
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
151
361
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
152
362
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
153
363
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
364
|
+
/**
|
|
365
|
+
* If true, delegates rendering to the direct child element via Radix Slot.
|
|
366
|
+
* Useful when composing with Next.js Link or custom router anchors.
|
|
367
|
+
* @default false
|
|
368
|
+
*/
|
|
154
369
|
asChild?: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* Content to render inside the button.
|
|
372
|
+
*/
|
|
373
|
+
children?: React$1.ReactNode;
|
|
155
374
|
}
|
|
375
|
+
/**
|
|
376
|
+
* Primary interactive button component for triggering actions, submitting forms, or navigation.
|
|
377
|
+
* Pure CSS with zero runtime Tailwind dependencies.
|
|
378
|
+
*
|
|
379
|
+
* @example
|
|
380
|
+
* ```tsx
|
|
381
|
+
* // Default button
|
|
382
|
+
* <Button onClick={handleClick}>Click me</Button>
|
|
383
|
+
*
|
|
384
|
+
* // Destructive action
|
|
385
|
+
* <Button variant="destructive" size="sm">Delete Record</Button>
|
|
386
|
+
*
|
|
387
|
+
* // Composed as a link using Next.js Link
|
|
388
|
+
* <Button asChild variant="outline">
|
|
389
|
+
* <Link href="/dashboard">Go to Dashboard</Link>
|
|
390
|
+
* </Button>
|
|
391
|
+
* ```
|
|
392
|
+
*/
|
|
156
393
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
157
394
|
|
|
158
|
-
|
|
395
|
+
type CalendarProps = React$1.ComponentProps<typeof DayPicker> & {
|
|
159
396
|
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
160
|
-
}
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* Calendar component built on top of react-day-picker, supporting single,
|
|
400
|
+
* multiple, and date-range selection modes.
|
|
401
|
+
*
|
|
402
|
+
* @example
|
|
403
|
+
* ```tsx
|
|
404
|
+
* const [date, setDate] = React.useState<Date | undefined>(new Date());
|
|
405
|
+
*
|
|
406
|
+
* <Calendar
|
|
407
|
+
* mode="single"
|
|
408
|
+
* selected={date}
|
|
409
|
+
* onSelect={setDate}
|
|
410
|
+
* className="rounded-md border"
|
|
411
|
+
* />
|
|
412
|
+
* ```
|
|
413
|
+
*/
|
|
414
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
161
415
|
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
162
416
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
417
|
+
type CardProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
418
|
+
/**
|
|
419
|
+
* Card container component providing a bordered surface with rounded corners,
|
|
420
|
+
* background color, and subtle shadow.
|
|
421
|
+
*
|
|
422
|
+
* @example
|
|
423
|
+
* ```tsx
|
|
424
|
+
* <Card>
|
|
425
|
+
* <CardHeader>
|
|
426
|
+
* <CardTitle>Notifications</CardTitle>
|
|
427
|
+
* <CardDescription>Manage how you receive alerts.</CardDescription>
|
|
428
|
+
* </CardHeader>
|
|
429
|
+
* <CardContent>
|
|
430
|
+
* <p>Your subscription is active.</p>
|
|
431
|
+
* </CardContent>
|
|
432
|
+
* <CardFooter>
|
|
433
|
+
* <Button>Save Preferences</Button>
|
|
434
|
+
* </CardFooter>
|
|
435
|
+
* </Card>
|
|
436
|
+
* ```
|
|
437
|
+
*/
|
|
438
|
+
declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
439
|
+
type CardHeaderProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
440
|
+
/**
|
|
441
|
+
* Header section of a `Card`, organizing titles, descriptions, and action buttons.
|
|
442
|
+
*/
|
|
443
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<CardHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
444
|
+
type CardTitleProps = React$1.HTMLAttributes<HTMLHeadingElement>;
|
|
445
|
+
/**
|
|
446
|
+
* Primary title heading within a `CardHeader`.
|
|
447
|
+
*/
|
|
448
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<CardTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
449
|
+
type CardDescriptionProps = React$1.HTMLAttributes<HTMLParagraphElement>;
|
|
450
|
+
/**
|
|
451
|
+
* Secondary subtitle or description paragraph within a `CardHeader`.
|
|
452
|
+
*/
|
|
453
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<CardDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
454
|
+
type CardContentProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
455
|
+
/**
|
|
456
|
+
* Main content body of a `Card`.
|
|
457
|
+
*/
|
|
458
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<CardContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
459
|
+
type CardFooterProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
460
|
+
/**
|
|
461
|
+
* Footer area of a `Card` for primary and secondary actions.
|
|
462
|
+
*/
|
|
463
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<CardFooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
169
464
|
|
|
170
465
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
171
466
|
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
172
467
|
type CarouselOptions = UseCarouselParameters[0];
|
|
173
468
|
type CarouselPlugin = UseCarouselParameters[1];
|
|
174
469
|
type CarouselProps = {
|
|
470
|
+
/** Embla carousel configuration options */
|
|
175
471
|
opts?: CarouselOptions;
|
|
472
|
+
/** Embla carousel plugins list (e.g. Autoplay) */
|
|
176
473
|
plugins?: CarouselPlugin;
|
|
474
|
+
/** Scrolling orientation */
|
|
177
475
|
orientation?: "horizontal" | "vertical";
|
|
476
|
+
/** Callback to receive the initialized Embla API instance */
|
|
178
477
|
setApi?: (api: CarouselApi) => void;
|
|
179
478
|
};
|
|
479
|
+
type CarouselContextProps = {
|
|
480
|
+
carouselRef: ReturnType<typeof useEmblaCarousel>[0];
|
|
481
|
+
api: ReturnType<typeof useEmblaCarousel>[1];
|
|
482
|
+
scrollPrev: () => void;
|
|
483
|
+
scrollNext: () => void;
|
|
484
|
+
canScrollPrev: boolean;
|
|
485
|
+
canScrollNext: boolean;
|
|
486
|
+
} & CarouselProps;
|
|
487
|
+
/**
|
|
488
|
+
* Accesses the parent Carousel context.
|
|
489
|
+
*/
|
|
490
|
+
declare function useCarousel(): CarouselContextProps;
|
|
491
|
+
/**
|
|
492
|
+
* Interactive carousel slider powered by Embla Carousel.
|
|
493
|
+
*
|
|
494
|
+
* @example
|
|
495
|
+
* ```tsx
|
|
496
|
+
* <Carousel>
|
|
497
|
+
* <CarouselContent>
|
|
498
|
+
* <CarouselItem className="basis-1/3">Slide 1</CarouselItem>
|
|
499
|
+
* <CarouselItem className="basis-1/3">Slide 2</CarouselItem>
|
|
500
|
+
* <CarouselItem className="basis-1/3">Slide 3</CarouselItem>
|
|
501
|
+
* </CarouselContent>
|
|
502
|
+
* <CarouselPrevious />
|
|
503
|
+
* <CarouselNext />
|
|
504
|
+
* </Carousel>
|
|
505
|
+
* ```
|
|
506
|
+
*/
|
|
180
507
|
declare const Carousel: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & CarouselProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
181
|
-
|
|
182
|
-
|
|
508
|
+
type CarouselContentProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
509
|
+
/**
|
|
510
|
+
* Viewport and track container holding all carousel slides.
|
|
511
|
+
*/
|
|
512
|
+
declare const CarouselContent: React$1.ForwardRefExoticComponent<CarouselContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
513
|
+
type CarouselItemProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
514
|
+
/**
|
|
515
|
+
* Individual slide element within a `CarouselContent` track.
|
|
516
|
+
*/
|
|
517
|
+
declare const CarouselItem: React$1.ForwardRefExoticComponent<CarouselItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
518
|
+
type CarouselPreviousProps = React$1.ComponentProps<typeof Button>;
|
|
519
|
+
/**
|
|
520
|
+
* Navigation button that moves to the previous carousel slide.
|
|
521
|
+
*/
|
|
183
522
|
declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
523
|
+
type CarouselNextProps = React$1.ComponentProps<typeof Button>;
|
|
524
|
+
/**
|
|
525
|
+
* Navigation button that moves to the next carousel slide.
|
|
526
|
+
*/
|
|
184
527
|
declare const CarouselNext: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
185
528
|
|
|
186
529
|
declare const THEMES: {
|
|
@@ -199,56 +542,137 @@ type ChartConfig = {
|
|
|
199
542
|
theme: Record<keyof typeof THEMES, string>;
|
|
200
543
|
});
|
|
201
544
|
};
|
|
202
|
-
|
|
545
|
+
type ChartContainerProps = React$1.ComponentProps<"div"> & {
|
|
546
|
+
/** Configuration mapping series keys to colors, labels, and icons */
|
|
203
547
|
config: ChartConfig;
|
|
548
|
+
/** Responsive chart content (Recharts element) */
|
|
204
549
|
children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
205
|
-
}
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* Responsive wrapper for Recharts visualizations with CSS variable theming and unified legend/tooltip support.
|
|
553
|
+
*
|
|
554
|
+
* @example
|
|
555
|
+
* ```tsx
|
|
556
|
+
* const chartConfig = {
|
|
557
|
+
* desktop: { label: "Desktop", color: "var(--color-primary)" },
|
|
558
|
+
* mobile: { label: "Mobile", color: "var(--color-muted)" },
|
|
559
|
+
* } satisfies ChartConfig;
|
|
560
|
+
*
|
|
561
|
+
* <ChartContainer config={chartConfig} className="min-h-[200px] w-full">
|
|
562
|
+
* <BarChart data={chartData}>
|
|
563
|
+
* <Bar dataKey="desktop" fill="var(--color-desktop)" radius={4} />
|
|
564
|
+
* <Bar dataKey="mobile" fill="var(--color-mobile)" radius={4} />
|
|
565
|
+
* </BarChart>
|
|
566
|
+
* </ChartContainer>
|
|
567
|
+
* ```
|
|
568
|
+
*/
|
|
569
|
+
declare const ChartContainer: React$1.ForwardRefExoticComponent<Omit<ChartContainerProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
206
570
|
declare const ChartStyle: ({ id, config }: {
|
|
207
571
|
id: string;
|
|
208
572
|
config: ChartConfig;
|
|
209
573
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
574
|
+
/**
|
|
575
|
+
* Tooltip trigger component from Recharts.
|
|
576
|
+
*/
|
|
210
577
|
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
active?: boolean | undefined;
|
|
214
|
-
includeHidden?: boolean | undefined;
|
|
215
|
-
allowEscapeViewBox?: recharts_types_util_types.AllowInDimension;
|
|
216
|
-
animationDuration?: recharts_types_util_types.AnimationDuration;
|
|
217
|
-
animationEasing?: recharts_types_util_types.AnimationTiming;
|
|
218
|
-
content?: recharts_types_component_Tooltip.ContentType<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> | undefined;
|
|
219
|
-
coordinate?: Partial<recharts_types_util_types.Coordinate>;
|
|
220
|
-
cursor?: boolean | React$1.ReactElement | React$1.SVGProps<SVGElement>;
|
|
221
|
-
filterNull?: boolean;
|
|
222
|
-
defaultIndex?: number;
|
|
223
|
-
isAnimationActive?: boolean;
|
|
224
|
-
offset?: number;
|
|
225
|
-
payloadUniqBy?: recharts_types_util_payload_getUniqPayload.UniqueOption<recharts_types_component_DefaultTooltipContent.Payload<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType>> | undefined;
|
|
226
|
-
position?: Partial<recharts_types_util_types.Coordinate>;
|
|
227
|
-
reverseDirection?: recharts_types_util_types.AllowInDimension;
|
|
228
|
-
shared?: boolean;
|
|
229
|
-
trigger?: "hover" | "click";
|
|
230
|
-
useTranslate3d?: boolean;
|
|
231
|
-
viewBox?: recharts_types_util_types.CartesianViewBox;
|
|
232
|
-
wrapperStyle?: React$1.CSSProperties;
|
|
233
|
-
} & React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
578
|
+
type ChartTooltipContentProps = React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<"div"> & {
|
|
579
|
+
/** Hides the series label */
|
|
234
580
|
hideLabel?: boolean;
|
|
581
|
+
/** Hides the colored indicator icon */
|
|
235
582
|
hideIndicator?: boolean;
|
|
583
|
+
/** Style of indicator: line, dot, or dashed */
|
|
236
584
|
indicator?: "line" | "dot" | "dashed";
|
|
585
|
+
/** Custom key in payload for data series name */
|
|
237
586
|
nameKey?: string;
|
|
587
|
+
/** Custom key in payload for label */
|
|
238
588
|
labelKey?: string;
|
|
239
|
-
}
|
|
589
|
+
};
|
|
590
|
+
/**
|
|
591
|
+
* Standard content container rendered inside a `ChartTooltip`.
|
|
592
|
+
*/
|
|
593
|
+
declare const ChartTooltipContent: React$1.ForwardRefExoticComponent<Omit<ChartTooltipContentProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
594
|
+
/**
|
|
595
|
+
* Legend component from Recharts.
|
|
596
|
+
*/
|
|
240
597
|
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
241
|
-
|
|
598
|
+
type ChartLegendContentProps = React$1.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
599
|
+
/** Hides the colored category icon */
|
|
242
600
|
hideIcon?: boolean;
|
|
601
|
+
/** Custom key in payload for data series name */
|
|
243
602
|
nameKey?: string;
|
|
244
|
-
}
|
|
603
|
+
};
|
|
604
|
+
/**
|
|
605
|
+
* Standard legend container displaying labeled indicators for active chart series.
|
|
606
|
+
*/
|
|
607
|
+
declare const ChartLegendContent: React$1.ForwardRefExoticComponent<Omit<ChartLegendContentProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
245
608
|
|
|
609
|
+
type CheckboxProps = React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
|
|
610
|
+
/**
|
|
611
|
+
* Accessible binary selection control built upon Radix UI Checkbox.
|
|
612
|
+
* Supports checked, unchecked, and indeterminate states with smooth micro-animations.
|
|
613
|
+
* Pure CSS with zero runtime Tailwind dependencies.
|
|
614
|
+
*
|
|
615
|
+
* @example
|
|
616
|
+
* ```tsx
|
|
617
|
+
* // Basic checkbox with associated label
|
|
618
|
+
* <div className="flex items-center gap-2">
|
|
619
|
+
* <Checkbox id="terms" checked={agreed} onCheckedChange={setAgreed} />
|
|
620
|
+
* <Label htmlFor="terms">Accept terms and conditions</Label>
|
|
621
|
+
* </div>
|
|
622
|
+
*
|
|
623
|
+
* // Disabled checkbox
|
|
624
|
+
* <Checkbox disabled checked />
|
|
625
|
+
* ```
|
|
626
|
+
*/
|
|
246
627
|
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
247
628
|
|
|
629
|
+
type CollapsibleProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Root>;
|
|
630
|
+
/**
|
|
631
|
+
* An interactive component which expands and collapses a panel.
|
|
632
|
+
*
|
|
633
|
+
* @example
|
|
634
|
+
* ```tsx
|
|
635
|
+
* <Collapsible open={isOpen} onOpenChange={setIsOpen}>
|
|
636
|
+
* <CollapsibleTrigger asChild>
|
|
637
|
+
* <Button variant="ghost">Toggle Details</Button>
|
|
638
|
+
* </CollapsibleTrigger>
|
|
639
|
+
* <CollapsibleContent>
|
|
640
|
+
* <div>Hidden details revealed here.</div>
|
|
641
|
+
* </CollapsibleContent>
|
|
642
|
+
* </Collapsible>
|
|
643
|
+
* ```
|
|
644
|
+
*/
|
|
248
645
|
declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
646
|
+
type CollapsibleTriggerProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.CollapsibleTrigger>;
|
|
647
|
+
/**
|
|
648
|
+
* The trigger button that toggles the collapsible panel.
|
|
649
|
+
*/
|
|
249
650
|
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
651
|
+
type CollapsibleContentProps = React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.CollapsibleContent>;
|
|
652
|
+
/**
|
|
653
|
+
* The component that contains the collapsible content.
|
|
654
|
+
*/
|
|
250
655
|
declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
251
656
|
|
|
657
|
+
type CommandProps = React$1.ComponentPropsWithoutRef<typeof Command$1>;
|
|
658
|
+
/**
|
|
659
|
+
* Fast, composable, unstyled command menu component for React.
|
|
660
|
+
*
|
|
661
|
+
* @example
|
|
662
|
+
* ```tsx
|
|
663
|
+
* <Command>
|
|
664
|
+
* <CommandInput placeholder="Type a command or search..." />
|
|
665
|
+
* <CommandList>
|
|
666
|
+
* <CommandEmpty>No results found.</CommandEmpty>
|
|
667
|
+
* <CommandGroup heading="Suggestions">
|
|
668
|
+
* <CommandItem>Calendar</CommandItem>
|
|
669
|
+
* <CommandItem>Search Emoji</CommandItem>
|
|
670
|
+
* <CommandItem>Calculator</CommandItem>
|
|
671
|
+
* </CommandGroup>
|
|
672
|
+
* </CommandList>
|
|
673
|
+
* </Command>
|
|
674
|
+
* ```
|
|
675
|
+
*/
|
|
252
676
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
253
677
|
children?: React$1.ReactNode;
|
|
254
678
|
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -266,7 +690,28 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
266
690
|
disablePointerSelection?: boolean;
|
|
267
691
|
vimBindings?: boolean;
|
|
268
692
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
269
|
-
|
|
693
|
+
interface CommandDialogProps extends DialogProps {
|
|
694
|
+
children?: React$1.ReactNode;
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* Modal dialog wrapper for rendering a command palette over page content.
|
|
698
|
+
*
|
|
699
|
+
* @example
|
|
700
|
+
* ```tsx
|
|
701
|
+
* <CommandDialog open={open} onOpenChange={setOpen}>
|
|
702
|
+
* <CommandInput placeholder="Search all commands..." />
|
|
703
|
+
* <CommandList>
|
|
704
|
+
* <CommandItem>Profile</CommandItem>
|
|
705
|
+
* <CommandItem>Billing</CommandItem>
|
|
706
|
+
* </CommandList>
|
|
707
|
+
* </CommandDialog>
|
|
708
|
+
* ```
|
|
709
|
+
*/
|
|
710
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
711
|
+
type CommandInputProps = React$1.ComponentPropsWithoutRef<typeof Command$1.Input>;
|
|
712
|
+
/**
|
|
713
|
+
* Search input field for filtering options in a command list.
|
|
714
|
+
*/
|
|
270
715
|
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
|
|
271
716
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
272
717
|
} & {
|
|
@@ -275,6 +720,10 @@ declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pic
|
|
|
275
720
|
value?: string;
|
|
276
721
|
onValueChange?: (search: string) => void;
|
|
277
722
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
723
|
+
type CommandListProps = React$1.ComponentPropsWithoutRef<typeof Command$1.List>;
|
|
724
|
+
/**
|
|
725
|
+
* Scrollable list container that renders filtered items and groups.
|
|
726
|
+
*/
|
|
278
727
|
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
279
728
|
children?: React$1.ReactNode;
|
|
280
729
|
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -284,6 +733,10 @@ declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
284
733
|
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
285
734
|
label?: string;
|
|
286
735
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
736
|
+
type CommandEmptyProps = React$1.ComponentPropsWithoutRef<typeof Command$1.Empty>;
|
|
737
|
+
/**
|
|
738
|
+
* Message shown automatically when no items match the command search filter.
|
|
739
|
+
*/
|
|
287
740
|
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
288
741
|
children?: React$1.ReactNode;
|
|
289
742
|
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -291,6 +744,10 @@ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
291
744
|
} & {
|
|
292
745
|
asChild?: boolean;
|
|
293
746
|
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
747
|
+
type CommandGroupProps = React$1.ComponentPropsWithoutRef<typeof Command$1.Group>;
|
|
748
|
+
/**
|
|
749
|
+
* Grouping container for related command items with an optional heading label.
|
|
750
|
+
*/
|
|
294
751
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
295
752
|
children?: React$1.ReactNode;
|
|
296
753
|
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -302,6 +759,10 @@ declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
302
759
|
value?: string;
|
|
303
760
|
forceMount?: boolean;
|
|
304
761
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
762
|
+
type CommandSeparatorProps = React$1.ComponentPropsWithoutRef<typeof Command$1.Separator>;
|
|
763
|
+
/**
|
|
764
|
+
* Divider separating groups or sections within a command list.
|
|
765
|
+
*/
|
|
305
766
|
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
306
767
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
307
768
|
} & {
|
|
@@ -309,6 +770,10 @@ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick
|
|
|
309
770
|
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
310
771
|
alwaysRender?: boolean;
|
|
311
772
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
773
|
+
type CommandItemProps = React$1.ComponentPropsWithoutRef<typeof Command$1.Item>;
|
|
774
|
+
/**
|
|
775
|
+
* Selectable command item with keyboard navigation and focus styling.
|
|
776
|
+
*/
|
|
312
777
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
313
778
|
children?: React$1.ReactNode;
|
|
314
779
|
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
@@ -322,51 +787,242 @@ declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
322
787
|
keywords?: string[];
|
|
323
788
|
forceMount?: boolean;
|
|
324
789
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
790
|
+
type CommandShortcutProps = React$1.HTMLAttributes<HTMLSpanElement>;
|
|
791
|
+
/**
|
|
792
|
+
* Visual badge displaying a keyboard shortcut associated with a command item.
|
|
793
|
+
*/
|
|
325
794
|
declare const CommandShortcut: {
|
|
326
|
-
({ className, ...props }:
|
|
795
|
+
({ className, ...props }: CommandShortcutProps): react_jsx_runtime.JSX.Element;
|
|
327
796
|
displayName: string;
|
|
328
797
|
};
|
|
329
798
|
|
|
799
|
+
interface ConfirmDialogProps {
|
|
800
|
+
/** Whether the confirmation dialog is visible */
|
|
801
|
+
open: boolean;
|
|
802
|
+
/** Callback fired when the open state changes */
|
|
803
|
+
onOpenChange: (open: boolean) => void;
|
|
804
|
+
/** Modal header title */
|
|
805
|
+
title: string;
|
|
806
|
+
/** Detailed description or warning message */
|
|
807
|
+
description: string;
|
|
808
|
+
/** Action executed when the confirm button is clicked */
|
|
809
|
+
onConfirm: () => void;
|
|
810
|
+
/** Custom text for confirm button (default: "Confirm") */
|
|
811
|
+
confirmText?: string;
|
|
812
|
+
/** Custom text for cancel button (default: "Cancel") */
|
|
813
|
+
cancelText?: string;
|
|
814
|
+
/** Whether the confirmed action is destructive (renders red confirm button) */
|
|
815
|
+
destructive?: boolean;
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* Pre-composed modal dialog for confirming critical, permanent, or destructive user actions.
|
|
819
|
+
*
|
|
820
|
+
* @example
|
|
821
|
+
* ```tsx
|
|
822
|
+
* <ConfirmDialog
|
|
823
|
+
* open={showDeleteModal}
|
|
824
|
+
* onOpenChange={setShowDeleteModal}
|
|
825
|
+
* title="Delete Agent Workspace?"
|
|
826
|
+
* description="This will permanently delete the agent workspace and all historical runs."
|
|
827
|
+
* confirmText="Delete Workspace"
|
|
828
|
+
* destructive
|
|
829
|
+
* onConfirm={handleDelete}
|
|
830
|
+
* />
|
|
831
|
+
* ```
|
|
832
|
+
*/
|
|
833
|
+
declare function ConfirmDialog({ open, onOpenChange, title, description, onConfirm, confirmText, cancelText, destructive, }: ConfirmDialogProps): react_jsx_runtime.JSX.Element;
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Root ContextMenu container.
|
|
837
|
+
*
|
|
838
|
+
* @example
|
|
839
|
+
* ```tsx
|
|
840
|
+
* <ContextMenu>
|
|
841
|
+
* <ContextMenuTrigger className="flex h-[150px] w-[300px] items-center justify-center rounded-md border border-dashed text-sm">
|
|
842
|
+
* Right click here
|
|
843
|
+
* </ContextMenuTrigger>
|
|
844
|
+
* <ContextMenuContent>
|
|
845
|
+
* <ContextMenuItem>Back</ContextMenuItem>
|
|
846
|
+
* <ContextMenuItem>Forward</ContextMenuItem>
|
|
847
|
+
* <ContextMenuItem>Reload</ContextMenuItem>
|
|
848
|
+
* </ContextMenuContent>
|
|
849
|
+
* </ContextMenu>
|
|
850
|
+
* ```
|
|
851
|
+
*/
|
|
330
852
|
declare const ContextMenu: React$1.FC<ContextMenuPrimitive.ContextMenuProps>;
|
|
853
|
+
/**
|
|
854
|
+
* The area that triggers the context menu on right click or long press.
|
|
855
|
+
*/
|
|
331
856
|
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
857
|
+
/**
|
|
858
|
+
* Group of related context menu items.
|
|
859
|
+
*/
|
|
332
860
|
declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
861
|
+
/**
|
|
862
|
+
* Portal rendering the context menu in the document body.
|
|
863
|
+
*/
|
|
333
864
|
declare const ContextMenuPortal: React$1.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
|
|
865
|
+
/**
|
|
866
|
+
* Submenu container within a context menu.
|
|
867
|
+
*/
|
|
334
868
|
declare const ContextMenuSub: React$1.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
869
|
+
/**
|
|
870
|
+
* Radio group container for mutually exclusive context options.
|
|
871
|
+
*/
|
|
335
872
|
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
873
|
+
type ContextMenuSubTriggerProps = React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
874
|
+
inset?: boolean;
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
* Trigger item for opening a nested context submenu.
|
|
878
|
+
*/
|
|
336
879
|
declare const ContextMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
337
880
|
inset?: boolean;
|
|
338
881
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
882
|
+
type ContextMenuSubContentProps = React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.SubContent>;
|
|
883
|
+
/**
|
|
884
|
+
* Content container for a nested context submenu.
|
|
885
|
+
*/
|
|
339
886
|
declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
887
|
+
type ContextMenuContentProps = React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>;
|
|
888
|
+
/**
|
|
889
|
+
* Floating content panel containing context menu items.
|
|
890
|
+
*/
|
|
340
891
|
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
892
|
+
type ContextMenuItemProps = React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item> & {
|
|
893
|
+
inset?: boolean;
|
|
894
|
+
};
|
|
895
|
+
/**
|
|
896
|
+
* Selectable item within a context menu.
|
|
897
|
+
*/
|
|
341
898
|
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
342
899
|
inset?: boolean;
|
|
343
900
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
901
|
+
type ContextMenuCheckboxItemProps = React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.CheckboxItem>;
|
|
902
|
+
/**
|
|
903
|
+
* Checkbox menu item supporting checked/unchecked toggle state in a context menu.
|
|
904
|
+
*/
|
|
344
905
|
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
906
|
+
type ContextMenuRadioItemProps = React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.RadioItem>;
|
|
907
|
+
/**
|
|
908
|
+
* Radio menu item supporting mutual exclusion in a ContextMenuRadioGroup.
|
|
909
|
+
*/
|
|
345
910
|
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
911
|
+
type ContextMenuLabelProps = React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Label> & {
|
|
912
|
+
inset?: boolean;
|
|
913
|
+
};
|
|
914
|
+
/**
|
|
915
|
+
* Header label for grouping context menu items.
|
|
916
|
+
*/
|
|
346
917
|
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
347
918
|
inset?: boolean;
|
|
348
919
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
920
|
+
type ContextMenuSeparatorProps = React$1.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Separator>;
|
|
921
|
+
/**
|
|
922
|
+
* Horizontal rule separating sections within a context menu.
|
|
923
|
+
*/
|
|
349
924
|
declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
925
|
+
type ContextMenuShortcutProps = React$1.HTMLAttributes<HTMLSpanElement>;
|
|
926
|
+
/**
|
|
927
|
+
* Keyboard shortcut hint displayed at the trailing end of a context menu item.
|
|
928
|
+
*/
|
|
350
929
|
declare const ContextMenuShortcut: {
|
|
351
|
-
({ className, ...props }:
|
|
930
|
+
({ className, ...props }: ContextMenuShortcutProps): react_jsx_runtime.JSX.Element;
|
|
352
931
|
displayName: string;
|
|
353
932
|
};
|
|
354
933
|
|
|
934
|
+
interface DatePickerProps {
|
|
935
|
+
/**
|
|
936
|
+
* The selected date formatted as an ISO string (`YYYY-MM-DD`).
|
|
937
|
+
*/
|
|
938
|
+
value?: string;
|
|
939
|
+
/**
|
|
940
|
+
* Callback fired when a date is selected or cleared.
|
|
941
|
+
* @param value - The new date string in `YYYY-MM-DD` format, or empty string if cleared.
|
|
942
|
+
*/
|
|
943
|
+
onChange?: (value: string) => void;
|
|
944
|
+
/**
|
|
945
|
+
* Placeholder label rendered when no date is selected.
|
|
946
|
+
* @default "Pick a date"
|
|
947
|
+
*/
|
|
948
|
+
placeholder?: string;
|
|
949
|
+
/**
|
|
950
|
+
* Optional custom CSS class name for the trigger button.
|
|
951
|
+
*/
|
|
952
|
+
className?: string;
|
|
953
|
+
/**
|
|
954
|
+
* Disables user interaction with the date picker.
|
|
955
|
+
*/
|
|
956
|
+
disabled?: boolean;
|
|
957
|
+
}
|
|
958
|
+
/**
|
|
959
|
+
* Accessible date picker component featuring an interactive popover calendar.
|
|
960
|
+
* Formats dates safely in local timezone to prevent UTC day-shifting.
|
|
961
|
+
* Pure CSS with zero runtime Tailwind dependencies.
|
|
962
|
+
*
|
|
963
|
+
* @example
|
|
964
|
+
* ```tsx
|
|
965
|
+
* const [date, setDate] = useState("2026-09-25");
|
|
966
|
+
*
|
|
967
|
+
* <DatePicker
|
|
968
|
+
* value={date}
|
|
969
|
+
* onChange={setDate}
|
|
970
|
+
* placeholder="Select appointment date"
|
|
971
|
+
* />
|
|
972
|
+
* ```
|
|
973
|
+
*/
|
|
974
|
+
declare function DatePicker({ value, onChange, placeholder, className, disabled, }: DatePickerProps): react_jsx_runtime.JSX.Element;
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* Root container for accessible modal dialog windows. Built upon Radix UI Dialog.
|
|
978
|
+
*
|
|
979
|
+
* @example
|
|
980
|
+
* ```tsx
|
|
981
|
+
* <Dialog open={isOpen} onOpenChange={setIsOpen}>
|
|
982
|
+
* <DialogTrigger asChild>
|
|
983
|
+
* <Button variant="outline">Open Settings</Button>
|
|
984
|
+
* </DialogTrigger>
|
|
985
|
+
* <DialogContent>
|
|
986
|
+
* <DialogHeader>
|
|
987
|
+
* <DialogTitle>Account Settings</DialogTitle>
|
|
988
|
+
* <DialogDescription>Manage your workspace credentials.</DialogDescription>
|
|
989
|
+
* </DialogHeader>
|
|
990
|
+
* <div className="py-4">Dialog body content here...</div>
|
|
991
|
+
* <DialogFooter>
|
|
992
|
+
* <Button onClick={() => setIsOpen(false)}>Save changes</Button>
|
|
993
|
+
* </DialogFooter>
|
|
994
|
+
* </DialogContent>
|
|
995
|
+
* </Dialog>
|
|
996
|
+
* ```
|
|
997
|
+
*/
|
|
355
998
|
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
999
|
+
/** Button or trigger element that opens the dialog modal. */
|
|
356
1000
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1001
|
+
/** Portals dialog content to the end of document.body for clean stacking context. */
|
|
357
1002
|
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
1003
|
+
/** Button that closes the open dialog. */
|
|
358
1004
|
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1005
|
+
type DialogOverlayProps = React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
1006
|
+
/** Semi-transparent backdrop overlay rendered beneath the dialog modal. */
|
|
359
1007
|
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1008
|
+
type DialogContentProps = React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Modal content container. Renders overlay, content card, and accessible close button.
|
|
1011
|
+
*/
|
|
360
1012
|
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1013
|
+
/** Top container of the dialog for title and description. */
|
|
361
1014
|
declare const DialogHeader: {
|
|
362
1015
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
363
1016
|
displayName: string;
|
|
364
1017
|
};
|
|
1018
|
+
/** Bottom container of the dialog for action buttons. */
|
|
365
1019
|
declare const DialogFooter: {
|
|
366
1020
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
367
1021
|
displayName: string;
|
|
368
1022
|
};
|
|
1023
|
+
/** Accessible title heading for the dialog modal. */
|
|
369
1024
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1025
|
+
/** Accessible explanatory text for the dialog content. */
|
|
370
1026
|
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
371
1027
|
|
|
372
1028
|
declare const Drawer: {
|
|
@@ -389,33 +1045,119 @@ declare const DrawerFooter: {
|
|
|
389
1045
|
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
390
1046
|
declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
391
1047
|
|
|
1048
|
+
/**
|
|
1049
|
+
* Root DropdownMenu container managing open/closed state.
|
|
1050
|
+
*
|
|
1051
|
+
* @example
|
|
1052
|
+
* ```tsx
|
|
1053
|
+
* <DropdownMenu>
|
|
1054
|
+
* <DropdownMenuTrigger asChild>
|
|
1055
|
+
* <Button variant="outline">Open Menu</Button>
|
|
1056
|
+
* </DropdownMenuTrigger>
|
|
1057
|
+
* <DropdownMenuContent>
|
|
1058
|
+
* <DropdownMenuLabel>My Account</DropdownMenuLabel>
|
|
1059
|
+
* <DropdownMenuSeparator />
|
|
1060
|
+
* <DropdownMenuItem>Profile</DropdownMenuItem>
|
|
1061
|
+
* <DropdownMenuItem>Settings</DropdownMenuItem>
|
|
1062
|
+
* <DropdownMenuSeparator />
|
|
1063
|
+
* <DropdownMenuItem>Logout</DropdownMenuItem>
|
|
1064
|
+
* </DropdownMenuContent>
|
|
1065
|
+
* </DropdownMenu>
|
|
1066
|
+
* ```
|
|
1067
|
+
*/
|
|
392
1068
|
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
1069
|
+
/**
|
|
1070
|
+
* The trigger button that toggles the dropdown menu.
|
|
1071
|
+
*/
|
|
393
1072
|
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Group of related dropdown menu items.
|
|
1075
|
+
*/
|
|
394
1076
|
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Portal rendering dropdown menus in the document body.
|
|
1079
|
+
*/
|
|
395
1080
|
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
1081
|
+
/**
|
|
1082
|
+
* Submenu container within a dropdown menu.
|
|
1083
|
+
*/
|
|
396
1084
|
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
1085
|
+
/**
|
|
1086
|
+
* Radio group container for mutually exclusive dropdown options.
|
|
1087
|
+
*/
|
|
397
1088
|
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1089
|
+
type DropdownMenuSubTriggerProps = React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
1090
|
+
inset?: boolean;
|
|
1091
|
+
};
|
|
1092
|
+
/**
|
|
1093
|
+
* Trigger item for opening a nested dropdown submenu.
|
|
1094
|
+
*/
|
|
398
1095
|
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
399
1096
|
inset?: boolean;
|
|
400
1097
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1098
|
+
type DropdownMenuSubContentProps = React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>;
|
|
1099
|
+
/**
|
|
1100
|
+
* Content container for a nested dropdown submenu.
|
|
1101
|
+
*/
|
|
401
1102
|
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1103
|
+
type DropdownMenuContentProps = React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>;
|
|
1104
|
+
/**
|
|
1105
|
+
* Floating content panel containing dropdown menu items.
|
|
1106
|
+
*/
|
|
402
1107
|
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1108
|
+
type DropdownMenuItemProps = React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {
|
|
1109
|
+
inset?: boolean;
|
|
1110
|
+
};
|
|
1111
|
+
/**
|
|
1112
|
+
* Standard selectable item within a dropdown menu.
|
|
1113
|
+
*/
|
|
403
1114
|
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
404
1115
|
inset?: boolean;
|
|
405
1116
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1117
|
+
type DropdownMenuCheckboxItemProps = React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Checkbox menu item supporting checked/unchecked toggle state.
|
|
1120
|
+
*/
|
|
406
1121
|
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1122
|
+
type DropdownMenuRadioItemProps = React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>;
|
|
1123
|
+
/**
|
|
1124
|
+
* Radio menu item supporting mutual exclusion in a DropdownMenuRadioGroup.
|
|
1125
|
+
*/
|
|
407
1126
|
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
408
|
-
|
|
1127
|
+
type DropdownMenuLabelProps = React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {
|
|
409
1128
|
inset?: boolean;
|
|
410
|
-
}
|
|
411
|
-
|
|
1129
|
+
};
|
|
1130
|
+
/**
|
|
1131
|
+
* Header label for grouping items in a dropdown menu.
|
|
1132
|
+
*/
|
|
1133
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1134
|
+
inset?: boolean;
|
|
1135
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1136
|
+
type DropdownMenuSeparatorProps = React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>;
|
|
1137
|
+
/**
|
|
1138
|
+
* Horizontal rule separating sections within a dropdown menu.
|
|
1139
|
+
*/
|
|
1140
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1141
|
+
type DropdownMenuShortcutProps = React$1.HTMLAttributes<HTMLSpanElement>;
|
|
1142
|
+
/**
|
|
1143
|
+
* Keyboard shortcut hint displayed at the trailing end of a menu item.
|
|
1144
|
+
*/
|
|
412
1145
|
declare const DropdownMenuShortcut: {
|
|
413
|
-
({ className, ...props }:
|
|
1146
|
+
({ className, ...props }: DropdownMenuShortcutProps): react_jsx_runtime.JSX.Element;
|
|
414
1147
|
displayName: string;
|
|
415
1148
|
};
|
|
416
1149
|
|
|
1150
|
+
/**
|
|
1151
|
+
* Top-level form provider component wrapping react-hook-form.
|
|
1152
|
+
*/
|
|
417
1153
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getErrors, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, resetDefaultValues, handleSubmit, unregister, control, register, setFocus, subscribe, }: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
1154
|
+
/**
|
|
1155
|
+
* Controlled form field connecting input controls to form state.
|
|
1156
|
+
*/
|
|
418
1157
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
1158
|
+
/**
|
|
1159
|
+
* Custom hook to access current form field metadata, errors, and IDs.
|
|
1160
|
+
*/
|
|
419
1161
|
declare const useFormField: () => {
|
|
420
1162
|
invalid: boolean;
|
|
421
1163
|
isDirty: boolean;
|
|
@@ -428,176 +1170,732 @@ declare const useFormField: () => {
|
|
|
428
1170
|
formDescriptionId: string;
|
|
429
1171
|
formMessageId: string;
|
|
430
1172
|
};
|
|
1173
|
+
/**
|
|
1174
|
+
* Container wrapper for a single form item (label, input, description, error).
|
|
1175
|
+
*/
|
|
431
1176
|
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1177
|
+
/**
|
|
1178
|
+
* Accessible label component associated with the active form field.
|
|
1179
|
+
*/
|
|
432
1180
|
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1181
|
+
/**
|
|
1182
|
+
* Slot wrapper connecting input controls to aria attributes.
|
|
1183
|
+
*/
|
|
433
1184
|
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLElement> & {
|
|
434
1185
|
children?: React$1.ReactNode;
|
|
435
1186
|
} & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Descriptive helper text displayed beneath a form field.
|
|
1189
|
+
*/
|
|
436
1190
|
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1191
|
+
/**
|
|
1192
|
+
* Error message element displayed when field validation fails.
|
|
1193
|
+
*/
|
|
437
1194
|
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
438
1195
|
|
|
439
1196
|
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
440
1197
|
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
441
1198
|
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
442
1199
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
1200
|
+
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
1201
|
+
/**
|
|
1202
|
+
* Optional leading icon or interactive element rendered before the input text.
|
|
1203
|
+
* Automatically indents the placeholder and text to avoid overlapping.
|
|
1204
|
+
*/
|
|
1205
|
+
startIcon?: React$1.ReactNode;
|
|
1206
|
+
/**
|
|
1207
|
+
* Optional trailing icon or interactive element rendered after the input text.
|
|
1208
|
+
* Useful for clear buttons, visibility toggles, or status indicators.
|
|
1209
|
+
*/
|
|
1210
|
+
endIcon?: React$1.ReactNode;
|
|
1211
|
+
}
|
|
1212
|
+
/**
|
|
1213
|
+
* Textual input control styled with design system tokens and scoped CSS.
|
|
1214
|
+
* Provides accessible focus states, logical padding, and seamless icon integration.
|
|
1215
|
+
* Zero Tailwind runtime dependencies.
|
|
1216
|
+
*
|
|
1217
|
+
* @example
|
|
1218
|
+
* ```tsx
|
|
1219
|
+
* // Standard text input
|
|
1220
|
+
* <Input placeholder="Enter your email" type="email" />
|
|
1221
|
+
*
|
|
1222
|
+
* // Search box with built-in start icon
|
|
1223
|
+
* <Input
|
|
1224
|
+
* type="search"
|
|
1225
|
+
* placeholder="Search agents..."
|
|
1226
|
+
* startIcon={<Search className="size-4" />}
|
|
1227
|
+
* />
|
|
1228
|
+
*
|
|
1229
|
+
* // Password field with end visibility action
|
|
1230
|
+
* <Input
|
|
1231
|
+
* type={showPassword ? "text" : "password"}
|
|
1232
|
+
* placeholder="Password"
|
|
1233
|
+
* endIcon={
|
|
1234
|
+
* <button type="button" onClick={() => setShowPassword(!showPassword)}>
|
|
1235
|
+
* {showPassword ? <EyeOff /> : <Eye />}
|
|
1236
|
+
* </button>
|
|
1237
|
+
* }
|
|
1238
|
+
* />
|
|
1239
|
+
* ```
|
|
1240
|
+
*/
|
|
1241
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
1242
|
+
|
|
1243
|
+
type InputOTPProps = React$1.ComponentPropsWithoutRef<typeof OTPInput>;
|
|
1244
|
+
/**
|
|
1245
|
+
* Accessible One-Time Password (OTP) input component with pin slots and fake carets.
|
|
1246
|
+
* Built upon the `input-otp` primitive with scoped token styling.
|
|
1247
|
+
* Zero Tailwind runtime dependencies.
|
|
1248
|
+
*
|
|
1249
|
+
* @example
|
|
1250
|
+
* ```tsx
|
|
1251
|
+
* <InputOTP maxLength={6} value={value} onChange={setValue}>
|
|
1252
|
+
* <InputOTPGroup>
|
|
1253
|
+
* <InputOTPSlot index={0} />
|
|
1254
|
+
* <InputOTPSlot index={1} />
|
|
1255
|
+
* <InputOTPSlot index={2} />
|
|
1256
|
+
* </InputOTPGroup>
|
|
1257
|
+
* <InputOTPSeparator />
|
|
1258
|
+
* <InputOTPGroup>
|
|
1259
|
+
* <InputOTPSlot index={3} />
|
|
1260
|
+
* <InputOTPSlot index={4} />
|
|
1261
|
+
* <InputOTPSlot index={5} />
|
|
1262
|
+
* </InputOTPGroup>
|
|
1263
|
+
* </InputOTP>
|
|
1264
|
+
* ```
|
|
1265
|
+
*/
|
|
1266
|
+
declare const InputOTP: React$1.ForwardRefExoticComponent<InputOTPProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
1267
|
+
/** Group container for bundling adjacent OTP slots. */
|
|
472
1268
|
declare const InputOTPGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
473
|
-
|
|
1269
|
+
interface InputOTPSlotProps extends React$1.ComponentPropsWithoutRef<"div"> {
|
|
1270
|
+
/** The zero-indexed position of this character slot. */
|
|
474
1271
|
index: number;
|
|
475
|
-
}
|
|
1272
|
+
}
|
|
1273
|
+
/** Individual digit/character slot displaying user input or an animated caret. */
|
|
1274
|
+
declare const InputOTPSlot: React$1.ForwardRefExoticComponent<InputOTPSlotProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1275
|
+
/** Divider component between OTP groups. */
|
|
476
1276
|
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
477
1277
|
|
|
478
|
-
declare const
|
|
1278
|
+
declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1279
|
+
interface LabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* Accessible label component associated with input controls, checkboxes, or form fields.
|
|
1283
|
+
* Built upon Radix UI Label primitive with design token typography and disabled styling.
|
|
1284
|
+
* Zero Tailwind runtime dependencies.
|
|
1285
|
+
*
|
|
1286
|
+
* @example
|
|
1287
|
+
* ```tsx
|
|
1288
|
+
* // Associated with an Input via htmlFor
|
|
1289
|
+
* <div className="grid gap-1.5">
|
|
1290
|
+
* <Label htmlFor="email">Email address</Label>
|
|
1291
|
+
* <Input id="email" type="email" placeholder="name@company.com" />
|
|
1292
|
+
* </div>
|
|
1293
|
+
* ```
|
|
1294
|
+
*/
|
|
1295
|
+
declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
479
1296
|
|
|
480
|
-
|
|
1297
|
+
interface LoadingStateProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1298
|
+
/** Number of skeleton placeholder rows to render (default: 3) */
|
|
1299
|
+
rows?: number;
|
|
1300
|
+
/** Optional message to display along with a spinner instead of skeleton rows */
|
|
1301
|
+
message?: string;
|
|
1302
|
+
}
|
|
1303
|
+
/**
|
|
1304
|
+
* Flexible loading indicator supporting both skeleton placeholder rows and spinner modes.
|
|
1305
|
+
*
|
|
1306
|
+
* @example
|
|
1307
|
+
* ```tsx
|
|
1308
|
+
* // Skeleton row placeholder
|
|
1309
|
+
* <LoadingState rows={4} />
|
|
1310
|
+
*
|
|
1311
|
+
* // Spinner with message
|
|
1312
|
+
* <LoadingState message="Fetching agent logs..." />
|
|
1313
|
+
* ```
|
|
1314
|
+
*/
|
|
1315
|
+
declare function LoadingState({ rows, message, className, ...props }: LoadingStateProps): react_jsx_runtime.JSX.Element;
|
|
481
1316
|
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
declare function
|
|
486
|
-
|
|
1317
|
+
/**
|
|
1318
|
+
* Menu item wrapper component within a `Menubar`.
|
|
1319
|
+
*/
|
|
1320
|
+
declare function MenubarMenu(props: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
|
|
1321
|
+
/**
|
|
1322
|
+
* Group wrapper within a `Menubar`.
|
|
1323
|
+
*/
|
|
1324
|
+
declare function MenubarGroup(props: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
1325
|
+
/**
|
|
1326
|
+
* Portal wrapper rendering menubar popups to document body.
|
|
1327
|
+
*/
|
|
1328
|
+
declare function MenubarPortal(props: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
1329
|
+
/**
|
|
1330
|
+
* Radio group wrapper within a `Menubar`.
|
|
1331
|
+
*/
|
|
1332
|
+
declare function MenubarRadioGroup(props: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
1333
|
+
/**
|
|
1334
|
+
* Submenu container within a `Menubar`.
|
|
1335
|
+
*/
|
|
1336
|
+
declare function MenubarSub(props: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
1337
|
+
type MenubarProps = React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>;
|
|
1338
|
+
/**
|
|
1339
|
+
* A persistent horizontal menu bar commonly used in desktop-style web applications.
|
|
1340
|
+
*
|
|
1341
|
+
* @example
|
|
1342
|
+
* ```tsx
|
|
1343
|
+
* <Menubar>
|
|
1344
|
+
* <MenubarMenu>
|
|
1345
|
+
* <MenubarTrigger>File</MenubarTrigger>
|
|
1346
|
+
* <MenubarContent>
|
|
1347
|
+
* <MenubarItem>New Tab <MenubarShortcut>⌘T</MenubarShortcut></MenubarItem>
|
|
1348
|
+
* <MenubarItem>New Window</MenubarItem>
|
|
1349
|
+
* <MenubarSeparator />
|
|
1350
|
+
* <MenubarItem>Exit</MenubarItem>
|
|
1351
|
+
* </MenubarContent>
|
|
1352
|
+
* </MenubarMenu>
|
|
1353
|
+
* </Menubar>
|
|
1354
|
+
* ```
|
|
1355
|
+
*/
|
|
487
1356
|
declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1357
|
+
type MenubarTriggerProps = React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>;
|
|
1358
|
+
/**
|
|
1359
|
+
* The top-level menu button in the horizontal menubar row.
|
|
1360
|
+
*/
|
|
488
1361
|
declare const MenubarTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1362
|
+
type MenubarSubTriggerProps = React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & {
|
|
1363
|
+
inset?: boolean;
|
|
1364
|
+
};
|
|
1365
|
+
/**
|
|
1366
|
+
* Trigger item for opening a nested submenu inside a Menubar.
|
|
1367
|
+
*/
|
|
489
1368
|
declare const MenubarSubTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
490
1369
|
inset?: boolean;
|
|
491
1370
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1371
|
+
type MenubarSubContentProps = React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Popover content rendered when a `MenubarSubTrigger` is expanded.
|
|
1374
|
+
*/
|
|
492
1375
|
declare const MenubarSubContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1376
|
+
type MenubarContentProps = React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>;
|
|
1377
|
+
/**
|
|
1378
|
+
* Floating panel displaying items under a top-level `MenubarTrigger`.
|
|
1379
|
+
*/
|
|
493
1380
|
declare const MenubarContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1381
|
+
type MenubarItemProps = React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & {
|
|
1382
|
+
inset?: boolean;
|
|
1383
|
+
};
|
|
1384
|
+
/**
|
|
1385
|
+
* Selectable item within a Menubar menu.
|
|
1386
|
+
*/
|
|
494
1387
|
declare const MenubarItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
495
1388
|
inset?: boolean;
|
|
496
1389
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1390
|
+
type MenubarCheckboxItemProps = React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>;
|
|
1391
|
+
/**
|
|
1392
|
+
* Checkbox item within a Menubar menu.
|
|
1393
|
+
*/
|
|
497
1394
|
declare const MenubarCheckboxItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1395
|
+
type MenubarRadioItemProps = React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>;
|
|
1396
|
+
/**
|
|
1397
|
+
* Radio item within a Menubar menu.
|
|
1398
|
+
*/
|
|
498
1399
|
declare const MenubarRadioItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1400
|
+
type MenubarLabelProps = React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> & {
|
|
1401
|
+
inset?: boolean;
|
|
1402
|
+
};
|
|
1403
|
+
/**
|
|
1404
|
+
* Header label within a Menubar menu.
|
|
1405
|
+
*/
|
|
499
1406
|
declare const MenubarLabel: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
500
1407
|
inset?: boolean;
|
|
501
1408
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1409
|
+
type MenubarSeparatorProps = React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>;
|
|
1410
|
+
/**
|
|
1411
|
+
* Divider separating items within a Menubar menu.
|
|
1412
|
+
*/
|
|
502
1413
|
declare const MenubarSeparator: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1414
|
+
type MenubarShortcutProps = React$1.HTMLAttributes<HTMLSpanElement>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Visual shortcut indicator displayed at the trailing end of a Menubar item.
|
|
1417
|
+
*/
|
|
503
1418
|
declare const MenubarShortcut: {
|
|
504
|
-
({ className, ...props }:
|
|
505
|
-
|
|
1419
|
+
({ className, ...props }: MenubarShortcutProps): react_jsx_runtime.JSX.Element;
|
|
1420
|
+
displayName: string;
|
|
506
1421
|
};
|
|
507
1422
|
|
|
1423
|
+
type NavigationMenuProps = React$1.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>;
|
|
1424
|
+
/**
|
|
1425
|
+
* Responsive navigation menu with animated indicator and dropdown content panels.
|
|
1426
|
+
*
|
|
1427
|
+
* @example
|
|
1428
|
+
* ```tsx
|
|
1429
|
+
* <NavigationMenu>
|
|
1430
|
+
* <NavigationMenuList>
|
|
1431
|
+
* <NavigationMenuItem>
|
|
1432
|
+
* <NavigationMenuTrigger>Getting Started</NavigationMenuTrigger>
|
|
1433
|
+
* <NavigationMenuContent>
|
|
1434
|
+
* <ul className="grid gap-3 p-6 md:w-[400px]">
|
|
1435
|
+
* <li><a href="/intro">Introduction</a></li>
|
|
1436
|
+
* <li><a href="/install">Installation</a></li>
|
|
1437
|
+
* </ul>
|
|
1438
|
+
* </NavigationMenuContent>
|
|
1439
|
+
* </NavigationMenuItem>
|
|
1440
|
+
* <NavigationMenuItem>
|
|
1441
|
+
* <NavigationMenuLink href="/docs">Documentation</NavigationMenuLink>
|
|
1442
|
+
* </NavigationMenuItem>
|
|
1443
|
+
* </NavigationMenuList>
|
|
1444
|
+
* </NavigationMenu>
|
|
1445
|
+
* ```
|
|
1446
|
+
*/
|
|
508
1447
|
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
1448
|
+
type NavigationMenuListProps = React$1.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>;
|
|
1449
|
+
/**
|
|
1450
|
+
* List container (`<ul>`) holding top-level navigation menu items.
|
|
1451
|
+
*/
|
|
509
1452
|
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1453
|
+
/**
|
|
1454
|
+
* Individual navigation menu item wrapper (`<li>`).
|
|
1455
|
+
*/
|
|
510
1456
|
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
511
1457
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1458
|
+
type NavigationMenuTriggerProps = React$1.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>;
|
|
1459
|
+
/**
|
|
1460
|
+
* Trigger button that reveals submenu content for a navigation item.
|
|
1461
|
+
*/
|
|
512
1462
|
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1463
|
+
type NavigationMenuContentProps = React$1.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>;
|
|
1464
|
+
/**
|
|
1465
|
+
* Dropdown panel content associated with a `NavigationMenuTrigger`.
|
|
1466
|
+
*/
|
|
513
1467
|
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1468
|
+
/**
|
|
1469
|
+
* Navigational link rendered within a navigation menu.
|
|
1470
|
+
*/
|
|
514
1471
|
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1472
|
+
type NavigationMenuViewportProps = React$1.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>;
|
|
1473
|
+
/**
|
|
1474
|
+
* Animated viewport container where active menu dropdown content is positioned.
|
|
1475
|
+
*/
|
|
515
1476
|
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1477
|
+
type NavigationMenuIndicatorProps = React$1.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>;
|
|
1478
|
+
/**
|
|
1479
|
+
* Indicator arrow pointing to the currently active navigation trigger.
|
|
1480
|
+
*/
|
|
516
1481
|
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
517
1482
|
|
|
1483
|
+
type PaginationProps = React$1.ComponentProps<"nav">;
|
|
1484
|
+
/**
|
|
1485
|
+
* Accessible navigation container for paginated content.
|
|
1486
|
+
*
|
|
1487
|
+
* @example
|
|
1488
|
+
* ```tsx
|
|
1489
|
+
* <Pagination>
|
|
1490
|
+
* <PaginationContent>
|
|
1491
|
+
* <PaginationItem>
|
|
1492
|
+
* <PaginationPrevious href="#" />
|
|
1493
|
+
* </PaginationItem>
|
|
1494
|
+
* <PaginationItem>
|
|
1495
|
+
* <PaginationLink href="#" isActive>1</PaginationLink>
|
|
1496
|
+
* </PaginationItem>
|
|
1497
|
+
* <PaginationItem>
|
|
1498
|
+
* <PaginationLink href="#">2</PaginationLink>
|
|
1499
|
+
* </PaginationItem>
|
|
1500
|
+
* <PaginationItem>
|
|
1501
|
+
* <PaginationEllipsis />
|
|
1502
|
+
* </PaginationItem>
|
|
1503
|
+
* <PaginationItem>
|
|
1504
|
+
* <PaginationNext href="#" />
|
|
1505
|
+
* </PaginationItem>
|
|
1506
|
+
* </PaginationContent>
|
|
1507
|
+
* </Pagination>
|
|
1508
|
+
* ```
|
|
1509
|
+
*/
|
|
518
1510
|
declare const Pagination: {
|
|
519
|
-
({ className, ...props }:
|
|
1511
|
+
({ className, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
520
1512
|
displayName: string;
|
|
521
1513
|
};
|
|
1514
|
+
type PaginationContentProps = React$1.ComponentProps<"ul">;
|
|
1515
|
+
/**
|
|
1516
|
+
* List container (`<ul>`) holding pagination links and items.
|
|
1517
|
+
*/
|
|
522
1518
|
declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1519
|
+
type PaginationItemProps = React$1.ComponentProps<"li">;
|
|
1520
|
+
/**
|
|
1521
|
+
* List item (`<li>`) wrapper for individual pagination controls.
|
|
1522
|
+
*/
|
|
523
1523
|
declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
524
1524
|
type PaginationLinkProps = {
|
|
1525
|
+
/** Marks this page link as currently active */
|
|
525
1526
|
isActive?: boolean;
|
|
526
1527
|
} & Pick<ButtonProps, "size"> & React$1.ComponentProps<"a">;
|
|
1528
|
+
/**
|
|
1529
|
+
* Interactive link styled as a button for navigating between pages.
|
|
1530
|
+
*/
|
|
527
1531
|
declare const PaginationLink: {
|
|
528
1532
|
({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
529
1533
|
displayName: string;
|
|
530
1534
|
};
|
|
1535
|
+
type PaginationPreviousProps = React$1.ComponentProps<typeof PaginationLink>;
|
|
1536
|
+
/**
|
|
1537
|
+
* "Previous" page navigation link with a preceding chevron icon.
|
|
1538
|
+
*/
|
|
531
1539
|
declare const PaginationPrevious: {
|
|
532
|
-
({ className, ...props }:
|
|
1540
|
+
({ className, ...props }: PaginationPreviousProps): react_jsx_runtime.JSX.Element;
|
|
533
1541
|
displayName: string;
|
|
534
1542
|
};
|
|
1543
|
+
type PaginationNextProps = React$1.ComponentProps<typeof PaginationLink>;
|
|
1544
|
+
/**
|
|
1545
|
+
* "Next" page navigation link with a trailing chevron icon.
|
|
1546
|
+
*/
|
|
535
1547
|
declare const PaginationNext: {
|
|
536
|
-
({ className, ...props }:
|
|
1548
|
+
({ className, ...props }: PaginationNextProps): react_jsx_runtime.JSX.Element;
|
|
537
1549
|
displayName: string;
|
|
538
1550
|
};
|
|
1551
|
+
type PaginationEllipsisProps = React$1.ComponentProps<"span">;
|
|
1552
|
+
/**
|
|
1553
|
+
* Ellipsis indicator (`...`) denoting skipped pages in a pagination sequence.
|
|
1554
|
+
*/
|
|
539
1555
|
declare const PaginationEllipsis: {
|
|
540
|
-
({ className, ...props }:
|
|
1556
|
+
({ className, ...props }: PaginationEllipsisProps): react_jsx_runtime.JSX.Element;
|
|
541
1557
|
displayName: string;
|
|
542
1558
|
};
|
|
543
1559
|
|
|
1560
|
+
interface PanelProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
1561
|
+
/** Optional header title for the panel section */
|
|
1562
|
+
title?: string;
|
|
1563
|
+
/** Optional metadata node displayed adjacent to the title (e.g. status badge or actions) */
|
|
1564
|
+
meta?: React$1.ReactNode;
|
|
1565
|
+
}
|
|
1566
|
+
/**
|
|
1567
|
+
* Panel container component for structured dashboard sections, sidebars, and grouped content.
|
|
1568
|
+
*
|
|
1569
|
+
* @example
|
|
1570
|
+
* ```tsx
|
|
1571
|
+
* <Panel title="Agent Metrics" meta={<Badge>Active</Badge>}>
|
|
1572
|
+
* <p>Real-time execution analytics.</p>
|
|
1573
|
+
* </Panel>
|
|
1574
|
+
* ```
|
|
1575
|
+
*/
|
|
1576
|
+
declare const Panel: React$1.ForwardRefExoticComponent<PanelProps & React$1.RefAttributes<HTMLElement>>;
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* Root container for non-modal floating panels and flyouts. Built upon Radix UI Popover.
|
|
1580
|
+
*
|
|
1581
|
+
* @example
|
|
1582
|
+
* ```tsx
|
|
1583
|
+
* <Popover>
|
|
1584
|
+
* <PopoverTrigger asChild>
|
|
1585
|
+
* <Button variant="outline">Open Filters</Button>
|
|
1586
|
+
* </PopoverTrigger>
|
|
1587
|
+
* <PopoverContent align="start" className="w-80">
|
|
1588
|
+
* <div className="grid gap-2">
|
|
1589
|
+
* <h4 className="font-semibold text-sm">Filter Results</h4>
|
|
1590
|
+
* <p className="text-xs text-muted-foreground">Adjust display criteria.</p>
|
|
1591
|
+
* </div>
|
|
1592
|
+
* </PopoverContent>
|
|
1593
|
+
* </Popover>
|
|
1594
|
+
* ```
|
|
1595
|
+
*/
|
|
544
1596
|
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
1597
|
+
/** Interactive trigger element that opens the popover. */
|
|
545
1598
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1599
|
+
/** Optional custom anchor reference element for positioning the popover. */
|
|
546
1600
|
declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1601
|
+
type PopoverContentProps = React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>;
|
|
1602
|
+
/**
|
|
1603
|
+
* Floating panel content for Popover styled with scoped `dl-popover` CSS tokens.
|
|
1604
|
+
*/
|
|
547
1605
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
548
1606
|
|
|
1607
|
+
type ProgressProps = React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>;
|
|
1608
|
+
/**
|
|
1609
|
+
* Progress indicator component for displaying task completion or loading state.
|
|
1610
|
+
*
|
|
1611
|
+
* @example
|
|
1612
|
+
* ```tsx
|
|
1613
|
+
* <Progress value={65} className="w-[60%]" />
|
|
1614
|
+
* ```
|
|
1615
|
+
*/
|
|
549
1616
|
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
550
1617
|
|
|
1618
|
+
type RadioGroupProps = React$1.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;
|
|
1619
|
+
/**
|
|
1620
|
+
* RadioGroup container component managing a set of mutually exclusive radio options.
|
|
1621
|
+
* Built upon Radix UI RadioGroup with pure scoped CSS.
|
|
1622
|
+
*
|
|
1623
|
+
* @example
|
|
1624
|
+
* ```tsx
|
|
1625
|
+
* <RadioGroup defaultValue="monthly" onValueChange={setBillingCycle}>
|
|
1626
|
+
* <div className="flex items-center gap-2">
|
|
1627
|
+
* <RadioGroupItem value="monthly" id="r1" />
|
|
1628
|
+
* <Label htmlFor="r1">Monthly Billing</Label>
|
|
1629
|
+
* </div>
|
|
1630
|
+
* <div className="flex items-center gap-2">
|
|
1631
|
+
* <RadioGroupItem value="annual" id="r2" />
|
|
1632
|
+
* <Label htmlFor="r2">Annual Billing (Save 20%)</Label>
|
|
1633
|
+
* </div>
|
|
1634
|
+
* </RadioGroup>
|
|
1635
|
+
* ```
|
|
1636
|
+
*/
|
|
551
1637
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1638
|
+
type RadioGroupItemProps = React$1.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;
|
|
1639
|
+
/**
|
|
1640
|
+
* Individual radio option item within a RadioGroup.
|
|
1641
|
+
*/
|
|
552
1642
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
553
1643
|
|
|
554
|
-
|
|
1644
|
+
type ResizablePanelGroupProps = React$1.ComponentProps<typeof Group>;
|
|
1645
|
+
/**
|
|
1646
|
+
* Container component managing resizable panel layouts.
|
|
1647
|
+
*
|
|
1648
|
+
* @example
|
|
1649
|
+
* ```tsx
|
|
1650
|
+
* <ResizablePanelGroup direction="horizontal">
|
|
1651
|
+
* <ResizablePanel defaultSize={50}>Left Content</ResizablePanel>
|
|
1652
|
+
* <ResizableHandle withHandle />
|
|
1653
|
+
* <ResizablePanel defaultSize={50}>Right Content</ResizablePanel>
|
|
1654
|
+
* </ResizablePanelGroup>
|
|
1655
|
+
* ```
|
|
1656
|
+
*/
|
|
1657
|
+
declare const ResizablePanelGroup: ({ className, ...props }: ResizablePanelGroupProps) => react_jsx_runtime.JSX.Element;
|
|
1658
|
+
type ResizablePanelProps = React$1.ComponentProps<typeof Panel$1>;
|
|
1659
|
+
/**
|
|
1660
|
+
* Individual resizable panel section within a `ResizablePanelGroup`.
|
|
1661
|
+
*/
|
|
555
1662
|
declare const ResizablePanel: typeof Panel$1;
|
|
556
|
-
|
|
1663
|
+
type ResizableHandleProps = React$1.ComponentProps<typeof Separator$1> & {
|
|
1664
|
+
/** Renders a visual draggable grip icon inside the handle */
|
|
557
1665
|
withHandle?: boolean;
|
|
558
|
-
}
|
|
1666
|
+
};
|
|
1667
|
+
/**
|
|
1668
|
+
* Drag handle divider placed between resizable panels.
|
|
1669
|
+
*/
|
|
1670
|
+
declare const ResizableHandle: ({ withHandle, className, ...props }: ResizableHandleProps) => react_jsx_runtime.JSX.Element;
|
|
559
1671
|
|
|
1672
|
+
type ScrollAreaProps = React$1.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root>;
|
|
1673
|
+
/**
|
|
1674
|
+
* Custom scrollable area component with styled cross-browser scrollbars.
|
|
1675
|
+
*
|
|
1676
|
+
* @example
|
|
1677
|
+
* ```tsx
|
|
1678
|
+
* <ScrollArea className="h-72 w-48 rounded-md border">
|
|
1679
|
+
* <div className="p-4">
|
|
1680
|
+
* {items.map((item) => (
|
|
1681
|
+
* <div key={item.id}>{item.name}</div>
|
|
1682
|
+
* ))}
|
|
1683
|
+
* </div>
|
|
1684
|
+
* </ScrollArea>
|
|
1685
|
+
* ```
|
|
1686
|
+
*/
|
|
560
1687
|
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1688
|
+
type ScrollBarProps = React$1.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>;
|
|
1689
|
+
/**
|
|
1690
|
+
* ScrollBar track and thumb component supporting vertical and horizontal orientations.
|
|
1691
|
+
*/
|
|
561
1692
|
declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
562
1693
|
|
|
1694
|
+
/**
|
|
1695
|
+
* Option item structure for `SearchableSelect`.
|
|
1696
|
+
*/
|
|
1697
|
+
interface SearchableSelectOption {
|
|
1698
|
+
/** The human-readable text label */
|
|
1699
|
+
label: string;
|
|
1700
|
+
/** The unique value identifier */
|
|
1701
|
+
value: string;
|
|
1702
|
+
/** Optional grouping category */
|
|
1703
|
+
group?: string;
|
|
1704
|
+
/** Optional icon identifier */
|
|
1705
|
+
icon?: string;
|
|
1706
|
+
}
|
|
1707
|
+
/**
|
|
1708
|
+
* Props for `SearchableSelect`.
|
|
1709
|
+
*/
|
|
1710
|
+
interface SearchableSelectProps {
|
|
1711
|
+
/** List of selectable options */
|
|
1712
|
+
options: SearchableSelectOption[];
|
|
1713
|
+
/** Currently selected value */
|
|
1714
|
+
value?: string;
|
|
1715
|
+
/** Callback fired when an option is selected */
|
|
1716
|
+
onChange?: (value: string) => void;
|
|
1717
|
+
/** Placeholder text when nothing is selected */
|
|
1718
|
+
placeholder?: string;
|
|
1719
|
+
/** Search input placeholder text */
|
|
1720
|
+
searchPlaceholder?: string;
|
|
1721
|
+
/** Callback fired when the user adds a new custom option */
|
|
1722
|
+
onAddNew?: (searchQuery: string) => void;
|
|
1723
|
+
/** Custom label for the add-new button */
|
|
1724
|
+
addNewLabel?: string;
|
|
1725
|
+
/** Whether the select dropdown is disabled */
|
|
1726
|
+
disabled?: boolean;
|
|
1727
|
+
/** Additional CSS class names */
|
|
1728
|
+
className?: string;
|
|
1729
|
+
/** Unique HTML id attribute */
|
|
1730
|
+
id?: string;
|
|
1731
|
+
}
|
|
1732
|
+
/**
|
|
1733
|
+
* Searchable select component with live filtering, keyboard navigation, option grouping,
|
|
1734
|
+
* and optional creation of new entries.
|
|
1735
|
+
*
|
|
1736
|
+
* @example
|
|
1737
|
+
* ```tsx
|
|
1738
|
+
* <SearchableSelect
|
|
1739
|
+
* options={[
|
|
1740
|
+
* { label: "Claude 3.5 Sonnet", value: "anthropic/claude-3-5-sonnet" },
|
|
1741
|
+
* { label: "GPT-4o", value: "openai/gpt-4o" },
|
|
1742
|
+
* ]}
|
|
1743
|
+
* value={selectedModel}
|
|
1744
|
+
* onChange={setSelectedModel}
|
|
1745
|
+
* placeholder="Choose model..."
|
|
1746
|
+
* />
|
|
1747
|
+
* ```
|
|
1748
|
+
*/
|
|
1749
|
+
declare function SearchableSelect({ options, value, onChange, placeholder, searchPlaceholder, onAddNew, addNewLabel, disabled, className, id, }: SearchableSelectProps): react_jsx_runtime.JSX.Element;
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* Root container for accessible custom dropdown selection. Built on Radix UI Select.
|
|
1753
|
+
*
|
|
1754
|
+
* @example
|
|
1755
|
+
* ```tsx
|
|
1756
|
+
* <Select value={country} onValueChange={setCountry}>
|
|
1757
|
+
* <SelectTrigger className="w-[180px]">
|
|
1758
|
+
* <SelectValue placeholder="Select country" />
|
|
1759
|
+
* </SelectTrigger>
|
|
1760
|
+
* <SelectContent>
|
|
1761
|
+
* <SelectItem value="us">United States</SelectItem>
|
|
1762
|
+
* <SelectItem value="de">Germany</SelectItem>
|
|
1763
|
+
* <SelectItem value="jp">Japan</SelectItem>
|
|
1764
|
+
* </SelectContent>
|
|
1765
|
+
* </Select>
|
|
1766
|
+
* ```
|
|
1767
|
+
*/
|
|
563
1768
|
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
1769
|
+
/** Groups related items within a Select dropdown menu. */
|
|
564
1770
|
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1771
|
+
/** Displays the currently selected value or a fallback placeholder. */
|
|
565
1772
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1773
|
+
type SelectTriggerProps = React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>;
|
|
1774
|
+
/**
|
|
1775
|
+
* Interactive button that toggles the Select dropdown menu open and closed.
|
|
1776
|
+
*/
|
|
566
1777
|
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
567
1778
|
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
568
1779
|
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1780
|
+
type SelectContentProps = React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>;
|
|
1781
|
+
/**
|
|
1782
|
+
* Dropdown popover containing list items, groups, and labels.
|
|
1783
|
+
*/
|
|
569
1784
|
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1785
|
+
/** Header label for grouping items in a Select dropdown. */
|
|
570
1786
|
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1787
|
+
type SelectItemProps = React$1.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>;
|
|
1788
|
+
/**
|
|
1789
|
+
* Individual selectable option inside a Select menu.
|
|
1790
|
+
*/
|
|
571
1791
|
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1792
|
+
/** Visual separator dividing groups or sections in a Select menu. */
|
|
572
1793
|
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
573
1794
|
|
|
1795
|
+
type SeparatorProps = React$1.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>;
|
|
1796
|
+
/**
|
|
1797
|
+
* Visual or semantic divider between elements, supporting horizontal and vertical orientations.
|
|
1798
|
+
*
|
|
1799
|
+
* @example
|
|
1800
|
+
* ```tsx
|
|
1801
|
+
* <div>
|
|
1802
|
+
* <h4>Radix Primitives</h4>
|
|
1803
|
+
* <p>An open-source UI component library.</p>
|
|
1804
|
+
* <Separator className="my-4" />
|
|
1805
|
+
* <div className="flex h-5 items-center space-x-4">
|
|
1806
|
+
* <div>Blog</div>
|
|
1807
|
+
* <Separator orientation="vertical" />
|
|
1808
|
+
* <div>Docs</div>
|
|
1809
|
+
* </div>
|
|
1810
|
+
* </div>
|
|
1811
|
+
* ```
|
|
1812
|
+
*/
|
|
574
1813
|
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
575
1814
|
|
|
1815
|
+
/**
|
|
1816
|
+
* Root Sheet component for displaying slide-over drawers (left, right, top, bottom).
|
|
1817
|
+
* Built upon Radix UI Dialog with smooth CSS transitions.
|
|
1818
|
+
*
|
|
1819
|
+
* @example
|
|
1820
|
+
* ```tsx
|
|
1821
|
+
* <Sheet open={isOpen} onOpenChange={setIsOpen}>
|
|
1822
|
+
* <SheetTrigger asChild>
|
|
1823
|
+
* <Button variant="outline">Open Menu</Button>
|
|
1824
|
+
* </SheetTrigger>
|
|
1825
|
+
* <SheetContent side="right">
|
|
1826
|
+
* <SheetHeader>
|
|
1827
|
+
* <SheetTitle>Navigation Menu</SheetTitle>
|
|
1828
|
+
* <SheetDescription>Explore workspace features.</SheetDescription>
|
|
1829
|
+
* </SheetHeader>
|
|
1830
|
+
* <div className="py-4">Sheet navigation links...</div>
|
|
1831
|
+
* </SheetContent>
|
|
1832
|
+
* </Sheet>
|
|
1833
|
+
* ```
|
|
1834
|
+
*/
|
|
576
1835
|
declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
|
|
1836
|
+
/** Interactive trigger element that opens the slide-over sheet drawer. */
|
|
577
1837
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1838
|
+
/** Interactive button that closes the open sheet. */
|
|
578
1839
|
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1840
|
+
/** Portals sheet content to the end of document.body for clean stacking context. */
|
|
579
1841
|
declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
1842
|
+
type SheetOverlayProps = React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>;
|
|
1843
|
+
/** Semi-transparent backdrop overlay rendered beneath the sliding sheet. */
|
|
580
1844
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1845
|
+
/**
|
|
1846
|
+
* Sheet layout variants for top, bottom, left, and right side drawers.
|
|
1847
|
+
*/
|
|
581
1848
|
declare const sheetVariants: (props?: ({
|
|
582
1849
|
side?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
583
1850
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
584
1851
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
585
1852
|
}
|
|
1853
|
+
/** Content panel of the side sheet drawer. */
|
|
586
1854
|
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1855
|
+
/** Header section containing sheet title and description. */
|
|
587
1856
|
declare const SheetHeader: {
|
|
588
1857
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
589
1858
|
displayName: string;
|
|
590
1859
|
};
|
|
1860
|
+
/** Footer section containing sheet action buttons. */
|
|
591
1861
|
declare const SheetFooter: {
|
|
592
1862
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
593
1863
|
displayName: string;
|
|
594
1864
|
};
|
|
1865
|
+
/** Accessible heading title for the sheet panel. */
|
|
595
1866
|
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1867
|
+
/** Accessible explanatory text for the sheet panel. */
|
|
596
1868
|
declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
597
1869
|
|
|
1870
|
+
/** Global provider setting delay duration and hover behavior for all child Tooltips. */
|
|
598
1871
|
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1872
|
+
/**
|
|
1873
|
+
* Root container for accessible hover/focus contextual tooltips.
|
|
1874
|
+
* Built upon Radix UI Tooltip.
|
|
1875
|
+
*
|
|
1876
|
+
* @example
|
|
1877
|
+
* ```tsx
|
|
1878
|
+
* <TooltipProvider>
|
|
1879
|
+
* <Tooltip>
|
|
1880
|
+
* <TooltipTrigger asChild>
|
|
1881
|
+
* <Button variant="ghost" size="icon">
|
|
1882
|
+
* <Info />
|
|
1883
|
+
* </Button>
|
|
1884
|
+
* </TooltipTrigger>
|
|
1885
|
+
* <TooltipContent side="top">
|
|
1886
|
+
* <p>Display telemetry details</p>
|
|
1887
|
+
* </TooltipContent>
|
|
1888
|
+
* </Tooltip>
|
|
1889
|
+
* </TooltipProvider>
|
|
1890
|
+
* ```
|
|
1891
|
+
*/
|
|
599
1892
|
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
1893
|
+
/** Trigger element that displays the tooltip on hover or keyboard focus. */
|
|
600
1894
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1895
|
+
type TooltipContentProps = React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>;
|
|
1896
|
+
/**
|
|
1897
|
+
* Floating tooltip content element styled with scoped `dl-tooltip` CSS tokens.
|
|
1898
|
+
*/
|
|
601
1899
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
602
1900
|
|
|
603
1901
|
type SidebarContextProps = {
|
|
@@ -609,157 +1907,455 @@ type SidebarContextProps = {
|
|
|
609
1907
|
isMobile: boolean;
|
|
610
1908
|
toggleSidebar: () => void;
|
|
611
1909
|
};
|
|
1910
|
+
/**
|
|
1911
|
+
* Hook to access the parent Sidebar context state and controls.
|
|
1912
|
+
*/
|
|
612
1913
|
declare function useSidebar(): SidebarContextProps;
|
|
613
|
-
|
|
1914
|
+
type SidebarProviderProps = React$1.ComponentProps<"div"> & {
|
|
1915
|
+
/** Initial open state in uncontrolled mode (default: true) */
|
|
614
1916
|
defaultOpen?: boolean;
|
|
1917
|
+
/** Controlled open state */
|
|
615
1918
|
open?: boolean;
|
|
1919
|
+
/** Callback fired when open state changes */
|
|
616
1920
|
onOpenChange?: (open: boolean) => void;
|
|
617
|
-
}
|
|
618
|
-
|
|
1921
|
+
};
|
|
1922
|
+
/**
|
|
1923
|
+
* Top-level provider orchestrating sidebar state, responsive breakpoints, and keyboard shortcuts (Cmd+B / Ctrl+B).
|
|
1924
|
+
*
|
|
1925
|
+
* @example
|
|
1926
|
+
* ```tsx
|
|
1927
|
+
* <SidebarProvider>
|
|
1928
|
+
* <Sidebar>
|
|
1929
|
+
* <SidebarHeader>My App</SidebarHeader>
|
|
1930
|
+
* <SidebarContent>
|
|
1931
|
+
* <SidebarMenu>
|
|
1932
|
+
* <SidebarMenuItem>
|
|
1933
|
+
* <SidebarMenuButton>Dashboard</SidebarMenuButton>
|
|
1934
|
+
* </SidebarMenuItem>
|
|
1935
|
+
* </SidebarMenu>
|
|
1936
|
+
* </SidebarContent>
|
|
1937
|
+
* </Sidebar>
|
|
1938
|
+
* <SidebarInset>
|
|
1939
|
+
* <header><SidebarTrigger /></header>
|
|
1940
|
+
* <main>Main Page Content</main>
|
|
1941
|
+
* </SidebarInset>
|
|
1942
|
+
* </SidebarProvider>
|
|
1943
|
+
* ```
|
|
1944
|
+
*/
|
|
1945
|
+
declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<SidebarProviderProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1946
|
+
type SidebarProps = React$1.ComponentProps<"div"> & {
|
|
1947
|
+
/** Side where the sidebar is positioned (default: "left") */
|
|
619
1948
|
side?: "left" | "right";
|
|
1949
|
+
/** Sidebar variant style (default: "sidebar") */
|
|
620
1950
|
variant?: "sidebar" | "floating" | "inset";
|
|
1951
|
+
/** Collapse behavior when toggled (default: "offcanvas") */
|
|
621
1952
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
622
|
-
}
|
|
1953
|
+
};
|
|
1954
|
+
/**
|
|
1955
|
+
* Main collapsible navigation sidebar supporting floating, inset, desktop, and mobile sheet views.
|
|
1956
|
+
*/
|
|
1957
|
+
declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<SidebarProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1958
|
+
type SidebarTriggerProps = React$1.ComponentProps<typeof Button>;
|
|
1959
|
+
/**
|
|
1960
|
+
* Button trigger toggling sidebar collapsed/expanded state.
|
|
1961
|
+
*/
|
|
623
1962
|
declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1963
|
+
type SidebarRailProps = React$1.ComponentProps<"button">;
|
|
1964
|
+
/**
|
|
1965
|
+
* Hoverable/draggable rail divider on the edge of the sidebar for quick toggling.
|
|
1966
|
+
*/
|
|
624
1967
|
declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1968
|
+
type SidebarInsetProps = React$1.ComponentProps<"main">;
|
|
1969
|
+
/**
|
|
1970
|
+
* Main application container when paired with an inset or standard sidebar.
|
|
1971
|
+
*/
|
|
625
1972
|
declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
626
|
-
|
|
1973
|
+
type SidebarInputProps = React$1.ComponentProps<typeof Input>;
|
|
1974
|
+
/**
|
|
1975
|
+
* Styled text input tailored for use inside a sidebar header or filter bar.
|
|
1976
|
+
*/
|
|
1977
|
+
declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<InputProps & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
1978
|
+
type SidebarHeaderProps = React$1.ComponentProps<"div">;
|
|
1979
|
+
/**
|
|
1980
|
+
* Header section at the top of a sidebar.
|
|
1981
|
+
*/
|
|
627
1982
|
declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1983
|
+
type SidebarFooterProps = React$1.ComponentProps<"div">;
|
|
1984
|
+
/**
|
|
1985
|
+
* Footer section pinned to the bottom of a sidebar.
|
|
1986
|
+
*/
|
|
628
1987
|
declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1988
|
+
type SidebarSeparatorProps = React$1.ComponentProps<typeof Separator>;
|
|
1989
|
+
/**
|
|
1990
|
+
* Divider separating sidebar sections.
|
|
1991
|
+
*/
|
|
629
1992
|
declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1993
|
+
type SidebarContentProps = React$1.ComponentProps<"div">;
|
|
1994
|
+
/**
|
|
1995
|
+
* Scrollable middle container holding sidebar navigation groups.
|
|
1996
|
+
*/
|
|
630
1997
|
declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1998
|
+
type SidebarGroupProps = React$1.ComponentProps<"div">;
|
|
1999
|
+
/**
|
|
2000
|
+
* Section grouping related sidebar menu items.
|
|
2001
|
+
*/
|
|
631
2002
|
declare const SidebarGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
632
|
-
|
|
2003
|
+
type SidebarGroupLabelProps = React$1.ComponentProps<"div"> & {
|
|
633
2004
|
asChild?: boolean;
|
|
634
|
-
}
|
|
635
|
-
|
|
2005
|
+
};
|
|
2006
|
+
/**
|
|
2007
|
+
* Text heading or label for a `SidebarGroup`.
|
|
2008
|
+
*/
|
|
2009
|
+
declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent<Omit<SidebarGroupLabelProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2010
|
+
type SidebarGroupActionProps = React$1.ComponentProps<"button"> & {
|
|
636
2011
|
asChild?: boolean;
|
|
637
|
-
}
|
|
2012
|
+
};
|
|
2013
|
+
/**
|
|
2014
|
+
* Secondary action button placed beside a `SidebarGroupLabel` (e.g. "+" to add items).
|
|
2015
|
+
*/
|
|
2016
|
+
declare const SidebarGroupAction: React$1.ForwardRefExoticComponent<Omit<SidebarGroupActionProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2017
|
+
type SidebarGroupContentProps = React$1.ComponentProps<"div">;
|
|
2018
|
+
/**
|
|
2019
|
+
* Content container rendered inside a `SidebarGroup`.
|
|
2020
|
+
*/
|
|
638
2021
|
declare const SidebarGroupContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2022
|
+
type SidebarMenuProps = React$1.ComponentProps<"ul">;
|
|
2023
|
+
/**
|
|
2024
|
+
* Vertical list (`<ul>`) holding sidebar menu items.
|
|
2025
|
+
*/
|
|
639
2026
|
declare const SidebarMenu: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
2027
|
+
type SidebarMenuItemProps = React$1.ComponentProps<"li">;
|
|
2028
|
+
/**
|
|
2029
|
+
* List item (`<li>`) wrapper for a sidebar navigation button or link.
|
|
2030
|
+
*/
|
|
640
2031
|
declare const SidebarMenuItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
641
|
-
declare const
|
|
2032
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
2033
|
+
variant?: "default" | "outline" | null | undefined;
|
|
2034
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2035
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2036
|
+
type SidebarMenuButtonProps = React$1.ComponentProps<"button"> & {
|
|
642
2037
|
asChild?: boolean;
|
|
643
2038
|
isActive?: boolean;
|
|
644
2039
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
645
|
-
} & VariantProps<
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
declare const
|
|
2040
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>;
|
|
2041
|
+
/**
|
|
2042
|
+
* Interactive navigation button inside a sidebar menu item, with automatic tooltip in collapsed icon mode.
|
|
2043
|
+
*/
|
|
2044
|
+
declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<SidebarMenuButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2045
|
+
type SidebarMenuActionProps = React$1.ComponentProps<"button"> & {
|
|
650
2046
|
asChild?: boolean;
|
|
651
2047
|
showOnHover?: boolean;
|
|
652
|
-
}
|
|
2048
|
+
};
|
|
2049
|
+
/**
|
|
2050
|
+
* Secondary action button placed beside a sidebar menu button (e.g. "..." more options menu).
|
|
2051
|
+
*/
|
|
2052
|
+
declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<SidebarMenuActionProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2053
|
+
type SidebarMenuBadgeProps = React$1.ComponentProps<"div">;
|
|
2054
|
+
/**
|
|
2055
|
+
* Numeric or label badge placed on the right side of a sidebar menu button.
|
|
2056
|
+
*/
|
|
653
2057
|
declare const SidebarMenuBadge: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
654
|
-
|
|
2058
|
+
type SidebarMenuSkeletonProps = React$1.ComponentProps<"div"> & {
|
|
655
2059
|
showIcon?: boolean;
|
|
656
|
-
}
|
|
2060
|
+
};
|
|
2061
|
+
/**
|
|
2062
|
+
* Loading skeleton placeholder simulating a sidebar menu item.
|
|
2063
|
+
*/
|
|
2064
|
+
declare const SidebarMenuSkeleton: React$1.ForwardRefExoticComponent<Omit<SidebarMenuSkeletonProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2065
|
+
type SidebarMenuSubProps = React$1.ComponentProps<"ul">;
|
|
2066
|
+
/**
|
|
2067
|
+
* Nested sub-list container for hierarchical sidebar navigation.
|
|
2068
|
+
*/
|
|
657
2069
|
declare const SidebarMenuSub: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
2070
|
+
type SidebarMenuSubItemProps = React$1.ComponentProps<"li">;
|
|
2071
|
+
/**
|
|
2072
|
+
* Nested item wrapper inside a `SidebarMenuSub`.
|
|
2073
|
+
*/
|
|
658
2074
|
declare const SidebarMenuSubItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
659
|
-
|
|
2075
|
+
type SidebarMenuSubButtonProps = React$1.ComponentProps<"a"> & {
|
|
660
2076
|
asChild?: boolean;
|
|
661
2077
|
size?: "sm" | "md";
|
|
662
2078
|
isActive?: boolean;
|
|
663
|
-
}
|
|
2079
|
+
};
|
|
2080
|
+
/**
|
|
2081
|
+
* Navigation button/link inside a nested `SidebarMenuSub` tree.
|
|
2082
|
+
*/
|
|
2083
|
+
declare const SidebarMenuSubButton: React$1.ForwardRefExoticComponent<Omit<SidebarMenuSubButtonProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
664
2084
|
|
|
665
|
-
|
|
2085
|
+
type SkeletonProps = React$1.HTMLAttributes<HTMLDivElement>;
|
|
2086
|
+
/**
|
|
2087
|
+
* Animated placeholder component for representing content loading states.
|
|
2088
|
+
*
|
|
2089
|
+
* @example
|
|
2090
|
+
* ```tsx
|
|
2091
|
+
* <div className="flex items-center space-x-4">
|
|
2092
|
+
* <Skeleton className="h-12 w-12 rounded-full" />
|
|
2093
|
+
* <div className="space-y-2">
|
|
2094
|
+
* <Skeleton className="h-4 w-[250px]" />
|
|
2095
|
+
* <Skeleton className="h-4 w-[200px]" />
|
|
2096
|
+
* </div>
|
|
2097
|
+
* </div>
|
|
2098
|
+
* ```
|
|
2099
|
+
*/
|
|
2100
|
+
declare function Skeleton({ className, ...props }: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
666
2101
|
|
|
2102
|
+
type SliderProps = React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>;
|
|
2103
|
+
/**
|
|
2104
|
+
* Interactive slider component for selecting single numeric values or continuous ranges.
|
|
2105
|
+
* Built upon Radix UI Slider with scoped CSS track and thumb styling.
|
|
2106
|
+
* Zero Tailwind runtime dependencies.
|
|
2107
|
+
*
|
|
2108
|
+
* @example
|
|
2109
|
+
* ```tsx
|
|
2110
|
+
* // Volume slider (0 - 100)
|
|
2111
|
+
* <Slider
|
|
2112
|
+
* value={[volume]}
|
|
2113
|
+
* onValueChange={([val]) => setVolume(val)}
|
|
2114
|
+
* max={100}
|
|
2115
|
+
* step={1}
|
|
2116
|
+
* />
|
|
2117
|
+
*
|
|
2118
|
+
* // Range slider (e.g. min & max price)
|
|
2119
|
+
* <Slider
|
|
2120
|
+
* value={priceRange}
|
|
2121
|
+
* onValueChange={setPriceRange}
|
|
2122
|
+
* min={0}
|
|
2123
|
+
* max={1000}
|
|
2124
|
+
* step={10}
|
|
2125
|
+
* />
|
|
2126
|
+
* ```
|
|
2127
|
+
*/
|
|
667
2128
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
668
2129
|
|
|
669
2130
|
type ToasterProps = React$1.ComponentProps<typeof Toaster$1>;
|
|
2131
|
+
/**
|
|
2132
|
+
* Toast notification viewport container configured with `@yuva-devlab/ui` design tokens.
|
|
2133
|
+
*
|
|
2134
|
+
* @example
|
|
2135
|
+
* ```tsx
|
|
2136
|
+
* // In your root layout:
|
|
2137
|
+
* <Toaster />
|
|
2138
|
+
*
|
|
2139
|
+
* // In any component:
|
|
2140
|
+
* toast.success("Configuration saved successfully!");
|
|
2141
|
+
* toast.error("Failed to execute agent workflow.");
|
|
2142
|
+
* ```
|
|
2143
|
+
*/
|
|
670
2144
|
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
671
2145
|
|
|
2146
|
+
interface StatusBadgeProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
2147
|
+
/** The status string to display (e.g. "Active", "Operational", "Failed") */
|
|
2148
|
+
status: string;
|
|
2149
|
+
}
|
|
2150
|
+
/**
|
|
2151
|
+
* Visual status pill featuring a colored indicator dot and text label,
|
|
2152
|
+
* with automatic color mapping according to system status names.
|
|
2153
|
+
*
|
|
2154
|
+
* @example
|
|
2155
|
+
* ```tsx
|
|
2156
|
+
* <StatusBadge status="Active" />
|
|
2157
|
+
* <StatusBadge status="Failed" />
|
|
2158
|
+
* <StatusBadge status="In Progress" />
|
|
2159
|
+
* ```
|
|
2160
|
+
*/
|
|
2161
|
+
declare const StatusBadge: React$1.ForwardRefExoticComponent<StatusBadgeProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2162
|
+
|
|
2163
|
+
interface StatusChipProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
2164
|
+
/** The lowercase machine or human status key (e.g. "active", "processing", "failed") */
|
|
2165
|
+
status: string;
|
|
2166
|
+
}
|
|
2167
|
+
/**
|
|
2168
|
+
* Compact chip indicator displaying lifecycle status states with a colored indicator dot.
|
|
2169
|
+
*
|
|
2170
|
+
* @example
|
|
2171
|
+
* ```tsx
|
|
2172
|
+
* <StatusChip status="running" />
|
|
2173
|
+
* <StatusChip status="processing" />
|
|
2174
|
+
* <StatusChip status="error" />
|
|
2175
|
+
* ```
|
|
2176
|
+
*/
|
|
2177
|
+
declare const StatusChip: React$1.ForwardRefExoticComponent<StatusChipProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
2178
|
+
|
|
2179
|
+
type SwitchProps = React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;
|
|
2180
|
+
/**
|
|
2181
|
+
* Interactive toggle control that allows users to switch between on and off states.
|
|
2182
|
+
* Powered by Radix UI Switch primitive with scoped CSS transitions and token styling.
|
|
2183
|
+
* Zero Tailwind runtime dependencies.
|
|
2184
|
+
*
|
|
2185
|
+
* @example
|
|
2186
|
+
* ```tsx
|
|
2187
|
+
* // Basic toggle switch
|
|
2188
|
+
* <div className="flex items-center justify-between">
|
|
2189
|
+
* <Label htmlFor="airplane-mode">Airplane Mode</Label>
|
|
2190
|
+
* <Switch id="airplane-mode" checked={enabled} onCheckedChange={setEnabled} />
|
|
2191
|
+
* </div>
|
|
2192
|
+
*
|
|
2193
|
+
* // Disabled state
|
|
2194
|
+
* <Switch disabled checked={false} />
|
|
2195
|
+
* ```
|
|
2196
|
+
*/
|
|
672
2197
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
673
2198
|
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
2199
|
+
type TableProps = React$1.HTMLAttributes<HTMLTableElement>;
|
|
2200
|
+
/**
|
|
2201
|
+
* Responsive table container with pure scoped CSS styling.
|
|
2202
|
+
* Automatically wraps in a scrollable horizontal container (`dl-table-wrapper`).
|
|
2203
|
+
*
|
|
2204
|
+
* @example
|
|
2205
|
+
* ```tsx
|
|
2206
|
+
* <Table>
|
|
2207
|
+
* <TableHeader>
|
|
2208
|
+
* <TableRow>
|
|
2209
|
+
* <TableHead>Invoice</TableHead>
|
|
2210
|
+
* <TableHead>Status</TableHead>
|
|
2211
|
+
* <TableHead className="text-right">Amount</TableHead>
|
|
2212
|
+
* </TableRow>
|
|
2213
|
+
* </TableHeader>
|
|
2214
|
+
* <TableBody>
|
|
2215
|
+
* <TableRow>
|
|
2216
|
+
* <TableCell>INV-001</TableCell>
|
|
2217
|
+
* <TableCell>Paid</TableCell>
|
|
2218
|
+
* <TableCell className="text-right">$250.00</TableCell>
|
|
2219
|
+
* </TableRow>
|
|
2220
|
+
* </TableBody>
|
|
2221
|
+
* </Table>
|
|
2222
|
+
* ```
|
|
2223
|
+
*/
|
|
2224
|
+
declare const Table: React$1.ForwardRefExoticComponent<TableProps & React$1.RefAttributes<HTMLTableElement>>;
|
|
2225
|
+
type TableHeaderProps = React$1.HTMLAttributes<HTMLTableSectionElement>;
|
|
2226
|
+
/**
|
|
2227
|
+
* Header section of a `Table` (`<thead>`).
|
|
2228
|
+
*/
|
|
2229
|
+
declare const TableHeader: React$1.ForwardRefExoticComponent<TableHeaderProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
2230
|
+
type TableBodyProps = React$1.HTMLAttributes<HTMLTableSectionElement>;
|
|
2231
|
+
/**
|
|
2232
|
+
* Body container of a `Table` (`<tbody>`).
|
|
2233
|
+
*/
|
|
2234
|
+
declare const TableBody: React$1.ForwardRefExoticComponent<TableBodyProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
2235
|
+
type TableFooterProps = React$1.HTMLAttributes<HTMLTableSectionElement>;
|
|
2236
|
+
/**
|
|
2237
|
+
* Footer section of a `Table` (`<tfoot>`) for totals or summaries.
|
|
2238
|
+
*/
|
|
2239
|
+
declare const TableFooter: React$1.ForwardRefExoticComponent<TableFooterProps & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
2240
|
+
type TableRowProps = React$1.HTMLAttributes<HTMLTableRowElement>;
|
|
2241
|
+
/**
|
|
2242
|
+
* Interactive row within a `Table` (`<tr>`).
|
|
2243
|
+
*/
|
|
2244
|
+
declare const TableRow: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
2245
|
+
type TableHeadProps = React$1.ThHTMLAttributes<HTMLTableCellElement>;
|
|
2246
|
+
/**
|
|
2247
|
+
* Header cell within a `TableRow` (`<th>`).
|
|
2248
|
+
*/
|
|
2249
|
+
declare const TableHead: React$1.ForwardRefExoticComponent<TableHeadProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
2250
|
+
type TableCellProps = React$1.TdHTMLAttributes<HTMLTableCellElement>;
|
|
2251
|
+
/**
|
|
2252
|
+
* Standard data cell within a `TableRow` (`<td>`).
|
|
2253
|
+
*/
|
|
2254
|
+
declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
2255
|
+
type TableCaptionProps = React$1.HTMLAttributes<HTMLTableCaptionElement>;
|
|
2256
|
+
/**
|
|
2257
|
+
* Accessible caption element describing the purpose or dataset of a `Table`.
|
|
2258
|
+
*/
|
|
2259
|
+
declare const TableCaption: React$1.ForwardRefExoticComponent<TableCaptionProps & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
682
2260
|
|
|
2261
|
+
/**
|
|
2262
|
+
* Root Tabs container organizing content into alternate views.
|
|
2263
|
+
*
|
|
2264
|
+
* @example
|
|
2265
|
+
* ```tsx
|
|
2266
|
+
* <Tabs defaultValue="account">
|
|
2267
|
+
* <TabsList>
|
|
2268
|
+
* <TabsTrigger value="account">Account</TabsTrigger>
|
|
2269
|
+
* <TabsTrigger value="password">Password</TabsTrigger>
|
|
2270
|
+
* </TabsList>
|
|
2271
|
+
* <TabsContent value="account">Account settings form...</TabsContent>
|
|
2272
|
+
* <TabsContent value="password">Password change form...</TabsContent>
|
|
2273
|
+
* </Tabs>
|
|
2274
|
+
* ```
|
|
2275
|
+
*/
|
|
683
2276
|
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2277
|
+
type TabsListProps = React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.List>;
|
|
2278
|
+
/**
|
|
2279
|
+
* Navigation strip containing tab trigger buttons.
|
|
2280
|
+
*/
|
|
684
2281
|
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2282
|
+
type TabsTriggerProps = React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>;
|
|
2283
|
+
/**
|
|
2284
|
+
* Tab button that activates its associated content pane.
|
|
2285
|
+
*/
|
|
685
2286
|
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
2287
|
+
type TabsContentProps = React$1.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>;
|
|
2288
|
+
/**
|
|
2289
|
+
* Content container rendered when the matching tab trigger is active.
|
|
2290
|
+
*/
|
|
686
2291
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
687
2292
|
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
2293
|
+
type TextareaProps = React$1.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
2294
|
+
/**
|
|
2295
|
+
* Multi-line text field styled with design system tokens and scoped CSS.
|
|
2296
|
+
* Provides accessible focus states, vertical resizing, and clean error integration.
|
|
2297
|
+
* Zero Tailwind runtime dependencies.
|
|
2298
|
+
*
|
|
2299
|
+
* @example
|
|
2300
|
+
* ```tsx
|
|
2301
|
+
* // Basic textarea
|
|
2302
|
+
* <Textarea placeholder="Type your message here..." rows={4} />
|
|
2303
|
+
*
|
|
2304
|
+
* // Controlled textarea with character counter
|
|
2305
|
+
* <Textarea
|
|
2306
|
+
* value={notes}
|
|
2307
|
+
* onChange={(e) => setNotes(e.target.value)}
|
|
2308
|
+
* placeholder="Additional instructions..."
|
|
2309
|
+
* disabled={isLoading}
|
|
2310
|
+
* />
|
|
2311
|
+
* ```
|
|
2312
|
+
*/
|
|
2313
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
698
2314
|
|
|
699
2315
|
declare const toggleVariants: (props?: ({
|
|
700
2316
|
variant?: "default" | "outline" | null | undefined;
|
|
701
2317
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
702
2318
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2319
|
+
type ToggleProps = React$1.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>;
|
|
2320
|
+
/**
|
|
2321
|
+
* A two-state button that can be either on or off.
|
|
2322
|
+
*
|
|
2323
|
+
* @example
|
|
2324
|
+
* ```tsx
|
|
2325
|
+
* <Toggle aria-label="Toggle italic">
|
|
2326
|
+
* <Italic className="size-4" />
|
|
2327
|
+
* </Toggle>
|
|
2328
|
+
* ```
|
|
2329
|
+
*/
|
|
703
2330
|
declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
704
2331
|
variant?: "default" | "outline" | null | undefined;
|
|
705
2332
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
706
2333
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
707
2334
|
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
}
|
|
734
|
-
interface SearchableSelectProps {
|
|
735
|
-
options: SearchableSelectOption[];
|
|
736
|
-
value?: string;
|
|
737
|
-
onChange?: (value: string) => void;
|
|
738
|
-
placeholder?: string;
|
|
739
|
-
searchPlaceholder?: string;
|
|
740
|
-
onAddNew?: (searchQuery: string) => void;
|
|
741
|
-
addNewLabel?: string;
|
|
742
|
-
disabled?: boolean;
|
|
743
|
-
className?: string;
|
|
744
|
-
id?: string;
|
|
745
|
-
}
|
|
746
|
-
declare function SearchableSelect({ options, value, onChange, placeholder, searchPlaceholder, onAddNew, addNewLabel, disabled, className, id, }: SearchableSelectProps): react_jsx_runtime.JSX.Element;
|
|
747
|
-
|
|
748
|
-
interface ConfirmDialogProps {
|
|
749
|
-
open: boolean;
|
|
750
|
-
onOpenChange: (open: boolean) => void;
|
|
751
|
-
title: string;
|
|
752
|
-
description: string;
|
|
753
|
-
onConfirm: () => void;
|
|
754
|
-
confirmText?: string;
|
|
755
|
-
cancelText?: string;
|
|
756
|
-
destructive?: boolean;
|
|
757
|
-
}
|
|
758
|
-
declare function ConfirmDialog({ open, onOpenChange, title, description, onConfirm, confirmText, cancelText, destructive, }: ConfirmDialogProps): react_jsx_runtime.JSX.Element;
|
|
759
|
-
|
|
760
|
-
interface LoadingStateProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
761
|
-
rows?: number;
|
|
762
|
-
}
|
|
763
|
-
declare function LoadingState({ rows, className, ...props }: LoadingStateProps): react_jsx_runtime.JSX.Element;
|
|
2335
|
+
type ToggleGroupProps = React$1.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>;
|
|
2336
|
+
/**
|
|
2337
|
+
* A set of two-state buttons that can be toggled on or off, supporting single or multiple selection.
|
|
2338
|
+
*
|
|
2339
|
+
* @example
|
|
2340
|
+
* ```tsx
|
|
2341
|
+
* <ToggleGroup type="multiple">
|
|
2342
|
+
* <ToggleGroupItem value="bold" aria-label="Toggle bold">
|
|
2343
|
+
* <Bold className="size-4" />
|
|
2344
|
+
* </ToggleGroupItem>
|
|
2345
|
+
* <ToggleGroupItem value="italic" aria-label="Toggle italic">
|
|
2346
|
+
* <Italic className="size-4" />
|
|
2347
|
+
* </ToggleGroupItem>
|
|
2348
|
+
* </ToggleGroup>
|
|
2349
|
+
* ```
|
|
2350
|
+
*/
|
|
2351
|
+
declare const ToggleGroup: React$1.ForwardRefExoticComponent<ToggleGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2352
|
+
type ToggleGroupItemProps = React$1.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>;
|
|
2353
|
+
/**
|
|
2354
|
+
* An individual toggle button within a `ToggleGroup`.
|
|
2355
|
+
*/
|
|
2356
|
+
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
2357
|
+
variant?: "default" | "outline" | null | undefined;
|
|
2358
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2359
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
764
2360
|
|
|
765
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, LoadingState, type LoadingStateProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Panel, type PanelProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, StatusChip, type StatusChipProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, ThemeProvider, type ThemeProviderProps, type ThemeProviderState, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, navigationMenuTriggerStyle, toggleVariants, useFormField, useIsMobile, useSidebar, useTheme };
|
|
2361
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, type AlertTitleProps, AspectRatio, type AspectRatioProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, type Brand, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, type ButtonProps, Calendar, CalendarDayButton, type CalendarProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Carousel, type CarouselApi, CarouselContent, type CarouselContentProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, type ChartConfig, ChartContainer, type ChartContainerProps, ChartLegend, ChartLegendContent, type ChartLegendContentProps, ChartStyle, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, ConfigProvider, type ConfigProviderProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuShortcut, type ContextMenuShortcutProps, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, type DialogOverlayProps, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputOTPSlotProps, type InputProps, Label, type LabelProps, LoadingState, type LoadingStateProps, Menubar, MenubarCheckboxItem, type MenubarCheckboxItemProps, MenubarContent, type MenubarContentProps, MenubarGroup, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, MenubarMenu, MenubarPortal, type MenubarProps, MenubarRadioGroup, MenubarRadioItem, type MenubarRadioItemProps, MenubarSeparator, type MenubarSeparatorProps, MenubarShortcut, type MenubarShortcutProps, MenubarSub, MenubarSubContent, type MenubarSubContentProps, MenubarSubTrigger, type MenubarSubTriggerProps, MenubarTrigger, type MenubarTriggerProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, Panel, type PanelProps, Popover, PopoverAnchor, PopoverContent, type PopoverContentProps, PopoverTrigger, Progress, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollBarProps, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, type SheetOverlayProps, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, type SidebarGroupContentProps, SidebarGroupLabel, type SidebarGroupLabelProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInput, type SidebarInputProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, type SidebarMenuBadgeProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, type SidebarRailProps, SidebarSeparator, type SidebarSeparatorProps, SidebarTrigger, type SidebarTriggerProps, Skeleton, type SkeletonProps, Slider, type SliderProps, StatusBadge, type StatusBadgeProps, StatusChip, type StatusChipProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, type Theme, ThemeProvider, type ThemeProviderProps, type ThemeProviderState, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, alertVariants, badgeVariants, buttonVariants, cn, labelVariants, navigationMenuTriggerStyle, sheetVariants, toggleVariants, useCarousel, useConfig, useFormField, useIsMobile, useSidebar, useTheme };
|