@ape.swap/bonds-sdk 1.0.676 → 1.0.678
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.
|
@@ -261,6 +261,12 @@ var YourBonds = function (_a) {
|
|
|
261
261
|
event.stopPropagation();
|
|
262
262
|
// Add your claim logic here
|
|
263
263
|
handleClaim(bill.id, bill.address);
|
|
264
|
+
}, sx: {
|
|
265
|
+
height: ['36px', '36px', '36px', '26px'],
|
|
266
|
+
lineHeight: '12px',
|
|
267
|
+
fontSize: '14px',
|
|
268
|
+
fontWeight: 600,
|
|
269
|
+
width: '100%',
|
|
264
270
|
}, children: "Claim" }) })] })] }, bill.id));
|
|
265
271
|
})] }))] }));
|
|
266
272
|
};
|
package/dist/scss/YourBonds.scss
CHANGED
|
@@ -136,10 +136,6 @@
|
|
|
136
136
|
font-size: 14px;
|
|
137
137
|
font-weight: 600;
|
|
138
138
|
width: 100%;
|
|
139
|
-
background-color: var(--theme-ui-colors-primaryButton);
|
|
140
|
-
color: white;
|
|
141
|
-
border: 3px solid var(--theme-ui-colors-primaryButton);
|
|
142
|
-
border-radius: 10px;
|
|
143
139
|
|
|
144
140
|
@media (min-width: 1024px) {
|
|
145
141
|
height: 26px;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const buttonHover: {
|
|
2
2
|
'&:not([disabled])': {
|
|
3
|
+
borderColor: string;
|
|
4
|
+
background: string;
|
|
3
5
|
opacity: number;
|
|
4
6
|
};
|
|
5
7
|
'&:disabled': {};
|
|
@@ -198,9 +200,15 @@ declare const components: {
|
|
|
198
200
|
'&:disabled': {};
|
|
199
201
|
};
|
|
200
202
|
padding: string;
|
|
203
|
+
fontSize: string;
|
|
204
|
+
fontFamily: string;
|
|
201
205
|
cursor: string;
|
|
206
|
+
fontWeight: number;
|
|
202
207
|
display: string;
|
|
203
208
|
alignItems: string;
|
|
209
|
+
'&&': {
|
|
210
|
+
borderRadius: string;
|
|
211
|
+
};
|
|
204
212
|
};
|
|
205
213
|
secondary: {
|
|
206
214
|
background: string;
|
|
@@ -219,9 +227,15 @@ declare const components: {
|
|
|
219
227
|
'&:disabled': {};
|
|
220
228
|
};
|
|
221
229
|
padding: string;
|
|
230
|
+
fontSize: string;
|
|
231
|
+
fontFamily: string;
|
|
222
232
|
cursor: string;
|
|
233
|
+
fontWeight: number;
|
|
223
234
|
display: string;
|
|
224
235
|
alignItems: string;
|
|
236
|
+
'&&': {
|
|
237
|
+
borderRadius: string;
|
|
238
|
+
};
|
|
225
239
|
};
|
|
226
240
|
tertiary: {
|
|
227
241
|
background: string;
|
|
@@ -239,9 +253,15 @@ declare const components: {
|
|
|
239
253
|
'&:disabled': {};
|
|
240
254
|
};
|
|
241
255
|
padding: string;
|
|
256
|
+
fontSize: string;
|
|
257
|
+
fontFamily: string;
|
|
242
258
|
cursor: string;
|
|
259
|
+
fontWeight: number;
|
|
243
260
|
display: string;
|
|
244
261
|
alignItems: string;
|
|
262
|
+
'&&': {
|
|
263
|
+
borderRadius: string;
|
|
264
|
+
};
|
|
245
265
|
};
|
|
246
266
|
text: {
|
|
247
267
|
background: string;
|
|
@@ -258,9 +278,15 @@ declare const components: {
|
|
|
258
278
|
color: string;
|
|
259
279
|
};
|
|
260
280
|
padding: string;
|
|
281
|
+
fontSize: string;
|
|
282
|
+
fontFamily: string;
|
|
261
283
|
cursor: string;
|
|
284
|
+
fontWeight: number;
|
|
262
285
|
display: string;
|
|
263
286
|
alignItems: string;
|
|
287
|
+
'&&': {
|
|
288
|
+
borderRadius: string;
|
|
289
|
+
};
|
|
264
290
|
};
|
|
265
291
|
success: {
|
|
266
292
|
background: string;
|
|
@@ -277,9 +303,15 @@ declare const components: {
|
|
|
277
303
|
'&:disabled': {};
|
|
278
304
|
};
|
|
279
305
|
padding: string;
|
|
306
|
+
fontSize: string;
|
|
307
|
+
fontFamily: string;
|
|
280
308
|
cursor: string;
|
|
309
|
+
fontWeight: number;
|
|
281
310
|
display: string;
|
|
282
311
|
alignItems: string;
|
|
312
|
+
'&&': {
|
|
313
|
+
borderRadius: string;
|
|
314
|
+
};
|
|
283
315
|
};
|
|
284
316
|
danger: {
|
|
285
317
|
background: string;
|
|
@@ -296,9 +328,15 @@ declare const components: {
|
|
|
296
328
|
'&:disabled': {};
|
|
297
329
|
};
|
|
298
330
|
padding: string;
|
|
331
|
+
fontSize: string;
|
|
332
|
+
fontFamily: string;
|
|
299
333
|
cursor: string;
|
|
334
|
+
fontWeight: number;
|
|
300
335
|
display: string;
|
|
301
336
|
alignItems: string;
|
|
337
|
+
'&&': {
|
|
338
|
+
borderRadius: string;
|
|
339
|
+
};
|
|
302
340
|
};
|
|
303
341
|
circular: {
|
|
304
342
|
width: string;
|
package/dist/theme/components.js
CHANGED
|
@@ -11,8 +11,8 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
export var buttonHover = {
|
|
13
13
|
'&:not([disabled])': {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
borderColor: 'var(--theme-ui-colors-primaryButton)',
|
|
15
|
+
background: 'var(--theme-ui-colors-primaryButton)',
|
|
16
16
|
opacity: 0.6,
|
|
17
17
|
},
|
|
18
18
|
'&:disabled': {},
|
|
@@ -39,15 +39,15 @@ export var textUnderlineHover = {
|
|
|
39
39
|
};
|
|
40
40
|
var buttonBaseStyles = {
|
|
41
41
|
padding: '10px 20px 10px 19px',
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
fontSize: '16px',
|
|
43
|
+
fontFamily: 'body',
|
|
44
44
|
cursor: 'pointer',
|
|
45
|
-
|
|
45
|
+
fontWeight: 700,
|
|
46
46
|
display: 'flex',
|
|
47
47
|
alignItems: 'center',
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
'&&': {
|
|
49
|
+
borderRadius: 'normal',
|
|
50
|
+
},
|
|
51
51
|
};
|
|
52
52
|
var components = {
|
|
53
53
|
text: {
|