@gardenfi/garden-book 0.2.3-beta.12 → 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 +4 -8
- 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,34 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const LockIcon = (props) => {
|
|
3
|
-
return /* @__PURE__ */ jsx(
|
|
4
|
-
"svg",
|
|
5
|
-
{
|
|
6
|
-
width: "14",
|
|
7
|
-
height: "19",
|
|
8
|
-
viewBox: "0 0 14 19",
|
|
9
|
-
fill: "currentColor",
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
...props,
|
|
12
|
-
children: /* @__PURE__ */ jsx("path", { d: "M1.9987 18.3333C1.54036 18.3333 1.148 18.1701 0.821615 17.8437C0.495226 17.5173 0.332031 17.125 0.332031 16.6666V8.33331C0.332031 7.87498 0.495226 7.48262 0.821615 7.15623C1.148 6.82984 1.54036 6.66665 1.9987 6.66665H2.83203V4.99998C2.83203 3.8472 3.23828 2.86456 4.05078 2.05206C4.86328 1.23956 5.84592 0.833313 6.9987 0.833313C8.15148 0.833313 9.13411 1.23956 9.94661 2.05206C10.7591 2.86456 11.1654 3.8472 11.1654 4.99998V6.66665H11.9987C12.457 6.66665 12.8494 6.82984 13.1758 7.15623C13.5022 7.48262 13.6654 7.87498 13.6654 8.33331V16.6666C13.6654 17.125 13.5022 17.5173 13.1758 17.8437C12.8494 18.1701 12.457 18.3333 11.9987 18.3333H1.9987ZM1.9987 16.6666H11.9987V8.33331H1.9987V16.6666ZM6.9987 14.1666C7.45703 14.1666 7.84939 14.0035 8.17578 13.6771C8.50217 13.3507 8.66536 12.9583 8.66536 12.5C8.66536 12.0416 8.50217 11.6493 8.17578 11.3229C7.84939 10.9965 7.45703 10.8333 6.9987 10.8333C6.54036 10.8333 6.148 10.9965 5.82161 11.3229C5.49523 11.6493 5.33203 12.0416 5.33203 12.5C5.33203 12.9583 5.49523 13.3507 5.82161 13.6771C6.148 14.0035 6.54036 14.1666 6.9987 14.1666ZM4.4987 6.66665H9.4987V4.99998C9.4987 4.30554 9.25564 3.71526 8.76953 3.22915C8.28342 2.74304 7.69314 2.49998 6.9987 2.49998C6.30425 2.49998 5.71398 2.74304 5.22786 3.22915C4.74175 3.71526 4.4987 4.30554 4.4987 4.99998V6.66665Z" })
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
};
|
|
16
|
-
const OpenInFullIcon = (props) => {
|
|
17
|
-
return /* @__PURE__ */ jsx(
|
|
18
|
-
"svg",
|
|
19
|
-
{
|
|
20
|
-
width: "16",
|
|
21
|
-
height: "16",
|
|
22
|
-
viewBox: "0 0 16 16",
|
|
23
|
-
fill: "currentColor",
|
|
24
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
-
...props,
|
|
26
|
-
children: /* @__PURE__ */ jsx("path", { d: "M0.5 15.5V8.83333H2.16667V12.6667L12.6667 2.16667H8.83333V0.5H15.5V7.16667H13.8333V3.33333L3.33333 13.8333H7.16667V15.5H0.5Z" })
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
LockIcon as L,
|
|
32
|
-
OpenInFullIcon as O
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=OpenInFullIcon-D2mt0Gjr.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenInFullIcon-D2mt0Gjr.js","sources":["../src/components/Icons/LockIcon/LockIcon.tsx","../src/components/Icons/OpenInFullIcon/OpenInFullIcon.tsx"],"sourcesContent":["import React from \"react\";\ntype SvgProps = React.SVGProps<SVGSVGElement>;\n\nexport const LockIcon: React.FC<SvgProps> = (props) => {\n return (\n <svg\n width=\"14\"\n height=\"19\"\n viewBox=\"0 0 14 19\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M1.9987 18.3333C1.54036 18.3333 1.148 18.1701 0.821615 17.8437C0.495226 17.5173 0.332031 17.125 0.332031 16.6666V8.33331C0.332031 7.87498 0.495226 7.48262 0.821615 7.15623C1.148 6.82984 1.54036 6.66665 1.9987 6.66665H2.83203V4.99998C2.83203 3.8472 3.23828 2.86456 4.05078 2.05206C4.86328 1.23956 5.84592 0.833313 6.9987 0.833313C8.15148 0.833313 9.13411 1.23956 9.94661 2.05206C10.7591 2.86456 11.1654 3.8472 11.1654 4.99998V6.66665H11.9987C12.457 6.66665 12.8494 6.82984 13.1758 7.15623C13.5022 7.48262 13.6654 7.87498 13.6654 8.33331V16.6666C13.6654 17.125 13.5022 17.5173 13.1758 17.8437C12.8494 18.1701 12.457 18.3333 11.9987 18.3333H1.9987ZM1.9987 16.6666H11.9987V8.33331H1.9987V16.6666ZM6.9987 14.1666C7.45703 14.1666 7.84939 14.0035 8.17578 13.6771C8.50217 13.3507 8.66536 12.9583 8.66536 12.5C8.66536 12.0416 8.50217 11.6493 8.17578 11.3229C7.84939 10.9965 7.45703 10.8333 6.9987 10.8333C6.54036 10.8333 6.148 10.9965 5.82161 11.3229C5.49523 11.6493 5.33203 12.0416 5.33203 12.5C5.33203 12.9583 5.49523 13.3507 5.82161 13.6771C6.148 14.0035 6.54036 14.1666 6.9987 14.1666ZM4.4987 6.66665H9.4987V4.99998C9.4987 4.30554 9.25564 3.71526 8.76953 3.22915C8.28342 2.74304 7.69314 2.49998 6.9987 2.49998C6.30425 2.49998 5.71398 2.74304 5.22786 3.22915C4.74175 3.71526 4.4987 4.30554 4.4987 4.99998V6.66665Z\" />\n </svg>\n );\n};\n","import React from \"react\";\ntype SvgProps = React.SVGProps<SVGSVGElement>;\n\nexport const OpenInFullIcon: React.FC<SvgProps> = (props) => {\n return (\n <svg\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M0.5 15.5V8.83333H2.16667V12.6667L12.6667 2.16667H8.83333V0.5H15.5V7.16667H13.8333V3.33333L3.33333 13.8333H7.16667V15.5H0.5Z\" />\n </svg>\n );\n};\n"],"names":[],"mappings":";AAGO,MAAM,WAA+B,CAAC,UAAU;AACrD,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAG;AAAA,MAEJ,UAAA,oBAAC,QAAA,EAAK,GAAE,8xCAAA,CAA8xC;AAAA,IAAA;AAAA,EAAA;AAG5yC;ACbO,MAAM,iBAAqC,CAAC,UAAU;AAC3D,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAG;AAAA,MAEJ,UAAA,oBAAC,QAAA,EAAK,GAAE,+HAAA,CAA+H;AAAA,IAAA;AAAA,EAAA;AAG7I;"}
|
package/dist/QuestCard.js
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as cva } from "./index-Ir5YwUO1.js";
|
|
3
|
-
import { c as cn } from "./utils-BnsJHiW8.js";
|
|
4
|
-
import { C as Chip } from "./Chip-DOSAEkS5.js";
|
|
5
|
-
import { T as Typography } from "./Typography-DX9XpQWB.js";
|
|
6
|
-
import { O as OpenInFullIcon, L as LockIcon } from "./OpenInFullIcon-D2mt0Gjr.js";
|
|
7
|
-
const questCardStyles = cva(
|
|
8
|
-
["gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl"],
|
|
9
|
-
{
|
|
10
|
-
variants: {
|
|
11
|
-
variant: {
|
|
12
|
-
locked: "gf-bg-white gf-bg-opacity-25",
|
|
13
|
-
default: "gf-bg-white gf-bg-opacity-50"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
defaultVariants: {
|
|
17
|
-
variant: "locked"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
const QuestCard = ({
|
|
22
|
-
variant,
|
|
23
|
-
title,
|
|
24
|
-
description,
|
|
25
|
-
chipContent,
|
|
26
|
-
logo
|
|
27
|
-
}) => {
|
|
28
|
-
return /* @__PURE__ */ jsxs("div", { className: cn(questCardStyles({ variant })), children: [
|
|
29
|
-
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-justify-between gf-items-center gf-mb-4", children: [
|
|
30
|
-
/* @__PURE__ */ jsxs(Chip, { className: "gf-cursor-pointer gf-px-2 gf-py-1", children: [
|
|
31
|
-
/* @__PURE__ */ jsx(Chip.Logo, { children: logo }),
|
|
32
|
-
title,
|
|
33
|
-
/* @__PURE__ */ jsx(Chip.CheckBox, { checked: false })
|
|
34
|
-
] }),
|
|
35
|
-
variant === "default" ? /* @__PURE__ */ jsx(
|
|
36
|
-
OpenInFullIcon,
|
|
37
|
-
{
|
|
38
|
-
className: "gf-cursor-pointer",
|
|
39
|
-
height: "20px",
|
|
40
|
-
width: "20px"
|
|
41
|
-
}
|
|
42
|
-
) : /* @__PURE__ */ jsx(LockIcon, { className: "gf-cursor-pointer", height: "20px", width: "20px" })
|
|
43
|
-
] }),
|
|
44
|
-
/* @__PURE__ */ jsx("div", { className: "gf-mb-3 md:gf-mb-8", children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "medium", children: description }) }),
|
|
45
|
-
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-justify-end gf-space-x-2", children: [
|
|
46
|
-
/* @__PURE__ */ jsxs(Chip, { className: "gf-pl-3 gf-pr-2 gf-py-1", children: [
|
|
47
|
-
/* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Quest Access" }),
|
|
48
|
-
/* @__PURE__ */ jsx(Chip.CheckBox, { checked: false })
|
|
49
|
-
] }),
|
|
50
|
-
/* @__PURE__ */ jsxs(Chip, { className: "gf-pl-3 gf-pr-2 gf-py-1", children: [
|
|
51
|
-
/* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: chipContent }),
|
|
52
|
-
/* @__PURE__ */ jsx(Chip.CheckBox, { checked: false })
|
|
53
|
-
] })
|
|
54
|
-
] })
|
|
55
|
-
] });
|
|
56
|
-
};
|
|
57
|
-
export {
|
|
58
|
-
QuestCard
|
|
59
|
-
};
|
|
60
|
-
//# sourceMappingURL=QuestCard.js.map
|
package/dist/QuestCard.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QuestCard.js","sources":["../src/components/QuestCard/QuestCard.tsx"],"sourcesContent":["import React, { ReactNode } from \"react\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport { cn } from \"../../utils/utils\";\nimport { Chip } from \"../Chip/Chip\";\nimport { LockIcon } from \"../Icons/LockIcon\";\nimport { OpenInFullIcon } from \"../Icons/OpenInFullIcon\";\nimport { Typography } from \"../Typography/Typography\";\n\nconst questCardStyles = cva(\n [\"gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl\"],\n {\n variants: {\n variant: {\n locked: \"gf-bg-white gf-bg-opacity-25\",\n default: \"gf-bg-white gf-bg-opacity-50\",\n },\n },\n defaultVariants: {\n variant: \"locked\",\n },\n }\n);\n\ntype QuestCardProps = VariantProps<typeof questCardStyles> & {\n title: string;\n description: string;\n chipContent: string;\n logo: ReactNode;\n};\n\n/**\n * QuestCard organism\n * @param variant default or locked\n * @param title partner name\n * @param description describing partnership\n * @param chipContent usually SEED reward amount\n * @returns QuestCard component\n */\nexport const QuestCard: React.FC<QuestCardProps> = ({\n variant,\n title,\n description,\n chipContent,\n logo,\n}) => {\n return (\n <div className={cn(questCardStyles({ variant }))}>\n <div className=\"gf-flex gf-justify-between gf-items-center gf-mb-4\">\n <Chip className=\"gf-cursor-pointer gf-px-2 gf-py-1\">\n <Chip.Logo>{logo}</Chip.Logo>\n {title}\n <Chip.CheckBox checked={false} />\n </Chip>\n {variant === \"default\" ? (\n <OpenInFullIcon\n className=\"gf-cursor-pointer\"\n height=\"20px\"\n width=\"20px\"\n />\n ) : (\n <LockIcon className=\"gf-cursor-pointer\" height=\"20px\" width=\"20px\" />\n )}\n </div>\n <div className=\"gf-mb-3 md:gf-mb-8\">\n <Typography size=\"h3\" weight=\"medium\">\n {description}\n </Typography>\n </div>\n <div className=\"gf-flex gf-justify-end gf-space-x-2\">\n <Chip className=\"gf-pl-3 gf-pr-2 gf-py-1\">\n <Typography size=\"h4\" weight=\"medium\">\n Quest Access\n </Typography>\n <Chip.CheckBox checked={false} />\n </Chip>\n <Chip className=\"gf-pl-3 gf-pr-2 gf-py-1\">\n <Typography size=\"h4\" weight=\"medium\">\n {chipContent}\n </Typography>\n <Chip.CheckBox checked={false} />\n </Chip>\n </div>\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;;AAQA,MAAM,kBAAkB;AAAA,EACtB,CAAC,0EAA0E;AAAA,EAC3E;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,QAAQ;AAAA,QACR,SAAS;AAAA,MAAA;AAAA,IACX;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ;AAiBO,MAAM,YAAsC,CAAC;AAAA,EAClD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,SACE,qBAAC,SAAI,WAAW,GAAG,gBAAgB,EAAE,QAAA,CAAS,CAAC,GAC7C,UAAA;AAAA,IAAA,qBAAC,OAAA,EAAI,WAAU,sDACb,UAAA;AAAA,MAAA,qBAAC,MAAA,EAAK,WAAU,qCACd,UAAA;AAAA,QAAA,oBAAC,KAAK,MAAL,EAAW,UAAA,KAAA,CAAK;AAAA,QAChB;AAAA,QACD,oBAAC,KAAK,UAAL,EAAc,SAAS,MAAA,CAAO;AAAA,MAAA,GACjC;AAAA,MACC,YAAY,YACX;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAU;AAAA,UACV,QAAO;AAAA,UACP,OAAM;AAAA,QAAA;AAAA,MAAA,wBAGP,UAAA,EAAS,WAAU,qBAAoB,QAAO,QAAO,OAAM,OAAA,CAAO;AAAA,IAAA,GAEvE;AAAA,IACA,oBAAC,OAAA,EAAI,WAAU,sBACb,UAAA,oBAAC,YAAA,EAAW,MAAK,MAAK,QAAO,UAC1B,UAAA,YAAA,CACH,GACF;AAAA,IACA,qBAAC,OAAA,EAAI,WAAU,uCACb,UAAA;AAAA,MAAA,qBAAC,MAAA,EAAK,WAAU,2BACd,UAAA;AAAA,QAAA,oBAAC,YAAA,EAAW,MAAK,MAAK,QAAO,UAAS,UAAA,gBAEtC;AAAA,QACA,oBAAC,KAAK,UAAL,EAAc,SAAS,MAAA,CAAO;AAAA,MAAA,GACjC;AAAA,MACA,qBAAC,MAAA,EAAK,WAAU,2BACd,UAAA;AAAA,QAAA,oBAAC,YAAA,EAAW,MAAK,MAAK,QAAO,UAC1B,UAAA,aACH;AAAA,QACA,oBAAC,KAAK,UAAL,EAAc,SAAS,MAAA,CAAO;AAAA,MAAA,EAAA,CACjC;AAAA,IAAA,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const RadioCheckedIcon = (props) => {
|
|
3
|
-
return /* @__PURE__ */ jsx(
|
|
4
|
-
"svg",
|
|
5
|
-
{
|
|
6
|
-
width: "18",
|
|
7
|
-
height: "18",
|
|
8
|
-
viewBox: "0 0 18 18",
|
|
9
|
-
fill: "currentColor",
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
...props,
|
|
12
|
-
children: /* @__PURE__ */ jsx("path", { d: "M7.83464 12.8334L13.7096 6.95835L12.543 5.79169L7.83464 10.5L5.45964 8.12502L4.29297 9.29169L7.83464 12.8334ZM9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334Z" })
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
};
|
|
16
|
-
const RadioUncheckedIcon = (props) => {
|
|
17
|
-
return /* @__PURE__ */ jsx(
|
|
18
|
-
"svg",
|
|
19
|
-
{
|
|
20
|
-
width: "18",
|
|
21
|
-
height: "18",
|
|
22
|
-
viewBox: "0 0 18 18",
|
|
23
|
-
fill: "currentColor",
|
|
24
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
-
...props,
|
|
26
|
-
children: /* @__PURE__ */ jsx("path", { d: "M9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334ZM9.0013 15.6667C10.8624 15.6667 12.4388 15.0209 13.7305 13.7292C15.0221 12.4375 15.668 10.8611 15.668 9.00002C15.668 7.13891 15.0221 5.56252 13.7305 4.27085C12.4388 2.97919 10.8624 2.33335 9.0013 2.33335C7.14019 2.33335 5.5638 2.97919 4.27214 4.27085C2.98047 5.56252 2.33464 7.13891 2.33464 9.00002C2.33464 10.8611 2.98047 12.4375 4.27214 13.7292C5.5638 15.0209 7.14019 15.6667 9.0013 15.6667Z" })
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
RadioCheckedIcon as R,
|
|
32
|
-
RadioUncheckedIcon as a
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=RadioUncheckedIcon-KnzZG6cp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioUncheckedIcon-KnzZG6cp.js","sources":["../src/components/Icons/RadioCheckedIcon/RadioCheckedIcon.tsx","../src/components/Icons/RadioUncheckedIcon/RadioUncheckedIcon.tsx"],"sourcesContent":["import React from \"react\";\ntype SvgProps = React.SVGProps<SVGSVGElement>;\n\nexport const RadioCheckedIcon: React.FC<SvgProps> = (props) => {\n return (\n <svg\n width=\"18\"\n height=\"18\"\n viewBox=\"0 0 18 18\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M7.83464 12.8334L13.7096 6.95835L12.543 5.79169L7.83464 10.5L5.45964 8.12502L4.29297 9.29169L7.83464 12.8334ZM9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334Z\" />\n </svg>\n );\n};\n","import React from \"react\";\ntype SvgProps = React.SVGProps<SVGSVGElement>;\n\nexport const RadioUncheckedIcon: React.FC<SvgProps> = (props) => {\n return (\n <svg\n width=\"18\"\n height=\"18\"\n viewBox=\"0 0 18 18\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path d=\"M9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334ZM9.0013 15.6667C10.8624 15.6667 12.4388 15.0209 13.7305 13.7292C15.0221 12.4375 15.668 10.8611 15.668 9.00002C15.668 7.13891 15.0221 5.56252 13.7305 4.27085C12.4388 2.97919 10.8624 2.33335 9.0013 2.33335C7.14019 2.33335 5.5638 2.97919 4.27214 4.27085C2.98047 5.56252 2.33464 7.13891 2.33464 9.00002C2.33464 10.8611 2.98047 12.4375 4.27214 13.7292C5.5638 15.0209 7.14019 15.6667 9.0013 15.6667Z\" />\n </svg>\n );\n};\n"],"names":[],"mappings":";AAGO,MAAM,mBAAuC,CAAC,UAAU;AAC7D,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAG;AAAA,MAEJ,UAAA,oBAAC,QAAA,EAAK,GAAE,k4BAAA,CAAk4B;AAAA,IAAA;AAAA,EAAA;AAGh5B;ACbO,MAAM,qBAAyC,CAAC,UAAU;AAC/D,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAG;AAAA,MAEJ,UAAA,oBAAC,QAAA,EAAK,GAAE,8pCAAA,CAA8pC;AAAA,IAAA;AAAA,EAAA;AAG5qC;"}
|
package/dist/Sidebar.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as cn } from "./utils-BnsJHiW8.js";
|
|
3
|
-
import { c as cva } from "./index-Ir5YwUO1.js";
|
|
4
|
-
import { O as Opacity } from "./Opacity-DRe3jTZ4.js";
|
|
5
|
-
import { R as ReactRemoveScroll } from "./Combination-BN2ESQ8D.js";
|
|
6
|
-
import { C as ClientOnly } from "./ClientOnly-CMQEf-Yl.js";
|
|
7
|
-
const sidebarStyles = cva(
|
|
8
|
-
"gf-fixed gf-inset-y-0 gf-right-0 gf-transition-transform gf-duration-200 gf-bg-white gf-backdrop-blur-sm gf-p-4",
|
|
9
|
-
{
|
|
10
|
-
variants: {
|
|
11
|
-
open: {
|
|
12
|
-
true: "gf-translate-x-0",
|
|
13
|
-
false: "gf-translate-x-full"
|
|
14
|
-
},
|
|
15
|
-
size: {
|
|
16
|
-
small: "gf-w-full md:gf-w-[360px]",
|
|
17
|
-
large: "gf-w-full md:gf-w-[480px]"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
defaultVariants: {
|
|
21
|
-
open: false
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
const Sidebar = ({
|
|
26
|
-
open,
|
|
27
|
-
size,
|
|
28
|
-
children,
|
|
29
|
-
className,
|
|
30
|
-
...props
|
|
31
|
-
}) => {
|
|
32
|
-
return /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(ReactRemoveScroll, { removeScrollBar: false, enabled: !!open, children: /* @__PURE__ */ jsx(
|
|
33
|
-
Opacity,
|
|
34
|
-
{
|
|
35
|
-
level: "medium",
|
|
36
|
-
className: cn(sidebarStyles({ open, size, className })),
|
|
37
|
-
...props,
|
|
38
|
-
children
|
|
39
|
-
}
|
|
40
|
-
) }) });
|
|
41
|
-
};
|
|
42
|
-
export {
|
|
43
|
-
Sidebar
|
|
44
|
-
};
|
|
45
|
-
//# sourceMappingURL=Sidebar.js.map
|
package/dist/Sidebar.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.js","sources":["../src/components/Sidebar/Sidebar.tsx"],"sourcesContent":["import { FC, HTMLAttributes } from \"react\";\nimport { cn } from \"../../utils/utils\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport { Opacity } from \"../Opacity/Opacity\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { ClientOnly } from \"../ClientOnly/ClientOnly\";\n\nconst sidebarStyles = cva(\n \"gf-fixed gf-inset-y-0 gf-right-0 gf-transition-transform gf-duration-200 gf-bg-white gf-backdrop-blur-sm gf-p-4\",\n {\n variants: {\n open: {\n true: \"gf-translate-x-0\",\n false: \"gf-translate-x-full\",\n },\n size: {\n small: \"gf-w-full md:gf-w-[360px]\",\n large: \"gf-w-full md:gf-w-[480px]\",\n },\n },\n defaultVariants: {\n open: false,\n },\n }\n);\n\nexport type SidebarProps = HTMLAttributes<HTMLDivElement> &\n VariantProps<typeof sidebarStyles>;\n\nexport const Sidebar: FC<SidebarProps> = ({\n open,\n size,\n children,\n className,\n ...props\n}) => {\n return (\n <ClientOnly>\n <RemoveScroll removeScrollBar={false} enabled={!!open}>\n <Opacity\n level={\"medium\"}\n className={cn(sidebarStyles({ open, size, className }))}\n {...props}\n >\n {children}\n </Opacity>\n </RemoveScroll>\n </ClientOnly>\n );\n};\n"],"names":["RemoveScroll"],"mappings":";;;;;;AAOA,MAAM,gBAAgB;AAAA,EACpB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,MAAM;AAAA,QACN,OAAO;AAAA,MAAA;AAAA,MAET,MAAM;AAAA,QACJ,OAAO;AAAA,QACP,OAAO;AAAA,MAAA;AAAA,IACT;AAAA,IAEF,iBAAiB;AAAA,MACf,MAAM;AAAA,IAAA;AAAA,EACR;AAEJ;AAKO,MAAM,UAA4B,CAAC;AAAA,EACxC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,SACE,oBAAC,cACC,UAAA,oBAACA,mBAAA,EAAa,iBAAiB,OAAO,SAAS,CAAC,CAAC,MAC/C,UAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAO;AAAA,MACP,WAAW,GAAG,cAAc,EAAE,MAAM,MAAM,UAAA,CAAW,CAAC;AAAA,MACrD,GAAG;AAAA,MAEH;AAAA,IAAA;AAAA,EAAA,GAEL,EAAA,CACF;AAEJ;"}
|
package/dist/TokenInfo.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { c as cn } from "./utils-BnsJHiW8.js";
|
|
3
|
-
import { T as Typography } from "./Typography-DX9XpQWB.js";
|
|
4
|
-
import { T as TokenNetworkLogos } from "./TokenNetworkLogos-DZZrRsmI.js";
|
|
5
|
-
import { K as KeyboardDownIcon } from "./KeyboardDownIcon-hh63DdT7.js";
|
|
6
|
-
const TokenInfo = ({
|
|
7
|
-
symbol,
|
|
8
|
-
tokenLogo,
|
|
9
|
-
chainLogo,
|
|
10
|
-
className,
|
|
11
|
-
hideDropdown = false,
|
|
12
|
-
...props
|
|
13
|
-
}) => {
|
|
14
|
-
return /* @__PURE__ */ jsx(
|
|
15
|
-
"div",
|
|
16
|
-
{
|
|
17
|
-
className: cn(
|
|
18
|
-
"gf-flex gf-text-left gf-cursor-pointer gf-w-max",
|
|
19
|
-
className
|
|
20
|
-
),
|
|
21
|
-
...props,
|
|
22
|
-
children: /* @__PURE__ */ jsxs("button", { className: "gf-flex gf-flex-row gf-justify-center gf-items-center gf-gap-2 gf-w-full focus:gf-outline-none", children: [
|
|
23
|
-
/* @__PURE__ */ jsx(Typography, { size: "h2", weight: "regular", children: symbol }),
|
|
24
|
-
/* @__PURE__ */ jsxs(
|
|
25
|
-
"div",
|
|
26
|
-
{
|
|
27
|
-
className: `gf-flex gf-items-center gf-gap-1`,
|
|
28
|
-
children: [
|
|
29
|
-
/* @__PURE__ */ jsx(
|
|
30
|
-
TokenNetworkLogos,
|
|
31
|
-
{
|
|
32
|
-
tokenLogo: tokenLogo || "",
|
|
33
|
-
chainLogo: chainLogo || ""
|
|
34
|
-
}
|
|
35
|
-
),
|
|
36
|
-
!hideDropdown && /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(KeyboardDownIcon, {}) })
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
)
|
|
40
|
-
] })
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
};
|
|
44
|
-
export {
|
|
45
|
-
TokenInfo
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=TokenInfo.js.map
|
package/dist/TokenInfo.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TokenInfo.js","sources":["../src/components/TokenInfo/TokenInfo.tsx"],"sourcesContent":["import React from \"react\";\nimport { cn } from \"../../utils/utils\";\nimport { Typography } from \"../Typography/Typography\";\nimport { KeyboardDownIcon } from \"../Icons/KeyboardDownIcon\";\nimport { TokenNetworkLogos } from \"../TokenNetworkLogos/TokenNetworkLogos\";\n\ntype TokenInfoProps = {\n symbol: string;\n tokenLogo: string;\n chainLogo?: string;\n hideDropdown?: boolean;\n} & React.HTMLAttributes<HTMLDivElement>;\n\nexport const TokenInfo: React.FC<TokenInfoProps> = ({\n symbol,\n tokenLogo,\n chainLogo,\n className,\n hideDropdown = false,\n ...props\n}) => {\n return (\n <div\n className={cn(\n \"gf-flex gf-text-left gf-cursor-pointer gf-w-max\",\n className\n )}\n {...props}\n >\n <button className=\"gf-flex gf-flex-row gf-justify-center gf-items-center gf-gap-2 gf-w-full focus:gf-outline-none\">\n <Typography size=\"h2\" weight=\"regular\">\n {symbol}\n </Typography>\n <div\n className={`gf-flex gf-items-center gf-gap-1`}\n >\n <TokenNetworkLogos\n tokenLogo={tokenLogo || \"\"}\n chainLogo={chainLogo || \"\"}\n />\n {!hideDropdown && (\n <span>\n <KeyboardDownIcon />\n </span>\n )}\n </div>\n </button>\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;AAaO,MAAM,YAAsC,CAAC;AAAA,EAClD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf,GAAG;AACL,MAAM;AACJ,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MAAA;AAAA,MAED,GAAG;AAAA,MAEJ,UAAA,qBAAC,UAAA,EAAO,WAAU,kGAChB,UAAA;AAAA,QAAA,oBAAC,YAAA,EAAW,MAAK,MAAK,QAAO,WAC1B,UAAA,QACH;AAAA,QACA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,WAAW;AAAA,YAEX,UAAA;AAAA,cAAA;AAAA,gBAAC;AAAA,gBAAA;AAAA,kBACC,WAAW,aAAa;AAAA,kBACxB,WAAW,aAAa;AAAA,gBAAA;AAAA,cAAA;AAAA,cAEzB,CAAC,gBACA,oBAAC,QAAA,EACC,UAAA,oBAAC,oBAAiB,EAAA,CACpB;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAEJ,EAAA,CACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { c as cn } from "./utils-BnsJHiW8.js";
|
|
3
|
-
const TokenNetworkLogos = ({
|
|
4
|
-
tokenLogo,
|
|
5
|
-
chainLogo,
|
|
6
|
-
className,
|
|
7
|
-
iconStyle,
|
|
8
|
-
iconSize = 20,
|
|
9
|
-
...props
|
|
10
|
-
}) => {
|
|
11
|
-
const hasDualLogos = chainLogo && chainLogo !== tokenLogo;
|
|
12
|
-
const containerWidth = hasDualLogos ? Math.round(iconSize * 1.9) : iconSize;
|
|
13
|
-
return /* @__PURE__ */ jsxs(
|
|
14
|
-
"div",
|
|
15
|
-
{
|
|
16
|
-
className: `gf-relative gf-flex gf-items-center ${className}`,
|
|
17
|
-
style: { width: containerWidth },
|
|
18
|
-
...props,
|
|
19
|
-
children: [
|
|
20
|
-
/* @__PURE__ */ jsx(
|
|
21
|
-
"img",
|
|
22
|
-
{
|
|
23
|
-
src: tokenLogo,
|
|
24
|
-
className: cn(`gf-absolute gf-left-0 gf-z-30 !gf-h-[${iconSize}px] !gf-w-[${iconSize}px]`, iconStyle)
|
|
25
|
-
}
|
|
26
|
-
),
|
|
27
|
-
chainLogo && chainLogo !== tokenLogo && /* @__PURE__ */ jsx(
|
|
28
|
-
"img",
|
|
29
|
-
{
|
|
30
|
-
src: chainLogo,
|
|
31
|
-
className: cn(`gf-absolute gf-right-0 gf-z-20 !gf-h-[${iconSize}px] !gf-w-[${iconSize}px]`, iconStyle)
|
|
32
|
-
}
|
|
33
|
-
)
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
};
|
|
38
|
-
export {
|
|
39
|
-
TokenNetworkLogos as T
|
|
40
|
-
};
|
|
41
|
-
//# sourceMappingURL=TokenNetworkLogos-DZZrRsmI.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TokenNetworkLogos-DZZrRsmI.js","sources":["../src/components/TokenNetworkLogos/TokenNetworkLogos.tsx"],"sourcesContent":["import { FC, HTMLAttributes } from \"react\";\nimport { cn } from \"../../utils/utils\";\n\ntype TokenNetworkLogosProps = HTMLAttributes<HTMLDivElement> & {\n tokenLogo?: string;\n chainLogo?: string;\n className?: string;\n iconStyle?: string;\n iconSize?: number;\n};\n\nexport const TokenNetworkLogos: FC<TokenNetworkLogosProps> = ({\n tokenLogo,\n chainLogo,\n className,\n iconStyle,\n iconSize = 20,\n ...props\n}) => {\n const hasDualLogos = chainLogo && chainLogo !== tokenLogo;\n const containerWidth = hasDualLogos ? Math.round(iconSize * 1.9) : iconSize;\n\n return (\n <div\n className={`gf-relative gf-flex gf-items-center ${className}`}\n style={{ width: containerWidth }}\n {...props}\n >\n <img\n src={tokenLogo}\n className={cn(`gf-absolute gf-left-0 gf-z-30 !gf-h-[${iconSize}px] !gf-w-[${iconSize}px]`, iconStyle)}\n />\n {chainLogo && chainLogo !== tokenLogo && (\n <img\n src={chainLogo}\n className={cn(`gf-absolute gf-right-0 gf-z-20 !gf-h-[${iconSize}px] !gf-w-[${iconSize}px]`, iconStyle)}\n />\n )}\n </div>\n );\n};\n"],"names":[],"mappings":";;AAWO,MAAM,oBAAgD,CAAC;AAAA,EAC5D;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX,GAAG;AACL,MAAM;AACJ,QAAM,eAAe,aAAa,cAAc;AAChD,QAAM,iBAAiB,eAAe,KAAK,MAAM,WAAW,GAAG,IAAI;AAEnE,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW,uCAAuC,SAAS;AAAA,MAC3D,OAAO,EAAE,OAAO,eAAA;AAAA,MACf,GAAG;AAAA,MAEJ,UAAA;AAAA,QAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,KAAK;AAAA,YACL,WAAW,GAAG,wCAAwC,QAAQ,cAAc,QAAQ,OAAO,SAAS;AAAA,UAAA;AAAA,QAAA;AAAA,QAErG,aAAa,cAAc,aAC1B;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,KAAK;AAAA,YACL,WAAW,GAAG,yCAAyC,QAAQ,cAAc,QAAQ,OAAO,SAAS;AAAA,UAAA;AAAA,QAAA;AAAA,MACvG;AAAA,IAAA;AAAA,EAAA;AAIR;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TokenNetworkLogos.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Typography-DX9XpQWB.js","sources":["../src/components/Typography/Typography.tsx"],"sourcesContent":["import { cva } from \"class-variance-authority\";\nimport { cn } from \"../../utils/utils\";\n\ntype SizeVariants = \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\ntype WeightVariants =\n | \"thin\"\n | \"light\"\n | \"regular\"\n | \"medium\"\n | \"semibold\"\n | \"bold\"\n | \"heavy\"\n | \"black\";\ntype breakpointVariants = \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\";\ntype Breakpoints = {\n [K in breakpointVariants]?: SizeVariants;\n};\n\nconst typographyStyles = cva([\"gf-font-haffer gf-text-dark-grey\"], {\n variants: {\n size: {\n h1: \"gf-text-[32px] gf-leading-[40px]\",\n h2: \"gf-text-xl gf-leading-[20px]\",\n h3: \"gf-text-base gf-leading-[20px]\",\n h4: \"gf-text-sm gf-leading-[20px]\",\n h5: \"gf-text-xs gf-leading-[16px]\",\n h6: \"gf-text-[10px] gf-leading-[12px]\",\n },\n weight: {\n thin: \"gf-font-thin\",\n light: \"gf-font-light\",\n regular: \"gf-font-regular\",\n medium: \"gf-font-medium\",\n semibold: \"gf-font-semibold\",\n bold: \"gf-font-bold\",\n heavy: \"gf-font-heavy\",\n black: \"gf-font-black\",\n },\n breakpointSize: {\n \"xs:h1\": \"xs:gf-text-[32px] xs:gf-leading-[48px]\",\n \"xs:h2\": \"xs:gf-text-xl xs:gf-leading-7\",\n \"xs:h3\": \"xs:gf-text-base xs:gf-leading-6\",\n \"xs:h4\": \"xs:gf-text-sm xs:gf-leading-5\",\n \"xs:h5\": \"xs:gf-text-xs xs:gf-leading-4\",\n \"xs:h6\": \"xs:gf-text-[10px] xs:gf-leading-3\",\n \"sm:h1\": \"sm:gf-text-[32px] sm:gf-leading-[48px]\",\n \"sm:h2\": \"sm:gf-text-xl sm:gf-leading-7\",\n \"sm:h3\": \"sm:gf-text-base sm:gf-leading-6\",\n \"sm:h4\": \"sm:gf-text-sm sm:gf-leading-5\",\n \"sm:h5\": \"sm:gf-text-xs sm:gf-leading-4\",\n \"sm:h6\": \"sm:gf-text-[10px] sm:gf-leading-3\",\n \"md:h1\": \"md:gf-text-[32px] md:gf-leading-[48px]\",\n \"md:h2\": \"md:gf-text-xl md:gf-leading-7\",\n \"md:h3\": \"md:gf-text-base md:gf-leading-6\",\n \"md:h4\": \"md:gf-text-sm md:gf-leading-5\",\n \"md:h5\": \"md:gf-text-xs md:gf-leading-4\",\n \"md:h6\": \"md:gf-text-[10px] md:gf-leading-3\",\n \"lg:h1\": \"lg:gf-text-[32px] lg:gf-leading-[48px]\",\n \"lg:h2\": \"lg:gf-text-xl lg:gf-leading-7\",\n \"lg:h3\": \"lg:gf-text-base lg:gf-leading-6\",\n \"lg:h4\": \"lg:gf-text-sm lg:gf-leading-5\",\n \"lg:h5\": \"lg:gf-text-xs lg:gf-leading-4\",\n \"lg:h6\": \"lg:gf-text-[10px] lg:gf-leading-3\",\n \"xl:h1\": \"xl:gf-text-[32px] xl:gf-leading-[48px]\",\n \"xl:h2\": \"xl:gf-text-xl xl:gf-leading-7\",\n \"xl:h3\": \"xl:gf-text-base xl:gf-leading-6\",\n \"xl:h4\": \"xl:gf-text-sm xl:gf-leading-5\",\n \"xl:h5\": \"xl:gf-text-xs xl:gf-leading-4\",\n \"xl:h6\": \"xl:gf-text-[10px] xl:gf-leading-3\",\n },\n defaultVariants: {\n size: \"h3\",\n weight: \"medium\",\n },\n },\n});\n\ntype breakpointSizeKey = `${breakpointVariants}:${SizeVariants}`;\n\ntype BaseTypographyProps = {\n size?: SizeVariants;\n weight?: WeightVariants;\n breakpoints?: Breakpoints;\n as?: \"div\" | \"span\" | \"p\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"a\";\n};\n\ntype TypographyProps = BaseTypographyProps &\n (\n | (React.HTMLAttributes<HTMLDivElement> & { as?: \"div\" })\n | (React.HTMLAttributes<HTMLSpanElement> & { as?: \"span\" })\n | (React.HTMLAttributes<HTMLParagraphElement> & { as?: \"p\" })\n | (React.HTMLAttributes<HTMLHeadingElement> & {\n as?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n })\n | (React.AnchorHTMLAttributes<HTMLAnchorElement> & { as: \"a\" })\n );\n\n/**\n * Typography component\n * @param size - default size of the text => \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\"\n * @param weight - weight of the text => \"thin\" | \"light\" | \"regular\" | \"medium\" | \"semibold\" | \"bold\" | \"heavy\" | \"black\"\n * @param breakpoints - Breakpoints for the text size => { [key in [\"xs\",\"sm\",\"md\",\"lg\",\"xl\"]]: SizeVariants }\n * @param as -HTML element to render as => \"div\" | \"span\" | \"p\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"a\"\n * @default size - \"h3\" weight - \"medium\" as - \"span\"\n */\nexport const Typography: React.FC<TypographyProps> = ({\n as: Component = \"span\",\n size,\n weight = \"regular\",\n breakpoints,\n className,\n ...props\n}) => {\n const breakpointClasses = breakpoints\n ? Object.entries(breakpoints)\n .map(([breakpoint, size]) => `${breakpoint}:${size}`)\n .map((key) =>\n typographyStyles({ breakpointSize: key as breakpointSizeKey })\n )\n .join(\" \")\n : \"\";\n\n return (\n <Component\n className={cn(\n typographyStyles({\n size,\n weight,\n className,\n }),\n breakpointClasses\n )}\n {...(props as React.HTMLAttributes<HTMLElement>)}\n />\n );\n};\n"],"names":["size"],"mappings":";;;AAkBA,MAAM,mBAAmB,IAAI,CAAC,kCAAkC,GAAG;AAAA,EACjE,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IAAA;AAAA,IAEN,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,OAAO;AAAA,MACP,SAAS;AAAA,MACT,QAAQ;AAAA,MACR,UAAU;AAAA,MACV,MAAM;AAAA,MACN,OAAO;AAAA,MACP,OAAO;AAAA,IAAA;AAAA,IAET,gBAAgB;AAAA,MACd,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA,IAAA;AAAA,IAEX,iBAAiB;AAAA,MACf,MAAM;AAAA,MACN,QAAQ;AAAA,IAAA;AAAA,EACV;AAEJ,CAAC;AA8BM,MAAM,aAAwC,CAAC;AAAA,EACpD,IAAI,YAAY;AAAA,EAChB;AAAA,EACA,SAAS;AAAA,EACT;AAAA,EACA;AAAA,EACA,GAAG;AACL,MAAM;AACJ,QAAM,oBAAoB,cACtB,OAAO,QAAQ,WAAW,EACvB,IAAI,CAAC,CAAC,YAAYA,KAAI,MAAM,GAAG,UAAU,IAAIA,KAAI,EAAE,EACnD;AAAA,IAAI,CAAC,QACJ,iBAAiB,EAAE,gBAAgB,KAA0B;AAAA,EAAA,EAE9D,KAAK,GAAG,IACX;AAEJ,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAW;AAAA,QACT,iBAAiB;AAAA,UACf;AAAA,UACA;AAAA,UACA;AAAA,QAAA,CACD;AAAA,QACD;AAAA,MAAA;AAAA,MAED,GAAI;AAAA,IAAA;AAAA,EAAA;AAGX;"}
|
package/dist/Typography.js
DELETED
package/dist/Typography.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
const Checked = (props) => {
|
|
3
|
-
return /* @__PURE__ */ jsxs(
|
|
4
|
-
"svg",
|
|
5
|
-
{
|
|
6
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
-
width: "24",
|
|
8
|
-
height: "24",
|
|
9
|
-
viewBox: "0 0 24 24",
|
|
10
|
-
fill: "none",
|
|
11
|
-
...props,
|
|
12
|
-
children: [
|
|
13
|
-
/* @__PURE__ */ jsx(
|
|
14
|
-
"mask",
|
|
15
|
-
{
|
|
16
|
-
id: "mask0_14594_15086",
|
|
17
|
-
style: { maskType: "alpha" },
|
|
18
|
-
maskUnits: "userSpaceOnUse",
|
|
19
|
-
x: "0",
|
|
20
|
-
y: "0",
|
|
21
|
-
width: "24",
|
|
22
|
-
height: "24",
|
|
23
|
-
children: /* @__PURE__ */ jsx("rect", { width: "24", height: "24", fill: "#D9D9D9" })
|
|
24
|
-
}
|
|
25
|
-
),
|
|
26
|
-
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_14594_15086)", children: /* @__PURE__ */ jsx(
|
|
27
|
-
"path",
|
|
28
|
-
{
|
|
29
|
-
d: "M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03333 10.975 7.75 10.975C7.46667 10.975 7.23333 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63333 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5Z",
|
|
30
|
-
fill: props.color || "#E36492"
|
|
31
|
-
}
|
|
32
|
-
) })
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
);
|
|
36
|
-
};
|
|
37
|
-
const Unchecked = (props) => {
|
|
38
|
-
return /* @__PURE__ */ jsxs(
|
|
39
|
-
"svg",
|
|
40
|
-
{
|
|
41
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
42
|
-
width: "24",
|
|
43
|
-
height: "24",
|
|
44
|
-
viewBox: "0 0 24 24",
|
|
45
|
-
fill: "none",
|
|
46
|
-
...props,
|
|
47
|
-
children: [
|
|
48
|
-
/* @__PURE__ */ jsx(
|
|
49
|
-
"mask",
|
|
50
|
-
{
|
|
51
|
-
id: "mask0_14594_15093",
|
|
52
|
-
style: { maskType: "alpha" },
|
|
53
|
-
maskUnits: "userSpaceOnUse",
|
|
54
|
-
x: "0",
|
|
55
|
-
y: "0",
|
|
56
|
-
width: "24",
|
|
57
|
-
height: "24",
|
|
58
|
-
children: /* @__PURE__ */ jsx("rect", { width: "24", height: "24", fill: "#D9D9D9" })
|
|
59
|
-
}
|
|
60
|
-
),
|
|
61
|
-
/* @__PURE__ */ jsx("g", { mask: "url(#mask0_14594_15093)", children: /* @__PURE__ */ jsx(
|
|
62
|
-
"path",
|
|
63
|
-
{
|
|
64
|
-
d: "M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V5H5V19Z",
|
|
65
|
-
fill: "currentColor"
|
|
66
|
-
}
|
|
67
|
-
) })
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
);
|
|
71
|
-
};
|
|
72
|
-
export {
|
|
73
|
-
Checked as C,
|
|
74
|
-
Unchecked as U
|
|
75
|
-
};
|
|
76
|
-
//# sourceMappingURL=Unchecked-B7UGXlAZ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Unchecked-B7UGXlAZ.js","sources":["../src/components/Icons/Checked/Checked.tsx","../src/components/Icons/Unchecked/Unchecked.tsx"],"sourcesContent":["import React from \"react\";\ntype SvgProps = React.SVGProps<SVGSVGElement>;\n\nexport const Checked: React.FC<SvgProps> = (props) => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n {...props}\n >\n <mask\n id=\"mask0_14594_15086\"\n style={{ maskType: \"alpha\" }}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <rect width=\"24\" height=\"24\" fill=\"#D9D9D9\" />\n </mask>\n <g mask=\"url(#mask0_14594_15086)\">\n <path\n d=\"M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03333 10.975 7.75 10.975C7.46667 10.975 7.23333 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63333 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5Z\"\n fill={props.color || \"#E36492\"}\n />\n </g>\n </svg>\n );\n};\n","import React from \"react\";\ntype SvgProps = React.SVGProps<SVGSVGElement>;\n\nexport const Unchecked: React.FC<SvgProps> = (props) => {\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n {...props}\n >\n <mask\n id=\"mask0_14594_15093\"\n style={{ maskType: \"alpha\" }}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <rect width=\"24\" height=\"24\" fill=\"#D9D9D9\" />\n </mask>\n <g mask=\"url(#mask0_14594_15093)\">\n <path\n d=\"M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V5H5V19Z\"\n fill=\"currentColor\"\n />\n </g>\n </svg>\n );\n};\n"],"names":[],"mappings":";AAGO,MAAM,UAA8B,CAAC,UAAU;AACpD,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACJ,GAAG;AAAA,MAEJ,UAAA;AAAA,QAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,IAAG;AAAA,YACH,OAAO,EAAE,UAAU,QAAA;AAAA,YACnB,WAAU;AAAA,YACV,GAAE;AAAA,YACF,GAAE;AAAA,YACF,OAAM;AAAA,YACN,QAAO;AAAA,YAEP,8BAAC,QAAA,EAAK,OAAM,MAAK,QAAO,MAAK,MAAK,UAAA,CAAU;AAAA,UAAA;AAAA,QAAA;AAAA,QAE9C,oBAAC,KAAA,EAAE,MAAK,2BACN,UAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,GAAE;AAAA,YACF,MAAM,MAAM,SAAS;AAAA,UAAA;AAAA,QAAA,EACvB,CACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;AC7BO,MAAM,YAAgC,CAAC,UAAU;AACtD,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACJ,GAAG;AAAA,MAEJ,UAAA;AAAA,QAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,IAAG;AAAA,YACH,OAAO,EAAE,UAAU,QAAA;AAAA,YACnB,WAAU;AAAA,YACV,GAAE;AAAA,YACF,GAAE;AAAA,YACF,OAAM;AAAA,YACN,QAAO;AAAA,YAEP,8BAAC,QAAA,EAAK,OAAM,MAAK,QAAO,MAAK,MAAK,UAAA,CAAU;AAAA,UAAA;AAAA,QAAA;AAAA,QAE9C,oBAAC,KAAA,EAAE,MAAK,2BACN,UAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,GAAE;AAAA,YACF,MAAK;AAAA,UAAA;AAAA,QAAA,EACP,CACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
package/dist/XIcon-DC822TMq.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
const CopyrightsIcon = (props) => {
|
|
3
|
-
return /* @__PURE__ */ jsx(
|
|
4
|
-
"svg",
|
|
5
|
-
{
|
|
6
|
-
width: "12",
|
|
7
|
-
height: "12",
|
|
8
|
-
viewBox: "0 0 12 12",
|
|
9
|
-
fill: "none",
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
...props,
|
|
12
|
-
children: /* @__PURE__ */ jsx(
|
|
13
|
-
"path",
|
|
14
|
-
{
|
|
15
|
-
d: "M5 7.875H7C7.10625 7.875 7.19529 7.83904 7.26713 7.76713C7.33904 7.69529 7.375 7.60625 7.375 7.5V6.625H6.625V7.125H5.375V4.875H6.625V5.375H7.375V4.49987C7.375 4.39354 7.33904 4.3045 7.26713 4.23275C7.19529 4.16092 7.10625 4.125 7 4.125H5C4.89375 4.125 4.80471 4.16096 4.73288 4.23288C4.66096 4.30471 4.625 4.39375 4.625 4.5V7.5C4.625 7.60625 4.66096 7.69529 4.73288 7.76713C4.80471 7.83904 4.89375 7.875 5 7.875ZM6.00087 10.75C5.34387 10.75 4.72633 10.6253 4.14825 10.376C3.57017 10.1267 3.06733 9.78829 2.63975 9.36088C2.21217 8.93346 1.87362 8.43083 1.62412 7.853C1.37471 7.27517 1.25 6.65779 1.25 6.00087C1.25 5.34387 1.37467 4.72633 1.624 4.14825C1.87333 3.57017 2.21171 3.06733 2.63913 2.63975C3.06654 2.21217 3.56917 1.87362 4.147 1.62412C4.72483 1.37471 5.34221 1.25 5.99913 1.25C6.65613 1.25 7.27367 1.37467 7.85175 1.624C8.42983 1.87333 8.93267 2.21171 9.36025 2.63913C9.78783 3.06654 10.1264 3.56917 10.3759 4.147C10.6253 4.72483 10.75 5.34221 10.75 5.99913C10.75 6.65613 10.6253 7.27367 10.376 7.85175C10.1267 8.42983 9.78829 8.93267 9.36088 9.36025C8.93346 9.78783 8.43083 10.1264 7.853 10.3759C7.27517 10.6253 6.65779 10.75 6.00087 10.75ZM6 10C7.11667 10 8.0625 9.6125 8.8375 8.8375C9.6125 8.0625 10 7.11667 10 6C10 4.88333 9.6125 3.9375 8.8375 3.1625C8.0625 2.3875 7.11667 2 6 2C4.88333 2 3.9375 2.3875 3.1625 3.1625C2.3875 3.9375 2 4.88333 2 6C2 7.11667 2.3875 8.0625 3.1625 8.8375C3.9375 9.6125 4.88333 10 6 10Z",
|
|
16
|
-
fill: "currentColor"
|
|
17
|
-
}
|
|
18
|
-
)
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
};
|
|
22
|
-
const DiscordIcon = (props) => {
|
|
23
|
-
return /* @__PURE__ */ jsx(
|
|
24
|
-
"svg",
|
|
25
|
-
{
|
|
26
|
-
width: "24",
|
|
27
|
-
height: "24",
|
|
28
|
-
viewBox: "0 0 24 24",
|
|
29
|
-
fill: "none",
|
|
30
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
31
|
-
...props,
|
|
32
|
-
children: /* @__PURE__ */ jsx(
|
|
33
|
-
"path",
|
|
34
|
-
{
|
|
35
|
-
d: "M18.9419 5.29661C17.6473 4.69088 16.263 4.25066 14.8157 4C14.638 4.32134 14.4304 4.75355 14.2872 5.09738C12.7487 4.86601 11.2245 4.86601 9.7143 5.09738C9.57116 4.75355 9.3588 4.32134 9.17947 4C7.73067 4.25066 6.3448 4.6925 5.05016 5.29982C2.43887 9.24582 1.73099 13.0938 2.08493 16.8872C3.81688 18.1805 5.49534 18.9662 7.14548 19.4804C7.55291 18.9196 7.91628 18.3235 8.22931 17.6953C7.63313 17.4688 7.06211 17.1892 6.52256 16.8647C6.6657 16.7586 6.80571 16.6478 6.94098 16.5337C10.2318 18.0729 13.8074 18.0729 17.0589 16.5337C17.1958 16.6478 17.3358 16.7586 17.4774 16.8647C16.9362 17.1908 16.3637 17.4704 15.7675 17.697C16.0805 18.3235 16.4423 18.9212 16.8513 19.4819C18.503 18.9678 20.183 18.1822 21.915 16.8872C22.3303 12.4897 21.2056 8.67705 18.9419 5.29661ZM8.67765 14.5543C7.68977 14.5543 6.87963 13.632 6.87963 12.509C6.87963 11.3859 7.67247 10.4621 8.67765 10.4621C9.68285 10.4621 10.493 11.3843 10.4757 12.509C10.4772 13.632 9.68285 14.5543 8.67765 14.5543ZM15.3223 14.5543C14.3344 14.5543 13.5243 13.632 13.5243 12.509C13.5243 11.3859 14.3171 10.4621 15.3223 10.4621C16.3275 10.4621 17.1376 11.3843 17.1203 12.509C17.1203 13.632 16.3275 14.5543 15.3223 14.5543Z",
|
|
36
|
-
fill: "currentColor"
|
|
37
|
-
}
|
|
38
|
-
)
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
};
|
|
42
|
-
const XIcon = (props) => {
|
|
43
|
-
return /* @__PURE__ */ jsx(
|
|
44
|
-
"svg",
|
|
45
|
-
{
|
|
46
|
-
width: "25",
|
|
47
|
-
height: "24",
|
|
48
|
-
viewBox: "0 0 25 24",
|
|
49
|
-
fill: "none",
|
|
50
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
51
|
-
...props,
|
|
52
|
-
children: /* @__PURE__ */ jsx(
|
|
53
|
-
"path",
|
|
54
|
-
{
|
|
55
|
-
d: "M17.6557 3.86523H20.4171L14.3858 10.757L21.481 20.1364H15.9269L11.5735 14.4493L6.5983 20.1364H3.83298L10.2828 12.7635L3.48096 3.86523H9.17587L13.1068 9.06341L17.6557 3.86523ZM16.6857 18.4858H18.215L8.34276 5.42977H6.69999L16.6857 18.4858Z",
|
|
56
|
-
fill: "currentColor"
|
|
57
|
-
}
|
|
58
|
-
)
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
export {
|
|
63
|
-
CopyrightsIcon as C,
|
|
64
|
-
DiscordIcon as D,
|
|
65
|
-
XIcon as X
|
|
66
|
-
};
|
|
67
|
-
//# sourceMappingURL=XIcon-DC822TMq.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"XIcon-DC822TMq.js","sources":["../src/components/Icons/CopyrightsIcon/CopyrightsIcon.tsx","../src/components/Icons/DiscordIcon/DiscordIcon.tsx","../src/components/Icons/XIcon/XIcon.tsx"],"sourcesContent":["import React from \"react\";\ntype SvgProps = React.SVGProps<SVGSVGElement>;\n\nexport const CopyrightsIcon: React.FC<SvgProps> = (props) => {\n return (\n <svg\n width=\"12\"\n height=\"12\"\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M5 7.875H7C7.10625 7.875 7.19529 7.83904 7.26713 7.76713C7.33904 7.69529 7.375 7.60625 7.375 7.5V6.625H6.625V7.125H5.375V4.875H6.625V5.375H7.375V4.49987C7.375 4.39354 7.33904 4.3045 7.26713 4.23275C7.19529 4.16092 7.10625 4.125 7 4.125H5C4.89375 4.125 4.80471 4.16096 4.73288 4.23288C4.66096 4.30471 4.625 4.39375 4.625 4.5V7.5C4.625 7.60625 4.66096 7.69529 4.73288 7.76713C4.80471 7.83904 4.89375 7.875 5 7.875ZM6.00087 10.75C5.34387 10.75 4.72633 10.6253 4.14825 10.376C3.57017 10.1267 3.06733 9.78829 2.63975 9.36088C2.21217 8.93346 1.87362 8.43083 1.62412 7.853C1.37471 7.27517 1.25 6.65779 1.25 6.00087C1.25 5.34387 1.37467 4.72633 1.624 4.14825C1.87333 3.57017 2.21171 3.06733 2.63913 2.63975C3.06654 2.21217 3.56917 1.87362 4.147 1.62412C4.72483 1.37471 5.34221 1.25 5.99913 1.25C6.65613 1.25 7.27367 1.37467 7.85175 1.624C8.42983 1.87333 8.93267 2.21171 9.36025 2.63913C9.78783 3.06654 10.1264 3.56917 10.3759 4.147C10.6253 4.72483 10.75 5.34221 10.75 5.99913C10.75 6.65613 10.6253 7.27367 10.376 7.85175C10.1267 8.42983 9.78829 8.93267 9.36088 9.36025C8.93346 9.78783 8.43083 10.1264 7.853 10.3759C7.27517 10.6253 6.65779 10.75 6.00087 10.75ZM6 10C7.11667 10 8.0625 9.6125 8.8375 8.8375C9.6125 8.0625 10 7.11667 10 6C10 4.88333 9.6125 3.9375 8.8375 3.1625C8.0625 2.3875 7.11667 2 6 2C4.88333 2 3.9375 2.3875 3.1625 3.1625C2.3875 3.9375 2 4.88333 2 6C2 7.11667 2.3875 8.0625 3.1625 8.8375C3.9375 9.6125 4.88333 10 6 10Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n","import React from \"react\";\ntype SvgProps = React.SVGProps<SVGSVGElement>;\n\nexport const DiscordIcon: React.FC<SvgProps> = (props) => {\n return (\n <svg\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M18.9419 5.29661C17.6473 4.69088 16.263 4.25066 14.8157 4C14.638 4.32134 14.4304 4.75355 14.2872 5.09738C12.7487 4.86601 11.2245 4.86601 9.7143 5.09738C9.57116 4.75355 9.3588 4.32134 9.17947 4C7.73067 4.25066 6.3448 4.6925 5.05016 5.29982C2.43887 9.24582 1.73099 13.0938 2.08493 16.8872C3.81688 18.1805 5.49534 18.9662 7.14548 19.4804C7.55291 18.9196 7.91628 18.3235 8.22931 17.6953C7.63313 17.4688 7.06211 17.1892 6.52256 16.8647C6.6657 16.7586 6.80571 16.6478 6.94098 16.5337C10.2318 18.0729 13.8074 18.0729 17.0589 16.5337C17.1958 16.6478 17.3358 16.7586 17.4774 16.8647C16.9362 17.1908 16.3637 17.4704 15.7675 17.697C16.0805 18.3235 16.4423 18.9212 16.8513 19.4819C18.503 18.9678 20.183 18.1822 21.915 16.8872C22.3303 12.4897 21.2056 8.67705 18.9419 5.29661ZM8.67765 14.5543C7.68977 14.5543 6.87963 13.632 6.87963 12.509C6.87963 11.3859 7.67247 10.4621 8.67765 10.4621C9.68285 10.4621 10.493 11.3843 10.4757 12.509C10.4772 13.632 9.68285 14.5543 8.67765 14.5543ZM15.3223 14.5543C14.3344 14.5543 13.5243 13.632 13.5243 12.509C13.5243 11.3859 14.3171 10.4621 15.3223 10.4621C16.3275 10.4621 17.1376 11.3843 17.1203 12.509C17.1203 13.632 16.3275 14.5543 15.3223 14.5543Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n","import React from \"react\";\ntype SvgProps = React.SVGProps<SVGSVGElement>;\n\nexport const XIcon: React.FC<SvgProps> = (props) => {\n return (\n <svg\n width=\"25\"\n height=\"24\"\n viewBox=\"0 0 25 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M17.6557 3.86523H20.4171L14.3858 10.757L21.481 20.1364H15.9269L11.5735 14.4493L6.5983 20.1364H3.83298L10.2828 12.7635L3.48096 3.86523H9.17587L13.1068 9.06341L17.6557 3.86523ZM16.6857 18.4858H18.215L8.34276 5.42977H6.69999L16.6857 18.4858Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n"],"names":[],"mappings":";AAGO,MAAM,iBAAqC,CAAC,UAAU;AAC3D,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAG;AAAA,MAEJ,UAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA;AAAA,IACP;AAAA,EAAA;AAGN;AChBO,MAAM,cAAkC,CAAC,UAAU;AACxD,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAG;AAAA,MAEJ,UAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA;AAAA,IACP;AAAA,EAAA;AAGN;AChBO,MAAM,QAA4B,CAAC,UAAU;AAClD,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,QAAO;AAAA,MACP,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,OAAM;AAAA,MACL,GAAG;AAAA,MAEJ,UAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,GAAE;AAAA,UACF,MAAK;AAAA,QAAA;AAAA,MAAA;AAAA,IACP;AAAA,EAAA;AAGN;"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index-Ir5YwUO1.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { a as clsx } from "./utils-BnsJHiW8.js";
|
|
2
|
-
const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
3
|
-
const cx = clsx;
|
|
4
|
-
const cva = (base, config) => (props) => {
|
|
5
|
-
var _config_compoundVariants;
|
|
6
|
-
if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
7
|
-
const { variants, defaultVariants } = config;
|
|
8
|
-
const getVariantClassNames = Object.keys(variants).map((variant) => {
|
|
9
|
-
const variantProp = props === null || props === void 0 ? void 0 : props[variant];
|
|
10
|
-
const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
|
|
11
|
-
if (variantProp === null) return null;
|
|
12
|
-
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
13
|
-
return variants[variant][variantKey];
|
|
14
|
-
});
|
|
15
|
-
const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
|
|
16
|
-
let [key, value] = param;
|
|
17
|
-
if (value === void 0) {
|
|
18
|
-
return acc;
|
|
19
|
-
}
|
|
20
|
-
acc[key] = value;
|
|
21
|
-
return acc;
|
|
22
|
-
}, {});
|
|
23
|
-
const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
|
|
24
|
-
let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
|
|
25
|
-
return Object.entries(compoundVariantOptions).every((param2) => {
|
|
26
|
-
let [key, value] = param2;
|
|
27
|
-
return Array.isArray(value) ? value.includes({
|
|
28
|
-
...defaultVariants,
|
|
29
|
-
...propsWithoutUndefined
|
|
30
|
-
}[key]) : {
|
|
31
|
-
...defaultVariants,
|
|
32
|
-
...propsWithoutUndefined
|
|
33
|
-
}[key] === value;
|
|
34
|
-
}) ? [
|
|
35
|
-
...acc,
|
|
36
|
-
cvClass,
|
|
37
|
-
cvClassName
|
|
38
|
-
] : acc;
|
|
39
|
-
}, []);
|
|
40
|
-
return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
41
|
-
};
|
|
42
|
-
export {
|
|
43
|
-
cva as c
|
|
44
|
-
};
|
|
45
|
-
//# sourceMappingURL=index-Ir5YwUO1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-Ir5YwUO1.js","sources":["../node_modules/class-variance-authority/dist/index.mjs"],"sourcesContent":["/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n"],"names":["param"],"mappings":";AAeA,MAAM,gBAAgB,CAAC,UAAQ,OAAO,UAAU,YAAY,GAAG,KAAK,KAAK,UAAU,IAAI,MAAM;AACtF,MAAM,KAAK;AACN,MAAC,MAAM,CAAC,MAAM,WAAS,CAAC,UAAQ;AACpC,MAAI;AACJ,OAAK,WAAW,QAAQ,WAAW,SAAS,SAAS,OAAO,aAAa,KAAM,QAAO,GAAG,MAAM,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,OAAO,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,SAAS;AACvN,QAAM,EAAE,UAAU,gBAAe,IAAK;AACtC,QAAM,uBAAuB,OAAO,KAAK,QAAQ,EAAE,IAAI,CAAC,YAAU;AAC9D,UAAM,cAAc,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,OAAO;AAC/E,UAAM,qBAAqB,oBAAoB,QAAQ,oBAAoB,SAAS,SAAS,gBAAgB,OAAO;AACpH,QAAI,gBAAgB,KAAM,QAAO;AACjC,UAAM,aAAa,cAAc,WAAW,KAAK,cAAc,kBAAkB;AACjF,WAAO,SAAS,OAAO,EAAE,UAAU;AAAA,EACvC,CAAC;AACD,QAAM,wBAAwB,SAAS,OAAO,QAAQ,KAAK,EAAE,OAAO,CAAC,KAAK,UAAQ;AAC9E,QAAI,CAAC,KAAK,KAAK,IAAI;AACnB,QAAI,UAAU,QAAW;AACrB,aAAO;AAAA,IACX;AACA,QAAI,GAAG,IAAI;AACX,WAAO;AAAA,EACX,GAAG,CAAA,CAAE;AACL,QAAM,+BAA+B,WAAW,QAAQ,WAAW,SAAS,UAAU,2BAA2B,OAAO,sBAAsB,QAAQ,6BAA6B,SAAS,SAAS,yBAAyB,OAAO,CAAC,KAAK,UAAQ;AAC/O,QAAI,EAAE,OAAO,SAAS,WAAW,aAAa,GAAG,uBAAsB,IAAK;AAC5E,WAAO,OAAO,QAAQ,sBAAsB,EAAE,MAAM,CAACA,WAAQ;AACzD,UAAI,CAAC,KAAK,KAAK,IAAIA;AACnB,aAAO,MAAM,QAAQ,KAAK,IAAI,MAAM,SAAS;AAAA,QACzC,GAAG;AAAA,QACH,GAAG;AAAA,MACvB,EAAkB,GAAG,CAAC,IAAK;AAAA,QACP,GAAG;AAAA,QACH,GAAG;AAAA,MACvB,EAAmB,GAAG,MAAM;AAAA,IAChB,CAAC,IAAI;AAAA,MACD,GAAG;AAAA,MACH;AAAA,MACA;AAAA,IAChB,IAAgB;AAAA,EACR,GAAG,CAAA,CAAE;AACL,SAAO,GAAG,MAAM,sBAAsB,8BAA8B,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,OAAO,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,SAAS;AAChM;","x_google_ignoreList":[0]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { useState, useEffect } from "react";
|
|
2
|
-
const useClientOnly = () => {
|
|
3
|
-
const [isClient, setIsClient] = useState(false);
|
|
4
|
-
useEffect(() => {
|
|
5
|
-
setIsClient(true);
|
|
6
|
-
}, []);
|
|
7
|
-
return isClient;
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
useClientOnly as u
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=useClientOnly-Bzx92NOa.js.map
|