@structyl/primitives 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 +107 -0
- package/dist/index.cjs +15615 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +4416 -0
- package/dist/index.d.ts +4416 -0
- package/dist/index.mjs +15529 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +70 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,4416 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as _structyl_core from '@structyl/core';
|
|
3
|
+
import { PointerDownOutsideEvent, FocusOutsideEvent } from '@structyl/core';
|
|
4
|
+
|
|
5
|
+
interface ButtonProps$1 extends React.ComponentPropsWithoutRef<'button'> {
|
|
6
|
+
asChild?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
loadingText?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const Button$1: React.ForwardRefExoticComponent<ButtonProps$1 & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
|
|
12
|
+
interface RatingProps$1 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
13
|
+
value?: number;
|
|
14
|
+
defaultValue?: number;
|
|
15
|
+
onChange?: (value: number) => void;
|
|
16
|
+
max?: number;
|
|
17
|
+
step?: number;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
readOnly?: boolean;
|
|
20
|
+
required?: boolean;
|
|
21
|
+
name?: string;
|
|
22
|
+
id?: string;
|
|
23
|
+
}
|
|
24
|
+
declare const Rating$1: React.ForwardRefExoticComponent<RatingProps$1 & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
|
|
26
|
+
interface DialogRootProps {
|
|
27
|
+
open?: boolean;
|
|
28
|
+
defaultOpen?: boolean;
|
|
29
|
+
onOpenChange?: (open: boolean) => void;
|
|
30
|
+
modal?: boolean;
|
|
31
|
+
children?: React.ReactNode;
|
|
32
|
+
}
|
|
33
|
+
interface DialogTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
34
|
+
asChild?: boolean;
|
|
35
|
+
}
|
|
36
|
+
interface DialogPortalProps {
|
|
37
|
+
children?: React.ReactNode;
|
|
38
|
+
container?: Element | DocumentFragment | null;
|
|
39
|
+
forceMount?: boolean;
|
|
40
|
+
}
|
|
41
|
+
interface DialogOverlayProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
42
|
+
asChild?: boolean;
|
|
43
|
+
forceMount?: boolean;
|
|
44
|
+
}
|
|
45
|
+
interface DialogContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
46
|
+
asChild?: boolean;
|
|
47
|
+
forceMount?: boolean;
|
|
48
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
49
|
+
onPointerDownOutside?: (event: PointerDownOutsideEvent) => void;
|
|
50
|
+
onInteractOutside?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
51
|
+
onOpenAutoFocus?: (event: Event) => void;
|
|
52
|
+
onCloseAutoFocus?: (event: Event) => void;
|
|
53
|
+
}
|
|
54
|
+
interface DialogTitleProps extends React.ComponentPropsWithoutRef<'h2'> {
|
|
55
|
+
asChild?: boolean;
|
|
56
|
+
}
|
|
57
|
+
interface DialogDescriptionProps extends React.ComponentPropsWithoutRef<'p'> {
|
|
58
|
+
asChild?: boolean;
|
|
59
|
+
}
|
|
60
|
+
interface DialogCloseProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
61
|
+
asChild?: boolean;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare const Root$H: React.FC<DialogRootProps>;
|
|
65
|
+
declare const Trigger$i: React.ForwardRefExoticComponent<DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
66
|
+
declare const Portal$g: React.FC<DialogPortalProps>;
|
|
67
|
+
declare const Overlay$1: React.ForwardRefExoticComponent<DialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
|
|
68
|
+
declare const Content$j: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
69
|
+
declare const Title$3: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
70
|
+
declare const Description$3: React.ForwardRefExoticComponent<DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
71
|
+
declare const Close$2: React.ForwardRefExoticComponent<DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
72
|
+
|
|
73
|
+
type index$L_DialogCloseProps = DialogCloseProps;
|
|
74
|
+
type index$L_DialogContentProps = DialogContentProps;
|
|
75
|
+
type index$L_DialogDescriptionProps = DialogDescriptionProps;
|
|
76
|
+
type index$L_DialogOverlayProps = DialogOverlayProps;
|
|
77
|
+
type index$L_DialogPortalProps = DialogPortalProps;
|
|
78
|
+
type index$L_DialogRootProps = DialogRootProps;
|
|
79
|
+
type index$L_DialogTitleProps = DialogTitleProps;
|
|
80
|
+
type index$L_DialogTriggerProps = DialogTriggerProps;
|
|
81
|
+
declare namespace index$L {
|
|
82
|
+
export { Close$2 as Close, Content$j as Content, Description$3 as Description, type index$L_DialogCloseProps as DialogCloseProps, type index$L_DialogContentProps as DialogContentProps, type index$L_DialogDescriptionProps as DialogDescriptionProps, type index$L_DialogOverlayProps as DialogOverlayProps, type index$L_DialogPortalProps as DialogPortalProps, type index$L_DialogRootProps as DialogRootProps, type index$L_DialogTitleProps as DialogTitleProps, type index$L_DialogTriggerProps as DialogTriggerProps, Overlay$1 as Overlay, Portal$g as Portal, Root$H as Root, Title$3 as Title, Trigger$i as Trigger };
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
type ImageLoadingStatus = 'idle' | 'loading' | 'loaded' | 'error';
|
|
86
|
+
interface AvatarRootProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
87
|
+
asChild?: boolean;
|
|
88
|
+
}
|
|
89
|
+
interface AvatarImageProps extends React.ComponentPropsWithoutRef<'img'> {
|
|
90
|
+
asChild?: boolean;
|
|
91
|
+
onLoadingStatusChange?: (status: ImageLoadingStatus) => void;
|
|
92
|
+
}
|
|
93
|
+
interface AvatarFallbackProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
94
|
+
asChild?: boolean;
|
|
95
|
+
/** Delay in ms before the fallback is shown, to avoid flicker on fast image loads. */
|
|
96
|
+
delayMs?: number;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare const Root$G: React.ForwardRefExoticComponent<AvatarRootProps & React.RefAttributes<HTMLSpanElement>>;
|
|
100
|
+
declare const Image: React.ForwardRefExoticComponent<AvatarImageProps & React.RefAttributes<HTMLImageElement>>;
|
|
101
|
+
declare const Fallback: React.ForwardRefExoticComponent<AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>>;
|
|
102
|
+
|
|
103
|
+
type index$K_AvatarFallbackProps = AvatarFallbackProps;
|
|
104
|
+
type index$K_AvatarImageProps = AvatarImageProps;
|
|
105
|
+
type index$K_AvatarRootProps = AvatarRootProps;
|
|
106
|
+
declare const index$K_Fallback: typeof Fallback;
|
|
107
|
+
declare const index$K_Image: typeof Image;
|
|
108
|
+
type index$K_ImageLoadingStatus = ImageLoadingStatus;
|
|
109
|
+
declare namespace index$K {
|
|
110
|
+
export { type index$K_AvatarFallbackProps as AvatarFallbackProps, type index$K_AvatarImageProps as AvatarImageProps, type index$K_AvatarRootProps as AvatarRootProps, index$K_Fallback as Fallback, index$K_Image as Image, type index$K_ImageLoadingStatus as ImageLoadingStatus, Root$G as Root };
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
type ProgressState = 'indeterminate' | 'loading' | 'complete';
|
|
114
|
+
interface ProgressRootProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
115
|
+
asChild?: boolean;
|
|
116
|
+
/** Current progress value (0 to max). Pass `null` for indeterminate. */
|
|
117
|
+
value?: number | null;
|
|
118
|
+
/** Maximum value. */
|
|
119
|
+
max?: number;
|
|
120
|
+
/** Returns the localized label to announce. */
|
|
121
|
+
getValueLabel?: (value: number, max: number) => string;
|
|
122
|
+
}
|
|
123
|
+
interface ProgressIndicatorProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
124
|
+
asChild?: boolean;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
declare const Root$F: React.ForwardRefExoticComponent<ProgressRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
128
|
+
declare const Indicator$2: React.ForwardRefExoticComponent<ProgressIndicatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
129
|
+
|
|
130
|
+
type index$J_ProgressIndicatorProps = ProgressIndicatorProps;
|
|
131
|
+
type index$J_ProgressRootProps = ProgressRootProps;
|
|
132
|
+
type index$J_ProgressState = ProgressState;
|
|
133
|
+
declare namespace index$J {
|
|
134
|
+
export { Indicator$2 as Indicator, type index$J_ProgressIndicatorProps as ProgressIndicatorProps, type index$J_ProgressRootProps as ProgressRootProps, type index$J_ProgressState as ProgressState, Root$F as Root };
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
interface RadioGroupRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
138
|
+
asChild?: boolean;
|
|
139
|
+
value?: string;
|
|
140
|
+
defaultValue?: string;
|
|
141
|
+
onValueChange?: (value: string) => void;
|
|
142
|
+
disabled?: boolean;
|
|
143
|
+
required?: boolean;
|
|
144
|
+
name?: string;
|
|
145
|
+
orientation?: 'horizontal' | 'vertical';
|
|
146
|
+
dir?: 'ltr' | 'rtl';
|
|
147
|
+
loop?: boolean;
|
|
148
|
+
}
|
|
149
|
+
interface RadioGroupItemProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
150
|
+
asChild?: boolean;
|
|
151
|
+
value: string;
|
|
152
|
+
disabled?: boolean;
|
|
153
|
+
required?: boolean;
|
|
154
|
+
}
|
|
155
|
+
interface RadioGroupIndicatorProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
156
|
+
asChild?: boolean;
|
|
157
|
+
forceMount?: boolean;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
declare const Root$E: React.ForwardRefExoticComponent<RadioGroupRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
161
|
+
declare const Item$e: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
162
|
+
declare const Indicator$1: React.ForwardRefExoticComponent<RadioGroupIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
163
|
+
|
|
164
|
+
type index$I_RadioGroupIndicatorProps = RadioGroupIndicatorProps;
|
|
165
|
+
type index$I_RadioGroupItemProps = RadioGroupItemProps;
|
|
166
|
+
type index$I_RadioGroupRootProps = RadioGroupRootProps;
|
|
167
|
+
declare namespace index$I {
|
|
168
|
+
export { Indicator$1 as Indicator, Item$e as Item, type index$I_RadioGroupIndicatorProps as RadioGroupIndicatorProps, type index$I_RadioGroupItemProps as RadioGroupItemProps, type index$I_RadioGroupRootProps as RadioGroupRootProps, Root$E as Root };
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
interface CommonRootProps$1 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
172
|
+
asChild?: boolean;
|
|
173
|
+
disabled?: boolean;
|
|
174
|
+
rovingFocus?: boolean;
|
|
175
|
+
orientation?: 'horizontal' | 'vertical';
|
|
176
|
+
dir?: 'ltr' | 'rtl';
|
|
177
|
+
loop?: boolean;
|
|
178
|
+
}
|
|
179
|
+
interface ToggleGroupSingleProps extends CommonRootProps$1 {
|
|
180
|
+
type: 'single';
|
|
181
|
+
value?: string;
|
|
182
|
+
defaultValue?: string;
|
|
183
|
+
onValueChange?: (value: string) => void;
|
|
184
|
+
}
|
|
185
|
+
interface ToggleGroupMultipleProps extends CommonRootProps$1 {
|
|
186
|
+
type: 'multiple';
|
|
187
|
+
value?: string[];
|
|
188
|
+
defaultValue?: string[];
|
|
189
|
+
onValueChange?: (value: string[]) => void;
|
|
190
|
+
}
|
|
191
|
+
type ToggleGroupRootProps = ToggleGroupSingleProps | ToggleGroupMultipleProps;
|
|
192
|
+
interface ToggleGroupItemProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
193
|
+
asChild?: boolean;
|
|
194
|
+
value: string;
|
|
195
|
+
disabled?: boolean;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
declare const Root$D: React.ForwardRefExoticComponent<ToggleGroupRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
199
|
+
declare const Item$d: React.ForwardRefExoticComponent<ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
200
|
+
|
|
201
|
+
type index$H_ToggleGroupItemProps = ToggleGroupItemProps;
|
|
202
|
+
type index$H_ToggleGroupMultipleProps = ToggleGroupMultipleProps;
|
|
203
|
+
type index$H_ToggleGroupRootProps = ToggleGroupRootProps;
|
|
204
|
+
type index$H_ToggleGroupSingleProps = ToggleGroupSingleProps;
|
|
205
|
+
declare namespace index$H {
|
|
206
|
+
export { Item$d as Item, Root$D as Root, type index$H_ToggleGroupItemProps as ToggleGroupItemProps, type index$H_ToggleGroupMultipleProps as ToggleGroupMultipleProps, type index$H_ToggleGroupRootProps as ToggleGroupRootProps, type index$H_ToggleGroupSingleProps as ToggleGroupSingleProps };
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
interface SliderRootProps extends Omit<React.ComponentPropsWithoutRef<'span'>, 'defaultValue' | 'value' | 'onChange'> {
|
|
210
|
+
asChild?: boolean;
|
|
211
|
+
name?: string;
|
|
212
|
+
disabled?: boolean;
|
|
213
|
+
orientation?: 'horizontal' | 'vertical';
|
|
214
|
+
dir?: 'ltr' | 'rtl';
|
|
215
|
+
min?: number;
|
|
216
|
+
max?: number;
|
|
217
|
+
step?: number;
|
|
218
|
+
/** Smallest gap between thumbs in multi-thumb sliders. */
|
|
219
|
+
minStepsBetweenThumbs?: number;
|
|
220
|
+
value?: number[];
|
|
221
|
+
defaultValue?: number[];
|
|
222
|
+
onValueChange?: (value: number[]) => void;
|
|
223
|
+
onValueCommit?: (value: number[]) => void;
|
|
224
|
+
inverted?: boolean;
|
|
225
|
+
}
|
|
226
|
+
interface SliderTrackProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
227
|
+
asChild?: boolean;
|
|
228
|
+
}
|
|
229
|
+
interface SliderRangeProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
230
|
+
asChild?: boolean;
|
|
231
|
+
}
|
|
232
|
+
interface SliderThumbProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
233
|
+
asChild?: boolean;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
declare const Root$C: React.ForwardRefExoticComponent<SliderRootProps & React.RefAttributes<HTMLSpanElement>>;
|
|
237
|
+
declare const Track: React.ForwardRefExoticComponent<SliderTrackProps & React.RefAttributes<HTMLSpanElement>>;
|
|
238
|
+
declare const Range: React.ForwardRefExoticComponent<SliderRangeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
239
|
+
declare const Thumb$1: React.ForwardRefExoticComponent<SliderThumbProps & React.RefAttributes<HTMLSpanElement>>;
|
|
240
|
+
|
|
241
|
+
declare const index$G_Range: typeof Range;
|
|
242
|
+
type index$G_SliderRangeProps = SliderRangeProps;
|
|
243
|
+
type index$G_SliderRootProps = SliderRootProps;
|
|
244
|
+
type index$G_SliderThumbProps = SliderThumbProps;
|
|
245
|
+
type index$G_SliderTrackProps = SliderTrackProps;
|
|
246
|
+
declare const index$G_Track: typeof Track;
|
|
247
|
+
declare namespace index$G {
|
|
248
|
+
export { index$G_Range as Range, Root$C as Root, type index$G_SliderRangeProps as SliderRangeProps, type index$G_SliderRootProps as SliderRootProps, type index$G_SliderThumbProps as SliderThumbProps, type index$G_SliderTrackProps as SliderTrackProps, Thumb$1 as Thumb, index$G_Track as Track };
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
type ValidityMatcher = 'badInput' | 'patternMismatch' | 'rangeOverflow' | 'rangeUnderflow' | 'stepMismatch' | 'tooLong' | 'tooShort' | 'typeMismatch' | 'valid' | 'valueMissing';
|
|
252
|
+
type CustomMatcher = string;
|
|
253
|
+
type Matcher = ValidityMatcher | CustomMatcher;
|
|
254
|
+
interface FormProps extends React.ComponentPropsWithoutRef<'form'> {
|
|
255
|
+
asChild?: boolean;
|
|
256
|
+
/** Map of field name → server-side validity errors. */
|
|
257
|
+
onClearServerErrors?: () => void;
|
|
258
|
+
}
|
|
259
|
+
interface FormFieldProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
260
|
+
asChild?: boolean;
|
|
261
|
+
name: string;
|
|
262
|
+
serverInvalid?: boolean;
|
|
263
|
+
}
|
|
264
|
+
interface FormLabelProps extends React.ComponentPropsWithoutRef<'label'> {
|
|
265
|
+
asChild?: boolean;
|
|
266
|
+
}
|
|
267
|
+
interface FormControlProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
268
|
+
asChild?: boolean;
|
|
269
|
+
}
|
|
270
|
+
interface FormMessageProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
271
|
+
asChild?: boolean;
|
|
272
|
+
match?: Matcher | ((value: string, formData: FormData) => boolean | Promise<boolean>);
|
|
273
|
+
forceMatch?: boolean;
|
|
274
|
+
}
|
|
275
|
+
interface FormValidityStateProps {
|
|
276
|
+
children: (validity: ValidityState | undefined) => React.ReactNode;
|
|
277
|
+
}
|
|
278
|
+
interface FormSubmitProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
279
|
+
asChild?: boolean;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
declare const Form: React.ForwardRefExoticComponent<FormProps & React.RefAttributes<HTMLFormElement>>;
|
|
283
|
+
declare const Field: React.ForwardRefExoticComponent<FormFieldProps & React.RefAttributes<HTMLDivElement>>;
|
|
284
|
+
declare const Label$7: React.ForwardRefExoticComponent<FormLabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
285
|
+
declare const Control: React.ForwardRefExoticComponent<FormControlProps & React.RefAttributes<HTMLInputElement>>;
|
|
286
|
+
declare const Message: React.ForwardRefExoticComponent<FormMessageProps & React.RefAttributes<HTMLSpanElement>>;
|
|
287
|
+
declare const ValidityState$1: React.FC<FormValidityStateProps>;
|
|
288
|
+
declare const Submit: React.ForwardRefExoticComponent<FormSubmitProps & React.RefAttributes<HTMLButtonElement>>;
|
|
289
|
+
|
|
290
|
+
declare const index$F_Control: typeof Control;
|
|
291
|
+
type index$F_CustomMatcher = CustomMatcher;
|
|
292
|
+
declare const index$F_Field: typeof Field;
|
|
293
|
+
type index$F_FormControlProps = FormControlProps;
|
|
294
|
+
type index$F_FormFieldProps = FormFieldProps;
|
|
295
|
+
type index$F_FormLabelProps = FormLabelProps;
|
|
296
|
+
type index$F_FormMessageProps = FormMessageProps;
|
|
297
|
+
type index$F_FormProps = FormProps;
|
|
298
|
+
type index$F_FormSubmitProps = FormSubmitProps;
|
|
299
|
+
type index$F_FormValidityStateProps = FormValidityStateProps;
|
|
300
|
+
type index$F_Matcher = Matcher;
|
|
301
|
+
declare const index$F_Message: typeof Message;
|
|
302
|
+
declare const index$F_Submit: typeof Submit;
|
|
303
|
+
type index$F_ValidityMatcher = ValidityMatcher;
|
|
304
|
+
declare namespace index$F {
|
|
305
|
+
export { index$F_Control as Control, type index$F_CustomMatcher as CustomMatcher, index$F_Field as Field, type index$F_FormControlProps as FormControlProps, type index$F_FormFieldProps as FormFieldProps, type index$F_FormLabelProps as FormLabelProps, type index$F_FormMessageProps as FormMessageProps, type index$F_FormProps as FormProps, type index$F_FormSubmitProps as FormSubmitProps, type index$F_FormValidityStateProps as FormValidityStateProps, Label$7 as Label, type index$F_Matcher as Matcher, index$F_Message as Message, Form as Root, index$F_Submit as Submit, type index$F_ValidityMatcher as ValidityMatcher, ValidityState$1 as ValidityState };
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
interface CollapsibleRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
309
|
+
asChild?: boolean;
|
|
310
|
+
open?: boolean;
|
|
311
|
+
defaultOpen?: boolean;
|
|
312
|
+
onOpenChange?: (open: boolean) => void;
|
|
313
|
+
disabled?: boolean;
|
|
314
|
+
}
|
|
315
|
+
interface CollapsibleTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
316
|
+
asChild?: boolean;
|
|
317
|
+
}
|
|
318
|
+
interface CollapsibleContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
319
|
+
asChild?: boolean;
|
|
320
|
+
forceMount?: boolean;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
declare const Root$B: React.ForwardRefExoticComponent<CollapsibleRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
324
|
+
declare const Trigger$h: React.ForwardRefExoticComponent<CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
325
|
+
declare const Content$i: React.ForwardRefExoticComponent<CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
326
|
+
|
|
327
|
+
type index$E_CollapsibleContentProps = CollapsibleContentProps;
|
|
328
|
+
type index$E_CollapsibleRootProps = CollapsibleRootProps;
|
|
329
|
+
type index$E_CollapsibleTriggerProps = CollapsibleTriggerProps;
|
|
330
|
+
declare namespace index$E {
|
|
331
|
+
export { type index$E_CollapsibleContentProps as CollapsibleContentProps, type index$E_CollapsibleRootProps as CollapsibleRootProps, type index$E_CollapsibleTriggerProps as CollapsibleTriggerProps, Content$i as Content, Root$B as Root, Trigger$h as Trigger };
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
interface CommonRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
335
|
+
asChild?: boolean;
|
|
336
|
+
disabled?: boolean;
|
|
337
|
+
orientation?: 'horizontal' | 'vertical';
|
|
338
|
+
dir?: 'ltr' | 'rtl';
|
|
339
|
+
}
|
|
340
|
+
interface AccordionSingleProps extends CommonRootProps {
|
|
341
|
+
type: 'single';
|
|
342
|
+
value?: string;
|
|
343
|
+
defaultValue?: string;
|
|
344
|
+
onValueChange?: (value: string) => void;
|
|
345
|
+
collapsible?: boolean;
|
|
346
|
+
}
|
|
347
|
+
interface AccordionMultipleProps extends CommonRootProps {
|
|
348
|
+
type: 'multiple';
|
|
349
|
+
value?: string[];
|
|
350
|
+
defaultValue?: string[];
|
|
351
|
+
onValueChange?: (value: string[]) => void;
|
|
352
|
+
}
|
|
353
|
+
type AccordionRootProps = AccordionSingleProps | AccordionMultipleProps;
|
|
354
|
+
interface AccordionItemProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
355
|
+
asChild?: boolean;
|
|
356
|
+
value: string;
|
|
357
|
+
disabled?: boolean;
|
|
358
|
+
}
|
|
359
|
+
interface AccordionHeaderProps extends React.ComponentPropsWithoutRef<'h3'> {
|
|
360
|
+
asChild?: boolean;
|
|
361
|
+
}
|
|
362
|
+
interface AccordionTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
363
|
+
asChild?: boolean;
|
|
364
|
+
}
|
|
365
|
+
interface AccordionContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
366
|
+
asChild?: boolean;
|
|
367
|
+
forceMount?: boolean;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
declare const Root$A: React.ForwardRefExoticComponent<AccordionRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
371
|
+
declare const Item$c: React.ForwardRefExoticComponent<AccordionItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
372
|
+
declare const Header$2: React.ForwardRefExoticComponent<AccordionHeaderProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
373
|
+
declare const Trigger$g: React.ForwardRefExoticComponent<AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
374
|
+
declare const Content$h: React.ForwardRefExoticComponent<AccordionContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
375
|
+
|
|
376
|
+
type index$D_AccordionContentProps = AccordionContentProps;
|
|
377
|
+
type index$D_AccordionHeaderProps = AccordionHeaderProps;
|
|
378
|
+
type index$D_AccordionItemProps = AccordionItemProps;
|
|
379
|
+
type index$D_AccordionMultipleProps = AccordionMultipleProps;
|
|
380
|
+
type index$D_AccordionRootProps = AccordionRootProps;
|
|
381
|
+
type index$D_AccordionSingleProps = AccordionSingleProps;
|
|
382
|
+
type index$D_AccordionTriggerProps = AccordionTriggerProps;
|
|
383
|
+
declare namespace index$D {
|
|
384
|
+
export { type index$D_AccordionContentProps as AccordionContentProps, type index$D_AccordionHeaderProps as AccordionHeaderProps, type index$D_AccordionItemProps as AccordionItemProps, type index$D_AccordionMultipleProps as AccordionMultipleProps, type index$D_AccordionRootProps as AccordionRootProps, type index$D_AccordionSingleProps as AccordionSingleProps, type index$D_AccordionTriggerProps as AccordionTriggerProps, Content$h as Content, Header$2 as Header, Item$c as Item, Root$A as Root, Trigger$g as Trigger };
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
interface TabsRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
388
|
+
asChild?: boolean;
|
|
389
|
+
value?: string;
|
|
390
|
+
defaultValue?: string;
|
|
391
|
+
onValueChange?: (value: string) => void;
|
|
392
|
+
orientation?: 'horizontal' | 'vertical';
|
|
393
|
+
dir?: 'ltr' | 'rtl';
|
|
394
|
+
/** When set, focusing a tab activates it. 'manual' requires Enter/Space. */
|
|
395
|
+
activationMode?: 'automatic' | 'manual';
|
|
396
|
+
}
|
|
397
|
+
interface TabsListProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
398
|
+
asChild?: boolean;
|
|
399
|
+
loop?: boolean;
|
|
400
|
+
}
|
|
401
|
+
interface TabsTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
402
|
+
asChild?: boolean;
|
|
403
|
+
value: string;
|
|
404
|
+
disabled?: boolean;
|
|
405
|
+
}
|
|
406
|
+
interface TabsContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
407
|
+
asChild?: boolean;
|
|
408
|
+
value: string;
|
|
409
|
+
forceMount?: boolean;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
declare const Root$z: React.ForwardRefExoticComponent<TabsRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
413
|
+
declare const List$4: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
414
|
+
declare const Trigger$f: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
415
|
+
declare const Content$g: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
416
|
+
|
|
417
|
+
type index$C_TabsContentProps = TabsContentProps;
|
|
418
|
+
type index$C_TabsListProps = TabsListProps;
|
|
419
|
+
type index$C_TabsRootProps = TabsRootProps;
|
|
420
|
+
type index$C_TabsTriggerProps = TabsTriggerProps;
|
|
421
|
+
declare namespace index$C {
|
|
422
|
+
export { Content$g as Content, List$4 as List, Root$z as Root, type index$C_TabsContentProps as TabsContentProps, type index$C_TabsListProps as TabsListProps, type index$C_TabsRootProps as TabsRootProps, type index$C_TabsTriggerProps as TabsTriggerProps, Trigger$f as Trigger };
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
interface AlertDialogRootProps extends Omit<DialogRootProps, 'modal'> {
|
|
426
|
+
}
|
|
427
|
+
interface AlertDialogTriggerProps extends DialogTriggerProps {
|
|
428
|
+
}
|
|
429
|
+
interface AlertDialogPortalProps extends DialogPortalProps {
|
|
430
|
+
}
|
|
431
|
+
interface AlertDialogOverlayProps extends DialogOverlayProps {
|
|
432
|
+
}
|
|
433
|
+
interface AlertDialogContentProps extends Omit<DialogContentProps, 'onPointerDownOutside' | 'onInteractOutside'> {
|
|
434
|
+
}
|
|
435
|
+
interface AlertDialogTitleProps extends DialogTitleProps {
|
|
436
|
+
}
|
|
437
|
+
interface AlertDialogDescriptionProps extends DialogDescriptionProps {
|
|
438
|
+
}
|
|
439
|
+
interface AlertDialogActionProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
440
|
+
asChild?: boolean;
|
|
441
|
+
}
|
|
442
|
+
interface AlertDialogCancelProps extends DialogCloseProps {
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
declare const Root$y: React.FC<AlertDialogRootProps>;
|
|
446
|
+
declare const Trigger$e: React.ForwardRefExoticComponent<AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
447
|
+
declare const Portal$f: React.FC<AlertDialogPortalProps>;
|
|
448
|
+
declare const Overlay: React.ForwardRefExoticComponent<AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
|
|
449
|
+
declare const Content$f: React.ForwardRefExoticComponent<AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
450
|
+
declare const Title$2: React.ForwardRefExoticComponent<AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
451
|
+
declare const Description$2: React.ForwardRefExoticComponent<AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
452
|
+
declare const Action$1: React.ForwardRefExoticComponent<AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
453
|
+
declare const Cancel: React.ForwardRefExoticComponent<AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
|
|
454
|
+
|
|
455
|
+
type index$B_AlertDialogActionProps = AlertDialogActionProps;
|
|
456
|
+
type index$B_AlertDialogCancelProps = AlertDialogCancelProps;
|
|
457
|
+
type index$B_AlertDialogContentProps = AlertDialogContentProps;
|
|
458
|
+
type index$B_AlertDialogDescriptionProps = AlertDialogDescriptionProps;
|
|
459
|
+
type index$B_AlertDialogOverlayProps = AlertDialogOverlayProps;
|
|
460
|
+
type index$B_AlertDialogPortalProps = AlertDialogPortalProps;
|
|
461
|
+
type index$B_AlertDialogRootProps = AlertDialogRootProps;
|
|
462
|
+
type index$B_AlertDialogTitleProps = AlertDialogTitleProps;
|
|
463
|
+
type index$B_AlertDialogTriggerProps = AlertDialogTriggerProps;
|
|
464
|
+
declare const index$B_Cancel: typeof Cancel;
|
|
465
|
+
declare const index$B_Overlay: typeof Overlay;
|
|
466
|
+
declare namespace index$B {
|
|
467
|
+
export { Action$1 as Action, type index$B_AlertDialogActionProps as AlertDialogActionProps, type index$B_AlertDialogCancelProps as AlertDialogCancelProps, type index$B_AlertDialogContentProps as AlertDialogContentProps, type index$B_AlertDialogDescriptionProps as AlertDialogDescriptionProps, type index$B_AlertDialogOverlayProps as AlertDialogOverlayProps, type index$B_AlertDialogPortalProps as AlertDialogPortalProps, type index$B_AlertDialogRootProps as AlertDialogRootProps, type index$B_AlertDialogTitleProps as AlertDialogTitleProps, type index$B_AlertDialogTriggerProps as AlertDialogTriggerProps, index$B_Cancel as Cancel, Content$f as Content, Description$2 as Description, index$B_Overlay as Overlay, Portal$f as Portal, Root$y as Root, Title$2 as Title, Trigger$e as Trigger };
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
interface PopoverRootProps {
|
|
471
|
+
children?: React.ReactNode;
|
|
472
|
+
open?: boolean;
|
|
473
|
+
defaultOpen?: boolean;
|
|
474
|
+
onOpenChange?: (open: boolean) => void;
|
|
475
|
+
modal?: boolean;
|
|
476
|
+
}
|
|
477
|
+
interface PopoverTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
478
|
+
asChild?: boolean;
|
|
479
|
+
}
|
|
480
|
+
interface PopoverAnchorProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
481
|
+
asChild?: boolean;
|
|
482
|
+
}
|
|
483
|
+
interface PopoverPortalProps {
|
|
484
|
+
children?: React.ReactNode;
|
|
485
|
+
container?: Element | DocumentFragment | null;
|
|
486
|
+
forceMount?: boolean;
|
|
487
|
+
}
|
|
488
|
+
interface PopoverContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
489
|
+
asChild?: boolean;
|
|
490
|
+
forceMount?: boolean;
|
|
491
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
492
|
+
sideOffset?: number;
|
|
493
|
+
align?: 'start' | 'center' | 'end';
|
|
494
|
+
alignOffset?: number;
|
|
495
|
+
arrowPadding?: number;
|
|
496
|
+
avoidCollisions?: boolean;
|
|
497
|
+
collisionBoundary?: Element | Element[] | null;
|
|
498
|
+
collisionPadding?: number;
|
|
499
|
+
strategy?: 'fixed' | 'absolute';
|
|
500
|
+
sticky?: 'partial' | 'always';
|
|
501
|
+
hideWhenDetached?: boolean;
|
|
502
|
+
updatePositionStrategy?: 'always' | 'optimized';
|
|
503
|
+
onOpenAutoFocus?: (event: Event) => void;
|
|
504
|
+
onCloseAutoFocus?: (event: Event) => void;
|
|
505
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
506
|
+
onPointerDownOutside?: (event: PointerDownOutsideEvent) => void;
|
|
507
|
+
onFocusOutside?: (event: FocusOutsideEvent) => void;
|
|
508
|
+
onInteractOutside?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
509
|
+
}
|
|
510
|
+
interface PopoverCloseProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
511
|
+
asChild?: boolean;
|
|
512
|
+
}
|
|
513
|
+
interface PopoverArrowProps extends React.ComponentPropsWithoutRef<'svg'> {
|
|
514
|
+
width?: number;
|
|
515
|
+
height?: number;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
declare const Root$x: React.FC<PopoverRootProps>;
|
|
519
|
+
declare const Anchor$4: React.ForwardRefExoticComponent<PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
520
|
+
declare const Trigger$d: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
521
|
+
declare const Portal$e: React.FC<PopoverPortalProps>;
|
|
522
|
+
declare const Content$e: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
523
|
+
declare const Close$1: React.ForwardRefExoticComponent<PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
524
|
+
declare const Arrow$2: React.ForwardRefExoticComponent<PopoverArrowProps & React.RefAttributes<SVGSVGElement>>;
|
|
525
|
+
|
|
526
|
+
type index$A_PopoverAnchorProps = PopoverAnchorProps;
|
|
527
|
+
type index$A_PopoverArrowProps = PopoverArrowProps;
|
|
528
|
+
type index$A_PopoverCloseProps = PopoverCloseProps;
|
|
529
|
+
type index$A_PopoverContentProps = PopoverContentProps;
|
|
530
|
+
type index$A_PopoverPortalProps = PopoverPortalProps;
|
|
531
|
+
type index$A_PopoverRootProps = PopoverRootProps;
|
|
532
|
+
type index$A_PopoverTriggerProps = PopoverTriggerProps;
|
|
533
|
+
declare namespace index$A {
|
|
534
|
+
export { Anchor$4 as Anchor, Arrow$2 as Arrow, Close$1 as Close, Content$e as Content, type index$A_PopoverAnchorProps as PopoverAnchorProps, type index$A_PopoverArrowProps as PopoverArrowProps, type index$A_PopoverCloseProps as PopoverCloseProps, type index$A_PopoverContentProps as PopoverContentProps, type index$A_PopoverPortalProps as PopoverPortalProps, type index$A_PopoverRootProps as PopoverRootProps, type index$A_PopoverTriggerProps as PopoverTriggerProps, Portal$e as Portal, Root$x as Root, Trigger$d as Trigger };
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
interface TooltipProviderProps {
|
|
538
|
+
children?: React.ReactNode;
|
|
539
|
+
/** Delay before the tooltip opens (ms). */
|
|
540
|
+
delayDuration?: number;
|
|
541
|
+
/** How long after closing before another tooltip will skip the delay (ms). */
|
|
542
|
+
skipDelayDuration?: number;
|
|
543
|
+
/** When true, all tooltips inside disable the hoverable content behavior. */
|
|
544
|
+
disableHoverableContent?: boolean;
|
|
545
|
+
}
|
|
546
|
+
interface TooltipRootProps {
|
|
547
|
+
children?: React.ReactNode;
|
|
548
|
+
open?: boolean;
|
|
549
|
+
defaultOpen?: boolean;
|
|
550
|
+
onOpenChange?: (open: boolean) => void;
|
|
551
|
+
delayDuration?: number;
|
|
552
|
+
disableHoverableContent?: boolean;
|
|
553
|
+
}
|
|
554
|
+
interface TooltipTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
555
|
+
asChild?: boolean;
|
|
556
|
+
}
|
|
557
|
+
interface TooltipPortalProps {
|
|
558
|
+
children?: React.ReactNode;
|
|
559
|
+
container?: Element | DocumentFragment | null;
|
|
560
|
+
forceMount?: boolean;
|
|
561
|
+
}
|
|
562
|
+
interface TooltipContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
563
|
+
asChild?: boolean;
|
|
564
|
+
forceMount?: boolean;
|
|
565
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
566
|
+
sideOffset?: number;
|
|
567
|
+
align?: 'start' | 'center' | 'end';
|
|
568
|
+
alignOffset?: number;
|
|
569
|
+
arrowPadding?: number;
|
|
570
|
+
avoidCollisions?: boolean;
|
|
571
|
+
collisionPadding?: number;
|
|
572
|
+
/** Time (ms) to allow the cursor to leave trigger before closing. */
|
|
573
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
574
|
+
onPointerDownOutside?: (event: PointerEvent) => void;
|
|
575
|
+
}
|
|
576
|
+
interface TooltipArrowProps extends React.ComponentPropsWithoutRef<'svg'> {
|
|
577
|
+
width?: number;
|
|
578
|
+
height?: number;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare const Provider$1: React.FC<TooltipProviderProps>;
|
|
582
|
+
declare const Root$w: React.FC<TooltipRootProps>;
|
|
583
|
+
declare const Trigger$c: React.ForwardRefExoticComponent<TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
584
|
+
declare const Portal$d: React.FC<TooltipPortalProps>;
|
|
585
|
+
declare const Content$d: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
586
|
+
declare const Arrow$1: React.ForwardRefExoticComponent<TooltipArrowProps & React.RefAttributes<SVGSVGElement>>;
|
|
587
|
+
|
|
588
|
+
type index$z_TooltipArrowProps = TooltipArrowProps;
|
|
589
|
+
type index$z_TooltipContentProps = TooltipContentProps;
|
|
590
|
+
type index$z_TooltipPortalProps = TooltipPortalProps;
|
|
591
|
+
type index$z_TooltipProviderProps = TooltipProviderProps;
|
|
592
|
+
type index$z_TooltipRootProps = TooltipRootProps;
|
|
593
|
+
type index$z_TooltipTriggerProps = TooltipTriggerProps;
|
|
594
|
+
declare namespace index$z {
|
|
595
|
+
export { Arrow$1 as Arrow, Content$d as Content, Portal$d as Portal, Provider$1 as Provider, Root$w as Root, type index$z_TooltipArrowProps as TooltipArrowProps, type index$z_TooltipContentProps as TooltipContentProps, type index$z_TooltipPortalProps as TooltipPortalProps, type index$z_TooltipProviderProps as TooltipProviderProps, type index$z_TooltipRootProps as TooltipRootProps, type index$z_TooltipTriggerProps as TooltipTriggerProps, Trigger$c as Trigger };
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
interface HoverCardRootProps {
|
|
599
|
+
children?: React.ReactNode;
|
|
600
|
+
open?: boolean;
|
|
601
|
+
defaultOpen?: boolean;
|
|
602
|
+
onOpenChange?: (open: boolean) => void;
|
|
603
|
+
openDelay?: number;
|
|
604
|
+
closeDelay?: number;
|
|
605
|
+
}
|
|
606
|
+
interface HoverCardTriggerProps extends React.ComponentPropsWithoutRef<'a'> {
|
|
607
|
+
asChild?: boolean;
|
|
608
|
+
}
|
|
609
|
+
interface HoverCardPortalProps {
|
|
610
|
+
children?: React.ReactNode;
|
|
611
|
+
container?: Element | DocumentFragment | null;
|
|
612
|
+
forceMount?: boolean;
|
|
613
|
+
}
|
|
614
|
+
interface HoverCardContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
615
|
+
asChild?: boolean;
|
|
616
|
+
forceMount?: boolean;
|
|
617
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
618
|
+
sideOffset?: number;
|
|
619
|
+
align?: 'start' | 'center' | 'end';
|
|
620
|
+
alignOffset?: number;
|
|
621
|
+
arrowPadding?: number;
|
|
622
|
+
avoidCollisions?: boolean;
|
|
623
|
+
collisionPadding?: number;
|
|
624
|
+
}
|
|
625
|
+
interface HoverCardArrowProps extends React.ComponentPropsWithoutRef<'svg'> {
|
|
626
|
+
width?: number;
|
|
627
|
+
height?: number;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
declare const Root$v: React.FC<HoverCardRootProps>;
|
|
631
|
+
declare const Trigger$b: React.ForwardRefExoticComponent<HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
632
|
+
declare const Portal$c: React.FC<HoverCardPortalProps>;
|
|
633
|
+
declare const Content$c: React.ForwardRefExoticComponent<HoverCardContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
634
|
+
declare const Arrow: React.ForwardRefExoticComponent<HoverCardArrowProps & React.RefAttributes<SVGSVGElement>>;
|
|
635
|
+
|
|
636
|
+
declare const index$y_Arrow: typeof Arrow;
|
|
637
|
+
type index$y_HoverCardArrowProps = HoverCardArrowProps;
|
|
638
|
+
type index$y_HoverCardContentProps = HoverCardContentProps;
|
|
639
|
+
type index$y_HoverCardPortalProps = HoverCardPortalProps;
|
|
640
|
+
type index$y_HoverCardRootProps = HoverCardRootProps;
|
|
641
|
+
type index$y_HoverCardTriggerProps = HoverCardTriggerProps;
|
|
642
|
+
declare namespace index$y {
|
|
643
|
+
export { index$y_Arrow as Arrow, Content$c as Content, type index$y_HoverCardArrowProps as HoverCardArrowProps, type index$y_HoverCardContentProps as HoverCardContentProps, type index$y_HoverCardPortalProps as HoverCardPortalProps, type index$y_HoverCardRootProps as HoverCardRootProps, type index$y_HoverCardTriggerProps as HoverCardTriggerProps, Portal$c as Portal, Root$v as Root, Trigger$b as Trigger };
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
type SwipeDirection = 'up' | 'down' | 'left' | 'right';
|
|
647
|
+
interface ToastProviderProps {
|
|
648
|
+
children?: React.ReactNode;
|
|
649
|
+
/** Aria label for the toast region. */
|
|
650
|
+
label?: string;
|
|
651
|
+
/** Time in ms to auto-dismiss toasts. Set to Infinity to disable. */
|
|
652
|
+
duration?: number;
|
|
653
|
+
/** Direction users can swipe to dismiss. */
|
|
654
|
+
swipeDirection?: SwipeDirection;
|
|
655
|
+
/** Distance in px to consider a swipe a dismissal. */
|
|
656
|
+
swipeThreshold?: number;
|
|
657
|
+
}
|
|
658
|
+
interface ToastViewportProps extends React.ComponentPropsWithoutRef<'ol'> {
|
|
659
|
+
asChild?: boolean;
|
|
660
|
+
/** Keys to focus next/previous toast (default F8). */
|
|
661
|
+
hotkey?: string[];
|
|
662
|
+
label?: string;
|
|
663
|
+
}
|
|
664
|
+
interface ToastRootProps extends React.ComponentPropsWithoutRef<'li'> {
|
|
665
|
+
asChild?: boolean;
|
|
666
|
+
type?: 'foreground' | 'background';
|
|
667
|
+
duration?: number;
|
|
668
|
+
open?: boolean;
|
|
669
|
+
defaultOpen?: boolean;
|
|
670
|
+
onOpenChange?: (open: boolean) => void;
|
|
671
|
+
forceMount?: boolean;
|
|
672
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
673
|
+
onPause?: () => void;
|
|
674
|
+
onResume?: () => void;
|
|
675
|
+
onSwipeStart?: (event: React.PointerEvent) => void;
|
|
676
|
+
onSwipeMove?: (event: React.PointerEvent) => void;
|
|
677
|
+
onSwipeEnd?: (event: React.PointerEvent) => void;
|
|
678
|
+
onSwipeCancel?: (event: React.PointerEvent) => void;
|
|
679
|
+
}
|
|
680
|
+
interface ToastTitleProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
681
|
+
asChild?: boolean;
|
|
682
|
+
}
|
|
683
|
+
interface ToastDescriptionProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
684
|
+
asChild?: boolean;
|
|
685
|
+
}
|
|
686
|
+
interface ToastActionProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
687
|
+
asChild?: boolean;
|
|
688
|
+
altText: string;
|
|
689
|
+
}
|
|
690
|
+
interface ToastCloseProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
691
|
+
asChild?: boolean;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
declare const Provider: React.FC<ToastProviderProps>;
|
|
695
|
+
declare const Viewport$5: React.ForwardRefExoticComponent<ToastViewportProps & React.RefAttributes<HTMLOListElement>>;
|
|
696
|
+
declare const Root$u: React.ForwardRefExoticComponent<ToastRootProps & React.RefAttributes<HTMLLIElement>>;
|
|
697
|
+
declare const Title$1: React.ForwardRefExoticComponent<ToastTitleProps & React.RefAttributes<HTMLDivElement>>;
|
|
698
|
+
declare const Description$1: React.ForwardRefExoticComponent<ToastDescriptionProps & React.RefAttributes<HTMLDivElement>>;
|
|
699
|
+
declare const Action: React.ForwardRefExoticComponent<ToastActionProps & React.RefAttributes<HTMLButtonElement>>;
|
|
700
|
+
declare const Close: React.ForwardRefExoticComponent<ToastCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
701
|
+
declare const Portal$b: React.FC<{
|
|
702
|
+
children?: React.ReactNode;
|
|
703
|
+
container?: Element | DocumentFragment | null;
|
|
704
|
+
}>;
|
|
705
|
+
|
|
706
|
+
declare const index$x_Action: typeof Action;
|
|
707
|
+
declare const index$x_Close: typeof Close;
|
|
708
|
+
declare const index$x_Provider: typeof Provider;
|
|
709
|
+
type index$x_SwipeDirection = SwipeDirection;
|
|
710
|
+
type index$x_ToastActionProps = ToastActionProps;
|
|
711
|
+
type index$x_ToastCloseProps = ToastCloseProps;
|
|
712
|
+
type index$x_ToastDescriptionProps = ToastDescriptionProps;
|
|
713
|
+
type index$x_ToastProviderProps = ToastProviderProps;
|
|
714
|
+
type index$x_ToastRootProps = ToastRootProps;
|
|
715
|
+
type index$x_ToastTitleProps = ToastTitleProps;
|
|
716
|
+
type index$x_ToastViewportProps = ToastViewportProps;
|
|
717
|
+
declare namespace index$x {
|
|
718
|
+
export { index$x_Action as Action, index$x_Close as Close, Description$1 as Description, Portal$b as Portal, index$x_Provider as Provider, Root$u as Root, type index$x_SwipeDirection as SwipeDirection, Title$1 as Title, type index$x_ToastActionProps as ToastActionProps, type index$x_ToastCloseProps as ToastCloseProps, type index$x_ToastDescriptionProps as ToastDescriptionProps, type index$x_ToastProviderProps as ToastProviderProps, type index$x_ToastRootProps as ToastRootProps, type index$x_ToastTitleProps as ToastTitleProps, type index$x_ToastViewportProps as ToastViewportProps, Viewport$5 as Viewport };
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
interface MenuRootProps {
|
|
722
|
+
children?: React.ReactNode;
|
|
723
|
+
open?: boolean;
|
|
724
|
+
onOpenChange?: (open: boolean) => void;
|
|
725
|
+
modal?: boolean;
|
|
726
|
+
dir?: 'ltr' | 'rtl';
|
|
727
|
+
}
|
|
728
|
+
interface MenuAnchorProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
729
|
+
asChild?: boolean;
|
|
730
|
+
virtualRef?: React.RefObject<{
|
|
731
|
+
getBoundingClientRect: () => DOMRect;
|
|
732
|
+
}>;
|
|
733
|
+
}
|
|
734
|
+
interface MenuPortalProps {
|
|
735
|
+
children?: React.ReactNode;
|
|
736
|
+
container?: Element | DocumentFragment | null;
|
|
737
|
+
forceMount?: boolean;
|
|
738
|
+
}
|
|
739
|
+
interface MenuContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
740
|
+
asChild?: boolean;
|
|
741
|
+
forceMount?: boolean;
|
|
742
|
+
loop?: boolean;
|
|
743
|
+
onCloseAutoFocus?: (event: Event) => void;
|
|
744
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
745
|
+
onPointerDownOutside?: (event: PointerDownOutsideEvent) => void;
|
|
746
|
+
onFocusOutside?: (event: FocusOutsideEvent) => void;
|
|
747
|
+
onInteractOutside?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
748
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
749
|
+
sideOffset?: number;
|
|
750
|
+
align?: 'start' | 'center' | 'end';
|
|
751
|
+
alignOffset?: number;
|
|
752
|
+
avoidCollisions?: boolean;
|
|
753
|
+
collisionBoundary?: Element | Element[] | null;
|
|
754
|
+
collisionPadding?: number;
|
|
755
|
+
strategy?: 'fixed' | 'absolute';
|
|
756
|
+
sticky?: 'partial' | 'always';
|
|
757
|
+
hideWhenDetached?: boolean;
|
|
758
|
+
updatePositionStrategy?: 'always' | 'optimized';
|
|
759
|
+
}
|
|
760
|
+
interface MenuItemProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onSelect'> {
|
|
761
|
+
asChild?: boolean;
|
|
762
|
+
disabled?: boolean;
|
|
763
|
+
onSelect?: (event: Event) => void;
|
|
764
|
+
textValue?: string;
|
|
765
|
+
}
|
|
766
|
+
interface MenuGroupProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
767
|
+
asChild?: boolean;
|
|
768
|
+
}
|
|
769
|
+
interface MenuLabelProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
770
|
+
asChild?: boolean;
|
|
771
|
+
}
|
|
772
|
+
interface MenuCheckboxItemProps extends Omit<MenuItemProps, 'onSelect'> {
|
|
773
|
+
checked?: boolean | 'indeterminate';
|
|
774
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
775
|
+
onSelect?: (event: Event) => void;
|
|
776
|
+
}
|
|
777
|
+
interface MenuRadioGroupProps extends MenuGroupProps {
|
|
778
|
+
value?: string;
|
|
779
|
+
onValueChange?: (value: string) => void;
|
|
780
|
+
}
|
|
781
|
+
interface MenuRadioItemProps extends Omit<MenuItemProps, 'onSelect'> {
|
|
782
|
+
value: string;
|
|
783
|
+
onSelect?: (event: Event) => void;
|
|
784
|
+
}
|
|
785
|
+
interface MenuItemIndicatorProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
786
|
+
asChild?: boolean;
|
|
787
|
+
forceMount?: boolean;
|
|
788
|
+
}
|
|
789
|
+
interface MenuSeparatorProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
790
|
+
asChild?: boolean;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
declare const Root$t: React.FC<MenuRootProps>;
|
|
794
|
+
declare const Anchor$3: React.ForwardRefExoticComponent<MenuAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
795
|
+
declare const Portal$a: React.FC<MenuPortalProps>;
|
|
796
|
+
declare const Content$b: React.ForwardRefExoticComponent<MenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
797
|
+
declare const Item$b: React.ForwardRefExoticComponent<MenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
798
|
+
declare const Group$9: React.ForwardRefExoticComponent<MenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
799
|
+
declare const Label$6: React.ForwardRefExoticComponent<MenuLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
800
|
+
declare const Separator$9: React.ForwardRefExoticComponent<MenuSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
801
|
+
declare const CheckboxItem$3: React.ForwardRefExoticComponent<MenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
802
|
+
declare const RadioGroup$3: React.ForwardRefExoticComponent<MenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
803
|
+
declare const RadioItem$3: React.ForwardRefExoticComponent<MenuRadioItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
804
|
+
declare const ItemIndicator$5: React.ForwardRefExoticComponent<MenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
805
|
+
declare const Sub$3: React.FC<{
|
|
806
|
+
children?: React.ReactNode;
|
|
807
|
+
open?: boolean;
|
|
808
|
+
defaultOpen?: boolean;
|
|
809
|
+
onOpenChange?: (open: boolean) => void;
|
|
810
|
+
}>;
|
|
811
|
+
declare const SubTrigger$3: React.ForwardRefExoticComponent<MenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
812
|
+
declare const SubContent$3: React.ForwardRefExoticComponent<Omit<MenuContentProps, "side" | "align"> & React.RefAttributes<HTMLDivElement>>;
|
|
813
|
+
|
|
814
|
+
type index$w_MenuAnchorProps = MenuAnchorProps;
|
|
815
|
+
type index$w_MenuCheckboxItemProps = MenuCheckboxItemProps;
|
|
816
|
+
type index$w_MenuContentProps = MenuContentProps;
|
|
817
|
+
type index$w_MenuGroupProps = MenuGroupProps;
|
|
818
|
+
type index$w_MenuItemIndicatorProps = MenuItemIndicatorProps;
|
|
819
|
+
type index$w_MenuItemProps = MenuItemProps;
|
|
820
|
+
type index$w_MenuLabelProps = MenuLabelProps;
|
|
821
|
+
type index$w_MenuPortalProps = MenuPortalProps;
|
|
822
|
+
type index$w_MenuRadioGroupProps = MenuRadioGroupProps;
|
|
823
|
+
type index$w_MenuRadioItemProps = MenuRadioItemProps;
|
|
824
|
+
type index$w_MenuRootProps = MenuRootProps;
|
|
825
|
+
type index$w_MenuSeparatorProps = MenuSeparatorProps;
|
|
826
|
+
declare namespace index$w {
|
|
827
|
+
export { Anchor$3 as Anchor, CheckboxItem$3 as CheckboxItem, Content$b as Content, Group$9 as Group, Item$b as Item, ItemIndicator$5 as ItemIndicator, Label$6 as Label, type index$w_MenuAnchorProps as MenuAnchorProps, type index$w_MenuCheckboxItemProps as MenuCheckboxItemProps, type index$w_MenuContentProps as MenuContentProps, type index$w_MenuGroupProps as MenuGroupProps, type index$w_MenuItemIndicatorProps as MenuItemIndicatorProps, type index$w_MenuItemProps as MenuItemProps, type index$w_MenuLabelProps as MenuLabelProps, type index$w_MenuPortalProps as MenuPortalProps, type index$w_MenuRadioGroupProps as MenuRadioGroupProps, type index$w_MenuRadioItemProps as MenuRadioItemProps, type index$w_MenuRootProps as MenuRootProps, type index$w_MenuSeparatorProps as MenuSeparatorProps, Portal$a as Portal, RadioGroup$3 as RadioGroup, RadioItem$3 as RadioItem, Root$t as Root, Separator$9 as Separator, Sub$3 as Sub, SubContent$3 as SubContent, SubTrigger$3 as SubTrigger };
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
interface DropdownMenuRootProps {
|
|
831
|
+
children?: React.ReactNode;
|
|
832
|
+
dir?: 'ltr' | 'rtl';
|
|
833
|
+
open?: boolean;
|
|
834
|
+
defaultOpen?: boolean;
|
|
835
|
+
onOpenChange?: (open: boolean) => void;
|
|
836
|
+
modal?: boolean;
|
|
837
|
+
}
|
|
838
|
+
declare const Root$s: React.FC<DropdownMenuRootProps>;
|
|
839
|
+
interface DropdownMenuTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
840
|
+
asChild?: boolean;
|
|
841
|
+
}
|
|
842
|
+
declare const Trigger$a: React.ForwardRefExoticComponent<DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
843
|
+
declare const Portal$9: React.FC<MenuPortalProps>;
|
|
844
|
+
declare const Content$a: React.ForwardRefExoticComponent<Omit<MenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
845
|
+
declare const Item$a: React.ForwardRefExoticComponent<MenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
846
|
+
declare const Group$8: React.ForwardRefExoticComponent<MenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
847
|
+
declare const Label$5: React.ForwardRefExoticComponent<MenuLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
848
|
+
declare const CheckboxItem$2: React.ForwardRefExoticComponent<MenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
849
|
+
declare const RadioGroup$2: React.ForwardRefExoticComponent<MenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
850
|
+
declare const RadioItem$2: React.ForwardRefExoticComponent<MenuRadioItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
851
|
+
declare const ItemIndicator$4: React.ForwardRefExoticComponent<MenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
852
|
+
declare const Separator$8: React.ForwardRefExoticComponent<MenuSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
853
|
+
declare const Sub$2: React.FC<{
|
|
854
|
+
children?: React.ReactNode;
|
|
855
|
+
open?: boolean;
|
|
856
|
+
defaultOpen?: boolean;
|
|
857
|
+
onOpenChange?: (open: boolean) => void;
|
|
858
|
+
}>;
|
|
859
|
+
declare const SubTrigger$2: React.ForwardRefExoticComponent<MenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
860
|
+
declare const SubContent$2: React.ForwardRefExoticComponent<Omit<MenuContentProps, "side" | "align"> & React.RefAttributes<HTMLDivElement>>;
|
|
861
|
+
|
|
862
|
+
type index$v_DropdownMenuRootProps = DropdownMenuRootProps;
|
|
863
|
+
type index$v_DropdownMenuTriggerProps = DropdownMenuTriggerProps;
|
|
864
|
+
declare namespace index$v {
|
|
865
|
+
export { CheckboxItem$2 as CheckboxItem, Content$a as Content, type index$v_DropdownMenuRootProps as DropdownMenuRootProps, type index$v_DropdownMenuTriggerProps as DropdownMenuTriggerProps, Group$8 as Group, Item$a as Item, ItemIndicator$4 as ItemIndicator, Label$5 as Label, Portal$9 as Portal, RadioGroup$2 as RadioGroup, RadioItem$2 as RadioItem, Root$s as Root, Separator$8 as Separator, Sub$2 as Sub, SubContent$2 as SubContent, SubTrigger$2 as SubTrigger, Trigger$a as Trigger };
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
interface ContextMenuRootProps {
|
|
869
|
+
children?: React.ReactNode;
|
|
870
|
+
dir?: 'ltr' | 'rtl';
|
|
871
|
+
onOpenChange?: (open: boolean) => void;
|
|
872
|
+
modal?: boolean;
|
|
873
|
+
}
|
|
874
|
+
declare const Root$r: React.FC<ContextMenuRootProps>;
|
|
875
|
+
interface ContextMenuTriggerProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
876
|
+
asChild?: boolean;
|
|
877
|
+
disabled?: boolean;
|
|
878
|
+
}
|
|
879
|
+
declare const Trigger$9: React.ForwardRefExoticComponent<ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
880
|
+
declare const Portal$8: React.FC<MenuPortalProps>;
|
|
881
|
+
declare const Content$9: React.ForwardRefExoticComponent<Omit<Omit<MenuContentProps & React.RefAttributes<HTMLDivElement>, "ref">, "side" | "sideOffset" | "align"> & React.RefAttributes<HTMLDivElement>>;
|
|
882
|
+
declare const Item$9: React.ForwardRefExoticComponent<MenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
883
|
+
declare const Group$7: React.ForwardRefExoticComponent<MenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
884
|
+
declare const Label$4: React.ForwardRefExoticComponent<MenuLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
885
|
+
declare const CheckboxItem$1: React.ForwardRefExoticComponent<MenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
886
|
+
declare const RadioGroup$1: React.ForwardRefExoticComponent<MenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
887
|
+
declare const RadioItem$1: React.ForwardRefExoticComponent<MenuRadioItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
888
|
+
declare const ItemIndicator$3: React.ForwardRefExoticComponent<MenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
889
|
+
declare const Separator$7: React.ForwardRefExoticComponent<MenuSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
890
|
+
declare const Sub$1: React.FC<{
|
|
891
|
+
children?: React.ReactNode;
|
|
892
|
+
open?: boolean;
|
|
893
|
+
defaultOpen?: boolean;
|
|
894
|
+
onOpenChange?: (open: boolean) => void;
|
|
895
|
+
}>;
|
|
896
|
+
declare const SubTrigger$1: React.ForwardRefExoticComponent<MenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
897
|
+
declare const SubContent$1: React.ForwardRefExoticComponent<Omit<MenuContentProps, "side" | "align"> & React.RefAttributes<HTMLDivElement>>;
|
|
898
|
+
|
|
899
|
+
type index$u_ContextMenuRootProps = ContextMenuRootProps;
|
|
900
|
+
type index$u_ContextMenuTriggerProps = ContextMenuTriggerProps;
|
|
901
|
+
declare namespace index$u {
|
|
902
|
+
export { CheckboxItem$1 as CheckboxItem, Content$9 as Content, type index$u_ContextMenuRootProps as ContextMenuRootProps, type index$u_ContextMenuTriggerProps as ContextMenuTriggerProps, Group$7 as Group, Item$9 as Item, ItemIndicator$3 as ItemIndicator, Label$4 as Label, Portal$8 as Portal, RadioGroup$1 as RadioGroup, RadioItem$1 as RadioItem, Root$r as Root, Separator$7 as Separator, Sub$1 as Sub, SubContent$1 as SubContent, SubTrigger$1 as SubTrigger, Trigger$9 as Trigger };
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
interface MenubarRootProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
906
|
+
asChild?: boolean;
|
|
907
|
+
value?: string;
|
|
908
|
+
defaultValue?: string;
|
|
909
|
+
onValueChange?: (value: string) => void;
|
|
910
|
+
dir?: 'ltr' | 'rtl';
|
|
911
|
+
loop?: boolean;
|
|
912
|
+
}
|
|
913
|
+
declare const Root$q: React.ForwardRefExoticComponent<MenubarRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
914
|
+
declare const Menu: React.FC<{
|
|
915
|
+
children?: React.ReactNode;
|
|
916
|
+
value?: string;
|
|
917
|
+
}>;
|
|
918
|
+
interface MenubarTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
919
|
+
asChild?: boolean;
|
|
920
|
+
disabled?: boolean;
|
|
921
|
+
}
|
|
922
|
+
declare const Trigger$8: React.ForwardRefExoticComponent<MenubarTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
923
|
+
declare const Portal$7: React.FC<MenuPortalProps>;
|
|
924
|
+
declare const Content$8: React.ForwardRefExoticComponent<Omit<MenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
925
|
+
declare const Item$8: React.ForwardRefExoticComponent<MenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
926
|
+
declare const Group$6: React.ForwardRefExoticComponent<MenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
927
|
+
declare const Label$3: React.ForwardRefExoticComponent<MenuLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
928
|
+
declare const CheckboxItem: React.ForwardRefExoticComponent<MenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
929
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<MenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
930
|
+
declare const RadioItem: React.ForwardRefExoticComponent<MenuRadioItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
931
|
+
declare const ItemIndicator$2: React.ForwardRefExoticComponent<MenuItemIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
932
|
+
declare const Separator$6: React.ForwardRefExoticComponent<MenuSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
933
|
+
declare const Sub: React.FC<{
|
|
934
|
+
children?: React.ReactNode;
|
|
935
|
+
open?: boolean;
|
|
936
|
+
defaultOpen?: boolean;
|
|
937
|
+
onOpenChange?: (open: boolean) => void;
|
|
938
|
+
}>;
|
|
939
|
+
declare const SubTrigger: React.ForwardRefExoticComponent<MenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
940
|
+
declare const SubContent: React.ForwardRefExoticComponent<Omit<MenuContentProps, "side" | "align"> & React.RefAttributes<HTMLDivElement>>;
|
|
941
|
+
|
|
942
|
+
declare const index$t_CheckboxItem: typeof CheckboxItem;
|
|
943
|
+
declare const index$t_Menu: typeof Menu;
|
|
944
|
+
type index$t_MenubarRootProps = MenubarRootProps;
|
|
945
|
+
type index$t_MenubarTriggerProps = MenubarTriggerProps;
|
|
946
|
+
declare const index$t_RadioGroup: typeof RadioGroup;
|
|
947
|
+
declare const index$t_RadioItem: typeof RadioItem;
|
|
948
|
+
declare const index$t_Sub: typeof Sub;
|
|
949
|
+
declare const index$t_SubContent: typeof SubContent;
|
|
950
|
+
declare const index$t_SubTrigger: typeof SubTrigger;
|
|
951
|
+
declare namespace index$t {
|
|
952
|
+
export { index$t_CheckboxItem as CheckboxItem, Content$8 as Content, Group$6 as Group, Item$8 as Item, ItemIndicator$2 as ItemIndicator, Label$3 as Label, index$t_Menu as Menu, type index$t_MenubarRootProps as MenubarRootProps, type index$t_MenubarTriggerProps as MenubarTriggerProps, Portal$7 as Portal, index$t_RadioGroup as RadioGroup, index$t_RadioItem as RadioItem, Root$q as Root, Separator$6 as Separator, index$t_Sub as Sub, index$t_SubContent as SubContent, index$t_SubTrigger as SubTrigger, Trigger$8 as Trigger };
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
interface NavigationMenuRootProps extends React.ComponentPropsWithoutRef<'nav'> {
|
|
956
|
+
asChild?: boolean;
|
|
957
|
+
value?: string;
|
|
958
|
+
defaultValue?: string;
|
|
959
|
+
onValueChange?: (value: string) => void;
|
|
960
|
+
delayDuration?: number;
|
|
961
|
+
skipDelayDuration?: number;
|
|
962
|
+
dir?: 'ltr' | 'rtl';
|
|
963
|
+
orientation?: 'horizontal' | 'vertical';
|
|
964
|
+
}
|
|
965
|
+
declare const Root$p: React.ForwardRefExoticComponent<NavigationMenuRootProps & React.RefAttributes<HTMLElement>>;
|
|
966
|
+
declare const List$3: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
967
|
+
interface NavigationMenuItemProps extends React.ComponentPropsWithoutRef<'li'> {
|
|
968
|
+
asChild?: boolean;
|
|
969
|
+
value?: string;
|
|
970
|
+
}
|
|
971
|
+
declare const Item$7: React.ForwardRefExoticComponent<NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
972
|
+
declare const Trigger$7: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
973
|
+
asChild?: boolean;
|
|
974
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
975
|
+
interface NavigationMenuLinkProps extends React.ComponentPropsWithoutRef<'a'> {
|
|
976
|
+
asChild?: boolean;
|
|
977
|
+
active?: boolean;
|
|
978
|
+
}
|
|
979
|
+
declare const Link$2: React.ForwardRefExoticComponent<NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
980
|
+
declare const Content$7: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
981
|
+
asChild?: boolean;
|
|
982
|
+
forceMount?: boolean;
|
|
983
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
984
|
+
declare const Indicator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
985
|
+
forceMount?: boolean;
|
|
986
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
987
|
+
declare const Viewport$4: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
988
|
+
forceMount?: boolean;
|
|
989
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
990
|
+
|
|
991
|
+
declare const index$s_Indicator: typeof Indicator;
|
|
992
|
+
type index$s_NavigationMenuItemProps = NavigationMenuItemProps;
|
|
993
|
+
type index$s_NavigationMenuLinkProps = NavigationMenuLinkProps;
|
|
994
|
+
type index$s_NavigationMenuRootProps = NavigationMenuRootProps;
|
|
995
|
+
declare namespace index$s {
|
|
996
|
+
export { Content$7 as Content, index$s_Indicator as Indicator, Item$7 as Item, Link$2 as Link, List$3 as List, type index$s_NavigationMenuItemProps as NavigationMenuItemProps, type index$s_NavigationMenuLinkProps as NavigationMenuLinkProps, type index$s_NavigationMenuRootProps as NavigationMenuRootProps, Root$p as Root, Trigger$7 as Trigger, Viewport$4 as Viewport };
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
interface BreadcrumbProps extends React.HTMLAttributes<HTMLElement> {
|
|
1000
|
+
label?: string;
|
|
1001
|
+
}
|
|
1002
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
|
|
1003
|
+
declare const BreadcrumbItem: React.ForwardRefExoticComponent<React.LiHTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
|
|
1004
|
+
declare const BreadcrumbLink: React.ForwardRefExoticComponent<React.AnchorHTMLAttributes<HTMLAnchorElement> & React.RefAttributes<HTMLAnchorElement>>;
|
|
1005
|
+
|
|
1006
|
+
declare const index$r_Breadcrumb: typeof Breadcrumb;
|
|
1007
|
+
declare const index$r_BreadcrumbItem: typeof BreadcrumbItem;
|
|
1008
|
+
declare const index$r_BreadcrumbLink: typeof BreadcrumbLink;
|
|
1009
|
+
type index$r_BreadcrumbProps = BreadcrumbProps;
|
|
1010
|
+
declare namespace index$r {
|
|
1011
|
+
export { index$r_Breadcrumb as Breadcrumb, index$r_BreadcrumbItem as BreadcrumbItem, index$r_BreadcrumbLink as BreadcrumbLink, type index$r_BreadcrumbProps as BreadcrumbProps };
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
interface PaginationProps extends Omit<React.ComponentPropsWithoutRef<'nav'>, 'onChange'> {
|
|
1015
|
+
current?: number;
|
|
1016
|
+
total?: number;
|
|
1017
|
+
onChange?: (page: number) => void;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
declare const Root$o: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLDivElement>>;
|
|
1021
|
+
|
|
1022
|
+
declare namespace index$q {
|
|
1023
|
+
export { Root$o as Root };
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
interface StepperProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
1027
|
+
value?: number;
|
|
1028
|
+
defaultValue?: number;
|
|
1029
|
+
onChange?: (value: number) => void;
|
|
1030
|
+
min?: number;
|
|
1031
|
+
max?: number;
|
|
1032
|
+
step?: number;
|
|
1033
|
+
}
|
|
1034
|
+
interface StepperButtonProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
declare const Root$n: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HTMLDivElement>>;
|
|
1038
|
+
|
|
1039
|
+
declare namespace index$p {
|
|
1040
|
+
export { Root$n as Root };
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
interface SelectFilterOption {
|
|
1044
|
+
value: string;
|
|
1045
|
+
textValue: string;
|
|
1046
|
+
}
|
|
1047
|
+
interface SelectOption {
|
|
1048
|
+
value: string;
|
|
1049
|
+
label: React.ReactNode;
|
|
1050
|
+
textValue?: string;
|
|
1051
|
+
disabled?: boolean;
|
|
1052
|
+
}
|
|
1053
|
+
interface SelectRootProps {
|
|
1054
|
+
children?: React.ReactNode;
|
|
1055
|
+
value?: string;
|
|
1056
|
+
defaultValue?: string;
|
|
1057
|
+
onValueChange?: (value: string) => void;
|
|
1058
|
+
open?: boolean;
|
|
1059
|
+
defaultOpen?: boolean;
|
|
1060
|
+
onOpenChange?: (open: boolean) => void;
|
|
1061
|
+
dir?: 'ltr' | 'rtl';
|
|
1062
|
+
name?: string;
|
|
1063
|
+
autoComplete?: string;
|
|
1064
|
+
disabled?: boolean;
|
|
1065
|
+
required?: boolean;
|
|
1066
|
+
searchable?: boolean;
|
|
1067
|
+
searchValue?: string;
|
|
1068
|
+
defaultSearchValue?: string;
|
|
1069
|
+
onSearchValueChange?: (value: string) => void;
|
|
1070
|
+
filterOption?: (option: SelectFilterOption, searchValue: string) => boolean;
|
|
1071
|
+
onCreateOption?: (value: string) => void;
|
|
1072
|
+
createOptionLabel?: React.ReactNode | ((value: string) => React.ReactNode);
|
|
1073
|
+
resetSearchOnClose?: boolean;
|
|
1074
|
+
}
|
|
1075
|
+
declare const Root$m: React.FC<SelectRootProps>;
|
|
1076
|
+
interface SelectTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
1077
|
+
asChild?: boolean;
|
|
1078
|
+
}
|
|
1079
|
+
declare const Trigger$6: React.ForwardRefExoticComponent<SelectTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1080
|
+
interface SelectValueProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
1081
|
+
asChild?: boolean;
|
|
1082
|
+
placeholder?: React.ReactNode;
|
|
1083
|
+
}
|
|
1084
|
+
declare const Value$5: React.ForwardRefExoticComponent<SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1085
|
+
declare const Icon$2: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1086
|
+
asChild?: boolean;
|
|
1087
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1088
|
+
interface SelectSearchInputProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
1089
|
+
asChild?: boolean;
|
|
1090
|
+
}
|
|
1091
|
+
declare const SearchInput$1: React.ForwardRefExoticComponent<SelectSearchInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
1092
|
+
interface SelectPortalProps {
|
|
1093
|
+
children?: React.ReactNode;
|
|
1094
|
+
container?: Element | DocumentFragment | null;
|
|
1095
|
+
forceMount?: boolean;
|
|
1096
|
+
}
|
|
1097
|
+
declare const Portal$6: React.FC<SelectPortalProps>;
|
|
1098
|
+
interface SelectContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1099
|
+
asChild?: boolean;
|
|
1100
|
+
forceMount?: boolean;
|
|
1101
|
+
position?: 'item-aligned' | 'popper';
|
|
1102
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
1103
|
+
sideOffset?: number;
|
|
1104
|
+
align?: 'start' | 'center' | 'end';
|
|
1105
|
+
alignOffset?: number;
|
|
1106
|
+
avoidCollisions?: boolean;
|
|
1107
|
+
collisionBoundary?: Element | Element[] | null;
|
|
1108
|
+
collisionPadding?: number;
|
|
1109
|
+
strategy?: 'fixed' | 'absolute';
|
|
1110
|
+
sticky?: 'partial' | 'always';
|
|
1111
|
+
hideWhenDetached?: boolean;
|
|
1112
|
+
updatePositionStrategy?: 'always' | 'optimized';
|
|
1113
|
+
onCloseAutoFocus?: (event: Event) => void;
|
|
1114
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
1115
|
+
onPointerDownOutside?: (event: Event) => void;
|
|
1116
|
+
}
|
|
1117
|
+
declare const Content$6: React.ForwardRefExoticComponent<SelectContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
1118
|
+
declare const Viewport$3: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1119
|
+
asChild?: boolean;
|
|
1120
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1121
|
+
interface SelectItemProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1122
|
+
asChild?: boolean;
|
|
1123
|
+
value: string;
|
|
1124
|
+
disabled?: boolean;
|
|
1125
|
+
textValue?: string;
|
|
1126
|
+
}
|
|
1127
|
+
declare const Item$6: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
1128
|
+
interface SelectCreateItemProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1129
|
+
asChild?: boolean;
|
|
1130
|
+
value?: string;
|
|
1131
|
+
children?: React.ReactNode | ((value: string) => React.ReactNode);
|
|
1132
|
+
}
|
|
1133
|
+
declare const CreateItem$1: React.ForwardRefExoticComponent<SelectCreateItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
1134
|
+
interface SelectItemTextProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
1135
|
+
asChild?: boolean;
|
|
1136
|
+
}
|
|
1137
|
+
declare const ItemText$1: React.ForwardRefExoticComponent<SelectItemTextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1138
|
+
declare const ItemIndicator$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1139
|
+
asChild?: boolean;
|
|
1140
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1141
|
+
interface SelectOptionsProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1142
|
+
asChild?: boolean;
|
|
1143
|
+
options: SelectOption[];
|
|
1144
|
+
itemHeight?: number;
|
|
1145
|
+
overscan?: number;
|
|
1146
|
+
visibleItemCount?: number;
|
|
1147
|
+
emptyMessage?: React.ReactNode;
|
|
1148
|
+
itemClassName?: string;
|
|
1149
|
+
itemTextClassName?: string;
|
|
1150
|
+
itemIndicatorClassName?: string;
|
|
1151
|
+
renderOption?: (option: SelectOption) => React.ReactNode;
|
|
1152
|
+
renderItemIndicator?: (option: SelectOption) => React.ReactNode;
|
|
1153
|
+
}
|
|
1154
|
+
declare const Options$1: React.ForwardRefExoticComponent<SelectOptionsProps & React.RefAttributes<HTMLDivElement>>;
|
|
1155
|
+
declare const Group$5: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1156
|
+
asChild?: boolean;
|
|
1157
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1158
|
+
declare const Label$2: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1159
|
+
asChild?: boolean;
|
|
1160
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1161
|
+
declare const Separator$5: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1162
|
+
asChild?: boolean;
|
|
1163
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1164
|
+
|
|
1165
|
+
type index$o_SelectContentProps = SelectContentProps;
|
|
1166
|
+
type index$o_SelectCreateItemProps = SelectCreateItemProps;
|
|
1167
|
+
type index$o_SelectFilterOption = SelectFilterOption;
|
|
1168
|
+
type index$o_SelectItemProps = SelectItemProps;
|
|
1169
|
+
type index$o_SelectItemTextProps = SelectItemTextProps;
|
|
1170
|
+
type index$o_SelectOption = SelectOption;
|
|
1171
|
+
type index$o_SelectOptionsProps = SelectOptionsProps;
|
|
1172
|
+
type index$o_SelectPortalProps = SelectPortalProps;
|
|
1173
|
+
type index$o_SelectRootProps = SelectRootProps;
|
|
1174
|
+
type index$o_SelectSearchInputProps = SelectSearchInputProps;
|
|
1175
|
+
type index$o_SelectTriggerProps = SelectTriggerProps;
|
|
1176
|
+
type index$o_SelectValueProps = SelectValueProps;
|
|
1177
|
+
declare namespace index$o {
|
|
1178
|
+
export { Content$6 as Content, CreateItem$1 as CreateItem, Group$5 as Group, Icon$2 as Icon, Item$6 as Item, ItemIndicator$1 as ItemIndicator, ItemText$1 as ItemText, Label$2 as Label, Options$1 as Options, Portal$6 as Portal, Root$m as Root, SearchInput$1 as SearchInput, type index$o_SelectContentProps as SelectContentProps, type index$o_SelectCreateItemProps as SelectCreateItemProps, type index$o_SelectFilterOption as SelectFilterOption, type index$o_SelectItemProps as SelectItemProps, type index$o_SelectItemTextProps as SelectItemTextProps, type index$o_SelectOption as SelectOption, type index$o_SelectOptionsProps as SelectOptionsProps, type index$o_SelectPortalProps as SelectPortalProps, type index$o_SelectRootProps as SelectRootProps, type index$o_SelectSearchInputProps as SelectSearchInputProps, type index$o_SelectTriggerProps as SelectTriggerProps, type index$o_SelectValueProps as SelectValueProps, Separator$5 as Separator, Trigger$6 as Trigger, Value$5 as Value, Viewport$3 as Viewport };
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
interface MultiSelectFilterOption {
|
|
1182
|
+
value: string;
|
|
1183
|
+
textValue: string;
|
|
1184
|
+
}
|
|
1185
|
+
interface MultiSelectOption {
|
|
1186
|
+
value: string;
|
|
1187
|
+
label: React.ReactNode;
|
|
1188
|
+
textValue?: string;
|
|
1189
|
+
disabled?: boolean;
|
|
1190
|
+
}
|
|
1191
|
+
interface MultiSelectSelectedOption extends MultiSelectOption {
|
|
1192
|
+
textValue: string;
|
|
1193
|
+
}
|
|
1194
|
+
interface MultiSelectRootProps {
|
|
1195
|
+
children?: React.ReactNode;
|
|
1196
|
+
value?: string[];
|
|
1197
|
+
defaultValue?: string[];
|
|
1198
|
+
onValueChange?: (value: string[]) => void;
|
|
1199
|
+
open?: boolean;
|
|
1200
|
+
defaultOpen?: boolean;
|
|
1201
|
+
onOpenChange?: (open: boolean) => void;
|
|
1202
|
+
dir?: 'ltr' | 'rtl';
|
|
1203
|
+
name?: string;
|
|
1204
|
+
autoComplete?: string;
|
|
1205
|
+
disabled?: boolean;
|
|
1206
|
+
required?: boolean;
|
|
1207
|
+
searchable?: boolean;
|
|
1208
|
+
searchValue?: string;
|
|
1209
|
+
defaultSearchValue?: string;
|
|
1210
|
+
onSearchValueChange?: (value: string) => void;
|
|
1211
|
+
filterOption?: (option: MultiSelectFilterOption, searchValue: string) => boolean;
|
|
1212
|
+
onCreateOption?: (value: string) => void;
|
|
1213
|
+
createOptionLabel?: React.ReactNode | ((value: string) => React.ReactNode);
|
|
1214
|
+
resetSearchOnClose?: boolean;
|
|
1215
|
+
}
|
|
1216
|
+
declare const Root$l: React.FC<MultiSelectRootProps>;
|
|
1217
|
+
interface MultiSelectTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
1218
|
+
asChild?: boolean;
|
|
1219
|
+
}
|
|
1220
|
+
declare const Trigger$5: React.ForwardRefExoticComponent<MultiSelectTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1221
|
+
interface MultiSelectValueProps extends Omit<React.ComponentPropsWithoutRef<'span'>, 'children'> {
|
|
1222
|
+
asChild?: boolean;
|
|
1223
|
+
placeholder?: React.ReactNode;
|
|
1224
|
+
options?: MultiSelectOption[];
|
|
1225
|
+
separator?: React.ReactNode;
|
|
1226
|
+
children?: React.ReactNode | ((selected: MultiSelectSelectedOption[]) => React.ReactNode);
|
|
1227
|
+
}
|
|
1228
|
+
declare const Value$4: React.ForwardRefExoticComponent<MultiSelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1229
|
+
declare const Icon$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1230
|
+
asChild?: boolean;
|
|
1231
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1232
|
+
interface MultiSelectSearchInputProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
1233
|
+
asChild?: boolean;
|
|
1234
|
+
}
|
|
1235
|
+
declare const SearchInput: React.ForwardRefExoticComponent<MultiSelectSearchInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
1236
|
+
interface MultiSelectPortalProps {
|
|
1237
|
+
children?: React.ReactNode;
|
|
1238
|
+
container?: Element | DocumentFragment | null;
|
|
1239
|
+
forceMount?: boolean;
|
|
1240
|
+
}
|
|
1241
|
+
declare const Portal$5: React.FC<MultiSelectPortalProps>;
|
|
1242
|
+
interface MultiSelectContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1243
|
+
asChild?: boolean;
|
|
1244
|
+
forceMount?: boolean;
|
|
1245
|
+
position?: 'item-aligned' | 'popper';
|
|
1246
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
1247
|
+
sideOffset?: number;
|
|
1248
|
+
align?: 'start' | 'center' | 'end';
|
|
1249
|
+
alignOffset?: number;
|
|
1250
|
+
avoidCollisions?: boolean;
|
|
1251
|
+
collisionPadding?: number;
|
|
1252
|
+
onCloseAutoFocus?: (event: Event) => void;
|
|
1253
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
1254
|
+
onPointerDownOutside?: (event: Event) => void;
|
|
1255
|
+
}
|
|
1256
|
+
declare const Content$5: React.ForwardRefExoticComponent<MultiSelectContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
1257
|
+
declare const Viewport$2: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1258
|
+
asChild?: boolean;
|
|
1259
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1260
|
+
interface MultiSelectItemProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1261
|
+
asChild?: boolean;
|
|
1262
|
+
value: string;
|
|
1263
|
+
disabled?: boolean;
|
|
1264
|
+
textValue?: string;
|
|
1265
|
+
}
|
|
1266
|
+
declare const Item$5: React.ForwardRefExoticComponent<MultiSelectItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
1267
|
+
interface MultiSelectCreateItemProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1268
|
+
asChild?: boolean;
|
|
1269
|
+
value?: string;
|
|
1270
|
+
children?: React.ReactNode | ((value: string) => React.ReactNode);
|
|
1271
|
+
}
|
|
1272
|
+
declare const CreateItem: React.ForwardRefExoticComponent<MultiSelectCreateItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
1273
|
+
interface MultiSelectItemTextProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
1274
|
+
asChild?: boolean;
|
|
1275
|
+
}
|
|
1276
|
+
declare const ItemText: React.ForwardRefExoticComponent<MultiSelectItemTextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1277
|
+
declare const ItemIndicator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1278
|
+
asChild?: boolean;
|
|
1279
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1280
|
+
interface MultiSelectOptionsProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1281
|
+
asChild?: boolean;
|
|
1282
|
+
options: MultiSelectOption[];
|
|
1283
|
+
itemHeight?: number;
|
|
1284
|
+
overscan?: number;
|
|
1285
|
+
visibleItemCount?: number;
|
|
1286
|
+
emptyMessage?: React.ReactNode;
|
|
1287
|
+
itemClassName?: string;
|
|
1288
|
+
itemTextClassName?: string;
|
|
1289
|
+
itemIndicatorClassName?: string;
|
|
1290
|
+
renderOption?: (option: MultiSelectOption) => React.ReactNode;
|
|
1291
|
+
renderItemIndicator?: (option: MultiSelectOption) => React.ReactNode;
|
|
1292
|
+
}
|
|
1293
|
+
declare const Options: React.ForwardRefExoticComponent<MultiSelectOptionsProps & React.RefAttributes<HTMLDivElement>>;
|
|
1294
|
+
declare const Group$4: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1295
|
+
asChild?: boolean;
|
|
1296
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1297
|
+
declare const Label$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1298
|
+
asChild?: boolean;
|
|
1299
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1300
|
+
declare const Separator$4: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1301
|
+
asChild?: boolean;
|
|
1302
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1303
|
+
|
|
1304
|
+
declare const index$n_CreateItem: typeof CreateItem;
|
|
1305
|
+
declare const index$n_ItemIndicator: typeof ItemIndicator;
|
|
1306
|
+
declare const index$n_ItemText: typeof ItemText;
|
|
1307
|
+
type index$n_MultiSelectContentProps = MultiSelectContentProps;
|
|
1308
|
+
type index$n_MultiSelectCreateItemProps = MultiSelectCreateItemProps;
|
|
1309
|
+
type index$n_MultiSelectFilterOption = MultiSelectFilterOption;
|
|
1310
|
+
type index$n_MultiSelectItemProps = MultiSelectItemProps;
|
|
1311
|
+
type index$n_MultiSelectItemTextProps = MultiSelectItemTextProps;
|
|
1312
|
+
type index$n_MultiSelectOption = MultiSelectOption;
|
|
1313
|
+
type index$n_MultiSelectOptionsProps = MultiSelectOptionsProps;
|
|
1314
|
+
type index$n_MultiSelectPortalProps = MultiSelectPortalProps;
|
|
1315
|
+
type index$n_MultiSelectRootProps = MultiSelectRootProps;
|
|
1316
|
+
type index$n_MultiSelectSearchInputProps = MultiSelectSearchInputProps;
|
|
1317
|
+
type index$n_MultiSelectSelectedOption = MultiSelectSelectedOption;
|
|
1318
|
+
type index$n_MultiSelectTriggerProps = MultiSelectTriggerProps;
|
|
1319
|
+
type index$n_MultiSelectValueProps = MultiSelectValueProps;
|
|
1320
|
+
declare const index$n_Options: typeof Options;
|
|
1321
|
+
declare const index$n_SearchInput: typeof SearchInput;
|
|
1322
|
+
declare namespace index$n {
|
|
1323
|
+
export { Content$5 as Content, index$n_CreateItem as CreateItem, Group$4 as Group, Icon$1 as Icon, Item$5 as Item, index$n_ItemIndicator as ItemIndicator, index$n_ItemText as ItemText, Label$1 as Label, type index$n_MultiSelectContentProps as MultiSelectContentProps, type index$n_MultiSelectCreateItemProps as MultiSelectCreateItemProps, type index$n_MultiSelectFilterOption as MultiSelectFilterOption, type index$n_MultiSelectItemProps as MultiSelectItemProps, type index$n_MultiSelectItemTextProps as MultiSelectItemTextProps, type index$n_MultiSelectOption as MultiSelectOption, type index$n_MultiSelectOptionsProps as MultiSelectOptionsProps, type index$n_MultiSelectPortalProps as MultiSelectPortalProps, type index$n_MultiSelectRootProps as MultiSelectRootProps, type index$n_MultiSelectSearchInputProps as MultiSelectSearchInputProps, type index$n_MultiSelectSelectedOption as MultiSelectSelectedOption, type index$n_MultiSelectTriggerProps as MultiSelectTriggerProps, type index$n_MultiSelectValueProps as MultiSelectValueProps, index$n_Options as Options, Portal$5 as Portal, Root$l as Root, index$n_SearchInput as SearchInput, Separator$4 as Separator, Trigger$5 as Trigger, Value$4 as Value, Viewport$2 as Viewport };
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
interface ComboboxRootProps {
|
|
1327
|
+
children?: React.ReactNode;
|
|
1328
|
+
value?: string;
|
|
1329
|
+
defaultValue?: string;
|
|
1330
|
+
onValueChange?: (value: string) => void;
|
|
1331
|
+
inputValue?: string;
|
|
1332
|
+
defaultInputValue?: string;
|
|
1333
|
+
onInputValueChange?: (value: string) => void;
|
|
1334
|
+
open?: boolean;
|
|
1335
|
+
defaultOpen?: boolean;
|
|
1336
|
+
onOpenChange?: (open: boolean) => void;
|
|
1337
|
+
dir?: 'ltr' | 'rtl';
|
|
1338
|
+
disabled?: boolean;
|
|
1339
|
+
}
|
|
1340
|
+
declare const Root$k: React.FC<ComboboxRootProps>;
|
|
1341
|
+
interface ComboboxInputProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
1342
|
+
asChild?: boolean;
|
|
1343
|
+
}
|
|
1344
|
+
declare const Input$8: React.ForwardRefExoticComponent<ComboboxInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
1345
|
+
interface ComboboxPortalProps {
|
|
1346
|
+
children?: React.ReactNode;
|
|
1347
|
+
container?: Element | DocumentFragment | null;
|
|
1348
|
+
forceMount?: boolean;
|
|
1349
|
+
}
|
|
1350
|
+
declare const Portal$4: React.FC<ComboboxPortalProps>;
|
|
1351
|
+
interface ComboboxContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1352
|
+
asChild?: boolean;
|
|
1353
|
+
forceMount?: boolean;
|
|
1354
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
1355
|
+
sideOffset?: number;
|
|
1356
|
+
align?: 'start' | 'center' | 'end';
|
|
1357
|
+
avoidCollisions?: boolean;
|
|
1358
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
1359
|
+
}
|
|
1360
|
+
declare const Content$4: React.ForwardRefExoticComponent<ComboboxContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
1361
|
+
interface ComboboxItemProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1362
|
+
asChild?: boolean;
|
|
1363
|
+
value: string;
|
|
1364
|
+
disabled?: boolean;
|
|
1365
|
+
textValue?: string;
|
|
1366
|
+
}
|
|
1367
|
+
declare const Item$4: React.ForwardRefExoticComponent<ComboboxItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
1368
|
+
declare const Empty$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1369
|
+
declare const Group$3: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1370
|
+
asChild?: boolean;
|
|
1371
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1372
|
+
declare const Separator$3: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1373
|
+
asChild?: boolean;
|
|
1374
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1375
|
+
|
|
1376
|
+
type index$m_ComboboxContentProps = ComboboxContentProps;
|
|
1377
|
+
type index$m_ComboboxInputProps = ComboboxInputProps;
|
|
1378
|
+
type index$m_ComboboxItemProps = ComboboxItemProps;
|
|
1379
|
+
type index$m_ComboboxPortalProps = ComboboxPortalProps;
|
|
1380
|
+
type index$m_ComboboxRootProps = ComboboxRootProps;
|
|
1381
|
+
declare namespace index$m {
|
|
1382
|
+
export { type index$m_ComboboxContentProps as ComboboxContentProps, type index$m_ComboboxInputProps as ComboboxInputProps, type index$m_ComboboxItemProps as ComboboxItemProps, type index$m_ComboboxPortalProps as ComboboxPortalProps, type index$m_ComboboxRootProps as ComboboxRootProps, Content$4 as Content, Empty$1 as Empty, Group$3 as Group, Input$8 as Input, Item$4 as Item, Portal$4 as Portal, Root$k as Root, Separator$3 as Separator };
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
type DivProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
1386
|
+
asChild?: boolean;
|
|
1387
|
+
};
|
|
1388
|
+
type ButtonProps = React.ComponentPropsWithoutRef<'button'> & {
|
|
1389
|
+
asChild?: boolean;
|
|
1390
|
+
};
|
|
1391
|
+
declare const Box: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1392
|
+
asChild?: boolean;
|
|
1393
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1394
|
+
declare const Container$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1395
|
+
asChild?: boolean;
|
|
1396
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1397
|
+
declare const Stack: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1398
|
+
asChild?: boolean;
|
|
1399
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1400
|
+
declare const Grid$2: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1401
|
+
asChild?: boolean;
|
|
1402
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1403
|
+
declare const Paper: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1404
|
+
asChild?: boolean;
|
|
1405
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1406
|
+
declare const Typography: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1407
|
+
asChild?: boolean;
|
|
1408
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1409
|
+
declare const Link$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
1410
|
+
asChild?: boolean;
|
|
1411
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
1412
|
+
declare const SvgIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
1413
|
+
title?: string;
|
|
1414
|
+
} & React.RefAttributes<SVGSVGElement>>;
|
|
1415
|
+
interface ChartProps extends Omit<React.ComponentPropsWithoutRef<'svg'>, 'children'> {
|
|
1416
|
+
data: number[];
|
|
1417
|
+
type?: 'bar' | 'line';
|
|
1418
|
+
title?: string;
|
|
1419
|
+
}
|
|
1420
|
+
declare const Chart: React.ForwardRefExoticComponent<ChartProps & React.RefAttributes<SVGSVGElement>>;
|
|
1421
|
+
declare const ChipRoot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1422
|
+
asChild?: boolean;
|
|
1423
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1424
|
+
declare const ChipLabel: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1425
|
+
asChild?: boolean;
|
|
1426
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1427
|
+
declare const ChipDelete: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
1428
|
+
asChild?: boolean;
|
|
1429
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
1430
|
+
declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1431
|
+
asChild?: boolean;
|
|
1432
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1433
|
+
declare const FloatingActionButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
1434
|
+
asChild?: boolean;
|
|
1435
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
1436
|
+
interface RatingProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'defaultValue' | 'onChange'> {
|
|
1437
|
+
value?: number;
|
|
1438
|
+
defaultValue?: number;
|
|
1439
|
+
onValueChange?: (value: number) => void;
|
|
1440
|
+
max?: number;
|
|
1441
|
+
disabled?: boolean;
|
|
1442
|
+
readOnly?: boolean;
|
|
1443
|
+
name?: string;
|
|
1444
|
+
itemClassName?: string;
|
|
1445
|
+
icon?: React.ReactNode;
|
|
1446
|
+
emptyIcon?: React.ReactNode;
|
|
1447
|
+
getLabelText?: (value: number) => string;
|
|
1448
|
+
}
|
|
1449
|
+
declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;
|
|
1450
|
+
declare const Autocomplete: {
|
|
1451
|
+
Root: React.FC<ComboboxRootProps>;
|
|
1452
|
+
Input: React.ForwardRefExoticComponent<ComboboxInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
1453
|
+
Portal: React.FC<ComboboxPortalProps>;
|
|
1454
|
+
Content: React.ForwardRefExoticComponent<ComboboxContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
1455
|
+
Item: React.ForwardRefExoticComponent<ComboboxItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
1456
|
+
Empty: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1457
|
+
Group: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1458
|
+
asChild?: boolean;
|
|
1459
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1460
|
+
};
|
|
1461
|
+
interface TransferListOption {
|
|
1462
|
+
value: string;
|
|
1463
|
+
label: React.ReactNode;
|
|
1464
|
+
disabled?: boolean;
|
|
1465
|
+
}
|
|
1466
|
+
interface TransferListProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'defaultValue' | 'onChange'> {
|
|
1467
|
+
options: TransferListOption[];
|
|
1468
|
+
value?: string[];
|
|
1469
|
+
defaultValue?: string[];
|
|
1470
|
+
onValueChange?: (value: string[]) => void;
|
|
1471
|
+
sourceTitle?: React.ReactNode;
|
|
1472
|
+
targetTitle?: React.ReactNode;
|
|
1473
|
+
}
|
|
1474
|
+
declare const TransferList: React.ForwardRefExoticComponent<TransferListProps & React.RefAttributes<HTMLDivElement>>;
|
|
1475
|
+
declare const List$2: {
|
|
1476
|
+
Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
1477
|
+
Item: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
1478
|
+
ItemButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
1479
|
+
asChild?: boolean;
|
|
1480
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
1481
|
+
ItemText: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1482
|
+
asChild?: boolean;
|
|
1483
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1484
|
+
ItemIcon: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1485
|
+
asChild?: boolean;
|
|
1486
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1487
|
+
ItemAvatar: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1488
|
+
asChild?: boolean;
|
|
1489
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1490
|
+
ItemSecondaryAction: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1491
|
+
asChild?: boolean;
|
|
1492
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1493
|
+
Subheader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
1494
|
+
};
|
|
1495
|
+
declare const ImageList: {
|
|
1496
|
+
Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
1497
|
+
Item: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
1498
|
+
Image: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
1499
|
+
Caption: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1500
|
+
asChild?: boolean;
|
|
1501
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1502
|
+
};
|
|
1503
|
+
declare const Table: {
|
|
1504
|
+
Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & React.RefAttributes<HTMLTableElement>>;
|
|
1505
|
+
Header: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
1506
|
+
Body: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
1507
|
+
Footer: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
1508
|
+
Row: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
|
|
1509
|
+
Head: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & React.RefAttributes<HTMLTableHeaderCellElement>>;
|
|
1510
|
+
Cell: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & React.RefAttributes<HTMLTableDataCellElement>>;
|
|
1511
|
+
Caption: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1512
|
+
};
|
|
1513
|
+
interface BackdropProps extends DivProps {
|
|
1514
|
+
open?: boolean;
|
|
1515
|
+
forceMount?: boolean;
|
|
1516
|
+
invisible?: boolean;
|
|
1517
|
+
}
|
|
1518
|
+
declare const Backdrop: React.ForwardRefExoticComponent<BackdropProps & React.RefAttributes<HTMLDivElement>>;
|
|
1519
|
+
interface SnackbarOrigin {
|
|
1520
|
+
vertical: 'top' | 'bottom';
|
|
1521
|
+
horizontal: 'left' | 'center' | 'right';
|
|
1522
|
+
}
|
|
1523
|
+
type SnackbarCloseReason = 'timeout' | 'clickaway' | 'escapeKeyDown';
|
|
1524
|
+
interface SnackbarProps extends Omit<DivProps, 'defaultValue' | 'onChange'> {
|
|
1525
|
+
open?: boolean;
|
|
1526
|
+
defaultOpen?: boolean;
|
|
1527
|
+
onOpenChange?: (open: boolean) => void;
|
|
1528
|
+
autoHideDuration?: number;
|
|
1529
|
+
resumeHideDuration?: number;
|
|
1530
|
+
disableWindowBlurListener?: boolean;
|
|
1531
|
+
anchorOrigin?: SnackbarOrigin;
|
|
1532
|
+
message?: React.ReactNode;
|
|
1533
|
+
action?: React.ReactNode;
|
|
1534
|
+
onClose?: (event: Event | React.SyntheticEvent | null, reason: SnackbarCloseReason) => void;
|
|
1535
|
+
}
|
|
1536
|
+
declare const Snackbar: React.ForwardRefExoticComponent<SnackbarProps & React.RefAttributes<HTMLDivElement>>;
|
|
1537
|
+
type ModalCloseReason = 'escapeKeyDown' | 'backdropClick';
|
|
1538
|
+
interface ModalProps extends Omit<DivProps, 'defaultValue' | 'onChange'> {
|
|
1539
|
+
open?: boolean;
|
|
1540
|
+
defaultOpen?: boolean;
|
|
1541
|
+
onOpenChange?: (open: boolean) => void;
|
|
1542
|
+
onClose?: (event: KeyboardEvent | React.PointerEvent<HTMLDivElement>, reason: ModalCloseReason) => void;
|
|
1543
|
+
container?: Element | DocumentFragment | null;
|
|
1544
|
+
closeOnEscape?: boolean;
|
|
1545
|
+
closeOnPointerDownOutside?: boolean;
|
|
1546
|
+
}
|
|
1547
|
+
declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
1548
|
+
declare const AppBar: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1549
|
+
interface BottomNavigationRootProps extends Omit<React.ComponentPropsWithoutRef<'nav'>, 'defaultValue' | 'onChange'> {
|
|
1550
|
+
value?: string;
|
|
1551
|
+
defaultValue?: string;
|
|
1552
|
+
onValueChange?: (value: string) => void;
|
|
1553
|
+
showLabels?: boolean;
|
|
1554
|
+
}
|
|
1555
|
+
interface BottomNavigationItemProps extends ButtonProps {
|
|
1556
|
+
value: string;
|
|
1557
|
+
icon?: React.ReactNode;
|
|
1558
|
+
label?: React.ReactNode;
|
|
1559
|
+
showLabel?: boolean;
|
|
1560
|
+
}
|
|
1561
|
+
declare const BottomNavigation: {
|
|
1562
|
+
Root: React.ForwardRefExoticComponent<BottomNavigationRootProps & React.RefAttributes<HTMLElement>>;
|
|
1563
|
+
Item: React.ForwardRefExoticComponent<BottomNavigationItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1564
|
+
};
|
|
1565
|
+
interface SpeedDialRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'defaultValue' | 'onChange'> {
|
|
1566
|
+
open?: boolean;
|
|
1567
|
+
defaultOpen?: boolean;
|
|
1568
|
+
onOpenChange?: (open: boolean) => void;
|
|
1569
|
+
direction?: 'up' | 'down' | 'left' | 'right';
|
|
1570
|
+
hidden?: boolean;
|
|
1571
|
+
}
|
|
1572
|
+
interface SpeedDialTriggerProps extends ButtonProps {
|
|
1573
|
+
icon?: React.ReactNode;
|
|
1574
|
+
openIcon?: React.ReactNode;
|
|
1575
|
+
}
|
|
1576
|
+
declare const SpeedDial: {
|
|
1577
|
+
Root: React.ForwardRefExoticComponent<SpeedDialRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
1578
|
+
Trigger: React.ForwardRefExoticComponent<SpeedDialTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1579
|
+
Content: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1580
|
+
asChild?: boolean;
|
|
1581
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1582
|
+
Action: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
1583
|
+
asChild?: boolean;
|
|
1584
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
1585
|
+
};
|
|
1586
|
+
declare const Masonry: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1587
|
+
asChild?: boolean;
|
|
1588
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1589
|
+
declare const Timeline: {
|
|
1590
|
+
Root: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
1591
|
+
Item: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
1592
|
+
Separator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1593
|
+
asChild?: boolean;
|
|
1594
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1595
|
+
Dot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1596
|
+
asChild?: boolean;
|
|
1597
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
1598
|
+
Content: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1599
|
+
asChild?: boolean;
|
|
1600
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1601
|
+
};
|
|
1602
|
+
interface ClickAwayListenerProps {
|
|
1603
|
+
children?: React.ReactNode;
|
|
1604
|
+
onClickAway?: (event: MouseEvent | TouchEvent) => void;
|
|
1605
|
+
}
|
|
1606
|
+
declare const ClickAwayListener: React.ForwardRefExoticComponent<ClickAwayListenerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1607
|
+
declare const NoSsr: React.FC<{
|
|
1608
|
+
children?: React.ReactNode;
|
|
1609
|
+
fallback?: React.ReactNode;
|
|
1610
|
+
defer?: boolean;
|
|
1611
|
+
}>;
|
|
1612
|
+
declare const Portal$3: React.ForwardRefExoticComponent<_structyl_core.PortalProps & React.RefAttributes<HTMLDivElement>>;
|
|
1613
|
+
interface PopperProps {
|
|
1614
|
+
open: boolean;
|
|
1615
|
+
anchorEl?: Element | null | (() => Element | null);
|
|
1616
|
+
placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
1617
|
+
children?: React.ReactNode;
|
|
1618
|
+
className?: string;
|
|
1619
|
+
style?: React.CSSProperties;
|
|
1620
|
+
keepMounted?: boolean;
|
|
1621
|
+
disablePortal?: boolean;
|
|
1622
|
+
container?: Element | DocumentFragment | null;
|
|
1623
|
+
}
|
|
1624
|
+
declare const Popper: React.ForwardRefExoticComponent<PopperProps & React.RefAttributes<HTMLDivElement>>;
|
|
1625
|
+
interface TextareaAutosizeProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
1626
|
+
minRows?: number;
|
|
1627
|
+
maxRows?: number;
|
|
1628
|
+
}
|
|
1629
|
+
declare const TextareaAutosize: React.ForwardRefExoticComponent<TextareaAutosizeProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
1630
|
+
type TransitionStatus = 'entering' | 'entered' | 'exiting' | 'exited';
|
|
1631
|
+
interface TransitionProps extends Omit<DivProps, 'children'> {
|
|
1632
|
+
in?: boolean;
|
|
1633
|
+
appear?: boolean;
|
|
1634
|
+
mountOnEnter?: boolean;
|
|
1635
|
+
unmountOnExit?: boolean;
|
|
1636
|
+
timeout?: number | {
|
|
1637
|
+
appear?: number;
|
|
1638
|
+
enter?: number;
|
|
1639
|
+
exit?: number;
|
|
1640
|
+
};
|
|
1641
|
+
onEnter?: () => void;
|
|
1642
|
+
onEntering?: () => void;
|
|
1643
|
+
onEntered?: () => void;
|
|
1644
|
+
onExit?: () => void;
|
|
1645
|
+
onExiting?: () => void;
|
|
1646
|
+
onExited?: () => void;
|
|
1647
|
+
children?: React.ReactNode | ((status: TransitionStatus) => React.ReactNode);
|
|
1648
|
+
}
|
|
1649
|
+
declare const Transition: React.ForwardRefExoticComponent<TransitionProps & React.RefAttributes<HTMLDivElement>>;
|
|
1650
|
+
declare const CssBaseline: React.FC<{
|
|
1651
|
+
children?: React.ReactNode;
|
|
1652
|
+
enableColorScheme?: boolean;
|
|
1653
|
+
}>;
|
|
1654
|
+
interface InitColorSchemeScriptProps {
|
|
1655
|
+
storageKey?: string;
|
|
1656
|
+
defaultMode?: 'light' | 'dark' | 'system';
|
|
1657
|
+
attribute?: string;
|
|
1658
|
+
}
|
|
1659
|
+
declare const InitColorSchemeScript: React.FC<InitColorSchemeScriptProps>;
|
|
1660
|
+
|
|
1661
|
+
declare const index$l_AppBar: typeof AppBar;
|
|
1662
|
+
declare const index$l_Autocomplete: typeof Autocomplete;
|
|
1663
|
+
declare const index$l_Backdrop: typeof Backdrop;
|
|
1664
|
+
type index$l_BackdropProps = BackdropProps;
|
|
1665
|
+
declare const index$l_BottomNavigation: typeof BottomNavigation;
|
|
1666
|
+
type index$l_BottomNavigationItemProps = BottomNavigationItemProps;
|
|
1667
|
+
type index$l_BottomNavigationRootProps = BottomNavigationRootProps;
|
|
1668
|
+
declare const index$l_Box: typeof Box;
|
|
1669
|
+
declare const index$l_ButtonGroup: typeof ButtonGroup;
|
|
1670
|
+
declare const index$l_Chart: typeof Chart;
|
|
1671
|
+
type index$l_ChartProps = ChartProps;
|
|
1672
|
+
declare const index$l_ChipDelete: typeof ChipDelete;
|
|
1673
|
+
declare const index$l_ChipLabel: typeof ChipLabel;
|
|
1674
|
+
declare const index$l_ChipRoot: typeof ChipRoot;
|
|
1675
|
+
declare const index$l_ClickAwayListener: typeof ClickAwayListener;
|
|
1676
|
+
type index$l_ClickAwayListenerProps = ClickAwayListenerProps;
|
|
1677
|
+
declare const index$l_CssBaseline: typeof CssBaseline;
|
|
1678
|
+
declare const index$l_FloatingActionButton: typeof FloatingActionButton;
|
|
1679
|
+
declare const index$l_ImageList: typeof ImageList;
|
|
1680
|
+
declare const index$l_InitColorSchemeScript: typeof InitColorSchemeScript;
|
|
1681
|
+
type index$l_InitColorSchemeScriptProps = InitColorSchemeScriptProps;
|
|
1682
|
+
declare const index$l_Masonry: typeof Masonry;
|
|
1683
|
+
declare const index$l_Modal: typeof Modal;
|
|
1684
|
+
type index$l_ModalCloseReason = ModalCloseReason;
|
|
1685
|
+
type index$l_ModalProps = ModalProps;
|
|
1686
|
+
declare const index$l_NoSsr: typeof NoSsr;
|
|
1687
|
+
declare const index$l_Paper: typeof Paper;
|
|
1688
|
+
declare const index$l_Popper: typeof Popper;
|
|
1689
|
+
type index$l_PopperProps = PopperProps;
|
|
1690
|
+
declare const index$l_Rating: typeof Rating;
|
|
1691
|
+
type index$l_RatingProps = RatingProps;
|
|
1692
|
+
declare const index$l_Snackbar: typeof Snackbar;
|
|
1693
|
+
type index$l_SnackbarCloseReason = SnackbarCloseReason;
|
|
1694
|
+
type index$l_SnackbarOrigin = SnackbarOrigin;
|
|
1695
|
+
type index$l_SnackbarProps = SnackbarProps;
|
|
1696
|
+
declare const index$l_SpeedDial: typeof SpeedDial;
|
|
1697
|
+
type index$l_SpeedDialRootProps = SpeedDialRootProps;
|
|
1698
|
+
type index$l_SpeedDialTriggerProps = SpeedDialTriggerProps;
|
|
1699
|
+
declare const index$l_Stack: typeof Stack;
|
|
1700
|
+
declare const index$l_SvgIcon: typeof SvgIcon;
|
|
1701
|
+
declare const index$l_Table: typeof Table;
|
|
1702
|
+
declare const index$l_TextareaAutosize: typeof TextareaAutosize;
|
|
1703
|
+
type index$l_TextareaAutosizeProps = TextareaAutosizeProps;
|
|
1704
|
+
declare const index$l_Timeline: typeof Timeline;
|
|
1705
|
+
declare const index$l_TransferList: typeof TransferList;
|
|
1706
|
+
type index$l_TransferListOption = TransferListOption;
|
|
1707
|
+
type index$l_TransferListProps = TransferListProps;
|
|
1708
|
+
declare const index$l_Transition: typeof Transition;
|
|
1709
|
+
type index$l_TransitionProps = TransitionProps;
|
|
1710
|
+
declare const index$l_Typography: typeof Typography;
|
|
1711
|
+
declare namespace index$l {
|
|
1712
|
+
export { index$l_AppBar as AppBar, index$l_Autocomplete as Autocomplete, index$l_Backdrop as Backdrop, type index$l_BackdropProps as BackdropProps, index$l_BottomNavigation as BottomNavigation, type index$l_BottomNavigationItemProps as BottomNavigationItemProps, type index$l_BottomNavigationRootProps as BottomNavigationRootProps, index$l_Box as Box, index$l_ButtonGroup as ButtonGroup, index$l_Chart as Chart, type index$l_ChartProps as ChartProps, index$l_ChipDelete as ChipDelete, index$l_ChipLabel as ChipLabel, index$l_ChipRoot as ChipRoot, index$l_ClickAwayListener as ClickAwayListener, type index$l_ClickAwayListenerProps as ClickAwayListenerProps, Container$1 as Container, index$l_CssBaseline as CssBaseline, index$l_FloatingActionButton as FloatingActionButton, Grid$2 as Grid, index$l_ImageList as ImageList, index$l_InitColorSchemeScript as InitColorSchemeScript, type index$l_InitColorSchemeScriptProps as InitColorSchemeScriptProps, Link$1 as Link, List$2 as List, index$l_Masonry as Masonry, index$l_Modal as Modal, type index$l_ModalCloseReason as ModalCloseReason, type index$l_ModalProps as ModalProps, index$l_NoSsr as NoSsr, index$l_Paper as Paper, index$l_Popper as Popper, type index$l_PopperProps as PopperProps, Portal$3 as Portal, index$l_Rating as Rating, type index$l_RatingProps as RatingProps, index$l_Snackbar as Snackbar, type index$l_SnackbarCloseReason as SnackbarCloseReason, type index$l_SnackbarOrigin as SnackbarOrigin, type index$l_SnackbarProps as SnackbarProps, index$l_SpeedDial as SpeedDial, type index$l_SpeedDialRootProps as SpeedDialRootProps, type index$l_SpeedDialTriggerProps as SpeedDialTriggerProps, index$l_Stack as Stack, index$l_SvgIcon as SvgIcon, index$l_Table as Table, index$l_TextareaAutosize as TextareaAutosize, type index$l_TextareaAutosizeProps as TextareaAutosizeProps, index$l_Timeline as Timeline, index$l_TransferList as TransferList, type index$l_TransferListOption as TransferListOption, type index$l_TransferListProps as TransferListProps, index$l_Transition as Transition, type index$l_TransitionProps as TransitionProps, index$l_Typography as Typography };
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
type Score = (value: string, search: string, keywords?: string[]) => number;
|
|
1716
|
+
interface CommandRootProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1717
|
+
asChild?: boolean;
|
|
1718
|
+
value?: string;
|
|
1719
|
+
defaultValue?: string;
|
|
1720
|
+
onValueChange?: (value: string) => void;
|
|
1721
|
+
filter?: Score;
|
|
1722
|
+
shouldFilter?: boolean;
|
|
1723
|
+
label?: string;
|
|
1724
|
+
loop?: boolean;
|
|
1725
|
+
}
|
|
1726
|
+
declare const Root$j: React.ForwardRefExoticComponent<CommandRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
1727
|
+
interface CommandInputProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
1728
|
+
asChild?: boolean;
|
|
1729
|
+
}
|
|
1730
|
+
declare const Input$7: React.ForwardRefExoticComponent<CommandInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
1731
|
+
declare const List$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1732
|
+
asChild?: boolean;
|
|
1733
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1734
|
+
interface CommandItemProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onSelect'> {
|
|
1735
|
+
asChild?: boolean;
|
|
1736
|
+
value?: string;
|
|
1737
|
+
keywords?: string[];
|
|
1738
|
+
disabled?: boolean;
|
|
1739
|
+
onSelect?: (value: string) => void;
|
|
1740
|
+
}
|
|
1741
|
+
declare const Item$3: React.ForwardRefExoticComponent<CommandItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
1742
|
+
interface CommandGroupProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1743
|
+
asChild?: boolean;
|
|
1744
|
+
heading?: React.ReactNode;
|
|
1745
|
+
value?: string;
|
|
1746
|
+
}
|
|
1747
|
+
declare const Group$2: React.ForwardRefExoticComponent<CommandGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
1748
|
+
declare const Empty: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1749
|
+
declare const Separator$2: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1750
|
+
asChild?: boolean;
|
|
1751
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1752
|
+
declare const Loading$3: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1753
|
+
progress?: number;
|
|
1754
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1755
|
+
|
|
1756
|
+
type index$k_CommandGroupProps = CommandGroupProps;
|
|
1757
|
+
type index$k_CommandInputProps = CommandInputProps;
|
|
1758
|
+
type index$k_CommandItemProps = CommandItemProps;
|
|
1759
|
+
type index$k_CommandRootProps = CommandRootProps;
|
|
1760
|
+
declare const index$k_Empty: typeof Empty;
|
|
1761
|
+
declare namespace index$k {
|
|
1762
|
+
export { type index$k_CommandGroupProps as CommandGroupProps, type index$k_CommandInputProps as CommandInputProps, type index$k_CommandItemProps as CommandItemProps, type index$k_CommandRootProps as CommandRootProps, index$k_Empty as Empty, Group$2 as Group, Input$7 as Input, Item$3 as Item, List$1 as List, Loading$3 as Loading, Root$j as Root, Separator$2 as Separator };
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1765
|
+
interface OtpRootProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1766
|
+
asChild?: boolean;
|
|
1767
|
+
length?: number;
|
|
1768
|
+
value?: string;
|
|
1769
|
+
defaultValue?: string;
|
|
1770
|
+
onValueChange?: (value: string) => void;
|
|
1771
|
+
type?: 'numeric' | 'alphanumeric';
|
|
1772
|
+
mask?: boolean;
|
|
1773
|
+
autoSubmit?: boolean;
|
|
1774
|
+
disabled?: boolean;
|
|
1775
|
+
onComplete?: (value: string) => void;
|
|
1776
|
+
}
|
|
1777
|
+
declare const Root$i: React.ForwardRefExoticComponent<OtpRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
1778
|
+
interface OtpInputProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
1779
|
+
index: number;
|
|
1780
|
+
}
|
|
1781
|
+
declare const Input$6: React.ForwardRefExoticComponent<OtpInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
1782
|
+
declare const HiddenInput: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
1783
|
+
name?: string;
|
|
1784
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
1785
|
+
|
|
1786
|
+
declare const index$j_HiddenInput: typeof HiddenInput;
|
|
1787
|
+
type index$j_OtpInputProps = OtpInputProps;
|
|
1788
|
+
type index$j_OtpRootProps = OtpRootProps;
|
|
1789
|
+
declare namespace index$j {
|
|
1790
|
+
export { index$j_HiddenInput as HiddenInput, Input$6 as Input, type index$j_OtpInputProps as OtpInputProps, type index$j_OtpRootProps as OtpRootProps, Root$i as Root };
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
interface PasswordToggleFieldRootProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
1794
|
+
asChild?: boolean;
|
|
1795
|
+
visible?: boolean;
|
|
1796
|
+
defaultVisible?: boolean;
|
|
1797
|
+
onVisibleChange?: (visible: boolean) => void;
|
|
1798
|
+
}
|
|
1799
|
+
declare const Root$h: React.ForwardRefExoticComponent<PasswordToggleFieldRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
1800
|
+
declare const Input$5: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1801
|
+
declare const Toggle$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1802
|
+
declare const Icon: React.FC<{
|
|
1803
|
+
visible?: React.ReactNode;
|
|
1804
|
+
hidden?: React.ReactNode;
|
|
1805
|
+
}>;
|
|
1806
|
+
|
|
1807
|
+
declare const index$i_Icon: typeof Icon;
|
|
1808
|
+
type index$i_PasswordToggleFieldRootProps = PasswordToggleFieldRootProps;
|
|
1809
|
+
declare namespace index$i {
|
|
1810
|
+
export { index$i_Icon as Icon, Input$5 as Input, type index$i_PasswordToggleFieldRootProps as PasswordToggleFieldRootProps, Root$h as Root, Toggle$1 as Toggle };
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
interface NumberFieldRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
1814
|
+
asChild?: boolean;
|
|
1815
|
+
value?: number;
|
|
1816
|
+
defaultValue?: number;
|
|
1817
|
+
onValueChange?: (value: number | undefined) => void;
|
|
1818
|
+
min?: number;
|
|
1819
|
+
max?: number;
|
|
1820
|
+
step?: number;
|
|
1821
|
+
disabled?: boolean;
|
|
1822
|
+
readOnly?: boolean;
|
|
1823
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
1824
|
+
locale?: string;
|
|
1825
|
+
}
|
|
1826
|
+
declare const Root$g: React.ForwardRefExoticComponent<NumberFieldRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
1827
|
+
declare const Input$4: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1828
|
+
declare const IncrementTrigger: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1829
|
+
declare const DecrementTrigger: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1830
|
+
|
|
1831
|
+
declare const index$h_DecrementTrigger: typeof DecrementTrigger;
|
|
1832
|
+
declare const index$h_IncrementTrigger: typeof IncrementTrigger;
|
|
1833
|
+
type index$h_NumberFieldRootProps = NumberFieldRootProps;
|
|
1834
|
+
declare namespace index$h {
|
|
1835
|
+
export { index$h_DecrementTrigger as DecrementTrigger, index$h_IncrementTrigger as IncrementTrigger, Input$4 as Input, type index$h_NumberFieldRootProps as NumberFieldRootProps, Root$g as Root };
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
type CalendarMode = 'single' | 'range' | 'multiple';
|
|
1839
|
+
interface CalendarDateRange {
|
|
1840
|
+
from?: Date;
|
|
1841
|
+
to?: Date;
|
|
1842
|
+
}
|
|
1843
|
+
type CalendarSelectedValue = Date | Date[] | CalendarDateRange | undefined;
|
|
1844
|
+
interface CalendarRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onSelect'> {
|
|
1845
|
+
asChild?: boolean;
|
|
1846
|
+
mode?: CalendarMode;
|
|
1847
|
+
selected?: CalendarSelectedValue;
|
|
1848
|
+
defaultSelected?: CalendarSelectedValue;
|
|
1849
|
+
onSelect?: (value: CalendarSelectedValue) => void;
|
|
1850
|
+
month?: Date;
|
|
1851
|
+
defaultMonth?: Date;
|
|
1852
|
+
onMonthChange?: (month: Date) => void;
|
|
1853
|
+
minDate?: Date;
|
|
1854
|
+
maxDate?: Date;
|
|
1855
|
+
disablePast?: boolean;
|
|
1856
|
+
disableFuture?: boolean;
|
|
1857
|
+
disabled?: boolean;
|
|
1858
|
+
disabledDays?: (date: Date) => boolean;
|
|
1859
|
+
shouldDisableDate?: (date: Date) => boolean;
|
|
1860
|
+
shouldDisableMonth?: (date: Date) => boolean;
|
|
1861
|
+
shouldDisableYear?: (date: Date) => boolean;
|
|
1862
|
+
weekStartsOn?: number;
|
|
1863
|
+
locale?: string;
|
|
1864
|
+
disableHighlightToday?: boolean;
|
|
1865
|
+
displayWeekNumber?: boolean;
|
|
1866
|
+
fixedWeekNumber?: number;
|
|
1867
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
1868
|
+
dayOfWeekFormatter?: (date: Date) => string;
|
|
1869
|
+
onYearChange?: (year: Date) => void;
|
|
1870
|
+
}
|
|
1871
|
+
declare const Root$f: React.ForwardRefExoticComponent<CalendarRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
1872
|
+
declare const Header$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1873
|
+
declare const PreviousButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1874
|
+
declare const NextButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1875
|
+
declare const Heading: React.FC<{
|
|
1876
|
+
format?: Intl.DateTimeFormatOptions;
|
|
1877
|
+
locale?: string;
|
|
1878
|
+
}>;
|
|
1879
|
+
declare const Grid$1: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
1880
|
+
declare const GridHead: React.FC<{
|
|
1881
|
+
locale?: string;
|
|
1882
|
+
format?: 'narrow' | 'short' | 'long';
|
|
1883
|
+
}>;
|
|
1884
|
+
interface GridBodyProps {
|
|
1885
|
+
children: (date: Date, props: {
|
|
1886
|
+
isOutsideMonth: boolean;
|
|
1887
|
+
}) => React.ReactNode;
|
|
1888
|
+
}
|
|
1889
|
+
declare const GridBody: React.FC<GridBodyProps>;
|
|
1890
|
+
interface CalendarDayProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
1891
|
+
date: Date;
|
|
1892
|
+
isOutsideMonth?: boolean;
|
|
1893
|
+
}
|
|
1894
|
+
declare const Day: React.ForwardRefExoticComponent<CalendarDayProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1895
|
+
|
|
1896
|
+
type index$g_CalendarDateRange = CalendarDateRange;
|
|
1897
|
+
type index$g_CalendarRootProps = CalendarRootProps;
|
|
1898
|
+
declare const index$g_Day: typeof Day;
|
|
1899
|
+
declare const index$g_GridBody: typeof GridBody;
|
|
1900
|
+
declare const index$g_GridHead: typeof GridHead;
|
|
1901
|
+
declare const index$g_Heading: typeof Heading;
|
|
1902
|
+
declare const index$g_NextButton: typeof NextButton;
|
|
1903
|
+
declare const index$g_PreviousButton: typeof PreviousButton;
|
|
1904
|
+
declare namespace index$g {
|
|
1905
|
+
export { type index$g_CalendarDateRange as CalendarDateRange, type index$g_CalendarRootProps as CalendarRootProps, index$g_Day as Day, Grid$1 as Grid, index$g_GridBody as GridBody, index$g_GridHead as GridHead, Header$1 as Header, index$g_Heading as Heading, index$g_NextButton as NextButton, index$g_PreviousButton as PreviousButton, Root$f as Root };
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
type PickerChangeSource = 'field' | 'view' | 'shortcut' | 'unknown';
|
|
1909
|
+
interface PickerShortcutMetadata {
|
|
1910
|
+
label?: React.ReactNode;
|
|
1911
|
+
value?: unknown;
|
|
1912
|
+
}
|
|
1913
|
+
interface PickerChangeContext<TError> {
|
|
1914
|
+
validationError: TError | null;
|
|
1915
|
+
source: PickerChangeSource;
|
|
1916
|
+
shortcut?: PickerShortcutMetadata;
|
|
1917
|
+
}
|
|
1918
|
+
type PickerFieldSection = 'day' | 'empty' | 'hours' | 'meridiem' | 'minutes' | 'month' | 'seconds' | 'weekDay' | 'year';
|
|
1919
|
+
type PickerSelectedSections = 'all' | PickerFieldSection | number | null;
|
|
1920
|
+
type PickerOrientation = 'landscape' | 'portrait';
|
|
1921
|
+
type PickerFormatDensity = 'dense' | 'spacious';
|
|
1922
|
+
type DatePickerView = 'day' | 'month' | 'year';
|
|
1923
|
+
type TimePickerView = 'hours' | 'minutes' | 'seconds' | 'meridiem';
|
|
1924
|
+
type DateTimePickerView = DatePickerView | TimePickerView;
|
|
1925
|
+
type DateRangePosition = 'start' | 'end';
|
|
1926
|
+
type PickerSxValue = boolean | Record<string, unknown> | ((theme: unknown) => Record<string, unknown> | null | undefined);
|
|
1927
|
+
type PickerSx = PickerSxValue | PickerSxValue[];
|
|
1928
|
+
type PickerSlots = Record<string, React.ElementType | null | undefined>;
|
|
1929
|
+
type PickerSlotProps = Record<string, unknown>;
|
|
1930
|
+
type PickerLocaleText = Record<string, React.ReactNode>;
|
|
1931
|
+
type DateValidationError = 'invalidDate' | 'disablePast' | 'disableFuture' | 'minDate' | 'maxDate' | 'shouldDisableDate' | 'shouldDisableMonth' | 'shouldDisableYear';
|
|
1932
|
+
type TimeValidationError = 'invalidDate' | 'disablePast' | 'disableFuture' | 'minTime' | 'maxTime' | 'minutesStep' | 'shouldDisableTime';
|
|
1933
|
+
type DateTimeValidationError = DateValidationError | TimeValidationError | 'minDateTime' | 'maxDateTime';
|
|
1934
|
+
type DateRangeValidationError = DateValidationError | 'invalidRange';
|
|
1935
|
+
interface DateValidationOptions {
|
|
1936
|
+
minDate?: Date;
|
|
1937
|
+
maxDate?: Date;
|
|
1938
|
+
disablePast?: boolean;
|
|
1939
|
+
disableFuture?: boolean;
|
|
1940
|
+
shouldDisableDate?: (date: Date) => boolean;
|
|
1941
|
+
shouldDisableMonth?: (date: Date) => boolean;
|
|
1942
|
+
shouldDisableYear?: (date: Date) => boolean;
|
|
1943
|
+
}
|
|
1944
|
+
interface TimeValidationOptions {
|
|
1945
|
+
minTime?: Date;
|
|
1946
|
+
maxTime?: Date;
|
|
1947
|
+
disablePast?: boolean;
|
|
1948
|
+
disableFuture?: boolean;
|
|
1949
|
+
minutesStep?: number;
|
|
1950
|
+
disableIgnoringDatePartForTimeValidation?: boolean;
|
|
1951
|
+
shouldDisableTime?: (value: Date, view: TimePickerView) => boolean;
|
|
1952
|
+
}
|
|
1953
|
+
interface DateTimeValidationOptions extends DateValidationOptions, TimeValidationOptions {
|
|
1954
|
+
minDateTime?: Date;
|
|
1955
|
+
maxDateTime?: Date;
|
|
1956
|
+
}
|
|
1957
|
+
interface TimeSteps {
|
|
1958
|
+
hours?: number;
|
|
1959
|
+
minutes?: number;
|
|
1960
|
+
seconds?: number;
|
|
1961
|
+
}
|
|
1962
|
+
interface TimeValue$2 {
|
|
1963
|
+
hour: number;
|
|
1964
|
+
minute: number;
|
|
1965
|
+
second?: number;
|
|
1966
|
+
period?: 'am' | 'pm';
|
|
1967
|
+
}
|
|
1968
|
+
declare const DEFAULT_MIN_DATE: Date;
|
|
1969
|
+
declare const DEFAULT_MAX_DATE: Date;
|
|
1970
|
+
declare function isValidDate(value: Date | null | undefined): value is Date;
|
|
1971
|
+
declare function startOfDay(date: Date): Date;
|
|
1972
|
+
declare function startOfMonth(date: Date): Date;
|
|
1973
|
+
declare function addDays(date: Date, amount: number): Date;
|
|
1974
|
+
declare function addMonths(date: Date, amount: number): Date;
|
|
1975
|
+
declare function isSameDay(a: Date, b: Date): boolean;
|
|
1976
|
+
declare function isSameMonth(a: Date, b: Date): boolean;
|
|
1977
|
+
declare function isBeforeDay(a: Date, b: Date): boolean;
|
|
1978
|
+
declare function isAfterDay(a: Date, b: Date): boolean;
|
|
1979
|
+
declare function clampDate(date: Date, minDate?: Date, maxDate?: Date): Date;
|
|
1980
|
+
declare function createPickerChangeContext<TError>(validationError: TError | null, source: PickerChangeSource, shortcut?: PickerShortcutMetadata): PickerChangeContext<TError>;
|
|
1981
|
+
declare function validateDateValue(value: Date | null | undefined, options?: DateValidationOptions): DateValidationError | null;
|
|
1982
|
+
declare function validateTimeValue(value: Date | null | undefined, options?: TimeValidationOptions): TimeValidationError | null;
|
|
1983
|
+
declare function validateDateTimeValue(value: Date | null | undefined, options?: DateTimeValidationOptions): DateTimeValidationError | null;
|
|
1984
|
+
declare function timeValueToDate(value: TimeValue$2, referenceDate?: Date): Date;
|
|
1985
|
+
declare function dateToTimeValue(value: Date, hour12?: boolean): TimeValue$2;
|
|
1986
|
+
declare function mergeDateAndTime(datePart: Date, timePart: Date): Date;
|
|
1987
|
+
declare function applyTimePart(value: Date | null | undefined, part: Partial<TimeValue$2>, referenceDate?: Date): Date;
|
|
1988
|
+
declare function pad(value: number): string;
|
|
1989
|
+
|
|
1990
|
+
type DatePickerFormat$1 = Intl.DateTimeFormatOptions | string;
|
|
1991
|
+
type DatePickerViewRenderer$1 = (params: {
|
|
1992
|
+
view: DatePickerView;
|
|
1993
|
+
value: Date | null;
|
|
1994
|
+
onChange: (value: Date | null) => void;
|
|
1995
|
+
}) => React.ReactNode;
|
|
1996
|
+
interface DatePickerRootProps$1 {
|
|
1997
|
+
children?: React.ReactNode;
|
|
1998
|
+
value?: Date | null;
|
|
1999
|
+
defaultValue?: Date | null;
|
|
2000
|
+
onChange?: (date: Date | null, context: PickerChangeContext<DateValidationError>) => void;
|
|
2001
|
+
onValueChange?: (date: Date | undefined) => void;
|
|
2002
|
+
onAccept?: (date: Date | null, context: PickerChangeContext<DateValidationError>) => void;
|
|
2003
|
+
onError?: (error: DateValidationError | null, value: Date | null) => void;
|
|
2004
|
+
open?: boolean;
|
|
2005
|
+
defaultOpen?: boolean;
|
|
2006
|
+
onOpenChange?: (open: boolean) => void;
|
|
2007
|
+
onOpen?: () => void;
|
|
2008
|
+
onClose?: () => void;
|
|
2009
|
+
closeOnSelect?: boolean;
|
|
2010
|
+
disabled?: boolean;
|
|
2011
|
+
readOnly?: boolean;
|
|
2012
|
+
minDate?: Date;
|
|
2013
|
+
maxDate?: Date;
|
|
2014
|
+
disablePast?: boolean;
|
|
2015
|
+
disableFuture?: boolean;
|
|
2016
|
+
disabledDays?: (date: Date) => boolean;
|
|
2017
|
+
shouldDisableDate?: (date: Date) => boolean;
|
|
2018
|
+
shouldDisableMonth?: (date: Date) => boolean;
|
|
2019
|
+
shouldDisableYear?: (date: Date) => boolean;
|
|
2020
|
+
weekStartsOn?: number;
|
|
2021
|
+
locale?: string;
|
|
2022
|
+
autoFocus?: boolean;
|
|
2023
|
+
dayOfWeekFormatter?: (date: Date) => string;
|
|
2024
|
+
desktopModeMediaQuery?: string;
|
|
2025
|
+
disableHighlightToday?: boolean;
|
|
2026
|
+
disableOpenPicker?: boolean;
|
|
2027
|
+
displayWeekNumber?: boolean;
|
|
2028
|
+
fixedWeekNumber?: number;
|
|
2029
|
+
format?: DatePickerFormat$1;
|
|
2030
|
+
formatDensity?: PickerFormatDensity;
|
|
2031
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
2032
|
+
keepOpenDuringFieldFocus?: boolean;
|
|
2033
|
+
label?: React.ReactNode;
|
|
2034
|
+
loading?: boolean;
|
|
2035
|
+
localeText?: PickerLocaleText;
|
|
2036
|
+
monthsPerRow?: 3 | 4;
|
|
2037
|
+
name?: string;
|
|
2038
|
+
onMonthChange?: (month: Date) => void;
|
|
2039
|
+
onSelectedSectionsChange?: (newValue: PickerSelectedSections) => void;
|
|
2040
|
+
onViewChange?: (view: DatePickerView) => void;
|
|
2041
|
+
onYearChange?: (year: Date) => void;
|
|
2042
|
+
openTo?: DatePickerView;
|
|
2043
|
+
orientation?: PickerOrientation;
|
|
2044
|
+
reduceAnimations?: boolean;
|
|
2045
|
+
referenceDate?: Date;
|
|
2046
|
+
renderLoading?: () => React.ReactNode;
|
|
2047
|
+
selectedSections?: PickerSelectedSections;
|
|
2048
|
+
defaultSelectedSections?: PickerSelectedSections;
|
|
2049
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
2050
|
+
slotProps?: PickerSlotProps;
|
|
2051
|
+
slots?: PickerSlots;
|
|
2052
|
+
sx?: PickerSx;
|
|
2053
|
+
timezone?: string;
|
|
2054
|
+
view?: DatePickerView;
|
|
2055
|
+
defaultView?: DatePickerView;
|
|
2056
|
+
viewRenderers?: Partial<Record<DatePickerView, DatePickerViewRenderer$1 | null>>;
|
|
2057
|
+
views?: DatePickerView[];
|
|
2058
|
+
yearsOrder?: 'asc' | 'desc';
|
|
2059
|
+
yearsPerRow?: 3 | 4;
|
|
2060
|
+
}
|
|
2061
|
+
declare const Root$e: React.FC<DatePickerRootProps$1>;
|
|
2062
|
+
declare const Trigger$4: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2063
|
+
declare const Portal$2: React.FC<PopoverPortalProps>;
|
|
2064
|
+
declare const Anchor$2: React.ForwardRefExoticComponent<PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
2065
|
+
declare const Content$3: React.ForwardRefExoticComponent<Omit<PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2066
|
+
declare const Calendar$2: React.ForwardRefExoticComponent<Omit<CalendarRootProps, "onSelect" | "mode" | "selected"> & React.RefAttributes<HTMLDivElement>>;
|
|
2067
|
+
declare const Loading$2: React.FC;
|
|
2068
|
+
declare const Value$3: React.FC<{
|
|
2069
|
+
format?: DatePickerFormat$1;
|
|
2070
|
+
formatDensity?: PickerFormatDensity;
|
|
2071
|
+
locale?: string;
|
|
2072
|
+
placeholder?: React.ReactNode;
|
|
2073
|
+
}>;
|
|
2074
|
+
|
|
2075
|
+
type DatePickerFormat = Intl.DateTimeFormatOptions | string;
|
|
2076
|
+
type DatePickerViewRenderer = (params: {
|
|
2077
|
+
view: DatePickerView;
|
|
2078
|
+
value: Date | null;
|
|
2079
|
+
onChange: (value: Date | null) => void;
|
|
2080
|
+
}) => React.ReactNode;
|
|
2081
|
+
interface DatePickerRootProps {
|
|
2082
|
+
children?: React.ReactNode;
|
|
2083
|
+
value?: Date | null;
|
|
2084
|
+
defaultValue?: Date | null;
|
|
2085
|
+
onChange?: (date: Date | null, context: PickerChangeContext<DateValidationError>) => void;
|
|
2086
|
+
onValueChange?: (date: Date | undefined) => void;
|
|
2087
|
+
onAccept?: (date: Date | null, context: PickerChangeContext<DateValidationError>) => void;
|
|
2088
|
+
onError?: (error: DateValidationError | null, value: Date | null) => void;
|
|
2089
|
+
open?: boolean;
|
|
2090
|
+
defaultOpen?: boolean;
|
|
2091
|
+
onOpenChange?: (open: boolean) => void;
|
|
2092
|
+
onOpen?: () => void;
|
|
2093
|
+
onClose?: () => void;
|
|
2094
|
+
closeOnSelect?: boolean;
|
|
2095
|
+
disabled?: boolean;
|
|
2096
|
+
readOnly?: boolean;
|
|
2097
|
+
minDate?: Date;
|
|
2098
|
+
maxDate?: Date;
|
|
2099
|
+
disablePast?: boolean;
|
|
2100
|
+
disableFuture?: boolean;
|
|
2101
|
+
disabledDays?: (date: Date) => boolean;
|
|
2102
|
+
shouldDisableDate?: (date: Date) => boolean;
|
|
2103
|
+
shouldDisableMonth?: (date: Date) => boolean;
|
|
2104
|
+
shouldDisableYear?: (date: Date) => boolean;
|
|
2105
|
+
weekStartsOn?: number;
|
|
2106
|
+
locale?: string;
|
|
2107
|
+
autoFocus?: boolean;
|
|
2108
|
+
dayOfWeekFormatter?: (date: Date) => string;
|
|
2109
|
+
desktopModeMediaQuery?: string;
|
|
2110
|
+
disableHighlightToday?: boolean;
|
|
2111
|
+
disableOpenPicker?: boolean;
|
|
2112
|
+
displayWeekNumber?: boolean;
|
|
2113
|
+
fixedWeekNumber?: number;
|
|
2114
|
+
format?: DatePickerFormat;
|
|
2115
|
+
formatDensity?: PickerFormatDensity;
|
|
2116
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
2117
|
+
keepOpenDuringFieldFocus?: boolean;
|
|
2118
|
+
label?: React.ReactNode;
|
|
2119
|
+
loading?: boolean;
|
|
2120
|
+
localeText?: PickerLocaleText;
|
|
2121
|
+
monthsPerRow?: 3 | 4;
|
|
2122
|
+
name?: string;
|
|
2123
|
+
onMonthChange?: (month: Date) => void;
|
|
2124
|
+
onSelectedSectionsChange?: (newValue: PickerSelectedSections) => void;
|
|
2125
|
+
onViewChange?: (view: DatePickerView) => void;
|
|
2126
|
+
onYearChange?: (year: Date) => void;
|
|
2127
|
+
openTo?: DatePickerView;
|
|
2128
|
+
orientation?: PickerOrientation;
|
|
2129
|
+
reduceAnimations?: boolean;
|
|
2130
|
+
referenceDate?: Date;
|
|
2131
|
+
renderLoading?: () => React.ReactNode;
|
|
2132
|
+
selectedSections?: PickerSelectedSections;
|
|
2133
|
+
defaultSelectedSections?: PickerSelectedSections;
|
|
2134
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
2135
|
+
slotProps?: PickerSlotProps;
|
|
2136
|
+
slots?: PickerSlots;
|
|
2137
|
+
sx?: PickerSx;
|
|
2138
|
+
timezone?: string;
|
|
2139
|
+
view?: DatePickerView;
|
|
2140
|
+
defaultView?: DatePickerView;
|
|
2141
|
+
viewRenderers?: Partial<Record<DatePickerView, DatePickerViewRenderer | null>>;
|
|
2142
|
+
views?: DatePickerView[];
|
|
2143
|
+
yearsOrder?: 'asc' | 'desc';
|
|
2144
|
+
yearsPerRow?: 3 | 4;
|
|
2145
|
+
}
|
|
2146
|
+
interface DatePickerValueProps {
|
|
2147
|
+
format?: DatePickerFormat;
|
|
2148
|
+
formatDensity?: PickerFormatDensity;
|
|
2149
|
+
locale?: string;
|
|
2150
|
+
placeholder?: React.ReactNode;
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
type index$f_DatePickerValueProps = DatePickerValueProps;
|
|
2154
|
+
declare namespace index$f {
|
|
2155
|
+
export { Anchor$2 as Anchor, Calendar$2 as Calendar, Content$3 as Content, type DatePickerFormat$1 as DatePickerFormat, type DatePickerRootProps$1 as DatePickerRootProps, type index$f_DatePickerValueProps as DatePickerValueProps, type DatePickerViewRenderer$1 as DatePickerViewRenderer, Loading$2 as Loading, Portal$2 as Portal, Root$e as Root, Trigger$4 as Trigger, Value$3 as Value };
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
type TimeValue$1 = TimeValue$2;
|
|
2159
|
+
type TimePickerValue$1 = Date | TimeValue$1 | null | undefined;
|
|
2160
|
+
type TimePickerFormat$1 = Intl.DateTimeFormatOptions | string;
|
|
2161
|
+
type TimePickerViewRenderer$1 = (params: {
|
|
2162
|
+
view: TimePickerView;
|
|
2163
|
+
value: Date | null;
|
|
2164
|
+
onChange: (value: Date | null) => void;
|
|
2165
|
+
}) => React.ReactNode;
|
|
2166
|
+
interface TimePickerRootProps$1 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'defaultValue' | 'onChange' | 'onError'> {
|
|
2167
|
+
asChild?: boolean;
|
|
2168
|
+
value?: TimePickerValue$1;
|
|
2169
|
+
defaultValue?: TimePickerValue$1;
|
|
2170
|
+
onChange?: (value: Date | null, context: PickerChangeContext<TimeValidationError>) => void;
|
|
2171
|
+
onValueChange?: (v: TimeValue$1) => void;
|
|
2172
|
+
onAccept?: (value: Date | null, context: PickerChangeContext<TimeValidationError>) => void;
|
|
2173
|
+
onError?: (error: TimeValidationError | null, value: Date | null) => void;
|
|
2174
|
+
hour12?: boolean;
|
|
2175
|
+
withSeconds?: boolean;
|
|
2176
|
+
disabled?: boolean;
|
|
2177
|
+
readOnly?: boolean;
|
|
2178
|
+
ampm?: boolean;
|
|
2179
|
+
ampmInClock?: boolean;
|
|
2180
|
+
autoFocus?: boolean;
|
|
2181
|
+
closeOnSelect?: boolean;
|
|
2182
|
+
desktopModeMediaQuery?: string;
|
|
2183
|
+
disableFuture?: boolean;
|
|
2184
|
+
disableIgnoringDatePartForTimeValidation?: boolean;
|
|
2185
|
+
disableOpenPicker?: boolean;
|
|
2186
|
+
disablePast?: boolean;
|
|
2187
|
+
format?: TimePickerFormat$1;
|
|
2188
|
+
formatDensity?: PickerFormatDensity;
|
|
2189
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
2190
|
+
keepOpenDuringFieldFocus?: boolean;
|
|
2191
|
+
label?: React.ReactNode;
|
|
2192
|
+
locale?: string;
|
|
2193
|
+
localeText?: PickerLocaleText;
|
|
2194
|
+
maxTime?: Date;
|
|
2195
|
+
minTime?: Date;
|
|
2196
|
+
minutesStep?: number;
|
|
2197
|
+
name?: string;
|
|
2198
|
+
onClose?: () => void;
|
|
2199
|
+
onOpen?: () => void;
|
|
2200
|
+
onSelectedSectionsChange?: (newValue: PickerSelectedSections) => void;
|
|
2201
|
+
onViewChange?: (view: TimePickerView) => void;
|
|
2202
|
+
open?: boolean;
|
|
2203
|
+
defaultOpen?: boolean;
|
|
2204
|
+
onOpenChange?: (open: boolean) => void;
|
|
2205
|
+
openTo?: TimePickerView;
|
|
2206
|
+
orientation?: PickerOrientation;
|
|
2207
|
+
readOnlyInput?: boolean;
|
|
2208
|
+
reduceAnimations?: boolean;
|
|
2209
|
+
referenceDate?: Date;
|
|
2210
|
+
selectedSections?: PickerSelectedSections;
|
|
2211
|
+
defaultSelectedSections?: PickerSelectedSections;
|
|
2212
|
+
shouldDisableTime?: (value: Date, view: TimePickerView) => boolean;
|
|
2213
|
+
skipDisabled?: boolean;
|
|
2214
|
+
slotProps?: PickerSlotProps;
|
|
2215
|
+
slots?: PickerSlots;
|
|
2216
|
+
sx?: PickerSx;
|
|
2217
|
+
thresholdToRenderTimeInASingleColumn?: number;
|
|
2218
|
+
timeSteps?: TimeSteps;
|
|
2219
|
+
timezone?: string;
|
|
2220
|
+
view?: TimePickerView;
|
|
2221
|
+
defaultView?: TimePickerView;
|
|
2222
|
+
viewRenderers?: Partial<Record<TimePickerView, TimePickerViewRenderer$1 | null>>;
|
|
2223
|
+
views?: TimePickerView[];
|
|
2224
|
+
}
|
|
2225
|
+
declare const Root$d: React.ForwardRefExoticComponent<TimePickerRootProps$1 & React.RefAttributes<HTMLDivElement>>;
|
|
2226
|
+
type Segment$1 = 'hour' | 'minute' | 'second' | 'period';
|
|
2227
|
+
interface SegmentProps$3 extends React.ComponentPropsWithoutRef<'span'> {
|
|
2228
|
+
segment: Segment$1;
|
|
2229
|
+
}
|
|
2230
|
+
declare const SegmentField$1: React.ForwardRefExoticComponent<SegmentProps$3 & React.RefAttributes<HTMLSpanElement>>;
|
|
2231
|
+
declare const Value$2: React.FC<{
|
|
2232
|
+
format?: TimePickerFormat$1;
|
|
2233
|
+
locale?: string;
|
|
2234
|
+
placeholder?: React.ReactNode;
|
|
2235
|
+
}>;
|
|
2236
|
+
|
|
2237
|
+
type TimeValue = TimeValue$2;
|
|
2238
|
+
type TimePickerValue = Date | TimeValue | null | undefined;
|
|
2239
|
+
type TimePickerFormat = Intl.DateTimeFormatOptions | string;
|
|
2240
|
+
type TimePickerViewRenderer = (params: {
|
|
2241
|
+
view: TimePickerView;
|
|
2242
|
+
value: Date | null;
|
|
2243
|
+
onChange: (value: Date | null) => void;
|
|
2244
|
+
}) => React.ReactNode;
|
|
2245
|
+
type TimePickerSegment = 'hour' | 'minute' | 'second' | 'period';
|
|
2246
|
+
interface TimePickerRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'defaultValue' | 'onChange' | 'onError'> {
|
|
2247
|
+
asChild?: boolean;
|
|
2248
|
+
value?: TimePickerValue;
|
|
2249
|
+
defaultValue?: TimePickerValue;
|
|
2250
|
+
onChange?: (value: Date | null, context: PickerChangeContext<TimeValidationError>) => void;
|
|
2251
|
+
onValueChange?: (v: TimeValue) => void;
|
|
2252
|
+
onAccept?: (value: Date | null, context: PickerChangeContext<TimeValidationError>) => void;
|
|
2253
|
+
onError?: (error: TimeValidationError | null, value: Date | null) => void;
|
|
2254
|
+
hour12?: boolean;
|
|
2255
|
+
withSeconds?: boolean;
|
|
2256
|
+
disabled?: boolean;
|
|
2257
|
+
readOnly?: boolean;
|
|
2258
|
+
ampm?: boolean;
|
|
2259
|
+
/** Reserved for future analog-clock rendering — not yet implemented. */
|
|
2260
|
+
ampmInClock?: boolean;
|
|
2261
|
+
autoFocus?: boolean;
|
|
2262
|
+
closeOnSelect?: boolean;
|
|
2263
|
+
desktopModeMediaQuery?: string;
|
|
2264
|
+
disableFuture?: boolean;
|
|
2265
|
+
disableIgnoringDatePartForTimeValidation?: boolean;
|
|
2266
|
+
disableOpenPicker?: boolean;
|
|
2267
|
+
disablePast?: boolean;
|
|
2268
|
+
format?: TimePickerFormat;
|
|
2269
|
+
formatDensity?: PickerFormatDensity;
|
|
2270
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
2271
|
+
keepOpenDuringFieldFocus?: boolean;
|
|
2272
|
+
label?: React.ReactNode;
|
|
2273
|
+
locale?: string;
|
|
2274
|
+
localeText?: PickerLocaleText;
|
|
2275
|
+
maxTime?: Date;
|
|
2276
|
+
minTime?: Date;
|
|
2277
|
+
minutesStep?: number;
|
|
2278
|
+
name?: string;
|
|
2279
|
+
onClose?: () => void;
|
|
2280
|
+
onOpen?: () => void;
|
|
2281
|
+
onSelectedSectionsChange?: (newValue: PickerSelectedSections) => void;
|
|
2282
|
+
onViewChange?: (view: TimePickerView) => void;
|
|
2283
|
+
open?: boolean;
|
|
2284
|
+
defaultOpen?: boolean;
|
|
2285
|
+
onOpenChange?: (open: boolean) => void;
|
|
2286
|
+
openTo?: TimePickerView;
|
|
2287
|
+
orientation?: PickerOrientation;
|
|
2288
|
+
readOnlyInput?: boolean;
|
|
2289
|
+
reduceAnimations?: boolean;
|
|
2290
|
+
referenceDate?: Date;
|
|
2291
|
+
selectedSections?: PickerSelectedSections;
|
|
2292
|
+
defaultSelectedSections?: PickerSelectedSections;
|
|
2293
|
+
shouldDisableTime?: (value: Date, view: TimePickerView) => boolean;
|
|
2294
|
+
skipDisabled?: boolean;
|
|
2295
|
+
slotProps?: PickerSlotProps;
|
|
2296
|
+
slots?: PickerSlots;
|
|
2297
|
+
sx?: PickerSx;
|
|
2298
|
+
thresholdToRenderTimeInASingleColumn?: number;
|
|
2299
|
+
timeSteps?: TimeSteps;
|
|
2300
|
+
timezone?: string;
|
|
2301
|
+
view?: TimePickerView;
|
|
2302
|
+
defaultView?: TimePickerView;
|
|
2303
|
+
viewRenderers?: Partial<Record<TimePickerView, TimePickerViewRenderer | null>>;
|
|
2304
|
+
views?: TimePickerView[];
|
|
2305
|
+
}
|
|
2306
|
+
interface SegmentProps$2 extends React.ComponentPropsWithoutRef<'span'> {
|
|
2307
|
+
segment: TimePickerSegment;
|
|
2308
|
+
}
|
|
2309
|
+
interface TimePickerValueProps {
|
|
2310
|
+
format?: TimePickerFormat;
|
|
2311
|
+
locale?: string;
|
|
2312
|
+
placeholder?: React.ReactNode;
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
type index$e_TimePickerSegment = TimePickerSegment;
|
|
2316
|
+
type index$e_TimePickerValueProps = TimePickerValueProps;
|
|
2317
|
+
declare namespace index$e {
|
|
2318
|
+
export { Root$d as Root, SegmentField$1 as Segment, type SegmentProps$3 as SegmentProps, type TimePickerFormat$1 as TimePickerFormat, type TimePickerRootProps$1 as TimePickerRootProps, type index$e_TimePickerSegment as TimePickerSegment, type TimePickerValue$1 as TimePickerValue, type index$e_TimePickerValueProps as TimePickerValueProps, type TimePickerViewRenderer$1 as TimePickerViewRenderer, type TimeValue$1 as TimeValue, Value$2 as Value };
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
interface DateRange$1 {
|
|
2322
|
+
from?: Date;
|
|
2323
|
+
to?: Date;
|
|
2324
|
+
}
|
|
2325
|
+
type DateRangeTuple$1 = [Date | null, Date | null];
|
|
2326
|
+
type DateRangeValue$1 = DateRange$1 | DateRangeTuple$1 | null | undefined;
|
|
2327
|
+
type DateRangePickerFormat$1 = Intl.DateTimeFormatOptions | string;
|
|
2328
|
+
interface DateRangePickerShortcut$1 {
|
|
2329
|
+
label: React.ReactNode;
|
|
2330
|
+
getValue: (today: Date) => DateRangeValue$1;
|
|
2331
|
+
disabled?: boolean;
|
|
2332
|
+
closeOnSelect?: boolean;
|
|
2333
|
+
}
|
|
2334
|
+
type DateRangePickerViewRenderer$1 = (params: {
|
|
2335
|
+
value: DateRangeTuple$1;
|
|
2336
|
+
onChange: (value: DateRangeTuple$1) => void;
|
|
2337
|
+
rangePosition: DateRangePosition;
|
|
2338
|
+
}) => React.ReactNode;
|
|
2339
|
+
interface DateRangePickerRootProps$1 {
|
|
2340
|
+
children?: React.ReactNode;
|
|
2341
|
+
value?: DateRangeValue$1;
|
|
2342
|
+
defaultValue?: DateRangeValue$1;
|
|
2343
|
+
onChange?: (range: DateRangeTuple$1, context: PickerChangeContext<DateRangeValidationError>) => void;
|
|
2344
|
+
onValueChange?: (range: DateRange$1) => void;
|
|
2345
|
+
onAccept?: (range: DateRangeTuple$1, context: PickerChangeContext<DateRangeValidationError>) => void;
|
|
2346
|
+
onError?: (error: DateRangeValidationError | null, value: DateRangeTuple$1) => void;
|
|
2347
|
+
open?: boolean;
|
|
2348
|
+
defaultOpen?: boolean;
|
|
2349
|
+
onOpenChange?: (open: boolean) => void;
|
|
2350
|
+
onOpen?: () => void;
|
|
2351
|
+
onClose?: () => void;
|
|
2352
|
+
closeOnSelect?: boolean;
|
|
2353
|
+
disabled?: boolean;
|
|
2354
|
+
readOnly?: boolean;
|
|
2355
|
+
minDate?: Date;
|
|
2356
|
+
maxDate?: Date;
|
|
2357
|
+
disablePast?: boolean;
|
|
2358
|
+
disableFuture?: boolean;
|
|
2359
|
+
disabledDays?: (date: Date) => boolean;
|
|
2360
|
+
shouldDisableDate?: (date: Date, position: DateRangePosition) => boolean;
|
|
2361
|
+
weekStartsOn?: number;
|
|
2362
|
+
locale?: string;
|
|
2363
|
+
autoFocus?: boolean;
|
|
2364
|
+
calendars?: 1 | 2 | 3;
|
|
2365
|
+
currentMonthCalendarPosition?: 1 | 2 | 3;
|
|
2366
|
+
dayOfWeekFormatter?: (date: Date) => string;
|
|
2367
|
+
defaultRangePosition?: DateRangePosition;
|
|
2368
|
+
desktopModeMediaQuery?: string;
|
|
2369
|
+
disableAutoMonthSwitching?: boolean;
|
|
2370
|
+
disableDragEditing?: boolean;
|
|
2371
|
+
disableHighlightToday?: boolean;
|
|
2372
|
+
disableOpenPicker?: boolean;
|
|
2373
|
+
displayWeekNumber?: boolean;
|
|
2374
|
+
fixedWeekNumber?: number;
|
|
2375
|
+
format?: DateRangePickerFormat$1;
|
|
2376
|
+
formatDensity?: PickerFormatDensity;
|
|
2377
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
2378
|
+
keepOpenDuringFieldFocus?: boolean;
|
|
2379
|
+
label?: React.ReactNode;
|
|
2380
|
+
loading?: boolean;
|
|
2381
|
+
localeText?: PickerLocaleText;
|
|
2382
|
+
name?: string;
|
|
2383
|
+
onMonthChange?: (month: Date) => void;
|
|
2384
|
+
onRangePositionChange?: (rangePosition: DateRangePosition) => void;
|
|
2385
|
+
onSelectedSectionsChange?: (newValue: PickerSelectedSections) => void;
|
|
2386
|
+
rangePosition?: DateRangePosition;
|
|
2387
|
+
referenceDate?: Date | DateRangeTuple$1;
|
|
2388
|
+
renderLoading?: () => React.ReactNode;
|
|
2389
|
+
selectedSections?: PickerSelectedSections;
|
|
2390
|
+
defaultSelectedSections?: PickerSelectedSections;
|
|
2391
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
2392
|
+
slotProps?: PickerSlotProps;
|
|
2393
|
+
slots?: PickerSlots;
|
|
2394
|
+
sx?: PickerSx;
|
|
2395
|
+
timezone?: string;
|
|
2396
|
+
viewRenderers?: {
|
|
2397
|
+
day?: DateRangePickerViewRenderer$1 | null;
|
|
2398
|
+
};
|
|
2399
|
+
shortcuts?: DateRangePickerShortcut$1[] | false;
|
|
2400
|
+
}
|
|
2401
|
+
declare const Root$c: React.FC<DateRangePickerRootProps$1>;
|
|
2402
|
+
declare const Trigger$3: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2403
|
+
declare const Portal$1: React.FC<PopoverPortalProps>;
|
|
2404
|
+
declare const Content$2: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
2405
|
+
declare const Anchor$1: React.ForwardRefExoticComponent<PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
2406
|
+
declare const Calendar$1: React.ForwardRefExoticComponent<Omit<CalendarRootProps, "onSelect" | "mode" | "shouldDisableDate" | "selected"> & React.RefAttributes<HTMLDivElement>>;
|
|
2407
|
+
declare const Shortcuts: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2408
|
+
shortcuts?: DateRangePickerShortcut$1[];
|
|
2409
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2410
|
+
declare const Loading$1: React.FC;
|
|
2411
|
+
declare const Value$1: React.FC<{
|
|
2412
|
+
format?: DateRangePickerFormat$1;
|
|
2413
|
+
formatDensity?: PickerFormatDensity;
|
|
2414
|
+
locale?: string;
|
|
2415
|
+
separator?: string;
|
|
2416
|
+
placeholder?: React.ReactNode;
|
|
2417
|
+
}>;
|
|
2418
|
+
declare function getDefaultDateRangePickerShortcuts(): DateRangePickerShortcut$1[];
|
|
2419
|
+
|
|
2420
|
+
interface DateRange {
|
|
2421
|
+
from?: Date;
|
|
2422
|
+
to?: Date;
|
|
2423
|
+
}
|
|
2424
|
+
type DateRangeTuple = [Date | null, Date | null];
|
|
2425
|
+
type DateRangeValue = DateRange | DateRangeTuple | null | undefined;
|
|
2426
|
+
type DateRangePickerFormat = Intl.DateTimeFormatOptions | string;
|
|
2427
|
+
interface DateRangePickerShortcut {
|
|
2428
|
+
label: React.ReactNode;
|
|
2429
|
+
getValue: (today: Date) => DateRangeValue;
|
|
2430
|
+
disabled?: boolean;
|
|
2431
|
+
closeOnSelect?: boolean;
|
|
2432
|
+
}
|
|
2433
|
+
type DateRangePickerViewRenderer = (params: {
|
|
2434
|
+
value: DateRangeTuple;
|
|
2435
|
+
onChange: (value: DateRangeTuple) => void;
|
|
2436
|
+
rangePosition: DateRangePosition;
|
|
2437
|
+
}) => React.ReactNode;
|
|
2438
|
+
interface DateRangePickerRootProps {
|
|
2439
|
+
children?: React.ReactNode;
|
|
2440
|
+
value?: DateRangeValue;
|
|
2441
|
+
defaultValue?: DateRangeValue;
|
|
2442
|
+
onChange?: (range: DateRangeTuple, context: PickerChangeContext<DateRangeValidationError>) => void;
|
|
2443
|
+
onValueChange?: (range: DateRange) => void;
|
|
2444
|
+
onAccept?: (range: DateRangeTuple, context: PickerChangeContext<DateRangeValidationError>) => void;
|
|
2445
|
+
onError?: (error: DateRangeValidationError | null, value: DateRangeTuple) => void;
|
|
2446
|
+
open?: boolean;
|
|
2447
|
+
defaultOpen?: boolean;
|
|
2448
|
+
onOpenChange?: (open: boolean) => void;
|
|
2449
|
+
onOpen?: () => void;
|
|
2450
|
+
onClose?: () => void;
|
|
2451
|
+
closeOnSelect?: boolean;
|
|
2452
|
+
disabled?: boolean;
|
|
2453
|
+
readOnly?: boolean;
|
|
2454
|
+
minDate?: Date;
|
|
2455
|
+
maxDate?: Date;
|
|
2456
|
+
disablePast?: boolean;
|
|
2457
|
+
disableFuture?: boolean;
|
|
2458
|
+
disabledDays?: (date: Date) => boolean;
|
|
2459
|
+
shouldDisableDate?: (date: Date, position: DateRangePosition) => boolean;
|
|
2460
|
+
weekStartsOn?: number;
|
|
2461
|
+
locale?: string;
|
|
2462
|
+
autoFocus?: boolean;
|
|
2463
|
+
calendars?: 1 | 2 | 3;
|
|
2464
|
+
currentMonthCalendarPosition?: 1 | 2 | 3;
|
|
2465
|
+
dayOfWeekFormatter?: (date: Date) => string;
|
|
2466
|
+
defaultRangePosition?: DateRangePosition;
|
|
2467
|
+
desktopModeMediaQuery?: string;
|
|
2468
|
+
disableAutoMonthSwitching?: boolean;
|
|
2469
|
+
disableDragEditing?: boolean;
|
|
2470
|
+
disableHighlightToday?: boolean;
|
|
2471
|
+
disableOpenPicker?: boolean;
|
|
2472
|
+
displayWeekNumber?: boolean;
|
|
2473
|
+
fixedWeekNumber?: number;
|
|
2474
|
+
format?: DateRangePickerFormat;
|
|
2475
|
+
formatDensity?: PickerFormatDensity;
|
|
2476
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
2477
|
+
keepOpenDuringFieldFocus?: boolean;
|
|
2478
|
+
label?: React.ReactNode;
|
|
2479
|
+
loading?: boolean;
|
|
2480
|
+
localeText?: PickerLocaleText;
|
|
2481
|
+
name?: string;
|
|
2482
|
+
onMonthChange?: (month: Date) => void;
|
|
2483
|
+
onRangePositionChange?: (rangePosition: DateRangePosition) => void;
|
|
2484
|
+
onSelectedSectionsChange?: (newValue: PickerSelectedSections) => void;
|
|
2485
|
+
rangePosition?: DateRangePosition;
|
|
2486
|
+
referenceDate?: Date | DateRangeTuple;
|
|
2487
|
+
renderLoading?: () => React.ReactNode;
|
|
2488
|
+
selectedSections?: PickerSelectedSections;
|
|
2489
|
+
defaultSelectedSections?: PickerSelectedSections;
|
|
2490
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
2491
|
+
slotProps?: PickerSlotProps;
|
|
2492
|
+
slots?: PickerSlots;
|
|
2493
|
+
sx?: PickerSx;
|
|
2494
|
+
timezone?: string;
|
|
2495
|
+
viewRenderers?: {
|
|
2496
|
+
day?: DateRangePickerViewRenderer | null;
|
|
2497
|
+
};
|
|
2498
|
+
shortcuts?: DateRangePickerShortcut[] | false;
|
|
2499
|
+
}
|
|
2500
|
+
interface DateRangePickerValueProps {
|
|
2501
|
+
format?: DateRangePickerFormat;
|
|
2502
|
+
formatDensity?: PickerFormatDensity;
|
|
2503
|
+
locale?: string;
|
|
2504
|
+
separator?: string;
|
|
2505
|
+
placeholder?: React.ReactNode;
|
|
2506
|
+
}
|
|
2507
|
+
interface DateRangePickerShortcutsProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2508
|
+
shortcuts?: DateRangePickerShortcut[];
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
type index$d_DateRangePickerShortcutsProps = DateRangePickerShortcutsProps;
|
|
2512
|
+
type index$d_DateRangePickerValueProps = DateRangePickerValueProps;
|
|
2513
|
+
declare const index$d_Shortcuts: typeof Shortcuts;
|
|
2514
|
+
declare const index$d_getDefaultDateRangePickerShortcuts: typeof getDefaultDateRangePickerShortcuts;
|
|
2515
|
+
declare namespace index$d {
|
|
2516
|
+
export { Anchor$1 as Anchor, Calendar$1 as Calendar, Content$2 as Content, type DateRange$1 as DateRange, type DateRangePickerFormat$1 as DateRangePickerFormat, type DateRangePickerRootProps$1 as DateRangePickerRootProps, type DateRangePickerShortcut$1 as DateRangePickerShortcut, type index$d_DateRangePickerShortcutsProps as DateRangePickerShortcutsProps, type index$d_DateRangePickerValueProps as DateRangePickerValueProps, type DateRangePickerViewRenderer$1 as DateRangePickerViewRenderer, type DateRangeTuple$1 as DateRangeTuple, type DateRangeValue$1 as DateRangeValue, Loading$1 as Loading, Portal$1 as Portal, Root$c as Root, index$d_Shortcuts as Shortcuts, Trigger$3 as Trigger, Value$1 as Value, index$d_getDefaultDateRangePickerShortcuts as getDefaultDateRangePickerShortcuts };
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
type DateTimePickerFormat$1 = Intl.DateTimeFormatOptions | string;
|
|
2520
|
+
type DateTimePickerViewRenderer$1 = (params: {
|
|
2521
|
+
view: DateTimePickerView;
|
|
2522
|
+
value: Date | null;
|
|
2523
|
+
onChange: (value: Date | null) => void;
|
|
2524
|
+
}) => React.ReactNode;
|
|
2525
|
+
interface DateTimePickerRootProps$1 {
|
|
2526
|
+
children?: React.ReactNode;
|
|
2527
|
+
value?: Date | null;
|
|
2528
|
+
defaultValue?: Date | null;
|
|
2529
|
+
onChange?: (value: Date | null, context: PickerChangeContext<DateTimeValidationError>) => void;
|
|
2530
|
+
onValueChange?: (value: Date | undefined) => void;
|
|
2531
|
+
onAccept?: (value: Date | null, context: PickerChangeContext<DateTimeValidationError>) => void;
|
|
2532
|
+
onError?: (error: DateTimeValidationError | null, value: Date | null) => void;
|
|
2533
|
+
open?: boolean;
|
|
2534
|
+
defaultOpen?: boolean;
|
|
2535
|
+
onOpenChange?: (open: boolean) => void;
|
|
2536
|
+
onOpen?: () => void;
|
|
2537
|
+
onClose?: () => void;
|
|
2538
|
+
closeOnSelect?: boolean;
|
|
2539
|
+
disabled?: boolean;
|
|
2540
|
+
readOnly?: boolean;
|
|
2541
|
+
minDate?: Date;
|
|
2542
|
+
maxDate?: Date;
|
|
2543
|
+
minDateTime?: Date;
|
|
2544
|
+
maxDateTime?: Date;
|
|
2545
|
+
minTime?: Date;
|
|
2546
|
+
maxTime?: Date;
|
|
2547
|
+
disablePast?: boolean;
|
|
2548
|
+
disableFuture?: boolean;
|
|
2549
|
+
disabledDays?: (date: Date) => boolean;
|
|
2550
|
+
shouldDisableDate?: (date: Date) => boolean;
|
|
2551
|
+
shouldDisableMonth?: (date: Date) => boolean;
|
|
2552
|
+
shouldDisableYear?: (date: Date) => boolean;
|
|
2553
|
+
shouldDisableTime?: (value: Date, view: TimePickerView) => boolean;
|
|
2554
|
+
weekStartsOn?: number;
|
|
2555
|
+
locale?: string;
|
|
2556
|
+
ampm?: boolean;
|
|
2557
|
+
ampmInClock?: boolean;
|
|
2558
|
+
autoFocus?: boolean;
|
|
2559
|
+
dayOfWeekFormatter?: (date: Date) => string;
|
|
2560
|
+
desktopModeMediaQuery?: string;
|
|
2561
|
+
disableHighlightToday?: boolean;
|
|
2562
|
+
disableIgnoringDatePartForTimeValidation?: boolean;
|
|
2563
|
+
disableOpenPicker?: boolean;
|
|
2564
|
+
displayWeekNumber?: boolean;
|
|
2565
|
+
fixedWeekNumber?: number;
|
|
2566
|
+
format?: DateTimePickerFormat$1;
|
|
2567
|
+
formatDensity?: PickerFormatDensity;
|
|
2568
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
2569
|
+
keepOpenDuringFieldFocus?: boolean;
|
|
2570
|
+
label?: React.ReactNode;
|
|
2571
|
+
loading?: boolean;
|
|
2572
|
+
localeText?: PickerLocaleText;
|
|
2573
|
+
minutesStep?: number;
|
|
2574
|
+
monthsPerRow?: 3 | 4;
|
|
2575
|
+
name?: string;
|
|
2576
|
+
onMonthChange?: (month: Date) => void;
|
|
2577
|
+
onSelectedSectionsChange?: (newValue: PickerSelectedSections) => void;
|
|
2578
|
+
onViewChange?: (view: DateTimePickerView) => void;
|
|
2579
|
+
onYearChange?: (year: Date) => void;
|
|
2580
|
+
openTo?: DateTimePickerView;
|
|
2581
|
+
orientation?: PickerOrientation;
|
|
2582
|
+
reduceAnimations?: boolean;
|
|
2583
|
+
referenceDate?: Date;
|
|
2584
|
+
renderLoading?: () => React.ReactNode;
|
|
2585
|
+
selectedSections?: PickerSelectedSections;
|
|
2586
|
+
defaultSelectedSections?: PickerSelectedSections;
|
|
2587
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
2588
|
+
skipDisabled?: boolean;
|
|
2589
|
+
slotProps?: PickerSlotProps;
|
|
2590
|
+
slots?: PickerSlots;
|
|
2591
|
+
sx?: PickerSx;
|
|
2592
|
+
thresholdToRenderTimeInASingleColumn?: number;
|
|
2593
|
+
timeSteps?: TimeSteps;
|
|
2594
|
+
timezone?: string;
|
|
2595
|
+
view?: DateTimePickerView;
|
|
2596
|
+
defaultView?: DateTimePickerView;
|
|
2597
|
+
viewRenderers?: Partial<Record<DateTimePickerView, DateTimePickerViewRenderer$1 | null>>;
|
|
2598
|
+
views?: DateTimePickerView[];
|
|
2599
|
+
yearsOrder?: 'asc' | 'desc';
|
|
2600
|
+
yearsPerRow?: 3 | 4;
|
|
2601
|
+
}
|
|
2602
|
+
declare const Root$b: React.FC<DateTimePickerRootProps$1>;
|
|
2603
|
+
declare const Trigger$2: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2604
|
+
declare const Portal: React.FC<PopoverPortalProps>;
|
|
2605
|
+
declare const Anchor: React.ForwardRefExoticComponent<PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
2606
|
+
declare const Content$1: React.ForwardRefExoticComponent<Omit<PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2607
|
+
declare const Calendar: React.ForwardRefExoticComponent<Omit<CalendarRootProps, "onSelect" | "mode" | "selected"> & React.RefAttributes<HTMLDivElement>>;
|
|
2608
|
+
declare const DatePanel: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2609
|
+
interface TimePanelRenderProps$1 {
|
|
2610
|
+
value: Date | undefined;
|
|
2611
|
+
onChange: (value: Date) => void;
|
|
2612
|
+
onAccept: (value: Date) => void;
|
|
2613
|
+
onCancel: () => void;
|
|
2614
|
+
view: DateTimePickerView;
|
|
2615
|
+
setView: (view: DateTimePickerView) => void;
|
|
2616
|
+
}
|
|
2617
|
+
interface TimePanelProps$1 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
2618
|
+
children?: React.ReactNode | ((props: TimePanelRenderProps$1) => React.ReactNode);
|
|
2619
|
+
}
|
|
2620
|
+
declare const TimePanel: React.ForwardRefExoticComponent<TimePanelProps$1 & React.RefAttributes<HTMLDivElement>>;
|
|
2621
|
+
declare const DateButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2622
|
+
type Segment = 'hour' | 'minute' | 'second' | 'period';
|
|
2623
|
+
interface SegmentProps$1 extends React.ComponentPropsWithoutRef<'span'> {
|
|
2624
|
+
segment: Segment;
|
|
2625
|
+
}
|
|
2626
|
+
declare const SegmentField: React.ForwardRefExoticComponent<SegmentProps$1 & React.RefAttributes<HTMLSpanElement>>;
|
|
2627
|
+
declare const Loading: React.FC;
|
|
2628
|
+
declare const Value: React.FC<{
|
|
2629
|
+
format?: DateTimePickerFormat$1;
|
|
2630
|
+
locale?: string;
|
|
2631
|
+
placeholder?: React.ReactNode;
|
|
2632
|
+
}>;
|
|
2633
|
+
|
|
2634
|
+
type DateTimePickerFormat = Intl.DateTimeFormatOptions | string;
|
|
2635
|
+
type DateTimePickerViewRenderer = (params: {
|
|
2636
|
+
view: DateTimePickerView;
|
|
2637
|
+
value: Date | null;
|
|
2638
|
+
onChange: (value: Date | null) => void;
|
|
2639
|
+
}) => React.ReactNode;
|
|
2640
|
+
type DateTimePickerSegment = 'hour' | 'minute' | 'second' | 'period';
|
|
2641
|
+
interface DateTimePickerRootProps {
|
|
2642
|
+
children?: React.ReactNode;
|
|
2643
|
+
value?: Date | null;
|
|
2644
|
+
defaultValue?: Date | null;
|
|
2645
|
+
onChange?: (value: Date | null, context: PickerChangeContext<DateTimeValidationError>) => void;
|
|
2646
|
+
onValueChange?: (value: Date | undefined) => void;
|
|
2647
|
+
onAccept?: (value: Date | null, context: PickerChangeContext<DateTimeValidationError>) => void;
|
|
2648
|
+
onError?: (error: DateTimeValidationError | null, value: Date | null) => void;
|
|
2649
|
+
open?: boolean;
|
|
2650
|
+
defaultOpen?: boolean;
|
|
2651
|
+
onOpenChange?: (open: boolean) => void;
|
|
2652
|
+
onOpen?: () => void;
|
|
2653
|
+
onClose?: () => void;
|
|
2654
|
+
closeOnSelect?: boolean;
|
|
2655
|
+
disabled?: boolean;
|
|
2656
|
+
readOnly?: boolean;
|
|
2657
|
+
minDate?: Date;
|
|
2658
|
+
maxDate?: Date;
|
|
2659
|
+
minDateTime?: Date;
|
|
2660
|
+
maxDateTime?: Date;
|
|
2661
|
+
minTime?: Date;
|
|
2662
|
+
maxTime?: Date;
|
|
2663
|
+
disablePast?: boolean;
|
|
2664
|
+
disableFuture?: boolean;
|
|
2665
|
+
disabledDays?: (date: Date) => boolean;
|
|
2666
|
+
shouldDisableDate?: (date: Date) => boolean;
|
|
2667
|
+
shouldDisableMonth?: (date: Date) => boolean;
|
|
2668
|
+
shouldDisableYear?: (date: Date) => boolean;
|
|
2669
|
+
shouldDisableTime?: (value: Date, view: TimePickerView) => boolean;
|
|
2670
|
+
weekStartsOn?: number;
|
|
2671
|
+
locale?: string;
|
|
2672
|
+
ampm?: boolean;
|
|
2673
|
+
ampmInClock?: boolean;
|
|
2674
|
+
autoFocus?: boolean;
|
|
2675
|
+
dayOfWeekFormatter?: (date: Date) => string;
|
|
2676
|
+
desktopModeMediaQuery?: string;
|
|
2677
|
+
disableHighlightToday?: boolean;
|
|
2678
|
+
disableIgnoringDatePartForTimeValidation?: boolean;
|
|
2679
|
+
disableOpenPicker?: boolean;
|
|
2680
|
+
displayWeekNumber?: boolean;
|
|
2681
|
+
fixedWeekNumber?: number;
|
|
2682
|
+
format?: DateTimePickerFormat;
|
|
2683
|
+
formatDensity?: PickerFormatDensity;
|
|
2684
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
2685
|
+
keepOpenDuringFieldFocus?: boolean;
|
|
2686
|
+
label?: React.ReactNode;
|
|
2687
|
+
loading?: boolean;
|
|
2688
|
+
localeText?: PickerLocaleText;
|
|
2689
|
+
minutesStep?: number;
|
|
2690
|
+
monthsPerRow?: 3 | 4;
|
|
2691
|
+
name?: string;
|
|
2692
|
+
onMonthChange?: (month: Date) => void;
|
|
2693
|
+
onSelectedSectionsChange?: (newValue: PickerSelectedSections) => void;
|
|
2694
|
+
onViewChange?: (view: DateTimePickerView) => void;
|
|
2695
|
+
onYearChange?: (year: Date) => void;
|
|
2696
|
+
openTo?: DateTimePickerView;
|
|
2697
|
+
orientation?: PickerOrientation;
|
|
2698
|
+
reduceAnimations?: boolean;
|
|
2699
|
+
referenceDate?: Date;
|
|
2700
|
+
renderLoading?: () => React.ReactNode;
|
|
2701
|
+
selectedSections?: PickerSelectedSections;
|
|
2702
|
+
defaultSelectedSections?: PickerSelectedSections;
|
|
2703
|
+
showDaysOutsideCurrentMonth?: boolean;
|
|
2704
|
+
skipDisabled?: boolean;
|
|
2705
|
+
slotProps?: PickerSlotProps;
|
|
2706
|
+
slots?: PickerSlots;
|
|
2707
|
+
sx?: PickerSx;
|
|
2708
|
+
thresholdToRenderTimeInASingleColumn?: number;
|
|
2709
|
+
timeSteps?: TimeSteps;
|
|
2710
|
+
timezone?: string;
|
|
2711
|
+
view?: DateTimePickerView;
|
|
2712
|
+
defaultView?: DateTimePickerView;
|
|
2713
|
+
viewRenderers?: Partial<Record<DateTimePickerView, DateTimePickerViewRenderer | null>>;
|
|
2714
|
+
views?: DateTimePickerView[];
|
|
2715
|
+
yearsOrder?: 'asc' | 'desc';
|
|
2716
|
+
yearsPerRow?: 3 | 4;
|
|
2717
|
+
}
|
|
2718
|
+
interface TimePanelRenderProps {
|
|
2719
|
+
value: Date | undefined;
|
|
2720
|
+
onChange: (value: Date) => void;
|
|
2721
|
+
onAccept: (value: Date) => void;
|
|
2722
|
+
onCancel: () => void;
|
|
2723
|
+
view: DateTimePickerView;
|
|
2724
|
+
setView: (view: DateTimePickerView) => void;
|
|
2725
|
+
}
|
|
2726
|
+
interface TimePanelProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
2727
|
+
children?: React.ReactNode | ((props: TimePanelRenderProps) => React.ReactNode);
|
|
2728
|
+
}
|
|
2729
|
+
interface SegmentProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
2730
|
+
segment: DateTimePickerSegment;
|
|
2731
|
+
}
|
|
2732
|
+
interface DateTimePickerValueProps {
|
|
2733
|
+
format?: DateTimePickerFormat;
|
|
2734
|
+
locale?: string;
|
|
2735
|
+
placeholder?: React.ReactNode;
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2738
|
+
declare const index$c_Anchor: typeof Anchor;
|
|
2739
|
+
declare const index$c_Calendar: typeof Calendar;
|
|
2740
|
+
declare const index$c_DateButton: typeof DateButton;
|
|
2741
|
+
declare const index$c_DatePanel: typeof DatePanel;
|
|
2742
|
+
type index$c_DateTimePickerSegment = DateTimePickerSegment;
|
|
2743
|
+
type index$c_DateTimePickerValueProps = DateTimePickerValueProps;
|
|
2744
|
+
declare const index$c_Loading: typeof Loading;
|
|
2745
|
+
declare const index$c_Portal: typeof Portal;
|
|
2746
|
+
declare const index$c_TimePanel: typeof TimePanel;
|
|
2747
|
+
declare const index$c_Value: typeof Value;
|
|
2748
|
+
declare namespace index$c {
|
|
2749
|
+
export { index$c_Anchor as Anchor, index$c_Calendar as Calendar, Content$1 as Content, index$c_DateButton as DateButton, index$c_DatePanel as DatePanel, type DateTimePickerFormat$1 as DateTimePickerFormat, type DateTimePickerRootProps$1 as DateTimePickerRootProps, type index$c_DateTimePickerSegment as DateTimePickerSegment, type index$c_DateTimePickerValueProps as DateTimePickerValueProps, type DateTimePickerViewRenderer$1 as DateTimePickerViewRenderer, index$c_Loading as Loading, index$c_Portal as Portal, Root$b as Root, SegmentField as Segment, type SegmentProps$1 as SegmentProps, index$c_TimePanel as TimePanel, type TimePanelProps$1 as TimePanelProps, type TimePanelRenderProps$1 as TimePanelRenderProps, Trigger$2 as Trigger, index$c_Value as Value };
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2752
|
+
interface HsvaColor {
|
|
2753
|
+
h: number;
|
|
2754
|
+
s: number;
|
|
2755
|
+
v: number;
|
|
2756
|
+
a: number;
|
|
2757
|
+
}
|
|
2758
|
+
declare function hsvaToHex(hsva: HsvaColor): string;
|
|
2759
|
+
interface ColorPickerRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'defaultValue'> {
|
|
2760
|
+
asChild?: boolean;
|
|
2761
|
+
value?: HsvaColor;
|
|
2762
|
+
defaultValue?: HsvaColor;
|
|
2763
|
+
onValueChange?: (v: HsvaColor) => void;
|
|
2764
|
+
disabled?: boolean;
|
|
2765
|
+
}
|
|
2766
|
+
declare const Root$a: React.ForwardRefExoticComponent<ColorPickerRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
2767
|
+
declare const Area$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2768
|
+
declare const AreaThumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
2769
|
+
interface ChannelSliderProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2770
|
+
channel: 'h' | 'a';
|
|
2771
|
+
}
|
|
2772
|
+
declare const ChannelSlider: React.ForwardRefExoticComponent<ChannelSliderProps & React.RefAttributes<HTMLDivElement>>;
|
|
2773
|
+
declare const Swatch: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2774
|
+
|
|
2775
|
+
declare const index$b_AreaThumb: typeof AreaThumb;
|
|
2776
|
+
declare const index$b_ChannelSlider: typeof ChannelSlider;
|
|
2777
|
+
type index$b_ColorPickerRootProps = ColorPickerRootProps;
|
|
2778
|
+
type index$b_HsvaColor = HsvaColor;
|
|
2779
|
+
declare const index$b_Swatch: typeof Swatch;
|
|
2780
|
+
declare const index$b_hsvaToHex: typeof hsvaToHex;
|
|
2781
|
+
declare namespace index$b {
|
|
2782
|
+
export { Area$1 as Area, index$b_AreaThumb as AreaThumb, index$b_ChannelSlider as ChannelSlider, type index$b_ColorPickerRootProps as ColorPickerRootProps, type index$b_HsvaColor as HsvaColor, Root$a as Root, index$b_Swatch as Swatch, index$b_hsvaToHex as hsvaToHex };
|
|
2783
|
+
}
|
|
2784
|
+
|
|
2785
|
+
interface FileUploadRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'defaultValue' | 'onError'> {
|
|
2786
|
+
asChild?: boolean;
|
|
2787
|
+
value?: File[];
|
|
2788
|
+
defaultValue?: File[];
|
|
2789
|
+
onValueChange?: (files: File[]) => void;
|
|
2790
|
+
accept?: string;
|
|
2791
|
+
multiple?: boolean;
|
|
2792
|
+
maxSize?: number;
|
|
2793
|
+
maxFiles?: number;
|
|
2794
|
+
disabled?: boolean;
|
|
2795
|
+
onError?: (errors: {
|
|
2796
|
+
file: File;
|
|
2797
|
+
reason: 'size' | 'type' | 'count';
|
|
2798
|
+
}[]) => void;
|
|
2799
|
+
}
|
|
2800
|
+
declare const Root$9: React.ForwardRefExoticComponent<FileUploadRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
2801
|
+
declare const Dropzone: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2802
|
+
declare const Input$3: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2803
|
+
declare const List: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
2804
|
+
declare const Item$2: React.FC<{
|
|
2805
|
+
file: File;
|
|
2806
|
+
children?: React.ReactNode;
|
|
2807
|
+
}>;
|
|
2808
|
+
declare const Trigger$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2809
|
+
declare const Clear: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2810
|
+
|
|
2811
|
+
declare const index$a_Clear: typeof Clear;
|
|
2812
|
+
declare const index$a_Dropzone: typeof Dropzone;
|
|
2813
|
+
type index$a_FileUploadRootProps = FileUploadRootProps;
|
|
2814
|
+
declare const index$a_List: typeof List;
|
|
2815
|
+
declare namespace index$a {
|
|
2816
|
+
export { index$a_Clear as Clear, index$a_Dropzone as Dropzone, type index$a_FileUploadRootProps as FileUploadRootProps, Input$3 as Input, Item$2 as Item, index$a_List as List, Root$9 as Root, Trigger$1 as Trigger };
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
interface ScrollAreaRootProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2820
|
+
asChild?: boolean;
|
|
2821
|
+
type?: 'auto' | 'always' | 'scroll' | 'hover';
|
|
2822
|
+
scrollHideDelay?: number;
|
|
2823
|
+
}
|
|
2824
|
+
declare const Root$8: React.ForwardRefExoticComponent<ScrollAreaRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
2825
|
+
declare const Viewport$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2826
|
+
interface ScrollbarProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2827
|
+
orientation?: 'horizontal' | 'vertical';
|
|
2828
|
+
forceMount?: boolean;
|
|
2829
|
+
}
|
|
2830
|
+
declare const Scrollbar: React.ForwardRefExoticComponent<ScrollbarProps & React.RefAttributes<HTMLDivElement>>;
|
|
2831
|
+
declare const Thumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2832
|
+
declare const Corner: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2833
|
+
|
|
2834
|
+
declare const index$9_Corner: typeof Corner;
|
|
2835
|
+
type index$9_ScrollAreaRootProps = ScrollAreaRootProps;
|
|
2836
|
+
declare const index$9_Scrollbar: typeof Scrollbar;
|
|
2837
|
+
type index$9_ScrollbarProps = ScrollbarProps;
|
|
2838
|
+
declare const index$9_Thumb: typeof Thumb;
|
|
2839
|
+
declare namespace index$9 {
|
|
2840
|
+
export { index$9_Corner as Corner, Root$8 as Root, type index$9_ScrollAreaRootProps as ScrollAreaRootProps, index$9_Scrollbar as Scrollbar, type index$9_ScrollbarProps as ScrollbarProps, index$9_Thumb as Thumb, Viewport$1 as Viewport };
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
interface ToolbarRootProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2844
|
+
asChild?: boolean;
|
|
2845
|
+
orientation?: 'horizontal' | 'vertical';
|
|
2846
|
+
dir?: 'ltr' | 'rtl';
|
|
2847
|
+
loop?: boolean;
|
|
2848
|
+
}
|
|
2849
|
+
declare const Root$7: React.ForwardRefExoticComponent<ToolbarRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
2850
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2851
|
+
declare const Link: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
2852
|
+
declare const Separator$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2853
|
+
|
|
2854
|
+
declare const index$8_Button: typeof Button;
|
|
2855
|
+
declare const index$8_Link: typeof Link;
|
|
2856
|
+
type index$8_ToolbarRootProps = ToolbarRootProps;
|
|
2857
|
+
declare namespace index$8 {
|
|
2858
|
+
export { index$8_Button as Button, index$8_Link as Link, Root$7 as Root, Separator$1 as Separator, type index$8_ToolbarRootProps as ToolbarRootProps };
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
interface ResizableGroupProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2862
|
+
asChild?: boolean;
|
|
2863
|
+
direction?: 'horizontal' | 'vertical';
|
|
2864
|
+
onLayout?: (sizes: number[]) => void;
|
|
2865
|
+
}
|
|
2866
|
+
declare const Group$1: React.ForwardRefExoticComponent<ResizableGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
2867
|
+
interface ResizablePanelProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2868
|
+
asChild?: boolean;
|
|
2869
|
+
id: string;
|
|
2870
|
+
defaultSize?: number;
|
|
2871
|
+
minSize?: number;
|
|
2872
|
+
maxSize?: number;
|
|
2873
|
+
}
|
|
2874
|
+
declare const Panel: React.ForwardRefExoticComponent<ResizablePanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
2875
|
+
interface ResizableHandleProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2876
|
+
asChild?: boolean;
|
|
2877
|
+
/** Panel IDs on each side of the handle */
|
|
2878
|
+
between: [string, string];
|
|
2879
|
+
}
|
|
2880
|
+
declare const Handle: React.ForwardRefExoticComponent<ResizableHandleProps & React.RefAttributes<HTMLDivElement>>;
|
|
2881
|
+
|
|
2882
|
+
declare const index$7_Handle: typeof Handle;
|
|
2883
|
+
declare const index$7_Panel: typeof Panel;
|
|
2884
|
+
type index$7_ResizableGroupProps = ResizableGroupProps;
|
|
2885
|
+
type index$7_ResizableHandleProps = ResizableHandleProps;
|
|
2886
|
+
type index$7_ResizablePanelProps = ResizablePanelProps;
|
|
2887
|
+
declare namespace index$7 {
|
|
2888
|
+
export { Group$1 as Group, index$7_Handle as Handle, index$7_Panel as Panel, type index$7_ResizableGroupProps as ResizableGroupProps, type index$7_ResizableHandleProps as ResizableHandleProps, type index$7_ResizablePanelProps as ResizablePanelProps };
|
|
2889
|
+
}
|
|
2890
|
+
|
|
2891
|
+
interface CarouselRootProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2892
|
+
asChild?: boolean;
|
|
2893
|
+
orientation?: 'horizontal' | 'vertical';
|
|
2894
|
+
loop?: boolean;
|
|
2895
|
+
index?: number;
|
|
2896
|
+
defaultIndex?: number;
|
|
2897
|
+
onIndexChange?: (i: number) => void;
|
|
2898
|
+
autoPlayInterval?: number;
|
|
2899
|
+
}
|
|
2900
|
+
declare const Root$6: React.ForwardRefExoticComponent<CarouselRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
2901
|
+
declare const Viewport: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2902
|
+
declare const Container: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2903
|
+
declare const Slide: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2904
|
+
declare const Previous: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2905
|
+
declare const Next: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2906
|
+
|
|
2907
|
+
type index$6_CarouselRootProps = CarouselRootProps;
|
|
2908
|
+
declare const index$6_Container: typeof Container;
|
|
2909
|
+
declare const index$6_Next: typeof Next;
|
|
2910
|
+
declare const index$6_Previous: typeof Previous;
|
|
2911
|
+
declare const index$6_Slide: typeof Slide;
|
|
2912
|
+
declare const index$6_Viewport: typeof Viewport;
|
|
2913
|
+
declare namespace index$6 {
|
|
2914
|
+
export { type index$6_CarouselRootProps as CarouselRootProps, index$6_Container as Container, index$6_Next as Next, index$6_Previous as Previous, Root$6 as Root, index$6_Slide as Slide, index$6_Viewport as Viewport };
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2917
|
+
interface TreeRootProps extends React.ComponentPropsWithoutRef<'ul'> {
|
|
2918
|
+
asChild?: boolean;
|
|
2919
|
+
defaultExpanded?: string[];
|
|
2920
|
+
expanded?: string[];
|
|
2921
|
+
onExpandedChange?: (expanded: string[]) => void;
|
|
2922
|
+
defaultSelected?: string;
|
|
2923
|
+
selected?: string;
|
|
2924
|
+
onSelectedChange?: (id: string | undefined) => void;
|
|
2925
|
+
}
|
|
2926
|
+
declare const Root$5: React.ForwardRefExoticComponent<TreeRootProps & React.RefAttributes<HTMLUListElement>>;
|
|
2927
|
+
interface TreeItemProps extends React.ComponentPropsWithoutRef<'li'> {
|
|
2928
|
+
asChild?: boolean;
|
|
2929
|
+
id: string;
|
|
2930
|
+
hasChildren?: boolean;
|
|
2931
|
+
level?: number;
|
|
2932
|
+
}
|
|
2933
|
+
declare const Item$1: React.ForwardRefExoticComponent<TreeItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
2934
|
+
declare const Trigger: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2935
|
+
declare const Group: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
2936
|
+
|
|
2937
|
+
declare const index$5_Group: typeof Group;
|
|
2938
|
+
type index$5_TreeItemProps = TreeItemProps;
|
|
2939
|
+
type index$5_TreeRootProps = TreeRootProps;
|
|
2940
|
+
declare const index$5_Trigger: typeof Trigger;
|
|
2941
|
+
declare namespace index$5 {
|
|
2942
|
+
export { index$5_Group as Group, Item$1 as Item, Root$5 as Root, type index$5_TreeItemProps as TreeItemProps, type index$5_TreeRootProps as TreeRootProps, index$5_Trigger as Trigger };
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2945
|
+
interface EditableRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onSubmit'> {
|
|
2946
|
+
asChild?: boolean;
|
|
2947
|
+
value?: string;
|
|
2948
|
+
defaultValue?: string;
|
|
2949
|
+
onValueChange?: (v: string) => void;
|
|
2950
|
+
editing?: boolean;
|
|
2951
|
+
defaultEditing?: boolean;
|
|
2952
|
+
onEditingChange?: (b: boolean) => void;
|
|
2953
|
+
submitMode?: 'enter' | 'blur' | 'both';
|
|
2954
|
+
onSubmit?: (value: string) => void;
|
|
2955
|
+
onCancel?: () => void;
|
|
2956
|
+
disabled?: boolean;
|
|
2957
|
+
}
|
|
2958
|
+
declare const Root$4: React.ForwardRefExoticComponent<EditableRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
2959
|
+
declare const Preview: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
2960
|
+
declare const Input$2: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2961
|
+
|
|
2962
|
+
type index$4_EditableRootProps = EditableRootProps;
|
|
2963
|
+
declare const index$4_Preview: typeof Preview;
|
|
2964
|
+
declare namespace index$4 {
|
|
2965
|
+
export { type index$4_EditableRootProps as EditableRootProps, Input$2 as Input, index$4_Preview as Preview, Root$4 as Root };
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2968
|
+
interface TagsInputRootProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2969
|
+
asChild?: boolean;
|
|
2970
|
+
value?: string[];
|
|
2971
|
+
defaultValue?: string[];
|
|
2972
|
+
onValueChange?: (tags: string[]) => void;
|
|
2973
|
+
delimiters?: string[];
|
|
2974
|
+
maxTags?: number;
|
|
2975
|
+
duplicateTags?: boolean;
|
|
2976
|
+
disabled?: boolean;
|
|
2977
|
+
}
|
|
2978
|
+
declare const Root$3: React.ForwardRefExoticComponent<TagsInputRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
2979
|
+
declare const Input$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2980
|
+
declare const Tag: React.FC<{
|
|
2981
|
+
index: number;
|
|
2982
|
+
children?: React.ReactNode;
|
|
2983
|
+
}>;
|
|
2984
|
+
declare const Items$1: React.FC<{
|
|
2985
|
+
children: (tag: string, index: number) => React.ReactNode;
|
|
2986
|
+
}>;
|
|
2987
|
+
|
|
2988
|
+
declare const index$3_Tag: typeof Tag;
|
|
2989
|
+
type index$3_TagsInputRootProps = TagsInputRootProps;
|
|
2990
|
+
declare namespace index$3 {
|
|
2991
|
+
export { Input$1 as Input, Items$1 as Items, Root$3 as Root, index$3_Tag as Tag, type index$3_TagsInputRootProps as TagsInputRootProps };
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2994
|
+
interface MentionSuggestion {
|
|
2995
|
+
id: string;
|
|
2996
|
+
label: string;
|
|
2997
|
+
}
|
|
2998
|
+
interface MentionsRootProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
2999
|
+
asChild?: boolean;
|
|
3000
|
+
value?: string;
|
|
3001
|
+
defaultValue?: string;
|
|
3002
|
+
onValueChange?: (v: string) => void;
|
|
3003
|
+
triggerChar?: string;
|
|
3004
|
+
}
|
|
3005
|
+
declare const Root$2: React.ForwardRefExoticComponent<MentionsRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3006
|
+
declare const Textarea$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
3007
|
+
interface SuggestionsProps {
|
|
3008
|
+
items: MentionSuggestion[];
|
|
3009
|
+
children?: React.ReactNode;
|
|
3010
|
+
container?: Element | DocumentFragment | null;
|
|
3011
|
+
/** Render inline (no Portal). Use this when the parent is position:relative. */
|
|
3012
|
+
disablePortal?: boolean;
|
|
3013
|
+
}
|
|
3014
|
+
declare const Suggestions: React.FC<SuggestionsProps>;
|
|
3015
|
+
declare const Items: React.FC<{
|
|
3016
|
+
children: (item: MentionSuggestion, index: number, highlighted: boolean) => React.ReactNode;
|
|
3017
|
+
}>;
|
|
3018
|
+
declare const Item: React.FC<{
|
|
3019
|
+
suggestion: MentionSuggestion;
|
|
3020
|
+
index: number;
|
|
3021
|
+
children?: React.ReactNode;
|
|
3022
|
+
}>;
|
|
3023
|
+
|
|
3024
|
+
declare const index$2_Item: typeof Item;
|
|
3025
|
+
declare const index$2_Items: typeof Items;
|
|
3026
|
+
type index$2_MentionSuggestion = MentionSuggestion;
|
|
3027
|
+
type index$2_MentionsRootProps = MentionsRootProps;
|
|
3028
|
+
declare const index$2_Suggestions: typeof Suggestions;
|
|
3029
|
+
type index$2_SuggestionsProps = SuggestionsProps;
|
|
3030
|
+
declare namespace index$2 {
|
|
3031
|
+
export { index$2_Item as Item, index$2_Items as Items, type index$2_MentionSuggestion as MentionSuggestion, type index$2_MentionsRootProps as MentionsRootProps, Root$2 as Root, index$2_Suggestions as Suggestions, type index$2_SuggestionsProps as SuggestionsProps, Textarea$1 as Textarea };
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
interface CardRootProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3035
|
+
asChild?: boolean;
|
|
3036
|
+
}
|
|
3037
|
+
interface CardSectionProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3038
|
+
asChild?: boolean;
|
|
3039
|
+
}
|
|
3040
|
+
|
|
3041
|
+
declare const Root$1: React.ForwardRefExoticComponent<CardRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3042
|
+
declare const Header: React.ForwardRefExoticComponent<CardSectionProps & React.RefAttributes<HTMLDivElement>>;
|
|
3043
|
+
declare const Title: React.ForwardRefExoticComponent<CardSectionProps & React.RefAttributes<HTMLDivElement>>;
|
|
3044
|
+
declare const Description: React.ForwardRefExoticComponent<CardSectionProps & React.RefAttributes<HTMLDivElement>>;
|
|
3045
|
+
declare const Content: React.ForwardRefExoticComponent<CardSectionProps & React.RefAttributes<HTMLDivElement>>;
|
|
3046
|
+
declare const Footer: React.ForwardRefExoticComponent<CardSectionProps & React.RefAttributes<HTMLDivElement>>;
|
|
3047
|
+
|
|
3048
|
+
type index$1_CardRootProps = CardRootProps;
|
|
3049
|
+
type index$1_CardSectionProps = CardSectionProps;
|
|
3050
|
+
declare const index$1_Content: typeof Content;
|
|
3051
|
+
declare const index$1_Description: typeof Description;
|
|
3052
|
+
declare const index$1_Footer: typeof Footer;
|
|
3053
|
+
declare const index$1_Header: typeof Header;
|
|
3054
|
+
declare const index$1_Title: typeof Title;
|
|
3055
|
+
declare namespace index$1 {
|
|
3056
|
+
export { type index$1_CardRootProps as CardRootProps, type index$1_CardSectionProps as CardSectionProps, index$1_Content as Content, index$1_Description as Description, index$1_Footer as Footer, index$1_Header as Header, Root$1 as Root, index$1_Title as Title };
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
interface AspectRatioProps$1 extends React.HTMLAttributes<HTMLDivElement> {
|
|
3060
|
+
/** Ratio is width / height, e.g. 16/9 -> 16/9 */
|
|
3061
|
+
ratio?: number;
|
|
3062
|
+
}
|
|
3063
|
+
declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps$1 & React.RefAttributes<HTMLDivElement>>;
|
|
3064
|
+
|
|
3065
|
+
interface AspectRatioProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3066
|
+
/** The desired ratio (width / height). */
|
|
3067
|
+
ratio?: number;
|
|
3068
|
+
asChild?: boolean;
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
interface SwitchProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'value'> {
|
|
3072
|
+
/** Controlled checked state */
|
|
3073
|
+
checked?: boolean;
|
|
3074
|
+
/** Initial checked state (uncontrolled) */
|
|
3075
|
+
defaultChecked?: boolean;
|
|
3076
|
+
/** Called when the checked state changes */
|
|
3077
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
3078
|
+
/** When true, the switch is disabled */
|
|
3079
|
+
disabled?: boolean;
|
|
3080
|
+
/** When true, indicates the switch is required */
|
|
3081
|
+
required?: boolean;
|
|
3082
|
+
/** Form name attribute */
|
|
3083
|
+
name?: string;
|
|
3084
|
+
/** Form value when checked (default: 'on') */
|
|
3085
|
+
value?: string;
|
|
3086
|
+
/** Render as child (Slot pattern) */
|
|
3087
|
+
asChild?: boolean;
|
|
3088
|
+
}
|
|
3089
|
+
|
|
3090
|
+
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
3091
|
+
|
|
3092
|
+
interface ToggleProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'value'> {
|
|
3093
|
+
pressed?: boolean;
|
|
3094
|
+
defaultPressed?: boolean;
|
|
3095
|
+
onPressedChange?: (pressed: boolean) => void;
|
|
3096
|
+
disabled?: boolean;
|
|
3097
|
+
asChild?: boolean;
|
|
3098
|
+
}
|
|
3099
|
+
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
3100
|
+
|
|
3101
|
+
type CheckedState = boolean | 'indeterminate';
|
|
3102
|
+
interface CheckboxProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'value' | 'checked' | 'defaultChecked'> {
|
|
3103
|
+
checked?: CheckedState;
|
|
3104
|
+
defaultChecked?: CheckedState;
|
|
3105
|
+
onCheckedChange?: (checked: CheckedState) => void;
|
|
3106
|
+
disabled?: boolean;
|
|
3107
|
+
required?: boolean;
|
|
3108
|
+
name?: string;
|
|
3109
|
+
value?: string;
|
|
3110
|
+
asChild?: boolean;
|
|
3111
|
+
}
|
|
3112
|
+
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
3113
|
+
interface CheckboxIndicatorProps extends React.ComponentPropsWithoutRef<'span'> {
|
|
3114
|
+
asChild?: boolean;
|
|
3115
|
+
forceMount?: boolean;
|
|
3116
|
+
'data-disabled'?: string | boolean;
|
|
3117
|
+
}
|
|
3118
|
+
declare const CheckboxIndicator: React.ForwardRefExoticComponent<CheckboxIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
3119
|
+
|
|
3120
|
+
interface LabelProps extends React.ComponentPropsWithoutRef<'label'> {
|
|
3121
|
+
asChild?: boolean;
|
|
3122
|
+
}
|
|
3123
|
+
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
3124
|
+
|
|
3125
|
+
type Orientation = 'horizontal' | 'vertical';
|
|
3126
|
+
interface SeparatorProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
3127
|
+
orientation?: Orientation;
|
|
3128
|
+
decorative?: boolean;
|
|
3129
|
+
asChild?: boolean;
|
|
3130
|
+
}
|
|
3131
|
+
declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
3132
|
+
|
|
3133
|
+
interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3134
|
+
variant?: 'text' | 'rect' | 'circle';
|
|
3135
|
+
}
|
|
3136
|
+
declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
3137
|
+
|
|
3138
|
+
interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3139
|
+
size?: 'sm' | 'md' | 'lg';
|
|
3140
|
+
}
|
|
3141
|
+
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
3142
|
+
|
|
3143
|
+
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3144
|
+
variant?: 'default' | 'outline';
|
|
3145
|
+
}
|
|
3146
|
+
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
3147
|
+
|
|
3148
|
+
interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3149
|
+
variant?: 'default' | 'success' | 'warning' | 'destructive' | 'info';
|
|
3150
|
+
}
|
|
3151
|
+
declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
3152
|
+
|
|
3153
|
+
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
3154
|
+
value?: string;
|
|
3155
|
+
defaultValue?: string;
|
|
3156
|
+
/** Visual size variant */
|
|
3157
|
+
size?: 'sm' | 'md' | 'lg';
|
|
3158
|
+
/** Marks the input as invalid for ARIA */
|
|
3159
|
+
invalid?: boolean;
|
|
3160
|
+
}
|
|
3161
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
3162
|
+
|
|
3163
|
+
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3164
|
+
value?: string;
|
|
3165
|
+
defaultValue?: string;
|
|
3166
|
+
}
|
|
3167
|
+
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
3168
|
+
|
|
3169
|
+
type CurveType = 'linear' | 'catmullRom' | 'step' | 'stepBefore' | 'stepAfter' | 'monotoneX' | 'natural' | 'bumpX';
|
|
3170
|
+
type AxisScale = 'linear' | 'log' | 'band';
|
|
3171
|
+
type LegendPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
3172
|
+
type LabelPosition = 'top' | 'center' | 'inside' | 'outside';
|
|
3173
|
+
interface ChartMargin {
|
|
3174
|
+
top: number;
|
|
3175
|
+
right: number;
|
|
3176
|
+
bottom: number;
|
|
3177
|
+
left: number;
|
|
3178
|
+
}
|
|
3179
|
+
interface ChartDimensions {
|
|
3180
|
+
width: number;
|
|
3181
|
+
height: number;
|
|
3182
|
+
margin: ChartMargin;
|
|
3183
|
+
innerWidth: number;
|
|
3184
|
+
innerHeight: number;
|
|
3185
|
+
}
|
|
3186
|
+
interface TooltipPayloadEntry {
|
|
3187
|
+
name: string;
|
|
3188
|
+
value: number | string;
|
|
3189
|
+
color: string;
|
|
3190
|
+
dataKey: string;
|
|
3191
|
+
}
|
|
3192
|
+
interface TooltipState {
|
|
3193
|
+
visible: boolean;
|
|
3194
|
+
x: number;
|
|
3195
|
+
y: number;
|
|
3196
|
+
payload: TooltipPayloadEntry[];
|
|
3197
|
+
label: string;
|
|
3198
|
+
}
|
|
3199
|
+
interface HighlightScope {
|
|
3200
|
+
/** Which items to highlight on hover */
|
|
3201
|
+
highlight?: 'none' | 'item' | 'series';
|
|
3202
|
+
/** Which items to fade on hover */
|
|
3203
|
+
fade?: 'none' | 'series' | 'global';
|
|
3204
|
+
}
|
|
3205
|
+
interface ChartRootProps {
|
|
3206
|
+
/** Data array for the chart */
|
|
3207
|
+
data: object[];
|
|
3208
|
+
/** Total width of the SVG (omit for responsive) */
|
|
3209
|
+
width?: number;
|
|
3210
|
+
/** Total height of the SVG */
|
|
3211
|
+
height?: number;
|
|
3212
|
+
/** Outer margins around the plot area */
|
|
3213
|
+
margin?: Partial<ChartMargin>;
|
|
3214
|
+
/** CSS class on the wrapper div */
|
|
3215
|
+
className?: string;
|
|
3216
|
+
/** Accessible label for screen readers */
|
|
3217
|
+
accessibilityLabel?: string;
|
|
3218
|
+
/** Enable colorblind-accessible pattern fills */
|
|
3219
|
+
accessibilityMode?: boolean;
|
|
3220
|
+
children?: React.ReactNode;
|
|
3221
|
+
}
|
|
3222
|
+
interface ChartPieRootProps {
|
|
3223
|
+
data: object[];
|
|
3224
|
+
width?: number;
|
|
3225
|
+
height?: number;
|
|
3226
|
+
className?: string;
|
|
3227
|
+
accessibilityLabel?: string;
|
|
3228
|
+
children?: React.ReactNode;
|
|
3229
|
+
}
|
|
3230
|
+
interface ChartRadarRootProps {
|
|
3231
|
+
data: object[];
|
|
3232
|
+
width?: number;
|
|
3233
|
+
height?: number;
|
|
3234
|
+
className?: string;
|
|
3235
|
+
accessibilityLabel?: string;
|
|
3236
|
+
children?: React.ReactNode;
|
|
3237
|
+
}
|
|
3238
|
+
interface ChartXAxisProps {
|
|
3239
|
+
/** Key in data objects for x values */
|
|
3240
|
+
dataKey?: string;
|
|
3241
|
+
/** Axis label */
|
|
3242
|
+
label?: string;
|
|
3243
|
+
/** Tick count hint */
|
|
3244
|
+
tickCount?: number;
|
|
3245
|
+
/** Custom tick formatter */
|
|
3246
|
+
tickFormatter?: (value: unknown) => string;
|
|
3247
|
+
/** Hide the axis line */
|
|
3248
|
+
hideLine?: boolean;
|
|
3249
|
+
/** Hide ticks */
|
|
3250
|
+
hideTicks?: boolean;
|
|
3251
|
+
/** Scale type */
|
|
3252
|
+
scale?: AxisScale;
|
|
3253
|
+
/** CSS class */
|
|
3254
|
+
className?: string;
|
|
3255
|
+
}
|
|
3256
|
+
interface ChartYAxisProps {
|
|
3257
|
+
/** Axis label */
|
|
3258
|
+
label?: string;
|
|
3259
|
+
/** Tick count hint */
|
|
3260
|
+
tickCount?: number;
|
|
3261
|
+
/** Custom tick formatter */
|
|
3262
|
+
tickFormatter?: (value: unknown) => string;
|
|
3263
|
+
/** Override domain [min, max] */
|
|
3264
|
+
domain?: [number | 'auto', number | 'auto'];
|
|
3265
|
+
/** Hide the axis line */
|
|
3266
|
+
hideLine?: boolean;
|
|
3267
|
+
/** Hide ticks */
|
|
3268
|
+
hideTicks?: boolean;
|
|
3269
|
+
/** CSS class */
|
|
3270
|
+
className?: string;
|
|
3271
|
+
}
|
|
3272
|
+
interface ChartGridProps {
|
|
3273
|
+
/** Show horizontal lines */
|
|
3274
|
+
horizontal?: boolean;
|
|
3275
|
+
/** Show vertical lines */
|
|
3276
|
+
vertical?: boolean;
|
|
3277
|
+
/** Stroke color/class override */
|
|
3278
|
+
strokeDasharray?: string;
|
|
3279
|
+
className?: string;
|
|
3280
|
+
}
|
|
3281
|
+
interface ChartBarProps {
|
|
3282
|
+
/** Key in data for bar values */
|
|
3283
|
+
dataKey: string;
|
|
3284
|
+
/** Bar fill color (falls back to palette) */
|
|
3285
|
+
color?: string;
|
|
3286
|
+
/** Label for legend/tooltip */
|
|
3287
|
+
name?: string;
|
|
3288
|
+
/** Stack group id — bars with same id are stacked */
|
|
3289
|
+
stackId?: string;
|
|
3290
|
+
/** 'vertical' (default) or 'horizontal' */
|
|
3291
|
+
orientation?: 'vertical' | 'horizontal';
|
|
3292
|
+
/** Corner radius */
|
|
3293
|
+
radius?: number;
|
|
3294
|
+
/** Show a label on each bar */
|
|
3295
|
+
showLabel?: boolean;
|
|
3296
|
+
/** Where to place the label relative to the bar */
|
|
3297
|
+
labelPosition?: 'inside' | 'outside' | 'center';
|
|
3298
|
+
/** Custom label text formatter */
|
|
3299
|
+
labelFormatter?: (value: number) => string;
|
|
3300
|
+
/** Highlight scope for hover interactions */
|
|
3301
|
+
highlightScope?: HighlightScope;
|
|
3302
|
+
/** Click handler per bar rect */
|
|
3303
|
+
onClick?: (entry: Record<string, unknown>, index: number) => void;
|
|
3304
|
+
className?: string;
|
|
3305
|
+
}
|
|
3306
|
+
type MarkShape = 'circle' | 'square' | 'diamond' | 'cross' | 'star' | 'triangle';
|
|
3307
|
+
interface ChartLineProps {
|
|
3308
|
+
dataKey: string;
|
|
3309
|
+
color?: string;
|
|
3310
|
+
name?: string;
|
|
3311
|
+
curve?: CurveType;
|
|
3312
|
+
/** Show dots at data points (alias: showDot) */
|
|
3313
|
+
dot?: boolean;
|
|
3314
|
+
/** Alias for dot — use either */
|
|
3315
|
+
showDot?: boolean;
|
|
3316
|
+
/** Dot radius */
|
|
3317
|
+
dotRadius?: number;
|
|
3318
|
+
/** Shape of the mark at each data point */
|
|
3319
|
+
markShape?: MarkShape;
|
|
3320
|
+
/** Connect null/undefined data points by skipping them */
|
|
3321
|
+
connectNulls?: boolean;
|
|
3322
|
+
strokeWidth?: number;
|
|
3323
|
+
strokeDasharray?: string;
|
|
3324
|
+
/** Highlight scope for hover interactions */
|
|
3325
|
+
highlightScope?: HighlightScope;
|
|
3326
|
+
onClick?: (entry: Record<string, unknown>, index: number) => void;
|
|
3327
|
+
className?: string;
|
|
3328
|
+
}
|
|
3329
|
+
interface ChartAreaProps {
|
|
3330
|
+
dataKey: string;
|
|
3331
|
+
color?: string;
|
|
3332
|
+
name?: string;
|
|
3333
|
+
curve?: CurveType;
|
|
3334
|
+
/** Fill opacity */
|
|
3335
|
+
fillOpacity?: number;
|
|
3336
|
+
/** Stack group id */
|
|
3337
|
+
stackId?: string;
|
|
3338
|
+
strokeWidth?: number;
|
|
3339
|
+
/**
|
|
3340
|
+
* Baseline y value for the area fill.
|
|
3341
|
+
* - number: use yScale(baseline) as the bottom edge
|
|
3342
|
+
* - 'auto': use the chart bottom (innerHeight) — same as default
|
|
3343
|
+
*/
|
|
3344
|
+
baseline?: number | 'auto';
|
|
3345
|
+
/** Connect null/undefined data points by skipping them */
|
|
3346
|
+
connectNulls?: boolean;
|
|
3347
|
+
/** Highlight scope for hover interactions */
|
|
3348
|
+
highlightScope?: HighlightScope;
|
|
3349
|
+
/**
|
|
3350
|
+
* If true, use a gradient fill: above-zero uses chart-1 color,
|
|
3351
|
+
* below-zero uses chart-3 color.
|
|
3352
|
+
*/
|
|
3353
|
+
fillByValue?: boolean;
|
|
3354
|
+
className?: string;
|
|
3355
|
+
}
|
|
3356
|
+
type ScatterMarkerShape = 'circle' | 'square' | 'diamond' | 'cross' | 'triangle';
|
|
3357
|
+
interface ChartScatterProps {
|
|
3358
|
+
xKey: string;
|
|
3359
|
+
yKey: string;
|
|
3360
|
+
name?: string;
|
|
3361
|
+
color?: string;
|
|
3362
|
+
/** Point radius */
|
|
3363
|
+
radius?: number;
|
|
3364
|
+
/** Shape rendered at each point */
|
|
3365
|
+
markerShape?: ScatterMarkerShape;
|
|
3366
|
+
/** Highlight scope for hover interactions */
|
|
3367
|
+
highlightScope?: HighlightScope;
|
|
3368
|
+
onClick?: (entry: Record<string, unknown>, index: number) => void;
|
|
3369
|
+
className?: string;
|
|
3370
|
+
}
|
|
3371
|
+
interface ChartBubbleProps extends ChartScatterProps {
|
|
3372
|
+
/** Data key for bubble size */
|
|
3373
|
+
sizeKey: string;
|
|
3374
|
+
/** Min rendered bubble radius */
|
|
3375
|
+
minRadius?: number;
|
|
3376
|
+
/** Max rendered bubble radius */
|
|
3377
|
+
maxRadius?: number;
|
|
3378
|
+
}
|
|
3379
|
+
interface ChartPieProps {
|
|
3380
|
+
dataKey: string;
|
|
3381
|
+
nameKey?: string;
|
|
3382
|
+
/** Inner radius for donut (0 = pie) */
|
|
3383
|
+
innerRadius?: number;
|
|
3384
|
+
/** Outer radius (default: min(w,h)/2 * 0.8) */
|
|
3385
|
+
outerRadius?: number;
|
|
3386
|
+
/** Gap between slices in degrees */
|
|
3387
|
+
padAngle?: number;
|
|
3388
|
+
/** Corner radius on slices */
|
|
3389
|
+
cornerRadius?: number;
|
|
3390
|
+
/** Colors array override */
|
|
3391
|
+
colors?: string[];
|
|
3392
|
+
/**
|
|
3393
|
+
* Start angle of the arc distribution in degrees.
|
|
3394
|
+
* Default: -90 (top / 12 o'clock).
|
|
3395
|
+
*/
|
|
3396
|
+
startAngle?: number;
|
|
3397
|
+
/**
|
|
3398
|
+
* End angle of the arc distribution in degrees.
|
|
3399
|
+
* Default: 270 (full circle clockwise).
|
|
3400
|
+
*/
|
|
3401
|
+
endAngle?: number;
|
|
3402
|
+
/**
|
|
3403
|
+
* Label rendered at the midpoint of each arc.
|
|
3404
|
+
* - 'value': raw numeric value
|
|
3405
|
+
* - 'percentage': percentage of total rounded to nearest integer
|
|
3406
|
+
* - function: custom label — receives { name, value, total }
|
|
3407
|
+
*/
|
|
3408
|
+
arcLabel?: 'value' | 'percentage' | ((entry: {
|
|
3409
|
+
name: string;
|
|
3410
|
+
value: number;
|
|
3411
|
+
total: number;
|
|
3412
|
+
}) => string);
|
|
3413
|
+
/**
|
|
3414
|
+
* Minimum arc angle (degrees) required before a label is rendered.
|
|
3415
|
+
* Prevents label clutter on very small slices. Default: 5.
|
|
3416
|
+
*/
|
|
3417
|
+
arcLabelMinAngle?: number;
|
|
3418
|
+
onClick?: (entry: Record<string, unknown>, index: number) => void;
|
|
3419
|
+
className?: string;
|
|
3420
|
+
}
|
|
3421
|
+
interface ChartPolarGridProps {
|
|
3422
|
+
/** Number of rings */
|
|
3423
|
+
rings?: number;
|
|
3424
|
+
/**
|
|
3425
|
+
* Ring shape:
|
|
3426
|
+
* - 'sharp' (default): polygon connecting spoke endpoints
|
|
3427
|
+
* - 'circular': concentric circles
|
|
3428
|
+
*/
|
|
3429
|
+
shape?: 'circular' | 'sharp';
|
|
3430
|
+
className?: string;
|
|
3431
|
+
}
|
|
3432
|
+
interface ChartPolarAngleAxisProps {
|
|
3433
|
+
dataKey: string;
|
|
3434
|
+
className?: string;
|
|
3435
|
+
}
|
|
3436
|
+
interface ChartRadarProps {
|
|
3437
|
+
dataKey: string;
|
|
3438
|
+
color?: string;
|
|
3439
|
+
name?: string;
|
|
3440
|
+
fillOpacity?: number;
|
|
3441
|
+
/** Fill the radar polygon area with semi-transparent color */
|
|
3442
|
+
fillArea?: boolean;
|
|
3443
|
+
/** Show dot marks at each data point (alias: dot) */
|
|
3444
|
+
showMark?: boolean;
|
|
3445
|
+
/** Alias for showMark — use either */
|
|
3446
|
+
dot?: boolean;
|
|
3447
|
+
className?: string;
|
|
3448
|
+
}
|
|
3449
|
+
interface ChartHeatmapProps {
|
|
3450
|
+
data: object[];
|
|
3451
|
+
xKey: string;
|
|
3452
|
+
yKey: string;
|
|
3453
|
+
valueKey: string;
|
|
3454
|
+
/** Colors from low→high */
|
|
3455
|
+
colorRange?: [string, string];
|
|
3456
|
+
/** Width of the SVG */
|
|
3457
|
+
width?: number;
|
|
3458
|
+
/** Height of the SVG */
|
|
3459
|
+
height?: number;
|
|
3460
|
+
margin?: Partial<ChartMargin>;
|
|
3461
|
+
className?: string;
|
|
3462
|
+
accessibilityLabel?: string;
|
|
3463
|
+
}
|
|
3464
|
+
interface TreemapNode {
|
|
3465
|
+
name: string;
|
|
3466
|
+
value?: number;
|
|
3467
|
+
children?: TreemapNode[];
|
|
3468
|
+
color?: string;
|
|
3469
|
+
}
|
|
3470
|
+
interface ChartTreemapProps {
|
|
3471
|
+
data: TreemapNode[];
|
|
3472
|
+
width?: number;
|
|
3473
|
+
height?: number;
|
|
3474
|
+
padding?: number;
|
|
3475
|
+
/** Color palette override */
|
|
3476
|
+
colors?: string[];
|
|
3477
|
+
className?: string;
|
|
3478
|
+
accessibilityLabel?: string;
|
|
3479
|
+
onNodeClick?: (node: TreemapNode) => void;
|
|
3480
|
+
}
|
|
3481
|
+
interface FunnelEntry {
|
|
3482
|
+
name: string;
|
|
3483
|
+
value: number;
|
|
3484
|
+
color?: string;
|
|
3485
|
+
}
|
|
3486
|
+
interface ChartFunnelProps {
|
|
3487
|
+
data: FunnelEntry[];
|
|
3488
|
+
width?: number;
|
|
3489
|
+
height?: number;
|
|
3490
|
+
/** Label position */
|
|
3491
|
+
labelPosition?: LabelPosition;
|
|
3492
|
+
/**
|
|
3493
|
+
* Visual variant:
|
|
3494
|
+
* - 'filled' (default): solid fill
|
|
3495
|
+
* - 'outlined': transparent fill with colored stroke
|
|
3496
|
+
*/
|
|
3497
|
+
variant?: 'filled' | 'outlined';
|
|
3498
|
+
/**
|
|
3499
|
+
* Edge interpolation:
|
|
3500
|
+
* - 'linear' (default): straight trapezoid edges
|
|
3501
|
+
* - 'linear-sharp': alias for 'linear'
|
|
3502
|
+
* - 'bump': smooth S-curve bezier on each side
|
|
3503
|
+
* - 'step': flat top, vertical drop, flat bottom
|
|
3504
|
+
*/
|
|
3505
|
+
curve?: 'linear' | 'linear-sharp' | 'bump' | 'step';
|
|
3506
|
+
/** Pixel gap between sections. Default: 0 */
|
|
3507
|
+
gap?: number;
|
|
3508
|
+
className?: string;
|
|
3509
|
+
accessibilityLabel?: string;
|
|
3510
|
+
onSegmentClick?: (entry: FunnelEntry, index: number) => void;
|
|
3511
|
+
}
|
|
3512
|
+
interface ChartGaugeProps {
|
|
3513
|
+
value: number;
|
|
3514
|
+
min?: number;
|
|
3515
|
+
max?: number;
|
|
3516
|
+
/** Start angle in degrees (from 12 o'clock, clockwise) */
|
|
3517
|
+
startAngle?: number;
|
|
3518
|
+
/** End angle in degrees */
|
|
3519
|
+
endAngle?: number;
|
|
3520
|
+
/** Arc thickness as fraction of radius */
|
|
3521
|
+
thickness?: number;
|
|
3522
|
+
/** Color stops: [[percentage, color], ...] */
|
|
3523
|
+
colorStops?: [number, string][];
|
|
3524
|
+
/** Show numeric label in center */
|
|
3525
|
+
showLabel?: boolean;
|
|
3526
|
+
/** Custom label render */
|
|
3527
|
+
label?: string | ((value: number, min: number, max: number) => string);
|
|
3528
|
+
width?: number;
|
|
3529
|
+
height?: number;
|
|
3530
|
+
className?: string;
|
|
3531
|
+
accessibilityLabel?: string;
|
|
3532
|
+
}
|
|
3533
|
+
/** Shared context provided by GaugeContainer to child arc components */
|
|
3534
|
+
interface GaugeContextValue {
|
|
3535
|
+
value: number;
|
|
3536
|
+
min: number;
|
|
3537
|
+
max: number;
|
|
3538
|
+
/** Start angle in degrees, clockwise from top */
|
|
3539
|
+
startAngle: number;
|
|
3540
|
+
/** End angle in degrees, clockwise from top */
|
|
3541
|
+
endAngle: number;
|
|
3542
|
+
cx: number;
|
|
3543
|
+
cy: number;
|
|
3544
|
+
outerRadius: number;
|
|
3545
|
+
innerRadius: number;
|
|
3546
|
+
fraction: number;
|
|
3547
|
+
}
|
|
3548
|
+
/**
|
|
3549
|
+
* Root wrapper for gauge composition.
|
|
3550
|
+
* Provides a shared GaugeContext consumed by GaugeValueArc and GaugeReferenceArc.
|
|
3551
|
+
*/
|
|
3552
|
+
interface ChartGaugeContainerProps {
|
|
3553
|
+
value: number;
|
|
3554
|
+
min?: number;
|
|
3555
|
+
max?: number;
|
|
3556
|
+
/** Start angle in degrees (clockwise from top / 12 o'clock). Default: -135 */
|
|
3557
|
+
startAngle?: number;
|
|
3558
|
+
/** End angle in degrees. Default: 135 */
|
|
3559
|
+
endAngle?: number;
|
|
3560
|
+
/** SVG width */
|
|
3561
|
+
width?: number;
|
|
3562
|
+
/** SVG height */
|
|
3563
|
+
height?: number;
|
|
3564
|
+
/** Arc thickness in pixels */
|
|
3565
|
+
thickness?: number;
|
|
3566
|
+
className?: string;
|
|
3567
|
+
accessibilityLabel?: string;
|
|
3568
|
+
children?: React.ReactNode;
|
|
3569
|
+
}
|
|
3570
|
+
/** The colored value arc inside a GaugeContainer */
|
|
3571
|
+
interface ChartGaugeValueArcProps {
|
|
3572
|
+
/** Fill color — defaults to chart-1 CSS variable */
|
|
3573
|
+
color?: string;
|
|
3574
|
+
/** Color stops: [[percentage, color], ...] */
|
|
3575
|
+
colorStops?: [number, string][];
|
|
3576
|
+
className?: string;
|
|
3577
|
+
}
|
|
3578
|
+
/** The gray background track arc inside a GaugeContainer */
|
|
3579
|
+
interface ChartGaugeReferenceArcProps {
|
|
3580
|
+
/** Fill color for the background track */
|
|
3581
|
+
color?: string;
|
|
3582
|
+
className?: string;
|
|
3583
|
+
}
|
|
3584
|
+
interface OhlcEntry {
|
|
3585
|
+
date: string | number;
|
|
3586
|
+
open: number;
|
|
3587
|
+
high: number;
|
|
3588
|
+
low: number;
|
|
3589
|
+
close: number;
|
|
3590
|
+
volume?: number;
|
|
3591
|
+
}
|
|
3592
|
+
interface ChartCandlestickProps {
|
|
3593
|
+
data: OhlcEntry[];
|
|
3594
|
+
width?: number;
|
|
3595
|
+
height?: number;
|
|
3596
|
+
margin?: Partial<ChartMargin>;
|
|
3597
|
+
/** Color for bullish candles (close > open) */
|
|
3598
|
+
bullColor?: string;
|
|
3599
|
+
/** Color for bearish candles (close < open) */
|
|
3600
|
+
bearColor?: string;
|
|
3601
|
+
className?: string;
|
|
3602
|
+
accessibilityLabel?: string;
|
|
3603
|
+
}
|
|
3604
|
+
interface ChartTooltipProps {
|
|
3605
|
+
/** Fully replace the tooltip — receives the current tooltip state */
|
|
3606
|
+
content?: (state: TooltipState) => React.ReactNode;
|
|
3607
|
+
/** Extra class on the tooltip wrapper */
|
|
3608
|
+
className?: string;
|
|
3609
|
+
/** Override background color */
|
|
3610
|
+
background?: string;
|
|
3611
|
+
/** Override border color */
|
|
3612
|
+
border?: string;
|
|
3613
|
+
/** Override border radius in px */
|
|
3614
|
+
borderRadius?: number;
|
|
3615
|
+
/** Override box shadow */
|
|
3616
|
+
boxShadow?: string;
|
|
3617
|
+
/** Override font size in px */
|
|
3618
|
+
fontSize?: number;
|
|
3619
|
+
}
|
|
3620
|
+
interface ChartLegendEntry {
|
|
3621
|
+
name: string;
|
|
3622
|
+
color: string;
|
|
3623
|
+
dataKey: string;
|
|
3624
|
+
}
|
|
3625
|
+
interface ChartLegendProps {
|
|
3626
|
+
/** Where to position the legend relative to the chart */
|
|
3627
|
+
position?: LegendPosition;
|
|
3628
|
+
/** Fully replace legend rendering */
|
|
3629
|
+
content?: (entries: ChartLegendEntry[]) => React.ReactNode;
|
|
3630
|
+
/** Render a single entry — wrap each item with custom JSX */
|
|
3631
|
+
renderEntry?: (entry: ChartLegendEntry, index: number) => React.ReactNode;
|
|
3632
|
+
/** Icon shape: 'square' (default) | 'circle' | 'line' */
|
|
3633
|
+
iconType?: 'square' | 'circle' | 'line';
|
|
3634
|
+
/** Icon size in px, default 12 */
|
|
3635
|
+
iconSize?: number;
|
|
3636
|
+
/** Extra class on the legend wrapper */
|
|
3637
|
+
className?: string;
|
|
3638
|
+
}
|
|
3639
|
+
interface CartesianContextValue {
|
|
3640
|
+
data: Record<string, unknown>[];
|
|
3641
|
+
dimensions: ChartDimensions;
|
|
3642
|
+
xScale: (value: unknown) => number;
|
|
3643
|
+
yScale: (value: number) => number;
|
|
3644
|
+
yDomain: [number, number];
|
|
3645
|
+
xDomain: unknown[];
|
|
3646
|
+
xDataKey: string;
|
|
3647
|
+
isBand: boolean;
|
|
3648
|
+
bandWidth: number;
|
|
3649
|
+
palette: string[];
|
|
3650
|
+
activeIndex: number | null;
|
|
3651
|
+
setActiveIndex: (index: number | null) => void;
|
|
3652
|
+
tooltip: TooltipState;
|
|
3653
|
+
setTooltip: (state: TooltipState) => void;
|
|
3654
|
+
seriesCount: number;
|
|
3655
|
+
registerSeries: (dataKey: string) => number;
|
|
3656
|
+
accessibilityMode: boolean;
|
|
3657
|
+
}
|
|
3658
|
+
interface PieContextValue {
|
|
3659
|
+
data: Record<string, unknown>[];
|
|
3660
|
+
cx: number;
|
|
3661
|
+
cy: number;
|
|
3662
|
+
palette: string[];
|
|
3663
|
+
tooltip: TooltipState;
|
|
3664
|
+
setTooltip: (state: TooltipState) => void;
|
|
3665
|
+
}
|
|
3666
|
+
interface RadarContextValue {
|
|
3667
|
+
data: Record<string, unknown>[];
|
|
3668
|
+
cx: number;
|
|
3669
|
+
cy: number;
|
|
3670
|
+
radius: number;
|
|
3671
|
+
angleKeys: string[];
|
|
3672
|
+
palette: string[];
|
|
3673
|
+
}
|
|
3674
|
+
interface ChartSparkLineProps {
|
|
3675
|
+
/** Array of numeric values */
|
|
3676
|
+
data: number[];
|
|
3677
|
+
/** 'line' or 'bar' sparkline */
|
|
3678
|
+
type?: 'line' | 'bar';
|
|
3679
|
+
/** SVG width */
|
|
3680
|
+
width?: number;
|
|
3681
|
+
/** SVG height */
|
|
3682
|
+
height?: number;
|
|
3683
|
+
/** Stroke / fill color */
|
|
3684
|
+
color?: string;
|
|
3685
|
+
/** Stroke width (line mode only) */
|
|
3686
|
+
strokeWidth?: number;
|
|
3687
|
+
/** Fill area under the line with a semi-transparent color */
|
|
3688
|
+
area?: boolean;
|
|
3689
|
+
/** Show a floating value label on hover (line mode only) */
|
|
3690
|
+
showTooltip?: boolean;
|
|
3691
|
+
/** Highlight the nearest data point with a dot on hover (line mode only) */
|
|
3692
|
+
showHighlight?: boolean;
|
|
3693
|
+
/** Fixed y-axis minimum (overrides auto-computed domain) */
|
|
3694
|
+
yMin?: number;
|
|
3695
|
+
/** Fixed y-axis maximum (overrides auto-computed domain) */
|
|
3696
|
+
yMax?: number;
|
|
3697
|
+
/** CSS class on the SVG element */
|
|
3698
|
+
className?: string;
|
|
3699
|
+
}
|
|
3700
|
+
interface ChartRangeBarProps {
|
|
3701
|
+
/** Data key for the low value */
|
|
3702
|
+
lowKey: string;
|
|
3703
|
+
/** Data key for the high value */
|
|
3704
|
+
highKey: string;
|
|
3705
|
+
/** Fill color */
|
|
3706
|
+
color?: string;
|
|
3707
|
+
/** Legend / tooltip label */
|
|
3708
|
+
name?: string;
|
|
3709
|
+
/** Corner radius */
|
|
3710
|
+
radius?: number;
|
|
3711
|
+
className?: string;
|
|
3712
|
+
}
|
|
3713
|
+
interface ChartReferenceLineProps {
|
|
3714
|
+
/** Horizontal reference value (y) */
|
|
3715
|
+
y?: number;
|
|
3716
|
+
/** Vertical reference value (x) */
|
|
3717
|
+
x?: string | number;
|
|
3718
|
+
/** Label text */
|
|
3719
|
+
label?: string;
|
|
3720
|
+
/** Line stroke color */
|
|
3721
|
+
stroke?: string;
|
|
3722
|
+
/** Dash pattern */
|
|
3723
|
+
strokeDasharray?: string;
|
|
3724
|
+
className?: string;
|
|
3725
|
+
}
|
|
3726
|
+
interface ChartReferenceAreaProps {
|
|
3727
|
+
/** Low y bound */
|
|
3728
|
+
y1?: number;
|
|
3729
|
+
/** High y bound */
|
|
3730
|
+
y2?: number;
|
|
3731
|
+
/** Left x bound */
|
|
3732
|
+
x1?: string | number;
|
|
3733
|
+
/** Right x bound */
|
|
3734
|
+
x2?: string | number;
|
|
3735
|
+
/** Fill color */
|
|
3736
|
+
fill?: string;
|
|
3737
|
+
/** Fill opacity */
|
|
3738
|
+
fillOpacity?: number;
|
|
3739
|
+
className?: string;
|
|
3740
|
+
}
|
|
3741
|
+
interface ChartRadialBarRootProps {
|
|
3742
|
+
data: object[];
|
|
3743
|
+
width?: number;
|
|
3744
|
+
height?: number;
|
|
3745
|
+
/** Gap between bars in px */
|
|
3746
|
+
gap?: number;
|
|
3747
|
+
className?: string;
|
|
3748
|
+
accessibilityLabel?: string;
|
|
3749
|
+
children?: React.ReactNode;
|
|
3750
|
+
}
|
|
3751
|
+
interface ChartRadialBarProps {
|
|
3752
|
+
/** Data key for arc length values */
|
|
3753
|
+
dataKey: string;
|
|
3754
|
+
/** Key for slice labels */
|
|
3755
|
+
nameKey?: string;
|
|
3756
|
+
/** Color overrides */
|
|
3757
|
+
colors?: string[];
|
|
3758
|
+
/** Inner radius fraction of min(w,h)/2 */
|
|
3759
|
+
innerRadius?: number;
|
|
3760
|
+
/** Outer radius fraction of min(w,h)/2 */
|
|
3761
|
+
outerRadius?: number;
|
|
3762
|
+
/**
|
|
3763
|
+
* 'vertical' (default): radius encodes value
|
|
3764
|
+
* 'horizontal': angle sweeps encode value
|
|
3765
|
+
*/
|
|
3766
|
+
layout?: 'vertical' | 'horizontal';
|
|
3767
|
+
className?: string;
|
|
3768
|
+
}
|
|
3769
|
+
interface WaterfallEntry {
|
|
3770
|
+
name: string;
|
|
3771
|
+
value: number;
|
|
3772
|
+
color?: string;
|
|
3773
|
+
}
|
|
3774
|
+
interface ChartWaterfallProps {
|
|
3775
|
+
data: WaterfallEntry[];
|
|
3776
|
+
width?: number;
|
|
3777
|
+
height?: number;
|
|
3778
|
+
margin?: Partial<ChartMargin>;
|
|
3779
|
+
className?: string;
|
|
3780
|
+
accessibilityLabel?: string;
|
|
3781
|
+
}
|
|
3782
|
+
interface SankeyNode {
|
|
3783
|
+
id: string;
|
|
3784
|
+
color?: string;
|
|
3785
|
+
}
|
|
3786
|
+
interface SankeyLink {
|
|
3787
|
+
source: string;
|
|
3788
|
+
target: string;
|
|
3789
|
+
value: number;
|
|
3790
|
+
}
|
|
3791
|
+
interface ChartSankeyProps {
|
|
3792
|
+
nodes: SankeyNode[];
|
|
3793
|
+
links: SankeyLink[];
|
|
3794
|
+
width?: number;
|
|
3795
|
+
height?: number;
|
|
3796
|
+
nodePadding?: number;
|
|
3797
|
+
nodeWidth?: number;
|
|
3798
|
+
/** Node alignment strategy. Default: 'justify' */
|
|
3799
|
+
nodeAlignment?: 'left' | 'right' | 'justify' | 'center';
|
|
3800
|
+
/** Show value labels on links */
|
|
3801
|
+
showLinkValues?: boolean;
|
|
3802
|
+
className?: string;
|
|
3803
|
+
accessibilityLabel?: string;
|
|
3804
|
+
}
|
|
3805
|
+
interface ChartPyramidProps {
|
|
3806
|
+
data: Array<{
|
|
3807
|
+
name: string;
|
|
3808
|
+
value: number;
|
|
3809
|
+
color?: string;
|
|
3810
|
+
}>;
|
|
3811
|
+
width?: number;
|
|
3812
|
+
height?: number;
|
|
3813
|
+
labelPosition?: LabelPosition;
|
|
3814
|
+
className?: string;
|
|
3815
|
+
accessibilityLabel?: string;
|
|
3816
|
+
onSegmentClick?: (entry: {
|
|
3817
|
+
name: string;
|
|
3818
|
+
value: number;
|
|
3819
|
+
color?: string;
|
|
3820
|
+
}, index: number) => void;
|
|
3821
|
+
}
|
|
3822
|
+
interface GanttTask {
|
|
3823
|
+
id: string;
|
|
3824
|
+
name: string;
|
|
3825
|
+
start: number;
|
|
3826
|
+
end: number;
|
|
3827
|
+
color?: string;
|
|
3828
|
+
group?: string;
|
|
3829
|
+
}
|
|
3830
|
+
interface ChartGanttProps {
|
|
3831
|
+
tasks: GanttTask[];
|
|
3832
|
+
width?: number;
|
|
3833
|
+
height?: number;
|
|
3834
|
+
margin?: Partial<ChartMargin>;
|
|
3835
|
+
className?: string;
|
|
3836
|
+
accessibilityLabel?: string;
|
|
3837
|
+
}
|
|
3838
|
+
interface ChartRadialLineRootProps {
|
|
3839
|
+
data: object[];
|
|
3840
|
+
width?: number;
|
|
3841
|
+
height?: number;
|
|
3842
|
+
className?: string;
|
|
3843
|
+
accessibilityLabel?: string;
|
|
3844
|
+
children?: React.ReactNode;
|
|
3845
|
+
}
|
|
3846
|
+
interface ChartRadialLineProps {
|
|
3847
|
+
dataKey: string;
|
|
3848
|
+
nameKey?: string;
|
|
3849
|
+
color?: string;
|
|
3850
|
+
curve?: CurveType;
|
|
3851
|
+
closePath?: boolean;
|
|
3852
|
+
area?: boolean;
|
|
3853
|
+
fillOpacity?: number;
|
|
3854
|
+
dot?: boolean;
|
|
3855
|
+
dotRadius?: number;
|
|
3856
|
+
strokeWidth?: number;
|
|
3857
|
+
className?: string;
|
|
3858
|
+
}
|
|
3859
|
+
interface ChartHistogramProps {
|
|
3860
|
+
data: number[];
|
|
3861
|
+
bins?: number;
|
|
3862
|
+
color?: string;
|
|
3863
|
+
width?: number;
|
|
3864
|
+
height?: number;
|
|
3865
|
+
margin?: Partial<ChartMargin>;
|
|
3866
|
+
showGrid?: boolean;
|
|
3867
|
+
className?: string;
|
|
3868
|
+
accessibilityLabel?: string;
|
|
3869
|
+
}
|
|
3870
|
+
interface BoxplotEntry {
|
|
3871
|
+
name: string;
|
|
3872
|
+
min: number;
|
|
3873
|
+
q1: number;
|
|
3874
|
+
median: number;
|
|
3875
|
+
q3: number;
|
|
3876
|
+
max: number;
|
|
3877
|
+
color?: string;
|
|
3878
|
+
outliers?: number[];
|
|
3879
|
+
}
|
|
3880
|
+
interface ChartBoxplotProps {
|
|
3881
|
+
data: BoxplotEntry[];
|
|
3882
|
+
width?: number;
|
|
3883
|
+
height?: number;
|
|
3884
|
+
margin?: Partial<ChartMargin>;
|
|
3885
|
+
orientation?: 'vertical' | 'horizontal';
|
|
3886
|
+
className?: string;
|
|
3887
|
+
accessibilityLabel?: string;
|
|
3888
|
+
}
|
|
3889
|
+
interface SunburstNode {
|
|
3890
|
+
name: string;
|
|
3891
|
+
value?: number;
|
|
3892
|
+
children?: SunburstNode[];
|
|
3893
|
+
color?: string;
|
|
3894
|
+
}
|
|
3895
|
+
interface ChartSunburstProps {
|
|
3896
|
+
data: SunburstNode;
|
|
3897
|
+
width?: number;
|
|
3898
|
+
height?: number;
|
|
3899
|
+
innerRadius?: number;
|
|
3900
|
+
className?: string;
|
|
3901
|
+
accessibilityLabel?: string;
|
|
3902
|
+
onNodeClick?: (node: SunburstNode) => void;
|
|
3903
|
+
}
|
|
3904
|
+
interface ChartChordProps {
|
|
3905
|
+
data: number[][];
|
|
3906
|
+
labels: string[];
|
|
3907
|
+
colors?: string[];
|
|
3908
|
+
width?: number;
|
|
3909
|
+
height?: number;
|
|
3910
|
+
padAngle?: number;
|
|
3911
|
+
className?: string;
|
|
3912
|
+
accessibilityLabel?: string;
|
|
3913
|
+
}
|
|
3914
|
+
interface ChartRangeAreaProps {
|
|
3915
|
+
lowKey: string;
|
|
3916
|
+
highKey: string;
|
|
3917
|
+
color?: string;
|
|
3918
|
+
name?: string;
|
|
3919
|
+
fillOpacity?: number;
|
|
3920
|
+
curve?: CurveType;
|
|
3921
|
+
className?: string;
|
|
3922
|
+
}
|
|
3923
|
+
interface ChartLinearGaugeProps {
|
|
3924
|
+
value: number;
|
|
3925
|
+
min?: number;
|
|
3926
|
+
max?: number;
|
|
3927
|
+
width?: number;
|
|
3928
|
+
height?: number;
|
|
3929
|
+
thickness?: number;
|
|
3930
|
+
colorStops?: [number, string][];
|
|
3931
|
+
showLabel?: boolean;
|
|
3932
|
+
label?: string | ((v: number, min: number, max: number) => string);
|
|
3933
|
+
cornerRadius?: number;
|
|
3934
|
+
className?: string;
|
|
3935
|
+
accessibilityLabel?: string;
|
|
3936
|
+
}
|
|
3937
|
+
interface ChartPieCenterLabelProps {
|
|
3938
|
+
children: React.ReactNode;
|
|
3939
|
+
className?: string;
|
|
3940
|
+
}
|
|
3941
|
+
interface ChartGaugePointerProps {
|
|
3942
|
+
color?: string;
|
|
3943
|
+
length?: number;
|
|
3944
|
+
width?: number;
|
|
3945
|
+
className?: string;
|
|
3946
|
+
}
|
|
3947
|
+
|
|
3948
|
+
/**
|
|
3949
|
+
* Root container for cartesian charts (Bar, Line, Area, Scatter, Bubble).
|
|
3950
|
+
* Sets up scales, context, and the SVG viewport.
|
|
3951
|
+
*/
|
|
3952
|
+
declare const Root: React.ForwardRefExoticComponent<ChartRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3953
|
+
declare const Grid: React.ForwardRefExoticComponent<ChartGridProps & React.RefAttributes<SVGGElement>>;
|
|
3954
|
+
declare const XAxis: React.ForwardRefExoticComponent<ChartXAxisProps & React.RefAttributes<SVGGElement>>;
|
|
3955
|
+
declare const YAxis: React.ForwardRefExoticComponent<ChartYAxisProps & React.RefAttributes<SVGGElement>>;
|
|
3956
|
+
declare const Bar: React.ForwardRefExoticComponent<ChartBarProps & React.RefAttributes<SVGGElement>>;
|
|
3957
|
+
declare const Line: React.ForwardRefExoticComponent<ChartLineProps & React.RefAttributes<SVGGElement>>;
|
|
3958
|
+
declare const Area: React.ForwardRefExoticComponent<ChartAreaProps & React.RefAttributes<SVGGElement>>;
|
|
3959
|
+
declare const Scatter: React.ForwardRefExoticComponent<ChartScatterProps & React.RefAttributes<SVGGElement>>;
|
|
3960
|
+
declare const Bubble: React.ForwardRefExoticComponent<ChartBubbleProps & React.RefAttributes<SVGGElement>>;
|
|
3961
|
+
declare const Tooltip: React.ForwardRefExoticComponent<ChartTooltipProps & React.RefAttributes<HTMLDivElement>>;
|
|
3962
|
+
declare const Legend: React.ForwardRefExoticComponent<ChartLegendProps & React.RefAttributes<HTMLDivElement>>;
|
|
3963
|
+
declare const PieRoot: React.ForwardRefExoticComponent<ChartPieRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3964
|
+
declare const Pie: React.ForwardRefExoticComponent<ChartPieProps & React.RefAttributes<SVGGElement>>;
|
|
3965
|
+
declare const RadarRoot: React.ForwardRefExoticComponent<ChartRadarRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
3966
|
+
declare const PolarGrid: React.ForwardRefExoticComponent<ChartPolarGridProps & React.RefAttributes<SVGGElement>>;
|
|
3967
|
+
declare const PolarAngleAxis: React.ForwardRefExoticComponent<ChartPolarAngleAxisProps & React.RefAttributes<SVGGElement>>;
|
|
3968
|
+
declare const Radar: React.ForwardRefExoticComponent<ChartRadarProps & React.RefAttributes<SVGGElement>>;
|
|
3969
|
+
declare const Heatmap: React.ForwardRefExoticComponent<ChartHeatmapProps & React.RefAttributes<HTMLDivElement>>;
|
|
3970
|
+
declare const Treemap: React.ForwardRefExoticComponent<ChartTreemapProps & React.RefAttributes<HTMLDivElement>>;
|
|
3971
|
+
declare const Funnel: React.ForwardRefExoticComponent<ChartFunnelProps & React.RefAttributes<HTMLDivElement>>;
|
|
3972
|
+
declare const Gauge: React.ForwardRefExoticComponent<ChartGaugeProps & React.RefAttributes<HTMLDivElement>>;
|
|
3973
|
+
/**
|
|
3974
|
+
* Headless gauge wrapper that provides a GaugeContext to child arc components.
|
|
3975
|
+
* Renders an SVG centered with the given width/height.
|
|
3976
|
+
*/
|
|
3977
|
+
declare const GaugeContainer: React.ForwardRefExoticComponent<ChartGaugeContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
3978
|
+
/**
|
|
3979
|
+
* The colored value arc inside a GaugeContainer.
|
|
3980
|
+
* Reads value/angle context from GaugeContainer.
|
|
3981
|
+
*/
|
|
3982
|
+
declare const GaugeValueArc: React.ForwardRefExoticComponent<ChartGaugeValueArcProps & React.RefAttributes<SVGPathElement>>;
|
|
3983
|
+
/**
|
|
3984
|
+
* The gray background track arc inside a GaugeContainer.
|
|
3985
|
+
*/
|
|
3986
|
+
declare const GaugeReferenceArc: React.ForwardRefExoticComponent<ChartGaugeReferenceArcProps & React.RefAttributes<SVGPathElement>>;
|
|
3987
|
+
declare const CandlestickChart: React.ForwardRefExoticComponent<ChartCandlestickProps & React.RefAttributes<HTMLDivElement>>;
|
|
3988
|
+
/**
|
|
3989
|
+
* Compact inline sparkline chart (no axes, no tooltip).
|
|
3990
|
+
* Renders a tiny SVG line or bar chart from a plain number array.
|
|
3991
|
+
*/
|
|
3992
|
+
declare const SparkLine: React.ForwardRefExoticComponent<ChartSparkLineProps & React.RefAttributes<SVGSVGElement>>;
|
|
3993
|
+
/**
|
|
3994
|
+
* Floating bar series — renders bars from yScale(low) to yScale(high).
|
|
3995
|
+
* Must be used inside Chart.Root.
|
|
3996
|
+
*/
|
|
3997
|
+
declare const RangeBar: React.ForwardRefExoticComponent<ChartRangeBarProps & React.RefAttributes<SVGGElement>>;
|
|
3998
|
+
/**
|
|
3999
|
+
* Horizontal or vertical reference line drawn across the plot area.
|
|
4000
|
+
* Must be used inside Chart.Root.
|
|
4001
|
+
*/
|
|
4002
|
+
declare const ReferenceLine: React.ForwardRefExoticComponent<ChartReferenceLineProps & React.RefAttributes<SVGGElement>>;
|
|
4003
|
+
/**
|
|
4004
|
+
* Shaded rectangular region drawn on the plot area.
|
|
4005
|
+
* Must be used inside Chart.Root.
|
|
4006
|
+
*/
|
|
4007
|
+
declare const ReferenceArea: React.ForwardRefExoticComponent<ChartReferenceAreaProps & React.RefAttributes<SVGGElement>>;
|
|
4008
|
+
/**
|
|
4009
|
+
* Root container for radial bar (polar bar) charts.
|
|
4010
|
+
*/
|
|
4011
|
+
declare const RadialBarRoot: React.ForwardRefExoticComponent<ChartRadialBarRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
4012
|
+
/**
|
|
4013
|
+
* Radial bar series — each data row gets one arc at a different radius level.
|
|
4014
|
+
* Must be used inside Chart.RadialBarRoot.
|
|
4015
|
+
*/
|
|
4016
|
+
declare const RadialBar: React.ForwardRefExoticComponent<ChartRadialBarProps & React.RefAttributes<SVGGElement>>;
|
|
4017
|
+
/**
|
|
4018
|
+
* Waterfall chart — bars start where the previous bar ended.
|
|
4019
|
+
* Positive values go up, negative go down. Connector lines link bars.
|
|
4020
|
+
*/
|
|
4021
|
+
declare const Waterfall: React.ForwardRefExoticComponent<ChartWaterfallProps & React.RefAttributes<HTMLDivElement>>;
|
|
4022
|
+
/**
|
|
4023
|
+
* Basic Sankey diagram — nodes + bezier curved links proportional to value.
|
|
4024
|
+
*/
|
|
4025
|
+
declare const Sankey: React.ForwardRefExoticComponent<ChartSankeyProps & React.RefAttributes<HTMLDivElement>>;
|
|
4026
|
+
/**
|
|
4027
|
+
* Pyramid chart — like Funnel but widest at bottom (rows reversed).
|
|
4028
|
+
* Shares the same funnel layout algorithm with reversed data order.
|
|
4029
|
+
*/
|
|
4030
|
+
declare const Pyramid: React.ForwardRefExoticComponent<ChartPyramidProps & React.RefAttributes<HTMLDivElement>>;
|
|
4031
|
+
/**
|
|
4032
|
+
* Gantt chart — horizontal bars on a numeric time axis.
|
|
4033
|
+
* Each task gets its own row.
|
|
4034
|
+
*/
|
|
4035
|
+
declare const Gantt: React.ForwardRefExoticComponent<ChartGanttProps & React.RefAttributes<HTMLDivElement>>;
|
|
4036
|
+
declare const RadialLineRoot: React.ForwardRefExoticComponent<ChartRadialLineRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
4037
|
+
declare const RadialLine: React.ForwardRefExoticComponent<ChartRadialLineProps & React.RefAttributes<SVGGElement>>;
|
|
4038
|
+
declare const Histogram: React.ForwardRefExoticComponent<ChartHistogramProps & React.RefAttributes<HTMLDivElement>>;
|
|
4039
|
+
declare const Boxplot: React.ForwardRefExoticComponent<ChartBoxplotProps & React.RefAttributes<HTMLDivElement>>;
|
|
4040
|
+
declare const Sunburst: React.ForwardRefExoticComponent<ChartSunburstProps & React.RefAttributes<HTMLDivElement>>;
|
|
4041
|
+
declare const Chord: React.ForwardRefExoticComponent<ChartChordProps & React.RefAttributes<HTMLDivElement>>;
|
|
4042
|
+
declare const RangeArea: React.ForwardRefExoticComponent<ChartRangeAreaProps & React.RefAttributes<SVGGElement>>;
|
|
4043
|
+
declare const LinearGauge: React.ForwardRefExoticComponent<ChartLinearGaugeProps & React.RefAttributes<HTMLDivElement>>;
|
|
4044
|
+
declare const PieCenterLabel: React.ForwardRefExoticComponent<ChartPieCenterLabelProps & React.RefAttributes<SVGGElement>>;
|
|
4045
|
+
declare const GaugePointer: React.ForwardRefExoticComponent<ChartGaugePointerProps & React.RefAttributes<SVGGElement>>;
|
|
4046
|
+
|
|
4047
|
+
/**
|
|
4048
|
+
* Minimal scale implementations — no d3 dependency.
|
|
4049
|
+
* Each scale maps a domain value to a range pixel value.
|
|
4050
|
+
*/
|
|
4051
|
+
/**
|
|
4052
|
+
* Maps a continuous numeric domain to a continuous numeric range.
|
|
4053
|
+
*/
|
|
4054
|
+
declare function linearScale(domain: [number, number], range: [number, number]): (value: number) => number;
|
|
4055
|
+
/**
|
|
4056
|
+
* Logarithmic (base-10) scale. Domain must be > 0.
|
|
4057
|
+
*/
|
|
4058
|
+
declare function logScale(domain: [number, number], range: [number, number]): (value: number) => number;
|
|
4059
|
+
interface BandScale {
|
|
4060
|
+
/** Maps a domain value to the start pixel of its band */
|
|
4061
|
+
scale: (value: string) => number;
|
|
4062
|
+
/** The width of each band (after inner padding) */
|
|
4063
|
+
bandwidth: number;
|
|
4064
|
+
/** The step size from one band start to the next */
|
|
4065
|
+
step: number;
|
|
4066
|
+
}
|
|
4067
|
+
/**
|
|
4068
|
+
* Divides a range evenly among discrete domain values with optional padding.
|
|
4069
|
+
*
|
|
4070
|
+
* @param domain Ordered list of category strings
|
|
4071
|
+
* @param range [start, end] pixel range
|
|
4072
|
+
* @param paddingInner Gap between bands as a fraction of step (0–1)
|
|
4073
|
+
* @param paddingOuter Gap at range edges as a fraction of step (0–1)
|
|
4074
|
+
*/
|
|
4075
|
+
declare function bandScale(domain: string[], range: [number, number], paddingInner?: number, paddingOuter?: number): BandScale;
|
|
4076
|
+
/**
|
|
4077
|
+
* Maps domain strings to range values (usually colors) by cycling.
|
|
4078
|
+
*/
|
|
4079
|
+
declare function ordinalScale(domain: string[], range: string[]): (value: string) => string;
|
|
4080
|
+
/**
|
|
4081
|
+
* Generate "nice" linear tick values spanning [min, max].
|
|
4082
|
+
* Returns approximately `count` ticks on round numbers.
|
|
4083
|
+
*/
|
|
4084
|
+
declare function niceLinearTicks(min: number, max: number, count?: number): number[];
|
|
4085
|
+
/**
|
|
4086
|
+
* Round a domain extent to nice bounds for display.
|
|
4087
|
+
*/
|
|
4088
|
+
declare function niceDomain(min: number, max: number, count?: number): [number, number];
|
|
4089
|
+
/**
|
|
4090
|
+
* Returns [min, max] of a numeric array.
|
|
4091
|
+
*/
|
|
4092
|
+
declare function extent(values: number[]): [number, number];
|
|
4093
|
+
/**
|
|
4094
|
+
* Computes y-domain from a data array using multiple data keys.
|
|
4095
|
+
* If any series has a stackId, domains are summed per index.
|
|
4096
|
+
*/
|
|
4097
|
+
declare function computeYDomain(data: Record<string, unknown>[], dataKeys: string[], stackIds: (string | undefined)[], includeZero?: boolean): [number, number];
|
|
4098
|
+
|
|
4099
|
+
/**
|
|
4100
|
+
* SVG path string generators — no external dependencies.
|
|
4101
|
+
*/
|
|
4102
|
+
|
|
4103
|
+
type Point = [number, number];
|
|
4104
|
+
/**
|
|
4105
|
+
* Build an SVG path `d` string from an array of [x, y] points.
|
|
4106
|
+
* Supports linear, catmullRom, step, stepBefore, and stepAfter interpolation.
|
|
4107
|
+
*/
|
|
4108
|
+
declare function buildLinePath(points: Point[], curve?: CurveType): string;
|
|
4109
|
+
/**
|
|
4110
|
+
* Build a closed SVG path for an area chart.
|
|
4111
|
+
* @param topPoints Upper edge [[x,y], ...]
|
|
4112
|
+
* @param bottomPoints Lower edge — same length as topPoints. For non-stacked
|
|
4113
|
+
* areas, provide a constant y0 value via `buildAreaPathFlat`.
|
|
4114
|
+
* @param curve Curve interpolation applied to the top edge
|
|
4115
|
+
*/
|
|
4116
|
+
declare function buildAreaPath(topPoints: Point[], bottomPoints: Point[], curve?: CurveType): string;
|
|
4117
|
+
/**
|
|
4118
|
+
* Simpler area path where all bottom points share one y0 value.
|
|
4119
|
+
*/
|
|
4120
|
+
declare function buildAreaPathFlat(topPoints: Point[], y0: number, curve?: CurveType): string;
|
|
4121
|
+
/**
|
|
4122
|
+
* Build an SVG arc path for a pie/donut slice.
|
|
4123
|
+
* Angles are in radians, measured clockwise from the top (12 o'clock).
|
|
4124
|
+
*/
|
|
4125
|
+
declare function buildArcPath(cx: number, cy: number, outerRadius: number, innerRadius: number, startAngle: number, endAngle: number, cornerRadius?: number): string;
|
|
4126
|
+
/**
|
|
4127
|
+
* Build a closed polygon SVG path for a radar chart series.
|
|
4128
|
+
* @param values Normalised values in [0, 1] for each axis
|
|
4129
|
+
* @param cx Center x
|
|
4130
|
+
* @param cy Center y
|
|
4131
|
+
* @param radius Max radius
|
|
4132
|
+
*/
|
|
4133
|
+
declare function buildRadarPath(values: number[], cx: number, cy: number, radius: number): string;
|
|
4134
|
+
/**
|
|
4135
|
+
* Returns SVG rect props for a bar with optional rounded top corners.
|
|
4136
|
+
*/
|
|
4137
|
+
interface BarRectProps {
|
|
4138
|
+
x: number;
|
|
4139
|
+
y: number;
|
|
4140
|
+
width: number;
|
|
4141
|
+
height: number;
|
|
4142
|
+
rx: number;
|
|
4143
|
+
ry: number;
|
|
4144
|
+
}
|
|
4145
|
+
declare function buildBarRect(x: number, y: number, width: number, height: number, radius?: number, _orientation?: 'vertical' | 'horizontal'): BarRectProps;
|
|
4146
|
+
declare function fmt(n: number): string;
|
|
4147
|
+
|
|
4148
|
+
/**
|
|
4149
|
+
* Layout algorithms: Squarified Treemap, Funnel layout.
|
|
4150
|
+
* No external dependencies.
|
|
4151
|
+
*/
|
|
4152
|
+
interface TreemapLayoutNode {
|
|
4153
|
+
name: string;
|
|
4154
|
+
value: number;
|
|
4155
|
+
x: number;
|
|
4156
|
+
y: number;
|
|
4157
|
+
width: number;
|
|
4158
|
+
height: number;
|
|
4159
|
+
depth: number;
|
|
4160
|
+
color?: string;
|
|
4161
|
+
children?: TreemapLayoutNode[];
|
|
4162
|
+
}
|
|
4163
|
+
interface RawNode {
|
|
4164
|
+
name: string;
|
|
4165
|
+
value?: number;
|
|
4166
|
+
children?: RawNode[];
|
|
4167
|
+
color?: string;
|
|
4168
|
+
}
|
|
4169
|
+
/**
|
|
4170
|
+
* Compute a squarified treemap layout.
|
|
4171
|
+
* Returns a flat list of leaf nodes with computed x/y/width/height.
|
|
4172
|
+
*/
|
|
4173
|
+
declare function squarifyTreemap(nodes: RawNode[], x: number, y: number, width: number, height: number, padding?: number, depth?: number): TreemapLayoutNode[];
|
|
4174
|
+
interface FunnelLayoutSegment {
|
|
4175
|
+
name: string;
|
|
4176
|
+
value: number;
|
|
4177
|
+
color?: string;
|
|
4178
|
+
/** Trapezoid top-left x */
|
|
4179
|
+
x1: number;
|
|
4180
|
+
/** Trapezoid top-right x */
|
|
4181
|
+
x2: number;
|
|
4182
|
+
/** Trapezoid bottom-left x */
|
|
4183
|
+
x3: number;
|
|
4184
|
+
/** Trapezoid bottom-right x */
|
|
4185
|
+
x4: number;
|
|
4186
|
+
/** Top y */
|
|
4187
|
+
y1: number;
|
|
4188
|
+
/** Bottom y */
|
|
4189
|
+
y2: number;
|
|
4190
|
+
/** SVG path string */
|
|
4191
|
+
path: string;
|
|
4192
|
+
/** Percentage of first item */
|
|
4193
|
+
percentage: number;
|
|
4194
|
+
}
|
|
4195
|
+
/**
|
|
4196
|
+
* Compute funnel trapezoid positions.
|
|
4197
|
+
* Each segment is a trapezoid that narrows from top to bottom proportionally.
|
|
4198
|
+
*/
|
|
4199
|
+
declare function computeFunnelLayout(data: Array<{
|
|
4200
|
+
name: string;
|
|
4201
|
+
value: number;
|
|
4202
|
+
color?: string;
|
|
4203
|
+
}>, x: number, y: number, width: number, height: number, gap?: number): FunnelLayoutSegment[];
|
|
4204
|
+
interface GaugeArcData {
|
|
4205
|
+
/** Background (track) arc path */
|
|
4206
|
+
trackPath: string;
|
|
4207
|
+
/** Filled arc path */
|
|
4208
|
+
fillPath: string;
|
|
4209
|
+
/** Center x */
|
|
4210
|
+
cx: number;
|
|
4211
|
+
/** Center y */
|
|
4212
|
+
cy: number;
|
|
4213
|
+
/** Outer radius */
|
|
4214
|
+
outerRadius: number;
|
|
4215
|
+
/** Inner radius */
|
|
4216
|
+
innerRadius: number;
|
|
4217
|
+
/** Normalised value [0, 1] */
|
|
4218
|
+
fraction: number;
|
|
4219
|
+
}
|
|
4220
|
+
/**
|
|
4221
|
+
* Compute paths for an arc-style gauge.
|
|
4222
|
+
* Angles use SVG convention: measured clockwise from top (12 o'clock).
|
|
4223
|
+
*
|
|
4224
|
+
* @param value Current value
|
|
4225
|
+
* @param min Minimum value
|
|
4226
|
+
* @param max Maximum value
|
|
4227
|
+
* @param startDeg Start angle in degrees (clockwise from top)
|
|
4228
|
+
* @param endDeg End angle in degrees
|
|
4229
|
+
* @param outerRadius Outer edge radius
|
|
4230
|
+
* @param thickness Arc thickness (pixels)
|
|
4231
|
+
*/
|
|
4232
|
+
declare function computeGaugeArcs(value: number, min: number, max: number, startDeg: number, endDeg: number, outerRadius: number, thickness: number): GaugeArcData;
|
|
4233
|
+
interface CandlestickBar {
|
|
4234
|
+
x: number;
|
|
4235
|
+
candleWidth: number;
|
|
4236
|
+
openY: number;
|
|
4237
|
+
closeY: number;
|
|
4238
|
+
highY: number;
|
|
4239
|
+
lowY: number;
|
|
4240
|
+
bullish: boolean;
|
|
4241
|
+
}
|
|
4242
|
+
/**
|
|
4243
|
+
* Compute candlestick bar positions from OHLC data.
|
|
4244
|
+
*/
|
|
4245
|
+
declare function computeCandlestickBars(data: Array<{
|
|
4246
|
+
open: number;
|
|
4247
|
+
high: number;
|
|
4248
|
+
low: number;
|
|
4249
|
+
close: number;
|
|
4250
|
+
}>, xScale: (index: number) => number, yScale: (value: number) => number, bandWidth: number): CandlestickBar[];
|
|
4251
|
+
interface HeatmapCell {
|
|
4252
|
+
xValue: string;
|
|
4253
|
+
yValue: string;
|
|
4254
|
+
value: number;
|
|
4255
|
+
x: number;
|
|
4256
|
+
y: number;
|
|
4257
|
+
width: number;
|
|
4258
|
+
height: number;
|
|
4259
|
+
normalised: number;
|
|
4260
|
+
}
|
|
4261
|
+
/**
|
|
4262
|
+
* Compute heatmap cell positions.
|
|
4263
|
+
*/
|
|
4264
|
+
declare function computeHeatmapCells(data: Record<string, unknown>[], xKey: string, yKey: string, valueKey: string, xScale: (v: string) => number, yScale: (v: string) => number, cellWidth: number, cellHeight: number): HeatmapCell[];
|
|
4265
|
+
|
|
4266
|
+
/**
|
|
4267
|
+
* @structyl/primitives — Chart
|
|
4268
|
+
*
|
|
4269
|
+
* Headless SVG chart primitives. No external chart library dependencies.
|
|
4270
|
+
* Provides all layout algorithms, scale functions, and path generators.
|
|
4271
|
+
*/
|
|
4272
|
+
|
|
4273
|
+
declare const index_Area: typeof Area;
|
|
4274
|
+
type index_AxisScale = AxisScale;
|
|
4275
|
+
declare const index_Bar: typeof Bar;
|
|
4276
|
+
type index_BarRectProps = BarRectProps;
|
|
4277
|
+
declare const index_Boxplot: typeof Boxplot;
|
|
4278
|
+
type index_BoxplotEntry = BoxplotEntry;
|
|
4279
|
+
declare const index_Bubble: typeof Bubble;
|
|
4280
|
+
type index_CandlestickBar = CandlestickBar;
|
|
4281
|
+
type index_CartesianContextValue = CartesianContextValue;
|
|
4282
|
+
type index_ChartAreaProps = ChartAreaProps;
|
|
4283
|
+
type index_ChartBarProps = ChartBarProps;
|
|
4284
|
+
type index_ChartBoxplotProps = ChartBoxplotProps;
|
|
4285
|
+
type index_ChartBubbleProps = ChartBubbleProps;
|
|
4286
|
+
type index_ChartCandlestickProps = ChartCandlestickProps;
|
|
4287
|
+
type index_ChartChordProps = ChartChordProps;
|
|
4288
|
+
type index_ChartDimensions = ChartDimensions;
|
|
4289
|
+
type index_ChartFunnelProps = ChartFunnelProps;
|
|
4290
|
+
type index_ChartGanttProps = ChartGanttProps;
|
|
4291
|
+
type index_ChartGaugeContainerProps = ChartGaugeContainerProps;
|
|
4292
|
+
type index_ChartGaugePointerProps = ChartGaugePointerProps;
|
|
4293
|
+
type index_ChartGaugeProps = ChartGaugeProps;
|
|
4294
|
+
type index_ChartGaugeReferenceArcProps = ChartGaugeReferenceArcProps;
|
|
4295
|
+
type index_ChartGaugeValueArcProps = ChartGaugeValueArcProps;
|
|
4296
|
+
type index_ChartGridProps = ChartGridProps;
|
|
4297
|
+
type index_ChartHeatmapProps = ChartHeatmapProps;
|
|
4298
|
+
type index_ChartHistogramProps = ChartHistogramProps;
|
|
4299
|
+
type index_ChartLegendProps = ChartLegendProps;
|
|
4300
|
+
type index_ChartLineProps = ChartLineProps;
|
|
4301
|
+
type index_ChartLinearGaugeProps = ChartLinearGaugeProps;
|
|
4302
|
+
type index_ChartMargin = ChartMargin;
|
|
4303
|
+
type index_ChartPieCenterLabelProps = ChartPieCenterLabelProps;
|
|
4304
|
+
type index_ChartPieProps = ChartPieProps;
|
|
4305
|
+
type index_ChartPieRootProps = ChartPieRootProps;
|
|
4306
|
+
type index_ChartPolarAngleAxisProps = ChartPolarAngleAxisProps;
|
|
4307
|
+
type index_ChartPolarGridProps = ChartPolarGridProps;
|
|
4308
|
+
type index_ChartPyramidProps = ChartPyramidProps;
|
|
4309
|
+
type index_ChartRadarProps = ChartRadarProps;
|
|
4310
|
+
type index_ChartRadarRootProps = ChartRadarRootProps;
|
|
4311
|
+
type index_ChartRadialBarProps = ChartRadialBarProps;
|
|
4312
|
+
type index_ChartRadialBarRootProps = ChartRadialBarRootProps;
|
|
4313
|
+
type index_ChartRadialLineProps = ChartRadialLineProps;
|
|
4314
|
+
type index_ChartRadialLineRootProps = ChartRadialLineRootProps;
|
|
4315
|
+
type index_ChartRangeAreaProps = ChartRangeAreaProps;
|
|
4316
|
+
type index_ChartRangeBarProps = ChartRangeBarProps;
|
|
4317
|
+
type index_ChartReferenceAreaProps = ChartReferenceAreaProps;
|
|
4318
|
+
type index_ChartReferenceLineProps = ChartReferenceLineProps;
|
|
4319
|
+
type index_ChartRootProps = ChartRootProps;
|
|
4320
|
+
type index_ChartSankeyProps = ChartSankeyProps;
|
|
4321
|
+
type index_ChartScatterProps = ChartScatterProps;
|
|
4322
|
+
type index_ChartSparkLineProps = ChartSparkLineProps;
|
|
4323
|
+
type index_ChartSunburstProps = ChartSunburstProps;
|
|
4324
|
+
type index_ChartTooltipProps = ChartTooltipProps;
|
|
4325
|
+
type index_ChartTreemapProps = ChartTreemapProps;
|
|
4326
|
+
type index_ChartWaterfallProps = ChartWaterfallProps;
|
|
4327
|
+
type index_ChartXAxisProps = ChartXAxisProps;
|
|
4328
|
+
type index_ChartYAxisProps = ChartYAxisProps;
|
|
4329
|
+
declare const index_Chord: typeof Chord;
|
|
4330
|
+
type index_CurveType = CurveType;
|
|
4331
|
+
declare const index_Funnel: typeof Funnel;
|
|
4332
|
+
type index_FunnelEntry = FunnelEntry;
|
|
4333
|
+
type index_FunnelLayoutSegment = FunnelLayoutSegment;
|
|
4334
|
+
declare const index_Gantt: typeof Gantt;
|
|
4335
|
+
type index_GanttTask = GanttTask;
|
|
4336
|
+
declare const index_Gauge: typeof Gauge;
|
|
4337
|
+
type index_GaugeArcData = GaugeArcData;
|
|
4338
|
+
declare const index_GaugeContainer: typeof GaugeContainer;
|
|
4339
|
+
type index_GaugeContextValue = GaugeContextValue;
|
|
4340
|
+
declare const index_GaugePointer: typeof GaugePointer;
|
|
4341
|
+
declare const index_GaugeReferenceArc: typeof GaugeReferenceArc;
|
|
4342
|
+
declare const index_GaugeValueArc: typeof GaugeValueArc;
|
|
4343
|
+
declare const index_Grid: typeof Grid;
|
|
4344
|
+
declare const index_Heatmap: typeof Heatmap;
|
|
4345
|
+
type index_HeatmapCell = HeatmapCell;
|
|
4346
|
+
type index_HighlightScope = HighlightScope;
|
|
4347
|
+
declare const index_Histogram: typeof Histogram;
|
|
4348
|
+
type index_LabelPosition = LabelPosition;
|
|
4349
|
+
declare const index_Legend: typeof Legend;
|
|
4350
|
+
type index_LegendPosition = LegendPosition;
|
|
4351
|
+
declare const index_Line: typeof Line;
|
|
4352
|
+
declare const index_LinearGauge: typeof LinearGauge;
|
|
4353
|
+
type index_MarkShape = MarkShape;
|
|
4354
|
+
type index_OhlcEntry = OhlcEntry;
|
|
4355
|
+
declare const index_Pie: typeof Pie;
|
|
4356
|
+
declare const index_PieCenterLabel: typeof PieCenterLabel;
|
|
4357
|
+
type index_PieContextValue = PieContextValue;
|
|
4358
|
+
declare const index_PieRoot: typeof PieRoot;
|
|
4359
|
+
declare const index_PolarAngleAxis: typeof PolarAngleAxis;
|
|
4360
|
+
declare const index_PolarGrid: typeof PolarGrid;
|
|
4361
|
+
declare const index_Pyramid: typeof Pyramid;
|
|
4362
|
+
declare const index_Radar: typeof Radar;
|
|
4363
|
+
type index_RadarContextValue = RadarContextValue;
|
|
4364
|
+
declare const index_RadarRoot: typeof RadarRoot;
|
|
4365
|
+
declare const index_RadialBar: typeof RadialBar;
|
|
4366
|
+
declare const index_RadialBarRoot: typeof RadialBarRoot;
|
|
4367
|
+
declare const index_RadialLine: typeof RadialLine;
|
|
4368
|
+
declare const index_RadialLineRoot: typeof RadialLineRoot;
|
|
4369
|
+
declare const index_RangeArea: typeof RangeArea;
|
|
4370
|
+
declare const index_RangeBar: typeof RangeBar;
|
|
4371
|
+
declare const index_ReferenceArea: typeof ReferenceArea;
|
|
4372
|
+
declare const index_ReferenceLine: typeof ReferenceLine;
|
|
4373
|
+
declare const index_Root: typeof Root;
|
|
4374
|
+
declare const index_Sankey: typeof Sankey;
|
|
4375
|
+
type index_SankeyLink = SankeyLink;
|
|
4376
|
+
type index_SankeyNode = SankeyNode;
|
|
4377
|
+
declare const index_Scatter: typeof Scatter;
|
|
4378
|
+
type index_ScatterMarkerShape = ScatterMarkerShape;
|
|
4379
|
+
declare const index_SparkLine: typeof SparkLine;
|
|
4380
|
+
declare const index_Sunburst: typeof Sunburst;
|
|
4381
|
+
type index_SunburstNode = SunburstNode;
|
|
4382
|
+
declare const index_Tooltip: typeof Tooltip;
|
|
4383
|
+
type index_TooltipPayloadEntry = TooltipPayloadEntry;
|
|
4384
|
+
type index_TooltipState = TooltipState;
|
|
4385
|
+
declare const index_Treemap: typeof Treemap;
|
|
4386
|
+
type index_TreemapLayoutNode = TreemapLayoutNode;
|
|
4387
|
+
type index_TreemapNode = TreemapNode;
|
|
4388
|
+
declare const index_Waterfall: typeof Waterfall;
|
|
4389
|
+
type index_WaterfallEntry = WaterfallEntry;
|
|
4390
|
+
declare const index_XAxis: typeof XAxis;
|
|
4391
|
+
declare const index_YAxis: typeof YAxis;
|
|
4392
|
+
declare const index_bandScale: typeof bandScale;
|
|
4393
|
+
declare const index_buildArcPath: typeof buildArcPath;
|
|
4394
|
+
declare const index_buildAreaPath: typeof buildAreaPath;
|
|
4395
|
+
declare const index_buildAreaPathFlat: typeof buildAreaPathFlat;
|
|
4396
|
+
declare const index_buildBarRect: typeof buildBarRect;
|
|
4397
|
+
declare const index_buildLinePath: typeof buildLinePath;
|
|
4398
|
+
declare const index_buildRadarPath: typeof buildRadarPath;
|
|
4399
|
+
declare const index_computeCandlestickBars: typeof computeCandlestickBars;
|
|
4400
|
+
declare const index_computeFunnelLayout: typeof computeFunnelLayout;
|
|
4401
|
+
declare const index_computeGaugeArcs: typeof computeGaugeArcs;
|
|
4402
|
+
declare const index_computeHeatmapCells: typeof computeHeatmapCells;
|
|
4403
|
+
declare const index_computeYDomain: typeof computeYDomain;
|
|
4404
|
+
declare const index_extent: typeof extent;
|
|
4405
|
+
declare const index_fmt: typeof fmt;
|
|
4406
|
+
declare const index_linearScale: typeof linearScale;
|
|
4407
|
+
declare const index_logScale: typeof logScale;
|
|
4408
|
+
declare const index_niceDomain: typeof niceDomain;
|
|
4409
|
+
declare const index_niceLinearTicks: typeof niceLinearTicks;
|
|
4410
|
+
declare const index_ordinalScale: typeof ordinalScale;
|
|
4411
|
+
declare const index_squarifyTreemap: typeof squarifyTreemap;
|
|
4412
|
+
declare namespace index {
|
|
4413
|
+
export { index_Area as Area, type index_AxisScale as AxisScale, index_Bar as Bar, type index_BarRectProps as BarRectProps, index_Boxplot as Boxplot, type index_BoxplotEntry as BoxplotEntry, index_Bubble as Bubble, CandlestickChart as Candlestick, type index_CandlestickBar as CandlestickBar, type index_CartesianContextValue as CartesianContextValue, type index_ChartAreaProps as ChartAreaProps, type index_ChartBarProps as ChartBarProps, type index_ChartBoxplotProps as ChartBoxplotProps, type index_ChartBubbleProps as ChartBubbleProps, type index_ChartCandlestickProps as ChartCandlestickProps, type index_ChartChordProps as ChartChordProps, type index_ChartDimensions as ChartDimensions, type index_ChartFunnelProps as ChartFunnelProps, type index_ChartGanttProps as ChartGanttProps, type index_ChartGaugeContainerProps as ChartGaugeContainerProps, type index_ChartGaugePointerProps as ChartGaugePointerProps, type index_ChartGaugeProps as ChartGaugeProps, type index_ChartGaugeReferenceArcProps as ChartGaugeReferenceArcProps, type index_ChartGaugeValueArcProps as ChartGaugeValueArcProps, type index_ChartGridProps as ChartGridProps, type index_ChartHeatmapProps as ChartHeatmapProps, type index_ChartHistogramProps as ChartHistogramProps, type index_ChartLegendProps as ChartLegendProps, type index_ChartLineProps as ChartLineProps, type index_ChartLinearGaugeProps as ChartLinearGaugeProps, type index_ChartMargin as ChartMargin, type index_ChartPieCenterLabelProps as ChartPieCenterLabelProps, type index_ChartPieProps as ChartPieProps, type index_ChartPieRootProps as ChartPieRootProps, type index_ChartPolarAngleAxisProps as ChartPolarAngleAxisProps, type index_ChartPolarGridProps as ChartPolarGridProps, type index_ChartPyramidProps as ChartPyramidProps, type index_ChartRadarProps as ChartRadarProps, type index_ChartRadarRootProps as ChartRadarRootProps, type index_ChartRadialBarProps as ChartRadialBarProps, type index_ChartRadialBarRootProps as ChartRadialBarRootProps, type index_ChartRadialLineProps as ChartRadialLineProps, type index_ChartRadialLineRootProps as ChartRadialLineRootProps, type index_ChartRangeAreaProps as ChartRangeAreaProps, type index_ChartRangeBarProps as ChartRangeBarProps, type index_ChartReferenceAreaProps as ChartReferenceAreaProps, type index_ChartReferenceLineProps as ChartReferenceLineProps, type index_ChartRootProps as ChartRootProps, type index_ChartSankeyProps as ChartSankeyProps, type index_ChartScatterProps as ChartScatterProps, type index_ChartSparkLineProps as ChartSparkLineProps, type index_ChartSunburstProps as ChartSunburstProps, type index_ChartTooltipProps as ChartTooltipProps, type index_ChartTreemapProps as ChartTreemapProps, type index_ChartWaterfallProps as ChartWaterfallProps, type index_ChartXAxisProps as ChartXAxisProps, type index_ChartYAxisProps as ChartYAxisProps, index_Chord as Chord, type index_CurveType as CurveType, index_Funnel as Funnel, type index_FunnelEntry as FunnelEntry, type index_FunnelLayoutSegment as FunnelLayoutSegment, index_Gantt as Gantt, type index_GanttTask as GanttTask, index_Gauge as Gauge, type index_GaugeArcData as GaugeArcData, index_GaugeContainer as GaugeContainer, type index_GaugeContextValue as GaugeContextValue, index_GaugePointer as GaugePointer, index_GaugeReferenceArc as GaugeReferenceArc, index_GaugeValueArc as GaugeValueArc, index_Grid as Grid, index_Heatmap as Heatmap, type index_HeatmapCell as HeatmapCell, type index_HighlightScope as HighlightScope, index_Histogram as Histogram, type index_LabelPosition as LabelPosition, index_Legend as Legend, type index_LegendPosition as LegendPosition, index_Line as Line, index_LinearGauge as LinearGauge, type index_MarkShape as MarkShape, type index_OhlcEntry as OhlcEntry, index_Pie as Pie, index_PieCenterLabel as PieCenterLabel, type index_PieContextValue as PieContextValue, index_PieRoot as PieRoot, index_PolarAngleAxis as PolarAngleAxis, index_PolarGrid as PolarGrid, index_Pyramid as Pyramid, index_Radar as Radar, type index_RadarContextValue as RadarContextValue, index_RadarRoot as RadarRoot, index_RadialBar as RadialBar, index_RadialBarRoot as RadialBarRoot, index_RadialLine as RadialLine, index_RadialLineRoot as RadialLineRoot, index_RangeArea as RangeArea, index_RangeBar as RangeBar, index_ReferenceArea as ReferenceArea, index_ReferenceLine as ReferenceLine, index_Root as Root, index_Sankey as Sankey, type index_SankeyLink as SankeyLink, type index_SankeyNode as SankeyNode, index_Scatter as Scatter, type index_ScatterMarkerShape as ScatterMarkerShape, index_SparkLine as SparkLine, index_Sunburst as Sunburst, type index_SunburstNode as SunburstNode, index_Tooltip as Tooltip, type index_TooltipPayloadEntry as TooltipPayloadEntry, type index_TooltipState as TooltipState, index_Treemap as Treemap, type index_TreemapLayoutNode as TreemapLayoutNode, type index_TreemapNode as TreemapNode, index_Waterfall as Waterfall, type index_WaterfallEntry as WaterfallEntry, index_XAxis as XAxis, index_YAxis as YAxis, index_bandScale as bandScale, index_buildArcPath as buildArcPath, index_buildAreaPath as buildAreaPath, index_buildAreaPathFlat as buildAreaPathFlat, index_buildBarRect as buildBarRect, index_buildLinePath as buildLinePath, index_buildRadarPath as buildRadarPath, index_computeCandlestickBars as computeCandlestickBars, index_computeFunnelLayout as computeFunnelLayout, index_computeGaugeArcs as computeGaugeArcs, index_computeHeatmapCells as computeHeatmapCells, index_computeYDomain as computeYDomain, index_extent as extent, index_fmt as fmt, index_linearScale as linearScale, index_logScale as logScale, index_niceDomain as niceDomain, index_niceLinearTicks as niceLinearTicks, index_ordinalScale as ordinalScale, index_squarifyTreemap as squarifyTreemap };
|
|
4414
|
+
}
|
|
4415
|
+
|
|
4416
|
+
export { index$D as Accordion, type AccordionContentProps, type AccordionHeaderProps, type AccordionItemProps, type AccordionMultipleProps, type AccordionRootProps, type AccordionSingleProps, type AccordionTriggerProps, Alert, index$B as AlertDialog, type AlertDialogActionProps, type AlertDialogCancelProps, type AlertDialogContentProps, type AlertDialogDescriptionProps, type AlertDialogOverlayProps, type AlertDialogPortalProps, type AlertDialogRootProps, type AlertDialogTitleProps, type AlertDialogTriggerProps, type AlertProps, AspectRatio, type AspectRatioProps, index$K as Avatar, type AvatarFallbackProps, type AvatarImageProps, type AvatarRootProps, type AxisScale, Badge, type BadgeProps, type BarRectProps, type BoxplotEntry, index$r as Breadcrumb, type BreadcrumbProps, Button$1 as Button, type ButtonProps$1 as ButtonProps, index$g as Calendar, type CalendarDateRange, type CalendarRootProps, type CandlestickBar, index$1 as Card, type CardRootProps, type CardSectionProps, index$6 as Carousel, type CarouselRootProps, type CartesianContextValue, index as Chart, type ChartAreaProps, type ChartBarProps, type ChartBoxplotProps, type ChartBubbleProps, type ChartCandlestickProps, type ChartChordProps, type ChartDimensions, type ChartFunnelProps, type ChartGanttProps, type ChartGaugeContainerProps, type ChartGaugePointerProps, type ChartGaugeProps, type ChartGaugeReferenceArcProps, type ChartGaugeValueArcProps, type ChartGridProps, type ChartHeatmapProps, type ChartHistogramProps, type ChartLegendEntry, type ChartLegendProps, type ChartLineProps, type ChartLinearGaugeProps, type ChartMargin, type ChartPieCenterLabelProps, type ChartPieProps, type ChartPieRootProps, type ChartPolarAngleAxisProps, type ChartPolarGridProps, type ChartPyramidProps, type ChartRadarProps, type ChartRadarRootProps, type ChartRadialBarProps, type ChartRadialBarRootProps, type ChartRadialLineProps, type ChartRadialLineRootProps, type ChartRangeAreaProps, type ChartRangeBarProps, type ChartReferenceAreaProps, type ChartReferenceLineProps, type ChartRootProps, type ChartSankeyProps, type ChartScatterProps, type ChartSparkLineProps, type ChartSunburstProps, type ChartTooltipProps, type ChartTreemapProps, type ChartWaterfallProps, type ChartXAxisProps, type ChartYAxisProps, Checkbox, CheckboxIndicator, type CheckboxProps, type CheckedState, index$E as Collapsible, type CollapsibleContentProps, type CollapsibleRootProps, type CollapsibleTriggerProps, index$b as ColorPicker, type ColorPickerRootProps, index$m as Combobox, type ComboboxContentProps, type ComboboxInputProps, type ComboboxItemProps, type ComboboxPortalProps, type ComboboxRootProps, index$k as Command, type CommandGroupProps, type CommandInputProps, type CommandItemProps, type CommandRootProps, index$u as ContextMenu, type ContextMenuRootProps, type ContextMenuTriggerProps, type CurveType, type CustomMatcher, DEFAULT_MAX_DATE, DEFAULT_MIN_DATE, index$f as DatePicker, type DatePickerFormat, type DatePickerRootProps, type DatePickerValueProps, type DatePickerView, type DatePickerViewRenderer, type DateRange, index$d as DateRangePicker, type DateRangePickerFormat, type DateRangePickerRootProps, type DateRangePickerShortcut, type DateRangePickerShortcutsProps, type DateRangePickerValueProps, type DateRangePickerViewRenderer, type DateRangePosition, type DateRangeTuple, type DateRangeValidationError, type DateRangeValue, index$c as DateTimePicker, type DateTimePickerFormat, type DateTimePickerRootProps, type DateTimePickerSegment, type SegmentProps as DateTimePickerSegmentProps, type TimePanelProps as DateTimePickerTimePanelProps, type TimePanelRenderProps as DateTimePickerTimePanelRenderProps, type DateTimePickerValueProps, type DateTimePickerView, type DateTimePickerViewRenderer, type DateTimeValidationError, type DateTimeValidationOptions, type DateValidationError, type DateValidationOptions, index$L as Dialog, type DialogCloseProps, type DialogContentProps, type DialogDescriptionProps, type DialogOverlayProps, type DialogPortalProps, type DialogRootProps, type DialogTitleProps, type DialogTriggerProps, index$v as DropdownMenu, type DropdownMenuRootProps, type DropdownMenuTriggerProps, index$4 as Editable, type EditableRootProps, index$a as FileUpload, type FileUploadRootProps, index$F as Form, type FormControlProps, type FormFieldProps, type FormLabelProps, type FormMessageProps, type FormProps, type FormSubmitProps, type FormValidityStateProps, type FunnelEntry, type FunnelLayoutSegment, type GanttTask, type GaugeArcData, type GaugeContextValue, type HeatmapCell, type HighlightScope, index$y as HoverCard, type HoverCardArrowProps, type HoverCardContentProps, type HoverCardPortalProps, type HoverCardRootProps, type HoverCardTriggerProps, type HsvaColor, type ImageLoadingStatus, Input, type InputProps, Label, type LabelPosition, type LabelProps, type LegendPosition, type MarkShape, type Matcher, type MentionSuggestion, index$2 as Mentions, type MentionsRootProps, type SuggestionsProps as MentionsSuggestionsProps, index$w as Menu, type MenuAnchorProps, type MenuCheckboxItemProps, type MenuContentProps, type MenuGroupProps, type MenuItemIndicatorProps, type MenuItemProps, type MenuLabelProps, type MenuPortalProps, type MenuRadioGroupProps, type MenuRadioItemProps, type MenuRootProps, type MenuSeparatorProps, index$t as Menubar, type MenubarRootProps, type MenubarTriggerProps, index$n as MultiSelect, type MultiSelectContentProps, type MultiSelectCreateItemProps, type MultiSelectFilterOption, type MultiSelectItemProps, type MultiSelectItemTextProps, type MultiSelectOption, type MultiSelectOptionsProps, type MultiSelectPortalProps, type MultiSelectRootProps, type MultiSelectSearchInputProps, type MultiSelectSelectedOption, type MultiSelectTriggerProps, type MultiSelectValueProps, index$s as NavigationMenu, type NavigationMenuItemProps, type NavigationMenuLinkProps, type NavigationMenuRootProps, index$h as NumberField, type NumberFieldRootProps, type OhlcEntry, index$j as OneTimePasswordField, type OtpInputProps, type OtpRootProps, index$q as Pagination, type PaginationProps, index$i as PasswordToggleField, type PasswordToggleFieldRootProps, type PickerChangeContext, type PickerChangeSource, type PickerFieldSection, type PickerFormatDensity, type PickerLocaleText, type PickerOrientation, type PickerSelectedSections, type PickerShortcutMetadata, type PickerSlotProps, type PickerSlots, type PickerSx, type PickerSxValue, type PieContextValue, index$A as Popover, type PopoverAnchorProps, type PopoverArrowProps, type PopoverCloseProps, type PopoverContentProps, type PopoverPortalProps, type PopoverRootProps, type PopoverTriggerProps, type PopperProps, index$J as Progress, type ProgressIndicatorProps, type ProgressRootProps, type ProgressState, type RadarContextValue, index$I as RadioGroup, type RadioGroupIndicatorProps, type RadioGroupItemProps, type RadioGroupRootProps, Rating$1 as Rating, type RatingProps$1 as RatingProps, index$7 as Resizable, type ResizableGroupProps, type ResizableHandleProps, type ResizablePanelProps, type SankeyLink, type SankeyNode, type ScatterMarkerShape, index$9 as ScrollArea, type ScrollAreaRootProps, type ScrollbarProps as ScrollAreaScrollbarProps, index$o as Select, type SelectContentProps, type SelectCreateItemProps, type SelectFilterOption, type SelectItemProps, type SelectItemTextProps, type SelectOption, type SelectOptionsProps, type SelectPortalProps, type SelectRootProps, type SelectSearchInputProps, type SelectTriggerProps, type SelectValueProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, index$G as Slider, type SliderRangeProps, type SliderRootProps, type SliderThumbProps, type SliderTrackProps, Spinner, type SpinnerProps, index$p as Stepper, type StepperButtonProps, type StepperProps, index$l as Structyl, type BackdropProps as StructylBackdropProps, type BottomNavigationItemProps as StructylBottomNavigationItemProps, type BottomNavigationRootProps as StructylBottomNavigationRootProps, type ChartProps as StructylChartProps, type ClickAwayListenerProps as StructylClickAwayListenerProps, type InitColorSchemeScriptProps as StructylInitColorSchemeScriptProps, type ModalProps as StructylModalProps, type RatingProps as StructylRatingProps, type SnackbarOrigin as StructylSnackbarOrigin, type SnackbarProps as StructylSnackbarProps, type SpeedDialRootProps as StructylSpeedDialRootProps, type SpeedDialTriggerProps as StructylSpeedDialTriggerProps, type TextareaAutosizeProps as StructylTextareaAutosizeProps, type TransferListOption as StructylTransferListOption, type TransferListProps as StructylTransferListProps, type TransitionProps as StructylTransitionProps, type SunburstNode, type SwipeDirection, Switch, type SwitchProps, index$C as Tabs, type TabsContentProps, type TabsListProps, type TabsRootProps, type TabsTriggerProps, index$3 as TagsInput, type TagsInputRootProps, Textarea, type TextareaProps, index$e as TimePicker, type TimePickerFormat, type TimePickerRootProps, type TimePickerSegment, type SegmentProps$2 as TimePickerSegmentProps, type TimePickerValue, type TimePickerValueProps, type TimePickerView, type TimePickerViewRenderer, type TimeSteps, type TimeValidationError, type TimeValidationOptions, type TimeValue, index$x as Toast, type ToastActionProps, type ToastCloseProps, type ToastDescriptionProps, type ToastProviderProps, type ToastRootProps, type ToastTitleProps, type ToastViewportProps, Toggle, index$H as ToggleGroup, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupRootProps, type ToggleGroupSingleProps, type ToggleProps, index$8 as Toolbar, type ToolbarRootProps, index$z as Tooltip, type TooltipArrowProps, type TooltipContentProps, type TooltipPayloadEntry, type TooltipPortalProps, type TooltipProviderProps, type TooltipRootProps, type TooltipState, type TooltipTriggerProps, index$5 as Tree, type TreeItemProps, type TreeRootProps, type TreemapLayoutNode, type TreemapNode, type ValidityMatcher, type WaterfallEntry, addDays, addMonths, applyTimePart, clampDate, createPickerChangeContext, dateToTimeValue, hsvaToHex, isAfterDay, isBeforeDay, isSameDay, isSameMonth, isValidDate, mergeDateAndTime, pad, startOfDay, startOfMonth, timeValueToDate, validateDateTimeValue, validateDateValue, validateTimeValue };
|