@gardenfi/garden-book 0.2.3-beta.13 → 0.2.3-beta.14
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/BlogCard/BlogCard.js +60 -0
- package/dist/BottomSheet/BottomSheet.js +17 -0
- package/dist/Button/Button.js +108 -0
- package/dist/Button/ClientOnlyLottie.js +27 -0
- package/dist/{Button.js → Button/spinner.json.js} +30 -170
- package/dist/Checkbox/Checkbox.js +7 -0
- package/dist/Chip/Chip.js +20 -0
- package/dist/ClientOnly/ClientOnly.js +6 -0
- package/dist/Container/Container.js +6 -0
- package/dist/Footer/Footer.js +371 -0
- package/dist/Footer/FooterBackgroundAnimation.js +100 -0
- package/dist/Footer/FooterLink.js +86 -0
- package/dist/GradientScroll/GradientScroll.js +73 -0
- package/dist/Icons/APIIcon/APIIcon.js +37 -0
- package/dist/Icons/AddIcon/AddIcon.js +16 -0
- package/dist/Icons/ArrowDownwardIcon/ArrowDownwardIcon.js +16 -0
- package/dist/Icons/ArrowEastIcon/ArrowEastIcon.js +22 -0
- package/dist/Icons/ArrowInwardIcon/ArrowInwardIcon.js +37 -0
- package/dist/Icons/ArrowLeftIcon/ArrowLeftIcon.js +16 -0
- package/dist/Icons/ArrowNorthEastIcon/ArrowNorthEastIcon.js +16 -0
- package/dist/Icons/ArrowNorthWestIcon/ArrowNorthWestIcon.js +16 -0
- package/dist/Icons/ArrowRightIcon/ArrowRightIcon.js +16 -0
- package/dist/Icons/ArrowSouthEastIcon/ArrowSouthEastIcon.js +16 -0
- package/dist/Icons/ArrowSouthWestIcon/ArrowSouthWestIcon.js +16 -0
- package/dist/Icons/ArrowSyncIcon/ArrowSyncIcon.js +16 -0
- package/dist/Icons/ArrowUpwardIcon/ArrowUpwardIcon.js +16 -0
- package/dist/Icons/BlogIcon/BlogIcon.js +37 -0
- package/dist/Icons/BrandKitIcon/BrandKitIcon.js +37 -0
- package/dist/Icons/CancelIcon/CancelIcon.js +22 -0
- package/dist/Icons/ChainflipIcon/ChainflipIcon.js +103 -0
- package/dist/Icons/CheckCircleIcon/CheckCircleIcon.js +22 -0
- package/dist/Icons/CheckIcon/CheckIcon.js +16 -0
- package/dist/Icons/Checked/Checked.js +37 -0
- package/dist/Icons/ClockIcon/ClockIcon.js +16 -0
- package/dist/Icons/CloseIcon/CloseIcon.js +16 -0
- package/dist/Icons/CodeBlockIcon/CodeBlockIcon.js +22 -0
- package/dist/Icons/CompareArrowsIcon/CompareArrowsIcon.js +22 -0
- package/dist/Icons/ConsoleIcon/ConsoleIcon.js +22 -0
- package/dist/Icons/CopyIcon/CopyIcon.js +16 -0
- package/dist/Icons/CopyrightsIcon/CopyrightsIcon.js +22 -0
- package/dist/Icons/DeleteIcon/DeleteIcon.js +16 -0
- package/dist/Icons/DiscordIcon/DiscordIcon.js +22 -0
- package/dist/Icons/DollarChipIcon/DollarChipIcon.js +37 -0
- package/dist/Icons/DraftIcon/DraftIcon.js +37 -0
- package/dist/Icons/EditIcon/EditIcon.js +16 -0
- package/dist/Icons/EncryptedIcon/EncryptedIcon.js +37 -0
- package/dist/Icons/ExchangeIcon/ExchangeIcon.js +19 -0
- package/dist/Icons/FaqIcon/FaqIcon.js +37 -0
- package/dist/Icons/FeesIcon/FeesIcon.js +22 -0
- package/dist/Icons/FingerprintIcon/FingerprintIcon.js +22 -0
- package/dist/Icons/FolderIcon/FolderIcon.js +37 -0
- package/dist/Icons/GasStationIcon/GasStationIcon.js +22 -0
- package/dist/Icons/GiftBoxIcon/GiftBoxIcon.js +37 -0
- package/dist/Icons/{LanguageIcon → GlobeIcon}/GlobeIcon.d.ts +1 -1
- package/dist/Icons/GlobeIcon/GlobeIcon.js +16 -0
- package/dist/Icons/GlobeIcon/index.d.ts +1 -0
- package/dist/Icons/HorizontalSwap/HorizontalSwap.js +37 -0
- package/dist/Icons/HubIcon/HubIcon.js +16 -0
- package/dist/Icons/InfinityIcon/InfinityIcon.js +22 -0
- package/dist/Icons/InfoIcon/InfoIcon.js +16 -0
- package/dist/Icons/KeyboardDownIcon/KeyboardDownIcon.js +16 -0
- package/dist/Icons/KeyboardLeftIcon/KeyboardLeftIcon.js +16 -0
- package/dist/Icons/KeyboardRightIcon/KeyboardRightIcon.js +16 -0
- package/dist/Icons/KeyboardUpIcon/KeyboardUpIcon.js +16 -0
- package/dist/Icons/LinkIcon/LinkIcon.js +16 -0
- package/dist/Icons/LockIcon/LockIcon.js +16 -0
- package/dist/Icons/LogoutIcon/LogoutIcon.js +16 -0
- package/dist/Icons/MenuIcon/MenuIcon.js +16 -0
- package/dist/Icons/MinusIcon/MinusIcon.js +19 -0
- package/dist/Icons/OpenInFullIcon/OpenInFullIcon.js +16 -0
- package/dist/Icons/OpenInNewIcon/OpenInNewIcon.js +22 -0
- package/dist/Icons/OtterSecIcon/OtterSecIcon.js +31 -0
- package/dist/Icons/PageInfoIcon/PageInfoIcon.js +16 -0
- package/dist/Icons/PasskeyIcon/PasskeyIcon.js +22 -0
- package/dist/Icons/PasskeyIcon/index.d.ts +1 -1
- package/dist/Icons/PlusIcon/PlusIcon.js +19 -0
- package/dist/Icons/RadioCheckedIcon/RadioCheckedIcon.js +16 -0
- package/dist/Icons/RadioUncheckedIcon/RadioUncheckedIcon.js +16 -0
- package/dist/Icons/RaiseHandIcon/RaiseHandIcon.js +37 -0
- package/dist/Icons/ReferralIcon/ReferralIcon.js +16 -0
- package/dist/Icons/RelayLinkIcon/RelayLinkIcon.js +88 -0
- package/dist/Icons/RemoveIcon/RemoveIcon.js +16 -0
- package/dist/Icons/Rotate360Icon/Rotate360Icon.js +37 -0
- package/dist/Icons/RoutingIcon/RoutingIcon.js +37 -0
- package/dist/Icons/RowInfoIcon/RowInfoIcon.js +37 -0
- package/dist/Icons/SDKIcon/SDKIcon.js +37 -0
- package/dist/Icons/SearchIcon/SearchIcon.js +16 -0
- package/dist/Icons/SearchIconThin/SearchIconThin.js +37 -0
- package/dist/Icons/Share/Share.js +22 -0
- package/dist/Icons/StakeIcon/StakeIcon.js +37 -0
- package/dist/Icons/StarIcon/StarIcon.js +16 -0
- package/dist/Icons/SwapHorizontalIcon/SwapHorizontalIcon.js +21 -0
- package/dist/Icons/ThorswapIcon/ThorswapIcon.js +55 -0
- package/dist/Icons/TimerIcon/TimerIcon.js +16 -0
- package/dist/Icons/Unchecked/Unchecked.js +37 -0
- package/dist/Icons/WalletIcon/WalletIcon.js +16 -0
- package/dist/Icons/WalletIconRose/WalletIconRose.js +22 -0
- package/dist/Icons/WarningIcon/WarningIcon.js +37 -0
- package/dist/Icons/XIcon/XIcon.js +22 -0
- package/dist/Icons/XSolidIcon/XSolidIcon.js +22 -0
- package/dist/Icons/ZellicIcon/ZellicIcon.js +101 -0
- package/dist/Icons/index.d.ts +1 -1
- package/dist/InfoBadge/InfoBadge.js +16 -0
- package/dist/Logo/ArbitrumLogo/ArbitrumLogo.js +66 -0
- package/dist/Logo/BTCLogo/BTCLogo.js +32 -0
- package/dist/Logo/Camelot/Camelot.js +73 -0
- package/dist/Logo/CatalogLogo/CatalogLogo.js +44 -0
- package/dist/Logo/Coinbase/Coinbase.js +24 -0
- package/dist/Logo/DLCBTC/DLCBTC.js +68 -0
- package/dist/Logo/Debridge/Debridge.js +103 -0
- package/dist/Logo/Dodo/DODO.js +77 -0
- package/dist/Logo/EthereumLogo/EthereumLogo.js +60 -0
- package/dist/Logo/GMX/GMX.js +49 -0
- package/dist/Logo/GMXLogo/GMXLogo.js +40 -0
- package/dist/Logo/GardenDocs/GardenDocs.js +31 -0
- package/dist/Logo/GardenExplorer/GardenExplorer.js +34 -0
- package/dist/Logo/GardenExplorerAlt/GardenExplorerAlt.js +31 -0
- package/dist/Logo/GardenFullLogo/GardenFullLogo.js +66 -0
- package/dist/{GardenIcon-E0OJI-b-.js → Logo/GardenIcon/GardenIcon.js} +11 -13
- package/dist/Logo/GardenIconOutline/GardenIconOutline.js +43 -0
- package/dist/Logo/GardenLogo/GardenLogo.js +33 -0
- package/dist/Logo/GardenLogoDark/GardenLogoDark.js +83 -0
- package/dist/Logo/GardenLogoLight/GardenLogoLight.js +83 -0
- package/dist/Logo/GardenLogoMarkDark/GardenLogoMarkDark.js +41 -0
- package/dist/Logo/GardenLogoMarkLight/GardenLogoMarkLight.js +41 -0
- package/dist/Logo/GardenLogoText/GardenLogoText.js +59 -0
- package/dist/Logo/GardenStrokeIcon/GardenStrokeIcon.js +43 -0
- package/dist/Logo/NFTIcon/NFTIcon.js +37 -0
- package/dist/Logo/PancakeSwap/PancakeSwap.js +134 -0
- package/dist/Logo/PhantomIcon/PhantomIcon.js +23 -0
- package/dist/Logo/PolygonLogo/PolygonLogo.js +31 -0
- package/dist/Logo/Radiant/Radiant.js +31 -0
- package/dist/Logo/RadiantLogo/RadiantLogo.js +40 -0
- package/dist/Logo/Solv/Solv.js +73 -0
- package/dist/Logo/SwellBTC/SwellBTC.js +31 -0
- package/dist/Logo/TraderJoe/TraderJoe.js +98 -0
- package/dist/Logo/TrailOfBits/TrailOfBits.js +190 -0
- package/dist/Logo/TrustWallet/TrustWallet.js +50 -0
- package/dist/Logo/Vertex/Vertex.js +90 -0
- package/dist/Logo/WalletConnect/WalletConnect.js +22 -0
- package/dist/Modal/Modal.js +66 -0
- package/dist/Opacity/Opacity.d.ts +1 -1
- package/dist/Opacity/Opacity.js +25 -0
- package/dist/QuestCard/QuestCard.js +57 -0
- package/dist/Sidebar/Sidebar.js +41 -0
- package/dist/TokenInfo/TokenInfo.js +44 -0
- package/dist/TokenNetworkLogos/TokenNetworkLogos.js +39 -0
- package/dist/{Typography-DX9XpQWB.js → Typography/Typography.js} +23 -25
- package/dist/animations/RollingText/RollingText.d.ts +12 -0
- package/dist/animations/RollingText/RollingText.js +70 -0
- package/dist/animations/ScaleY/ScaleY.d.ts +12 -0
- package/dist/animations/ScaleY/ScaleY.js +32 -0
- package/dist/animations/Shine/Shine.d.ts +11 -0
- package/dist/animations/Shine/Shine.js +6 -0
- package/dist/animations/index.d.ts +5 -0
- package/dist/assets/blogPlaceholder.svg.js +4 -0
- package/dist/assets/maskRect.svg.js +4 -0
- package/dist/hooks/useClientOnly.d.ts +5 -0
- package/dist/hooks/useClientOnly.js +10 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +287 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.js +9 -0
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +29 -0
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +70 -0
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +257 -0
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +17 -0
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +137 -0
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +16 -0
- package/dist/node_modules/@radix-ui/react-presence/dist/index.js +71 -0
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +50 -0
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +54 -0
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +14 -0
- package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +6 -0
- package/dist/node_modules/aria-hidden/dist/es2015/index.js +52 -0
- package/dist/node_modules/vaul/dist/index.js +1038 -0
- package/dist/style.css +1 -17
- package/dist/utils/utils.d.ts +3 -0
- package/dist/utils/utils.js +6 -0
- package/package.json +8 -4
- package/dist/BlogCard.js +0 -820
- package/dist/BlogCard.js.map +0 -1
- package/dist/BottomSheet.js +0 -2801
- package/dist/BottomSheet.js.map +0 -1
- package/dist/Button/spinner.json.d.ts +0 -3
- package/dist/Button.js.map +0 -1
- package/dist/Checkbox.js +0 -9
- package/dist/Checkbox.js.map +0 -1
- package/dist/Chip-DOSAEkS5.js +0 -24
- package/dist/Chip-DOSAEkS5.js.map +0 -1
- package/dist/Chip.js +0 -5
- package/dist/Chip.js.map +0 -1
- package/dist/ClientOnly-CMQEf-Yl.js +0 -13
- package/dist/ClientOnly-CMQEf-Yl.js.map +0 -1
- package/dist/ClientOnly.js +0 -5
- package/dist/ClientOnly.js.map +0 -1
- package/dist/Combination-BN2ESQ8D.js +0 -666
- package/dist/Combination-BN2ESQ8D.js.map +0 -1
- package/dist/Container.js +0 -9
- package/dist/Container.js.map +0 -1
- package/dist/Footer.js +0 -661
- package/dist/Footer.js.map +0 -1
- package/dist/GardenIcon-E0OJI-b-.js.map +0 -1
- package/dist/GradientScroll.js +0 -86
- package/dist/GradientScroll.js.map +0 -1
- package/dist/Icons/LanguageIcon/index.d.ts +0 -1
- package/dist/Icons.js +0 -1936
- package/dist/Icons.js.map +0 -1
- package/dist/InfoBadge.js +0 -19
- package/dist/InfoBadge.js.map +0 -1
- package/dist/KeyboardDownIcon-hh63DdT7.js +0 -19
- package/dist/KeyboardDownIcon-hh63DdT7.js.map +0 -1
- package/dist/Logo.js +0 -2044
- package/dist/Logo.js.map +0 -1
- package/dist/Modal.js +0 -77
- package/dist/Modal.js.map +0 -1
- package/dist/Opacity-DRe3jTZ4.js +0 -29
- package/dist/Opacity-DRe3jTZ4.js.map +0 -1
- package/dist/Opacity.js +0 -5
- package/dist/Opacity.js.map +0 -1
- package/dist/OpenInFullIcon-D2mt0Gjr.js +0 -34
- package/dist/OpenInFullIcon-D2mt0Gjr.js.map +0 -1
- package/dist/QuestCard.js +0 -60
- package/dist/QuestCard.js.map +0 -1
- package/dist/RadioUncheckedIcon-KnzZG6cp.js +0 -34
- package/dist/RadioUncheckedIcon-KnzZG6cp.js.map +0 -1
- package/dist/Sidebar.js +0 -45
- package/dist/Sidebar.js.map +0 -1
- package/dist/TokenInfo.js +0 -47
- package/dist/TokenInfo.js.map +0 -1
- package/dist/TokenNetworkLogos-DZZrRsmI.js +0 -41
- package/dist/TokenNetworkLogos-DZZrRsmI.js.map +0 -1
- package/dist/TokenNetworkLogos.js +0 -5
- package/dist/TokenNetworkLogos.js.map +0 -1
- package/dist/Typography-DX9XpQWB.js.map +0 -1
- package/dist/Typography.js +0 -5
- package/dist/Typography.js.map +0 -1
- package/dist/Unchecked-B7UGXlAZ.js +0 -76
- package/dist/Unchecked-B7UGXlAZ.js.map +0 -1
- package/dist/XIcon-DC822TMq.js +0 -67
- package/dist/XIcon-DC822TMq.js.map +0 -1
- package/dist/fonts/HafferBlack.woff2 +0 -0
- package/dist/fonts/HafferBold.woff2 +0 -0
- package/dist/fonts/HafferHeavy.woff2 +0 -0
- package/dist/fonts/HafferLight.woff2 +0 -0
- package/dist/fonts/HafferMedium.woff2 +0 -0
- package/dist/fonts/HafferRegular.woff2 +0 -0
- package/dist/fonts/HafferSemiBold.woff2 +0 -0
- package/dist/fonts/HafferThin.woff2 +0 -0
- package/dist/index-Ir5YwUO1.js +0 -45
- package/dist/index-Ir5YwUO1.js.map +0 -1
- package/dist/useClientOnly-Bzx92NOa.js +0 -12
- package/dist/useClientOnly-Bzx92NOa.js.map +0 -1
- package/dist/utils-BnsJHiW8.js +0 -2478
- package/dist/utils-BnsJHiW8.js.map +0 -1
- /package/dist/Icons/PasskeyIcon/{Passkey.d.ts → PasskeyIcon.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { cva as n } from "class-variance-authority";
|
|
3
|
+
import { cn as h } from "../utils/utils.js";
|
|
4
|
+
const e = n(["gf-font-haffer gf-text-dark-grey"], {
|
|
5
5
|
variants: {
|
|
6
6
|
size: {
|
|
7
7
|
h1: "gf-text-[32px] gf-leading-[40px]",
|
|
@@ -58,34 +58,32 @@ const typographyStyles = cva(["gf-font-haffer gf-text-dark-grey"], {
|
|
|
58
58
|
weight: "medium"
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
})
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
...props
|
|
61
|
+
}), b = ({
|
|
62
|
+
as: t = "span",
|
|
63
|
+
size: f,
|
|
64
|
+
weight: l = "regular",
|
|
65
|
+
breakpoints: x,
|
|
66
|
+
className: s,
|
|
67
|
+
...a
|
|
69
68
|
}) => {
|
|
70
|
-
const
|
|
71
|
-
(
|
|
69
|
+
const d = x ? Object.entries(x).map(([g, i]) => `${g}:${i}`).map(
|
|
70
|
+
(g) => e({ breakpointSize: g })
|
|
72
71
|
).join(" ") : "";
|
|
73
|
-
return /* @__PURE__ */
|
|
74
|
-
|
|
72
|
+
return /* @__PURE__ */ m(
|
|
73
|
+
t,
|
|
75
74
|
{
|
|
76
|
-
className:
|
|
77
|
-
|
|
78
|
-
size,
|
|
79
|
-
weight,
|
|
80
|
-
className
|
|
75
|
+
className: h(
|
|
76
|
+
e({
|
|
77
|
+
size: f,
|
|
78
|
+
weight: l,
|
|
79
|
+
className: s
|
|
81
80
|
}),
|
|
82
|
-
|
|
81
|
+
d
|
|
83
82
|
),
|
|
84
|
-
...
|
|
83
|
+
...a
|
|
85
84
|
}
|
|
86
85
|
);
|
|
87
86
|
};
|
|
88
87
|
export {
|
|
89
|
-
|
|
88
|
+
b as Typography
|
|
90
89
|
};
|
|
91
|
-
//# sourceMappingURL=Typography-DX9XpQWB.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type RollingTextProps = {
|
|
2
|
+
value: string;
|
|
3
|
+
isHovered?: boolean;
|
|
4
|
+
className?: string;
|
|
5
|
+
delay?: number;
|
|
6
|
+
};
|
|
7
|
+
export type RollingTextRef = {
|
|
8
|
+
startAnimation: () => void;
|
|
9
|
+
stopAnimation: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const RollingText: import('react').ForwardRefExoticComponent<RollingTextProps & import('react').RefAttributes<RollingTextRef>>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { useAnimate as h, stagger as f } from "framer-motion";
|
|
3
|
+
import { forwardRef as v, useImperativeHandle as E, useEffect as m } from "react";
|
|
4
|
+
import { cn as x } from "../../utils/utils.js";
|
|
5
|
+
const y = v(
|
|
6
|
+
({ value: c, isHovered: t, className: p, delay: n }, u) => {
|
|
7
|
+
const d = c.split(""), [s, g] = h(), o = () => {
|
|
8
|
+
g([
|
|
9
|
+
[
|
|
10
|
+
".gf-letter",
|
|
11
|
+
{ y: "-100%" },
|
|
12
|
+
{
|
|
13
|
+
duration: 0.5,
|
|
14
|
+
delay: n ? f(0.014, { startDelay: n }) : f(0.014),
|
|
15
|
+
ease: [0.76, 0, 0.24, 1]
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
]);
|
|
19
|
+
}, l = () => {
|
|
20
|
+
g([
|
|
21
|
+
[
|
|
22
|
+
".gf-letter",
|
|
23
|
+
{ y: "0%" },
|
|
24
|
+
{
|
|
25
|
+
duration: 0.5,
|
|
26
|
+
delay: n ? f(0.014, { startDelay: n }) : f(0.014),
|
|
27
|
+
ease: [0.76, 0, 0.24, 1]
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
]);
|
|
31
|
+
};
|
|
32
|
+
return E(u, () => ({
|
|
33
|
+
startAnimation: o,
|
|
34
|
+
stopAnimation: l
|
|
35
|
+
})), m(() => {
|
|
36
|
+
t ? o() : l();
|
|
37
|
+
}, [t]), m(() => {
|
|
38
|
+
const e = () => {
|
|
39
|
+
t || o();
|
|
40
|
+
}, r = () => {
|
|
41
|
+
t || l();
|
|
42
|
+
}, a = s.current;
|
|
43
|
+
if (a)
|
|
44
|
+
return a.addEventListener("mouseenter", e), a.addEventListener("mouseleave", r), () => {
|
|
45
|
+
a.removeEventListener("mouseenter", e), a.removeEventListener("mouseleave", r);
|
|
46
|
+
};
|
|
47
|
+
}, [s, t]), /* @__PURE__ */ i("div", { ref: s, children: /* @__PURE__ */ i(
|
|
48
|
+
"span",
|
|
49
|
+
{
|
|
50
|
+
className: x(
|
|
51
|
+
"gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",
|
|
52
|
+
p
|
|
53
|
+
),
|
|
54
|
+
children: d.map((e, r) => /* @__PURE__ */ i(
|
|
55
|
+
"span",
|
|
56
|
+
{
|
|
57
|
+
"data-letter": e,
|
|
58
|
+
className: "gf-letter gf-relative gf-h-5 gf-whitespace-pre gf-leading-5 after:gf-absolute after:gf-left-0 after:gf-top-full after:gf-h-5 after:gf-leading-5 after:gf-content-[attr(data-letter)]",
|
|
59
|
+
children: e
|
|
60
|
+
},
|
|
61
|
+
`${e}-${r}`
|
|
62
|
+
))
|
|
63
|
+
}
|
|
64
|
+
) });
|
|
65
|
+
}
|
|
66
|
+
);
|
|
67
|
+
y.displayName = "RollingText";
|
|
68
|
+
export {
|
|
69
|
+
y as RollingText
|
|
70
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface ScaleYProps {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
triggerAnimation: boolean;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* ScaleY animation
|
|
7
|
+
* @param triggerAnimation - true fires the animation
|
|
8
|
+
* @param children - component to animate
|
|
9
|
+
* @default triggerAnimation - true
|
|
10
|
+
*/
|
|
11
|
+
export declare const ScaleY: ({ children, triggerAnimation }: ScaleYProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { cubicBezier as e, motion as n } from "framer-motion";
|
|
3
|
+
const c = ({ children: t, triggerAnimation: i }) => {
|
|
4
|
+
const a = {
|
|
5
|
+
animation: {
|
|
6
|
+
scaleY: [0, 1],
|
|
7
|
+
opacity: [0, 1],
|
|
8
|
+
transition: {
|
|
9
|
+
duration: 0.5,
|
|
10
|
+
ease: e(0.84, 0, 0.16, 1),
|
|
11
|
+
opacity: { duration: 0.2, ease: "easeInOut" },
|
|
12
|
+
once: !0
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
idle: {
|
|
16
|
+
scaleY: 1,
|
|
17
|
+
opacity: 1
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
return /* @__PURE__ */ o(
|
|
21
|
+
n.div,
|
|
22
|
+
{
|
|
23
|
+
animate: i ? "animation" : "idle",
|
|
24
|
+
variants: a,
|
|
25
|
+
style: { transformOrigin: "bottom" },
|
|
26
|
+
children: t
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
};
|
|
30
|
+
export {
|
|
31
|
+
c as ScaleY
|
|
32
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
type ShineProps = {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Shine animation
|
|
8
|
+
* @param children - component to animate
|
|
9
|
+
*/
|
|
10
|
+
export declare const Shine: ({ children }: ShineProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { motion as o } from "framer-motion";
|
|
3
|
+
const t = ({ children: e }) => /* @__PURE__ */ f(o.div, { className: "gf-relative gf-inline-block gf-overflow-hidden gf-rounded-xl gf-w-[300px] before:gf-z-50 before:gf-absolute before:gf-bg-gradient-to-r before:gf-from-transparent before:gf-via-white/50 before:gf-via-50% before:gf-to-transparent before:gf-top-0 before:gf-left-0 before:gf-w-[168px] before:gf-h-full before:gf-animate-shine before:gf-opacity-0", children: e });
|
|
4
|
+
export {
|
|
5
|
+
t as Shine
|
|
6
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%200%20384%20216'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11648_9381)'%3e%3crect%20width='384'%20height='216'%20fill='%2359BB99'/%3e%3ccircle%20cx='-7'%20cy='184'%20r='87'%20fill='url(%23paint0_radial_11648_9381)'/%3e%3ccircle%20cx='368'%20cy='33'%20r='87'%20fill='url(%23paint1_radial_11648_9381)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M136%2078C141.959%2078%20146.986%2081.9942%20148.548%2087.4516C154.006%2089.014%20158%2094.0405%20158%2099.9999C158%20105.959%20154.006%20110.986%20148.548%20112.548C146.986%20118.006%20141.959%20122%20136%20122C130.04%20122%20125.014%20118.006%20123.452%20112.548C117.994%20110.986%20114%20105.959%20114%2099.9999C114%2094.0406%20117.994%2089.0142%20123.452%2087.4517C125.014%2081.9943%20130.04%2078%20136%2078Z'%20fill='%23F7CFDB'/%3e%3cpath%20d='M139.954%2095.3616C139.923%2097.884%20135.962%2097.5421%20134.7%2097.5267L134.755%2093.063C136.016%2093.0784%20139.985%2092.7277%20139.954%2095.3616ZM140.906%20102.316C140.874%20105.09%20136.128%20104.716%20134.611%20104.698L134.688%2099.7811C136.2%2099.8017%20140.958%2099.4226%20140.922%20102.32L140.906%20102.316ZM144.148%2094.4178C143.928%2091.7661%20141.653%2090.8548%20138.771%2090.5621L138.816%2086.8898L136.578%2086.8608L136.533%2090.4382C135.948%2090.4302%20135.347%2090.4347%20134.75%2090.4401L134.775%2086.845L132.543%2086.8093L132.499%2090.4777C132.013%2090.4841%20131.538%2090.4848%20131.075%2090.4809L127.993%2090.4406L127.964%2092.8313C127.964%2092.8313%20129.621%2092.8205%20129.584%2092.8518C130.21%2092.7802%20130.777%2093.2229%20130.86%2093.8471L130.822%2098.0175C130.901%2098.0184%20130.979%2098.0242%20131.057%2098.035L130.822%2098.034L130.737%20103.891C130.7%20104.329%20130.317%20104.655%20129.88%20104.621C129.914%20104.63%20128.256%20104.6%20128.256%20104.6L127.778%20107.263L130.688%20107.298L132.289%20107.314L132.246%20111.024L134.48%20111.052L134.512%20107.397C135.106%20107.419%20135.702%20107.43%20136.296%20107.436L136.25%20111.096L138.484%20111.124L138.535%20107.416C142.302%20107.247%20144.938%20106.332%20145.307%20102.809C145.601%2099.9679%20144.29%2098.6862%20142.168%2098.1466C143.474%2097.504%20144.303%2096.3533%20144.132%2094.4136L144.148%2094.4178Z'%20fill='%23DB6A93'/%3e%3cpath%20d='M170%2098.8577C170%2094.4242%20172.859%2090.9544%20177.421%2090.9544C179.959%2090.9544%20181.919%2092.111%20182.915%2094.0708L183.14%2091.4042H185.839V106.472C185.839%20111.42%20182.787%20114.568%20177.968%20114.568C173.695%20114.568%20170.771%20112.158%20170.193%20108.175H173.213C173.598%20110.488%20175.333%20111.837%20177.968%20111.837C180.923%20111.837%20182.851%20109.91%20182.851%20106.922V103.773C181.823%20105.604%20179.767%20106.697%20177.293%20106.697C172.827%20106.697%20170%20103.259%20170%2098.8577ZM173.02%2098.7935C173.02%20101.749%20174.851%20104.062%20177.807%20104.062C180.859%20104.062%20182.722%20101.878%20182.722%2098.7935C182.722%2095.7735%20180.923%2093.5889%20177.839%2093.5889C174.819%2093.5889%20173.02%2095.902%20173.02%2098.7935Z'%20fill='white'/%3e%3cpath%20d='M194.791%20107.5C191.418%20107.5%20189.426%20105.604%20189.426%20102.745C189.426%2099.8537%20191.579%2098.0545%20195.273%2097.7654L200.221%2097.3799V96.9301C200.221%2094.2957%20198.647%2093.364%20196.526%2093.364C193.988%2093.364%20192.542%2094.4884%20192.542%2096.3839H189.908C189.908%2093.1069%20192.607%2090.9544%20196.655%2090.9544C200.542%2090.9544%20203.176%2093.0106%20203.176%2097.2514V107.114H200.606L200.285%20104.576C199.482%20106.376%20197.329%20107.5%20194.791%20107.5ZM195.659%20105.155C198.518%20105.155%20200.253%20103.291%20200.253%20100.336V99.5003L196.237%2099.8216C193.57%20100.079%20192.478%20101.107%20192.478%20102.649C192.478%20104.319%20193.699%20105.155%20195.659%20105.155Z'%20fill='white'/%3e%3cpath%20d='M216.354%2091.2757V94.0386H215.005C212.146%2094.0386%20210.379%2095.7735%20210.379%2098.7935V107.114H207.359V91.4363H210.186L210.379%2093.8137C211.021%2092.1753%20212.596%2091.0829%20214.748%2091.0829C215.294%2091.0829%20215.744%2091.1472%20216.354%2091.2757Z'%20fill='white'/%3e%3cpath%20d='M224.919%20107.5C220.357%20107.5%20217.594%20104.094%20217.594%2099.3075C217.594%2094.4884%20220.389%2090.9544%20225.048%2090.9544C227.457%2090.9544%20229.481%2092.0146%20230.541%2093.9423V83.4688H233.529V107.114H230.831L230.574%20104.255C229.545%20106.408%20227.425%20107.5%20224.919%20107.5ZM225.53%20104.769C228.614%20104.769%20230.509%20102.488%20230.509%2099.2111C230.509%2095.9984%20228.614%2093.6852%20225.53%2093.6852C222.445%2093.6852%20220.646%2095.9984%20220.646%2099.2111C220.646%20102.456%20222.445%20104.769%20225.53%20104.769Z'%20fill='white'/%3e%3cpath%20d='M244.665%20107.5C240.039%20107.5%20236.858%20104.159%20236.858%2099.2754C236.858%2094.3599%20239.974%2090.9544%20244.536%2090.9544C249.002%2090.9544%20251.926%2094.0386%20251.926%2098.6971V99.8216L239.782%2099.8537C240.006%20103.163%20241.741%20104.994%20244.729%20104.994C247.074%20104.994%20248.617%20104.03%20249.131%20102.231H251.958C251.187%20105.604%20248.552%20107.5%20244.665%20107.5ZM244.536%2093.4925C241.902%2093.4925%20240.231%2095.0667%20239.846%2097.8297H248.906C248.906%2095.2273%20247.203%2093.4925%20244.536%2093.4925Z'%20fill='white'/%3e%3cpath%20d='M258.319%20107.114H255.299V91.4042H258.03L258.351%2093.8137C259.347%2092.0146%20261.339%2090.9544%20263.555%2090.9544C267.7%2090.9544%20269.595%2093.4925%20269.595%2097.5084V107.114H266.575V98.1831C266.575%2095.0025%20265.098%2093.7174%20262.784%2093.7174C259.957%2093.7174%20258.319%2095.7414%20258.319%2098.7935V107.114Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cradialGradient%20id='paint0_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(-7%20184)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cradialGradient%20id='paint1_radial_11648_9381'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(368%2033)%20rotate(90)%20scale(87)'%3e%3cstop%20offset='0.380208'%20stop-color='%239BC8FF'/%3e%3cstop%20offset='1'%20stop-color='%239BC8FF'%20stop-opacity='0.2'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_11648_9381'%3e%3crect%20width='384'%20height='216'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20width='3956'%20height='906'%20viewBox='0%200%203956%20906'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='3956'%20height='906'%20fill='url(%23paint0_linear_579_2)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_579_2'%20x1='1465.5'%20y1='731.406'%20x2='2604.91'%20y2='227.235'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-opacity='0'/%3e%3cstop%20offset='0.115385'/%3e%3cstop%20offset='0.88'/%3e%3cstop%20offset='1'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
export * from './animations';
|
|
3
|
+
export * from './components/atoms/Typography';
|
|
4
|
+
export * from './components/atoms/Button';
|
|
5
|
+
export * from './components/atoms/Checkbox';
|
|
6
|
+
export * from './components/atoms/BottomSheet';
|
|
7
|
+
export * from './components/atoms/Container';
|
|
8
|
+
export * from './components/atoms/Icons';
|
|
9
|
+
export * from './components/atoms/Logo';
|
|
10
|
+
export * from './components/atoms/Modal';
|
|
11
|
+
export * from './components/atoms/Opacity';
|
|
12
|
+
export * from './components/atoms/Sidebar';
|
|
13
|
+
export * from './components/atoms/ClientOnly';
|
|
14
|
+
export * from './components/molecules/Chip';
|
|
15
|
+
export * from './components/molecules/GradientScroll';
|
|
16
|
+
export * from './components/molecules/InfoBadge';
|
|
17
|
+
export * from './components/molecules/TokenInfo';
|
|
18
|
+
export * from './components/molecules/TokenNetworkLogos';
|
|
19
|
+
export * from './components/organisms/BlogCard';
|
|
20
|
+
export * from './components/organisms/Footer';
|
|
21
|
+
export * from './components/organisms/QuestCard';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import { ScaleY as t } from "./animations/ScaleY/ScaleY.js";
|
|
3
|
+
import { Shine as f } from "./animations/Shine/Shine.js";
|
|
4
|
+
import { RollingText as m } from "./animations/RollingText/RollingText.js";
|
|
5
|
+
import { Typography as c } from "./Typography/Typography.js";
|
|
6
|
+
import { Button as a } from "./Button/Button.js";
|
|
7
|
+
import { CheckBox as i } from "./Checkbox/Checkbox.js";
|
|
8
|
+
import { BottomSheet as g } from "./BottomSheet/BottomSheet.js";
|
|
9
|
+
import { Container as C } from "./Container/Container.js";
|
|
10
|
+
import { ArrowDownwardIcon as w } from "./Icons/ArrowDownwardIcon/ArrowDownwardIcon.js";
|
|
11
|
+
import { ArrowUpwardIcon as k } from "./Icons/ArrowUpwardIcon/ArrowUpwardIcon.js";
|
|
12
|
+
import { ArrowLeftIcon as G } from "./Icons/ArrowLeftIcon/ArrowLeftIcon.js";
|
|
13
|
+
import { ArrowRightIcon as y } from "./Icons/ArrowRightIcon/ArrowRightIcon.js";
|
|
14
|
+
import { AddIcon as R } from "./Icons/AddIcon/AddIcon.js";
|
|
15
|
+
import { ArrowNorthEastIcon as B } from "./Icons/ArrowNorthEastIcon/ArrowNorthEastIcon.js";
|
|
16
|
+
import { ArrowNorthWestIcon as b } from "./Icons/ArrowNorthWestIcon/ArrowNorthWestIcon.js";
|
|
17
|
+
import { ArrowSouthEastIcon as F } from "./Icons/ArrowSouthEastIcon/ArrowSouthEastIcon.js";
|
|
18
|
+
import { ArrowSouthWestIcon as O } from "./Icons/ArrowSouthWestIcon/ArrowSouthWestIcon.js";
|
|
19
|
+
import { CheckIcon as W } from "./Icons/CheckIcon/CheckIcon.js";
|
|
20
|
+
import { ClockIcon as N } from "./Icons/ClockIcon/ClockIcon.js";
|
|
21
|
+
import { CloseIcon as U } from "./Icons/CloseIcon/CloseIcon.js";
|
|
22
|
+
import { CopyIcon as v } from "./Icons/CopyIcon/CopyIcon.js";
|
|
23
|
+
import { EditIcon as q } from "./Icons/EditIcon/EditIcon.js";
|
|
24
|
+
import { ExchangeIcon as Q } from "./Icons/ExchangeIcon/ExchangeIcon.js";
|
|
25
|
+
import { InfoIcon as Y } from "./Icons/InfoIcon/InfoIcon.js";
|
|
26
|
+
import { KeyboardDownIcon as j } from "./Icons/KeyboardDownIcon/KeyboardDownIcon.js";
|
|
27
|
+
import { KeyboardLeftIcon as $ } from "./Icons/KeyboardLeftIcon/KeyboardLeftIcon.js";
|
|
28
|
+
import { KeyboardRightIcon as ro } from "./Icons/KeyboardRightIcon/KeyboardRightIcon.js";
|
|
29
|
+
import { KeyboardUpIcon as to } from "./Icons/KeyboardUpIcon/KeyboardUpIcon.js";
|
|
30
|
+
import { GlobeIcon as fo } from "./Icons/GlobeIcon/GlobeIcon.js";
|
|
31
|
+
import { LinkIcon as mo } from "./Icons/LinkIcon/LinkIcon.js";
|
|
32
|
+
import { LockIcon as co } from "./Icons/LockIcon/LockIcon.js";
|
|
33
|
+
import { LogoutIcon as ao } from "./Icons/LogoutIcon/LogoutIcon.js";
|
|
34
|
+
import { MenuIcon as io } from "./Icons/MenuIcon/MenuIcon.js";
|
|
35
|
+
import { OpenInFullIcon as ho } from "./Icons/OpenInFullIcon/OpenInFullIcon.js";
|
|
36
|
+
import { PageInfoIcon as so } from "./Icons/PageInfoIcon/PageInfoIcon.js";
|
|
37
|
+
import { RadioCheckedIcon as Lo } from "./Icons/RadioCheckedIcon/RadioCheckedIcon.js";
|
|
38
|
+
import { RadioUncheckedIcon as So } from "./Icons/RadioUncheckedIcon/RadioUncheckedIcon.js";
|
|
39
|
+
import { RemoveIcon as uo } from "./Icons/RemoveIcon/RemoveIcon.js";
|
|
40
|
+
import { StarIcon as Ao } from "./Icons/StarIcon/StarIcon.js";
|
|
41
|
+
import { WalletIcon as To } from "./Icons/WalletIcon/WalletIcon.js";
|
|
42
|
+
import { SearchIcon as Do } from "./Icons/SearchIcon/SearchIcon.js";
|
|
43
|
+
import { TimerIcon as Eo } from "./Icons/TimerIcon/TimerIcon.js";
|
|
44
|
+
import { ReferralIcon as Mo } from "./Icons/ReferralIcon/ReferralIcon.js";
|
|
45
|
+
import { FeesIcon as Po } from "./Icons/FeesIcon/FeesIcon.js";
|
|
46
|
+
import { OpenInNewIcon as Ko } from "./Icons/OpenInNewIcon/OpenInNewIcon.js";
|
|
47
|
+
import { ArrowEastIcon as Ho } from "./Icons/ArrowEastIcon/ArrowEastIcon.js";
|
|
48
|
+
import { CheckCircleIcon as Xo } from "./Icons/CheckCircleIcon/CheckCircleIcon.js";
|
|
49
|
+
import { FingerprintIcon as zo } from "./Icons/FingerprintIcon/FingerprintIcon.js";
|
|
50
|
+
import { CompareArrowsIcon as Jo } from "./Icons/CompareArrowsIcon/CompareArrowsIcon.js";
|
|
51
|
+
import { MinusIcon as Vo } from "./Icons/MinusIcon/MinusIcon.js";
|
|
52
|
+
import { PlusIcon as Zo } from "./Icons/PlusIcon/PlusIcon.js";
|
|
53
|
+
import { Checked as _o } from "./Icons/Checked/Checked.js";
|
|
54
|
+
import { Unchecked as or } from "./Icons/Unchecked/Unchecked.js";
|
|
55
|
+
import { Share as er } from "./Icons/Share/Share.js";
|
|
56
|
+
import { InfinityIcon as pr } from "./Icons/InfinityIcon/InfinityIcon.js";
|
|
57
|
+
import { WalletIconRose as nr } from "./Icons/WalletIconRose/WalletIconRose.js";
|
|
58
|
+
import { PasskeyIcon as xr } from "./Icons/PasskeyIcon/PasskeyIcon.js";
|
|
59
|
+
import { ChainflipIcon as Ir } from "./Icons/ChainflipIcon/ChainflipIcon.js";
|
|
60
|
+
import { RelayLinkIcon as lr } from "./Icons/RelayLinkIcon/RelayLinkIcon.js";
|
|
61
|
+
import { ThorswapIcon as dr } from "./Icons/ThorswapIcon/ThorswapIcon.js";
|
|
62
|
+
import { DeleteIcon as hr } from "./Icons/DeleteIcon/DeleteIcon.js";
|
|
63
|
+
import { WarningIcon as sr } from "./Icons/WarningIcon/WarningIcon.js";
|
|
64
|
+
import { SwapHorizontalIcon as Lr } from "./Icons/SwapHorizontalIcon/SwapHorizontalIcon.js";
|
|
65
|
+
import { GasStationIcon as Sr } from "./Icons/GasStationIcon/GasStationIcon.js";
|
|
66
|
+
import { CancelIcon as ur } from "./Icons/CancelIcon/CancelIcon.js";
|
|
67
|
+
import { ArrowSyncIcon as Ar } from "./Icons/ArrowSyncIcon/ArrowSyncIcon.js";
|
|
68
|
+
import { HubIcon as Tr } from "./Icons/HubIcon/HubIcon.js";
|
|
69
|
+
import { CodeBlockIcon as Dr } from "./Icons/CodeBlockIcon/CodeBlockIcon.js";
|
|
70
|
+
import { APIIcon as Er } from "./Icons/APIIcon/APIIcon.js";
|
|
71
|
+
import { BlogIcon as Mr } from "./Icons/BlogIcon/BlogIcon.js";
|
|
72
|
+
import { BrandKitIcon as Pr } from "./Icons/BrandKitIcon/BrandKitIcon.js";
|
|
73
|
+
import { ConsoleIcon as Kr } from "./Icons/ConsoleIcon/ConsoleIcon.js";
|
|
74
|
+
import { CopyrightsIcon as Hr } from "./Icons/CopyrightsIcon/CopyrightsIcon.js";
|
|
75
|
+
import { DiscordIcon as Xr } from "./Icons/DiscordIcon/DiscordIcon.js";
|
|
76
|
+
import { DraftIcon as zr } from "./Icons/DraftIcon/DraftIcon.js";
|
|
77
|
+
import { OtterSecIcon as Jr } from "./Icons/OtterSecIcon/OtterSecIcon.js";
|
|
78
|
+
import { SDKIcon as Vr } from "./Icons/SDKIcon/SDKIcon.js";
|
|
79
|
+
import { StakeIcon as Zr } from "./Icons/StakeIcon/StakeIcon.js";
|
|
80
|
+
import { XSolidIcon as _r } from "./Icons/XSolidIcon/XSolidIcon.js";
|
|
81
|
+
import { XIcon as oe } from "./Icons/XIcon/XIcon.js";
|
|
82
|
+
import { ZellicIcon as ee } from "./Icons/ZellicIcon/ZellicIcon.js";
|
|
83
|
+
import { SearchIconThin as pe } from "./Icons/SearchIconThin/SearchIconThin.js";
|
|
84
|
+
import { Rotate360Icon as ne } from "./Icons/Rotate360Icon/Rotate360Icon.js";
|
|
85
|
+
import { EncryptedIcon as xe } from "./Icons/EncryptedIcon/EncryptedIcon.js";
|
|
86
|
+
import { RoutingIcon as Ie } from "./Icons/RoutingIcon/RoutingIcon.js";
|
|
87
|
+
import { HorizontalSwap as le } from "./Icons/HorizontalSwap/HorizontalSwap.js";
|
|
88
|
+
import { DollarChipIcon as de } from "./Icons/DollarChipIcon/DollarChipIcon.js";
|
|
89
|
+
import { GiftBoxIcon as he } from "./Icons/GiftBoxIcon/GiftBoxIcon.js";
|
|
90
|
+
import { RaiseHandIcon as se } from "./Icons/RaiseHandIcon/RaiseHandIcon.js";
|
|
91
|
+
import { RowInfoIcon as Le } from "./Icons/RowInfoIcon/RowInfoIcon.js";
|
|
92
|
+
import { FolderIcon as Se } from "./Icons/FolderIcon/FolderIcon.js";
|
|
93
|
+
import { ArrowInwardIcon as ue } from "./Icons/ArrowInwardIcon/ArrowInwardIcon.js";
|
|
94
|
+
import { FaqIcon as Ae } from "./Icons/FaqIcon/FaqIcon.js";
|
|
95
|
+
import { ArbitrumLogo as Te } from "./Logo/ArbitrumLogo/ArbitrumLogo.js";
|
|
96
|
+
import { BTCLogo as De } from "./Logo/BTCLogo/BTCLogo.js";
|
|
97
|
+
import { CatalogLogo as Ee } from "./Logo/CatalogLogo/CatalogLogo.js";
|
|
98
|
+
import { Coinbase as Me } from "./Logo/Coinbase/Coinbase.js";
|
|
99
|
+
import { EthereumLogo as Pe } from "./Logo/EthereumLogo/EthereumLogo.js";
|
|
100
|
+
import { GardenExplorer as Ke } from "./Logo/GardenExplorer/GardenExplorer.js";
|
|
101
|
+
import { GardenFullLogo as He } from "./Logo/GardenFullLogo/GardenFullLogo.js";
|
|
102
|
+
import { GardenLogo as Xe } from "./Logo/GardenLogo/GardenLogo.js";
|
|
103
|
+
import { GardenLogoText as ze } from "./Logo/GardenLogoText/GardenLogoText.js";
|
|
104
|
+
import { GardenStrokeIcon as Je } from "./Logo/GardenStrokeIcon/GardenStrokeIcon.js";
|
|
105
|
+
import { GMXLogo as Ve } from "./Logo/GMXLogo/GMXLogo.js";
|
|
106
|
+
import { PhantomIcon as Ze } from "./Logo/PhantomIcon/PhantomIcon.js";
|
|
107
|
+
import { PolygonLogo as _e } from "./Logo/PolygonLogo/PolygonLogo.js";
|
|
108
|
+
import { RadiantLogo as ot } from "./Logo/RadiantLogo/RadiantLogo.js";
|
|
109
|
+
import { TrailOfBits as et } from "./Logo/TrailOfBits/TrailOfBits.js";
|
|
110
|
+
import { TrustWallet as pt } from "./Logo/TrustWallet/TrustWallet.js";
|
|
111
|
+
import { WalletConnect as nt } from "./Logo/WalletConnect/WalletConnect.js";
|
|
112
|
+
import { SwellBTC as xt } from "./Logo/SwellBTC/SwellBTC.js";
|
|
113
|
+
import { DLCBTC as It } from "./Logo/DLCBTC/DLCBTC.js";
|
|
114
|
+
import { TraderJoe as lt } from "./Logo/TraderJoe/TraderJoe.js";
|
|
115
|
+
import { Debridge as dt } from "./Logo/Debridge/Debridge.js";
|
|
116
|
+
import { Camelot as ht } from "./Logo/Camelot/Camelot.js";
|
|
117
|
+
import { GMX as st } from "./Logo/GMX/GMX.js";
|
|
118
|
+
import { Solv as Lt } from "./Logo/Solv/Solv.js";
|
|
119
|
+
import { PancakeSwap as St } from "./Logo/PancakeSwap/PancakeSwap.js";
|
|
120
|
+
import { Dodo as ut } from "./Logo/Dodo/DODO.js";
|
|
121
|
+
import { Vertex as At } from "./Logo/Vertex/Vertex.js";
|
|
122
|
+
import { Radiant as Tt } from "./Logo/Radiant/Radiant.js";
|
|
123
|
+
import { GardenIcon as Dt } from "./Logo/GardenIcon/GardenIcon.js";
|
|
124
|
+
import { GardenIconOutline as Et } from "./Logo/GardenIconOutline/GardenIconOutline.js";
|
|
125
|
+
import { NFTIcon as Mt } from "./Logo/NFTIcon/NFTIcon.js";
|
|
126
|
+
import { GardenExplorerAlt as Pt } from "./Logo/GardenExplorerAlt/GardenExplorerAlt.js";
|
|
127
|
+
import { GardenDocs as Kt } from "./Logo/GardenDocs/GardenDocs.js";
|
|
128
|
+
import { GardenLogoMarkDark as Ht } from "./Logo/GardenLogoMarkDark/GardenLogoMarkDark.js";
|
|
129
|
+
import { GardenLogoMarkLight as Xt } from "./Logo/GardenLogoMarkLight/GardenLogoMarkLight.js";
|
|
130
|
+
import { GardenLogoDark as zt } from "./Logo/GardenLogoDark/GardenLogoDark.js";
|
|
131
|
+
import { GardenLogoLight as Jt } from "./Logo/GardenLogoLight/GardenLogoLight.js";
|
|
132
|
+
import { Modal as Vt } from "./Modal/Modal.js";
|
|
133
|
+
import { Opacity as Zt } from "./Opacity/Opacity.js";
|
|
134
|
+
import { Sidebar as _t } from "./Sidebar/Sidebar.js";
|
|
135
|
+
import { ClientOnly as op } from "./ClientOnly/ClientOnly.js";
|
|
136
|
+
import { Chip as ep } from "./Chip/Chip.js";
|
|
137
|
+
import { GradientScroll as pp } from "./GradientScroll/GradientScroll.js";
|
|
138
|
+
import { InfoBadge as np } from "./InfoBadge/InfoBadge.js";
|
|
139
|
+
import { TokenInfo as xp } from "./TokenInfo/TokenInfo.js";
|
|
140
|
+
import { TokenNetworkLogos as Ip } from "./TokenNetworkLogos/TokenNetworkLogos.js";
|
|
141
|
+
import { BlogCard as lp } from "./BlogCard/BlogCard.js";
|
|
142
|
+
import { Footer as dp } from "./Footer/Footer.js";
|
|
143
|
+
import { QuestCard as hp } from "./QuestCard/QuestCard.js";
|
|
144
|
+
export {
|
|
145
|
+
Er as APIIcon,
|
|
146
|
+
R as AddIcon,
|
|
147
|
+
Te as ArbitrumLogo,
|
|
148
|
+
w as ArrowDownwardIcon,
|
|
149
|
+
Ho as ArrowEastIcon,
|
|
150
|
+
ue as ArrowInwardIcon,
|
|
151
|
+
G as ArrowLeftIcon,
|
|
152
|
+
B as ArrowNorthEastIcon,
|
|
153
|
+
b as ArrowNorthWestIcon,
|
|
154
|
+
y as ArrowRightIcon,
|
|
155
|
+
F as ArrowSouthEastIcon,
|
|
156
|
+
O as ArrowSouthWestIcon,
|
|
157
|
+
Ar as ArrowSyncIcon,
|
|
158
|
+
k as ArrowUpwardIcon,
|
|
159
|
+
De as BTCLogo,
|
|
160
|
+
lp as BlogCard,
|
|
161
|
+
Mr as BlogIcon,
|
|
162
|
+
g as BottomSheet,
|
|
163
|
+
Pr as BrandKitIcon,
|
|
164
|
+
a as Button,
|
|
165
|
+
ht as Camelot,
|
|
166
|
+
ur as CancelIcon,
|
|
167
|
+
Ee as CatalogLogo,
|
|
168
|
+
Ir as ChainflipIcon,
|
|
169
|
+
i as CheckBox,
|
|
170
|
+
Xo as CheckCircleIcon,
|
|
171
|
+
W as CheckIcon,
|
|
172
|
+
_o as Checked,
|
|
173
|
+
ep as Chip,
|
|
174
|
+
op as ClientOnly,
|
|
175
|
+
N as ClockIcon,
|
|
176
|
+
U as CloseIcon,
|
|
177
|
+
Dr as CodeBlockIcon,
|
|
178
|
+
Me as Coinbase,
|
|
179
|
+
Jo as CompareArrowsIcon,
|
|
180
|
+
Kr as ConsoleIcon,
|
|
181
|
+
C as Container,
|
|
182
|
+
v as CopyIcon,
|
|
183
|
+
Hr as CopyrightsIcon,
|
|
184
|
+
It as DLCBTC,
|
|
185
|
+
dt as Debridge,
|
|
186
|
+
hr as DeleteIcon,
|
|
187
|
+
Xr as DiscordIcon,
|
|
188
|
+
ut as Dodo,
|
|
189
|
+
de as DollarChipIcon,
|
|
190
|
+
zr as DraftIcon,
|
|
191
|
+
q as EditIcon,
|
|
192
|
+
xe as EncryptedIcon,
|
|
193
|
+
Pe as EthereumLogo,
|
|
194
|
+
Q as ExchangeIcon,
|
|
195
|
+
Ae as FaqIcon,
|
|
196
|
+
Po as FeesIcon,
|
|
197
|
+
zo as FingerprintIcon,
|
|
198
|
+
Se as FolderIcon,
|
|
199
|
+
dp as Footer,
|
|
200
|
+
st as GMX,
|
|
201
|
+
Ve as GMXLogo,
|
|
202
|
+
Kt as GardenDocs,
|
|
203
|
+
Ke as GardenExplorer,
|
|
204
|
+
Pt as GardenExplorerAlt,
|
|
205
|
+
He as GardenFullLogo,
|
|
206
|
+
Dt as GardenIcon,
|
|
207
|
+
Et as GardenIconOutline,
|
|
208
|
+
Xe as GardenLogo,
|
|
209
|
+
zt as GardenLogoDark,
|
|
210
|
+
Jt as GardenLogoLight,
|
|
211
|
+
Ht as GardenLogoMarkDark,
|
|
212
|
+
Xt as GardenLogoMarkLight,
|
|
213
|
+
ze as GardenLogoText,
|
|
214
|
+
Je as GardenStrokeIcon,
|
|
215
|
+
Sr as GasStationIcon,
|
|
216
|
+
he as GiftBoxIcon,
|
|
217
|
+
fo as GlobeIcon,
|
|
218
|
+
pp as GradientScroll,
|
|
219
|
+
le as HorizontalSwap,
|
|
220
|
+
Tr as HubIcon,
|
|
221
|
+
pr as InfinityIcon,
|
|
222
|
+
np as InfoBadge,
|
|
223
|
+
Y as InfoIcon,
|
|
224
|
+
j as KeyboardDownIcon,
|
|
225
|
+
$ as KeyboardLeftIcon,
|
|
226
|
+
ro as KeyboardRightIcon,
|
|
227
|
+
to as KeyboardUpIcon,
|
|
228
|
+
mo as LinkIcon,
|
|
229
|
+
co as LockIcon,
|
|
230
|
+
ao as LogoutIcon,
|
|
231
|
+
io as MenuIcon,
|
|
232
|
+
Vo as MinusIcon,
|
|
233
|
+
Vt as Modal,
|
|
234
|
+
Mt as NFTIcon,
|
|
235
|
+
Zt as Opacity,
|
|
236
|
+
ho as OpenInFullIcon,
|
|
237
|
+
Ko as OpenInNewIcon,
|
|
238
|
+
Jr as OtterSecIcon,
|
|
239
|
+
so as PageInfoIcon,
|
|
240
|
+
St as PancakeSwap,
|
|
241
|
+
xr as PasskeyIcon,
|
|
242
|
+
Ze as PhantomIcon,
|
|
243
|
+
Zo as PlusIcon,
|
|
244
|
+
_e as PolygonLogo,
|
|
245
|
+
hp as QuestCard,
|
|
246
|
+
Tt as Radiant,
|
|
247
|
+
ot as RadiantLogo,
|
|
248
|
+
Lo as RadioCheckedIcon,
|
|
249
|
+
So as RadioUncheckedIcon,
|
|
250
|
+
se as RaiseHandIcon,
|
|
251
|
+
Mo as ReferralIcon,
|
|
252
|
+
lr as RelayLinkIcon,
|
|
253
|
+
uo as RemoveIcon,
|
|
254
|
+
m as RollingText,
|
|
255
|
+
ne as Rotate360Icon,
|
|
256
|
+
Ie as RoutingIcon,
|
|
257
|
+
Le as RowInfoIcon,
|
|
258
|
+
Vr as SDKIcon,
|
|
259
|
+
t as ScaleY,
|
|
260
|
+
Do as SearchIcon,
|
|
261
|
+
pe as SearchIconThin,
|
|
262
|
+
er as Share,
|
|
263
|
+
f as Shine,
|
|
264
|
+
_t as Sidebar,
|
|
265
|
+
Lt as Solv,
|
|
266
|
+
Zr as StakeIcon,
|
|
267
|
+
Ao as StarIcon,
|
|
268
|
+
Lr as SwapHorizontalIcon,
|
|
269
|
+
xt as SwellBTC,
|
|
270
|
+
dr as ThorswapIcon,
|
|
271
|
+
Eo as TimerIcon,
|
|
272
|
+
xp as TokenInfo,
|
|
273
|
+
Ip as TokenNetworkLogos,
|
|
274
|
+
lt as TraderJoe,
|
|
275
|
+
et as TrailOfBits,
|
|
276
|
+
pt as TrustWallet,
|
|
277
|
+
c as Typography,
|
|
278
|
+
or as Unchecked,
|
|
279
|
+
At as Vertex,
|
|
280
|
+
nt as WalletConnect,
|
|
281
|
+
To as WalletIcon,
|
|
282
|
+
nr as WalletIconRose,
|
|
283
|
+
sr as WarningIcon,
|
|
284
|
+
oe as XIcon,
|
|
285
|
+
_r as XSolidIcon,
|
|
286
|
+
ee as ZellicIcon
|
|
287
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
function l(n, o) {
|
|
3
|
+
if (typeof n == "function")
|
|
4
|
+
return n(o);
|
|
5
|
+
n != null && (n.current = o);
|
|
6
|
+
}
|
|
7
|
+
function i(...n) {
|
|
8
|
+
return (o) => {
|
|
9
|
+
let u = !1;
|
|
10
|
+
const c = n.map((t) => {
|
|
11
|
+
const e = l(t, o);
|
|
12
|
+
return !u && typeof e == "function" && (u = !0), e;
|
|
13
|
+
});
|
|
14
|
+
if (u)
|
|
15
|
+
return () => {
|
|
16
|
+
for (let t = 0; t < c.length; t++) {
|
|
17
|
+
const e = c[t];
|
|
18
|
+
typeof e == "function" ? e() : l(n[t], null);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function s(...n) {
|
|
24
|
+
return f.useCallback(i(...n), n);
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
i as composeRefs,
|
|
28
|
+
s as useComposedRefs
|
|
29
|
+
};
|