@structyl/styled 1.0.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/LICENSE +21 -0
- package/README.md +136 -0
- package/dist/index.cjs +8352 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +4301 -0
- package/dist/index.d.ts +4301 -0
- package/dist/index.mjs +8202 -0
- package/dist/index.mjs.map +1 -0
- package/dist/tailwind-preset.cjs +677 -0
- package/dist/tailwind-preset.cjs.map +1 -0
- package/dist/tailwind-preset.d.cts +843 -0
- package/dist/tailwind-preset.d.ts +843 -0
- package/dist/tailwind-preset.mjs +675 -0
- package/dist/tailwind-preset.mjs.map +1 -0
- package/package.json +80 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,4301 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import * as _structyl_primitives from '@structyl/primitives';
|
|
6
|
+
import { SwitchProps as SwitchProps$1, ToggleProps as ToggleProps$1, CheckboxProps as CheckboxProps$1, LabelProps as LabelProps$1, SeparatorProps as SeparatorProps$1, Avatar, Progress as Progress$1, RadioGroup as RadioGroup$3, Slider as Slider$1, Accordion, Tabs, Dialog, Tooltip as Tooltip$2, Toast, SelectOption, MultiSelectOption, MultiSelectSelectedOption, Structyl, PopperProps, StructylSnackbarProps, StructylRatingProps, StructylTransferListProps, StructylTransitionProps, Calendar as Calendar$1, DatePicker as DatePicker$1, TimePicker as TimePicker$1, TimePickerView, DateRangePicker as DateRangePicker$1, DateTimePicker as DateTimePicker$1, Carousel, BoxplotEntry, ChartAreaProps, ChartBarProps, ChartBoxplotProps, ChartBubbleProps, ChartCandlestickProps, ChartChordProps, ChartFunnelProps, ChartGanttProps, ChartGaugeContainerProps, ChartGaugePointerProps, ChartGaugeProps, ChartGaugeReferenceArcProps, ChartGaugeValueArcProps, ChartGridProps, ChartHeatmapProps, ChartHistogramProps, ChartLegendProps, ChartLineProps, ChartLinearGaugeProps, ChartPieCenterLabelProps, ChartPieProps, ChartPieRootProps, ChartPolarAngleAxisProps, ChartPolarGridProps, ChartPyramidProps, ChartRadarProps, ChartRadarRootProps, ChartRadialBarProps, ChartRadialBarRootProps, ChartRadialLineProps, ChartRadialLineRootProps, ChartRangeAreaProps, ChartRangeBarProps, ChartReferenceAreaProps, ChartReferenceLineProps, ChartRootProps, ChartSankeyProps, ChartScatterProps, ChartSparkLineProps, ChartSunburstProps, ChartTooltipProps, ChartTreemapProps, ChartWaterfallProps, ChartXAxisProps, ChartYAxisProps, GanttTask, GaugeContextValue, HighlightScope, MarkShape, SankeyLink, SankeyNode, ScatterMarkerShape, SunburstNode, TooltipState, WaterfallEntry } from '@structyl/primitives';
|
|
7
|
+
export { AccordionContentProps, AccordionHeaderProps, AccordionItemProps, AccordionMultipleProps, AccordionRootProps, AccordionSingleProps, AccordionTriggerProps, AlertDialogActionProps, AlertDialogCancelProps, AlertDialogContentProps, AlertDialogDescriptionProps, AlertDialogOverlayProps, AlertDialogPortalProps, AlertDialogRootProps, AlertDialogTitleProps, AlertDialogTriggerProps, AvatarFallbackProps, AvatarImageProps, AvatarRootProps, BreadcrumbProps, CardRootProps, CardSectionProps, CarouselRootProps, CollapsibleContentProps, CollapsibleRootProps, CollapsibleTriggerProps, ColorPickerRootProps, ComboboxContentProps, ComboboxInputProps, ComboboxItemProps, ComboboxPortalProps, ComboboxRootProps, CommandGroupProps, CommandInputProps, CommandItemProps, CommandRootProps, MenuCheckboxItemProps as ContextMenuCheckboxItemProps, MenuContentProps as ContextMenuContentProps, MenuGroupProps as ContextMenuGroupProps, MenuItemProps as ContextMenuItemProps, MenuLabelProps as ContextMenuLabelProps, MenuRadioGroupProps as ContextMenuRadioGroupProps, MenuRadioItemProps as ContextMenuRadioItemProps, ContextMenuRootProps, MenuSeparatorProps as ContextMenuSeparatorProps, ContextMenuTriggerProps, CustomMatcher, DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogOverlayProps, DialogPortalProps, DialogRootProps, DialogTitleProps, DialogTriggerProps, DialogCloseProps as DrawerCloseProps, DialogContentProps as DrawerContentProps, DialogDescriptionProps as DrawerDescriptionProps, DialogOverlayProps as DrawerOverlayProps, DialogPortalProps as DrawerPortalProps, DialogRootProps as DrawerRootProps, DialogTitleProps as DrawerTitleProps, DialogTriggerProps as DrawerTriggerProps, MenuCheckboxItemProps as DropdownMenuCheckboxItemProps, MenuContentProps as DropdownMenuContentProps, MenuGroupProps as DropdownMenuGroupProps, MenuItemIndicatorProps as DropdownMenuItemIndicatorProps, MenuItemProps as DropdownMenuItemProps, MenuLabelProps as DropdownMenuLabelProps, MenuRadioGroupProps as DropdownMenuRadioGroupProps, MenuRadioItemProps as DropdownMenuRadioItemProps, DropdownMenuRootProps, MenuSeparatorProps as DropdownMenuSeparatorProps, DropdownMenuTriggerProps, EditableRootProps, FileUploadRootProps, FormControlProps, FormFieldProps, FormLabelProps, FormMessageProps, FormProps, FormSubmitProps, FormValidityStateProps, HoverCardArrowProps, HoverCardContentProps, HoverCardPortalProps, HoverCardRootProps, HoverCardTriggerProps, HsvaColor, ImageLoadingStatus, Matcher, MentionSuggestion, MentionsRootProps, MentionsSuggestionsProps, MenuContentProps as MenubarContentProps, MenuItemProps as MenubarItemProps, MenubarRootProps, MenuSeparatorProps as MenubarSeparatorProps, MenubarTriggerProps, MultiSelectContentProps, MultiSelectCreateItemProps, MultiSelectFilterOption, MultiSelectItemProps, MultiSelectItemTextProps, MultiSelectOption, MultiSelectOptionsProps, MultiSelectPortalProps, MultiSelectRootProps, MultiSelectSearchInputProps, MultiSelectSelectedOption, MultiSelectTriggerProps, MultiSelectValueProps, NavigationMenuItemProps, NavigationMenuLinkProps, NavigationMenuRootProps, NumberFieldRootProps, OtpInputProps, OtpRootProps, PasswordToggleFieldRootProps, PopoverAnchorProps, PopoverArrowProps, PopoverCloseProps, PopoverContentProps, PopoverPortalProps, PopoverRootProps, PopoverTriggerProps, RadioGroupIndicatorProps, RadioGroupItemProps, RadioGroupRootProps, ResizableGroupProps, ResizableHandleProps, ResizablePanelProps, ScrollAreaRootProps, ScrollAreaScrollbarProps, SelectContentProps, SelectCreateItemProps, SelectFilterOption, SelectItemProps, SelectItemTextProps, SelectOption, SelectOptionsProps, SelectPortalProps, SelectRootProps, SelectSearchInputProps, SelectTriggerProps, SelectValueProps, DialogCloseProps as SheetCloseProps, DialogDescriptionProps as SheetDescriptionProps, DialogOverlayProps as SheetOverlayProps, DialogPortalProps as SheetPortalProps, DialogRootProps as SheetRootProps, DialogTitleProps as SheetTitleProps, DialogTriggerProps as SheetTriggerProps, StepperButtonProps, StepperProps, SwipeDirection, TabsContentProps, TabsListProps, TabsRootProps, TabsTriggerProps, TagsInputRootProps, ToastActionProps, ToastCloseProps, ToastDescriptionProps, ToastProviderProps, ToastRootProps, ToastTitleProps, ToastViewportProps, ToggleGroupItemProps, ToggleGroupMultipleProps, ToggleGroupRootProps, ToggleGroupSingleProps, ToolbarRootProps, TooltipArrowProps, TooltipContentProps, TooltipPortalProps, TooltipProviderProps, TooltipRootProps, TooltipTriggerProps, TreeItemProps, TreeRootProps, ValidityMatcher } from '@structyl/primitives';
|
|
8
|
+
import * as _structyl_icons from '@structyl/icons';
|
|
9
|
+
import * as _structyl_core from '@structyl/core';
|
|
10
|
+
|
|
11
|
+
declare const buttonVariants: tailwind_variants.TVReturnType<{
|
|
12
|
+
variant: {
|
|
13
|
+
default: string[];
|
|
14
|
+
destructive: string[];
|
|
15
|
+
outline: string[];
|
|
16
|
+
secondary: string[];
|
|
17
|
+
ghost: string[];
|
|
18
|
+
link: string[];
|
|
19
|
+
success: string[];
|
|
20
|
+
warning: string[];
|
|
21
|
+
contained: string[];
|
|
22
|
+
outlined: string[];
|
|
23
|
+
text: string[];
|
|
24
|
+
};
|
|
25
|
+
color: {
|
|
26
|
+
primary: string;
|
|
27
|
+
secondary: string;
|
|
28
|
+
error: string;
|
|
29
|
+
warning: string;
|
|
30
|
+
info: string;
|
|
31
|
+
success: string;
|
|
32
|
+
default: string;
|
|
33
|
+
inherit: string;
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
default: string;
|
|
37
|
+
sm: string;
|
|
38
|
+
lg: string;
|
|
39
|
+
xl: string;
|
|
40
|
+
icon: string;
|
|
41
|
+
'icon-sm': string;
|
|
42
|
+
'icon-lg': string;
|
|
43
|
+
'icon-xl': string;
|
|
44
|
+
};
|
|
45
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
46
|
+
variant: {
|
|
47
|
+
default: string[];
|
|
48
|
+
destructive: string[];
|
|
49
|
+
outline: string[];
|
|
50
|
+
secondary: string[];
|
|
51
|
+
ghost: string[];
|
|
52
|
+
link: string[];
|
|
53
|
+
success: string[];
|
|
54
|
+
warning: string[];
|
|
55
|
+
contained: string[];
|
|
56
|
+
outlined: string[];
|
|
57
|
+
text: string[];
|
|
58
|
+
};
|
|
59
|
+
color: {
|
|
60
|
+
primary: string;
|
|
61
|
+
secondary: string;
|
|
62
|
+
error: string;
|
|
63
|
+
warning: string;
|
|
64
|
+
info: string;
|
|
65
|
+
success: string;
|
|
66
|
+
default: string;
|
|
67
|
+
inherit: string;
|
|
68
|
+
};
|
|
69
|
+
size: {
|
|
70
|
+
default: string;
|
|
71
|
+
sm: string;
|
|
72
|
+
lg: string;
|
|
73
|
+
xl: string;
|
|
74
|
+
icon: string;
|
|
75
|
+
'icon-sm': string;
|
|
76
|
+
'icon-lg': string;
|
|
77
|
+
'icon-xl': string;
|
|
78
|
+
};
|
|
79
|
+
}, {
|
|
80
|
+
variant: {
|
|
81
|
+
default: string[];
|
|
82
|
+
destructive: string[];
|
|
83
|
+
outline: string[];
|
|
84
|
+
secondary: string[];
|
|
85
|
+
ghost: string[];
|
|
86
|
+
link: string[];
|
|
87
|
+
success: string[];
|
|
88
|
+
warning: string[];
|
|
89
|
+
contained: string[];
|
|
90
|
+
outlined: string[];
|
|
91
|
+
text: string[];
|
|
92
|
+
};
|
|
93
|
+
color: {
|
|
94
|
+
primary: string;
|
|
95
|
+
secondary: string;
|
|
96
|
+
error: string;
|
|
97
|
+
warning: string;
|
|
98
|
+
info: string;
|
|
99
|
+
success: string;
|
|
100
|
+
default: string;
|
|
101
|
+
inherit: string;
|
|
102
|
+
};
|
|
103
|
+
size: {
|
|
104
|
+
default: string;
|
|
105
|
+
sm: string;
|
|
106
|
+
lg: string;
|
|
107
|
+
xl: string;
|
|
108
|
+
icon: string;
|
|
109
|
+
'icon-sm': string;
|
|
110
|
+
'icon-lg': string;
|
|
111
|
+
'icon-xl': string;
|
|
112
|
+
};
|
|
113
|
+
}>, {
|
|
114
|
+
variant: {
|
|
115
|
+
default: string[];
|
|
116
|
+
destructive: string[];
|
|
117
|
+
outline: string[];
|
|
118
|
+
secondary: string[];
|
|
119
|
+
ghost: string[];
|
|
120
|
+
link: string[];
|
|
121
|
+
success: string[];
|
|
122
|
+
warning: string[];
|
|
123
|
+
contained: string[];
|
|
124
|
+
outlined: string[];
|
|
125
|
+
text: string[];
|
|
126
|
+
};
|
|
127
|
+
color: {
|
|
128
|
+
primary: string;
|
|
129
|
+
secondary: string;
|
|
130
|
+
error: string;
|
|
131
|
+
warning: string;
|
|
132
|
+
info: string;
|
|
133
|
+
success: string;
|
|
134
|
+
default: string;
|
|
135
|
+
inherit: string;
|
|
136
|
+
};
|
|
137
|
+
size: {
|
|
138
|
+
default: string;
|
|
139
|
+
sm: string;
|
|
140
|
+
lg: string;
|
|
141
|
+
xl: string;
|
|
142
|
+
icon: string;
|
|
143
|
+
'icon-sm': string;
|
|
144
|
+
'icon-lg': string;
|
|
145
|
+
'icon-xl': string;
|
|
146
|
+
};
|
|
147
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
148
|
+
variant: {
|
|
149
|
+
default: string[];
|
|
150
|
+
destructive: string[];
|
|
151
|
+
outline: string[];
|
|
152
|
+
secondary: string[];
|
|
153
|
+
ghost: string[];
|
|
154
|
+
link: string[];
|
|
155
|
+
success: string[];
|
|
156
|
+
warning: string[];
|
|
157
|
+
contained: string[];
|
|
158
|
+
outlined: string[];
|
|
159
|
+
text: string[];
|
|
160
|
+
};
|
|
161
|
+
color: {
|
|
162
|
+
primary: string;
|
|
163
|
+
secondary: string;
|
|
164
|
+
error: string;
|
|
165
|
+
warning: string;
|
|
166
|
+
info: string;
|
|
167
|
+
success: string;
|
|
168
|
+
default: string;
|
|
169
|
+
inherit: string;
|
|
170
|
+
};
|
|
171
|
+
size: {
|
|
172
|
+
default: string;
|
|
173
|
+
sm: string;
|
|
174
|
+
lg: string;
|
|
175
|
+
xl: string;
|
|
176
|
+
icon: string;
|
|
177
|
+
'icon-sm': string;
|
|
178
|
+
'icon-lg': string;
|
|
179
|
+
'icon-xl': string;
|
|
180
|
+
};
|
|
181
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
182
|
+
variant: {
|
|
183
|
+
default: string[];
|
|
184
|
+
destructive: string[];
|
|
185
|
+
outline: string[];
|
|
186
|
+
secondary: string[];
|
|
187
|
+
ghost: string[];
|
|
188
|
+
link: string[];
|
|
189
|
+
success: string[];
|
|
190
|
+
warning: string[];
|
|
191
|
+
contained: string[];
|
|
192
|
+
outlined: string[];
|
|
193
|
+
text: string[];
|
|
194
|
+
};
|
|
195
|
+
color: {
|
|
196
|
+
primary: string;
|
|
197
|
+
secondary: string;
|
|
198
|
+
error: string;
|
|
199
|
+
warning: string;
|
|
200
|
+
info: string;
|
|
201
|
+
success: string;
|
|
202
|
+
default: string;
|
|
203
|
+
inherit: string;
|
|
204
|
+
};
|
|
205
|
+
size: {
|
|
206
|
+
default: string;
|
|
207
|
+
sm: string;
|
|
208
|
+
lg: string;
|
|
209
|
+
xl: string;
|
|
210
|
+
icon: string;
|
|
211
|
+
'icon-sm': string;
|
|
212
|
+
'icon-lg': string;
|
|
213
|
+
'icon-xl': string;
|
|
214
|
+
};
|
|
215
|
+
}, {
|
|
216
|
+
variant: {
|
|
217
|
+
default: string[];
|
|
218
|
+
destructive: string[];
|
|
219
|
+
outline: string[];
|
|
220
|
+
secondary: string[];
|
|
221
|
+
ghost: string[];
|
|
222
|
+
link: string[];
|
|
223
|
+
success: string[];
|
|
224
|
+
warning: string[];
|
|
225
|
+
contained: string[];
|
|
226
|
+
outlined: string[];
|
|
227
|
+
text: string[];
|
|
228
|
+
};
|
|
229
|
+
color: {
|
|
230
|
+
primary: string;
|
|
231
|
+
secondary: string;
|
|
232
|
+
error: string;
|
|
233
|
+
warning: string;
|
|
234
|
+
info: string;
|
|
235
|
+
success: string;
|
|
236
|
+
default: string;
|
|
237
|
+
inherit: string;
|
|
238
|
+
};
|
|
239
|
+
size: {
|
|
240
|
+
default: string;
|
|
241
|
+
sm: string;
|
|
242
|
+
lg: string;
|
|
243
|
+
xl: string;
|
|
244
|
+
icon: string;
|
|
245
|
+
'icon-sm': string;
|
|
246
|
+
'icon-lg': string;
|
|
247
|
+
'icon-xl': string;
|
|
248
|
+
};
|
|
249
|
+
}>, unknown, unknown, undefined>>;
|
|
250
|
+
declare const ButtonSpinner: ({ className }: {
|
|
251
|
+
className?: string;
|
|
252
|
+
}) => React.JSX.Element;
|
|
253
|
+
interface ButtonProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color'>, VariantProps<typeof buttonVariants> {
|
|
254
|
+
asChild?: boolean;
|
|
255
|
+
/** Shows a spinner and disables the button */
|
|
256
|
+
loading?: boolean;
|
|
257
|
+
/** Text shown next to spinner when loading. Defaults to children. */
|
|
258
|
+
loadingText?: string;
|
|
259
|
+
/** Icon rendered before children */
|
|
260
|
+
leftIcon?: React.ReactNode;
|
|
261
|
+
/** Icon rendered after children */
|
|
262
|
+
rightIcon?: React.ReactNode;
|
|
263
|
+
}
|
|
264
|
+
declare const Button$1: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
265
|
+
interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
266
|
+
/** Collapses shared borders between buttons */
|
|
267
|
+
attached?: boolean;
|
|
268
|
+
orientation?: 'horizontal' | 'vertical';
|
|
269
|
+
/** Propagated to child Button components */
|
|
270
|
+
variant?: VariantProps<typeof buttonVariants>['variant'];
|
|
271
|
+
/** Propagated to child Button components */
|
|
272
|
+
color?: VariantProps<typeof buttonVariants>['color'];
|
|
273
|
+
/** Propagated to child Button components */
|
|
274
|
+
size?: VariantProps<typeof buttonVariants>['size'];
|
|
275
|
+
/** Propagated to child Button components */
|
|
276
|
+
disabled?: boolean;
|
|
277
|
+
/** Propagated to child Button components — makes each button full-width */
|
|
278
|
+
fullWidth?: boolean;
|
|
279
|
+
}
|
|
280
|
+
declare const ButtonGroup$1: React.ForwardRefExoticComponent<ButtonGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
281
|
+
|
|
282
|
+
type SwitchColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
|
|
283
|
+
declare const switchVariants: tailwind_variants.TVReturnType<{
|
|
284
|
+
size: {
|
|
285
|
+
sm: string;
|
|
286
|
+
md: string;
|
|
287
|
+
lg: string;
|
|
288
|
+
};
|
|
289
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
290
|
+
size: {
|
|
291
|
+
sm: string;
|
|
292
|
+
md: string;
|
|
293
|
+
lg: string;
|
|
294
|
+
};
|
|
295
|
+
}, {
|
|
296
|
+
size: {
|
|
297
|
+
sm: string;
|
|
298
|
+
md: string;
|
|
299
|
+
lg: string;
|
|
300
|
+
};
|
|
301
|
+
}>, {
|
|
302
|
+
size: {
|
|
303
|
+
sm: string;
|
|
304
|
+
md: string;
|
|
305
|
+
lg: string;
|
|
306
|
+
};
|
|
307
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
308
|
+
size: {
|
|
309
|
+
sm: string;
|
|
310
|
+
md: string;
|
|
311
|
+
lg: string;
|
|
312
|
+
};
|
|
313
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
314
|
+
size: {
|
|
315
|
+
sm: string;
|
|
316
|
+
md: string;
|
|
317
|
+
lg: string;
|
|
318
|
+
};
|
|
319
|
+
}, {
|
|
320
|
+
size: {
|
|
321
|
+
sm: string;
|
|
322
|
+
md: string;
|
|
323
|
+
lg: string;
|
|
324
|
+
};
|
|
325
|
+
}>, unknown, unknown, undefined>>;
|
|
326
|
+
interface SwitchProps extends SwitchProps$1, VariantProps<typeof switchVariants> {
|
|
327
|
+
color?: SwitchColor;
|
|
328
|
+
}
|
|
329
|
+
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
330
|
+
|
|
331
|
+
declare const toggleVariants: tailwind_variants.TVReturnType<{
|
|
332
|
+
variant: {
|
|
333
|
+
default: string;
|
|
334
|
+
outline: string;
|
|
335
|
+
};
|
|
336
|
+
color: {
|
|
337
|
+
default: string;
|
|
338
|
+
primary: string;
|
|
339
|
+
secondary: string;
|
|
340
|
+
error: string;
|
|
341
|
+
warning: string;
|
|
342
|
+
info: string;
|
|
343
|
+
success: string;
|
|
344
|
+
};
|
|
345
|
+
size: {
|
|
346
|
+
default: string;
|
|
347
|
+
sm: string;
|
|
348
|
+
lg: string;
|
|
349
|
+
};
|
|
350
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
351
|
+
variant: {
|
|
352
|
+
default: string;
|
|
353
|
+
outline: string;
|
|
354
|
+
};
|
|
355
|
+
color: {
|
|
356
|
+
default: string;
|
|
357
|
+
primary: string;
|
|
358
|
+
secondary: string;
|
|
359
|
+
error: string;
|
|
360
|
+
warning: string;
|
|
361
|
+
info: string;
|
|
362
|
+
success: string;
|
|
363
|
+
};
|
|
364
|
+
size: {
|
|
365
|
+
default: string;
|
|
366
|
+
sm: string;
|
|
367
|
+
lg: string;
|
|
368
|
+
};
|
|
369
|
+
}, {
|
|
370
|
+
variant: {
|
|
371
|
+
default: string;
|
|
372
|
+
outline: string;
|
|
373
|
+
};
|
|
374
|
+
color: {
|
|
375
|
+
default: string;
|
|
376
|
+
primary: string;
|
|
377
|
+
secondary: string;
|
|
378
|
+
error: string;
|
|
379
|
+
warning: string;
|
|
380
|
+
info: string;
|
|
381
|
+
success: string;
|
|
382
|
+
};
|
|
383
|
+
size: {
|
|
384
|
+
default: string;
|
|
385
|
+
sm: string;
|
|
386
|
+
lg: string;
|
|
387
|
+
};
|
|
388
|
+
}>, {
|
|
389
|
+
variant: {
|
|
390
|
+
default: string;
|
|
391
|
+
outline: string;
|
|
392
|
+
};
|
|
393
|
+
color: {
|
|
394
|
+
default: string;
|
|
395
|
+
primary: string;
|
|
396
|
+
secondary: string;
|
|
397
|
+
error: string;
|
|
398
|
+
warning: string;
|
|
399
|
+
info: string;
|
|
400
|
+
success: string;
|
|
401
|
+
};
|
|
402
|
+
size: {
|
|
403
|
+
default: string;
|
|
404
|
+
sm: string;
|
|
405
|
+
lg: string;
|
|
406
|
+
};
|
|
407
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
408
|
+
variant: {
|
|
409
|
+
default: string;
|
|
410
|
+
outline: string;
|
|
411
|
+
};
|
|
412
|
+
color: {
|
|
413
|
+
default: string;
|
|
414
|
+
primary: string;
|
|
415
|
+
secondary: string;
|
|
416
|
+
error: string;
|
|
417
|
+
warning: string;
|
|
418
|
+
info: string;
|
|
419
|
+
success: string;
|
|
420
|
+
};
|
|
421
|
+
size: {
|
|
422
|
+
default: string;
|
|
423
|
+
sm: string;
|
|
424
|
+
lg: string;
|
|
425
|
+
};
|
|
426
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
427
|
+
variant: {
|
|
428
|
+
default: string;
|
|
429
|
+
outline: string;
|
|
430
|
+
};
|
|
431
|
+
color: {
|
|
432
|
+
default: string;
|
|
433
|
+
primary: string;
|
|
434
|
+
secondary: string;
|
|
435
|
+
error: string;
|
|
436
|
+
warning: string;
|
|
437
|
+
info: string;
|
|
438
|
+
success: string;
|
|
439
|
+
};
|
|
440
|
+
size: {
|
|
441
|
+
default: string;
|
|
442
|
+
sm: string;
|
|
443
|
+
lg: string;
|
|
444
|
+
};
|
|
445
|
+
}, {
|
|
446
|
+
variant: {
|
|
447
|
+
default: string;
|
|
448
|
+
outline: string;
|
|
449
|
+
};
|
|
450
|
+
color: {
|
|
451
|
+
default: string;
|
|
452
|
+
primary: string;
|
|
453
|
+
secondary: string;
|
|
454
|
+
error: string;
|
|
455
|
+
warning: string;
|
|
456
|
+
info: string;
|
|
457
|
+
success: string;
|
|
458
|
+
};
|
|
459
|
+
size: {
|
|
460
|
+
default: string;
|
|
461
|
+
sm: string;
|
|
462
|
+
lg: string;
|
|
463
|
+
};
|
|
464
|
+
}>, unknown, unknown, undefined>>;
|
|
465
|
+
interface ToggleProps extends Omit<ToggleProps$1, 'color'>, VariantProps<typeof toggleVariants> {
|
|
466
|
+
}
|
|
467
|
+
declare const Toggle$1: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
468
|
+
|
|
469
|
+
type CheckboxColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
|
|
470
|
+
interface CheckboxProps extends CheckboxProps$1 {
|
|
471
|
+
color?: CheckboxColor;
|
|
472
|
+
}
|
|
473
|
+
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
474
|
+
|
|
475
|
+
interface LabelProps extends LabelProps$1 {
|
|
476
|
+
}
|
|
477
|
+
declare const Label$6: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
478
|
+
|
|
479
|
+
interface SeparatorProps extends SeparatorProps$1 {
|
|
480
|
+
}
|
|
481
|
+
declare const Separator$a: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
482
|
+
|
|
483
|
+
declare const Root$F: React.FC<_structyl_primitives.DialogRootProps>;
|
|
484
|
+
declare const Trigger$h: React.ForwardRefExoticComponent<_structyl_primitives.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
485
|
+
declare const Portal$a: React.FC<_structyl_primitives.DialogPortalProps>;
|
|
486
|
+
declare const Overlay$3: React.ForwardRefExoticComponent<Omit<_structyl_primitives.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
487
|
+
declare const Content$k: React.ForwardRefExoticComponent<Omit<_structyl_primitives.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
488
|
+
declare const Header$5: React.FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
489
|
+
declare const Footer$5: React.FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
490
|
+
declare const Title$7: React.ForwardRefExoticComponent<Omit<_structyl_primitives.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
491
|
+
declare const Description$7: React.ForwardRefExoticComponent<Omit<_structyl_primitives.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
492
|
+
declare const Close$5: React.ForwardRefExoticComponent<_structyl_primitives.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
493
|
+
|
|
494
|
+
declare namespace index$F {
|
|
495
|
+
export { Close$5 as Close, Content$k as Content, Description$7 as Description, Footer$5 as Footer, Header$5 as Header, Overlay$3 as Overlay, Portal$a as Portal, Root$F as Root, Title$7 as Title, Trigger$h as Trigger };
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
interface AspectRatioProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
499
|
+
ratio?: number;
|
|
500
|
+
}
|
|
501
|
+
declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
|
|
502
|
+
|
|
503
|
+
declare const avatarVariants: tailwind_variants.TVReturnType<{
|
|
504
|
+
size: {
|
|
505
|
+
xs: string;
|
|
506
|
+
sm: string;
|
|
507
|
+
md: string;
|
|
508
|
+
lg: string;
|
|
509
|
+
xl: string;
|
|
510
|
+
'2xl': string;
|
|
511
|
+
};
|
|
512
|
+
}, undefined, "relative flex shrink-0 overflow-hidden rounded-full", tailwind_variants_dist_config_js.TVConfig<{
|
|
513
|
+
size: {
|
|
514
|
+
xs: string;
|
|
515
|
+
sm: string;
|
|
516
|
+
md: string;
|
|
517
|
+
lg: string;
|
|
518
|
+
xl: string;
|
|
519
|
+
'2xl': string;
|
|
520
|
+
};
|
|
521
|
+
}, {
|
|
522
|
+
size: {
|
|
523
|
+
xs: string;
|
|
524
|
+
sm: string;
|
|
525
|
+
md: string;
|
|
526
|
+
lg: string;
|
|
527
|
+
xl: string;
|
|
528
|
+
'2xl': string;
|
|
529
|
+
};
|
|
530
|
+
}>, {
|
|
531
|
+
size: {
|
|
532
|
+
xs: string;
|
|
533
|
+
sm: string;
|
|
534
|
+
md: string;
|
|
535
|
+
lg: string;
|
|
536
|
+
xl: string;
|
|
537
|
+
'2xl': string;
|
|
538
|
+
};
|
|
539
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
540
|
+
size: {
|
|
541
|
+
xs: string;
|
|
542
|
+
sm: string;
|
|
543
|
+
md: string;
|
|
544
|
+
lg: string;
|
|
545
|
+
xl: string;
|
|
546
|
+
'2xl': string;
|
|
547
|
+
};
|
|
548
|
+
}, undefined, "relative flex shrink-0 overflow-hidden rounded-full", tailwind_variants_dist_config_js.TVConfig<{
|
|
549
|
+
size: {
|
|
550
|
+
xs: string;
|
|
551
|
+
sm: string;
|
|
552
|
+
md: string;
|
|
553
|
+
lg: string;
|
|
554
|
+
xl: string;
|
|
555
|
+
'2xl': string;
|
|
556
|
+
};
|
|
557
|
+
}, {
|
|
558
|
+
size: {
|
|
559
|
+
xs: string;
|
|
560
|
+
sm: string;
|
|
561
|
+
md: string;
|
|
562
|
+
lg: string;
|
|
563
|
+
xl: string;
|
|
564
|
+
'2xl': string;
|
|
565
|
+
};
|
|
566
|
+
}>, unknown, unknown, undefined>>;
|
|
567
|
+
interface AvatarRootProps extends React.ComponentPropsWithoutRef<typeof Avatar.Root>, VariantProps<typeof avatarVariants> {
|
|
568
|
+
status?: 'online' | 'offline' | 'busy' | 'away';
|
|
569
|
+
}
|
|
570
|
+
declare const Root$E: React.ForwardRefExoticComponent<AvatarRootProps & React.RefAttributes<HTMLSpanElement>>;
|
|
571
|
+
declare const Image: React.ForwardRefExoticComponent<Omit<_structyl_primitives.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
572
|
+
declare const Fallback: React.ForwardRefExoticComponent<Omit<_structyl_primitives.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
573
|
+
interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
574
|
+
/** Max avatars to show before showing overflow count */
|
|
575
|
+
max?: number;
|
|
576
|
+
size?: VariantProps<typeof avatarVariants>['size'];
|
|
577
|
+
}
|
|
578
|
+
declare const Group$a: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
579
|
+
|
|
580
|
+
type index$E_AvatarGroupProps = AvatarGroupProps;
|
|
581
|
+
type index$E_AvatarRootProps = AvatarRootProps;
|
|
582
|
+
declare const index$E_Fallback: typeof Fallback;
|
|
583
|
+
declare const index$E_Image: typeof Image;
|
|
584
|
+
declare const index$E_avatarVariants: typeof avatarVariants;
|
|
585
|
+
declare namespace index$E {
|
|
586
|
+
export { type index$E_AvatarGroupProps as AvatarGroupProps, type index$E_AvatarRootProps as AvatarRootProps, type AvatarRootProps as AvatarRootStyledProps, index$E_Fallback as Fallback, Group$a as Group, index$E_Image as Image, Root$E as Root, index$E_avatarVariants as avatarVariants };
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
declare const progressTrackVariants: tailwind_variants.TVReturnType<{
|
|
590
|
+
size: {
|
|
591
|
+
xs: string;
|
|
592
|
+
sm: string;
|
|
593
|
+
md: string;
|
|
594
|
+
lg: string;
|
|
595
|
+
xl: string;
|
|
596
|
+
};
|
|
597
|
+
}, undefined, "relative w-full overflow-hidden rounded-full bg-secondary", tailwind_variants_dist_config_js.TVConfig<{
|
|
598
|
+
size: {
|
|
599
|
+
xs: string;
|
|
600
|
+
sm: string;
|
|
601
|
+
md: string;
|
|
602
|
+
lg: string;
|
|
603
|
+
xl: string;
|
|
604
|
+
};
|
|
605
|
+
}, {
|
|
606
|
+
size: {
|
|
607
|
+
xs: string;
|
|
608
|
+
sm: string;
|
|
609
|
+
md: string;
|
|
610
|
+
lg: string;
|
|
611
|
+
xl: string;
|
|
612
|
+
};
|
|
613
|
+
}>, {
|
|
614
|
+
size: {
|
|
615
|
+
xs: string;
|
|
616
|
+
sm: string;
|
|
617
|
+
md: string;
|
|
618
|
+
lg: string;
|
|
619
|
+
xl: string;
|
|
620
|
+
};
|
|
621
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
622
|
+
size: {
|
|
623
|
+
xs: string;
|
|
624
|
+
sm: string;
|
|
625
|
+
md: string;
|
|
626
|
+
lg: string;
|
|
627
|
+
xl: string;
|
|
628
|
+
};
|
|
629
|
+
}, undefined, "relative w-full overflow-hidden rounded-full bg-secondary", tailwind_variants_dist_config_js.TVConfig<{
|
|
630
|
+
size: {
|
|
631
|
+
xs: string;
|
|
632
|
+
sm: string;
|
|
633
|
+
md: string;
|
|
634
|
+
lg: string;
|
|
635
|
+
xl: string;
|
|
636
|
+
};
|
|
637
|
+
}, {
|
|
638
|
+
size: {
|
|
639
|
+
xs: string;
|
|
640
|
+
sm: string;
|
|
641
|
+
md: string;
|
|
642
|
+
lg: string;
|
|
643
|
+
xl: string;
|
|
644
|
+
};
|
|
645
|
+
}>, unknown, unknown, undefined>>;
|
|
646
|
+
interface ProgressProps extends React.ComponentPropsWithoutRef<typeof Progress$1.Root>, VariantProps<typeof progressTrackVariants> {
|
|
647
|
+
color?: 'primary' | 'success' | 'warning' | 'destructive' | 'error' | 'info' | 'secondary';
|
|
648
|
+
/** Stripe pattern on the indicator */
|
|
649
|
+
striped?: boolean;
|
|
650
|
+
/** Animate the stripes (requires striped=true or stands alone) */
|
|
651
|
+
animated?: boolean;
|
|
652
|
+
/** Replace value with an indeterminate animation */
|
|
653
|
+
indeterminate?: boolean;
|
|
654
|
+
/** Show percentage label inside the bar (useful for lg/xl) */
|
|
655
|
+
showLabel?: boolean;
|
|
656
|
+
indicatorClassName?: string;
|
|
657
|
+
}
|
|
658
|
+
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
659
|
+
|
|
660
|
+
declare const skeletonVariants: tailwind_variants.TVReturnType<{
|
|
661
|
+
variant: {
|
|
662
|
+
/** Solid pulse — default subtle loading */
|
|
663
|
+
pulse: string;
|
|
664
|
+
/** Shimmer sweep effect */
|
|
665
|
+
shimmer: string[];
|
|
666
|
+
/** No animation (for reduced-motion users) */
|
|
667
|
+
static: string;
|
|
668
|
+
};
|
|
669
|
+
shape: {
|
|
670
|
+
rect: string;
|
|
671
|
+
circle: string;
|
|
672
|
+
text: string;
|
|
673
|
+
};
|
|
674
|
+
}, undefined, "bg-muted/50 relative overflow-hidden", tailwind_variants_dist_config_js.TVConfig<{
|
|
675
|
+
variant: {
|
|
676
|
+
/** Solid pulse — default subtle loading */
|
|
677
|
+
pulse: string;
|
|
678
|
+
/** Shimmer sweep effect */
|
|
679
|
+
shimmer: string[];
|
|
680
|
+
/** No animation (for reduced-motion users) */
|
|
681
|
+
static: string;
|
|
682
|
+
};
|
|
683
|
+
shape: {
|
|
684
|
+
rect: string;
|
|
685
|
+
circle: string;
|
|
686
|
+
text: string;
|
|
687
|
+
};
|
|
688
|
+
}, {
|
|
689
|
+
variant: {
|
|
690
|
+
/** Solid pulse — default subtle loading */
|
|
691
|
+
pulse: string;
|
|
692
|
+
/** Shimmer sweep effect */
|
|
693
|
+
shimmer: string[];
|
|
694
|
+
/** No animation (for reduced-motion users) */
|
|
695
|
+
static: string;
|
|
696
|
+
};
|
|
697
|
+
shape: {
|
|
698
|
+
rect: string;
|
|
699
|
+
circle: string;
|
|
700
|
+
text: string;
|
|
701
|
+
};
|
|
702
|
+
}>, {
|
|
703
|
+
variant: {
|
|
704
|
+
/** Solid pulse — default subtle loading */
|
|
705
|
+
pulse: string;
|
|
706
|
+
/** Shimmer sweep effect */
|
|
707
|
+
shimmer: string[];
|
|
708
|
+
/** No animation (for reduced-motion users) */
|
|
709
|
+
static: string;
|
|
710
|
+
};
|
|
711
|
+
shape: {
|
|
712
|
+
rect: string;
|
|
713
|
+
circle: string;
|
|
714
|
+
text: string;
|
|
715
|
+
};
|
|
716
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
717
|
+
variant: {
|
|
718
|
+
/** Solid pulse — default subtle loading */
|
|
719
|
+
pulse: string;
|
|
720
|
+
/** Shimmer sweep effect */
|
|
721
|
+
shimmer: string[];
|
|
722
|
+
/** No animation (for reduced-motion users) */
|
|
723
|
+
static: string;
|
|
724
|
+
};
|
|
725
|
+
shape: {
|
|
726
|
+
rect: string;
|
|
727
|
+
circle: string;
|
|
728
|
+
text: string;
|
|
729
|
+
};
|
|
730
|
+
}, undefined, "bg-muted/50 relative overflow-hidden", tailwind_variants_dist_config_js.TVConfig<{
|
|
731
|
+
variant: {
|
|
732
|
+
/** Solid pulse — default subtle loading */
|
|
733
|
+
pulse: string;
|
|
734
|
+
/** Shimmer sweep effect */
|
|
735
|
+
shimmer: string[];
|
|
736
|
+
/** No animation (for reduced-motion users) */
|
|
737
|
+
static: string;
|
|
738
|
+
};
|
|
739
|
+
shape: {
|
|
740
|
+
rect: string;
|
|
741
|
+
circle: string;
|
|
742
|
+
text: string;
|
|
743
|
+
};
|
|
744
|
+
}, {
|
|
745
|
+
variant: {
|
|
746
|
+
/** Solid pulse — default subtle loading */
|
|
747
|
+
pulse: string;
|
|
748
|
+
/** Shimmer sweep effect */
|
|
749
|
+
shimmer: string[];
|
|
750
|
+
/** No animation (for reduced-motion users) */
|
|
751
|
+
static: string;
|
|
752
|
+
};
|
|
753
|
+
shape: {
|
|
754
|
+
rect: string;
|
|
755
|
+
circle: string;
|
|
756
|
+
text: string;
|
|
757
|
+
};
|
|
758
|
+
}>, unknown, unknown, undefined>>;
|
|
759
|
+
interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof skeletonVariants> {
|
|
760
|
+
/** Width of the skeleton (e.g. "100%", "120px") */
|
|
761
|
+
width?: string | number;
|
|
762
|
+
/** Height of the skeleton (e.g. "1rem", 40) */
|
|
763
|
+
height?: string | number;
|
|
764
|
+
/** Number of text lines to repeat */
|
|
765
|
+
lines?: number;
|
|
766
|
+
}
|
|
767
|
+
declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
768
|
+
interface SkeletonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
769
|
+
/** Gap between skeleton items */
|
|
770
|
+
gap?: number | string;
|
|
771
|
+
}
|
|
772
|
+
declare const Group$9: React.ForwardRefExoticComponent<SkeletonGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
773
|
+
|
|
774
|
+
declare const badgeVariants: tailwind_variants.TVReturnType<{
|
|
775
|
+
variant: {
|
|
776
|
+
default: string;
|
|
777
|
+
secondary: string;
|
|
778
|
+
destructive: string;
|
|
779
|
+
outline: string;
|
|
780
|
+
success: string;
|
|
781
|
+
warning: string;
|
|
782
|
+
info: string;
|
|
783
|
+
error: string;
|
|
784
|
+
};
|
|
785
|
+
color: {
|
|
786
|
+
primary: string;
|
|
787
|
+
secondary: string;
|
|
788
|
+
error: string;
|
|
789
|
+
warning: string;
|
|
790
|
+
info: string;
|
|
791
|
+
success: string;
|
|
792
|
+
default: string;
|
|
793
|
+
};
|
|
794
|
+
size: {
|
|
795
|
+
sm: string;
|
|
796
|
+
md: string;
|
|
797
|
+
lg: string;
|
|
798
|
+
};
|
|
799
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
800
|
+
variant: {
|
|
801
|
+
default: string;
|
|
802
|
+
secondary: string;
|
|
803
|
+
destructive: string;
|
|
804
|
+
outline: string;
|
|
805
|
+
success: string;
|
|
806
|
+
warning: string;
|
|
807
|
+
info: string;
|
|
808
|
+
error: string;
|
|
809
|
+
};
|
|
810
|
+
color: {
|
|
811
|
+
primary: string;
|
|
812
|
+
secondary: string;
|
|
813
|
+
error: string;
|
|
814
|
+
warning: string;
|
|
815
|
+
info: string;
|
|
816
|
+
success: string;
|
|
817
|
+
default: string;
|
|
818
|
+
};
|
|
819
|
+
size: {
|
|
820
|
+
sm: string;
|
|
821
|
+
md: string;
|
|
822
|
+
lg: string;
|
|
823
|
+
};
|
|
824
|
+
}, {
|
|
825
|
+
variant: {
|
|
826
|
+
default: string;
|
|
827
|
+
secondary: string;
|
|
828
|
+
destructive: string;
|
|
829
|
+
outline: string;
|
|
830
|
+
success: string;
|
|
831
|
+
warning: string;
|
|
832
|
+
info: string;
|
|
833
|
+
error: string;
|
|
834
|
+
};
|
|
835
|
+
color: {
|
|
836
|
+
primary: string;
|
|
837
|
+
secondary: string;
|
|
838
|
+
error: string;
|
|
839
|
+
warning: string;
|
|
840
|
+
info: string;
|
|
841
|
+
success: string;
|
|
842
|
+
default: string;
|
|
843
|
+
};
|
|
844
|
+
size: {
|
|
845
|
+
sm: string;
|
|
846
|
+
md: string;
|
|
847
|
+
lg: string;
|
|
848
|
+
};
|
|
849
|
+
}>, {
|
|
850
|
+
variant: {
|
|
851
|
+
default: string;
|
|
852
|
+
secondary: string;
|
|
853
|
+
destructive: string;
|
|
854
|
+
outline: string;
|
|
855
|
+
success: string;
|
|
856
|
+
warning: string;
|
|
857
|
+
info: string;
|
|
858
|
+
error: string;
|
|
859
|
+
};
|
|
860
|
+
color: {
|
|
861
|
+
primary: string;
|
|
862
|
+
secondary: string;
|
|
863
|
+
error: string;
|
|
864
|
+
warning: string;
|
|
865
|
+
info: string;
|
|
866
|
+
success: string;
|
|
867
|
+
default: string;
|
|
868
|
+
};
|
|
869
|
+
size: {
|
|
870
|
+
sm: string;
|
|
871
|
+
md: string;
|
|
872
|
+
lg: string;
|
|
873
|
+
};
|
|
874
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
875
|
+
variant: {
|
|
876
|
+
default: string;
|
|
877
|
+
secondary: string;
|
|
878
|
+
destructive: string;
|
|
879
|
+
outline: string;
|
|
880
|
+
success: string;
|
|
881
|
+
warning: string;
|
|
882
|
+
info: string;
|
|
883
|
+
error: string;
|
|
884
|
+
};
|
|
885
|
+
color: {
|
|
886
|
+
primary: string;
|
|
887
|
+
secondary: string;
|
|
888
|
+
error: string;
|
|
889
|
+
warning: string;
|
|
890
|
+
info: string;
|
|
891
|
+
success: string;
|
|
892
|
+
default: string;
|
|
893
|
+
};
|
|
894
|
+
size: {
|
|
895
|
+
sm: string;
|
|
896
|
+
md: string;
|
|
897
|
+
lg: string;
|
|
898
|
+
};
|
|
899
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
900
|
+
variant: {
|
|
901
|
+
default: string;
|
|
902
|
+
secondary: string;
|
|
903
|
+
destructive: string;
|
|
904
|
+
outline: string;
|
|
905
|
+
success: string;
|
|
906
|
+
warning: string;
|
|
907
|
+
info: string;
|
|
908
|
+
error: string;
|
|
909
|
+
};
|
|
910
|
+
color: {
|
|
911
|
+
primary: string;
|
|
912
|
+
secondary: string;
|
|
913
|
+
error: string;
|
|
914
|
+
warning: string;
|
|
915
|
+
info: string;
|
|
916
|
+
success: string;
|
|
917
|
+
default: string;
|
|
918
|
+
};
|
|
919
|
+
size: {
|
|
920
|
+
sm: string;
|
|
921
|
+
md: string;
|
|
922
|
+
lg: string;
|
|
923
|
+
};
|
|
924
|
+
}, {
|
|
925
|
+
variant: {
|
|
926
|
+
default: string;
|
|
927
|
+
secondary: string;
|
|
928
|
+
destructive: string;
|
|
929
|
+
outline: string;
|
|
930
|
+
success: string;
|
|
931
|
+
warning: string;
|
|
932
|
+
info: string;
|
|
933
|
+
error: string;
|
|
934
|
+
};
|
|
935
|
+
color: {
|
|
936
|
+
primary: string;
|
|
937
|
+
secondary: string;
|
|
938
|
+
error: string;
|
|
939
|
+
warning: string;
|
|
940
|
+
info: string;
|
|
941
|
+
success: string;
|
|
942
|
+
default: string;
|
|
943
|
+
};
|
|
944
|
+
size: {
|
|
945
|
+
sm: string;
|
|
946
|
+
md: string;
|
|
947
|
+
lg: string;
|
|
948
|
+
};
|
|
949
|
+
}>, unknown, unknown, undefined>>;
|
|
950
|
+
declare const dotBadgeVariants: tailwind_variants.TVReturnType<{
|
|
951
|
+
variant: {
|
|
952
|
+
default: string;
|
|
953
|
+
secondary: string;
|
|
954
|
+
destructive: string;
|
|
955
|
+
outline: string;
|
|
956
|
+
success: string;
|
|
957
|
+
warning: string;
|
|
958
|
+
info: string;
|
|
959
|
+
error: string;
|
|
960
|
+
};
|
|
961
|
+
color: {
|
|
962
|
+
primary: string;
|
|
963
|
+
secondary: string;
|
|
964
|
+
error: string;
|
|
965
|
+
warning: string;
|
|
966
|
+
info: string;
|
|
967
|
+
success: string;
|
|
968
|
+
default: string;
|
|
969
|
+
};
|
|
970
|
+
size: {
|
|
971
|
+
sm: string;
|
|
972
|
+
md: string;
|
|
973
|
+
lg: string;
|
|
974
|
+
};
|
|
975
|
+
}, undefined, "inline-flex items-center gap-1.5 rounded-full border font-medium", tailwind_variants_dist_config_js.TVConfig<{
|
|
976
|
+
variant: {
|
|
977
|
+
default: string;
|
|
978
|
+
secondary: string;
|
|
979
|
+
destructive: string;
|
|
980
|
+
outline: string;
|
|
981
|
+
success: string;
|
|
982
|
+
warning: string;
|
|
983
|
+
info: string;
|
|
984
|
+
error: string;
|
|
985
|
+
};
|
|
986
|
+
color: {
|
|
987
|
+
primary: string;
|
|
988
|
+
secondary: string;
|
|
989
|
+
error: string;
|
|
990
|
+
warning: string;
|
|
991
|
+
info: string;
|
|
992
|
+
success: string;
|
|
993
|
+
default: string;
|
|
994
|
+
};
|
|
995
|
+
size: {
|
|
996
|
+
sm: string;
|
|
997
|
+
md: string;
|
|
998
|
+
lg: string;
|
|
999
|
+
};
|
|
1000
|
+
}, {
|
|
1001
|
+
variant: {
|
|
1002
|
+
default: string;
|
|
1003
|
+
secondary: string;
|
|
1004
|
+
destructive: string;
|
|
1005
|
+
outline: string;
|
|
1006
|
+
success: string;
|
|
1007
|
+
warning: string;
|
|
1008
|
+
info: string;
|
|
1009
|
+
error: string;
|
|
1010
|
+
};
|
|
1011
|
+
color: {
|
|
1012
|
+
primary: string;
|
|
1013
|
+
secondary: string;
|
|
1014
|
+
error: string;
|
|
1015
|
+
warning: string;
|
|
1016
|
+
info: string;
|
|
1017
|
+
success: string;
|
|
1018
|
+
default: string;
|
|
1019
|
+
};
|
|
1020
|
+
size: {
|
|
1021
|
+
sm: string;
|
|
1022
|
+
md: string;
|
|
1023
|
+
lg: string;
|
|
1024
|
+
};
|
|
1025
|
+
}>, {
|
|
1026
|
+
variant: {
|
|
1027
|
+
default: string;
|
|
1028
|
+
secondary: string;
|
|
1029
|
+
destructive: string;
|
|
1030
|
+
outline: string;
|
|
1031
|
+
success: string;
|
|
1032
|
+
warning: string;
|
|
1033
|
+
info: string;
|
|
1034
|
+
error: string;
|
|
1035
|
+
};
|
|
1036
|
+
color: {
|
|
1037
|
+
primary: string;
|
|
1038
|
+
secondary: string;
|
|
1039
|
+
error: string;
|
|
1040
|
+
warning: string;
|
|
1041
|
+
info: string;
|
|
1042
|
+
success: string;
|
|
1043
|
+
default: string;
|
|
1044
|
+
};
|
|
1045
|
+
size: {
|
|
1046
|
+
sm: string;
|
|
1047
|
+
md: string;
|
|
1048
|
+
lg: string;
|
|
1049
|
+
};
|
|
1050
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
1051
|
+
variant: {
|
|
1052
|
+
default: string;
|
|
1053
|
+
secondary: string;
|
|
1054
|
+
destructive: string;
|
|
1055
|
+
outline: string;
|
|
1056
|
+
success: string;
|
|
1057
|
+
warning: string;
|
|
1058
|
+
info: string;
|
|
1059
|
+
error: string;
|
|
1060
|
+
};
|
|
1061
|
+
color: {
|
|
1062
|
+
primary: string;
|
|
1063
|
+
secondary: string;
|
|
1064
|
+
error: string;
|
|
1065
|
+
warning: string;
|
|
1066
|
+
info: string;
|
|
1067
|
+
success: string;
|
|
1068
|
+
default: string;
|
|
1069
|
+
};
|
|
1070
|
+
size: {
|
|
1071
|
+
sm: string;
|
|
1072
|
+
md: string;
|
|
1073
|
+
lg: string;
|
|
1074
|
+
};
|
|
1075
|
+
}, undefined, "inline-flex items-center gap-1.5 rounded-full border font-medium", tailwind_variants_dist_config_js.TVConfig<{
|
|
1076
|
+
variant: {
|
|
1077
|
+
default: string;
|
|
1078
|
+
secondary: string;
|
|
1079
|
+
destructive: string;
|
|
1080
|
+
outline: string;
|
|
1081
|
+
success: string;
|
|
1082
|
+
warning: string;
|
|
1083
|
+
info: string;
|
|
1084
|
+
error: string;
|
|
1085
|
+
};
|
|
1086
|
+
color: {
|
|
1087
|
+
primary: string;
|
|
1088
|
+
secondary: string;
|
|
1089
|
+
error: string;
|
|
1090
|
+
warning: string;
|
|
1091
|
+
info: string;
|
|
1092
|
+
success: string;
|
|
1093
|
+
default: string;
|
|
1094
|
+
};
|
|
1095
|
+
size: {
|
|
1096
|
+
sm: string;
|
|
1097
|
+
md: string;
|
|
1098
|
+
lg: string;
|
|
1099
|
+
};
|
|
1100
|
+
}, {
|
|
1101
|
+
variant: {
|
|
1102
|
+
default: string;
|
|
1103
|
+
secondary: string;
|
|
1104
|
+
destructive: string;
|
|
1105
|
+
outline: string;
|
|
1106
|
+
success: string;
|
|
1107
|
+
warning: string;
|
|
1108
|
+
info: string;
|
|
1109
|
+
error: string;
|
|
1110
|
+
};
|
|
1111
|
+
color: {
|
|
1112
|
+
primary: string;
|
|
1113
|
+
secondary: string;
|
|
1114
|
+
error: string;
|
|
1115
|
+
warning: string;
|
|
1116
|
+
info: string;
|
|
1117
|
+
success: string;
|
|
1118
|
+
default: string;
|
|
1119
|
+
};
|
|
1120
|
+
size: {
|
|
1121
|
+
sm: string;
|
|
1122
|
+
md: string;
|
|
1123
|
+
lg: string;
|
|
1124
|
+
};
|
|
1125
|
+
}>, unknown, unknown, undefined>>;
|
|
1126
|
+
interface BadgeProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'>, VariantProps<typeof badgeVariants> {
|
|
1127
|
+
asChild?: boolean;
|
|
1128
|
+
/** Render a status dot before label text */
|
|
1129
|
+
dot?: boolean;
|
|
1130
|
+
/** Icon shown before label text */
|
|
1131
|
+
icon?: React.ReactNode;
|
|
1132
|
+
/** Show remove button — calls onRemove when clicked */
|
|
1133
|
+
removable?: boolean;
|
|
1134
|
+
onRemove?: (e: React.MouseEvent) => void;
|
|
1135
|
+
}
|
|
1136
|
+
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1137
|
+
|
|
1138
|
+
declare const Root$D: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1139
|
+
declare const Header$4: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1140
|
+
declare const Title$6: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
1141
|
+
declare const Description$6: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
1142
|
+
declare const Content$j: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1143
|
+
declare const Footer$4: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1144
|
+
|
|
1145
|
+
declare namespace index$D {
|
|
1146
|
+
export { Content$j as Content, Description$6 as Description, Footer$4 as Footer, Header$4 as Header, Root$D as Root, Title$6 as Title };
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
declare const spinnerVariants: tailwind_variants.TVReturnType<{
|
|
1150
|
+
size: {
|
|
1151
|
+
xs: string;
|
|
1152
|
+
sm: string;
|
|
1153
|
+
md: string;
|
|
1154
|
+
lg: string;
|
|
1155
|
+
xl: string;
|
|
1156
|
+
};
|
|
1157
|
+
color: {
|
|
1158
|
+
primary: string;
|
|
1159
|
+
secondary: string;
|
|
1160
|
+
success: string;
|
|
1161
|
+
warning: string;
|
|
1162
|
+
destructive: string;
|
|
1163
|
+
error: string;
|
|
1164
|
+
info: string;
|
|
1165
|
+
muted: string;
|
|
1166
|
+
inherit: string;
|
|
1167
|
+
};
|
|
1168
|
+
}, undefined, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
1169
|
+
size: {
|
|
1170
|
+
xs: string;
|
|
1171
|
+
sm: string;
|
|
1172
|
+
md: string;
|
|
1173
|
+
lg: string;
|
|
1174
|
+
xl: string;
|
|
1175
|
+
};
|
|
1176
|
+
color: {
|
|
1177
|
+
primary: string;
|
|
1178
|
+
secondary: string;
|
|
1179
|
+
success: string;
|
|
1180
|
+
warning: string;
|
|
1181
|
+
destructive: string;
|
|
1182
|
+
error: string;
|
|
1183
|
+
info: string;
|
|
1184
|
+
muted: string;
|
|
1185
|
+
inherit: string;
|
|
1186
|
+
};
|
|
1187
|
+
}, {
|
|
1188
|
+
size: {
|
|
1189
|
+
xs: string;
|
|
1190
|
+
sm: string;
|
|
1191
|
+
md: string;
|
|
1192
|
+
lg: string;
|
|
1193
|
+
xl: string;
|
|
1194
|
+
};
|
|
1195
|
+
color: {
|
|
1196
|
+
primary: string;
|
|
1197
|
+
secondary: string;
|
|
1198
|
+
success: string;
|
|
1199
|
+
warning: string;
|
|
1200
|
+
destructive: string;
|
|
1201
|
+
error: string;
|
|
1202
|
+
info: string;
|
|
1203
|
+
muted: string;
|
|
1204
|
+
inherit: string;
|
|
1205
|
+
};
|
|
1206
|
+
}>, {
|
|
1207
|
+
size: {
|
|
1208
|
+
xs: string;
|
|
1209
|
+
sm: string;
|
|
1210
|
+
md: string;
|
|
1211
|
+
lg: string;
|
|
1212
|
+
xl: string;
|
|
1213
|
+
};
|
|
1214
|
+
color: {
|
|
1215
|
+
primary: string;
|
|
1216
|
+
secondary: string;
|
|
1217
|
+
success: string;
|
|
1218
|
+
warning: string;
|
|
1219
|
+
destructive: string;
|
|
1220
|
+
error: string;
|
|
1221
|
+
info: string;
|
|
1222
|
+
muted: string;
|
|
1223
|
+
inherit: string;
|
|
1224
|
+
};
|
|
1225
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
1226
|
+
size: {
|
|
1227
|
+
xs: string;
|
|
1228
|
+
sm: string;
|
|
1229
|
+
md: string;
|
|
1230
|
+
lg: string;
|
|
1231
|
+
xl: string;
|
|
1232
|
+
};
|
|
1233
|
+
color: {
|
|
1234
|
+
primary: string;
|
|
1235
|
+
secondary: string;
|
|
1236
|
+
success: string;
|
|
1237
|
+
warning: string;
|
|
1238
|
+
destructive: string;
|
|
1239
|
+
error: string;
|
|
1240
|
+
info: string;
|
|
1241
|
+
muted: string;
|
|
1242
|
+
inherit: string;
|
|
1243
|
+
};
|
|
1244
|
+
}, undefined, undefined, tailwind_variants_dist_config_js.TVConfig<{
|
|
1245
|
+
size: {
|
|
1246
|
+
xs: string;
|
|
1247
|
+
sm: string;
|
|
1248
|
+
md: string;
|
|
1249
|
+
lg: string;
|
|
1250
|
+
xl: string;
|
|
1251
|
+
};
|
|
1252
|
+
color: {
|
|
1253
|
+
primary: string;
|
|
1254
|
+
secondary: string;
|
|
1255
|
+
success: string;
|
|
1256
|
+
warning: string;
|
|
1257
|
+
destructive: string;
|
|
1258
|
+
error: string;
|
|
1259
|
+
info: string;
|
|
1260
|
+
muted: string;
|
|
1261
|
+
inherit: string;
|
|
1262
|
+
};
|
|
1263
|
+
}, {
|
|
1264
|
+
size: {
|
|
1265
|
+
xs: string;
|
|
1266
|
+
sm: string;
|
|
1267
|
+
md: string;
|
|
1268
|
+
lg: string;
|
|
1269
|
+
xl: string;
|
|
1270
|
+
};
|
|
1271
|
+
color: {
|
|
1272
|
+
primary: string;
|
|
1273
|
+
secondary: string;
|
|
1274
|
+
success: string;
|
|
1275
|
+
warning: string;
|
|
1276
|
+
destructive: string;
|
|
1277
|
+
error: string;
|
|
1278
|
+
info: string;
|
|
1279
|
+
muted: string;
|
|
1280
|
+
inherit: string;
|
|
1281
|
+
};
|
|
1282
|
+
}>, unknown, unknown, undefined>>;
|
|
1283
|
+
interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
1284
|
+
variant?: 'border' | 'dots' | 'pulse' | 'bars';
|
|
1285
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1286
|
+
color?: 'primary' | 'secondary' | 'success' | 'warning' | 'destructive' | 'error' | 'info' | 'muted' | 'inherit';
|
|
1287
|
+
label?: string;
|
|
1288
|
+
}
|
|
1289
|
+
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1290
|
+
|
|
1291
|
+
declare const alertVariants: tailwind_variants.TVReturnType<{
|
|
1292
|
+
variant: {
|
|
1293
|
+
default: string;
|
|
1294
|
+
destructive: string;
|
|
1295
|
+
success: string;
|
|
1296
|
+
warning: string;
|
|
1297
|
+
info: string;
|
|
1298
|
+
error: string;
|
|
1299
|
+
};
|
|
1300
|
+
color: {
|
|
1301
|
+
primary: string;
|
|
1302
|
+
secondary: string;
|
|
1303
|
+
error: string;
|
|
1304
|
+
warning: string;
|
|
1305
|
+
info: string;
|
|
1306
|
+
success: string;
|
|
1307
|
+
default: string;
|
|
1308
|
+
};
|
|
1309
|
+
filled: {
|
|
1310
|
+
true: string;
|
|
1311
|
+
};
|
|
1312
|
+
}, undefined, "relative w-full rounded-lg border p-4", tailwind_variants_dist_config_js.TVConfig<{
|
|
1313
|
+
variant: {
|
|
1314
|
+
default: string;
|
|
1315
|
+
destructive: string;
|
|
1316
|
+
success: string;
|
|
1317
|
+
warning: string;
|
|
1318
|
+
info: string;
|
|
1319
|
+
error: string;
|
|
1320
|
+
};
|
|
1321
|
+
color: {
|
|
1322
|
+
primary: string;
|
|
1323
|
+
secondary: string;
|
|
1324
|
+
error: string;
|
|
1325
|
+
warning: string;
|
|
1326
|
+
info: string;
|
|
1327
|
+
success: string;
|
|
1328
|
+
default: string;
|
|
1329
|
+
};
|
|
1330
|
+
filled: {
|
|
1331
|
+
true: string;
|
|
1332
|
+
};
|
|
1333
|
+
}, {
|
|
1334
|
+
variant: {
|
|
1335
|
+
default: string;
|
|
1336
|
+
destructive: string;
|
|
1337
|
+
success: string;
|
|
1338
|
+
warning: string;
|
|
1339
|
+
info: string;
|
|
1340
|
+
error: string;
|
|
1341
|
+
};
|
|
1342
|
+
color: {
|
|
1343
|
+
primary: string;
|
|
1344
|
+
secondary: string;
|
|
1345
|
+
error: string;
|
|
1346
|
+
warning: string;
|
|
1347
|
+
info: string;
|
|
1348
|
+
success: string;
|
|
1349
|
+
default: string;
|
|
1350
|
+
};
|
|
1351
|
+
filled: {
|
|
1352
|
+
true: string;
|
|
1353
|
+
};
|
|
1354
|
+
}>, {
|
|
1355
|
+
variant: {
|
|
1356
|
+
default: string;
|
|
1357
|
+
destructive: string;
|
|
1358
|
+
success: string;
|
|
1359
|
+
warning: string;
|
|
1360
|
+
info: string;
|
|
1361
|
+
error: string;
|
|
1362
|
+
};
|
|
1363
|
+
color: {
|
|
1364
|
+
primary: string;
|
|
1365
|
+
secondary: string;
|
|
1366
|
+
error: string;
|
|
1367
|
+
warning: string;
|
|
1368
|
+
info: string;
|
|
1369
|
+
success: string;
|
|
1370
|
+
default: string;
|
|
1371
|
+
};
|
|
1372
|
+
filled: {
|
|
1373
|
+
true: string;
|
|
1374
|
+
};
|
|
1375
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
1376
|
+
variant: {
|
|
1377
|
+
default: string;
|
|
1378
|
+
destructive: string;
|
|
1379
|
+
success: string;
|
|
1380
|
+
warning: string;
|
|
1381
|
+
info: string;
|
|
1382
|
+
error: string;
|
|
1383
|
+
};
|
|
1384
|
+
color: {
|
|
1385
|
+
primary: string;
|
|
1386
|
+
secondary: string;
|
|
1387
|
+
error: string;
|
|
1388
|
+
warning: string;
|
|
1389
|
+
info: string;
|
|
1390
|
+
success: string;
|
|
1391
|
+
default: string;
|
|
1392
|
+
};
|
|
1393
|
+
filled: {
|
|
1394
|
+
true: string;
|
|
1395
|
+
};
|
|
1396
|
+
}, undefined, "relative w-full rounded-lg border p-4", tailwind_variants_dist_config_js.TVConfig<{
|
|
1397
|
+
variant: {
|
|
1398
|
+
default: string;
|
|
1399
|
+
destructive: string;
|
|
1400
|
+
success: string;
|
|
1401
|
+
warning: string;
|
|
1402
|
+
info: string;
|
|
1403
|
+
error: string;
|
|
1404
|
+
};
|
|
1405
|
+
color: {
|
|
1406
|
+
primary: string;
|
|
1407
|
+
secondary: string;
|
|
1408
|
+
error: string;
|
|
1409
|
+
warning: string;
|
|
1410
|
+
info: string;
|
|
1411
|
+
success: string;
|
|
1412
|
+
default: string;
|
|
1413
|
+
};
|
|
1414
|
+
filled: {
|
|
1415
|
+
true: string;
|
|
1416
|
+
};
|
|
1417
|
+
}, {
|
|
1418
|
+
variant: {
|
|
1419
|
+
default: string;
|
|
1420
|
+
destructive: string;
|
|
1421
|
+
success: string;
|
|
1422
|
+
warning: string;
|
|
1423
|
+
info: string;
|
|
1424
|
+
error: string;
|
|
1425
|
+
};
|
|
1426
|
+
color: {
|
|
1427
|
+
primary: string;
|
|
1428
|
+
secondary: string;
|
|
1429
|
+
error: string;
|
|
1430
|
+
warning: string;
|
|
1431
|
+
info: string;
|
|
1432
|
+
success: string;
|
|
1433
|
+
default: string;
|
|
1434
|
+
};
|
|
1435
|
+
filled: {
|
|
1436
|
+
true: string;
|
|
1437
|
+
};
|
|
1438
|
+
}>, unknown, unknown, undefined>>;
|
|
1439
|
+
interface AlertRootProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, VariantProps<typeof alertVariants> {
|
|
1440
|
+
/** Consumed by the convenience <Alert> wrapper; destructured so it never reaches the DOM. */
|
|
1441
|
+
onClose?: () => void;
|
|
1442
|
+
}
|
|
1443
|
+
declare const Root$C: React.ForwardRefExoticComponent<AlertRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
1444
|
+
declare const Icon: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
|
|
1445
|
+
declare const Content$i: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1446
|
+
declare const Title$5: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
1447
|
+
declare const Description$5: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1448
|
+
interface AlertCloseProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1449
|
+
}
|
|
1450
|
+
declare const Close$4: React.ForwardRefExoticComponent<AlertCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1451
|
+
interface AlertProps extends Omit<AlertRootProps, 'title'> {
|
|
1452
|
+
icon?: React.ReactNode;
|
|
1453
|
+
title?: React.ReactNode;
|
|
1454
|
+
description?: React.ReactNode;
|
|
1455
|
+
closeable?: boolean;
|
|
1456
|
+
onClose?: () => void;
|
|
1457
|
+
}
|
|
1458
|
+
declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
1459
|
+
declare const AlertWithSubs: typeof Alert & {
|
|
1460
|
+
Root: typeof Root$C;
|
|
1461
|
+
Icon: typeof Icon;
|
|
1462
|
+
Content: typeof Content$i;
|
|
1463
|
+
Title: typeof Title$5;
|
|
1464
|
+
Description: typeof Description$5;
|
|
1465
|
+
Close: typeof Close$4;
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
declare const inputVariants: tailwind_variants.TVReturnType<{
|
|
1469
|
+
size: {
|
|
1470
|
+
sm: string;
|
|
1471
|
+
md: string;
|
|
1472
|
+
lg: string;
|
|
1473
|
+
};
|
|
1474
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
1475
|
+
size: {
|
|
1476
|
+
sm: string;
|
|
1477
|
+
md: string;
|
|
1478
|
+
lg: string;
|
|
1479
|
+
};
|
|
1480
|
+
}, {
|
|
1481
|
+
size: {
|
|
1482
|
+
sm: string;
|
|
1483
|
+
md: string;
|
|
1484
|
+
lg: string;
|
|
1485
|
+
};
|
|
1486
|
+
}>, {
|
|
1487
|
+
size: {
|
|
1488
|
+
sm: string;
|
|
1489
|
+
md: string;
|
|
1490
|
+
lg: string;
|
|
1491
|
+
};
|
|
1492
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
1493
|
+
size: {
|
|
1494
|
+
sm: string;
|
|
1495
|
+
md: string;
|
|
1496
|
+
lg: string;
|
|
1497
|
+
};
|
|
1498
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
1499
|
+
size: {
|
|
1500
|
+
sm: string;
|
|
1501
|
+
md: string;
|
|
1502
|
+
lg: string;
|
|
1503
|
+
};
|
|
1504
|
+
}, {
|
|
1505
|
+
size: {
|
|
1506
|
+
sm: string;
|
|
1507
|
+
md: string;
|
|
1508
|
+
lg: string;
|
|
1509
|
+
};
|
|
1510
|
+
}>, unknown, unknown, undefined>>;
|
|
1511
|
+
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
|
|
1512
|
+
}
|
|
1513
|
+
declare const Input$8: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
1514
|
+
interface InputGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1515
|
+
/** Icon/element shown inside the input on the left */
|
|
1516
|
+
startElement?: React.ReactNode;
|
|
1517
|
+
/** Icon/element shown inside the input on the right */
|
|
1518
|
+
endElement?: React.ReactNode;
|
|
1519
|
+
/** Text/element attached outside the input on the left (e.g. "https://") */
|
|
1520
|
+
leftAddon?: React.ReactNode;
|
|
1521
|
+
/** Text/element attached outside the input on the right (e.g. ".com") */
|
|
1522
|
+
rightAddon?: React.ReactNode;
|
|
1523
|
+
}
|
|
1524
|
+
declare const InputGroup: React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
1525
|
+
interface ClearableInputProps extends InputProps {
|
|
1526
|
+
onClear?: () => void;
|
|
1527
|
+
clearIcon?: React.ReactNode;
|
|
1528
|
+
}
|
|
1529
|
+
declare const ClearableInput: React.ForwardRefExoticComponent<ClearableInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
1530
|
+
|
|
1531
|
+
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
1532
|
+
}
|
|
1533
|
+
declare const Textarea$1: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
1534
|
+
|
|
1535
|
+
type RadioColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
|
|
1536
|
+
declare const Root$B: React.ForwardRefExoticComponent<Omit<_structyl_primitives.RadioGroupRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1537
|
+
interface RadioItemProps extends React.ComponentPropsWithoutRef<typeof RadioGroup$3.Item> {
|
|
1538
|
+
color?: RadioColor;
|
|
1539
|
+
}
|
|
1540
|
+
declare const Item$g: React.ForwardRefExoticComponent<RadioItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1541
|
+
|
|
1542
|
+
declare namespace index$C {
|
|
1543
|
+
export { Item$g as Item, Root$B as Root };
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
declare const Root$A: React.ForwardRefExoticComponent<((Omit<_structyl_primitives.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<_structyl_primitives.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<tailwind_variants.TVReturnType<{
|
|
1547
|
+
variant: {
|
|
1548
|
+
default: string;
|
|
1549
|
+
outline: string;
|
|
1550
|
+
};
|
|
1551
|
+
color: {
|
|
1552
|
+
default: string;
|
|
1553
|
+
primary: string;
|
|
1554
|
+
secondary: string;
|
|
1555
|
+
error: string;
|
|
1556
|
+
warning: string;
|
|
1557
|
+
info: string;
|
|
1558
|
+
success: string;
|
|
1559
|
+
};
|
|
1560
|
+
size: {
|
|
1561
|
+
default: string;
|
|
1562
|
+
sm: string;
|
|
1563
|
+
lg: string;
|
|
1564
|
+
};
|
|
1565
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
1566
|
+
variant: {
|
|
1567
|
+
default: string;
|
|
1568
|
+
outline: string;
|
|
1569
|
+
};
|
|
1570
|
+
color: {
|
|
1571
|
+
default: string;
|
|
1572
|
+
primary: string;
|
|
1573
|
+
secondary: string;
|
|
1574
|
+
error: string;
|
|
1575
|
+
warning: string;
|
|
1576
|
+
info: string;
|
|
1577
|
+
success: string;
|
|
1578
|
+
};
|
|
1579
|
+
size: {
|
|
1580
|
+
default: string;
|
|
1581
|
+
sm: string;
|
|
1582
|
+
lg: string;
|
|
1583
|
+
};
|
|
1584
|
+
}, {
|
|
1585
|
+
variant: {
|
|
1586
|
+
default: string;
|
|
1587
|
+
outline: string;
|
|
1588
|
+
};
|
|
1589
|
+
color: {
|
|
1590
|
+
default: string;
|
|
1591
|
+
primary: string;
|
|
1592
|
+
secondary: string;
|
|
1593
|
+
error: string;
|
|
1594
|
+
warning: string;
|
|
1595
|
+
info: string;
|
|
1596
|
+
success: string;
|
|
1597
|
+
};
|
|
1598
|
+
size: {
|
|
1599
|
+
default: string;
|
|
1600
|
+
sm: string;
|
|
1601
|
+
lg: string;
|
|
1602
|
+
};
|
|
1603
|
+
}>, {
|
|
1604
|
+
variant: {
|
|
1605
|
+
default: string;
|
|
1606
|
+
outline: string;
|
|
1607
|
+
};
|
|
1608
|
+
color: {
|
|
1609
|
+
default: string;
|
|
1610
|
+
primary: string;
|
|
1611
|
+
secondary: string;
|
|
1612
|
+
error: string;
|
|
1613
|
+
warning: string;
|
|
1614
|
+
info: string;
|
|
1615
|
+
success: string;
|
|
1616
|
+
};
|
|
1617
|
+
size: {
|
|
1618
|
+
default: string;
|
|
1619
|
+
sm: string;
|
|
1620
|
+
lg: string;
|
|
1621
|
+
};
|
|
1622
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
1623
|
+
variant: {
|
|
1624
|
+
default: string;
|
|
1625
|
+
outline: string;
|
|
1626
|
+
};
|
|
1627
|
+
color: {
|
|
1628
|
+
default: string;
|
|
1629
|
+
primary: string;
|
|
1630
|
+
secondary: string;
|
|
1631
|
+
error: string;
|
|
1632
|
+
warning: string;
|
|
1633
|
+
info: string;
|
|
1634
|
+
success: string;
|
|
1635
|
+
};
|
|
1636
|
+
size: {
|
|
1637
|
+
default: string;
|
|
1638
|
+
sm: string;
|
|
1639
|
+
lg: string;
|
|
1640
|
+
};
|
|
1641
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
1642
|
+
variant: {
|
|
1643
|
+
default: string;
|
|
1644
|
+
outline: string;
|
|
1645
|
+
};
|
|
1646
|
+
color: {
|
|
1647
|
+
default: string;
|
|
1648
|
+
primary: string;
|
|
1649
|
+
secondary: string;
|
|
1650
|
+
error: string;
|
|
1651
|
+
warning: string;
|
|
1652
|
+
info: string;
|
|
1653
|
+
success: string;
|
|
1654
|
+
};
|
|
1655
|
+
size: {
|
|
1656
|
+
default: string;
|
|
1657
|
+
sm: string;
|
|
1658
|
+
lg: string;
|
|
1659
|
+
};
|
|
1660
|
+
}, {
|
|
1661
|
+
variant: {
|
|
1662
|
+
default: string;
|
|
1663
|
+
outline: string;
|
|
1664
|
+
};
|
|
1665
|
+
color: {
|
|
1666
|
+
default: string;
|
|
1667
|
+
primary: string;
|
|
1668
|
+
secondary: string;
|
|
1669
|
+
error: string;
|
|
1670
|
+
warning: string;
|
|
1671
|
+
info: string;
|
|
1672
|
+
success: string;
|
|
1673
|
+
};
|
|
1674
|
+
size: {
|
|
1675
|
+
default: string;
|
|
1676
|
+
sm: string;
|
|
1677
|
+
lg: string;
|
|
1678
|
+
};
|
|
1679
|
+
}>, unknown, unknown, undefined>>>) & React.RefAttributes<HTMLDivElement>>;
|
|
1680
|
+
declare const Item$f: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<tailwind_variants.TVReturnType<{
|
|
1681
|
+
variant: {
|
|
1682
|
+
default: string;
|
|
1683
|
+
outline: string;
|
|
1684
|
+
};
|
|
1685
|
+
color: {
|
|
1686
|
+
default: string;
|
|
1687
|
+
primary: string;
|
|
1688
|
+
secondary: string;
|
|
1689
|
+
error: string;
|
|
1690
|
+
warning: string;
|
|
1691
|
+
info: string;
|
|
1692
|
+
success: string;
|
|
1693
|
+
};
|
|
1694
|
+
size: {
|
|
1695
|
+
default: string;
|
|
1696
|
+
sm: string;
|
|
1697
|
+
lg: string;
|
|
1698
|
+
};
|
|
1699
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
1700
|
+
variant: {
|
|
1701
|
+
default: string;
|
|
1702
|
+
outline: string;
|
|
1703
|
+
};
|
|
1704
|
+
color: {
|
|
1705
|
+
default: string;
|
|
1706
|
+
primary: string;
|
|
1707
|
+
secondary: string;
|
|
1708
|
+
error: string;
|
|
1709
|
+
warning: string;
|
|
1710
|
+
info: string;
|
|
1711
|
+
success: string;
|
|
1712
|
+
};
|
|
1713
|
+
size: {
|
|
1714
|
+
default: string;
|
|
1715
|
+
sm: string;
|
|
1716
|
+
lg: string;
|
|
1717
|
+
};
|
|
1718
|
+
}, {
|
|
1719
|
+
variant: {
|
|
1720
|
+
default: string;
|
|
1721
|
+
outline: string;
|
|
1722
|
+
};
|
|
1723
|
+
color: {
|
|
1724
|
+
default: string;
|
|
1725
|
+
primary: string;
|
|
1726
|
+
secondary: string;
|
|
1727
|
+
error: string;
|
|
1728
|
+
warning: string;
|
|
1729
|
+
info: string;
|
|
1730
|
+
success: string;
|
|
1731
|
+
};
|
|
1732
|
+
size: {
|
|
1733
|
+
default: string;
|
|
1734
|
+
sm: string;
|
|
1735
|
+
lg: string;
|
|
1736
|
+
};
|
|
1737
|
+
}>, {
|
|
1738
|
+
variant: {
|
|
1739
|
+
default: string;
|
|
1740
|
+
outline: string;
|
|
1741
|
+
};
|
|
1742
|
+
color: {
|
|
1743
|
+
default: string;
|
|
1744
|
+
primary: string;
|
|
1745
|
+
secondary: string;
|
|
1746
|
+
error: string;
|
|
1747
|
+
warning: string;
|
|
1748
|
+
info: string;
|
|
1749
|
+
success: string;
|
|
1750
|
+
};
|
|
1751
|
+
size: {
|
|
1752
|
+
default: string;
|
|
1753
|
+
sm: string;
|
|
1754
|
+
lg: string;
|
|
1755
|
+
};
|
|
1756
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
1757
|
+
variant: {
|
|
1758
|
+
default: string;
|
|
1759
|
+
outline: string;
|
|
1760
|
+
};
|
|
1761
|
+
color: {
|
|
1762
|
+
default: string;
|
|
1763
|
+
primary: string;
|
|
1764
|
+
secondary: string;
|
|
1765
|
+
error: string;
|
|
1766
|
+
warning: string;
|
|
1767
|
+
info: string;
|
|
1768
|
+
success: string;
|
|
1769
|
+
};
|
|
1770
|
+
size: {
|
|
1771
|
+
default: string;
|
|
1772
|
+
sm: string;
|
|
1773
|
+
lg: string;
|
|
1774
|
+
};
|
|
1775
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
1776
|
+
variant: {
|
|
1777
|
+
default: string;
|
|
1778
|
+
outline: string;
|
|
1779
|
+
};
|
|
1780
|
+
color: {
|
|
1781
|
+
default: string;
|
|
1782
|
+
primary: string;
|
|
1783
|
+
secondary: string;
|
|
1784
|
+
error: string;
|
|
1785
|
+
warning: string;
|
|
1786
|
+
info: string;
|
|
1787
|
+
success: string;
|
|
1788
|
+
};
|
|
1789
|
+
size: {
|
|
1790
|
+
default: string;
|
|
1791
|
+
sm: string;
|
|
1792
|
+
lg: string;
|
|
1793
|
+
};
|
|
1794
|
+
}, {
|
|
1795
|
+
variant: {
|
|
1796
|
+
default: string;
|
|
1797
|
+
outline: string;
|
|
1798
|
+
};
|
|
1799
|
+
color: {
|
|
1800
|
+
default: string;
|
|
1801
|
+
primary: string;
|
|
1802
|
+
secondary: string;
|
|
1803
|
+
error: string;
|
|
1804
|
+
warning: string;
|
|
1805
|
+
info: string;
|
|
1806
|
+
success: string;
|
|
1807
|
+
};
|
|
1808
|
+
size: {
|
|
1809
|
+
default: string;
|
|
1810
|
+
sm: string;
|
|
1811
|
+
lg: string;
|
|
1812
|
+
};
|
|
1813
|
+
}>, unknown, unknown, undefined>>> & React.RefAttributes<HTMLButtonElement>>;
|
|
1814
|
+
|
|
1815
|
+
declare namespace index$B {
|
|
1816
|
+
export { Item$f as Item, Root$A as Root };
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
type SliderColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
|
|
1820
|
+
interface SliderProps extends React.ComponentPropsWithoutRef<typeof Slider$1.Root> {
|
|
1821
|
+
/** Number of thumbs to render. Inferred from value/defaultValue length when omitted. */
|
|
1822
|
+
thumbCount?: number;
|
|
1823
|
+
color?: SliderColor;
|
|
1824
|
+
}
|
|
1825
|
+
declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1826
|
+
|
|
1827
|
+
declare const Root$z: React.ForwardRefExoticComponent<Omit<_structyl_primitives.FormProps & React.RefAttributes<HTMLFormElement>, "ref"> & React.RefAttributes<HTMLFormElement>>;
|
|
1828
|
+
declare const Field: React.ForwardRefExoticComponent<Omit<_structyl_primitives.FormFieldProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1829
|
+
declare const Label$5: React.ForwardRefExoticComponent<Omit<_structyl_primitives.FormLabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
1830
|
+
declare const Control: React.ForwardRefExoticComponent<Omit<_structyl_primitives.FormControlProps & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1831
|
+
declare const Message: React.ForwardRefExoticComponent<Omit<_structyl_primitives.FormMessageProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1832
|
+
declare const Submit: React.ForwardRefExoticComponent<_structyl_primitives.FormSubmitProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1833
|
+
declare const ValidityState: React.FC<_structyl_primitives.FormValidityStateProps>;
|
|
1834
|
+
|
|
1835
|
+
declare const index$A_Control: typeof Control;
|
|
1836
|
+
declare const index$A_Field: typeof Field;
|
|
1837
|
+
declare const index$A_Message: typeof Message;
|
|
1838
|
+
declare const index$A_Submit: typeof Submit;
|
|
1839
|
+
declare const index$A_ValidityState: typeof ValidityState;
|
|
1840
|
+
declare namespace index$A {
|
|
1841
|
+
export { index$A_Control as Control, index$A_Field as Field, Label$5 as Label, index$A_Message as Message, Root$z as Root, index$A_Submit as Submit, index$A_ValidityState as ValidityState };
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
declare const Root$y: React.ForwardRefExoticComponent<_structyl_primitives.CollapsibleRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
1845
|
+
declare const Trigger$g: React.ForwardRefExoticComponent<Omit<_structyl_primitives.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1846
|
+
declare const Content$h: React.ForwardRefExoticComponent<Omit<_structyl_primitives.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1847
|
+
|
|
1848
|
+
declare namespace index$z {
|
|
1849
|
+
export { Content$h as Content, Root$y as Root, Trigger$g as Trigger };
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
type AccordionVariant = 'default' | 'bordered' | 'separated' | 'flushed' | 'ghost';
|
|
1853
|
+
type AccordionRootProps = React.ComponentPropsWithoutRef<typeof Accordion.Root> & {
|
|
1854
|
+
variant?: AccordionVariant;
|
|
1855
|
+
};
|
|
1856
|
+
declare const Root$x: React.ForwardRefExoticComponent<AccordionRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
1857
|
+
declare const Item$e: React.ForwardRefExoticComponent<Omit<_structyl_primitives.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1858
|
+
interface AccordionTriggerProps extends React.ComponentPropsWithoutRef<typeof Accordion.Trigger> {
|
|
1859
|
+
/** Override the default chevron icon */
|
|
1860
|
+
icon?: React.ReactNode;
|
|
1861
|
+
/** Position of the icon */
|
|
1862
|
+
iconPosition?: 'left' | 'right';
|
|
1863
|
+
}
|
|
1864
|
+
declare const Trigger$f: React.ForwardRefExoticComponent<AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1865
|
+
declare const Content$g: React.ForwardRefExoticComponent<Omit<_structyl_primitives.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1866
|
+
|
|
1867
|
+
type index$y_AccordionRootProps = AccordionRootProps;
|
|
1868
|
+
type index$y_AccordionTriggerProps = AccordionTriggerProps;
|
|
1869
|
+
type index$y_AccordionVariant = AccordionVariant;
|
|
1870
|
+
declare namespace index$y {
|
|
1871
|
+
export { type index$y_AccordionRootProps as AccordionRootProps, type index$y_AccordionTriggerProps as AccordionTriggerProps, type index$y_AccordionVariant as AccordionVariant, Content$g as Content, Item$e as Item, Root$x as Root, Trigger$f as Trigger };
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
type TabsVariant = 'default' | 'underline' | 'pills' | 'enclosed';
|
|
1875
|
+
type TabsColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
|
|
1876
|
+
interface TabsRootProps extends React.ComponentPropsWithoutRef<typeof Tabs.Root> {
|
|
1877
|
+
variant?: TabsVariant;
|
|
1878
|
+
color?: TabsColor;
|
|
1879
|
+
}
|
|
1880
|
+
declare const Root$w: React.ForwardRefExoticComponent<TabsRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
1881
|
+
declare const List$5: React.ForwardRefExoticComponent<Omit<_structyl_primitives.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1882
|
+
scrollable?: boolean;
|
|
1883
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1884
|
+
declare const Trigger$e: React.ForwardRefExoticComponent<Omit<_structyl_primitives.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1885
|
+
declare const Content$f: React.ForwardRefExoticComponent<Omit<_structyl_primitives.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1886
|
+
|
|
1887
|
+
type index$x_TabsColor = TabsColor;
|
|
1888
|
+
type index$x_TabsRootProps = TabsRootProps;
|
|
1889
|
+
type index$x_TabsVariant = TabsVariant;
|
|
1890
|
+
declare namespace index$x {
|
|
1891
|
+
export { Content$f as Content, List$5 as List, Root$w as Root, type index$x_TabsColor as TabsColor, type index$x_TabsRootProps as TabsRootProps, type index$x_TabsVariant as TabsVariant, Trigger$e as Trigger };
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
declare const Root$v: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
1895
|
+
separator?: React.ReactNode;
|
|
1896
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
1897
|
+
declare const List$4: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
1898
|
+
declare const Item$d: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
1899
|
+
interface BreadcrumbLinkProps extends React.ComponentPropsWithoutRef<'a'> {
|
|
1900
|
+
asChild?: boolean;
|
|
1901
|
+
}
|
|
1902
|
+
declare const Link$3: React.ForwardRefExoticComponent<BreadcrumbLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
1903
|
+
declare const Page: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1904
|
+
declare const Separator$9: React.FC<React.ComponentProps<'li'>>;
|
|
1905
|
+
declare const Ellipsis: React.FC<React.ComponentProps<'span'>>;
|
|
1906
|
+
|
|
1907
|
+
declare const index$w_Ellipsis: typeof Ellipsis;
|
|
1908
|
+
declare const index$w_Page: typeof Page;
|
|
1909
|
+
declare namespace index$w {
|
|
1910
|
+
export { index$w_Ellipsis as Ellipsis, Item$d as Item, Link$3 as Link, List$4 as List, index$w_Page as Page, Root$v as Root, Separator$9 as Separator };
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
interface PaginationProps {
|
|
1914
|
+
/** Current page number (1-based) */
|
|
1915
|
+
page: number;
|
|
1916
|
+
/** Total number of pages */
|
|
1917
|
+
pageCount: number;
|
|
1918
|
+
/** Current page size */
|
|
1919
|
+
pageSize?: number;
|
|
1920
|
+
/** Total row count shown on the left */
|
|
1921
|
+
totalRows?: number;
|
|
1922
|
+
/** Called when the user navigates to a different page */
|
|
1923
|
+
onPageChange: (page: number) => void;
|
|
1924
|
+
/** Called when the user changes the page size; if omitted the rows-per-page selector is hidden */
|
|
1925
|
+
onPageSizeChange?: (pageSize: number) => void;
|
|
1926
|
+
/** Options for the rows-per-page selector */
|
|
1927
|
+
pageSizeOptions?: number[];
|
|
1928
|
+
/** Show the "X total rows" label (only visible when totalRows is provided) */
|
|
1929
|
+
showTotalRows?: boolean;
|
|
1930
|
+
className?: string;
|
|
1931
|
+
}
|
|
1932
|
+
declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLDivElement>>;
|
|
1933
|
+
|
|
1934
|
+
type StepperColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
|
|
1935
|
+
interface StepperRootProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1936
|
+
activeStep: number;
|
|
1937
|
+
orientation?: 'horizontal' | 'vertical';
|
|
1938
|
+
color?: StepperColor;
|
|
1939
|
+
}
|
|
1940
|
+
declare const Root$u: React.ForwardRefExoticComponent<StepperRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
1941
|
+
interface StepProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1942
|
+
index: number;
|
|
1943
|
+
}
|
|
1944
|
+
declare const Step: React.ForwardRefExoticComponent<StepProps & React.RefAttributes<HTMLDivElement>>;
|
|
1945
|
+
declare const Title$4: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
|
|
1946
|
+
declare const Description$4: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
|
|
1947
|
+
declare const Separator$8: React.FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
1948
|
+
|
|
1949
|
+
declare const index$v_Step: typeof Step;
|
|
1950
|
+
type index$v_StepperColor = StepperColor;
|
|
1951
|
+
declare namespace index$v {
|
|
1952
|
+
export { Description$4 as Description, Root$u as Root, Separator$8 as Separator, index$v_Step as Step, type index$v_StepperColor as StepperColor, Title$4 as Title };
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
declare const Root$t: React.FC<_structyl_primitives.AlertDialogRootProps>;
|
|
1956
|
+
declare const Trigger$d: React.ForwardRefExoticComponent<_structyl_primitives.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1957
|
+
declare const Portal$9: React.FC<_structyl_primitives.AlertDialogPortalProps>;
|
|
1958
|
+
declare const Overlay$2: React.ForwardRefExoticComponent<Omit<_structyl_primitives.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1959
|
+
declare const Content$e: React.ForwardRefExoticComponent<Omit<_structyl_primitives.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1960
|
+
declare const Header$3: React.FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
1961
|
+
declare const Footer$3: React.FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
1962
|
+
declare const Title$3: React.ForwardRefExoticComponent<Omit<_structyl_primitives.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
1963
|
+
declare const Description$3: React.ForwardRefExoticComponent<Omit<_structyl_primitives.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
1964
|
+
declare const Action$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1965
|
+
declare const Cancel: React.ForwardRefExoticComponent<Omit<_structyl_primitives.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1966
|
+
|
|
1967
|
+
declare const index$u_Cancel: typeof Cancel;
|
|
1968
|
+
declare namespace index$u {
|
|
1969
|
+
export { Action$1 as Action, index$u_Cancel as Cancel, Content$e as Content, Description$3 as Description, Footer$3 as Footer, Header$3 as Header, Overlay$2 as Overlay, Portal$9 as Portal, Root$t as Root, Title$3 as Title, Trigger$d as Trigger };
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
declare const Root$s: React.FC<_structyl_primitives.DialogRootProps>;
|
|
1973
|
+
declare const Trigger$c: React.ForwardRefExoticComponent<_structyl_primitives.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1974
|
+
declare const Portal$8: React.FC<_structyl_primitives.DialogPortalProps>;
|
|
1975
|
+
declare const Close$3: React.ForwardRefExoticComponent<_structyl_primitives.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1976
|
+
declare const Overlay$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1977
|
+
declare const sheetVariants: tailwind_variants.TVReturnType<{
|
|
1978
|
+
side: {
|
|
1979
|
+
top: string;
|
|
1980
|
+
bottom: string;
|
|
1981
|
+
left: string;
|
|
1982
|
+
right: string;
|
|
1983
|
+
};
|
|
1984
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
1985
|
+
side: {
|
|
1986
|
+
top: string;
|
|
1987
|
+
bottom: string;
|
|
1988
|
+
left: string;
|
|
1989
|
+
right: string;
|
|
1990
|
+
};
|
|
1991
|
+
}, {
|
|
1992
|
+
side: {
|
|
1993
|
+
top: string;
|
|
1994
|
+
bottom: string;
|
|
1995
|
+
left: string;
|
|
1996
|
+
right: string;
|
|
1997
|
+
};
|
|
1998
|
+
}>, {
|
|
1999
|
+
side: {
|
|
2000
|
+
top: string;
|
|
2001
|
+
bottom: string;
|
|
2002
|
+
left: string;
|
|
2003
|
+
right: string;
|
|
2004
|
+
};
|
|
2005
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
2006
|
+
side: {
|
|
2007
|
+
top: string;
|
|
2008
|
+
bottom: string;
|
|
2009
|
+
left: string;
|
|
2010
|
+
right: string;
|
|
2011
|
+
};
|
|
2012
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
2013
|
+
side: {
|
|
2014
|
+
top: string;
|
|
2015
|
+
bottom: string;
|
|
2016
|
+
left: string;
|
|
2017
|
+
right: string;
|
|
2018
|
+
};
|
|
2019
|
+
}, {
|
|
2020
|
+
side: {
|
|
2021
|
+
top: string;
|
|
2022
|
+
bottom: string;
|
|
2023
|
+
left: string;
|
|
2024
|
+
right: string;
|
|
2025
|
+
};
|
|
2026
|
+
}>, unknown, unknown, undefined>>;
|
|
2027
|
+
interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof Dialog.Content>, VariantProps<typeof sheetVariants> {
|
|
2028
|
+
}
|
|
2029
|
+
declare const Content$d: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
2030
|
+
declare const Header$2: React.FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
2031
|
+
declare const Footer$2: React.FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
2032
|
+
declare const Title$2: React.ForwardRefExoticComponent<Omit<_structyl_primitives.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
2033
|
+
declare const Description$2: React.ForwardRefExoticComponent<Omit<_structyl_primitives.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
2034
|
+
|
|
2035
|
+
type index$t_SheetContentProps = SheetContentProps;
|
|
2036
|
+
declare namespace index$t {
|
|
2037
|
+
export { Close$3 as Close, Content$d as Content, Description$2 as Description, Footer$2 as Footer, Header$2 as Header, Overlay$1 as Overlay, Portal$8 as Portal, Root$s as Root, type index$t_SheetContentProps as SheetContentProps, Title$2 as Title, Trigger$c as Trigger };
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
declare const Root$r: React.FC<_structyl_primitives.DialogRootProps>;
|
|
2041
|
+
declare const Trigger$b: React.ForwardRefExoticComponent<_structyl_primitives.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2042
|
+
declare const Portal$7: React.FC<_structyl_primitives.DialogPortalProps>;
|
|
2043
|
+
declare const Close$2: React.ForwardRefExoticComponent<_structyl_primitives.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2044
|
+
declare const Overlay: React.ForwardRefExoticComponent<Omit<_structyl_primitives.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2045
|
+
declare const Content$c: React.ForwardRefExoticComponent<Omit<_structyl_primitives.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2046
|
+
declare const Header$1: React.FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
2047
|
+
declare const Footer$1: React.FC<React.HTMLAttributes<HTMLDivElement>>;
|
|
2048
|
+
declare const Title$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
2049
|
+
declare const Description$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
2050
|
+
|
|
2051
|
+
declare const index$s_Overlay: typeof Overlay;
|
|
2052
|
+
declare namespace index$s {
|
|
2053
|
+
export { Close$2 as Close, Content$c as Content, Description$1 as Description, Footer$1 as Footer, Header$1 as Header, index$s_Overlay as Overlay, Portal$7 as Portal, Root$r as Root, Title$1 as Title, Trigger$b as Trigger };
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
declare const Root$q: React.FC<_structyl_primitives.PopoverRootProps>;
|
|
2057
|
+
declare const Trigger$a: React.ForwardRefExoticComponent<_structyl_primitives.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2058
|
+
declare const Anchor: React.ForwardRefExoticComponent<_structyl_primitives.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
2059
|
+
declare const Portal$6: React.FC<_structyl_primitives.PopoverPortalProps>;
|
|
2060
|
+
declare const Close$1: React.ForwardRefExoticComponent<_structyl_primitives.PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2061
|
+
declare const Arrow$2: React.ForwardRefExoticComponent<_structyl_primitives.PopoverArrowProps & React.RefAttributes<SVGSVGElement>>;
|
|
2062
|
+
declare const Content$b: React.ForwardRefExoticComponent<Omit<_structyl_primitives.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2063
|
+
container?: Element | DocumentFragment | null;
|
|
2064
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2065
|
+
|
|
2066
|
+
declare const index$r_Anchor: typeof Anchor;
|
|
2067
|
+
declare namespace index$r {
|
|
2068
|
+
export { index$r_Anchor as Anchor, Arrow$2 as Arrow, Close$1 as Close, Content$b as Content, Portal$6 as Portal, Root$q as Root, Trigger$a as Trigger };
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
declare const tooltipContentVariants: tailwind_variants.TVReturnType<{
|
|
2072
|
+
variant: {
|
|
2073
|
+
default: string;
|
|
2074
|
+
dark: string;
|
|
2075
|
+
light: string;
|
|
2076
|
+
primary: string;
|
|
2077
|
+
secondary: string;
|
|
2078
|
+
info: string;
|
|
2079
|
+
warning: string;
|
|
2080
|
+
error: string;
|
|
2081
|
+
success: string;
|
|
2082
|
+
};
|
|
2083
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
2084
|
+
variant: {
|
|
2085
|
+
default: string;
|
|
2086
|
+
dark: string;
|
|
2087
|
+
light: string;
|
|
2088
|
+
primary: string;
|
|
2089
|
+
secondary: string;
|
|
2090
|
+
info: string;
|
|
2091
|
+
warning: string;
|
|
2092
|
+
error: string;
|
|
2093
|
+
success: string;
|
|
2094
|
+
};
|
|
2095
|
+
}, {
|
|
2096
|
+
variant: {
|
|
2097
|
+
default: string;
|
|
2098
|
+
dark: string;
|
|
2099
|
+
light: string;
|
|
2100
|
+
primary: string;
|
|
2101
|
+
secondary: string;
|
|
2102
|
+
info: string;
|
|
2103
|
+
warning: string;
|
|
2104
|
+
error: string;
|
|
2105
|
+
success: string;
|
|
2106
|
+
};
|
|
2107
|
+
}>, {
|
|
2108
|
+
variant: {
|
|
2109
|
+
default: string;
|
|
2110
|
+
dark: string;
|
|
2111
|
+
light: string;
|
|
2112
|
+
primary: string;
|
|
2113
|
+
secondary: string;
|
|
2114
|
+
info: string;
|
|
2115
|
+
warning: string;
|
|
2116
|
+
error: string;
|
|
2117
|
+
success: string;
|
|
2118
|
+
};
|
|
2119
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
2120
|
+
variant: {
|
|
2121
|
+
default: string;
|
|
2122
|
+
dark: string;
|
|
2123
|
+
light: string;
|
|
2124
|
+
primary: string;
|
|
2125
|
+
secondary: string;
|
|
2126
|
+
info: string;
|
|
2127
|
+
warning: string;
|
|
2128
|
+
error: string;
|
|
2129
|
+
success: string;
|
|
2130
|
+
};
|
|
2131
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
2132
|
+
variant: {
|
|
2133
|
+
default: string;
|
|
2134
|
+
dark: string;
|
|
2135
|
+
light: string;
|
|
2136
|
+
primary: string;
|
|
2137
|
+
secondary: string;
|
|
2138
|
+
info: string;
|
|
2139
|
+
warning: string;
|
|
2140
|
+
error: string;
|
|
2141
|
+
success: string;
|
|
2142
|
+
};
|
|
2143
|
+
}, {
|
|
2144
|
+
variant: {
|
|
2145
|
+
default: string;
|
|
2146
|
+
dark: string;
|
|
2147
|
+
light: string;
|
|
2148
|
+
primary: string;
|
|
2149
|
+
secondary: string;
|
|
2150
|
+
info: string;
|
|
2151
|
+
warning: string;
|
|
2152
|
+
error: string;
|
|
2153
|
+
success: string;
|
|
2154
|
+
};
|
|
2155
|
+
}>, unknown, unknown, undefined>>;
|
|
2156
|
+
declare const Provider$1: React.FC<_structyl_primitives.TooltipProviderProps>;
|
|
2157
|
+
declare const Root$p: React.FC<_structyl_primitives.TooltipRootProps>;
|
|
2158
|
+
declare const Trigger$9: React.ForwardRefExoticComponent<_structyl_primitives.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2159
|
+
declare const Portal$5: React.FC<_structyl_primitives.TooltipPortalProps>;
|
|
2160
|
+
declare const Arrow$1: React.ForwardRefExoticComponent<_structyl_primitives.TooltipArrowProps & React.RefAttributes<SVGSVGElement>>;
|
|
2161
|
+
interface TooltipContentProps extends React.ComponentPropsWithoutRef<typeof Tooltip$2.Content>, VariantProps<typeof tooltipContentVariants> {
|
|
2162
|
+
maxWidth?: string | number;
|
|
2163
|
+
arrow?: boolean;
|
|
2164
|
+
}
|
|
2165
|
+
declare const Content$a: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
2166
|
+
interface TooltipProps {
|
|
2167
|
+
label: React.ReactNode;
|
|
2168
|
+
children: React.ReactNode;
|
|
2169
|
+
side?: React.ComponentPropsWithoutRef<typeof Tooltip$2.Content>['side'];
|
|
2170
|
+
align?: React.ComponentPropsWithoutRef<typeof Tooltip$2.Content>['align'];
|
|
2171
|
+
delayDuration?: number;
|
|
2172
|
+
skipDelayDuration?: number;
|
|
2173
|
+
variant?: VariantProps<typeof tooltipContentVariants>['variant'];
|
|
2174
|
+
maxWidth?: string | number;
|
|
2175
|
+
arrow?: boolean;
|
|
2176
|
+
disabled?: boolean;
|
|
2177
|
+
}
|
|
2178
|
+
declare const Tooltip$1: {
|
|
2179
|
+
({ children, label, side, align, delayDuration, skipDelayDuration, variant, maxWidth, arrow, disabled, }: TooltipProps): React.JSX.Element;
|
|
2180
|
+
displayName: string;
|
|
2181
|
+
};
|
|
2182
|
+
|
|
2183
|
+
type index$q_TooltipContentProps = TooltipContentProps;
|
|
2184
|
+
type index$q_TooltipProps = TooltipProps;
|
|
2185
|
+
declare const index$q_tooltipContentVariants: typeof tooltipContentVariants;
|
|
2186
|
+
declare namespace index$q {
|
|
2187
|
+
export { Arrow$1 as Arrow, Content$a as Content, Portal$5 as Portal, Provider$1 as Provider, Root$p as Root, Tooltip$1 as Tooltip, type index$q_TooltipContentProps as TooltipContentProps, type index$q_TooltipProps as TooltipProps, Trigger$9 as Trigger, index$q_tooltipContentVariants as tooltipContentVariants };
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
declare const Root$o: React.FC<_structyl_primitives.HoverCardRootProps>;
|
|
2191
|
+
declare const Trigger$8: React.ForwardRefExoticComponent<_structyl_primitives.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
2192
|
+
declare const Portal$4: React.FC<_structyl_primitives.HoverCardPortalProps>;
|
|
2193
|
+
declare const Arrow: React.ForwardRefExoticComponent<_structyl_primitives.HoverCardArrowProps & React.RefAttributes<SVGSVGElement>>;
|
|
2194
|
+
declare const Content$9: React.ForwardRefExoticComponent<Omit<_structyl_primitives.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2195
|
+
|
|
2196
|
+
declare const index$p_Arrow: typeof Arrow;
|
|
2197
|
+
declare namespace index$p {
|
|
2198
|
+
export { index$p_Arrow as Arrow, Content$9 as Content, Portal$4 as Portal, Root$o as Root, Trigger$8 as Trigger };
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
declare const Provider: React.FC<_structyl_primitives.ToastProviderProps>;
|
|
2202
|
+
declare const Viewport$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
2203
|
+
declare const toastVariants: tailwind_variants.TVReturnType<{
|
|
2204
|
+
variant: {
|
|
2205
|
+
default: string;
|
|
2206
|
+
destructive: string;
|
|
2207
|
+
error: string;
|
|
2208
|
+
success: string;
|
|
2209
|
+
warning: string;
|
|
2210
|
+
info: string;
|
|
2211
|
+
};
|
|
2212
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
2213
|
+
variant: {
|
|
2214
|
+
default: string;
|
|
2215
|
+
destructive: string;
|
|
2216
|
+
error: string;
|
|
2217
|
+
success: string;
|
|
2218
|
+
warning: string;
|
|
2219
|
+
info: string;
|
|
2220
|
+
};
|
|
2221
|
+
}, {
|
|
2222
|
+
variant: {
|
|
2223
|
+
default: string;
|
|
2224
|
+
destructive: string;
|
|
2225
|
+
error: string;
|
|
2226
|
+
success: string;
|
|
2227
|
+
warning: string;
|
|
2228
|
+
info: string;
|
|
2229
|
+
};
|
|
2230
|
+
}>, {
|
|
2231
|
+
variant: {
|
|
2232
|
+
default: string;
|
|
2233
|
+
destructive: string;
|
|
2234
|
+
error: string;
|
|
2235
|
+
success: string;
|
|
2236
|
+
warning: string;
|
|
2237
|
+
info: string;
|
|
2238
|
+
};
|
|
2239
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
2240
|
+
variant: {
|
|
2241
|
+
default: string;
|
|
2242
|
+
destructive: string;
|
|
2243
|
+
error: string;
|
|
2244
|
+
success: string;
|
|
2245
|
+
warning: string;
|
|
2246
|
+
info: string;
|
|
2247
|
+
};
|
|
2248
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
2249
|
+
variant: {
|
|
2250
|
+
default: string;
|
|
2251
|
+
destructive: string;
|
|
2252
|
+
error: string;
|
|
2253
|
+
success: string;
|
|
2254
|
+
warning: string;
|
|
2255
|
+
info: string;
|
|
2256
|
+
};
|
|
2257
|
+
}, {
|
|
2258
|
+
variant: {
|
|
2259
|
+
default: string;
|
|
2260
|
+
destructive: string;
|
|
2261
|
+
error: string;
|
|
2262
|
+
success: string;
|
|
2263
|
+
warning: string;
|
|
2264
|
+
info: string;
|
|
2265
|
+
};
|
|
2266
|
+
}>, unknown, unknown, undefined>>;
|
|
2267
|
+
interface ToastRootProps extends React.ComponentPropsWithoutRef<typeof Toast.Root>, VariantProps<typeof toastVariants> {
|
|
2268
|
+
}
|
|
2269
|
+
declare const Root$n: React.ForwardRefExoticComponent<ToastRootProps & React.RefAttributes<HTMLLIElement>>;
|
|
2270
|
+
declare const Action: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2271
|
+
declare const Close: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2272
|
+
declare const Title: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2273
|
+
declare const Description: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2274
|
+
|
|
2275
|
+
type ToastVariant = 'default' | 'success' | 'error' | 'warning' | 'info' | 'loading';
|
|
2276
|
+
type ToastHorizontal = 'left' | 'center' | 'right';
|
|
2277
|
+
type ToastVertical = 'top' | 'bottom';
|
|
2278
|
+
interface ToastOptions {
|
|
2279
|
+
/** Reuse / update an existing toast when the same ID is fired again. */
|
|
2280
|
+
id?: string;
|
|
2281
|
+
title?: string;
|
|
2282
|
+
description?: string;
|
|
2283
|
+
variant?: ToastVariant;
|
|
2284
|
+
/** Auto-dismiss in ms. Pass `Infinity` to keep until manually dismissed. */
|
|
2285
|
+
duration?: number;
|
|
2286
|
+
/** Horizontal placement of the toast. */
|
|
2287
|
+
horizontal?: ToastHorizontal;
|
|
2288
|
+
/** Vertical placement of the toast. */
|
|
2289
|
+
vertical?: ToastVertical;
|
|
2290
|
+
/**
|
|
2291
|
+
* Adds a "Retry" button. When combined with `action`, `action` takes priority
|
|
2292
|
+
* for the button label — `retry` only supplies the click handler.
|
|
2293
|
+
*/
|
|
2294
|
+
retry?: () => void;
|
|
2295
|
+
/** Custom action button. */
|
|
2296
|
+
action?: {
|
|
2297
|
+
label: string;
|
|
2298
|
+
onClick: () => void;
|
|
2299
|
+
};
|
|
2300
|
+
/** Called right before the toast is dismissed. */
|
|
2301
|
+
onDismiss?: (id: string) => void;
|
|
2302
|
+
}
|
|
2303
|
+
interface ToastItem extends Required<Pick<ToastOptions, 'id' | 'variant' | 'duration'>> {
|
|
2304
|
+
title?: string;
|
|
2305
|
+
description?: string;
|
|
2306
|
+
horizontal?: ToastHorizontal;
|
|
2307
|
+
vertical?: ToastVertical;
|
|
2308
|
+
retry?: () => void;
|
|
2309
|
+
action?: ToastOptions['action'];
|
|
2310
|
+
onDismiss?: (id: string) => void;
|
|
2311
|
+
open: boolean;
|
|
2312
|
+
createdAt: number;
|
|
2313
|
+
}
|
|
2314
|
+
/**
|
|
2315
|
+
* Fire toasts imperatively from anywhere — event handlers, async functions,
|
|
2316
|
+
* outside React components. Drop `<Toaster />` once in your app root and
|
|
2317
|
+
* call these methods wherever you need them.
|
|
2318
|
+
*
|
|
2319
|
+
* @example
|
|
2320
|
+
* toast.success('Saved!');
|
|
2321
|
+
* toast.error('Failed to save', { retry: () => save(), horizontal: 'right', vertical: 'top' });
|
|
2322
|
+
* toast.promise(fetchData(), { loading: 'Loading…', success: 'Done!', error: 'Failed' });
|
|
2323
|
+
*/
|
|
2324
|
+
declare const toast: {
|
|
2325
|
+
/** Full control — fire any variant with any options. */
|
|
2326
|
+
show: (opts: ToastOptions) => string;
|
|
2327
|
+
success: (title: string, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2328
|
+
error: (title: string, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2329
|
+
warning: (title: string, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2330
|
+
info: (title: string, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2331
|
+
loading: (title: string, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2332
|
+
/**
|
|
2333
|
+
* Show a loading toast while a promise is pending, then update it to
|
|
2334
|
+
* success or error when it settles. Message strings can also be functions
|
|
2335
|
+
* that receive the resolved value / rejection reason.
|
|
2336
|
+
*/
|
|
2337
|
+
promise: <T>(promise: Promise<T>, msgs: {
|
|
2338
|
+
loading: string;
|
|
2339
|
+
success: string | ((data: T) => string);
|
|
2340
|
+
error: string | ((err: unknown) => string);
|
|
2341
|
+
}, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2342
|
+
/** Close a toast (plays the exit animation). Omit `id` to dismiss all. */
|
|
2343
|
+
dismiss: (id?: string) => void;
|
|
2344
|
+
/** Instantly remove a toast without the exit animation. */
|
|
2345
|
+
remove: (id: string) => void;
|
|
2346
|
+
};
|
|
2347
|
+
/**
|
|
2348
|
+
* Subscribe to the toast store inside a React component.
|
|
2349
|
+
* Returns the current list of toasts plus the imperative `toast` API.
|
|
2350
|
+
*/
|
|
2351
|
+
declare function useToast(): {
|
|
2352
|
+
toasts: ToastItem[];
|
|
2353
|
+
toast: {
|
|
2354
|
+
/** Full control — fire any variant with any options. */
|
|
2355
|
+
show: (opts: ToastOptions) => string;
|
|
2356
|
+
success: (title: string, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2357
|
+
error: (title: string, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2358
|
+
warning: (title: string, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2359
|
+
info: (title: string, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2360
|
+
loading: (title: string, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2361
|
+
/**
|
|
2362
|
+
* Show a loading toast while a promise is pending, then update it to
|
|
2363
|
+
* success or error when it settles. Message strings can also be functions
|
|
2364
|
+
* that receive the resolved value / rejection reason.
|
|
2365
|
+
*/
|
|
2366
|
+
promise: <T>(promise: Promise<T>, msgs: {
|
|
2367
|
+
loading: string;
|
|
2368
|
+
success: string | ((data: T) => string);
|
|
2369
|
+
error: string | ((err: unknown) => string);
|
|
2370
|
+
}, opts?: Omit<ToastOptions, "title" | "variant">) => string;
|
|
2371
|
+
/** Close a toast (plays the exit animation). Omit `id` to dismiss all. */
|
|
2372
|
+
dismiss: (id?: string) => void;
|
|
2373
|
+
/** Instantly remove a toast without the exit animation. */
|
|
2374
|
+
remove: (id: string) => void;
|
|
2375
|
+
};
|
|
2376
|
+
dismiss: (id?: string) => void;
|
|
2377
|
+
remove: (id: string) => void;
|
|
2378
|
+
};
|
|
2379
|
+
|
|
2380
|
+
interface ToasterProps {
|
|
2381
|
+
/**
|
|
2382
|
+
* Horizontal alignment of toasts.
|
|
2383
|
+
* @default 'right'
|
|
2384
|
+
*/
|
|
2385
|
+
horizontal?: ToastHorizontal;
|
|
2386
|
+
/**
|
|
2387
|
+
* Vertical alignment of toasts.
|
|
2388
|
+
* @default 'bottom'
|
|
2389
|
+
*/
|
|
2390
|
+
vertical?: ToastVertical;
|
|
2391
|
+
/**
|
|
2392
|
+
* Maximum number of toasts visible at once.
|
|
2393
|
+
* @default 5
|
|
2394
|
+
*/
|
|
2395
|
+
maxToasts?: number;
|
|
2396
|
+
/** Extra classes forwarded to the viewport wrapper. */
|
|
2397
|
+
className?: string;
|
|
2398
|
+
}
|
|
2399
|
+
/**
|
|
2400
|
+
* Drop `<Toaster />` once in your app root (e.g. inside your root layout).
|
|
2401
|
+
* Then call `toast.success(...)`, `toast.error(...)` etc. from anywhere.
|
|
2402
|
+
*
|
|
2403
|
+
* Each toast can override the default placement via `horizontal` / `vertical` options.
|
|
2404
|
+
*
|
|
2405
|
+
* @example
|
|
2406
|
+
* // layout.tsx
|
|
2407
|
+
* import { Toaster } from '@structyl/styled';
|
|
2408
|
+
* export default function RootLayout({ children }) {
|
|
2409
|
+
* return <html><body>{children}<Toaster /></body></html>;
|
|
2410
|
+
* }
|
|
2411
|
+
*
|
|
2412
|
+
* // anywhere.ts
|
|
2413
|
+
* import { toast } from '@structyl/styled';
|
|
2414
|
+
* toast.success('Saved!');
|
|
2415
|
+
* toast.error('Failed', { retry: () => save(), horizontal: 'right', vertical: 'top' });
|
|
2416
|
+
*/
|
|
2417
|
+
declare function Toaster({ horizontal: defaultH, vertical: defaultV, maxToasts, className, }: ToasterProps): React.JSX.Element;
|
|
2418
|
+
declare namespace Toaster {
|
|
2419
|
+
var displayName: string;
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
declare const index$o_Action: typeof Action;
|
|
2423
|
+
declare const index$o_Close: typeof Close;
|
|
2424
|
+
declare const index$o_Description: typeof Description;
|
|
2425
|
+
declare const index$o_Provider: typeof Provider;
|
|
2426
|
+
declare const index$o_Title: typeof Title;
|
|
2427
|
+
type index$o_ToastHorizontal = ToastHorizontal;
|
|
2428
|
+
type index$o_ToastItem = ToastItem;
|
|
2429
|
+
type index$o_ToastOptions = ToastOptions;
|
|
2430
|
+
type index$o_ToastRootProps = ToastRootProps;
|
|
2431
|
+
type index$o_ToastVariant = ToastVariant;
|
|
2432
|
+
type index$o_ToastVertical = ToastVertical;
|
|
2433
|
+
declare const index$o_Toaster: typeof Toaster;
|
|
2434
|
+
type index$o_ToasterProps = ToasterProps;
|
|
2435
|
+
declare const index$o_toast: typeof toast;
|
|
2436
|
+
declare const index$o_toastVariants: typeof toastVariants;
|
|
2437
|
+
declare const index$o_useToast: typeof useToast;
|
|
2438
|
+
declare namespace index$o {
|
|
2439
|
+
export { index$o_Action as Action, index$o_Close as Close, index$o_Description as Description, index$o_Provider as Provider, Root$n as Root, index$o_Title as Title, type index$o_ToastHorizontal as ToastHorizontal, type index$o_ToastItem as ToastItem, type index$o_ToastOptions as ToastOptions, type index$o_ToastRootProps as ToastRootProps, type index$o_ToastVariant as ToastVariant, type index$o_ToastVertical as ToastVertical, index$o_Toaster as Toaster, type index$o_ToasterProps as ToasterProps, Viewport$1 as Viewport, index$o_toast as toast, index$o_toastVariants as toastVariants, index$o_useToast as useToast };
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
declare const Root$m: React.FC<_structyl_primitives.DropdownMenuRootProps>;
|
|
2443
|
+
declare const Trigger$7: React.ForwardRefExoticComponent<_structyl_primitives.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2444
|
+
declare const Group$8: React.ForwardRefExoticComponent<_structyl_primitives.MenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
2445
|
+
declare const Portal$3: React.FC<_structyl_primitives.MenuPortalProps>;
|
|
2446
|
+
declare const Sub$2: React.FC<{
|
|
2447
|
+
children?: React.ReactNode;
|
|
2448
|
+
open?: boolean;
|
|
2449
|
+
defaultOpen?: boolean;
|
|
2450
|
+
onOpenChange?: (open: boolean) => void;
|
|
2451
|
+
}>;
|
|
2452
|
+
declare const RadioGroup$2: React.ForwardRefExoticComponent<_structyl_primitives.MenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
2453
|
+
declare const SubTrigger$2: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2454
|
+
inset?: boolean;
|
|
2455
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2456
|
+
declare const SubContent$2: React.ForwardRefExoticComponent<Omit<Omit<_structyl_primitives.MenuContentProps, "side" | "align"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2457
|
+
declare const Content$8: React.ForwardRefExoticComponent<Omit<Omit<_structyl_primitives.MenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2458
|
+
container?: Element | DocumentFragment | null;
|
|
2459
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2460
|
+
declare const Item$c: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2461
|
+
inset?: boolean;
|
|
2462
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2463
|
+
declare const CheckboxItem$2: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2464
|
+
declare const RadioItem$2: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2465
|
+
declare const Label$4: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2466
|
+
inset?: boolean;
|
|
2467
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2468
|
+
declare const Separator$7: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2469
|
+
declare const Shortcut$1: React.FC<React.HTMLAttributes<HTMLSpanElement>>;
|
|
2470
|
+
|
|
2471
|
+
declare namespace index$n {
|
|
2472
|
+
export { CheckboxItem$2 as CheckboxItem, Content$8 as Content, Group$8 as Group, Item$c as Item, Label$4 as Label, Portal$3 as Portal, RadioGroup$2 as RadioGroup, RadioItem$2 as RadioItem, Root$m as Root, Separator$7 as Separator, Shortcut$1 as Shortcut, Sub$2 as Sub, SubContent$2 as SubContent, SubTrigger$2 as SubTrigger, Trigger$7 as Trigger };
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
declare const Root$l: React.FC<_structyl_primitives.ContextMenuRootProps>;
|
|
2476
|
+
declare const Trigger$6: React.ForwardRefExoticComponent<_structyl_primitives.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
2477
|
+
declare const Group$7: React.ForwardRefExoticComponent<_structyl_primitives.MenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
2478
|
+
declare const Portal$2: React.FC<_structyl_primitives.MenuPortalProps>;
|
|
2479
|
+
declare const Sub$1: React.FC<{
|
|
2480
|
+
children?: React.ReactNode;
|
|
2481
|
+
open?: boolean;
|
|
2482
|
+
defaultOpen?: boolean;
|
|
2483
|
+
onOpenChange?: (open: boolean) => void;
|
|
2484
|
+
}>;
|
|
2485
|
+
declare const RadioGroup$1: React.ForwardRefExoticComponent<_structyl_primitives.MenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
2486
|
+
declare const SubTrigger$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2487
|
+
inset?: boolean;
|
|
2488
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2489
|
+
declare const SubContent$1: React.ForwardRefExoticComponent<Omit<Omit<_structyl_primitives.MenuContentProps, "side" | "align"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2490
|
+
declare const Content$7: React.ForwardRefExoticComponent<Omit<Omit<Omit<_structyl_primitives.MenuContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "side" | "sideOffset" | "align"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2491
|
+
declare const Item$b: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2492
|
+
inset?: boolean;
|
|
2493
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2494
|
+
declare const CheckboxItem$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2495
|
+
declare const RadioItem$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2496
|
+
declare const Label$3: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2497
|
+
inset?: boolean;
|
|
2498
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2499
|
+
declare const Separator$6: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2500
|
+
|
|
2501
|
+
declare namespace index$m {
|
|
2502
|
+
export { CheckboxItem$1 as CheckboxItem, Content$7 as Content, Group$7 as Group, Item$b as Item, Label$3 as Label, Portal$2 as Portal, RadioGroup$1 as RadioGroup, RadioItem$1 as RadioItem, Root$l as Root, Separator$6 as Separator, Sub$1 as Sub, SubContent$1 as SubContent, SubTrigger$1 as SubTrigger, Trigger$6 as Trigger };
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
declare const Menu: React.FC<{
|
|
2506
|
+
children?: React.ReactNode;
|
|
2507
|
+
value?: string;
|
|
2508
|
+
}>;
|
|
2509
|
+
declare const Group$6: React.ForwardRefExoticComponent<_structyl_primitives.MenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
2510
|
+
declare const Portal$1: React.FC<_structyl_primitives.MenuPortalProps>;
|
|
2511
|
+
declare const Sub: React.FC<{
|
|
2512
|
+
children?: React.ReactNode;
|
|
2513
|
+
open?: boolean;
|
|
2514
|
+
defaultOpen?: boolean;
|
|
2515
|
+
onOpenChange?: (open: boolean) => void;
|
|
2516
|
+
}>;
|
|
2517
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<_structyl_primitives.MenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
2518
|
+
declare const Root$k: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenubarRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2519
|
+
declare const Trigger$5: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2520
|
+
declare const Content$6: React.ForwardRefExoticComponent<Omit<Omit<_structyl_primitives.MenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2521
|
+
declare const Item$a: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2522
|
+
inset?: boolean;
|
|
2523
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2524
|
+
declare const CheckboxItem: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2525
|
+
declare const RadioItem: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2526
|
+
declare const SubTrigger: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2527
|
+
inset?: boolean;
|
|
2528
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2529
|
+
declare const SubContent: React.ForwardRefExoticComponent<Omit<Omit<_structyl_primitives.MenuContentProps, "side" | "align"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2530
|
+
declare const Label$2: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2531
|
+
inset?: boolean;
|
|
2532
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2533
|
+
declare const Separator$5: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2534
|
+
|
|
2535
|
+
declare const index$l_CheckboxItem: typeof CheckboxItem;
|
|
2536
|
+
declare const index$l_Menu: typeof Menu;
|
|
2537
|
+
declare const index$l_RadioGroup: typeof RadioGroup;
|
|
2538
|
+
declare const index$l_RadioItem: typeof RadioItem;
|
|
2539
|
+
declare const index$l_Sub: typeof Sub;
|
|
2540
|
+
declare const index$l_SubContent: typeof SubContent;
|
|
2541
|
+
declare const index$l_SubTrigger: typeof SubTrigger;
|
|
2542
|
+
declare namespace index$l {
|
|
2543
|
+
export { index$l_CheckboxItem as CheckboxItem, Content$6 as Content, Group$6 as Group, Item$a as Item, Label$2 as Label, index$l_Menu as Menu, Portal$1 as Portal, index$l_RadioGroup as RadioGroup, index$l_RadioItem as RadioItem, Root$k as Root, Separator$5 as Separator, index$l_Sub as Sub, index$l_SubContent as SubContent, index$l_SubTrigger as SubTrigger, Trigger$5 as Trigger };
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
declare const Root$j: React.ForwardRefExoticComponent<Omit<_structyl_primitives.NavigationMenuRootProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
2547
|
+
declare const List$3: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
2548
|
+
declare const Item$9: React.ForwardRefExoticComponent<_structyl_primitives.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
2549
|
+
declare const Trigger$4: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2550
|
+
asChild?: boolean;
|
|
2551
|
+
} & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2552
|
+
declare const Content$5: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2553
|
+
asChild?: boolean;
|
|
2554
|
+
forceMount?: boolean;
|
|
2555
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2556
|
+
declare const Link$2: React.ForwardRefExoticComponent<_structyl_primitives.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
2557
|
+
declare const Viewport: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2558
|
+
forceMount?: boolean;
|
|
2559
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2560
|
+
declare const Indicator: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2561
|
+
forceMount?: boolean;
|
|
2562
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2563
|
+
|
|
2564
|
+
declare const index$k_Indicator: typeof Indicator;
|
|
2565
|
+
declare const index$k_Viewport: typeof Viewport;
|
|
2566
|
+
declare namespace index$k {
|
|
2567
|
+
export { Content$5 as Content, index$k_Indicator as Indicator, Item$9 as Item, Link$2 as Link, List$3 as List, Root$j as Root, Trigger$4 as Trigger, index$k_Viewport as Viewport };
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2570
|
+
declare const Root$i: React.FC<_structyl_primitives.SelectRootProps>;
|
|
2571
|
+
declare const Group$5: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2572
|
+
asChild?: boolean;
|
|
2573
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2574
|
+
declare const Value$1: React.ForwardRefExoticComponent<_structyl_primitives.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
2575
|
+
declare const Trigger$3: React.ForwardRefExoticComponent<Omit<_structyl_primitives.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2576
|
+
declare const SearchInput$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.SelectSearchInputProps & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2577
|
+
declare const Content$4: React.ForwardRefExoticComponent<Omit<_structyl_primitives.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2578
|
+
container?: Element | DocumentFragment | null;
|
|
2579
|
+
options?: SelectOption[];
|
|
2580
|
+
optionHeight?: number;
|
|
2581
|
+
optionOverscan?: number;
|
|
2582
|
+
optionEmptyMessage?: React.ReactNode;
|
|
2583
|
+
renderOption?: (option: SelectOption) => React.ReactNode;
|
|
2584
|
+
showCreateItem?: boolean;
|
|
2585
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2586
|
+
declare const Label$1: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2587
|
+
asChild?: boolean;
|
|
2588
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2589
|
+
declare const Item$8: React.ForwardRefExoticComponent<Omit<_structyl_primitives.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2590
|
+
declare const CreateItem$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.SelectCreateItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2591
|
+
declare const Options$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.SelectOptionsProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2592
|
+
declare const Separator$4: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2593
|
+
asChild?: boolean;
|
|
2594
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2595
|
+
|
|
2596
|
+
declare namespace index$j {
|
|
2597
|
+
export { Content$4 as Content, CreateItem$1 as CreateItem, Group$5 as Group, Item$8 as Item, Label$1 as Label, Options$1 as Options, Root$i as Root, SearchInput$1 as SearchInput, Separator$4 as Separator, Trigger$3 as Trigger, Value$1 as Value };
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
declare const Root$h: React.FC<_structyl_primitives.MultiSelectRootProps>;
|
|
2601
|
+
declare const Group$4: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2602
|
+
asChild?: boolean;
|
|
2603
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2604
|
+
declare const Trigger$2: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MultiSelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2605
|
+
declare const Value: React.ForwardRefExoticComponent<Omit<Omit<_structyl_primitives.MultiSelectValueProps & React.RefAttributes<HTMLSpanElement>, "ref">, "children"> & {
|
|
2606
|
+
children?: React.ReactNode | ((selected: MultiSelectSelectedOption[]) => React.ReactNode);
|
|
2607
|
+
itemClassName?: string;
|
|
2608
|
+
overflowClassName?: string;
|
|
2609
|
+
maxVisible?: number;
|
|
2610
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
2611
|
+
declare const SearchInput: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MultiSelectSearchInputProps & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2612
|
+
declare const Content$3: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MultiSelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2613
|
+
options?: MultiSelectOption[];
|
|
2614
|
+
optionHeight?: number;
|
|
2615
|
+
optionOverscan?: number;
|
|
2616
|
+
optionEmptyMessage?: React.ReactNode;
|
|
2617
|
+
renderOption?: (option: MultiSelectOption) => React.ReactNode;
|
|
2618
|
+
showCreateItem?: boolean;
|
|
2619
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2620
|
+
declare const Label: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2621
|
+
asChild?: boolean;
|
|
2622
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2623
|
+
declare const Item$7: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MultiSelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2624
|
+
declare const CreateItem: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MultiSelectCreateItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2625
|
+
declare const Options: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MultiSelectOptionsProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2626
|
+
declare const Separator$3: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2627
|
+
asChild?: boolean;
|
|
2628
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2629
|
+
|
|
2630
|
+
declare const index$i_CreateItem: typeof CreateItem;
|
|
2631
|
+
declare const index$i_Label: typeof Label;
|
|
2632
|
+
declare const index$i_Options: typeof Options;
|
|
2633
|
+
declare const index$i_SearchInput: typeof SearchInput;
|
|
2634
|
+
declare const index$i_Value: typeof Value;
|
|
2635
|
+
declare namespace index$i {
|
|
2636
|
+
export { Content$3 as Content, index$i_CreateItem as CreateItem, Group$4 as Group, Item$7 as Item, index$i_Label as Label, index$i_Options as Options, Root$h as Root, index$i_SearchInput as SearchInput, Separator$3 as Separator, Trigger$2 as Trigger, index$i_Value as Value };
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
declare const Root$g: React.FC<_structyl_primitives.ComboboxRootProps>;
|
|
2640
|
+
declare const Group$3: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2641
|
+
asChild?: boolean;
|
|
2642
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2643
|
+
declare const Input$7: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ComboboxInputProps & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2644
|
+
declare const Content$2: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ComboboxContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2645
|
+
declare const Item$6: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ComboboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2646
|
+
declare const Empty$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2647
|
+
|
|
2648
|
+
declare namespace Combobox {
|
|
2649
|
+
export { Content$2 as Content, Empty$1 as Empty, Group$3 as Group, Input$7 as Input, Item$6 as Item, Root$g as Root };
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
declare const Root$f: React.ForwardRefExoticComponent<Omit<_structyl_primitives.CommandRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2653
|
+
declare const Input$6: React.ForwardRefExoticComponent<Omit<_structyl_primitives.CommandInputProps & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2654
|
+
declare const List$2: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2655
|
+
asChild?: boolean;
|
|
2656
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2657
|
+
declare const Empty: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2658
|
+
declare const Group$2: React.ForwardRefExoticComponent<Omit<_structyl_primitives.CommandGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2659
|
+
declare const Separator$2: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2660
|
+
asChild?: boolean;
|
|
2661
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2662
|
+
declare const Item$5: React.ForwardRefExoticComponent<Omit<_structyl_primitives.CommandItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2663
|
+
declare const Shortcut: React.FC<React.HTMLAttributes<HTMLSpanElement>>;
|
|
2664
|
+
declare const Loading: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2665
|
+
progress?: number;
|
|
2666
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2667
|
+
|
|
2668
|
+
declare const index$h_Empty: typeof Empty;
|
|
2669
|
+
declare const index$h_Loading: typeof Loading;
|
|
2670
|
+
declare const index$h_Shortcut: typeof Shortcut;
|
|
2671
|
+
declare namespace index$h {
|
|
2672
|
+
export { index$h_Empty as Empty, Group$2 as Group, Input$6 as Input, Item$5 as Item, List$2 as List, index$h_Loading as Loading, Root$f as Root, Separator$2 as Separator, index$h_Shortcut as Shortcut };
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
type StructylColor = 'default' | 'inherit' | 'primary' | 'secondary' | 'success' | 'warning' | 'destructive' | 'muted' | 'transparent';
|
|
2676
|
+
type StructylSize = 'small' | 'medium' | 'large';
|
|
2677
|
+
type StructylSpacing = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8;
|
|
2678
|
+
type ContainerMaxWidth = false | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
2679
|
+
type GridSize = 'auto' | 'grow' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
2680
|
+
type StructylButtonVariant = 'contained' | 'outlined' | 'text';
|
|
2681
|
+
declare const Box: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2682
|
+
asChild?: boolean;
|
|
2683
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2684
|
+
display?: "block" | "inline" | "inline-block" | "flex" | "inline-flex" | "grid" | "contents";
|
|
2685
|
+
padding?: StructylSpacing;
|
|
2686
|
+
margin?: StructylSpacing;
|
|
2687
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2688
|
+
declare const Container: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2689
|
+
asChild?: boolean;
|
|
2690
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2691
|
+
size?: Exclude<ContainerMaxWidth, false>;
|
|
2692
|
+
maxWidth?: ContainerMaxWidth;
|
|
2693
|
+
disableGutters?: boolean;
|
|
2694
|
+
fixed?: boolean;
|
|
2695
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2696
|
+
declare const Stack: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2697
|
+
asChild?: boolean;
|
|
2698
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2699
|
+
direction?: "row" | "row-reverse" | "column" | "column-reverse";
|
|
2700
|
+
spacing?: "none" | "xs" | "sm" | "md" | "lg" | StructylSpacing;
|
|
2701
|
+
divider?: React.ReactNode;
|
|
2702
|
+
alignItems?: "start" | "center" | "end" | "stretch" | "baseline";
|
|
2703
|
+
justifyContent?: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
2704
|
+
flexWrap?: "nowrap" | "wrap" | "wrap-reverse";
|
|
2705
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2706
|
+
declare const Grid$1: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2707
|
+
asChild?: boolean;
|
|
2708
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2709
|
+
container?: boolean;
|
|
2710
|
+
item?: boolean;
|
|
2711
|
+
columns?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
2712
|
+
spacing?: StructylSpacing;
|
|
2713
|
+
rowSpacing?: StructylSpacing;
|
|
2714
|
+
columnSpacing?: StructylSpacing;
|
|
2715
|
+
gap?: "none" | "sm" | "md" | "lg" | StructylSpacing;
|
|
2716
|
+
size?: GridSize;
|
|
2717
|
+
xs?: GridSize;
|
|
2718
|
+
sm?: GridSize;
|
|
2719
|
+
md?: GridSize;
|
|
2720
|
+
lg?: GridSize;
|
|
2721
|
+
xl?: GridSize;
|
|
2722
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2723
|
+
declare const Paper: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2724
|
+
asChild?: boolean;
|
|
2725
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2726
|
+
elevation?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
2727
|
+
variant?: "elevation" | "outlined";
|
|
2728
|
+
square?: boolean;
|
|
2729
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2730
|
+
declare const Typography$1: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2731
|
+
asChild?: boolean;
|
|
2732
|
+
} & React.RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
2733
|
+
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "body" | "small" | "caption" | "button" | "overline" | "muted" | "code";
|
|
2734
|
+
align?: "inherit" | "left" | "center" | "right" | "justify";
|
|
2735
|
+
color?: StructylColor;
|
|
2736
|
+
gutterBottom?: boolean;
|
|
2737
|
+
noWrap?: boolean;
|
|
2738
|
+
paragraph?: boolean;
|
|
2739
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
2740
|
+
declare const Link$1: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
2741
|
+
asChild?: boolean;
|
|
2742
|
+
} & React.RefAttributes<HTMLAnchorElement>, "ref"> & {
|
|
2743
|
+
underline?: "always" | "hover" | "none";
|
|
2744
|
+
color?: StructylColor;
|
|
2745
|
+
variant?: React.ComponentPropsWithoutRef<typeof Typography$1>["variant"];
|
|
2746
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
2747
|
+
declare const SvgIcon: React.ForwardRefExoticComponent<Omit<Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
2748
|
+
title?: string;
|
|
2749
|
+
} & React.RefAttributes<SVGSVGElement>, "ref"> & {
|
|
2750
|
+
color?: StructylColor;
|
|
2751
|
+
fontSize?: "inherit" | StructylSize;
|
|
2752
|
+
titleAccess?: string;
|
|
2753
|
+
} & React.RefAttributes<SVGSVGElement>>;
|
|
2754
|
+
declare const Chart: React.ForwardRefExoticComponent<Omit<_structyl_primitives.StructylChartProps & React.RefAttributes<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
2755
|
+
interface ChipProps extends React.ComponentPropsWithoutRef<typeof Structyl.ChipRoot> {
|
|
2756
|
+
label?: React.ReactNode;
|
|
2757
|
+
onDelete?: () => void;
|
|
2758
|
+
deleteIcon?: React.ReactNode;
|
|
2759
|
+
icon?: React.ReactNode;
|
|
2760
|
+
avatar?: React.ReactNode;
|
|
2761
|
+
variant?: 'filled' | 'outlined' | 'default' | 'secondary' | 'outline';
|
|
2762
|
+
color?: Exclude<StructylColor, 'inherit' | 'transparent'>;
|
|
2763
|
+
size?: Exclude<StructylSize, 'large'>;
|
|
2764
|
+
clickable?: boolean;
|
|
2765
|
+
disabled?: boolean;
|
|
2766
|
+
}
|
|
2767
|
+
declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLSpanElement>>;
|
|
2768
|
+
declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2769
|
+
asChild?: boolean;
|
|
2770
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2771
|
+
orientation?: "horizontal" | "vertical";
|
|
2772
|
+
variant?: StructylButtonVariant;
|
|
2773
|
+
color?: StructylColor;
|
|
2774
|
+
size?: StructylSize;
|
|
2775
|
+
disabled?: boolean;
|
|
2776
|
+
fullWidth?: boolean;
|
|
2777
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2778
|
+
interface FloatingActionButtonProps extends Omit<ButtonProps, 'size' | 'variant' | 'color'> {
|
|
2779
|
+
extended?: boolean;
|
|
2780
|
+
variant?: 'circular' | 'extended';
|
|
2781
|
+
color?: StructylColor;
|
|
2782
|
+
size?: StructylSize;
|
|
2783
|
+
}
|
|
2784
|
+
declare const FloatingActionButton: React.ForwardRefExoticComponent<FloatingActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2785
|
+
declare const Fab: React.ForwardRefExoticComponent<FloatingActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2786
|
+
declare const Rating$1: React.ForwardRefExoticComponent<StructylRatingProps & {
|
|
2787
|
+
size?: StructylSize;
|
|
2788
|
+
color?: Exclude<StructylColor, "inherit" | "transparent">;
|
|
2789
|
+
precision?: number;
|
|
2790
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2791
|
+
declare const Autocomplete: typeof Combobox;
|
|
2792
|
+
declare const TransferList: React.ForwardRefExoticComponent<StructylTransferListProps & React.RefAttributes<HTMLDivElement>>;
|
|
2793
|
+
declare const List$1: {
|
|
2794
|
+
Root: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>, "ref"> & {
|
|
2795
|
+
dense?: boolean;
|
|
2796
|
+
disablePadding?: boolean;
|
|
2797
|
+
} & React.RefAttributes<HTMLUListElement>>;
|
|
2798
|
+
Item: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>, "ref"> & {
|
|
2799
|
+
disablePadding?: boolean;
|
|
2800
|
+
divider?: boolean;
|
|
2801
|
+
} & React.RefAttributes<HTMLLIElement>>;
|
|
2802
|
+
ItemButton: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2803
|
+
asChild?: boolean;
|
|
2804
|
+
} & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
2805
|
+
selected?: boolean;
|
|
2806
|
+
dense?: boolean;
|
|
2807
|
+
alignItems?: "center" | "flex-start";
|
|
2808
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
2809
|
+
ItemText: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2810
|
+
asChild?: boolean;
|
|
2811
|
+
} & React.RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
2812
|
+
primary?: React.ReactNode;
|
|
2813
|
+
secondary?: React.ReactNode;
|
|
2814
|
+
inset?: boolean;
|
|
2815
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
2816
|
+
ItemIcon: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2817
|
+
asChild?: boolean;
|
|
2818
|
+
} & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
2819
|
+
ItemAvatar: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2820
|
+
asChild?: boolean;
|
|
2821
|
+
} & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
2822
|
+
ItemSecondaryAction: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2823
|
+
asChild?: boolean;
|
|
2824
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2825
|
+
Subheader: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>, "ref"> & {
|
|
2826
|
+
inset?: boolean;
|
|
2827
|
+
disableSticky?: boolean;
|
|
2828
|
+
} & React.RefAttributes<HTMLLIElement>>;
|
|
2829
|
+
};
|
|
2830
|
+
declare const ImageList: {
|
|
2831
|
+
Root: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>, "ref"> & {
|
|
2832
|
+
cols?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
2833
|
+
gap?: StructylSpacing;
|
|
2834
|
+
rowHeight?: number | "auto";
|
|
2835
|
+
variant?: "standard" | "woven" | "masonry" | "quilted";
|
|
2836
|
+
} & React.RefAttributes<HTMLUListElement>>;
|
|
2837
|
+
Item: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
2838
|
+
Image: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
2839
|
+
Caption: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2840
|
+
asChild?: boolean;
|
|
2841
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2842
|
+
};
|
|
2843
|
+
declare const Table$1: {
|
|
2844
|
+
Root: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & React.RefAttributes<HTMLTableElement>, "ref"> & {
|
|
2845
|
+
size?: Exclude<StructylSize, "large">;
|
|
2846
|
+
stickyHeader?: boolean;
|
|
2847
|
+
} & React.RefAttributes<HTMLTableElement>>;
|
|
2848
|
+
Header: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React.RefAttributes<HTMLTableSectionElement>, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
2849
|
+
Body: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React.RefAttributes<HTMLTableSectionElement>, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
2850
|
+
Footer: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React.RefAttributes<HTMLTableSectionElement>, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
2851
|
+
Row: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & React.RefAttributes<HTMLTableRowElement>, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
|
|
2852
|
+
Head: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & React.RefAttributes<HTMLTableHeaderCellElement>, "ref"> & React.RefAttributes<HTMLTableHeaderCellElement>>;
|
|
2853
|
+
Cell: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & React.RefAttributes<HTMLTableDataCellElement>, "ref"> & React.RefAttributes<HTMLTableDataCellElement>>;
|
|
2854
|
+
Caption: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
2855
|
+
};
|
|
2856
|
+
declare const Backdrop: React.ForwardRefExoticComponent<Omit<_structyl_primitives.StructylBackdropProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2857
|
+
declare const Snackbar: React.ForwardRefExoticComponent<StructylSnackbarProps & React.RefAttributes<HTMLDivElement>>;
|
|
2858
|
+
declare const Modal: React.ForwardRefExoticComponent<Omit<_structyl_primitives.StructylModalProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2859
|
+
declare const AppBar: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & {
|
|
2860
|
+
position?: "static" | "sticky" | "fixed" | "absolute" | "relative";
|
|
2861
|
+
color?: StructylColor;
|
|
2862
|
+
elevation?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
2863
|
+
square?: boolean;
|
|
2864
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
2865
|
+
declare const BottomNavigation: {
|
|
2866
|
+
Root: React.ForwardRefExoticComponent<Omit<_structyl_primitives.StructylBottomNavigationRootProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
2867
|
+
Item: React.ForwardRefExoticComponent<Omit<_structyl_primitives.StructylBottomNavigationItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2868
|
+
};
|
|
2869
|
+
declare const SpeedDial: {
|
|
2870
|
+
Root: React.ForwardRefExoticComponent<Omit<_structyl_primitives.StructylSpeedDialRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2871
|
+
Trigger: React.ForwardRefExoticComponent<Omit<_structyl_primitives.StructylSpeedDialTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2872
|
+
Content: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2873
|
+
asChild?: boolean;
|
|
2874
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2875
|
+
Action: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2876
|
+
asChild?: boolean;
|
|
2877
|
+
} & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
2878
|
+
tooltipTitle?: React.ReactNode;
|
|
2879
|
+
tooltipOpen?: boolean;
|
|
2880
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
2881
|
+
};
|
|
2882
|
+
declare const Masonry: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2883
|
+
asChild?: boolean;
|
|
2884
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
2885
|
+
columns?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
2886
|
+
spacing?: StructylSpacing;
|
|
2887
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2888
|
+
declare const Timeline: {
|
|
2889
|
+
Root: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>, "ref"> & {
|
|
2890
|
+
position?: "left" | "right" | "alternate";
|
|
2891
|
+
} & React.RefAttributes<HTMLUListElement>>;
|
|
2892
|
+
Item: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
2893
|
+
Separator: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2894
|
+
asChild?: boolean;
|
|
2895
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2896
|
+
Dot: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2897
|
+
asChild?: boolean;
|
|
2898
|
+
} & React.RefAttributes<HTMLSpanElement>, "ref"> & {
|
|
2899
|
+
color?: Exclude<StructylColor, "inherit" | "transparent">;
|
|
2900
|
+
variant?: "filled" | "outlined";
|
|
2901
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
2902
|
+
Content: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2903
|
+
asChild?: boolean;
|
|
2904
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2905
|
+
};
|
|
2906
|
+
declare const ClickAwayListener: React.ForwardRefExoticComponent<_structyl_primitives.StructylClickAwayListenerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
2907
|
+
declare const NoSsr: React.FC<{
|
|
2908
|
+
children?: React.ReactNode;
|
|
2909
|
+
fallback?: React.ReactNode;
|
|
2910
|
+
defer?: boolean;
|
|
2911
|
+
}>;
|
|
2912
|
+
declare const Portal: React.ForwardRefExoticComponent<_structyl_core.PortalProps & React.RefAttributes<HTMLDivElement>>;
|
|
2913
|
+
declare const Popper: React.ForwardRefExoticComponent<PopperProps & React.RefAttributes<HTMLDivElement>>;
|
|
2914
|
+
declare const TextareaAutosize: React.ForwardRefExoticComponent<Omit<_structyl_primitives.StructylTextareaAutosizeProps & React.RefAttributes<HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
2915
|
+
type TransitionAnimation = 'fade' | 'slide-up' | 'slide-down' | 'slide-left' | 'slide-right' | 'zoom' | 'grow' | 'collapse';
|
|
2916
|
+
interface TransitionProps extends StructylTransitionProps {
|
|
2917
|
+
animation?: TransitionAnimation;
|
|
2918
|
+
}
|
|
2919
|
+
declare const Transition: React.ForwardRefExoticComponent<TransitionProps & React.RefAttributes<HTMLDivElement>>;
|
|
2920
|
+
declare const CssBaseline: React.FC<{
|
|
2921
|
+
children?: React.ReactNode;
|
|
2922
|
+
enableColorScheme?: boolean;
|
|
2923
|
+
}>;
|
|
2924
|
+
declare const InitColorSchemeScript: React.FC<_structyl_primitives.StructylInitColorSchemeScriptProps>;
|
|
2925
|
+
declare const TransferRightIcon: React.ForwardRefExoticComponent<Omit<_structyl_icons.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
2926
|
+
declare const TransferLeftIcon: React.ForwardRefExoticComponent<Omit<_structyl_icons.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
2927
|
+
declare const SelectedIcon: React.ForwardRefExoticComponent<Omit<_structyl_icons.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
2928
|
+
|
|
2929
|
+
declare const index$g_AppBar: typeof AppBar;
|
|
2930
|
+
declare const index$g_Autocomplete: typeof Autocomplete;
|
|
2931
|
+
declare const index$g_Backdrop: typeof Backdrop;
|
|
2932
|
+
declare const index$g_BottomNavigation: typeof BottomNavigation;
|
|
2933
|
+
declare const index$g_Box: typeof Box;
|
|
2934
|
+
declare const index$g_ButtonGroup: typeof ButtonGroup;
|
|
2935
|
+
declare const index$g_Chart: typeof Chart;
|
|
2936
|
+
declare const index$g_Chip: typeof Chip;
|
|
2937
|
+
declare const index$g_ClickAwayListener: typeof ClickAwayListener;
|
|
2938
|
+
declare const index$g_Container: typeof Container;
|
|
2939
|
+
declare const index$g_CssBaseline: typeof CssBaseline;
|
|
2940
|
+
declare const index$g_Fab: typeof Fab;
|
|
2941
|
+
declare const index$g_FloatingActionButton: typeof FloatingActionButton;
|
|
2942
|
+
declare const index$g_ImageList: typeof ImageList;
|
|
2943
|
+
declare const index$g_InitColorSchemeScript: typeof InitColorSchemeScript;
|
|
2944
|
+
declare const index$g_Masonry: typeof Masonry;
|
|
2945
|
+
declare const index$g_Modal: typeof Modal;
|
|
2946
|
+
declare const index$g_NoSsr: typeof NoSsr;
|
|
2947
|
+
declare const index$g_Paper: typeof Paper;
|
|
2948
|
+
declare const index$g_Popper: typeof Popper;
|
|
2949
|
+
declare const index$g_Portal: typeof Portal;
|
|
2950
|
+
declare const index$g_SelectedIcon: typeof SelectedIcon;
|
|
2951
|
+
declare const index$g_Snackbar: typeof Snackbar;
|
|
2952
|
+
declare const index$g_SpeedDial: typeof SpeedDial;
|
|
2953
|
+
declare const index$g_Stack: typeof Stack;
|
|
2954
|
+
declare const index$g_SvgIcon: typeof SvgIcon;
|
|
2955
|
+
declare const index$g_TextareaAutosize: typeof TextareaAutosize;
|
|
2956
|
+
declare const index$g_Timeline: typeof Timeline;
|
|
2957
|
+
declare const index$g_TransferLeftIcon: typeof TransferLeftIcon;
|
|
2958
|
+
declare const index$g_TransferList: typeof TransferList;
|
|
2959
|
+
declare const index$g_TransferRightIcon: typeof TransferRightIcon;
|
|
2960
|
+
declare const index$g_Transition: typeof Transition;
|
|
2961
|
+
type index$g_TransitionAnimation = TransitionAnimation;
|
|
2962
|
+
type index$g_TransitionProps = TransitionProps;
|
|
2963
|
+
declare namespace index$g {
|
|
2964
|
+
export { index$g_AppBar as AppBar, index$g_Autocomplete as Autocomplete, index$g_Backdrop as Backdrop, index$g_BottomNavigation as BottomNavigation, index$g_Box as Box, index$g_ButtonGroup as ButtonGroup, index$g_Chart as Chart, index$g_Chip as Chip, index$g_ClickAwayListener as ClickAwayListener, index$g_Container as Container, index$g_CssBaseline as CssBaseline, index$g_Fab as Fab, index$g_FloatingActionButton as FloatingActionButton, Grid$1 as Grid, index$g_ImageList as ImageList, index$g_InitColorSchemeScript as InitColorSchemeScript, Link$1 as Link, List$1 as List, index$g_Masonry as Masonry, index$g_Modal as Modal, index$g_NoSsr as NoSsr, index$g_Paper as Paper, index$g_Popper as Popper, index$g_Portal as Portal, Rating$1 as Rating, index$g_SelectedIcon as SelectedIcon, index$g_Snackbar as Snackbar, index$g_SpeedDial as SpeedDial, index$g_Stack as Stack, index$g_SvgIcon as SvgIcon, Table$1 as Table, index$g_TextareaAutosize as TextareaAutosize, index$g_Timeline as Timeline, index$g_TransferLeftIcon as TransferLeftIcon, index$g_TransferList as TransferList, index$g_TransferRightIcon as TransferRightIcon, index$g_Transition as Transition, type index$g_TransitionAnimation as TransitionAnimation, type index$g_TransitionProps as TransitionProps, Typography$1 as Typography };
|
|
2965
|
+
}
|
|
2966
|
+
|
|
2967
|
+
declare const Root$e: React.ForwardRefExoticComponent<Omit<_structyl_primitives.OtpRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2968
|
+
declare const Input$5: React.ForwardRefExoticComponent<Omit<_structyl_primitives.OtpInputProps & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2969
|
+
declare const HiddenInput: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
2970
|
+
name?: string;
|
|
2971
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
2972
|
+
|
|
2973
|
+
declare const index$f_HiddenInput: typeof HiddenInput;
|
|
2974
|
+
declare namespace index$f {
|
|
2975
|
+
export { index$f_HiddenInput as HiddenInput, Input$5 as Input, Root$e as Root };
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2978
|
+
declare const Root$d: React.ForwardRefExoticComponent<Omit<_structyl_primitives.PasswordToggleFieldRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2979
|
+
declare const Input$4: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2980
|
+
declare const Toggle: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2981
|
+
|
|
2982
|
+
declare const index$e_Toggle: typeof Toggle;
|
|
2983
|
+
declare namespace index$e {
|
|
2984
|
+
export { Input$4 as Input, Root$d as Root, index$e_Toggle as Toggle };
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
declare const Root$c: React.ForwardRefExoticComponent<Omit<_structyl_primitives.NumberFieldRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2988
|
+
declare const Input$3: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2989
|
+
declare const IncrementTrigger: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2990
|
+
declare const DecrementTrigger: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2991
|
+
|
|
2992
|
+
declare const index$d_DecrementTrigger: typeof DecrementTrigger;
|
|
2993
|
+
declare const index$d_IncrementTrigger: typeof IncrementTrigger;
|
|
2994
|
+
declare namespace index$d {
|
|
2995
|
+
export { index$d_DecrementTrigger as DecrementTrigger, index$d_IncrementTrigger as IncrementTrigger, Input$3 as Input, Root$c as Root };
|
|
2996
|
+
}
|
|
2997
|
+
|
|
2998
|
+
interface CalendarProps$3 extends React.ComponentPropsWithoutRef<typeof Calendar$1.Root> {
|
|
2999
|
+
showOutsideDays?: boolean;
|
|
3000
|
+
}
|
|
3001
|
+
declare const Calendar: React.ForwardRefExoticComponent<CalendarProps$3 & React.RefAttributes<HTMLDivElement>>;
|
|
3002
|
+
|
|
3003
|
+
interface CalendarProps$2 extends React.ComponentPropsWithoutRef<typeof DatePicker$1.Calendar> {
|
|
3004
|
+
showOutsideDays?: boolean;
|
|
3005
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
3006
|
+
}
|
|
3007
|
+
interface DatePickerProps extends Omit<React.ComponentPropsWithoutRef<typeof DatePicker$1.Root>, 'children'> {
|
|
3008
|
+
className?: string;
|
|
3009
|
+
triggerClassName?: string;
|
|
3010
|
+
contentClassName?: string;
|
|
3011
|
+
calendarClassName?: string;
|
|
3012
|
+
label?: React.ReactNode;
|
|
3013
|
+
helperText?: React.ReactNode;
|
|
3014
|
+
placeholder?: React.ReactNode;
|
|
3015
|
+
format?: React.ComponentPropsWithoutRef<typeof DatePicker$1.Root>['format'];
|
|
3016
|
+
formatDensity?: React.ComponentPropsWithoutRef<typeof DatePicker$1.Root>['formatDensity'];
|
|
3017
|
+
id?: string;
|
|
3018
|
+
name?: string;
|
|
3019
|
+
required?: boolean;
|
|
3020
|
+
error?: boolean;
|
|
3021
|
+
showOutsideDays?: boolean;
|
|
3022
|
+
}
|
|
3023
|
+
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLDivElement>> & {
|
|
3024
|
+
Root: React.FC<DatePicker$1.DatePickerRootProps>;
|
|
3025
|
+
Trigger: React.ForwardRefExoticComponent<Omit<_structyl_primitives.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3026
|
+
Content: React.ForwardRefExoticComponent<Omit<Omit<_structyl_primitives.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
3027
|
+
calendarClassName?: string;
|
|
3028
|
+
loading?: boolean;
|
|
3029
|
+
showOutsideDays?: boolean;
|
|
3030
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
3031
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3032
|
+
Value: React.FC<{
|
|
3033
|
+
format?: DatePicker$1.DatePickerFormat;
|
|
3034
|
+
formatDensity?: _structyl_primitives.PickerFormatDensity;
|
|
3035
|
+
locale?: string;
|
|
3036
|
+
placeholder?: React.ReactNode;
|
|
3037
|
+
}>;
|
|
3038
|
+
Calendar: React.ForwardRefExoticComponent<CalendarProps$2 & React.RefAttributes<HTMLDivElement>>;
|
|
3039
|
+
Loading: React.FC<{}>;
|
|
3040
|
+
StyledCalendar: React.ForwardRefExoticComponent<CalendarProps$3 & React.RefAttributes<HTMLDivElement>>;
|
|
3041
|
+
};
|
|
3042
|
+
|
|
3043
|
+
type PrimitiveRootProps = React.ComponentPropsWithoutRef<typeof TimePicker$1.Root>;
|
|
3044
|
+
type TimePickerFormat = PrimitiveRootProps['format'];
|
|
3045
|
+
interface TimePickerProps extends Omit<PrimitiveRootProps, 'children'> {
|
|
3046
|
+
className?: string;
|
|
3047
|
+
triggerClassName?: string;
|
|
3048
|
+
contentClassName?: string;
|
|
3049
|
+
columnClassName?: string;
|
|
3050
|
+
label?: React.ReactNode;
|
|
3051
|
+
helperText?: React.ReactNode;
|
|
3052
|
+
placeholder?: React.ReactNode;
|
|
3053
|
+
format?: TimePickerFormat;
|
|
3054
|
+
id?: string;
|
|
3055
|
+
name?: string;
|
|
3056
|
+
required?: boolean;
|
|
3057
|
+
error?: boolean;
|
|
3058
|
+
}
|
|
3059
|
+
interface TimePickerPanelProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange' | 'title'> {
|
|
3060
|
+
value?: Date | null;
|
|
3061
|
+
referenceDate?: Date;
|
|
3062
|
+
onChange?: (value: Date) => void;
|
|
3063
|
+
onAccept?: (value: Date) => void;
|
|
3064
|
+
onCancel?: () => void;
|
|
3065
|
+
ampm?: boolean;
|
|
3066
|
+
views?: TimePickerView[];
|
|
3067
|
+
withSeconds?: boolean;
|
|
3068
|
+
minutesStep?: number;
|
|
3069
|
+
timeSteps?: PrimitiveRootProps['timeSteps'];
|
|
3070
|
+
minTime?: Date;
|
|
3071
|
+
maxTime?: Date;
|
|
3072
|
+
shouldDisableTime?: (value: Date, view: TimePickerView) => boolean;
|
|
3073
|
+
skipDisabled?: boolean;
|
|
3074
|
+
columnClassName?: string;
|
|
3075
|
+
title?: React.ReactNode;
|
|
3076
|
+
showActions?: boolean;
|
|
3077
|
+
}
|
|
3078
|
+
declare const TimePickerPanel: React.ForwardRefExoticComponent<TimePickerPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
3079
|
+
declare const TimePicker: React.ForwardRefExoticComponent<TimePickerProps & React.RefAttributes<HTMLDivElement>> & {
|
|
3080
|
+
Root: React.ForwardRefExoticComponent<Omit<TimePicker$1.TimePickerRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3081
|
+
Segment: React.ForwardRefExoticComponent<Omit<TimePicker$1.SegmentProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
3082
|
+
Separator: React.FC<{
|
|
3083
|
+
children?: React.ReactNode;
|
|
3084
|
+
}>;
|
|
3085
|
+
Value: React.FC<{
|
|
3086
|
+
format?: TimePicker$1.TimePickerFormat;
|
|
3087
|
+
locale?: string;
|
|
3088
|
+
placeholder?: React.ReactNode;
|
|
3089
|
+
}>;
|
|
3090
|
+
Panel: React.ForwardRefExoticComponent<TimePickerPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
3091
|
+
};
|
|
3092
|
+
|
|
3093
|
+
interface CalendarMonthProps extends React.ComponentPropsWithoutRef<typeof DateRangePicker$1.Calendar> {
|
|
3094
|
+
showOutsideDays?: boolean;
|
|
3095
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
3096
|
+
}
|
|
3097
|
+
interface CalendarProps$1 extends Omit<CalendarMonthProps, 'month' | 'onMonthChange'> {
|
|
3098
|
+
calendars?: 1 | 2 | 3;
|
|
3099
|
+
month?: Date;
|
|
3100
|
+
defaultMonth?: Date;
|
|
3101
|
+
onMonthChange?: (month: Date) => void;
|
|
3102
|
+
}
|
|
3103
|
+
interface DateRangePickerProps extends Omit<React.ComponentPropsWithoutRef<typeof DateRangePicker$1.Root>, 'children'> {
|
|
3104
|
+
className?: string;
|
|
3105
|
+
triggerClassName?: string;
|
|
3106
|
+
contentClassName?: string;
|
|
3107
|
+
calendarClassName?: string;
|
|
3108
|
+
label?: React.ReactNode;
|
|
3109
|
+
helperText?: React.ReactNode;
|
|
3110
|
+
placeholder?: React.ReactNode;
|
|
3111
|
+
format?: React.ComponentPropsWithoutRef<typeof DateRangePicker$1.Root>['format'];
|
|
3112
|
+
formatDensity?: React.ComponentPropsWithoutRef<typeof DateRangePicker$1.Root>['formatDensity'];
|
|
3113
|
+
separator?: string;
|
|
3114
|
+
id?: string;
|
|
3115
|
+
name?: string;
|
|
3116
|
+
required?: boolean;
|
|
3117
|
+
error?: boolean;
|
|
3118
|
+
calendars?: 1 | 2 | 3;
|
|
3119
|
+
shortcuts?: DateRangePicker$1.DateRangePickerShortcut[] | false;
|
|
3120
|
+
shortcutsClassName?: string;
|
|
3121
|
+
showOutsideDays?: boolean;
|
|
3122
|
+
}
|
|
3123
|
+
declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLDivElement>> & {
|
|
3124
|
+
Root: React.FC<DateRangePicker$1.DateRangePickerRootProps>;
|
|
3125
|
+
Trigger: React.ForwardRefExoticComponent<Omit<_structyl_primitives.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3126
|
+
Content: React.ForwardRefExoticComponent<Omit<_structyl_primitives.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
3127
|
+
calendars?: 1 | 2 | 3;
|
|
3128
|
+
calendarClassName?: string;
|
|
3129
|
+
loading?: boolean;
|
|
3130
|
+
shortcuts?: DateRangePicker$1.DateRangePickerShortcut[] | false;
|
|
3131
|
+
shortcutsClassName?: string;
|
|
3132
|
+
showOutsideDays?: boolean;
|
|
3133
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
3134
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3135
|
+
Value: React.FC<{
|
|
3136
|
+
format?: DateRangePicker$1.DateRangePickerFormat;
|
|
3137
|
+
formatDensity?: _structyl_primitives.PickerFormatDensity;
|
|
3138
|
+
locale?: string;
|
|
3139
|
+
separator?: string;
|
|
3140
|
+
placeholder?: React.ReactNode;
|
|
3141
|
+
}>;
|
|
3142
|
+
Calendar: React.ForwardRefExoticComponent<CalendarProps$1 & React.RefAttributes<HTMLDivElement>>;
|
|
3143
|
+
CalendarMonth: React.ForwardRefExoticComponent<CalendarMonthProps & React.RefAttributes<HTMLDivElement>>;
|
|
3144
|
+
Shortcuts: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3145
|
+
shortcuts?: DateRangePicker$1.DateRangePickerShortcut[];
|
|
3146
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3147
|
+
Loading: React.FC<{}>;
|
|
3148
|
+
StyledCalendar: React.ForwardRefExoticComponent<CalendarProps$3 & React.RefAttributes<HTMLDivElement>>;
|
|
3149
|
+
};
|
|
3150
|
+
|
|
3151
|
+
interface CalendarProps extends React.ComponentPropsWithoutRef<typeof DateTimePicker$1.Calendar> {
|
|
3152
|
+
showOutsideDays?: boolean;
|
|
3153
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
3154
|
+
}
|
|
3155
|
+
interface DateTimePickerProps extends Omit<React.ComponentPropsWithoutRef<typeof DateTimePicker$1.Root>, 'children'> {
|
|
3156
|
+
className?: string;
|
|
3157
|
+
triggerClassName?: string;
|
|
3158
|
+
contentClassName?: string;
|
|
3159
|
+
calendarClassName?: string;
|
|
3160
|
+
label?: React.ReactNode;
|
|
3161
|
+
helperText?: React.ReactNode;
|
|
3162
|
+
placeholder?: React.ReactNode;
|
|
3163
|
+
id?: string;
|
|
3164
|
+
name?: string;
|
|
3165
|
+
required?: boolean;
|
|
3166
|
+
error?: boolean;
|
|
3167
|
+
showOutsideDays?: boolean;
|
|
3168
|
+
}
|
|
3169
|
+
declare const DateTimePicker: React.ForwardRefExoticComponent<DateTimePickerProps & React.RefAttributes<HTMLDivElement>> & {
|
|
3170
|
+
Root: React.FC<DateTimePicker$1.DateTimePickerRootProps>;
|
|
3171
|
+
Trigger: React.ForwardRefExoticComponent<Omit<_structyl_primitives.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3172
|
+
Content: React.ForwardRefExoticComponent<Omit<Omit<_structyl_primitives.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
3173
|
+
calendarClassName?: string;
|
|
3174
|
+
loading?: boolean;
|
|
3175
|
+
showOutsideDays?: boolean;
|
|
3176
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
3177
|
+
withSeconds?: boolean;
|
|
3178
|
+
ampm?: boolean;
|
|
3179
|
+
maxTime?: Date;
|
|
3180
|
+
minTime?: Date;
|
|
3181
|
+
minutesStep?: number;
|
|
3182
|
+
shouldDisableTime?: React.ComponentPropsWithoutRef<typeof DateTimePicker$1.Root>["shouldDisableTime"];
|
|
3183
|
+
skipDisabled?: boolean;
|
|
3184
|
+
timeSteps?: React.ComponentPropsWithoutRef<typeof DateTimePicker$1.Root>["timeSteps"];
|
|
3185
|
+
views?: React.ComponentPropsWithoutRef<typeof DateTimePicker$1.Root>["views"];
|
|
3186
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3187
|
+
Value: React.FC<{
|
|
3188
|
+
format?: DateTimePicker$1.DateTimePickerFormat;
|
|
3189
|
+
locale?: string;
|
|
3190
|
+
placeholder?: React.ReactNode;
|
|
3191
|
+
}>;
|
|
3192
|
+
Calendar: React.ForwardRefExoticComponent<CalendarProps & React.RefAttributes<HTMLDivElement>>;
|
|
3193
|
+
DatePanel: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3194
|
+
TimePanel: React.ForwardRefExoticComponent<DateTimePicker$1.TimePanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
3195
|
+
DateButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3196
|
+
Segment: React.ForwardRefExoticComponent<Omit<DateTimePicker$1.SegmentProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
3197
|
+
Separator: React.FC<{
|
|
3198
|
+
children?: React.ReactNode;
|
|
3199
|
+
}>;
|
|
3200
|
+
Loading: React.FC<{}>;
|
|
3201
|
+
StyledCalendar: React.ForwardRefExoticComponent<CalendarProps$3 & React.RefAttributes<HTMLDivElement>>;
|
|
3202
|
+
};
|
|
3203
|
+
|
|
3204
|
+
declare const Root$b: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ColorPickerRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3205
|
+
declare const Area$1: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3206
|
+
declare const HueSlider: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3207
|
+
declare const AlphaSlider: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3208
|
+
declare const Swatch: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3209
|
+
|
|
3210
|
+
declare const index$c_AlphaSlider: typeof AlphaSlider;
|
|
3211
|
+
declare const index$c_HueSlider: typeof HueSlider;
|
|
3212
|
+
declare const index$c_Swatch: typeof Swatch;
|
|
3213
|
+
declare namespace index$c {
|
|
3214
|
+
export { index$c_AlphaSlider as AlphaSlider, Area$1 as Area, index$c_HueSlider as HueSlider, Root$b as Root, index$c_Swatch as Swatch };
|
|
3215
|
+
}
|
|
3216
|
+
|
|
3217
|
+
declare const Root$a: React.ForwardRefExoticComponent<_structyl_primitives.FileUploadRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3218
|
+
declare const Dropzone: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3219
|
+
declare const Input$2: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
3220
|
+
declare const Trigger$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3221
|
+
declare const Clear: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3222
|
+
declare const List: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
3223
|
+
declare const Item$4: React.FC<{
|
|
3224
|
+
file: File;
|
|
3225
|
+
}>;
|
|
3226
|
+
|
|
3227
|
+
declare const index$b_Clear: typeof Clear;
|
|
3228
|
+
declare const index$b_Dropzone: typeof Dropzone;
|
|
3229
|
+
declare const index$b_List: typeof List;
|
|
3230
|
+
declare namespace index$b {
|
|
3231
|
+
export { index$b_Clear as Clear, index$b_Dropzone as Dropzone, Input$2 as Input, Item$4 as Item, index$b_List as List, Root$a as Root, Trigger$1 as Trigger };
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
type CircularProgressColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success' | 'inherit';
|
|
3235
|
+
interface CircularProgressProps extends React.SVGAttributes<SVGSVGElement> {
|
|
3236
|
+
value?: number | null;
|
|
3237
|
+
max?: number;
|
|
3238
|
+
size?: number;
|
|
3239
|
+
strokeWidth?: number;
|
|
3240
|
+
label?: string;
|
|
3241
|
+
color?: CircularProgressColor;
|
|
3242
|
+
}
|
|
3243
|
+
declare const CircularProgress: React.ForwardRefExoticComponent<CircularProgressProps & React.RefAttributes<SVGSVGElement>>;
|
|
3244
|
+
|
|
3245
|
+
interface MeterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3246
|
+
value: number;
|
|
3247
|
+
min?: number;
|
|
3248
|
+
max?: number;
|
|
3249
|
+
low?: number;
|
|
3250
|
+
high?: number;
|
|
3251
|
+
optimum?: number;
|
|
3252
|
+
label?: string;
|
|
3253
|
+
}
|
|
3254
|
+
declare const Meter: React.ForwardRefExoticComponent<MeterProps & React.RefAttributes<HTMLDivElement>>;
|
|
3255
|
+
|
|
3256
|
+
declare const Root$9: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ScrollAreaRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3257
|
+
declare const Scrollbar: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3258
|
+
|
|
3259
|
+
declare const index$a_Scrollbar: typeof Scrollbar;
|
|
3260
|
+
declare namespace index$a {
|
|
3261
|
+
export { Root$9 as Root, index$a_Scrollbar as Scrollbar };
|
|
3262
|
+
}
|
|
3263
|
+
|
|
3264
|
+
declare const Root$8: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ToolbarRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3265
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3266
|
+
declare const Separator$1: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3267
|
+
declare const Link: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
3268
|
+
|
|
3269
|
+
declare const index$9_Button: typeof Button;
|
|
3270
|
+
declare const index$9_Link: typeof Link;
|
|
3271
|
+
declare namespace index$9 {
|
|
3272
|
+
export { index$9_Button as Button, index$9_Link as Link, Root$8 as Root, Separator$1 as Separator };
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
declare const Group$1: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ResizableGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3276
|
+
declare const Panel: React.ForwardRefExoticComponent<_structyl_primitives.ResizablePanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
3277
|
+
declare const Handle: React.ForwardRefExoticComponent<Omit<_structyl_primitives.ResizableHandleProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
3278
|
+
withHandle?: boolean;
|
|
3279
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3280
|
+
|
|
3281
|
+
declare const index$8_Handle: typeof Handle;
|
|
3282
|
+
declare const index$8_Panel: typeof Panel;
|
|
3283
|
+
declare namespace index$8 {
|
|
3284
|
+
export { Group$1 as Group, index$8_Handle as Handle, index$8_Panel as Panel };
|
|
3285
|
+
}
|
|
3286
|
+
|
|
3287
|
+
interface CarouselRootProps extends React.ComponentPropsWithoutRef<typeof Carousel.Root> {
|
|
3288
|
+
loop?: boolean;
|
|
3289
|
+
/** Autoplay interval in ms. Pauses on hover. */
|
|
3290
|
+
autoPlay?: number;
|
|
3291
|
+
slideCount?: number;
|
|
3292
|
+
}
|
|
3293
|
+
declare const Root$7: React.ForwardRefExoticComponent<CarouselRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3294
|
+
declare const Content$1: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3295
|
+
declare const Item$3: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3296
|
+
declare const Previous: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3297
|
+
declare const Next: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3298
|
+
interface DotsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3299
|
+
count: number;
|
|
3300
|
+
}
|
|
3301
|
+
declare const Dots: React.ForwardRefExoticComponent<DotsProps & React.RefAttributes<HTMLDivElement>>;
|
|
3302
|
+
interface CounterProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3303
|
+
count: number;
|
|
3304
|
+
}
|
|
3305
|
+
declare const Counter: React.ForwardRefExoticComponent<CounterProps & React.RefAttributes<HTMLSpanElement>>;
|
|
3306
|
+
|
|
3307
|
+
type index$7_CarouselRootProps = CarouselRootProps;
|
|
3308
|
+
declare const index$7_Counter: typeof Counter;
|
|
3309
|
+
type index$7_CounterProps = CounterProps;
|
|
3310
|
+
declare const index$7_Dots: typeof Dots;
|
|
3311
|
+
type index$7_DotsProps = DotsProps;
|
|
3312
|
+
declare const index$7_Next: typeof Next;
|
|
3313
|
+
declare const index$7_Previous: typeof Previous;
|
|
3314
|
+
declare namespace index$7 {
|
|
3315
|
+
export { type index$7_CarouselRootProps as CarouselRootProps, Content$1 as Content, index$7_Counter as Counter, type index$7_CounterProps as CounterProps, index$7_Dots as Dots, type index$7_DotsProps as DotsProps, Item$3 as Item, index$7_Next as Next, index$7_Previous as Previous, Root$7 as Root };
|
|
3316
|
+
}
|
|
3317
|
+
|
|
3318
|
+
declare const Root$6: React.ForwardRefExoticComponent<Omit<_structyl_primitives.TreeRootProps & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
3319
|
+
declare const Item$2: React.ForwardRefExoticComponent<_structyl_primitives.TreeItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
3320
|
+
declare const Trigger: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
3321
|
+
hasChildren?: boolean;
|
|
3322
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3323
|
+
declare const Group: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
3324
|
+
|
|
3325
|
+
declare const index$6_Group: typeof Group;
|
|
3326
|
+
declare const index$6_Trigger: typeof Trigger;
|
|
3327
|
+
declare namespace index$6 {
|
|
3328
|
+
export { index$6_Group as Group, Item$2 as Item, Root$6 as Root, index$6_Trigger as Trigger };
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
declare const Root$5: React.ForwardRefExoticComponent<_structyl_primitives.EditableRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3332
|
+
declare const Preview: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
3333
|
+
declare const Input$1: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
3334
|
+
|
|
3335
|
+
declare const index$5_Preview: typeof Preview;
|
|
3336
|
+
declare namespace index$5 {
|
|
3337
|
+
export { Input$1 as Input, index$5_Preview as Preview, Root$5 as Root };
|
|
3338
|
+
}
|
|
3339
|
+
|
|
3340
|
+
declare const Root$4: React.ForwardRefExoticComponent<Omit<_structyl_primitives.TagsInputRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3341
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
3342
|
+
declare const Tag: React.FC<{
|
|
3343
|
+
index: number;
|
|
3344
|
+
tag: string;
|
|
3345
|
+
}>;
|
|
3346
|
+
declare const Items$1: React.FC<{
|
|
3347
|
+
children: (tag: string, index: number) => React.ReactNode;
|
|
3348
|
+
}>;
|
|
3349
|
+
|
|
3350
|
+
declare const index$4_Input: typeof Input;
|
|
3351
|
+
declare const index$4_Tag: typeof Tag;
|
|
3352
|
+
declare namespace index$4 {
|
|
3353
|
+
export { index$4_Input as Input, Items$1 as Items, Root$4 as Root, index$4_Tag as Tag };
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
declare const Root$3: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MentionsRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3357
|
+
declare const Textarea: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
3358
|
+
declare const Suggestions: React.ForwardRefExoticComponent<_structyl_primitives.MentionsSuggestionsProps & {
|
|
3359
|
+
className?: string;
|
|
3360
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3361
|
+
declare const Items: React.FC<{
|
|
3362
|
+
children: (item: _structyl_primitives.MentionSuggestion, index: number, highlighted: boolean) => React.ReactNode;
|
|
3363
|
+
}>;
|
|
3364
|
+
declare const Item$1: React.FC<{
|
|
3365
|
+
suggestion: _structyl_primitives.MentionSuggestion;
|
|
3366
|
+
index: number;
|
|
3367
|
+
children?: React.ReactNode;
|
|
3368
|
+
}>;
|
|
3369
|
+
|
|
3370
|
+
declare const index$3_Items: typeof Items;
|
|
3371
|
+
declare const index$3_Suggestions: typeof Suggestions;
|
|
3372
|
+
declare const index$3_Textarea: typeof Textarea;
|
|
3373
|
+
declare namespace index$3 {
|
|
3374
|
+
export { Item$1 as Item, index$3_Items as Items, Root$3 as Root, index$3_Suggestions as Suggestions, index$3_Textarea as Textarea };
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3377
|
+
interface CopyButtonProps extends Omit<ButtonProps, 'value'> {
|
|
3378
|
+
value: string;
|
|
3379
|
+
/** Reset duration in ms. */
|
|
3380
|
+
resetAfter?: number;
|
|
3381
|
+
onCopied?: (value: string) => void;
|
|
3382
|
+
}
|
|
3383
|
+
declare const CopyButton: React.ForwardRefExoticComponent<CopyButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
3384
|
+
|
|
3385
|
+
/**
|
|
3386
|
+
* @structyl/styled — Chart
|
|
3387
|
+
*
|
|
3388
|
+
* Tailwind-styled wrappers around the headless chart primitives.
|
|
3389
|
+
* Applies CSS variable–based color tokens and Tailwind classes.
|
|
3390
|
+
*
|
|
3391
|
+
* Chart colors rely on CSS variables --chart-1 through --chart-5 which
|
|
3392
|
+
* should be defined in your global stylesheet.
|
|
3393
|
+
*
|
|
3394
|
+
* NOTE: Requires `pnpm build` in packages/primitives before typechecking.
|
|
3395
|
+
*
|
|
3396
|
+
* @example
|
|
3397
|
+
* ```tsx
|
|
3398
|
+
* import * as Chart from '@structyl/styled';
|
|
3399
|
+
*
|
|
3400
|
+
* function MyChart() {
|
|
3401
|
+
* return (
|
|
3402
|
+
* <Chart.Chart.Root data={data} height={300}>
|
|
3403
|
+
* <Chart.Chart.Grid />
|
|
3404
|
+
* <Chart.Chart.XAxis dataKey="month" />
|
|
3405
|
+
* <Chart.Chart.YAxis />
|
|
3406
|
+
* <Chart.Chart.Bar dataKey="revenue" name="Revenue" />
|
|
3407
|
+
* <Chart.Chart.Tooltip />
|
|
3408
|
+
* </Chart.Chart.Root>
|
|
3409
|
+
* );
|
|
3410
|
+
* }
|
|
3411
|
+
* ```
|
|
3412
|
+
*/
|
|
3413
|
+
|
|
3414
|
+
type ChartNS = typeof _structyl_primitives.Chart;
|
|
3415
|
+
declare const Grid: ChartNS['Grid'];
|
|
3416
|
+
declare const XAxis: ChartNS['XAxis'];
|
|
3417
|
+
declare const YAxis: ChartNS['YAxis'];
|
|
3418
|
+
declare const Bar: ChartNS['Bar'];
|
|
3419
|
+
declare const Line: ChartNS['Line'];
|
|
3420
|
+
declare const Area: ChartNS['Area'];
|
|
3421
|
+
declare const Scatter: ChartNS['Scatter'];
|
|
3422
|
+
declare const Bubble: ChartNS['Bubble'];
|
|
3423
|
+
declare const Pie: ChartNS['Pie'];
|
|
3424
|
+
declare const PieCenterLabel: ChartNS['PieCenterLabel'];
|
|
3425
|
+
declare const PolarGrid: ChartNS['PolarGrid'];
|
|
3426
|
+
declare const PolarAngleAxis: ChartNS['PolarAngleAxis'];
|
|
3427
|
+
declare const Radar: ChartNS['Radar'];
|
|
3428
|
+
declare const RangeBar: ChartNS['RangeBar'];
|
|
3429
|
+
declare const RangeArea: ChartNS['RangeArea'];
|
|
3430
|
+
declare const ReferenceLine: ChartNS['ReferenceLine'];
|
|
3431
|
+
declare const ReferenceArea: ChartNS['ReferenceArea'];
|
|
3432
|
+
declare const RadialBar: ChartNS['RadialBar'];
|
|
3433
|
+
declare const RadialLine: ChartNS['RadialLine'];
|
|
3434
|
+
declare const GaugeValueArc: ChartNS['GaugeValueArc'];
|
|
3435
|
+
declare const GaugeReferenceArc: ChartNS['GaugeReferenceArc'];
|
|
3436
|
+
declare const GaugePointer: ChartNS['GaugePointer'];
|
|
3437
|
+
interface StyledChartRootProps extends _structyl_primitives.ChartRootProps {
|
|
3438
|
+
/** Additional class name on the outer wrapper div */
|
|
3439
|
+
wrapperClassName?: string;
|
|
3440
|
+
}
|
|
3441
|
+
declare const Root$2: React.ForwardRefExoticComponent<StyledChartRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3442
|
+
declare const PieRoot: React.ForwardRefExoticComponent<_structyl_primitives.ChartPieRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3443
|
+
declare const RadarRoot: React.ForwardRefExoticComponent<_structyl_primitives.ChartRadarRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3444
|
+
interface StyledTooltipProps extends _structyl_primitives.ChartTooltipProps {
|
|
3445
|
+
/** Additional class on the tooltip card */
|
|
3446
|
+
boxClassName?: string;
|
|
3447
|
+
}
|
|
3448
|
+
declare const Tooltip: React.ForwardRefExoticComponent<StyledTooltipProps & React.RefAttributes<HTMLDivElement>>;
|
|
3449
|
+
declare const Legend: React.ForwardRefExoticComponent<_structyl_primitives.ChartLegendProps & React.RefAttributes<HTMLDivElement>>;
|
|
3450
|
+
declare const Heatmap: React.ForwardRefExoticComponent<_structyl_primitives.ChartHeatmapProps & React.RefAttributes<HTMLDivElement>>;
|
|
3451
|
+
declare const Treemap: React.ForwardRefExoticComponent<_structyl_primitives.ChartTreemapProps & React.RefAttributes<HTMLDivElement>>;
|
|
3452
|
+
declare const Funnel: React.ForwardRefExoticComponent<_structyl_primitives.ChartFunnelProps & React.RefAttributes<HTMLDivElement>>;
|
|
3453
|
+
declare const Gauge: React.ForwardRefExoticComponent<_structyl_primitives.ChartGaugeProps & React.RefAttributes<HTMLDivElement>>;
|
|
3454
|
+
declare const GaugeContainer: React.ForwardRefExoticComponent<_structyl_primitives.ChartGaugeContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
3455
|
+
declare const Candlestick: React.ForwardRefExoticComponent<_structyl_primitives.ChartCandlestickProps & React.RefAttributes<HTMLDivElement>>;
|
|
3456
|
+
declare const SparkLine: React.ForwardRefExoticComponent<_structyl_primitives.ChartSparkLineProps & React.RefAttributes<SVGSVGElement>>;
|
|
3457
|
+
declare const RadialBarRoot: React.ForwardRefExoticComponent<_structyl_primitives.ChartRadialBarRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3458
|
+
declare const Waterfall: React.ForwardRefExoticComponent<_structyl_primitives.ChartWaterfallProps & React.RefAttributes<HTMLDivElement>>;
|
|
3459
|
+
declare const Sankey: React.ForwardRefExoticComponent<_structyl_primitives.ChartSankeyProps & React.RefAttributes<HTMLDivElement>>;
|
|
3460
|
+
declare const Pyramid: React.ForwardRefExoticComponent<_structyl_primitives.ChartPyramidProps & React.RefAttributes<HTMLDivElement>>;
|
|
3461
|
+
declare const Gantt: React.ForwardRefExoticComponent<_structyl_primitives.ChartGanttProps & React.RefAttributes<HTMLDivElement>>;
|
|
3462
|
+
declare const RadialLineRoot: React.ForwardRefExoticComponent<_structyl_primitives.ChartRadialLineRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3463
|
+
declare const Histogram: React.ForwardRefExoticComponent<_structyl_primitives.ChartHistogramProps & React.RefAttributes<HTMLDivElement>>;
|
|
3464
|
+
declare const Boxplot: React.ForwardRefExoticComponent<_structyl_primitives.ChartBoxplotProps & React.RefAttributes<HTMLDivElement>>;
|
|
3465
|
+
declare const Sunburst: React.ForwardRefExoticComponent<_structyl_primitives.ChartSunburstProps & React.RefAttributes<HTMLDivElement>>;
|
|
3466
|
+
declare const Chord: React.ForwardRefExoticComponent<_structyl_primitives.ChartChordProps & React.RefAttributes<HTMLDivElement>>;
|
|
3467
|
+
declare const LinearGauge: React.ForwardRefExoticComponent<_structyl_primitives.ChartLinearGaugeProps & React.RefAttributes<HTMLDivElement>>;
|
|
3468
|
+
|
|
3469
|
+
declare const index$2_Area: typeof Area;
|
|
3470
|
+
declare const index$2_Bar: typeof Bar;
|
|
3471
|
+
declare const index$2_Boxplot: typeof Boxplot;
|
|
3472
|
+
declare const index$2_BoxplotEntry: typeof BoxplotEntry;
|
|
3473
|
+
declare const index$2_Bubble: typeof Bubble;
|
|
3474
|
+
declare const index$2_Candlestick: typeof Candlestick;
|
|
3475
|
+
declare const index$2_ChartAreaProps: typeof ChartAreaProps;
|
|
3476
|
+
declare const index$2_ChartBarProps: typeof ChartBarProps;
|
|
3477
|
+
declare const index$2_ChartBoxplotProps: typeof ChartBoxplotProps;
|
|
3478
|
+
declare const index$2_ChartBubbleProps: typeof ChartBubbleProps;
|
|
3479
|
+
declare const index$2_ChartCandlestickProps: typeof ChartCandlestickProps;
|
|
3480
|
+
declare const index$2_ChartChordProps: typeof ChartChordProps;
|
|
3481
|
+
declare const index$2_ChartFunnelProps: typeof ChartFunnelProps;
|
|
3482
|
+
declare const index$2_ChartGanttProps: typeof ChartGanttProps;
|
|
3483
|
+
declare const index$2_ChartGaugeContainerProps: typeof ChartGaugeContainerProps;
|
|
3484
|
+
declare const index$2_ChartGaugePointerProps: typeof ChartGaugePointerProps;
|
|
3485
|
+
declare const index$2_ChartGaugeProps: typeof ChartGaugeProps;
|
|
3486
|
+
declare const index$2_ChartGaugeReferenceArcProps: typeof ChartGaugeReferenceArcProps;
|
|
3487
|
+
declare const index$2_ChartGaugeValueArcProps: typeof ChartGaugeValueArcProps;
|
|
3488
|
+
declare const index$2_ChartGridProps: typeof ChartGridProps;
|
|
3489
|
+
declare const index$2_ChartHeatmapProps: typeof ChartHeatmapProps;
|
|
3490
|
+
declare const index$2_ChartHistogramProps: typeof ChartHistogramProps;
|
|
3491
|
+
declare const index$2_ChartLegendProps: typeof ChartLegendProps;
|
|
3492
|
+
declare const index$2_ChartLineProps: typeof ChartLineProps;
|
|
3493
|
+
declare const index$2_ChartLinearGaugeProps: typeof ChartLinearGaugeProps;
|
|
3494
|
+
declare const index$2_ChartPieCenterLabelProps: typeof ChartPieCenterLabelProps;
|
|
3495
|
+
declare const index$2_ChartPieProps: typeof ChartPieProps;
|
|
3496
|
+
declare const index$2_ChartPieRootProps: typeof ChartPieRootProps;
|
|
3497
|
+
declare const index$2_ChartPolarAngleAxisProps: typeof ChartPolarAngleAxisProps;
|
|
3498
|
+
declare const index$2_ChartPolarGridProps: typeof ChartPolarGridProps;
|
|
3499
|
+
declare const index$2_ChartPyramidProps: typeof ChartPyramidProps;
|
|
3500
|
+
declare const index$2_ChartRadarProps: typeof ChartRadarProps;
|
|
3501
|
+
declare const index$2_ChartRadarRootProps: typeof ChartRadarRootProps;
|
|
3502
|
+
declare const index$2_ChartRadialBarProps: typeof ChartRadialBarProps;
|
|
3503
|
+
declare const index$2_ChartRadialBarRootProps: typeof ChartRadialBarRootProps;
|
|
3504
|
+
declare const index$2_ChartRadialLineProps: typeof ChartRadialLineProps;
|
|
3505
|
+
declare const index$2_ChartRadialLineRootProps: typeof ChartRadialLineRootProps;
|
|
3506
|
+
declare const index$2_ChartRangeAreaProps: typeof ChartRangeAreaProps;
|
|
3507
|
+
declare const index$2_ChartRangeBarProps: typeof ChartRangeBarProps;
|
|
3508
|
+
declare const index$2_ChartReferenceAreaProps: typeof ChartReferenceAreaProps;
|
|
3509
|
+
declare const index$2_ChartReferenceLineProps: typeof ChartReferenceLineProps;
|
|
3510
|
+
declare const index$2_ChartRootProps: typeof ChartRootProps;
|
|
3511
|
+
declare const index$2_ChartSankeyProps: typeof ChartSankeyProps;
|
|
3512
|
+
declare const index$2_ChartScatterProps: typeof ChartScatterProps;
|
|
3513
|
+
declare const index$2_ChartSparkLineProps: typeof ChartSparkLineProps;
|
|
3514
|
+
declare const index$2_ChartSunburstProps: typeof ChartSunburstProps;
|
|
3515
|
+
declare const index$2_ChartTooltipProps: typeof ChartTooltipProps;
|
|
3516
|
+
declare const index$2_ChartTreemapProps: typeof ChartTreemapProps;
|
|
3517
|
+
declare const index$2_ChartWaterfallProps: typeof ChartWaterfallProps;
|
|
3518
|
+
declare const index$2_ChartXAxisProps: typeof ChartXAxisProps;
|
|
3519
|
+
declare const index$2_ChartYAxisProps: typeof ChartYAxisProps;
|
|
3520
|
+
declare const index$2_Chord: typeof Chord;
|
|
3521
|
+
declare const index$2_Funnel: typeof Funnel;
|
|
3522
|
+
declare const index$2_Gantt: typeof Gantt;
|
|
3523
|
+
declare const index$2_GanttTask: typeof GanttTask;
|
|
3524
|
+
declare const index$2_Gauge: typeof Gauge;
|
|
3525
|
+
declare const index$2_GaugeContainer: typeof GaugeContainer;
|
|
3526
|
+
declare const index$2_GaugeContextValue: typeof GaugeContextValue;
|
|
3527
|
+
declare const index$2_GaugePointer: typeof GaugePointer;
|
|
3528
|
+
declare const index$2_GaugeReferenceArc: typeof GaugeReferenceArc;
|
|
3529
|
+
declare const index$2_GaugeValueArc: typeof GaugeValueArc;
|
|
3530
|
+
declare const index$2_Grid: typeof Grid;
|
|
3531
|
+
declare const index$2_Heatmap: typeof Heatmap;
|
|
3532
|
+
declare const index$2_HighlightScope: typeof HighlightScope;
|
|
3533
|
+
declare const index$2_Histogram: typeof Histogram;
|
|
3534
|
+
declare const index$2_Legend: typeof Legend;
|
|
3535
|
+
declare const index$2_Line: typeof Line;
|
|
3536
|
+
declare const index$2_LinearGauge: typeof LinearGauge;
|
|
3537
|
+
declare const index$2_MarkShape: typeof MarkShape;
|
|
3538
|
+
declare const index$2_Pie: typeof Pie;
|
|
3539
|
+
declare const index$2_PieCenterLabel: typeof PieCenterLabel;
|
|
3540
|
+
declare const index$2_PieRoot: typeof PieRoot;
|
|
3541
|
+
declare const index$2_PolarAngleAxis: typeof PolarAngleAxis;
|
|
3542
|
+
declare const index$2_PolarGrid: typeof PolarGrid;
|
|
3543
|
+
declare const index$2_Pyramid: typeof Pyramid;
|
|
3544
|
+
declare const index$2_Radar: typeof Radar;
|
|
3545
|
+
declare const index$2_RadarRoot: typeof RadarRoot;
|
|
3546
|
+
declare const index$2_RadialBar: typeof RadialBar;
|
|
3547
|
+
declare const index$2_RadialBarRoot: typeof RadialBarRoot;
|
|
3548
|
+
declare const index$2_RadialLine: typeof RadialLine;
|
|
3549
|
+
declare const index$2_RadialLineRoot: typeof RadialLineRoot;
|
|
3550
|
+
declare const index$2_RangeArea: typeof RangeArea;
|
|
3551
|
+
declare const index$2_RangeBar: typeof RangeBar;
|
|
3552
|
+
declare const index$2_ReferenceArea: typeof ReferenceArea;
|
|
3553
|
+
declare const index$2_ReferenceLine: typeof ReferenceLine;
|
|
3554
|
+
declare const index$2_Sankey: typeof Sankey;
|
|
3555
|
+
declare const index$2_SankeyLink: typeof SankeyLink;
|
|
3556
|
+
declare const index$2_SankeyNode: typeof SankeyNode;
|
|
3557
|
+
declare const index$2_Scatter: typeof Scatter;
|
|
3558
|
+
declare const index$2_ScatterMarkerShape: typeof ScatterMarkerShape;
|
|
3559
|
+
declare const index$2_SparkLine: typeof SparkLine;
|
|
3560
|
+
type index$2_StyledChartRootProps = StyledChartRootProps;
|
|
3561
|
+
type index$2_StyledTooltipProps = StyledTooltipProps;
|
|
3562
|
+
declare const index$2_Sunburst: typeof Sunburst;
|
|
3563
|
+
declare const index$2_SunburstNode: typeof SunburstNode;
|
|
3564
|
+
declare const index$2_Tooltip: typeof Tooltip;
|
|
3565
|
+
declare const index$2_TooltipState: typeof TooltipState;
|
|
3566
|
+
declare const index$2_Treemap: typeof Treemap;
|
|
3567
|
+
declare const index$2_Waterfall: typeof Waterfall;
|
|
3568
|
+
declare const index$2_WaterfallEntry: typeof WaterfallEntry;
|
|
3569
|
+
declare const index$2_XAxis: typeof XAxis;
|
|
3570
|
+
declare const index$2_YAxis: typeof YAxis;
|
|
3571
|
+
declare namespace index$2 {
|
|
3572
|
+
export { index$2_Area as Area, index$2_Bar as Bar, index$2_Boxplot as Boxplot, index$2_BoxplotEntry as BoxplotEntry, index$2_Bubble as Bubble, index$2_Candlestick as Candlestick, index$2_ChartAreaProps as ChartAreaProps, index$2_ChartBarProps as ChartBarProps, index$2_ChartBoxplotProps as ChartBoxplotProps, index$2_ChartBubbleProps as ChartBubbleProps, index$2_ChartCandlestickProps as ChartCandlestickProps, index$2_ChartChordProps as ChartChordProps, index$2_ChartFunnelProps as ChartFunnelProps, index$2_ChartGanttProps as ChartGanttProps, index$2_ChartGaugeContainerProps as ChartGaugeContainerProps, index$2_ChartGaugePointerProps as ChartGaugePointerProps, index$2_ChartGaugeProps as ChartGaugeProps, index$2_ChartGaugeReferenceArcProps as ChartGaugeReferenceArcProps, index$2_ChartGaugeValueArcProps as ChartGaugeValueArcProps, index$2_ChartGridProps as ChartGridProps, index$2_ChartHeatmapProps as ChartHeatmapProps, index$2_ChartHistogramProps as ChartHistogramProps, index$2_ChartLegendProps as ChartLegendProps, index$2_ChartLineProps as ChartLineProps, index$2_ChartLinearGaugeProps as ChartLinearGaugeProps, index$2_ChartPieCenterLabelProps as ChartPieCenterLabelProps, index$2_ChartPieProps as ChartPieProps, index$2_ChartPieRootProps as ChartPieRootProps, index$2_ChartPolarAngleAxisProps as ChartPolarAngleAxisProps, index$2_ChartPolarGridProps as ChartPolarGridProps, index$2_ChartPyramidProps as ChartPyramidProps, index$2_ChartRadarProps as ChartRadarProps, index$2_ChartRadarRootProps as ChartRadarRootProps, index$2_ChartRadialBarProps as ChartRadialBarProps, index$2_ChartRadialBarRootProps as ChartRadialBarRootProps, index$2_ChartRadialLineProps as ChartRadialLineProps, index$2_ChartRadialLineRootProps as ChartRadialLineRootProps, index$2_ChartRangeAreaProps as ChartRangeAreaProps, index$2_ChartRangeBarProps as ChartRangeBarProps, index$2_ChartReferenceAreaProps as ChartReferenceAreaProps, index$2_ChartReferenceLineProps as ChartReferenceLineProps, index$2_ChartRootProps as ChartRootProps, index$2_ChartSankeyProps as ChartSankeyProps, index$2_ChartScatterProps as ChartScatterProps, index$2_ChartSparkLineProps as ChartSparkLineProps, index$2_ChartSunburstProps as ChartSunburstProps, index$2_ChartTooltipProps as ChartTooltipProps, index$2_ChartTreemapProps as ChartTreemapProps, index$2_ChartWaterfallProps as ChartWaterfallProps, index$2_ChartXAxisProps as ChartXAxisProps, index$2_ChartYAxisProps as ChartYAxisProps, index$2_Chord as Chord, index$2_Funnel as Funnel, index$2_Gantt as Gantt, index$2_GanttTask as GanttTask, index$2_Gauge as Gauge, index$2_GaugeContainer as GaugeContainer, index$2_GaugeContextValue as GaugeContextValue, index$2_GaugePointer as GaugePointer, index$2_GaugeReferenceArc as GaugeReferenceArc, index$2_GaugeValueArc as GaugeValueArc, index$2_Grid as Grid, index$2_Heatmap as Heatmap, index$2_HighlightScope as HighlightScope, index$2_Histogram as Histogram, index$2_Legend as Legend, index$2_Line as Line, index$2_LinearGauge as LinearGauge, index$2_MarkShape as MarkShape, index$2_Pie as Pie, index$2_PieCenterLabel as PieCenterLabel, index$2_PieRoot as PieRoot, index$2_PolarAngleAxis as PolarAngleAxis, index$2_PolarGrid as PolarGrid, index$2_Pyramid as Pyramid, index$2_Radar as Radar, index$2_RadarRoot as RadarRoot, index$2_RadialBar as RadialBar, index$2_RadialBarRoot as RadialBarRoot, index$2_RadialLine as RadialLine, index$2_RadialLineRoot as RadialLineRoot, index$2_RangeArea as RangeArea, index$2_RangeBar as RangeBar, index$2_ReferenceArea as ReferenceArea, index$2_ReferenceLine as ReferenceLine, Root$2 as Root, index$2_Sankey as Sankey, index$2_SankeyLink as SankeyLink, index$2_SankeyNode as SankeyNode, index$2_Scatter as Scatter, index$2_ScatterMarkerShape as ScatterMarkerShape, index$2_SparkLine as SparkLine, type index$2_StyledChartRootProps as StyledChartRootProps, type index$2_StyledTooltipProps as StyledTooltipProps, index$2_Sunburst as Sunburst, index$2_SunburstNode as SunburstNode, index$2_Tooltip as Tooltip, index$2_TooltipState as TooltipState, index$2_Treemap as Treemap, index$2_Waterfall as Waterfall, index$2_WaterfallEntry as WaterfallEntry, index$2_XAxis as XAxis, index$2_YAxis as YAxis };
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
interface TableProps extends React.HTMLAttributes<HTMLTableElement> {
|
|
3576
|
+
/** Shrinks to content width instead of full-width */
|
|
3577
|
+
compact?: boolean;
|
|
3578
|
+
/** Fixes the header row so it stays visible when scrolling */
|
|
3579
|
+
stickyHeader?: boolean;
|
|
3580
|
+
/** Controls cell padding size */
|
|
3581
|
+
size?: 'small' | 'medium' | 'large';
|
|
3582
|
+
}
|
|
3583
|
+
declare const Root$1: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
|
|
3584
|
+
declare const Caption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
3585
|
+
declare const Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
3586
|
+
declare const Body: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
3587
|
+
declare const Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
3588
|
+
interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
3589
|
+
/** Highlight this row */
|
|
3590
|
+
selected?: boolean;
|
|
3591
|
+
}
|
|
3592
|
+
declare const Row: React.ForwardRefExoticComponent<TableRowProps & React.RefAttributes<HTMLTableRowElement>>;
|
|
3593
|
+
interface TableHeadProps extends React.ThHTMLAttributes<HTMLTableCellElement> {
|
|
3594
|
+
/** Make this column sortable — shows sort icon */
|
|
3595
|
+
sortable?: boolean;
|
|
3596
|
+
sortDirection?: 'asc' | 'desc' | false;
|
|
3597
|
+
}
|
|
3598
|
+
declare const Head: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
3599
|
+
declare const Cell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
3600
|
+
|
|
3601
|
+
declare const Table: {
|
|
3602
|
+
Root: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
|
|
3603
|
+
Caption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
3604
|
+
Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
3605
|
+
Body: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
3606
|
+
Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
3607
|
+
Row: React.ForwardRefExoticComponent<TableRowProps & React.RefAttributes<HTMLTableRowElement>>;
|
|
3608
|
+
Head: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
3609
|
+
Cell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
3610
|
+
};
|
|
3611
|
+
|
|
3612
|
+
declare const index$1_Body: typeof Body;
|
|
3613
|
+
declare const index$1_Caption: typeof Caption;
|
|
3614
|
+
declare const index$1_Cell: typeof Cell;
|
|
3615
|
+
declare const index$1_Footer: typeof Footer;
|
|
3616
|
+
declare const index$1_Head: typeof Head;
|
|
3617
|
+
declare const index$1_Header: typeof Header;
|
|
3618
|
+
declare const index$1_Row: typeof Row;
|
|
3619
|
+
type index$1_TableHeadProps = TableHeadProps;
|
|
3620
|
+
type index$1_TableProps = TableProps;
|
|
3621
|
+
type index$1_TableRowProps = TableRowProps;
|
|
3622
|
+
declare namespace index$1 {
|
|
3623
|
+
export { index$1_Body as Body, index$1_Caption as Caption, index$1_Cell as Cell, index$1_Footer as Footer, index$1_Head as Head, index$1_Header as Header, Root$1 as Root, index$1_Row as Row, type index$1_TableHeadProps as TableHeadProps, type index$1_TableProps as TableProps, type index$1_TableRowProps as TableRowProps, Table as default };
|
|
3624
|
+
}
|
|
3625
|
+
|
|
3626
|
+
declare const calloutVariants: tailwind_variants.TVReturnType<{
|
|
3627
|
+
variant: {
|
|
3628
|
+
default: string;
|
|
3629
|
+
info: string;
|
|
3630
|
+
success: string;
|
|
3631
|
+
warning: string;
|
|
3632
|
+
error: string;
|
|
3633
|
+
neutral: string;
|
|
3634
|
+
};
|
|
3635
|
+
}, undefined, "flex gap-3 rounded-lg border p-4 text-sm", tailwind_variants_dist_config_js.TVConfig<{
|
|
3636
|
+
variant: {
|
|
3637
|
+
default: string;
|
|
3638
|
+
info: string;
|
|
3639
|
+
success: string;
|
|
3640
|
+
warning: string;
|
|
3641
|
+
error: string;
|
|
3642
|
+
neutral: string;
|
|
3643
|
+
};
|
|
3644
|
+
}, {
|
|
3645
|
+
variant: {
|
|
3646
|
+
default: string;
|
|
3647
|
+
info: string;
|
|
3648
|
+
success: string;
|
|
3649
|
+
warning: string;
|
|
3650
|
+
error: string;
|
|
3651
|
+
neutral: string;
|
|
3652
|
+
};
|
|
3653
|
+
}>, {
|
|
3654
|
+
variant: {
|
|
3655
|
+
default: string;
|
|
3656
|
+
info: string;
|
|
3657
|
+
success: string;
|
|
3658
|
+
warning: string;
|
|
3659
|
+
error: string;
|
|
3660
|
+
neutral: string;
|
|
3661
|
+
};
|
|
3662
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
3663
|
+
variant: {
|
|
3664
|
+
default: string;
|
|
3665
|
+
info: string;
|
|
3666
|
+
success: string;
|
|
3667
|
+
warning: string;
|
|
3668
|
+
error: string;
|
|
3669
|
+
neutral: string;
|
|
3670
|
+
};
|
|
3671
|
+
}, undefined, "flex gap-3 rounded-lg border p-4 text-sm", tailwind_variants_dist_config_js.TVConfig<{
|
|
3672
|
+
variant: {
|
|
3673
|
+
default: string;
|
|
3674
|
+
info: string;
|
|
3675
|
+
success: string;
|
|
3676
|
+
warning: string;
|
|
3677
|
+
error: string;
|
|
3678
|
+
neutral: string;
|
|
3679
|
+
};
|
|
3680
|
+
}, {
|
|
3681
|
+
variant: {
|
|
3682
|
+
default: string;
|
|
3683
|
+
info: string;
|
|
3684
|
+
success: string;
|
|
3685
|
+
warning: string;
|
|
3686
|
+
error: string;
|
|
3687
|
+
neutral: string;
|
|
3688
|
+
};
|
|
3689
|
+
}>, unknown, unknown, undefined>>;
|
|
3690
|
+
interface CalloutProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>, VariantProps<typeof calloutVariants> {
|
|
3691
|
+
icon?: React.ReactNode;
|
|
3692
|
+
title?: React.ReactNode;
|
|
3693
|
+
}
|
|
3694
|
+
declare const Callout: React.ForwardRefExoticComponent<CalloutProps & React.RefAttributes<HTMLDivElement>>;
|
|
3695
|
+
|
|
3696
|
+
interface EmptyStateProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
3697
|
+
/** Icon or illustration to display */
|
|
3698
|
+
icon?: React.ReactNode;
|
|
3699
|
+
title: React.ReactNode;
|
|
3700
|
+
description?: React.ReactNode;
|
|
3701
|
+
/** Action button(s) */
|
|
3702
|
+
action?: React.ReactNode;
|
|
3703
|
+
/** 'page' = full viewport height, 'section' = fit content */
|
|
3704
|
+
size?: 'page' | 'section';
|
|
3705
|
+
}
|
|
3706
|
+
declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
|
|
3707
|
+
|
|
3708
|
+
declare const kbdVariants: tailwind_variants.TVReturnType<{
|
|
3709
|
+
size: {
|
|
3710
|
+
sm: string;
|
|
3711
|
+
md: string;
|
|
3712
|
+
lg: string;
|
|
3713
|
+
};
|
|
3714
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
3715
|
+
size: {
|
|
3716
|
+
sm: string;
|
|
3717
|
+
md: string;
|
|
3718
|
+
lg: string;
|
|
3719
|
+
};
|
|
3720
|
+
}, {
|
|
3721
|
+
size: {
|
|
3722
|
+
sm: string;
|
|
3723
|
+
md: string;
|
|
3724
|
+
lg: string;
|
|
3725
|
+
};
|
|
3726
|
+
}>, {
|
|
3727
|
+
size: {
|
|
3728
|
+
sm: string;
|
|
3729
|
+
md: string;
|
|
3730
|
+
lg: string;
|
|
3731
|
+
};
|
|
3732
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
3733
|
+
size: {
|
|
3734
|
+
sm: string;
|
|
3735
|
+
md: string;
|
|
3736
|
+
lg: string;
|
|
3737
|
+
};
|
|
3738
|
+
}, undefined, string[], tailwind_variants_dist_config_js.TVConfig<{
|
|
3739
|
+
size: {
|
|
3740
|
+
sm: string;
|
|
3741
|
+
md: string;
|
|
3742
|
+
lg: string;
|
|
3743
|
+
};
|
|
3744
|
+
}, {
|
|
3745
|
+
size: {
|
|
3746
|
+
sm: string;
|
|
3747
|
+
md: string;
|
|
3748
|
+
lg: string;
|
|
3749
|
+
};
|
|
3750
|
+
}>, unknown, unknown, undefined>>;
|
|
3751
|
+
interface KbdProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof kbdVariants> {
|
|
3752
|
+
}
|
|
3753
|
+
declare const Kbd: React.ForwardRefExoticComponent<KbdProps & React.RefAttributes<HTMLElement>>;
|
|
3754
|
+
interface KeyComboProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3755
|
+
keys: string[];
|
|
3756
|
+
size?: VariantProps<typeof kbdVariants>['size'];
|
|
3757
|
+
}
|
|
3758
|
+
declare const KeyCombo: React.FC<KeyComboProps>;
|
|
3759
|
+
|
|
3760
|
+
type TrendDirection = 'up' | 'down' | 'neutral';
|
|
3761
|
+
interface TrendBadgeProps {
|
|
3762
|
+
value: string | number;
|
|
3763
|
+
direction?: TrendDirection;
|
|
3764
|
+
className?: string;
|
|
3765
|
+
}
|
|
3766
|
+
declare const TrendBadge: React.FC<TrendBadgeProps>;
|
|
3767
|
+
type StatColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
|
|
3768
|
+
interface StatProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3769
|
+
label: React.ReactNode;
|
|
3770
|
+
value: React.ReactNode;
|
|
3771
|
+
description?: React.ReactNode;
|
|
3772
|
+
trend?: string | number;
|
|
3773
|
+
trendDirection?: TrendDirection;
|
|
3774
|
+
trendLabel?: string;
|
|
3775
|
+
icon?: React.ReactNode;
|
|
3776
|
+
/** Semantic color for the card tint and icon */
|
|
3777
|
+
color?: StatColor;
|
|
3778
|
+
/** @deprecated Use color instead */
|
|
3779
|
+
highlight?: boolean;
|
|
3780
|
+
}
|
|
3781
|
+
declare const Stat: React.ForwardRefExoticComponent<StatProps & React.RefAttributes<HTMLDivElement>>;
|
|
3782
|
+
interface StatGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3783
|
+
columns?: 1 | 2 | 3 | 4;
|
|
3784
|
+
}
|
|
3785
|
+
declare const StatGroup: React.ForwardRefExoticComponent<StatGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
3786
|
+
|
|
3787
|
+
interface TimelineProps extends React.HTMLAttributes<HTMLOListElement> {
|
|
3788
|
+
side?: 'left' | 'right' | 'alternate';
|
|
3789
|
+
/** Alias for side */
|
|
3790
|
+
position?: 'left' | 'right' | 'alternate';
|
|
3791
|
+
}
|
|
3792
|
+
declare const Root: React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLOListElement>>;
|
|
3793
|
+
interface TimelineItemProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
3794
|
+
/** Whether this is the last item (hides the connector line) */
|
|
3795
|
+
last?: boolean;
|
|
3796
|
+
}
|
|
3797
|
+
declare const Item: React.ForwardRefExoticComponent<TimelineItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
3798
|
+
declare const Separator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3799
|
+
interface TimelineDotProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3800
|
+
color?: 'success' | 'warning' | 'error' | 'info' | 'primary';
|
|
3801
|
+
variant?: 'filled' | 'outlined';
|
|
3802
|
+
}
|
|
3803
|
+
declare const Dot: React.ForwardRefExoticComponent<TimelineDotProps & React.RefAttributes<HTMLDivElement>>;
|
|
3804
|
+
declare const Content: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3805
|
+
declare const ItemTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
3806
|
+
declare const ItemDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
3807
|
+
declare const ItemTime: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTimeElement> & React.RefAttributes<HTMLTimeElement>>;
|
|
3808
|
+
|
|
3809
|
+
declare const index_Content: typeof Content;
|
|
3810
|
+
declare const index_Dot: typeof Dot;
|
|
3811
|
+
declare const index_Item: typeof Item;
|
|
3812
|
+
declare const index_ItemDescription: typeof ItemDescription;
|
|
3813
|
+
declare const index_ItemTime: typeof ItemTime;
|
|
3814
|
+
declare const index_ItemTitle: typeof ItemTitle;
|
|
3815
|
+
declare const index_Root: typeof Root;
|
|
3816
|
+
declare const index_Separator: typeof Separator;
|
|
3817
|
+
type index_TimelineDotProps = TimelineDotProps;
|
|
3818
|
+
type index_TimelineItemProps = TimelineItemProps;
|
|
3819
|
+
type index_TimelineProps = TimelineProps;
|
|
3820
|
+
declare namespace index {
|
|
3821
|
+
export { index_Content as Content, index_Dot as Dot, index_Item as Item, index_ItemDescription as ItemDescription, index_ItemTime as ItemTime, index_ItemTitle as ItemTitle, index_Root as Root, index_Separator as Separator, type index_TimelineDotProps as TimelineDotProps, type index_TimelineItemProps as TimelineItemProps, type index_TimelineProps as TimelineProps };
|
|
3822
|
+
}
|
|
3823
|
+
|
|
3824
|
+
interface RatingProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
3825
|
+
value?: number;
|
|
3826
|
+
defaultValue?: number;
|
|
3827
|
+
onChange?: (value: number) => void;
|
|
3828
|
+
max?: number;
|
|
3829
|
+
step?: number;
|
|
3830
|
+
disabled?: boolean;
|
|
3831
|
+
readOnly?: boolean;
|
|
3832
|
+
required?: boolean;
|
|
3833
|
+
name?: string;
|
|
3834
|
+
icon?: 'star' | 'heart';
|
|
3835
|
+
gap?: string;
|
|
3836
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
3837
|
+
color?: 'yellow' | 'orange' | 'red' | 'primary';
|
|
3838
|
+
/** Returns an accessible label string for a given value, e.g. (v) => `${v} stars` */
|
|
3839
|
+
getLabelText?: (value: number) => string;
|
|
3840
|
+
}
|
|
3841
|
+
declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;
|
|
3842
|
+
|
|
3843
|
+
interface PopconfirmProps {
|
|
3844
|
+
children: React.ReactNode;
|
|
3845
|
+
title: React.ReactNode;
|
|
3846
|
+
description?: React.ReactNode;
|
|
3847
|
+
confirmLabel?: string;
|
|
3848
|
+
cancelLabel?: string;
|
|
3849
|
+
/**
|
|
3850
|
+
* Variant of the confirm button. Uses MUI-style naming:
|
|
3851
|
+
* use `"outlined"` (not `"outline"`) for the bordered style.
|
|
3852
|
+
*/
|
|
3853
|
+
confirmVariant?: ButtonProps['variant'];
|
|
3854
|
+
/** Color of the confirm button when using contained/outlined/text variants */
|
|
3855
|
+
confirmColor?: ButtonProps['color'];
|
|
3856
|
+
onConfirm?: () => void;
|
|
3857
|
+
onCancel?: () => void;
|
|
3858
|
+
/** Controlled open state */
|
|
3859
|
+
open?: boolean;
|
|
3860
|
+
onOpenChange?: (open: boolean) => void;
|
|
3861
|
+
disabled?: boolean;
|
|
3862
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
3863
|
+
align?: 'start' | 'center' | 'end';
|
|
3864
|
+
/** Show loading spinner on confirm button while async confirm runs */
|
|
3865
|
+
loading?: boolean;
|
|
3866
|
+
}
|
|
3867
|
+
declare const Popconfirm: React.FC<PopconfirmProps>;
|
|
3868
|
+
|
|
3869
|
+
declare const typographyVariants: tailwind_variants.TVReturnType<{
|
|
3870
|
+
variant: {
|
|
3871
|
+
h1: string;
|
|
3872
|
+
h2: string;
|
|
3873
|
+
h3: string;
|
|
3874
|
+
h4: string;
|
|
3875
|
+
h5: string;
|
|
3876
|
+
h6: string;
|
|
3877
|
+
subtitle1: string;
|
|
3878
|
+
subtitle2: string;
|
|
3879
|
+
body1: string;
|
|
3880
|
+
body2: string;
|
|
3881
|
+
body3: string;
|
|
3882
|
+
caption: string;
|
|
3883
|
+
overline: string;
|
|
3884
|
+
'badge-label': string;
|
|
3885
|
+
'button-lg': string;
|
|
3886
|
+
'button-md': string;
|
|
3887
|
+
'button-sm': string;
|
|
3888
|
+
'input-label': string;
|
|
3889
|
+
'helper-text': string;
|
|
3890
|
+
'table-header': string;
|
|
3891
|
+
'tab-label': string;
|
|
3892
|
+
tooltip: string;
|
|
3893
|
+
code: string;
|
|
3894
|
+
lead: string;
|
|
3895
|
+
body: string;
|
|
3896
|
+
small: string;
|
|
3897
|
+
muted: string;
|
|
3898
|
+
};
|
|
3899
|
+
color: {
|
|
3900
|
+
inherit: string;
|
|
3901
|
+
primary: string;
|
|
3902
|
+
secondary: string;
|
|
3903
|
+
muted: string;
|
|
3904
|
+
disabled: string;
|
|
3905
|
+
error: string;
|
|
3906
|
+
warning: string;
|
|
3907
|
+
info: string;
|
|
3908
|
+
success: string;
|
|
3909
|
+
};
|
|
3910
|
+
align: {
|
|
3911
|
+
left: string;
|
|
3912
|
+
center: string;
|
|
3913
|
+
right: string;
|
|
3914
|
+
justify: string;
|
|
3915
|
+
};
|
|
3916
|
+
truncate: {
|
|
3917
|
+
true: string;
|
|
3918
|
+
};
|
|
3919
|
+
noWrap: {
|
|
3920
|
+
true: string;
|
|
3921
|
+
};
|
|
3922
|
+
gutterBottom: {
|
|
3923
|
+
true: string;
|
|
3924
|
+
};
|
|
3925
|
+
paragraph: {
|
|
3926
|
+
true: string;
|
|
3927
|
+
};
|
|
3928
|
+
}, undefined, "text-fg", tailwind_variants_dist_config_js.TVConfig<{
|
|
3929
|
+
variant: {
|
|
3930
|
+
h1: string;
|
|
3931
|
+
h2: string;
|
|
3932
|
+
h3: string;
|
|
3933
|
+
h4: string;
|
|
3934
|
+
h5: string;
|
|
3935
|
+
h6: string;
|
|
3936
|
+
subtitle1: string;
|
|
3937
|
+
subtitle2: string;
|
|
3938
|
+
body1: string;
|
|
3939
|
+
body2: string;
|
|
3940
|
+
body3: string;
|
|
3941
|
+
caption: string;
|
|
3942
|
+
overline: string;
|
|
3943
|
+
'badge-label': string;
|
|
3944
|
+
'button-lg': string;
|
|
3945
|
+
'button-md': string;
|
|
3946
|
+
'button-sm': string;
|
|
3947
|
+
'input-label': string;
|
|
3948
|
+
'helper-text': string;
|
|
3949
|
+
'table-header': string;
|
|
3950
|
+
'tab-label': string;
|
|
3951
|
+
tooltip: string;
|
|
3952
|
+
code: string;
|
|
3953
|
+
lead: string;
|
|
3954
|
+
body: string;
|
|
3955
|
+
small: string;
|
|
3956
|
+
muted: string;
|
|
3957
|
+
};
|
|
3958
|
+
color: {
|
|
3959
|
+
inherit: string;
|
|
3960
|
+
primary: string;
|
|
3961
|
+
secondary: string;
|
|
3962
|
+
muted: string;
|
|
3963
|
+
disabled: string;
|
|
3964
|
+
error: string;
|
|
3965
|
+
warning: string;
|
|
3966
|
+
info: string;
|
|
3967
|
+
success: string;
|
|
3968
|
+
};
|
|
3969
|
+
align: {
|
|
3970
|
+
left: string;
|
|
3971
|
+
center: string;
|
|
3972
|
+
right: string;
|
|
3973
|
+
justify: string;
|
|
3974
|
+
};
|
|
3975
|
+
truncate: {
|
|
3976
|
+
true: string;
|
|
3977
|
+
};
|
|
3978
|
+
noWrap: {
|
|
3979
|
+
true: string;
|
|
3980
|
+
};
|
|
3981
|
+
gutterBottom: {
|
|
3982
|
+
true: string;
|
|
3983
|
+
};
|
|
3984
|
+
paragraph: {
|
|
3985
|
+
true: string;
|
|
3986
|
+
};
|
|
3987
|
+
}, {
|
|
3988
|
+
variant: {
|
|
3989
|
+
h1: string;
|
|
3990
|
+
h2: string;
|
|
3991
|
+
h3: string;
|
|
3992
|
+
h4: string;
|
|
3993
|
+
h5: string;
|
|
3994
|
+
h6: string;
|
|
3995
|
+
subtitle1: string;
|
|
3996
|
+
subtitle2: string;
|
|
3997
|
+
body1: string;
|
|
3998
|
+
body2: string;
|
|
3999
|
+
body3: string;
|
|
4000
|
+
caption: string;
|
|
4001
|
+
overline: string;
|
|
4002
|
+
'badge-label': string;
|
|
4003
|
+
'button-lg': string;
|
|
4004
|
+
'button-md': string;
|
|
4005
|
+
'button-sm': string;
|
|
4006
|
+
'input-label': string;
|
|
4007
|
+
'helper-text': string;
|
|
4008
|
+
'table-header': string;
|
|
4009
|
+
'tab-label': string;
|
|
4010
|
+
tooltip: string;
|
|
4011
|
+
code: string;
|
|
4012
|
+
lead: string;
|
|
4013
|
+
body: string;
|
|
4014
|
+
small: string;
|
|
4015
|
+
muted: string;
|
|
4016
|
+
};
|
|
4017
|
+
color: {
|
|
4018
|
+
inherit: string;
|
|
4019
|
+
primary: string;
|
|
4020
|
+
secondary: string;
|
|
4021
|
+
muted: string;
|
|
4022
|
+
disabled: string;
|
|
4023
|
+
error: string;
|
|
4024
|
+
warning: string;
|
|
4025
|
+
info: string;
|
|
4026
|
+
success: string;
|
|
4027
|
+
};
|
|
4028
|
+
align: {
|
|
4029
|
+
left: string;
|
|
4030
|
+
center: string;
|
|
4031
|
+
right: string;
|
|
4032
|
+
justify: string;
|
|
4033
|
+
};
|
|
4034
|
+
truncate: {
|
|
4035
|
+
true: string;
|
|
4036
|
+
};
|
|
4037
|
+
noWrap: {
|
|
4038
|
+
true: string;
|
|
4039
|
+
};
|
|
4040
|
+
gutterBottom: {
|
|
4041
|
+
true: string;
|
|
4042
|
+
};
|
|
4043
|
+
paragraph: {
|
|
4044
|
+
true: string;
|
|
4045
|
+
};
|
|
4046
|
+
}>, {
|
|
4047
|
+
variant: {
|
|
4048
|
+
h1: string;
|
|
4049
|
+
h2: string;
|
|
4050
|
+
h3: string;
|
|
4051
|
+
h4: string;
|
|
4052
|
+
h5: string;
|
|
4053
|
+
h6: string;
|
|
4054
|
+
subtitle1: string;
|
|
4055
|
+
subtitle2: string;
|
|
4056
|
+
body1: string;
|
|
4057
|
+
body2: string;
|
|
4058
|
+
body3: string;
|
|
4059
|
+
caption: string;
|
|
4060
|
+
overline: string;
|
|
4061
|
+
'badge-label': string;
|
|
4062
|
+
'button-lg': string;
|
|
4063
|
+
'button-md': string;
|
|
4064
|
+
'button-sm': string;
|
|
4065
|
+
'input-label': string;
|
|
4066
|
+
'helper-text': string;
|
|
4067
|
+
'table-header': string;
|
|
4068
|
+
'tab-label': string;
|
|
4069
|
+
tooltip: string;
|
|
4070
|
+
code: string;
|
|
4071
|
+
lead: string;
|
|
4072
|
+
body: string;
|
|
4073
|
+
small: string;
|
|
4074
|
+
muted: string;
|
|
4075
|
+
};
|
|
4076
|
+
color: {
|
|
4077
|
+
inherit: string;
|
|
4078
|
+
primary: string;
|
|
4079
|
+
secondary: string;
|
|
4080
|
+
muted: string;
|
|
4081
|
+
disabled: string;
|
|
4082
|
+
error: string;
|
|
4083
|
+
warning: string;
|
|
4084
|
+
info: string;
|
|
4085
|
+
success: string;
|
|
4086
|
+
};
|
|
4087
|
+
align: {
|
|
4088
|
+
left: string;
|
|
4089
|
+
center: string;
|
|
4090
|
+
right: string;
|
|
4091
|
+
justify: string;
|
|
4092
|
+
};
|
|
4093
|
+
truncate: {
|
|
4094
|
+
true: string;
|
|
4095
|
+
};
|
|
4096
|
+
noWrap: {
|
|
4097
|
+
true: string;
|
|
4098
|
+
};
|
|
4099
|
+
gutterBottom: {
|
|
4100
|
+
true: string;
|
|
4101
|
+
};
|
|
4102
|
+
paragraph: {
|
|
4103
|
+
true: string;
|
|
4104
|
+
};
|
|
4105
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
4106
|
+
variant: {
|
|
4107
|
+
h1: string;
|
|
4108
|
+
h2: string;
|
|
4109
|
+
h3: string;
|
|
4110
|
+
h4: string;
|
|
4111
|
+
h5: string;
|
|
4112
|
+
h6: string;
|
|
4113
|
+
subtitle1: string;
|
|
4114
|
+
subtitle2: string;
|
|
4115
|
+
body1: string;
|
|
4116
|
+
body2: string;
|
|
4117
|
+
body3: string;
|
|
4118
|
+
caption: string;
|
|
4119
|
+
overline: string;
|
|
4120
|
+
'badge-label': string;
|
|
4121
|
+
'button-lg': string;
|
|
4122
|
+
'button-md': string;
|
|
4123
|
+
'button-sm': string;
|
|
4124
|
+
'input-label': string;
|
|
4125
|
+
'helper-text': string;
|
|
4126
|
+
'table-header': string;
|
|
4127
|
+
'tab-label': string;
|
|
4128
|
+
tooltip: string;
|
|
4129
|
+
code: string;
|
|
4130
|
+
lead: string;
|
|
4131
|
+
body: string;
|
|
4132
|
+
small: string;
|
|
4133
|
+
muted: string;
|
|
4134
|
+
};
|
|
4135
|
+
color: {
|
|
4136
|
+
inherit: string;
|
|
4137
|
+
primary: string;
|
|
4138
|
+
secondary: string;
|
|
4139
|
+
muted: string;
|
|
4140
|
+
disabled: string;
|
|
4141
|
+
error: string;
|
|
4142
|
+
warning: string;
|
|
4143
|
+
info: string;
|
|
4144
|
+
success: string;
|
|
4145
|
+
};
|
|
4146
|
+
align: {
|
|
4147
|
+
left: string;
|
|
4148
|
+
center: string;
|
|
4149
|
+
right: string;
|
|
4150
|
+
justify: string;
|
|
4151
|
+
};
|
|
4152
|
+
truncate: {
|
|
4153
|
+
true: string;
|
|
4154
|
+
};
|
|
4155
|
+
noWrap: {
|
|
4156
|
+
true: string;
|
|
4157
|
+
};
|
|
4158
|
+
gutterBottom: {
|
|
4159
|
+
true: string;
|
|
4160
|
+
};
|
|
4161
|
+
paragraph: {
|
|
4162
|
+
true: string;
|
|
4163
|
+
};
|
|
4164
|
+
}, undefined, "text-fg", tailwind_variants_dist_config_js.TVConfig<{
|
|
4165
|
+
variant: {
|
|
4166
|
+
h1: string;
|
|
4167
|
+
h2: string;
|
|
4168
|
+
h3: string;
|
|
4169
|
+
h4: string;
|
|
4170
|
+
h5: string;
|
|
4171
|
+
h6: string;
|
|
4172
|
+
subtitle1: string;
|
|
4173
|
+
subtitle2: string;
|
|
4174
|
+
body1: string;
|
|
4175
|
+
body2: string;
|
|
4176
|
+
body3: string;
|
|
4177
|
+
caption: string;
|
|
4178
|
+
overline: string;
|
|
4179
|
+
'badge-label': string;
|
|
4180
|
+
'button-lg': string;
|
|
4181
|
+
'button-md': string;
|
|
4182
|
+
'button-sm': string;
|
|
4183
|
+
'input-label': string;
|
|
4184
|
+
'helper-text': string;
|
|
4185
|
+
'table-header': string;
|
|
4186
|
+
'tab-label': string;
|
|
4187
|
+
tooltip: string;
|
|
4188
|
+
code: string;
|
|
4189
|
+
lead: string;
|
|
4190
|
+
body: string;
|
|
4191
|
+
small: string;
|
|
4192
|
+
muted: string;
|
|
4193
|
+
};
|
|
4194
|
+
color: {
|
|
4195
|
+
inherit: string;
|
|
4196
|
+
primary: string;
|
|
4197
|
+
secondary: string;
|
|
4198
|
+
muted: string;
|
|
4199
|
+
disabled: string;
|
|
4200
|
+
error: string;
|
|
4201
|
+
warning: string;
|
|
4202
|
+
info: string;
|
|
4203
|
+
success: string;
|
|
4204
|
+
};
|
|
4205
|
+
align: {
|
|
4206
|
+
left: string;
|
|
4207
|
+
center: string;
|
|
4208
|
+
right: string;
|
|
4209
|
+
justify: string;
|
|
4210
|
+
};
|
|
4211
|
+
truncate: {
|
|
4212
|
+
true: string;
|
|
4213
|
+
};
|
|
4214
|
+
noWrap: {
|
|
4215
|
+
true: string;
|
|
4216
|
+
};
|
|
4217
|
+
gutterBottom: {
|
|
4218
|
+
true: string;
|
|
4219
|
+
};
|
|
4220
|
+
paragraph: {
|
|
4221
|
+
true: string;
|
|
4222
|
+
};
|
|
4223
|
+
}, {
|
|
4224
|
+
variant: {
|
|
4225
|
+
h1: string;
|
|
4226
|
+
h2: string;
|
|
4227
|
+
h3: string;
|
|
4228
|
+
h4: string;
|
|
4229
|
+
h5: string;
|
|
4230
|
+
h6: string;
|
|
4231
|
+
subtitle1: string;
|
|
4232
|
+
subtitle2: string;
|
|
4233
|
+
body1: string;
|
|
4234
|
+
body2: string;
|
|
4235
|
+
body3: string;
|
|
4236
|
+
caption: string;
|
|
4237
|
+
overline: string;
|
|
4238
|
+
'badge-label': string;
|
|
4239
|
+
'button-lg': string;
|
|
4240
|
+
'button-md': string;
|
|
4241
|
+
'button-sm': string;
|
|
4242
|
+
'input-label': string;
|
|
4243
|
+
'helper-text': string;
|
|
4244
|
+
'table-header': string;
|
|
4245
|
+
'tab-label': string;
|
|
4246
|
+
tooltip: string;
|
|
4247
|
+
code: string;
|
|
4248
|
+
lead: string;
|
|
4249
|
+
body: string;
|
|
4250
|
+
small: string;
|
|
4251
|
+
muted: string;
|
|
4252
|
+
};
|
|
4253
|
+
color: {
|
|
4254
|
+
inherit: string;
|
|
4255
|
+
primary: string;
|
|
4256
|
+
secondary: string;
|
|
4257
|
+
muted: string;
|
|
4258
|
+
disabled: string;
|
|
4259
|
+
error: string;
|
|
4260
|
+
warning: string;
|
|
4261
|
+
info: string;
|
|
4262
|
+
success: string;
|
|
4263
|
+
};
|
|
4264
|
+
align: {
|
|
4265
|
+
left: string;
|
|
4266
|
+
center: string;
|
|
4267
|
+
right: string;
|
|
4268
|
+
justify: string;
|
|
4269
|
+
};
|
|
4270
|
+
truncate: {
|
|
4271
|
+
true: string;
|
|
4272
|
+
};
|
|
4273
|
+
noWrap: {
|
|
4274
|
+
true: string;
|
|
4275
|
+
};
|
|
4276
|
+
gutterBottom: {
|
|
4277
|
+
true: string;
|
|
4278
|
+
};
|
|
4279
|
+
paragraph: {
|
|
4280
|
+
true: string;
|
|
4281
|
+
};
|
|
4282
|
+
}>, unknown, unknown, undefined>>;
|
|
4283
|
+
type TypographyVariant = NonNullable<VariantProps<typeof typographyVariants>['variant']>;
|
|
4284
|
+
type TypographyColor = NonNullable<VariantProps<typeof typographyVariants>['color']>;
|
|
4285
|
+
interface TypographyProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'>, VariantProps<typeof typographyVariants> {
|
|
4286
|
+
/** Override the rendered element */
|
|
4287
|
+
as?: React.ElementType;
|
|
4288
|
+
/** Render as child element instead (Slot pattern) */
|
|
4289
|
+
asChild?: boolean;
|
|
4290
|
+
/** Add a bottom margin (0.75rem) */
|
|
4291
|
+
gutterBottom?: boolean;
|
|
4292
|
+
/** Add paragraph bottom margin (1rem) */
|
|
4293
|
+
paragraph?: boolean;
|
|
4294
|
+
/** Text alignment */
|
|
4295
|
+
align?: 'left' | 'center' | 'right' | 'justify';
|
|
4296
|
+
/** Associates the label with a form control (for use with as="label") */
|
|
4297
|
+
htmlFor?: string;
|
|
4298
|
+
}
|
|
4299
|
+
declare const Typography: React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<HTMLElement>>;
|
|
4300
|
+
|
|
4301
|
+
export { index$y as Accordion, AlertWithSubs as Alert, Close$4 as AlertClose, type AlertCloseProps, Content$i as AlertContent, Description$5 as AlertDescription, index$u as AlertDialog, Icon as AlertIcon, type AlertProps, Root$C as AlertRoot, type AlertRootProps, Title$5 as AlertTitle, AppBar, AspectRatio, type AspectRatioProps, Autocomplete, index$E as Avatar, Backdrop, Badge, type BadgeProps, BottomNavigation, Box, index$w as Breadcrumb, Button$1 as Button, ButtonGroup$1 as ButtonGroup, type ButtonGroupProps, type ButtonProps, ButtonSpinner, Calendar, type CalendarProps$3 as CalendarProps, Callout, type CalloutProps, index$D as Card, index$7 as Carousel, index$2 as Chart, Checkbox, type CheckboxProps, Chip, CircularProgress, type CircularProgressProps, ClearableInput, type ClearableInputProps, ClickAwayListener, index$z as Collapsible, index$c as ColorPicker, Combobox, index$h as Command, Container, index$m as ContextMenu, CopyButton, type CopyButtonProps, CssBaseline, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, DateTimePicker, type DateTimePickerProps, index$F as Dialog, index$s as Drawer, index$n as DropdownMenu, index$5 as Editable, EmptyState, type EmptyStateProps, Fab, index$b as FileUpload, FloatingActionButton, index$A as Form, Grid$1 as Grid, index$p as HoverCard, ImageList, InitColorSchemeScript, Input$8 as Input, InputGroup, type InputGroupProps, type InputProps, type InputProps as InputStyleProps, Kbd, type KbdProps, KeyCombo, type KeyComboProps, Label$6 as Label, type LabelProps, Link$1 as Link, List$1 as List, Masonry, index$3 as Mentions, index$l as Menubar, Meter, type MeterProps, Modal, index$i as MultiSelect, index$k as NavigationMenu, NoSsr, index$d as NumberField, index$f as OneTimePasswordField, Pagination, type PaginationProps, Paper, index$e as PasswordToggleField, Popconfirm, type PopconfirmProps, index$r as Popover, Popper, Progress, type ProgressProps, index$C as RadioGroup, Rating, type RatingProps, index$8 as Resizable, index$a as ScrollArea, index$j as Select, Separator$a as Separator, type SeparatorProps, index$t as Sheet, type SheetContentProps, Skeleton, Group$9 as SkeletonGroup, type SkeletonGroupProps, type SkeletonProps, Slider, type SliderProps, Snackbar, SpeedDial, Spinner, type SpinnerProps, Stack, Stat, StatGroup, type StatGroupProps, type StatProps, index$v as Stepper, index$g as Structyl, Portal as StructylPortal, type TransitionProps as StructylTransitionProps, SvgIcon, Switch, type SwitchProps, index$1 as Table, type TableHeadProps, type TableProps, type TableRowProps, index$x as Tabs, index$4 as TagsInput, Textarea$1 as Textarea, TextareaAutosize, type TextareaProps, TimePicker, TimePickerPanel, type TimePickerPanelProps, type TimePickerProps, index as Timeline, type TimelineDotProps, type TimelineItemProps, type TimelineProps, index$o as Toast, type ToastHorizontal, type ToastItem, type ToastOptions, type ToastVariant, type ToastVertical, Toaster, type ToasterProps, Toggle$1 as Toggle, index$B as ToggleGroup, type ToggleProps, index$9 as Toolbar, index$q as Tooltip, TransferList, Transition, type TransitionAnimation, index$6 as Tree, TrendBadge, type TrendDirection, Typography, type TypographyColor, type TypographyProps, type TypographyVariant, alertVariants, badgeVariants, buttonVariants, dotBadgeVariants, inputVariants, progressTrackVariants, spinnerVariants, switchVariants, toast, toggleVariants, useToast };
|