@ape.swap/bonds-sdk 1.0.33 → 1.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.
Files changed (66) hide show
  1. package/dist/App.d.ts +4 -0
  2. package/dist/App.js +12 -0
  3. package/dist/MyComponent.d.ts +3 -0
  4. package/dist/MyComponent.js +6 -0
  5. package/dist/index.d.ts +2 -2
  6. package/dist/index.js +3 -0
  7. package/dist/setupTests.js +5 -0
  8. package/package.json +15 -139
  9. package/dist/cjs/index.js +0 -143954
  10. package/dist/cjs/index.js.map +0 -1
  11. package/dist/cjs/types/App.d.ts +0 -2
  12. package/dist/cjs/types/App.test.d.ts +0 -1
  13. package/dist/cjs/types/index.d.ts +0 -1
  14. package/dist/cjs/types/reportWebVitals.d.ts +0 -3
  15. package/dist/cjs/types/theme/base.d.ts +0 -103
  16. package/dist/cjs/types/theme/colors.d.ts +0 -88
  17. package/dist/cjs/types/theme/components.d.ts +0 -439
  18. package/dist/cjs/types/theme/display.d.ts +0 -2
  19. package/dist/cjs/types/theme/index.d.ts +0 -2
  20. package/dist/cjs/types/theme/types.d.ts +0 -10
  21. package/dist/cjs/types/views/Bonds/Bonds.d.ts +0 -7
  22. package/dist/cjs/types/views/Bonds/index.d.ts +0 -1
  23. package/dist/cjs/types/views/Bonds/styles.d.ts +0 -4
  24. package/dist/cjs/types/views/Bonds/type.d.ts +0 -33
  25. package/dist/cjs/types/views/BondsWithProvider/BondsWithProvider.d.ts +0 -3
  26. package/dist/cjs/types/views/BondsWithProvider/index.d.ts +0 -1
  27. package/dist/cjs/types/views/index.d.ts +0 -1
  28. package/dist/cjs/types/wallet/ConnectionOptions.d.ts +0 -9
  29. package/dist/cjs/types/wallet/Option.d.ts +0 -8
  30. package/dist/cjs/types/wallet/config.d.ts +0 -13
  31. package/dist/cjs/types/wallet/connections.d.ts +0 -21
  32. package/dist/cjs/types/wallet/constants.d.ts +0 -21
  33. package/dist/cjs/types/wallet/injected.d.ts +0 -2
  34. package/dist/cjs/types/wallet/network.d.ts +0 -2
  35. package/dist/cjs/types/wallet/provider.d.ts +0 -4
  36. package/dist/cjs/types/wallet/wallet-connect.d.ts +0 -2
  37. package/dist/esm/index.js +0 -143934
  38. package/dist/esm/index.js.map +0 -1
  39. package/dist/esm/types/App.d.ts +0 -2
  40. package/dist/esm/types/App.test.d.ts +0 -1
  41. package/dist/esm/types/index.d.ts +0 -1
  42. package/dist/esm/types/reportWebVitals.d.ts +0 -3
  43. package/dist/esm/types/setupTests.d.ts +0 -1
  44. package/dist/esm/types/theme/base.d.ts +0 -103
  45. package/dist/esm/types/theme/colors.d.ts +0 -88
  46. package/dist/esm/types/theme/components.d.ts +0 -439
  47. package/dist/esm/types/theme/display.d.ts +0 -2
  48. package/dist/esm/types/theme/index.d.ts +0 -2
  49. package/dist/esm/types/theme/types.d.ts +0 -10
  50. package/dist/esm/types/views/Bonds/Bonds.d.ts +0 -7
  51. package/dist/esm/types/views/Bonds/index.d.ts +0 -1
  52. package/dist/esm/types/views/Bonds/styles.d.ts +0 -4
  53. package/dist/esm/types/views/Bonds/type.d.ts +0 -33
  54. package/dist/esm/types/views/BondsWithProvider/BondsWithProvider.d.ts +0 -3
  55. package/dist/esm/types/views/BondsWithProvider/index.d.ts +0 -1
  56. package/dist/esm/types/views/index.d.ts +0 -1
  57. package/dist/esm/types/wallet/ConnectionOptions.d.ts +0 -9
  58. package/dist/esm/types/wallet/Option.d.ts +0 -8
  59. package/dist/esm/types/wallet/config.d.ts +0 -13
  60. package/dist/esm/types/wallet/connections.d.ts +0 -21
  61. package/dist/esm/types/wallet/constants.d.ts +0 -21
  62. package/dist/esm/types/wallet/injected.d.ts +0 -2
  63. package/dist/esm/types/wallet/network.d.ts +0 -2
  64. package/dist/esm/types/wallet/provider.d.ts +0 -4
  65. package/dist/esm/types/wallet/wallet-connect.d.ts +0 -2
  66. /package/dist/{cjs/types/setupTests.d.ts → setupTests.d.ts} +0 -0
