@ape.swap/bonds-sdk 1.0.693 → 1.0.694

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.
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "theme-ui/jsx-runtime";
2
2
  import BondRowsWithTitle from './BondRowsWithTitle';
3
- import { Flex } from '../uikit-sdk';
4
3
  import { MAINNET_CHAINS } from '../../config/constants/chains';
5
4
  import '../../scss/BondRowsByChain.scss';
5
+ import { Flex } from 'theme-ui';
6
6
  var BondRowsByChain = function (_a) {
7
7
  var bonds = _a.bonds, hotBonds = _a.hotBonds, hideTitles = _a.hideTitles, rowClick = _a.rowClick, chains = _a.chains;
8
8
  return (_jsx(Flex, { className: "bondrowsbychain", children: (MAINNET_CHAINS.map(function (chain, index) {
@@ -3,8 +3,8 @@ import { AnimatePresence, motion } from "framer-motion";
3
3
  import ChainTitle from "./ChainTitle";
4
4
  import BondRow from "./BondRow";
5
5
  import { useState } from "react";
6
- import { Flex } from "../uikit-sdk";
7
6
  import '../../scss/BondRowsWithTitle.scss';
7
+ import { Flex } from "theme-ui";
8
8
  var BondRowsWithTitle = function (_a) {
9
9
  var chain = _a.chain, bonds = _a.bonds, hotBonds = _a.hotBonds, hideTitles = _a.hideTitles, rowClick = _a.rowClick;
10
10
  var billsFilteredByChain = bonds.filter(function (bill) { return bill.chainId === chain; });
@@ -328,6 +328,7 @@
328
328
  }
329
329
 
330
330
  .max-button {
331
+
331
332
  background: var(--theme-ui-colors-primaryButton);
332
333
  height: 22px;
333
334
  padding-left: 8px;
@@ -71,7 +71,7 @@
71
71
  align-items: center;
72
72
  width: 25%;
73
73
  font-size: 11px;
74
- color: var(--theme-ui-colors-textDisabled)
74
+ color: var(--theme-ui-colors-text)
75
75
  }
76
76
 
77
77
  .yourbonds.header-pending {
@@ -80,7 +80,7 @@
80
80
  align-items: center;
81
81
  width: 25%;
82
82
  font-size: 11px;
83
- color: var(--theme-ui-colors-textDisabled)
83
+ color: var(--theme-ui-colors-text)
84
84
  }
85
85
 
86
86
  .yourbonds.header-terms {
@@ -89,7 +89,7 @@
89
89
  align-items: center;
90
90
  width: 25%;
91
91
  font-size: 11px;
92
- color: var(--theme-ui-colors-textDisabled)
92
+ color: var(--theme-ui-colors-text)
93
93
  }
94
94
 
95
95
  .yourbonds.header-claimall {
@@ -138,15 +138,18 @@
138
138
  }
139
139
 
140
140
  .claim-button {
141
- height: 36px;
142
- line-height: 12px;
143
- font-size: 14px;
144
- font-weight: 600;
145
- width: 100%;
146
-
147
- @media (min-width: 1024px) {
148
- height: 26px;
149
- }
141
+
142
+ Button {
143
+ height: 36px;
144
+ line-height: 12px;
145
+ font-size: 14px;
146
+ font-weight: 600;
147
+ width: 100%;
148
+
149
+ @media (min-width: 1024px) {
150
+ height: 26px;
151
+ }
152
+ }
150
153
  }
151
154
 
152
155
  .toast {
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.693",
6
+ "version": "1.0.694",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",
@@ -1,376 +0,0 @@
1
- .container.page-container {
2
- width: 100%;
3
- display: flex;
4
- flex-direction: column;
5
- padding-top: 50px;
6
- padding-left: 100px;
7
- padding-right: 100px;
8
- padding-bottom: 50px;
9
- }
10
-
11
- .container.blocks-container {
12
- display: flex;
13
- flex-direction: row;
14
- align-items: center;
15
- width: 100%;
16
- justify-content: space-around;
17
- margin-bottom: 10px;
18
- margin-top: 5px;
19
- }
20
-
21
- .block-container {
22
- display: flex;
23
- flex-direction: column;
24
- justify-content: center;
25
- align-items: center;
26
- background: var(--theme-ui-colors-white2);
27
- font-weight: 900;
28
- font-size: 16px;
29
- border-radius: 10px;
30
- height: 90%;
31
- padding-top: 5px;
32
- padding-bottom: 10px;
33
- }
34
-
35
- .block-container.header {
36
- display: flex;
37
- flex-direction: row;
38
- color: white;
39
- font-weight: bold;
40
- font-size: 12px;
41
- padding-bottom: 10px;
42
- }
43
-
44
- .block-container.icon {
45
- padding-left: 5px;
46
- align-items: start;
47
- cursor: pointer;
48
- opacity: 0.6;
49
- }
50
-
51
- .block-container.discount {
52
- margin: 0px 10px 0px 0px;
53
- width: 350px;
54
- }
55
-
56
- .discount-positive {
57
- color: #38A611;
58
- }
59
-
60
- .discount-negative {
61
- color: #DF4141;
62
- }
63
-
64
- .block-container.arr {
65
- margin: 0px 10px 0px 0px;
66
- width: 350px;
67
- }
68
-
69
- .block-container.term {
70
- margin: 0px 10px 0px 0px;
71
- width: 350px;
72
- }
73
-
74
- .block-container.maxbuy {
75
- width: 350px;
76
- }
77
-
78
- .container.bondinfo-graph-container {
79
- display: flex;
80
- flex-direction: row;
81
- padding-top: 10px;
82
- padding-bottom: 10px;
83
- }
84
-
85
- .container.graph-container {
86
- display: flex;
87
- flex-direction: column;
88
- align-items: center;
89
- background: var(--theme-ui-colors-white2);
90
- font-weight: 900;
91
- font-size: 16px;
92
- border-radius: 10px;
93
- height: 100%;
94
- width: 100%;
95
- padding: 10px;
96
- min-width: 500px;
97
- min-height: 400px;
98
- margin-left: 10px;
99
- }
100
-
101
- .container.bondinfo-container {
102
- display: flex;
103
- flex-direction: column;
104
- align-items: center;
105
- background: var(--theme-ui-colors-white2);
106
- font-weight: 900;
107
- font-size: 16px;
108
- border-radius: 10px;
109
- height: 100%;
110
- width: 100%;
111
- padding: 20px;
112
- min-width: 500px;
113
- margin-right: 10px;
114
- }
115
-
116
- .bondinfo-container.title-container {
117
- font-weight: bold;
118
- font-size: 1.5rem;
119
- display: flex;
120
- flex-direction: row;
121
- align-items: center;
122
- padding-top: 5px;
123
- padding-bottom: 5px;
124
- width:100%;
125
- }
126
-
127
- .title-container.bondicon {
128
- display: flex;
129
- flex-direction: row;
130
- align-items: center;
131
- }
132
-
133
- .title-container.bondname {
134
- display: flex;
135
- flex-direction: row;
136
- align-items: center;
137
- padding-left: 20px;
138
- }
139
-
140
- .title-container.price-container {
141
- display: flex;
142
- flex-direction: column;
143
- padding-left: 10px;
144
- }
145
-
146
-
147
- .price-container.price {
148
- font-size: 14px;
149
- color: var(--theme-ui-colors-gray);
150
- text-decoration: line-through;
151
- }
152
-
153
- .price-container.discounted {
154
- display: flex;
155
- }
156
-
157
- .title-container.tokentags {
158
- display: flex;
159
- align-items: center;
160
- padding-left: 10px;
161
- }
162
-
163
- .bondinfo-container.description-container {
164
- display: flex;
165
- align-items: start;
166
- padding-top: 10px;
167
- padding-bottom: 10px;
168
- font-weight: normal;
169
- }
170
-
171
- .bondinfo-container.text-container {
172
- display: flex;
173
- flex-direction: column;
174
- justify-content: center;
175
- font-size: 12px;
176
- width: 100%;
177
- }
178
-
179
- .text-container.row {
180
- padding-top: 2px;
181
- padding-bottom: 2px;
182
- display: flex;
183
- flex-direction: row;
184
- justify-content: space-between;
185
- }
186
-
187
- .row-container {
188
- display: flex;
189
- }
190
-
191
- .row-container.spend {
192
- display: flex;
193
- }
194
-
195
- .row-container.spend-val {
196
- display: flex;
197
- }
198
-
199
- .row-container.premium {
200
- display: flex;
201
- }
202
-
203
- .row-container.premium-val {
204
- display: flex;
205
- }
206
-
207
- .row-container.get {
208
- display: flex;
209
- }
210
-
211
- .row-container.get-val {
212
- display: flex;
213
- }
214
-
215
- .premium-positive {
216
- color: #38A611;
217
- }
218
-
219
- .premium-negative {
220
- color: #DF4141;
221
- }
222
-
223
- .bondinfo-container.input-container {
224
- display: flex;
225
- flex-direction: row;
226
- background: var(--theme-ui-colors-white3);
227
- border-radius: 10px;
228
- min-height: 100px;
229
- margin-top: 10px;
230
- margin-bottom: 0px;
231
- padding: 10px;
232
- width: 100%;
233
- }
234
-
235
- .input-container.input {
236
- background: var(--theme-ui-colors-white3);
237
- border-radius: 10px;
238
- border: medium;
239
- padding-right: 10px;
240
- width: 80%;
241
- height: 50px;
242
- font-size: 22px;
243
- }
244
-
245
- .input-container.token {
246
- display: flex;
247
- align-items: center;
248
- font-size: 12px;
249
- font-weight: bold;
250
- background: var(--theme-ui-colors-white4);
251
- border-radius: 10px;
252
- position: relative;
253
- width: 190px;
254
- height: 40px;
255
- padding: 5px 4px;
256
- cursor: unset;
257
- }
258
-
259
- .bondinfo-container.button-container {
260
- width: 100%;
261
- padding-top: 10px;
262
- display: flex;
263
- flex-direction: row;
264
- justify-content: space-between;
265
- }
266
-
267
- .button-container.get {
268
- justify-content: center;
269
- align-items: center;
270
- padding-right: 5px;
271
- cursor: pointer;
272
-
273
- Button {
274
- width: 275px;
275
- }
276
- }
277
-
278
- .button-container.buy {
279
- justify-content: center;
280
- align-items: center;
281
- padding-left: 5px;
282
- cursor: pointer;
283
-
284
- Button {
285
- width: 375px;
286
- }
287
- }
288
-
289
- .container.about-container {
290
- display: flex;
291
- flex-direction: column;
292
- align-items: center;
293
- background: var(--theme-ui-colors-white2);
294
- font-weight: 900;
295
- font-size: 16px;
296
- border-radius: 10px;
297
- height: 100%;
298
- width: 100%;
299
- padding: 20px;
300
- min-width: 700px;
301
- min-height: 200px;
302
- margin-top: 10px;
303
- margin-bottom: 10px;
304
- }
305
-
306
- .about-container.title {
307
- font-weight: bold;
308
- font-size: 1.5rem;
309
- display: flex;
310
- flex-direction: row;
311
- padding-bottom: 20px;
312
- width: 100%;
313
- }
314
-
315
- .about-container.description {
316
- font-weight: normal;
317
- display: flex;
318
- width: 100%;
319
- }
320
-
321
- .container.stats-container {
322
- display: flex;
323
- flex-direction: column;
324
- align-items: center;
325
- background: var(--theme-ui-colors-white2);
326
- font-weight: 900;
327
- font-size: 16px;
328
- border-radius: 10px;
329
- height: 100%;
330
- width: 100%;
331
- padding: 20px;
332
- min-width: 700px;
333
- min-height: 200px;
334
- margin-top: 10px;
335
- }
336
-
337
- .stats-container.header {
338
- font-weight: bold;
339
- font-size: 1.5rem;
340
- display: flex;
341
- flex-direction: row;
342
- padding-bottom: 20px;
343
- width: 100%;
344
- }
345
-
346
- .stats-container.model {
347
- display: flex;
348
- flex-direction: row;
349
- padding-top: 10px;
350
- padding-bottom: 10px;
351
- min-width: 700px;
352
- min-height: 300px;
353
- width: 100%;
354
- }
355
-
356
- .model-container.graph {
357
- display: flex;
358
- width: 100%;
359
- background: var(--theme-ui-colors-white3);
360
- margin-right: 10px;
361
- align-items: center;
362
- justify-content: center;
363
- min-width: 600px;
364
- border-radius: 10px;
365
- }
366
-
367
- .model-container.data {
368
- display: flex;
369
- width: 100%;
370
- background: var(--theme-ui-colors-white3);
371
- margin-left: 10px;
372
- align-items: center;
373
- justify-content: center;
374
- min-width: 100px;
375
- border-radius: 10px;
376
- }