@gardenfi/garden-book 0.2.3 → 0.2.4

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.
Files changed (28) hide show
  1. package/dist/animations/StackText/StackText.d.ts +12 -0
  2. package/dist/animations/StackText/StackText.stories.d.ts +7 -0
  3. package/dist/animations/index.d.ts +2 -1
  4. package/dist/components/atoms/Button/ClientOnlyLottie.d.ts +8 -0
  5. package/dist/components/atoms/Icons/DollarChipIcon.d.ts +5 -0
  6. package/dist/components/atoms/Icons/EncryptedIcon.d.ts +5 -0
  7. package/dist/components/atoms/Icons/GiftBoxIcon.d.ts +5 -0
  8. package/dist/components/atoms/Icons/HorizontalSwap.d.ts +5 -0
  9. package/dist/components/atoms/Icons/RaiseHandIcon.d.ts +5 -0
  10. package/dist/components/atoms/Icons/Rotate360Icon.d.ts +5 -0
  11. package/dist/components/atoms/Icons/RoutingIcon.d.ts +5 -0
  12. package/dist/components/atoms/Icons/RowInfoIcon.d.ts +5 -0
  13. package/dist/components/atoms/Icons/index.d.ts +8 -0
  14. package/dist/components/atoms/Logo/GardenIconOutline.d.ts +5 -0
  15. package/dist/components/atoms/Logo/NFTIcon.d.ts +5 -0
  16. package/dist/components/atoms/Logo/index.d.ts +2 -0
  17. package/dist/components/organisms/Footer/Footer.d.ts +2 -0
  18. package/dist/components/organisms/Footer/Footer.stories.d.ts +2 -0
  19. package/dist/components/organisms/Footer/FooterBackgroundAnimation.d.ts +7 -0
  20. package/dist/components/organisms/Footer/FooterLink.d.ts +21 -0
  21. package/dist/hooks/useClientOnly.d.ts +5 -0
  22. package/dist/index.es-BsweaPuE.js +8030 -0
  23. package/dist/index.es-EZUrluJw.cjs +11 -0
  24. package/dist/style.css +1 -1
  25. package/dist/ui.cjs.js +36 -38
  26. package/dist/ui.es.js +9168 -16052
  27. package/dist/ui.umd.js +23 -15
  28. package/package.json +11 -8
