@bloodhoundenterprise/doodleui 1.0.0-alpha.3 → 1.0.0-alpha.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -2
- package/dist/doodleui.js +5059 -5767
- package/dist/index.d.ts +497 -50
- package/dist/styles.css +1 -0
- package/dist/vendor-B2J2xGK4.js +14077 -0
- package/package.json +50 -24
- package/dist/style.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,56 +1,153 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
|
+
import { ButtonProps as ButtonProps_2 } from '../Button';
|
|
3
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
2
4
|
import { ClassProp } from 'class-variance-authority/types';
|
|
5
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
6
|
+
import { ColumnPinningState } from '@tanstack/react-table';
|
|
7
|
+
import { ControllerProps } from 'react-hook-form';
|
|
8
|
+
import { createColumnHelper } from '@tanstack/react-table';
|
|
9
|
+
import { DayPicker } from 'react-day-picker';
|
|
10
|
+
import { default as default_2 } from 'embla-carousel-react';
|
|
11
|
+
import { DetailedHTMLProps } from 'react';
|
|
12
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
13
|
+
import { FieldError } from 'react-hook-form';
|
|
14
|
+
import { FieldPath } from 'react-hook-form';
|
|
15
|
+
import { FieldValues } from 'react-hook-form';
|
|
16
|
+
import { flexRender } from '@tanstack/react-table';
|
|
17
|
+
import { FormProviderProps } from 'react-hook-form';
|
|
3
18
|
import { ForwardRefExoticComponent } from 'react';
|
|
19
|
+
import { HTMLAttributes } from 'react';
|
|
20
|
+
import { InputHTMLAttributes } from 'react';
|
|
4
21
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
22
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
23
|
+
import { OnChangeFn } from '@tanstack/react-table';
|
|
24
|
+
import { PluginCreator } from 'tailwindcss/types/config';
|
|
25
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
5
26
|
import * as React_2 from 'react';
|
|
6
27
|
import { RefAttributes } from 'react';
|
|
28
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
29
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
7
30
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
8
|
-
import
|
|
31
|
+
import { TableOptions } from '@tanstack/react-table';
|
|
32
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
33
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
34
|
+
import { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
35
|
+
import { useVirtualizer } from '@tanstack/react-virtual';
|
|
9
36
|
import { VariantProps } from 'class-variance-authority';
|
|
37
|
+
import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
|
|
10
38
|
|
|
11
|
-
declare const Accordion: React_2.ForwardRefExoticComponent<(
|
|
39
|
+
export declare const Accordion: React_2.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React_2.RefAttributes<HTMLDivElement>>;
|
|
12
40
|
|
|
13
|
-
declare const AccordionContent: React_2.ForwardRefExoticComponent<Omit<
|
|
41
|
+
export declare const AccordionContent: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
14
42
|
|
|
15
|
-
declare const AccordionHeader: React_2.ForwardRefExoticComponent<Omit<
|
|
43
|
+
export declare const AccordionHeader: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
16
44
|
|
|
17
|
-
declare const AccordionItem: React_2.ForwardRefExoticComponent<Omit<
|
|
45
|
+
export declare const AccordionItem: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
18
46
|
|
|
19
|
-
declare
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
47
|
+
export declare const Badge: React_2.ForwardRefExoticComponent<BadgeProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
48
|
+
|
|
49
|
+
declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
50
|
+
label: string;
|
|
51
|
+
icon?: React_2.ReactNode;
|
|
52
|
+
color?: string;
|
|
53
|
+
backgroundColor?: string;
|
|
26
54
|
}
|
|
27
|
-
export { AccordionPrimitive }
|
|
28
55
|
|
|
29
|
-
export declare
|
|
56
|
+
export declare const Breadcrumb: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
57
|
+
separator?: React_2.ReactNode;
|
|
58
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
30
59
|
|
|
31
|
-
declare
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
60
|
+
export declare const BreadcrumbEllipsis: {
|
|
61
|
+
({ className, ...props }: React_2.ComponentProps<"span">): JSX_2.Element;
|
|
62
|
+
displayName: string;
|
|
63
|
+
};
|
|
36
64
|
|
|
37
|
-
declare const
|
|
38
|
-
|
|
39
|
-
|
|
65
|
+
export declare const BreadcrumbItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
|
|
66
|
+
|
|
67
|
+
export declare const BreadcrumbLink: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
68
|
+
asChild?: boolean;
|
|
69
|
+
} & React_2.RefAttributes<HTMLAnchorElement>>;
|
|
70
|
+
|
|
71
|
+
export declare const BreadcrumbList: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React_2.RefAttributes<HTMLOListElement>>;
|
|
72
|
+
|
|
73
|
+
export declare const BreadcrumbPage: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
74
|
+
|
|
75
|
+
export declare const BreadcrumbSeparator: {
|
|
76
|
+
({ children, className, ...props }: React_2.ComponentProps<"li">): JSX_2.Element;
|
|
77
|
+
displayName: string;
|
|
78
|
+
};
|
|
40
79
|
|
|
41
80
|
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
42
81
|
|
|
43
|
-
declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof ButtonVariants> {
|
|
82
|
+
export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof ButtonVariants> {
|
|
44
83
|
asChild?: boolean;
|
|
45
84
|
}
|
|
46
85
|
|
|
47
|
-
declare const ButtonVariants: (props?: ({
|
|
48
|
-
variant?: "primary" | "secondary" | "tertiary" | "text" | "icon" | null | undefined;
|
|
86
|
+
export declare const ButtonVariants: (props?: ({
|
|
87
|
+
variant?: "primary" | "secondary" | "tertiary" | "transparent" | "text" | "icon" | null | undefined;
|
|
88
|
+
fontColor?: "primary" | null | undefined;
|
|
49
89
|
size?: "medium" | "large" | "small" | null | undefined;
|
|
50
90
|
} & ClassProp) | undefined) => string;
|
|
51
91
|
|
|
92
|
+
export declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps & {
|
|
93
|
+
onChange?: React_2.ChangeEventHandler<HTMLSelectElement>;
|
|
94
|
+
}): JSX_2.Element;
|
|
95
|
+
|
|
96
|
+
export declare namespace Calendar {
|
|
97
|
+
var displayName: string;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export declare type CalendarProps = React_2.ComponentProps<typeof DayPicker>;
|
|
101
|
+
|
|
102
|
+
export declare const Card: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
103
|
+
|
|
104
|
+
export declare const CardContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
105
|
+
|
|
106
|
+
export declare const CardDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
107
|
+
|
|
108
|
+
export declare const CardFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
109
|
+
|
|
110
|
+
export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
111
|
+
|
|
112
|
+
export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
113
|
+
|
|
114
|
+
export declare const Carousel: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & CarouselProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
115
|
+
|
|
116
|
+
export declare type CarouselApi = UseEmblaCarouselType[1];
|
|
117
|
+
|
|
118
|
+
export declare const CarouselContent: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
119
|
+
|
|
120
|
+
export declare const CarouselDots: React_2.ForwardRefExoticComponent<Omit<ButtonProps_2 & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
121
|
+
|
|
122
|
+
export declare const CarouselItem: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
123
|
+
|
|
124
|
+
export declare const CarouselNext: React_2.ForwardRefExoticComponent<Omit<ButtonProps_2 & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
125
|
+
|
|
126
|
+
declare type CarouselOptions = UseCarouselParameters[0];
|
|
127
|
+
|
|
128
|
+
export declare const CarouselPrev: React_2.ForwardRefExoticComponent<Omit<ButtonProps_2 & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
129
|
+
|
|
130
|
+
declare type CarouselProps = {
|
|
131
|
+
opts?: CarouselOptions;
|
|
132
|
+
autoplay?: boolean;
|
|
133
|
+
orientation?: 'horizontal' | 'vertical';
|
|
134
|
+
setApi?: (api: CarouselApi) => void;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
export declare const Checkbox: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
138
|
+
|
|
139
|
+
declare interface CheckboxProps extends React_2.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, VariantProps<typeof CheckboxVariants> {
|
|
140
|
+
icon?: React_2.ReactNode;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare const CheckboxVariants: (props?: ({
|
|
144
|
+
size?: "lg" | "md" | "sm" | null | undefined;
|
|
145
|
+
} & ClassProp) | undefined) => string;
|
|
146
|
+
|
|
52
147
|
declare type ColorOptions = ThemeOptions | CustomColorOptions;
|
|
53
148
|
|
|
149
|
+
export { ColumnDef }
|
|
150
|
+
|
|
54
151
|
export declare const ComboBadge: (props: ComboBadgeProps) => JSX_2.Element;
|
|
55
152
|
|
|
56
153
|
declare interface ComboBadgeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'aria-label'> {
|
|
@@ -65,12 +162,283 @@ declare interface ComboBadgeProps extends Omit<React.HTMLAttributes<HTMLDivEleme
|
|
|
65
162
|
disableAdornment?: boolean;
|
|
66
163
|
}
|
|
67
164
|
|
|
68
|
-
declare interface ContentProps extends React_2.ComponentPropsWithoutRef<typeof
|
|
165
|
+
declare interface ContentProps extends React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> {
|
|
69
166
|
contentWidth?: 'default' | 'match_trigger' | 'lg' | 'md' | 'sm';
|
|
70
167
|
}
|
|
71
168
|
|
|
169
|
+
export { createColumnHelper }
|
|
170
|
+
|
|
72
171
|
declare type CustomColorOptions = `#${string}` | `rgb(${string})` | `rgba(${string})` | `hsl(${string})` | `hsla(${string})`;
|
|
73
172
|
|
|
173
|
+
export declare const DataTable: <TData, TValue>(props: DataTableProps<TData, TValue>) => JSX_2.Element;
|
|
174
|
+
|
|
175
|
+
declare interface DataTableProps<TData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
|
|
176
|
+
/**
|
|
177
|
+
* If using DataTable with a high order component and you need to spread ...rest props, consider casting the columns prop `as ColumnDef<unknown, unknown>[]` to avoid a noisy TS error.
|
|
178
|
+
*
|
|
179
|
+
* *[Link to more info](https://github.com/microsoft/TypeScript/issues/28938#issuecomment-450636046)*
|
|
180
|
+
* ***
|
|
181
|
+
* Note: Use `ColumnDef<RowInterface>[]` for intellisense when building columns.
|
|
182
|
+
*/
|
|
183
|
+
columns: ColumnDef<TData, TValue>[];
|
|
184
|
+
data: TData[];
|
|
185
|
+
onRowClick?: (row: TData) => void;
|
|
186
|
+
selectedRow?: string;
|
|
187
|
+
noResultsFallback?: string | React.ReactNode;
|
|
188
|
+
growLastColumn?: boolean;
|
|
189
|
+
virtualizationOptions?: Partial<Parameters<typeof useVirtualizer>[0]>;
|
|
190
|
+
tableOptions?: Omit<TableOptions<TData>, 'columns' | 'data' | 'getCoreRowModel'>;
|
|
191
|
+
columnPinning?: ColumnPinningState;
|
|
192
|
+
onColumnPinningChange?: OnChangeFn<ColumnPinningState>;
|
|
193
|
+
TableProps?: React.ComponentPropsWithoutRef<typeof Table> & {
|
|
194
|
+
disableDefaultOverflowAuto?: boolean;
|
|
195
|
+
tableContainerClassName?: string;
|
|
196
|
+
heightContainerClassName?: string;
|
|
197
|
+
};
|
|
198
|
+
TableHeaderProps?: React.ComponentPropsWithoutRef<typeof TableHeader>;
|
|
199
|
+
TableHeaderRowProps?: React.ComponentPropsWithoutRef<typeof TableRow>;
|
|
200
|
+
TableHeadProps?: React.ComponentPropsWithoutRef<typeof TableHead>;
|
|
201
|
+
TableBodyProps?: React.ComponentPropsWithoutRef<typeof TableBody>;
|
|
202
|
+
TableBodyRowProps?: React.ComponentPropsWithoutRef<typeof TableRow>;
|
|
203
|
+
TableCellProps?: React.ComponentPropsWithoutRef<typeof TableCell>;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export declare const DatePicker: ForwardRefExoticComponent<DatePickerProps & RefAttributes<HTMLInputElement>>;
|
|
207
|
+
|
|
208
|
+
declare interface DatePickerProps extends InputHTMLAttributes<HTMLInputElement>, InputProps {
|
|
209
|
+
calendarProps?: CalendarProps;
|
|
210
|
+
InputElement?: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
211
|
+
onOpenChange?: (open: boolean) => void;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* See documentation: [Dialog](https://www.radix-ui.com/primitives/docs/components/dialog#root)
|
|
216
|
+
*/
|
|
217
|
+
export declare const Dialog: React_2.FC<DialogPrimitive.DialogProps>;
|
|
218
|
+
|
|
219
|
+
export declare const DialogActions: {
|
|
220
|
+
({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
|
|
221
|
+
displayName: string;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* See documentation: [DialogClose](https://www.radix-ui.com/primitives/docs/components/dialog#close)
|
|
226
|
+
*/
|
|
227
|
+
export declare const DialogClose: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* See documentation: [DialogContent](https://www.radix-ui.com/primitives/docs/components/dialog#content)
|
|
231
|
+
*/
|
|
232
|
+
export declare const DialogContent: React_2.ForwardRefExoticComponent<DialogContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
233
|
+
|
|
234
|
+
declare interface DialogContentProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
235
|
+
maxWidth?: (typeof DialogMaxWidth)[number];
|
|
236
|
+
allowNav?: boolean;
|
|
237
|
+
DialogOverlayProps?: DialogOverlayProps;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* See documentation: [DialogDescription](https://www.radix-ui.com/primitives/docs/components/dialog#description)
|
|
242
|
+
*/
|
|
243
|
+
export declare const DialogDescription: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
|
|
244
|
+
|
|
245
|
+
export declare const DialogMaxWidth: readonly ["xl", "lg", "md", "sm", "xs"];
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* See documentation: [DialogOverlay](https://www.radix-ui.com/primitives/docs/components/dialog#overlay)
|
|
249
|
+
*/
|
|
250
|
+
export declare const DialogOverlay: React_2.ForwardRefExoticComponent<DialogOverlayProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
251
|
+
|
|
252
|
+
declare interface DialogOverlayProps extends React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>, VariantProps<typeof DialogOverlayVariants> {
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
declare const DialogOverlayVariants: (props?: ({
|
|
256
|
+
blurBackground?: boolean | null | undefined;
|
|
257
|
+
allowNav?: boolean | null | undefined;
|
|
258
|
+
} & ClassProp) | undefined) => string;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* See documentation: [DialogPortal](https://www.radix-ui.com/primitives/docs/components/dialog#overlay)
|
|
262
|
+
*/
|
|
263
|
+
export declare const DialogPortal: React_2.FC<DialogPrimitive.DialogPortalProps>;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* See documentation: [DialogTitle](https://www.radix-ui.com/primitives/docs/components/dialog#title)
|
|
267
|
+
*/
|
|
268
|
+
export declare const DialogTitle: React_2.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* See documentation: [DialogTrigger](https://www.radix-ui.com/primitives/docs/components/dialog#trigger)
|
|
272
|
+
*/
|
|
273
|
+
export declare const DialogTrigger: React_2.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
274
|
+
|
|
275
|
+
export declare const DoodleUIPlugin: PluginCreator;
|
|
276
|
+
|
|
277
|
+
export declare const DoodleUIPreset: {
|
|
278
|
+
theme: {
|
|
279
|
+
fontFamily: {
|
|
280
|
+
sans: string[];
|
|
281
|
+
};
|
|
282
|
+
container: {
|
|
283
|
+
center: boolean;
|
|
284
|
+
padding: string;
|
|
285
|
+
screens: {
|
|
286
|
+
'2xl': string;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
extend: {
|
|
290
|
+
colors: {
|
|
291
|
+
contrast: string;
|
|
292
|
+
primary: string;
|
|
293
|
+
'primary-variant': string;
|
|
294
|
+
secondary: string;
|
|
295
|
+
'secondary-variant': string;
|
|
296
|
+
'secondary-variant-2': string;
|
|
297
|
+
link: string;
|
|
298
|
+
error: string;
|
|
299
|
+
tertiary: string;
|
|
300
|
+
'tertiary-variant': string;
|
|
301
|
+
'neutral-1': string;
|
|
302
|
+
'neutral-2': string;
|
|
303
|
+
'neutral-3': string;
|
|
304
|
+
'neutral-4': string;
|
|
305
|
+
'neutral-5': string;
|
|
306
|
+
'neutral-light-1': string;
|
|
307
|
+
'neutral-light-2': string;
|
|
308
|
+
'neutral-light-3': string;
|
|
309
|
+
'neutral-light-4': string;
|
|
310
|
+
'neutral-light-5': string;
|
|
311
|
+
'neutral-dark-1': string;
|
|
312
|
+
'neutral-dark-2': string;
|
|
313
|
+
'neutral-dark-3': string;
|
|
314
|
+
'neutral-dark-4': string;
|
|
315
|
+
'neutral-dark-5': string;
|
|
316
|
+
};
|
|
317
|
+
keyframes: {
|
|
318
|
+
'accordion-down': {
|
|
319
|
+
from: {
|
|
320
|
+
height: string;
|
|
321
|
+
};
|
|
322
|
+
to: {
|
|
323
|
+
height: string;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
'accordion-up': {
|
|
327
|
+
from: {
|
|
328
|
+
height: string;
|
|
329
|
+
};
|
|
330
|
+
to: {
|
|
331
|
+
height: string;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
animation: {
|
|
336
|
+
'accordion-down': string;
|
|
337
|
+
'accordion-up': string;
|
|
338
|
+
};
|
|
339
|
+
boxShadow: {
|
|
340
|
+
inner1xl: string;
|
|
341
|
+
'outer-1': string;
|
|
342
|
+
'outer-2': string;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
plugins: {
|
|
347
|
+
handler: () => void;
|
|
348
|
+
}[];
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
export { flexRender }
|
|
352
|
+
|
|
353
|
+
export declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React_2.JSX.Element;
|
|
354
|
+
|
|
355
|
+
export declare function FormControl({ ...props }: React_2.ComponentProps<typeof Slot>): JSX_2.Element;
|
|
356
|
+
|
|
357
|
+
export declare function FormDescription({ className, ...props }: React_2.ComponentProps<'p'>): JSX_2.Element;
|
|
358
|
+
|
|
359
|
+
export declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => JSX_2.Element;
|
|
360
|
+
|
|
361
|
+
export declare const FormFieldContext: React_2.Context<FormFieldContextValue<FieldValues, string>>;
|
|
362
|
+
|
|
363
|
+
declare type FormFieldContextValue<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
|
|
364
|
+
name: TName;
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
export declare function FormItem({ className, ...props }: React_2.ComponentProps<'div'>): JSX_2.Element;
|
|
368
|
+
|
|
369
|
+
export declare const FormItemContext: React_2.Context<FormItemContextValue>;
|
|
370
|
+
|
|
371
|
+
declare type FormItemContextValue = {
|
|
372
|
+
id: string;
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
export declare function FormLabel({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX_2.Element;
|
|
376
|
+
|
|
377
|
+
export declare function FormMessage({ className, ...props }: React_2.ComponentProps<'p'>): JSX_2.Element | null;
|
|
378
|
+
|
|
379
|
+
export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
380
|
+
|
|
381
|
+
export declare interface InputProps extends React_2.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof InputVariants> {
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export declare const InputVariants: (props?: ({
|
|
385
|
+
variant?: "outlined" | "underlined" | null | undefined;
|
|
386
|
+
} & ClassProp) | undefined) => string;
|
|
387
|
+
|
|
388
|
+
export declare const Label: React_2.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React_2.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
|
|
389
|
+
size?: "medium" | "large" | "small" | null | undefined;
|
|
390
|
+
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLLabelElement>>;
|
|
391
|
+
|
|
392
|
+
export declare const Pagination: React.FC<PaginationProps>;
|
|
393
|
+
|
|
394
|
+
export declare const PaginationContent: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
395
|
+
|
|
396
|
+
export declare const PaginationEllipsis: {
|
|
397
|
+
({ className, ...props }: React.ComponentProps<"span">): JSX_2.Element;
|
|
398
|
+
displayName: string;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
export declare const PaginationLink: {
|
|
402
|
+
({ className, isActive, asChild, ...props }: PaginationLinkProps): JSX_2.Element;
|
|
403
|
+
displayName: string;
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
declare type PaginationLinkProps = {
|
|
407
|
+
isActive?: boolean;
|
|
408
|
+
asChild?: boolean;
|
|
409
|
+
} & React.ComponentProps<'button'>;
|
|
410
|
+
|
|
411
|
+
export declare const PaginationNav: {
|
|
412
|
+
({ className, ...props }: React.ComponentProps<"nav">): JSX_2.Element;
|
|
413
|
+
displayName: string;
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
export declare const PaginationNext: {
|
|
417
|
+
({ onClick, className, ...props }: React.ComponentProps<typeof PaginationLink>): JSX_2.Element;
|
|
418
|
+
displayName: string;
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
export declare const PaginationPrevious: {
|
|
422
|
+
({ onClick, className, ...props }: React.ComponentProps<typeof PaginationLink>): JSX_2.Element;
|
|
423
|
+
displayName: string;
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
export declare interface PaginationProps extends React.ComponentProps<'nav'> {
|
|
427
|
+
page: number;
|
|
428
|
+
rowsPerPage: number;
|
|
429
|
+
count: number;
|
|
430
|
+
paginationOptions?: string[];
|
|
431
|
+
defaultPaginationValue?: string;
|
|
432
|
+
onPageChange: (page: number) => void;
|
|
433
|
+
onRowsPerPageChange: (rowsPerPage: number) => void;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export declare const Popover: React_2.FC<PopoverPrimitive.PopoverProps>;
|
|
437
|
+
|
|
438
|
+
export declare const PopoverContent: React_2.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
439
|
+
|
|
440
|
+
export declare const PopoverTrigger: React_2.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
441
|
+
|
|
74
442
|
declare interface Props extends React.HTMLAttributes<HTMLDivElement> {
|
|
75
443
|
value: number;
|
|
76
444
|
color: ColorOptions;
|
|
@@ -79,36 +447,95 @@ declare interface Props extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
79
447
|
|
|
80
448
|
export declare function RadialGauge(props: Props): JSX_2.Element;
|
|
81
449
|
|
|
82
|
-
declare
|
|
450
|
+
export declare function RiskBadge(props: RiskBadgeProps): JSX_2.Element;
|
|
451
|
+
|
|
452
|
+
export declare interface RiskBadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof RiskBadgePropVariants> {
|
|
453
|
+
color?: ColorOptions;
|
|
454
|
+
outlined: boolean;
|
|
455
|
+
label?: string;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
declare const RiskBadgePropVariants: (props?: ({
|
|
459
|
+
type?: "labeled" | "sm-circle" | "md-circle" | null | undefined;
|
|
460
|
+
} & ClassProp) | undefined) => string;
|
|
461
|
+
|
|
462
|
+
declare type RootProps = React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>;
|
|
463
|
+
|
|
464
|
+
export declare const Select: React_2.FC<SelectPrimitive.SelectProps>;
|
|
465
|
+
|
|
466
|
+
export declare const SelectContent: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
467
|
+
|
|
468
|
+
export declare const SelectGroup: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
469
|
+
|
|
470
|
+
export declare const SelectItem: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
471
|
+
|
|
472
|
+
export declare const SelectLabel: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
473
|
+
|
|
474
|
+
export declare const SelectPortal: React_2.FC<SelectPrimitive.SelectPortalProps>;
|
|
475
|
+
|
|
476
|
+
export declare const SelectScrollDownButton: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
477
|
+
|
|
478
|
+
export declare const SelectScrollUpButton: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
479
|
+
|
|
480
|
+
export declare const SelectSeparator: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
481
|
+
|
|
482
|
+
export declare const SelectTrigger: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
483
|
+
variant?: "outlined" | "underlined" | null | undefined;
|
|
484
|
+
} & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
485
|
+
|
|
486
|
+
export declare const SelectTriggerVariants: (props?: ({
|
|
487
|
+
variant?: "outlined" | "underlined" | null | undefined;
|
|
488
|
+
} & ClassProp) | undefined) => string;
|
|
489
|
+
|
|
490
|
+
export declare const SelectValue: React_2.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
491
|
+
|
|
492
|
+
export declare const Skeleton: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
83
493
|
|
|
84
494
|
export declare const Switch: ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
85
495
|
size?: "medium" | "large" | "small" | null | undefined;
|
|
86
496
|
} & ClassProp) | undefined) => string> & {
|
|
87
|
-
label?: string
|
|
88
|
-
labelPosition?: "left" | "right"
|
|
497
|
+
label?: string;
|
|
498
|
+
labelPosition?: "left" | "right";
|
|
89
499
|
} & RefAttributes<HTMLButtonElement>>;
|
|
90
500
|
|
|
91
|
-
declare
|
|
501
|
+
export declare const Table: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableElement> & {
|
|
502
|
+
disableDefaultOverflowAuto?: boolean;
|
|
503
|
+
tableContainerClassName?: string;
|
|
504
|
+
} & React_2.RefAttributes<HTMLTableElement>>;
|
|
92
505
|
|
|
93
|
-
declare const
|
|
506
|
+
export declare const TableBody: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
|
|
94
507
|
|
|
95
|
-
declare const
|
|
508
|
+
export declare const TableCaption: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableCaptionElement> & React_2.RefAttributes<HTMLTableCaptionElement>>;
|
|
96
509
|
|
|
97
|
-
declare const
|
|
510
|
+
export declare const TableCell: React_2.ForwardRefExoticComponent<React_2.TdHTMLAttributes<HTMLTableCellElement> & React_2.RefAttributes<HTMLTableCellElement>>;
|
|
98
511
|
|
|
99
|
-
declare const
|
|
512
|
+
export declare const TableFooter: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
|
|
100
513
|
|
|
101
|
-
declare
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
export
|
|
514
|
+
export declare const TableHead: React_2.ForwardRefExoticComponent<React_2.ThHTMLAttributes<HTMLTableCellElement> & React_2.RefAttributes<HTMLTableCellElement>>;
|
|
515
|
+
|
|
516
|
+
export declare const TableHeader: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableSectionElement> & React_2.RefAttributes<HTMLTableSectionElement>>;
|
|
517
|
+
|
|
518
|
+
export declare const TableRow: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLTableRowElement> & React_2.RefAttributes<HTMLTableRowElement>>;
|
|
519
|
+
|
|
520
|
+
export declare const Tabs: React_2.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
521
|
+
|
|
522
|
+
export declare const TabsContent: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
523
|
+
|
|
524
|
+
export declare const TabsList: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
525
|
+
|
|
526
|
+
export declare const TabsTrigger: React_2.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
527
|
+
|
|
528
|
+
export declare function Textarea({ className, ...props }: React_2.ComponentProps<'textarea'>): JSX_2.Element;
|
|
529
|
+
|
|
530
|
+
declare type ThemeOptions = (typeof themeOptions)[number];
|
|
531
|
+
|
|
532
|
+
declare const themeOptions: readonly ["primary", "primary-variant", "primary", "primary-variant", "secondary", "secondary-variant", "tertiary", "tertiary-variant"];
|
|
533
|
+
|
|
534
|
+
export declare const Tooltip: React_2.FC<TooltipProps>;
|
|
535
|
+
|
|
536
|
+
export declare const TooltipContent: React_2.ForwardRefExoticComponent<ContentProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
537
|
+
|
|
538
|
+
export declare const TooltipPortal: React_2.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
112
539
|
|
|
113
540
|
declare interface TooltipProps extends React_2.PropsWithChildren {
|
|
114
541
|
tooltip: string | React_2.ReactNode;
|
|
@@ -122,12 +549,32 @@ declare interface TooltipProps extends React_2.PropsWithChildren {
|
|
|
122
549
|
contentProps?: Omit<ContentProps, 'contentWidth'>;
|
|
123
550
|
}
|
|
124
551
|
|
|
125
|
-
declare const TooltipProvider: React_2.FC<
|
|
552
|
+
export declare const TooltipProvider: React_2.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
553
|
+
|
|
554
|
+
export declare const TooltipRoot: React_2.FC<TooltipPrimitive.TooltipProps>;
|
|
555
|
+
|
|
556
|
+
export declare const TooltipTrigger: React_2.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
557
|
+
|
|
558
|
+
declare type TriggerProps = React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>;
|
|
126
559
|
|
|
127
|
-
declare
|
|
560
|
+
declare type UseCarouselParameters = Parameters<typeof default_2>;
|
|
128
561
|
|
|
129
|
-
declare const
|
|
562
|
+
export declare const useFormField: () => {
|
|
563
|
+
invalid: boolean;
|
|
564
|
+
isDirty: boolean;
|
|
565
|
+
isTouched: boolean;
|
|
566
|
+
isValidating: boolean;
|
|
567
|
+
error?: FieldError;
|
|
568
|
+
id: string;
|
|
569
|
+
name: string;
|
|
570
|
+
formItemId: string;
|
|
571
|
+
formDescriptionId: string;
|
|
572
|
+
formMessageId: string;
|
|
573
|
+
};
|
|
130
574
|
|
|
131
|
-
|
|
575
|
+
/**
|
|
576
|
+
* Radix Doc for [when to use VisuallyHidden](https://www.radix-ui.com/primitives/docs/utilities/visually-hidden)
|
|
577
|
+
*/
|
|
578
|
+
export declare const VisuallyHidden: ForwardRefExoticComponent<VisuallyHiddenPrimitive.VisuallyHiddenProps & RefAttributes<HTMLSpanElement>>;
|
|
132
579
|
|
|
133
580
|
export { }
|