@ape.swap/bonds-sdk 3.0.13 → 3.0.14-test.1

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.
Files changed (29) hide show
  1. package/README.md +9 -10
  2. package/dist/components/uikit-sdk/Svg/tokens/MONAD.d.ts +4 -0
  3. package/dist/components/uikit-sdk/Svg/tokens/SONIC.d.ts +4 -0
  4. package/dist/components/uikit-sdk/Svg/tokens/index.d.ts +2 -0
  5. package/dist/components/uikit-sdk/Svg/types.d.ts +2 -0
  6. package/dist/config/constants/variables.d.ts +1 -1
  7. package/dist/main.d.ts +2 -2
  8. package/dist/main.js +412 -313
  9. package/dist/styles.css +2 -0
  10. package/dist/views/{BuyBond/BuyBond.d.ts → BondModal/BondModal.d.ts} +3 -3
  11. package/dist/views/BondModal/index.d.ts +7 -0
  12. package/dist/views/SingleBond/SingleBond.d.ts +1 -4
  13. package/dist/views/SingleBond/index.d.ts +1 -4
  14. package/dist/views/YourBonds/YourBonds.d.ts +1 -3
  15. package/package.json +2 -2
  16. package/dist/components/uikit-sdk/TabNav/index.d.ts +0 -8
  17. package/dist/views/BuyBond/BuyBondModal.d.ts +0 -4
  18. package/dist/views/BuyBond/index.d.ts +0 -7
  19. package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.d.ts +0 -8
  20. /package/dist/views/{BuyBond → BondModal}/components/BondCards.d.ts +0 -0
  21. /package/dist/views/{BuyBond → BondModal}/components/BondModalHeader.d.ts +0 -0
  22. /package/dist/views/{BuyBond → BondModal}/components/BondModalHeaderAlt.d.ts +0 -0
  23. /package/dist/views/{BuyBond → BondModal}/components/BondModalMinTierHeader.d.ts +0 -0
  24. /package/dist/views/{BuyBond → BondModal}/components/Estimations.d.ts +0 -0
  25. /package/dist/views/{BuyBond → BondModal}/components/ExpandedViewButton.d.ts +0 -0
  26. /package/dist/views/{BuyBond → BondModal}/components/ImageAndShortDescription.d.ts +0 -0
  27. /package/dist/views/{BuyBond → BondModal}/components/NewRateModal/NewRateModal.d.ts +0 -0
  28. /package/dist/views/{BuyBond → BondModal}/components/NoBonusModal/NoBonusModal.d.ts +0 -0
  29. /package/dist/views/{BuyBond → BondModal}/components/ProjectDescription.d.ts +0 -0
package/dist/styles.css CHANGED
@@ -141,7 +141,9 @@
141
141
  border-radius: 10px;
142
142
  background-color: var(--theme-ui-colors-white2);
143
143
  border-radius: 10px;
144
+ z-index: 1001;
144
145
  width: 100%;
146
+ max-width: 700px;
145
147
  }
146
148
 
147
149
  .modaltable-container {
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- export interface BuyBondProps {
2
+ export interface BondModalProps {
3
3
  onDismiss?: () => void;
4
4
  bondAddress?: string;
5
5
  bondChain?: number;
6
6
  handlePurchasedBond?: (hash: string) => void;
7
7
  }
8
- declare const BuyBond: React.FC<BuyBondProps>;
9
- export default BuyBond;
8
+ declare const BondModal: React.FC<BondModalProps>;
9
+ export default BondModal;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { BondModalProps } from './BondModal';
3
+ import { SDKProps } from '../../state/useSDKConfig';
4
+ interface Props extends SDKProps, BondModalProps {
5
+ }
6
+ declare const BondModalWithProviders: React.FC<Props>;
7
+ export default BondModalWithProviders;
@@ -1,6 +1,3 @@
1
1
  import React from 'react';
2
- export interface SingleBondProps {
3
- tokenSymbol?: string[];
4
- }
5
- declare const SingleBond: React.FC<SingleBondProps>;
2
+ declare const SingleBond: () => React.JSX.Element;
6
3
  export default SingleBond;
@@ -1,7 +1,4 @@
1
1
  import React from 'react';
2
2
  import { SDKProps } from '../../state/useSDKConfig';
3
- import { SingleBondProps } from './SingleBond';
4
- interface Props extends SDKProps, SingleBondProps {
5
- }
6
- declare const SingleBondWithProviders: React.FC<Props>;
3
+ declare const SingleBondWithProviders: React.FC<SDKProps>;
7
4
  export default SingleBondWithProviders;
@@ -1,6 +1,4 @@
1
1
  import React from 'react';
2
2
  export type SortableKeys = 'claimable' | 'pending' | 'terms';
3
- declare const YourBonds: ({ showOnly }: {
4
- showOnly?: string;
5
- }) => React.JSX.Element;
3
+ declare const YourBonds: () => React.JSX.Element;
6
4
  export default YourBonds;
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": "3.0.13",
6
+ "version": "3.0.14-test.1",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",
@@ -57,7 +57,7 @@
57
57
  "yalc": "^1.0.0-pre.53"
58
58
  },
59
59
  "dependencies": {
60
- "@ape.swap/apeswap-lists": "4.0.1",
60
+ "@ape.swap/apeswap-lists": "^4.1.1-alpha.1",
61
61
  "@emotion/react": "11.11.4",
62
62
  "bignumber.js": "^9.1.2",
63
63
  "chart.js": "4.2.0",
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- interface TabNavProps {
3
- activeTab: string;
4
- tabOptions: string[];
5
- onChangeActiveTab?: (tab: string) => void;
6
- }
7
- declare const TabNav: React.FC<TabNavProps>;
8
- export default TabNav;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { BuyBondProps } from './BuyBond';
3
- declare const BuyBondModal: React.FC<BuyBondProps>;
4
- export default BuyBondModal;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { BuyBondProps } from './BuyBond';
3
- import { SDKProps } from '../../state/useSDKConfig';
4
- interface Props extends SDKProps, BuyBondProps {
5
- }
6
- declare const BuyBondModalWithProviders: React.FC<Props>;
7
- export default BuyBondModalWithProviders;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { BillsConfig } from '@ape.swap/apeswap-lists';
3
- export interface SoldOutProps {
4
- onDismiss?: () => void;
5
- bond: BillsConfig;
6
- }
7
- declare const SoldOutBuyBondPlaceholder: React.FC<SoldOutProps>;
8
- export default SoldOutBuyBondPlaceholder;