@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.
@@ -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 {};
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { StackText } from './StackText';
3
+
4
+ declare const meta: Meta<typeof StackText>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof StackText>;
7
+ export declare const Default: Story;
@@ -1,4 +1,5 @@
1
1
  import { ScaleY } from './ScaleY/ScaleY';
2
2
  import { Shine } from './Shine/Shine';
3
+ import { StackText } from './StackText/StackText';
3
4
 
4
- export { ScaleY, Shine };
5
+ export { ScaleY, Shine, StackText };
@@ -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;
@@ -2,7 +2,6 @@ import { FC } from 'react';
2
2
 
3
3
  type CheckBoxProps = React.HTMLAttributes<HTMLDivElement> & {
4
4
  checked: boolean;
5
- color?: string;
6
5
  };
7
6
  export declare const CheckBox: FC<CheckBoxProps>;
8
7
  export {};
@@ -1,8 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
 
3
- type GardenIconVariant = "garden-rose" | "iris" | "mist" | "elderberry";
4
- type GardenIconProps = React.SVGProps<SVGSVGElement> & {
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,6 @@
1
+ type FooterBackgroundAnimationProps = {
2
+ isMobile: boolean;
3
+ isLogoHovered: boolean;
4
+ };
5
+ export declare const FooterBackgroundAnimation: ({ isMobile, isLogoHovered, }: FooterBackgroundAnimationProps) => import("react/jsx-runtime").JSX.Element;
6
+ 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 {};