docthub-core-components 2.4.0 → 2.5.1

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.
Files changed (58) hide show
  1. package/dist/index.d.ts +1011 -2
  2. package/dist/index.esm.js +3836 -14834
  3. package/dist/style.css +1 -1
  4. package/package.json +2 -2
  5. package/dist/src/components/overrides/ui/auto-complete.d.ts +0 -51
  6. package/dist/src/components/overrides/ui/autocomplete-checkbox.d.ts +0 -44
  7. package/dist/src/components/overrides/ui/chips/doct-chip.d.ts +0 -26
  8. package/dist/src/components/overrides/ui/circular-progress.d.ts +0 -8
  9. package/dist/src/components/overrides/ui/composed/address-form-section.d.ts +0 -10
  10. package/dist/src/components/overrides/ui/composed/contact-form-section.d.ts +0 -11
  11. package/dist/src/components/overrides/ui/composed/search-filter-section.d.ts +0 -24
  12. package/dist/src/components/overrides/ui/composed/user-registration-section.d.ts +0 -11
  13. package/dist/src/components/overrides/ui/currencyInput/currency-input.d.ts +0 -10
  14. package/dist/src/components/overrides/ui/doct-animation-loader.d.ts +0 -9
  15. package/dist/src/components/overrides/ui/expandable-card.d.ts +0 -17
  16. package/dist/src/components/overrides/ui/inputs/labeled-input.d.ts +0 -26
  17. package/dist/src/components/overrides/ui/inputs/otp-input.d.ts +0 -16
  18. package/dist/src/components/overrides/ui/inputs/password-input.d.ts +0 -18
  19. package/dist/src/components/overrides/ui/pickers/date-picker-field.d.ts +0 -30
  20. package/dist/src/components/overrides/ui/pickers/select-field.d.ts +0 -31
  21. package/dist/src/components/overrides/ui/search/auto-complete.d.ts +0 -15
  22. package/dist/src/components/overrides/ui/search/search-input.d.ts +0 -11
  23. package/dist/src/components/overrides/ui/showcase/component-section.d.ts +0 -15
  24. package/dist/src/components/ui/alert.d.ts +0 -19
  25. package/dist/src/components/ui/avatar.d.ts +0 -12
  26. package/dist/src/components/ui/badge.d.ts +0 -9
  27. package/dist/src/components/ui/breadcrumb.d.ts +0 -19
  28. package/dist/src/components/ui/button.d.ts +0 -18
  29. package/dist/src/components/ui/calendar.d.ts +0 -8
  30. package/dist/src/components/ui/checkbox.d.ts +0 -7
  31. package/dist/src/components/ui/collapsible.d.ts +0 -6
  32. package/dist/src/components/ui/command.d.ts +0 -80
  33. package/dist/src/components/ui/dialog.d.ts +0 -39
  34. package/dist/src/components/ui/drawer.d.ts +0 -22
  35. package/dist/src/components/ui/dropdown-menu.d.ts +0 -27
  36. package/dist/src/components/ui/input.d.ts +0 -7
  37. package/dist/src/components/ui/label.d.ts +0 -5
  38. package/dist/src/components/ui/popover.d.ts +0 -7
  39. package/dist/src/components/ui/progress.d.ts +0 -22
  40. package/dist/src/components/ui/radio-group.d.ts +0 -5
  41. package/dist/src/components/ui/select.d.ts +0 -13
  42. package/dist/src/components/ui/separator.d.ts +0 -4
  43. package/dist/src/components/ui/sheet.d.ts +0 -25
  44. package/dist/src/components/ui/sidebar.d.ts +0 -80
  45. package/dist/src/components/ui/skeleton.d.ts +0 -15
  46. package/dist/src/components/ui/tabs.d.ts +0 -12
  47. package/dist/src/components/ui/textarea.d.ts +0 -14
  48. package/dist/src/components/ui/timeline.d.ts +0 -41
  49. package/dist/src/components/ui/toast.d.ts +0 -20
  50. package/dist/src/components/ui/tooltip.d.ts +0 -11
  51. package/dist/src/components/ui/typography.d.ts +0 -13
  52. package/dist/src/hooks/use-mobile.d.ts +0 -1
  53. package/dist/src/hooks/useAutocompleteCheckbox.d.ts +0 -55
  54. package/dist/src/index.d.ts +0 -42
  55. package/dist/src/lib/utils.d.ts +0 -2
  56. package/dist/src/setupTests.d.ts +0 -0
  57. package/dist/src/util/getInputClasses.d.ts +0 -5
  58. package/dist/src/vite-env.d.ts +0 -1
