@ape.swap/bonds-sdk 1.0.503 → 1.0.504
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/components/BondRows/BondRow.d.ts +0 -1
- package/dist/components/BondRows/BondRow.js +2 -13
- package/dist/components/BondRows/BondRowHeader.js +1 -12
- package/dist/components/BondRows/BondRowsByChain.d.ts +1 -1
- package/dist/components/BondRows/BondRowsByChain.js +2 -13
- package/dist/components/BondRows/BondRowsWithTitle.d.ts +1 -2
- package/dist/components/BondRows/BondRowsWithTitle.js +2 -13
- package/dist/components/BondRows/ChainTitle.d.ts +1 -1
- package/dist/components/BondRows/ChainTitle.js +2 -13
- package/dist/components/MenuSelect/MenuSelect.d.ts +5 -1
- package/dist/components/MenuSelect/MenuSelect.js +1 -1
- package/dist/components/MenuSelect/RecommendationSelector.js +5 -16
- package/dist/components/Modals/BondModal/BondModal.js +41 -48
- package/dist/components/Modals/YourBondsModal/YourBondsModal.d.ts +2 -2
- package/dist/components/Modals/YourBondsModal/YourBondsModal.js +27 -34
- package/dist/components/NetworkFilter/index.js +6 -17
- package/dist/components/ProgressBar/ProgressBar.js +3 -14
- package/dist/components/ProgressBar/ProgressBarWrapper.js +1 -12
- package/dist/components/TokenInfoAndName/index.d.ts +1 -1
- package/dist/components/TokenInfoAndName/index.js +6 -17
- package/dist/components/Tooltip/ButtonsRow.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -12
- package/dist/components/YourBondsModal/YourBondsModal.js +9 -20
- package/dist/components/uikit-sdk/Button/IconButton.js +1 -1
- package/dist/components/uikit-sdk/Checkbox/index.d.ts +0 -1
- package/dist/components/uikit-sdk/Checkbox/index.js +2 -2
- package/dist/components/uikit-sdk/Flex/index.d.ts +3 -1
- package/dist/components/uikit-sdk/Input/Input.d.ts +7 -2
- package/dist/components/uikit-sdk/Input/Input.js +5 -5
- package/dist/components/uikit-sdk/Input/NumericInput.d.ts +4 -5
- package/dist/components/uikit-sdk/Input/StyledInput.js +1 -12
- package/dist/components/uikit-sdk/Select/Select.js +4 -4
- package/dist/components/uikit-sdk/Select/SelectItem.d.ts +0 -1
- package/dist/components/uikit-sdk/Select/SelectItem.js +1 -1
- package/dist/components/uikit-sdk/Svg/Icons/AbondFullLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/AbondSmallLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/AccountMonkey.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/AllChains.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ApebondLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ApeswapSmallLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Arrow.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Audit.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BananaIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BillsM1.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BillsM2.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BillsM3.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Bridge.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Bubble.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Calculator.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Calendar.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Cancelled.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Card.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Caret.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Chain.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Chart.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Chat.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Close.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Cog.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/Cog.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Collapse.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Copy.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Discord.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/DiscordNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Docs.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/DocsV2.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Ellipse.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Error.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Expand.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Explorer.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/External.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Farm.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Fav.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/FilledURL.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Fire.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Frame.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/FullLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Gnana.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/GreenShield.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/GreenShield.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/HamburgerClosed.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Home.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Hot.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Info.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/InfoSolid.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Insight.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Instagram.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Island.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/LanguageIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/LineChart.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/LiquidityIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Logout.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Medium.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/MenuSettings.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Message.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Migrate.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Moon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/More.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/NFA.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/NavCaret.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Play.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Pool.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Positions.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ProfileDark.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ProfileLight.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Question.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/QuestionFill.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Quiz.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Receipt.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Reddit.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Rocket.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ScrollTop.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Search.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Send.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Settings.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Share.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Sort.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Success.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/SuccessOutline.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/SwapArrows.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Tag.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Telegram.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/TelegramNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/TextLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/TickShield.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Trade.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Trash.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Twitter.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/URL.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Vaults.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Verified.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Wallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Warning.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Watch.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Website.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/WebsiteNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/WhitepaperNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/XNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/YellowQuestionMark.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/polygonNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/index.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/tokens/ABOND.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/AVAX.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BANANA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BASE.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BNB.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BSC.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/CELO.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/ETH.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/GNANA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/INEVM.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/IOTA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/LINEA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/OKX.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js +2 -13
- package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/TLOS.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Brave.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Brave.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/MadWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/OKX.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/OKX.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Unstoppable.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletImage.js +1 -12
- package/dist/components/uikit-sdk/Tag/ListTag.js +1 -1
- package/dist/components/uikit-sdk/Tag/styles.d.ts +2 -3
- package/dist/components/uikit-sdk/Text/index.js +1 -1
- package/dist/components/uikit-sdk/TokenImage/index.d.ts +1 -1
- package/dist/components/uikit-sdk/TokenImage/index.js +2 -13
- package/dist/components/uikit-sdk/TooltipBubble/index.js +1 -1
- package/dist/config/constants/addresses.js +4 -4
- package/dist/contexts/Localization/Provider.js +1 -1
- package/dist/contexts/ModalContext.js +3 -14
- package/dist/contexts/RefreshContext.js +1 -12
- package/dist/hooks/PriceGetter/usePricesFromPriceGetter.js +3 -3
- package/dist/pages/BondSingle/BondSingle.js +4 -15
- package/dist/pages/Bonds/Bonds.js +1 -12
- package/dist/pages/YourBonds/YourBonds.js +7 -21
- package/dist/pages/YourBonds/fetchBillsUser.js +5 -7
- package/dist/state/tokenPrices/fetchTokenPricesForMultipleChains.js +16 -3
- package/dist/state/tokenPrices/useTokenPricesNew.d.ts +1 -1
- package/dist/state/tokenPrices/useTokenPricesNew.js +1 -1
- package/dist/theme/colors.js +2 -2
- package/package.json +4 -3
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
13
2
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
14
3
|
if (ar || !(i in from)) {
|
|
@@ -45,7 +34,7 @@ var NetworkFilter = function (_a) {
|
|
|
45
34
|
}
|
|
46
35
|
setChainFilterOption(newChainFilterOption);
|
|
47
36
|
};
|
|
48
|
-
return (_jsxs(Flex,
|
|
37
|
+
return (_jsxs(Flex, { sx: { width: '100%', position: 'relative' }, children: [_jsxs(Flex, { sx: {
|
|
49
38
|
background: 'white2',
|
|
50
39
|
p: '6px',
|
|
51
40
|
borderRadius: 'normal',
|
|
@@ -53,7 +42,7 @@ var NetworkFilter = function (_a) {
|
|
|
53
42
|
alignItems: 'center',
|
|
54
43
|
width: '100%',
|
|
55
44
|
justifyContent: 'space-between',
|
|
56
|
-
}, onClick: function () { return setIsOpen(!isOpen); }
|
|
45
|
+
}, onClick: function () { return setIsOpen(!isOpen); }, children: [_jsx(Text, { sx: { lineHeight: '22px', fontSize: '14px', fontWeight: 400, px: '10px' }, children: chainFilterOption.includes('All Chains') ? 'All Chains' : "Chains (".concat(chainFilterOption.length, ")") }), _jsx(Flex, { sx: { ml: '5px' }, children: _jsx(Svg, { icon: "caret", direction: isOpen ? 'up' : 'down' }) })] }), isOpen && (_jsx(Flex, { sx: {
|
|
57
46
|
flexDirection: ['column', 'column', 'column'],
|
|
58
47
|
position: 'absolute',
|
|
59
48
|
top: '45px',
|
|
@@ -64,14 +53,14 @@ var NetworkFilter = function (_a) {
|
|
|
64
53
|
borderRadius: 'normal',
|
|
65
54
|
background: 'white2',
|
|
66
55
|
zIndex: 555,
|
|
67
|
-
}
|
|
68
|
-
return (_jsx(Flex,
|
|
56
|
+
}, children: __spreadArray(['All Chains'], MAINNET_CHAINS, true).map(function (chainId) {
|
|
57
|
+
return (_jsx(Flex, { sx: {
|
|
69
58
|
borderRadius: 'normal',
|
|
70
59
|
p: '5px 15px',
|
|
71
60
|
minHeight: '40px',
|
|
72
61
|
cursor: 'pointer',
|
|
73
62
|
'&:hover': { bg: 'white3' },
|
|
74
|
-
}, onClick: function () { return handleCheckbox(chainId.toString()); }
|
|
75
|
-
}) }))
|
|
63
|
+
}, onClick: function () { return handleCheckbox(chainId.toString()); }, children: _jsxs(Flex, { sx: { width: '100%', alignItems: 'center', fontSize: '14px' }, children: [_jsx(Checkbox, { checked: chainFilterOption.includes(chainId.toString()), onChange: function () { return null; } }), chainId === 'All Chains' ? (_jsxs(_Fragment, { children: [_jsx(Flex, { sx: { mx: '8px' }, children: _jsx(Svg, { icon: "AllChains", width: "22px" }) }), _jsx(Text, { sx: { lineHeight: '22px', fontWeight: 400 }, children: "All Chains" })] })) : (_jsxs(_Fragment, { children: [_jsx(Flex, { sx: { mx: '8px', borderRadius: '50px', overflow: 'hidden' }, children: _jsx(Svg, { icon: NETWORK_ICONS[chainId], width: "22px" }) }), _jsx(Text, { sx: { lineHeight: '22px', fontWeight: 400 }, children: NETWORK_LABEL[chainId] })] }))] }) }, chainId));
|
|
64
|
+
}) }))] }));
|
|
76
65
|
};
|
|
77
66
|
export default NetworkFilter;
|
|
@@ -1,29 +1,18 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
import { jsx as _jsx } from "theme-ui/jsx-runtime";
|
|
13
2
|
import { Box, Flex } from 'theme-ui';
|
|
14
3
|
var ProgressBar = function (_a) {
|
|
15
4
|
var value = _a.value, _b = _a.color, color = _b === void 0 ? 'text' : _b;
|
|
16
|
-
return (_jsx(Flex,
|
|
5
|
+
return (_jsx(Flex, { sx: { width: ['100px', '100px', '100px', '100%'], alignItems: 'center', flexDirection: 'row', mt: '5px' }, children: _jsx(Box, { sx: {
|
|
17
6
|
width: '100%',
|
|
18
7
|
height: '5px',
|
|
19
8
|
backgroundColor: 'white4',
|
|
20
9
|
borderRadius: '10px',
|
|
21
10
|
overflow: 'hidden',
|
|
22
|
-
}
|
|
11
|
+
}, children: _jsx(Box, { sx: {
|
|
23
12
|
width: "".concat(value <= 3 ? 3 : value, "%"),
|
|
24
13
|
background: color,
|
|
25
14
|
borderRadius: '10px',
|
|
26
15
|
height: '100%',
|
|
27
|
-
} }) })
|
|
16
|
+
} }) }) }));
|
|
28
17
|
};
|
|
29
18
|
export default ProgressBar;
|
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
|
|
13
2
|
import React from 'react';
|
|
14
3
|
import { styles } from './styles';
|
|
15
4
|
import { Flex, Text, TooltipBubble, Skeleton } from '../uikit-sdk';
|
|
16
5
|
var ProgressBarWrapper = function (_a) {
|
|
17
6
|
var title = _a.title, value = _a.value, style = _a.style, showTooltip = _a.showTooltip, toolTipPlacement = _a.toolTipPlacement, toolTipTransform = _a.toolTipTransform, toolTip = _a.toolTip;
|
|
18
|
-
return (_jsxs(Flex,
|
|
7
|
+
return (_jsxs(Flex, { sx: style, children: [_jsx(Flex, { sx: { alignItems: 'center' }, children: _jsx(Text, { sx: styles.titleText, children: "".concat(title) }) }), showTooltip ? (_jsx(Flex, { sx: { alignItems: 'center', width: '100%' }, children: _jsx(TooltipBubble, { placement: toolTipPlacement, transformTip: toolTipTransform, body: _jsx(Flex, { sx: { justifyContent: 'center' }, children: toolTip }), width: "250px", children: _jsx(Flex, { sx: { justifyContent: 'center', alignItems: 'center', width: '127px' }, children: value ? value : _jsx(Skeleton, { sx: styles.skeleton }) }) }) })) : (_jsx(Flex, { sx: { justifyContent: 'center', alignItems: 'center' }, children: value ? value : _jsx(Skeleton, { sx: styles.skeleton }) }))] }));
|
|
19
8
|
};
|
|
20
9
|
export default React.memo(ProgressBarWrapper);
|
|
@@ -3,6 +3,6 @@ import { BondsDataResponse } from '../../types/bonds';
|
|
|
3
3
|
export declare const NETWORK_COLORS: Partial<Record<number, string>>;
|
|
4
4
|
declare const TokenInfoAndName: ({ bill, vestEnds }: {
|
|
5
5
|
bill: BondsDataResponse;
|
|
6
|
-
vestEnds?: string
|
|
6
|
+
vestEnds?: string;
|
|
7
7
|
}) => React.JSX.Element;
|
|
8
8
|
export default TokenInfoAndName;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
var _a;
|
|
13
2
|
import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
|
|
14
3
|
import { Flex, ListTag, Svg } from '../../components/uikit-sdk';
|
|
@@ -30,7 +19,7 @@ export var NETWORK_COLORS = (_a = {},
|
|
|
30
19
|
var TokenInfoAndName = function (_a) {
|
|
31
20
|
var _b, _c, _d, _e, _f, _g, _h;
|
|
32
21
|
var bill = _a.bill, vestEnds = _a.vestEnds;
|
|
33
|
-
return (_jsxs(Flex,
|
|
22
|
+
return (_jsxs(Flex, { sx: {
|
|
34
23
|
width: '100%',
|
|
35
24
|
position: 'relative',
|
|
36
25
|
justifyContent: ['space-between', 'space-between', 'space-between', 'flex-start'],
|
|
@@ -41,14 +30,14 @@ var TokenInfoAndName = function (_a) {
|
|
|
41
30
|
pl: '20px',
|
|
42
31
|
overflow: 'hidden',
|
|
43
32
|
borderRadius: '10px'
|
|
44
|
-
}
|
|
33
|
+
}, children: [_jsx(Flex, { sx: {
|
|
45
34
|
position: 'absolute',
|
|
46
35
|
left: '0px',
|
|
47
36
|
top: '0px',
|
|
48
37
|
overflow: 'hidden',
|
|
49
38
|
borderRadius: '10px 0px 8px 0px',
|
|
50
39
|
zIndex: 5,
|
|
51
|
-
}
|
|
40
|
+
}, children: _jsx(Svg, { width: 18, height: 18, icon: (_b = NETWORK_ICONS === null || NETWORK_ICONS === void 0 ? void 0 : NETWORK_ICONS[bill === null || bill === void 0 ? void 0 : bill.chainId]) !== null && _b !== void 0 ? _b : 'question' }) }), _jsx(Flex, { sx: {
|
|
52
41
|
position: 'absolute',
|
|
53
42
|
zIndex: 0,
|
|
54
43
|
left: '0px',
|
|
@@ -56,17 +45,17 @@ var TokenInfoAndName = function (_a) {
|
|
|
56
45
|
height: '100%',
|
|
57
46
|
background: NETWORK_COLORS[bill.chainId],
|
|
58
47
|
filter: 'blur(35px)',
|
|
59
|
-
} }), _jsxs(Flex,
|
|
48
|
+
} }), _jsxs(Flex, { sx: { pl: '6px', width: '100%', maxWidth: '170px', alignItems: 'center' }, children: [_jsx(Index, { symbol: (_c = bill.showcaseTokenName) !== null && _c !== void 0 ? _c : bill.payoutTokenName, size: 33 }), _jsxs(Flex, { sx: {
|
|
60
49
|
ml: '10px',
|
|
61
50
|
fontSize: '16px',
|
|
62
51
|
fontWeight: 700,
|
|
63
52
|
width: '100%',
|
|
64
53
|
flexDirection: 'column',
|
|
65
|
-
}
|
|
54
|
+
}, children: [(_d = bill.showcaseTokenName) !== null && _d !== void 0 ? _d : bill.payoutTokenName, vestEnds && (_jsx(Flex, { sx: { fontSize: '12px', fontWeight: 400, opacity: 0.6, lineHeight: '14px' }, children: vestEnds }))] })] }), _jsxs(Flex, { children: [_jsx(Flex, { sx: { width: '25px' } }), _jsx(Flex, { sx: {
|
|
66
55
|
ml: '10px',
|
|
67
56
|
display: ['none', 'none', 'none', 'flex'],
|
|
68
57
|
minWidth: '70px',
|
|
69
58
|
alignItems: 'center',
|
|
70
|
-
}
|
|
59
|
+
}, children: ((_e = bill.tags) === null || _e === void 0 ? void 0 : _e[0]) && (_jsx(Flex, { sx: { marginRight: '10px' }, children: _jsx(ListTag, { variant: ((_f = bill.tags) === null || _f === void 0 ? void 0 : _f[0]) === 'Cex Fund' ? 'cex_fund' : 'liquidity', text: (_h = (_g = bill.tags) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.toUpperCase() }) })) })] })] }));
|
|
71
60
|
};
|
|
72
61
|
export default TokenInfoAndName;
|
|
@@ -19,6 +19,6 @@ var ButtonsRow = function (_a) {
|
|
|
19
19
|
var projectLink = _a.projectLink, twitter = _a.twitter, bubble = _a.bubble, audit = _a.audit;
|
|
20
20
|
var chainId = useWeb3React().chainId;
|
|
21
21
|
var bubbleURL = "https://app.bubblemaps.io/bsc/token/".concat(bubble);
|
|
22
|
-
return (_jsxs(Flex,
|
|
22
|
+
return (_jsxs(Flex, { sx: { justifyContent: 'center' }, children: [_jsx(Flex, { sx: styles.iconButton, as: Link, href: projectLink, target: "_blank", children: _jsx(Svg, { icon: "URL", width: 18 }) }), _jsx(Flex, { sx: styles.iconButton, as: Link, href: twitter, target: "_blank", children: _jsx(Svg, { icon: "twitter", width: 18, color: "text" }) }), chainId === ChainId.BSC && bubble && (_jsx(Flex, { sx: styles.iconButton, as: Link, href: bubbleURL, target: "_blank", children: _jsx(Svg, { icon: "bubble", width: 18, color: "text" }) })), audit && (_jsxs(Flex, { sx: __assign(__assign({}, styles.iconButton), { margin: '0 0 5px 0', '& svg': { marginRight: '5px' } }), as: Link, href: audit, target: "_blank", children: [_jsx(Svg, { icon: "audit", width: 18, color: "text" }), _jsx(Text, { sx: { paddingRight: '5px' }, children: 'Audit' })] }))] }));
|
|
23
23
|
};
|
|
24
24
|
export default ButtonsRow;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
|
|
13
2
|
import { styles } from './styles';
|
|
14
3
|
import { BLOCK_EXPLORER } from '../../config/constants/chains';
|
|
@@ -19,6 +8,6 @@ var Tooltip = function (_a) {
|
|
|
19
8
|
var valueTitle = _a.valueTitle, valueContent = _a.valueContent, value2Title = _a.value2Title, value2Content = _a.value2Content, tokenContract = _a.tokenContract, secondURL = _a.secondURL, secondURLTitle = _a.secondURLTitle, projectLink = _a.projectLink, twitter = _a.twitter, audit = _a.audit, thirdURL = _a.thirdURL, thirdURLTitle = _a.thirdURLTitle, chain = _a.chain;
|
|
20
9
|
var explorerLink = BLOCK_EXPLORER[chain];
|
|
21
10
|
var tokenLink = "".concat(explorerLink, "/address/").concat(tokenContract);
|
|
22
|
-
return (_jsxs(Flex,
|
|
11
|
+
return (_jsxs(Flex, { sx: { flexDirection: 'column', flexWrap: 'wrap' }, children: [projectLink && twitter && (_jsx(ButtonsRow, { twitter: twitter, projectLink: projectLink, bubble: tokenContract, audit: audit })), valueTitle && (_jsxs(Flex, { sx: styles.infoRow, children: [_jsxs(Text, { sx: styles.titleText, children: [valueTitle, ": "] }), _jsx(Text, { sx: styles.contentText, children: valueContent })] })), value2Title && (_jsxs(Flex, { sx: styles.infoRow, children: [_jsxs(Text, { sx: styles.titleText, children: [value2Title, ": "] }), _jsx(Text, { sx: styles.contentText, children: value2Content })] })), _jsx(Flex, { sx: { justifyContent: 'center' }, children: _jsxs(Flex, { sx: { width: '144px', flexDirection: 'column' }, children: [_jsx(Flex, { sx: styles.linkRow, children: _jsxs(Link, { href: tokenLink, sx: styles.link, target: "_blank", children: ['View Token Contract', _jsx(Flex, { sx: { ml: '5px' }, children: _jsx(Svg, { icon: "external", color: "text", width: 10 }) })] }) }), secondURL && (_jsx(Flex, { sx: styles.linkRow, children: _jsxs(Link, { href: secondURL, sx: styles.link, target: "_blank", children: [secondURLTitle, _jsx(Flex, { sx: { ml: '5px' }, children: _jsx(Svg, { icon: "external", color: "text", width: 10 }) })] }) })), thirdURL && (_jsx(Flex, { sx: styles.linkRow, children: _jsx(Link, { href: thirdURL, sx: styles.link, target: "_blank", children: thirdURLTitle }) }))] }) })] }));
|
|
23
12
|
};
|
|
24
13
|
export default Tooltip;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
2
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
3
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -126,24 +115,24 @@ var YourBondsModal = function (_a) {
|
|
|
126
115
|
setBillRendered(true);
|
|
127
116
|
}
|
|
128
117
|
}, [userOwnedBillsData]);
|
|
129
|
-
return (_jsx(ThemeUIProvider,
|
|
118
|
+
return (_jsx(ThemeUIProvider, { theme: defaultTheme, children: billRendered && (_jsx(_Fragment, { children: userOwnedBillsData.flat().map(function (data) {
|
|
130
119
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
131
120
|
var userBill = data.userOwnedBills.find(function (bill) { return bill.bond.billAddress.toLowerCase() === (bondAddress === null || bondAddress === void 0 ? void 0 : bondAddress.toLowerCase()); });
|
|
132
121
|
var attributes = (_b = (_a = userBill === null || userBill === void 0 ? void 0 : userBill.nftData) === null || _a === void 0 ? void 0 : _a.data.attributes) === null || _b === void 0 ? void 0 : _b.filter(function (attrib) { return BILL_ATTRIBUTES.includes(attrib.trait_type); });
|
|
133
|
-
return userBill ? (_jsx(React.Fragment, { children: _jsx(Flex,
|
|
134
|
-
return (_jsx(Flex,
|
|
135
|
-
}) })
|
|
122
|
+
return userBill ? (_jsx(React.Fragment, { children: _jsx(Flex, { className: "yourbondsmodal backdrop", children: _jsxs(Flex, { className: "yourbondsmodal content", children: [_jsx(Flex, { className: "yourbondsmodal header", children: _jsx(Flex, { className: "svg-close", onClick: onClose, children: _jsx(Svg, { icon: "close" }) }) }), _jsxs(Flex, { className: "yourbondsmodal table-container", children: [_jsx(Flex, { className: "yourbondsmodal bondimage", children: _jsx("img", { src: (_c = userBill.nftData) === null || _c === void 0 ? void 0 : _c.data.image }) }), _jsxs(Flex, { className: "yourbondsmodal yourbondinfo", children: [_jsxs(Flex, { className: "yourbondinfo title-container", children: [_jsx(Flex, { className: "title-container bondicon", children: _jsxs("div", { className: "icon-container", children: [_jsx(Svg, { width: 18, height: 18, icon: (_d = NETWORK_ICONS === null || NETWORK_ICONS === void 0 ? void 0 : NETWORK_ICONS[userBill.bond.chainId]) !== null && _d !== void 0 ? _d : 'question' }), _jsx(TokenImage, { symbol: (_e = userBill.bond.showcaseTokenName) !== null && _e !== void 0 ? _e : userBill.bond.payoutTokenName, size: 40 })] }) }), _jsx(Flex, { className: "title-container tokenname", children: _jsx(StyledHeadingText, { children: (_f = userBill.bond) === null || _f === void 0 ? void 0 : _f.showcaseTokenName }) }), _jsx(Flex, { className: "title-container tokentags", children: (_g = userBill.bond.tags) === null || _g === void 0 ? void 0 : _g.slice(0, 1).map(function (tag) {
|
|
123
|
+
return (_jsx(Flex, { sx: { marginRight: '10px' }, children: _jsx(ListTag, { variant: tag === 'Cex Fund' ? 'cex_fund' : 'liquidity', text: tag === null || tag === void 0 ? void 0 : tag.toUpperCase() }) }, tag));
|
|
124
|
+
}) }), _jsxs(Text, { sx: { color: 'text', opacity: '0.6', fontSize: ['12px', '12px', '12px', '16px'] }, children: ["#", userBill.id] })] }), _jsxs(Flex, { className: "yourbondinfo blocks-container", children: [_jsx(Flex, { className: "yourbondinfo-block attributes", children: _jsxs(Flex, { sx: { flexDirection: 'column', width: '100%' }, children: [_jsxs(Flex, { sx: {
|
|
136
125
|
justifyContent: 'space-between',
|
|
137
126
|
height: '24px',
|
|
138
127
|
background: 'white3',
|
|
139
128
|
px: '15px',
|
|
140
129
|
borderRadius: "".concat(isOpenTraits ? '6px 6px 0px 0px' : 'normal'),
|
|
141
130
|
display: ['none', 'none', 'none', 'flex'],
|
|
142
|
-
}, onClick: function () { return setIsOpenTraits(!isOpenTraits); }
|
|
143
|
-
? attributes.map(function (a) { return (_jsxs(TraitsContentContainer, { children: [_jsx(Text,
|
|
131
|
+
}, onClick: function () { return setIsOpenTraits(!isOpenTraits); }, children: [_jsxs(Flex, { sx: { gap: '10px', alignItems: 'center' }, children: [_jsx(Svg, { icon: "tag", direction: "down" }), _jsx(Text, { sx: { fontSize: '12px', fontWeight: 400, color: 'text', opacity: '0.6' }, children: "Traits" })] }), _jsx(Svg, { icon: "caret", direction: isOpenTraits ? 'up' : 'down' })] }), _jsx(AnimatePresence, { children: isOpenTraits && (_jsx(motion.div, { initial: { height: 0 }, animate: { height: 'fit-content' }, transition: { opacity: { duration: 0.2 } }, exit: { height: 0 }, sx: { overflow: 'hidden', width: '100%' }, children: _jsx(Flex, { sx: { flexDirection: 'column', gap: '1px' }, children: attributes
|
|
132
|
+
? attributes.map(function (a) { return (_jsxs(TraitsContentContainer, { children: [_jsx(Text, { sx: { fontSize: '10px', fontWeight: 500 }, children: a === null || a === void 0 ? void 0 : a.trait_type }), _jsx(Text, { sx: { fontSize: '10px', fontWeight: 500 }, children: a === null || a === void 0 ? void 0 : a.value })] }, a.value)); })
|
|
144
133
|
: BILL_ATTRIBUTES.map(function (attrib) {
|
|
145
|
-
return (_jsxs(TraitsContentContainer, { children: [_jsx(Text,
|
|
146
|
-
}) })
|
|
147
|
-
}) })) }))
|
|
134
|
+
return (_jsxs(TraitsContentContainer, { children: [_jsx(Text, { sx: { fontSize: '10px', fontWeight: 500 }, children: attrib }), _jsx(Skeleton, { width: "150px" })] }, attrib));
|
|
135
|
+
}) }) })) })] }) }), _jsxs(Flex, { className: "yourbondinfo-block row-vested", children: [_jsxs(Flex, { className: "yourbondinfo-block header", children: [_jsx(Flex, { className: "yourbondinfo-block header-title", children: "Fully Vested" }), _jsx(Flex, { className: "yourbondinfo-block header-tooltip", children: _jsx(TooltipBubble, { body: _jsx(Flex, { children: UserBillTooltipText.FullyVested }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: _jsx(Flex, { className: "block-header icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }) }) })] }), _jsxs(Flex, { className: "yourbondinfo-block info", children: [_jsx(Flex, { className: "block-info icon" }), _jsx(Flex, { className: "block-info text", children: _jsx(Text, { sx: { fontSize: ['12px', '12px', '12px', '19px'], fontWeight: 700 }, children: getPendingVesting(userBill.lastBlockTimestamp, userBill.vesting) }) })] })] }), _jsxs(Flex, { className: "yourbondinfo-block row-pending", children: [_jsxs(Flex, { className: "yourbondinfo-block header", children: [_jsx(Flex, { className: "yourbondinfo-block header-title", children: "Pending" }), _jsx(Flex, { className: "yourbondinfo-block header-tooltip", children: _jsx(TooltipBubble, { body: _jsx(Flex, { children: UserBillTooltipText.Pending }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: _jsx(Flex, { className: "block-header icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }) }) })] }), _jsxs(Flex, { className: "yourbondinfo-block info", children: [_jsx(Flex, { className: "block-info icon", children: _jsxs("div", { className: "icon-container-small", children: [_jsx(Svg, { width: 10, height: 10, icon: (_h = NETWORK_ICONS === null || NETWORK_ICONS === void 0 ? void 0 : NETWORK_ICONS[userBill.bond.chainId]) !== null && _h !== void 0 ? _h : 'question' }), _jsx(TokenImage, { symbol: (_j = userBill.bond.showcaseTokenName) !== null && _j !== void 0 ? _j : userBill.bond.payoutTokenName, size: 25 })] }) }), _jsxs(Flex, { className: "block-info text", children: [_jsx(Text, { sx: { fontSize: ['12px', '12px', '12px', '19px'], fontWeight: 700 }, children: formatNumberSI(parseFloat(totalPending(userBill).toFixed(4)), 4) }), _jsx(Text, { sx: { fontSize: ['10px', '10px', '10px', '12px'], fontWeight: [500, 500, 500, 400], paddingLeft: '10px' }, children: "($".concat((totalPending(userBill) * ((_k = parseFloat(earnTokenPrice(userBill.bond))) !== null && _k !== void 0 ? _k : 0)).toFixed(2), ")") })] })] })] }), _jsxs(Flex, { className: "yourbondinfo-block row-claimable", children: [_jsxs(Flex, { className: "yourbondinfo-block header", children: [_jsx(Flex, { className: "yourbondinfo-block header-title", children: "Claimable" }), _jsx(Flex, { className: "yourbondinfo-block header-tooltip", children: _jsx(TooltipBubble, { body: _jsx(Flex, { children: UserBillTooltipText.Claimable }), width: "230px", placement: "bottomLeft", transformTip: "translate(-5%, -5%)", children: _jsx(Flex, { className: "block-header icon", children: _jsx(Svg, { icon: "questionCircle", width: "12px" }) }) }) })] }), _jsxs(Flex, { className: "yourbondinfo-block info", children: [_jsx(Flex, { className: "block-info icon", children: _jsxs("div", { className: "icon-container-small", children: [_jsx(Svg, { width: 10, height: 10, icon: (_l = NETWORK_ICONS === null || NETWORK_ICONS === void 0 ? void 0 : NETWORK_ICONS[userBill.bond.chainId]) !== null && _l !== void 0 ? _l : 'question' }), _jsx(TokenImage, { symbol: (_m = userBill.bond.showcaseTokenName) !== null && _m !== void 0 ? _m : userBill.bond.payoutTokenName, size: 25 })] }) }), _jsxs(Flex, { className: "block-info text", children: [_jsx(Text, { sx: { fontSize: ['12px', '12px', '12px', '19px'], fontWeight: 700 }, children: formatNumberSI(parseFloat(claimable(userBill).toFixed(4)), 4) }), _jsx(Text, { sx: { fontSize: ['10px', '10px', '10px', '12px'], fontWeight: [500, 500, 500, 400], paddingLeft: '10px' }, children: "($".concat((claimable(userBill) * ((_o = parseFloat(earnTokenPrice(userBill.bond))) !== null && _o !== void 0 ? _o : 0)).toFixed(2), ")") })] })] })] })] }), _jsxs(Flex, { className: "yourbondinfo button-container", children: [_jsx(Flex, { className: "button-container claim", children: _jsx(Button, { children: "CLAIM" }) }), _jsx(Flex, { className: "button-container transfer", children: _jsx(Button, { variant: "secondary", children: "TRANSFER" }) })] })] })] })] }) }) }, userBill.bond.billAddress)) : null;
|
|
136
|
+
}) })) }));
|
|
148
137
|
};
|
|
149
138
|
export default YourBondsModal;
|
|
@@ -28,6 +28,6 @@ import { iconButtonVariants as variants } from './types';
|
|
|
28
28
|
import style from './styles';
|
|
29
29
|
var IconButton = function (_a) {
|
|
30
30
|
var _b = _a.icon, icon = _b === void 0 ? icons.DISCORD : _b, _c = _a.color, color = _c === void 0 ? 'white1' : _c, _d = _a.background, background = _d === void 0 ? 'yellow' : _d, _e = _a.variant, variant = _e === void 0 ? variants.PRIMARY : _e, iconWidth = _a.iconWidth, children = _a.children, props = __rest(_a, ["icon", "color", "background", "variant", "iconWidth", "children"]);
|
|
31
|
-
return (_jsx(Button, __assign({}, props, { variant: variant, sx: __assign(__assign({ display: 'flex', alignItems: 'center', justifyContent: 'center', position: 'relative', variant: "buttons.".concat(variant), color: 'primaryBright', background: background }, (variant === variants.PRIMARY ? style.primary : {})), (variant === variants.TRANSPARENT ? style.transparent : {}))
|
|
31
|
+
return (_jsx(Button, __assign({}, props, { variant: variant, sx: __assign(__assign({ display: 'flex', alignItems: 'center', justifyContent: 'center', position: 'relative', variant: "buttons.".concat(variant), color: 'primaryBright', background: background }, (variant === variants.PRIMARY ? style.primary : {})), (variant === variants.TRANSPARENT ? style.transparent : {})), children: children || (_jsx("span", { sx: { height: iconWidth, width: iconWidth }, children: _jsx(Svg, __assign({ color: color, icon: icon }, props, { width: iconWidth })) })) })));
|
|
32
32
|
};
|
|
33
33
|
export default IconButton;
|
|
@@ -36,11 +36,11 @@ var Checkbox = function (_a) {
|
|
|
36
36
|
var _b = _a.scale, scale = _b === void 0 ? scales.SM : _b, _c = _a.display, display = _c === void 0 ? 'block' : _c, className = _a.className, background = _a.background, props = __rest(_a, ["scale", "display", "className", "background"]);
|
|
37
37
|
var scaleSize = getScale({ scale: scale });
|
|
38
38
|
var svgScale = scale === 'sm' ? 13 : 21;
|
|
39
|
-
return (_jsxs("span",
|
|
39
|
+
return (_jsxs("span", { className: className, sx: {
|
|
40
40
|
display: display,
|
|
41
41
|
width: scaleSize,
|
|
42
42
|
height: scaleSize,
|
|
43
43
|
position: 'relative',
|
|
44
|
-
}
|
|
44
|
+
}, children: [_jsx("input", __assign({ type: "checkbox", sx: { variant: 'checkbox', background: background, borderColor: 'white4' } }, props)), _jsx("svg", { width: svgScale || '13', height: "auto", viewBox: "0 0 13 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M11.8132 0.171594C11.522 -0.0616871 11.0766 -0.046135 10.8025 0.218251L4.25899 6.76569L1.17566 4.46397C0.93585 4.27735 0.576128 4.2618 0.319184 4.43287C-0.00627898 4.63505 -0.0747974 5.0394 0.147888 5.33489L3.35113 9.4873C3.43677 9.59617 3.55668 9.70503 3.67659 9.78279C4.27612 10.156 5.09835 10.0161 5.50946 9.47175L5.56085 9.40954L11.9159 1.01141C12.1215 0.747022 12.0701 0.389324 11.8132 0.171594Z", fill: "#FAFAFA" }) })] }));
|
|
45
45
|
};
|
|
46
46
|
export default Checkbox;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type variant = 'search' | 'password' | 'text';
|
|
2
2
|
type inputStatus = 'default' | 'error' | 'success';
|
|
3
|
-
declare const Input: ({ variant, width, status, isLoading, ...props }:
|
|
3
|
+
declare const Input: ({ variant, width, status, isLoading, ...props }: {
|
|
4
|
+
variant?: variant;
|
|
5
|
+
width?: string[];
|
|
6
|
+
status?: inputStatus;
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
} | any) => import("react").JSX.Element;
|
|
4
9
|
export default Input;
|
|
@@ -34,22 +34,22 @@ var Input = function (_a) {
|
|
|
34
34
|
var variant = _a.variant, width = _a.width, status = _a.status, isLoading = _a.isLoading, props = __rest(_a, ["variant", "width", "status", "isLoading"]);
|
|
35
35
|
switch (variant) {
|
|
36
36
|
case 'search':
|
|
37
|
-
return (_jsxs(Flex,
|
|
37
|
+
return (_jsxs(Flex, { sx: { position: 'relative', width: width ? width : 'unset' }, children: [_jsx(ThemeInput, __assign({}, props, { sx: {
|
|
38
38
|
background: 'white3',
|
|
39
39
|
border: 'none',
|
|
40
40
|
pl: '10px',
|
|
41
41
|
borderRadius: '10px',
|
|
42
42
|
':focus': { outline: 'none' },
|
|
43
|
-
} })), _jsx(Flex,
|
|
43
|
+
} })), _jsx(Flex, { sx: { position: 'absolute', right: 5, justifyContent: 'center', height: '100%' }, children: _jsx(Svg, { icon: "search", color: "grey" }) })] }));
|
|
44
44
|
case 'password':
|
|
45
45
|
var statusColor = colorScheme[status];
|
|
46
|
-
return (_jsxs(Flex,
|
|
46
|
+
return (_jsxs(Flex, { sx: {
|
|
47
47
|
width: width ? width : '100%',
|
|
48
48
|
flexDirection: 'column',
|
|
49
49
|
alignItems: 'center',
|
|
50
50
|
gap: '5px',
|
|
51
51
|
position: 'relative',
|
|
52
|
-
}
|
|
52
|
+
}, children: [_jsx(ThemeInput, __assign({}, props, { type: "password", sx: {
|
|
53
53
|
position: 'relative',
|
|
54
54
|
background: 'white3',
|
|
55
55
|
border: 'none',
|
|
@@ -58,7 +58,7 @@ var Input = function (_a) {
|
|
|
58
58
|
pl: '10px',
|
|
59
59
|
borderRadius: '10px',
|
|
60
60
|
':focus': { outline: 'none' },
|
|
61
|
-
} })), isLoading && (_jsx(Flex,
|
|
61
|
+
} })), isLoading && (_jsx(Flex, { sx: { position: 'absolute', top: '5px', right: '5px', justifyContent: 'center', height: '100%' }, children: _jsx(Spinner, { width: "20px", height: "20px" }) })), _jsx(Text, { sx: { fontSize: '10px', color: statusColor, visibility: status === 'default' ? 'hidden' : 'visible' }, children: status === 'error' ? 'Wrong Password' : 'Correct Password' })] }));
|
|
62
62
|
default:
|
|
63
63
|
return (_jsx(ThemeInput, __assign({}, props, { sx: {
|
|
64
64
|
background: 'white3',
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ThemeUIStyleObject } from 'theme-ui';
|
|
3
2
|
declare const NumericInput: ({ onUserInput, value, disabled, style, placeholder, }: {
|
|
4
|
-
onUserInput?: (
|
|
3
|
+
onUserInput?: (input: string) => void;
|
|
5
4
|
value: string;
|
|
6
|
-
disabled?: boolean
|
|
7
|
-
style?: ThemeUIStyleObject
|
|
8
|
-
placeholder?: string
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
style?: ThemeUIStyleObject;
|
|
7
|
+
placeholder?: string;
|
|
9
8
|
}) => import("react").JSX.Element;
|
|
10
9
|
export default NumericInput;
|
|
@@ -2,17 +2,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
2
2
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
3
|
return cooked;
|
|
4
4
|
};
|
|
5
|
-
var __assign = (this && this.__assign) || function () {
|
|
6
|
-
__assign = Object.assign || function(t) {
|
|
7
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8
|
-
s = arguments[i];
|
|
9
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
10
|
-
t[p] = s[p];
|
|
11
|
-
}
|
|
12
|
-
return t;
|
|
13
|
-
};
|
|
14
|
-
return __assign.apply(this, arguments);
|
|
15
|
-
};
|
|
16
5
|
import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
|
|
17
6
|
//@ts-nocheck
|
|
18
7
|
import styled from '@emotion/styled';
|
|
@@ -31,7 +20,7 @@ var StyledInputComponent = styled(Input)(templateObject_2 || (templateObject_2 =
|
|
|
31
20
|
});
|
|
32
21
|
var StyledInput = function (_a) {
|
|
33
22
|
var endAdornment = _a.endAdornment, onChange = _a.onChange, placeholder = _a.placeholder, startAdornment = _a.startAdornment, value = _a.value, height = _a.height;
|
|
34
|
-
return (_jsxs(StyledInputWrapper,
|
|
23
|
+
return (_jsxs(StyledInputWrapper, { sx: { height: height !== null && height !== void 0 ? height : null }, children: [!!startAdornment && startAdornment, _jsx(StyledInputComponent, { placeholder: placeholder, value: value, onChange: onChange }), !!endAdornment && endAdornment] }));
|
|
35
24
|
};
|
|
36
25
|
export default StyledInput;
|
|
37
26
|
var templateObject_1, templateObject_2;
|
|
@@ -40,7 +40,7 @@ var Select = function (_a) {
|
|
|
40
40
|
input.dispatchEvent(new Event('change', { bubbles: true }));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
return (_jsxs(_Fragment, { children: [_jsxs(Box,
|
|
43
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Box, { sx: __assign(__assign({}, styles.container), { width: width }), onClick: handleClick, className: className, children: [_jsxs(Flex, { sx: {
|
|
44
44
|
padding: selectedExtraPadding[size],
|
|
45
45
|
pr: selectPadding[size],
|
|
46
46
|
columnGap: '10px',
|
|
@@ -48,14 +48,14 @@ var Select = function (_a) {
|
|
|
48
48
|
justifyContent: 'space-between',
|
|
49
49
|
width: '100%',
|
|
50
50
|
overflow: 'hidden',
|
|
51
|
-
}
|
|
51
|
+
}, children: [label ? (_jsx(Box, { children: label })) : (React.Children.map(children, function (child) {
|
|
52
52
|
var _a;
|
|
53
53
|
if (((_a = child === null || child === void 0 ? void 0 : child.props) === null || _a === void 0 ? void 0 : _a.value) !== active) {
|
|
54
54
|
return null;
|
|
55
55
|
}
|
|
56
56
|
return React.cloneElement(child, __assign(__assign({}, child === null || child === void 0 ? void 0 : child.props), { active: true }));
|
|
57
|
-
})), _jsx(Flex,
|
|
57
|
+
})), _jsx(Flex, { sx: { minWidth: '10px' }, children: _jsx(Svg, { icon: "caret", direction: open ? 'up' : 'down' }) })] }), _jsx(AnimatePresence, { children: open && (_jsx(motion.div, { initial: { opacity: 0, height: 0 }, animate: { opacity: 1, height: 'fit-content' }, transition: { opacity: { duration: 0.2 } }, exit: { opacity: 0, height: 0 }, sx: __assign(__assign({}, styles.ul), { zIndex: 10, top: position === positions.BOTTOM ? 'calc(100% + 5px)' : undefined, bottom: position === positions.TOP ? 'calc(100% + 5px)' : undefined }), children: React.Children.map(children, function (child) {
|
|
58
58
|
return React.cloneElement(child, __assign(__assign({}, child === null || child === void 0 ? void 0 : child.props), { active: false, onClick: function () { var _a; return setNativeInput((_a = child === null || child === void 0 ? void 0 : child.props) === null || _a === void 0 ? void 0 : _a.value); } }));
|
|
59
|
-
}) }))
|
|
59
|
+
}) })) }), _jsx("input", __assign({ ref: inputRef, value: active || '', "aria-hidden": "true", tabIndex: -1 }, props, { sx: styles.input }))] }), open && _jsx("div", { "aria-hidden": "true", onClick: function () { return setOpen(false); }, sx: styles.backdrop })] }));
|
|
60
60
|
};
|
|
61
61
|
export default Select;
|
|
@@ -35,6 +35,6 @@ var SelectItem = function (_a) {
|
|
|
35
35
|
'&:hover': {
|
|
36
36
|
backgroundColor: !active ? 'white3' : undefined,
|
|
37
37
|
},
|
|
38
|
-
}
|
|
38
|
+
}, children: _jsx(Flex, { sx: style, children: children }) })));
|
|
39
39
|
};
|
|
40
40
|
export default SelectItem;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
|
|
13
2
|
var AbondFullLogo = function (_a) {
|
|
14
3
|
var direction = _a.direction, _b = _a.color, color = _b === void 0 ? 'text' : _b, width = _a.width, height = _a.height, getStyles = _a.getStyles;
|
|
@@ -22,6 +11,6 @@ var AbondFullLogo = function (_a) {
|
|
|
22
11
|
degree: deg[direction],
|
|
23
12
|
color: color,
|
|
24
13
|
});
|
|
25
|
-
return (_jsxs("svg",
|
|
14
|
+
return (_jsxs("svg", { width: width || '200', height: height || '36', viewBox: "0 0 200 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: style, children: [_jsx("path", { d: "M5.33462 12.1563C5.2475 12.445 5.12657 12.9014 5.12657 12.9014C5.12452 12.9066 5.12349 12.9108 5.12247 12.9159C4.79347 14.1413 4.61821 15.3925 4.61821 16.6365C4.61821 16.7255 4.61821 16.8114 4.62026 16.8983C4.63871 18.4186 4.45218 19.9296 4.11703 21.4106L3.96739 22.017C3.19564 21.7128 2.40543 21.1342 1.65007 20.1687C-0.443818 17.4903 0.254146 13.1923 2.83692 12.1801C3.8485 11.7848 4.68688 11.8862 5.33565 12.1563H5.33462Z", fill: "#FAFAFA" }), _jsx("path", { d: "M38.5326 20.1676C37.7834 21.1249 36.9994 21.7034 36.2327 22.0077L36.0862 21.4074C35.751 19.9265 35.5645 18.4165 35.5819 16.8962C35.5819 16.8093 35.5819 16.7234 35.5819 16.6344C35.5819 15.3852 35.4067 14.1299 35.0746 12.9004L34.8491 12.1542C35.4969 11.8841 36.3352 11.7837 37.3448 12.178C39.9275 13.1902 40.6255 17.4872 38.5316 20.1666L38.5326 20.1676Z", fill: "#FAFAFA" }), _jsx("path", { d: "M33.915 20.9635C33.625 19.6833 33.4641 18.3782 33.4794 17.0639C33.4794 16.9894 33.4794 16.9149 33.4794 16.8383C33.4794 15.7589 33.3277 14.6743 33.0408 13.6104L32.7856 12.7659C32.6288 12.3012 32.4474 11.8406 32.2424 11.3894C32.0927 11.0603 31.9318 10.7353 31.7586 10.4166C30.2171 7.56952 27.7604 5.14367 24.8958 3.80862C24.4736 3.61199 23.5358 1.43658 23.5358 1.43658L21.3271 2.77577C21.2389 2.76542 21.1508 2.75611 21.0616 2.74783C20.8987 2.73334 20.7367 2.72195 20.5717 2.71471L19.8317 0.916016C17.1086 1.85365 15.5025 3.70409 14.9778 3.96696C12.2536 5.32995 9.92496 7.67923 8.44192 10.4166C8.26769 10.7364 8.1078 11.0603 7.95816 11.3894C7.75318 11.8406 7.57177 12.3012 7.41394 12.7659C7.38729 12.7503 7.15976 13.6093 7.15976 13.6093C7.15771 13.6135 7.15668 13.6176 7.15668 13.6217C6.87278 14.6805 6.7211 15.762 6.7211 16.8372C6.7211 16.9138 6.7211 16.9883 6.7211 17.0629C6.7375 18.3772 6.57556 19.6833 6.28551 20.9635L6.04261 21.9529C6.03236 21.9994 6.02211 22.046 6.01186 22.0926C5.86632 22.7632 5.7915 23.4514 5.7915 24.1552C5.7915 28.9665 9.30592 33.1041 14.3413 34.9246C15.4882 35.3406 16.715 35.6356 17.9961 35.7908C18.6336 35.8684 19.2844 35.9098 19.9476 35.916C19.9988 35.916 20.0511 35.916 20.1023 35.916C28.0044 35.916 34.4101 30.6493 34.4101 24.1541C34.4101 23.4504 34.3352 22.7611 34.1897 22.0915C34.1795 22.045 34.1692 21.9984 34.1579 21.9529L33.915 20.9614V20.9635Z", fill: "#FAFAFA" }), _jsx("path", { d: "M85.4847 13.4789C86.7064 14.0378 87.6473 14.8295 88.3073 15.8561C88.9673 16.8828 89.2974 18.0988 89.2974 19.5032C89.2974 20.9076 88.9673 22.1019 88.3073 23.1368C87.6473 24.1728 86.7064 24.9655 85.4847 25.514C84.263 26.0636 82.823 26.3378 81.1637 26.3378H77.391V31.5517H73.0566V12.6417H81.1637C82.823 12.6417 84.263 12.9211 85.4847 13.4789ZM83.893 21.9218C84.5705 21.3547 84.9097 20.5485 84.9097 19.5032C84.9097 18.4579 84.5715 17.6258 83.893 17.0577C83.2145 16.4905 82.2245 16.207 80.9228 16.207H77.391V22.7725H80.9228C82.2245 22.7725 83.2145 22.4889 83.893 21.9218Z", fill: "#FAFAFA" }), _jsx("path", { d: "M107.05 28.0413V31.5538H92.5483V12.6417H106.702V16.1542H96.856V20.2608H105.551V23.6646H96.856V28.0413H107.05Z", fill: "#FAFAFA" }), _jsx("path", { d: "M127.156 23.4349C127.763 24.2369 128.067 25.2232 128.067 26.3937C128.067 28.0506 127.429 29.3246 126.154 30.2167C124.879 31.1078 123.019 31.5538 120.576 31.5538H110.89V12.6417H120.041C122.323 12.6417 124.077 13.0836 125.298 13.9653C126.52 14.8481 127.131 16.0455 127.131 17.5586C127.131 18.4776 126.913 19.2972 126.476 20.0175C126.038 20.7379 125.427 21.305 124.643 21.72C125.713 22.0626 126.552 22.6349 127.159 23.4359L127.156 23.4349ZM115.197 15.9379V20.3953H119.505C120.575 20.3953 121.386 20.2059 121.94 19.8282C122.492 19.4504 122.769 18.8916 122.769 18.1537C122.769 17.4158 122.492 16.861 121.94 16.4916C121.386 16.1221 120.576 15.9379 119.505 15.9379H115.197ZM122.835 27.6905C123.415 27.3127 123.706 26.7269 123.706 25.9342C123.706 24.3673 122.555 23.5839 120.254 23.5839H115.197V28.2576H120.254C121.395 28.2576 122.256 28.0682 122.835 27.6905Z", fill: "#FAFAFA" }), _jsx("path", { d: "M136.318 30.6079C134.757 29.7613 133.535 28.595 132.653 27.1088C131.769 25.6227 131.329 23.9523 131.329 22.0967C131.329 20.2411 131.77 18.5707 132.653 17.0846C133.535 15.5984 134.757 14.4331 136.318 13.5855C137.879 12.739 139.631 12.3157 141.576 12.3157C143.52 12.3157 145.267 12.739 146.82 13.5855C148.372 14.4321 149.594 15.5984 150.485 17.0846C151.377 18.5707 151.823 20.2411 151.823 22.0967C151.823 23.9523 151.377 25.6227 150.485 27.1088C149.592 28.595 148.372 29.7613 146.82 30.6079C145.268 31.4545 143.52 31.8778 141.576 31.8778C139.631 31.8778 137.879 31.4545 136.318 30.6079ZM144.571 27.379C145.463 26.8656 146.163 26.1495 146.671 25.2315C147.18 24.3125 147.434 23.2682 147.434 22.0977C147.434 20.9273 147.18 19.882 146.671 18.964C146.163 18.045 145.463 17.3299 144.571 16.8165C143.68 16.3032 142.681 16.0466 141.575 16.0466C140.469 16.0466 139.469 16.3032 138.578 16.8165C137.686 17.3299 136.986 18.046 136.478 18.964C135.969 19.883 135.715 20.9273 135.715 22.0977C135.715 23.2682 135.969 24.3135 136.478 25.2315C136.986 26.1505 137.686 26.8656 138.578 27.379C139.469 27.8923 140.469 28.1489 141.575 28.1489C142.681 28.1489 143.68 27.8923 144.571 27.379Z", fill: "#FAFAFA" }), _jsx("path", { d: "M172.25 12.6417V31.5538H168.692L159.354 20.0714V31.5538H155.073V12.6417H158.658L167.969 24.1241V12.6417H172.25Z", fill: "#FAFAFA" }), _jsx("path", { d: "M176.584 12.6417H185.092C187.126 12.6417 188.922 13.0339 190.483 13.8173C192.044 14.6008 193.257 15.704 194.122 17.127C194.987 18.55 195.419 20.2069 195.419 22.0977C195.419 23.9885 194.987 25.6465 194.122 27.0685C193.257 28.4915 192.043 29.5947 190.483 30.3781C188.922 31.1616 187.126 31.5538 185.092 31.5538H176.584V12.6417ZM184.879 27.9606C186.752 27.9606 188.246 27.4338 189.361 26.3802C190.475 25.3267 191.034 23.8995 191.034 22.0977C191.034 20.2959 190.476 18.8688 189.361 17.8152C188.246 16.7617 186.752 16.2349 184.879 16.2349H180.919V27.9606H184.879Z", fill: "#FAFAFA" }), _jsx("path", { d: "M52.8731 31.5538H48.4312L56.779 12.6417H61.0601L69.4346 31.5538H64.8861L58.8924 16.9376L52.8721 31.5538H52.8731Z", fill: "#FAFAFA" })] }));
|
|
26
15
|
};
|
|
27
16
|
export default AbondFullLogo;
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
|
|
13
2
|
var AbondSmallLogo = function (_a) {
|
|
14
3
|
var width = _a.width;
|
|
15
|
-
return (_jsxs("svg",
|
|
4
|
+
return (_jsxs("svg", { width: width || '27', height: width || '24', viewBox: "0 0 27 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M3.25475 7.88645C3.19706 8.0762 3.11698 8.37612 3.11698 8.37612C3.11562 8.37952 3.11494 8.38224 3.11426 8.38564C2.89641 9.19087 2.78036 10.0131 2.78036 10.8306C2.78036 10.8891 2.78036 10.9455 2.78171 11.0026C2.79393 12.0017 2.67041 12.9946 2.44848 13.9678L2.3494 14.3664C1.83835 14.1664 1.31509 13.7862 0.814907 13.1517C-0.57163 11.3916 -0.109451 8.56723 1.60082 7.9021C2.27067 7.6423 2.82583 7.70895 3.25543 7.88645H3.25475Z", fill: "#FAFAFA" }), _jsx("path", { d: "M25.2378 13.151C24.7416 13.7801 24.2224 14.1603 23.7148 14.3602L23.6177 13.9658C23.3958 12.9926 23.2723 12.0003 23.2838 11.0013C23.2838 10.9441 23.2838 10.8877 23.2838 10.8292C23.2838 10.0083 23.1678 9.18338 22.9479 8.37543L22.7986 7.88509C23.2275 7.70758 23.7827 7.64161 24.4512 7.90073C26.1614 8.56586 26.6236 11.3896 25.2371 13.1504L25.2378 13.151Z", fill: "#FAFAFA" }), _jsx("path", { d: "M22.1803 13.674C21.9882 12.8328 21.8817 11.9752 21.8918 11.1115C21.8918 11.0625 21.8918 11.0135 21.8918 10.9632C21.8918 10.2539 21.7914 9.54113 21.6014 8.842L21.4324 8.28704C21.3285 7.98168 21.2084 7.67904 21.0727 7.38252C20.9736 7.16625 20.867 6.9527 20.7523 6.74324C19.7316 4.87231 18.1048 3.27817 16.2079 2.40085C15.9283 2.27164 15.3073 0.842086 15.3073 0.842086L13.8448 1.72212C13.7864 1.71532 13.728 1.7092 13.669 1.70376C13.5611 1.69424 13.4538 1.68676 13.3446 1.682L12.8546 0.5C11.0513 1.11616 9.98784 2.33217 9.64036 2.50491C7.83643 3.40059 6.29448 4.9444 5.31243 6.74324C5.19706 6.95338 5.09118 7.16625 4.9921 7.38252C4.85636 7.67904 4.73624 7.98168 4.63172 8.28704C4.61407 8.27684 4.46341 8.84132 4.46341 8.84132C4.46205 8.84404 4.46137 8.84676 4.46137 8.84948C4.27338 9.54521 4.17293 10.2559 4.17293 10.9625C4.17293 11.0128 4.17293 11.0618 4.17293 11.1108C4.18379 11.9745 4.07656 12.8328 3.8845 13.674L3.72365 14.3242C3.71686 14.3548 3.71008 14.3854 3.70329 14.416C3.60692 14.8567 3.55737 15.309 3.55737 15.7714C3.55737 18.9332 5.88456 21.6522 9.2189 22.8485C9.97834 23.1219 10.7907 23.3157 11.6391 23.4177C12.0612 23.4687 12.4922 23.4959 12.9313 23.5C12.9652 23.5 12.9998 23.5 13.0337 23.5C18.2663 23.5 22.5081 20.039 22.5081 15.7708C22.5081 15.3083 22.4585 14.8554 22.3622 14.4153C22.3554 14.3847 22.3486 14.3541 22.3411 14.3242L22.1803 13.6727V13.674Z", fill: "#FAFAFA" })] }));
|
|
16
5
|
};
|
|
17
6
|
export default AbondSmallLogo;
|