@humu-tech/ui 0.1.26 → 0.3.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/README.md +313 -88
- package/dist/DateInput-W7IF3TRC.css +112 -0
- package/dist/DateRangeInput-66WC5JQX.css +150 -0
- package/dist/Sidebar-RBBNUVDV.css +7 -0
- package/dist/index.d.mts +630 -65
- package/dist/index.d.ts +630 -65
- package/dist/index.js +7720 -4286
- package/dist/index.mjs +6676 -3186
- package/dist/tailwind-preset.js +142 -33
- package/dist/tailwind-preset.mjs +132 -33
- package/dist/tokens/colors.css +55 -55
- package/dist/tokens/elevation.css +10 -5
- package/dist/tokens/motion.css +23 -14
- package/dist/tokens/primitives.css +94 -0
- package/dist/tokens/primitives.d.mts +2 -0
- package/dist/tokens/primitives.d.ts +2 -0
- package/dist/tokens/semantic.css +172 -0
- package/dist/tokens/semantic.d.mts +2 -0
- package/dist/tokens/semantic.d.ts +2 -0
- package/dist/tokens/spacing.css +1 -17
- package/dist/tokens/surfaces.css +64 -98
- package/dist/tokens/typography.css +44 -23
- package/dist/tokens.css +10 -7
- package/package.json +42 -22
- package/dist/DateInput-ASNJQV43.css +0 -105
- package/dist/DateRangeInput-PC5F3TTS.css +0 -143
- package/dist/Sidebar-4ILVFQI5.css +0 -44
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ReactNode, HTMLAttributes, ComponentPropsWithoutRef, ElementType, InputHTMLAttributes, ButtonHTMLAttributes, TextareaHTMLAttributes, ForwardedRef } from 'react';
|
|
3
|
+
import { ReactNode, HTMLAttributes, ComponentPropsWithoutRef, ElementType, InputHTMLAttributes, ButtonHTMLAttributes, ReactElement, SVGAttributes, MouseEvent, TextareaHTMLAttributes, ForwardedRef, AnchorHTMLAttributes } from 'react';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import * as class_variance_authority from 'class-variance-authority';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -27,9 +27,6 @@ type DsLinkComponent = React.ComponentType<{
|
|
|
27
27
|
}>;
|
|
28
28
|
declare const DefaultLink: DsLinkComponent;
|
|
29
29
|
|
|
30
|
-
type DsV2Theme = 'light' | 'dark';
|
|
31
|
-
declare function useDsV2Theme(): DsV2Theme;
|
|
32
|
-
|
|
33
30
|
type SuspenseSkeletonProps = {
|
|
34
31
|
label?: string;
|
|
35
32
|
};
|
|
@@ -42,7 +39,32 @@ declare function getShortcutKeys(key: string): string[];
|
|
|
42
39
|
declare function isImageFile(mimeType?: string, fileName?: string): boolean;
|
|
43
40
|
declare function isPdfFile(mimeType?: string, fileName?: string): boolean;
|
|
44
41
|
|
|
45
|
-
type
|
|
42
|
+
type ThemePreference = 'light' | 'dark' | 'system';
|
|
43
|
+
type ResolvedTheme = Exclude<ThemePreference, 'system'>;
|
|
44
|
+
type ThemeOptions = {
|
|
45
|
+
storageKey?: string;
|
|
46
|
+
defaultPreference?: ThemePreference;
|
|
47
|
+
};
|
|
48
|
+
declare const THEME_STORAGE_KEY = "theme-preference";
|
|
49
|
+
|
|
50
|
+
type ThemeContextValue = {
|
|
51
|
+
preference: ThemePreference;
|
|
52
|
+
theme: ResolvedTheme;
|
|
53
|
+
setPreference: (preference: ThemePreference) => void;
|
|
54
|
+
cyclePreference: () => void;
|
|
55
|
+
};
|
|
56
|
+
type ThemeProviderProps = ThemeOptions & {
|
|
57
|
+
children: ReactNode;
|
|
58
|
+
};
|
|
59
|
+
declare function ThemeProvider({ children, storageKey, defaultPreference, }: Readonly<ThemeProviderProps>): react.JSX.Element;
|
|
60
|
+
|
|
61
|
+
declare function useTheme(): ThemeContextValue;
|
|
62
|
+
|
|
63
|
+
declare function getThemeBootstrapScript({ storageKey, defaultPreference, }?: ThemeOptions): string;
|
|
64
|
+
|
|
65
|
+
type AvatarColor = 'brand' | 'brand-subtle' | 'success' | 'warning' | 'danger' | 'info';
|
|
66
|
+
type AvatarLegacyTone = 'blue' | 'orange' | 'green' | 'lime' | 'red';
|
|
67
|
+
type AvatarTone = 'auto' | AvatarColor | AvatarLegacyTone;
|
|
46
68
|
type AvatarSize = 'sm' | 'md' | 'lg';
|
|
47
69
|
type AvatarProps = Omit<HTMLAttributes<HTMLSpanElement>, 'children'> & {
|
|
48
70
|
name: string;
|
|
@@ -59,14 +81,20 @@ declare const Avatar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
|
59
81
|
} & react.RefAttributes<HTMLSpanElement>>;
|
|
60
82
|
|
|
61
83
|
declare const badgeStyles: (props?: ({
|
|
62
|
-
variant?: "default" | "success" | "warning" | "danger" | "info" | "solid" | null | undefined;
|
|
84
|
+
variant?: "default" | "brand" | "success" | "warning" | "danger" | "info" | "solid" | "turtle" | "purple" | null | undefined;
|
|
85
|
+
subtle?: boolean | null | undefined;
|
|
63
86
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
64
87
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
65
|
-
type BadgeProps = ComponentPropsWithoutRef<'span'> & VariantProps<typeof badgeStyles
|
|
88
|
+
type BadgeProps = ComponentPropsWithoutRef<'span'> & VariantProps<typeof badgeStyles> & {
|
|
89
|
+
icon?: ReactNode;
|
|
90
|
+
};
|
|
66
91
|
declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
|
|
67
|
-
variant?: "default" | "success" | "warning" | "danger" | "info" | "solid" | null | undefined;
|
|
92
|
+
variant?: "default" | "brand" | "success" | "warning" | "danger" | "info" | "solid" | "turtle" | "purple" | null | undefined;
|
|
93
|
+
subtle?: boolean | null | undefined;
|
|
68
94
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
69
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> &
|
|
95
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
96
|
+
icon?: ReactNode;
|
|
97
|
+
} & react.RefAttributes<HTMLSpanElement>>;
|
|
70
98
|
|
|
71
99
|
type BoxProps = {
|
|
72
100
|
as?: ElementType;
|
|
@@ -87,24 +115,28 @@ type BreadcrumbProps = {
|
|
|
87
115
|
|
|
88
116
|
declare function Breadcrumb({ items, className, linkComponent, }: BreadcrumbProps): react.JSX.Element;
|
|
89
117
|
|
|
90
|
-
declare const Button: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & class_variance_authority.VariantProps<(props?: ({
|
|
91
|
-
variant?: "primary" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
118
|
+
declare const Button: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & Omit<class_variance_authority.VariantProps<(props?: ({
|
|
119
|
+
variant?: "link" | "success" | "warning" | "danger" | "info" | "primary" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
92
120
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
93
|
-
|
|
121
|
+
iconOnly?: boolean | null | undefined;
|
|
122
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "iconOnly"> & {
|
|
94
123
|
leftIcon?: react.ReactNode;
|
|
95
124
|
rightIcon?: react.ReactNode;
|
|
125
|
+
icon?: react.ReactNode;
|
|
96
126
|
loading?: boolean;
|
|
97
127
|
asChild?: boolean;
|
|
98
128
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
99
129
|
|
|
100
130
|
declare const buttonStyles: (props?: ({
|
|
101
|
-
variant?: "primary" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
131
|
+
variant?: "link" | "success" | "warning" | "danger" | "info" | "primary" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
102
132
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
133
|
+
iconOnly?: boolean | null | undefined;
|
|
103
134
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
104
135
|
|
|
105
|
-
type ButtonProps = ComponentPropsWithoutRef<'button'> & VariantProps<typeof buttonStyles> & {
|
|
136
|
+
type ButtonProps = ComponentPropsWithoutRef<'button'> & Omit<VariantProps<typeof buttonStyles>, 'iconOnly'> & {
|
|
106
137
|
leftIcon?: ReactNode;
|
|
107
138
|
rightIcon?: ReactNode;
|
|
139
|
+
icon?: ReactNode;
|
|
108
140
|
loading?: boolean;
|
|
109
141
|
asChild?: boolean;
|
|
110
142
|
};
|
|
@@ -130,7 +162,7 @@ declare const Card: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps
|
|
|
130
162
|
Footer: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
131
163
|
};
|
|
132
164
|
|
|
133
|
-
declare const MaskedInput: react.ForwardRefExoticComponent<Omit<react.InputHTMLAttributes<HTMLInputElement>, "
|
|
165
|
+
declare const MaskedInput: react.ForwardRefExoticComponent<Omit<react.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "onChange"> & {
|
|
134
166
|
mask: string | string[];
|
|
135
167
|
value?: string;
|
|
136
168
|
onValueChange?: (formatted: string, raw: string) => void;
|
|
@@ -138,11 +170,13 @@ declare const MaskedInput: react.ForwardRefExoticComponent<Omit<react.InputHTMLA
|
|
|
138
170
|
helper?: string;
|
|
139
171
|
error?: string;
|
|
140
172
|
floating?: boolean;
|
|
173
|
+
size?: "sm" | "md" | "lg";
|
|
141
174
|
surface?: "light" | "dark";
|
|
175
|
+
containerClassName?: string;
|
|
142
176
|
normalizeRaw?: (raw: string) => string;
|
|
143
177
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
144
178
|
|
|
145
|
-
type MaskedInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'> & {
|
|
179
|
+
type MaskedInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'value' | 'onChange' | 'size'> & {
|
|
146
180
|
mask: string | string[];
|
|
147
181
|
value?: string;
|
|
148
182
|
onValueChange?: (formatted: string, raw: string) => void;
|
|
@@ -150,7 +184,9 @@ type MaskedInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'value' | 'o
|
|
|
150
184
|
helper?: string;
|
|
151
185
|
error?: string;
|
|
152
186
|
floating?: boolean;
|
|
187
|
+
size?: 'sm' | 'md' | 'lg';
|
|
153
188
|
surface?: 'light' | 'dark';
|
|
189
|
+
containerClassName?: string;
|
|
154
190
|
normalizeRaw?: (raw: string) => string;
|
|
155
191
|
};
|
|
156
192
|
|
|
@@ -190,7 +226,19 @@ type ComboboxItem = {
|
|
|
190
226
|
description?: string;
|
|
191
227
|
disabled?: boolean;
|
|
192
228
|
};
|
|
193
|
-
type
|
|
229
|
+
type ComboboxSelectionIndicator = 'check' | 'checkbox' | 'radio';
|
|
230
|
+
type ComboboxListAction = {
|
|
231
|
+
label: string;
|
|
232
|
+
icon?: ReactNode;
|
|
233
|
+
onClick: () => void;
|
|
234
|
+
};
|
|
235
|
+
type ComboboxRenderItemState = {
|
|
236
|
+
selected: boolean;
|
|
237
|
+
highlighted: boolean;
|
|
238
|
+
disabled: boolean;
|
|
239
|
+
};
|
|
240
|
+
type ComboboxRenderItem = (item: ComboboxItem, state: ComboboxRenderItemState) => ReactNode;
|
|
241
|
+
type ComboboxProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onChange' | 'defaultValue'> & {
|
|
194
242
|
items: ComboboxItem[];
|
|
195
243
|
value?: string;
|
|
196
244
|
defaultValue?: string;
|
|
@@ -204,11 +252,22 @@ type ComboboxProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onChange
|
|
|
204
252
|
disabled?: boolean;
|
|
205
253
|
loading?: boolean;
|
|
206
254
|
emptyMessage?: string;
|
|
255
|
+
emptyDescription?: string;
|
|
207
256
|
allowClear?: boolean;
|
|
208
257
|
allowScrollSelection?: boolean;
|
|
258
|
+
listTitle?: string;
|
|
259
|
+
listBadge?: string;
|
|
260
|
+
selectionIndicator?: Exclude<ComboboxSelectionIndicator, 'checkbox'>;
|
|
261
|
+
renderItem?: ComboboxRenderItem;
|
|
262
|
+
listAction?: ComboboxListAction;
|
|
263
|
+
showFooter?: boolean;
|
|
264
|
+
open?: boolean;
|
|
265
|
+
defaultOpen?: boolean;
|
|
266
|
+
onOpenChange?: (open: boolean) => void;
|
|
267
|
+
contentClassName?: string;
|
|
209
268
|
};
|
|
210
269
|
|
|
211
|
-
declare const Combobox: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLDivElement>, "children" | "onChange"> & {
|
|
270
|
+
declare const Combobox: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLDivElement>, "children" | "defaultValue" | "onChange"> & {
|
|
212
271
|
items: ComboboxItem[];
|
|
213
272
|
value?: string;
|
|
214
273
|
defaultValue?: string;
|
|
@@ -222,22 +281,37 @@ declare const Combobox: react.ForwardRefExoticComponent<Omit<react.HTMLAttribute
|
|
|
222
281
|
disabled?: boolean;
|
|
223
282
|
loading?: boolean;
|
|
224
283
|
emptyMessage?: string;
|
|
284
|
+
emptyDescription?: string;
|
|
225
285
|
allowClear?: boolean;
|
|
226
286
|
allowScrollSelection?: boolean;
|
|
227
|
-
|
|
287
|
+
listTitle?: string;
|
|
288
|
+
listBadge?: string;
|
|
289
|
+
selectionIndicator?: Exclude<ComboboxSelectionIndicator, "checkbox">;
|
|
290
|
+
renderItem?: ComboboxRenderItem;
|
|
291
|
+
listAction?: ComboboxListAction;
|
|
292
|
+
showFooter?: boolean;
|
|
293
|
+
open?: boolean;
|
|
294
|
+
defaultOpen?: boolean;
|
|
295
|
+
onOpenChange?: (open: boolean) => void;
|
|
296
|
+
contentClassName?: string;
|
|
297
|
+
} & react.RefAttributes<HTMLInputElement>>;
|
|
228
298
|
|
|
229
299
|
type ConfirmDialogVariant = 'danger' | 'warn' | 'info';
|
|
230
300
|
type ConfirmDialogProps = {
|
|
231
|
-
trigger
|
|
301
|
+
trigger?: ReactNode;
|
|
302
|
+
open?: boolean;
|
|
303
|
+
onOpenChange?: (open: boolean) => void;
|
|
232
304
|
title: string;
|
|
233
305
|
description?: ReactNode;
|
|
306
|
+
children?: ReactNode;
|
|
234
307
|
confirmLabel?: string;
|
|
235
308
|
cancelLabel?: string;
|
|
236
309
|
variant?: ConfirmDialogVariant;
|
|
237
310
|
onConfirm: () => void | Promise<void>;
|
|
238
311
|
disabled?: boolean;
|
|
312
|
+
onCloseAutoFocus?: (event: Event) => void;
|
|
239
313
|
};
|
|
240
|
-
declare function ConfirmDialog({ trigger, title, description, confirmLabel, cancelLabel, variant, onConfirm, disabled, }: ConfirmDialogProps): react.JSX.Element;
|
|
314
|
+
declare function ConfirmDialog({ trigger, open: openProp, onOpenChange, title, description, children, confirmLabel, cancelLabel, variant, onConfirm, disabled, onCloseAutoFocus, }: ConfirmDialogProps): react.JSX.Element;
|
|
241
315
|
|
|
242
316
|
type DateInputProps = Omit<ComponentPropsWithoutRef<'input'>, 'value' | 'defaultValue' | 'onChange' | 'size'> & {
|
|
243
317
|
value?: Date;
|
|
@@ -256,7 +330,7 @@ type DateInputProps = Omit<ComponentPropsWithoutRef<'input'>, 'value' | 'default
|
|
|
256
330
|
locale?: typeof ptBR;
|
|
257
331
|
closeLabel?: string;
|
|
258
332
|
};
|
|
259
|
-
declare const DateInput: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size" | "
|
|
333
|
+
declare const DateInput: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size" | "value" | "defaultValue" | "onChange"> & {
|
|
260
334
|
value?: Date;
|
|
261
335
|
defaultValue?: Date;
|
|
262
336
|
onValueChange?: (value: Date | undefined) => void;
|
|
@@ -291,7 +365,7 @@ type DateRangeInputProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'
|
|
|
291
365
|
closeLabel?: string;
|
|
292
366
|
};
|
|
293
367
|
|
|
294
|
-
declare const DateRangeInput: react.ForwardRefExoticComponent<Omit<react.ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
368
|
+
declare const DateRangeInput: react.ForwardRefExoticComponent<Omit<react.ButtonHTMLAttributes<HTMLButtonElement>, "value" | "defaultValue" | "onChange"> & {
|
|
295
369
|
value?: DateRange;
|
|
296
370
|
defaultValue?: DateRange;
|
|
297
371
|
onChange?: (range: DateRange) => void;
|
|
@@ -329,14 +403,17 @@ declare const DialogRoot: typeof DialogRootBase & {
|
|
|
329
403
|
Header: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
330
404
|
Body: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
331
405
|
Footer: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
332
|
-
Title: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> &
|
|
406
|
+
Title: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & {
|
|
407
|
+
icon?: ReactNode;
|
|
408
|
+
iconClassName?: string;
|
|
409
|
+
} & react.RefAttributes<HTMLHeadingElement>>;
|
|
333
410
|
Description: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
|
|
334
411
|
};
|
|
335
412
|
|
|
336
413
|
type DocumentInputProps = Omit<MaskedInputProps, 'mask'>;
|
|
337
414
|
declare function DocumentInput({ normalizeRaw, ...props }: DocumentInputProps): react.JSX.Element;
|
|
338
415
|
|
|
339
|
-
type DrawerSide = 'right' | 'left' | 'bottom';
|
|
416
|
+
type DrawerSide = 'right' | 'left' | 'top' | 'bottom';
|
|
340
417
|
type DrawerSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
341
418
|
type DrawerProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Root> & {
|
|
342
419
|
children?: ReactNode;
|
|
@@ -346,6 +423,9 @@ type DrawerContentProps = ComponentPropsWithoutRef<typeof DialogPrimitive.Conten
|
|
|
346
423
|
size?: DrawerSize;
|
|
347
424
|
hideCloseButton?: boolean;
|
|
348
425
|
};
|
|
426
|
+
type DrawerFooterProps = ComponentPropsWithoutRef<'div'> & {
|
|
427
|
+
status?: ReactNode;
|
|
428
|
+
};
|
|
349
429
|
|
|
350
430
|
declare function DrawerRootBase({ children, ...props }: DrawerProps): react.JSX.Element;
|
|
351
431
|
declare namespace DrawerRootBase {
|
|
@@ -361,7 +441,9 @@ declare const DrawerRoot: typeof DrawerRootBase & {
|
|
|
361
441
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
362
442
|
Header: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
363
443
|
Body: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
364
|
-
Footer: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> &
|
|
444
|
+
Footer: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
445
|
+
status?: react.ReactNode;
|
|
446
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
365
447
|
Title: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
|
|
366
448
|
Description: react.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
|
|
367
449
|
};
|
|
@@ -375,6 +457,7 @@ type DropdownProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Root>
|
|
|
375
457
|
};
|
|
376
458
|
type DropdownContentProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>;
|
|
377
459
|
type DropdownItemProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & VariantProps<typeof dropdownItemStyles>;
|
|
460
|
+
type DropdownCheckboxItemProps = ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>;
|
|
378
461
|
declare function DropdownRoot({ children, ...props }: DropdownProps): react.JSX.Element;
|
|
379
462
|
declare namespace DropdownRoot {
|
|
380
463
|
var displayName: string;
|
|
@@ -385,6 +468,7 @@ declare const Dropdown: typeof DropdownRoot & {
|
|
|
385
468
|
Item: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
386
469
|
variant?: "default" | "danger" | null | undefined;
|
|
387
470
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & react.RefAttributes<HTMLDivElement>>;
|
|
471
|
+
CheckboxItem: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
388
472
|
Label: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
389
473
|
Separator: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
390
474
|
Group: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -418,11 +502,13 @@ type CopyButtonProps = Omit<ComponentPropsWithoutRef<'button'>, 'children'> & {
|
|
|
418
502
|
textToCopy: string;
|
|
419
503
|
children?: ReactNode;
|
|
420
504
|
unstyled?: boolean;
|
|
505
|
+
size?: 'sm' | 'md';
|
|
421
506
|
};
|
|
422
507
|
declare const CopyButton: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "children"> & {
|
|
423
508
|
textToCopy: string;
|
|
424
509
|
children?: ReactNode;
|
|
425
510
|
unstyled?: boolean;
|
|
511
|
+
size?: "sm" | "md";
|
|
426
512
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
427
513
|
|
|
428
514
|
type FilePreviewContentProps = {
|
|
@@ -447,6 +533,52 @@ type SourceProps = CommonProps & {
|
|
|
447
533
|
type FilePreviewDialogProps = FileProps | SourceProps;
|
|
448
534
|
declare function FilePreviewDialog(props: FilePreviewDialogProps): react.JSX.Element;
|
|
449
535
|
|
|
536
|
+
type FileViewCardField = {
|
|
537
|
+
label: ReactNode;
|
|
538
|
+
value: ReactNode;
|
|
539
|
+
};
|
|
540
|
+
type FileViewCardProps = Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
541
|
+
size?: 'sm' | 'lg';
|
|
542
|
+
name: ReactNode;
|
|
543
|
+
description?: ReactNode;
|
|
544
|
+
descriptionClassName?: string;
|
|
545
|
+
thumbnail?: ReactNode;
|
|
546
|
+
status?: ReactNode;
|
|
547
|
+
fields?: FileViewCardField[];
|
|
548
|
+
viewLabel?: string;
|
|
549
|
+
viewAriaLabel?: string;
|
|
550
|
+
onView?: () => void;
|
|
551
|
+
renderView?: (trigger: ReactElement) => ReactNode;
|
|
552
|
+
actions?: ReactNode;
|
|
553
|
+
};
|
|
554
|
+
declare const FileViewCard: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
555
|
+
size?: "sm" | "lg";
|
|
556
|
+
name: ReactNode;
|
|
557
|
+
description?: ReactNode;
|
|
558
|
+
descriptionClassName?: string;
|
|
559
|
+
thumbnail?: ReactNode;
|
|
560
|
+
status?: ReactNode;
|
|
561
|
+
fields?: FileViewCardField[];
|
|
562
|
+
viewLabel?: string;
|
|
563
|
+
viewAriaLabel?: string;
|
|
564
|
+
onView?: () => void;
|
|
565
|
+
renderView?: (trigger: ReactElement) => ReactNode;
|
|
566
|
+
actions?: ReactNode;
|
|
567
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
568
|
+
|
|
569
|
+
type DocumentUploadCardTone = 'neutral' | 'success' | 'warning' | 'danger';
|
|
570
|
+
type DocumentUploadCardSentFile = {
|
|
571
|
+
name: string;
|
|
572
|
+
detail?: ReactNode;
|
|
573
|
+
tone?: DocumentUploadCardTone;
|
|
574
|
+
thumbnail?: ReactNode;
|
|
575
|
+
thumbnailUrl?: string;
|
|
576
|
+
previewUrl?: string;
|
|
577
|
+
previewMimeType?: string;
|
|
578
|
+
renderPreview?: (trigger: ReactElement) => ReactNode;
|
|
579
|
+
status?: ReactNode;
|
|
580
|
+
fields?: FileViewCardField[];
|
|
581
|
+
};
|
|
450
582
|
type DocumentUploadCardProps = {
|
|
451
583
|
label: string;
|
|
452
584
|
hint?: ReactNode;
|
|
@@ -457,8 +589,24 @@ type DocumentUploadCardProps = {
|
|
|
457
589
|
maxSize?: number;
|
|
458
590
|
validate?: (file: File) => string | null;
|
|
459
591
|
onValidationError?: (message: string) => void;
|
|
592
|
+
sent?: DocumentUploadCardSentFile | null;
|
|
593
|
+
dropzonePlaceholder?: ReactNode;
|
|
594
|
+
dropzoneHint?: ReactNode;
|
|
595
|
+
showLabel?: boolean;
|
|
596
|
+
required?: boolean;
|
|
597
|
+
icon?: ReactNode;
|
|
598
|
+
bordered?: boolean;
|
|
599
|
+
size?: 'default' | 'compact';
|
|
600
|
+
selectLabel?: string;
|
|
601
|
+
replaceLabel?: string;
|
|
602
|
+
removeLabel?: string;
|
|
603
|
+
previewLabel?: string;
|
|
604
|
+
replaceText?: string;
|
|
605
|
+
removeText?: string;
|
|
606
|
+
viewText?: string;
|
|
607
|
+
className?: string;
|
|
460
608
|
};
|
|
461
|
-
declare function DocumentUploadCard({ label, hint, error, file, onSelect, accept, maxSize, validate, onValidationError, }: DocumentUploadCardProps): react.JSX.Element;
|
|
609
|
+
declare function DocumentUploadCard({ label, hint, error, file, onSelect, accept, maxSize, validate, onValidationError, sent, dropzonePlaceholder, dropzoneHint, showLabel, required, icon, bordered, size, selectLabel, replaceLabel, removeLabel, previewLabel, replaceText, removeText, viewText, className, }: DocumentUploadCardProps): react.JSX.Element;
|
|
462
610
|
|
|
463
611
|
type FileThumbnailProps = {
|
|
464
612
|
/** Direct image URL. Takes precedence over `loadPreview`. */
|
|
@@ -488,6 +636,13 @@ declare const FileUpload: react.ForwardRefExoticComponent<Omit<react.HTMLAttribu
|
|
|
488
636
|
files?: File[];
|
|
489
637
|
onFileRemove?: (file: File, index: number) => void;
|
|
490
638
|
dropzonePlaceholder?: react.ReactNode;
|
|
639
|
+
dropzoneHint?: react.ReactNode;
|
|
640
|
+
required?: boolean;
|
|
641
|
+
icon?: react.ReactNode;
|
|
642
|
+
fileDescription?: react.ReactNode;
|
|
643
|
+
replaceLabel?: string;
|
|
644
|
+
removeLabel?: string;
|
|
645
|
+
showFileInfo?: boolean;
|
|
491
646
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
492
647
|
|
|
493
648
|
type FileUploadProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'children' | 'onDrop'> & {
|
|
@@ -503,24 +658,164 @@ type FileUploadProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'childr
|
|
|
503
658
|
files?: File[];
|
|
504
659
|
onFileRemove?: (file: File, index: number) => void;
|
|
505
660
|
dropzonePlaceholder?: ReactNode;
|
|
661
|
+
dropzoneHint?: ReactNode;
|
|
662
|
+
required?: boolean;
|
|
663
|
+
icon?: ReactNode;
|
|
664
|
+
fileDescription?: ReactNode;
|
|
665
|
+
replaceLabel?: string;
|
|
666
|
+
removeLabel?: string;
|
|
667
|
+
showFileInfo?: boolean;
|
|
506
668
|
};
|
|
507
669
|
|
|
508
|
-
declare const
|
|
509
|
-
variant?: "success" | "warning" | "danger" | "info" | null | undefined;
|
|
670
|
+
declare const infoBoxStyles: (props?: ({
|
|
671
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | "turtle" | "purple" | null | undefined;
|
|
510
672
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
511
|
-
type
|
|
673
|
+
type InfoBoxVariant = NonNullable<VariantProps<typeof infoBoxStyles>['variant']>;
|
|
674
|
+
type InfoBoxProps = Omit<ComponentPropsWithoutRef<'div'>, 'title'> & VariantProps<typeof infoBoxStyles> & {
|
|
512
675
|
title?: ReactNode;
|
|
513
676
|
icon?: ReactNode;
|
|
514
677
|
hideIcon?: boolean;
|
|
678
|
+
action?: ReactNode;
|
|
679
|
+
actionPlacement?: 'end' | 'bottom';
|
|
680
|
+
onClose?: () => void;
|
|
681
|
+
closeLabel?: string;
|
|
515
682
|
};
|
|
516
|
-
declare const
|
|
517
|
-
variant?: "success" | "warning" | "danger" | "info" | null | undefined;
|
|
683
|
+
declare const InfoBox: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title"> & VariantProps<(props?: ({
|
|
684
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | "turtle" | "purple" | null | undefined;
|
|
518
685
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
519
686
|
title?: ReactNode;
|
|
520
687
|
icon?: ReactNode;
|
|
521
688
|
hideIcon?: boolean;
|
|
689
|
+
action?: ReactNode;
|
|
690
|
+
actionPlacement?: "end" | "bottom";
|
|
691
|
+
onClose?: () => void;
|
|
692
|
+
closeLabel?: string;
|
|
693
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
694
|
+
|
|
695
|
+
type FormAlertProps = InfoBoxProps;
|
|
696
|
+
declare const FormAlert: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title"> & class_variance_authority.VariantProps<(props?: ({
|
|
697
|
+
variant?: "default" | "success" | "warning" | "danger" | "info" | "turtle" | "purple" | null | undefined;
|
|
698
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
699
|
+
title?: react.ReactNode;
|
|
700
|
+
icon?: react.ReactNode;
|
|
701
|
+
hideIcon?: boolean;
|
|
702
|
+
action?: react.ReactNode;
|
|
703
|
+
actionPlacement?: "end" | "bottom";
|
|
704
|
+
onClose?: () => void;
|
|
705
|
+
closeLabel?: string;
|
|
706
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
707
|
+
|
|
708
|
+
type LogoVariant = 'full' | 'symbol';
|
|
709
|
+
type LogoTone = 'color' | 'mono';
|
|
710
|
+
type LogoProps = Omit<SVGAttributes<SVGSVGElement>, 'children'> & {
|
|
711
|
+
variant?: LogoVariant;
|
|
712
|
+
tone?: LogoTone;
|
|
713
|
+
title?: string;
|
|
714
|
+
};
|
|
715
|
+
declare const Logo: react.ForwardRefExoticComponent<Omit<SVGAttributes<SVGSVGElement>, "children"> & {
|
|
716
|
+
variant?: LogoVariant;
|
|
717
|
+
tone?: LogoTone;
|
|
718
|
+
title?: string;
|
|
719
|
+
} & react.RefAttributes<SVGSVGElement>>;
|
|
720
|
+
|
|
721
|
+
type ContentCardProps = Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
722
|
+
label: ReactNode;
|
|
723
|
+
};
|
|
724
|
+
declare const ContentCard: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
725
|
+
label: ReactNode;
|
|
726
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
727
|
+
|
|
728
|
+
type FieldsCardVariant = 'compact' | 'large';
|
|
729
|
+
type FieldsCardField = {
|
|
730
|
+
id?: string;
|
|
731
|
+
label: ReactNode;
|
|
732
|
+
value: ReactNode;
|
|
733
|
+
};
|
|
734
|
+
type FieldsCardProps = Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
735
|
+
fields: FieldsCardField[];
|
|
736
|
+
variant?: FieldsCardVariant;
|
|
737
|
+
title?: ReactNode;
|
|
738
|
+
count?: number;
|
|
739
|
+
countLabel?: string;
|
|
740
|
+
};
|
|
741
|
+
declare const FieldsCard: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
742
|
+
fields: FieldsCardField[];
|
|
743
|
+
variant?: FieldsCardVariant;
|
|
744
|
+
title?: ReactNode;
|
|
745
|
+
count?: number;
|
|
746
|
+
countLabel?: string;
|
|
747
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
748
|
+
|
|
749
|
+
type FileInfoCardProps = Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
750
|
+
thumbnail?: ReactNode;
|
|
751
|
+
label: ReactNode;
|
|
752
|
+
name: ReactNode;
|
|
753
|
+
detailLabel?: ReactNode;
|
|
754
|
+
detail?: ReactNode;
|
|
755
|
+
onView?: () => void;
|
|
756
|
+
viewLabel?: string;
|
|
757
|
+
size?: 'lg' | 'sm';
|
|
758
|
+
badge?: ReactNode;
|
|
759
|
+
};
|
|
760
|
+
declare const FileInfoCard: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
761
|
+
thumbnail?: ReactNode;
|
|
762
|
+
label: ReactNode;
|
|
763
|
+
name: ReactNode;
|
|
764
|
+
detailLabel?: ReactNode;
|
|
765
|
+
detail?: ReactNode;
|
|
766
|
+
onView?: () => void;
|
|
767
|
+
viewLabel?: string;
|
|
768
|
+
size?: "lg" | "sm";
|
|
769
|
+
badge?: ReactNode;
|
|
522
770
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
523
771
|
|
|
772
|
+
type ProgressItem = {
|
|
773
|
+
id: string;
|
|
774
|
+
label: ReactNode;
|
|
775
|
+
value: number;
|
|
776
|
+
description?: ReactNode;
|
|
777
|
+
};
|
|
778
|
+
type ProgressProps = Omit<ComponentPropsWithoutRef<'ul'>, 'children'> & {
|
|
779
|
+
items: ProgressItem[];
|
|
780
|
+
showValue?: boolean;
|
|
781
|
+
};
|
|
782
|
+
declare const Progress: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref">, "children"> & {
|
|
783
|
+
items: ProgressItem[];
|
|
784
|
+
showValue?: boolean;
|
|
785
|
+
} & react.RefAttributes<HTMLUListElement>>;
|
|
786
|
+
|
|
787
|
+
type ProgressTitleProps = Omit<ComponentPropsWithoutRef<'div'>, 'title'> & {
|
|
788
|
+
value: number;
|
|
789
|
+
title?: ReactNode;
|
|
790
|
+
description?: ReactNode;
|
|
791
|
+
size?: number;
|
|
792
|
+
strokeWidth?: number;
|
|
793
|
+
progressLabel?: string;
|
|
794
|
+
};
|
|
795
|
+
declare const ProgressTitle: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title"> & {
|
|
796
|
+
value: number;
|
|
797
|
+
title?: ReactNode;
|
|
798
|
+
description?: ReactNode;
|
|
799
|
+
size?: number;
|
|
800
|
+
strokeWidth?: number;
|
|
801
|
+
progressLabel?: string;
|
|
802
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
803
|
+
|
|
804
|
+
type ChecklistStatus = 'approved' | 'review' | 'pending';
|
|
805
|
+
type ChecklistItem = {
|
|
806
|
+
id: string;
|
|
807
|
+
label: ReactNode;
|
|
808
|
+
status: ChecklistStatus;
|
|
809
|
+
actionLabel?: ReactNode;
|
|
810
|
+
onSelect?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
811
|
+
};
|
|
812
|
+
type ChecklistProps = Omit<ComponentPropsWithoutRef<'ul'>, 'children'> & {
|
|
813
|
+
items: ChecklistItem[];
|
|
814
|
+
};
|
|
815
|
+
declare const Checklist: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref">, "children"> & {
|
|
816
|
+
items: ChecklistItem[];
|
|
817
|
+
} & react.RefAttributes<HTMLUListElement>>;
|
|
818
|
+
|
|
524
819
|
type FullScreenLoadingProps = {
|
|
525
820
|
message?: ReactNode;
|
|
526
821
|
className?: string;
|
|
@@ -531,14 +826,14 @@ declare namespace FullScreenLoading {
|
|
|
531
826
|
}
|
|
532
827
|
|
|
533
828
|
declare const headingStyles: (props?: ({
|
|
534
|
-
size?: "sm" | "md" | "lg" | "
|
|
829
|
+
size?: "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
535
830
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
536
831
|
type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
537
832
|
type HeadingProps = ComponentPropsWithoutRef<'h1'> & VariantProps<typeof headingStyles> & {
|
|
538
833
|
level?: HeadingLevel;
|
|
539
834
|
};
|
|
540
835
|
declare const Heading: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & VariantProps<(props?: ({
|
|
541
|
-
size?: "sm" | "md" | "lg" | "
|
|
836
|
+
size?: "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | null | undefined;
|
|
542
837
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
543
838
|
level?: HeadingLevel;
|
|
544
839
|
} & react.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -572,6 +867,8 @@ type ImageUploadProps = {
|
|
|
572
867
|
required?: boolean;
|
|
573
868
|
selectLabel?: string;
|
|
574
869
|
changeLabel?: string;
|
|
870
|
+
removeLabel?: string;
|
|
871
|
+
hint?: ReactNode;
|
|
575
872
|
removeConfirmTitle?: string;
|
|
576
873
|
removeConfirmDescription?: string;
|
|
577
874
|
removeConfirmLabel?: string;
|
|
@@ -584,6 +881,7 @@ declare const ImageUpload: react.ForwardRefExoticComponent<ImageUploadProps & re
|
|
|
584
881
|
declare const inputContainerStyles: (props?: ({
|
|
585
882
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
586
883
|
hasError?: boolean | null | undefined;
|
|
884
|
+
hasIcon?: boolean | null | undefined;
|
|
587
885
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
588
886
|
|
|
589
887
|
type InputProps = Omit<ComponentPropsWithoutRef<'input'>, 'size'> & Pick<VariantProps<typeof inputContainerStyles>, 'size'> & {
|
|
@@ -595,10 +893,12 @@ type InputProps = Omit<ComponentPropsWithoutRef<'input'>, 'size'> & Pick<Variant
|
|
|
595
893
|
required?: boolean;
|
|
596
894
|
floating?: boolean;
|
|
597
895
|
surface?: 'light' | 'dark';
|
|
896
|
+
containerClassName?: string;
|
|
598
897
|
};
|
|
599
898
|
declare const Input: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size"> & Pick<VariantProps<(props?: ({
|
|
600
899
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
601
900
|
hasError?: boolean | null | undefined;
|
|
901
|
+
hasIcon?: boolean | null | undefined;
|
|
602
902
|
} & class_variance_authority_types.ClassProp) | undefined) => string>, "size"> & {
|
|
603
903
|
label?: string;
|
|
604
904
|
helper?: string;
|
|
@@ -608,13 +908,16 @@ declare const Input: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTM
|
|
|
608
908
|
required?: boolean;
|
|
609
909
|
floating?: boolean;
|
|
610
910
|
surface?: "light" | "dark";
|
|
911
|
+
containerClassName?: string;
|
|
611
912
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
612
913
|
|
|
613
914
|
type LabelProps = ComponentPropsWithoutRef<'label'> & {
|
|
614
915
|
required?: boolean;
|
|
916
|
+
error?: boolean;
|
|
615
917
|
};
|
|
616
918
|
declare const Label: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
|
|
617
919
|
required?: boolean;
|
|
920
|
+
error?: boolean;
|
|
618
921
|
} & react.RefAttributes<HTMLLabelElement>>;
|
|
619
922
|
|
|
620
923
|
type MoneyInputProps = Omit<InputProps, 'value' | 'onChange'> & {
|
|
@@ -629,7 +932,10 @@ type MultiComboboxItem = {
|
|
|
629
932
|
description?: string;
|
|
630
933
|
disabled?: boolean;
|
|
631
934
|
};
|
|
632
|
-
type
|
|
935
|
+
type MultiComboboxSelectAll = boolean | {
|
|
936
|
+
label?: string;
|
|
937
|
+
};
|
|
938
|
+
type MultiComboboxProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onChange' | 'defaultValue'> & {
|
|
633
939
|
items: MultiComboboxItem[];
|
|
634
940
|
value?: string[];
|
|
635
941
|
defaultValue?: string[];
|
|
@@ -643,11 +949,22 @@ type MultiComboboxProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onC
|
|
|
643
949
|
disabled?: boolean;
|
|
644
950
|
loading?: boolean;
|
|
645
951
|
emptyMessage?: string;
|
|
952
|
+
emptyDescription?: string;
|
|
646
953
|
maxChipsVisible?: number;
|
|
647
954
|
contentClassName?: string;
|
|
955
|
+
listTitle?: string;
|
|
956
|
+
listBadge?: string;
|
|
957
|
+
selectionIndicator?: Exclude<ComboboxSelectionIndicator, 'radio'>;
|
|
958
|
+
selectAll?: MultiComboboxSelectAll;
|
|
959
|
+
renderItem?: ComboboxRenderItem;
|
|
960
|
+
listAction?: ComboboxListAction;
|
|
961
|
+
showFooter?: boolean;
|
|
962
|
+
open?: boolean;
|
|
963
|
+
defaultOpen?: boolean;
|
|
964
|
+
onOpenChange?: (open: boolean) => void;
|
|
648
965
|
};
|
|
649
966
|
|
|
650
|
-
declare const MultiCombobox: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLDivElement>, "children" | "onChange"> & {
|
|
967
|
+
declare const MultiCombobox: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLDivElement>, "children" | "defaultValue" | "onChange"> & {
|
|
651
968
|
items: MultiComboboxItem[];
|
|
652
969
|
value?: string[];
|
|
653
970
|
defaultValue?: string[];
|
|
@@ -661,9 +978,20 @@ declare const MultiCombobox: react.ForwardRefExoticComponent<Omit<react.HTMLAttr
|
|
|
661
978
|
disabled?: boolean;
|
|
662
979
|
loading?: boolean;
|
|
663
980
|
emptyMessage?: string;
|
|
981
|
+
emptyDescription?: string;
|
|
664
982
|
maxChipsVisible?: number;
|
|
665
983
|
contentClassName?: string;
|
|
666
|
-
|
|
984
|
+
listTitle?: string;
|
|
985
|
+
listBadge?: string;
|
|
986
|
+
selectionIndicator?: Exclude<ComboboxSelectionIndicator, "radio">;
|
|
987
|
+
selectAll?: MultiComboboxSelectAll;
|
|
988
|
+
renderItem?: ComboboxRenderItem;
|
|
989
|
+
listAction?: ComboboxListAction;
|
|
990
|
+
showFooter?: boolean;
|
|
991
|
+
open?: boolean;
|
|
992
|
+
defaultOpen?: boolean;
|
|
993
|
+
onOpenChange?: (open: boolean) => void;
|
|
994
|
+
} & react.RefAttributes<HTMLInputElement>>;
|
|
667
995
|
|
|
668
996
|
type OtpInputProps = {
|
|
669
997
|
value?: string;
|
|
@@ -673,10 +1001,14 @@ type OtpInputProps = {
|
|
|
673
1001
|
name?: string;
|
|
674
1002
|
length?: number;
|
|
675
1003
|
surface?: 'light' | 'dark';
|
|
1004
|
+
label?: string;
|
|
1005
|
+
required?: boolean;
|
|
1006
|
+
helper?: string;
|
|
676
1007
|
error?: string;
|
|
677
1008
|
disabled?: boolean;
|
|
678
1009
|
autoFocus?: boolean;
|
|
679
1010
|
className?: string;
|
|
1011
|
+
ariaLabel?: string;
|
|
680
1012
|
};
|
|
681
1013
|
declare const OtpInput: react.ForwardRefExoticComponent<OtpInputProps & react.RefAttributes<HTMLInputElement>>;
|
|
682
1014
|
|
|
@@ -716,6 +1048,7 @@ declare const Popover: typeof PopoverRoot & {
|
|
|
716
1048
|
type RadioItem = {
|
|
717
1049
|
value: string;
|
|
718
1050
|
label: ReactNode;
|
|
1051
|
+
helper?: ReactNode;
|
|
719
1052
|
disabled?: boolean;
|
|
720
1053
|
};
|
|
721
1054
|
type RadioGroupProps = ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> & {
|
|
@@ -735,6 +1068,20 @@ declare const RadioGroup: react.ForwardRefExoticComponent<Omit<RadioGroupPrimiti
|
|
|
735
1068
|
orientation?: "horizontal" | "vertical";
|
|
736
1069
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
737
1070
|
|
|
1071
|
+
type SelectableCardIndicator = 'checkbox' | 'radio' | 'none';
|
|
1072
|
+
type SelectableCardProps = Omit<ComponentPropsWithoutRef<'button'>, 'onChange'> & {
|
|
1073
|
+
selected?: boolean;
|
|
1074
|
+
defaultSelected?: boolean;
|
|
1075
|
+
onSelectedChange?: (selected: boolean) => void;
|
|
1076
|
+
indicator?: SelectableCardIndicator;
|
|
1077
|
+
};
|
|
1078
|
+
declare const SelectableCard: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "onChange"> & {
|
|
1079
|
+
selected?: boolean;
|
|
1080
|
+
defaultSelected?: boolean;
|
|
1081
|
+
onSelectedChange?: (selected: boolean) => void;
|
|
1082
|
+
indicator?: SelectableCardIndicator;
|
|
1083
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1084
|
+
|
|
738
1085
|
type SeparatorProps = ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>;
|
|
739
1086
|
declare const Separator: react.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
740
1087
|
|
|
@@ -745,15 +1092,18 @@ type StepperStep = {
|
|
|
745
1092
|
description?: string;
|
|
746
1093
|
state: StepState;
|
|
747
1094
|
optional?: boolean;
|
|
1095
|
+
disabled?: boolean;
|
|
748
1096
|
};
|
|
749
1097
|
type StepperProps = Omit<HTMLAttributes<HTMLOListElement>, 'children'> & {
|
|
750
1098
|
steps: StepperStep[];
|
|
751
1099
|
orientation?: 'horizontal' | 'vertical';
|
|
1100
|
+
onStepClick?: (id: string) => void;
|
|
752
1101
|
};
|
|
753
1102
|
|
|
754
1103
|
declare const Stepper: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLOListElement>, "children"> & {
|
|
755
1104
|
steps: StepperStep[];
|
|
756
1105
|
orientation?: "horizontal" | "vertical";
|
|
1106
|
+
onStepClick?: (id: string) => void;
|
|
757
1107
|
} & react.RefAttributes<HTMLOListElement>>;
|
|
758
1108
|
|
|
759
1109
|
declare const skeletonStyles: (props?: ({
|
|
@@ -818,9 +1168,18 @@ declare const Switch: react.ForwardRefExoticComponent<Omit<SwitchPrimitive.Switc
|
|
|
818
1168
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
819
1169
|
|
|
820
1170
|
type TabsVariant = 'pill' | 'underline';
|
|
1171
|
+
type TabsTriggerTone = 'brand' | 'brand-subtle' | 'success' | 'warning' | 'danger' | 'info' | 'turtle' | 'purple';
|
|
1172
|
+
type TabsTriggerProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> & {
|
|
1173
|
+
icon?: ReactNode;
|
|
1174
|
+
count?: ReactNode;
|
|
1175
|
+
tone?: TabsTriggerTone;
|
|
1176
|
+
};
|
|
821
1177
|
type TabsProps = ComponentPropsWithoutRef<typeof TabsPrimitive.Root> & {
|
|
822
1178
|
children?: ReactNode;
|
|
823
1179
|
};
|
|
1180
|
+
type TabsListProps = ComponentPropsWithoutRef<typeof TabsPrimitive.List> & {
|
|
1181
|
+
variant?: TabsVariant;
|
|
1182
|
+
};
|
|
824
1183
|
declare function TabsRoot({ children, className, ...props }: TabsProps): react.JSX.Element;
|
|
825
1184
|
declare namespace TabsRoot {
|
|
826
1185
|
var displayName: string;
|
|
@@ -829,28 +1188,25 @@ declare const Tabs: typeof TabsRoot & {
|
|
|
829
1188
|
List: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
830
1189
|
variant?: TabsVariant;
|
|
831
1190
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
832
|
-
Trigger: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> &
|
|
1191
|
+
Trigger: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1192
|
+
icon?: ReactNode;
|
|
1193
|
+
count?: ReactNode;
|
|
1194
|
+
tone?: TabsTriggerTone;
|
|
1195
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
833
1196
|
Content: react.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
834
1197
|
};
|
|
835
1198
|
|
|
836
1199
|
declare const ThemeToggle: react.ForwardRefExoticComponent<Omit<react.ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
|
|
837
1200
|
size?: "sm" | "md" | "lg";
|
|
838
|
-
ariaLabelLight?: string;
|
|
839
|
-
ariaLabelDark?: string;
|
|
840
|
-
storageKey?: string;
|
|
841
1201
|
} & react.RefAttributes<HTMLButtonElement>>;
|
|
842
1202
|
|
|
843
|
-
type ThemeMode = 'light' | 'dark';
|
|
844
1203
|
type ThemeToggleProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> & {
|
|
845
1204
|
size?: 'sm' | 'md' | 'lg';
|
|
846
|
-
ariaLabelLight?: string;
|
|
847
|
-
ariaLabelDark?: string;
|
|
848
|
-
storageKey?: string;
|
|
849
1205
|
};
|
|
850
1206
|
|
|
851
1207
|
declare const textStyles: (props?: ({
|
|
852
1208
|
size?: "sm" | "lg" | "base" | "xs" | null | undefined;
|
|
853
|
-
color?: "default" | "danger" | "
|
|
1209
|
+
color?: "default" | "danger" | "subtle" | "muted" | null | undefined;
|
|
854
1210
|
weight?: "bold" | "normal" | "medium" | "semibold" | null | undefined;
|
|
855
1211
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
856
1212
|
type TextProps = (ComponentPropsWithoutRef<'p'> & VariantProps<typeof textStyles> & {
|
|
@@ -876,6 +1232,24 @@ type TextAreaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
|
876
1232
|
required?: boolean;
|
|
877
1233
|
};
|
|
878
1234
|
|
|
1235
|
+
type ToggleChipTone = TabsTriggerTone;
|
|
1236
|
+
type ToggleChipProps = Omit<ComponentPropsWithoutRef<'button'>, 'onChange'> & {
|
|
1237
|
+
pressed?: boolean;
|
|
1238
|
+
defaultPressed?: boolean;
|
|
1239
|
+
onPressedChange?: (pressed: boolean) => void;
|
|
1240
|
+
tone?: ToggleChipTone;
|
|
1241
|
+
icon?: ReactNode;
|
|
1242
|
+
count?: ReactNode;
|
|
1243
|
+
};
|
|
1244
|
+
declare const ToggleChip: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "onChange"> & {
|
|
1245
|
+
pressed?: boolean;
|
|
1246
|
+
defaultPressed?: boolean;
|
|
1247
|
+
onPressedChange?: (pressed: boolean) => void;
|
|
1248
|
+
tone?: ToggleChipTone;
|
|
1249
|
+
icon?: ReactNode;
|
|
1250
|
+
count?: ReactNode;
|
|
1251
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1252
|
+
|
|
879
1253
|
type TooltipProps = {
|
|
880
1254
|
content: ReactNode;
|
|
881
1255
|
children: ReactNode;
|
|
@@ -906,7 +1280,7 @@ type ToasterProps = {
|
|
|
906
1280
|
};
|
|
907
1281
|
declare function Toaster({ duration, visibleToasts, expand, position, className, }: ToasterProps): react.JSX.Element;
|
|
908
1282
|
|
|
909
|
-
type ToastVariant = 'default' | 'success' | 'warning' | 'danger' | 'info';
|
|
1283
|
+
type ToastVariant = 'default' | 'success' | 'warning' | 'danger' | 'info' | 'turtle' | 'purple';
|
|
910
1284
|
type ToastOptions = {
|
|
911
1285
|
title?: ReactNode;
|
|
912
1286
|
description?: ReactNode;
|
|
@@ -923,6 +1297,8 @@ type ToastFn = {
|
|
|
923
1297
|
warning: (input: string | ToastOptions) => string;
|
|
924
1298
|
danger: (input: string | ToastOptions) => string;
|
|
925
1299
|
info: (input: string | ToastOptions) => string;
|
|
1300
|
+
turtle: (input: string | ToastOptions) => string;
|
|
1301
|
+
purple: (input: string | ToastOptions) => string;
|
|
926
1302
|
};
|
|
927
1303
|
declare const toast: ToastFn;
|
|
928
1304
|
declare function dismissToast(id: string): void;
|
|
@@ -931,6 +1307,21 @@ declare function useToast(): {
|
|
|
931
1307
|
dismiss: (id: string) => void;
|
|
932
1308
|
};
|
|
933
1309
|
|
|
1310
|
+
type TitleSelectOption = {
|
|
1311
|
+
value: string;
|
|
1312
|
+
label: ReactNode;
|
|
1313
|
+
};
|
|
1314
|
+
type TitleSelectProps = {
|
|
1315
|
+
options: TitleSelectOption[];
|
|
1316
|
+
value: string;
|
|
1317
|
+
onValueChange?: (value: string) => void;
|
|
1318
|
+
icon?: ReactNode;
|
|
1319
|
+
iconClassName?: string;
|
|
1320
|
+
'aria-label'?: string;
|
|
1321
|
+
className?: string;
|
|
1322
|
+
};
|
|
1323
|
+
declare const TitleSelect: react.ForwardRefExoticComponent<TitleSelectProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1324
|
+
|
|
934
1325
|
type SidebarItem = {
|
|
935
1326
|
id: string;
|
|
936
1327
|
label: string;
|
|
@@ -953,10 +1344,13 @@ type SidebarProps = Omit<HTMLAttributes<HTMLElement>, 'children'> & {
|
|
|
953
1344
|
renderLink?: (item: SidebarItem, children: ReactNode) => ReactNode;
|
|
954
1345
|
linkComponent?: DsLinkComponent;
|
|
955
1346
|
headerSlot?: ReactNode;
|
|
1347
|
+
collapsedHeaderSlot?: ReactNode;
|
|
956
1348
|
ariaLabel?: string;
|
|
957
1349
|
collapsedWidth?: string;
|
|
958
1350
|
expandedWidth?: string;
|
|
959
1351
|
enableShortcut?: boolean;
|
|
1352
|
+
collapseLabel?: string;
|
|
1353
|
+
expandLabel?: string;
|
|
960
1354
|
};
|
|
961
1355
|
|
|
962
1356
|
declare const Sidebar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "children"> & {
|
|
@@ -968,10 +1362,13 @@ declare const Sidebar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes
|
|
|
968
1362
|
renderLink?: (item: SidebarItem, children: ReactNode) => ReactNode;
|
|
969
1363
|
linkComponent?: DsLinkComponent;
|
|
970
1364
|
headerSlot?: ReactNode;
|
|
1365
|
+
collapsedHeaderSlot?: ReactNode;
|
|
971
1366
|
ariaLabel?: string;
|
|
972
1367
|
collapsedWidth?: string;
|
|
973
1368
|
expandedWidth?: string;
|
|
974
1369
|
enableShortcut?: boolean;
|
|
1370
|
+
collapseLabel?: string;
|
|
1371
|
+
expandLabel?: string;
|
|
975
1372
|
} & react.RefAttributes<HTMLElement>>;
|
|
976
1373
|
|
|
977
1374
|
type AppShellProps = {
|
|
@@ -985,14 +1382,15 @@ type AppShellProps = {
|
|
|
985
1382
|
themeToggle?: ReactNode;
|
|
986
1383
|
userMenu?: ReactNode;
|
|
987
1384
|
headerSlot?: ReactNode;
|
|
1385
|
+
collapsedHeaderSlot?: ReactNode;
|
|
988
1386
|
defaultSidebarCollapsed?: boolean;
|
|
989
1387
|
};
|
|
990
|
-
declare function AppShell({ children, sidebarGroups, currentPath, linkComponent, pageTitle, searchTrigger, notificationCenter, themeToggle, userMenu, headerSlot, defaultSidebarCollapsed, }: AppShellProps): react.JSX.Element;
|
|
1388
|
+
declare function AppShell({ children, sidebarGroups, currentPath, linkComponent, pageTitle, searchTrigger, notificationCenter, themeToggle, userMenu, headerSlot, collapsedHeaderSlot, defaultSidebarCollapsed, }: AppShellProps): react.JSX.Element;
|
|
991
1389
|
declare namespace AppShell {
|
|
992
1390
|
var displayName: string;
|
|
993
1391
|
}
|
|
994
1392
|
|
|
995
|
-
type KpiHeroTone = 'brand' | 'info' | '
|
|
1393
|
+
type KpiHeroTone = 'brand' | 'success' | 'warning' | 'error' | 'info' | 'turtle' | 'purple' | 'warn' | 'danger';
|
|
996
1394
|
type KpiHeroTrendDirection = 'up' | 'down' | 'flat';
|
|
997
1395
|
type KpiHeroTrend = {
|
|
998
1396
|
direction: KpiHeroTrendDirection;
|
|
@@ -1004,14 +1402,19 @@ type KpiHeroProps = {
|
|
|
1004
1402
|
sub?: ReactNode;
|
|
1005
1403
|
trend?: KpiHeroTrend;
|
|
1006
1404
|
icon: ReactNode;
|
|
1405
|
+
prefix?: ReactNode;
|
|
1406
|
+
badge?: ReactNode;
|
|
1407
|
+
loading?: boolean;
|
|
1007
1408
|
tone: KpiHeroTone;
|
|
1008
1409
|
sparkline?: number[];
|
|
1009
1410
|
to?: string;
|
|
1010
1411
|
cta?: string;
|
|
1011
1412
|
linkComponent?: DsLinkComponent;
|
|
1413
|
+
onSelect?: () => void;
|
|
1414
|
+
selected?: boolean;
|
|
1012
1415
|
};
|
|
1013
1416
|
|
|
1014
|
-
declare function KpiHero({ label, value, sub, trend, icon, tone, sparkline, to, cta, linkComponent, }: KpiHeroProps): react.JSX.Element;
|
|
1417
|
+
declare function KpiHero({ label, value, sub, trend, icon, tone, prefix, badge, loading, sparkline, to, cta, linkComponent, onSelect, selected, }: KpiHeroProps): react.JSX.Element;
|
|
1015
1418
|
|
|
1016
1419
|
type DashboardReason = 'permission_denied' | 'not_applicable_for_scope' | 'source_data_missing' | 'not_implemented' | 'invalid_period';
|
|
1017
1420
|
type DashboardBlockData = {
|
|
@@ -1081,6 +1484,39 @@ type DataTableComponent = <T>(props: DataTableProps<T> & {
|
|
|
1081
1484
|
}) => ReactNode;
|
|
1082
1485
|
declare const DataTable: DataTableComponent;
|
|
1083
1486
|
|
|
1487
|
+
type DataTableTextCellProps = Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
1488
|
+
title?: ReactNode;
|
|
1489
|
+
info?: ReactNode;
|
|
1490
|
+
};
|
|
1491
|
+
declare const DataTableTextCell: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
1492
|
+
title?: ReactNode;
|
|
1493
|
+
info?: ReactNode;
|
|
1494
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1495
|
+
type DataTableLinkCellProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1496
|
+
hideIcon?: boolean;
|
|
1497
|
+
asChild?: boolean;
|
|
1498
|
+
};
|
|
1499
|
+
declare const DataTableLinkCell: react.ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1500
|
+
hideIcon?: boolean;
|
|
1501
|
+
asChild?: boolean;
|
|
1502
|
+
} & react.RefAttributes<HTMLAnchorElement>>;
|
|
1503
|
+
type DataTableDocumentCellProps = Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
1504
|
+
thumbnail?: ReactNode;
|
|
1505
|
+
title: ReactNode;
|
|
1506
|
+
};
|
|
1507
|
+
declare const DataTableDocumentCell: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
1508
|
+
thumbnail?: ReactNode;
|
|
1509
|
+
title: ReactNode;
|
|
1510
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1511
|
+
type DataTableActionButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1512
|
+
'aria-label': string;
|
|
1513
|
+
asChild?: boolean;
|
|
1514
|
+
};
|
|
1515
|
+
declare const DataTableActionButton: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1516
|
+
'aria-label': string;
|
|
1517
|
+
asChild?: boolean;
|
|
1518
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1519
|
+
|
|
1084
1520
|
declare const DataTablePagination: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "children"> & {
|
|
1085
1521
|
page: number;
|
|
1086
1522
|
perPage: number;
|
|
@@ -1094,6 +1530,9 @@ declare const DataTablePagination: react.ForwardRefExoticComponent<Omit<react.HT
|
|
|
1094
1530
|
perPageLabel?: string;
|
|
1095
1531
|
prevAriaLabel?: string;
|
|
1096
1532
|
nextAriaLabel?: string;
|
|
1533
|
+
variant?: "pages" | "buttons";
|
|
1534
|
+
prevLabel?: string;
|
|
1535
|
+
nextLabel?: string;
|
|
1097
1536
|
} & react.RefAttributes<HTMLElement>>;
|
|
1098
1537
|
|
|
1099
1538
|
type DataTablePaginationProps = Omit<HTMLAttributes<HTMLElement>, 'children'> & {
|
|
@@ -1109,6 +1548,9 @@ type DataTablePaginationProps = Omit<HTMLAttributes<HTMLElement>, 'children'> &
|
|
|
1109
1548
|
perPageLabel?: string;
|
|
1110
1549
|
prevAriaLabel?: string;
|
|
1111
1550
|
nextAriaLabel?: string;
|
|
1551
|
+
variant?: 'pages' | 'buttons';
|
|
1552
|
+
prevLabel?: string;
|
|
1553
|
+
nextLabel?: string;
|
|
1112
1554
|
};
|
|
1113
1555
|
|
|
1114
1556
|
type BadgeVariant = NonNullable<BadgeProps['variant']>;
|
|
@@ -1290,6 +1732,29 @@ type ErrorPageLayoutProps = Omit<PublicPageLayoutProps, 'children'> & {
|
|
|
1290
1732
|
illustration?: ReactNode;
|
|
1291
1733
|
};
|
|
1292
1734
|
|
|
1735
|
+
type PageTitleInfoItem = {
|
|
1736
|
+
label: ReactNode;
|
|
1737
|
+
value: ReactNode;
|
|
1738
|
+
};
|
|
1739
|
+
type PageTitleProps = Omit<HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
1740
|
+
title: ReactNode;
|
|
1741
|
+
subtitle?: ReactNode;
|
|
1742
|
+
badge?: ReactNode;
|
|
1743
|
+
actions?: ReactNode;
|
|
1744
|
+
info?: PageTitleInfoItem[];
|
|
1745
|
+
onBack?: () => void;
|
|
1746
|
+
backLabel?: string;
|
|
1747
|
+
};
|
|
1748
|
+
declare const PageTitle: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
1749
|
+
title: ReactNode;
|
|
1750
|
+
subtitle?: ReactNode;
|
|
1751
|
+
badge?: ReactNode;
|
|
1752
|
+
actions?: ReactNode;
|
|
1753
|
+
info?: PageTitleInfoItem[];
|
|
1754
|
+
onBack?: () => void;
|
|
1755
|
+
backLabel?: string;
|
|
1756
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1757
|
+
|
|
1293
1758
|
declare const Topbar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "children"> & {
|
|
1294
1759
|
pageTitle?: react.ReactNode;
|
|
1295
1760
|
searchTrigger?: react.ReactNode;
|
|
@@ -1308,10 +1773,23 @@ type TopbarProps = Omit<HTMLAttributes<HTMLElement>, 'children'> & {
|
|
|
1308
1773
|
ariaLabel?: string;
|
|
1309
1774
|
};
|
|
1310
1775
|
|
|
1776
|
+
type TopbarSearchButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1777
|
+
placeholder?: ReactNode;
|
|
1778
|
+
};
|
|
1779
|
+
declare const TopbarSearchButton: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1780
|
+
placeholder?: ReactNode;
|
|
1781
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1782
|
+
type TopbarIconButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1783
|
+
'aria-label': string;
|
|
1784
|
+
};
|
|
1785
|
+
declare const TopbarIconButton: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1786
|
+
'aria-label': string;
|
|
1787
|
+
} & react.RefAttributes<HTMLButtonElement>>;
|
|
1788
|
+
|
|
1311
1789
|
declare const TutorialCard: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title"> & {
|
|
1312
1790
|
title: string;
|
|
1313
1791
|
description?: string;
|
|
1314
|
-
media?:
|
|
1792
|
+
media?: ReactNode;
|
|
1315
1793
|
duration?: string;
|
|
1316
1794
|
category?: string;
|
|
1317
1795
|
asChild?: boolean;
|
|
@@ -1326,21 +1804,49 @@ type TutorialCardProps = Omit<ComponentPropsWithoutRef<'div'>, 'title'> & {
|
|
|
1326
1804
|
asChild?: boolean;
|
|
1327
1805
|
};
|
|
1328
1806
|
|
|
1329
|
-
type KpiCardVariant = 'neutral' | 'success' | 'warning' | 'danger' | 'info';
|
|
1330
|
-
type
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1807
|
+
type KpiCardVariant = 'neutral' | 'brand' | 'success' | 'warning' | 'danger' | 'error' | 'info' | 'turtle' | 'purple';
|
|
1808
|
+
type KpiCardProgressTone = 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
1809
|
+
type KpiCardProgress = {
|
|
1810
|
+
label: ReactNode;
|
|
1811
|
+
value: number;
|
|
1812
|
+
tone?: KpiCardProgressTone;
|
|
1813
|
+
};
|
|
1814
|
+
type KpiCardProps = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'prefix'> & {
|
|
1815
|
+
label: ReactNode;
|
|
1816
|
+
value: ReactNode;
|
|
1817
|
+
prefix?: ReactNode;
|
|
1818
|
+
sublabel?: ReactNode;
|
|
1819
|
+
description?: ReactNode;
|
|
1820
|
+
info?: ReactNode;
|
|
1821
|
+
badge?: ReactNode;
|
|
1334
1822
|
variant?: KpiCardVariant;
|
|
1335
1823
|
icon?: ReactNode;
|
|
1824
|
+
onLabelClick?: () => void;
|
|
1825
|
+
labelOptions?: TitleSelectOption[];
|
|
1826
|
+
labelValue?: string;
|
|
1827
|
+
onLabelChange?: (value: string) => void;
|
|
1828
|
+
labelMenuLabel?: string;
|
|
1829
|
+
progress?: KpiCardProgress;
|
|
1830
|
+
action?: ReactNode;
|
|
1336
1831
|
};
|
|
1337
1832
|
|
|
1338
|
-
declare const KpiCard: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1339
|
-
label:
|
|
1340
|
-
value:
|
|
1341
|
-
|
|
1833
|
+
declare const KpiCard: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLDivElement>, "prefix" | "children"> & {
|
|
1834
|
+
label: react.ReactNode;
|
|
1835
|
+
value: react.ReactNode;
|
|
1836
|
+
prefix?: react.ReactNode;
|
|
1837
|
+
sublabel?: react.ReactNode;
|
|
1838
|
+
description?: react.ReactNode;
|
|
1839
|
+
info?: react.ReactNode;
|
|
1840
|
+
badge?: react.ReactNode;
|
|
1342
1841
|
variant?: KpiCardVariant;
|
|
1343
1842
|
icon?: react.ReactNode;
|
|
1843
|
+
onLabelClick?: () => void;
|
|
1844
|
+
labelOptions?: TitleSelectOption[];
|
|
1845
|
+
labelValue?: string;
|
|
1846
|
+
onLabelChange?: (value: string) => void;
|
|
1847
|
+
labelMenuLabel?: string;
|
|
1848
|
+
progress?: KpiCardProgress;
|
|
1849
|
+
action?: react.ReactNode;
|
|
1344
1850
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
1345
1851
|
|
|
1346
1852
|
type CommandItem = {
|
|
@@ -1410,6 +1916,8 @@ type DonutChartSlice = {
|
|
|
1410
1916
|
};
|
|
1411
1917
|
type DonutChartProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
1412
1918
|
title: ReactNode;
|
|
1919
|
+
hideTitle?: boolean;
|
|
1920
|
+
hideCenter?: boolean;
|
|
1413
1921
|
data: DonutChartSlice[];
|
|
1414
1922
|
total?: number;
|
|
1415
1923
|
centerValue?: string | number;
|
|
@@ -1424,6 +1932,8 @@ type DonutChartProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
|
1424
1932
|
|
|
1425
1933
|
declare const DonutChart: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1426
1934
|
title: react.ReactNode;
|
|
1935
|
+
hideTitle?: boolean;
|
|
1936
|
+
hideCenter?: boolean;
|
|
1427
1937
|
data: DonutChartSlice[];
|
|
1428
1938
|
total?: number;
|
|
1429
1939
|
centerValue?: string | number;
|
|
@@ -1529,13 +2039,14 @@ type DateRangeFilterField = FilterFieldBase & {
|
|
|
1529
2039
|
};
|
|
1530
2040
|
type NumberRangeFilterField = FilterFieldBase & {
|
|
1531
2041
|
type: 'numberRange';
|
|
1532
|
-
format?: 'decimal' | 'money' | 'percent';
|
|
2042
|
+
format?: 'decimal' | 'integer' | 'money' | 'percent';
|
|
2043
|
+
maxDigits?: number;
|
|
1533
2044
|
minLabel?: string;
|
|
1534
2045
|
maxLabel?: string;
|
|
1535
2046
|
};
|
|
1536
2047
|
type FilterField = TextFilterField | MaskFilterField | SelectFilterField | MultiSelectFilterField | DateRangeFilterField | NumberRangeFilterField;
|
|
1537
2048
|
type FilterFormValues = Record<string, unknown>;
|
|
1538
|
-
type
|
|
2049
|
+
type FilterBarProps = {
|
|
1539
2050
|
fields: FilterField[];
|
|
1540
2051
|
values?: FilterFormValues;
|
|
1541
2052
|
defaultValues?: FilterFormValues;
|
|
@@ -1552,7 +2063,18 @@ type FilterBarV2Props = {
|
|
|
1552
2063
|
onOpenChange?: (open: boolean) => void;
|
|
1553
2064
|
};
|
|
1554
2065
|
|
|
1555
|
-
declare function
|
|
2066
|
+
declare function FilterBar({ fields, values: controlledValues, defaultValues, activeCount, onApply, onClear, title, applyLabel, clearLabel, className, defaultOpen, hideTrigger, open: controlledOpen, onOpenChange, }: FilterBarProps): react.JSX.Element;
|
|
2067
|
+
|
|
2068
|
+
type FilterToolbarProps = HTMLAttributes<HTMLDivElement> & {
|
|
2069
|
+
onClearAll?: () => void;
|
|
2070
|
+
showClearAll?: boolean;
|
|
2071
|
+
clearAllLabel?: string;
|
|
2072
|
+
};
|
|
2073
|
+
declare const FilterToolbar: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
2074
|
+
onClearAll?: () => void;
|
|
2075
|
+
showClearAll?: boolean;
|
|
2076
|
+
clearAllLabel?: string;
|
|
2077
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
1556
2078
|
|
|
1557
2079
|
type FormSectionProps = {
|
|
1558
2080
|
id: string;
|
|
@@ -1643,6 +2165,7 @@ declare const PanelCard: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTM
|
|
|
1643
2165
|
|
|
1644
2166
|
type SectionCardProps = {
|
|
1645
2167
|
title: string;
|
|
2168
|
+
subtitle?: ReactNode;
|
|
1646
2169
|
icon?: ReactNode;
|
|
1647
2170
|
action?: ReactNode;
|
|
1648
2171
|
children: ReactNode;
|
|
@@ -1650,7 +2173,7 @@ type SectionCardProps = {
|
|
|
1650
2173
|
highlight?: boolean;
|
|
1651
2174
|
className?: string;
|
|
1652
2175
|
};
|
|
1653
|
-
declare function SectionCard({ title, icon, action, children, id, highlight, className, }: SectionCardProps): react.JSX.Element;
|
|
2176
|
+
declare function SectionCard({ title, subtitle, icon, action, children, id, highlight, className, }: SectionCardProps): react.JSX.Element;
|
|
1654
2177
|
|
|
1655
2178
|
type StackSeries = {
|
|
1656
2179
|
name: string;
|
|
@@ -1705,4 +2228,46 @@ type WorkflowDesignerProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> &
|
|
|
1705
2228
|
|
|
1706
2229
|
declare function WorkflowDesigner({ phases, nodes, edges, selectedNodeId, onNodeSelect, showSidePanel, className, ...props }: WorkflowDesignerProps): react.JSX.Element;
|
|
1707
2230
|
|
|
1708
|
-
|
|
2231
|
+
type TimelineTone = 'neutral' | 'success' | 'danger' | 'warning' | 'info';
|
|
2232
|
+
type TimelineProps = ComponentPropsWithoutRef<'ul'>;
|
|
2233
|
+
declare const Timeline: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & react.RefAttributes<HTMLUListElement>>;
|
|
2234
|
+
type TimelineItemProps = Omit<ComponentPropsWithoutRef<'li'>, 'title'> & {
|
|
2235
|
+
icon: ReactNode;
|
|
2236
|
+
title: ReactNode;
|
|
2237
|
+
tone?: TimelineTone;
|
|
2238
|
+
badge?: ReactNode;
|
|
2239
|
+
time?: ReactNode;
|
|
2240
|
+
dateTime?: string;
|
|
2241
|
+
timeTitle?: string;
|
|
2242
|
+
error?: boolean;
|
|
2243
|
+
open?: boolean;
|
|
2244
|
+
defaultOpen?: boolean;
|
|
2245
|
+
onOpenChange?: (open: boolean) => void;
|
|
2246
|
+
};
|
|
2247
|
+
declare const TimelineItem: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref">, "title"> & {
|
|
2248
|
+
icon: ReactNode;
|
|
2249
|
+
title: ReactNode;
|
|
2250
|
+
tone?: TimelineTone;
|
|
2251
|
+
badge?: ReactNode;
|
|
2252
|
+
time?: ReactNode;
|
|
2253
|
+
dateTime?: string;
|
|
2254
|
+
timeTitle?: string;
|
|
2255
|
+
error?: boolean;
|
|
2256
|
+
open?: boolean;
|
|
2257
|
+
defaultOpen?: boolean;
|
|
2258
|
+
onOpenChange?: (open: boolean) => void;
|
|
2259
|
+
} & react.RefAttributes<HTMLLIElement>>;
|
|
2260
|
+
type TimelineDaySeparatorProps = ComponentPropsWithoutRef<'li'> & {
|
|
2261
|
+
label: ReactNode;
|
|
2262
|
+
};
|
|
2263
|
+
declare const TimelineDaySeparator: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
2264
|
+
label: ReactNode;
|
|
2265
|
+
} & react.RefAttributes<HTMLLIElement>>;
|
|
2266
|
+
type TimelineSectionProps = Omit<ComponentPropsWithoutRef<'section'>, 'title'> & {
|
|
2267
|
+
title: ReactNode;
|
|
2268
|
+
};
|
|
2269
|
+
declare const TimelineSection: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">, "title"> & {
|
|
2270
|
+
title: ReactNode;
|
|
2271
|
+
} & react.RefAttributes<HTMLElement>>;
|
|
2272
|
+
|
|
2273
|
+
export { AppShell, type AppShellProps, Avatar, type AvatarColor, type AvatarProps, type AvatarSize, type AvatarTone, Badge, type BadgeProps, type BadgeVariant, Box, type BoxProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonProps, Card, type CardProps, CepInput, type CepInputProps, ChartTimeSeries, type ChartTimeSeriesPoint, type ChartTimeSeriesProps, Checkbox, type CheckboxProps, Checklist, type ChecklistItem, type ChecklistProps, type ChecklistStatus, ColorPicker, type ColorPickerProps, Combobox, type ComboboxItem, type ComboboxListAction, type ComboboxProps, type ComboboxRenderItem, type ComboboxRenderItemState, type ComboboxSelectionIndicator, type CommandGroup, type CommandItem, CommandPalette, type CommandPaletteProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, ContentCard, type ContentCardProps, ContextMenu, type ContextMenuContentProps, type ContextMenuItemProps, type ContextMenuProps, CopyButton, type CopyButtonProps, DSAccordion, type DSAccordionRootProps, type DSAccordionTriggerProps, DashboardBlock, type DashboardBlockData, type DashboardBlockProps, type DashboardReason, DataField, type DataFieldProps, DataTable, DataTableActionButton, type DataTableActionButtonProps, type DataTableColumn, type DataTableDensity, DataTableDocumentCell, type DataTableDocumentCellProps, DataTableLinkCell, type DataTableLinkCellProps, DataTablePagination, type DataTablePaginationProps, type DataTableProps, type DataTableSortDirection, DataTableTextCell, type DataTableTextCellProps, DateInput, type DateInputProps, type DateRange, type DateRangeFilterField, DateRangeInput, type DateRangeInputProps, DefaultLink, type DetailsDialog, DialogRoot as Dialog, type DialogContentProps, type DialogProps, DocumentInput, type DocumentInputProps, DocumentUploadCard, type DocumentUploadCardProps, type DocumentUploadCardSentFile, type DocumentUploadCardTone, DonutChart, type DonutChartProps, type DonutChartSlice, DrawerRoot as Drawer, type DrawerContentProps, type DrawerFooterProps, type DrawerProps, type DrawerSide, type DrawerSize, Dropdown, type DropdownCheckboxItemProps, type DropdownContentProps, type DropdownItemProps, type DropdownProps, type DsLinkComponent, EmptyState, type EmptyStateProps, type EmptyStateVariant, ErrorPageLayout, type ErrorPageLayoutProps, FieldsCard, type FieldsCardField, type FieldsCardProps, type FieldsCardVariant, FileInfoCard, type FileInfoCardProps, FilePreviewContent, type FilePreviewContentProps, FilePreviewDialog, type FilePreviewDialogProps, FileThumbnail, type FileThumbnailProps, FileUpload, type FileUploadProps, FileViewCard, type FileViewCardField, type FileViewCardProps, FilterBar, type FilterBarProps, FilterBar as FilterBarV2, type FilterBarProps as FilterBarV2Props, type FilterField, type FilterFormValues, FilterToolbar, type FilterToolbarProps, FormAlert, type FormAlertProps, type FormAsideSection, FormSection, type FormSectionProps, FormWithAside, type FormWithAsideProps, FullScreenLoading, type FullScreenLoadingProps, Heading, type HeadingProps, HelpHint, type HelpHintProps, type HelpHintSize, HorizontalBarChart, type HorizontalBarChartProps, type HorizontalBarItem, ImageUpload, type ImageUploadPreviewBg, type ImageUploadProps, InfoBox, type InfoBoxProps, type InfoBoxVariant, Input, type InputProps, KpiCard, type KpiCardProgress, type KpiCardProgressTone, type KpiCardProps, type KpiCardVariant, KpiHero, type KpiHeroProps, type KpiHeroTone, type KpiHeroTrend, type KpiHeroTrendDirection, Label, type LabelProps, type LegalDocumentContent, LegalDocumentRenderer, type LegalDocumentRendererProps, LineChart, type LineChartProps, type LineSeries, Logo, type LogoProps, type LogoTone, type LogoVariant, type MaskFilterField, MaskedInput, type MaskedInputProps, MoneyInput, type MoneyInputProps, MultiCombobox, type MultiComboboxItem, type MultiComboboxProps, type MultiComboboxSelectAll, type MultiSelectFilterField, NavigatorTile, NavigatorTileGrid, type NavigatorTileGridProps, type NavigatorTileProps, type Notification, NotificationCenter, type NotificationCenterProps, type NotificationSeverity, type NumberRangeFilterField, OtpInput, type OtpInputProps, PageTitle, type PageTitleInfoItem, type PageTitleProps, PanelCard, type PanelCardProps, PasswordInput, type PasswordInputProps, PercentInput, type PercentInputProps, PhoneInput, type PhoneInputProps, Popover, type PopoverContentProps, type PopoverProps, Progress, type ProgressItem, type ProgressProps, ProgressTitle, type ProgressTitleProps, PublicPageLayout, type PublicPageLayoutProps, RadioGroup, type RadioGroupProps, type ReadOnlyColumn, ReadOnlyDataView, type ReadOnlyDataViewProps, type ResolvedTheme, SectionCard, type SectionCardProps, type SelectFilterField, SelectableCard, type SelectableCardIndicator, type SelectableCardProps, Separator, type SeparatorProps, Sidebar, type SidebarGroup, type SidebarItem, type SidebarProps, Skeleton, type SkeletonProps, type SortDirection$1 as SortDirection, SortableColumnHeader, type SortableColumnHeaderProps, Sparkline, SparklineBadge, type SparklineBadgeDirection, type SparklineBadgeProps, type SparklineBadgeTone, type SparklineProps, Spinner, type SpinnerProps, type StackSeries, StackedBarChart, type StackedBarChartProps, type StepState, Stepper, type StepperProps, type StepperStep, SuspenseSkeleton, Switch, type SwitchProps, THEME_STORAGE_KEY, Tabs, type TabsListProps, type TabsProps, type TabsTriggerProps, type TabsTriggerTone, type TabsVariant, Text, TextArea, type TextAreaProps, type TextFilterField, type TextProps, type ThemeContextValue, type ThemeOptions, type ThemePreference, ThemeProvider, type ThemeProviderProps, ThemeToggle, type ThemeToggleProps, Timeline, TimelineDaySeparator, type TimelineDaySeparatorProps, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineSection, type TimelineSectionProps, type TimelineTone, TitleSelect, type TitleSelectOption, type TitleSelectProps, type ToastOptions, type ToastRecord, type ToastVariant, Toaster, type ToasterProps, ToggleChip, type ToggleChipProps, type ToggleChipTone, Tooltip, type TooltipProps, Topbar, TopbarIconButton, type TopbarIconButtonProps, type TopbarProps, TopbarSearchButton, type TopbarSearchButtonProps, TutorialCard, type TutorialCardProps, WizardShell, type WizardShellProps, type WizardShellStep, WorkflowDesigner, type WorkflowDesignerProps, type WorkflowEdge, type WorkflowEdgeTrigger, type WorkflowNode, type WorkflowNodeAction, type WorkflowNodeKind, type WorkflowNodeRule, cn, dismissToast, getShortcutKeys, getShortcutLabel, getThemeBootstrapScript, isImageFile, isMacOS, isPdfFile, toast, useTheme, useToast };
|