@relayprotocol/relay-kit-ui 5.1.0 → 5.1.2
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.
- package/_cjs/src/components/common/BalanceDisplay.js.map +1 -1
- package/_cjs/src/components/common/CustomAddressModal.js +24 -2
- package/_cjs/src/components/common/CustomAddressModal.js.map +1 -1
- package/_cjs/src/components/common/Modal.js +2 -2
- package/_cjs/src/components/common/Modal.js.map +1 -1
- package/_cjs/src/components/common/PercentageButtons.js +64 -0
- package/_cjs/src/components/common/PercentageButtons.js.map +1 -0
- package/_cjs/src/components/common/SlippageToleranceConfig.js +133 -44
- package/_cjs/src/components/common/SlippageToleranceConfig.js.map +1 -1
- package/_cjs/src/components/common/TokenSelector/ChainShortcuts.js +83 -0
- package/_cjs/src/components/common/TokenSelector/ChainShortcuts.js.map +1 -0
- package/_cjs/src/components/common/TokenSelector/MobileChainSelector.js +255 -0
- package/_cjs/src/components/common/TokenSelector/MobileChainSelector.js.map +1 -0
- package/_cjs/src/components/common/TokenSelector/TokenSelector.js +62 -27
- package/_cjs/src/components/common/TokenSelector/TokenSelector.js.map +1 -1
- package/_cjs/src/components/primitives/Dialog.js +6 -5
- package/_cjs/src/components/primitives/Dialog.js.map +1 -1
- package/_cjs/src/components/primitives/Input.js +5 -4
- package/_cjs/src/components/primitives/Input.js.map +1 -1
- package/_cjs/src/components/widgets/SwapWidget/index.js +44 -103
- package/_cjs/src/components/widgets/SwapWidget/index.js.map +1 -1
- package/_cjs/src/styles.css +252 -102
- package/_cjs/src/version.js +1 -1
- package/_cjs/tsconfig.build.tsbuildinfo +1 -1
- package/_esm/src/components/common/BalanceDisplay.js +0 -1
- package/_esm/src/components/common/BalanceDisplay.js.map +1 -1
- package/_esm/src/components/common/CustomAddressModal.js +25 -3
- package/_esm/src/components/common/CustomAddressModal.js.map +1 -1
- package/_esm/src/components/common/Modal.js +2 -2
- package/_esm/src/components/common/Modal.js.map +1 -1
- package/_esm/src/components/common/PercentageButtons.js +61 -0
- package/_esm/src/components/common/PercentageButtons.js.map +1 -0
- package/_esm/src/components/common/SlippageToleranceConfig.js +135 -45
- package/_esm/src/components/common/SlippageToleranceConfig.js.map +1 -1
- package/_esm/src/components/common/TokenSelector/ChainShortcuts.js +84 -0
- package/_esm/src/components/common/TokenSelector/ChainShortcuts.js.map +1 -0
- package/_esm/src/components/common/TokenSelector/MobileChainSelector.js +260 -0
- package/_esm/src/components/common/TokenSelector/MobileChainSelector.js.map +1 -0
- package/_esm/src/components/common/TokenSelector/TokenSelector.js +64 -28
- package/_esm/src/components/common/TokenSelector/TokenSelector.js.map +1 -1
- package/_esm/src/components/primitives/Dialog.js +6 -5
- package/_esm/src/components/primitives/Dialog.js.map +1 -1
- package/_esm/src/components/primitives/Input.js +5 -4
- package/_esm/src/components/primitives/Input.js.map +1 -1
- package/_esm/src/components/widgets/SwapWidget/index.js +52 -111
- package/_esm/src/components/widgets/SwapWidget/index.js.map +1 -1
- package/_esm/src/styles.css +252 -102
- package/_esm/src/version.js +1 -1
- package/_esm/tsconfig.build.tsbuildinfo +1 -1
- package/_types/src/components/common/BalanceDisplay.d.ts.map +1 -1
- package/_types/src/components/common/CustomAddressModal.d.ts.map +1 -1
- package/_types/src/components/common/Modal.d.ts +2 -1
- package/_types/src/components/common/Modal.d.ts.map +1 -1
- package/_types/src/components/common/PercentageButtons.d.ts +15 -0
- package/_types/src/components/common/PercentageButtons.d.ts.map +1 -0
- package/_types/src/components/common/SlippageToleranceConfig.d.ts.map +1 -1
- package/_types/src/components/common/TokenSelector/ChainShortcuts.d.ts +19 -0
- package/_types/src/components/common/TokenSelector/ChainShortcuts.d.ts.map +1 -0
- package/_types/src/components/common/TokenSelector/MobileChainSelector.d.ts +21 -0
- package/_types/src/components/common/TokenSelector/MobileChainSelector.d.ts.map +1 -0
- package/_types/src/components/common/TokenSelector/TokenSelector.d.ts.map +1 -1
- package/_types/src/components/primitives/Dialog.d.ts +1 -0
- package/_types/src/components/primitives/Dialog.d.ts.map +1 -1
- package/_types/src/components/primitives/Input.d.ts +1 -0
- package/_types/src/components/primitives/Input.d.ts.map +1 -1
- package/_types/src/components/widgets/SwapWidget/index.d.ts.map +1 -1
- package/_types/src/version.d.ts +1 -1
- package/_types/tsconfig.build.tsbuildinfo +1 -1
- package/dist/panda.buildinfo.json +74 -34
- package/dist/styles.css +252 -102
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1164,6 +1164,38 @@
|
|
|
1164
1164
|
position: absolute;
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
1167
|
+
.relay-transform_translateY\(-50\%\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1168
|
+
transform: translateY(-50%);
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
.relay-w_24px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1172
|
+
width: 24px;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.relay-h_24px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1176
|
+
height: 24px;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
.relay-min-w_24px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1180
|
+
min-width: 24px;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.relay-min-h_24px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1184
|
+
min-height: 24px;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
.relay-p_0:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1188
|
+
padding: 0;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.relay-rounded_4px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1192
|
+
border-radius: 4px;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
.relay-text_gray8:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1196
|
+
color: var(--relay-colors-gray8);
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1167
1199
|
.relay-text_\#FFA01C:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1168
1200
|
color: #FFA01C;
|
|
1169
1201
|
}
|
|
@@ -1268,24 +1300,56 @@
|
|
|
1268
1300
|
--borderColor: var(--relay-colors-gray-6);
|
|
1269
1301
|
}
|
|
1270
1302
|
|
|
1271
|
-
.relay-
|
|
1272
|
-
|
|
1303
|
+
.relay-w_auto:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1304
|
+
width: auto;
|
|
1273
1305
|
}
|
|
1274
1306
|
|
|
1275
|
-
.relay-
|
|
1276
|
-
|
|
1307
|
+
.relay-py_6px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1308
|
+
padding-block: 6px;
|
|
1277
1309
|
}
|
|
1278
1310
|
|
|
1279
|
-
.relay-
|
|
1280
|
-
height:
|
|
1311
|
+
.relay-min-h_auto:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1312
|
+
min-height: auto;
|
|
1281
1313
|
}
|
|
1282
1314
|
|
|
1283
|
-
.relay-
|
|
1284
|
-
|
|
1315
|
+
.relay-min-h_23px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1316
|
+
min-height: 23px;
|
|
1285
1317
|
}
|
|
1286
1318
|
|
|
1287
|
-
.relay-
|
|
1288
|
-
|
|
1319
|
+
.relay-rounded_6px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1320
|
+
border-radius: 6px;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
.relay-rounded_12px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1324
|
+
border-radius: 12px;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
.relay-flex_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1328
|
+
flex: 1 1 0%;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
.relay-flex_none:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1332
|
+
flex: none;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
.relay-px_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1336
|
+
padding-inline: var(--relay-spacing-1);
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
.relay-border_none:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1340
|
+
border: none;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
.relay-text_white:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1344
|
+
color: white;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
.relay-gap_3:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1348
|
+
gap: var(--relay-spacing-3);
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
.relay-w_50\%:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1352
|
+
width: 50%;
|
|
1289
1353
|
}
|
|
1290
1354
|
|
|
1291
1355
|
.relay-text_subtle:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -1296,30 +1360,54 @@
|
|
|
1296
1360
|
color: var(--relay-colors-red11);
|
|
1297
1361
|
}
|
|
1298
1362
|
|
|
1363
|
+
.relay-max-w_190:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1364
|
+
max-width: 190px;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
.relay-d_none:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1368
|
+
display: none;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1299
1371
|
.relay-max-w_188:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1300
1372
|
max-width: 188px;
|
|
1301
1373
|
}
|
|
1302
1374
|
|
|
1303
|
-
.relay-
|
|
1304
|
-
|
|
1375
|
+
.relay-min-h_32:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1376
|
+
min-height: 32px;
|
|
1305
1377
|
}
|
|
1306
1378
|
|
|
1307
|
-
.relay-
|
|
1308
|
-
|
|
1379
|
+
.relay-py_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1380
|
+
padding-block: var(--relay-spacing-2);
|
|
1309
1381
|
}
|
|
1310
1382
|
|
|
1311
|
-
.relay-
|
|
1312
|
-
|
|
1383
|
+
.relay-bg_subtle-background-color:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1384
|
+
background: var(--relay-colors-subtle-background-color);
|
|
1313
1385
|
}
|
|
1314
1386
|
|
|
1315
|
-
.relay-
|
|
1316
|
-
border:
|
|
1387
|
+
.relay-border_widget-card-border:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1388
|
+
border: var(--relay-borders-widget-card-border);
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
.relay-h_36px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1392
|
+
height: 36px;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
.relay-px_10px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1396
|
+
padding-inline: 10px;
|
|
1317
1397
|
}
|
|
1318
1398
|
|
|
1319
1399
|
.relay-text-align_right:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1320
1400
|
text-align: right;
|
|
1321
1401
|
}
|
|
1322
1402
|
|
|
1403
|
+
.relay-min-h_262px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1404
|
+
min-height: 262px;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
.relay-max-h_90vh:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1408
|
+
max-height: 90vh;
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1323
1411
|
.relay-fill_currentColor:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1324
1412
|
fill: currentColor;
|
|
1325
1413
|
}
|
|
@@ -1364,18 +1452,10 @@
|
|
|
1364
1452
|
padding: var(--relay-spacing-3);
|
|
1365
1453
|
}
|
|
1366
1454
|
|
|
1367
|
-
.relay-gap_3:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1368
|
-
gap: var(--relay-spacing-3);
|
|
1369
|
-
}
|
|
1370
|
-
|
|
1371
1455
|
.relay-bg_gray2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1372
1456
|
background: var(--relay-colors-gray2);
|
|
1373
1457
|
}
|
|
1374
1458
|
|
|
1375
|
-
.relay-rounded_12px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1376
|
-
border-radius: 12px;
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
1459
|
.relay-text_amber9:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1380
1460
|
color: var(--relay-colors-amber9);
|
|
1381
1461
|
}
|
|
@@ -1392,10 +1472,6 @@
|
|
|
1392
1472
|
height: 14px;
|
|
1393
1473
|
}
|
|
1394
1474
|
|
|
1395
|
-
.relay-flex_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1396
|
-
flex: 1 1 0%;
|
|
1397
|
-
}
|
|
1398
|
-
|
|
1399
1475
|
.relay-bg_gray3:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1400
1476
|
background: var(--relay-colors-gray3);
|
|
1401
1477
|
}
|
|
@@ -1454,10 +1530,6 @@
|
|
|
1454
1530
|
transition: filter 250ms linear;
|
|
1455
1531
|
}
|
|
1456
1532
|
|
|
1457
|
-
.relay-text_white:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1458
|
-
color: white;
|
|
1459
|
-
}
|
|
1460
|
-
|
|
1461
1533
|
.relay-rounded_0:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1462
1534
|
border-radius: 0;
|
|
1463
1535
|
}
|
|
@@ -1474,10 +1546,6 @@
|
|
|
1474
1546
|
padding-inline: var(--relay-spacing-3);
|
|
1475
1547
|
}
|
|
1476
1548
|
|
|
1477
|
-
.relay-py_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1478
|
-
padding-block: var(--relay-spacing-2);
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
1549
|
.relay-px_5:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1482
1550
|
padding-inline: var(--relay-spacing-5);
|
|
1483
1551
|
}
|
|
@@ -1784,14 +1852,6 @@
|
|
|
1784
1852
|
color: warningSecondary;
|
|
1785
1853
|
}
|
|
1786
1854
|
|
|
1787
|
-
.relay-px_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1788
|
-
padding-inline: var(--relay-spacing-1);
|
|
1789
|
-
}
|
|
1790
|
-
|
|
1791
|
-
.relay-min-h_23px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1792
|
-
min-height: 23px;
|
|
1793
|
-
}
|
|
1794
|
-
|
|
1795
1855
|
.relay-transform_rotate\(-180deg\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1796
1856
|
transform: rotate(-180deg);
|
|
1797
1857
|
}
|
|
@@ -1932,6 +1992,34 @@
|
|
|
1932
1992
|
scrollbar-color: var(--relay-colors-gray5) transparent;
|
|
1933
1993
|
}
|
|
1934
1994
|
|
|
1995
|
+
.relay-py_10px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1996
|
+
padding-block: 10px;
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
.relay-h_40px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2000
|
+
height: 40px;
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
.relay-rounded_8px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2004
|
+
border-radius: 8px;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
.relay-w_20px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2008
|
+
width: 20px;
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
.relay-min-w_40px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2012
|
+
min-width: 40px;
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
.relay-h_56px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2016
|
+
height: 56px;
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
.relay-text-align_left:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2020
|
+
text-align: left;
|
|
2021
|
+
}
|
|
2022
|
+
|
|
1935
2023
|
.relay-my_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1936
2024
|
margin-block: var(--relay-spacing-2);
|
|
1937
2025
|
}
|
|
@@ -2000,6 +2088,18 @@
|
|
|
2000
2088
|
height: min(85vh, 600px);
|
|
2001
2089
|
}
|
|
2002
2090
|
|
|
2091
|
+
.relay-max-h_min\(85vh\,_600px\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2092
|
+
max-height: min(85vh, 600px);
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
.relay-max-h_100\%:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2096
|
+
max-height: 100%;
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2099
|
+
.relay-rounded_0px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2100
|
+
border-radius: 0px;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2003
2103
|
.relay-py_5:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2004
2104
|
padding-block: var(--relay-spacing-5);
|
|
2005
2105
|
}
|
|
@@ -2072,10 +2172,6 @@
|
|
|
2072
2172
|
width: 32px;
|
|
2073
2173
|
}
|
|
2074
2174
|
|
|
2075
|
-
.relay-w_20px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2076
|
-
width: 20px;
|
|
2077
|
-
}
|
|
2078
|
-
|
|
2079
2175
|
.relay-p_4px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2080
2176
|
padding: 4px;
|
|
2081
2177
|
}
|
|
@@ -2300,10 +2396,6 @@
|
|
|
2300
2396
|
min-height: 28px;
|
|
2301
2397
|
}
|
|
2302
2398
|
|
|
2303
|
-
.relay-text-align_left:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2304
|
-
text-align: left;
|
|
2305
|
-
}
|
|
2306
|
-
|
|
2307
2399
|
.relay-pos_sticky:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2308
2400
|
position: sticky;
|
|
2309
2401
|
}
|
|
@@ -2388,18 +2480,30 @@
|
|
|
2388
2480
|
flex-wrap: wrap;
|
|
2389
2481
|
}
|
|
2390
2482
|
|
|
2391
|
-
.relay-
|
|
2392
|
-
right:
|
|
2483
|
+
.relay-right_8px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2484
|
+
right: 8px;
|
|
2393
2485
|
}
|
|
2394
2486
|
|
|
2395
|
-
.relay-
|
|
2396
|
-
top:
|
|
2487
|
+
.relay-top_50\%:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2488
|
+
top: 50%;
|
|
2397
2489
|
}
|
|
2398
2490
|
|
|
2399
2491
|
.relay-justify_center:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2400
2492
|
justify-content: center;
|
|
2401
2493
|
}
|
|
2402
2494
|
|
|
2495
|
+
.relay-bg_gray3:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2496
|
+
background-color: var(--relay-colors-gray3);
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
.relay-right_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2500
|
+
right: var(--relay-spacing-2);
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
.relay-top_3:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2504
|
+
top: var(--relay-spacing-3);
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2403
2507
|
.relay-top_0:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2404
2508
|
top: 0;
|
|
2405
2509
|
}
|
|
@@ -2428,26 +2532,50 @@
|
|
|
2428
2532
|
flex-shrink: 0;
|
|
2429
2533
|
}
|
|
2430
2534
|
|
|
2431
|
-
.relay-
|
|
2432
|
-
|
|
2535
|
+
.relay-mb_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2536
|
+
margin-bottom: var(--relay-spacing-1);
|
|
2433
2537
|
}
|
|
2434
2538
|
|
|
2435
|
-
.relay-
|
|
2436
|
-
|
|
2539
|
+
.relay-mb_0:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2540
|
+
margin-bottom: 0;
|
|
2437
2541
|
}
|
|
2438
2542
|
|
|
2439
|
-
.relay-
|
|
2440
|
-
|
|
2543
|
+
.relay-fs_14:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2544
|
+
font-size: 14px;
|
|
2441
2545
|
}
|
|
2442
2546
|
|
|
2443
|
-
.relay-
|
|
2444
|
-
|
|
2547
|
+
.relay-fs_12:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2548
|
+
font-size: 12px;
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2551
|
+
.relay-fw_500:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2552
|
+
font-weight: 500;
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
.relay-leading_100\%:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2556
|
+
line-height: 100%;
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
.relay-bg_widget-selector-background:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2560
|
+
background-color: var(--relay-colors-widget-selector-background);
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
.relay-leading_14px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2564
|
+
line-height: 14px;
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
.relay-flex_row:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2568
|
+
flex-direction: row;
|
|
2445
2569
|
}
|
|
2446
2570
|
|
|
2447
2571
|
.relay-pr_28px\!:not(#\#) {
|
|
2448
2572
|
padding-right: 28px !important;
|
|
2449
2573
|
}
|
|
2450
2574
|
|
|
2575
|
+
.relay-right_8:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2576
|
+
right: 8px;
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2451
2579
|
.relay-ml_-20px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2452
2580
|
margin-left: -20px;
|
|
2453
2581
|
}
|
|
@@ -2456,14 +2584,6 @@
|
|
|
2456
2584
|
margin-left: 0;
|
|
2457
2585
|
}
|
|
2458
2586
|
|
|
2459
|
-
.relay-fw_500:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2460
|
-
font-weight: 500;
|
|
2461
|
-
}
|
|
2462
|
-
|
|
2463
|
-
.relay-fs_14:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2464
|
-
font-size: 14px;
|
|
2465
|
-
}
|
|
2466
|
-
|
|
2467
2587
|
.relay-fw_900:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2468
2588
|
font-weight: 900;
|
|
2469
2589
|
}
|
|
@@ -2504,10 +2624,6 @@
|
|
|
2504
2624
|
background-color: var(--relay-colors-amber3);
|
|
2505
2625
|
}
|
|
2506
2626
|
|
|
2507
|
-
.relay-bg_gray3:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2508
|
-
background-color: var(--relay-colors-gray3);
|
|
2509
|
-
}
|
|
2510
|
-
|
|
2511
2627
|
.relay-leading_16px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2512
2628
|
line-height: 16px;
|
|
2513
2629
|
}
|
|
@@ -2720,18 +2836,6 @@
|
|
|
2720
2836
|
align-self: flex-start;
|
|
2721
2837
|
}
|
|
2722
2838
|
|
|
2723
|
-
.relay-fs_12:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2724
|
-
font-size: 12px;
|
|
2725
|
-
}
|
|
2726
|
-
|
|
2727
|
-
.relay-leading_100\%:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2728
|
-
line-height: 100%;
|
|
2729
|
-
}
|
|
2730
|
-
|
|
2731
|
-
.relay-bg_widget-selector-background:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2732
|
-
background-color: var(--relay-colors-widget-selector-background);
|
|
2733
|
-
}
|
|
2734
|
-
|
|
2735
2839
|
.relay-ml_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2736
2840
|
margin-left: var(--relay-spacing-2);
|
|
2737
2841
|
}
|
|
@@ -2800,6 +2904,10 @@
|
|
|
2800
2904
|
background-color: var(--relay-colors-gray6);
|
|
2801
2905
|
}
|
|
2802
2906
|
|
|
2907
|
+
.relay-overflow-x_auto:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2908
|
+
overflow-x: auto;
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2803
2911
|
.relay-pr_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2804
2912
|
padding-right: var(--relay-spacing-2);
|
|
2805
2913
|
}
|
|
@@ -2820,6 +2928,10 @@
|
|
|
2820
2928
|
overflow-y: hidden;
|
|
2821
2929
|
}
|
|
2822
2930
|
|
|
2931
|
+
.relay-pb_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2932
|
+
padding-bottom: var(--relay-spacing-1);
|
|
2933
|
+
}
|
|
2934
|
+
|
|
2823
2935
|
.relay-pt_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2824
2936
|
padding-top: var(--relay-spacing-2);
|
|
2825
2937
|
}
|
|
@@ -2920,14 +3032,6 @@
|
|
|
2920
3032
|
justify-items: space-between;
|
|
2921
3033
|
}
|
|
2922
3034
|
|
|
2923
|
-
.relay-mb_1:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2924
|
-
margin-bottom: var(--relay-spacing-1);
|
|
2925
|
-
}
|
|
2926
|
-
|
|
2927
|
-
.relay-mb_0:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2928
|
-
margin-bottom: 0;
|
|
2929
|
-
}
|
|
2930
|
-
|
|
2931
3035
|
.relay-scroll-pt_40px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2932
3036
|
scroll-padding-top: 40px;
|
|
2933
3037
|
}
|
|
@@ -3242,6 +3346,14 @@
|
|
|
3242
3346
|
transform: scale(1.25);
|
|
3243
3347
|
}
|
|
3244
3348
|
|
|
3349
|
+
.hover\:relay-bg_widget-selector-hover-background:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3350
|
+
background-color: var(--relay-colors-widget-selector-hover-background);
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3353
|
+
.\[\&\:hover\]\:relay-bg_gray5:hover:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3354
|
+
background-color: var(--relay-colors-gray5);
|
|
3355
|
+
}
|
|
3356
|
+
|
|
3245
3357
|
.\[\&\:hover\]\:relay-bg_primary-button-hover-background:hover:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3246
3358
|
background-color: var(--relay-colors-primary-button-hover-background);
|
|
3247
3359
|
}
|
|
@@ -3267,10 +3379,6 @@
|
|
|
3267
3379
|
background-color: var(--mix-backgroundColor, gray);
|
|
3268
3380
|
}
|
|
3269
3381
|
|
|
3270
|
-
.hover\:relay-bg_widget-selector-hover-background:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3271
|
-
background-color: var(--relay-colors-widget-selector-hover-background);
|
|
3272
|
-
}
|
|
3273
|
-
|
|
3274
3382
|
.hover\:relay-bg_gray3:is(:hover, [data-hover]):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3275
3383
|
background-color: var(--relay-colors-gray3);
|
|
3276
3384
|
}
|
|
@@ -3323,6 +3431,12 @@ button:hover:not(#\#):not(#\#):not(#\#):not(#\#) .\[button\:hover_\&\]\:relay-bg
|
|
|
3323
3431
|
}
|
|
3324
3432
|
|
|
3325
3433
|
@media screen and (min-width: 37.5rem) {
|
|
3434
|
+
.sm\:relay-w_386:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3435
|
+
width: 386px;
|
|
3436
|
+
}
|
|
3437
|
+
.sm\:relay-gap_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3438
|
+
gap: var(--relay-spacing-2);
|
|
3439
|
+
}
|
|
3326
3440
|
.sm\:relay-w_370:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3327
3441
|
width: 370px;
|
|
3328
3442
|
}
|
|
@@ -3331,9 +3445,21 @@ button:hover:not(#\#):not(#\#):not(#\#):not(#\#) .\[button\:hover_\&\]\:relay-bg
|
|
|
3331
3445
|
}
|
|
3332
3446
|
.sm\:relay-max-w_532px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3333
3447
|
max-width: 532px;
|
|
3448
|
+
}
|
|
3449
|
+
.sm\:relay-max-w_100\%:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3450
|
+
max-width: 100%;
|
|
3451
|
+
}
|
|
3452
|
+
.sm\:relay-d_block:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3453
|
+
display: block;
|
|
3454
|
+
}
|
|
3455
|
+
.sm\:relay-d_none:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3456
|
+
display: none;
|
|
3334
3457
|
}
|
|
3335
3458
|
.sm\:relay-max-w_400px\!:not(#\#) {
|
|
3336
3459
|
max-width: 400px !important;
|
|
3460
|
+
}
|
|
3461
|
+
.sm\:relay-fs_12px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3462
|
+
font-size: 12px;
|
|
3337
3463
|
}
|
|
3338
3464
|
}
|
|
3339
3465
|
|
|
@@ -3355,6 +3481,30 @@ button:hover:not(#\#):not(#\#):not(#\#):not(#\#) .\[button\:hover_\&\]\:relay-bg
|
|
|
3355
3481
|
}
|
|
3356
3482
|
}
|
|
3357
3483
|
|
|
3484
|
+
@media screen and (max-width: 37.4975rem) {
|
|
3485
|
+
.smDown\:relay-d_flex:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3486
|
+
display: flex;
|
|
3487
|
+
}
|
|
3488
|
+
.smDown\:relay-w_100\%:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3489
|
+
width: 100%;
|
|
3490
|
+
}
|
|
3491
|
+
.smDown\:relay-gap_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3492
|
+
gap: var(--relay-spacing-2);
|
|
3493
|
+
}
|
|
3494
|
+
.smDown\:relay---borderColor_colors\.gray\.5:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3495
|
+
--borderColor: var(--relay-colors-gray-5);
|
|
3496
|
+
}
|
|
3497
|
+
.smDown\:relay-border_1px_solid_var\(--borderColor\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3498
|
+
border: 1px solid var(--borderColor);
|
|
3499
|
+
}
|
|
3500
|
+
.smDown\:relay-mb_2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3501
|
+
margin-bottom: var(--relay-spacing-2);
|
|
3502
|
+
}
|
|
3503
|
+
.smDown\:relay-bg_transparent:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3504
|
+
background-color: transparent;
|
|
3505
|
+
}
|
|
3506
|
+
}
|
|
3507
|
+
|
|
3358
3508
|
@media(max-width: 520px) {
|
|
3359
3509
|
.\[\@media\(max-width\:_520px\)\]\:relay-w_100\%:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
3360
3510
|
width: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relayprotocol/relay-kit-ui",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./_cjs/src/index.js",
|
|
6
6
|
"module": "./_esm/src/index.js",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"pandacss-preset-radix-colors": "^0.2.0",
|
|
80
80
|
"qrcode.react": "^4.1.0",
|
|
81
81
|
"usehooks-ts": "^3.1.0",
|
|
82
|
-
"@relayprotocol/relay-design-system": "^1.0.0",
|
|
83
82
|
"@relayprotocol/relay-kit-hooks": "2.0.8",
|
|
84
|
-
"@relayprotocol/relay-sdk": "3.1.0"
|
|
83
|
+
"@relayprotocol/relay-sdk": "3.1.0",
|
|
84
|
+
"@relayprotocol/relay-design-system": "^1.0.0"
|
|
85
85
|
},
|
|
86
86
|
"keywords": [
|
|
87
87
|
"eth",
|