@ape.swap/bonds-sdk 1.0.665 → 1.0.667

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.
@@ -5,14 +5,13 @@ import ProgressBar from "../ProgressBar/ProgressBar";
5
5
  import ProgressBarWrapper from "../ProgressBar/ProgressBarWrapper";
6
6
  import TokenInfoAndName from "../TokenInfoAndName";
7
7
  import Tooltip from "../Tooltip/Tooltip";
8
- import { Svg, TooltipBubble } from "../uikit-sdk";
8
+ import { Flex, Svg, TooltipBubble } from "../uikit-sdk";
9
9
  import { formatDollar, formatValue } from "../../utils/formatNumbers";
10
10
  import getTimePeriods from "../../utils/getTimePeriods";
11
11
  import { BLOCK_EXPLORER } from "../../config/constants/chains";
12
12
  import { useState } from "react";
13
13
  import { useNavigate } from "react-router-dom";
14
14
  import '../../scss/BondRow.scss';
15
- import { Flex } from "theme-ui";
16
15
  var BondRow = function (_a) {
17
16
  var _b, _c, _d;
18
17
  var bond = _a.bond, hotBonds = _a.hotBonds;
@@ -37,14 +37,14 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
37
37
  import { jsx as _jsx, jsxs as _jsxs } from "theme-ui/jsx-runtime";
38
38
  /** @jsxImportSource theme-ui */
39
39
  import React, { useEffect, useState } from 'react';
40
- import { Button, Flex, Input, ThemeUIProvider } from 'theme-ui';
40
+ import { Flex, Input, ThemeUIProvider } from 'theme-ui';
41
41
  import { defaultTheme } from '../../../theme';
42
42
  import getTimePeriods from '../../../utils/getTimePeriods';
43
43
  import axios from 'axios';
44
44
  import { BigNumber } from 'bignumber.js';
45
45
  import { getFirstNonZeroDigits } from '../../../utils/roundNumber';
46
46
  import { isNumber } from '../../../utils/numbers';
47
- import { TooltipBubble, Svg, ListTag } from '../../uikit-sdk';
47
+ import { TooltipBubble, Button, Svg, ListTag } from '../../uikit-sdk';
48
48
  import { TooltipText } from '../../../enum/tooltips';
49
49
  import { ethers } from 'ethers';
50
50
  import convertToTokenValue, { adjustDecimals } from "../../../utils/convertToTokenValue";
@@ -11,8 +11,8 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  var defaultStyle = {
13
13
  cursor: 'pointer',
14
- color: 'primaryBright',
15
- border: 'none',
14
+ // color: 'primaryBright',
15
+ // border: 'none',
16
16
  transition: 'all .3s linear',
17
17
  '&:hover': {
18
18
  filter: 'brightness(115%)',
@@ -189,15 +189,9 @@ declare const components: {
189
189
  '&:disabled': {};
190
190
  };
191
191
  padding: string;
192
- fontSize: string;
193
- fontFamily: string;
194
192
  cursor: string;
195
- fontWeight: number;
196
193
  display: string;
197
194
  alignItems: string;
198
- '&&': {
199
- borderRadius: string;
200
- };
201
195
  };
202
196
  secondary: {
203
197
  '&:disabled': {
@@ -208,15 +202,9 @@ declare const components: {
208
202
  '&:disabled': {};
209
203
  };
210
204
  padding: string;
211
- fontSize: string;
212
- fontFamily: string;
213
205
  cursor: string;
214
- fontWeight: number;
215
206
  display: string;
216
207
  alignItems: string;
217
- '&&': {
218
- borderRadius: string;
219
- };
220
208
  };
221
209
  tertiary: {
222
210
  '&:disabled': {
@@ -227,15 +215,9 @@ declare const components: {
227
215
  '&:disabled': {};
228
216
  };
229
217
  padding: string;
230
- fontSize: string;
231
- fontFamily: string;
232
218
  cursor: string;
233
- fontWeight: number;
234
219
  display: string;
235
220
  alignItems: string;
236
- '&&': {
237
- borderRadius: string;
238
- };
239
221
  };
240
222
  text: {
241
223
  '&:hover': {
@@ -246,15 +228,9 @@ declare const components: {
246
228
  cursor: string;
247
229
  };
248
230
  padding: string;
249
- fontSize: string;
250
- fontFamily: string;
251
231
  cursor: string;
252
- fontWeight: number;
253
232
  display: string;
254
233
  alignItems: string;
255
- '&&': {
256
- borderRadius: string;
257
- };
258
234
  };
259
235
  success: {
260
236
  '&:disabled': {
@@ -265,15 +241,9 @@ declare const components: {
265
241
  '&:disabled': {};
266
242
  };
267
243
  padding: string;
268
- fontSize: string;
269
- fontFamily: string;
270
244
  cursor: string;
271
- fontWeight: number;
272
245
  display: string;
273
246
  alignItems: string;
274
- '&&': {
275
- borderRadius: string;
276
- };
277
247
  };
278
248
  danger: {
279
249
  '&:disabled': {
@@ -284,20 +254,13 @@ declare const components: {
284
254
  '&:disabled': {};
285
255
  };
286
256
  padding: string;
287
- fontSize: string;
288
- fontFamily: string;
289
257
  cursor: string;
290
- fontWeight: number;
291
258
  display: string;
292
259
  alignItems: string;
293
- '&&': {
294
- borderRadius: string;
295
- };
296
260
  };
297
261
  circular: {
298
262
  width: string;
299
263
  height: string;
300
- borderRadius: string;
301
264
  display: string;
302
265
  justifyContent: string;
303
266
  alignItems: string;
@@ -39,15 +39,15 @@ export var textUnderlineHover = {
39
39
  };
40
40
  var buttonBaseStyles = {
41
41
  padding: '10px 20px 10px 19px',
42
- fontSize: '16px',
43
- fontFamily: 'body',
42
+ // fontSize: '16px',
43
+ // fontFamily: 'body',
44
44
  cursor: 'pointer',
45
- fontWeight: 700,
45
+ // fontWeight: 700,
46
46
  display: 'flex',
47
47
  alignItems: 'center',
48
- '&&': {
49
- borderRadius: 'normal',
50
- },
48
+ // '&&': {
49
+ // borderRadius: 'normal',
50
+ // },
51
51
  };
52
52
  var components = {
53
53
  text: {
@@ -284,7 +284,7 @@ var components = {
284
284
  width: '40px',
285
285
  height: '40px',
286
286
  // background: 'white3',
287
- borderRadius: '50%',
287
+ // borderRadius: '50%',
288
288
  display: 'flex',
289
289
  justifyContent: 'center',
290
290
  alignItems: 'center',
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.665",
6
+ "version": "1.0.667",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",