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