@ape.swap/bonds-sdk 3.0.33 → 3.0.34
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/main.js +3 -2
- package/dist/styles.css +6 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -71525,18 +71525,19 @@ const ClaimAll = () => {
|
|
|
71525
71525
|
const { address: account } = useAccount();
|
|
71526
71526
|
const [onOpenModal] = useModal(jsx$2(ClaimAllModal, {}));
|
|
71527
71527
|
return (jsx$2(Button, { onClick: onOpenModal, disabled: !account, sx: {
|
|
71528
|
-
height:
|
|
71528
|
+
height: '30px',
|
|
71529
71529
|
lineHeight: '12px',
|
|
71530
71530
|
fontSize: '14px',
|
|
71531
71531
|
fontWeight: 600,
|
|
71532
71532
|
width: '100%',
|
|
71533
71533
|
opacity: 1,
|
|
71534
|
+
ml: '10px',
|
|
71534
71535
|
}, children: "Claim All" }));
|
|
71535
71536
|
};
|
|
71536
71537
|
|
|
71537
71538
|
const YourBondsMenu = ({ chainFilterOption, setChainFilterOption, filterOptions, filterOption, setFilterOption, setInputValue, inputValue, handleSort, }) => {
|
|
71538
71539
|
const SDKConfig = useSDKConfig();
|
|
71539
|
-
return (jsxs("div", { className: "bonds-menu", children: [jsx$2(BondFilters, { chainFilterOption: chainFilterOption !== null && chainFilterOption !== void 0 ? chainFilterOption : ['All Chains'], setChainFilterOption: setChainFilterOption, filterOptions: filterOptions, filterOption: filterOption, setFilterOption: setFilterOption, onHandleQueryChange: () => setInputValue('') }), jsxs("div", { className: "table-header-container", children: [jsx$2("div", { className: "search-container", children: jsx$2(Flex$1, { sx: { width: '100%', maxWidth: '300px' }, children: jsx$2(Input, { className: "search-input", value: inputValue, onChange: (event) => setInputValue(event.target.value), variant: "search", sx: { fontWeight: 600, background: 'white2', height: '30px', fontSize: '14px', color: 'white' }, width: '100%', placeholder: 'Search...' }) }) }), jsxs("div", { className: "headers-container", children: [jsxs("div", { className: "your-bonds-table-headers", onClick: () => handleSort('claimable'), children: ["CLAIMABLE", jsx$2(Flex$1, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), jsxs("div", { className: "your-bonds-table-headers", onClick: () => handleSort('pending'), children: ["PENDING", jsx$2(Flex$1, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), jsxs("div", { className: "your-bonds-table-headers", onClick: () => handleSort('terms'), children: ["TERMS", jsx$2(Flex$1, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), jsx$2(Flex$1, { className: "claim-all-button-container", children: SDKConfig.referenceId === 'apebond' && jsx$2(ClaimAll, {}) })] })] })] }));
|
|
71540
|
+
return (jsxs("div", { className: "bonds-menu", children: [jsx$2(BondFilters, { chainFilterOption: chainFilterOption !== null && chainFilterOption !== void 0 ? chainFilterOption : ['All Chains'], setChainFilterOption: setChainFilterOption, filterOptions: filterOptions, filterOption: filterOption, setFilterOption: setFilterOption, onHandleQueryChange: () => setInputValue('') }), jsxs("div", { className: "table-header-container", children: [jsx$2("div", { className: "search-container", children: jsx$2(Flex$1, { sx: { width: '100%', maxWidth: '300px' }, children: jsx$2(Input, { className: "search-input", value: inputValue, onChange: (event) => setInputValue(event.target.value), variant: "search", sx: { fontWeight: 600, background: 'white2', height: '30px', fontSize: '14px', color: 'white' }, width: '100%', placeholder: 'Search...' }) }) }), jsxs("div", { className: "headers-container", sx: { pr: ['0', '0', '0', '20px'] }, children: [jsxs("div", { className: "your-bonds-table-headers", onClick: () => handleSort('claimable'), children: ["CLAIMABLE", jsx$2(Flex$1, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), jsxs("div", { className: "your-bonds-table-headers", onClick: () => handleSort('pending'), children: ["PENDING", jsx$2(Flex$1, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), jsxs("div", { className: "your-bonds-table-headers", onClick: () => handleSort('terms'), children: ["TERMS", jsx$2(Flex$1, { sx: { ml: '5px' }, children: jsx$2(Svg, { icon: "sort", width: "12px", color: "textDisabledButton" }) })] }), jsx$2(Flex$1, { className: "claim-all-button-container", children: SDKConfig.referenceId === 'apebond' && jsx$2(ClaimAll, {}) })] })] })] }));
|
|
71540
71541
|
};
|
|
71541
71542
|
|
|
71542
71543
|
const YourBonds = ({ showOnly }) => {
|
package/dist/styles.css
CHANGED
|
@@ -813,9 +813,14 @@ span.flex-inline {
|
|
|
813
813
|
.bonds-menu .table-header-container {
|
|
814
814
|
display: flex;
|
|
815
815
|
width: 100%;
|
|
816
|
-
padding: 20px 0 10px 0;
|
|
817
816
|
justify-content: space-between;
|
|
818
817
|
overflow: hidden;
|
|
818
|
+
padding: 10px 0;
|
|
819
|
+
}
|
|
820
|
+
@media screen and (min-width: 1000px) {
|
|
821
|
+
.bonds-menu .table-header-container {
|
|
822
|
+
padding: 20px 0 10px 0;
|
|
823
|
+
}
|
|
819
824
|
}
|
|
820
825
|
.bonds-menu .search-container {
|
|
821
826
|
display: flex;
|