@brcarddev/frontend-commons 1.0.2 → 2.0.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.
@@ -0,0 +1,2080 @@
1
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
3
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
4
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
5
+ import { ClassProp } from 'class-variance-authority/types';
6
+ import { ClassValue } from 'clsx';
7
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
8
+ import { Command as Command_2 } from 'cmdk';
9
+ import { ComponentProps } from 'react';
10
+ import { ComponentProps as ComponentProps_2 } from 'react-select-async-paginate';
11
+ import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
12
+ import { ControllerProps } from 'react-hook-form';
13
+ import { CreatableProps } from 'react-select/creatable';
14
+ import { DateRange } from 'react-day-picker';
15
+ import { DateTime } from 'luxon';
16
+ import { DayPicker } from 'react-day-picker';
17
+ import { default as default_2 } from 'react';
18
+ import { default as default_3 } from 'embla-carousel-react';
19
+ import { DefaultValues } from 'react-hook-form';
20
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
21
+ import { Drawer as Drawer_2 } from 'vaul';
22
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
23
+ import { Editor } from '@tiptap/react';
24
+ import { ElementType } from 'react';
25
+ import { ExternalToast } from 'sonner';
26
+ import { FieldError } from 'react-hook-form';
27
+ import { FieldPath } from 'react-hook-form';
28
+ import { FieldValues } from 'react-hook-form';
29
+ import { FileUploadProps } from './file';
30
+ import { ForwardRefExoticComponent } from 'react';
31
+ import { GroupBase } from 'react-select';
32
+ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
33
+ import { JSX } from 'react/jsx-runtime';
34
+ import * as LabelPrimitive from '@radix-ui/react-label';
35
+ import { MemoExoticComponent } from 'react';
36
+ import * as MenubarPrimitive from '@radix-ui/react-menubar';
37
+ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
38
+ import { OTPInput } from 'input-otp';
39
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
40
+ import * as ProgressPrimitive from '@radix-ui/react-progress';
41
+ import { Props } from 'react-select';
42
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
43
+ import * as React_2 from 'react';
44
+ import { ReactNode } from 'react';
45
+ import * as RechartsPrimitive from 'recharts';
46
+ import { RefAttributes } from 'react';
47
+ import * as ResizablePrimitive from 'react-resizable-panels';
48
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
49
+ import * as SelectPrimitive from '@radix-ui/react-select';
50
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
51
+ import * as SliderPrimitive from '@radix-ui/react-slider';
52
+ import { Slot } from '@radix-ui/react-slot';
53
+ import { SubmitErrorHandler } from 'react-hook-form';
54
+ import { SubmitHandler } from 'react-hook-form';
55
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
56
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
57
+ import { ToasterProps } from 'sonner';
58
+ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
59
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
60
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
61
+ import { UseAsyncPaginateParams } from 'react-select-async-paginate';
62
+ import { UseEmblaCarouselType } from 'embla-carousel-react';
63
+ import { UseFormReturn } from 'react-hook-form';
64
+ import { VariantProps } from 'class-variance-authority';
65
+ import * as z from 'zod';
66
+
67
+ export declare function Accordion({ ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Root>): JSX.Element;
68
+
69
+ export declare function AccordionContent({ className, children, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Content>): JSX.Element;
70
+
71
+ export declare function AccordionItem({ className, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Item>): JSX.Element;
72
+
73
+ export declare function AccordionTrigger({ className, children, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Trigger>): JSX.Element;
74
+
75
+ declare interface ActiveMarks {
76
+ bold: boolean;
77
+ italic: boolean;
78
+ underline: boolean;
79
+ bulletList: boolean;
80
+ align: 'left' | 'center';
81
+ }
82
+
83
+ export declare function addMonth(date: DateTime, month: number): DateTime;
84
+
85
+ export declare function Alert({ className, variant, ...props }: React_2.ComponentProps<'div'> & VariantProps<typeof alertVariants>): JSX.Element;
86
+
87
+ export declare function AlertCircle({ ...props }: ComponentProps<'svg'>): JSX.Element;
88
+
89
+ export declare function AlertDescription({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
90
+
91
+ export declare const AlertDialog: {
92
+ ({ children, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Root>): JSX.Element;
93
+ displayName: string | undefined;
94
+ };
95
+
96
+ export declare const AlertDialogAction: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
97
+
98
+ export declare const AlertDialogCancel: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
99
+
100
+ export declare const AlertDialogClose: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
101
+
102
+ export declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
103
+
104
+ export declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
105
+
106
+ export declare const AlertDialogFooter: {
107
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
108
+ displayName: string;
109
+ };
110
+
111
+ export declare const AlertDialogHeader: {
112
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
113
+ displayName: string;
114
+ };
115
+
116
+ export declare const AlertDialogOverlay: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
117
+
118
+ export declare const AlertDialogPortal: {
119
+ ({ children, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Portal>): JSX.Element;
120
+ displayName: string | undefined;
121
+ };
122
+
123
+ export declare const AlertDialogTitle: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
124
+
125
+ export declare const AlertDialogTrigger: {
126
+ ({ children, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Trigger>): JSX.Element;
127
+ displayName: string | undefined;
128
+ };
129
+
130
+ export declare function AlertTitle({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
131
+
132
+ declare const alertVariants: (props?: ({
133
+ variant?: "default" | "destructive" | null | undefined;
134
+ } & ClassProp) | undefined) => string;
135
+
136
+ export declare function AlignCenter(props: ComponentProps<'svg'>): JSX.Element;
137
+
138
+ export declare function AlignLeft(props: ComponentProps<'svg'>): JSX.Element;
139
+
140
+ export declare function Annotation(props: ComponentProps<'svg'>): JSX.Element;
141
+
142
+ export declare function AnnotationDots(props: ComponentProps<'svg'>): JSX.Element;
143
+
144
+ export declare function AnnotationQuestion(props: ComponentProps<'svg'>): JSX.Element;
145
+
146
+ export declare function Announcement01(props: ComponentProps<'svg'>): JSX.Element;
147
+
148
+ export declare function Announcement02(props: ComponentProps<'svg'>): JSX.Element;
149
+
150
+ export declare function AppleLogo(props: ComponentProps<'svg'>): JSX.Element;
151
+
152
+ export declare function ArrowCircleBrokenRight(props: ComponentProps<'svg'>): JSX.Element;
153
+
154
+ export declare function ArrowDown(props: ComponentProps<'svg'>): JSX.Element;
155
+
156
+ export declare function ArrowUp(props: ComponentProps<'svg'>): JSX.Element;
157
+
158
+ declare type AsyncPaginateCreatableProps<OptionType extends OptionsType, IsMulti extends boolean = false, Additional = {
159
+ page: number;
160
+ }, Group extends GroupBase<OptionType> = GroupBase<OptionType>> = CreatableProps<OptionType, IsMulti, Group> & UseAsyncPaginateParams<OptionType, Group, Additional> & ComponentProps_2<OptionType, Group, IsMulti> & Pick<DropdownProps<OptionType, IsMulti, Group>, 'isDisabled' | 'showSearchIcon' | 'size' | 'icon' | 'rounded'>;
161
+
162
+ export declare function AtSign(props: ComponentProps<'svg'>): JSX.Element;
163
+
164
+ export declare function AudioPlayer({ audioUrl, className }: {
165
+ audioUrl: string;
166
+ className?: string;
167
+ }): JSX.Element;
168
+
169
+ export declare function Avatar({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Root>): JSX.Element;
170
+
171
+ export declare function AvatarFallback({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Fallback>): JSX.Element;
172
+
173
+ export declare function AvatarImage({ className, ...props }: React_2.ComponentProps<typeof AvatarPrimitive.Image>): JSX.Element;
174
+
175
+ export declare function Award01(props: ComponentProps<'svg'>): JSX.Element;
176
+
177
+ export declare function Award03(props: ComponentProps<'svg'>): JSX.Element;
178
+
179
+ export declare function Badge({ className, variant, asChild, ...props }: React_2.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
180
+ asChild?: boolean;
181
+ }): JSX.Element;
182
+
183
+ export declare const badgeVariants: (props?: ({
184
+ variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
185
+ } & ClassProp) | undefined) => string;
186
+
187
+ export declare function BankNote01(props: ComponentProps<'svg'>): JSX.Element;
188
+
189
+ export declare function BarChartSquare02(props: ComponentProps<'svg'>): JSX.Element;
190
+
191
+ declare interface BaseDatePickerProps {
192
+ placeholder?: string;
193
+ disabled?: boolean;
194
+ className?: string;
195
+ footer?: React.ReactNode;
196
+ 'data-testid'?: string;
197
+ size?: VariantProps<typeof buttonVariants>['size'];
198
+ rounded?: 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full';
199
+ minDate?: Date;
200
+ maxDate?: Date;
201
+ rangeText?: string;
202
+ multipleText?: string;
203
+ locale?: string;
204
+ withTime?: boolean;
205
+ timeLabel?: string;
206
+ timePlaceholder?: string;
207
+ }
208
+
209
+ export declare function Bell01(props: ComponentProps<'svg'>): JSX.Element;
210
+
211
+ export declare function Bell04(props: ComponentProps<'svg'>): JSX.Element;
212
+
213
+ export declare function Bold01(props: ComponentProps<'svg'>): JSX.Element;
214
+
215
+ export declare function BookOpen01(props: ComponentProps<'svg'>): JSX.Element;
216
+
217
+ export declare function Box({ className, ...props }: React.ComponentProps<'div'>): JSX.Element;
218
+
219
+ export declare function BracketsEllipses(props: ComponentProps<'svg'>): JSX.Element;
220
+
221
+ export declare const brazilianStates: {
222
+ label: string;
223
+ value: string;
224
+ }[];
225
+
226
+ export declare function Breadcrumb({ ...props }: React_2.ComponentProps<'nav'>): JSX.Element;
227
+
228
+ export declare function BreadcrumbEllipsis({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
229
+
230
+ export declare function BreadcrumbItem({ className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
231
+
232
+ export declare function BreadcrumbLink({ asChild, className, ...props }: React_2.ComponentProps<'a'> & {
233
+ asChild?: boolean;
234
+ }): JSX.Element;
235
+
236
+ export declare function BreadcrumbList({ className, ...props }: React_2.ComponentProps<'ol'>): JSX.Element;
237
+
238
+ export declare function BreadcrumbPage({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
239
+
240
+ export declare function BreadcrumbSeparator({ children, className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
241
+
242
+ export declare function BrIcon(props: ComponentProps<'svg'>): JSX.Element;
243
+
244
+ export declare function Briefcase01(props: ComponentProps<'svg'>): JSX.Element;
245
+
246
+ export declare function Brush01(props: ComponentProps<'svg'>): JSX.Element;
247
+
248
+ export declare function Building02(props: ComponentProps<'svg'>): JSX.Element;
249
+
250
+ export declare function Building06(props: ComponentProps<'svg'>): JSX.Element;
251
+
252
+ export declare function Button({ className, variant, size, asChild, isLoading, disabled, ...props }: React_2.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
253
+ asChild?: boolean;
254
+ isLoading?: boolean;
255
+ disabled?: boolean;
256
+ }): JSX.Element;
257
+
258
+ export declare const ButtonUpload: ForwardRefExoticComponent<Omit<ButtonUploadProps, "ref"> & RefAttributes<HTMLInputElement>>;
259
+
260
+ export declare interface ButtonUploadProps extends Omit<ComponentProps<'input'>, 'onChange' | 'onError' | 'value'> {
261
+ /** Text displayed on the upload button */
262
+ buttonText?: string;
263
+ /** Maximum file size in MB. Files larger than this will be rejected */
264
+ maxSize?: number;
265
+ /** Maximum file size error message */
266
+ maxSizeErrorMessage?: string;
267
+ /** Accepted file types error message */
268
+ acceptErrorMessage?: string;
269
+ /** Label text displayed above the input field */
270
+ label?: string;
271
+ /** Helper text displayed below the input field */
272
+ helperText?: string;
273
+ /** Whether to show a preview area (image preview or default icon) */
274
+ showPreview?: boolean;
275
+ /** Custom icon to display in the preview area when no image is selected */
276
+ defaultIcon?: React.ReactNode;
277
+ /** Callback triggered when a file is selected or deselected */
278
+ onFileSelect?: (file: File | null, previewUrl?: string) => void;
279
+ /** Callback triggered when file upload is completed successfully */
280
+ onUploadComplete?: (url: string) => void;
281
+ /** Callback triggered when an error occurs during file selection or upload */
282
+ onError?: (error: string) => void;
283
+ /** Whether the component is in a loading state (shows spinner) */
284
+ loading?: boolean;
285
+ /** Loading text */
286
+ loadingText?: boolean;
287
+ /** Error message to display below the input field */
288
+ error?: string;
289
+ /** Current value of the upload field (File, URL string, or null) */
290
+ value?: UploadValue_2;
291
+ /** Callback triggered when the value changes */
292
+ onChange?: (value: UploadValue_2) => void;
293
+ /** Function to handle file upload. Should return a Promise that resolves to the uploaded file URL */
294
+ uploadFunction?: (file: File) => Promise<string>;
295
+ }
296
+
297
+ export declare const buttonVariants: (props?: ({
298
+ variant?: "link" | "outline" | "error" | "primary" | "ghost" | "google" | "linkedin" | "apple" | "success" | null | undefined;
299
+ size?: "sm" | "md" | "lg" | "icon" | null | undefined;
300
+ } & ClassProp) | undefined) => string;
301
+
302
+ export declare function Calendar({ className, showOutsideDays, formatLocale, ...props }: CalendarProps): JSX.Element;
303
+
304
+ export declare function CalendarIcon(props: ComponentProps<'svg'>): JSX.Element;
305
+
306
+ export declare function CalendarMinus02(props: ComponentProps<'svg'>): JSX.Element;
307
+
308
+ declare type CalendarProps = React_2.ComponentProps<typeof DayPicker> & {
309
+ formatLocale?: string;
310
+ };
311
+
312
+ export declare const capitalizeFirst: (value: string) => string;
313
+
314
+ export declare function Card({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
315
+
316
+ export declare function CardAction({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
317
+
318
+ export declare function CardContent({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
319
+
320
+ export declare function CardDescription({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
321
+
322
+ export declare function CardFooter({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
323
+
324
+ export declare function CardHeader({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
325
+
326
+ export declare function CardTitle({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
327
+
328
+ export declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React_2.ComponentProps<'div'> & CarouselProps): JSX.Element;
329
+
330
+ export declare type CarouselApi = UseEmblaCarouselType[1];
331
+
332
+ export declare function CarouselContent({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
333
+
334
+ export declare function CarouselControls({ className, showPrev, showNext, showDots, gapClassName, prevProps, nextProps, dotsProps, variant, ...props }: CarouselControlsProps): JSX.Element;
335
+
336
+ declare type CarouselControlsProps = React_2.ComponentProps<'div'> & {
337
+ showPrev?: boolean;
338
+ showNext?: boolean;
339
+ showDots?: boolean;
340
+ gapClassName?: string;
341
+ prevProps?: Partial<React_2.ComponentProps<typeof CarouselPrevious>>;
342
+ nextProps?: Partial<React_2.ComponentProps<typeof CarouselNext>>;
343
+ dotsProps?: Partial<React_2.ComponentProps<typeof CarouselDots>>;
344
+ variant?: 'overlay' | 'outline';
345
+ };
346
+
347
+ export declare function CarouselDots({ className, dotClassName, activeDotClassName, 'aria-label': ariaLabel, ...props }: React_2.ComponentProps<'div'> & {
348
+ dotClassName?: string;
349
+ activeDotClassName?: string;
350
+ }): JSX.Element | null;
351
+
352
+ export declare function CarouselItem({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
353
+
354
+ export declare function CarouselNext({ className, variant, placement, ...props }: Omit<React_2.ComponentProps<typeof Button>, 'children' | 'variant' | 'size'> & {
355
+ placement?: 'floating' | 'inline';
356
+ variant?: 'overlay' | 'outline';
357
+ }): JSX.Element;
358
+
359
+ declare type CarouselOptions = UseCarouselParameters[0];
360
+
361
+ export declare function CarouselOverlay({ position, className, children, ...props }: React_2.ComponentProps<'div'> & {
362
+ position?: OverlayPosition;
363
+ }): JSX.Element;
364
+
365
+ declare type CarouselPlugin = UseCarouselParameters[1];
366
+
367
+ export declare function CarouselPrevious({ className, variant, placement, ...props }: Omit<React_2.ComponentProps<typeof Button>, 'children' | 'variant' | 'size'> & {
368
+ placement?: 'floating' | 'inline';
369
+ variant?: 'overlay' | 'outline';
370
+ }): JSX.Element;
371
+
372
+ declare type CarouselProps = {
373
+ opts?: CarouselOptions;
374
+ plugins?: CarouselPlugin;
375
+ orientation?: 'horizontal' | 'vertical';
376
+ setApi?: (api: CarouselApi) => void;
377
+ };
378
+
379
+ export declare function Certificate01(props: ComponentProps<'svg'>): JSX.Element;
380
+
381
+ export declare function ChartBreakoutSquare(props: ComponentProps<'svg'>): JSX.Element;
382
+
383
+ export declare type ChartConfig = {
384
+ [k in string]: {
385
+ label?: React_2.ReactNode;
386
+ icon?: React_2.ComponentType;
387
+ } & ({
388
+ color?: string;
389
+ theme?: never;
390
+ } | {
391
+ color?: never;
392
+ theme: Record<keyof typeof THEMES, string>;
393
+ });
394
+ };
395
+
396
+ export declare function ChartContainer({ id, className, children, config, ...props }: React_2.ComponentProps<'div'> & {
397
+ config: ChartConfig;
398
+ children: React_2.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>['children'];
399
+ }): JSX.Element;
400
+
401
+ export declare const ChartLegend: typeof RechartsPrimitive.Legend;
402
+
403
+ export declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React_2.ComponentProps<'div'> & Pick<RechartsPrimitive.LegendProps, 'payload' | 'verticalAlign'> & {
404
+ hideIcon?: boolean;
405
+ nameKey?: string;
406
+ }): JSX.Element | null;
407
+
408
+ export declare const ChartStyle: ({ id, config }: {
409
+ id: string;
410
+ config: ChartConfig;
411
+ }) => JSX.Element | null;
412
+
413
+ export declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
414
+
415
+ export declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React_2.ComponentProps<typeof RechartsPrimitive.Tooltip> & React_2.ComponentProps<'div'> & {
416
+ hideLabel?: boolean;
417
+ hideIndicator?: boolean;
418
+ indicator?: 'line' | 'dot' | 'dashed';
419
+ nameKey?: string;
420
+ labelKey?: string;
421
+ }): JSX.Element | null;
422
+
423
+ export declare function Check(props: ComponentProps<'svg'>): JSX.Element;
424
+
425
+ export declare function Checkbox({ className, ...props }: React_2.ComponentProps<typeof CheckboxPrimitive.Root>): JSX.Element;
426
+
427
+ export declare function CheckCircle(props: ComponentProps<'svg'>): JSX.Element;
428
+
429
+ export declare function CheckCircle02(props: ComponentProps<'svg'>): JSX.Element;
430
+
431
+ export declare function CheckIcon({ className, size, variant, checked, defaultChecked, onCheckedChange, disabled, }: CheckIconProps): JSX.Element;
432
+
433
+ declare interface CheckIconProps {
434
+ className?: string;
435
+ size?: 'xs' | 'sm' | 'md' | 'lg';
436
+ variant?: 'outline' | 'filled';
437
+ /**
438
+ * Controls the checked state externally (controlled mode).
439
+ * When provided, the component becomes controlled and you must handle state changes via onCheckedChange.
440
+ */
441
+ checked?: boolean;
442
+ /**
443
+ * Default checked state for uncontrolled mode.
444
+ * Only used when 'checked' prop is not provided.
445
+ */
446
+ defaultChecked?: boolean;
447
+ /**
448
+ * Callback fired when the checked state changes.
449
+ * In controlled mode: you must update the 'checked' prop based on this callback.
450
+ * In uncontrolled mode: optional callback to listen to state changes.
451
+ */
452
+ onCheckedChange?: (checked: boolean) => void;
453
+ /**
454
+ * When true, the component becomes disabled and non-interactive.
455
+ */
456
+ disabled?: boolean;
457
+ }
458
+
459
+ export declare const checkSubset: (array: string[], subset: string[]) => boolean;
460
+
461
+ export declare function ChevronDown(props: ComponentProps<'svg'>): JSX.Element;
462
+
463
+ export declare function ChevronDownDouble(props: ComponentProps<'svg'>): JSX.Element;
464
+
465
+ export declare function ChevronLeft(props: ComponentProps<'svg'>): JSX.Element;
466
+
467
+ export declare function ChevronLeftDouble(props: ComponentProps<'svg'>): JSX.Element;
468
+
469
+ export declare function ChevronRight(props: ComponentProps<'svg'>): JSX.Element;
470
+
471
+ export declare function ChevronRightDouble(props: ComponentProps<'svg'>): JSX.Element;
472
+
473
+ export declare function ChevronUpDouble(props: ComponentProps<'svg'>): JSX.Element;
474
+
475
+ export declare function ClockRewind(props: ComponentProps<'svg'>): JSX.Element;
476
+
477
+ export declare function ClockStopwatch(props: ComponentProps<'svg'>): JSX.Element;
478
+
479
+ export declare function cn(...inputs: ClassValue[]): string;
480
+
481
+ export declare function CoinsHand(props: ComponentProps<'svg'>): JSX.Element;
482
+
483
+ export declare function CoinsStacked01(props: ComponentProps<'svg'>): JSX.Element;
484
+
485
+ export declare function CoinsStacked02(props: ComponentProps<'svg'>): JSX.Element;
486
+
487
+ export declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): JSX.Element;
488
+
489
+ export declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): JSX.Element;
490
+
491
+ export declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): JSX.Element;
492
+
493
+ export declare const ColorPicker: ForwardRefExoticComponent<Omit<ColorPickerProps, "ref"> & RefAttributes<HTMLInputElement>>;
494
+
495
+ export declare interface ColorPickerProps extends Omit<ComponentProps<'input'>, 'value' | 'onChange'> {
496
+ label?: string;
497
+ helperText?: string;
498
+ value?: string;
499
+ onChange?: (value: string) => void;
500
+ error?: string;
501
+ buttonText?: string;
502
+ }
503
+
504
+ export declare function ColorScale({ colors, principalLabel, copiedLabel }: ColorScaleProps): JSX.Element;
505
+
506
+ export declare namespace ColorScale {
507
+ var displayName: string;
508
+ }
509
+
510
+ declare type ColorScaleProps = {
511
+ colors: string[];
512
+ principalLabel: string;
513
+ copiedLabel: string;
514
+ };
515
+
516
+ export declare function Command({ className, ...props }: React_2.ComponentProps<typeof Command_2>): JSX.Element;
517
+
518
+ export declare function CommandDialog({ title, description, children, ...props }: React_2.ComponentProps<typeof Dialog> & {
519
+ title?: string;
520
+ description?: string;
521
+ }): JSX.Element;
522
+
523
+ export declare function CommandEmpty({ ...props }: React_2.ComponentProps<typeof Command_2.Empty>): JSX.Element;
524
+
525
+ export declare function CommandGroup({ className, ...props }: React_2.ComponentProps<typeof Command_2.Group>): JSX.Element;
526
+
527
+ export declare function CommandInput({ className, ...props }: React_2.ComponentProps<typeof Command_2.Input>): JSX.Element;
528
+
529
+ export declare function CommandItem({ className, ...props }: React_2.ComponentProps<typeof Command_2.Item>): JSX.Element;
530
+
531
+ export declare function CommandList({ className, ...props }: React_2.ComponentProps<typeof Command_2.List>): JSX.Element;
532
+
533
+ export declare function CommandSeparator({ className, ...props }: React_2.ComponentProps<typeof Command_2.Separator>): JSX.Element;
534
+
535
+ export declare function CommandShortcut({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
536
+
537
+ export declare function Container(props: ComponentProps<'svg'>): JSX.Element;
538
+
539
+ export declare function ContextMenu({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Root>): JSX.Element;
540
+
541
+ export declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): JSX.Element;
542
+
543
+ export declare function ContextMenuContent({ className, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Content>): JSX.Element;
544
+
545
+ export declare function ContextMenuGroup({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Group>): JSX.Element;
546
+
547
+ export declare function ContextMenuItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Item> & {
548
+ inset?: boolean;
549
+ variant?: 'default' | 'destructive';
550
+ }): JSX.Element;
551
+
552
+ export declare function ContextMenuLabel({ className, inset, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Label> & {
553
+ inset?: boolean;
554
+ }): JSX.Element;
555
+
556
+ export declare function ContextMenuPortal({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Portal>): JSX.Element;
557
+
558
+ export declare function ContextMenuRadioGroup({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): JSX.Element;
559
+
560
+ export declare function ContextMenuRadioItem({ className, children, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): JSX.Element;
561
+
562
+ export declare function ContextMenuSeparator({ className, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Separator>): JSX.Element;
563
+
564
+ export declare function ContextMenuShortcut({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
565
+
566
+ export declare function ContextMenuSub({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Sub>): JSX.Element;
567
+
568
+ export declare function ContextMenuSubContent({ className, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.SubContent>): JSX.Element;
569
+
570
+ export declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
571
+ inset?: boolean;
572
+ }): JSX.Element;
573
+
574
+ export declare function ContextMenuTrigger({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Trigger>): JSX.Element;
575
+
576
+ export declare function convertFromCents(value: string): number;
577
+
578
+ export declare function convertTextToNumbers(text: string): number[];
579
+
580
+ export declare function convertUnixTime(unix: number): string;
581
+
582
+ export declare function Copy02(props: ComponentProps<'svg'>): JSX.Element;
583
+
584
+ export declare function Copy04(props: ComponentProps<'svg'>): JSX.Element;
585
+
586
+ export declare const copyToClipboard: (text: string, callbackOptions?: {
587
+ onSuccess?: () => void;
588
+ onError?: () => void;
589
+ }) => Promise<boolean>;
590
+
591
+ export declare function CornerDownRight(props: ComponentProps<'svg'>): JSX.Element;
592
+
593
+ export declare const COUNTRY_CODES: readonly [{
594
+ readonly code: "+55";
595
+ readonly country: "BR";
596
+ readonly name: "Brasil";
597
+ readonly flag: "🇧🇷";
598
+ readonly mask: "(__) _ ____-____";
599
+ }, {
600
+ readonly code: "+1";
601
+ readonly country: "US";
602
+ readonly name: "Estados Unidos";
603
+ readonly flag: "🇺🇸";
604
+ readonly mask: "(___) ___-____";
605
+ }, {
606
+ readonly code: "+44";
607
+ readonly country: "GB";
608
+ readonly name: "Reino Unido";
609
+ readonly flag: "🇬🇧";
610
+ readonly mask: "____ ______";
611
+ }, {
612
+ readonly code: "+33";
613
+ readonly country: "FR";
614
+ readonly name: "França";
615
+ readonly flag: "🇫🇷";
616
+ readonly mask: "_ __ __ __ __";
617
+ }, {
618
+ readonly code: "+49";
619
+ readonly country: "DE";
620
+ readonly name: "Alemanha";
621
+ readonly flag: "🇩🇪";
622
+ readonly mask: "____ ______";
623
+ }, {
624
+ readonly code: "+34";
625
+ readonly country: "ES";
626
+ readonly name: "Espanha";
627
+ readonly flag: "🇪🇸";
628
+ readonly mask: "___ ___ ___";
629
+ }, {
630
+ readonly code: "+39";
631
+ readonly country: "IT";
632
+ readonly name: "Itália";
633
+ readonly flag: "🇮🇹";
634
+ readonly mask: "___ ___ ____";
635
+ }, {
636
+ readonly code: "+31";
637
+ readonly country: "NL";
638
+ readonly name: "Países Baixos";
639
+ readonly flag: "🇳🇱";
640
+ readonly mask: "_ ____ ____";
641
+ }, {
642
+ readonly code: "+32";
643
+ readonly country: "BE";
644
+ readonly name: "Bélgica";
645
+ readonly flag: "🇧🇪";
646
+ readonly mask: "___ ___ ___";
647
+ }, {
648
+ readonly code: "+46";
649
+ readonly country: "SE";
650
+ readonly name: "Suécia";
651
+ readonly flag: "🇸🇪";
652
+ readonly mask: "__ ___ ____";
653
+ }, {
654
+ readonly code: "+47";
655
+ readonly country: "NO";
656
+ readonly name: "Noruega";
657
+ readonly flag: "🇳🇴";
658
+ readonly mask: "___ __ ___";
659
+ }, {
660
+ readonly code: "+45";
661
+ readonly country: "DK";
662
+ readonly name: "Dinamarca";
663
+ readonly flag: "🇩🇰";
664
+ readonly mask: "__ __ __ __";
665
+ }, {
666
+ readonly code: "+358";
667
+ readonly country: "FI";
668
+ readonly name: "Finlândia";
669
+ readonly flag: "🇫🇮";
670
+ readonly mask: "__ ___ ____";
671
+ }, {
672
+ readonly code: "+351";
673
+ readonly country: "PT";
674
+ readonly name: "Portugal";
675
+ readonly flag: "🇵🇹";
676
+ readonly mask: "___ ___ ___";
677
+ }, {
678
+ readonly code: "+41";
679
+ readonly country: "CH";
680
+ readonly name: "Suíça";
681
+ readonly flag: "🇨🇭";
682
+ readonly mask: "__ ___ ____";
683
+ }, {
684
+ readonly code: "+43";
685
+ readonly country: "AT";
686
+ readonly name: "Áustria";
687
+ readonly flag: "🇦🇹";
688
+ readonly mask: "___ ___ ____";
689
+ }, {
690
+ readonly code: "+48";
691
+ readonly country: "PL";
692
+ readonly name: "Polônia";
693
+ readonly flag: "🇵🇱";
694
+ readonly mask: "___ ___ ___";
695
+ }, {
696
+ readonly code: "+420";
697
+ readonly country: "CZ";
698
+ readonly name: "República Tcheca";
699
+ readonly flag: "🇨🇿";
700
+ readonly mask: "___ ___ ___";
701
+ }, {
702
+ readonly code: "+36";
703
+ readonly country: "HU";
704
+ readonly name: "Hungria";
705
+ readonly flag: "🇭🇺";
706
+ readonly mask: "__ ___ ____";
707
+ }, {
708
+ readonly code: "+7";
709
+ readonly country: "RU";
710
+ readonly name: "Rússia";
711
+ readonly flag: "🇷🇺";
712
+ readonly mask: "(___) ___-__-__";
713
+ }, {
714
+ readonly code: "+86";
715
+ readonly country: "CN";
716
+ readonly name: "China";
717
+ readonly flag: "🇨🇳";
718
+ readonly mask: "___ ____ ____";
719
+ }, {
720
+ readonly code: "+81";
721
+ readonly country: "JP";
722
+ readonly name: "Japão";
723
+ readonly flag: "🇯🇵";
724
+ readonly mask: "__ ____ ____";
725
+ }, {
726
+ readonly code: "+82";
727
+ readonly country: "KR";
728
+ readonly name: "Coreia do Sul";
729
+ readonly flag: "🇰🇷";
730
+ readonly mask: "__ ____ ____";
731
+ }, {
732
+ readonly code: "+91";
733
+ readonly country: "IN";
734
+ readonly name: "Índia";
735
+ readonly flag: "🇮🇳";
736
+ readonly mask: "_____ _____";
737
+ }, {
738
+ readonly code: "+61";
739
+ readonly country: "AU";
740
+ readonly name: "Austrália";
741
+ readonly flag: "🇦🇺";
742
+ readonly mask: "___ ___ ___";
743
+ }, {
744
+ readonly code: "+64";
745
+ readonly country: "NZ";
746
+ readonly name: "Nova Zelândia";
747
+ readonly flag: "🇳🇿";
748
+ readonly mask: "___ ___ ____";
749
+ }, {
750
+ readonly code: "+52";
751
+ readonly country: "MX";
752
+ readonly name: "México";
753
+ readonly flag: "🇲🇽";
754
+ readonly mask: "___ ___ ____";
755
+ }, {
756
+ readonly code: "+54";
757
+ readonly country: "AR";
758
+ readonly name: "Argentina";
759
+ readonly flag: "🇦🇷";
760
+ readonly mask: "__ ____ ____";
761
+ }, {
762
+ readonly code: "+56";
763
+ readonly country: "CL";
764
+ readonly name: "Chile";
765
+ readonly flag: "🇨🇱";
766
+ readonly mask: "_ ____ ____";
767
+ }, {
768
+ readonly code: "+57";
769
+ readonly country: "CO";
770
+ readonly name: "Colômbia";
771
+ readonly flag: "🇨🇴";
772
+ readonly mask: "___ ___ ____";
773
+ }, {
774
+ readonly code: "+58";
775
+ readonly country: "VE";
776
+ readonly name: "Venezuela";
777
+ readonly flag: "🇻🇪";
778
+ readonly mask: "___ ___ ____";
779
+ }, {
780
+ readonly code: "+51";
781
+ readonly country: "PE";
782
+ readonly name: "Peru";
783
+ readonly flag: "🇵🇪";
784
+ readonly mask: "___ ___ ___";
785
+ }, {
786
+ readonly code: "+593";
787
+ readonly country: "EC";
788
+ readonly name: "Equador";
789
+ readonly flag: "🇪🇨";
790
+ readonly mask: "__ ___ ____";
791
+ }, {
792
+ readonly code: "+595";
793
+ readonly country: "PY";
794
+ readonly name: "Paraguai";
795
+ readonly flag: "🇵🇾";
796
+ readonly mask: "__ ___ ____";
797
+ }, {
798
+ readonly code: "+598";
799
+ readonly country: "UY";
800
+ readonly name: "Uruguai";
801
+ readonly flag: "🇺🇾";
802
+ readonly mask: "__ ___ ____";
803
+ }];
804
+
805
+ export declare type CountryCode = typeof COUNTRY_CODES[number];
806
+
807
+ export declare function createISODate(date: string): DateTime;
808
+
809
+ export declare const CURRENCY_OPTIONS: readonly CurrencyOption[];
810
+
811
+ export declare type CurrencyOption = {
812
+ code: string;
813
+ label: string;
814
+ locale: string;
815
+ symbol: string;
816
+ };
817
+
818
+ export declare function currencyShortener(value: number): string;
819
+
820
+ export declare function Dataflow03(props: ComponentProps<'svg'>): JSX.Element;
821
+
822
+ export declare function DatePicker({ value, onChange, placeholder, disabled, className, size, mode, footer, rounded, 'data-testid': dataTestId, minDate, maxDate, rangeText, multipleText, locale, withTime, timeLabel, timePlaceholder, }: DatePickerProps): JSX.Element;
823
+
824
+ declare type DatePickerProps = SingleDatePickerProps | MultipleDatePickerProps | RangeDatePickerProps | MonthDatePickerProps;
825
+
826
+ export declare function Dialog({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
827
+
828
+ export declare function DialogClose({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Close>): JSX.Element;
829
+
830
+ export declare function DialogContent({ className, children, showCloseButton, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Content> & {
831
+ showCloseButton?: boolean;
832
+ }): JSX.Element;
833
+
834
+ export declare function DialogDescription({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Description>): JSX.Element;
835
+
836
+ export declare function DialogFooter({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
837
+
838
+ export declare function DialogHeader({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
839
+
840
+ export declare function DialogOverlay({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Overlay>): JSX.Element;
841
+
842
+ export declare function DialogPortal({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Portal>): JSX.Element;
843
+
844
+ export declare function DialogTitle({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Title>): JSX.Element;
845
+
846
+ export declare function DialogTrigger({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>): JSX.Element;
847
+
848
+ export declare function displayAmount(amount: number, limit?: number): string;
849
+
850
+ export declare function Dotpoints01(props: ComponentProps<'svg'>): JSX.Element;
851
+
852
+ export declare function DotsVertical(props: ComponentProps<'svg'>): JSX.Element;
853
+
854
+ export declare function Download03(props: ComponentProps<'svg'>): JSX.Element;
855
+
856
+ export declare const DownloadCloud02: (props: ComponentProps<"svg">) => JSX.Element;
857
+
858
+ export declare function Drag(props: ComponentProps<'svg'>): JSX.Element;
859
+
860
+ export declare function Drawer({ variant, ...props }: DrawerProps): JSX.Element;
861
+
862
+ export declare function DrawerClose({ ...props }: React_2.ComponentProps<typeof Drawer_2.Close>): JSX.Element;
863
+
864
+ export declare function DrawerCloseButton(): JSX.Element;
865
+
866
+ export declare function DrawerContent({ className, children, variant, ...props }: DrawerContentProps): JSX.Element;
867
+
868
+ declare type DrawerContentProps = React_2.ComponentProps<typeof Drawer_2.Content> & {
869
+ variant?: DrawerVariant;
870
+ };
871
+
872
+ export declare function DrawerDescription({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Description>): JSX.Element;
873
+
874
+ export declare function DrawerFooter({ className, variant, ...props }: DrawerFooterProps): JSX.Element;
875
+
876
+ declare type DrawerFooterProps = React_2.ComponentProps<'div'> & {
877
+ variant?: DrawerVariant;
878
+ };
879
+
880
+ export declare function DrawerHeader({ className, variant, ...props }: DrawerHeaderProps): JSX.Element;
881
+
882
+ declare type DrawerHeaderProps = React_2.ComponentProps<'div'> & {
883
+ variant?: DrawerVariant;
884
+ };
885
+
886
+ export declare function DrawerOverlay({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Overlay>): JSX.Element;
887
+
888
+ export declare function DrawerPortal({ ...props }: React_2.ComponentProps<typeof Drawer_2.Portal>): JSX.Element;
889
+
890
+ declare type DrawerProps = React_2.ComponentProps<typeof Drawer_2.Root> & {
891
+ variant?: DrawerVariant;
892
+ };
893
+
894
+ export declare function DrawerTitle({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Title>): JSX.Element;
895
+
896
+ export declare function DrawerTrigger({ ...props }: React_2.ComponentProps<typeof Drawer_2.Trigger>): JSX.Element;
897
+
898
+ declare type DrawerVariant = 'default' | 'edge';
899
+
900
+ export declare const Dropdown: <OptionType extends OptionsType, IsMulti extends boolean = false, Group extends GroupBase<OptionType> = GroupBase<OptionType>>({ classNames, components: customComponents, placeholder, creatable, showSearchIcon, size, icon, rounded, createLabel, ...props }: DropdownProps<OptionType, IsMulti, Group>) => JSX.Element;
901
+
902
+ export declare const DropdownAsync: <OptionType extends OptionsType, IsMulti extends boolean = false, Additional = {
903
+ page: number;
904
+ }, Group extends GroupBase<OptionType> = GroupBase<OptionType>>({ classNames, components: customComponents, showSearchIcon, size, icon, rounded, placeholder, ...props }: AsyncPaginateCreatableProps<OptionType, IsMulti, Additional, Group>) => JSX.Element;
905
+
906
+ export declare function DropdownMenu({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Root>): JSX.Element;
907
+
908
+ export declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): JSX.Element;
909
+
910
+ export declare function DropdownMenuContent({ className, sideOffset, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Content>): JSX.Element;
911
+
912
+ export declare function DropdownMenuGroup({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Group>): JSX.Element;
913
+
914
+ export declare function DropdownMenuItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
915
+ inset?: boolean;
916
+ variant?: 'default' | 'light' | 'error' | 'success';
917
+ }): JSX.Element;
918
+
919
+ export declare function DropdownMenuLabel({ className, inset, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
920
+ inset?: boolean;
921
+ }): JSX.Element;
922
+
923
+ export declare function DropdownMenuPortal({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Portal>): JSX.Element;
924
+
925
+ export declare function DropdownMenuRadioGroup({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): JSX.Element;
926
+
927
+ export declare function DropdownMenuRadioItem({ className, children, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): JSX.Element;
928
+
929
+ export declare function DropdownMenuSeparator({ className, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Separator>): JSX.Element;
930
+
931
+ export declare function DropdownMenuShortcut({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
932
+
933
+ export declare function DropdownMenuSub({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Sub>): JSX.Element;
934
+
935
+ export declare function DropdownMenuSubContent({ className, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): JSX.Element;
936
+
937
+ export declare function DropdownMenuSubTrigger({ className, inset, children, variant, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
938
+ inset?: boolean;
939
+ variant?: 'default' | 'light' | 'error' | 'success';
940
+ }): JSX.Element;
941
+
942
+ export declare function DropdownMenuTrigger({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): JSX.Element;
943
+
944
+ declare type DropdownProps<OptionType extends OptionsType, IsMulti extends boolean = false, Group extends GroupBase<OptionType> = GroupBase<OptionType>> = Props<OptionType, IsMulti, Group> & {
945
+ creatable?: boolean;
946
+ isDisabled?: boolean;
947
+ showSearchIcon?: boolean;
948
+ size?: 'sm' | 'md' | 'lg';
949
+ icon?: default_2.ReactNode;
950
+ rounded?: 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full';
951
+ createLabel?: string;
952
+ };
953
+
954
+ export declare function Dropper(props: ComponentProps<'svg'>): JSX.Element;
955
+
956
+ export declare function Edit01(props: ComponentProps<'svg'>): JSX.Element;
957
+
958
+ export declare function Edit02(props: ComponentProps<'svg'>): JSX.Element;
959
+
960
+ export declare function Edit03(props: ComponentProps<'svg'>): JSX.Element;
961
+
962
+ export declare function EsIcon(props: ComponentProps<'svg'>): JSX.Element;
963
+
964
+ export declare function Eye(props: ComponentProps<'svg'>): JSX.Element;
965
+
966
+ export declare const FaceFrown: (props: ComponentProps<"svg">) => JSX.Element;
967
+
968
+ export declare const FaceHappy: (props: ComponentProps<"svg">) => JSX.Element;
969
+
970
+ export declare function File06(props: ComponentProps<'svg'>): JSX.Element;
971
+
972
+ export declare function FileAttachment04(props: ComponentProps<'svg'>): JSX.Element;
973
+
974
+ export declare function FileDownload02(props: ComponentProps<'svg'>): JSX.Element;
975
+
976
+ export declare function FilePlus02(props: ComponentProps<'svg'>): JSX.Element;
977
+
978
+ export declare function FileSearch01(props: ComponentProps<'svg'>): JSX.Element;
979
+
980
+ export declare function FileSearch03(props: ComponentProps<'svg'>): JSX.Element;
981
+
982
+ export declare const FileUpload: ({ onUpload, maxSize, accept, maxFiles, className, dragAndDropLabel, dragActiveLabel, maxSizeLabel, maxFilesLabel, uploadCompleteLabel, }: FileUploadProps) => JSX.Element;
983
+
984
+ export declare function FilterLines(props: ComponentProps<'svg'>): JSX.Element;
985
+
986
+ export declare function FirstCategory(props: ComponentProps<'svg'>): JSX.Element;
987
+
988
+ export declare function FirstStage(props: ComponentProps<'svg'>): JSX.Element;
989
+
990
+ export declare function Flex({ className, ...props }: React.ComponentProps<'div'>): JSX.Element;
991
+
992
+ export declare function Folder(props: ComponentProps<'svg'>): JSX.Element;
993
+
994
+ export declare function Form<T extends FieldValues>({ methods, onValid, onInvalid, className, children, ...props }: FormProps<T>): JSX.Element;
995
+
996
+ export declare function formatCurrency(value: number, currency?: string, decimalPlaces?: number, locale?: string): string;
997
+
998
+ export declare function formatCurrencyFromString(value: string, currency?: string): string;
999
+
1000
+ export declare const formatFileSize: (bytes: number) => string;
1001
+
1002
+ export declare function formatFromFromat(date: string, fromFormat: string, toFormat: string): string;
1003
+
1004
+ export declare const formatInternationalPhone: (phone: string, countryCode: string) => string;
1005
+
1006
+ export declare function formatISODate(date: string, format: string): string;
1007
+
1008
+ export declare function formatMinorUnitsToCurrency(valueInMinorUnits: number, currencyCode: string, locale?: string): string;
1009
+
1010
+ export declare function formatMinorUnitsToNumberString(valueInMinorUnits: number, locale?: string): string;
1011
+
1012
+ export declare function formatNumberToKOrM(value: number): string;
1013
+
1014
+ export declare function FormControl({ ...props }: React_2.ComponentProps<typeof Slot>): JSX.Element;
1015
+
1016
+ export declare function FormDescription({ className, ...props }: React_2.ComponentProps<'p'>): JSX.Element;
1017
+
1018
+ export declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => JSX.Element;
1019
+
1020
+ export declare const FormFieldContext: default_2.Context<FormFieldContextValue<FieldValues, string>>;
1021
+
1022
+ declare type FormFieldContextValue<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
1023
+ name: TName;
1024
+ };
1025
+
1026
+ export declare function FormItem({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
1027
+
1028
+ export declare const FormItemContext: default_2.Context<FormItemContextValue>;
1029
+
1030
+ declare type FormItemContextValue = {
1031
+ id: string;
1032
+ };
1033
+
1034
+ export declare function FormLabel({ className, required, helpText, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root> & {
1035
+ required?: boolean;
1036
+ helpText?: string;
1037
+ }): JSX.Element;
1038
+
1039
+ export declare function FormMessage({ className, ...props }: React_2.ComponentProps<'p'>): JSX.Element | null;
1040
+
1041
+ declare interface FormProps<T extends FieldValues = FieldValues> extends Omit<React_2.ComponentProps<'form'>, 'onSubmit' | 'onInvalid'> {
1042
+ methods: UseFormReturn<T>;
1043
+ onValid: SubmitHandler<T>;
1044
+ onInvalid?: SubmitErrorHandler<T>;
1045
+ }
1046
+
1047
+ export declare function fromIsoToLocale(date: string): string;
1048
+
1049
+ export declare function fromIsoToMillis(date: string): number;
1050
+
1051
+ export declare function generateScale(hex: string, steps: number, darkRange?: number, lightRange?: number): string[];
1052
+
1053
+ export declare const getCountryByCode: (code: string) => CountryCode | undefined;
1054
+
1055
+ export declare const getCurrencyByCode: (code: string) => CurrencyOption | undefined;
1056
+
1057
+ export declare function getCurrentDate(): string | null;
1058
+
1059
+ export declare const getDefaultCountry: () => CountryCode;
1060
+
1061
+ export declare const getDefaultCurrency: () => CurrencyOption;
1062
+
1063
+ export declare function getInitials(name: string): string;
1064
+
1065
+ export declare function getMimeTypeByExtension(extension: string): string;
1066
+
1067
+ export declare const getYouTubeEmbedUrl: (url: string) => string;
1068
+
1069
+ export declare function Google(props: ComponentProps<'svg'>): JSX.Element;
1070
+
1071
+ export declare function GraduationHat02(props: ComponentProps<'svg'>): JSX.Element;
1072
+
1073
+ export declare function Grid({ className, ...props }: React.ComponentProps<'div'>): JSX.Element;
1074
+
1075
+ export declare function Grid01(props: ComponentProps<'svg'>): JSX.Element;
1076
+
1077
+ export declare function HelpCircle(props: ComponentProps<'svg'>): JSX.Element;
1078
+
1079
+ export declare function HelpSquare(props: ComponentProps<'svg'>): JSX.Element;
1080
+
1081
+ export declare function hexToHsl(hex: string): [number, number, number];
1082
+
1083
+ export declare function HomeLine(props: ComponentProps<'svg'>): JSX.Element;
1084
+
1085
+ export declare function HoverCard({ ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Root>): JSX.Element;
1086
+
1087
+ export declare function HoverCardContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Content>): JSX.Element;
1088
+
1089
+ export declare function HoverCardTrigger({ ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Trigger>): JSX.Element;
1090
+
1091
+ export declare function hslToHex(h: number, s: number, l: number, alpha?: number): string;
1092
+
1093
+ export declare const Icon: MemoExoticComponent<({ icon: IconComponent, className, variant, hasSpiralEffect, size, ...rest }: IconProps) => JSX.Element>;
1094
+
1095
+ declare const ICON_SIZES: {
1096
+ small: string;
1097
+ medium: string;
1098
+ large: string;
1099
+ };
1100
+
1101
+ export declare interface IconProps {
1102
+ icon: ElementType;
1103
+ className?: string;
1104
+ variant?: 'primary' | 'secondary' | 'outline' | 'success' | 'error' | 'warning';
1105
+ hasSpiralEffect?: boolean;
1106
+ size?: keyof typeof ICON_SIZES;
1107
+ }
1108
+
1109
+ export declare function InfoCircle(props: ComponentProps<'svg'>): JSX.Element;
1110
+
1111
+ export declare const Input: ForwardRefExoticComponent<Omit<InputProps, "ref"> & RefAttributes<HTMLInputElement>>;
1112
+
1113
+ declare const INPUT_SIZE_CLASSES: {
1114
+ readonly sm: "text-sm";
1115
+ readonly md: "text-base";
1116
+ readonly lg: "text-base";
1117
+ };
1118
+
1119
+ export declare const InputMoney: ForwardRefExoticComponent<Omit<InputMoneyProps, "ref"> & RefAttributes<HTMLInputElement>>;
1120
+
1121
+ export declare interface InputMoneyProps extends Omit<ComponentProps<'input'>, 'size' | 'type' | 'onChange' | 'value' | 'defaultValue'> {
1122
+ error?: boolean;
1123
+ success?: boolean;
1124
+ size?: keyof typeof SIZE_CLASSES_2;
1125
+ defaultCurrency?: string;
1126
+ availableCurrencies?: string[];
1127
+ onCurrencyChange?: (currency: CurrencyOption) => void;
1128
+ onChange?: (minorUnits: number, currencyCode: string) => void;
1129
+ minorUnits?: number;
1130
+ defaultMinorUnits?: number;
1131
+ 'data-testid'?: string;
1132
+ }
1133
+
1134
+ export declare function InputOTP({ className, containerClassName, ...props }: React_2.ComponentProps<typeof OTPInput> & {
1135
+ containerClassName?: string;
1136
+ }): JSX.Element;
1137
+
1138
+ export declare function InputOTPGroup({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
1139
+
1140
+ export declare function InputOTPSeparator({ ...props }: React_2.ComponentProps<'div'>): JSX.Element;
1141
+
1142
+ export declare function InputOTPSlot({ index, className, ...props }: React_2.ComponentProps<'div'> & {
1143
+ index: number;
1144
+ }): JSX.Element;
1145
+
1146
+ export declare const InputPhone: ForwardRefExoticComponent<Omit<InputPhoneProps, "ref"> & RefAttributes<HTMLInputElement>>;
1147
+
1148
+ export declare interface InputPhoneProps extends Omit<ComponentProps<'input'>, 'size' | 'type' | 'onChange'> {
1149
+ error?: boolean;
1150
+ success?: boolean;
1151
+ size?: keyof typeof SIZE_CLASSES_3;
1152
+ defaultCountry?: string;
1153
+ availableCountries?: string[];
1154
+ onCountryChange?: (country: CountryCode) => void;
1155
+ onChange?: (value: string, countryCode: string) => void;
1156
+ onlyMobile?: boolean;
1157
+ 'data-testid'?: string;
1158
+ }
1159
+
1160
+ declare interface InputProps extends Omit<ComponentProps<'input'>, 'size'> {
1161
+ mask?: string;
1162
+ error?: boolean;
1163
+ success?: boolean;
1164
+ loading?: boolean;
1165
+ size?: keyof typeof SIZE_CLASSES;
1166
+ 'data-testid'?: string;
1167
+ }
1168
+
1169
+ export declare const InputSearch: ForwardRefExoticComponent<Omit<InputSearchProps, "ref"> & RefAttributes<HTMLInputElement>>;
1170
+
1171
+ export declare interface InputSearchProps extends Omit<ComponentProps<'input'>, 'size' | 'type' | 'onChange'> {
1172
+ /** Error state styling */
1173
+ error?: boolean;
1174
+ /** Success state styling */
1175
+ success?: boolean;
1176
+ /** Size of the input field */
1177
+ size?: keyof typeof INPUT_SIZE_CLASSES;
1178
+ /** Container rounded state styling */
1179
+ rounded?: 'md' | 'lg' | '2xl' | '3xl' | 'full';
1180
+ /** Callback triggered when search is performed (Enter key or button click) */
1181
+ onSearch?: (value: string) => void;
1182
+ /** Callback triggered when input value changes */
1183
+ onChange?: (value: string) => void;
1184
+ /** Text for the Enter button */
1185
+ enterButtonText?: string;
1186
+ /** Whether to show the Enter button */
1187
+ showEnterButton?: boolean;
1188
+ /** Whether to show the loading state */
1189
+ loading?: boolean;
1190
+ /** Test identifier */
1191
+ 'data-testid'?: string;
1192
+ /** Whether the input has focus */
1193
+ hasFocus?: boolean;
1194
+ }
1195
+
1196
+ export declare const InputUpload: ForwardRefExoticComponent<Omit<InputUploadProps, "ref"> & RefAttributes<HTMLInputElement>>;
1197
+
1198
+ export declare interface InputUploadProps extends Omit<ComponentProps<'input'>, 'onChange' | 'onError' | 'value'> {
1199
+ /** Text displayed on the upload button */
1200
+ buttonText?: string;
1201
+ /** Maximum file size in MB. Files larger than this will be rejected */
1202
+ maxSize?: number;
1203
+ /** Maximum file size error message */
1204
+ maxSizeErrorMessage?: string;
1205
+ /** Accepted file types error message */
1206
+ acceptErrorMessage?: string;
1207
+ /** Label text displayed above the input field */
1208
+ label?: string;
1209
+ /** Helper text displayed below the input field */
1210
+ helperText?: string;
1211
+ /** Whether to show a preview area (image preview or default icon) */
1212
+ showPreview?: boolean;
1213
+ /** Size of the preview area: 'sm' (64px), 'md' (92px), or 'lg' (128px) */
1214
+ previewSize?: 'sm' | 'md' | 'lg' | 'custom';
1215
+ /** Variant of the preview area: 'default' (default), 'rounded' (rounded), 'square' (square), 'custom' (custom) */
1216
+ previewVariant?: 'rounded' | 'square' | 'banner' | 'custom';
1217
+ /** Customize the appearence of the preview */
1218
+ customPreviewVariant?: string;
1219
+ /** Customize the size of the preview */
1220
+ customPreviewSizes?: string;
1221
+ /** Customize the appearence of the preview */
1222
+ customPreviewImage?: string;
1223
+ /** Custom icon to display in the preview area when no image is selected */
1224
+ defaultIcon?: React.ReactNode;
1225
+ /** Callback triggered when a file is selected or deselected */
1226
+ onFileSelect?: (file: File | null, previewUrl?: string) => void;
1227
+ /** Callback triggered when file upload is completed successfully */
1228
+ onUploadComplete?: (url: string) => void;
1229
+ /** Callback triggered when an error occurs during file selection or upload */
1230
+ onError?: (error: string) => void;
1231
+ /** Whether the component is in a loading state (shows spinner) */
1232
+ loading?: boolean;
1233
+ /** Loading text */
1234
+ loadingText?: boolean;
1235
+ /** Error message to display below the input field */
1236
+ error?: string;
1237
+ /** Current value of the upload field (File, URL string, or null) */
1238
+ value?: UploadValue_3;
1239
+ /** Callback triggered when the value changes */
1240
+ onChange?: (value: UploadValue_3) => void;
1241
+ /** Function to handle file upload. Should return a Promise that resolves to the uploaded file URL */
1242
+ uploadFunction?: (file: File) => Promise<string>;
1243
+ }
1244
+
1245
+ export declare const InputWithButton: ForwardRefExoticComponent<Omit<InputWithButtonProps, "ref"> & RefAttributes<HTMLInputElement>>;
1246
+
1247
+ export declare interface InputWithButtonProps extends Omit<ComponentProps<'input'>, 'size'> {
1248
+ /** Text displayed on the button */
1249
+ buttonText?: string;
1250
+ /** Callback triggered when the button is clicked */
1251
+ onButtonClick?: () => void;
1252
+ /** Whether the button is in a loading state */
1253
+ buttonLoading?: boolean;
1254
+ /** Whether the button is disabled */
1255
+ buttonDisabled?: boolean;
1256
+ /** Error message to display below the input field */
1257
+ error?: string;
1258
+ /** Whether the input has a success state */
1259
+ success?: boolean;
1260
+ /** Size of the input and button: 'sm', 'md', or 'lg' */
1261
+ size?: keyof typeof SIZE_CLASSES_4;
1262
+ /** Mask pattern for the input */
1263
+ mask?: string;
1264
+ /** Whether the input is in a loading state */
1265
+ loading?: boolean;
1266
+ /** Custom icon to display in the button */
1267
+ buttonIcon?: React.ReactNode;
1268
+ /** Test ID for testing purposes */
1269
+ 'data-testid'?: string;
1270
+ }
1271
+
1272
+ export declare function isAPIError(err: unknown): boolean;
1273
+
1274
+ export declare function isForbiddenError(err: unknown): boolean;
1275
+
1276
+ export declare const isValidCNPJ: (cnpj: string) => boolean;
1277
+
1278
+ export declare function isValidCPF(text: string): boolean;
1279
+
1280
+ export declare function isValidDocument(text: string): boolean;
1281
+
1282
+ export declare function isValidEmail(email: string): boolean;
1283
+
1284
+ export declare const isValidInternationalPhone: (phone: string, countryCode: string) => boolean;
1285
+
1286
+ export declare function isValidName(name: string): boolean;
1287
+
1288
+ export declare function isValidPhone(phone: string): boolean;
1289
+
1290
+ export declare function Italic01(props: ComponentProps<'svg'>): JSX.Element;
1291
+
1292
+ export declare function keepOnlyNumber(text: string): string;
1293
+
1294
+ export declare function Label({ className, required, helpText, error, ...props }: LabelProps): JSX.Element;
1295
+
1296
+ declare interface LabelProps extends React_2.ComponentProps<typeof LabelPrimitive.Root> {
1297
+ required?: boolean;
1298
+ helpText?: string;
1299
+ error?: boolean;
1300
+ }
1301
+
1302
+ export declare function LastCategory(props: ComponentProps<'svg'>): JSX.Element;
1303
+
1304
+ export declare function LastStage(props: ComponentProps<'svg'>): JSX.Element;
1305
+
1306
+ export declare function LayoutAlt04(props: ComponentProps<'svg'>): JSX.Element;
1307
+
1308
+ export declare function Lightbulb02(props: ComponentProps<'svg'>): JSX.Element;
1309
+
1310
+ export declare function Link01(props: ComponentProps<'svg'>): JSX.Element;
1311
+
1312
+ export declare function LinkBroken01(props: ComponentProps<'svg'>): JSX.Element;
1313
+
1314
+ export declare function LinkedinLogo(props: ComponentProps<'svg'>): JSX.Element;
1315
+
1316
+ export declare function Lock01(props: ComponentProps<'svg'>): JSX.Element;
1317
+
1318
+ export declare function LogOut01(props: ComponentProps<'svg'>): JSX.Element;
1319
+
1320
+ export declare function Mail01(props: ComponentProps<'svg'>): JSX.Element;
1321
+
1322
+ export declare function MarkerPin02(props: ComponentProps<'svg'>): JSX.Element;
1323
+
1324
+ export declare const MASK_HELPERS: {
1325
+ removeMask: (value: string) => string;
1326
+ applyMask: (value: string, mask: string) => string;
1327
+ isValidCPF: (cpf: string) => boolean;
1328
+ isValidCNPJ: (cnpj: string) => boolean;
1329
+ isValidEmail: (email: string) => boolean;
1330
+ formatCurrency: (value: number, locale?: string, currency?: string) => string;
1331
+ formatPhone: (phone: string) => string;
1332
+ formatCEP: (cep: string) => string;
1333
+ formatCPF: (cpf: string) => string;
1334
+ formatCNPJ: (cnpj: string) => string;
1335
+ };
1336
+
1337
+ export declare function maskCurrency(value: number, locale?: string, currency?: string): string;
1338
+
1339
+ export declare const MASKS: {
1340
+ CPF: string;
1341
+ CNPJ: string;
1342
+ RG: string;
1343
+ PIS: string;
1344
+ TITULO_ELEITOR: string;
1345
+ CNH: string;
1346
+ PHONE_BR: string;
1347
+ PHONE_BR_FIXED: string;
1348
+ PHONE_MOBILE: string;
1349
+ WHATSAPP: string;
1350
+ CEP: string;
1351
+ CREDIT_CARD: string;
1352
+ CREDIT_CARD_EXPIRY: string;
1353
+ CREDIT_CARD_CVV: string;
1354
+ BANK_ACCOUNT: string;
1355
+ BANK_AGENCY: string;
1356
+ PIX_PHONE: string;
1357
+ DATE_BR: string;
1358
+ DATE_US: string;
1359
+ TIME: string;
1360
+ TIME_FULL: string;
1361
+ DATETIME_BR: string;
1362
+ CURRENCY_BR: string;
1363
+ PERCENTAGE: string;
1364
+ WEIGHT: string;
1365
+ HEIGHT: string;
1366
+ DISTANCE_KM: string;
1367
+ ISBN: string;
1368
+ PASSPORT_BR: string;
1369
+ VEHICLE_PLATE_OLD: string;
1370
+ VEHICLE_PLATE_MERCOSUL: string;
1371
+ };
1372
+
1373
+ export declare type MaskType = keyof typeof MASKS;
1374
+
1375
+ export declare const MAX_ZOOM = 3;
1376
+
1377
+ export declare function Menu01(props: ComponentProps<'svg'>): JSX.Element;
1378
+
1379
+ export declare function Menubar({ className, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Root>): JSX.Element;
1380
+
1381
+ export declare function MenubarCheckboxItem({ className, children, checked, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): JSX.Element;
1382
+
1383
+ export declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Content>): JSX.Element;
1384
+
1385
+ export declare function MenubarGroup({ ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Group>): JSX.Element;
1386
+
1387
+ export declare function MenubarItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Item> & {
1388
+ inset?: boolean;
1389
+ variant?: 'default' | 'destructive';
1390
+ }): JSX.Element;
1391
+
1392
+ export declare function MenubarLabel({ className, inset, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Label> & {
1393
+ inset?: boolean;
1394
+ }): JSX.Element;
1395
+
1396
+ export declare function MenubarMenu({ ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Menu>): JSX.Element;
1397
+
1398
+ export declare function MenubarPortal({ ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Portal>): JSX.Element;
1399
+
1400
+ export declare function MenubarRadioGroup({ ...props }: React_2.ComponentProps<typeof MenubarPrimitive.RadioGroup>): JSX.Element;
1401
+
1402
+ export declare function MenubarRadioItem({ className, children, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.RadioItem>): JSX.Element;
1403
+
1404
+ export declare function MenubarSeparator({ className, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Separator>): JSX.Element;
1405
+
1406
+ export declare function MenubarShortcut({ className, ...props }: React_2.ComponentProps<'span'>): JSX.Element;
1407
+
1408
+ export declare function MenubarSub({ ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Sub>): JSX.Element;
1409
+
1410
+ export declare function MenubarSubContent({ className, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.SubContent>): JSX.Element;
1411
+
1412
+ export declare function MenubarSubTrigger({ className, inset, children, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
1413
+ inset?: boolean;
1414
+ }): JSX.Element;
1415
+
1416
+ export declare function MenubarTrigger({ className, ...props }: React_2.ComponentProps<typeof MenubarPrimitive.Trigger>): JSX.Element;
1417
+
1418
+ export declare function MiddleCategory(props: ComponentProps<'svg'>): JSX.Element;
1419
+
1420
+ export declare function MiddleStage(props: ComponentProps<'svg'>): JSX.Element;
1421
+
1422
+ export declare const MIN_ZOOM = 0.6;
1423
+
1424
+ declare interface MonthDatePickerProps extends BaseDatePickerProps {
1425
+ mode: 'month';
1426
+ value?: Date;
1427
+ onChange?: (date: Date | undefined) => void;
1428
+ }
1429
+
1430
+ export declare function MsOutlook(props: ComponentProps<'svg'>): JSX.Element;
1431
+
1432
+ declare interface MultipleDatePickerProps extends BaseDatePickerProps {
1433
+ mode: 'multiple';
1434
+ value?: Date[];
1435
+ onChange?: (dates: Date[] | undefined) => void;
1436
+ }
1437
+
1438
+ export declare function NavigationMenu({ className, children, viewport, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
1439
+ viewport?: boolean;
1440
+ }): JSX.Element;
1441
+
1442
+ export declare function NavigationMenuContent({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Content>): JSX.Element;
1443
+
1444
+ export declare function NavigationMenuIndicator({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): JSX.Element;
1445
+
1446
+ export declare function NavigationMenuItem({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Item>): JSX.Element;
1447
+
1448
+ export declare function NavigationMenuLink({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Link>): JSX.Element;
1449
+
1450
+ export declare function NavigationMenuList({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.List>): JSX.Element;
1451
+
1452
+ export declare function NavigationMenuTrigger({ className, children, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): JSX.Element;
1453
+
1454
+ export declare const navigationMenuTriggerStyle: (props?: ClassProp | undefined) => string;
1455
+
1456
+ export declare function NavigationMenuViewport({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): JSX.Element;
1457
+
1458
+ export declare function normalizeCurrency(str: string): string;
1459
+
1460
+ declare type OptionsType = {
1461
+ label: string;
1462
+ icon?: default_2.ReactNode;
1463
+ value: string;
1464
+ };
1465
+
1466
+ declare type OverlayPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center';
1467
+
1468
+ export declare function Pagination({ pageCount, pageIndex, setPageIndex, canPreviousPage, canNextPage, pageSize, setPageSize, previousPage, nextPage, nextPageText, previousPageText, pageSizeOptions, pageSizeLabel, showPageSizeSelector, maxVisiblePages, className, 'aria-label': ariaLabel, }: PaginationProps): JSX.Element;
1469
+
1470
+ export declare const PaginationDotGroup: MemoExoticComponent<({ pages, currentPage, onPageChange, disabled, "data-testid": testId, }: PaginationDotGroupProps) => JSX.Element | null>;
1471
+
1472
+ export declare interface PaginationDotGroupProps {
1473
+ pages: number;
1474
+ currentPage: number;
1475
+ onPageChange?: (page: number) => void;
1476
+ disabled?: boolean;
1477
+ 'data-testid'?: string;
1478
+ }
1479
+
1480
+ export declare interface PaginationProps {
1481
+ pageCount: number;
1482
+ pageIndex: number;
1483
+ setPageIndex: (pageIndex: number) => void;
1484
+ canPreviousPage: boolean;
1485
+ canNextPage: boolean;
1486
+ pageSize: number;
1487
+ setPageSize: (pageSize: number) => void;
1488
+ previousPage: () => void;
1489
+ nextPage: () => void;
1490
+ nextPageText?: string;
1491
+ previousPageText?: string;
1492
+ pageSizeOptions?: number[];
1493
+ pageSizeLabel?: string;
1494
+ showPageSizeSelector?: boolean;
1495
+ maxVisiblePages?: number;
1496
+ className?: string;
1497
+ 'aria-label'?: string;
1498
+ }
1499
+
1500
+ export declare function ParagraphSpacing(props: ComponentProps<'svg'>): JSX.Element;
1501
+
1502
+ export declare function parseCurrencyToMinorUnits(formatted: string): number;
1503
+
1504
+ export declare const PDFViewer: default_2.MemoExoticComponent<typeof PDFViewerComponent>;
1505
+
1506
+ declare function PDFViewerComponent({ fileUrl, fileTitle, className, texts }: PDFViewerProps): JSX.Element;
1507
+
1508
+ declare interface PDFViewerProps {
1509
+ fileUrl: string;
1510
+ fileTitle?: string;
1511
+ className?: string;
1512
+ texts?: {
1513
+ loading?: string;
1514
+ error?: string;
1515
+ loadingPage?: string;
1516
+ page?: string;
1517
+ pages?: string;
1518
+ };
1519
+ }
1520
+
1521
+ export declare function Phone01(props: ComponentProps<'svg'>): JSX.Element;
1522
+
1523
+ export declare interface PhoneValue {
1524
+ phone: string;
1525
+ countryCode: string;
1526
+ fullNumber: string;
1527
+ }
1528
+
1529
+ export declare function PieChart02(props: ComponentProps<'svg'>): JSX.Element;
1530
+
1531
+ export declare function PlusCircle(props: ComponentProps<'svg'>): JSX.Element;
1532
+
1533
+ export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
1534
+
1535
+ export declare const PopoverAnchor: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React_2.RefAttributes<HTMLDivElement>>;
1536
+
1537
+ export declare const PopoverArrow: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverArrowProps & React_2.RefAttributes<SVGSVGElement>>;
1538
+
1539
+ export declare const PopoverClose: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
1540
+
1541
+ export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1542
+
1543
+ export declare const PopoverPortal: React_2.FC<PopoverPrimitive.PopoverPortalProps>;
1544
+
1545
+ export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
1546
+
1547
+ export declare function PortalLogo({ ...props }: ComponentProps<'svg'>): JSX.Element;
1548
+
1549
+ export declare function PresentationChart02(props: ComponentProps<'svg'>): JSX.Element;
1550
+
1551
+ export declare function Progress({ className, value, ...props }: React_2.ComponentProps<typeof ProgressPrimitive.Root>): JSX.Element;
1552
+
1553
+ export declare const ProgressSteps: MemoExoticComponent<({ steps }: ProgressStepsProps) => JSX.Element | null>;
1554
+
1555
+ export declare interface ProgressStepsProps {
1556
+ steps: Array<{
1557
+ icon: ElementType;
1558
+ label: string;
1559
+ description: string;
1560
+ active?: boolean;
1561
+ }>;
1562
+ }
1563
+
1564
+ export declare function RadioGroup({ className, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Root>): JSX.Element;
1565
+
1566
+ export declare function RadioGroupItem({ className, variant, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Item> & {
1567
+ variant?: 'primary' | 'secondary';
1568
+ }): JSX.Element;
1569
+
1570
+ declare interface RangeDatePickerProps extends BaseDatePickerProps {
1571
+ mode: 'range';
1572
+ value?: DateRange;
1573
+ onChange?: (range: DateRange | undefined) => void;
1574
+ }
1575
+
1576
+ export declare const REGEX_PATTERNS: {
1577
+ CPF: RegExp;
1578
+ CNPJ: RegExp;
1579
+ PHONE_BR: RegExp;
1580
+ CEP: RegExp;
1581
+ EMAIL: RegExp;
1582
+ CREDIT_CARD: RegExp;
1583
+ DATE_BR: RegExp;
1584
+ TIME: RegExp;
1585
+ };
1586
+
1587
+ export declare type RegexType = keyof typeof REGEX_PATTERNS;
1588
+
1589
+ export declare function removeInitialSlash(text: string): string;
1590
+
1591
+ export declare const RenderCondition: ({ children, condition }: RenderConditionProps) => JSX.Element | null;
1592
+
1593
+ declare interface RenderConditionProps {
1594
+ children: ReactNode;
1595
+ condition: boolean;
1596
+ }
1597
+
1598
+ export declare const renderHighlightedText: (label: string, queryText: string) => React.ReactNode;
1599
+
1600
+ export declare function ResizableHandle({ withHandle, className, ...props }: React_2.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
1601
+ withHandle?: boolean;
1602
+ }): JSX.Element;
1603
+
1604
+ export declare function ResizablePanel({ ...props }: React_2.ComponentProps<typeof ResizablePrimitive.Panel>): JSX.Element;
1605
+
1606
+ export declare function ResizablePanelGroup({ className, ...props }: React_2.ComponentProps<typeof ResizablePrimitive.PanelGroup>): JSX.Element;
1607
+
1608
+ export declare const RichTextEditor: MemoExoticComponent<({ editorContent, onChange, label, placeholder, isDisabled, isRequired }: RichTextEditorProps) => JSX.Element | null>;
1609
+
1610
+ declare interface RichTextEditorProps {
1611
+ editorContent: string;
1612
+ onChange?: (content: string) => void;
1613
+ label?: string;
1614
+ placeholder?: string;
1615
+ isDisabled?: boolean;
1616
+ isRequired?: boolean;
1617
+ }
1618
+
1619
+ export declare function Route(props: ComponentProps<'svg'>): JSX.Element;
1620
+
1621
+ export declare function Save01(props: ComponentProps<'svg'>): JSX.Element;
1622
+
1623
+ declare interface ScreenSizes {
1624
+ isMobile: boolean;
1625
+ isTablet: boolean;
1626
+ isDesktop: boolean;
1627
+ isFullHd: boolean;
1628
+ width: number;
1629
+ }
1630
+
1631
+ export declare function ScrollArea({ className, children, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.Root>): JSX.Element;
1632
+
1633
+ export declare function ScrollBar({ className, orientation, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): JSX.Element;
1634
+
1635
+ export declare function SearchLg(props: ComponentProps<'svg'>): JSX.Element;
1636
+
1637
+ export declare function SearchSm(props: ComponentProps<'svg'>): JSX.Element;
1638
+
1639
+ export declare function Select({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Root>): JSX.Element;
1640
+
1641
+ export declare function SelectContent({ className, children, position, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Content>): JSX.Element;
1642
+
1643
+ export declare function SelectGroup({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Group>): JSX.Element;
1644
+
1645
+ export declare function SelectItem({ className, children, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Item>): JSX.Element;
1646
+
1647
+ export declare function SelectLabel({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Label>): JSX.Element;
1648
+
1649
+ export declare function SelectScrollDownButton({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): JSX.Element;
1650
+
1651
+ export declare function SelectScrollUpButton({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): JSX.Element;
1652
+
1653
+ export declare function SelectSeparator({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Separator>): JSX.Element;
1654
+
1655
+ export declare function SelectTrigger({ className, size, children, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Trigger> & {
1656
+ size?: 'sm' | 'md' | 'lg';
1657
+ }): JSX.Element;
1658
+
1659
+ export declare function SelectValue({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Value>): JSX.Element;
1660
+
1661
+ export declare function Send03(props: ComponentProps<'svg'>): JSX.Element;
1662
+
1663
+ export declare function Separator({ className, orientation, decorative, ...props }: React_2.ComponentProps<typeof SeparatorPrimitive.Root>): JSX.Element;
1664
+
1665
+ export declare function Settings01(props: ComponentProps<'svg'>): JSX.Element;
1666
+
1667
+ export declare function Settings03(props: ComponentProps<'svg'>): JSX.Element;
1668
+
1669
+ export declare function Share05(props: ComponentProps<'svg'>): JSX.Element;
1670
+
1671
+ export declare function Share06(props: ComponentProps<'svg'>): JSX.Element;
1672
+
1673
+ export declare function Sheet({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): JSX.Element;
1674
+
1675
+ export declare function SheetClose({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Close>): JSX.Element;
1676
+
1677
+ export declare function SheetContent({ className, children, side, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Content> & {
1678
+ side?: 'top' | 'right' | 'bottom' | 'left';
1679
+ }): JSX.Element;
1680
+
1681
+ export declare function SheetDescription({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Description>): JSX.Element;
1682
+
1683
+ export declare function SheetFooter({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
1684
+
1685
+ export declare function SheetHeader({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
1686
+
1687
+ export declare function SheetTitle({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Title>): JSX.Element;
1688
+
1689
+ export declare function SheetTrigger({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>): JSX.Element;
1690
+
1691
+ export declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React_2.ComponentProps<'div'> & {
1692
+ side?: 'left' | 'right';
1693
+ variant?: 'sidebar' | 'floating' | 'inset';
1694
+ collapsible?: 'offcanvas' | 'icon' | 'none';
1695
+ }): JSX.Element;
1696
+
1697
+ export declare function SidebarContent({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
1698
+
1699
+ export declare const SidebarContext: default_2.Context<SidebarContextProps | null>;
1700
+
1701
+ export declare type SidebarContextProps = {
1702
+ state: 'expanded' | 'collapsed';
1703
+ open: boolean;
1704
+ setOpen: (open: boolean) => void;
1705
+ openMobile: boolean;
1706
+ setOpenMobile: (open: boolean) => void;
1707
+ isMobile: boolean;
1708
+ toggleSidebar: () => void;
1709
+ };
1710
+
1711
+ export declare function SidebarFooter({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
1712
+
1713
+ export declare function SidebarGroup({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
1714
+
1715
+ export declare function SidebarGroupAction({ className, asChild, ...props }: React_2.ComponentProps<'button'> & {
1716
+ asChild?: boolean;
1717
+ }): JSX.Element;
1718
+
1719
+ export declare function SidebarGroupContent({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
1720
+
1721
+ export declare function SidebarGroupLabel({ className, asChild, ...props }: React_2.ComponentProps<'div'> & {
1722
+ asChild?: boolean;
1723
+ }): JSX.Element;
1724
+
1725
+ export declare function SidebarHeader({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
1726
+
1727
+ export declare function SidebarInput({ className, ...props }: React_2.ComponentProps<typeof Input>): JSX.Element;
1728
+
1729
+ export declare function SidebarInset({ className, ...props }: React_2.ComponentProps<'main'>): JSX.Element;
1730
+
1731
+ export declare function SidebarMenu({ className, ...props }: React_2.ComponentProps<'ul'>): JSX.Element;
1732
+
1733
+ export declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React_2.ComponentProps<'button'> & {
1734
+ asChild?: boolean;
1735
+ showOnHover?: boolean;
1736
+ }): JSX.Element;
1737
+
1738
+ export declare function SidebarMenuBadge({ className, ...props }: React_2.ComponentProps<'div'>): JSX.Element;
1739
+
1740
+ export declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React_2.ComponentProps<'button'> & {
1741
+ asChild?: boolean;
1742
+ isActive?: boolean;
1743
+ tooltip?: string | React_2.ComponentProps<typeof TooltipContent>;
1744
+ } & VariantProps<typeof sidebarMenuButtonVariants>): JSX.Element;
1745
+
1746
+ declare const sidebarMenuButtonVariants: (props?: ({
1747
+ variant?: "default" | "outline" | null | undefined;
1748
+ size?: "default" | "sm" | "lg" | null | undefined;
1749
+ } & ClassProp) | undefined) => string;
1750
+
1751
+ export declare function SidebarMenuItem({ className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
1752
+
1753
+ export declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React_2.ComponentProps<'div'> & {
1754
+ showIcon?: boolean;
1755
+ }): JSX.Element;
1756
+
1757
+ export declare function SidebarMenuSub({ className, ...props }: React_2.ComponentProps<'ul'>): JSX.Element;
1758
+
1759
+ export declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React_2.ComponentProps<'a'> & {
1760
+ asChild?: boolean;
1761
+ size?: 'sm' | 'md';
1762
+ isActive?: boolean;
1763
+ }): JSX.Element;
1764
+
1765
+ export declare function SidebarMenuSubItem({ className, ...props }: React_2.ComponentProps<'li'>): JSX.Element;
1766
+
1767
+ export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React_2.ComponentProps<'div'> & {
1768
+ defaultOpen?: boolean;
1769
+ open?: boolean;
1770
+ onOpenChange?: (open: boolean) => void;
1771
+ }): JSX.Element;
1772
+
1773
+ export declare function SidebarRail({ className, ...props }: React_2.ComponentProps<'button'>): JSX.Element;
1774
+
1775
+ export declare function SidebarSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): JSX.Element;
1776
+
1777
+ export declare function SidebarTrigger({ className, onClick, ...props }: React_2.ComponentProps<typeof Button>): JSX.Element;
1778
+
1779
+ declare interface SingleDatePickerProps extends BaseDatePickerProps {
1780
+ mode?: 'single';
1781
+ value?: Date;
1782
+ onChange?: (date: Date | undefined) => void;
1783
+ }
1784
+
1785
+ declare const SIZE_CLASSES: {
1786
+ readonly sm: "px-3 text-sm h-10";
1787
+ readonly md: "px-[14px] text-base h-10";
1788
+ readonly lg: "px-[14px] text-base h-11";
1789
+ };
1790
+
1791
+ declare const SIZE_CLASSES_2: {
1792
+ readonly sm: "pl-2 pr-3";
1793
+ readonly md: "pl-2 pr-[14px]";
1794
+ readonly lg: "pl-2 pr-4";
1795
+ };
1796
+
1797
+ declare const SIZE_CLASSES_3: {
1798
+ readonly sm: "pl-2 pr-3";
1799
+ readonly md: "pl-2 pr-[14px]";
1800
+ readonly lg: "pl-2 pr-4";
1801
+ };
1802
+
1803
+ declare const SIZE_CLASSES_4: {
1804
+ readonly sm: "px-3 h-10";
1805
+ readonly md: "px-[14px] h-10";
1806
+ readonly lg: "px-4 h-11";
1807
+ };
1808
+
1809
+ export declare function Skeleton({ className, ...props }: React.ComponentProps<'div'>): JSX.Element;
1810
+
1811
+ export declare function SlashCircle01(props: ComponentProps<'svg'>): JSX.Element;
1812
+
1813
+ export declare function Slider({ className, defaultValue, value, min, max, ...props }: React_2.ComponentProps<typeof SliderPrimitive.Root>): JSX.Element;
1814
+
1815
+ export declare const sortAscByKey: <T extends Record<string, unknown>>(array: T[], key: keyof T) => T[];
1816
+
1817
+ export declare const sortDescByKey: <T extends Record<string, unknown>>(array: T[], key: keyof T) => T[];
1818
+
1819
+ export declare function Star01(props: ComponentProps<'svg'>): JSX.Element;
1820
+
1821
+ export declare function StepIconActive(props: ComponentProps<'svg'>): JSX.Element;
1822
+
1823
+ export declare function StepIconChecked(props: ComponentProps<'svg'>): JSX.Element;
1824
+
1825
+ export declare function StepIconDefault(props: ComponentProps<'svg'>): JSX.Element;
1826
+
1827
+ export declare function stringToNumber(value: string): string;
1828
+
1829
+ export declare function Switch({ className, alwaysOn, ...props }: React_2.ComponentProps<typeof SwitchPrimitive.Root> & {
1830
+ alwaysOn?: boolean;
1831
+ }): JSX.Element;
1832
+
1833
+ export declare function SwitchHorizontal01(props: ComponentProps<'svg'>): JSX.Element;
1834
+
1835
+ export declare function Table({ className, ...props }: React_2.ComponentProps<'table'>): JSX.Element;
1836
+
1837
+ export declare function Table01(props: ComponentProps<'svg'>): JSX.Element;
1838
+
1839
+ export declare function TableBody({ className, ...props }: React_2.ComponentProps<'tbody'>): JSX.Element;
1840
+
1841
+ export declare function TableCaption({ className, ...props }: React_2.ComponentProps<'caption'>): JSX.Element;
1842
+
1843
+ export declare function TableCell({ className, ...props }: React_2.ComponentProps<'td'>): JSX.Element;
1844
+
1845
+ export declare function TableContainer({ className, children, hasRoundedTop, ...props }: TableContainerProps): JSX.Element;
1846
+
1847
+ declare interface TableContainerProps extends React_2.ComponentProps<'div'> {
1848
+ hasRoundedTop?: boolean;
1849
+ }
1850
+
1851
+ export declare function TableFooter({ className, ...props }: React_2.ComponentProps<'tfoot'>): JSX.Element;
1852
+
1853
+ export declare function TableHead({ className, ...props }: React_2.ComponentProps<'th'>): JSX.Element;
1854
+
1855
+ export declare function TableHeader({ className, ...props }: React_2.ComponentProps<'thead'>): JSX.Element;
1856
+
1857
+ export declare function TableRow({ className, ...props }: React_2.ComponentProps<'tr'>): JSX.Element;
1858
+
1859
+ export declare function Tabs({ className, variant, ...props }: TabsProps): JSX.Element;
1860
+
1861
+ export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Content>): JSX.Element;
1862
+
1863
+ export declare function TabsList({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.List>): JSX.Element;
1864
+
1865
+ export declare interface TabsProps extends React_2.ComponentProps<typeof TabsPrimitive.Root> {
1866
+ variant?: 'primary' | 'secondary' | 'square' | 'outlined';
1867
+ }
1868
+
1869
+ export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Trigger>): JSX.Element;
1870
+
1871
+ export declare function Tag01(props: ComponentProps<'svg'>): JSX.Element;
1872
+
1873
+ export declare const Tag03: (props: ComponentProps<"svg">) => JSX.Element;
1874
+
1875
+ export declare function Textarea({ className, ...props }: React_2.ComponentProps<'textarea'>): JSX.Element;
1876
+
1877
+ declare const THEMES: {
1878
+ readonly light: "";
1879
+ readonly dark: ".dark";
1880
+ };
1881
+
1882
+ export declare const Toaster: ({ ...props }: ToasterProps) => JSX.Element;
1883
+
1884
+ export declare function toCapitalize(text: string): string;
1885
+
1886
+ export declare function toCurrentTimezone(date: string | undefined | null, format?: Intl.DateTimeFormatOptions): string;
1887
+
1888
+ export declare function toCurrentTimezoneWithSeconds(date: string | undefined | null): string;
1889
+
1890
+ export declare function Toggle({ className, variant, size, ...props }: React_2.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): JSX.Element;
1891
+
1892
+ export declare function ToggleGroup({ className, variant, size, children, ...props }: React_2.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): JSX.Element;
1893
+
1894
+ export declare function ToggleGroupItem({ className, children, variant, size, ...props }: React_2.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): JSX.Element;
1895
+
1896
+ export declare const toggleVariants: (props?: ({
1897
+ variant?: "default" | "outline" | null | undefined;
1898
+ size?: "default" | "sm" | "lg" | null | undefined;
1899
+ } & ClassProp) | undefined) => string;
1900
+
1901
+ export declare function toMajorUnits(minorUnits: number): number;
1902
+
1903
+ export declare function toMinorUnits(majorUnits: number): number;
1904
+
1905
+ export declare function Tool02(props: ComponentProps<'svg'>): JSX.Element;
1906
+
1907
+ export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element;
1908
+
1909
+ export declare function TooltipContent({ className, sideOffset, children, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Content>): JSX.Element;
1910
+
1911
+ export declare function TooltipProvider({ delayDuration, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Provider>): JSX.Element;
1912
+
1913
+ export declare function TooltipTrigger({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Trigger>): JSX.Element;
1914
+
1915
+ export declare function Trash01(props: ComponentProps<'svg'>): JSX.Element;
1916
+
1917
+ export declare const Typography: default_2.FC<TypographyProps>;
1918
+
1919
+ declare type TypographyProps = {
1920
+ as?: default_2.ElementType;
1921
+ className?: string;
1922
+ children: default_2.ReactNode;
1923
+ } & VariantProps<typeof typographyVariants> & Omit<default_2.ComponentPropsWithoutRef<'span'>, 'as'>;
1924
+
1925
+ declare const typographyVariants: (props?: ({
1926
+ variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "small" | "lead" | "paragraph" | null | undefined;
1927
+ } & ClassProp) | undefined) => string;
1928
+
1929
+ export declare function Underline01(props: ComponentProps<'svg'>): JSX.Element;
1930
+
1931
+ export declare function uniqueArrayElements<T>(arr: T[]): T[];
1932
+
1933
+ export declare function UploadCloud02(props: ComponentProps<'svg'>): JSX.Element;
1934
+
1935
+ export declare const UploadImageField: ForwardRefExoticComponent<Omit<UploadImageFieldProps, "ref"> & RefAttributes<HTMLInputElement>>;
1936
+
1937
+ export declare interface UploadImageFieldProps extends Omit<ComponentProps<'input'>, 'onChange' | 'onError' | 'value' | 'placeholder'> {
1938
+ buttonText?: string;
1939
+ maxSize?: number;
1940
+ maxSizeErrorMessage?: string;
1941
+ acceptErrorMessage?: string;
1942
+ onFileSelect?: (file: File | null, previewUrl?: string) => void;
1943
+ onUploadComplete?: (url: string) => void;
1944
+ onError?: (error: string) => void;
1945
+ loading?: boolean;
1946
+ error?: string;
1947
+ value?: UploadValue;
1948
+ onChange?: (value: UploadValue) => void;
1949
+ uploadFunction?: (file: File) => Promise<string>;
1950
+ helperText?: string;
1951
+ }
1952
+
1953
+ export declare type UploadValue = File | string | null;
1954
+
1955
+ /** Type representing the possible values for the upload field */
1956
+ declare type UploadValue_2 = File | string | null;
1957
+
1958
+ /** Type representing the possible values for the upload field */
1959
+ declare type UploadValue_3 = File | string | null;
1960
+
1961
+ declare type UseCarouselParameters = Parameters<typeof default_3>;
1962
+
1963
+ export declare const useEditorActiveMarks: (editor: Editor | null) => ActiveMarks;
1964
+
1965
+ export declare const useForm: <T extends z.ZodRawShape>(schema: z.ZodEffects<z.ZodObject<T>> | z.ZodObject<T>, defaultValues?: DefaultValues<z.infer<typeof schema>>) => UseFormReturn<z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never, any, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_2 ? { [k in keyof T_2]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } : never>;
1966
+
1967
+ export declare const useFormContext: () => UseFormReturn<FieldValues, any, FieldValues>;
1968
+
1969
+ export declare const useFormField: () => {
1970
+ invalid: boolean;
1971
+ isDirty: boolean;
1972
+ isTouched: boolean;
1973
+ isValidating: boolean;
1974
+ error?: FieldError;
1975
+ id: string;
1976
+ name: string;
1977
+ formItemId: string;
1978
+ formDescriptionId: string;
1979
+ formMessageId: string;
1980
+ };
1981
+
1982
+ export declare function useIsMobile(): boolean;
1983
+
1984
+ export declare const useOnToggle: (initialState?: boolean) => UseToggleReturn;
1985
+
1986
+ export declare const usePDFNavigation: (totalPages: number | null) => {
1987
+ currentPage: number;
1988
+ isFirstPage: boolean;
1989
+ isLastPage: boolean;
1990
+ goToFirstPage: () => void;
1991
+ goToPreviousPage: () => void;
1992
+ goToNextPage: () => void;
1993
+ goToLastPage: () => void;
1994
+ handlePageChange: (newPage: number) => void;
1995
+ };
1996
+
1997
+ export declare const usePDFZoom: () => {
1998
+ scale: number;
1999
+ isMinZoom: boolean;
2000
+ isMaxZoom: boolean;
2001
+ zoomIn: () => void;
2002
+ zoomOut: () => void;
2003
+ setScale: (newScale: number) => void;
2004
+ };
2005
+
2006
+ export declare function User01(props: ComponentProps<'svg'>): JSX.Element;
2007
+
2008
+ export declare function User03(props: ComponentProps<'svg'>): JSX.Element;
2009
+
2010
+ export declare function UserCheck01(props: ComponentProps<'svg'>): JSX.Element;
2011
+
2012
+ export declare function UserCircle(props: ComponentProps<'svg'>): JSX.Element;
2013
+
2014
+ export declare function UserEdit(props: ComponentProps<'svg'>): JSX.Element;
2015
+
2016
+ export declare function UserMinus02(props: ComponentProps<'svg'>): JSX.Element;
2017
+
2018
+ export declare function UserPlus01(props: ComponentProps<'svg'>): JSX.Element;
2019
+
2020
+ export declare function UserPlus02(props: ComponentProps<'svg'>): JSX.Element;
2021
+
2022
+ export declare function Users01(props: ComponentProps<'svg'>): JSX.Element;
2023
+
2024
+ export declare function UsersPlus(props: ComponentProps<'svg'>): JSX.Element;
2025
+
2026
+ export declare function UserSquare(props: ComponentProps<'svg'>): JSX.Element;
2027
+
2028
+ export declare function useScreenSize(): ScreenSizes;
2029
+
2030
+ export declare function useSidebar(): SidebarContextProps;
2031
+
2032
+ export declare const useToast: () => {
2033
+ success: (message: string, options?: ExternalToast) => void;
2034
+ error: (message: string, options?: ExternalToast) => void;
2035
+ warning: (message: string, options?: ExternalToast) => void;
2036
+ info: (message: string, options?: ExternalToast) => void;
2037
+ loading: (message: string, options?: ExternalToast) => string | number;
2038
+ promise: (promise: Promise<unknown>, options?: {
2039
+ success: string;
2040
+ error: string;
2041
+ loading: string;
2042
+ }) => (string & {
2043
+ unwrap: () => Promise<unknown>;
2044
+ }) | (number & {
2045
+ unwrap: () => Promise<unknown>;
2046
+ }) | {
2047
+ unwrap: () => Promise<unknown>;
2048
+ };
2049
+ dismiss: (id?: string | number) => void;
2050
+ };
2051
+
2052
+ declare interface UseToggleReturn {
2053
+ /** Current boolean state */
2054
+ state: boolean;
2055
+ /** Toggle the state */
2056
+ toggle: () => void;
2057
+ /** Set state to a specific value */
2058
+ setValue: (value: boolean) => void;
2059
+ }
2060
+
2061
+ export declare function UsIcon(props: ComponentProps<'svg'>): JSX.Element;
2062
+
2063
+ export declare function VerticalDrag(props: ComponentProps<'svg'>): JSX.Element;
2064
+
2065
+ export declare function VideoPlayer({ videoUrl, className }: {
2066
+ videoUrl: string;
2067
+ className?: string;
2068
+ }): JSX.Element;
2069
+
2070
+ export declare function XCircle(props: ComponentProps<'svg'>): JSX.Element;
2071
+
2072
+ export declare function XClose(props: ComponentProps<'svg'>): JSX.Element;
2073
+
2074
+ export declare function Zap(props: ComponentProps<'svg'>): JSX.Element;
2075
+
2076
+ export declare function ZapFast(props: ComponentProps<'svg'>): JSX.Element;
2077
+
2078
+ export declare const ZOOM_STEP = 0.1;
2079
+
2080
+ export { }