@caffeinebounce/ui 0.62.2
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/LICENSE +21 -0
- package/README.md +39 -0
- package/dist/FinancialStatementTable-BNUrdTU4.d.cts +249 -0
- package/dist/FinancialStatementTable-BNUrdTU4.d.ts +249 -0
- package/dist/NewsletterSignup-BPreFi5W.d.cts +37 -0
- package/dist/NewsletterSignup-BPreFi5W.d.ts +37 -0
- package/dist/TestimonialsSection-DtPu2OeR.d.ts +736 -0
- package/dist/TestimonialsSection-z-yotRfv.d.cts +736 -0
- package/dist/UnifiedTableControls-CG299y9h.d.ts +1233 -0
- package/dist/UnifiedTableControls-CIjRpNhy.d.cts +1233 -0
- package/dist/blog.d.cts +99 -0
- package/dist/blog.d.ts +99 -0
- package/dist/blog.js +292 -0
- package/dist/blog.mjs +279 -0
- package/dist/button-BHnoRUkF.d.cts +34 -0
- package/dist/button-BHnoRUkF.d.ts +34 -0
- package/dist/charts.d.cts +80 -0
- package/dist/charts.d.ts +80 -0
- package/dist/charts.js +19 -0
- package/dist/charts.mjs +2 -0
- package/dist/chunk-33JR5SYE.js +44 -0
- package/dist/chunk-3NDB4YPC.js +247 -0
- package/dist/chunk-5RW4PYZ6.js +1504 -0
- package/dist/chunk-5THF4YP6.mjs +155 -0
- package/dist/chunk-6BUBNZPG.mjs +164 -0
- package/dist/chunk-6DVWMJ3H.mjs +7029 -0
- package/dist/chunk-6TGV2DNP.js +120 -0
- package/dist/chunk-72JGQ7IJ.mjs +1498 -0
- package/dist/chunk-7DHKQODW.mjs +2932 -0
- package/dist/chunk-7IKHZKAC.js +160 -0
- package/dist/chunk-ADIDI7AJ.js +11 -0
- package/dist/chunk-BFWX5GJZ.mjs +940 -0
- package/dist/chunk-BMFQG6RA.mjs +5537 -0
- package/dist/chunk-C4UT5V3P.js +65 -0
- package/dist/chunk-CC4KUIKC.js +2004 -0
- package/dist/chunk-D3QXPL47.mjs +1814 -0
- package/dist/chunk-DQWHYBV2.js +36 -0
- package/dist/chunk-E42B4GSB.js +993 -0
- package/dist/chunk-ESZ7CBA2.js +1007 -0
- package/dist/chunk-EYJJQVV4.js +111 -0
- package/dist/chunk-FRRS2YZH.mjs +129 -0
- package/dist/chunk-G5TQWWQA.mjs +37 -0
- package/dist/chunk-GAIQJCAZ.js +5612 -0
- package/dist/chunk-GMBGWOCR.mjs +48 -0
- package/dist/chunk-GUSTCU2W.mjs +105 -0
- package/dist/chunk-HBLKVQIQ.mjs +23 -0
- package/dist/chunk-HMAMMC72.js +26 -0
- package/dist/chunk-IMKLN273.mjs +9 -0
- package/dist/chunk-J6OLBSZR.js +250 -0
- package/dist/chunk-JAE45W2T.js +28 -0
- package/dist/chunk-JORVSG52.js +606 -0
- package/dist/chunk-KB7UXIQZ.mjs +984 -0
- package/dist/chunk-KGGQ5NZV.js +186 -0
- package/dist/chunk-KHCC5UKW.mjs +22 -0
- package/dist/chunk-KRRIRS6A.mjs +1945 -0
- package/dist/chunk-LQCVRWVF.js +48 -0
- package/dist/chunk-MHZXUOGN.mjs +168 -0
- package/dist/chunk-MPZFPU4X.js +349 -0
- package/dist/chunk-MVYRNJA6.js +74 -0
- package/dist/chunk-N6AFNFZR.mjs +565 -0
- package/dist/chunk-OFQLWSUR.mjs +214 -0
- package/dist/chunk-OLAAXLXY.mjs +219 -0
- package/dist/chunk-OZZWDIOY.js +1859 -0
- package/dist/chunk-PZRI43EZ.js +111 -0
- package/dist/chunk-Q256HRYD.js +176 -0
- package/dist/chunk-Q52ZEL62.mjs +223 -0
- package/dist/chunk-R26Y7LGJ.js +142 -0
- package/dist/chunk-RBUYW6QQ.js +39 -0
- package/dist/chunk-RVEFPVZF.mjs +43 -0
- package/dist/chunk-SORWLKOK.js +96 -0
- package/dist/chunk-STEP6C4C.mjs +33 -0
- package/dist/chunk-T5R6HUDG.mjs +22 -0
- package/dist/chunk-T6ZBA6VJ.js +7109 -0
- package/dist/chunk-UM7WMXIU.js +2995 -0
- package/dist/chunk-VBD4Q5LL.mjs +117 -0
- package/dist/chunk-WOITB4JL.js +195 -0
- package/dist/chunk-YKZEKJMZ.mjs +71 -0
- package/dist/chunk-YL7RZRHM.mjs +103 -0
- package/dist/chunk-YSLD2HLP.mjs +346 -0
- package/dist/chunk-ZFLZA7UP.mjs +140 -0
- package/dist/chunk-ZKUIUE7W.mjs +26 -0
- package/dist/chunk-ZOA7B32D.js +248 -0
- package/dist/data-table.d.cts +46 -0
- package/dist/data-table.d.ts +46 -0
- package/dist/data-table.js +270 -0
- package/dist/data-table.mjs +13 -0
- package/dist/editor.d.cts +89 -0
- package/dist/editor.d.ts +89 -0
- package/dist/editor.js +10 -0
- package/dist/editor.mjs +1 -0
- package/dist/forms.d.cts +142 -0
- package/dist/forms.d.ts +142 -0
- package/dist/forms.js +24 -0
- package/dist/forms.mjs +11 -0
- package/dist/hooks-8ORd7T1A.d.cts +751 -0
- package/dist/hooks-B2jU1GVT.d.ts +751 -0
- package/dist/hooks.d.cts +6 -0
- package/dist/hooks.d.ts +6 -0
- package/dist/hooks.js +99 -0
- package/dist/hooks.mjs +10 -0
- package/dist/index.d.cts +3141 -0
- package/dist/index.d.ts +3141 -0
- package/dist/index.js +7332 -0
- package/dist/index.mjs +5876 -0
- package/dist/layouts-DPfDDF53.d.cts +1001 -0
- package/dist/layouts-DPfDDF53.d.ts +1001 -0
- package/dist/layouts.d.cts +4 -0
- package/dist/layouts.d.ts +4 -0
- package/dist/layouts.js +100 -0
- package/dist/layouts.mjs +11 -0
- package/dist/marketing-3d.d.cts +51 -0
- package/dist/marketing-3d.d.ts +51 -0
- package/dist/marketing-3d.js +553 -0
- package/dist/marketing-3d.mjs +526 -0
- package/dist/marketing.d.cts +583 -0
- package/dist/marketing.d.ts +583 -0
- package/dist/marketing.js +299 -0
- package/dist/marketing.mjs +10 -0
- package/dist/media.d.cts +29 -0
- package/dist/media.d.ts +29 -0
- package/dist/media.js +189 -0
- package/dist/media.mjs +182 -0
- package/dist/navigation.d.cts +591 -0
- package/dist/navigation.d.ts +591 -0
- package/dist/navigation.js +108 -0
- package/dist/navigation.mjs +15 -0
- package/dist/portal.d.cts +58 -0
- package/dist/portal.d.ts +58 -0
- package/dist/portal.js +403 -0
- package/dist/portal.mjs +395 -0
- package/dist/primitives.d.cts +508 -0
- package/dist/primitives.d.ts +508 -0
- package/dist/primitives.js +295 -0
- package/dist/primitives.mjs +14 -0
- package/dist/settings.d.cts +216 -0
- package/dist/settings.d.ts +216 -0
- package/dist/settings.js +34 -0
- package/dist/settings.mjs +9 -0
- package/dist/shared-Dqn36QHZ.d.cts +4 -0
- package/dist/shared-Dqn36QHZ.d.ts +4 -0
- package/dist/styles.css +1213 -0
- package/package.json +189 -0
- package/styles.css +1 -0
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import * as React$1 from 'react';
|
|
5
|
+
export { B as Button, a as ButtonCorners, b as ButtonHoverEffect, c as ButtonProps, d as buttonVariants } from './button-BHnoRUkF.cjs';
|
|
6
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
7
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
8
|
+
import { OTPInput } from 'input-otp';
|
|
9
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
10
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
11
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
12
|
+
import { ClassValue } from 'clsx';
|
|
13
|
+
|
|
14
|
+
declare const alertVariants: (props?: ({
|
|
15
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
16
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
+
/**
|
|
18
|
+
* Alert - Notification component for displaying important messages
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* <Alert>
|
|
22
|
+
* <AlertCircle />
|
|
23
|
+
* <AlertTitle>Heads up!</AlertTitle>
|
|
24
|
+
* <AlertDescription>You can add components to your app.</AlertDescription>
|
|
25
|
+
* </Alert>
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* <Alert variant="destructive">
|
|
29
|
+
* <AlertTriangle />
|
|
30
|
+
* <AlertTitle>Error</AlertTitle>
|
|
31
|
+
* <AlertDescription>There was an error processing your request.</AlertDescription>
|
|
32
|
+
* </Alert>
|
|
33
|
+
*/
|
|
34
|
+
declare function Alert({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof alertVariants>): react_jsx_runtime.JSX.Element;
|
|
35
|
+
/**
|
|
36
|
+
* AlertTitle - Title/heading for an alert message
|
|
37
|
+
*/
|
|
38
|
+
declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
39
|
+
/**
|
|
40
|
+
* AlertDescription - Detailed description text for an alert
|
|
41
|
+
*/
|
|
42
|
+
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Shape styles for badges
|
|
46
|
+
* - pill: Fully rounded (default)
|
|
47
|
+
* - rounded: Slightly rounded corners
|
|
48
|
+
* - square: Sharp corners
|
|
49
|
+
*/
|
|
50
|
+
type BadgeShape = "pill" | "rounded" | "square";
|
|
51
|
+
/**
|
|
52
|
+
* Size variants for badges
|
|
53
|
+
* - sm: Smaller badge
|
|
54
|
+
* - default: Standard size
|
|
55
|
+
* - lg: Larger badge
|
|
56
|
+
*/
|
|
57
|
+
type BadgeSize = "sm" | "default" | "lg";
|
|
58
|
+
declare const badgeVariants: (props?: ({
|
|
59
|
+
variant?: "default" | "outline" | "secondary" | "destructive" | "muted" | "success" | "warning" | null | undefined;
|
|
60
|
+
shape?: "pill" | "square" | "rounded" | null | undefined;
|
|
61
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
62
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
63
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Badge - Visual indicator for status, counts, or labels
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* <Badge variant="secondary">New</Badge>
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* <Badge variant="destructive">Error</Badge>
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* <Badge variant="success" shape="rounded" size="lg">Active</Badge>
|
|
76
|
+
*/
|
|
77
|
+
declare function Badge({ className, variant, shape, size, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Elevation styles for cards
|
|
81
|
+
* - flat: No shadow, subtle background
|
|
82
|
+
* - raised: Default shadow (shadow-sm)
|
|
83
|
+
* - floating: Elevated shadow for emphasis
|
|
84
|
+
*/
|
|
85
|
+
type CardElevation = "flat" | "raised" | "floating";
|
|
86
|
+
/**
|
|
87
|
+
* Border styles for cards
|
|
88
|
+
* - default: Standard border
|
|
89
|
+
* - subtle: Lighter border
|
|
90
|
+
* - none: No border
|
|
91
|
+
*/
|
|
92
|
+
type CardBorder = "default" | "subtle" | "none";
|
|
93
|
+
declare const cardVariants: (props?: ({
|
|
94
|
+
elevation?: "flat" | "floating" | "raised" | null | undefined;
|
|
95
|
+
border?: "none" | "default" | "subtle" | null | undefined;
|
|
96
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
97
|
+
interface CardProps extends React$1.ComponentProps<"div">, VariantProps<typeof cardVariants> {
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Card - Container component for grouping related content
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* <Card>
|
|
104
|
+
* <CardHeader>
|
|
105
|
+
* <CardTitle>Title</CardTitle>
|
|
106
|
+
* <CardDescription>Description</CardDescription>
|
|
107
|
+
* </CardHeader>
|
|
108
|
+
* <CardContent>Content goes here</CardContent>
|
|
109
|
+
* </Card>
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* <Card elevation="floating" border="none">
|
|
113
|
+
* <CardContent>Floating card without border</CardContent>
|
|
114
|
+
* </Card>
|
|
115
|
+
*/
|
|
116
|
+
declare function Card({ className, elevation, border, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
117
|
+
/**
|
|
118
|
+
* CardHeader - Header section of a card, typically contains title and description
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* <CardHeader>
|
|
122
|
+
* <CardTitle>Settings</CardTitle>
|
|
123
|
+
* <CardDescription>Manage your account settings</CardDescription>
|
|
124
|
+
* </CardHeader>
|
|
125
|
+
*/
|
|
126
|
+
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
127
|
+
/**
|
|
128
|
+
* CardTitle - Primary heading for a card
|
|
129
|
+
*/
|
|
130
|
+
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
131
|
+
/**
|
|
132
|
+
* CardDescription - Descriptive text for a card, appears below the title
|
|
133
|
+
*/
|
|
134
|
+
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
135
|
+
/**
|
|
136
|
+
* CardAction - Container for action buttons or controls in card header
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* <CardAction>
|
|
140
|
+
* <Button variant="ghost" size="icon-sm">
|
|
141
|
+
* <MoreVertical />
|
|
142
|
+
* </Button>
|
|
143
|
+
* </CardAction>
|
|
144
|
+
*/
|
|
145
|
+
declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
146
|
+
/**
|
|
147
|
+
* CardContent - Main content area of a card
|
|
148
|
+
*/
|
|
149
|
+
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
150
|
+
/**
|
|
151
|
+
* CardFooter - Footer section of a card, typically contains actions or metadata
|
|
152
|
+
*/
|
|
153
|
+
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
154
|
+
|
|
155
|
+
interface CheckboxProps extends Omit<React$1.ComponentProps<"input">, "type" | "onChange"> {
|
|
156
|
+
checked?: boolean;
|
|
157
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Checkbox - Checkable input for binary choices
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* <Checkbox checked={isChecked} onCheckedChange={setIsChecked} />
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* <label>
|
|
167
|
+
* <Checkbox checked={agree} onCheckedChange={setAgree} />
|
|
168
|
+
* I agree to the terms
|
|
169
|
+
* </label>
|
|
170
|
+
*/
|
|
171
|
+
declare function Checkbox({ className, checked, onCheckedChange, disabled, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Dialog - Modal dialog component built on Radix UI
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
* <Dialog open={isOpen} onOpenChange={setIsOpen}>
|
|
178
|
+
* <DialogContent>
|
|
179
|
+
* <DialogHeader>
|
|
180
|
+
* <DialogTitle>Dialog Title</DialogTitle>
|
|
181
|
+
* <DialogDescription>Dialog description text</DialogDescription>
|
|
182
|
+
* </DialogHeader>
|
|
183
|
+
* <div>Content goes here</div>
|
|
184
|
+
* <DialogFooter>
|
|
185
|
+
* <Button onClick={() => setIsOpen(false)}>Close</Button>
|
|
186
|
+
* </DialogFooter>
|
|
187
|
+
* </DialogContent>
|
|
188
|
+
* </Dialog>
|
|
189
|
+
*/
|
|
190
|
+
declare function Dialog({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
191
|
+
/**
|
|
192
|
+
* DialogTrigger - Button or element that opens the dialog when clicked
|
|
193
|
+
*
|
|
194
|
+
* @example
|
|
195
|
+
* <DialogTrigger asChild>
|
|
196
|
+
* <Button>Open Dialog</Button>
|
|
197
|
+
* </DialogTrigger>
|
|
198
|
+
*/
|
|
199
|
+
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
200
|
+
/**
|
|
201
|
+
* DialogPortal - Portal container for dialog content
|
|
202
|
+
*/
|
|
203
|
+
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
204
|
+
/**
|
|
205
|
+
* DialogClose - Button to close the dialog
|
|
206
|
+
*/
|
|
207
|
+
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
208
|
+
/**
|
|
209
|
+
* DialogOverlay - Semi-transparent backdrop behind the dialog
|
|
210
|
+
*/
|
|
211
|
+
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
212
|
+
/**
|
|
213
|
+
* DialogContent - Main content container for the dialog
|
|
214
|
+
* Includes special handling for password managers and AI assistants to prevent unwanted close events
|
|
215
|
+
*/
|
|
216
|
+
declare function DialogContent({ className, children, onInteractOutside, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
217
|
+
/**
|
|
218
|
+
* DialogHeader - Header section of the dialog, typically contains title and description
|
|
219
|
+
*/
|
|
220
|
+
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
221
|
+
/**
|
|
222
|
+
* DialogFooter - Footer section of the dialog, typically contains action buttons
|
|
223
|
+
*/
|
|
224
|
+
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
225
|
+
/**
|
|
226
|
+
* DialogTitle - Primary heading for the dialog
|
|
227
|
+
*/
|
|
228
|
+
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
229
|
+
/**
|
|
230
|
+
* DialogDescription - Descriptive text for the dialog, appears below the title
|
|
231
|
+
*/
|
|
232
|
+
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Label - Accessible label for form inputs
|
|
236
|
+
*
|
|
237
|
+
* @example
|
|
238
|
+
* <Label htmlFor="email">Email Address</Label>
|
|
239
|
+
* <Input id="email" type="email" />
|
|
240
|
+
*/
|
|
241
|
+
declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* FieldSet - Container for a group of related fields
|
|
245
|
+
*
|
|
246
|
+
* @example
|
|
247
|
+
* <FieldSet>
|
|
248
|
+
* <FieldLegend>Contact Information</FieldLegend>
|
|
249
|
+
* <Field>...</Field>
|
|
250
|
+
* <Field>...</Field>
|
|
251
|
+
* </FieldSet>
|
|
252
|
+
*/
|
|
253
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
|
|
254
|
+
/**
|
|
255
|
+
* FieldLegend - Title for a field set
|
|
256
|
+
*/
|
|
257
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
258
|
+
variant?: "legend" | "label";
|
|
259
|
+
}): react_jsx_runtime.JSX.Element;
|
|
260
|
+
/**
|
|
261
|
+
* FieldGroup - Container for multiple fields with consistent spacing
|
|
262
|
+
*/
|
|
263
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
264
|
+
declare const fieldVariants: (props?: ({
|
|
265
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
266
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
267
|
+
/**
|
|
268
|
+
* Field - Individual form field with label, input, and error support
|
|
269
|
+
*
|
|
270
|
+
* @example
|
|
271
|
+
* <Field>
|
|
272
|
+
* <FieldLabel htmlFor="name">Name</FieldLabel>
|
|
273
|
+
* <Input id="name" />
|
|
274
|
+
* <FieldDescription>Enter your full name</FieldDescription>
|
|
275
|
+
* </Field>
|
|
276
|
+
*
|
|
277
|
+
* @example
|
|
278
|
+
* // Horizontal orientation
|
|
279
|
+
* <Field orientation="horizontal">
|
|
280
|
+
* <FieldLabel>Subscribe</FieldLabel>
|
|
281
|
+
* <Checkbox />
|
|
282
|
+
* </Field>
|
|
283
|
+
*/
|
|
284
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<"fieldset"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
285
|
+
/**
|
|
286
|
+
* FieldContent - Content wrapper for field elements
|
|
287
|
+
*/
|
|
288
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
289
|
+
/**
|
|
290
|
+
* FieldLabel - Label for a field, supports nested inputs
|
|
291
|
+
*/
|
|
292
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
|
|
293
|
+
/**
|
|
294
|
+
* FieldTitle - Alternative to FieldLabel for non-label text
|
|
295
|
+
*/
|
|
296
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
297
|
+
/**
|
|
298
|
+
* FieldDescription - Helpful text below a field
|
|
299
|
+
*/
|
|
300
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
301
|
+
/**
|
|
302
|
+
* FieldSeparator - Visual divider between fields
|
|
303
|
+
*/
|
|
304
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
305
|
+
children?: React.ReactNode;
|
|
306
|
+
}): react_jsx_runtime.JSX.Element;
|
|
307
|
+
/**
|
|
308
|
+
* FieldError - Error message display for form validation
|
|
309
|
+
*
|
|
310
|
+
* @example
|
|
311
|
+
* <FieldError errors={form.errors.email} />
|
|
312
|
+
*
|
|
313
|
+
* @example
|
|
314
|
+
* <FieldError>Custom error message</FieldError>
|
|
315
|
+
*/
|
|
316
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
317
|
+
errors?: Array<{
|
|
318
|
+
message?: string;
|
|
319
|
+
} | undefined>;
|
|
320
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Input style variants
|
|
324
|
+
* - default: Standard bordered input
|
|
325
|
+
* - filled: Filled background, no border
|
|
326
|
+
* - underline: Only bottom border
|
|
327
|
+
*/
|
|
328
|
+
type InputVariant = "default" | "filled" | "underline";
|
|
329
|
+
declare const inputVariants: (props?: ({
|
|
330
|
+
variant?: "default" | "filled" | "underline" | null | undefined;
|
|
331
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
332
|
+
interface InputProps extends React$1.ComponentProps<"input">, VariantProps<typeof inputVariants> {
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Input - Text input field with consistent styling
|
|
336
|
+
*
|
|
337
|
+
* @example
|
|
338
|
+
* <Input type="text" placeholder="Enter your name" />
|
|
339
|
+
*
|
|
340
|
+
* @example
|
|
341
|
+
* <Input type="email" placeholder="email@example.com" variant="filled" />
|
|
342
|
+
*
|
|
343
|
+
* @example
|
|
344
|
+
* <Input type="text" placeholder="Search..." variant="underline" />
|
|
345
|
+
*/
|
|
346
|
+
declare function Input({ className, type, variant, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
347
|
+
|
|
348
|
+
declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
349
|
+
containerClassName?: string;
|
|
350
|
+
}): react_jsx_runtime.JSX.Element;
|
|
351
|
+
declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
352
|
+
declare function InputOTPSlot({ index, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
353
|
+
index: number;
|
|
354
|
+
}): react_jsx_runtime.JSX.Element;
|
|
355
|
+
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
356
|
+
|
|
357
|
+
declare const PasswordInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "type">, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
358
|
+
|
|
359
|
+
interface PasswordRule {
|
|
360
|
+
id: string;
|
|
361
|
+
label: string;
|
|
362
|
+
validator: (password: string) => boolean;
|
|
363
|
+
}
|
|
364
|
+
declare const defaultPasswordRules: PasswordRule[];
|
|
365
|
+
declare const extendedPasswordRules: PasswordRule[];
|
|
366
|
+
interface PasswordRequirementsProps extends React$1.ComponentProps<"ul"> {
|
|
367
|
+
password: string;
|
|
368
|
+
rules?: PasswordRule[];
|
|
369
|
+
}
|
|
370
|
+
declare function PasswordRequirements({ password, rules, className, ...props }: PasswordRequirementsProps): react_jsx_runtime.JSX.Element;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Select - Dropdown selection component
|
|
374
|
+
*
|
|
375
|
+
* @example
|
|
376
|
+
* <Select value={value} onValueChange={setValue}>
|
|
377
|
+
* <SelectTrigger>
|
|
378
|
+
* <SelectValue placeholder="Select option" />
|
|
379
|
+
* </SelectTrigger>
|
|
380
|
+
* <SelectContent>
|
|
381
|
+
* <SelectItem value="option1">Option 1</SelectItem>
|
|
382
|
+
* <SelectItem value="option2">Option 2</SelectItem>
|
|
383
|
+
* </SelectContent>
|
|
384
|
+
* </Select>
|
|
385
|
+
*/
|
|
386
|
+
declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
387
|
+
/**
|
|
388
|
+
* SelectGroup - Container for grouping select items
|
|
389
|
+
*/
|
|
390
|
+
declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
391
|
+
/**
|
|
392
|
+
* SelectValue - Displays the selected value
|
|
393
|
+
*/
|
|
394
|
+
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
|
|
395
|
+
/**
|
|
396
|
+
* SelectTrigger - Button that opens the select dropdown
|
|
397
|
+
*/
|
|
398
|
+
declare function SelectTrigger({ className, size, variant, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
399
|
+
size?: "sm" | "default";
|
|
400
|
+
variant?: "default" | "ghost";
|
|
401
|
+
}): react_jsx_runtime.JSX.Element;
|
|
402
|
+
/**
|
|
403
|
+
* SelectContent - Dropdown content container for select items
|
|
404
|
+
*/
|
|
405
|
+
declare function SelectContent({ className, children, position, align, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
406
|
+
/**
|
|
407
|
+
* SelectLabel - Label for a group of select items
|
|
408
|
+
*/
|
|
409
|
+
declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
|
|
410
|
+
declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
411
|
+
declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
412
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
413
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
414
|
+
|
|
415
|
+
declare const spinnerVariants: (props?: ({
|
|
416
|
+
size?: "sm" | "lg" | "xs" | "md" | null | undefined;
|
|
417
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
418
|
+
interface SpinnerProps extends React.ComponentProps<"svg">, VariantProps<typeof spinnerVariants> {
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Spinner - Loading indicator with customizable size
|
|
422
|
+
*
|
|
423
|
+
* @example
|
|
424
|
+
* <Spinner size="md" />
|
|
425
|
+
*
|
|
426
|
+
* @example
|
|
427
|
+
* <Spinner size="lg" className="text-primary" />
|
|
428
|
+
*/
|
|
429
|
+
declare function Spinner({ className, size, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Tabs - Tabbed interface for organizing content into sections
|
|
433
|
+
*
|
|
434
|
+
* @example
|
|
435
|
+
* <Tabs defaultValue="tab1">
|
|
436
|
+
* <TabsList>
|
|
437
|
+
* <TabsTrigger value="tab1">Tab 1</TabsTrigger>
|
|
438
|
+
* <TabsTrigger value="tab2">Tab 2</TabsTrigger>
|
|
439
|
+
* </TabsList>
|
|
440
|
+
* <TabsContent value="tab1">Content for tab 1</TabsContent>
|
|
441
|
+
* <TabsContent value="tab2">Content for tab 2</TabsContent>
|
|
442
|
+
* </Tabs>
|
|
443
|
+
*/
|
|
444
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
445
|
+
/**
|
|
446
|
+
* TabsList - Container for tab triggers
|
|
447
|
+
*/
|
|
448
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
449
|
+
/**
|
|
450
|
+
* TabsTrigger - Button to switch between tabs
|
|
451
|
+
*/
|
|
452
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
453
|
+
/**
|
|
454
|
+
* TabsContent - Content panel for a tab
|
|
455
|
+
*/
|
|
456
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Textarea - Multi-line text input field
|
|
460
|
+
*
|
|
461
|
+
* @example
|
|
462
|
+
* <Textarea placeholder="Enter description..." rows={4} />
|
|
463
|
+
*/
|
|
464
|
+
declare function Textarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* TooltipProvider - Context provider for tooltip configuration
|
|
468
|
+
*/
|
|
469
|
+
declare function TooltipProvider({ delayDuration, skipDelayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
470
|
+
/**
|
|
471
|
+
* Tooltip - Contextual information popup on hover
|
|
472
|
+
*
|
|
473
|
+
* @example
|
|
474
|
+
* <Tooltip>
|
|
475
|
+
* <TooltipTrigger asChild>
|
|
476
|
+
* <Button variant="outline">Hover me</Button>
|
|
477
|
+
* </TooltipTrigger>
|
|
478
|
+
* <TooltipContent>
|
|
479
|
+
* <p>Helpful information</p>
|
|
480
|
+
* </TooltipContent>
|
|
481
|
+
* </Tooltip>
|
|
482
|
+
*/
|
|
483
|
+
declare function Tooltip({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root> & {
|
|
484
|
+
delayDuration?: number;
|
|
485
|
+
}): react_jsx_runtime.JSX.Element;
|
|
486
|
+
/**
|
|
487
|
+
* TooltipTrigger - Element that triggers the tooltip on hover
|
|
488
|
+
*/
|
|
489
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
490
|
+
/**
|
|
491
|
+
* TooltipContent - Content displayed in the tooltip
|
|
492
|
+
*/
|
|
493
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
494
|
+
|
|
495
|
+
interface VerificationCodeInputProps {
|
|
496
|
+
length?: number;
|
|
497
|
+
value?: string;
|
|
498
|
+
onChange?: (value: string) => void;
|
|
499
|
+
onComplete?: (value: string) => void;
|
|
500
|
+
disabled?: boolean;
|
|
501
|
+
autoFocus?: boolean;
|
|
502
|
+
className?: string;
|
|
503
|
+
}
|
|
504
|
+
declare function VerificationCodeInput({ length, value, onChange, onComplete, disabled, autoFocus, className, }: VerificationCodeInputProps): react_jsx_runtime.JSX.Element;
|
|
505
|
+
|
|
506
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
507
|
+
|
|
508
|
+
export { Alert, AlertDescription, AlertTitle, Badge, type BadgeProps, type BadgeShape, type BadgeSize, Card, CardAction, type CardBorder, CardContent, CardDescription, type CardElevation, CardFooter, CardHeader, type CardProps, CardTitle, Checkbox, type CheckboxProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, Label, PasswordInput, PasswordRequirements, type PasswordRule, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Spinner, type SpinnerProps, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VerificationCodeInput, type VerificationCodeInputProps, badgeVariants, cn, defaultPasswordRules, extendedPasswordRules, inputVariants, spinnerVariants };
|