@ape.swap/bonds-sdk 1.0.523 → 1.0.524

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.
@@ -4,7 +4,6 @@ import { Flex } from '../uikit-sdk';
4
4
  import RecommendationSelector from '../MenuSelect/RecommendationSelector';
5
5
  import MenuSelect from '../MenuSelect/MenuSelect';
6
6
  import '../../scss/BondMenu.scss';
7
- import NetworkFilter from '../NetworkFilter';
8
7
  var BondMenu = function (_a) {
9
8
  var setChainFilterOption = _a.setChainFilterOption, chainFilterOption = _a.chainFilterOption, filterOptions = _a.filterOptions, filterOption = _a.filterOption, setFilterOption = _a.setFilterOption;
10
9
  var mappedFilters = filterOptions.map(function (filter) {
@@ -17,6 +16,6 @@ var BondMenu = function (_a) {
17
16
  setChainFilterOption(['All Chains']);
18
17
  setFilterOption(newOption);
19
18
  }, [setChainFilterOption, setFilterOption]);
20
- return (_jsxs(Flex, { className: "menu-container filters", children: [_jsx(Flex, { className: "filters network", sx: { width: ['49%', '49%', '49%', 'unset'], minWidth: '120px' }, children: _jsx(NetworkFilter, { chainFilterOption: chainFilterOption, setChainFilterOption: setChainFilterOption }) }), _jsx(Flex, { className: "filters desktop-rec", sx: { display: ['none', 'none', 'none', 'flex'], mr: '20px' }, children: _jsx(RecommendationSelector, { options: filterOptions, activeOption: filterOption, setActiveOption: handleFilterSelection }) }), _jsx(Flex, { className: "filtesr mobile-rec", sx: { display: ['flex', 'flex', 'flex', 'none'], width: '100%' }, children: _jsx(MenuSelect, { selectedOption: filterOption, setOption: setFilterOption, options: mappedFilters, sx: { background: 'white2' } }) })] }));
19
+ return (_jsxs(Flex, { className: "menu-container filters", children: [_jsx(Flex, { className: "filters network", sx: { width: ['49%', '49%', '49%', 'unset'], minWidth: '120px' } }), _jsx(Flex, { className: "filters desktop-rec", sx: { display: ['none', 'none', 'none', 'flex'], mr: '20px' }, children: _jsx(RecommendationSelector, { options: filterOptions, activeOption: filterOption, setActiveOption: handleFilterSelection }) }), _jsx(Flex, { className: "filtesr mobile-rec", sx: { display: ['flex', 'flex', 'flex', 'none'], width: '100%' }, children: _jsx(MenuSelect, { selectedOption: filterOption, setOption: setFilterOption, options: mappedFilters, sx: { background: 'white2' } }) })] }));
21
20
  };
22
21
  export default BondMenu;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  declare const NetworkFilter: ({ chainFilterOption, setChainFilterOption, }: {
3
2
  chainFilterOption: string[];
4
3
  setChainFilterOption: (newValue: string[]) => void;
5
- }) => React.JSX.Element;
4
+ }) => import("react").JSX.Element;
6
5
  export default NetworkFilter;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ape Bond SDK",
4
4
  "author": "Ape Bond",
5
5
  "license": "MIT",
6
- "version": "1.0.523",
6
+ "version": "1.0.524",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",