@still-forest/canopy 0.54.0 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/LICENSE +1 -1
  2. package/dist/index.d.ts +119 -213
  3. package/dist/index.js +16123 -14176
  4. package/package.json +19 -21
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Still Forest LLC
3
+ Copyright (c) 2026 Still Forest LLC
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/index.d.ts CHANGED
@@ -1,26 +1,28 @@
1
- import { Accordion as Accordion_3 } from 'radix-ui';
1
+ import { Accordion as Accordion_3 } from '@base-ui/react/accordion';
2
2
  import { Button as Button_3 } from '@base-ui/react/button';
3
- import { Checkbox as Checkbox_3 } from 'radix-ui';
3
+ import { Checkbox as Checkbox_2 } from '@base-ui/react/checkbox';
4
4
  import { ClassProp } from 'class-variance-authority/types';
5
5
  import { ClassValue } from 'clsx';
6
- import { Collapsible as Collapsible_3 } from 'radix-ui';
6
+ import { Collapsible as Collapsible_3 } from '@base-ui/react/collapsible';
7
7
  import { ComponentProps } from 'react';
8
8
  import { default as default_2 } from 'react';
9
9
  import { Dialog as Dialog_3 } from '@base-ui/react/dialog';
10
10
  import { JSX } from 'react/jsx-runtime';
11
+ import { JSXElementConstructor } from 'react';
11
12
  import { Popover as Popover_3 } from '@base-ui/react/popover';
12
13
  import * as React_2 from 'react';
13
14
  import { ReactElement } from 'react';
14
15
  import { ReactNode } from 'react';
15
- import { Slider as Slider_3 } from 'radix-ui';
16
- import { Switch as Switch_3 } from 'radix-ui';
17
- import { Tabs as Tabs_2 } from 'radix-ui';
16
+ import { Slider as Slider_2 } from '@base-ui/react/slider';
17
+ import { Switch as Switch_2 } from '@base-ui/react/switch';
18
+ import { Tabs as Tabs_2 } from '@base-ui/react/tabs';
18
19
  import { Tooltip as Tooltip_3 } from '@base-ui/react/tooltip';
20
+ import { useRender } from '@base-ui/react/use-render';
19
21
  import { VariantProps } from 'class-variance-authority';
20
22
 
21
23
  export declare const Accordion: AccordionComponent;
22
24
 
23
- declare function Accordion_2({ ...props }: React_2.ComponentProps<typeof Accordion_3.Root>): JSX.Element;
25
+ declare function Accordion_2({ className, ...props }: Accordion_3.Root.Props): JSX.Element;
24
26
 
25
27
  declare type AccordionComponent = React.FC<AccordionProps> & {
26
28
  Item: React.FC<AccordionItemProps>;
@@ -28,11 +30,13 @@ declare type AccordionComponent = React.FC<AccordionProps> & {
28
30
  Content: React.FC<AccordionContentProps>;
29
31
  };
30
32
 
31
- declare function AccordionContent({ className, children, ...props }: React_2.ComponentProps<typeof Accordion_3.Content>): JSX.Element;
33
+ declare function AccordionContent({ className, contentClassName, children, ...props }: Accordion_3.Panel.Props & {
34
+ contentClassName?: string;
35
+ }): JSX.Element;
32
36
 
33
37
  declare type AccordionContentProps = React.ComponentProps<typeof AccordionContent>;
34
38
 
35
- declare function AccordionItem({ className, ...props }: React_2.ComponentProps<typeof Accordion_3.Item>): JSX.Element;
39
+ declare function AccordionItem({ className, ...props }: Accordion_3.Item.Props): JSX.Element;
36
40
 
37
41
  declare type AccordionItemProps = React.ComponentProps<typeof AccordionItem>;
38
42
 
@@ -40,7 +44,7 @@ export declare type AccordionProps = React.ComponentProps<typeof Accordion_2> &
40
44
  children: ReactNode;
41
45
  };
42
46
 
43
- declare function AccordionTrigger({ className, children, ...props }: React_2.ComponentProps<typeof Accordion_3.Trigger>): JSX.Element;
47
+ declare function AccordionTrigger({ className, children, ...props }: Accordion_3.Trigger.Props): JSX.Element;
44
48
 
45
49
  declare type AccordionTriggerProps = React.ComponentProps<typeof AccordionTrigger>;
46
50
 
