@still-forest/canopy 0.42.0 → 0.43.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 +75 -1
- package/dist/index.js +16165 -812
- package/package.json +10 -40
- package/dist/chunks/Code-BLilg72p.js +0 -6
- package/dist/chunks/Heading-DjVutKs1.js +0 -268
- package/dist/chunks/Layout-CvVv48kM.js +0 -538
- package/dist/chunks/Loader-DDhZhyvW.js +0 -49
- package/dist/chunks/PageNotFound-CPlMTx3M.js +0 -144
- package/dist/chunks/Paragraph-ai9KZse1.js +0 -7
- package/dist/chunks/SidebarLayout-BhtFQllz.js +0 -182
- package/dist/chunks/Switch-B-zrBW1-.js +0 -3163
- package/dist/chunks/index-CRiPKpXj.js +0 -2743
- package/dist/chunks/jsx-runtime-B0GD0xBr.js +0 -40
- package/dist/chunks/sidebar-Dub2Iudi.js +0 -8284
- package/dist/forms.d.ts +0 -297
- package/dist/forms.js +0 -26
- package/dist/interstitials.d.ts +0 -48
- package/dist/interstitials.js +0 -8
- package/dist/layout.d.ts +0 -174
- package/dist/layout.js +0 -10
- package/dist/navigation.d.ts +0 -59
- package/dist/navigation.js +0 -8
- package/dist/typography.d.ts +0 -91
- package/dist/typography.js +0 -9
- package/dist/utilities.d.ts +0 -5
- package/dist/utilities.js +0 -4
package/dist/index.d.ts
CHANGED
|
@@ -98,6 +98,16 @@ export declare interface BreadcrumbType {
|
|
|
98
98
|
to?: string;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
export declare const BulletList: BulletListComponent;
|
|
102
|
+
|
|
103
|
+
declare type BulletListComponent = React.FC<BulletListProps> & {
|
|
104
|
+
Item: React.FC<BulletListItemProps>;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
declare type BulletListItemProps = ComponentProps<typeof Text_2>;
|
|
108
|
+
|
|
109
|
+
declare type BulletListProps = ComponentProps<"ul">;
|
|
110
|
+
|
|
101
111
|
export declare const Button: ({ label, children, onClick, variant, size, icon, asIcon, disabled, className, type, asChild, full, fit, rounded, ...rest }: ButtonProps) => JSX.Element;
|
|
102
112
|
|
|
103
113
|
declare function Button_2({ className, variant, size, asChild, ...props }: React_2.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
@@ -969,16 +979,80 @@ declare type TextTracking = (typeof TEXT_TRACKINGS)[number];
|
|
|
969
979
|
|
|
970
980
|
export declare type Theme = "system" | "light" | "dark";
|
|
971
981
|
|
|
972
|
-
export declare const ThemeSelector: ({ variant, theme, setTheme, className, buttonClassName, ...props }: ThemeSelectorProps) => JSX.Element;
|
|
982
|
+
export declare const ThemeSelector: ({ variant, theme, setTheme, className, containerClassName, buttonClassName, ...props }: ThemeSelectorProps) => JSX.Element;
|
|
973
983
|
|
|
974
984
|
export declare interface ThemeSelectorProps {
|
|
975
985
|
variant?: "horizontal" | "stacked";
|
|
976
986
|
theme: Theme;
|
|
977
987
|
setTheme: (theme: Theme) => void;
|
|
978
988
|
className?: string;
|
|
989
|
+
containerClassName?: string;
|
|
979
990
|
buttonClassName?: string;
|
|
980
991
|
}
|
|
981
992
|
|
|
993
|
+
export declare const Timeline: TimelineComponent;
|
|
994
|
+
|
|
995
|
+
declare function Timeline_2({ defaultValue, value, onValueChange, orientation, className, ...props }: TimelineProps_2): JSX.Element;
|
|
996
|
+
|
|
997
|
+
declare type TimelineComponent = React.FC<TimelineProps> & {
|
|
998
|
+
Item: React.FC<TimelineItemProps>;
|
|
999
|
+
Header: React.FC<TimelineHeaderProps>;
|
|
1000
|
+
Separator: React.FC<TimelineSeparatorProps>;
|
|
1001
|
+
Date: React.FC<TimelineDateProps>;
|
|
1002
|
+
Title: React.FC<TimelineTitleProps>;
|
|
1003
|
+
Indicator: React.FC<TimelineIndicatorProps>;
|
|
1004
|
+
Content: React.FC<TimelineContentProps>;
|
|
1005
|
+
};
|
|
1006
|
+
|
|
1007
|
+
declare function TimelineContent({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
1008
|
+
|
|
1009
|
+
declare type TimelineContentProps = React.ComponentProps<typeof TimelineContent>;
|
|
1010
|
+
|
|
1011
|
+
declare function TimelineDate({ asChild, className, ...props }: TimelineDateProps_2): JSX.Element;
|
|
1012
|
+
|
|
1013
|
+
declare type TimelineDateProps = React.ComponentProps<typeof TimelineDate>;
|
|
1014
|
+
|
|
1015
|
+
declare interface TimelineDateProps_2 extends React_2.HTMLAttributes<HTMLTimeElement> {
|
|
1016
|
+
asChild?: boolean;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
declare function TimelineHeader({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
1020
|
+
|
|
1021
|
+
declare type TimelineHeaderProps = React.ComponentProps<typeof TimelineHeader>;
|
|
1022
|
+
|
|
1023
|
+
declare function TimelineIndicator({ asChild, className, children, ...props }: TimelineIndicatorProps_2): JSX.Element;
|
|
1024
|
+
|
|
1025
|
+
declare type TimelineIndicatorProps = React.ComponentProps<typeof TimelineIndicator>;
|
|
1026
|
+
|
|
1027
|
+
declare interface TimelineIndicatorProps_2 extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
1028
|
+
asChild?: boolean;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
declare function TimelineItem({ step, className, ...props }: TimelineItemProps_2): JSX.Element;
|
|
1032
|
+
|
|
1033
|
+
declare type TimelineItemProps = React.ComponentProps<typeof TimelineItem>;
|
|
1034
|
+
|
|
1035
|
+
declare interface TimelineItemProps_2 extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
1036
|
+
step: number;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
export declare type TimelineProps = React.ComponentProps<typeof Timeline_2> & {
|
|
1040
|
+
children: ReactNode;
|
|
1041
|
+
};
|
|
1042
|
+
|
|
1043
|
+
declare interface TimelineProps_2 extends React_2.HTMLAttributes<HTMLDivElement> {
|
|
1044
|
+
defaultValue?: number;
|
|
1045
|
+
value?: number;
|
|
1046
|
+
onValueChange?: (value: number) => void;
|
|
1047
|
+
orientation?: "horizontal" | "vertical";
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
declare function TimelineSeparator({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
1051
|
+
|
|
1052
|
+
declare type TimelineSeparatorProps = React.ComponentProps<typeof TimelineSeparator>;
|
|
1053
|
+
|
|
1054
|
+
declare type TimelineTitleProps = React.ComponentProps<typeof Heading>;
|
|
1055
|
+
|
|
982
1056
|
export declare const Tooltip: TooltipComponent;
|
|
983
1057
|
|
|
984
1058
|
declare function Tooltip_2({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element;
|