@relayprotocol/relay-kit-ui 4.0.18 → 5.0.0
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/CustomAddressModal.js +16 -6
- package/_cjs/src/components/common/CustomAddressModal.js.map +1 -1
- package/_cjs/src/components/common/StepIcon.js +39 -0
- package/_cjs/src/components/common/StepIcon.js.map +1 -0
- package/_cjs/src/components/common/TransactionModal/DepositAddressModal.js +1 -1
- package/_cjs/src/components/common/TransactionModal/DepositAddressModal.js.map +1 -1
- package/_cjs/src/components/common/TransactionModal/DepositAddressModalRenderer.js +2 -2
- package/_cjs/src/components/common/TransactionModal/DepositAddressModalRenderer.js.map +1 -1
- package/_cjs/src/components/common/TransactionModal/TransactionModal.js +3 -3
- package/_cjs/src/components/common/TransactionModal/TransactionModal.js.map +1 -1
- package/_cjs/src/components/common/TransactionModal/TransactionModalRenderer.js +33 -14
- package/_cjs/src/components/common/TransactionModal/TransactionModalRenderer.js.map +1 -1
- package/_cjs/src/components/common/TransactionModal/steps/DepositAddressValidatingStep.js +1 -1
- package/_cjs/src/components/common/TransactionModal/steps/DepositAddressValidatingStep.js.map +1 -1
- package/_cjs/src/components/common/TransactionModal/steps/ErrorStep.js +29 -17
- package/_cjs/src/components/common/TransactionModal/steps/ErrorStep.js.map +1 -1
- package/_cjs/src/components/common/TransactionModal/steps/SwapConfirmationStep.js +85 -48
- package/_cjs/src/components/common/TransactionModal/steps/SwapConfirmationStep.js.map +1 -1
- package/_cjs/src/components/common/TransactionModal/steps/SwapSuccessStep.js +100 -42
- package/_cjs/src/components/common/TransactionModal/steps/SwapSuccessStep.js.map +1 -1
- package/_cjs/src/components/common/TransactionModal/steps/TransactionsByChain.js +48 -34
- package/_cjs/src/components/common/TransactionModal/steps/TransactionsByChain.js.map +1 -1
- package/_cjs/src/components/primitives/Button.js +3 -3
- package/_cjs/src/components/primitives/Button.js.map +1 -1
- package/_cjs/src/components/primitives/ChainTokenIcon.js +6 -3
- package/_cjs/src/components/primitives/ChainTokenIcon.js.map +1 -1
- package/_cjs/src/components/widgets/OnrampWidget/modals/OnrampModal.js +1 -1
- package/_cjs/src/components/widgets/OnrampWidget/modals/OnrampModal.js.map +1 -1
- package/_cjs/src/components/widgets/SwapWidgetRenderer.js +6 -6
- package/_cjs/src/components/widgets/SwapWidgetRenderer.js.map +1 -1
- package/_cjs/src/constants/walletCompatibility.js +4 -1
- package/_cjs/src/constants/walletCompatibility.js.map +1 -1
- package/_cjs/src/icons/ArrowLeftToLine.js +10 -0
- package/_cjs/src/icons/ArrowLeftToLine.js.map +1 -0
- package/_cjs/src/icons/ArrowRightFromLine.js +10 -0
- package/_cjs/src/icons/ArrowRightFromLine.js.map +1 -0
- package/_cjs/src/icons/FileSignature.js +10 -0
- package/_cjs/src/icons/FileSignature.js.map +1 -0
- package/_cjs/src/icons/RelayIcon.js +10 -0
- package/_cjs/src/icons/RelayIcon.js.map +1 -0
- package/_cjs/src/icons/Shuffle.js +10 -0
- package/_cjs/src/icons/Shuffle.js.map +1 -0
- package/_cjs/src/icons/index.js +11 -1
- package/_cjs/src/icons/index.js.map +1 -1
- package/_cjs/src/styles.css +94 -90
- package/_cjs/src/utils/localStorage.js +31 -2
- package/_cjs/src/utils/localStorage.js.map +1 -1
- package/_cjs/src/utils/relayTransaction.js +7 -35
- package/_cjs/src/utils/relayTransaction.js.map +1 -1
- package/_cjs/src/utils/steps.js +304 -61
- package/_cjs/src/utils/steps.js.map +1 -1
- package/_cjs/src/version.js +1 -1
- package/_cjs/src/version.js.map +1 -1
- package/_cjs/tsconfig.build.tsbuildinfo +1 -1
- package/_esm/src/components/common/CustomAddressModal.js +19 -7
- package/_esm/src/components/common/CustomAddressModal.js.map +1 -1
- package/_esm/src/components/common/StepIcon.js +36 -0
- package/_esm/src/components/common/StepIcon.js.map +1 -0
- package/_esm/src/components/common/TransactionModal/DepositAddressModal.js +1 -1
- package/_esm/src/components/common/TransactionModal/DepositAddressModal.js.map +1 -1
- package/_esm/src/components/common/TransactionModal/DepositAddressModalRenderer.js +2 -2
- package/_esm/src/components/common/TransactionModal/DepositAddressModalRenderer.js.map +1 -1
- package/_esm/src/components/common/TransactionModal/TransactionModal.js +3 -3
- package/_esm/src/components/common/TransactionModal/TransactionModal.js.map +1 -1
- package/_esm/src/components/common/TransactionModal/TransactionModalRenderer.js +38 -15
- package/_esm/src/components/common/TransactionModal/TransactionModalRenderer.js.map +1 -1
- package/_esm/src/components/common/TransactionModal/steps/DepositAddressValidatingStep.js +1 -3
- package/_esm/src/components/common/TransactionModal/steps/DepositAddressValidatingStep.js.map +1 -1
- package/_esm/src/components/common/TransactionModal/steps/ErrorStep.js +29 -17
- package/_esm/src/components/common/TransactionModal/steps/ErrorStep.js.map +1 -1
- package/_esm/src/components/common/TransactionModal/steps/SwapConfirmationStep.js +89 -50
- package/_esm/src/components/common/TransactionModal/steps/SwapConfirmationStep.js.map +1 -1
- package/_esm/src/components/common/TransactionModal/steps/SwapSuccessStep.js +116 -45
- package/_esm/src/components/common/TransactionModal/steps/SwapSuccessStep.js.map +1 -1
- package/_esm/src/components/common/TransactionModal/steps/TransactionsByChain.js +53 -37
- package/_esm/src/components/common/TransactionModal/steps/TransactionsByChain.js.map +1 -1
- package/_esm/src/components/primitives/Button.js +3 -3
- package/_esm/src/components/primitives/Button.js.map +1 -1
- package/_esm/src/components/primitives/ChainTokenIcon.js +6 -3
- package/_esm/src/components/primitives/ChainTokenIcon.js.map +1 -1
- package/_esm/src/components/widgets/OnrampWidget/modals/OnrampModal.js +1 -1
- package/_esm/src/components/widgets/OnrampWidget/modals/OnrampModal.js.map +1 -1
- package/_esm/src/components/widgets/SwapWidgetRenderer.js +6 -6
- package/_esm/src/components/widgets/SwapWidgetRenderer.js.map +1 -1
- package/_esm/src/constants/walletCompatibility.js +4 -1
- package/_esm/src/constants/walletCompatibility.js.map +1 -1
- package/_esm/src/icons/ArrowLeftToLine.js +7 -0
- package/_esm/src/icons/ArrowLeftToLine.js.map +1 -0
- package/_esm/src/icons/ArrowRightFromLine.js +7 -0
- package/_esm/src/icons/ArrowRightFromLine.js.map +1 -0
- package/_esm/src/icons/FileSignature.js +7 -0
- package/_esm/src/icons/FileSignature.js.map +1 -0
- package/_esm/src/icons/RelayIcon.js +7 -0
- package/_esm/src/icons/RelayIcon.js.map +1 -0
- package/_esm/src/icons/Shuffle.js +7 -0
- package/_esm/src/icons/Shuffle.js.map +1 -0
- package/_esm/src/icons/index.js +5 -0
- package/_esm/src/icons/index.js.map +1 -1
- package/_esm/src/styles.css +94 -90
- package/_esm/src/utils/localStorage.js +44 -2
- package/_esm/src/utils/localStorage.js.map +1 -1
- package/_esm/src/utils/relayTransaction.js +7 -33
- package/_esm/src/utils/relayTransaction.js.map +1 -1
- package/_esm/src/utils/steps.js +357 -77
- package/_esm/src/utils/steps.js.map +1 -1
- package/_esm/src/version.js +1 -1
- package/_esm/src/version.js.map +1 -1
- package/_esm/tsconfig.build.tsbuildinfo +1 -1
- package/_types/src/components/common/CustomAddressModal.d.ts.map +1 -1
- package/_types/src/components/common/StepIcon.d.ts +8 -0
- package/_types/src/components/common/StepIcon.d.ts.map +1 -0
- package/_types/src/components/common/TransactionModal/DepositAddressModalRenderer.d.ts.map +1 -1
- package/_types/src/components/common/TransactionModal/TransactionModalRenderer.d.ts +4 -6
- package/_types/src/components/common/TransactionModal/TransactionModalRenderer.d.ts.map +1 -1
- package/_types/src/components/common/TransactionModal/steps/DepositAddressValidatingStep.d.ts.map +1 -1
- package/_types/src/components/common/TransactionModal/steps/ErrorStep.d.ts +5 -0
- package/_types/src/components/common/TransactionModal/steps/ErrorStep.d.ts.map +1 -1
- package/_types/src/components/common/TransactionModal/steps/SwapConfirmationStep.d.ts +5 -0
- package/_types/src/components/common/TransactionModal/steps/SwapConfirmationStep.d.ts.map +1 -1
- package/_types/src/components/common/TransactionModal/steps/SwapSuccessStep.d.ts +2 -1
- package/_types/src/components/common/TransactionModal/steps/SwapSuccessStep.d.ts.map +1 -1
- package/_types/src/components/common/TransactionModal/steps/TransactionsByChain.d.ts +4 -0
- package/_types/src/components/common/TransactionModal/steps/TransactionsByChain.d.ts.map +1 -1
- package/_types/src/components/primitives/ChainTokenIcon.d.ts +1 -1
- package/_types/src/components/primitives/ChainTokenIcon.d.ts.map +1 -1
- package/_types/src/components/widgets/OnrampWidget/modals/OnrampModal.d.ts.map +1 -1
- package/_types/src/components/widgets/SwapWidgetRenderer.d.ts.map +1 -1
- package/_types/src/constants/walletCompatibility.d.ts.map +1 -1
- package/_types/src/icons/ArrowLeftToLine.d.ts +9 -0
- package/_types/src/icons/ArrowLeftToLine.d.ts.map +1 -0
- package/_types/src/icons/ArrowRightFromLine.d.ts +9 -0
- package/_types/src/icons/ArrowRightFromLine.d.ts.map +1 -0
- package/_types/src/icons/FileSignature.d.ts +9 -0
- package/_types/src/icons/FileSignature.d.ts.map +1 -0
- package/_types/src/icons/RelayIcon.d.ts +9 -0
- package/_types/src/icons/RelayIcon.d.ts.map +1 -0
- package/_types/src/icons/Shuffle.d.ts +9 -0
- package/_types/src/icons/Shuffle.d.ts.map +1 -0
- package/_types/src/icons/index.d.ts +5 -0
- package/_types/src/icons/index.d.ts.map +1 -1
- package/_types/src/utils/localStorage.d.ts +17 -0
- package/_types/src/utils/localStorage.d.ts.map +1 -1
- package/_types/src/utils/quote.d.ts +4 -4
- package/_types/src/utils/relayTransaction.d.ts +0 -4
- package/_types/src/utils/relayTransaction.d.ts.map +1 -1
- package/_types/src/utils/steps.d.ts +13 -15
- package/_types/src/utils/steps.d.ts.map +1 -1
- package/_types/src/version.d.ts +1 -1
- package/_types/src/version.d.ts.map +1 -1
- package/_types/tsconfig.build.tsbuildinfo +1 -1
- package/dist/panda.buildinfo.json +31 -29
- package/dist/styles.css +94 -90
- package/package.json +4 -4
|
@@ -43,8 +43,10 @@
|
|
|
43
43
|
"position]___[value:absolute",
|
|
44
44
|
"color]___[value:#FFA01C",
|
|
45
45
|
"color]___[value:#30A46C",
|
|
46
|
+
"color]___[value:#9CA3AF",
|
|
46
47
|
"gap]___[value:6px",
|
|
47
48
|
"cursor]___[value:pointer",
|
|
49
|
+
"paddingInline]___[value:8px",
|
|
48
50
|
"color]___[value:transparent",
|
|
49
51
|
"justifyContent]___[value:center",
|
|
50
52
|
"marginBlock]___[value:4",
|
|
@@ -92,6 +94,11 @@
|
|
|
92
94
|
"paddingRight]___[value:28px !important",
|
|
93
95
|
"border]___[value:none",
|
|
94
96
|
"textAlign]___[value:right",
|
|
97
|
+
"fill]___[value:currentColor",
|
|
98
|
+
"borderRadius]___[value:100px",
|
|
99
|
+
"padding]___[value:8px",
|
|
100
|
+
"width]___[value:32px",
|
|
101
|
+
"height]___[value:32px",
|
|
95
102
|
"zIndex]___[value:1000",
|
|
96
103
|
"marginLeft]___[value:-20px",
|
|
97
104
|
"marginLeft]___[value:0",
|
|
@@ -140,8 +147,8 @@
|
|
|
140
147
|
"color]___[value:primary-button-color",
|
|
141
148
|
"backgroundColor]___[value:primary-button-hover-background]___[cond:&:hover",
|
|
142
149
|
"color]___[value:primary-button-hover-color]___[cond:&:hover",
|
|
143
|
-
"backgroundColor]___[value:
|
|
144
|
-
"color]___[value:
|
|
150
|
+
"backgroundColor]___[value:primary4",
|
|
151
|
+
"color]___[value:primary12",
|
|
145
152
|
"backgroundColor]___[value:secondary-button-hover-background]___[cond:&:hover",
|
|
146
153
|
"color]___[value:secondary-button-hover-color]___[cond:&:hover",
|
|
147
154
|
"color]___[value:text-default",
|
|
@@ -177,7 +184,6 @@
|
|
|
177
184
|
"chain]___[value:16",
|
|
178
185
|
"borderRadius]___[value:4",
|
|
179
186
|
"borderRadius]___[value:50%",
|
|
180
|
-
"backgroundColor]___[value:primary4",
|
|
181
187
|
"color]___[value:primary8",
|
|
182
188
|
"--borderColor]___[value:colors.modal-background",
|
|
183
189
|
"backgroundColor]___[value:modal-background",
|
|
@@ -240,7 +246,6 @@
|
|
|
240
246
|
"background]___[value:green3",
|
|
241
247
|
"color]___[value:green12",
|
|
242
248
|
"background]___[value:primary3",
|
|
243
|
-
"color]___[value:primary12",
|
|
244
249
|
"borderRadius]___[value:25",
|
|
245
250
|
"animationName]___[value:pulse",
|
|
246
251
|
"backgroundColor]___[value:skeleton-background",
|
|
@@ -379,7 +384,6 @@
|
|
|
379
384
|
"marginBlock]___[value:2",
|
|
380
385
|
"paddingRight]___[value:2",
|
|
381
386
|
"--borderColor]___[value:colors.gray5",
|
|
382
|
-
"borderRadius]___[value:100px",
|
|
383
387
|
"boxShadow]___[value:inset 0 0 0 2px var(--focusColor)]___[cond:_focusVisible",
|
|
384
388
|
"boxShadow]___[value:inset 0 0 0 2px var(--focusColor)]___[cond:&[data-state=\"on\"]",
|
|
385
389
|
"boxShadow]___[value:inset 0 0 0 2px var(--focusColor)]___[cond:_active",
|
|
@@ -473,7 +477,6 @@
|
|
|
473
477
|
"width]___[value:1px",
|
|
474
478
|
"backgroundColor]___[value:gray11",
|
|
475
479
|
"fill]___[value:gray9",
|
|
476
|
-
"paddingInline]___[value:4",
|
|
477
480
|
"fill]___[value:button-disabled-color",
|
|
478
481
|
"marginTop]___[value:4",
|
|
479
482
|
"marginTop]___[value:12",
|
|
@@ -482,42 +485,37 @@
|
|
|
482
485
|
"marginBottom]___[value:24",
|
|
483
486
|
"marginRight]___[value:$2",
|
|
484
487
|
"color]___[value:red9",
|
|
488
|
+
"marginBottom]___[value:16px",
|
|
489
|
+
"color]___[value:gray",
|
|
485
490
|
"flexDirection]___[value:column]___[cond:bp500",
|
|
486
491
|
"gap]___[value:1]___[cond:bp500",
|
|
487
492
|
"alignItems]___[value:flex-start]___[cond:bp500",
|
|
488
493
|
"backgroundColor]___[value:primary6",
|
|
489
494
|
"backgroundColor]___[value:green3",
|
|
490
|
-
"color]___[value:primary6",
|
|
491
495
|
"color]___[value:green11",
|
|
492
|
-
"animation]___[value:pulse-shadow 1s infinite",
|
|
496
|
+
"animation]___[value:pulse-shadow 1s infinite alternate-reverse",
|
|
493
497
|
"animation]___[value:none",
|
|
494
|
-
"
|
|
498
|
+
"color]___[value:primary11]___[cond:& > *",
|
|
499
|
+
"color]___[value:gray9]___[cond:& > *",
|
|
500
|
+
"color]___[value:green11]___[cond:& > *",
|
|
501
|
+
"height]___[value:30",
|
|
502
|
+
"width]___[value:30",
|
|
495
503
|
"padding]___[value:0 12px",
|
|
496
504
|
"padding]___[value:12px 0]___[cond:bp400Down",
|
|
497
|
-
"
|
|
505
|
+
"color]___[value:slate10",
|
|
498
506
|
"paddingLeft]___[value:12px",
|
|
499
|
-
"backgroundColor]___[value:primary3",
|
|
500
|
-
"borderRadius]___[value:100",
|
|
501
|
-
"opacity]___[value:1",
|
|
502
|
-
"opacity]___[value:0.6",
|
|
503
507
|
"height]___[value:80",
|
|
504
508
|
"width]___[value:78",
|
|
505
509
|
"borderRadius]___[value:999999px",
|
|
506
|
-
"
|
|
507
|
-
"
|
|
508
|
-
"
|
|
509
|
-
"
|
|
510
|
-
"
|
|
511
|
-
"color]___[value:primary-color",
|
|
512
|
-
"border]___[value:3px solid var(--borderColor)",
|
|
513
|
-
"right]___[value:-40",
|
|
514
|
-
"bottom]___[value:-12",
|
|
515
|
-
"marginBottom]___[value:20",
|
|
510
|
+
"backgroundColor]___[value:green9",
|
|
511
|
+
"--borderColor]___[value:white",
|
|
512
|
+
"border]___[value:2px solid var(--borderColor)",
|
|
513
|
+
"marginLeft]___[value:-8px",
|
|
514
|
+
"--borderColor]___[value:colors.slate.5",
|
|
516
515
|
"background]___[value:primary2",
|
|
517
516
|
"justifyItems]___[value:space-between",
|
|
518
|
-
"
|
|
519
|
-
"
|
|
520
|
-
"color]___[value:gray",
|
|
517
|
+
"marginBlock]___[value:12px",
|
|
518
|
+
"color]___[value:green11]___[cond:& .green-time",
|
|
521
519
|
"background]___[value:gray5",
|
|
522
520
|
"fill]___[value:#fff",
|
|
523
521
|
"fill]___[value:#000",
|
|
@@ -552,6 +550,7 @@
|
|
|
552
550
|
"position]___[value:sticky",
|
|
553
551
|
"height]___[value:calc(100% - 24px)",
|
|
554
552
|
"scrollPaddingTop]___[value:40px",
|
|
553
|
+
"paddingInline]___[value:4",
|
|
555
554
|
"paddingTop]___[value:40px",
|
|
556
555
|
"paddingBottom]___[value:24px",
|
|
557
556
|
"textIndent]___[value:-36px",
|
|
@@ -570,11 +569,14 @@
|
|
|
570
569
|
"borderRadius]___[value:100%",
|
|
571
570
|
"bottom]___[value:-6px",
|
|
572
571
|
"right]___[value:-6px",
|
|
573
|
-
"border]___[value:2px solid var(--borderColor)",
|
|
574
572
|
"marginBottom]___[value:4",
|
|
575
573
|
"marginTop]___[value:24px",
|
|
576
574
|
"marginBottom]___[value:6px",
|
|
577
|
-
"filter]___[value:grayscale(1)"
|
|
575
|
+
"filter]___[value:grayscale(1)",
|
|
576
|
+
"width]___[value:80",
|
|
577
|
+
"backgroundColor]___[value:green2",
|
|
578
|
+
"--borderColor]___[value:colors.green10",
|
|
579
|
+
"border]___[value:6px solid var(--borderColor)"
|
|
578
580
|
],
|
|
579
581
|
"recipes": {}
|
|
580
582
|
}
|
package/dist/styles.css
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
@keyframes pulse-shadow {
|
|
10
10
|
0% {
|
|
11
|
-
box-shadow: 0 0 0 0px
|
|
11
|
+
box-shadow: 0 0 0 0px var(--relay-colors-primary4);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
100% {
|
|
15
|
-
box-shadow: 0 0 0 6px
|
|
15
|
+
box-shadow: 0 0 0 6px var(--relay-colors-primary4);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -1172,6 +1172,10 @@
|
|
|
1172
1172
|
color: #30A46C;
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
1175
|
+
.relay-text_\#9CA3AF:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1176
|
+
color: #9CA3AF;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1175
1179
|
.relay-gap_6px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1176
1180
|
gap: 6px;
|
|
1177
1181
|
}
|
|
@@ -1180,6 +1184,10 @@
|
|
|
1180
1184
|
cursor: pointer;
|
|
1181
1185
|
}
|
|
1182
1186
|
|
|
1187
|
+
.relay-px_8px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1188
|
+
padding-inline: 8px;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1183
1191
|
.relay-text_transparent:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1184
1192
|
color: transparent;
|
|
1185
1193
|
}
|
|
@@ -1312,6 +1320,26 @@
|
|
|
1312
1320
|
text-align: right;
|
|
1313
1321
|
}
|
|
1314
1322
|
|
|
1323
|
+
.relay-fill_currentColor:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1324
|
+
fill: currentColor;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
.relay-rounded_100px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1328
|
+
border-radius: 100px;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
.relay-p_8px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1332
|
+
padding: 8px;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
.relay-w_32px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1336
|
+
width: 32px;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
.relay-h_32px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1340
|
+
height: 32px;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1315
1343
|
.relay-z_1000:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1316
1344
|
z-index: 1000;
|
|
1317
1345
|
}
|
|
@@ -1414,8 +1442,8 @@
|
|
|
1414
1442
|
color: var(--relay-colors-primary-button-color);
|
|
1415
1443
|
}
|
|
1416
1444
|
|
|
1417
|
-
.relay-
|
|
1418
|
-
color: var(--relay-colors-
|
|
1445
|
+
.relay-text_primary12:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1446
|
+
color: var(--relay-colors-primary12);
|
|
1419
1447
|
}
|
|
1420
1448
|
|
|
1421
1449
|
.relay-text_text-default:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -1594,10 +1622,6 @@
|
|
|
1594
1622
|
background: var(--relay-colors-primary3);
|
|
1595
1623
|
}
|
|
1596
1624
|
|
|
1597
|
-
.relay-text_primary12:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1598
|
-
color: var(--relay-colors-primary12);
|
|
1599
|
-
}
|
|
1600
|
-
|
|
1601
1625
|
.relay-rounded_25:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1602
1626
|
border-radius: 25px;
|
|
1603
1627
|
}
|
|
@@ -1908,10 +1932,6 @@
|
|
|
1908
1932
|
--borderColor: var(--relay-colors-gray5);
|
|
1909
1933
|
}
|
|
1910
1934
|
|
|
1911
|
-
.relay-rounded_100px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1912
|
-
border-radius: 100px;
|
|
1913
|
-
}
|
|
1914
|
-
|
|
1915
1935
|
.relay-text_primary11:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
1916
1936
|
color: var(--relay-colors-primary11);
|
|
1917
1937
|
}
|
|
@@ -2140,10 +2160,6 @@
|
|
|
2140
2160
|
fill: var(--relay-colors-gray9);
|
|
2141
2161
|
}
|
|
2142
2162
|
|
|
2143
|
-
.relay-px_4:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2144
|
-
padding-inline: var(--relay-spacing-4);
|
|
2145
|
-
}
|
|
2146
|
-
|
|
2147
2163
|
.relay-fill_button-disabled-color:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2148
2164
|
fill: var(--relay-colors-button-disabled-color);
|
|
2149
2165
|
}
|
|
@@ -2156,36 +2172,36 @@
|
|
|
2156
2172
|
color: var(--relay-colors-red9);
|
|
2157
2173
|
}
|
|
2158
2174
|
|
|
2159
|
-
.relay-
|
|
2160
|
-
color:
|
|
2175
|
+
.relay-text_gray:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2176
|
+
color: gray;
|
|
2161
2177
|
}
|
|
2162
2178
|
|
|
2163
2179
|
.relay-text_green11:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2164
2180
|
color: var(--relay-colors-green11);
|
|
2165
2181
|
}
|
|
2166
2182
|
|
|
2167
|
-
.relay-animation_pulse-
|
|
2168
|
-
animation: pulse-shadow 1s infinite;
|
|
2183
|
+
.relay-animation_pulse-shadow_1s_infinite_alternate-reverse:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2184
|
+
animation: pulse-shadow 1s infinite alternate-reverse;
|
|
2169
2185
|
}
|
|
2170
2186
|
|
|
2171
2187
|
.relay-animation_none:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2172
2188
|
animation: none;
|
|
2173
2189
|
}
|
|
2174
2190
|
|
|
2175
|
-
.relay-
|
|
2176
|
-
|
|
2191
|
+
.relay-h_30:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2192
|
+
height: 30px;
|
|
2177
2193
|
}
|
|
2178
2194
|
|
|
2179
|
-
.relay-
|
|
2180
|
-
|
|
2195
|
+
.relay-w_30:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2196
|
+
width: 30px;
|
|
2181
2197
|
}
|
|
2182
2198
|
|
|
2183
|
-
.relay-
|
|
2184
|
-
|
|
2199
|
+
.relay-p_0_12px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2200
|
+
padding: 0 12px;
|
|
2185
2201
|
}
|
|
2186
2202
|
|
|
2187
|
-
.relay-
|
|
2188
|
-
|
|
2203
|
+
.relay-text_slate10:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2204
|
+
color: slate10;
|
|
2189
2205
|
}
|
|
2190
2206
|
|
|
2191
2207
|
.relay-h_80:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -2200,44 +2216,24 @@
|
|
|
2200
2216
|
border-radius: 999999px;
|
|
2201
2217
|
}
|
|
2202
2218
|
|
|
2203
|
-
.relay
|
|
2204
|
-
|
|
2219
|
+
.relay---borderColor_white:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2220
|
+
--borderColor: white;
|
|
2205
2221
|
}
|
|
2206
2222
|
|
|
2207
|
-
.relay
|
|
2208
|
-
|
|
2209
|
-
}
|
|
2210
|
-
|
|
2211
|
-
.relay-border_6px_solid_var\(--borderColor\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2212
|
-
border: 6px solid var(--borderColor);
|
|
2213
|
-
}
|
|
2214
|
-
|
|
2215
|
-
.relay-w_50:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2216
|
-
width: 50px;
|
|
2217
|
-
}
|
|
2218
|
-
|
|
2219
|
-
.relay-text_primary-color:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2220
|
-
color: var(--relay-colors-primary-color);
|
|
2223
|
+
.relay-border_2px_solid_var\(--borderColor\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2224
|
+
border: 2px solid var(--borderColor);
|
|
2221
2225
|
}
|
|
2222
2226
|
|
|
2223
|
-
.relay
|
|
2224
|
-
|
|
2227
|
+
.relay---borderColor_colors\.slate\.5:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2228
|
+
--borderColor: var(--relay-colors-slate-5);
|
|
2225
2229
|
}
|
|
2226
2230
|
|
|
2227
2231
|
.relay-bg_primary2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2228
2232
|
background: var(--relay-colors-primary2);
|
|
2229
2233
|
}
|
|
2230
2234
|
|
|
2231
|
-
.relay-
|
|
2232
|
-
|
|
2233
|
-
}
|
|
2234
|
-
|
|
2235
|
-
.relay-h_27:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2236
|
-
height: 27px;
|
|
2237
|
-
}
|
|
2238
|
-
|
|
2239
|
-
.relay-text_gray:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2240
|
-
color: gray;
|
|
2235
|
+
.relay-my_12px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2236
|
+
margin-block: 12px;
|
|
2241
2237
|
}
|
|
2242
2238
|
|
|
2243
2239
|
.relay-bg_gray5:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -2312,6 +2308,10 @@
|
|
|
2312
2308
|
height: calc(100% - 24px);
|
|
2313
2309
|
}
|
|
2314
2310
|
|
|
2311
|
+
.relay-px_4:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2312
|
+
padding-inline: var(--relay-spacing-4);
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
2315
|
.relay-indent_-36px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2316
2316
|
text-indent: -36px;
|
|
2317
2317
|
}
|
|
@@ -2340,14 +2340,22 @@
|
|
|
2340
2340
|
border-radius: 100%;
|
|
2341
2341
|
}
|
|
2342
2342
|
|
|
2343
|
-
.relay-border_2px_solid_var\(--borderColor\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2344
|
-
border: 2px solid var(--borderColor);
|
|
2345
|
-
}
|
|
2346
|
-
|
|
2347
2343
|
.relay-filter_grayscale\(1\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2348
2344
|
filter: grayscale(1);
|
|
2349
2345
|
}
|
|
2350
2346
|
|
|
2347
|
+
.relay-w_80:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2348
|
+
width: 80px;
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
.relay---borderColor_colors\.green10:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2352
|
+
--borderColor: var(--relay-colors-green10);
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
.relay-border_6px_solid_var\(--borderColor\):not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2356
|
+
border: 6px solid var(--borderColor);
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2351
2359
|
.relay-bg_transparent:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2352
2360
|
background-color: transparent;
|
|
2353
2361
|
}
|
|
@@ -2476,8 +2484,8 @@
|
|
|
2476
2484
|
background-color: var(--relay-colors-primary-button-background);
|
|
2477
2485
|
}
|
|
2478
2486
|
|
|
2479
|
-
.relay-
|
|
2480
|
-
background-color: var(--relay-colors-
|
|
2487
|
+
.relay-bg_primary4:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2488
|
+
background-color: var(--relay-colors-primary4);
|
|
2481
2489
|
}
|
|
2482
2490
|
|
|
2483
2491
|
.relay-bg_widget-background:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -2504,10 +2512,6 @@
|
|
|
2504
2512
|
line-height: 12px;
|
|
2505
2513
|
}
|
|
2506
2514
|
|
|
2507
|
-
.relay-bg_primary4:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2508
|
-
background-color: var(--relay-colors-primary4);
|
|
2509
|
-
}
|
|
2510
|
-
|
|
2511
2515
|
.relay-bg_modal-background:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2512
2516
|
background-color: var(--relay-colors-modal-background);
|
|
2513
2517
|
}
|
|
@@ -2884,6 +2888,10 @@
|
|
|
2884
2888
|
margin-right: $2;
|
|
2885
2889
|
}
|
|
2886
2890
|
|
|
2891
|
+
.relay-mb_16px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2892
|
+
margin-bottom: 16px;
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2887
2895
|
.relay-bg_primary6:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2888
2896
|
background-color: var(--relay-colors-primary6);
|
|
2889
2897
|
}
|
|
@@ -2892,36 +2900,16 @@
|
|
|
2892
2900
|
background-color: var(--relay-colors-green3);
|
|
2893
2901
|
}
|
|
2894
2902
|
|
|
2895
|
-
.relay-animation-direction_alternate-reverse:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2896
|
-
animation-direction: alternate-reverse;
|
|
2897
|
-
}
|
|
2898
|
-
|
|
2899
|
-
.relay-fs_10px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2900
|
-
font-size: 10px;
|
|
2901
|
-
}
|
|
2902
|
-
|
|
2903
2903
|
.relay-pl_12px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2904
2904
|
padding-left: 12px;
|
|
2905
2905
|
}
|
|
2906
2906
|
|
|
2907
|
-
.relay-
|
|
2908
|
-
background-color: var(--relay-colors-
|
|
2909
|
-
}
|
|
2910
|
-
|
|
2911
|
-
.relay-bg_green2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2912
|
-
background-color: var(--relay-colors-green2);
|
|
2913
|
-
}
|
|
2914
|
-
|
|
2915
|
-
.relay-right_-40:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2916
|
-
right: -40px;
|
|
2917
|
-
}
|
|
2918
|
-
|
|
2919
|
-
.relay-bottom_-12:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2920
|
-
bottom: -12px;
|
|
2907
|
+
.relay-bg_green9:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2908
|
+
background-color: var(--relay-colors-green9);
|
|
2921
2909
|
}
|
|
2922
2910
|
|
|
2923
|
-
.relay-
|
|
2924
|
-
margin-
|
|
2911
|
+
.relay-ml_-8px:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2912
|
+
margin-left: -8px;
|
|
2925
2913
|
}
|
|
2926
2914
|
|
|
2927
2915
|
.relay-justify-items_space-between:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
@@ -2988,6 +2976,10 @@
|
|
|
2988
2976
|
margin-bottom: 6px;
|
|
2989
2977
|
}
|
|
2990
2978
|
|
|
2979
|
+
.relay-bg_green2:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2980
|
+
background-color: var(--relay-colors-green2);
|
|
2981
|
+
}
|
|
2982
|
+
|
|
2991
2983
|
.placeholder\:relay-text_gray12:not(#\#):not(#\#):not(#\#):not(#\#)::placeholder,.placeholder\:relay-text_gray12[data-placeholder]:not(#\#):not(#\#):not(#\#):not(#\#) {
|
|
2992
2984
|
color: var(--relay-colors-gray12);
|
|
2993
2985
|
}
|
|
@@ -3056,6 +3048,18 @@
|
|
|
3056
3048
|
color: var(--relay-colors-gray10);
|
|
3057
3049
|
}
|
|
3058
3050
|
|
|
3051
|
+
.\[\&_\>_\*\]\:relay-text_primary11:not(#\#):not(#\#):not(#\#):not(#\#) > * {
|
|
3052
|
+
color: var(--relay-colors-primary11);
|
|
3053
|
+
}
|
|
3054
|
+
|
|
3055
|
+
.\[\&_\>_\*\]\:relay-text_gray9:not(#\#):not(#\#):not(#\#):not(#\#) > * {
|
|
3056
|
+
color: var(--relay-colors-gray9);
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
.\[\&_\>_\*\]\:relay-text_green11:not(#\#):not(#\#):not(#\#):not(#\#) > *,.\[\&_\.green-time\]\:relay-text_green11:not(#\#):not(#\#):not(#\#):not(#\#) .green-time {
|
|
3060
|
+
color: var(--relay-colors-green11);
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3059
3063
|
.before\:relay-pos_absolute:not(#\#):not(#\#):not(#\#):not(#\#)::before {
|
|
3060
3064
|
position: absolute;
|
|
3061
3065
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relayprotocol/relay-kit-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
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-
|
|
83
|
-
"@relayprotocol/relay-
|
|
84
|
-
"@relayprotocol/relay-
|
|
82
|
+
"@relayprotocol/relay-kit-hooks": "2.0.6",
|
|
83
|
+
"@relayprotocol/relay-design-system": "^1.0.0",
|
|
84
|
+
"@relayprotocol/relay-sdk": "3.0.0"
|
|
85
85
|
},
|
|
86
86
|
"keywords": [
|
|
87
87
|
"eth",
|