@still-forest/canopy 0.51.2 → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +32 -29
- package/dist/index.js +15370 -15188
- package/package.json +21 -34
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { Accordion as Accordion_3 } from 'radix-ui';
|
|
2
|
+
import { Checkbox as Checkbox_3 } from 'radix-ui';
|
|
3
3
|
import { ClassProp } from 'class-variance-authority/types';
|
|
4
4
|
import { ClassValue } from 'clsx';
|
|
5
|
-
import
|
|
5
|
+
import { Collapsible as Collapsible_3 } from 'radix-ui';
|
|
6
6
|
import { ComponentProps } from 'react';
|
|
7
7
|
import { default as default_2 } from 'react';
|
|
8
8
|
import { JSX } from 'react/jsx-runtime';
|
|
9
|
-
import
|
|
9
|
+
import { Popover as Popover_3 } from 'radix-ui';
|
|
10
10
|
import * as React_2 from 'react';
|
|
11
11
|
import { ReactElement } from 'react';
|
|
12
12
|
import { ReactNode } from 'react';
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
13
|
+
import { Slider as Slider_3 } from 'radix-ui';
|
|
14
|
+
import { Switch as Switch_3 } from 'radix-ui';
|
|
15
|
+
import { Tabs as Tabs_2 } from 'radix-ui';
|
|
16
|
+
import { Tooltip as Tooltip_3 } from 'radix-ui';
|
|
17
17
|
import { VariantProps } from 'class-variance-authority';
|
|
18
18
|
|
|
19
19
|
export declare const Accordion: AccordionComponent;
|
|
20
20
|
|
|
21
|
-
declare function Accordion_2({ ...props }: React_2.ComponentProps<typeof
|
|
21
|
+
declare function Accordion_2({ ...props }: React_2.ComponentProps<typeof Accordion_3.Root>): JSX.Element;
|
|
22
22
|
|
|
23
23
|
declare type AccordionComponent = React.FC<AccordionProps> & {
|
|
24
24
|
Item: React.FC<AccordionItemProps>;
|
|
@@ -26,11 +26,11 @@ declare type AccordionComponent = React.FC<AccordionProps> & {
|
|
|
26
26
|
Content: React.FC<AccordionContentProps>;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
declare function AccordionContent({ className, children, ...props }: React_2.ComponentProps<typeof
|
|
29
|
+
declare function AccordionContent({ className, children, ...props }: React_2.ComponentProps<typeof Accordion_3.Content>): JSX.Element;
|
|
30
30
|
|
|
31
31
|
declare type AccordionContentProps = React.ComponentProps<typeof AccordionContent>;
|
|
32
32
|
|
|
33
|
-
declare function AccordionItem({ className, ...props }: React_2.ComponentProps<typeof
|
|
33
|
+
declare function AccordionItem({ className, ...props }: React_2.ComponentProps<typeof Accordion_3.Item>): JSX.Element;
|
|
34
34
|
|
|
35
35
|
declare type AccordionItemProps = React.ComponentProps<typeof AccordionItem>;
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ export declare type AccordionProps = React.ComponentProps<typeof Accordion_2> &
|
|
|
38
38
|
children: ReactNode;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
declare function AccordionTrigger({ className, children, ...props }: React_2.ComponentProps<typeof
|
|
41
|
+
declare function AccordionTrigger({ className, children, ...props }: React_2.ComponentProps<typeof Accordion_3.Trigger>): JSX.Element;
|
|
42
42
|
|
|
43
43
|
declare type AccordionTriggerProps = React.ComponentProps<typeof AccordionTrigger>;
|
|
44
44
|
|
|
@@ -222,7 +222,7 @@ declare type CardTitleProps = React.ComponentProps<typeof CardTitle>;
|
|
|
222
222
|
|
|
223
223
|
export declare const Checkbox: ({ label, name, value, checked, onCheckedChange, note, error, labelClassName, hint, ...props }: CheckboxProps) => JSX.Element;
|
|
224
224
|
|
|
225
|
-
declare function Checkbox_2({ className, ...props }: React_2.ComponentProps<typeof
|
|
225
|
+
declare function Checkbox_2({ className, ...props }: React_2.ComponentProps<typeof Checkbox_3.Root>): JSX.Element;
|
|
226
226
|
|
|
227
227
|
export declare interface CheckboxProps extends React.ComponentProps<typeof Checkbox_2> {
|
|
228
228
|
label: string;
|
|
@@ -242,20 +242,20 @@ export declare const Code: ({ children, ...props }: TextProps) => JSX.Element;
|
|
|
242
242
|
|
|
243
243
|
export declare const Collapsible: CollapsibleComponent;
|
|
244
244
|
|
|
245
|
-
declare function Collapsible_2({ ...props }: React.ComponentProps<typeof
|
|
245
|
+
declare function Collapsible_2({ ...props }: React.ComponentProps<typeof Collapsible_3.Root>): JSX.Element;
|
|
246
246
|
|
|
247
247
|
declare type CollapsibleComponent = React.FC<CollapsibleProps> & {
|
|
248
248
|
Trigger: React.FC<CollapsibleTriggerProps>;
|
|
249
249
|
Content: React.FC<CollapsibleContentProps>;
|
|
250
250
|
};
|
|
251
251
|
|
|
252
|
-
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof
|
|
252
|
+
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible_3.CollapsibleContent>): JSX.Element;
|
|
253
253
|
|
|
254
254
|
declare type CollapsibleContentProps = React.ComponentProps<typeof CollapsibleContent>;
|
|
255
255
|
|
|
256
256
|
export declare type CollapsibleProps = React.ComponentProps<typeof Collapsible_2>;
|
|
257
257
|
|
|
258
|
-
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof
|
|
258
|
+
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible_3.CollapsibleTrigger>): JSX.Element;
|
|
259
259
|
|
|
260
260
|
declare type CollapsibleTriggerProps = React.ComponentProps<typeof CollapsibleTrigger>;
|
|
261
261
|
|
|
@@ -714,16 +714,16 @@ declare interface PasswordInputProps extends Omit<InputProps, "type"> {
|
|
|
714
714
|
|
|
715
715
|
export declare const Popover: PopoverComponent;
|
|
716
716
|
|
|
717
|
-
declare function Popover_2({ ...props }: React_2.ComponentProps<typeof
|
|
717
|
+
declare function Popover_2({ ...props }: React_2.ComponentProps<typeof Popover_3.Root>): JSX.Element;
|
|
718
718
|
|
|
719
719
|
declare type PopoverComponent = default_2.FC<default_2.ComponentProps<typeof Popover_2>> & {
|
|
720
720
|
Trigger: typeof PopoverTrigger;
|
|
721
721
|
Content: typeof PopoverContent;
|
|
722
722
|
};
|
|
723
723
|
|
|
724
|
-
declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof
|
|
724
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof Popover_3.Content>): JSX.Element;
|
|
725
725
|
|
|
726
|
-
declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof
|
|
726
|
+
declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof Popover_3.Trigger>): JSX.Element;
|
|
727
727
|
|
|
728
728
|
export declare type Position = (typeof POSITIONS)[number];
|
|
729
729
|
|
|
@@ -767,15 +767,18 @@ declare interface Props_5 extends SidebarProps {
|
|
|
767
767
|
children?: React.ReactNode;
|
|
768
768
|
}
|
|
769
769
|
|
|
770
|
-
export declare const RadioSelect: ({ label, name, options, value, onChange, error, labelClassName }: RadioSelectProps) => JSX.Element;
|
|
770
|
+
export declare const RadioSelect: ({ cols, gap, label, name, options, value, size, onChange, error, labelClassName, }: RadioSelectProps) => JSX.Element;
|
|
771
771
|
|
|
772
772
|
declare interface RadioSelectProps {
|
|
773
|
+
cols?: GridCols;
|
|
774
|
+
gap?: Gap;
|
|
773
775
|
name: string;
|
|
774
776
|
label?: string;
|
|
775
777
|
labelClassName?: string;
|
|
776
778
|
value?: string;
|
|
777
779
|
options: Option_3[];
|
|
778
780
|
onChange?: (value: string) => void;
|
|
781
|
+
size?: "sm" | "md" | "lg";
|
|
779
782
|
error?: string;
|
|
780
783
|
}
|
|
781
784
|
|
|
@@ -917,7 +920,7 @@ declare interface SliderProps extends Omit<React.ComponentProps<typeof Slider_2>
|
|
|
917
920
|
defaultValue?: number | number[];
|
|
918
921
|
}
|
|
919
922
|
|
|
920
|
-
declare interface SliderProps_2 extends React_2.ComponentProps<typeof
|
|
923
|
+
declare interface SliderProps_2 extends React_2.ComponentProps<typeof Slider_3.Root> {
|
|
921
924
|
trackClassName?: string;
|
|
922
925
|
thumbClassName?: string;
|
|
923
926
|
}
|
|
@@ -937,7 +940,7 @@ export declare interface SubmitButtonProps extends Omit<ButtonProps, "icon"> {
|
|
|
937
940
|
|
|
938
941
|
export declare const Switch: ({ id: idProp, label, className, thumbClassName, labelClassName, size, ...props }: SwitchProps) => JSX.Element;
|
|
939
942
|
|
|
940
|
-
declare function Switch_2({ className, thumbClassName, ...props }: React_2.ComponentProps<typeof
|
|
943
|
+
declare function Switch_2({ className, thumbClassName, ...props }: React_2.ComponentProps<typeof Switch_3.Root> & {
|
|
941
944
|
thumbClassName?: string;
|
|
942
945
|
}): JSX.Element;
|
|
943
946
|
|
|
@@ -971,13 +974,13 @@ export declare function TableHeader({ className, ...props }: React_2.ComponentPr
|
|
|
971
974
|
|
|
972
975
|
export declare function TableRow({ className, ...props }: React_2.ComponentProps<"tr">): JSX.Element;
|
|
973
976
|
|
|
974
|
-
export declare function Tabs({ className, ...props }: React_2.ComponentProps<typeof
|
|
977
|
+
export declare function Tabs({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.Root>): JSX.Element;
|
|
975
978
|
|
|
976
|
-
export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof
|
|
979
|
+
export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.Content>): JSX.Element;
|
|
977
980
|
|
|
978
|
-
export declare function TabsList({ className, ...props }: React_2.ComponentProps<typeof
|
|
981
|
+
export declare function TabsList({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.List>): JSX.Element;
|
|
979
982
|
|
|
980
|
-
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof
|
|
983
|
+
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.Trigger>): JSX.Element;
|
|
981
984
|
|
|
982
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"];
|
|
983
986
|
|
|
@@ -1147,20 +1150,20 @@ declare type TimelineTitleProps = React.ComponentProps<typeof Heading>;
|
|
|
1147
1150
|
|
|
1148
1151
|
export declare const Tooltip: TooltipComponent;
|
|
1149
1152
|
|
|
1150
|
-
declare function Tooltip_2({ ...props }: React_2.ComponentProps<typeof
|
|
1153
|
+
declare function Tooltip_2({ ...props }: React_2.ComponentProps<typeof Tooltip_3.Root>): JSX.Element;
|
|
1151
1154
|
|
|
1152
1155
|
declare type TooltipComponent = React.FC<TooltipProps> & {
|
|
1153
1156
|
Trigger: React.FC<TooltipTriggerProps>;
|
|
1154
1157
|
Content: React.FC<TooltipContentProps>;
|
|
1155
1158
|
};
|
|
1156
1159
|
|
|
1157
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React_2.ComponentProps<typeof
|
|
1160
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React_2.ComponentProps<typeof Tooltip_3.Content>): JSX.Element;
|
|
1158
1161
|
|
|
1159
1162
|
declare type TooltipContentProps = React.ComponentProps<typeof TooltipContent>;
|
|
1160
1163
|
|
|
1161
1164
|
declare type TooltipProps = React.ComponentProps<typeof Tooltip_2>;
|
|
1162
1165
|
|
|
1163
|
-
declare function TooltipTrigger({ ...props }: React_2.ComponentProps<typeof
|
|
1166
|
+
declare function TooltipTrigger({ ...props }: React_2.ComponentProps<typeof Tooltip_3.Trigger>): JSX.Element;
|
|
1164
1167
|
|
|
1165
1168
|
declare type TooltipTriggerProps = React.ComponentProps<typeof TooltipTrigger> & {
|
|
1166
1169
|
cursor?: CursorType;
|