mainbase-ui 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +279 -0
- package/dist/index.cjs +6457 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +3747 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.cts +789 -0
- package/dist/index.d.ts +789 -0
- package/dist/index.js +6495 -0
- package/dist/index.js.map +1 -0
- package/package.json +72 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,789 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode, CSSProperties, HTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, PropsWithChildren, ImgHTMLAttributes, ReactElement, MouseEvent, KeyboardEvent, Ref, RefObject, TextareaHTMLAttributes, ElementType } from 'react';
|
|
3
|
+
|
|
4
|
+
type MainbaseColorScheme = "light" | "dark";
|
|
5
|
+
type MainbaseRadius = number | string;
|
|
6
|
+
interface MainbaseColors {
|
|
7
|
+
primary: string;
|
|
8
|
+
primaryHover: string;
|
|
9
|
+
primaryActive: string;
|
|
10
|
+
text: string;
|
|
11
|
+
textSecondary: string;
|
|
12
|
+
textMuted: string;
|
|
13
|
+
background: string;
|
|
14
|
+
backgroundSecondary: string;
|
|
15
|
+
backgroundTertiary: string;
|
|
16
|
+
border: string;
|
|
17
|
+
borderHover: string;
|
|
18
|
+
success: string;
|
|
19
|
+
warning: string;
|
|
20
|
+
danger: string;
|
|
21
|
+
info: string;
|
|
22
|
+
overlay: string;
|
|
23
|
+
}
|
|
24
|
+
interface MainbaseRadii {
|
|
25
|
+
sm: MainbaseRadius;
|
|
26
|
+
md: MainbaseRadius;
|
|
27
|
+
lg: MainbaseRadius;
|
|
28
|
+
xl: MainbaseRadius;
|
|
29
|
+
full: MainbaseRadius;
|
|
30
|
+
}
|
|
31
|
+
interface MainbaseShadows {
|
|
32
|
+
xs: string;
|
|
33
|
+
sm: string;
|
|
34
|
+
md: string;
|
|
35
|
+
lg: string;
|
|
36
|
+
xl: string;
|
|
37
|
+
}
|
|
38
|
+
interface MainbaseSpacing {
|
|
39
|
+
xs: MainbaseRadius;
|
|
40
|
+
sm: MainbaseRadius;
|
|
41
|
+
md: MainbaseRadius;
|
|
42
|
+
lg: MainbaseRadius;
|
|
43
|
+
xl: MainbaseRadius;
|
|
44
|
+
}
|
|
45
|
+
interface MainbaseTypography {
|
|
46
|
+
fontFamily: string;
|
|
47
|
+
fontFamilyMonospace: string;
|
|
48
|
+
fontSizeXs: MainbaseRadius;
|
|
49
|
+
fontSizeSm: MainbaseRadius;
|
|
50
|
+
fontSizeMd: MainbaseRadius;
|
|
51
|
+
fontSizeLg: MainbaseRadius;
|
|
52
|
+
fontSizeXl: MainbaseRadius;
|
|
53
|
+
lineHeight: number | string;
|
|
54
|
+
}
|
|
55
|
+
interface MainbaseTransitions {
|
|
56
|
+
fast: string;
|
|
57
|
+
normal: string;
|
|
58
|
+
slow: string;
|
|
59
|
+
}
|
|
60
|
+
interface MainbaseZIndex {
|
|
61
|
+
dropdown: number;
|
|
62
|
+
sticky: number;
|
|
63
|
+
modal: number;
|
|
64
|
+
toast: number;
|
|
65
|
+
tooltip: number;
|
|
66
|
+
}
|
|
67
|
+
interface MainbaseComponentDefaults {
|
|
68
|
+
Button?: {
|
|
69
|
+
variant?: "primary" | "secondary" | "outline" | "ghost";
|
|
70
|
+
size?: "sm" | "md" | "lg";
|
|
71
|
+
};
|
|
72
|
+
IconButton?: {
|
|
73
|
+
variant?: "primary" | "secondary" | "outline" | "ghost";
|
|
74
|
+
size?: "sm" | "md" | "lg";
|
|
75
|
+
};
|
|
76
|
+
Input?: {
|
|
77
|
+
size?: "sm" | "md" | "lg";
|
|
78
|
+
};
|
|
79
|
+
Select?: {
|
|
80
|
+
size?: "sm" | "md" | "lg";
|
|
81
|
+
};
|
|
82
|
+
Text?: {
|
|
83
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
84
|
+
weight?: "regular" | "medium" | "semibold" | "bold";
|
|
85
|
+
color?: "default" | "muted" | "primary";
|
|
86
|
+
};
|
|
87
|
+
Title?: {
|
|
88
|
+
order?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
89
|
+
weight?: "medium" | "semibold" | "bold";
|
|
90
|
+
};
|
|
91
|
+
Card?: {
|
|
92
|
+
padding?: "sm" | "md" | "lg";
|
|
93
|
+
radius?: "sm" | "md" | "lg";
|
|
94
|
+
shadow?: "none" | "sm" | "md";
|
|
95
|
+
};
|
|
96
|
+
Badge?: {
|
|
97
|
+
variant?: "default" | "primary" | "success" | "warning" | "danger";
|
|
98
|
+
size?: "sm" | "md" | "lg";
|
|
99
|
+
};
|
|
100
|
+
Modal?: {
|
|
101
|
+
size?: "sm" | "md" | "lg";
|
|
102
|
+
closeOnEscape?: boolean;
|
|
103
|
+
closeOnOverlayClick?: boolean;
|
|
104
|
+
withCloseButton?: boolean;
|
|
105
|
+
};
|
|
106
|
+
Toast?: {
|
|
107
|
+
position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
108
|
+
duration?: number;
|
|
109
|
+
maxToasts?: number;
|
|
110
|
+
};
|
|
111
|
+
Tabs?: {
|
|
112
|
+
variant?: "underline" | "pill";
|
|
113
|
+
size?: "sm" | "md" | "lg";
|
|
114
|
+
};
|
|
115
|
+
Accordion?: {
|
|
116
|
+
variant?: "default" | "separated";
|
|
117
|
+
size?: "sm" | "md" | "lg";
|
|
118
|
+
};
|
|
119
|
+
Drawer?: {
|
|
120
|
+
position?: "left" | "right" | "top" | "bottom";
|
|
121
|
+
size?: "sm" | "md" | "lg" | "full";
|
|
122
|
+
closeOnEscape?: boolean;
|
|
123
|
+
closeOnOverlayClick?: boolean;
|
|
124
|
+
withCloseButton?: boolean;
|
|
125
|
+
};
|
|
126
|
+
Divider?: {
|
|
127
|
+
orientation?: "horizontal" | "vertical";
|
|
128
|
+
variant?: "solid" | "dashed" | "dotted";
|
|
129
|
+
labelPosition?: "left" | "center" | "right";
|
|
130
|
+
};
|
|
131
|
+
PasswordInput?: {
|
|
132
|
+
size?: "sm" | "md" | "lg";
|
|
133
|
+
visibilityToggle?: boolean;
|
|
134
|
+
};
|
|
135
|
+
PinInput?: {
|
|
136
|
+
size?: "sm" | "md" | "lg";
|
|
137
|
+
length?: number;
|
|
138
|
+
type?: "number" | "alphanumeric";
|
|
139
|
+
mask?: boolean;
|
|
140
|
+
};
|
|
141
|
+
FileInput?: {
|
|
142
|
+
size?: "sm" | "md" | "lg";
|
|
143
|
+
multiple?: boolean;
|
|
144
|
+
maxSize?: number;
|
|
145
|
+
};
|
|
146
|
+
Pagination?: {
|
|
147
|
+
size?: "sm" | "md" | "lg";
|
|
148
|
+
variant?: "default" | "filled";
|
|
149
|
+
siblings?: number;
|
|
150
|
+
boundaries?: number;
|
|
151
|
+
withEdges?: boolean;
|
|
152
|
+
withControls?: boolean;
|
|
153
|
+
};
|
|
154
|
+
DatePicker?: {
|
|
155
|
+
size?: "sm" | "md" | "lg";
|
|
156
|
+
firstDayOfWeek?: 0 | 1;
|
|
157
|
+
clearable?: boolean;
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
interface MainbaseTheme {
|
|
161
|
+
colorScheme: MainbaseColorScheme;
|
|
162
|
+
colors: MainbaseColors;
|
|
163
|
+
radii: MainbaseRadii;
|
|
164
|
+
shadows: MainbaseShadows;
|
|
165
|
+
spacing: MainbaseSpacing;
|
|
166
|
+
typography: MainbaseTypography;
|
|
167
|
+
transitions: MainbaseTransitions;
|
|
168
|
+
zIndex: MainbaseZIndex;
|
|
169
|
+
focusRingWidth: MainbaseRadius;
|
|
170
|
+
components: MainbaseComponentDefaults;
|
|
171
|
+
}
|
|
172
|
+
type MainbaseThemeOverride = {
|
|
173
|
+
colorScheme?: MainbaseColorScheme;
|
|
174
|
+
colors?: Partial<MainbaseColors>;
|
|
175
|
+
radii?: Partial<MainbaseRadii>;
|
|
176
|
+
shadows?: Partial<MainbaseShadows>;
|
|
177
|
+
spacing?: Partial<MainbaseSpacing>;
|
|
178
|
+
typography?: Partial<MainbaseTypography>;
|
|
179
|
+
transitions?: Partial<MainbaseTransitions>;
|
|
180
|
+
zIndex?: Partial<MainbaseZIndex>;
|
|
181
|
+
focusRingWidth?: MainbaseRadius;
|
|
182
|
+
components?: MainbaseComponentDefaults;
|
|
183
|
+
};
|
|
184
|
+
interface MainbaseProviderProps {
|
|
185
|
+
children: ReactNode;
|
|
186
|
+
theme?: MainbaseThemeOverride;
|
|
187
|
+
className?: string;
|
|
188
|
+
style?: CSSProperties;
|
|
189
|
+
asChild?: boolean;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
declare function MainbaseProvider({ children, theme, className, style, }: MainbaseProviderProps): react.JSX.Element;
|
|
193
|
+
|
|
194
|
+
declare function useMainbaseTheme(): MainbaseTheme;
|
|
195
|
+
|
|
196
|
+
declare function useComponentDefaults<T extends keyof MainbaseComponentDefaults>(component: T): NonNullable<MainbaseComponentDefaults[T]>;
|
|
197
|
+
|
|
198
|
+
declare const defaultMainbaseTheme: MainbaseTheme;
|
|
199
|
+
|
|
200
|
+
declare const MainbasePortalContext: react.Context<HTMLElement | null>;
|
|
201
|
+
|
|
202
|
+
interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
203
|
+
variant?: "info" | "success" | "warning" | "danger";
|
|
204
|
+
title?: ReactNode;
|
|
205
|
+
leftSection?: ReactNode;
|
|
206
|
+
action?: ReactNode;
|
|
207
|
+
}
|
|
208
|
+
declare function Alert({ variant, title, leftSection, action, className, children, ...props }: AlertProps): react.JSX.Element;
|
|
209
|
+
|
|
210
|
+
interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
211
|
+
variant?: "default" | "primary" | "success" | "warning" | "danger";
|
|
212
|
+
size?: "sm" | "md" | "lg";
|
|
213
|
+
leftSection?: ReactNode;
|
|
214
|
+
rightSection?: ReactNode;
|
|
215
|
+
}
|
|
216
|
+
declare function Badge({ variant, size, leftSection, rightSection, className, children, ...props }: BadgeProps): react.JSX.Element;
|
|
217
|
+
|
|
218
|
+
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
219
|
+
variant?: "primary" | "secondary" | "outline" | "ghost";
|
|
220
|
+
size?: "sm" | "md" | "lg";
|
|
221
|
+
loading?: boolean;
|
|
222
|
+
leftSection?: ReactNode;
|
|
223
|
+
rightSection?: ReactNode;
|
|
224
|
+
}
|
|
225
|
+
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
226
|
+
|
|
227
|
+
interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
228
|
+
label?: ReactNode;
|
|
229
|
+
description?: ReactNode;
|
|
230
|
+
}
|
|
231
|
+
declare function Checkbox({ label, description, className, disabled, ...props }: CheckboxProps): react.JSX.Element;
|
|
232
|
+
|
|
233
|
+
interface GroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
234
|
+
gap?: number;
|
|
235
|
+
align?: "start" | "center" | "end" | "stretch";
|
|
236
|
+
justify?: "start" | "center" | "end" | "between";
|
|
237
|
+
wrap?: boolean;
|
|
238
|
+
}
|
|
239
|
+
declare function Group({ gap, align, justify, wrap, className, style, children, ...props }: GroupProps): react.JSX.Element;
|
|
240
|
+
|
|
241
|
+
interface IconProps extends HTMLAttributes<HTMLSpanElement> {
|
|
242
|
+
children: ReactNode;
|
|
243
|
+
size?: number;
|
|
244
|
+
color?: string;
|
|
245
|
+
decorative?: boolean;
|
|
246
|
+
}
|
|
247
|
+
declare function Icon({ children, size, color, decorative, className, style, ...props }: IconProps): react.JSX.Element;
|
|
248
|
+
|
|
249
|
+
interface ModalProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
250
|
+
opened: boolean;
|
|
251
|
+
onClose: () => void;
|
|
252
|
+
title?: ReactNode;
|
|
253
|
+
description?: ReactNode;
|
|
254
|
+
children?: ReactNode;
|
|
255
|
+
footer?: ReactNode;
|
|
256
|
+
size?: "sm" | "md" | "lg";
|
|
257
|
+
closeOnEscape?: boolean;
|
|
258
|
+
closeOnOverlayClick?: boolean;
|
|
259
|
+
withCloseButton?: boolean;
|
|
260
|
+
}
|
|
261
|
+
declare function Modal({ opened, onClose, title, description, children, footer, size, closeOnEscape, closeOnOverlayClick, withCloseButton, className, ...props }: ModalProps): react.JSX.Element | null;
|
|
262
|
+
|
|
263
|
+
interface PortalProps {
|
|
264
|
+
children: ReactNode;
|
|
265
|
+
target?: HTMLElement | null;
|
|
266
|
+
}
|
|
267
|
+
declare function Portal({ children, target, }: PortalProps): react.ReactPortal | null;
|
|
268
|
+
|
|
269
|
+
interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
270
|
+
label?: ReactNode;
|
|
271
|
+
description?: ReactNode;
|
|
272
|
+
}
|
|
273
|
+
declare function Radio({ label, description, className, disabled, ...props }: RadioProps): react.JSX.Element;
|
|
274
|
+
|
|
275
|
+
interface RadioGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
276
|
+
label?: ReactNode;
|
|
277
|
+
description?: ReactNode;
|
|
278
|
+
orientation?: "vertical" | "horizontal";
|
|
279
|
+
}
|
|
280
|
+
declare function RadioGroup({ label, description, orientation, className, children, ...props }: RadioGroupProps): react.JSX.Element;
|
|
281
|
+
|
|
282
|
+
interface SelectOption {
|
|
283
|
+
value: string;
|
|
284
|
+
label: ReactNode;
|
|
285
|
+
disabled?: boolean;
|
|
286
|
+
leftSection?: ReactNode;
|
|
287
|
+
}
|
|
288
|
+
interface SelectProps {
|
|
289
|
+
options: SelectOption[];
|
|
290
|
+
value?: string;
|
|
291
|
+
defaultValue?: string;
|
|
292
|
+
placeholder?: string;
|
|
293
|
+
size?: "sm" | "md" | "lg";
|
|
294
|
+
leftSection?: ReactNode;
|
|
295
|
+
disabled?: boolean;
|
|
296
|
+
error?: boolean;
|
|
297
|
+
className?: string;
|
|
298
|
+
name?: string;
|
|
299
|
+
onChange?: (value: string, option: SelectOption) => void;
|
|
300
|
+
}
|
|
301
|
+
declare function Select({ options, value, defaultValue, placeholder, size, leftSection, disabled, error, className, name, onChange, }: SelectProps): react.JSX.Element;
|
|
302
|
+
|
|
303
|
+
interface SpinnerProps extends HTMLAttributes<HTMLSpanElement> {
|
|
304
|
+
size?: number;
|
|
305
|
+
thickness?: number;
|
|
306
|
+
color?: string;
|
|
307
|
+
trackColor?: string;
|
|
308
|
+
label?: string;
|
|
309
|
+
}
|
|
310
|
+
declare function Spinner({ size, thickness, color, trackColor, label, className, style, ...props }: SpinnerProps): react.JSX.Element;
|
|
311
|
+
|
|
312
|
+
interface StackProps extends HTMLAttributes<HTMLDivElement> {
|
|
313
|
+
gap?: number;
|
|
314
|
+
align?: "stretch" | "start" | "center" | "end";
|
|
315
|
+
justify?: "start" | "center" | "end" | "between";
|
|
316
|
+
}
|
|
317
|
+
declare function Stack({ gap, align, justify, className, style, children, ...props }: StackProps): react.JSX.Element;
|
|
318
|
+
|
|
319
|
+
interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
320
|
+
label?: ReactNode;
|
|
321
|
+
description?: ReactNode;
|
|
322
|
+
}
|
|
323
|
+
declare function Switch({ label, description, className, disabled, ...props }: SwitchProps): react.JSX.Element;
|
|
324
|
+
|
|
325
|
+
type ToastVariant = "info" | "success" | "warning" | "danger";
|
|
326
|
+
type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
327
|
+
interface ToastOptions {
|
|
328
|
+
id?: string;
|
|
329
|
+
title?: ReactNode;
|
|
330
|
+
message: ReactNode;
|
|
331
|
+
variant?: ToastVariant;
|
|
332
|
+
duration?: number;
|
|
333
|
+
closable?: boolean;
|
|
334
|
+
icon?: ReactNode;
|
|
335
|
+
}
|
|
336
|
+
interface ToastItem extends Omit<ToastOptions, "id"> {
|
|
337
|
+
id: string;
|
|
338
|
+
variant: ToastVariant;
|
|
339
|
+
duration: number;
|
|
340
|
+
closable: boolean;
|
|
341
|
+
}
|
|
342
|
+
type ToastShortcutInput = string | Omit<ToastOptions, "variant">;
|
|
343
|
+
interface ToastApi {
|
|
344
|
+
show: (options: ToastOptions | string) => string;
|
|
345
|
+
info: (input: ToastShortcutInput) => string;
|
|
346
|
+
success: (input: ToastShortcutInput) => string;
|
|
347
|
+
warning: (input: ToastShortcutInput) => string;
|
|
348
|
+
danger: (input: ToastShortcutInput) => string;
|
|
349
|
+
remove: (id: string) => void;
|
|
350
|
+
clear: () => void;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
interface ToastProviderProps extends PropsWithChildren {
|
|
354
|
+
position?: ToastPosition;
|
|
355
|
+
defaultDuration?: number;
|
|
356
|
+
maxToasts?: number;
|
|
357
|
+
}
|
|
358
|
+
declare function ToastProvider({ children, position, defaultDuration, maxToasts, }: ToastProviderProps): react.JSX.Element;
|
|
359
|
+
|
|
360
|
+
declare function useToast(): ToastApi;
|
|
361
|
+
|
|
362
|
+
interface AvatarProps extends Omit<HTMLAttributes<HTMLDivElement>, "color"> {
|
|
363
|
+
src?: string;
|
|
364
|
+
alt?: string;
|
|
365
|
+
children?: ReactNode;
|
|
366
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
367
|
+
radius?: "sm" | "md" | "lg" | "full";
|
|
368
|
+
color?: string;
|
|
369
|
+
background?: string;
|
|
370
|
+
status?: "online" | "offline" | "busy" | "away";
|
|
371
|
+
imageProps?: Omit<ImgHTMLAttributes<HTMLImageElement>, "src" | "alt">;
|
|
372
|
+
}
|
|
373
|
+
declare function Avatar({ src, alt, children, size, radius, color, background, status, imageProps, className, style, ...props }: AvatarProps): react.JSX.Element;
|
|
374
|
+
|
|
375
|
+
interface AvatarGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
376
|
+
children: ReactNode;
|
|
377
|
+
max?: number;
|
|
378
|
+
spacing?: "sm" | "md" | "lg";
|
|
379
|
+
size?: AvatarProps["size"];
|
|
380
|
+
radius?: AvatarProps["radius"];
|
|
381
|
+
total?: number;
|
|
382
|
+
renderOverflow?: (hiddenCount: number) => ReactNode;
|
|
383
|
+
}
|
|
384
|
+
declare function AvatarGroup({ children, max, spacing, size, radius, total, renderOverflow, className, ...props }: AvatarGroupProps): react.JSX.Element;
|
|
385
|
+
|
|
386
|
+
interface ProgressProps extends Omit<HTMLAttributes<HTMLDivElement>, "color"> {
|
|
387
|
+
value?: number;
|
|
388
|
+
size?: "sm" | "md" | "lg";
|
|
389
|
+
variant?: "primary" | "success" | "warning" | "danger";
|
|
390
|
+
label?: ReactNode;
|
|
391
|
+
showValue?: boolean;
|
|
392
|
+
indeterminate?: boolean;
|
|
393
|
+
}
|
|
394
|
+
declare function Progress({ value, size, variant, label, showValue, indeterminate, className, style, ...props }: ProgressProps): react.JSX.Element;
|
|
395
|
+
|
|
396
|
+
interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
397
|
+
width?: number | string;
|
|
398
|
+
height?: number | string;
|
|
399
|
+
circle?: boolean;
|
|
400
|
+
radius?: "sm" | "md" | "lg";
|
|
401
|
+
visible?: boolean;
|
|
402
|
+
animate?: boolean;
|
|
403
|
+
}
|
|
404
|
+
declare function Skeleton({ width, height, circle, radius, visible, animate, className, style, ...props }: SkeletonProps): react.JSX.Element | null;
|
|
405
|
+
|
|
406
|
+
type TabsOrientation = "horizontal" | "vertical";
|
|
407
|
+
type TabsVariant = "underline" | "pill";
|
|
408
|
+
type TabsSize = "sm" | "md" | "lg";
|
|
409
|
+
interface TabsProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
|
|
410
|
+
value?: string | null;
|
|
411
|
+
defaultValue?: string | null;
|
|
412
|
+
onChange?: (value: string) => void;
|
|
413
|
+
orientation?: TabsOrientation;
|
|
414
|
+
variant?: TabsVariant;
|
|
415
|
+
size?: TabsSize;
|
|
416
|
+
}
|
|
417
|
+
declare function Tabs({ value, defaultValue, onChange, orientation, variant, size, className, children, ...props }: TabsProps): react.JSX.Element;
|
|
418
|
+
declare namespace Tabs {
|
|
419
|
+
var List: typeof TabsList;
|
|
420
|
+
var Tab: typeof TabsTab;
|
|
421
|
+
var Panel: typeof TabsPanel;
|
|
422
|
+
}
|
|
423
|
+
interface TabsListProps extends HTMLAttributes<HTMLDivElement> {
|
|
424
|
+
grow?: boolean;
|
|
425
|
+
}
|
|
426
|
+
declare function TabsList({ grow, className, children, onKeyDown, ...props }: TabsListProps): react.JSX.Element;
|
|
427
|
+
interface TabsTabProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
428
|
+
value: string;
|
|
429
|
+
leftSection?: ReactNode;
|
|
430
|
+
rightSection?: ReactNode;
|
|
431
|
+
}
|
|
432
|
+
declare function TabsTab({ value, leftSection, rightSection, disabled, className, children, onClick, ...props }: TabsTabProps): react.JSX.Element;
|
|
433
|
+
interface TabsPanelProps extends HTMLAttributes<HTMLDivElement> {
|
|
434
|
+
value: string;
|
|
435
|
+
keepMounted?: boolean;
|
|
436
|
+
}
|
|
437
|
+
declare function TabsPanel({ value, keepMounted, className, children, ...props }: TabsPanelProps): react.JSX.Element | null;
|
|
438
|
+
|
|
439
|
+
type TooltipPosition = "top" | "right" | "bottom" | "left";
|
|
440
|
+
interface TooltipProps {
|
|
441
|
+
children: ReactElement;
|
|
442
|
+
label: ReactNode;
|
|
443
|
+
position?: TooltipPosition;
|
|
444
|
+
offset?: number;
|
|
445
|
+
openDelay?: number;
|
|
446
|
+
closeDelay?: number;
|
|
447
|
+
disabled?: boolean;
|
|
448
|
+
withArrow?: boolean;
|
|
449
|
+
className?: string;
|
|
450
|
+
}
|
|
451
|
+
declare function Tooltip({ children, label, position, offset, openDelay, closeDelay, disabled, withArrow, className, }: TooltipProps): react.JSX.Element | null;
|
|
452
|
+
|
|
453
|
+
type AccordionType = "single" | "multiple";
|
|
454
|
+
type AccordionVariant = "default" | "separated";
|
|
455
|
+
type AccordionSize = "sm" | "md" | "lg";
|
|
456
|
+
type AccordionChevronPosition = "left" | "right";
|
|
457
|
+
type AccordionValue = string | string[] | null;
|
|
458
|
+
interface AccordionProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
|
|
459
|
+
type?: AccordionType;
|
|
460
|
+
value?: AccordionValue;
|
|
461
|
+
defaultValue?: AccordionValue;
|
|
462
|
+
onChange?: (value: AccordionValue) => void;
|
|
463
|
+
variant?: AccordionVariant;
|
|
464
|
+
size?: AccordionSize;
|
|
465
|
+
chevronPosition?: AccordionChevronPosition;
|
|
466
|
+
allowCollapse?: boolean;
|
|
467
|
+
}
|
|
468
|
+
declare function AccordionRoot({ type, value, defaultValue, onChange, variant, size, chevronPosition, allowCollapse, className, children, ...props }: AccordionProps): react.JSX.Element;
|
|
469
|
+
interface AccordionItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
470
|
+
value: string;
|
|
471
|
+
disabled?: boolean;
|
|
472
|
+
}
|
|
473
|
+
declare function AccordionItem({ value, disabled, className, children, ...props }: AccordionItemProps): react.JSX.Element;
|
|
474
|
+
interface AccordionControlProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
475
|
+
leftSection?: ReactNode;
|
|
476
|
+
rightSection?: ReactNode;
|
|
477
|
+
chevron?: ReactNode;
|
|
478
|
+
}
|
|
479
|
+
declare function AccordionControl({ leftSection, rightSection, chevron, className, children, onClick, onKeyDown, ...props }: AccordionControlProps): react.JSX.Element;
|
|
480
|
+
interface AccordionPanelProps extends HTMLAttributes<HTMLDivElement> {
|
|
481
|
+
keepMounted?: boolean;
|
|
482
|
+
}
|
|
483
|
+
declare function AccordionPanel({ keepMounted, className, children, ...props }: AccordionPanelProps): react.JSX.Element | null;
|
|
484
|
+
declare const Accordion: typeof AccordionRoot & {
|
|
485
|
+
Item: typeof AccordionItem;
|
|
486
|
+
Control: typeof AccordionControl;
|
|
487
|
+
Panel: typeof AccordionPanel;
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
type DrawerPosition = "left" | "right" | "top" | "bottom";
|
|
491
|
+
type DrawerSize = "sm" | "md" | "lg" | "full";
|
|
492
|
+
interface DrawerProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
493
|
+
opened: boolean;
|
|
494
|
+
onClose: () => void;
|
|
495
|
+
title?: ReactNode;
|
|
496
|
+
description?: ReactNode;
|
|
497
|
+
children?: ReactNode;
|
|
498
|
+
footer?: ReactNode;
|
|
499
|
+
position?: DrawerPosition;
|
|
500
|
+
size?: DrawerSize;
|
|
501
|
+
closeOnEscape?: boolean;
|
|
502
|
+
closeOnOverlayClick?: boolean;
|
|
503
|
+
withCloseButton?: boolean;
|
|
504
|
+
}
|
|
505
|
+
declare function Drawer({ opened, onClose, title, description, children, footer, position, size, closeOnEscape, closeOnOverlayClick, withCloseButton, className, ...props }: DrawerProps): react.JSX.Element | null;
|
|
506
|
+
|
|
507
|
+
type MenuPosition = "bottom-start" | "bottom-end" | "top-start" | "top-end";
|
|
508
|
+
type MenuWidth = number | string;
|
|
509
|
+
interface MenuProps {
|
|
510
|
+
children: ReactNode;
|
|
511
|
+
position?: MenuPosition;
|
|
512
|
+
offset?: number;
|
|
513
|
+
width?: MenuWidth;
|
|
514
|
+
disabled?: boolean;
|
|
515
|
+
closeOnItemClick?: boolean;
|
|
516
|
+
}
|
|
517
|
+
declare function MenuRoot({ children, position, offset, width, disabled, closeOnItemClick, }: MenuProps): react.JSX.Element;
|
|
518
|
+
interface MenuTargetProps {
|
|
519
|
+
children: ReactElement;
|
|
520
|
+
}
|
|
521
|
+
declare function MenuTarget({ children, }: MenuTargetProps): ReactElement<{
|
|
522
|
+
ref?: React.Ref<HTMLElement>;
|
|
523
|
+
onClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
524
|
+
onKeyDown?: (event: KeyboardEvent<HTMLElement>) => void;
|
|
525
|
+
"aria-haspopup"?: string;
|
|
526
|
+
"aria-expanded"?: boolean;
|
|
527
|
+
"aria-controls"?: string;
|
|
528
|
+
}, string | react.JSXElementConstructor<any>> | null;
|
|
529
|
+
interface MenuDropdownProps extends HTMLAttributes<HTMLDivElement> {
|
|
530
|
+
children: ReactNode;
|
|
531
|
+
}
|
|
532
|
+
declare function MenuDropdown({ children, className, style, ...props }: MenuDropdownProps): react.JSX.Element | null;
|
|
533
|
+
interface MenuItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
534
|
+
leftSection?: ReactNode;
|
|
535
|
+
rightSection?: ReactNode;
|
|
536
|
+
color?: "default" | "danger";
|
|
537
|
+
closeMenuOnClick?: boolean;
|
|
538
|
+
}
|
|
539
|
+
declare function MenuItem({ leftSection, rightSection, color, closeMenuOnClick, disabled, className, children, onClick, ...props }: MenuItemProps): react.JSX.Element;
|
|
540
|
+
interface MenuLabelProps extends HTMLAttributes<HTMLDivElement> {
|
|
541
|
+
}
|
|
542
|
+
declare function MenuLabel({ className, children, ...props }: MenuLabelProps): react.JSX.Element;
|
|
543
|
+
interface MenuDividerProps extends HTMLAttributes<HTMLDivElement> {
|
|
544
|
+
}
|
|
545
|
+
declare function MenuDivider({ className, ...props }: MenuDividerProps): react.JSX.Element;
|
|
546
|
+
declare const Menu: typeof MenuRoot & {
|
|
547
|
+
Target: typeof MenuTarget;
|
|
548
|
+
Dropdown: typeof MenuDropdown;
|
|
549
|
+
Item: typeof MenuItem;
|
|
550
|
+
Label: typeof MenuLabel;
|
|
551
|
+
Divider: typeof MenuDivider;
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
type PopoverPosition = "bottom-start" | "bottom-end" | "top-start" | "top-end";
|
|
555
|
+
interface PopoverProps {
|
|
556
|
+
children: ReactNode;
|
|
557
|
+
opened?: boolean;
|
|
558
|
+
defaultOpened?: boolean;
|
|
559
|
+
onChange?: (opened: boolean) => void;
|
|
560
|
+
position?: PopoverPosition;
|
|
561
|
+
offset?: number;
|
|
562
|
+
width?: number | string;
|
|
563
|
+
withArrow?: boolean;
|
|
564
|
+
closeOnClickOutside?: boolean;
|
|
565
|
+
closeOnEscape?: boolean;
|
|
566
|
+
}
|
|
567
|
+
declare function PopoverRoot({ children, opened, defaultOpened, onChange, position, offset, width, withArrow, closeOnClickOutside, closeOnEscape, }: PopoverProps): react.JSX.Element;
|
|
568
|
+
interface PopoverTargetProps {
|
|
569
|
+
children: ReactElement;
|
|
570
|
+
}
|
|
571
|
+
declare function PopoverTarget({ children, }: PopoverTargetProps): ReactElement<{
|
|
572
|
+
ref?: Ref<HTMLElement>;
|
|
573
|
+
onClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
574
|
+
onKeyDown?: (event: KeyboardEvent<HTMLElement>) => void;
|
|
575
|
+
"aria-haspopup"?: string;
|
|
576
|
+
"aria-expanded"?: boolean;
|
|
577
|
+
"aria-controls"?: string;
|
|
578
|
+
}, string | react.JSXElementConstructor<any>> | null;
|
|
579
|
+
interface PopoverDropdownProps extends HTMLAttributes<HTMLDivElement> {
|
|
580
|
+
children: ReactNode;
|
|
581
|
+
}
|
|
582
|
+
declare function PopoverDropdown({ children, className, style, ...props }: PopoverDropdownProps): react.JSX.Element | null;
|
|
583
|
+
declare const Popover: typeof PopoverRoot & {
|
|
584
|
+
Target: typeof PopoverTarget;
|
|
585
|
+
Dropdown: typeof PopoverDropdown;
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
type DividerOrientation = "horizontal" | "vertical";
|
|
589
|
+
type DividerLabelPosition = "left" | "center" | "right";
|
|
590
|
+
type DividerVariant = "solid" | "dashed" | "dotted";
|
|
591
|
+
interface DividerProps extends HTMLAttributes<HTMLDivElement> {
|
|
592
|
+
orientation?: DividerOrientation;
|
|
593
|
+
label?: ReactNode;
|
|
594
|
+
labelPosition?: DividerLabelPosition;
|
|
595
|
+
variant?: DividerVariant;
|
|
596
|
+
size?: number | string;
|
|
597
|
+
color?: string;
|
|
598
|
+
}
|
|
599
|
+
declare function Divider({ orientation, label, labelPosition, variant, size, color, className, style, ...props }: DividerProps): react.JSX.Element;
|
|
600
|
+
|
|
601
|
+
type PasswordInputSize = "sm" | "md" | "lg";
|
|
602
|
+
interface PasswordInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type"> {
|
|
603
|
+
size?: PasswordInputSize;
|
|
604
|
+
leftSection?: ReactNode;
|
|
605
|
+
visible?: boolean;
|
|
606
|
+
defaultVisible?: boolean;
|
|
607
|
+
onVisibilityChange?: (visible: boolean) => void;
|
|
608
|
+
visibilityToggle?: boolean;
|
|
609
|
+
visibleIcon?: ReactNode;
|
|
610
|
+
hiddenIcon?: ReactNode;
|
|
611
|
+
visibleLabel?: string;
|
|
612
|
+
hiddenLabel?: string;
|
|
613
|
+
error?: boolean;
|
|
614
|
+
}
|
|
615
|
+
declare const PasswordInput: react.ForwardRefExoticComponent<PasswordInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
616
|
+
|
|
617
|
+
type PinInputSize = "sm" | "md" | "lg";
|
|
618
|
+
type PinInputType = "number" | "alphanumeric";
|
|
619
|
+
interface PinInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
|
|
620
|
+
length?: number;
|
|
621
|
+
value?: string;
|
|
622
|
+
defaultValue?: string;
|
|
623
|
+
onChange?: (value: string) => void;
|
|
624
|
+
onComplete?: (value: string) => void;
|
|
625
|
+
size?: PinInputSize;
|
|
626
|
+
type?: PinInputType;
|
|
627
|
+
mask?: boolean;
|
|
628
|
+
oneTimeCode?: boolean;
|
|
629
|
+
disabled?: boolean;
|
|
630
|
+
error?: boolean;
|
|
631
|
+
autoFocus?: boolean;
|
|
632
|
+
name?: string;
|
|
633
|
+
placeholder?: string;
|
|
634
|
+
"aria-label"?: string;
|
|
635
|
+
}
|
|
636
|
+
declare const PinInput: react.ForwardRefExoticComponent<PinInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
637
|
+
|
|
638
|
+
type FileInputSize = "sm" | "md" | "lg";
|
|
639
|
+
interface FileInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "title"> {
|
|
640
|
+
name?: string;
|
|
641
|
+
accept?: string;
|
|
642
|
+
multiple?: boolean;
|
|
643
|
+
maxSize?: number;
|
|
644
|
+
disabled?: boolean;
|
|
645
|
+
error?: boolean;
|
|
646
|
+
size?: FileInputSize;
|
|
647
|
+
title?: ReactNode;
|
|
648
|
+
description?: ReactNode;
|
|
649
|
+
acceptLabel?: ReactNode;
|
|
650
|
+
maxSizeLabel?: ReactNode;
|
|
651
|
+
icon?: ReactNode;
|
|
652
|
+
showFileList?: boolean;
|
|
653
|
+
onFilesChange?: (files: File[]) => void;
|
|
654
|
+
onRejected?: (files: File[], reason: "type" | "size") => void;
|
|
655
|
+
}
|
|
656
|
+
declare const FileInput: react.ForwardRefExoticComponent<FileInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
657
|
+
|
|
658
|
+
type PaginationSize = "sm" | "md" | "lg";
|
|
659
|
+
type PaginationVariant = "default" | "filled";
|
|
660
|
+
interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, "onChange"> {
|
|
661
|
+
total: number;
|
|
662
|
+
value?: number;
|
|
663
|
+
defaultValue?: number;
|
|
664
|
+
onChange?: (page: number) => void;
|
|
665
|
+
siblings?: number;
|
|
666
|
+
boundaries?: number;
|
|
667
|
+
size?: PaginationSize;
|
|
668
|
+
variant?: PaginationVariant;
|
|
669
|
+
disabled?: boolean;
|
|
670
|
+
withEdges?: boolean;
|
|
671
|
+
withControls?: boolean;
|
|
672
|
+
previousLabel?: string;
|
|
673
|
+
nextLabel?: string;
|
|
674
|
+
firstLabel?: string;
|
|
675
|
+
lastLabel?: string;
|
|
676
|
+
previousIcon?: ReactNode;
|
|
677
|
+
nextIcon?: ReactNode;
|
|
678
|
+
firstIcon?: ReactNode;
|
|
679
|
+
lastIcon?: ReactNode;
|
|
680
|
+
}
|
|
681
|
+
declare const Pagination: react.ForwardRefExoticComponent<PaginationProps & react.RefAttributes<HTMLElement>>;
|
|
682
|
+
|
|
683
|
+
type DatePickerSize = "sm" | "md" | "lg";
|
|
684
|
+
type DatePickerType = "single" | "range";
|
|
685
|
+
type DateRangeValue = [
|
|
686
|
+
Date | null,
|
|
687
|
+
Date | null
|
|
688
|
+
];
|
|
689
|
+
type DatePickerValue = Date | null | DateRangeValue;
|
|
690
|
+
interface DatePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
|
|
691
|
+
type?: DatePickerType;
|
|
692
|
+
value?: DatePickerValue;
|
|
693
|
+
defaultValue?: DatePickerValue;
|
|
694
|
+
onChange?: (value: DatePickerValue) => void;
|
|
695
|
+
size?: DatePickerSize;
|
|
696
|
+
placeholder?: string;
|
|
697
|
+
rangeSeparator?: string;
|
|
698
|
+
locale?: string;
|
|
699
|
+
firstDayOfWeek?: 0 | 1;
|
|
700
|
+
minDate?: Date;
|
|
701
|
+
maxDate?: Date;
|
|
702
|
+
disabled?: boolean;
|
|
703
|
+
error?: boolean;
|
|
704
|
+
clearable?: boolean;
|
|
705
|
+
name?: string;
|
|
706
|
+
dateFormat?: Intl.DateTimeFormatOptions;
|
|
707
|
+
}
|
|
708
|
+
declare function DatePicker({ type, value, defaultValue, onChange, size, placeholder, rangeSeparator, locale, firstDayOfWeek, minDate, maxDate, disabled, error, clearable, name, dateFormat, className, ...props }: DatePickerProps): react.JSX.Element;
|
|
709
|
+
|
|
710
|
+
type ClickOutsideEvent = "mousedown" | "touchstart" | "pointerdown";
|
|
711
|
+
interface UseClickOutsideOptions {
|
|
712
|
+
enabled?: boolean;
|
|
713
|
+
events?: ClickOutsideEvent[];
|
|
714
|
+
}
|
|
715
|
+
declare function useClickOutside<T extends HTMLElement>(handler: (event: Event) => void, options?: UseClickOutsideOptions): RefObject<T | null>;
|
|
716
|
+
|
|
717
|
+
interface UseControllableStateOptions<T> {
|
|
718
|
+
value?: T;
|
|
719
|
+
defaultValue: T;
|
|
720
|
+
onChange?: (value: T) => void;
|
|
721
|
+
}
|
|
722
|
+
declare function useControllableState<T>({ value, defaultValue, onChange, }: UseControllableStateOptions<T>): readonly [T, (nextValue: T | ((current: T) => T)) => void];
|
|
723
|
+
|
|
724
|
+
interface UseDisclosureHandlers {
|
|
725
|
+
open: () => void;
|
|
726
|
+
close: () => void;
|
|
727
|
+
toggle: () => void;
|
|
728
|
+
}
|
|
729
|
+
type UseDisclosureReturn = [
|
|
730
|
+
boolean,
|
|
731
|
+
UseDisclosureHandlers
|
|
732
|
+
];
|
|
733
|
+
declare function useDisclosure(initialValue?: boolean): UseDisclosureReturn;
|
|
734
|
+
|
|
735
|
+
declare function useLockScroll(locked?: boolean): void;
|
|
736
|
+
|
|
737
|
+
type ClassValue = string | number | bigint | false | null | undefined;
|
|
738
|
+
declare function cx(...classes: ClassValue[]): string;
|
|
739
|
+
|
|
740
|
+
interface CardProps extends HTMLAttributes<HTMLDivElement> {
|
|
741
|
+
padding?: "sm" | "md" | "lg";
|
|
742
|
+
radius?: "sm" | "md" | "lg";
|
|
743
|
+
shadow?: "none" | "sm" | "md";
|
|
744
|
+
header?: ReactNode;
|
|
745
|
+
footer?: ReactNode;
|
|
746
|
+
}
|
|
747
|
+
declare function Card({ padding, radius, shadow, header, footer, className, children, ...props }: CardProps): react.JSX.Element;
|
|
748
|
+
|
|
749
|
+
interface IconButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
750
|
+
icon: ReactNode;
|
|
751
|
+
label: string;
|
|
752
|
+
variant?: "primary" | "secondary" | "outline" | "ghost";
|
|
753
|
+
size?: "sm" | "md" | "lg";
|
|
754
|
+
loading?: boolean;
|
|
755
|
+
}
|
|
756
|
+
declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
757
|
+
|
|
758
|
+
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
759
|
+
leftSection?: ReactNode;
|
|
760
|
+
rightSection?: ReactNode;
|
|
761
|
+
error?: boolean;
|
|
762
|
+
}
|
|
763
|
+
declare function Input({ leftSection, rightSection, error, className, disabled, ...props }: InputProps): react.JSX.Element;
|
|
764
|
+
|
|
765
|
+
interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
766
|
+
}
|
|
767
|
+
declare function Textarea({ className, ...props }: TextareaProps): react.JSX.Element;
|
|
768
|
+
|
|
769
|
+
interface TextProps extends HTMLAttributes<HTMLElement> {
|
|
770
|
+
as?: ElementType;
|
|
771
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
772
|
+
weight?: "regular" | "medium" | "semibold" | "bold";
|
|
773
|
+
color?: "default" | "muted" | "primary";
|
|
774
|
+
leftSection?: ReactNode;
|
|
775
|
+
rightSection?: ReactNode;
|
|
776
|
+
}
|
|
777
|
+
declare function Text({ as: Component, size, weight, color, leftSection, rightSection, className, children, ...props }: TextProps): react.JSX.Element;
|
|
778
|
+
|
|
779
|
+
interface TitleProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
780
|
+
order?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
781
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
782
|
+
weight?: "medium" | "semibold" | "bold";
|
|
783
|
+
color?: "default" | "muted" | "primary";
|
|
784
|
+
leftSection?: ReactNode;
|
|
785
|
+
rightSection?: ReactNode;
|
|
786
|
+
}
|
|
787
|
+
declare function Title({ order, size, weight, color, leftSection, rightSection, className, children, ...props }: TitleProps): react.JSX.Element;
|
|
788
|
+
|
|
789
|
+
export { Accordion, type AccordionChevronPosition, type AccordionControlProps, type AccordionItemProps, type AccordionPanelProps, type AccordionProps, type AccordionSize, type AccordionType, type AccordionValue, type AccordionVariant, Alert, type AlertProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Button, Card, type CardProps, Checkbox, type CheckboxProps, type ClassValue, DatePicker, type DatePickerProps, type DatePickerSize, type DatePickerType, type DatePickerValue, type DateRangeValue, Divider, type DividerProps, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, FileInput, type FileInputProps, type FileInputSize, Group, type GroupProps, Icon, IconButton, type IconButtonProps, type IconProps, Input, type InputProps, type MainbaseColorScheme, type MainbaseColors, type MainbaseComponentDefaults, MainbasePortalContext, MainbaseProvider, type MainbaseProviderProps, type MainbaseRadii, type MainbaseShadows, type MainbaseSpacing, type MainbaseTheme, type MainbaseThemeOverride, type MainbaseTransitions, type MainbaseTypography, type MainbaseZIndex, Menu, type MenuDividerProps, type MenuDropdownProps, type MenuItemProps, type MenuLabelProps, type MenuPosition, type MenuProps, type MenuTargetProps, type MenuWidth, Modal, type ModalProps, Pagination, type PaginationProps, type PaginationSize, type PaginationVariant, PasswordInput, type PasswordInputProps, type PasswordInputSize, PinInput, type PinInputProps, type PinInputSize, type PinInputType, Popover, type PopoverDropdownProps, type PopoverPosition, type PopoverProps, type PopoverTargetProps, Portal, type PortalProps, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Select, type SelectOption, type SelectProps, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, Stack, type StackProps, Switch, type SwitchProps, Tabs, TabsList, type TabsListProps, type TabsOrientation, TabsPanel, type TabsPanelProps, type TabsProps, type TabsSize, TabsTab, type TabsTabProps, type TabsVariant, Text, type TextProps, Textarea, type TextareaProps, Title, type TitleProps, type ToastApi, type ToastItem, type ToastOptions, type ToastPosition, ToastProvider, type ToastProviderProps, type ToastShortcutInput, type ToastVariant, Tooltip, type TooltipPosition, type TooltipProps, type UseClickOutsideOptions, type UseControllableStateOptions, type UseDisclosureHandlers, type UseDisclosureReturn, cx, defaultMainbaseTheme, useClickOutside, useComponentDefaults, useControllableState, useDisclosure, useLockScroll, useMainbaseTheme, useToast };
|