@still-forest/canopy 0.22.0 → 0.22.2
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 +6 -2
- package/dist/index.js +8282 -6102
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,10 @@ declare interface BadgeProps {
|
|
|
35
35
|
className?: string;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
export declare type BaseButtonSize = "default" | "sm" | "lg" | "icon";
|
|
39
|
+
|
|
40
|
+
export declare type BaseButtonVariant = "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
|
|
41
|
+
|
|
38
42
|
declare const Body_2: ({ children, className, withContainer, ...props }: BodyProps) => JSX.Element;
|
|
39
43
|
|
|
40
44
|
declare interface BodyProps extends FlexProps {
|
|
@@ -132,7 +136,7 @@ declare interface ChildProps {
|
|
|
132
136
|
|
|
133
137
|
export declare const Code: ({ children, ...props }: TextProps) => JSX.Element;
|
|
134
138
|
|
|
135
|
-
export declare const Container: ({ children, className, ...props }: ContainerProps) => JSX.Element;
|
|
139
|
+
export declare const Container: ({ children, className, direction, ...props }: ContainerProps) => JSX.Element;
|
|
136
140
|
|
|
137
141
|
export declare interface ContainerProps extends FlexProps {
|
|
138
142
|
children: React.ReactNode;
|
|
@@ -552,7 +556,7 @@ export declare function Skeleton({ className, ...props }: React.ComponentProps<"
|
|
|
552
556
|
|
|
553
557
|
export declare const SubmitButton: ({ submitting, disabled, submittingIcon, action, noIcon, ...rest }: SubmitButtonProps) => JSX.Element;
|
|
554
558
|
|
|
555
|
-
declare interface SubmitButtonProps extends ButtonProps {
|
|
559
|
+
export declare interface SubmitButtonProps extends ButtonProps {
|
|
556
560
|
action?: "default" | "submit" | "save" | "send";
|
|
557
561
|
submitting?: boolean;
|
|
558
562
|
disabled?: boolean;
|