@bison-lab/ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +965 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2401 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +55 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,965 @@
|
|
|
1
|
+
|
|
2
|
+
import { ClassValue } from "clsx";
|
|
3
|
+
import * as React$1 from "react";
|
|
4
|
+
import { BrandColors, DensityPreset, FontWeightMap, MotionPreset, RadiusPreset, ShadowPreset } from "@bison-lab/tokens";
|
|
5
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
|
+
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Separator as Separator$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Tooltip as Tooltip$1 } from "radix-ui";
|
|
7
|
+
import { VariantProps } from "class-variance-authority";
|
|
8
|
+
import { LucideIcon } from "lucide-react";
|
|
9
|
+
import { toast } from "sonner";
|
|
10
|
+
import { ZodSchema } from "zod";
|
|
11
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
12
|
+
|
|
13
|
+
//#region src/lib/utils.d.ts
|
|
14
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/providers/bison-provider.d.ts
|
|
17
|
+
type Theme$1 = "light" | "dark" | "system";
|
|
18
|
+
interface GoogleFontConfig {
|
|
19
|
+
/** Google Font family name, e.g. "Inter", "Roboto", "Playfair Display" */
|
|
20
|
+
family: string;
|
|
21
|
+
/** Font weights to load. Defaults to [400, 500, 600, 700] */
|
|
22
|
+
weights?: number[];
|
|
23
|
+
/** Whether to load italic variants. Defaults to false */
|
|
24
|
+
italic?: boolean;
|
|
25
|
+
}
|
|
26
|
+
interface BisonProviderProps {
|
|
27
|
+
children: React$1.ReactNode;
|
|
28
|
+
/** Brand colors used to derive the full semantic palette */
|
|
29
|
+
brandColors: BrandColors;
|
|
30
|
+
/** Border radius preset. Defaults to "rounded" */
|
|
31
|
+
radius?: RadiusPreset;
|
|
32
|
+
/** Shadow preset. Defaults to "subtle" */
|
|
33
|
+
shadow?: ShadowPreset;
|
|
34
|
+
/** Motion preset. Defaults to "smooth" */
|
|
35
|
+
motion?: MotionPreset;
|
|
36
|
+
/** Density preset. Defaults to "default" */
|
|
37
|
+
density?: DensityPreset;
|
|
38
|
+
/** Default theme mode. Defaults to "system" */
|
|
39
|
+
defaultTheme?: Theme$1;
|
|
40
|
+
/** localStorage key for theme persistence. Defaults to "bison-theme" */
|
|
41
|
+
storageKey?: string;
|
|
42
|
+
/** Google Font for body/UI text. Defaults to Inter */
|
|
43
|
+
bodyFont?: GoogleFontConfig;
|
|
44
|
+
/** Google Font for headings. Falls back to bodyFont if not provided */
|
|
45
|
+
headingFont?: GoogleFontConfig;
|
|
46
|
+
/** Google Font for monospace/code. Defaults to JetBrains Mono */
|
|
47
|
+
monoFont?: GoogleFontConfig;
|
|
48
|
+
/** Custom font weight map. Defaults to 400/500/600/700 */
|
|
49
|
+
fontWeights?: FontWeightMap;
|
|
50
|
+
}
|
|
51
|
+
declare function BisonProvider({
|
|
52
|
+
children,
|
|
53
|
+
brandColors,
|
|
54
|
+
radius,
|
|
55
|
+
shadow,
|
|
56
|
+
motion,
|
|
57
|
+
density,
|
|
58
|
+
defaultTheme,
|
|
59
|
+
storageKey,
|
|
60
|
+
bodyFont,
|
|
61
|
+
headingFont,
|
|
62
|
+
monoFont,
|
|
63
|
+
fontWeights
|
|
64
|
+
}: BisonProviderProps): react_jsx_runtime0.JSX.Element;
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/providers/theme-provider.d.ts
|
|
67
|
+
type Theme = "light" | "dark" | "system";
|
|
68
|
+
interface ThemeProviderProps {
|
|
69
|
+
children: React$1.ReactNode;
|
|
70
|
+
defaultTheme?: Theme;
|
|
71
|
+
storageKey?: string;
|
|
72
|
+
attribute?: string;
|
|
73
|
+
}
|
|
74
|
+
interface ThemeProviderState {
|
|
75
|
+
theme: Theme;
|
|
76
|
+
setTheme: (theme: Theme) => void;
|
|
77
|
+
}
|
|
78
|
+
declare function ThemeProvider({
|
|
79
|
+
children,
|
|
80
|
+
defaultTheme,
|
|
81
|
+
storageKey,
|
|
82
|
+
attribute,
|
|
83
|
+
...props
|
|
84
|
+
}: ThemeProviderProps): react_jsx_runtime0.JSX.Element;
|
|
85
|
+
declare function useTheme(): ThemeProviderState;
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/providers/density-provider.d.ts
|
|
88
|
+
type Density = "compact" | "default" | "spacious";
|
|
89
|
+
interface DensityProviderProps {
|
|
90
|
+
children: React$1.ReactNode;
|
|
91
|
+
density?: Density;
|
|
92
|
+
}
|
|
93
|
+
declare function DensityProvider({
|
|
94
|
+
children,
|
|
95
|
+
density
|
|
96
|
+
}: DensityProviderProps): react_jsx_runtime0.JSX.Element;
|
|
97
|
+
declare function useDensity(): Density;
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/form/form.d.ts
|
|
100
|
+
type FormMode = "native" | "rhf";
|
|
101
|
+
interface FormContextValue {
|
|
102
|
+
errors: Record<string, string>;
|
|
103
|
+
touched: Record<string, boolean>;
|
|
104
|
+
setFieldError: (name: string, error: string) => void;
|
|
105
|
+
clearFieldError: (name: string) => void;
|
|
106
|
+
setFieldTouched: (name: string) => void;
|
|
107
|
+
isSubmitting: boolean;
|
|
108
|
+
formMode: FormMode;
|
|
109
|
+
}
|
|
110
|
+
declare function useFormContext(): FormContextValue | undefined;
|
|
111
|
+
interface FormProps extends Omit<React$1.FormHTMLAttributes<HTMLFormElement>, "onSubmit"> {
|
|
112
|
+
onSubmit?: (data: Record<string, FormDataEntryValue>) => void | Promise<void>;
|
|
113
|
+
schema?: ZodSchema;
|
|
114
|
+
formMode?: FormMode;
|
|
115
|
+
children: React$1.ReactNode;
|
|
116
|
+
}
|
|
117
|
+
declare const Form: React$1.ForwardRefExoticComponent<FormProps & React$1.RefAttributes<HTMLFormElement>>;
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region src/form/form-field.d.ts
|
|
120
|
+
interface FormFieldProps {
|
|
121
|
+
name: string;
|
|
122
|
+
label?: string;
|
|
123
|
+
description?: string;
|
|
124
|
+
required?: boolean;
|
|
125
|
+
className?: string;
|
|
126
|
+
children: React$1.ReactNode;
|
|
127
|
+
}
|
|
128
|
+
declare function FormField({
|
|
129
|
+
name,
|
|
130
|
+
label,
|
|
131
|
+
description,
|
|
132
|
+
required,
|
|
133
|
+
className,
|
|
134
|
+
children
|
|
135
|
+
}: FormFieldProps): react_jsx_runtime0.JSX.Element;
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region src/form/form-error.d.ts
|
|
138
|
+
interface FormErrorProps {
|
|
139
|
+
message?: string;
|
|
140
|
+
className?: string;
|
|
141
|
+
}
|
|
142
|
+
declare function FormError({
|
|
143
|
+
message,
|
|
144
|
+
className
|
|
145
|
+
}: FormErrorProps): react_jsx_runtime0.JSX.Element | null;
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region src/components/button.d.ts
|
|
148
|
+
declare const buttonVariants: (props?: ({
|
|
149
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
150
|
+
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
151
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
152
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
153
|
+
asChild?: boolean;
|
|
154
|
+
}
|
|
155
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region src/components/input.d.ts
|
|
158
|
+
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {}
|
|
159
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
160
|
+
//#endregion
|
|
161
|
+
//#region src/components/textarea.d.ts
|
|
162
|
+
interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {}
|
|
163
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
164
|
+
//#endregion
|
|
165
|
+
//#region src/components/label.d.ts
|
|
166
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<Label$1.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types0.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
167
|
+
//#endregion
|
|
168
|
+
//#region src/components/select.d.ts
|
|
169
|
+
declare const Select: React$1.FC<Select$1.SelectProps>;
|
|
170
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<Select$1.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
171
|
+
declare const SelectValue: React$1.ForwardRefExoticComponent<Select$1.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
172
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<Select$1.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
173
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<Select$1.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
174
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<Select$1.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
175
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<Select$1.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
176
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<Select$1.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region src/components/checkbox.d.ts
|
|
179
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Checkbox$1.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
180
|
+
//#endregion
|
|
181
|
+
//#region src/components/radio-group.d.ts
|
|
182
|
+
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroup$1.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
183
|
+
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroup$1.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
184
|
+
//#endregion
|
|
185
|
+
//#region src/components/switch.d.ts
|
|
186
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<Switch$1.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
187
|
+
//#endregion
|
|
188
|
+
//#region src/components/slider.d.ts
|
|
189
|
+
declare const Slider: React$1.ForwardRefExoticComponent<Omit<Slider$1.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
190
|
+
//#endregion
|
|
191
|
+
//#region src/components/card.d.ts
|
|
192
|
+
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
193
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
194
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
195
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
196
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
197
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
198
|
+
//#endregion
|
|
199
|
+
//#region src/components/badge.d.ts
|
|
200
|
+
declare const badgeVariants: (props?: ({
|
|
201
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
202
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
203
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {}
|
|
204
|
+
declare function Badge({
|
|
205
|
+
className,
|
|
206
|
+
variant,
|
|
207
|
+
...props
|
|
208
|
+
}: BadgeProps): react_jsx_runtime0.JSX.Element;
|
|
209
|
+
//#endregion
|
|
210
|
+
//#region src/components/avatar.d.ts
|
|
211
|
+
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<Avatar$1.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
212
|
+
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<Avatar$1.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
213
|
+
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<Avatar$1.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
214
|
+
//#endregion
|
|
215
|
+
//#region src/components/separator.d.ts
|
|
216
|
+
declare const Separator: React$1.ForwardRefExoticComponent<Omit<Separator$1.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
217
|
+
//#endregion
|
|
218
|
+
//#region src/components/dialog.d.ts
|
|
219
|
+
declare const Dialog: React$1.FC<Dialog$1.DialogProps>;
|
|
220
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<Dialog$1.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
221
|
+
declare const DialogPortal: React$1.FC<Dialog$1.DialogPortalProps>;
|
|
222
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<Dialog$1.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
223
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<Dialog$1.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
224
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<Dialog$1.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
225
|
+
declare const DialogHeader: {
|
|
226
|
+
({
|
|
227
|
+
className,
|
|
228
|
+
...props
|
|
229
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime0.JSX.Element;
|
|
230
|
+
displayName: string;
|
|
231
|
+
};
|
|
232
|
+
declare const DialogFooter: {
|
|
233
|
+
({
|
|
234
|
+
className,
|
|
235
|
+
...props
|
|
236
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime0.JSX.Element;
|
|
237
|
+
displayName: string;
|
|
238
|
+
};
|
|
239
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<Dialog$1.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
240
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<Dialog$1.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region src/components/alert-dialog.d.ts
|
|
243
|
+
declare const AlertDialog: React$1.FC<AlertDialog$1.AlertDialogProps>;
|
|
244
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialog$1.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
245
|
+
declare const AlertDialogPortal: React$1.FC<AlertDialog$1.AlertDialogPortalProps>;
|
|
246
|
+
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
247
|
+
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
248
|
+
declare const AlertDialogHeader: ({
|
|
249
|
+
className,
|
|
250
|
+
...props
|
|
251
|
+
}: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime0.JSX.Element;
|
|
252
|
+
declare const AlertDialogFooter: ({
|
|
253
|
+
className,
|
|
254
|
+
...props
|
|
255
|
+
}: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime0.JSX.Element;
|
|
256
|
+
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
257
|
+
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
258
|
+
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
259
|
+
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialog$1.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
260
|
+
//#endregion
|
|
261
|
+
//#region src/components/sheet.d.ts
|
|
262
|
+
declare const Sheet: React$1.FC<Dialog$1.DialogProps>;
|
|
263
|
+
declare const SheetTrigger: React$1.ForwardRefExoticComponent<Dialog$1.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
264
|
+
declare const SheetClose: React$1.ForwardRefExoticComponent<Dialog$1.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
265
|
+
declare const SheetPortal: React$1.FC<Dialog$1.DialogPortalProps>;
|
|
266
|
+
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<Dialog$1.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
267
|
+
declare const sheetVariants: (props?: ({
|
|
268
|
+
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
269
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
270
|
+
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof Dialog$1.Content>, VariantProps<typeof sheetVariants> {}
|
|
271
|
+
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
272
|
+
declare const SheetHeader: ({
|
|
273
|
+
className,
|
|
274
|
+
...props
|
|
275
|
+
}: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime0.JSX.Element;
|
|
276
|
+
declare const SheetFooter: ({
|
|
277
|
+
className,
|
|
278
|
+
...props
|
|
279
|
+
}: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime0.JSX.Element;
|
|
280
|
+
declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<Dialog$1.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
281
|
+
declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<Dialog$1.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
282
|
+
//#endregion
|
|
283
|
+
//#region src/components/popover.d.ts
|
|
284
|
+
declare const Popover: React$1.FC<Popover$1.PopoverProps>;
|
|
285
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<Popover$1.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
286
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<Popover$1.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
287
|
+
//#endregion
|
|
288
|
+
//#region src/components/dropdown-menu.d.ts
|
|
289
|
+
declare const DropdownMenu: React$1.FC<DropdownMenu$1.DropdownMenuProps>;
|
|
290
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenu$1.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
291
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenu$1.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
292
|
+
declare const DropdownMenuPortal: React$1.FC<DropdownMenu$1.DropdownMenuPortalProps>;
|
|
293
|
+
declare const DropdownMenuSub: React$1.FC<DropdownMenu$1.DropdownMenuSubProps>;
|
|
294
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenu$1.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
295
|
+
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
296
|
+
inset?: boolean;
|
|
297
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
298
|
+
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
299
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
300
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
301
|
+
inset?: boolean;
|
|
302
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
303
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
304
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
305
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
306
|
+
inset?: boolean;
|
|
307
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
308
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenu$1.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
309
|
+
declare const DropdownMenuShortcut: ({
|
|
310
|
+
className,
|
|
311
|
+
...props
|
|
312
|
+
}: React$1.HTMLAttributes<HTMLSpanElement>) => react_jsx_runtime0.JSX.Element;
|
|
313
|
+
//#endregion
|
|
314
|
+
//#region src/components/tooltip.d.ts
|
|
315
|
+
declare const TooltipProvider: React$1.FC<Tooltip$1.TooltipProviderProps>;
|
|
316
|
+
declare const Tooltip: React$1.FC<Tooltip$1.TooltipProps>;
|
|
317
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Tooltip$1.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
318
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<Tooltip$1.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
319
|
+
//#endregion
|
|
320
|
+
//#region src/components/toast.d.ts
|
|
321
|
+
interface ToasterProps {
|
|
322
|
+
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-center" | "bottom-center";
|
|
323
|
+
richColors?: boolean;
|
|
324
|
+
closeButton?: boolean;
|
|
325
|
+
className?: string;
|
|
326
|
+
}
|
|
327
|
+
declare function Toaster({
|
|
328
|
+
position,
|
|
329
|
+
richColors,
|
|
330
|
+
closeButton,
|
|
331
|
+
...props
|
|
332
|
+
}: ToasterProps): react_jsx_runtime0.JSX.Element;
|
|
333
|
+
//#endregion
|
|
334
|
+
//#region src/components/tabs.d.ts
|
|
335
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<Tabs$1.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
336
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<Tabs$1.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
337
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<Tabs$1.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
338
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<Tabs$1.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
339
|
+
//#endregion
|
|
340
|
+
//#region src/components/accordion.d.ts
|
|
341
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(Accordion$1.AccordionSingleProps | Accordion$1.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
342
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<Accordion$1.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
343
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<Accordion$1.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
344
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<Accordion$1.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
345
|
+
//#endregion
|
|
346
|
+
//#region src/components/table.d.ts
|
|
347
|
+
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
348
|
+
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
349
|
+
declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
350
|
+
declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
351
|
+
declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
352
|
+
declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
353
|
+
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
354
|
+
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
355
|
+
//#endregion
|
|
356
|
+
//#region src/components/progress.d.ts
|
|
357
|
+
declare const Progress: React$1.ForwardRefExoticComponent<Omit<Progress$1.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
358
|
+
//#endregion
|
|
359
|
+
//#region src/components/scroll-area.d.ts
|
|
360
|
+
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollArea$1.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
361
|
+
declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollArea$1.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
362
|
+
//#endregion
|
|
363
|
+
//#region src/components/skeleton.d.ts
|
|
364
|
+
declare function Skeleton({
|
|
365
|
+
className,
|
|
366
|
+
...props
|
|
367
|
+
}: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime0.JSX.Element;
|
|
368
|
+
//#endregion
|
|
369
|
+
//#region src/components/spinner.d.ts
|
|
370
|
+
declare const spinnerVariants: (props?: ({
|
|
371
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
372
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
373
|
+
interface SpinnerProps extends React$1.HTMLAttributes<SVGSVGElement>, VariantProps<typeof spinnerVariants> {}
|
|
374
|
+
declare function Spinner({
|
|
375
|
+
className,
|
|
376
|
+
size,
|
|
377
|
+
...props
|
|
378
|
+
}: SpinnerProps): react_jsx_runtime0.JSX.Element;
|
|
379
|
+
//#endregion
|
|
380
|
+
//#region src/components/context-menu.d.ts
|
|
381
|
+
declare const ContextMenu: React$1.FC<ContextMenu$1.ContextMenuProps>;
|
|
382
|
+
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenu$1.ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
383
|
+
declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<ContextMenu$1.ContextMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
384
|
+
declare const ContextMenuPortal: React$1.FC<ContextMenu$1.ContextMenuPortalProps>;
|
|
385
|
+
declare const ContextMenuSub: React$1.FC<ContextMenu$1.ContextMenuSubProps>;
|
|
386
|
+
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<ContextMenu$1.ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
387
|
+
declare const ContextMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<ContextMenu$1.ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
388
|
+
inset?: boolean;
|
|
389
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
390
|
+
declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent<Omit<ContextMenu$1.ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
391
|
+
declare const ContextMenuContent: React$1.ForwardRefExoticComponent<Omit<ContextMenu$1.ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
392
|
+
declare const ContextMenuItem: React$1.ForwardRefExoticComponent<Omit<ContextMenu$1.ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
393
|
+
inset?: boolean;
|
|
394
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
395
|
+
declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<ContextMenu$1.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
396
|
+
declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<ContextMenu$1.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
397
|
+
declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<Omit<ContextMenu$1.ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
398
|
+
inset?: boolean;
|
|
399
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
400
|
+
declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<Omit<ContextMenu$1.ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
401
|
+
declare const ContextMenuShortcut: ({
|
|
402
|
+
className,
|
|
403
|
+
...props
|
|
404
|
+
}: React$1.HTMLAttributes<HTMLSpanElement>) => react_jsx_runtime0.JSX.Element;
|
|
405
|
+
//#endregion
|
|
406
|
+
//#region src/components/navigation-menu.d.ts
|
|
407
|
+
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenu$1.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
408
|
+
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenu$1.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
409
|
+
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenu$1.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
410
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types0.ClassProp | undefined) => string;
|
|
411
|
+
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenu$1.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
412
|
+
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenu$1.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
413
|
+
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenu$1.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
414
|
+
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenu$1.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
415
|
+
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenu$1.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
416
|
+
//#endregion
|
|
417
|
+
//#region src/components/breadcrumb.d.ts
|
|
418
|
+
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
419
|
+
separator?: React$1.ReactNode;
|
|
420
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
421
|
+
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
422
|
+
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
423
|
+
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
424
|
+
asChild?: boolean;
|
|
425
|
+
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
426
|
+
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
427
|
+
declare const BreadcrumbSeparator: {
|
|
428
|
+
({
|
|
429
|
+
children,
|
|
430
|
+
className,
|
|
431
|
+
...props
|
|
432
|
+
}: React$1.ComponentProps<"li">): react_jsx_runtime0.JSX.Element;
|
|
433
|
+
displayName: string;
|
|
434
|
+
};
|
|
435
|
+
declare const BreadcrumbEllipsis: {
|
|
436
|
+
({
|
|
437
|
+
className,
|
|
438
|
+
...props
|
|
439
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime0.JSX.Element;
|
|
440
|
+
displayName: string;
|
|
441
|
+
};
|
|
442
|
+
//#endregion
|
|
443
|
+
//#region src/components/pagination.d.ts
|
|
444
|
+
declare const Pagination: {
|
|
445
|
+
({
|
|
446
|
+
className,
|
|
447
|
+
...props
|
|
448
|
+
}: React$1.ComponentProps<"nav">): react_jsx_runtime0.JSX.Element;
|
|
449
|
+
displayName: string;
|
|
450
|
+
};
|
|
451
|
+
declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
452
|
+
declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
453
|
+
type PaginationLinkProps = {
|
|
454
|
+
isActive?: boolean;
|
|
455
|
+
} & Pick<ButtonProps, "size"> & React$1.ComponentProps<"a">;
|
|
456
|
+
declare const PaginationLink: {
|
|
457
|
+
({
|
|
458
|
+
className,
|
|
459
|
+
isActive,
|
|
460
|
+
size,
|
|
461
|
+
...props
|
|
462
|
+
}: PaginationLinkProps): react_jsx_runtime0.JSX.Element;
|
|
463
|
+
displayName: string;
|
|
464
|
+
};
|
|
465
|
+
declare const PaginationPrevious: {
|
|
466
|
+
({
|
|
467
|
+
className,
|
|
468
|
+
...props
|
|
469
|
+
}: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime0.JSX.Element;
|
|
470
|
+
displayName: string;
|
|
471
|
+
};
|
|
472
|
+
declare const PaginationNext: {
|
|
473
|
+
({
|
|
474
|
+
className,
|
|
475
|
+
...props
|
|
476
|
+
}: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime0.JSX.Element;
|
|
477
|
+
displayName: string;
|
|
478
|
+
};
|
|
479
|
+
declare const PaginationEllipsis: {
|
|
480
|
+
({
|
|
481
|
+
className,
|
|
482
|
+
...props
|
|
483
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime0.JSX.Element;
|
|
484
|
+
displayName: string;
|
|
485
|
+
};
|
|
486
|
+
//#endregion
|
|
487
|
+
//#region src/components/command.d.ts
|
|
488
|
+
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
489
|
+
children?: React$1.ReactNode;
|
|
490
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
491
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
492
|
+
} & {
|
|
493
|
+
asChild?: boolean;
|
|
494
|
+
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
495
|
+
label?: string;
|
|
496
|
+
shouldFilter?: boolean;
|
|
497
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
498
|
+
defaultValue?: string;
|
|
499
|
+
value?: string;
|
|
500
|
+
onValueChange?: (value: string) => void;
|
|
501
|
+
loop?: boolean;
|
|
502
|
+
disablePointerSelection?: boolean;
|
|
503
|
+
vimBindings?: boolean;
|
|
504
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
505
|
+
interface CommandDialogProps extends React$1.ComponentPropsWithoutRef<typeof Dialog> {}
|
|
506
|
+
declare const CommandDialog: ({
|
|
507
|
+
children,
|
|
508
|
+
...props
|
|
509
|
+
}: CommandDialogProps) => react_jsx_runtime0.JSX.Element;
|
|
510
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
|
|
511
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
512
|
+
} & {
|
|
513
|
+
asChild?: boolean;
|
|
514
|
+
}, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "type" | "value"> & {
|
|
515
|
+
value?: string;
|
|
516
|
+
onValueChange?: (search: string) => void;
|
|
517
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
518
|
+
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
519
|
+
children?: React$1.ReactNode;
|
|
520
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
521
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
522
|
+
} & {
|
|
523
|
+
asChild?: boolean;
|
|
524
|
+
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
525
|
+
label?: string;
|
|
526
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
527
|
+
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
528
|
+
children?: React$1.ReactNode;
|
|
529
|
+
} & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
530
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
531
|
+
} & {
|
|
532
|
+
asChild?: boolean;
|
|
533
|
+
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
534
|
+
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
535
|
+
children?: React$1.ReactNode;
|
|
536
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
537
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
538
|
+
} & {
|
|
539
|
+
asChild?: boolean;
|
|
540
|
+
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
541
|
+
heading?: React$1.ReactNode;
|
|
542
|
+
value?: string;
|
|
543
|
+
forceMount?: boolean;
|
|
544
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
545
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
546
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
547
|
+
} & {
|
|
548
|
+
asChild?: boolean;
|
|
549
|
+
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
550
|
+
alwaysRender?: boolean;
|
|
551
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
552
|
+
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
553
|
+
children?: React$1.ReactNode;
|
|
554
|
+
} & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
|
|
555
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
556
|
+
} & {
|
|
557
|
+
asChild?: boolean;
|
|
558
|
+
}, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
|
|
559
|
+
disabled?: boolean;
|
|
560
|
+
onSelect?: (value: string) => void;
|
|
561
|
+
value?: string;
|
|
562
|
+
keywords?: string[];
|
|
563
|
+
forceMount?: boolean;
|
|
564
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
565
|
+
declare const CommandShortcut: ({
|
|
566
|
+
className,
|
|
567
|
+
...props
|
|
568
|
+
}: React$1.HTMLAttributes<HTMLSpanElement>) => react_jsx_runtime0.JSX.Element;
|
|
569
|
+
//#endregion
|
|
570
|
+
//#region src/components/aspect-ratio.d.ts
|
|
571
|
+
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatio$1.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
572
|
+
//#endregion
|
|
573
|
+
//#region src/blocks/auth/social-providers.d.ts
|
|
574
|
+
type SocialProvider = "google" | "github" | "apple";
|
|
575
|
+
interface SocialProvidersProps {
|
|
576
|
+
providers: SocialProvider[];
|
|
577
|
+
onSocialLogin: (provider: SocialProvider) => void;
|
|
578
|
+
loading?: boolean;
|
|
579
|
+
disabled?: boolean;
|
|
580
|
+
className?: string;
|
|
581
|
+
}
|
|
582
|
+
declare function SocialProviders({
|
|
583
|
+
providers,
|
|
584
|
+
onSocialLogin,
|
|
585
|
+
loading,
|
|
586
|
+
disabled,
|
|
587
|
+
className
|
|
588
|
+
}: SocialProvidersProps): react_jsx_runtime0.JSX.Element;
|
|
589
|
+
//#endregion
|
|
590
|
+
//#region src/blocks/auth/sign-in-block.d.ts
|
|
591
|
+
interface SignInBlockProps {
|
|
592
|
+
onSubmit: (data: {
|
|
593
|
+
email: string;
|
|
594
|
+
password: string;
|
|
595
|
+
rememberMe: boolean;
|
|
596
|
+
}) => void | Promise<void>;
|
|
597
|
+
onForgotPassword?: () => void;
|
|
598
|
+
onSocialLogin?: (provider: SocialProvider) => void;
|
|
599
|
+
socialProviders?: SocialProvider[];
|
|
600
|
+
loading?: boolean;
|
|
601
|
+
error?: string;
|
|
602
|
+
disabled?: boolean;
|
|
603
|
+
title?: string;
|
|
604
|
+
description?: string;
|
|
605
|
+
signUpHref?: string;
|
|
606
|
+
onSignUp?: () => void;
|
|
607
|
+
className?: string;
|
|
608
|
+
}
|
|
609
|
+
declare function SignInBlock({
|
|
610
|
+
onSubmit,
|
|
611
|
+
onForgotPassword,
|
|
612
|
+
onSocialLogin,
|
|
613
|
+
socialProviders,
|
|
614
|
+
loading,
|
|
615
|
+
error,
|
|
616
|
+
disabled,
|
|
617
|
+
title,
|
|
618
|
+
description,
|
|
619
|
+
signUpHref,
|
|
620
|
+
onSignUp,
|
|
621
|
+
className
|
|
622
|
+
}: SignInBlockProps): react_jsx_runtime0.JSX.Element;
|
|
623
|
+
//#endregion
|
|
624
|
+
//#region src/blocks/auth/sign-up-block.d.ts
|
|
625
|
+
interface SignUpBlockProps {
|
|
626
|
+
onSubmit: (data: {
|
|
627
|
+
name: string;
|
|
628
|
+
email: string;
|
|
629
|
+
password: string;
|
|
630
|
+
confirmPassword: string;
|
|
631
|
+
termsAccepted: boolean;
|
|
632
|
+
}) => void | Promise<void>;
|
|
633
|
+
onSocialLogin?: (provider: SocialProvider) => void;
|
|
634
|
+
socialProviders?: SocialProvider[];
|
|
635
|
+
loading?: boolean;
|
|
636
|
+
error?: string;
|
|
637
|
+
disabled?: boolean;
|
|
638
|
+
title?: string;
|
|
639
|
+
description?: string;
|
|
640
|
+
signInHref?: string;
|
|
641
|
+
onSignIn?: () => void;
|
|
642
|
+
termsHref?: string;
|
|
643
|
+
privacyHref?: string;
|
|
644
|
+
className?: string;
|
|
645
|
+
}
|
|
646
|
+
declare function SignUpBlock({
|
|
647
|
+
onSubmit,
|
|
648
|
+
onSocialLogin,
|
|
649
|
+
socialProviders,
|
|
650
|
+
loading,
|
|
651
|
+
error,
|
|
652
|
+
disabled,
|
|
653
|
+
title,
|
|
654
|
+
description,
|
|
655
|
+
signInHref,
|
|
656
|
+
onSignIn,
|
|
657
|
+
termsHref,
|
|
658
|
+
privacyHref,
|
|
659
|
+
className
|
|
660
|
+
}: SignUpBlockProps): react_jsx_runtime0.JSX.Element;
|
|
661
|
+
//#endregion
|
|
662
|
+
//#region src/blocks/auth/forgot-password-block.d.ts
|
|
663
|
+
interface ForgotPasswordBlockProps {
|
|
664
|
+
onSubmit: (data: {
|
|
665
|
+
email: string;
|
|
666
|
+
}) => void | Promise<void>;
|
|
667
|
+
onBack?: () => void;
|
|
668
|
+
loading?: boolean;
|
|
669
|
+
error?: string;
|
|
670
|
+
disabled?: boolean;
|
|
671
|
+
success?: boolean;
|
|
672
|
+
title?: string;
|
|
673
|
+
description?: string;
|
|
674
|
+
className?: string;
|
|
675
|
+
}
|
|
676
|
+
declare function ForgotPasswordBlock({
|
|
677
|
+
onSubmit,
|
|
678
|
+
onBack,
|
|
679
|
+
loading,
|
|
680
|
+
error,
|
|
681
|
+
disabled,
|
|
682
|
+
success,
|
|
683
|
+
title,
|
|
684
|
+
description,
|
|
685
|
+
className
|
|
686
|
+
}: ForgotPasswordBlockProps): react_jsx_runtime0.JSX.Element;
|
|
687
|
+
//#endregion
|
|
688
|
+
//#region src/blocks/auth/reset-password-block.d.ts
|
|
689
|
+
interface ResetPasswordBlockProps {
|
|
690
|
+
onSubmit: (data: {
|
|
691
|
+
password: string;
|
|
692
|
+
confirmPassword: string;
|
|
693
|
+
}) => void | Promise<void>;
|
|
694
|
+
loading?: boolean;
|
|
695
|
+
error?: string;
|
|
696
|
+
disabled?: boolean;
|
|
697
|
+
title?: string;
|
|
698
|
+
description?: string;
|
|
699
|
+
className?: string;
|
|
700
|
+
}
|
|
701
|
+
declare function ResetPasswordBlock({
|
|
702
|
+
onSubmit,
|
|
703
|
+
loading,
|
|
704
|
+
error,
|
|
705
|
+
disabled,
|
|
706
|
+
title,
|
|
707
|
+
description,
|
|
708
|
+
className
|
|
709
|
+
}: ResetPasswordBlockProps): react_jsx_runtime0.JSX.Element;
|
|
710
|
+
//#endregion
|
|
711
|
+
//#region src/blocks/auth/verify-block.d.ts
|
|
712
|
+
interface VerifyBlockProps {
|
|
713
|
+
onVerify: (code: string) => void | Promise<void>;
|
|
714
|
+
onResend?: () => void | Promise<void>;
|
|
715
|
+
codeLength?: number;
|
|
716
|
+
loading?: boolean;
|
|
717
|
+
error?: string;
|
|
718
|
+
disabled?: boolean;
|
|
719
|
+
title?: string;
|
|
720
|
+
description?: string;
|
|
721
|
+
resendCooldown?: number;
|
|
722
|
+
className?: string;
|
|
723
|
+
}
|
|
724
|
+
declare function VerifyBlock({
|
|
725
|
+
onVerify,
|
|
726
|
+
onResend,
|
|
727
|
+
codeLength,
|
|
728
|
+
loading,
|
|
729
|
+
error,
|
|
730
|
+
disabled,
|
|
731
|
+
title,
|
|
732
|
+
description,
|
|
733
|
+
resendCooldown,
|
|
734
|
+
className
|
|
735
|
+
}: VerifyBlockProps): react_jsx_runtime0.JSX.Element;
|
|
736
|
+
//#endregion
|
|
737
|
+
//#region src/blocks/error/not-found-block.d.ts
|
|
738
|
+
interface NotFoundBlockProps {
|
|
739
|
+
title?: string;
|
|
740
|
+
message?: string;
|
|
741
|
+
homeHref?: string;
|
|
742
|
+
onGoHome?: () => void;
|
|
743
|
+
className?: string;
|
|
744
|
+
}
|
|
745
|
+
declare function NotFoundBlock({
|
|
746
|
+
title,
|
|
747
|
+
message,
|
|
748
|
+
homeHref,
|
|
749
|
+
onGoHome,
|
|
750
|
+
className
|
|
751
|
+
}: NotFoundBlockProps): react_jsx_runtime0.JSX.Element;
|
|
752
|
+
//#endregion
|
|
753
|
+
//#region src/blocks/error/server-error-block.d.ts
|
|
754
|
+
interface ServerErrorBlockProps {
|
|
755
|
+
title?: string;
|
|
756
|
+
message?: string;
|
|
757
|
+
onRetry?: () => void;
|
|
758
|
+
homeHref?: string;
|
|
759
|
+
onGoHome?: () => void;
|
|
760
|
+
className?: string;
|
|
761
|
+
}
|
|
762
|
+
declare function ServerErrorBlock({
|
|
763
|
+
title,
|
|
764
|
+
message,
|
|
765
|
+
onRetry,
|
|
766
|
+
homeHref,
|
|
767
|
+
onGoHome,
|
|
768
|
+
className
|
|
769
|
+
}: ServerErrorBlockProps): react_jsx_runtime0.JSX.Element;
|
|
770
|
+
//#endregion
|
|
771
|
+
//#region src/blocks/error/maintenance-block.d.ts
|
|
772
|
+
interface MaintenanceBlockProps {
|
|
773
|
+
title?: string;
|
|
774
|
+
message?: string;
|
|
775
|
+
estimatedReturn?: string;
|
|
776
|
+
className?: string;
|
|
777
|
+
}
|
|
778
|
+
declare function MaintenanceBlock({
|
|
779
|
+
title,
|
|
780
|
+
message,
|
|
781
|
+
estimatedReturn,
|
|
782
|
+
className
|
|
783
|
+
}: MaintenanceBlockProps): react_jsx_runtime0.JSX.Element;
|
|
784
|
+
//#endregion
|
|
785
|
+
//#region src/blocks/error/empty-state-block.d.ts
|
|
786
|
+
interface EmptyStateBlockProps {
|
|
787
|
+
icon?: LucideIcon;
|
|
788
|
+
title?: string;
|
|
789
|
+
description?: string;
|
|
790
|
+
actionLabel?: string;
|
|
791
|
+
onAction?: () => void;
|
|
792
|
+
className?: string;
|
|
793
|
+
}
|
|
794
|
+
declare function EmptyStateBlock({
|
|
795
|
+
icon: Icon,
|
|
796
|
+
title,
|
|
797
|
+
description,
|
|
798
|
+
actionLabel,
|
|
799
|
+
onAction,
|
|
800
|
+
className
|
|
801
|
+
}: EmptyStateBlockProps): react_jsx_runtime0.JSX.Element;
|
|
802
|
+
//#endregion
|
|
803
|
+
//#region src/blocks/layout/page-shell.d.ts
|
|
804
|
+
interface PageShellProps {
|
|
805
|
+
children: React$1.ReactNode;
|
|
806
|
+
sidebar?: React$1.ReactNode;
|
|
807
|
+
header?: React$1.ReactNode;
|
|
808
|
+
footer?: React$1.ReactNode;
|
|
809
|
+
sidebarWidth?: string;
|
|
810
|
+
sidebarCollapsed?: boolean;
|
|
811
|
+
className?: string;
|
|
812
|
+
}
|
|
813
|
+
declare function PageShell({
|
|
814
|
+
children,
|
|
815
|
+
sidebar,
|
|
816
|
+
header,
|
|
817
|
+
footer,
|
|
818
|
+
sidebarWidth,
|
|
819
|
+
sidebarCollapsed,
|
|
820
|
+
className
|
|
821
|
+
}: PageShellProps): react_jsx_runtime0.JSX.Element;
|
|
822
|
+
//#endregion
|
|
823
|
+
//#region src/blocks/layout/header-block.d.ts
|
|
824
|
+
interface HeaderBlockProps {
|
|
825
|
+
logo?: React$1.ReactNode;
|
|
826
|
+
nav?: React$1.ReactNode;
|
|
827
|
+
actions?: React$1.ReactNode;
|
|
828
|
+
onMenuToggle?: () => void;
|
|
829
|
+
sticky?: boolean;
|
|
830
|
+
className?: string;
|
|
831
|
+
}
|
|
832
|
+
declare function HeaderBlock({
|
|
833
|
+
logo,
|
|
834
|
+
nav,
|
|
835
|
+
actions,
|
|
836
|
+
onMenuToggle,
|
|
837
|
+
sticky,
|
|
838
|
+
className
|
|
839
|
+
}: HeaderBlockProps): react_jsx_runtime0.JSX.Element;
|
|
840
|
+
//#endregion
|
|
841
|
+
//#region src/blocks/layout/sidebar-block.d.ts
|
|
842
|
+
interface SidebarItem {
|
|
843
|
+
label: string;
|
|
844
|
+
href?: string;
|
|
845
|
+
icon?: React$1.ReactNode;
|
|
846
|
+
active?: boolean;
|
|
847
|
+
onClick?: () => void;
|
|
848
|
+
children?: SidebarItem[];
|
|
849
|
+
}
|
|
850
|
+
interface SidebarSection {
|
|
851
|
+
title?: string;
|
|
852
|
+
items: SidebarItem[];
|
|
853
|
+
}
|
|
854
|
+
interface SidebarBlockProps {
|
|
855
|
+
sections: SidebarSection[];
|
|
856
|
+
header?: React$1.ReactNode;
|
|
857
|
+
footer?: React$1.ReactNode;
|
|
858
|
+
collapsed?: boolean;
|
|
859
|
+
className?: string;
|
|
860
|
+
}
|
|
861
|
+
declare function SidebarBlock({
|
|
862
|
+
sections,
|
|
863
|
+
header,
|
|
864
|
+
footer,
|
|
865
|
+
collapsed,
|
|
866
|
+
className
|
|
867
|
+
}: SidebarBlockProps): react_jsx_runtime0.JSX.Element;
|
|
868
|
+
//#endregion
|
|
869
|
+
//#region src/blocks/layout/footer-block.d.ts
|
|
870
|
+
interface FooterLink {
|
|
871
|
+
label: string;
|
|
872
|
+
href: string;
|
|
873
|
+
}
|
|
874
|
+
interface FooterBlockProps {
|
|
875
|
+
copyright?: string;
|
|
876
|
+
links?: FooterLink[];
|
|
877
|
+
logo?: React$1.ReactNode;
|
|
878
|
+
className?: string;
|
|
879
|
+
}
|
|
880
|
+
declare function FooterBlock({
|
|
881
|
+
copyright,
|
|
882
|
+
links,
|
|
883
|
+
logo,
|
|
884
|
+
className
|
|
885
|
+
}: FooterBlockProps): react_jsx_runtime0.JSX.Element;
|
|
886
|
+
//#endregion
|
|
887
|
+
//#region src/blocks/settings/profile-settings-block.d.ts
|
|
888
|
+
interface ProfileSettingsData {
|
|
889
|
+
name: string;
|
|
890
|
+
email: string;
|
|
891
|
+
bio?: string;
|
|
892
|
+
avatarUrl?: string;
|
|
893
|
+
}
|
|
894
|
+
interface ProfileSettingsBlockProps {
|
|
895
|
+
initialData: ProfileSettingsData;
|
|
896
|
+
onSave: (data: ProfileSettingsData) => void | Promise<void>;
|
|
897
|
+
onAvatarChange?: (file: File) => void | Promise<void>;
|
|
898
|
+
loading?: boolean;
|
|
899
|
+
error?: string;
|
|
900
|
+
disabled?: boolean;
|
|
901
|
+
className?: string;
|
|
902
|
+
}
|
|
903
|
+
declare function ProfileSettingsBlock({
|
|
904
|
+
initialData,
|
|
905
|
+
onSave,
|
|
906
|
+
onAvatarChange,
|
|
907
|
+
loading,
|
|
908
|
+
error,
|
|
909
|
+
disabled,
|
|
910
|
+
className
|
|
911
|
+
}: ProfileSettingsBlockProps): react_jsx_runtime0.JSX.Element;
|
|
912
|
+
//#endregion
|
|
913
|
+
//#region src/blocks/settings/account-settings-block.d.ts
|
|
914
|
+
interface AccountSettingsBlockProps {
|
|
915
|
+
onChangePassword: (data: {
|
|
916
|
+
currentPassword: string;
|
|
917
|
+
newPassword: string;
|
|
918
|
+
confirmPassword: string;
|
|
919
|
+
}) => void | Promise<void>;
|
|
920
|
+
onDeleteAccount?: () => void | Promise<void>;
|
|
921
|
+
loading?: boolean;
|
|
922
|
+
error?: string;
|
|
923
|
+
disabled?: boolean;
|
|
924
|
+
className?: string;
|
|
925
|
+
}
|
|
926
|
+
declare function AccountSettingsBlock({
|
|
927
|
+
onChangePassword,
|
|
928
|
+
onDeleteAccount,
|
|
929
|
+
loading,
|
|
930
|
+
error,
|
|
931
|
+
disabled,
|
|
932
|
+
className
|
|
933
|
+
}: AccountSettingsBlockProps): react_jsx_runtime0.JSX.Element;
|
|
934
|
+
//#endregion
|
|
935
|
+
//#region src/blocks/settings/notification-settings-block.d.ts
|
|
936
|
+
interface NotificationSetting {
|
|
937
|
+
id: string;
|
|
938
|
+
label: string;
|
|
939
|
+
description: string;
|
|
940
|
+
enabled: boolean;
|
|
941
|
+
}
|
|
942
|
+
interface NotificationGroup {
|
|
943
|
+
title: string;
|
|
944
|
+
description?: string;
|
|
945
|
+
settings: NotificationSetting[];
|
|
946
|
+
}
|
|
947
|
+
interface NotificationSettingsBlockProps {
|
|
948
|
+
groups: NotificationGroup[];
|
|
949
|
+
onSave: (settings: Record<string, boolean>) => void | Promise<void>;
|
|
950
|
+
loading?: boolean;
|
|
951
|
+
error?: string;
|
|
952
|
+
disabled?: boolean;
|
|
953
|
+
className?: string;
|
|
954
|
+
}
|
|
955
|
+
declare function NotificationSettingsBlock({
|
|
956
|
+
groups,
|
|
957
|
+
onSave,
|
|
958
|
+
loading,
|
|
959
|
+
error,
|
|
960
|
+
disabled,
|
|
961
|
+
className
|
|
962
|
+
}: NotificationSettingsBlockProps): react_jsx_runtime0.JSX.Element;
|
|
963
|
+
//#endregion
|
|
964
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountSettingsBlock, type AccountSettingsBlockProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, BisonProvider, type BisonProviderProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DensityProvider, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyStateBlock, FooterBlock, type FooterBlockProps, type FooterLink, ForgotPasswordBlock, Form, FormError, type FormErrorProps, FormField, type FormFieldProps, type FormMode, type FormProps, HeaderBlock, type HeaderBlockProps, Input, type InputProps, Label, MaintenanceBlock, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NotFoundBlock, type NotificationGroup, type NotificationSetting, NotificationSettingsBlock, type NotificationSettingsBlockProps, PageShell, type PageShellProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverTrigger, ProfileSettingsBlock, type ProfileSettingsBlockProps, type ProfileSettingsData, Progress, RadioGroup, RadioGroupItem, ResetPasswordBlock, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ServerErrorBlock, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarBlock, type SidebarBlockProps, type SidebarItem, type SidebarSection, SignInBlock, SignUpBlock, Skeleton, Slider, SocialProviders, Spinner, type SpinnerProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThemeProvider, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VerifyBlock, badgeVariants, buttonVariants, cn, navigationMenuTriggerStyle, spinnerVariants, toast, useDensity, useFormContext, useTheme };
|
|
965
|
+
//# sourceMappingURL=index.d.mts.map
|