doodleui-react 0.6.0 → 0.6.1
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/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/dist/index.cjs +928 -269
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +117 -24
- package/dist/index.d.ts +117 -24
- package/dist/index.js +923 -270
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -42,6 +42,12 @@ interface SketchProps {
|
|
|
42
42
|
bowing?: number;
|
|
43
43
|
fillStyle?: FillStyle;
|
|
44
44
|
strokeWidth?: number;
|
|
45
|
+
/** Spacing between hatch lines for patterned fills. Defaults to 4 in roughjs, higher = airier */
|
|
46
|
+
hachureGap?: number;
|
|
47
|
+
/** Angle in degrees of the hatch lines */
|
|
48
|
+
hachureAngle?: number;
|
|
49
|
+
/** Weight/thickness of the hatch lines */
|
|
50
|
+
fillWeight?: number;
|
|
45
51
|
}
|
|
46
52
|
interface RoughSvgProps extends SketchProps {
|
|
47
53
|
shape?: RoughShape;
|
|
@@ -63,6 +69,10 @@ declare const DEFAULT_ROUGHNESS = 1.5;
|
|
|
63
69
|
declare const DEFAULT_BOWING = 1;
|
|
64
70
|
declare const DEFAULT_STROKE_WIDTH = 1.75;
|
|
65
71
|
declare const DEFAULT_INK = "#1f1d1a";
|
|
72
|
+
declare const DEFAULT_DARK_INK = "#f3f4f6";
|
|
73
|
+
declare const DEFAULT_PAPER = "#f7f6f2";
|
|
74
|
+
declare const DEFAULT_DARK_PAPER = "#131923";
|
|
75
|
+
declare const DEFAULT_DARK_CARD_BG = "#131923";
|
|
66
76
|
declare const SKETCH_COLORS: {
|
|
67
77
|
readonly ink: "#1f1d1a";
|
|
68
78
|
readonly accent: "#e24b3b";
|
|
@@ -74,12 +84,25 @@ declare const SKETCH_COLORS: {
|
|
|
74
84
|
readonly error: "#c0392b";
|
|
75
85
|
readonly success: "#2d6a4f";
|
|
76
86
|
};
|
|
87
|
+
declare const DARK_SKETCH_COLORS: {
|
|
88
|
+
readonly ink: "#f3f4f6";
|
|
89
|
+
readonly accent: "#f87171";
|
|
90
|
+
readonly accentFill: "rgba(248, 113, 113, 0.22)";
|
|
91
|
+
readonly secondaryFill: "rgba(255, 255, 255, 0.08)";
|
|
92
|
+
readonly paper: "#131923";
|
|
93
|
+
readonly cardBg: "#131923";
|
|
94
|
+
readonly shadow: "#000000";
|
|
95
|
+
readonly info: "#60a5fa";
|
|
96
|
+
readonly warning: "#fbbf24";
|
|
97
|
+
readonly error: "#f87171";
|
|
98
|
+
readonly success: "#34d399";
|
|
99
|
+
};
|
|
77
100
|
|
|
78
101
|
/**
|
|
79
102
|
* Absolutely-positioned SVG layer that draws a rough.js shape behind HTML content.
|
|
80
103
|
* Parent must be `position: relative`.
|
|
81
104
|
*/
|
|
82
|
-
declare function RoughSvg({ shape, width: widthProp, height: heightProp, roughness, seed: seedProp, sketchColor, bowing, fillStyle, strokeWidth, fill, inset, path, className, style, }: RoughSvgProps): react.JSX.Element;
|
|
105
|
+
declare function RoughSvg({ shape, width: widthProp, height: heightProp, roughness, seed: seedProp, sketchColor, bowing, fillStyle, strokeWidth, fill, hachureGap, hachureAngle, fillWeight, inset, path, className, style, }: RoughSvgProps): react.JSX.Element;
|
|
83
106
|
|
|
84
107
|
interface SketchBoxProps extends SketchProps, Omit<HTMLAttributes<HTMLDivElement>, "color"> {
|
|
85
108
|
children?: ReactNode;
|
|
@@ -130,11 +153,34 @@ declare function useSketchSeed(): SketchSeedContextValue;
|
|
|
130
153
|
*/
|
|
131
154
|
declare function useResolvedSeed(seed?: number): number;
|
|
132
155
|
|
|
156
|
+
interface ResolvedSketchTheme {
|
|
157
|
+
isDark: boolean;
|
|
158
|
+
ink: string;
|
|
159
|
+
paper: string;
|
|
160
|
+
cardBg: string;
|
|
161
|
+
shadow: string;
|
|
162
|
+
accent: string;
|
|
163
|
+
accentFill: string;
|
|
164
|
+
secondaryFill: string;
|
|
165
|
+
info: string;
|
|
166
|
+
warning: string;
|
|
167
|
+
error: string;
|
|
168
|
+
success: string;
|
|
169
|
+
}
|
|
170
|
+
type SketchTheme = ResolvedSketchTheme;
|
|
171
|
+
declare function useSketchTheme(sketchColorOverride?: string): ResolvedSketchTheme;
|
|
172
|
+
|
|
173
|
+
type DoodleUITheme = "light" | "dark" | "system";
|
|
133
174
|
interface DoodleUIContextValue {
|
|
134
175
|
/** Default for components that do not set their own `animate` prop. */
|
|
135
176
|
animate: boolean;
|
|
136
177
|
/** When true, skip the prefers-reduced-motion disable. */
|
|
137
178
|
forceAnimate: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* Theme mode: "light", "dark", or "system". Defaults to "system"
|
|
181
|
+
* (automatically tracks document .dark class or prefers-color-scheme).
|
|
182
|
+
*/
|
|
183
|
+
theme?: DoodleUITheme;
|
|
138
184
|
}
|
|
139
185
|
interface DoodleUIProviderProps {
|
|
140
186
|
children: ReactNode;
|
|
@@ -148,8 +194,13 @@ interface DoodleUIProviderProps {
|
|
|
148
194
|
* Off by default — only set this as an explicit escape hatch.
|
|
149
195
|
*/
|
|
150
196
|
forceAnimate?: boolean;
|
|
197
|
+
/**
|
|
198
|
+
* Theme mode: "light", "dark", or "system". Defaults to "system"
|
|
199
|
+
* (automatically reacts to html.dark, [data-theme="dark"], and system dark mode).
|
|
200
|
+
*/
|
|
201
|
+
theme?: DoodleUITheme;
|
|
151
202
|
}
|
|
152
|
-
declare function DoodleUIProvider({ children, animate, forceAnimate, }: DoodleUIProviderProps): react.JSX.Element;
|
|
203
|
+
declare function DoodleUIProvider({ children, animate, forceAnimate, theme, }: DoodleUIProviderProps): react.JSX.Element;
|
|
153
204
|
declare function useDoodleUI(): DoodleUIContextValue;
|
|
154
205
|
|
|
155
206
|
/**
|
|
@@ -215,6 +266,7 @@ declare const Textarea: react.ForwardRefExoticComponent<TextareaProps & react.Re
|
|
|
215
266
|
|
|
216
267
|
interface CheckboxProps extends Omit<CheckboxPrimitive.CheckboxProps, "asChild">, SketchProps {
|
|
217
268
|
label?: ReactNode;
|
|
269
|
+
fill?: string;
|
|
218
270
|
/**
|
|
219
271
|
* Draw-in the box on mount and the checkmark when checked.
|
|
220
272
|
* Defaults to the DoodleUIProvider value (true).
|
|
@@ -228,6 +280,7 @@ interface RadioGroupProps extends ComponentPropsWithoutRef<typeof RadioGroupPrim
|
|
|
228
280
|
declare const RadioGroup: react.ForwardRefExoticComponent<RadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
229
281
|
interface RadioProps extends Omit<ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, "asChild">, SketchProps {
|
|
230
282
|
label?: ReactNode;
|
|
283
|
+
fill?: string;
|
|
231
284
|
/**
|
|
232
285
|
* Draw-in the ring on mount and scale/draw the dot on select.
|
|
233
286
|
* Defaults to the DoodleUIProvider value (true).
|
|
@@ -262,6 +315,7 @@ type AlertVariant = "info" | "warning" | "error" | "success";
|
|
|
262
315
|
interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, "color" | "title">, SketchProps {
|
|
263
316
|
variant?: AlertVariant;
|
|
264
317
|
title?: ReactNode;
|
|
318
|
+
fill?: string;
|
|
265
319
|
/**
|
|
266
320
|
* Draw-in the border on mount (~200ms). Defaults to the DoodleUIProvider value (true).
|
|
267
321
|
*/
|
|
@@ -278,13 +332,14 @@ interface ModalProps extends SketchProps {
|
|
|
278
332
|
description?: ReactNode;
|
|
279
333
|
children?: ReactNode;
|
|
280
334
|
className?: string;
|
|
335
|
+
fill?: string;
|
|
281
336
|
/**
|
|
282
337
|
* Backdrop fade, panel enter/exit, and border draw-in on open.
|
|
283
338
|
* Defaults to the DoodleUIProvider value (true).
|
|
284
339
|
*/
|
|
285
340
|
animate?: boolean;
|
|
286
341
|
}
|
|
287
|
-
declare function Modal({ open, defaultOpen, onOpenChange, trigger, title, description, children, className, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, }: ModalProps): react.JSX.Element;
|
|
342
|
+
declare function Modal({ open, defaultOpen, onOpenChange, trigger, title, description, children, className, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, }: ModalProps): react.JSX.Element;
|
|
288
343
|
declare const ModalRoot: react.FC<DialogPrimitive.DialogProps>;
|
|
289
344
|
declare const ModalTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
290
345
|
declare const ModalClose: react.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -320,13 +375,14 @@ interface TooltipProps extends SketchProps {
|
|
|
320
375
|
side?: ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>["side"];
|
|
321
376
|
delayDuration?: number;
|
|
322
377
|
className?: string;
|
|
378
|
+
fill?: string;
|
|
323
379
|
/**
|
|
324
380
|
* Quick draw-in when the bubble shows (~180ms). Defaults to the
|
|
325
381
|
* DoodleUIProvider value (true).
|
|
326
382
|
*/
|
|
327
383
|
animate?: boolean;
|
|
328
384
|
}
|
|
329
|
-
declare function Tooltip({ content, children, side, delayDuration, className, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, }: TooltipProps): react.JSX.Element;
|
|
385
|
+
declare function Tooltip({ content, children, side, delayDuration, className, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, }: TooltipProps): react.JSX.Element;
|
|
330
386
|
|
|
331
387
|
/**
|
|
332
388
|
* Offset a resolved sketch seed by a stable hash of `key`.
|
|
@@ -344,6 +400,7 @@ interface SelectProps extends Omit<SelectPrimitive.SelectProps, "children">, Ske
|
|
|
344
400
|
placeholder?: string;
|
|
345
401
|
className?: string;
|
|
346
402
|
style?: CSSProperties;
|
|
403
|
+
fill?: string;
|
|
347
404
|
"aria-label"?: string;
|
|
348
405
|
/**
|
|
349
406
|
* Draw-in the trigger on mount and the popover border on open.
|
|
@@ -351,13 +408,14 @@ interface SelectProps extends Omit<SelectPrimitive.SelectProps, "children">, Ske
|
|
|
351
408
|
*/
|
|
352
409
|
animate?: boolean;
|
|
353
410
|
}
|
|
354
|
-
declare function Select({ options, placeholder, className, style, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, value, defaultValue, onValueChange, animate, "aria-label": ariaLabel, ...rest }: SelectProps): react.JSX.Element;
|
|
411
|
+
declare function Select({ options, placeholder, className, style, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, value, defaultValue, onValueChange, animate, "aria-label": ariaLabel, ...rest }: SelectProps): react.JSX.Element;
|
|
355
412
|
interface SelectTriggerProps extends Omit<SelectPrimitive.SelectTriggerProps, "asChild"> {
|
|
356
413
|
placeholder?: string;
|
|
357
414
|
}
|
|
358
415
|
declare const SelectTrigger: react.ForwardRefExoticComponent<SelectTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
359
416
|
interface SelectContentProps extends Omit<SelectPrimitive.SelectContentProps, "asChild" | "position"> {
|
|
360
417
|
children?: ReactNode;
|
|
418
|
+
fill?: string;
|
|
361
419
|
}
|
|
362
420
|
declare const SelectContent: react.ForwardRefExoticComponent<SelectContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
363
421
|
interface SelectItemProps extends Omit<SelectPrimitive.SelectItemProps, "asChild"> {
|
|
@@ -436,6 +494,7 @@ interface ToastProps extends SketchProps {
|
|
|
436
494
|
title?: ReactNode;
|
|
437
495
|
children?: ReactNode;
|
|
438
496
|
variant?: ToastVariant;
|
|
497
|
+
fill?: string;
|
|
439
498
|
duration?: number;
|
|
440
499
|
className?: string;
|
|
441
500
|
style?: CSSProperties;
|
|
@@ -445,7 +504,7 @@ interface ToastProps extends SketchProps {
|
|
|
445
504
|
*/
|
|
446
505
|
animate?: boolean;
|
|
447
506
|
}
|
|
448
|
-
declare function Toast({ open, defaultOpen, onOpenChange, title, children, variant, duration, className, style, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, }: ToastProps): react.JSX.Element;
|
|
507
|
+
declare function Toast({ open, defaultOpen, onOpenChange, title, children, variant, fill, duration, className, style, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, }: ToastProps): react.JSX.Element;
|
|
449
508
|
declare const ToastRoot: react.ForwardRefExoticComponent<ToastPrimitive.ToastProps & react.RefAttributes<HTMLLIElement>>;
|
|
450
509
|
declare const ToastTitle: react.ForwardRefExoticComponent<ToastPrimitive.ToastTitleProps & react.RefAttributes<HTMLDivElement>>;
|
|
451
510
|
declare const ToastDescription: react.ForwardRefExoticComponent<ToastPrimitive.ToastDescriptionProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -485,12 +544,14 @@ interface AvatarProps extends Omit<AvatarPrimitive.AvatarProps, "asChild">, Sket
|
|
|
485
544
|
size?: number;
|
|
486
545
|
shape?: AvatarShape;
|
|
487
546
|
status?: AvatarStatus;
|
|
547
|
+
fill?: string;
|
|
488
548
|
}
|
|
489
549
|
declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<HTMLSpanElement>>;
|
|
490
550
|
|
|
491
551
|
type SliderThumbShape = "circle" | "square";
|
|
492
552
|
interface SliderProps extends Omit<ComponentPropsWithoutRef<typeof SliderPrimitive.Root>, "asChild">, SketchProps {
|
|
493
553
|
thumbShape?: SliderThumbShape;
|
|
554
|
+
fill?: string;
|
|
494
555
|
}
|
|
495
556
|
declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLSpanElement>>;
|
|
496
557
|
|
|
@@ -533,6 +594,7 @@ interface StepperProps extends Omit<HTMLAttributes<HTMLDivElement>, "color">, Sk
|
|
|
533
594
|
steps: Array<StepperStep | ReactNode>;
|
|
534
595
|
current?: number;
|
|
535
596
|
orientation?: StepperOrientation;
|
|
597
|
+
fill?: string;
|
|
536
598
|
}
|
|
537
599
|
declare const Stepper: react.ForwardRefExoticComponent<StepperProps & react.RefAttributes<HTMLDivElement>>;
|
|
538
600
|
|
|
@@ -567,39 +629,41 @@ declare const CollapsibleContent: react.ForwardRefExoticComponent<CollapsibleCon
|
|
|
567
629
|
|
|
568
630
|
interface PopoverProps extends Omit<PopoverPrimitive.PopoverProps, "children">, SketchProps {
|
|
569
631
|
children?: ReactNode;
|
|
632
|
+
fill?: string;
|
|
570
633
|
/**
|
|
571
634
|
* Draw-in the panel border when the popover opens.
|
|
572
635
|
* Defaults to the DoodleUIProvider value (true).
|
|
573
636
|
*/
|
|
574
637
|
animate?: boolean;
|
|
575
638
|
}
|
|
576
|
-
declare function Popover({ children, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, ...rest }: PopoverProps): react.JSX.Element;
|
|
639
|
+
declare function Popover({ children, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, ...rest }: PopoverProps): react.JSX.Element;
|
|
577
640
|
declare const PopoverTrigger: react.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
578
641
|
declare const PopoverAnchor: react.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & react.RefAttributes<HTMLDivElement>>;
|
|
579
642
|
declare const PopoverClose: react.ForwardRefExoticComponent<PopoverPrimitive.PopoverCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
580
643
|
interface PopoverContentProps extends Omit<PopoverPrimitive.PopoverContentProps, "asChild"> {
|
|
581
644
|
children?: ReactNode;
|
|
645
|
+
fill?: string;
|
|
582
646
|
}
|
|
583
647
|
declare const PopoverContent: react.ForwardRefExoticComponent<PopoverContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
584
|
-
|
|
585
|
-
}
|
|
586
|
-
declare const PopoverArrow: react.ForwardRefExoticComponent<PopoverArrowProps & react.RefAttributes<SVGSVGElement>>;
|
|
648
|
+
declare function PopoverArrow(props: ComponentPropsWithoutRef<typeof PopoverPrimitive.Arrow>): react.JSX.Element;
|
|
587
649
|
|
|
588
650
|
interface DropdownMenuProps extends Omit<DropdownMenuPrimitive.DropdownMenuProps, "children">, SketchProps {
|
|
589
651
|
children?: ReactNode;
|
|
652
|
+
fill?: string;
|
|
590
653
|
/**
|
|
591
654
|
* Draw-in the panel border when the menu opens.
|
|
592
655
|
* Defaults to the DoodleUIProvider value (true).
|
|
593
656
|
*/
|
|
594
657
|
animate?: boolean;
|
|
595
658
|
}
|
|
596
|
-
declare function DropdownMenu({ children, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, ...rest }: DropdownMenuProps): react.JSX.Element;
|
|
659
|
+
declare function DropdownMenu({ children, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, ...rest }: DropdownMenuProps): react.JSX.Element;
|
|
597
660
|
declare const DropdownMenuTrigger: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
598
661
|
declare const DropdownMenuGroup: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
599
662
|
declare const DropdownMenuRadioGroup: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
600
663
|
declare const DropdownMenuSub: react.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
601
664
|
interface DropdownMenuContentProps extends Omit<DropdownMenuPrimitive.DropdownMenuContentProps, "asChild"> {
|
|
602
665
|
children?: ReactNode;
|
|
666
|
+
fill?: string;
|
|
603
667
|
}
|
|
604
668
|
declare const DropdownMenuContent: react.ForwardRefExoticComponent<DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
605
669
|
interface DropdownMenuItemProps extends Omit<DropdownMenuPrimitive.DropdownMenuItemProps, "asChild"> {
|
|
@@ -625,6 +689,7 @@ declare const DropdownMenuSeparator: react.ForwardRefExoticComponent<DropdownMen
|
|
|
625
689
|
|
|
626
690
|
interface DialogProps extends Omit<DialogPrimitive.DialogProps, "children">, SketchProps {
|
|
627
691
|
children?: ReactNode;
|
|
692
|
+
fill?: string;
|
|
628
693
|
/**
|
|
629
694
|
* Backdrop fade, panel enter/exit, and border draw-in on open.
|
|
630
695
|
* Defaults to the DoodleUIProvider value (true).
|
|
@@ -638,7 +703,7 @@ interface DialogProps extends Omit<DialogPrimitive.DialogProps, "children">, Ske
|
|
|
638
703
|
* `Modal`, `DialogContent` has no forced width or shadow and no built-in
|
|
639
704
|
* close button — compose your own layout inside it.
|
|
640
705
|
*/
|
|
641
|
-
declare function Dialog({ children, open, defaultOpen, onOpenChange, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, ...rest }: DialogProps): react.JSX.Element;
|
|
706
|
+
declare function Dialog({ children, open, defaultOpen, onOpenChange, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, ...rest }: DialogProps): react.JSX.Element;
|
|
642
707
|
declare const DialogTrigger: react.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
643
708
|
declare const DialogPortal: react.FC<DialogPrimitive.DialogPortalProps>;
|
|
644
709
|
declare const DialogClose: react.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -647,6 +712,7 @@ interface DialogOverlayProps extends Omit<DialogPrimitive.DialogOverlayProps, "a
|
|
|
647
712
|
declare const DialogOverlay: react.ForwardRefExoticComponent<DialogOverlayProps & react.RefAttributes<HTMLDivElement>>;
|
|
648
713
|
interface DialogContentProps extends Omit<DialogPrimitive.DialogContentProps, "asChild" | "forceMount"> {
|
|
649
714
|
children?: ReactNode;
|
|
715
|
+
fill?: string;
|
|
650
716
|
/** Panel width. Defaults to `min(420px, calc(100vw - 32px))`. */
|
|
651
717
|
contentStyle?: CSSProperties;
|
|
652
718
|
}
|
|
@@ -672,6 +738,7 @@ declare const DialogDescription: react.ForwardRefExoticComponent<DialogDescripti
|
|
|
672
738
|
|
|
673
739
|
interface AlertDialogProps extends Omit<AlertDialogPrimitive.AlertDialogProps, "children">, SketchProps {
|
|
674
740
|
children?: ReactNode;
|
|
741
|
+
fill?: string;
|
|
675
742
|
/**
|
|
676
743
|
* Backdrop fade, panel enter/exit, and border draw-in on open.
|
|
677
744
|
* Defaults to the DoodleUIProvider value (true).
|
|
@@ -684,7 +751,7 @@ interface AlertDialogProps extends Omit<AlertDialogPrimitive.AlertDialogProps, "
|
|
|
684
751
|
* no dismiss-on-outside-click or Escape by default, and `AlertDialogAction`
|
|
685
752
|
* / `AlertDialogCancel` give the confirm button visual emphasis.
|
|
686
753
|
*/
|
|
687
|
-
declare function AlertDialog({ children, open, defaultOpen, onOpenChange, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, ...rest }: AlertDialogProps): react.JSX.Element;
|
|
754
|
+
declare function AlertDialog({ children, open, defaultOpen, onOpenChange, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, ...rest }: AlertDialogProps): react.JSX.Element;
|
|
688
755
|
declare const AlertDialogTrigger: react.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
689
756
|
declare const AlertDialogPortal: react.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
690
757
|
interface AlertDialogOverlayProps extends Omit<AlertDialogPrimitive.AlertDialogOverlayProps, "asChild" | "forceMount"> {
|
|
@@ -692,6 +759,7 @@ interface AlertDialogOverlayProps extends Omit<AlertDialogPrimitive.AlertDialogO
|
|
|
692
759
|
declare const AlertDialogOverlay: react.ForwardRefExoticComponent<AlertDialogOverlayProps & react.RefAttributes<HTMLDivElement>>;
|
|
693
760
|
interface AlertDialogContentProps extends Omit<AlertDialogPrimitive.AlertDialogContentProps, "asChild" | "forceMount"> {
|
|
694
761
|
children?: ReactNode;
|
|
762
|
+
fill?: string;
|
|
695
763
|
contentStyle?: CSSProperties;
|
|
696
764
|
}
|
|
697
765
|
declare const AlertDialogContent: react.ForwardRefExoticComponent<AlertDialogContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -781,9 +849,10 @@ interface ComboboxProps extends SketchProps {
|
|
|
781
849
|
* filtering/list) behind a sketchy `Input`-styled trigger button — the same
|
|
782
850
|
* recipe shadcn uses, since Radix has no dedicated Combobox primitive.
|
|
783
851
|
*/
|
|
784
|
-
declare function Combobox({ options, placeholder, searchPlaceholder, emptyMessage, value, defaultValue, onValueChange, disabled, className, style, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, "aria-label": ariaLabel, }: ComboboxProps): react.JSX.Element;
|
|
852
|
+
declare function Combobox({ options, placeholder, searchPlaceholder, emptyMessage, value, defaultValue, onValueChange, disabled, className, style, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, "aria-label": ariaLabel, }: ComboboxProps): react.JSX.Element;
|
|
785
853
|
|
|
786
854
|
interface KbdProps extends Omit<HTMLAttributes<HTMLElement>, "color">, SketchProps {
|
|
855
|
+
fill?: string;
|
|
787
856
|
/**
|
|
788
857
|
* Draw-in the border on mount. Defaults to the DoodleUIProvider value (true).
|
|
789
858
|
*/
|
|
@@ -832,7 +901,7 @@ interface InputGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, "color">,
|
|
|
832
901
|
children?: ReactNode;
|
|
833
902
|
animate?: boolean;
|
|
834
903
|
}
|
|
835
|
-
declare function InputGroup({ children, className, style, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, onFocus, onBlur, ...rest }: InputGroupProps): react.JSX.Element;
|
|
904
|
+
declare function InputGroup({ children, className, style, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, onFocus, onBlur, ...rest }: InputGroupProps): react.JSX.Element;
|
|
836
905
|
interface InputGroupAddonProps extends HTMLAttributes<HTMLSpanElement> {
|
|
837
906
|
align?: "inline-start" | "inline-end";
|
|
838
907
|
}
|
|
@@ -845,6 +914,7 @@ interface InputGroupButtonProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
845
914
|
declare const InputGroupButton: react.ForwardRefExoticComponent<InputGroupButtonProps & react.RefAttributes<HTMLSpanElement>>;
|
|
846
915
|
|
|
847
916
|
interface InputOTPProps extends Omit<ComponentPropsWithoutRef<typeof OTPInput>, "render">, SketchProps {
|
|
917
|
+
fill?: string;
|
|
848
918
|
animate?: boolean;
|
|
849
919
|
}
|
|
850
920
|
declare const InputOTP: react.ForwardRefExoticComponent<InputOTPProps & react.RefAttributes<HTMLInputElement>>;
|
|
@@ -862,6 +932,7 @@ declare const InputOTPSeparator: react.ForwardRefExoticComponent<InputOTPSeparat
|
|
|
862
932
|
|
|
863
933
|
interface ScrollAreaProps extends Omit<ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root>, "children">, SketchProps {
|
|
864
934
|
children?: ReactNode;
|
|
935
|
+
fill?: string;
|
|
865
936
|
animate?: boolean;
|
|
866
937
|
}
|
|
867
938
|
declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -897,31 +968,35 @@ declare function ResizableHandle({ className, style, withHandle, roughness, seed
|
|
|
897
968
|
|
|
898
969
|
interface HoverCardProps extends Omit<ComponentPropsWithoutRef<typeof HoverCardPrimitive.Root>, "children">, SketchProps {
|
|
899
970
|
children?: ReactNode;
|
|
971
|
+
fill?: string;
|
|
900
972
|
animate?: boolean;
|
|
901
973
|
}
|
|
902
|
-
declare function HoverCard({ children, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, ...rest }: HoverCardProps): react.JSX.Element;
|
|
974
|
+
declare function HoverCard({ children, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, ...rest }: HoverCardProps): react.JSX.Element;
|
|
903
975
|
declare const HoverCardTrigger: react.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
904
976
|
interface HoverCardContentProps extends ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content> {
|
|
905
977
|
children?: ReactNode;
|
|
978
|
+
fill?: string;
|
|
906
979
|
}
|
|
907
980
|
declare const HoverCardContent: react.ForwardRefExoticComponent<HoverCardContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
908
981
|
declare const HoverCardArrow: react.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardArrowProps & react.RefAttributes<SVGSVGElement>>;
|
|
909
982
|
|
|
910
983
|
interface ContextMenuProps extends Omit<ContextMenuPrimitive.ContextMenuProps, "children">, SketchProps {
|
|
911
984
|
children?: ReactNode;
|
|
985
|
+
fill?: string;
|
|
912
986
|
/**
|
|
913
987
|
* Draw-in the panel border when the menu opens.
|
|
914
988
|
* Defaults to the DoodleUIProvider value (true).
|
|
915
989
|
*/
|
|
916
990
|
animate?: boolean;
|
|
917
991
|
}
|
|
918
|
-
declare function ContextMenu({ children, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, ...rest }: ContextMenuProps): react.JSX.Element;
|
|
992
|
+
declare function ContextMenu({ children, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, ...rest }: ContextMenuProps): react.JSX.Element;
|
|
919
993
|
declare const ContextMenuTrigger: react.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & react.RefAttributes<HTMLSpanElement>>;
|
|
920
994
|
declare const ContextMenuGroup: react.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
921
995
|
declare const ContextMenuRadioGroup: react.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
922
996
|
declare const ContextMenuSub: react.FC<ContextMenuPrimitive.ContextMenuSubProps>;
|
|
923
997
|
interface ContextMenuContentProps extends Omit<ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>, "asChild"> {
|
|
924
998
|
children?: ReactNode;
|
|
999
|
+
fill?: string;
|
|
925
1000
|
}
|
|
926
1001
|
declare const ContextMenuContent: react.ForwardRefExoticComponent<ContextMenuContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
927
1002
|
interface ContextMenuItemProps extends Omit<ContextMenuPrimitive.ContextMenuItemProps, "asChild"> {
|
|
@@ -947,13 +1022,16 @@ declare const ContextMenuSeparator: react.ForwardRefExoticComponent<ContextMenuS
|
|
|
947
1022
|
|
|
948
1023
|
interface NavigationMenuProps extends Omit<ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>, "children">, SketchProps {
|
|
949
1024
|
children?: ReactNode;
|
|
1025
|
+
fill?: string;
|
|
950
1026
|
animate?: boolean;
|
|
951
1027
|
}
|
|
952
|
-
declare function NavigationMenu({ children, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, ...rest }: NavigationMenuProps): react.JSX.Element;
|
|
1028
|
+
declare function NavigationMenu({ children, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, ...rest }: NavigationMenuProps): react.JSX.Element;
|
|
953
1029
|
declare const NavigationMenuList: react.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & react.RefAttributes<HTMLUListElement>, "ref"> & react.RefAttributes<HTMLUListElement>>;
|
|
954
1030
|
declare const NavigationMenuItem: react.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & react.RefAttributes<HTMLLIElement>>;
|
|
955
1031
|
declare const NavigationMenuTrigger: react.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
956
|
-
declare const NavigationMenuContent: react.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & react.RefAttributes<HTMLDivElement>, "ref"> &
|
|
1032
|
+
declare const NavigationMenuContent: react.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1033
|
+
fill?: string;
|
|
1034
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
957
1035
|
declare const NavigationMenuLink: react.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
958
1036
|
declare const NavigationMenuViewport: react.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
959
1037
|
declare const NavigationMenuIndicator: react.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -964,12 +1042,15 @@ declare const NavigationMenuItemLink: react.ForwardRefExoticComponent<Navigation
|
|
|
964
1042
|
|
|
965
1043
|
interface MenubarProps extends Omit<ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>, "children">, SketchProps {
|
|
966
1044
|
children?: ReactNode;
|
|
1045
|
+
fill?: string;
|
|
967
1046
|
animate?: boolean;
|
|
968
1047
|
}
|
|
969
|
-
declare function Menubar({ children, className, style, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, ...rest }: MenubarProps): react.JSX.Element;
|
|
1048
|
+
declare function Menubar({ children, className, style, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, ...rest }: MenubarProps): react.JSX.Element;
|
|
970
1049
|
declare const MenubarMenu: typeof MenubarPrimitive.Menu;
|
|
971
1050
|
declare const MenubarTrigger: react.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
972
|
-
declare const MenubarContent: react.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & react.RefAttributes<HTMLDivElement>, "ref"> &
|
|
1051
|
+
declare const MenubarContent: react.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1052
|
+
fill?: string;
|
|
1053
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
973
1054
|
declare const MenubarItem: react.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
974
1055
|
declare const MenubarSeparator: react.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
975
1056
|
declare const MenubarLabel: react.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -985,11 +1066,13 @@ type SlidingPanelSide = "top" | "right" | "bottom" | "left";
|
|
|
985
1066
|
interface SlidingPanelRootProps extends Omit<DialogPrimitive.DialogProps, "children">, SketchProps {
|
|
986
1067
|
children?: ReactNode;
|
|
987
1068
|
side?: SlidingPanelSide;
|
|
1069
|
+
fill?: string;
|
|
988
1070
|
animate?: boolean;
|
|
989
1071
|
}
|
|
990
1072
|
interface SlidingPanelContentProps extends Omit<DialogPrimitive.DialogContentProps, "asChild" | "forceMount"> {
|
|
991
1073
|
children?: ReactNode;
|
|
992
1074
|
contentStyle?: CSSProperties;
|
|
1075
|
+
fill?: string;
|
|
993
1076
|
/** Extra chrome above panel content (e.g. drawer handle). */
|
|
994
1077
|
chrome?: ReactNode;
|
|
995
1078
|
}
|
|
@@ -1040,9 +1123,10 @@ interface AspectRatioProps extends SketchProps {
|
|
|
1040
1123
|
className?: string;
|
|
1041
1124
|
style?: CSSProperties;
|
|
1042
1125
|
children?: ReactNode;
|
|
1126
|
+
fill?: string;
|
|
1043
1127
|
animate?: boolean;
|
|
1044
1128
|
}
|
|
1045
|
-
declare function AspectRatio({ ratio, bordered, className, style, children, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, animate, }: AspectRatioProps): react.JSX.Element;
|
|
1129
|
+
declare function AspectRatio({ ratio, bordered, className, style, children, fill, roughness, seed, sketchColor, bowing, fillStyle, strokeWidth, hachureGap, hachureAngle, fillWeight, animate, }: AspectRatioProps): react.JSX.Element;
|
|
1046
1130
|
|
|
1047
1131
|
interface NativeSelectOption {
|
|
1048
1132
|
value: string;
|
|
@@ -1051,6 +1135,7 @@ interface NativeSelectOption {
|
|
|
1051
1135
|
}
|
|
1052
1136
|
interface NativeSelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "color" | "size">, SketchProps {
|
|
1053
1137
|
options?: NativeSelectOption[];
|
|
1138
|
+
fill?: string;
|
|
1054
1139
|
/** Draw-in the border on mount. Defaults to DoodleUIProvider (true). */
|
|
1055
1140
|
animate?: boolean;
|
|
1056
1141
|
className?: string;
|
|
@@ -1060,6 +1145,7 @@ declare const NativeSelect: react.ForwardRefExoticComponent<NativeSelectProps &
|
|
|
1060
1145
|
|
|
1061
1146
|
interface EmptyProps extends Omit<HTMLAttributes<HTMLDivElement>, "color">, SketchProps {
|
|
1062
1147
|
bordered?: boolean;
|
|
1148
|
+
fill?: string;
|
|
1063
1149
|
animate?: boolean;
|
|
1064
1150
|
}
|
|
1065
1151
|
declare const Empty: react.ForwardRefExoticComponent<EmptyProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -1101,10 +1187,12 @@ interface BlockquoteProps extends Omit<HTMLAttributes<HTMLQuoteElement>, "color"
|
|
|
1101
1187
|
}
|
|
1102
1188
|
declare const Blockquote: react.ForwardRefExoticComponent<BlockquoteProps & react.RefAttributes<HTMLQuoteElement>>;
|
|
1103
1189
|
interface InlineCodeProps extends Omit<HTMLAttributes<HTMLElement>, "color">, SketchProps {
|
|
1190
|
+
fill?: string;
|
|
1104
1191
|
animate?: boolean;
|
|
1105
1192
|
}
|
|
1106
1193
|
declare const InlineCode: react.ForwardRefExoticComponent<InlineCodeProps & react.RefAttributes<HTMLElement>>;
|
|
1107
1194
|
interface HighlightProps extends Omit<HTMLAttributes<HTMLSpanElement>, "color">, SketchProps {
|
|
1195
|
+
fill?: string;
|
|
1108
1196
|
animate?: boolean;
|
|
1109
1197
|
}
|
|
1110
1198
|
declare const Highlight: react.ForwardRefExoticComponent<HighlightProps & react.RefAttributes<HTMLSpanElement>>;
|
|
@@ -1115,6 +1203,7 @@ interface SidebarContextValue {
|
|
|
1115
1203
|
collapsed: boolean;
|
|
1116
1204
|
toggleCollapsed: () => void;
|
|
1117
1205
|
ink: string;
|
|
1206
|
+
paper: string;
|
|
1118
1207
|
sketch: SketchProps;
|
|
1119
1208
|
}
|
|
1120
1209
|
declare function useSidebar(): SidebarContextValue;
|
|
@@ -1128,6 +1217,7 @@ interface SidebarProviderProps extends SketchProps {
|
|
|
1128
1217
|
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange, defaultCollapsed, children, roughness, seed, sketchColor, bowing, strokeWidth, }: SidebarProviderProps): react.JSX.Element;
|
|
1129
1218
|
interface SidebarProps extends HTMLAttributes<HTMLElement> {
|
|
1130
1219
|
side?: "left" | "right";
|
|
1220
|
+
fill?: string;
|
|
1131
1221
|
}
|
|
1132
1222
|
declare const Sidebar: react.ForwardRefExoticComponent<SidebarProps & react.RefAttributes<HTMLElement>>;
|
|
1133
1223
|
declare function SidebarHeader({ className, style, children, ...rest }: HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
@@ -1158,6 +1248,8 @@ interface CarouselContextValue {
|
|
|
1158
1248
|
orientation: "horizontal" | "vertical";
|
|
1159
1249
|
sketch: SketchProps & {
|
|
1160
1250
|
animate?: boolean;
|
|
1251
|
+
paper: string;
|
|
1252
|
+
ink: string;
|
|
1161
1253
|
};
|
|
1162
1254
|
bordered: boolean;
|
|
1163
1255
|
}
|
|
@@ -1172,9 +1264,10 @@ interface CarouselProps extends SketchProps {
|
|
|
1172
1264
|
style?: CSSProperties;
|
|
1173
1265
|
children?: ReactNode;
|
|
1174
1266
|
setApi?: (api: CarouselApi) => void;
|
|
1267
|
+
fill?: string;
|
|
1175
1268
|
animate?: boolean;
|
|
1176
1269
|
}
|
|
1177
|
-
declare function Carousel({ opts, plugins, orientation, bordered, className, style, children, setApi, roughness, seed, sketchColor, bowing, strokeWidth, fillStyle, animate, }: CarouselProps): react.JSX.Element;
|
|
1270
|
+
declare function Carousel({ opts, plugins, orientation, bordered, className, style, children, setApi, fill, roughness, seed, sketchColor, bowing, strokeWidth, fillStyle, hachureGap, hachureAngle, fillWeight, animate, }: CarouselProps): react.JSX.Element;
|
|
1178
1271
|
interface CarouselContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
1179
1272
|
}
|
|
1180
1273
|
declare const CarouselContent: react.ForwardRefExoticComponent<CarouselContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -1186,4 +1279,4 @@ interface CarouselArrowProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
1186
1279
|
declare const CarouselPrevious: react.ForwardRefExoticComponent<CarouselArrowProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1187
1280
|
declare const CarouselNext: react.ForwardRefExoticComponent<CarouselArrowProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1188
1281
|
|
|
1189
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertProps, type AlertVariant, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, type AvatarShape, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, Blockquote, type BlockquoteProps, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, type BreadcrumbSeparator, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, Carousel, type CarouselArrowProps, CarouselContent, type CarouselContentProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselOptions, CarouselPrevious, type CarouselProps, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Combobox, type ComboboxProps, Command, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, type ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuSub, ContextMenuTrigger, DEFAULT_BOWING, DEFAULT_INK, DEFAULT_ROUGHNESS, DEFAULT_STROKE_WIDTH, DRAW_IN_ALERT_MS, DRAW_IN_DURATION_MS, DRAW_IN_MARK_MS, DRAW_IN_TOOLTIP_MS, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, Divider, type DividerOrientation, type DividerProps, type DoodleUIContextValue, DoodleUIProvider, type DoodleUIProviderProps, Drawer, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHandle, DrawerHeader, type DrawerProps, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSub, DropdownMenuTrigger, Empty, EmptyAction, EmptyDescription, EmptyMedia, type EmptyProps, EmptyTitle, Field, FieldControl, type FieldControlProps, FieldDescription, FieldError, FieldLabel, type FieldLabelProps, type FieldProps, type FillStyle, Heading, type HeadingProps, Highlight, type HighlightProps, HoverCard, HoverCardArrow, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, InlineCode, type InlineCodeProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputOTP, InputOTPGroup, type InputOTPGroupProps, type InputOTPProps, InputOTPSeparator, type InputOTPSeparatorProps, InputOTPSlot, type InputOTPSlotProps, type InputProps, Kbd, type KbdProps, Label, type LabelProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarMenu, type MenubarProps, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, ModalClose, ModalDescription, type ModalProps, ModalRoot, ModalTitle, ModalTrigger, NativeSelect, type NativeSelectOption, type NativeSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuItemLink, type NavigationMenuItemLinkProps, NavigationMenuLink, NavigationMenuList, type NavigationMenuProps, NavigationMenuTrigger, NavigationMenuViewport, Pagination, type PaginationProps, Paragraph, Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type RoughShape, RoughSvg, type RoughSvgProps, SKETCH_COLORS, ScrollArea, ScrollAreaCorner, type ScrollAreaProps, ScrollAreaViewport, ScrollBar, type ScrollBarProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectOption, type SelectProps, SelectRoot, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, type SheetProps, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarHeader, SidebarInset, SidebarItem, type SidebarItemProps, SidebarLayout, type SidebarLayoutProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, Skeleton, type SkeletonProps, type SkeletonVariant, SketchBox, type SketchBoxProps, type SketchProps, type SketchSeedContextValue, SketchSeedProvider, type SketchSeedProviderProps, Slider, type SliderProps, type SliderThumbShape, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperOrientation, type StepperProps, type StepperStep, Switch, type SwitchProps, TABLE_STAGGER_MS, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, TableCell, type TableCellProps, TableHead, TableHeaderCell, type TableHeaderCellProps, type TableProps, TableRow, Tabs, type TabsProps, Text, type TextProps, Textarea, type TextareaProps, Toast, ToastAction, ToastClose, ToastDescription, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, ToastRoot, ToastTitle, type ToastVariant, ToastViewport, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToggleSize, Tooltip, type TooltipProps, TooltipProvider, deriveSeed, toRoughOptions, useAnimate, useCarousel, useDoodleUI, useDrawIn, useResolvedSeed, useSidebar, useSketchSeed };
|
|
1282
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, AlertDialogOverlay, AlertDialogPortal, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertProps, type AlertVariant, AspectRatio, type AspectRatioProps, Avatar, type AvatarProps, type AvatarShape, type AvatarStatus, Badge, type BadgeProps, type BadgeVariant, Blockquote, type BlockquoteProps, Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbProps, type BreadcrumbSeparator, Button, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardProps, Carousel, type CarouselArrowProps, CarouselContent, type CarouselContentProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselOptions, CarouselPrevious, type CarouselProps, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Combobox, type ComboboxProps, Command, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, type ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuSub, ContextMenuTrigger, DARK_SKETCH_COLORS, DEFAULT_BOWING, DEFAULT_DARK_CARD_BG, DEFAULT_DARK_INK, DEFAULT_DARK_PAPER, DEFAULT_INK, DEFAULT_PAPER, DEFAULT_ROUGHNESS, DEFAULT_STROKE_WIDTH, DRAW_IN_ALERT_MS, DRAW_IN_DURATION_MS, DRAW_IN_MARK_MS, DRAW_IN_TOOLTIP_MS, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, Divider, type DividerOrientation, type DividerProps, type DoodleUIContextValue, DoodleUIProvider, type DoodleUIProviderProps, type DoodleUITheme, Drawer, DrawerClose, DrawerContent, type DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHandle, DrawerHeader, type DrawerProps, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSub, DropdownMenuTrigger, Empty, EmptyAction, EmptyDescription, EmptyMedia, type EmptyProps, EmptyTitle, Field, FieldControl, type FieldControlProps, FieldDescription, FieldError, FieldLabel, type FieldLabelProps, type FieldProps, type FillStyle, Heading, type HeadingProps, Highlight, type HighlightProps, HoverCard, HoverCardArrow, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, InlineCode, type InlineCodeProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputOTP, InputOTPGroup, type InputOTPGroupProps, type InputOTPProps, InputOTPSeparator, type InputOTPSeparatorProps, InputOTPSlot, type InputOTPSlotProps, type InputProps, Kbd, type KbdProps, Label, type LabelProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarMenu, type MenubarProps, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, ModalClose, ModalDescription, type ModalProps, ModalRoot, ModalTitle, ModalTrigger, NativeSelect, type NativeSelectOption, type NativeSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuItemLink, type NavigationMenuItemLinkProps, NavigationMenuLink, NavigationMenuList, type NavigationMenuProps, NavigationMenuTrigger, NavigationMenuViewport, Pagination, type PaginationProps, Paragraph, Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type RoughShape, RoughSvg, type RoughSvgProps, SKETCH_COLORS, ScrollArea, ScrollAreaCorner, type ScrollAreaProps, ScrollAreaViewport, ScrollBar, type ScrollBarProps, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectOption, type SelectProps, SelectRoot, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, type SheetProps, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarHeader, SidebarInset, SidebarItem, type SidebarItemProps, SidebarLayout, type SidebarLayoutProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, Skeleton, type SkeletonProps, type SkeletonVariant, SketchBox, type SketchBoxProps, type SketchProps, type SketchSeedContextValue, SketchSeedProvider, type SketchSeedProviderProps, type SketchTheme, Slider, type SliderProps, type SliderThumbShape, Spinner, type SpinnerProps, type SpinnerSize, Stepper, type StepperOrientation, type StepperProps, type StepperStep, Switch, type SwitchProps, TABLE_STAGGER_MS, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, TableBody, TableCell, type TableCellProps, TableHead, TableHeaderCell, type TableHeaderCellProps, type TableProps, TableRow, Tabs, type TabsProps, Text, type TextProps, Textarea, type TextareaProps, Toast, ToastAction, ToastClose, ToastDescription, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, ToastRoot, ToastTitle, type ToastVariant, ToastViewport, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToggleSize, Tooltip, type TooltipProps, TooltipProvider, deriveSeed, toRoughOptions, useAnimate, useCarousel, useDoodleUI, useDrawIn, useResolvedSeed, useSidebar, useSketchSeed, useSketchTheme };
|