@still-forest/canopy 0.37.0 → 0.38.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/dist/chunks/{Loader-BgoWXwkX.js → Loader-B_h7e46-.js} +3 -3
- package/dist/chunks/{PageNotFound-D4e2bv36.js → PageNotFound-BuG9Tgni.js} +6 -6
- package/dist/chunks/SidebarLayout-t-P8wlBJ.js +1807 -0
- package/dist/chunks/Textarea-DslZ0KXP.js +2478 -0
- package/dist/chunks/{calendar-DKwGFkIw.js → calendar-C-nHBQQ8.js} +503 -452
- package/dist/chunks/index-CA-6Q-v_.js +3138 -0
- package/dist/forms.d.ts +6 -0
- package/dist/forms.js +14 -13
- package/dist/index.d.ts +24 -18
- package/dist/index.js +305 -291
- package/dist/interstitials.js +1 -1
- package/dist/navigation.js +1 -1
- package/package.json +17 -9
- package/dist/chunks/SidebarLayout-C0jOUIuV.js +0 -2034
- package/dist/chunks/Textarea-nT-kvT7U.js +0 -2823
- package/dist/chunks/popover-ByOImpZC.js +0 -2911
package/dist/forms.d.ts
CHANGED
|
@@ -43,6 +43,12 @@ export declare interface CheckboxProps {
|
|
|
43
43
|
onCheckedChange?: (checked: boolean) => void;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
export declare const CopyButton: ({ content, className, size, ...props }: CopyButtonProps) => JSX.Element;
|
|
47
|
+
|
|
48
|
+
declare interface CopyButtonProps extends Omit<ButtonProps, "onClick" | "disabled"> {
|
|
49
|
+
content: string;
|
|
50
|
+
}
|
|
51
|
+
|
|
46
52
|
export declare const DateInput: ({ name, label, placeholder, note, className, size, ...props }: DateInputProps) => JSX.Element;
|
|
47
53
|
|
|
48
54
|
declare interface DateInputProps extends Omit<TextInputProps, "type"> {
|
package/dist/forms.js
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { B as e, a as s } from "./chunks/calendar-
|
|
2
|
-
import { C as
|
|
1
|
+
import { B as e, a as s } from "./chunks/calendar-C-nHBQQ8.js";
|
|
2
|
+
import { C as u, a as r, b as n, c as p, D as c, I, d as B, L as b, N as l, R as x, e as S, f as i, S as m, g as D, T as f } from "./chunks/Textarea-DslZ0KXP.js";
|
|
3
3
|
export {
|
|
4
4
|
e as Button,
|
|
5
5
|
s as ButtonGroup,
|
|
6
|
-
|
|
7
|
-
r as
|
|
8
|
-
n as
|
|
9
|
-
p as
|
|
10
|
-
c as
|
|
11
|
-
I as
|
|
6
|
+
u as Checkbox,
|
|
7
|
+
r as CopyButton,
|
|
8
|
+
n as DateInput,
|
|
9
|
+
p as DatePicker,
|
|
10
|
+
c as DeleteButton,
|
|
11
|
+
I as InputError,
|
|
12
|
+
B as InputGroup,
|
|
12
13
|
b as Label,
|
|
13
14
|
l as NumberInput,
|
|
14
15
|
x as RadioSelect,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
S as SelectInput,
|
|
17
|
+
i as SelectPicker,
|
|
18
|
+
m as SubmitButton,
|
|
19
|
+
D as TextInput,
|
|
20
|
+
f as Textarea
|
|
20
21
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
3
3
|
import { ClassValue } from 'clsx';
|
|
4
4
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
5
5
|
import { ComponentProps } from 'react';
|
|
6
6
|
import { default as default_2 } from 'react';
|
|
7
7
|
import { JSX } from 'react/jsx-runtime';
|
|
8
|
-
import
|
|
8
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
9
9
|
import * as React_2 from 'react';
|
|
10
10
|
import { ReactNode } from 'react';
|
|
11
|
-
import
|
|
12
|
-
import
|
|
11
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
12
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
13
13
|
import { VariantProps } from 'class-variance-authority';
|
|
14
14
|
|
|
15
15
|
export declare const Accordion: AccordionComponent;
|
|
16
16
|
|
|
17
|
-
declare function Accordion_2({ ...props }: React_2.ComponentProps<typeof
|
|
17
|
+
declare function Accordion_2({ ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Root>): JSX.Element;
|
|
18
18
|
|
|
19
19
|
declare type AccordionComponent = React.FC<AccordionProps> & {
|
|
20
20
|
Item: React.FC<AccordionItemProps>;
|
|
@@ -22,11 +22,11 @@ declare type AccordionComponent = React.FC<AccordionProps> & {
|
|
|
22
22
|
Content: React.FC<AccordionContentProps>;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
declare function AccordionContent({ className, children, ...props }: React_2.ComponentProps<typeof
|
|
25
|
+
declare function AccordionContent({ className, children, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Content>): JSX.Element;
|
|
26
26
|
|
|
27
27
|
declare type AccordionContentProps = React.ComponentProps<typeof AccordionContent>;
|
|
28
28
|
|
|
29
|
-
declare function AccordionItem({ className, ...props }: React_2.ComponentProps<typeof
|
|
29
|
+
declare function AccordionItem({ className, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Item>): JSX.Element;
|
|
30
30
|
|
|
31
31
|
declare type AccordionItemProps = React.ComponentProps<typeof AccordionItem>;
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ export declare type AccordionProps = React.ComponentProps<typeof Accordion_2> &
|
|
|
34
34
|
children: ReactNode;
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
declare function AccordionTrigger({ className, children, ...props }: React_2.ComponentProps<typeof
|
|
37
|
+
declare function AccordionTrigger({ className, children, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Trigger>): JSX.Element;
|
|
38
38
|
|
|
39
39
|
declare type AccordionTriggerProps = React.ComponentProps<typeof AccordionTrigger>;
|
|
40
40
|
|
|
@@ -215,6 +215,12 @@ export declare interface ContainerProps extends FlexProps {
|
|
|
215
215
|
separation?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
+
export declare const CopyButton: ({ content, className, size, ...props }: CopyButtonProps) => JSX.Element;
|
|
219
|
+
|
|
220
|
+
declare interface CopyButtonProps extends Omit<ButtonProps, "onClick" | "disabled"> {
|
|
221
|
+
content: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
218
224
|
export declare type CursorType = "arrow" | "pointer" | "text" | "not-allowed";
|
|
219
225
|
|
|
220
226
|
export declare const DateInput: ({ name, label, placeholder, note, className, size, ...props }: DateInputProps) => JSX.Element;
|
|
@@ -592,16 +598,16 @@ export declare const Paragraph: ({ children, className, as, ...props }: TextProp
|
|
|
592
598
|
|
|
593
599
|
export declare const Popover: PopoverComponent;
|
|
594
600
|
|
|
595
|
-
declare function Popover_2({ ...props }: React_2.ComponentProps<typeof
|
|
601
|
+
declare function Popover_2({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Root>): JSX.Element;
|
|
596
602
|
|
|
597
603
|
declare type PopoverComponent = default_2.FC<default_2.ComponentProps<typeof Popover_2>> & {
|
|
598
604
|
Trigger: typeof PopoverTrigger;
|
|
599
605
|
Content: typeof PopoverContent;
|
|
600
606
|
};
|
|
601
607
|
|
|
602
|
-
declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof
|
|
608
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Content>): JSX.Element;
|
|
603
609
|
|
|
604
|
-
declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof
|
|
610
|
+
declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Trigger>): JSX.Element;
|
|
605
611
|
|
|
606
612
|
declare type Position = (typeof POSITIONS)[number];
|
|
607
613
|
|
|
@@ -780,13 +786,13 @@ export declare function TableHeader({ className, ...props }: React_2.ComponentPr
|
|
|
780
786
|
|
|
781
787
|
export declare function TableRow({ className, ...props }: React_2.ComponentProps<"tr">): JSX.Element;
|
|
782
788
|
|
|
783
|
-
export declare function Tabs({ className, ...props }: React_2.ComponentProps<typeof
|
|
789
|
+
export declare function Tabs({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Root>): JSX.Element;
|
|
784
790
|
|
|
785
|
-
export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof
|
|
791
|
+
export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Content>): JSX.Element;
|
|
786
792
|
|
|
787
|
-
export declare function TabsList({ className, ...props }: React_2.ComponentProps<typeof
|
|
793
|
+
export declare function TabsList({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.List>): JSX.Element;
|
|
788
794
|
|
|
789
|
-
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof
|
|
795
|
+
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Trigger>): JSX.Element;
|
|
790
796
|
|
|
791
797
|
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"];
|
|
792
798
|
|
|
@@ -888,20 +894,20 @@ export declare interface ThemeSelectorProps {
|
|
|
888
894
|
|
|
889
895
|
export declare const Tooltip: TooltipComponent;
|
|
890
896
|
|
|
891
|
-
declare function Tooltip_2({ ...props }: React_2.ComponentProps<typeof
|
|
897
|
+
declare function Tooltip_2({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element;
|
|
892
898
|
|
|
893
899
|
declare type TooltipComponent = React.FC<TooltipProps> & {
|
|
894
900
|
Trigger: React.FC<TooltipTriggerProps>;
|
|
895
901
|
Content: React.FC<TooltipContentProps>;
|
|
896
902
|
};
|
|
897
903
|
|
|
898
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React_2.ComponentProps<typeof
|
|
904
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Content>): JSX.Element;
|
|
899
905
|
|
|
900
906
|
declare type TooltipContentProps = React.ComponentProps<typeof TooltipContent>;
|
|
901
907
|
|
|
902
908
|
declare type TooltipProps = React.ComponentProps<typeof Tooltip_2>;
|
|
903
909
|
|
|
904
|
-
declare function TooltipTrigger({ ...props }: React_2.ComponentProps<typeof
|
|
910
|
+
declare function TooltipTrigger({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Trigger>): JSX.Element;
|
|
905
911
|
|
|
906
912
|
declare type TooltipTriggerProps = React.ComponentProps<typeof TooltipTrigger> & {
|
|
907
913
|
cursor?: CursorType;
|