@@ -0,0 +1,12 @@
1
+ type StackTextProps = {
2
+ value: string;
3
+ isHovered?: boolean;
4
+ className?: string;
5
+ delay?: number;
6
+ };
7
+ export type StackTextRef = {
8
+ startAnimation: () => void;
9
+ stopAnimation: () => void;
10
+ };
11
+ export declare const StackText: import('react').ForwardRefExoticComponent<StackTextProps & import('react').RefAttributes<StackTextRef>>;
12
+ 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 };
@@ -0,0 +1,8 @@
1
+ interface ClientOnlyLottieProps {
2
+ animationData: any;
3
+ loop?: boolean;
4
+ autoplay?: boolean;
5
+ style?: React.CSSProperties;
6
+ }
7
+ export declare const ClientOnlyLottie: ({ animationData, loop, autoplay, style, }: ClientOnlyLottieProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ type SvgProps = React.SVGProps<SVGSVGElement>;
4
+ export declare const DollarChipIcon: React.FC<SvgProps>;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ type SvgProps = React.SVGProps<SVGSVGElement>;
4
+ export declare const EncryptedIcon: React.FC<SvgProps>;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ type SvgProps = React.SVGProps<SVGSVGElement>;
4
+ export declare const GiftBoxIcon: React.FC<SvgProps>;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ type SvgProps = React.SVGProps<SVGSVGElement>;
4
+ export declare const HorizontalSwap: React.FC<SvgProps>;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ type SvgProps = React.SVGProps<SVGSVGElement>;
4
+ export declare const RaiseHandIcon: React.FC<SvgProps>;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ type SvgProps = React.SVGProps<SVGSVGElement>;
4
+ export declare const Rotate360Icon: React.FC<SvgProps>;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ type SvgProps = React.SVGProps<SVGSVGElement>;
4
+ export declare const RoutingIcon: React.FC<SvgProps>;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ type SvgProps = React.SVGProps<SVGSVGElement>;
4
+ export declare const RowInfoIcon: React.FC<SvgProps>;
5
+ export {};
@@ -72,3 +72,11 @@ export { XSolidIcon } from './XSolidIcon';
72
72
  export { XIcon } from './XIcon';
73
73
  export { ZellicIcon } from './ZellicIcon';
74
74
  export { SearchIconThin } from './SearchIconThin';
75
+ export { Rotate360Icon } from './Rotate360Icon';
76
+ export { EncryptedIcon } from './EncryptedIcon';
77
+ export { RoutingIcon } from './RoutingIcon';
78
+ export { HorizontalSwap } from './HorizontalSwap';
79
+ export { DollarChipIcon } from './DollarChipIcon';
80
+ export { GiftBoxIcon } from './GiftBoxIcon';
81
+ export { RaiseHandIcon } from './RaiseHandIcon';
82
+ export { RowInfoIcon } from './RowInfoIcon';
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ type SvgProps = React.SVGProps<SVGSVGElement>;
4
+ export declare const GardenIconOutline: React.FC<SvgProps>;
5
+ export {};
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+
3
+ type SvgProps = React.SVGProps<SVGSVGElement>;
4
+ export declare const NFTIcon: React.FC<SvgProps>;
5
+ export {};
@@ -27,3 +27,5 @@ export { Dodo } from './DODO';
27
27
  export { Vertex } from './Vertex';
28
28
  export { Radiant } from './Radiant';
29
29
  export { GardenIcon } from './GardenIcon';
30
+ export { GardenIconOutline } from './GardenIconOutline';
31
+ export { NFTIcon } from './NFTIcon';
@@ -2,6 +2,8 @@ import { default as React } from 'react';
2
2
 
3
3
  type FooterProps = React.HTMLAttributes<HTMLDivElement> & {
4
4
  network?: string;
5
+ navigate?: (path: string) => void;
6
+ maskUrl?: string;
5
7
  };
6
8
  export declare const Footer: React.FC<FooterProps>;
7
9
  export {};
@@ -4,6 +4,8 @@ declare const meta: {
4
4
  title: string;
5
5
  component: import('react').FC<import('react').HTMLAttributes<HTMLDivElement> & {
6
6
  network?: string;
7
+ navigate?: (path: string) => void;
8
+ maskUrl?: string;
7
9
  }>;
8
10
  tags: string[];
9
11
  parameters: {
@@ -0,0 +1,7 @@
1
+ type FooterBackgroundAnimationProps = {
2
+ isMobile: boolean;
3
+ isLogoHovered: boolean;
4
+ maskUrl?: string;
5
+ };
6
+ export declare const FooterBackgroundAnimation: ({ isMobile, isLogoHovered, maskUrl, }: FooterBackgroundAnimationProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,21 @@
1
+ type FooterLink = {
2
+ title: string;
3
+ link: string | undefined;
4
+ isExternal: boolean;
5
+ chain?: string;
6
+ inputAsset?: string;
7
+ inputChain?: string;
8
+ };
9
+ type FooterLinksProps = {
10
+ title: string;
11
+ links: Record<string, FooterLink>;
12
+ hoveredIndex?: number | null;
13
+ onHover?: (index: number | null) => void;
14
+ className?: string;
15
+ listClassName?: string;
16
+ isRoutes?: boolean;
17
+ isHomepage?: boolean;
18
+ navigate?: (path: string) => void;
19
+ };
20
+ export declare const FooterLinks: React.FC<FooterLinksProps>;
21
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Custom hook that returns true only on the client side
3
+ * Useful for components that need to avoid SSR hydration issues
4
+ */
5
+ export declare const useClientOnly: () => boolean;