figma-kit 0.0.0 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -0,0 +1,874 @@
1
+ import { ClassProp } from 'class-variance-authority/types';
2
+ import { CSSProperties } from 'react';
3
+ import { default as default_2 } from 'react';
4
+ import * as RadixAlertDialog from '@radix-ui/react-alert-dialog';
5
+ import * as RadixCollapsible from '@radix-ui/react-collapsible';
6
+ import * as RadixDialog from '@radix-ui/react-dialog';
7
+ import * as RadixMenu from '@radix-ui/react-dropdown-menu';
8
+ import * as RadixMenu_2 from '@radix-ui/react-context-menu';
9
+ import * as RadixPopover from '@radix-ui/react-popover';
10
+ import * as RadixRadioGroup from '@radix-ui/react-radio-group';
11
+ import * as RadixSelect from '@radix-ui/react-select';
12
+ import * as RadixSlider from '@radix-ui/react-slider';
13
+ import * as RadixSwitch from '@radix-ui/react-switch';
14
+ import * as RadixTabs from '@radix-ui/react-tabs';
15
+ import * as RadixToggleGroup from '@radix-ui/react-toggle-group';
16
+ import * as RadixTooltip from '@radix-ui/react-tooltip';
17
+ import { TextareaAutosizeProps } from 'react-textarea-autosize';
18
+ import { VariantProps } from 'class-variance-authority';
19
+
20
+ declare const Action: default_2.ForwardRefExoticComponent<ActionProps & default_2.RefAttributes<HTMLButtonElement>>;
21
+
22
+ declare type ActionProps = Omit<RadixAlertDialog.AlertDialogActionProps, 'asChild'>;
23
+
24
+ declare const Actions: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
25
+ children: default_2.ReactNode;
26
+ } & default_2.RefAttributes<HTMLDivElement>>;
27
+
28
+ declare type ActionsProps = default_2.ComponentPropsWithoutRef<'div'> & {
29
+ children: default_2.ReactNode;
30
+ };
31
+
32
+ declare namespace AlertDialog {
33
+ export {
34
+ RootProps_9 as RootProps,
35
+ TriggerProps_7 as TriggerProps,
36
+ ContentProps_7 as ContentProps,
37
+ OverlayProps_2 as OverlayProps,
38
+ PortalProps_3 as PortalProps,
39
+ TitleProps_3 as TitleProps,
40
+ DescriptionProps,
41
+ ActionsProps,
42
+ CancelProps,
43
+ ActionProps,
44
+ Root_10 as Root,
45
+ Trigger_7 as Trigger,
46
+ Content_7 as Content,
47
+ Overlay_2 as Overlay,
48
+ Portal_3 as Portal,
49
+ Title_3 as Title,
50
+ Description_2 as Description,
51
+ Actions,
52
+ Cancel,
53
+ Action
54
+ }
55
+ }
56
+ export { AlertDialog }
57
+
58
+ declare const Anchor: default_2.ForwardRefExoticComponent<RadixPopover.PopoverAnchorProps & default_2.RefAttributes<HTMLDivElement>>;
59
+
60
+ declare type AnchorProps = RadixPopover.PopoverAnchorProps;
61
+
62
+ declare const Arrow: default_2.ForwardRefExoticComponent<RadixSelect.SelectArrowProps & default_2.RefAttributes<SVGSVGElement>>;
63
+
64
+ export declare const Button: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
65
+ variant?: "text" | "primary" | "secondary" | "inverse" | "destructive" | "success" | null | undefined;
66
+ size?: "small" | "medium" | null | undefined;
67
+ fullWidth?: boolean | null | undefined;
68
+ } & ClassProp) | undefined) => string> & default_2.RefAttributes<HTMLButtonElement>>;
69
+
70
+ declare const Cancel: default_2.ForwardRefExoticComponent<CancelProps & default_2.RefAttributes<HTMLButtonElement>>;
71
+
72
+ declare type CancelProps = Omit<RadixAlertDialog.AlertDialogCancelProps, 'asChild'>;
73
+
74
+ declare namespace Checkbox {
75
+ export {
76
+ CheckboxProps,
77
+ Root_4 as Root,
78
+ Input_2 as Input,
79
+ Label_3 as Label,
80
+ Description
81
+ }
82
+ }
83
+ export { Checkbox }
84
+
85
+ declare const CheckboxItem: default_2.ForwardRefExoticComponent<RadixMenu.DropdownMenuCheckboxItemProps & default_2.RefAttributes<HTMLDivElement>>;
86
+
87
+ declare const CheckboxItem_2: default_2.ForwardRefExoticComponent<RadixMenu_2.ContextMenuCheckboxItemProps & default_2.RefAttributes<HTMLDivElement>>;
88
+
89
+ declare type CheckboxItemProps = RadixMenu.DropdownMenuCheckboxItemProps;
90
+
91
+ declare type CheckboxItemProps_2 = RadixMenu_2.ContextMenuCheckboxItemProps;
92
+
93
+ declare type CheckboxProps = default_2.ComponentPropsWithoutRef<'input'> & {
94
+ indeterminate?: boolean;
95
+ };
96
+
97
+ declare const Close: default_2.ForwardRefExoticComponent<CloseProps & default_2.RefAttributes<HTMLButtonElement>>;
98
+
99
+ declare const Close_2: default_2.ForwardRefExoticComponent<CloseProps_2 & default_2.RefAttributes<HTMLButtonElement>>;
100
+
101
+ declare type CloseProps = Omit<RadixPopover.PopoverCloseProps, 'asChild'>;
102
+
103
+ declare type CloseProps_2 = Omit<RadixDialog.DialogCloseProps, 'asChild'>;
104
+
105
+ declare namespace Collapsible {
106
+ export {
107
+ RootProps_11 as RootProps,
108
+ ContentProps_8 as ContentProps,
109
+ TriggerProps_8 as TriggerProps,
110
+ Root_12 as Root,
111
+ Content_8 as Content,
112
+ Trigger_8 as Trigger
113
+ }
114
+ }
115
+ export { Collapsible }
116
+
117
+ declare const Content: default_2.ForwardRefExoticComponent<RadixTabs.TabsContentProps & default_2.RefAttributes<HTMLDivElement>>;
118
+
119
+ declare const content: (props?: ({
120
+ size?: "1" | "2" | "3" | "fullscreen" | null | undefined;
121
+ placement?: "center" | "top" | null | undefined;
122
+ } & ClassProp) | undefined) => string;
123
+
124
+ declare const Content_2: default_2.ForwardRefExoticComponent<RadixSelect.SelectContentProps & {
125
+ portal?: boolean | undefined;
126
+ } & default_2.RefAttributes<HTMLDivElement>>;
127
+
128
+ declare const content_2: (props?: ({
129
+ size?: "1" | "2" | "3" | null | undefined;
130
+ placement?: "center" | "top" | null | undefined;
131
+ } & ClassProp) | undefined) => string;
132
+
133
+ declare const Content_3: default_2.ForwardRefExoticComponent<RadixMenu.DropdownMenuContentProps & default_2.RefAttributes<HTMLDivElement>>;
134
+
135
+ declare const Content_4: default_2.ForwardRefExoticComponent<RadixMenu_2.ContextMenuContentProps & default_2.RefAttributes<HTMLDivElement>>;
136
+
137
+ declare const Content_5: default_2.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & {
138
+ width?: CSSProperties['width'];
139
+ maxWidth?: CSSProperties['maxWidth'];
140
+ height?: CSSProperties['height'];
141
+ maxHeight?: CSSProperties['maxHeight'];
142
+ } & default_2.RefAttributes<HTMLDivElement>>;
143
+
144
+ declare const Content_6: default_2.ForwardRefExoticComponent<RadixDialog.DialogContentProps & VariantProps<(props?: ({
145
+ size?: "1" | "2" | "3" | "fullscreen" | null | undefined;
146
+ placement?: "center" | "top" | null | undefined;
147
+ } & ClassProp) | undefined) => string> & {
148
+ width?: CSSProperties['width'];
149
+ maxWidth?: CSSProperties['maxWidth'];
150
+ height?: CSSProperties['height'];
151
+ maxHeight?: CSSProperties['maxHeight'];
152
+ } & default_2.RefAttributes<HTMLDivElement>>;
153
+
154
+ declare const Content_7: default_2.ForwardRefExoticComponent<RadixAlertDialog.AlertDialogContentProps & VariantProps<(props?: ({
155
+ size?: "1" | "2" | "3" | null | undefined;
156
+ placement?: "center" | "top" | null | undefined;
157
+ } & ClassProp) | undefined) => string> & {
158
+ width?: CSSProperties['width'];
159
+ maxWidth?: CSSProperties['maxWidth'];
160
+ height?: CSSProperties['height'];
161
+ maxHeight?: CSSProperties['maxHeight'];
162
+ } & default_2.RefAttributes<HTMLDivElement>>;
163
+
164
+ declare const Content_8: default_2.ForwardRefExoticComponent<RadixCollapsible.CollapsibleContentProps & default_2.RefAttributes<HTMLDivElement>>;
165
+
166
+ declare type ContentProps = RadixTabs.TabsContentProps;
167
+
168
+ declare type ContentProps_2 = RadixSelect.SelectContentProps & {
169
+ portal?: boolean;
170
+ };
171
+
172
+ declare type ContentProps_3 = RadixMenu.DropdownMenuContentProps;
173
+
174
+ declare type ContentProps_4 = RadixMenu_2.ContextMenuContentProps;
175
+
176
+ declare type ContentProps_5 = RadixPopover.PopoverContentProps & {
177
+ width?: CSSProperties['width'];
178
+ maxWidth?: CSSProperties['maxWidth'];
179
+ height?: CSSProperties['height'];
180
+ maxHeight?: CSSProperties['maxHeight'];
181
+ };
182
+
183
+ declare type ContentProps_6 = RadixDialog.DialogContentProps & VariantProps<typeof content> & {
184
+ width?: CSSProperties['width'];
185
+ maxWidth?: CSSProperties['maxWidth'];
186
+ height?: CSSProperties['height'];
187
+ maxHeight?: CSSProperties['maxHeight'];
188
+ };
189
+
190
+ declare type ContentProps_7 = RadixAlertDialog.AlertDialogContentProps & VariantProps<typeof content_2> & {
191
+ width?: CSSProperties['width'];
192
+ maxWidth?: CSSProperties['maxWidth'];
193
+ height?: CSSProperties['height'];
194
+ maxHeight?: CSSProperties['maxHeight'];
195
+ };
196
+
197
+ declare type ContentProps_8 = RadixCollapsible.CollapsibleContentProps;
198
+
199
+ declare namespace ContextMenu {
200
+ export {
201
+ RootProps_6 as RootProps,
202
+ TriggerProps_4 as TriggerProps,
203
+ ContentProps_4 as ContentProps,
204
+ ItemProps_5 as ItemProps,
205
+ SeparatorProps_3 as SeparatorProps,
206
+ GroupProps_3 as GroupProps,
207
+ LabelProps_5 as LabelProps,
208
+ SubProps_2 as SubProps,
209
+ SubTriggerProps_2 as SubTriggerProps,
210
+ SubContentProps_2 as SubContentProps,
211
+ CheckboxItemProps_2 as CheckboxItemProps,
212
+ RadioGroupProps_2 as RadioGroupProps,
213
+ RadioItemProps_2 as RadioItemProps,
214
+ Root_7 as Root,
215
+ Trigger_4 as Trigger,
216
+ Content_4 as Content,
217
+ Item_5 as Item,
218
+ Separator_3 as Separator,
219
+ Group_3 as Group,
220
+ Label_6 as Label,
221
+ Sub_2 as Sub,
222
+ SubTrigger_2 as SubTrigger,
223
+ SubContent_2 as SubContent,
224
+ CheckboxItem_2 as CheckboxItem,
225
+ RadioGroup_3 as RadioGroup,
226
+ RadioItem_2 as RadioItem
227
+ }
228
+ }
229
+ export { ContextMenu }
230
+
231
+ declare const Controls: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
232
+
233
+ declare type ControlsProps = default_2.ComponentPropsWithoutRef<'div'>;
234
+
235
+ export declare function createIcon(options: Options): default_2.ForwardRefExoticComponent<Omit<default_2.SVGProps<SVGSVGElement>, "ref"> & VariantProps<(props?: ({
236
+ size?: "1" | "2" | "3" | "6" | "2_5" | "3_5" | "4" | "5" | "7" | "8" | "9" | "10" | null | undefined;
237
+ } & ClassProp) | undefined) => string> & default_2.RefAttributes<SVGSVGElement>>;
238
+
239
+ declare const Description: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & default_2.RefAttributes<HTMLLabelElement>>;
240
+
241
+ declare const Description_2: default_2.ForwardRefExoticComponent<DescriptionProps & default_2.RefAttributes<HTMLParagraphElement>>;
242
+
243
+ declare type DescriptionProps = Omit<RadixAlertDialog.AlertDialogDescriptionProps, 'asChild'>;
244
+
245
+ declare namespace Dialog {
246
+ export {
247
+ RootProps_8 as RootProps,
248
+ TriggerProps_6 as TriggerProps,
249
+ PortalProps_2 as PortalProps,
250
+ ContentProps_6 as ContentProps,
251
+ OverlayProps,
252
+ TitleProps_2 as TitleProps,
253
+ CloseProps_2 as CloseProps,
254
+ Root_9 as Root,
255
+ Trigger_6 as Trigger,
256
+ Portal_2 as Portal,
257
+ Content_6 as Content,
258
+ Overlay,
259
+ Title_2 as Title,
260
+ Close_2 as Close,
261
+ HeaderProps,
262
+ SectionProps,
263
+ ControlsProps,
264
+ Header,
265
+ Section,
266
+ Controls
267
+ }
268
+ }
269
+ export { Dialog }
270
+
271
+ declare namespace DropdownMenu {
272
+ export {
273
+ RootProps_5 as RootProps,
274
+ TriggerProps_3 as TriggerProps,
275
+ ContentProps_3 as ContentProps,
276
+ ItemProps_4 as ItemProps,
277
+ SeparatorProps_2 as SeparatorProps,
278
+ GroupProps_2 as GroupProps,
279
+ LabelProps_4 as LabelProps,
280
+ SubProps,
281
+ SubTriggerProps,
282
+ SubContentProps,
283
+ CheckboxItemProps,
284
+ RadioGroupProps,
285
+ RadioItemProps,
286
+ Root_6 as Root,
287
+ Trigger_3 as Trigger,
288
+ Content_3 as Content,
289
+ Item_4 as Item,
290
+ Separator_2 as Separator,
291
+ Group_2 as Group,
292
+ Label_5 as Label,
293
+ Sub,
294
+ SubTrigger,
295
+ SubContent,
296
+ CheckboxItem,
297
+ RadioGroup_2 as RadioGroup,
298
+ RadioItem
299
+ }
300
+ }
301
+ export { DropdownMenu }
302
+
303
+ export declare const Flex: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & VariantProps<(props?: ({
304
+ direction?: "row" | "column" | "rowReverse" | "columnReverse" | null | undefined;
305
+ align?: "center" | "end" | "start" | "baseline" | "stretch" | null | undefined;
306
+ justify?: "center" | "end" | "start" | "between" | null | undefined;
307
+ wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
308
+ gap?: "px" | "0" | "1" | "2" | "3" | "6" | "2_5" | "3_5" | "4" | "5" | "7" | "8" | "9" | "10" | "0_5" | "1_5" | "11" | "12" | "13" | "14" | "15" | "16" | null | undefined;
309
+ columnGap?: "px" | "0" | "1" | "2" | "3" | "6" | "2_5" | "3_5" | "4" | "5" | "7" | "8" | "9" | "10" | "0_5" | "1_5" | "11" | "12" | "13" | "14" | "15" | "16" | null | undefined;
310
+ rowGap?: "px" | "0" | "1" | "2" | "3" | "6" | "2_5" | "3_5" | "4" | "5" | "7" | "8" | "9" | "10" | "0_5" | "1_5" | "11" | "12" | "13" | "14" | "15" | "16" | null | undefined;
311
+ } & ClassProp) | undefined) => string> & default_2.RefAttributes<HTMLDivElement>>;
312
+
313
+ declare const Group: default_2.ForwardRefExoticComponent<RadixSelect.SelectGroupProps & default_2.RefAttributes<HTMLDivElement>>;
314
+
315
+ declare const Group_2: default_2.ForwardRefExoticComponent<RadixMenu.DropdownMenuGroupProps & default_2.RefAttributes<HTMLDivElement>>;
316
+
317
+ declare const Group_3: default_2.ForwardRefExoticComponent<RadixMenu_2.ContextMenuGroupProps & default_2.RefAttributes<HTMLDivElement>>;
318
+
319
+ declare type GroupProps = RadixSelect.SelectGroupProps;
320
+
321
+ declare type GroupProps_2 = RadixMenu.DropdownMenuGroupProps;
322
+
323
+ declare type GroupProps_3 = RadixMenu_2.ContextMenuGroupProps;
324
+
325
+ declare const Header: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & default_2.RefAttributes<HTMLElement>>;
326
+
327
+ declare type HeaderProps = default_2.ComponentPropsWithoutRef<'header'>;
328
+
329
+ declare const Hex: default_2.ForwardRefExoticComponent<Omit<InputProps, "onChange" | "value"> & {
330
+ /** Color in Figma's RGBA format */
331
+ value: RGBA;
332
+ /** Callback to call upon submission. */
333
+ onChange: (value: RGBA) => void;
334
+ /**
335
+ * Ignores the alpha channel in user input, treating it as opaque. Useful when rendering without an alpha field.
336
+ * Results in 'onChange' always being called with an alpha value of 1.
337
+ * @default false
338
+ * */
339
+ ignoreAlpha?: boolean | undefined;
340
+ } & default_2.RefAttributes<HTMLInputElement>>;
341
+
342
+ declare type HexProps = Omit<InputProps, 'value' | 'onChange'> & {
343
+ /** Color in Figma's RGBA format */
344
+ value: RGBA;
345
+ /** Callback to call upon submission. */
346
+ onChange: (value: RGBA) => void;
347
+ /**
348
+ * Ignores the alpha channel in user input, treating it as opaque. Useful when rendering without an alpha field.
349
+ * Results in 'onChange' always being called with an alpha value of 1.
350
+ * @default false
351
+ * */
352
+ ignoreAlpha?: boolean;
353
+ };
354
+
355
+ export declare const IconButton: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
356
+ size?: "small" | "medium" | null | undefined;
357
+ activeAppearance?: "subtle" | "solid" | null | undefined;
358
+ } & ClassProp) | undefined) => string> & {
359
+ 'aria-label': string;
360
+ tooltipContent?: default_2.ReactNode;
361
+ disableTooltip?: boolean | undefined;
362
+ } & default_2.RefAttributes<HTMLButtonElement>>;
363
+
364
+ export declare const Input: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
365
+ selectOnClick?: boolean | undefined;
366
+ } & default_2.RefAttributes<HTMLInputElement>>;
367
+
368
+ declare const Input_2: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
369
+ indeterminate?: boolean | undefined;
370
+ } & default_2.RefAttributes<HTMLInputElement>>;
371
+
372
+ declare type InputProps = default_2.ComponentPropsWithoutRef<'input'> & {
373
+ selectOnClick?: boolean;
374
+ };
375
+
376
+ declare const Item: default_2.ForwardRefExoticComponent<RadixToggleGroup.ToggleGroupItemProps & default_2.RefAttributes<HTMLButtonElement>>;
377
+
378
+ declare const Item_2: default_2.ForwardRefExoticComponent<RadixRadioGroup.RadioGroupItemProps & default_2.RefAttributes<HTMLButtonElement>>;
379
+
380
+ declare const Item_3: default_2.ForwardRefExoticComponent<RadixSelect.SelectItemProps & default_2.RefAttributes<HTMLDivElement>>;
381
+
382
+ declare const Item_4: default_2.ForwardRefExoticComponent<RadixMenu.DropdownMenuItemProps & default_2.RefAttributes<HTMLDivElement>>;
383
+
384
+ declare const Item_5: default_2.ForwardRefExoticComponent<RadixMenu_2.ContextMenuItemProps & default_2.RefAttributes<HTMLDivElement>>;
385
+
386
+ declare type ItemProps = RadixToggleGroup.ToggleGroupItemProps;
387
+
388
+ declare type ItemProps_2 = RadixRadioGroup.RadioGroupItemProps;
389
+
390
+ declare type ItemProps_3 = RadixSelect.SelectItemProps;
391
+
392
+ declare type ItemProps_4 = RadixMenu.DropdownMenuItemProps;
393
+
394
+ declare type ItemProps_5 = RadixMenu_2.ContextMenuItemProps;
395
+
396
+ export declare const Label: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
397
+ size?: "small" | "medium" | "large" | null | undefined;
398
+ weight?: "strong" | "default" | null | undefined;
399
+ align?: "center" | "end" | "start" | null | undefined;
400
+ block?: boolean | null | undefined;
401
+ } & ClassProp) | undefined) => string> & default_2.RefAttributes<HTMLLabelElement>>;
402
+
403
+ declare const Label_2: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
404
+ size?: "small" | "medium" | "large" | null | undefined;
405
+ weight?: "strong" | "default" | null | undefined;
406
+ align?: "center" | "end" | "start" | null | undefined;
407
+ block?: boolean | null | undefined;
408
+ } & ClassProp) | undefined) => string> & default_2.RefAttributes<HTMLLabelElement>>;
409
+
410
+ declare const Label_3: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & default_2.RefAttributes<HTMLLabelElement>>;
411
+
412
+ declare const Label_4: default_2.ForwardRefExoticComponent<RadixSelect.SelectLabelProps & default_2.RefAttributes<HTMLDivElement>>;
413
+
414
+ declare const Label_5: default_2.ForwardRefExoticComponent<RadixMenu.DropdownMenuLabelProps & default_2.RefAttributes<HTMLDivElement>>;
415
+
416
+ declare const Label_6: default_2.ForwardRefExoticComponent<RadixMenu_2.ContextMenuLabelProps & default_2.RefAttributes<HTMLDivElement>>;
417
+
418
+ declare const Label_7: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & default_2.RefAttributes<HTMLSpanElement>>;
419
+
420
+ declare type LabelProps = LabelProps_2;
421
+
422
+ declare type LabelProps_2 = default_2.ComponentPropsWithoutRef<'label'> & VariantProps<typeof text>;
423
+
424
+ declare type LabelProps_3 = RadixSelect.SelectLabelProps;
425
+
426
+ declare type LabelProps_4 = RadixMenu.DropdownMenuLabelProps;
427
+
428
+ declare type LabelProps_5 = RadixMenu_2.ContextMenuLabelProps;
429
+
430
+ declare type LabelProps_6 = default_2.ComponentPropsWithoutRef<'span'>;
431
+
432
+ export declare const Link: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & VariantProps<(props?: ({
433
+ size?: "small" | "medium" | "large" | null | undefined;
434
+ weight?: "strong" | "default" | null | undefined;
435
+ align?: "center" | "end" | "start" | null | undefined;
436
+ block?: boolean | null | undefined;
437
+ } & ClassProp) | undefined) => string> & {
438
+ asChild?: boolean | undefined;
439
+ } & default_2.RefAttributes<HTMLAnchorElement>>;
440
+
441
+ declare const List: default_2.ForwardRefExoticComponent<RadixTabs.TabsListProps & default_2.RefAttributes<HTMLDivElement>>;
442
+
443
+ declare type ListProps = RadixTabs.TabsListProps;
444
+
445
+ declare const Multi: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
446
+ disabled?: boolean | undefined;
447
+ } & default_2.RefAttributes<HTMLDivElement>>;
448
+
449
+ declare type MultiProps = default_2.ComponentPropsWithoutRef<'div'> & {
450
+ disabled?: boolean;
451
+ };
452
+
453
+ declare const Numeric: default_2.ForwardRefExoticComponent<Omit<InputProps, "onChange" | "value" | "max" | "min" | "type"> & {
454
+ /** The numeric value of the input. */
455
+ value: number;
456
+ /** Callback to call upon submission. */
457
+ onChange: (value: number) => void;
458
+ /** The minimum allowed value. */
459
+ min?: number | undefined;
460
+ /** The maximum allowed value. */
461
+ max?: number | undefined;
462
+ /** The numeric range that the `value` prop will be normalized to when displayed in the input.
463
+ * Requires non-equal 'max' and 'min' values.
464
+ * @example:
465
+ * <Numeric value={0.5} min={0} max={1} targetRange={[0, 100]} /> // Displays value of 50
466
+ * */
467
+ targetRange?: [number, number] | undefined;
468
+ /** The decimal precision that user input will be rounded to. */
469
+ precision?: number | undefined;
470
+ /** Units that will be accepted as valid input (e.g., "px", "%"). */
471
+ allowedUnits?: string[] | undefined;
472
+ /** Suffix to be appended to the value (e.g., "px", "%"). Suffix is treated as an allowed unit. */
473
+ suffix?: string | undefined;
474
+ /** The small nudge increment for the value. */
475
+ smallNudge?: number | undefined;
476
+ /** The big nudge increment for the value. */
477
+ bigNudge?: number | undefined;
478
+ } & default_2.RefAttributes<HTMLInputElement>>;
479
+
480
+ declare type NumericProps = Omit<InputProps, 'value' | 'onChange' | 'min' | 'max' | 'type'> & {
481
+ /** The numeric value of the input. */
482
+ value: number;
483
+ /** Callback to call upon submission. */
484
+ onChange: (value: number) => void;
485
+ /** The minimum allowed value. */
486
+ min?: number;
487
+ /** The maximum allowed value. */
488
+ max?: number;
489
+ /** The numeric range that the `value` prop will be normalized to when displayed in the input.
490
+ * Requires non-equal 'max' and 'min' values.
491
+ * @example:
492
+ * <Numeric value={0.5} min={0} max={1} targetRange={[0, 100]} /> // Displays value of 50
493
+ * */
494
+ targetRange?: [number, number];
495
+ /** The decimal precision that user input will be rounded to. */
496
+ precision?: number;
497
+ /** Units that will be accepted as valid input (e.g., "px", "%"). */
498
+ allowedUnits?: string[];
499
+ /** Suffix to be appended to the value (e.g., "px", "%"). Suffix is treated as an allowed unit. */
500
+ suffix?: string;
501
+ /** The small nudge increment for the value. */
502
+ smallNudge?: number;
503
+ /** The big nudge increment for the value. */
504
+ bigNudge?: number;
505
+ };
506
+
507
+ declare type Options = {
508
+ path: default_2.ReactElement;
509
+ displayName?: string;
510
+ viewBox?: string;
511
+ };
512
+
513
+ declare const Overlay: default_2.ForwardRefExoticComponent<OverlayProps & default_2.RefAttributes<HTMLDivElement>>;
514
+
515
+ declare const Overlay_2: default_2.ForwardRefExoticComponent<OverlayProps_2 & default_2.RefAttributes<HTMLDivElement>>;
516
+
517
+ declare type OverlayProps = Omit<RadixDialog.DialogOverlayProps, 'asChild'>;
518
+
519
+ declare type OverlayProps_2 = Omit<RadixAlertDialog.AlertDialogOverlayProps, 'asChild'>;
520
+
521
+ export declare const Paragraph: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & VariantProps<(props?: ({
522
+ size?: "small" | "medium" | "large" | null | undefined;
523
+ weight?: "strong" | "default" | null | undefined;
524
+ align?: "center" | "end" | "start" | null | undefined;
525
+ block?: boolean | null | undefined;
526
+ } & ClassProp) | undefined) => string> & default_2.RefAttributes<HTMLParagraphElement>>;
527
+
528
+ declare namespace Popover {
529
+ export {
530
+ RootProps_7 as RootProps,
531
+ TriggerProps_5 as TriggerProps,
532
+ PortalProps,
533
+ ContentProps_5 as ContentProps,
534
+ TitleProps,
535
+ CloseProps,
536
+ AnchorProps,
537
+ Root_8 as Root,
538
+ Trigger_5 as Trigger,
539
+ Content_5 as Content,
540
+ Portal,
541
+ Title,
542
+ Close,
543
+ Anchor,
544
+ HeaderProps,
545
+ SectionProps,
546
+ ControlsProps,
547
+ Header,
548
+ Section,
549
+ Controls
550
+ }
551
+ }
552
+ export { Popover }
553
+
554
+ declare const Portal: default_2.FC<RadixPopover.PopoverPortalProps>;
555
+
556
+ declare const Portal_2: default_2.FC<RadixDialog.DialogPortalProps>;
557
+
558
+ declare const Portal_3: default_2.FC<RadixAlertDialog.AlertDialogPortalProps>;
559
+
560
+ declare type PortalProps = RadixPopover.PopoverPortalProps;
561
+
562
+ declare type PortalProps_2 = RadixDialog.DialogPortalProps;
563
+
564
+ declare type PortalProps_3 = RadixAlertDialog.AlertDialogPortalProps;
565
+
566
+ declare namespace RadioGroup {
567
+ export {
568
+ RootProps_3 as RootProps,
569
+ ItemProps_2 as ItemProps,
570
+ LabelProps,
571
+ Root_3 as Root,
572
+ Item_2 as Item,
573
+ Label_2 as Label
574
+ }
575
+ }
576
+ export { RadioGroup }
577
+
578
+ declare const RadioGroup_2: default_2.ForwardRefExoticComponent<RadixMenu.DropdownMenuRadioGroupProps & default_2.RefAttributes<HTMLDivElement>>;
579
+
580
+ declare const RadioGroup_3: default_2.ForwardRefExoticComponent<RadixMenu_2.ContextMenuRadioGroupProps & default_2.RefAttributes<HTMLDivElement>>;
581
+
582
+ declare type RadioGroupProps = RadixMenu.DropdownMenuRadioGroupProps;
583
+
584
+ declare type RadioGroupProps_2 = RadixMenu_2.ContextMenuRadioGroupProps;
585
+
586
+ declare const RadioItem: default_2.ForwardRefExoticComponent<RadixMenu.DropdownMenuRadioItemProps & default_2.RefAttributes<HTMLDivElement>>;
587
+
588
+ declare const RadioItem_2: default_2.ForwardRefExoticComponent<RadixMenu_2.ContextMenuRadioItemProps & default_2.RefAttributes<HTMLDivElement>>;
589
+
590
+ declare type RadioItemProps = RadixMenu.DropdownMenuRadioItemProps;
591
+
592
+ declare type RadioItemProps_2 = RadixMenu_2.ContextMenuRadioItemProps;
593
+
594
+ declare type RGBA = {
595
+ r: number;
596
+ g: number;
597
+ b: number;
598
+ a: number;
599
+ };
600
+
601
+ declare const Root: default_2.ForwardRefExoticComponent<RadixTabs.TabsProps & default_2.RefAttributes<HTMLDivElement>>;
602
+
603
+ declare const Root_10: default_2.FC<RadixAlertDialog.AlertDialogProps>;
604
+
605
+ declare const Root_11: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
606
+ disabled?: boolean | undefined;
607
+ } & default_2.RefAttributes<HTMLLabelElement>>;
608
+
609
+ declare const Root_12: default_2.ForwardRefExoticComponent<RadixCollapsible.CollapsibleProps & default_2.RefAttributes<HTMLDivElement>>;
610
+
611
+ declare const Root_2: default_2.ForwardRefExoticComponent<Omit<RadixToggleGroup.ToggleGroupSingleProps, "type"> & {
612
+ fullWidth?: boolean | undefined;
613
+ } & default_2.RefAttributes<HTMLDivElement>>;
614
+
615
+ declare const Root_3: default_2.ForwardRefExoticComponent<RadixRadioGroup.RadioGroupProps & default_2.RefAttributes<HTMLDivElement>>;
616
+
617
+ declare const Root_4: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
618
+
619
+ declare const Root_5: default_2.FC<RadixSelect.SelectProps>;
620
+
621
+ declare const Root_6: default_2.FC<RadixMenu.DropdownMenuProps>;
622
+
623
+ declare const Root_7: default_2.FC<RadixMenu_2.ContextMenuProps>;
624
+
625
+ declare const Root_8: default_2.FC<RadixPopover.PopoverProps>;
626
+
627
+ declare const Root_9: default_2.FC<RadixDialog.DialogProps>;
628
+
629
+ declare type RootProps = RadixTabs.TabsProps;
630
+
631
+ declare type RootProps_10 = default_2.ComponentPropsWithoutRef<'label'> & {
632
+ disabled?: boolean;
633
+ };
634
+
635
+ declare type RootProps_11 = RadixCollapsible.CollapsibleProps;
636
+
637
+ declare type RootProps_2 = Omit<RadixToggleGroup.ToggleGroupSingleProps, 'type'> & {
638
+ fullWidth?: boolean;
639
+ };
640
+
641
+ declare type RootProps_3 = RadixRadioGroup.RadioGroupProps;
642
+
643
+ declare type RootProps_4 = RadixSelect.SelectProps;
644
+
645
+ declare type RootProps_5 = RadixMenu.DropdownMenuProps;
646
+
647
+ declare type RootProps_6 = RadixMenu_2.ContextMenuProps;
648
+
649
+ declare type RootProps_7 = RadixPopover.PopoverProps;
650
+
651
+ declare type RootProps_8 = RadixDialog.DialogProps;
652
+
653
+ declare type RootProps_9 = RadixAlertDialog.AlertDialogProps;
654
+
655
+ declare const Section: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & VariantProps<(props?: ({
656
+ size?: "base" | "small" | null | undefined;
657
+ } & ClassProp) | undefined) => string> & default_2.RefAttributes<HTMLDivElement>>;
658
+
659
+ declare const section: (props?: ({
660
+ size?: "base" | "small" | null | undefined;
661
+ } & ClassProp) | undefined) => string;
662
+
663
+ declare type SectionProps = default_2.ComponentPropsWithoutRef<'div'> & VariantProps<typeof section>;
664
+
665
+ declare namespace SegmentedControl {
666
+ export {
667
+ RootProps_2 as RootProps,
668
+ ItemProps,
669
+ TextProps,
670
+ Root_2 as Root,
671
+ Item,
672
+ Text_3 as Text
673
+ }
674
+ }
675
+ export { SegmentedControl }
676
+
677
+ declare namespace Select {
678
+ export {
679
+ RootProps_4 as RootProps,
680
+ TriggerProps_2 as TriggerProps,
681
+ ContentProps_2 as ContentProps,
682
+ ItemProps_3 as ItemProps,
683
+ SeparatorProps,
684
+ GroupProps,
685
+ LabelProps_3 as LabelProps,
686
+ Root_5 as Root,
687
+ Trigger_2 as Trigger,
688
+ Content_2 as Content,
689
+ Item_3 as Item,
690
+ Separator,
691
+ Group,
692
+ Label_4 as Label,
693
+ Arrow
694
+ }
695
+ }
696
+ export { Select }
697
+
698
+ declare const Separator: default_2.ForwardRefExoticComponent<RadixSelect.SelectSeparatorProps & default_2.RefAttributes<HTMLDivElement>>;
699
+
700
+ declare const Separator_2: default_2.ForwardRefExoticComponent<RadixMenu.DropdownMenuSeparatorProps & default_2.RefAttributes<HTMLDivElement>>;
701
+
702
+ declare const Separator_3: default_2.ForwardRefExoticComponent<RadixMenu_2.ContextMenuSeparatorProps & default_2.RefAttributes<HTMLDivElement>>;
703
+
704
+ declare type SeparatorProps = RadixSelect.SelectSeparatorProps;
705
+
706
+ declare type SeparatorProps_2 = RadixMenu.DropdownMenuSeparatorProps;
707
+
708
+ declare type SeparatorProps_3 = RadixMenu_2.ContextMenuSeparatorProps;
709
+
710
+ export declare const Slider: default_2.ForwardRefExoticComponent<Omit<RadixSlider.SliderProps, "children" | "asChild"> & SliderOwnProps & default_2.RefAttributes<HTMLSpanElement>>;
711
+
712
+ declare type SliderOwnProps = {
713
+ range?: boolean;
714
+ rangeAnchor?: number;
715
+ baseValue?: number;
716
+ hints?: number[];
717
+ };
718
+
719
+ declare const Sub: default_2.FC<RadixMenu.DropdownMenuSubProps>;
720
+
721
+ declare const Sub_2: default_2.FC<RadixMenu_2.ContextMenuSubProps>;
722
+
723
+ declare const SubContent: default_2.ForwardRefExoticComponent<RadixMenu.DropdownMenuSubContentProps & default_2.RefAttributes<HTMLDivElement>>;
724
+
725
+ declare const SubContent_2: default_2.ForwardRefExoticComponent<RadixMenu_2.ContextMenuSubContentProps & default_2.RefAttributes<HTMLDivElement>>;
726
+
727
+ declare type SubContentProps = RadixMenu.DropdownMenuSubContentProps;
728
+
729
+ declare type SubContentProps_2 = RadixMenu_2.ContextMenuSubContentProps;
730
+
731
+ declare type SubProps = RadixMenu.DropdownMenuSubProps;
732
+
733
+ declare type SubProps_2 = RadixMenu_2.ContextMenuSubProps;
734
+
735
+ declare const SubTrigger: default_2.ForwardRefExoticComponent<RadixMenu.DropdownMenuSubTriggerProps & default_2.RefAttributes<HTMLDivElement>>;
736
+
737
+ declare const SubTrigger_2: default_2.ForwardRefExoticComponent<RadixMenu_2.ContextMenuSubTriggerProps & default_2.RefAttributes<HTMLDivElement>>;
738
+
739
+ declare type SubTriggerProps = RadixMenu.DropdownMenuSubTriggerProps;
740
+
741
+ declare type SubTriggerProps_2 = RadixMenu_2.ContextMenuSubTriggerProps;
742
+
743
+ export declare const Switch: default_2.ForwardRefExoticComponent<SwitchProps & default_2.RefAttributes<HTMLButtonElement>>;
744
+
745
+ declare type SwitchProps = Omit<RadixSwitch.SwitchProps, 'asChild'>;
746
+
747
+ declare namespace Tabs {
748
+ export {
749
+ RootProps,
750
+ ListProps,
751
+ TriggerProps,
752
+ ContentProps,
753
+ Root,
754
+ List,
755
+ Trigger,
756
+ Content
757
+ }
758
+ }
759
+ export { Tabs }
760
+
761
+ declare const text: (props?: ({
762
+ size?: "small" | "medium" | "large" | null | undefined;
763
+ weight?: "strong" | "default" | null | undefined;
764
+ align?: "center" | "end" | "start" | null | undefined;
765
+ block?: boolean | null | undefined;
766
+ } & ClassProp) | undefined) => string;
767
+
768
+ declare const Text_2: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
769
+ size?: "small" | "medium" | "large" | null | undefined;
770
+ weight?: "strong" | "default" | null | undefined;
771
+ align?: "center" | "end" | "start" | null | undefined;
772
+ block?: boolean | null | undefined;
773
+ } & ClassProp) | undefined) => string> & {
774
+ asChild?: boolean | undefined;
775
+ } & default_2.RefAttributes<HTMLSpanElement>>;
776
+ export { Text_2 as Text }
777
+
778
+ declare const Text_3: default_2.ForwardRefExoticComponent<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
779
+ size?: "small" | "medium" | "large" | null | undefined;
780
+ weight?: "strong" | "default" | null | undefined;
781
+ align?: "center" | "end" | "start" | null | undefined;
782
+ block?: boolean | null | undefined;
783
+ } & ClassProp) | undefined) => string> & {
784
+ asChild?: boolean | undefined;
785
+ } & default_2.RefAttributes<HTMLSpanElement>>;
786
+
787
+ export declare const Textarea: default_2.ForwardRefExoticComponent<TextareaAutosizeProps & default_2.RefAttributes<HTMLTextAreaElement>>;
788
+
789
+ declare type TextProps = TextProps_2;
790
+
791
+ declare type TextProps_2 = default_2.ComponentPropsWithoutRef<'span'> & VariantProps<typeof text> & {
792
+ asChild?: boolean;
793
+ };
794
+
795
+ declare const Title: default_2.ForwardRefExoticComponent<Omit<Omit<default_2.DetailedHTMLProps<default_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
796
+ size?: "small" | "medium" | "large" | null | undefined;
797
+ weight?: "strong" | "default" | null | undefined;
798
+ align?: "center" | "end" | "start" | null | undefined;
799
+ block?: boolean | null | undefined;
800
+ } & ClassProp) | undefined) => string> & {
801
+ asChild?: boolean | undefined;
802
+ } & default_2.RefAttributes<HTMLSpanElement>, "ref"> & default_2.RefAttributes<HTMLSpanElement>>;
803
+
804
+ declare const Title_2: default_2.ForwardRefExoticComponent<TitleProps_2 & default_2.RefAttributes<HTMLHeadingElement>>;
805
+
806
+ declare const Title_3: default_2.ForwardRefExoticComponent<TitleProps_3 & default_2.RefAttributes<HTMLHeadingElement>>;
807
+
808
+ declare type TitleProps = default_2.ComponentPropsWithoutRef<typeof Text_2>;
809
+
810
+ declare type TitleProps_2 = Omit<RadixDialog.DialogTitleProps, 'asChild'>;
811
+
812
+ declare type TitleProps_3 = Omit<RadixAlertDialog.AlertDialogTitleProps, 'asChild'>;
813
+
814
+ export declare const Tooltip: default_2.ForwardRefExoticComponent<Omit<RadixTooltip.TooltipProps & RadixTooltip.TooltipContentProps, "content"> & {
815
+ children: default_2.ReactNode;
816
+ container?: HTMLElement | null | undefined;
817
+ content: default_2.ReactNode;
818
+ } & default_2.RefAttributes<HTMLDivElement>>;
819
+
820
+ export declare const TooltipProvider: default_2.FC<RadixTooltip.TooltipProviderProps>;
821
+
822
+ declare const Trigger: default_2.ForwardRefExoticComponent<RadixTabs.TabsTriggerProps & default_2.RefAttributes<HTMLButtonElement>>;
823
+
824
+ declare const Trigger_2: default_2.ForwardRefExoticComponent<{
825
+ placeholder?: string | undefined;
826
+ } & RadixSelect.SelectTriggerProps & default_2.RefAttributes<HTMLButtonElement>>;
827
+
828
+ declare const Trigger_3: default_2.ForwardRefExoticComponent<RadixMenu.DropdownMenuTriggerProps & default_2.RefAttributes<HTMLButtonElement>>;
829
+
830
+ declare const Trigger_4: default_2.ForwardRefExoticComponent<RadixMenu_2.ContextMenuTriggerProps & default_2.RefAttributes<HTMLSpanElement>>;
831
+
832
+ declare const Trigger_5: default_2.ForwardRefExoticComponent<TriggerProps_5 & default_2.RefAttributes<HTMLButtonElement>>;
833
+
834
+ declare const Trigger_6: default_2.ForwardRefExoticComponent<TriggerProps_6 & default_2.RefAttributes<HTMLButtonElement>>;
835
+
836
+ declare const Trigger_7: default_2.ForwardRefExoticComponent<TriggerProps_7 & default_2.RefAttributes<HTMLButtonElement>>;
837
+
838
+ declare const Trigger_8: default_2.ForwardRefExoticComponent<RadixCollapsible.CollapsibleTriggerProps & default_2.RefAttributes<HTMLButtonElement>>;
839
+
840
+ declare type TriggerProps = RadixTabs.TabsTriggerProps;
841
+
842
+ declare type TriggerProps_2 = {
843
+ placeholder?: string;
844
+ } & RadixSelect.SelectTriggerProps;
845
+
846
+ declare type TriggerProps_3 = RadixMenu.DropdownMenuTriggerProps;
847
+
848
+ declare type TriggerProps_4 = RadixMenu_2.ContextMenuTriggerProps;
849
+
850
+ declare type TriggerProps_5 = Omit<RadixPopover.PopoverTriggerProps, 'asChild'>;
851
+
852
+ declare type TriggerProps_6 = Omit<RadixDialog.DialogTriggerProps, 'asChild'>;
853
+
854
+ declare type TriggerProps_7 = Omit<RadixAlertDialog.AlertDialogTriggerProps, 'asChild'>;
855
+
856
+ declare type TriggerProps_8 = RadixCollapsible.CollapsibleTriggerProps;
857
+
858
+ declare namespace ValueField {
859
+ export {
860
+ Multi,
861
+ Root_11 as Root,
862
+ Label_7 as Label,
863
+ Numeric,
864
+ Hex,
865
+ MultiProps,
866
+ RootProps_10 as RootProps,
867
+ LabelProps_6 as LabelProps,
868
+ NumericProps,
869
+ HexProps
870
+ }
871
+ }
872
+ export { ValueField }
873
+
874
+ export { }