@gardenfi/garden-book 0.2.2-beta.6 → 0.2.3-beta.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/animations/StackText/StackText.d.ts +10 -0
- package/dist/animations/StackText/StackText.stories.d.ts +7 -0
- package/dist/animations/index.d.ts +2 -1
- package/dist/components/atoms/Button/Button.d.ts +0 -7
- package/dist/components/atoms/Button/Button.stories.d.ts +0 -2
- package/dist/components/atoms/Checkbox/Checkbox.d.ts +0 -1
- package/dist/components/atoms/Logo/GardenIcon.d.ts +2 -5
- package/dist/components/organisms/Footer/FooterBackgroundAnimation.d.ts +6 -0
- package/dist/components/organisms/Footer/FooterLink.d.ts +18 -0
- package/dist/style.css +1 -1
- package/dist/ui.cjs.js +17 -9
- package/dist/ui.es.js +4394 -3739
- package/dist/ui.umd.js +17 -9
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type StackTextProps = {
|
|
2
|
+
value: string;
|
|
3
|
+
isHovered?: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type StackTextRef = {
|
|
6
|
+
startAnimation: () => void;
|
|
7
|
+
stopAnimation: () => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const StackText: import('react').ForwardRefExoticComponent<StackTextProps & import('react').RefAttributes<StackTextRef>>;
|
|
10
|
+
export {};
|
|
@@ -4,17 +4,10 @@ type BreakpointVariants = "xs" | "sm" | "md" | "lg" | "xl";
|
|
|
4
4
|
type Breakpoints = {
|
|
5
5
|
[K in BreakpointVariants]?: SizeVariants;
|
|
6
6
|
};
|
|
7
|
-
type ButtonColors = {
|
|
8
|
-
primary?: string;
|
|
9
|
-
secondary?: string;
|
|
10
|
-
ternary?: string;
|
|
11
|
-
disabled?: string;
|
|
12
|
-
};
|
|
13
7
|
export declare const Button: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
14
8
|
variant?: Variants;
|
|
15
9
|
size?: SizeVariants;
|
|
16
10
|
breakpoints?: Breakpoints;
|
|
17
11
|
loading?: boolean;
|
|
18
|
-
colors?: ButtonColors;
|
|
19
12
|
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
20
13
|
export {};
|
|
@@ -13,5 +13,3 @@ export declare const SecondarySmall: Story;
|
|
|
13
13
|
export declare const DisabledLargeLoading: Story;
|
|
14
14
|
export declare const DisabledMedium: Story;
|
|
15
15
|
export declare const DisabledSmall: Story;
|
|
16
|
-
export declare const CustomPrimary: Story;
|
|
17
|
-
export declare const CustomSecondary: Story;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
variant?: GardenIconVariant;
|
|
6
|
-
};
|
|
7
|
-
export declare const GardenIcon: React.FC<GardenIconProps>;
|
|
3
|
+
type SvgProps = React.SVGProps<SVGSVGElement>;
|
|
4
|
+
export declare const GardenIcon: React.FC<SvgProps>;
|
|
8
5
|
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type FooterLink = {
|
|
2
|
+
title: string;
|
|
3
|
+
link: string | undefined;
|
|
4
|
+
isExternal: boolean;
|
|
5
|
+
chain?: string;
|
|
6
|
+
};
|
|
7
|
+
type FooterLinksProps = {
|
|
8
|
+
title: string;
|
|
9
|
+
links: Record<string, FooterLink>;
|
|
10
|
+
hoveredIndex?: number | null;
|
|
11
|
+
onHover?: (index: number | null) => void;
|
|
12
|
+
className?: string;
|
|
13
|
+
listClassName?: string;
|
|
14
|
+
isRoutes?: boolean;
|
|
15
|
+
isHomepage?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export declare const FooterLinks: React.FC<FooterLinksProps>;
|
|
18
|
+
export {};
|