@@ -56,11 +60,9 @@ export declare interface AlertProps {
56
60
 
57
61
  declare type AlertVariant = "info" | "success" | "warning" | "error";
58
62
 
59
- export declare const Badge: ({ label, onClick, className, variant, color, children, ...props }: BadgeProps) => JSX.Element;
63
+ export declare const Badge: ({ label, onClick, className, variant, color, children, render, ...props }: BadgeProps) => JSX.Element;
60
64
 
61
- declare function Badge_2({ className, variant, asChild, ...props }: React_2.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
62
- asChild?: boolean;
63
- }): JSX.Element;
65
+ declare function Badge_2({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>): ReactElement<unknown, string | JSXElementConstructor<any>>;
64
66
 
65
67
  export declare interface BadgeProps extends React.ComponentProps<typeof Badge_2> {
66
68
  variant?: BadgeVariant;
@@ -74,7 +76,7 @@ export declare interface BadgeProps extends React.ComponentProps<typeof Badge_2>
74
76
  declare type BadgeVariant = AlertVariant | "default" | "secondary" | "destructive" | "outline";
75
77
 
76
78
  declare const badgeVariants: (props?: ({
77
- variant?: "info" | "success" | "warning" | "error" | "default" | "secondary" | "destructive" | "outline" | null | undefined;
79
+ variant?: "link" | "info" | "success" | "warning" | "error" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
78
80
  } & ClassProp) | undefined) => string;
79
81
 
80
82
  export declare type BaseButtonSize = "xs" | "sm" | "md" | "lg" | "xl" | "icon" | "unstyled";
@@ -156,9 +158,9 @@ export declare interface ButtonProps extends React.ComponentProps<"button"> {
156
158
  render?: React.ComponentProps<typeof Button_2>["render"];
157
159
  }
158
160
 
159
- export declare const ButtonSelectInput: ({ name, label, hint, options, error, note, secondaryOptions, value, onChange, buttonClassName, secondaryButtonClassName, className: groupClassName, ...props }: ButtonSelectInputProps) => JSX.Element;
161
+ export declare const ButtonRadioField: ({ name, label, hint, options, error, note, secondaryOptions, value, onChange, buttonClassName, secondaryButtonClassName, className: groupClassName, ...props }: ButtonRadioFieldProps) => JSX.Element;
160
162
 
161
- declare interface ButtonSelectInputProps extends Omit<ButtonGroupProps, "children" | "onChange"> {
163
+ declare interface ButtonRadioFieldProps extends Omit<ButtonGroupProps, "children" | "onChange"> {
162
164
  name?: string;
163
165
  label?: string;
164
166
  hint?: string;
@@ -176,7 +178,7 @@ export declare type ButtonVariant = "default" | "primary" | "secondary" | "destr
176
178
 
177
179
  declare const buttonVariants: (props?: ({
178
180
  variant?: "link" | "info" | "success" | "warning" | "error" | "default" | "secondary" | "destructive" | "outline" | "ghost" | "unstyled" | null | undefined;
179
- size?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | "unstyled" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
181
+ size?: "default" | "unstyled" | "xs" | "sm" | "md" | "lg" | "xl" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
180
182
  } & ClassProp) | undefined) => string;
181
183
 
182
184
  export declare const Card: CardComponent;
@@ -220,11 +222,11 @@ declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div"
220
222
 
221
223
  declare type CardTitleProps = React.ComponentProps<typeof CardTitle>;
222
224
 
223
- export declare const Checkbox: ({ label, name, value, checked, onCheckedChange, note, error, labelClassName, hint, ...props }: CheckboxProps) => JSX.Element;
225
+ declare function Checkbox({ className, ...props }: Checkbox_2.Root.Props): JSX.Element;
224
226
 
225
- declare function Checkbox_2({ className, ...props }: React_2.ComponentProps<typeof Checkbox_3.Root>): JSX.Element;
227
+ export declare const CheckboxField: ({ label, name, value, checked, onCheckedChange, note, error, labelClassName, hint, ...props }: CheckboxFieldProps) => JSX.Element;
226
228
 
227
- export declare interface CheckboxProps extends React.ComponentProps<typeof Checkbox_2> {
229
+ export declare interface CheckboxFieldProps extends React.ComponentProps<typeof Checkbox> {
228
230
  label: string;
229
231
  labelClassName?: string;
230
232
  name: string;
@@ -242,20 +244,20 @@ export declare const Code: ({ children, ...props }: TextProps) => JSX.Element;
242
244
 
243
245
  export declare const Collapsible: CollapsibleComponent;
244
246
 
245
- declare function Collapsible_2({ ...props }: React.ComponentProps<typeof Collapsible_3.Root>): JSX.Element;
247
+ declare function Collapsible_2({ ...props }: Collapsible_3.Root.Props): JSX.Element;
246
248
 
247
249
  declare type CollapsibleComponent = React.FC<CollapsibleProps> & {
248
250
  Trigger: React.FC<CollapsibleTriggerProps>;
249
251
  Content: React.FC<CollapsibleContentProps>;
250
252
  };
251
253
 
252
- declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible_3.CollapsibleContent>): JSX.Element;
254
+ declare function CollapsibleContent({ ...props }: Collapsible_3.Panel.Props): JSX.Element;
253
255
 
254
256
  declare type CollapsibleContentProps = React.ComponentProps<typeof CollapsibleContent>;
255
257
 
256
258
  export declare type CollapsibleProps = React.ComponentProps<typeof Collapsible_2>;
257
259
 
258
- declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible_3.CollapsibleTrigger>): JSX.Element;
260
+ declare function CollapsibleTrigger({ ...props }: Collapsible_3.Trigger.Props): JSX.Element;
259
261
 
260
262
  declare type CollapsibleTriggerProps = React.ComponentProps<typeof CollapsibleTrigger>;
261
263
 
@@ -280,14 +282,14 @@ export declare const CURSOR_TYPES: readonly ["arrow", "pointer", "text", "not-al
280
282
 
281
283
  export declare type CursorType = (typeof CURSOR_TYPES)[number];
282
284
 
283
- export declare const DateInput: ({ name, label, placeholder, note, className, size, ...props }: DateInputProps) => JSX.Element;
285
+ export declare const DateField: ({ name, label, placeholder, note, className, size, ...props }: DateFieldProps) => JSX.Element;
284
286
 
285
- declare interface DateInputProps extends Omit<TextInputProps, "type"> {
287
+ declare interface DateFieldProps extends Omit<TextFieldProps, "type"> {
286
288
  }
287
289
 
288
- export declare const DatePicker: ({ onDateSelection, initialValue, className, size, error }: DatePickerProps) => JSX.Element;
290
+ export declare const DatePickerField: ({ onDateSelection, initialValue, className, size, error, }: DatePickerFieldProps) => JSX.Element;
289
291
 
290
- declare interface DatePickerProps {
292
+ declare interface DatePickerFieldProps {
291
293
  onDateSelection: (date: Date) => void;
292
294
  initialValue?: Date;
293
295
  className?: string;
@@ -374,16 +376,9 @@ export declare type EmptyProps = React.ComponentProps<typeof Empty_2> & {
374
376
 
375
377
  declare type EmptyTitleProps = React.ComponentProps<typeof Heading>;
376
378
 
377
- export declare const ErrorFallback: ({ error, onRetry, ...props }: ErrorFallbackProps) => JSX.Element;
378
-
379
- declare interface ErrorFallbackProps extends ErrorOverlayProps {
380
- error: Error;
381
- onRetry?: () => void;
382
- }
383
-
384
- export declare const ErrorOverlay: ({ headline, message, children, ...props }: ErrorOverlayProps) => JSX.Element;
379
+ export declare const ErrorPage: ({ headline, message, children, ...props }: ErrorPageProps) => JSX.Element;
385
380
 
386
- export declare interface ErrorOverlayProps extends InterstitialProps {
381
+ export declare interface ErrorPageProps extends InterstitialProps {
387
382
  }
388
383
 
389
384
  export declare const Flex: typeof FlexComponent & {
@@ -521,8 +516,6 @@ export declare interface HintProps {
521
516
  className?: string;
522
517
  }
523
518
 
524
- export declare const Input: ({ type, step, ...props }: InputProps) => JSX.Element;
525
-
526
519
  export declare const InputError: ({ id, message }: InputErrorProps) => JSX.Element;
527
520
 
528
521
  declare interface InputErrorProps {
@@ -545,7 +538,7 @@ declare const inputGroupAddonVariants: (props?: ({
545
538
  } & ClassProp) | undefined) => string;
546
539
 
547
540
  declare type InputGroupComponent = React.FC<InputGroupProps> & {
548
- Input: React.FC<InputProps>;
541
+ Input: React.FC<ComponentProps<"input">>;
549
542
  Addon: React.FC<InputGroupAddonProps>;
550
543
  Button: React.FC<ButtonProps>;
551
544
  Text: React.FC<InputGroupTextProps>;
@@ -556,27 +549,12 @@ export declare type InputGroupProps = React.ComponentProps<typeof InputGroup_2>
556
549
  children: ReactNode;
557
550
  };
558
551
 
559
- declare interface InputGroupProps_2 {
560
- label?: string;
561
- labelFor?: string;
562
- className?: string;
563
- labelClassName?: string;
564
- children: ReactNode;
565
- }
566
-
567
552
  declare function InputGroupText({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
568
553
 
569
- declare const InputGroupTextarea: ({ className, ...props }: TextareaProps) => JSX.Element;
570
-
571
- declare type InputGroupTextareaProps = React.ComponentProps<typeof InputGroupTextarea>;
554
+ declare type InputGroupTextareaProps = React.ComponentProps<"textarea">;
572
555
 
573
556
  declare type InputGroupTextProps = React.ComponentProps<typeof InputGroupText>;
574
557
 
575
- export declare interface InputProps extends TextInputProps {
576
- type?: "text" | "number" | "date" | "email" | "password";
577
- step?: string;
578
- }
579
-
580
558
  export declare const Interstitial: ({ variant, iconComponent, headline, headlineLevel, headlineWeight, message, messageClassName, children, iconSize, iconClassName, fullScreen, containerClassName, }: InterstitialProps) => JSX.Element;
581
559
 
582
560
  export declare interface InterstitialProps {
@@ -596,9 +574,7 @@ export declare interface InterstitialProps {
596
574
 
597
575
  export declare const Item: ItemComponent;
598
576
 
599
- declare function Item_2({ className, variant, size, asChild, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
600
- asChild?: boolean;
601
- }): JSX.Element;
577
+ declare function Item_2({ className, variant, size, render, ...props }: useRender.ComponentProps<"div"> & VariantProps<typeof itemVariants>): React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>>;
602
578
 
603
579
  declare function ItemActions({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
604
580
 
@@ -650,7 +626,7 @@ declare type ItemTitleProps = React.ComponentProps<typeof ItemTitle>;
650
626
 
651
627
  declare const itemVariants: (props?: ({
652
628
  variant?: "default" | "outline" | "muted" | null | undefined;
653
- size?: "default" | "sm" | null | undefined;
629
+ size?: "default" | "xs" | "sm" | null | undefined;
654
630
  } & ClassProp) | undefined) => string;
655
631
 
656
632
  export declare const Label: ({ htmlFor, value, children, size, className, ...props }: LabelProps) => JSX.Element;
@@ -683,8 +659,6 @@ declare interface LayoutProps extends FlexProps {
683
659
 
684
660
  export declare type LayoutVariant = (typeof LAYOUT_VARIANTS)[number];
685
661
 
686
- export declare const LegacyInputGroup: ({ label, labelFor, className, labelClassName, children, }: InputGroupProps_2) => JSX.Element;
687
-
688
662
  export declare const Loader: ({ variant, icon, size, className, ...props }: LoaderProps) => JSX.Element;
689
663
 
690
664
  export declare interface LoaderProps extends React.ComponentProps<"svg"> {
@@ -693,19 +667,56 @@ export declare interface LoaderProps extends React.ComponentProps<"svg"> {
693
667
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl";
694
668
  }
695
669
 
670
+ export declare const LoadingPage: ({ iconComponent, message, iconSize, iconClassName, ...props }: InterstitialProps) => JSX.Element;
671
+
696
672
  export declare const MenuItemText: ({ children }: {
697
673
  children: React.ReactNode;
698
674
  }) => JSX.Element;
699
675
 
700
676
  export declare const Modal: ({ trigger, children, title, description, open, onOpenChange, ariaDescription }: Props_2) => JSX.Element;
701
677
 
678
+ export declare const NativeSelectField: ({ name, defaultValue, options, label, labelClassName, placeholder, hint, note, className, value, onChange, error, size, id: idProp, ...props }: NativeSelectFieldProps) => JSX.Element;
679
+
680
+ export declare interface NativeSelectFieldOption {
681
+ value: string;
682
+ label: string;
683
+ }
684
+
685
+ export declare interface NativeSelectFieldOptionGroup {
686
+ label: string;
687
+ options: NativeSelectFieldOption[];
688
+ }
689
+
690
+ export declare interface NativeSelectFieldProps extends Omit<ComponentProps<"select">, "dir" | "size" | "onChange"> {
691
+ name: string;
692
+ value?: string;
693
+ onChange: (value: string) => void;
694
+ options: NativeSelectFieldOption[] | NativeSelectFieldOptionGroup[];
695
+ label?: string;
696
+ labelClassName?: string;
697
+ placeholder?: string;
698
+ hint?: string;
699
+ note?: string;
700
+ className?: string;
701
+ error?: string;
702
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
703
+ }
704
+
705
+ export declare const NotFoundPage: ({ onBack, headline, message, backIcon, backLabel, ...props }: NotFoundPageProps) => JSX.Element;
706
+
707
+ declare interface NotFoundPageProps extends InterstitialProps {
708
+ backIcon?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
709
+ backLabel?: string;
710
+ onBack?: () => void;
711
+ }
712
+
702
713
  /**
703
714
  + * A specialized input component for numeric values.
704
- + * Extends TextInput with number-specific functionality.
715
+ + * Extends TextField with number-specific functionality.
705
716
  + */
706
- export declare const NumberInput: ({ name, label, placeholder, note, step, className, ...props }: NumberInputProps) => JSX.Element;
717
+ export declare const NumberField: ({ name, label, placeholder, note, step, className, ...props }: NumberFieldProps) => JSX.Element;
707
718
 
708
- export declare interface NumberInputProps extends Omit<TextInputProps, "type"> {
719
+ export declare interface NumberFieldProps extends Omit<TextFieldProps, "type"> {
709
720
  step?: string;
710
721
  }
711
722
 
@@ -725,26 +736,19 @@ export declare type Overflow = (typeof OVERFLOWS)[number];
725
736
 
726
737
  export declare const OVERFLOWS: readonly ["auto", "scroll", "hidden", "clip", "visible"];
727
738
 
728
- export declare const PageLoader: ({ iconComponent, message, iconSize, iconClassName, ...props }: PageLoaderProps) => JSX.Element;
729
-
730
- declare interface PageLoaderProps extends InterstitialProps {
731
- }
732
-
733
- export declare const PageNotFound: ({ onBack, headline, message, backIcon, backLabel, ...props }: PageNotFoundProps) => JSX.Element;
734
-
735
- declare interface PageNotFoundProps extends InterstitialProps {
736
- backIcon?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
737
- backLabel?: string;
738
- onBack?: () => void;
739
- }
740
-
741
739
  export declare const Pagination: ({ pageCount, currentPage, onChange }: Props_3) => JSX.Element;
742
740
 
743
741
  export declare const Paragraph: ({ children, className, as, ...props }: TextProps) => JSX.Element;
744
742
 
745
- export declare const PasswordInput: ({ name, size, label, labelOrientation, note, error, ...props }: PasswordInputProps) => JSX.Element;
743
+ export declare const PasswordField: ({ name, size, label, labelOrientation, note, error, ...props }: PasswordFieldProps) => JSX.Element;
746
744
 
747
- declare interface PasswordInputProps extends Omit<InputProps, "type"> {
745
+ declare interface PasswordFieldProps extends Omit<ComponentProps<"input">, "type" | "size"> {
746
+ name: string;
747
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
748
+ label?: string;
749
+ labelOrientation?: "top" | "left";
750
+ note?: string;
751
+ error?: string;
748
752
  }
749
753
 
750
754
  export declare const Popover: PopoverComponent;
@@ -802,9 +806,9 @@ declare interface Props_5 extends SidebarProps {
802
806
  children?: React.ReactNode;
803
807
  }
804
808
 
805
- export declare const RadioSelect: ({ cols, gap, label, name, options, value, size, onChange, error, labelClassName, }: RadioSelectProps) => JSX.Element;
809
+ export declare const RadioField: ({ cols, gap, label, name, options, value, size, onChange, error, labelClassName, }: RadioFieldProps) => JSX.Element;
806
810
 
807
- declare interface RadioSelectProps {
811
+ declare interface RadioFieldProps {
808
812
  cols?: GridCols;
809
813
  gap?: Gap;
810
814
  name: string;
@@ -821,35 +825,18 @@ export declare const ROUNDED_SIZES: readonly ["none", "xs", "sm", "md", "lg", "x
821
825
 
822
826
  export declare type RoundedSize = (typeof ROUNDED_SIZES)[number];
823
827
 
824
- export declare const SelectInput: ({ name, defaultValue, options, label, labelClassName, placeholder, hint, note, className, value, onChange, error, size, id: idProp, ...props }: SelectInputProps) => JSX.Element;
825
-
826
- export declare interface SelectInputOption {
827
- value: string;
828
- label: string;
829
- }
828
+ export declare const SelectPickerField: ({ options, value, placeholder, onChange, name, renderSelected, dropdownClassName, }: SelectPickerFieldProps) => JSX.Element;
830
829
 
831
- export declare interface SelectInputOptionGroup {
832
- label: string;
833
- options: SelectInputOption[];
834
- }
835
-
836
- export declare interface SelectInputProps extends Omit<ComponentProps<"select">, "dir" | "size" | "onChange"> {
830
+ export declare interface SelectPickerFieldProps {
837
831
  name: string;
838
- value?: string;
832
+ value?: string | null;
839
833
  onChange: (value: string) => void;
840
- options: SelectInputOption[] | SelectInputOptionGroup[];
841
- label?: string;
842
- labelClassName?: string;
834
+ options: SelectPickerOption[] | SelectPickerOptionGroup[];
843
835
  placeholder?: string;
844
- hint?: string;
845
- note?: string;
846
- className?: string;
847
- error?: string;
848
- size?: "xs" | "sm" | "md" | "lg" | "xl";
836
+ renderSelected?: (selected: SelectPickerOption) => React.ReactNode;
837
+ dropdownClassName?: string;
849
838
  }
850
839
 
851
- export declare const SelectPicker: ({ options, value, placeholder, onChange, name, renderSelected, dropdownClassName, }: SelectPickerProps) => JSX.Element;
852
-
853
840
  export declare interface SelectPickerOption {
854
841
  icon?: string;
855
842
  label: string;
@@ -864,16 +851,6 @@ export declare interface SelectPickerOptionGroup {
864
851
 
865
852
  export declare type SelectPickerOptionValue = string;
866
853
 
867
- export declare interface SelectPickerProps {
868
- name: string;
869
- value?: string | null;
870
- onChange: (value: string) => void;
871
- options: SelectPickerOption[] | SelectPickerOptionGroup[];
872
- placeholder?: string;
873
- renderSelected?: (selected: SelectPickerOption) => React.ReactNode;
874
- dropdownClassName?: string;
875
- }
876
-
877
854
  export declare const Separator: ({ className, orientation, gap, ...props }: SeparatorProps) => JSX.Element;
878
855
 
879
856
  declare interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -883,7 +860,7 @@ declare interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
883
860
 
884
861
  export declare const Sidebar: ({ brandContent, brandOnClick, activeSlug, itemSets, bottomItemSets, theme, setTheme, ...props }: SidebarProps) => JSX.Element;
885
862
 
886
- declare function Sidebar_2({ side, variant, collapsible, className, children, ...props }: React_2.ComponentProps<"div"> & {
863
+ declare function Sidebar_2({ side, variant, collapsible, className, children, dir, ...props }: React_2.ComponentProps<"div"> & {
887
864
  side?: "left" | "right";
888
865
  variant?: "sidebar" | "floating" | "inset";
889
866
  collapsible?: "offcanvas" | "icon" | "none";
@@ -929,11 +906,11 @@ export declare const SIZES: readonly [...string[], "auto", "full", "min", "max",
929
906
 
930
907
  export declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
931
908
 
932
- export declare const Slider: ({ name, size, label, labelClassName, labelOrientation, hint, note, error, thumbClassName, trackClassName, value: valueProp, defaultValue: defaultValueProp, ...props }: SliderProps) => JSX.Element;
909
+ declare function Slider({ className, defaultValue, value, min, max, thumbClassName, trackClassName, ...props }: SliderProps): JSX.Element;
933
910
 
934
- declare function Slider_2({ className, trackClassName, thumbClassName, defaultValue, value, min, max, ...props }: SliderProps_2): JSX.Element;
911
+ export declare const SliderField: ({ name, size, label, labelClassName, labelOrientation, hint, note, error, thumbClassName, trackClassName, value: valueProp, defaultValue: defaultValueProp, ...props }: SliderFieldProps) => JSX.Element;
935
912
 
936
- declare interface SliderProps extends Omit<React.ComponentProps<typeof Slider_2>, "value" | "defaultValue"> {
913
+ declare interface SliderFieldProps extends Omit<React.ComponentProps<typeof Slider>, "value" | "defaultValue"> {
937
914
  name: string;
938
915
  size?: "xs" | "sm" | "md" | "lg" | "xl";
939
916
  thumbClassName?: string;
@@ -948,9 +925,9 @@ declare interface SliderProps extends Omit<React.ComponentProps<typeof Slider_2>
948
925
  defaultValue?: number | number[];
949
926
  }
950
927
 
951
- declare interface SliderProps_2 extends React_2.ComponentProps<typeof Slider_3.Root> {
952
- trackClassName?: string;
928
+ declare interface SliderProps extends Slider_2.Root.Props {
953
929
  thumbClassName?: string;
930
+ trackClassName?: string;
954
931
  }
955
932
 
956
933
  export declare const SubmitButton: ({ submitting, disabled, submittingIcon, action, label: customLabel, submittingLabel: customSubmittingLabel, icon: customIcon, noIcon, ...rest }: SubmitButtonProps) => JSX.Element;
@@ -966,18 +943,9 @@ export declare interface SubmitButtonProps extends Omit<ButtonProps, "icon"> {
966
943
  noIcon?: boolean;
967
944
  }
968
945
 
969
- export declare const Switch: ({ id: idProp, label, className, thumbClassName, labelClassName, size, ...props }: SwitchProps) => JSX.Element;
970
-
971
- declare function Switch_2({ className, thumbClassName, ...props }: React_2.ComponentProps<typeof Switch_3.Root> & {
972
- thumbClassName?: string;
973
- }): JSX.Element;
974
-
975
- declare interface SwitchProps extends React.ComponentProps<typeof Switch_2> {
976
- id?: string;
977
- label?: string | (string | null)[];
946
+ declare function Switch({ className, size, ...props }: Switch_2.Root.Props & {
978
947
  size?: "xs" | "sm" | "md" | "lg" | "xl";
979
- labelClassName?: string | string[];
980
- }
948
+ }): JSX.Element;
981
949
 
982
950
  export declare const Table: TableComponent;
983
951
 
@@ -1002,13 +970,17 @@ export declare function TableHeader({ className, ...props }: React_2.ComponentPr
1002
970
 
1003
971
  export declare function TableRow({ className, ...props }: React_2.ComponentProps<"tr">): JSX.Element;
1004
972
 
1005
- export declare function Tabs({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.Root>): JSX.Element;
973
+ export declare function Tabs({ className, orientation, ...props }: Tabs_2.Root.Props): JSX.Element;
1006
974
 
1007
- export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.Content>): JSX.Element;
975
+ export declare function TabsContent({ className, ...props }: Tabs_2.Panel.Props): JSX.Element;
1008
976
 
1009
- export declare function TabsList({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.List>): JSX.Element;
977
+ export declare function TabsList({ className, variant, ...props }: Tabs_2.List.Props & VariantProps<typeof tabsListVariants>): JSX.Element;
1010
978
 
1011
- export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.Trigger>): JSX.Element;
979
+ declare const tabsListVariants: (props?: ({
980
+ variant?: "line" | "default" | null | undefined;
981
+ } & ClassProp) | undefined) => string;
982
+
983
+ export declare function TabsTrigger({ className, ...props }: Tabs_2.Tab.Props): JSX.Element;
1012
984
 
1013
985
  export declare const TAILWIND_COLORS: readonly ["red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose", "slate", "gray", "zinc", "neutral", "stone", "white", "black"];
1014
986
 
@@ -1025,9 +997,9 @@ export declare const TEXT_TRACKINGS: readonly ["tighter", "tight", "normal", "wi
1025
997
 
1026
998
  export declare type TextAlign = (typeof TEXT_ALIGNS)[number];
1027
999
 
1028
- export declare function Textarea({ label, name, note, placeholder, className, error, labelClassName, hint, ...props }: TextareaProps): JSX.Element;
1000
+ export declare function TextareaField({ label, name, note, placeholder, className, error, labelClassName, hint, ...props }: TextareaFieldProps): JSX.Element;
1029
1001
 
1030
- export declare interface TextareaProps extends React.ComponentProps<"textarea"> {
1002
+ export declare interface TextareaFieldProps extends React.ComponentProps<"textarea"> {
1031
1003
  name: string;
1032
1004
  label?: string;
1033
1005
  labelClassName?: string;
@@ -1058,9 +1030,9 @@ declare interface TextBaseProps {
1058
1030
  as?: TypographyElement;
1059
1031
  }
1060
1032
 
1061
- export declare const TextInput: ({ name, type, placeholder, label, labelClassName, labelOrientation, hint, note, size, className, error, ...props }: TextInputProps) => JSX.Element;
1033
+ export declare const TextField: ({ name, type, placeholder, label, labelClassName, labelOrientation, hint, note, size, className, error, ...props }: TextFieldProps) => JSX.Element;
1062
1034
 
1063
- export declare interface TextInputProps extends Omit<React.ComponentProps<"input">, "size"> {
1035
+ export declare interface TextFieldProps extends Omit<React.ComponentProps<"input">, "size"> {
1064
1036
  name: string;
1065
1037
  type?: string;
1066
1038
  placeholder?: string;
@@ -1088,9 +1060,8 @@ declare type TextListItemProps = React.ComponentProps<"li"> & {
1088
1060
  };
1089
1061
 
1090
1062
  declare type TextListProps = React.ComponentProps<"ul"> & {
1091
- type?: "ordered" | "unordered" | "none";
1092
1063
  position?: "inside" | "outside";
1093
- variant?: TypographyVariant;
1064
+ variant?: "ordered" | "unordered" | "none";
1094
1065
  children: ReactNode;
1095
1066
  };
1096
1067
 
@@ -1102,80 +1073,15 @@ export declare type TextTracking = (typeof TEXT_TRACKINGS)[number];
1102
1073
 
1103
1074
  export declare type Theme = "system" | "light" | "dark";
1104
1075
 
1105
- export declare const ThemeSelector: ({ variant, theme, setTheme, className, containerClassName, buttonClassName, ...props }: ThemeSelectorProps) => JSX.Element;
1076
+ export declare const ToggleField: ({ id: idProp, label, className, labelClassName, size, ...props }: ToggleFieldProps) => JSX.Element;
1106
1077
 
1107
- export declare interface ThemeSelectorProps {
1108
- variant?: "horizontal" | "stacked";
1109
- theme: Theme;
1110
- setTheme: (theme: Theme) => void;
1111
- className?: string;
1112
- containerClassName?: string;
1113
- buttonClassName?: string;
1114
- }
1115
-
1116
- export declare const Timeline: TimelineComponent;
1117
-
1118
- declare function Timeline_2({ defaultValue, value, onValueChange, orientation, className, ...props }: TimelineProps_2): JSX.Element;
1119
-
1120
- declare type TimelineComponent = React.FC<TimelineProps> & {
1121
- Item: React.FC<TimelineItemProps>;
1122
- Header: React.FC<TimelineHeaderProps>;
1123
- Separator: React.FC<TimelineSeparatorProps>;
1124
- Date: React.FC<TimelineDateProps>;
1125
- Title: React.FC<TimelineTitleProps>;
1126
- Indicator: React.FC<TimelineIndicatorProps>;
1127
- Content: React.FC<TimelineContentProps>;
1128
- };
1129
-
1130
- declare function TimelineContent({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
1131
-
1132
- declare type TimelineContentProps = React.ComponentProps<typeof TimelineContent>;
1133
-
1134
- declare function TimelineDate({ asChild, className, ...props }: TimelineDateProps_2): JSX.Element;
1135
-
1136
- declare type TimelineDateProps = React.ComponentProps<typeof TimelineDate>;
1137
-
1138
- declare interface TimelineDateProps_2 extends React_2.HTMLAttributes<HTMLTimeElement> {
1139
- asChild?: boolean;
1140
- }
1141
-
1142
- declare function TimelineHeader({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
1143
-
1144
- declare type TimelineHeaderProps = React.ComponentProps<typeof TimelineHeader>;
1145
-
1146
- declare function TimelineIndicator({ asChild, className, children, ...props }: TimelineIndicatorProps_2): JSX.Element;
1147
-
1148
- declare type TimelineIndicatorProps = React.ComponentProps<typeof TimelineIndicator>;
1149
-
1150
- declare interface TimelineIndicatorProps_2 extends React_2.HTMLAttributes<HTMLDivElement> {
1151
- asChild?: boolean;
1152
- }
1153
-
1154
- declare function TimelineItem({ step, className, ...props }: TimelineItemProps_2): JSX.Element;
1155
-
1156
- declare type TimelineItemProps = React.ComponentProps<typeof TimelineItem>;
1157
-
1158
- declare interface TimelineItemProps_2 extends React_2.HTMLAttributes<HTMLDivElement> {
1159
- step: number;
1160
- }
1161
-
1162
- export declare type TimelineProps = React.ComponentProps<typeof Timeline_2> & {
1163
- children: ReactNode;
1164
- };
1165
-
1166
- declare interface TimelineProps_2 extends React_2.HTMLAttributes<HTMLDivElement> {
1167
- defaultValue?: number;
1168
- value?: number;
1169
- onValueChange?: (value: number) => void;
1170
- orientation?: "horizontal" | "vertical";
1078
+ declare interface ToggleFieldProps extends React.ComponentProps<typeof Switch> {
1079
+ id?: string;
1080
+ label?: string | (string | null)[];
1081
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
1082
+ labelClassName?: string | string[];
1171
1083
  }
1172
1084
 
1173
- declare function TimelineSeparator({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
1174
-
1175
- declare type TimelineSeparatorProps = React.ComponentProps<typeof TimelineSeparator>;
1176
-
1177
- declare type TimelineTitleProps = React.ComponentProps<typeof Heading>;
1178
-
1179
1085
  export declare const Tooltip: TooltipComponent;
1180
1086
 
1181
1087
  declare function Tooltip_2({ ...props }: Tooltip_3.Root.Props): JSX.Element;