package/dist/index.d.ts CHANGED
@@ -1,2 +1,1011 @@
1
- export * from './src/index'
2
- export {}
1
+ import * as AvatarPrimitive from '@radix-ui/react-avatar';
2
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
+ import { ClassProp } from 'class-variance-authority/types';
4
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
5
+ import { DayPickerSingleProps } from 'react-day-picker';
6
+ import { default as default_2 } from 'react';
7
+ import { DialogCloseProps } from '@radix-ui/react-dialog';
8
+ import { DialogContentProps } from '@radix-ui/react-dialog';
9
+ import { DialogDescriptionProps } from '@radix-ui/react-dialog';
10
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
11
+ import { DialogProps } from '@radix-ui/react-dialog';
12
+ import { DialogTitleProps } from '@radix-ui/react-dialog';
13
+ import { DialogTriggerProps } from '@radix-ui/react-dialog';
14
+ import { Drawer } from 'vaul';
15
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
16
+ import { FC } from 'react';
17
+ import { JSX } from 'react/jsx-runtime';
18
+ import { KeyboardEvent as KeyboardEvent_2 } from 'react';
19
+ import { MouseEvent as MouseEvent_2 } from 'react';
20
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
21
+ import * as ProgressPrimitive from '@radix-ui/react-progress';
22
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
23
+ import * as React_2 from 'react';
24
+ import { ReactNode } from 'react';
25
+ import { SeparatorProps } from '@radix-ui/react-separator';
26
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
27
+ import { ToasterProps as ToasterProps_2 } from 'sonner';
28
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
29
+ import { VariantProps } from 'class-variance-authority';
30
+
31
+ declare interface AddressFormSectionProps {
32
+ className?: string;
33
+ countries?: Array<{
34
+ value: string;
35
+ label: string;
36
+ }>;
37
+ onValueChange?: (field: string, value: string) => void;
38
+ }
39
+
40
+ declare interface AlertProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
41
+ icon?: React_2.ReactNode | false;
42
+ onClose?: () => void;
43
+ action?: React_2.ReactNode;
44
+ severity?: VariantProps<typeof alertVariants>["variant"];
45
+ }
46
+
47
+ declare const alertVariants: (props?: ({
48
+ variant?: "default" | "error" | "success" | "warning" | "destructive" | "info" | null | undefined;
49
+ } & ClassProp) | undefined) => string;
50
+
51
+ declare interface AutocompleteCheckboxProps<T = unknown> {
52
+ options: T[];
53
+ value?: T[];
54
+ onChange?: (event: default_2.SyntheticEvent | null, value: T[]) => void;
55
+ onInputChange?: (event: default_2.ChangeEvent<HTMLInputElement>, value: string) => void;
56
+ placeholder?: string;
57
+ label?: string;
58
+ helperText?: string;
59
+ error?: string;
60
+ noOptionsText?: string;
61
+ emptyMessage?: string;
62
+ disabled?: boolean;
63
+ loading?: boolean;
64
+ required?: boolean;
65
+ clearable?: boolean;
66
+ disableCloseOnSelect?: boolean;
67
+ freeSolo?: T extends string ? boolean : never;
68
+ size?: "small" | "medium" | "large";
69
+ variant?: "outlined" | "filled" | "standard";
70
+ fullWidth?: boolean;
71
+ className?: string;
72
+ inputClassName?: string;
73
+ getOptionLabel?: (option: T) => string;
74
+ getOptionValue?: (option: T) => string | T;
75
+ isOptionEqualToValue?: (option: T, value: T) => boolean;
76
+ filterOptions?: (options: T[], state: {
77
+ inputValue: string;
78
+ }) => T[];
79
+ renderOption?: (option: T, index: number) => default_2.ReactNode;
80
+ renderTags?: (value: T[], handleTagRemove: (tag: T) => void) => default_2.ReactNode;
81
+ limitTags?: number;
82
+ fields?: {
83
+ value: string | number;
84
+ text: string;
85
+ };
86
+ dataSource?: T[];
87
+ change?: (event: {
88
+ itemData: T[];
89
+ }) => void;
90
+ }
91
+
92
+ declare type AutoCompleteProps = {
93
+ options: Option_2[];
94
+ emptyMessage: string;
95
+ value?: Option_2;
96
+ onValueChange?: (value: Option_2) => void;
97
+ isLoading?: boolean;
98
+ disabled?: boolean;
99
+ placeholder?: string;
100
+ className?: string;
101
+ size?: "small" | "medium" | "large";
102
+ variant?: "white" | "grey";
103
+ };
104
+
105
+ declare interface AutocompleteProps<T> {
106
+ options?: T[];
107
+ dataSource?: T[];
108
+ value?: T | T[] | null;
109
+ onChange?: (event: default_2.SyntheticEvent | null, value: T | T[] | null) => void;
110
+ change?: (event: {
111
+ itemData: T | T[] | null;
112
+ }) => void;
113
+ onInputChange?: (event: default_2.ChangeEvent<HTMLInputElement>, value: string) => void;
114
+ placeholder?: string;
115
+ multiple?: boolean;
116
+ freeSolo?: boolean;
117
+ disabled?: boolean;
118
+ loading?: boolean;
119
+ size?: "small" | "medium" | "large";
120
+ variant?: "outlined" | "filled" | "standard";
121
+ label?: string;
122
+ helperText?: string;
123
+ error?: string;
124
+ required?: boolean;
125
+ fullWidth?: boolean;
126
+ clearable?: boolean;
127
+ disableCloseOnSelect?: boolean;
128
+ filterOptions?: (options: T[], state: {
129
+ inputValue: string;
130
+ }) => T[];
131
+ getOptionLabel?: (option: T) => string;
132
+ getOptionValue?: (option: T) => string | T;
133
+ isOptionEqualToValue?: (option: T, value: T) => boolean;
134
+ renderOption?: (option: T, index: number) => default_2.ReactNode;
135
+ renderTags?: (value: T[], handleTagRemove: (tag: T) => void) => default_2.ReactNode;
136
+ fields?: {
137
+ value: string | number;
138
+ text: string;
139
+ };
140
+ noOptionsText?: string;
141
+ emptyMessage?: string;
142
+ className?: string;
143
+ inputClassName?: string;
144
+ debounceMs?: number;
145
+ minSearchLength?: number;
146
+ ntt?: boolean;
147
+ }
148
+
149
+ declare interface AvatarProps extends React_2.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
150
+ }
151
+
152
+ declare const avatarVariants: (props?: ({
153
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
154
+ } & ClassProp) | undefined) => string;
155
+
156
+ declare interface CheckboxProps extends React_2.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
157
+ color?: string;
158
+ }
159
+
160
+ declare interface ChipProps {
161
+ label: string;
162
+ variant?: "filled" | "outlined" | "soft";
163
+ color?: "default" | "primary" | "secondary" | "success" | "warning" | "error";
164
+ size?: "small" | "medium" | "large";
165
+ shape?: "pill" | "square";
166
+ deletable?: boolean;
167
+ onDelete?: (e: MouseEvent_2<HTMLButtonElement> | KeyboardEvent_2<HTMLButtonElement>) => void;
168
+ onClick?: (e: MouseEvent_2<HTMLDivElement> | KeyboardEvent_2<HTMLDivElement>) => void;
169
+ icon?: ReactNode;
170
+ avatar?: ReactNode | string;
171
+ disabled?: boolean;
172
+ className?: string;
173
+ "aria-label"?: string;
174
+ deleteAriaLabel?: string;
175
+ }
176
+
177
+ declare interface CircularProgressProps extends React_2.SVGProps<SVGSVGElement> {
178
+ size?: number;
179
+ strokeWidth?: number;
180
+ colorClassName?: string;
181
+ }
182
+
183
+ declare type ColorVariant = "primary" | "secondary" | "success" | "error" | "warning" | "info";
184
+
185
+ declare interface ComponentSectionProps {
186
+ title: string;
187
+ children: ReactNode;
188
+ className?: string;
189
+ }
190
+
191
+ export declare function ComponentVariant({ title, variant, children, className }: ComponentVariantProps): JSX.Element;
192
+
193
+ declare interface ComponentVariantProps {
194
+ title: string;
195
+ variant?: "primary" | "secondary";
196
+ children: ReactNode;
197
+ className?: string;
198
+ }
199
+
200
+ declare interface ContactFormSectionProps {
201
+ className?: string;
202
+ showDepartment?: boolean;
203
+ departmentOptions?: Array<{
204
+ value: string;
205
+ label: string;
206
+ }>;
207
+ onValueChange?: (field: string, value: string) => void;
208
+ }
209
+
210
+ declare type DateFormat = "MM/DD/YYYY" | "DD/MM/YYYY" | "YYYY-MM-DD" | "DD-MM-YYYY";
211
+
212
+ declare interface DatePickerFieldProps extends Omit<React_2.HTMLAttributes<HTMLDivElement>, "onSelect" | "onChange"> {
213
+ label?: string;
214
+ placeholder?: string;
215
+ helperText?: string;
216
+ required?: boolean;
217
+ value?: Date;
218
+ onSelect?: (date: Date | undefined) => void;
219
+ onChange?: (date: Date | undefined) => void;
220
+ className?: string;
221
+ minDate?: Date;
222
+ maxDate?: Date;
223
+ disabled?: boolean;
224
+ readOnly?: boolean;
225
+ locale?: string;
226
+ dateFormat?: DateFormat;
227
+ inputClassName?: string;
228
+ error?: string;
229
+ showOutsideDays?: boolean;
230
+ clearable?: boolean;
231
+ month?: Date;
232
+ onMonthChange?: (month: Date) => void;
233
+ open?: boolean;
234
+ onOpenChange?: (open: boolean) => void;
235
+ dayPickerProps?: Partial<DayPickerSingleProps>;
236
+ manual?: boolean;
237
+ }
238
+
239
+ export declare function DoctAddressFormSection({ className, countries, onValueChange, }: AddressFormSectionProps): JSX.Element;
240
+
241
+ export declare const DoctAlert: React_2.ForwardRefExoticComponent<AlertProps & React_2.RefAttributes<HTMLDivElement>>;
242
+
243
+ export declare const DoctAlertDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
244
+
245
+ export declare const DoctAlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLHeadingElement>>;
246
+
247
+ export declare function DoctAnimationLoader({ src }: DoctAnimationLoaderProps): JSX.Element;
248
+
249
+ declare interface DoctAnimationLoaderProps {
250
+ src: string;
251
+ }
252
+
253
+ export declare const DoctAutoComplete: ({ options, placeholder, emptyMessage, value, onValueChange, disabled, isLoading, className, size, variant, }: AutoCompleteProps) => JSX.Element;
254
+
255
+ export declare const DoctAutocomplete: <T extends OptionType>({ options, dataSource, value, onChange, change, onInputChange, placeholder, multiple, freeSolo, disabled, loading, size, variant, label, helperText, error, required, fullWidth, clearable, disableCloseOnSelect, filterOptions, getOptionLabel, getOptionValue, isOptionEqualToValue, renderOption, renderTags, fields, noOptionsText, emptyMessage, className, inputClassName, debounceMs, minSearchLength, ntt, ...props }: AutocompleteProps<T>) => JSX.Element;
256
+
257
+ export declare function DoctAutocompleteCheckbox<T extends OptionType_2>({ options, dataSource, value, onChange, change, onInputChange, placeholder, label, helperText, error, noOptionsText, emptyMessage, disabled, loading, required, clearable, disableCloseOnSelect, freeSolo, size, variant, fullWidth, className, inputClassName, getOptionLabel, getOptionValue, isOptionEqualToValue, filterOptions, renderOption, renderTags, limitTags, fields, }: AutocompleteCheckboxProps<T>): JSX.Element;
258
+
259
+ export declare const DoctAvatar: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLSpanElement>>;
260
+
261
+ export declare const DoctAvatarFallback: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
262
+
263
+ export declare const DoctAvatarImage: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React_2.RefAttributes<HTMLImageElement>, "ref"> & React_2.RefAttributes<HTMLImageElement>>;
264
+
265
+ export declare const DoctBreadcrumb: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
266
+ separator?: React_2.ReactNode;
267
+ } & React_2.RefAttributes<HTMLElement>>;
268
+
269
+ export declare const DoctBreadcrumbEllipsis: {
270
+ ({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
271
+ displayName: string;
272
+ };
273
+
274
+ export declare const DoctBreadcrumbItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
275
+
276
+ export declare const DoctBreadcrumbLink: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
277
+ asChild?: boolean;
278
+ } & React_2.RefAttributes<HTMLAnchorElement>>;
279
+
280
+ export declare const DoctBreadcrumbList: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React_2.RefAttributes<HTMLOListElement>>;
281
+
282
+ export declare const DoctBreadcrumbPage: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
283
+
284
+ export declare const DoctBreadcrumbSeparator: {
285
+ ({ children, className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
286
+ displayName: string;
287
+ };
288
+
289
+ export declare const DoctButton: default_2.ForwardRefExoticComponent<DoctButtonProps & default_2.RefAttributes<HTMLButtonElement>>;
290
+
291
+ declare interface DoctButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof DoctButtonVariants> {
292
+ asChild?: boolean;
293
+ icon?: default_2.ReactNode;
294
+ iconOnly?: boolean;
295
+ iconSize?: "large" | "medium" | "small";
296
+ iconPosition?: "left" | "right";
297
+ }
298
+
299
+ declare const DoctButtonVariants: (props?: ({
300
+ variant?: "default" | "outline" | "ghost" | "error" | "success" | "warning" | "blue" | "disabled" | "brandBlue" | "primary" | "namya" | null | undefined;
301
+ size?: "small" | "large" | "medium" | "icon.large" | "icon.medium" | "icon.small" | null | undefined;
302
+ iconSize?: "small" | "large" | "medium" | null | undefined;
303
+ iconPosition?: "left" | "right" | null | undefined;
304
+ fullWidth?: boolean | null | undefined;
305
+ } & ClassProp) | undefined) => string;
306
+
307
+ export declare const DoctCheckbox: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLButtonElement>>;
308
+
309
+ export declare const DoctChip: FC<ChipProps>;
310
+
311
+ export declare const DoctCircularProgress: React_2.ForwardRefExoticComponent<Omit<CircularProgressProps, "ref"> & React_2.RefAttributes<SVGSVGElement>>;
312
+
313
+ export declare const DoctCollapsible: React_2.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React_2.RefAttributes<HTMLDivElement>>;
314
+
315
+ export declare const DoctCollapsibleContent: React_2.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
316
+
317
+ export declare const DoctCollapsibleTrigger: React_2.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
318
+
319
+ export declare const DoctCommand: React_2.ForwardRefExoticComponent<Omit<{
320
+ children?: React_2.ReactNode;
321
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
322
+ ref?: React_2.Ref<HTMLDivElement>;
323
+ } & {
324
+ asChild?: boolean;
325
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
326
+ label?: string;
327
+ shouldFilter?: boolean;
328
+ filter?: (value: string, search: string, keywords?: string[]) => number;
329
+ defaultValue?: string;
330
+ value?: string;
331
+ onValueChange?: (value: string) => void;
332
+ loop?: boolean;
333
+ disablePointerSelection?: boolean;
334
+ vimBindings?: boolean;
335
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
336
+
337
+ export declare const DoctCommandDialog: ({ children, ...props }: DialogProps) => JSX.Element;
338
+
339
+ export declare const DoctCommandEmpty: React_2.ForwardRefExoticComponent<Omit<{
340
+ children?: React_2.ReactNode;
341
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
342
+ ref?: React_2.Ref<HTMLDivElement>;
343
+ } & {
344
+ asChild?: boolean;
345
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
346
+
347
+ export declare const DoctCommandGroup: React_2.ForwardRefExoticComponent<Omit<{
348
+ children?: React_2.ReactNode;
349
+ } & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
350
+ ref?: React_2.Ref<HTMLDivElement>;
351
+ } & {
352
+ asChild?: boolean;
353
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
354
+ heading?: React_2.ReactNode;
355
+ value?: string;
356
+ forceMount?: boolean;
357
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
358
+
359
+ export declare const DoctCommandInput: React_2.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React_2.InputHTMLAttributes<HTMLInputElement>> & {
360
+ ref?: React_2.Ref<HTMLInputElement>;
361
+ } & {
362
+ asChild?: boolean;
363
+ }, "key" | "asChild" | keyof React_2.InputHTMLAttributes<HTMLInputElement>>, "type" | "onChange" | "value"> & {
364
+ value?: string;
365
+ onValueChange?: (search: string) => void;
366
+ } & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
367
+
368
+ export declare const DoctCommandItem: React_2.ForwardRefExoticComponent<Omit<{
369
+ children?: React_2.ReactNode;
370
+ } & Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
371
+ ref?: React_2.Ref<HTMLDivElement>;
372
+ } & {
373
+ asChild?: boolean;
374
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
375
+ disabled?: boolean;
376
+ onSelect?: (value: string) => void;
377
+ value?: string;
378
+ keywords?: string[];
379
+ forceMount?: boolean;
380
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
381
+
382
+ export declare const DoctCommandList: React_2.ForwardRefExoticComponent<Omit<{
383
+ children?: React_2.ReactNode;
384
+ } & Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
385
+ ref?: React_2.Ref<HTMLDivElement>;
386
+ } & {
387
+ asChild?: boolean;
388
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
389
+ label?: string;
390
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
391
+
392
+ export declare const DoctCommandSeparator: React_2.ForwardRefExoticComponent<Omit<Pick<Pick<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
393
+ ref?: React_2.Ref<HTMLDivElement>;
394
+ } & {
395
+ asChild?: boolean;
396
+ }, "key" | "asChild" | keyof React_2.HTMLAttributes<HTMLDivElement>> & {
397
+ alwaysRender?: boolean;
398
+ } & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
399
+
400
+ export declare const DoctCommandShortcut: {
401
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX.Element;
402
+ displayName: string;
403
+ };
404
+
405
+ export declare function DoctComponentSection({ title, children, className }: ComponentSectionProps): JSX.Element;
406
+
407
+ export declare function DoctContactFormSection({ className, showDepartment, departmentOptions, onValueChange, }: ContactFormSectionProps): JSX.Element;
408
+
409
+ export declare const DoctCurrencyInput: default_2.ForwardRefExoticComponent<InputProps & default_2.RefAttributes<HTMLInputElement>>;
410
+
411
+ export declare const DoctDatePickerField: React_2.FC<DatePickerFieldProps>;
412
+
413
+ export declare const DoctDialog: React_2.FC<DialogPrimitive.DialogProps>;
414
+
415
+ export declare const DoctDialogClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
416
+
417
+ export declare const DoctDialogContent: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
418
+ closeOnOutsideClick?: boolean;
419
+ initialFocusRef?: React_2.RefObject<HTMLElement>;
420
+ size?: keyof typeof sizeClasses;
421
+ showCloseButton?: boolean;
422
+ closeOnEscape?: boolean;
423
+ } & React_2.RefAttributes<HTMLDivElement>>;
424
+
425
+ export declare const DoctDialogDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
426
+
427
+ export declare const DoctDialogFooter: {
428
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
429
+ displayName: string;
430
+ };
431
+
432
+ export declare const DoctDialogHeader: {
433
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
434
+ displayName: string;
435
+ };
436
+
437
+ export declare const DoctDialogTitle: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
438
+
439
+ export declare const DoctDialogTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
440
+
441
+ export declare const DoctDrawer: {
442
+ ({ shouldScaleBackground, ...props }: React_2.ComponentProps<typeof Drawer.Root>): JSX.Element;
443
+ displayName: string;
444
+ };
445
+
446
+ export declare const DoctDrawerClose: React_2.ForwardRefExoticComponent<DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
447
+
448
+ export declare const DoctDrawerContent: React_2.ForwardRefExoticComponent<Omit<Omit<DialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
449
+
450
+ export declare const DoctDrawerDescription: React_2.ForwardRefExoticComponent<Omit<DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
451
+
452
+ export declare const DoctDrawerFooter: {
453
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
454
+ displayName: string;
455
+ };
456
+
457
+ export declare const DoctDrawerHeader: {
458
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
459
+ displayName: string;
460
+ };
461
+
462
+ export declare const DoctDrawerTitle: React_2.ForwardRefExoticComponent<Omit<DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
463
+
464
+ export declare const DoctDrawerTrigger: React_2.ForwardRefExoticComponent<DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
465
+
466
+ export declare const DoctDropdownMenu: React_2.FC<DropdownMenuPrimitive.DropdownMenuProps>;
467
+
468
+ export declare const DoctDropdownMenuCheckboxItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
469
+
470
+ export declare const DoctDropdownMenuContent: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
471
+
472
+ export declare const DoctDropdownMenuGroup: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
473
+
474
+ export declare const DoctDropdownMenuItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
475
+ inset?: boolean;
476
+ } & React_2.RefAttributes<HTMLDivElement>>;
477
+
478
+ export declare const DoctDropdownMenuLabel: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
479
+ inset?: boolean;
480
+ } & React_2.RefAttributes<HTMLDivElement>>;
481
+
482
+ export declare const DoctDropdownMenuRadioGroup: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
483
+
484
+ export declare const DoctDropdownMenuRadioItem: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
485
+
486
+ export declare const DoctDropdownMenuSeparator: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
487
+
488
+ export declare const DoctDropdownMenuShortcut: {
489
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLSpanElement>): JSX.Element;
490
+ displayName: string;
491
+ };
492
+
493
+ export declare const DoctDropdownMenuSub: React_2.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
494
+
495
+ export declare const DoctDropdownMenuSubContent: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
496
+
497
+ export declare const DoctDropdownMenuSubTrigger: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
498
+ inset?: boolean;
499
+ } & React_2.RefAttributes<HTMLDivElement>>;
500
+
501
+ export declare const DoctDropdownMenuTrigger: React_2.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
502
+
503
+ export declare function DoctExpandableCard({ title, content, defaultOpen, open: controlledOpen, onOpenChange, className, titleTypographyProps, contentTypographyProps, animationDuration, disabled, clickableArea, }: ExpandableCardProps): JSX.Element;
504
+
505
+ export declare const DoctLabeledInput: FC<LabeledInputProps>;
506
+
507
+ export declare const DoctOtpInput: React.FC<OtpInputProps>;
508
+
509
+ export declare function DoctPasswordInput({ label, placeholder, helperText, error, required, className, showPassword, onShowPasswordChange, value, onChange, onChangeEvent, onValueChange, autoComplete, ...restProps }: PasswordInputProps): JSX.Element;
510
+
511
+ export declare const DoctPopover: React_2.FC<PopoverPrimitive.PopoverProps>;
512
+
513
+ export declare const DoctPopoverContent: React_2.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
514
+
515
+ export declare const DoctPopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
516
+
517
+ export declare const DoctProgress: React_2.ForwardRefExoticComponent<ProgressProps & React_2.RefAttributes<HTMLDivElement>>;
518
+
519
+ export declare const DoctRadioGroup: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
520
+
521
+ export declare const DoctRadioGroupItem: React_2.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
522
+
523
+ export declare const DoctSearchFilterSection: React.FC<SearchFilterSectionProps>;
524
+
525
+ export declare const DoctSearchInput: default_2.FC<SearchInputProps>;
526
+
527
+ export declare function DoctSelectField({ label, placeholder, options, value, onValueChange, onChange, leadingIcon, trailingIcon, startIcon, endIcon, helperText, error, required, disabled, loading, clearable, className, variant, }: SelectFieldProps): JSX.Element;
528
+
529
+ export declare const DoctSidebar: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLDivElement> & React_2.HTMLAttributes<HTMLDivElement> & {
530
+ side?: "left" | "right";
531
+ variant?: "sidebar" | "floating" | "inset";
532
+ collapsible?: "offcanvas" | "icon" | "none";
533
+ background?: "transparent" | "sidebar" | (string & {});
534
+ contrast?: "light" | "dark";
535
+ colors?: Partial<{
536
+ foreground: string;
537
+ accent: string;
538
+ accentForeground: string;
539
+ border: string;
540
+ ring: string;
541
+ primary: string;
542
+ primaryForeground: string;
543
+ }>;
544
+ }, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
545
+
546
+ export declare const DoctSidebarContent: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
547
+
548
+ export declare const DoctSidebarFooter: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
549
+
550
+ export declare const DoctSidebarGroup: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
551
+
552
+ export declare const DoctSidebarGroupContent: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
553
+
554
+ export declare const DoctSidebarGroupLabel: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLDivElement> & React_2.HTMLAttributes<HTMLDivElement> & {
555
+ asChild?: boolean;
556
+ }, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
557
+
558
+ export declare const DoctSidebarHeader: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
559
+
560
+ export declare const DoctSidebarInput: React_2.ForwardRefExoticComponent<Omit<Omit<InputProps_2, "ref"> & React_2.RefAttributes<HTMLInputElement>, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
561
+
562
+ export declare const DoctSidebarInset: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React_2.RefAttributes<HTMLElement>>;
563
+
564
+ export declare const DoctSidebarMenu: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React_2.RefAttributes<HTMLUListElement>>;
565
+
566
+ export declare const DoctSidebarMenuAction: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLButtonElement> & React_2.ButtonHTMLAttributes<HTMLButtonElement> & {
567
+ asChild?: boolean;
568
+ showOnHover?: boolean;
569
+ }, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
570
+
571
+ export declare const DoctSidebarMenuBadge: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
572
+
573
+ export declare const DoctSidebarMenuButton: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLButtonElement> & React_2.ButtonHTMLAttributes<HTMLButtonElement> & {
574
+ asChild?: boolean;
575
+ isActive?: boolean;
576
+ tooltip?: string | React_2.ComponentProps<typeof DoctTooltipContent>;
577
+ } & VariantProps<(props?: ({
578
+ variant?: "default" | "outline" | null | undefined;
579
+ size?: "default" | "sm" | "lg" | null | undefined;
580
+ } & ClassProp) | undefined) => string>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
581
+
582
+ export declare const DoctSidebarMenuItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
583
+
584
+ export declare const DoctSidebarMenuSkeleton: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLDivElement> & React_2.HTMLAttributes<HTMLDivElement> & {
585
+ showIcon?: boolean;
586
+ }, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
587
+
588
+ export declare const DoctSidebarMenuSub: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React_2.RefAttributes<HTMLUListElement>>;
589
+
590
+ export declare const DoctSidebarMenuSubButton: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLAnchorElement> & React_2.AnchorHTMLAttributes<HTMLAnchorElement> & {
591
+ asChild?: boolean;
592
+ size?: "sm" | "md";
593
+ isActive?: boolean;
594
+ }, "ref"> & React_2.RefAttributes<HTMLAnchorElement>>;
595
+
596
+ export declare const DoctSidebarMenuSubItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
597
+
598
+ export declare const DoctSidebarProvider: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLDivElement> & React_2.HTMLAttributes<HTMLDivElement> & {
599
+ defaultOpen?: boolean;
600
+ open?: boolean;
601
+ onOpenChange?: (open: boolean) => void;
602
+ width?: string;
603
+ iconWidth?: string;
604
+ }, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
605
+
606
+ export declare const DoctSidebarRail: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
607
+
608
+ export declare const DoctSidebarSeparator: React_2.ForwardRefExoticComponent<Omit<Omit<SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
609
+
610
+ export declare const DoctSidebarTrigger: React_2.ForwardRefExoticComponent<React_2.ButtonHTMLAttributes<HTMLButtonElement> & {
611
+ asChild?: boolean;
612
+ } & React_2.RefAttributes<HTMLButtonElement>>;
613
+
614
+ export declare function DoctSkeleton({ className, variant, animation, width, height, style, ...props }: SkeletonProps): JSX.Element;
615
+
616
+ export declare const DoctTextareaField: React_2.ForwardRefExoticComponent<TextareaProps & React_2.RefAttributes<HTMLTextAreaElement>>;
617
+
618
+ export declare const DoctTimeline: React_2.ForwardRefExoticComponent<TimelineProps & React_2.RefAttributes<HTMLDivElement>>;
619
+
620
+ export declare const doctToast: (message: string, options?: ToastOptions) => string | number;
621
+
622
+ export declare function DoctToaster(props: ToasterProps): JSX.Element;
623
+
624
+ export declare const DoctTooltip: React_2.FC<TooltipPrimitive.TooltipProps>;
625
+
626
+ export declare const DoctTooltipContent: React_2.ForwardRefExoticComponent<TooltipContentProps & React_2.RefAttributes<HTMLDivElement>>;
627
+
628
+ export declare const DoctTooltipProvider: React_2.FC<TooltipPrimitive.TooltipProviderProps>;
629
+
630
+ export declare const DoctTooltipTrigger: React_2.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
631
+
632
+ export declare const DoctTypography: default_2.FC<DoctTypographyProps>;
633
+
634
+ declare interface DoctTypographyProps extends default_2.HTMLAttributes<HTMLElement> {
635
+ variant: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "h7" | "h8" | "title1" | "title2" | "title3" | "title4" | "body1" | "body2" | "body3" | "body4" | "textLabel1" | "textLabel2" | "textLabel3" | "textLabel4";
636
+ weight?: "regular" | "medium" | "semiBold" | "bold" | "extraBold" | "light";
637
+ children: default_2.ReactNode;
638
+ color?: string;
639
+ align?: "inherit" | "left" | "center" | "right" | "justify";
640
+ className?: string;
641
+ as?: default_2.ElementType;
642
+ }
643
+
644
+ export declare function DoctUserRegistrationSection({ className, showDateOfBirth, accountTypes, onValueChange, }: UserRegistrationSectionProps): JSX.Element;
645
+
646
+ declare const dotClasses: (props?: ({
647
+ size?: "sm" | "md" | "lg" | null | undefined;
648
+ offset?: "sm" | "md" | "lg" | null | undefined;
649
+ color?: "primary" | "gray" | "teal" | null | undefined;
650
+ y?: "base" | null | undefined;
651
+ } & ClassProp) | undefined) => string;
652
+
653
+ declare interface ExpandableCardProps {
654
+ title: React_2.ReactNode;
655
+ content: React_2.ReactNode;
656
+ defaultOpen?: boolean;
657
+ open?: boolean;
658
+ onOpenChange?: (open: boolean) => void;
659
+ className?: string;
660
+ titleTypographyProps?: Partial<DoctTypographyProps>;
661
+ contentTypographyProps?: Partial<DoctTypographyProps>;
662
+ animationDuration?: number;
663
+ disabled?: boolean;
664
+ clickableArea?: "full" | "header" | "button";
665
+ }
666
+
667
+ declare const indentClasses: (props?: ({
668
+ indent?: "sm" | "md" | "lg" | null | undefined;
669
+ } & ClassProp) | undefined) => string;
670
+
671
+ declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement> {
672
+ label?: string;
673
+ helperText?: string;
674
+ error?: string;
675
+ startAdornment?: default_2.ReactNode;
676
+ endAdornment?: default_2.ReactNode;
677
+ required?: boolean;
678
+ }
679
+
680
+ declare interface InputProps_2 extends React_2.ComponentProps<"input"> {
681
+ error?: boolean;
682
+ hasError?: boolean;
683
+ }
684
+
685
+ declare const itemsGapClasses: (props?: ({
686
+ density?: "compact" | "comfortable" | "card" | null | undefined;
687
+ } & ClassProp) | undefined) => string;
688
+
689
+ declare interface LabeledInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
690
+ label?: string;
691
+ placeholder?: string;
692
+ helperText?: string;
693
+ error?: string;
694
+ required?: boolean;
695
+ type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
696
+ leftIcon?: ReactNode;
697
+ rightIcon?: ReactNode;
698
+ className?: string;
699
+ inputClassName?: string;
700
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
701
+ onValueChange?: (value: string) => void;
702
+ showCharCount?: boolean;
703
+ maxLength?: number;
704
+ characterLimit?: number;
705
+ disabled?: boolean;
706
+ readOnly?: boolean;
707
+ fridged?: boolean;
708
+ "aria-label"?: string;
709
+ "aria-describedby"?: string;
710
+ }
711
+
712
+ declare const lineClasses: (props?: ({
713
+ thickness?: "normal" | "thick" | "thin" | null | undefined;
714
+ inset?: "none" | "sm" | "md" | "lg" | null | undefined;
715
+ offset?: "sm" | "md" | "lg" | null | undefined;
716
+ color?: "primary" | "gray" | "teal" | null | undefined;
717
+ } & ClassProp) | undefined) => string;
718
+
719
+ declare type Option_2 = Record<"value" | "label", string> & Record<string, string>;
720
+ export { Option_2 as Option }
721
+
722
+ declare type OptionType = string | {
723
+ label: string;
724
+ value: string;
725
+ } | Record<string, unknown>;
726
+
727
+ declare type OptionType_2 = string | {
728
+ label: string;
729
+ value: string;
730
+ } | Record<string, unknown>;
731
+
732
+ declare interface OtpInputProps {
733
+ length?: number;
734
+ label?: string;
735
+ value: string[];
736
+ onChange: (otp: string[]) => void;
737
+ onComplete?: (otp: string) => void;
738
+ className?: string;
739
+ error?: string;
740
+ inputClassName?: string;
741
+ autoFocus?: boolean;
742
+ autoSubmit?: boolean;
743
+ secure?: boolean;
744
+ "aria-label"?: string;
745
+ }
746
+
747
+ declare interface PasswordInputProps extends Omit<React.HTMLAttributes<HTMLInputElement>, "onChange"> {
748
+ label?: string;
749
+ placeholder?: string;
750
+ helperText?: string;
751
+ error?: string;
752
+ required?: boolean;
753
+ className?: string;
754
+ showPassword?: boolean;
755
+ onShowPasswordChange?: (show: boolean) => void;
756
+ value?: string;
757
+ onChange?: (value: string) => void;
758
+ onChangeEvent?: (e: React.ChangeEvent<HTMLInputElement>) => void;
759
+ onValueChange?: (value: string) => void;
760
+ autoComplete?: string;
761
+ "aria-label"?: string;
762
+ }
763
+
764
+ declare interface ProgressProps extends Omit<React_2.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, "color"> {
765
+ value?: number;
766
+ valueBuffer?: number;
767
+ variant?: ProgressVariant;
768
+ color?: ColorVariant | string;
769
+ customColor?: string;
770
+ showLabel?: boolean;
771
+ label?: string | ((value: number) => string);
772
+ }
773
+
774
+ declare type ProgressVariant = "determinate" | "indeterminate" | "buffer" | "query";
775
+
776
+ declare interface SearchFilterSectionProps {
777
+ className?: string;
778
+ searchPlaceholder?: string;
779
+ categories?: Array<{
780
+ value: string;
781
+ label: string;
782
+ }>;
783
+ sortOptions?: Array<{
784
+ value: string;
785
+ label: string;
786
+ }>;
787
+ showDateFilter?: boolean;
788
+ onSearch?: (query: string) => void;
789
+ onFilter?: (filters: Record<string, unknown>) => void;
790
+ onClear?: () => void;
791
+ defaultFilters?: {
792
+ category?: string;
793
+ sort?: string;
794
+ dateFrom?: Date;
795
+ dateTo?: Date;
796
+ };
797
+ }
798
+
799
+ declare interface SearchInputProps {
800
+ size?: "small" | "medium" | "large";
801
+ variant?: "white" | "grey";
802
+ placeholder?: string;
803
+ className?: string;
804
+ onChange?: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
805
+ query?: string;
806
+ disabled?: boolean;
807
+ }
808
+
809
+ declare interface SelectFieldProps {
810
+ label?: string;
811
+ placeholder?: string;
812
+ options: SelectOption[];
813
+ value?: string;
814
+ onValueChange?: (value: string) => void;
815
+ onChange?: (value: string) => void;
816
+ leadingIcon?: ReactNode;
817
+ trailingIcon?: ReactNode;
818
+ startIcon?: ReactNode;
819
+ endIcon?: ReactNode;
820
+ helperText?: string;
821
+ error?: string;
822
+ required?: boolean;
823
+ disabled?: boolean;
824
+ loading?: boolean;
825
+ clearable?: boolean;
826
+ className?: string;
827
+ variant?: "default" | "gray";
828
+ "aria-label"?: string;
829
+ "aria-describedby"?: string;
830
+ }
831
+
832
+ declare interface SelectOption {
833
+ value: string;
834
+ label: string;
835
+ disabled?: boolean;
836
+ group?: string;
837
+ }
838
+
839
+ declare type SidebarContextProps = {
840
+ state: "expanded" | "collapsed";
841
+ open: boolean;
842
+ setOpen: (open: boolean) => void;
843
+ openMobile: boolean;
844
+ setOpenMobile: (open: boolean) => void;
845
+ isMobile: boolean;
846
+ toggleSidebar: () => void;
847
+ };
848
+
849
+ declare const sizeClasses: {
850
+ xs: string;
851
+ sm: string;
852
+ md: string;
853
+ lg: string;
854
+ xl: string;
855
+ "2xl": string;
856
+ full: string;
857
+ };
858
+
859
+ declare type SkeletonAnimation = "pulse" | "wave" | "none";
860
+
861
+ declare interface SkeletonProps extends React_2.HTMLAttributes<HTMLDivElement> {
862
+ variant?: SkeletonVariant;
863
+ animation?: SkeletonAnimation | false;
864
+ width?: number | string;
865
+ height?: number | string;
866
+ }
867
+
868
+ declare type SkeletonVariant = "text" | "circular" | "rectangular" | "rounded";
869
+
870
+ declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
871
+ export { Tabs as DoctCustomTabs }
872
+ export { Tabs as DoctTabs }
873
+
874
+ declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
875
+ export { TabsContent as DoctCustomTabsContent }
876
+ export { TabsContent as DoctTabsContent }
877
+
878
+ declare const TabsList: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
879
+ variant?: "default" | "custom";
880
+ } & React_2.RefAttributes<HTMLDivElement>>;
881
+ export { TabsList as DoctCustomTabsList }
882
+ export { TabsList as DoctTabsList }
883
+
884
+ declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & {
885
+ variant?: "default" | "custom";
886
+ showSeparator?: boolean;
887
+ } & React_2.RefAttributes<HTMLButtonElement>>;
888
+ export { TabsTrigger as DoctCustomTabsTrigger }
889
+ export { TabsTrigger as DoctTabsTrigger }
890
+
891
+ declare interface TextareaProps extends React_2.TextareaHTMLAttributes<HTMLTextAreaElement> {
892
+ label?: string;
893
+ helperText?: string;
894
+ errorText?: string;
895
+ error?: string;
896
+ required?: boolean;
897
+ resize?: "none" | "vertical" | "horizontal" | "both";
898
+ showCharCount?: boolean;
899
+ characterLimit?: number;
900
+ onValueChange?: (value: string) => void;
901
+ }
902
+
903
+ export declare interface TimelineItem {
904
+ id: string;
905
+ title: string;
906
+ subtitle?: string;
907
+ date?: string;
908
+ status?: "completed" | "pending" | "current";
909
+ description?: string;
910
+ }
911
+
912
+ declare interface TimelineProps extends VariantProps<typeof lineClasses>, VariantProps<typeof dotClasses>, VariantProps<typeof itemsGapClasses>, VariantProps<typeof indentClasses> {
913
+ items: TimelineItem[];
914
+ title?: string;
915
+ className?: string;
916
+ showStatus?: boolean;
917
+ variant?: "default" | "minimal" | "card";
918
+ color?: "teal" | "gray" | "primary";
919
+ indent?: "sm" | "md" | "lg";
920
+ }
921
+
922
+ declare interface ToasterProps extends Omit<ToasterProps_2, "position"> {
923
+ position?: ToastPosition;
924
+ }
925
+
926
+ declare interface ToastOptions {
927
+ description?: string;
928
+ variant?: ToastVariant;
929
+ action?: {
930
+ label: string;
931
+ onClick: () => void;
932
+ };
933
+ duration?: number;
934
+ icon?: React_2.ReactNode;
935
+ iconPosition?: "left" | "right";
936
+ }
937
+
938
+ declare type ToastPosition = "top-right" | "top-center" | "top-left" | "bottom-right" | "bottom-center" | "bottom-left";
939
+
940
+ declare type ToastVariant = "error" | "info" | "warning" | "success";
941
+
942
+ declare interface TooltipContentProps extends React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> {
943
+ showArrow?: boolean;
944
+ }
945
+
946
+ export declare function useAutocompleteCheckbox<T extends OptionType_2>({ options, value, onChange, onInputChange, disabled, disableCloseOnSelect, freeSolo, getOptionLabel, getOptionValue, isOptionEqualToValue, filterOptions, fields, }: UseAutocompleteCheckboxOptions<T>): UseAutocompleteCheckboxReturn<T>;
947
+
948
+ declare interface UseAutocompleteCheckboxOptions<T> {
949
+ options: T[];
950
+ value?: T[];
951
+ onChange?: (event: React.SyntheticEvent | null, value: T[]) => void;
952
+ onInputChange?: (event: React.ChangeEvent<HTMLInputElement>, value: string) => void;
953
+ disabled?: boolean;
954
+ disableCloseOnSelect?: boolean;
955
+ freeSolo?: T extends string ? boolean : never;
956
+ getOptionLabel?: (option: T) => string;
957
+ getOptionValue?: (option: T) => string | T;
958
+ isOptionEqualToValue?: (option: T, value: T) => boolean;
959
+ filterOptions?: (options: T[], state: {
960
+ inputValue: string;
961
+ }) => T[];
962
+ fields?: {
963
+ value: string | number;
964
+ text: string;
965
+ };
966
+ }
967
+
968
+ declare interface UseAutocompleteCheckboxReturn<T> {
969
+ open: boolean;
970
+ inputValue: string;
971
+ highlightedIndex: number;
972
+ filteredOptions: T[];
973
+ selectedOptions: T[];
974
+ dropdownPosition: {
975
+ top: number;
976
+ left: number;
977
+ width: number;
978
+ };
979
+ inputRef: React.RefObject<HTMLInputElement | null>;
980
+ listRef: React.RefObject<HTMLDivElement | null>;
981
+ containerRef: React.RefObject<HTMLDivElement | null>;
982
+ setOpen: (open: boolean) => void;
983
+ setInputValue: (value: string) => void;
984
+ setHighlightedIndex: (index: number) => void;
985
+ handleInputChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
986
+ handleOptionSelect: (option: T) => void;
987
+ handleTagRemove: (tag: T) => void;
988
+ handleClear: (event: React.MouseEvent<HTMLButtonElement>) => void;
989
+ handleClearAll: () => void;
990
+ handleKeyDown: (event: React.KeyboardEvent<HTMLInputElement>) => void;
991
+ handleToggle: () => void;
992
+ handleFocus: () => void;
993
+ updateDropdownPosition: () => void;
994
+ isOptionSelected: (option: T) => boolean;
995
+ getOptionLabelSafe: (option: T) => string;
996
+ memoizedIsOptionEqualToValue: (option: T, value: T) => boolean;
997
+ }
998
+
999
+ declare interface UserRegistrationSectionProps {
1000
+ className?: string;
1001
+ showDateOfBirth?: boolean;
1002
+ accountTypes?: Array<{
1003
+ value: string;
1004
+ label: string;
1005
+ }>;
1006
+ onValueChange?: (field: string, value: string | Date) => void;
1007
+ }
1008
+
1009
+ export declare function useSidebar(): SidebarContextProps;
1010
+
1011
+ export { }