@@ -1,2 +0,0 @@
1
- declare function App(): import("react/jsx-runtime").JSX.Element;
2
- export default App;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- import { ReportHandler } from 'web-vitals';
2
- declare const reportWebVitals: (onPerfEntry?: ReportHandler) => void;
3
- export default reportWebVitals;
@@ -1,103 +0,0 @@
1
- import { MediaQueries } from './types';
2
- export declare const breakpointMap: {
3
- [key: string]: number;
4
- };
5
- declare const baseTheme: {
6
- breakpoints: string[];
7
- space: number[];
8
- fontSizes: number[];
9
- borderWidths: number[];
10
- mediaQueries: MediaQueries;
11
- fontWeights: {
12
- light: number;
13
- normal: number;
14
- bold: number;
15
- };
16
- fonts: {
17
- body: string;
18
- poppins: string;
19
- };
20
- radii: {
21
- small: string;
22
- default: string;
23
- normal: string;
24
- card: string;
25
- circle: string;
26
- };
27
- zIndices: {
28
- dropdown: number;
29
- modal: number;
30
- };
31
- styles: {
32
- root: {
33
- fontFamily: string;
34
- webkitFontSmoothing: string;
35
- fontWeight: number;
36
- color: string;
37
- bg: string;
38
- textDecoration: string;
39
- };
40
- a: {
41
- color: string;
42
- textDecoration: string;
43
- ':hover': {
44
- color: string;
45
- textDecoration: string;
46
- };
47
- };
48
- nav: {
49
- textDecoration: string;
50
- breakpoints: string[];
51
- a: {
52
- textDecoration: string;
53
- };
54
- };
55
- progress: {
56
- primary: string;
57
- color: string;
58
- background: string;
59
- height: string;
60
- };
61
- hr: {
62
- background: string;
63
- height: string;
64
- border: string;
65
- };
66
- h1: {
67
- variant: string;
68
- fontSize: string;
69
- lineHeight: string;
70
- };
71
- h2: {
72
- variant: string;
73
- fontSize: string;
74
- lineHeight: string;
75
- };
76
- h3: {
77
- variant: string;
78
- fontSize: string;
79
- lineHeight: string;
80
- };
81
- h4: {
82
- variant: string;
83
- fontSize: string;
84
- lineHeight: string;
85
- };
86
- h5: {
87
- variant: string;
88
- fontSize: string;
89
- lineHeight: string;
90
- };
91
- banner: {
92
- variant: string;
93
- fontWeight: string;
94
- fontSize: string;
95
- lineHeight: string;
96
- };
97
- input: {
98
- fontFamily: string;
99
- fontWeight: string;
100
- };
101
- };
102
- };
103
- export default baseTheme;
@@ -1,88 +0,0 @@
1
- declare const abondColors: {
2
- white1: string;
3
- white2: string;
4
- white3: string;
5
- white4: string;
6
- white5: string;
7
- brandPrimary140: string;
8
- navBar: string;
9
- primaryButton: string;
10
- secondary: string;
11
- footer: string;
12
- success: string;
13
- error: string;
14
- yellow: string;
15
- primaryButtonDisable: string;
16
- primaryButtonHovered: string;
17
- textDisabledButton: string;
18
- text: string;
19
- textDisabled: string;
20
- home: {
21
- c1: string;
22
- c2: string;
23
- c3: string;
24
- cShadow: string;
25
- hideCircles: string;
26
- title: string;
27
- shadowImage: string;
28
- };
29
- backgroundDisabled: string;
30
- listTagBg: {
31
- ape: string;
32
- launch: string;
33
- reserve: string;
34
- liquidity: string;
35
- ark: string;
36
- hot: string;
37
- new: string;
38
- default: string;
39
- auto: string;
40
- beta: string;
41
- max: string;
42
- real_yield: string;
43
- bondLp: string;
44
- migration: string;
45
- cex_fund: string;
46
- expired: string;
47
- permatlock: string;
48
- };
49
- listTagTextColor: {
50
- liquidity: string;
51
- cex_fund: string;
52
- };
53
- body: string;
54
- lvl1: string;
55
- lvl2: string;
56
- primaryBright: string;
57
- primaryDark: string;
58
- info: string;
59
- secondaryButtonDisableBg: string;
60
- secondaryButtonDisableColor: string;
61
- buttonDisabledText: string;
62
- dividerColor: string;
63
- textareaColor: string;
64
- heading: string;
65
- black: string;
66
- gradient: string;
67
- smartGradient: string;
68
- white2Opacity09: string;
69
- radioChecked: string;
70
- navMenuLogo: string;
71
- input: string;
72
- primaryGray: string;
73
- gray: string;
74
- brown: string;
75
- hoveredYellow: string;
76
- hoveredSuccess: string;
77
- hoveredDanger: string;
78
- modalOverlay: string;
79
- opacityBadge: string;
80
- gnanaWarningBackground: string;
81
- moon: string;
82
- island: string;
83
- migration: string;
84
- bg1: string;
85
- bg2: string;
86
- progressBar: string;
87
- };
88
- export default abondColors;
@@ -1,439 +0,0 @@
1
- export declare const buttonHover: {
2
- '&:not([disabled])': {
3
- borderColor: string;
4
- background: string;
5
- opacity: number;
6
- };
7
- '&:disabled': {};
8
- };
9
- export declare const textUnderlineHover: {
10
- '::after': {
11
- content: string;
12
- position: string;
13
- background: string;
14
- left: string;
15
- bottom: string;
16
- height: string;
17
- width: string;
18
- borderRadius: string;
19
- transform: string;
20
- transformOrigin: string;
21
- transition: string;
22
- backfaceVisibility: string;
23
- };
24
- ':hover::after': {
25
- transform: string;
26
- transformOrigin: string;
27
- };
28
- };
29
- declare const components: {
30
- text: {
31
- heading: {
32
- fontFamily: string;
33
- fontWeight: string;
34
- };
35
- lg: {
36
- fontSize: number;
37
- lineHeight: string;
38
- };
39
- md: {
40
- fontSize: number;
41
- lineHeight: string;
42
- };
43
- sm: {
44
- fontSize: number;
45
- lineHeight: string;
46
- };
47
- };
48
- input: {
49
- fontFamily: string;
50
- fontWeight: number;
51
- sm: {
52
- background: string;
53
- borderRadius: number;
54
- height: string;
55
- width: string;
56
- };
57
- md: {
58
- background: string;
59
- borderRadius: number;
60
- height: string;
61
- width: string;
62
- };
63
- lg: {
64
- background: string;
65
- borderRadius: number;
66
- height: string;
67
- width: string;
68
- };
69
- };
70
- textarea: {
71
- padding: string;
72
- borderRadius: string;
73
- border: string;
74
- fontWeight: string;
75
- background: string;
76
- resize: string;
77
- color: string;
78
- '&:focus': {
79
- outline: string;
80
- };
81
- };
82
- checkbox: {
83
- background: string;
84
- borderRadius: string;
85
- borderWidth: string;
86
- borderStyle: string;
87
- borderColor: string;
88
- boxShadow: string;
89
- outline: string;
90
- appearance: string;
91
- width: string;
92
- height: string;
93
- margin: string;
94
- cursor: string;
95
- '& + svg': {
96
- display: string;
97
- position: string;
98
- pointerEvents: string;
99
- top: string;
100
- left: string;
101
- bottom: string;
102
- right: string;
103
- margin: string;
104
- };
105
- '&:checked ': {
106
- background: string;
107
- borderColor: string;
108
- '& + svg': {
109
- display: string;
110
- };
111
- };
112
- '&:focus:not(:checked)': {
113
- outline: string;
114
- boxShadow: string;
115
- };
116
- '&:focus': {
117
- outline: string;
118
- boxShadow: string;
119
- };
120
- '&:hover:not(:disabled):not(:checked)': {
121
- borderColor: string;
122
- boxShadow: string;
123
- };
124
- };
125
- radio: {
126
- background: string;
127
- borderRadius: string;
128
- borderWidth: string;
129
- borderStyle: string;
130
- borderColor: string;
131
- boxShadow: string;
132
- outline: string;
133
- appearance: string;
134
- width: string;
135
- height: string;
136
- margin: string;
137
- cursor: string;
138
- '& + span': {
139
- display: string;
140
- position: string;
141
- pointerEvents: string;
142
- top: string;
143
- left: string;
144
- bottom: string;
145
- right: string;
146
- margin: string;
147
- backgroundColor: string;
148
- borderRadius: string;
149
- };
150
- '&:checked ': {
151
- background: string;
152
- borderColor: string;
153
- '& + span': {
154
- display: string;
155
- };
156
- };
157
- '&:focus': {
158
- outline: string;
159
- boxShadow: string;
160
- };
161
- '&:hover:not(:disabled):not(:checked)': {
162
- borderColor: string;
163
- };
164
- };
165
- label: {
166
- inline: {
167
- display: string;
168
- alignItems: string;
169
- columnGap: number;
170
- };
171
- };
172
- borders: {
173
- primaryButton: string;
174
- primaryBtnDisable: string;
175
- secondaryButton: string;
176
- secondaryButtonDisable: string;
177
- mode: {
178
- dark: {
179
- secondaryButtonDisable: string;
180
- };
181
- };
182
- };
183
- buttons: {
184
- primary: {
185
- background: string;
186
- border: string;
187
- color: string;
188
- '&:disabled': {
189
- cursor: string;
190
- background: string;
191
- color: string;
192
- border: string;
193
- opacity: number;
194
- };
195
- '&:hover': {
196
- '&:not([disabled])': {
197
- borderColor: string;
198
- background: string;
199
- };
200
- '&:disabled': {};
201
- };
202
- padding: string;
203
- fontSize: string;
204
- fontFamily: string;
205
- cursor: string;
206
- fontWeight: number;
207
- display: string;
208
- alignItems: string;
209
- '&&': {
210
- borderRadius: string;
211
- };
212
- };
213
- secondary: {
214
- background: string;
215
- border: string;
216
- color: string;
217
- '&:disabled': {
218
- cursor: string;
219
- background: string;
220
- color: string;
221
- border: string;
222
- };
223
- '&&:hover': {
224
- '&:not([disabled])': {
225
- borderColor: string;
226
- };
227
- '&:disabled': {};
228
- };
229
- padding: string;
230
- fontSize: string;
231
- fontFamily: string;
232
- cursor: string;
233
- fontWeight: number;
234
- display: string;
235
- alignItems: string;
236
- '&&': {
237
- borderRadius: string;
238
- };
239
- };
240
- tertiary: {
241
- background: string;
242
- border: string;
243
- color: string;
244
- '&:disabled': {
245
- cursor: string;
246
- background: string;
247
- color: string;
248
- };
249
- '&:hover': {
250
- '&:not([disabled])': {
251
- background: string;
252
- };
253
- '&:disabled': {};
254
- };
255
- padding: string;
256
- fontSize: string;
257
- fontFamily: string;
258
- cursor: string;
259
- fontWeight: number;
260
- display: string;
261
- alignItems: string;
262
- '&&': {
263
- borderRadius: string;
264
- };
265
- };
266
- text: {
267
- background: string;
268
- color: string;
269
- '&:hover': {
270
- '&:not([disabled])': {
271
- color: string;
272
- };
273
- '&:disabled': {};
274
- };
275
- '&:disabled': {
276
- cursor: string;
277
- background: string;
278
- color: string;
279
- };
280
- padding: string;
281
- fontSize: string;
282
- fontFamily: string;
283
- cursor: string;
284
- fontWeight: number;
285
- display: string;
286
- alignItems: string;
287
- '&&': {
288
- borderRadius: string;
289
- };
290
- };
291
- success: {
292
- background: string;
293
- color: string;
294
- '&:disabled': {
295
- cursor: string;
296
- background: string;
297
- color: string;
298
- };
299
- '&:hover': {
300
- '&:not([disabled])': {
301
- background: string;
302
- };
303
- '&:disabled': {};
304
- };
305
- padding: string;
306
- fontSize: string;
307
- fontFamily: string;
308
- cursor: string;
309
- fontWeight: number;
310
- display: string;
311
- alignItems: string;
312
- '&&': {
313
- borderRadius: string;
314
- };
315
- };
316
- danger: {
317
- background: string;
318
- color: string;
319
- '&:disabled': {
320
- cursor: string;
321
- background: string;
322
- color: string;
323
- };
324
- '&:hover': {
325
- '&:not([disabled])': {
326
- background: string;
327
- };
328
- '&:disabled': {};
329
- };
330
- padding: string;
331
- fontSize: string;
332
- fontFamily: string;
333
- cursor: string;
334
- fontWeight: number;
335
- display: string;
336
- alignItems: string;
337
- '&&': {
338
- borderRadius: string;
339
- };
340
- };
341
- circular: {
342
- width: string;
343
- height: string;
344
- background: string;
345
- borderRadius: string;
346
- display: string;
347
- justifyContent: string;
348
- alignItems: string;
349
- overflow: string;
350
- cursor: string;
351
- padding: string;
352
- transition: string;
353
- '&:hover': {
354
- filter: string;
355
- };
356
- '&:active': {
357
- transform: string;
358
- };
359
- };
360
- };
361
- cards: {
362
- primary: {
363
- background: string;
364
- borderRadius: string;
365
- };
366
- };
367
- flex: {
368
- dexContainer: {
369
- width: string;
370
- maxWidth: string;
371
- height: string;
372
- background: string;
373
- padding: string[];
374
- borderRadius: string;
375
- flexDirection: string;
376
- };
377
- v3SubDexContainer: {
378
- width: string;
379
- maxWidth: string;
380
- height: string;
381
- background: string;
382
- padding: string[];
383
- borderRadius: string;
384
- margin: string;
385
- flexDirection: string;
386
- };
387
- navContainer: {
388
- height: string;
389
- padding: string;
390
- background: string;
391
- borderRadius: string;
392
- alignItems: string;
393
- cursor: string;
394
- transition: string;
395
- '&:hover': {
396
- filter: string;
397
- };
398
- '&:active': {
399
- transform: string;
400
- };
401
- };
402
- link: {
403
- cursor: string;
404
- textDecoration: string;
405
- display: string;
406
- '::after': {
407
- content: string;
408
- position: string;
409
- background: string;
410
- left: string;
411
- bottom: string;
412
- height: string;
413
- width: string;
414
- borderRadius: string;
415
- transform: string;
416
- transformOrigin: string;
417
- transition: string;
418
- backfaceVisibility: string;
419
- };
420
- ':hover::after': {
421
- transform: string;
422
- transformOrigin: string;
423
- };
424
- };
425
- tag: {
426
- padding: string;
427
- borderRadius: string;
428
- alignItems: string;
429
- justifyContent: string;
430
- };
431
- };
432
- switch: {
433
- backgroundColor: string;
434
- 'input:checked ~ &': {
435
- backgroundColor: string;
436
- };
437
- };
438
- };
439
- export default components;
@@ -1,2 +0,0 @@
1
- export declare const MOBILE_DISPLAY: string[];
2
- export declare const DESKTOP_DISPLAY: string[];
@@ -1,2 +0,0 @@
1
- import type { Theme } from 'theme-ui';
2
- export declare const defaultTheme: Theme;
@@ -1,10 +0,0 @@
1
- export type MediaQueries = {
2
- xs: string;
3
- sm: string;
4
- md: string;
5
- lg: string;
6
- xl: string;
7
- xxl: string;
8
- xxxl: string;
9
- nav: string;
10
- };
@@ -1,7 +0,0 @@
1
- /** @jsxImportSource theme-ui */
2
- import React from 'react';
3
- interface BondsProps {
4
- connectionString?: string;
5
- }
6
- declare const Bonds: React.FC<BondsProps>;
7
- export default Bonds;
@@ -1 +0,0 @@
1
- export { default } from './Bonds';
@@ -1,4 +0,0 @@
1
- import { ThemeUIStyleObject } from 'theme-ui';
2
- export declare function getColumnDiscountStyle(discount: number): ThemeUIStyleObject;
3
- export declare const styles: Record<'tableContainer' | 'headerContainer' | 'bondrowContainer' | 'columnToken' | 'columnDiscount' | 'columnArr' | 'columnTerm' | 'columnTokensRemaining' | 'hotBond', ThemeUIStyleObject>;
4
- export default styles;