@relayprotocol/relay-kit-ui 6.0.3 → 6.0.4

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 (56) hide show
  1. package/_cjs/src/components/common/Modal.js +1 -1
  2. package/_cjs/src/components/common/Modal.js.map +1 -1
  3. package/_cjs/src/components/common/TokenSelector/PaymentMethod.js +15 -24
  4. package/_cjs/src/components/common/TokenSelector/PaymentMethod.js.map +1 -1
  5. package/_cjs/src/components/common/TokenSelector/PaymentTokenList.js +13 -2
  6. package/_cjs/src/components/common/TokenSelector/PaymentTokenList.js.map +1 -1
  7. package/_cjs/src/components/common/UnverifiedTokenModal.js +2 -2
  8. package/_cjs/src/components/common/UnverifiedTokenModal.js.map +1 -1
  9. package/_cjs/src/components/primitives/Dropdown.js +2 -4
  10. package/_cjs/src/components/primitives/Dropdown.js.map +1 -1
  11. package/_cjs/src/components/primitives/Tooltip.js +4 -4
  12. package/_cjs/src/components/primitives/Tooltip.js.map +1 -1
  13. package/_cjs/src/components/widgets/TokenWidget/BuyTabContent.js +1 -1
  14. package/_cjs/src/components/widgets/TokenWidget/BuyTabContent.js.map +1 -1
  15. package/_cjs/src/components/widgets/TokenWidget/SellTabContent.js +3 -3
  16. package/_cjs/src/components/widgets/TokenWidget/SellTabContent.js.map +1 -1
  17. package/_cjs/src/components/widgets/TokenWidget/widget/index.js +67 -35
  18. package/_cjs/src/components/widgets/TokenWidget/widget/index.js.map +1 -1
  19. package/_cjs/src/styles.css +29 -15
  20. package/_cjs/src/version.js +1 -1
  21. package/_cjs/tsconfig.build.tsbuildinfo +1 -1
  22. package/_esm/src/components/common/Modal.js +1 -1
  23. package/_esm/src/components/common/Modal.js.map +1 -1
  24. package/_esm/src/components/common/TokenSelector/PaymentMethod.js +15 -24
  25. package/_esm/src/components/common/TokenSelector/PaymentMethod.js.map +1 -1
  26. package/_esm/src/components/common/TokenSelector/PaymentTokenList.js +13 -2
  27. package/_esm/src/components/common/TokenSelector/PaymentTokenList.js.map +1 -1
  28. package/_esm/src/components/common/UnverifiedTokenModal.js +2 -2
  29. package/_esm/src/components/common/UnverifiedTokenModal.js.map +1 -1
  30. package/_esm/src/components/primitives/Dropdown.js +2 -4
  31. package/_esm/src/components/primitives/Dropdown.js.map +1 -1
  32. package/_esm/src/components/primitives/Tooltip.js +4 -4
  33. package/_esm/src/components/primitives/Tooltip.js.map +1 -1
  34. package/_esm/src/components/widgets/TokenWidget/BuyTabContent.js +1 -1
  35. package/_esm/src/components/widgets/TokenWidget/BuyTabContent.js.map +1 -1
  36. package/_esm/src/components/widgets/TokenWidget/SellTabContent.js +3 -3
  37. package/_esm/src/components/widgets/TokenWidget/SellTabContent.js.map +1 -1
  38. package/_esm/src/components/widgets/TokenWidget/widget/index.js +67 -35
  39. package/_esm/src/components/widgets/TokenWidget/widget/index.js.map +1 -1
  40. package/_esm/src/styles.css +29 -15
  41. package/_esm/src/version.js +1 -1
  42. package/_esm/tsconfig.build.tsbuildinfo +1 -1
  43. package/_types/src/components/common/TokenSelector/PaymentMethod.d.ts +0 -1
  44. package/_types/src/components/common/TokenSelector/PaymentMethod.d.ts.map +1 -1
  45. package/_types/src/components/common/TokenSelector/PaymentTokenList.d.ts.map +1 -1
  46. package/_types/src/components/primitives/Dropdown.d.ts.map +1 -1
  47. package/_types/src/components/widgets/TokenWidget/BuyTabContent.d.ts.map +1 -1
  48. package/_types/src/components/widgets/TokenWidget/SellTabContent.d.ts +0 -1
  49. package/_types/src/components/widgets/TokenWidget/SellTabContent.d.ts.map +1 -1
  50. package/_types/src/components/widgets/TokenWidget/widget/index.d.ts +2 -1
  51. package/_types/src/components/widgets/TokenWidget/widget/index.d.ts.map +1 -1
  52. package/_types/src/version.d.ts +1 -1
  53. package/_types/tsconfig.build.tsbuildinfo +1 -1
  54. package/dist/panda.buildinfo.json +11 -6
  55. package/dist/styles.css +29 -15
  56. package/package.json +3 -3
@@ -152,7 +152,7 @@
152
152
  "padding]___[value:8px",
153
153
  "width]___[value:32px",
154
154
  "height]___[value:32px",
155
- "zIndex]___[value:1000",
155
+ "zIndex]___[value:10000001",
156
156
  "width]___[value:370]___[cond:sm",
157
157
  "marginLeft]___[value:-20px",
158
158
  "marginLeft]___[value:0",
@@ -252,13 +252,12 @@
252
252
  "width]___[value:100%]___[cond:@media(max-width: 520px)",
253
253
  "srOnly]___[value:true",
254
254
  "marginInline]___[value:4",
255
- "zIndex]___[value:5",
255
+ "zIndex]___[value:10000002",
256
256
  "background]___[value:modal-background",
257
257
  "boxShadow]___[value:0px 0px 50px 0px #0000001F",
258
258
  "border]___[value:dropdown-border",
259
- "backdropFilter]___[value:brightness(95%)]___[cond:_hover",
259
+ "transition]___[value:background-color 150ms linear",
260
260
  "backgroundColor]___[value:gray/10]___[cond:_hover",
261
- "backdropFilter]___[value:brightness(95%)]___[cond:&:focus",
262
261
  "backgroundColor]___[value:gray/10]___[cond:&:focus",
263
262
  "alignItems]___[value:flex-start",
264
263
  "alignItems]___[value:flex-end",
@@ -343,7 +342,7 @@
343
342
  "color]___[value:amber12",
344
343
  "fontStyle]___[value:italic",
345
344
  "fill]___[value:modal-background",
346
- "zIndex]___[value:9999",
345
+ "zIndex]___[value:10000004",
347
346
  "boxShadow]___[value:0px 1px 5px rgba(0,0,0,0.2)",
348
347
  "color]___[value:{colors.grass.9}",
349
348
  "color]___[value:{colors.amber.9}",
@@ -399,6 +398,7 @@
399
398
  "maxWidth]___[value:260",
400
399
  "gap]___[value:10px",
401
400
  "paddingBottom]___[value:8px",
401
+ "backdropFilter]___[value:brightness(95%)]___[cond:_hover",
402
402
  "paddingTop]___[value:8px",
403
403
  "alignItems]___[value:start",
404
404
  "backgroundColor]___[value:widget-card-background",
@@ -444,14 +444,20 @@
444
444
  "paddingBlock]___[value:5",
445
445
  "maxWidth]___[value:312",
446
446
  "alignSelf]___[value:center",
447
+ "paddingInline]___[value:0",
447
448
  "minWidth]___[value:auto",
449
+ "padding]___[value:0]___[cond:@media(min-width: 660px)",
448
450
  "width]___[value:27",
451
+ "fontSize]___[value:14px]___[cond:@media(min-width: 660px)",
452
+ "color]___[value:text-default]___[cond:@media(min-width: 660px)",
453
+ "lineHeight]___[value:20px]___[cond:@media(min-width: 660px)",
449
454
  "zIndex]___[value:100",
450
455
  "background]___[value:widget-background",
451
456
  "height]___[value:min(85vh, 540px)",
452
457
  "width]___[value:min(400px, 100vw)",
453
458
  "maxWidth]___[value:min(400px, 100vw)",
454
459
  "boxSizing]___[value:border-box",
460
+ "paddingInline]___[value:2]___[cond:@media(min-width: 660px)",
455
461
  "gap]___[value:2px",
456
462
  "flexGrow]___[value:1",
457
463
  "alignItems]___[value:end",
@@ -540,7 +546,6 @@
540
546
  "minWidth]___[value:400px",
541
547
  "backgroundColor]___[value:widget-card-background]___[cond:md",
542
548
  "paddingBlock]___[value:16px",
543
- "paddingInline]___[value:0",
544
549
  "paddingInline]___[value:16px]___[cond:md",
545
550
  "borderRadius]___[value:widget-card-border-radius]___[cond:md",
546
551
  "color]___[value:green9",
package/dist/styles.css CHANGED
@@ -1448,8 +1448,8 @@
1448
1448
  height: 32px;
1449
1449
  }
1450
1450
 
1451
- .relay-z_1000:not(#\#):not(#\#):not(#\#):not(#\#) {
1452
- z-index: 1000;
1451
+ .relay-z_10000001:not(#\#):not(#\#):not(#\#):not(#\#) {
1452
+ z-index: 10000001;
1453
1453
  }
1454
1454
 
1455
1455
  .relay-w_48px:not(#\#):not(#\#):not(#\#):not(#\#) {
@@ -1650,8 +1650,8 @@
1650
1650
  margin-inline: var(--relay-spacing-4);
1651
1651
  }
1652
1652
 
1653
- .relay-z_5:not(#\#):not(#\#):not(#\#):not(#\#) {
1654
- z-index: 5;
1653
+ .relay-z_10000002:not(#\#):not(#\#):not(#\#):not(#\#) {
1654
+ z-index: 10000002;
1655
1655
  }
1656
1656
 
1657
1657
  .relay-bg_modal-background:not(#\#):not(#\#):not(#\#):not(#\#) {
@@ -1666,6 +1666,10 @@
1666
1666
  border: var(--relay-borders-dropdown-border);
1667
1667
  }
1668
1668
 
1669
+ .relay-transition_background-color_150ms_linear:not(#\#):not(#\#):not(#\#):not(#\#) {
1670
+ transition: background-color 150ms linear;
1671
+ }
1672
+
1669
1673
  .relay-px_16:not(#\#):not(#\#):not(#\#):not(#\#) {
1670
1674
  padding-inline: 16px;
1671
1675
  }
@@ -1806,8 +1810,8 @@
1806
1810
  fill: var(--relay-colors-modal-background);
1807
1811
  }
1808
1812
 
1809
- .relay-z_9999:not(#\#):not(#\#):not(#\#):not(#\#) {
1810
- z-index: 9999;
1813
+ .relay-z_10000004:not(#\#):not(#\#):not(#\#):not(#\#) {
1814
+ z-index: 10000004;
1811
1815
  }
1812
1816
 
1813
1817
  .relay-shadow_0px_1px_5px_rgba\(0\,0\,0\,0\.2\):not(#\#):not(#\#):not(#\#):not(#\#) {
@@ -2056,6 +2060,10 @@
2056
2060
  max-width: 312px;
2057
2061
  }
2058
2062
 
2063
+ .relay-px_0:not(#\#):not(#\#):not(#\#):not(#\#) {
2064
+ padding-inline: 0;
2065
+ }
2066
+
2059
2067
  .relay-min-w_auto:not(#\#):not(#\#):not(#\#):not(#\#) {
2060
2068
  min-width: auto;
2061
2069
  }
@@ -2292,10 +2300,6 @@
2292
2300
  padding-block: 16px;
2293
2301
  }
2294
2302
 
2295
- .relay-px_0:not(#\#):not(#\#):not(#\#):not(#\#) {
2296
- padding-inline: 0;
2297
- }
2298
-
2299
2303
  .relay-text_green9:not(#\#):not(#\#):not(#\#):not(#\#) {
2300
2304
  color: var(--relay-colors-green9);
2301
2305
  }
@@ -3454,11 +3458,6 @@
3454
3458
  border-radius: 4px;
3455
3459
  }
3456
3460
 
3457
- .\[\&\:focus\]\:relay-backdrop_brightness\(95\%\):focus:not(#\#):not(#\#):not(#\#):not(#\#) {
3458
- backdrop-filter: brightness(95%);
3459
- -webkit-backdrop-filter: brightness(95%);
3460
- }
3461
-
3462
3461
  .focus\:relay-shadow_inset_0_0_0_2px_var\(--focusColor\):is(:focus, [data-focus]):not(#\#):not(#\#):not(#\#):not(#\#) {
3463
3462
  box-shadow: inset 0 0 0 2px var(--focusColor);
3464
3463
  }
@@ -3667,6 +3666,15 @@ button:hover:not(#\#):not(#\#):not(#\#):not(#\#) .\[button\:hover_\&\]\:relay-bg
3667
3666
  }
3668
3667
 
3669
3668
  @media(min-width: 660px) {
3669
+ .\[\@media\(min-width\:_660px\)\]\:relay-p_0:not(#\#):not(#\#):not(#\#):not(#\#) {
3670
+ padding: 0;
3671
+ }
3672
+ .\[\@media\(min-width\:_660px\)\]\:relay-text_text-default:not(#\#):not(#\#):not(#\#):not(#\#) {
3673
+ color: var(--relay-colors-text-default);
3674
+ }
3675
+ .\[\@media\(min-width\:_660px\)\]\:relay-px_2:not(#\#):not(#\#):not(#\#):not(#\#) {
3676
+ padding-inline: var(--relay-spacing-2);
3677
+ }
3670
3678
  .\[\@media\(min-width\:_660px\)\]\:relay-min-w_660:not(#\#):not(#\#):not(#\#):not(#\#) {
3671
3679
  min-width: 660px;
3672
3680
  }
@@ -3681,6 +3689,12 @@ button:hover:not(#\#):not(#\#):not(#\#):not(#\#) .\[button\:hover_\&\]\:relay-bg
3681
3689
  }
3682
3690
  .\[\@media\(min-width\:_660px\)\]\:relay-max-w_408:not(#\#):not(#\#):not(#\#):not(#\#) {
3683
3691
  max-width: 408px;
3692
+ }
3693
+ .\[\@media\(min-width\:_660px\)\]\:relay-fs_14px:not(#\#):not(#\#):not(#\#):not(#\#) {
3694
+ font-size: 14px;
3695
+ }
3696
+ .\[\@media\(min-width\:_660px\)\]\:relay-leading_20px:not(#\#):not(#\#):not(#\#):not(#\#) {
3697
+ line-height: 20px;
3684
3698
  }
3685
3699
  }
3686
3700
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relayprotocol/relay-kit-ui",
3
- "version": "6.0.3",
3
+ "version": "6.0.4",
4
4
  "type": "module",
5
5
  "main": "./_cjs/src/index.js",
6
6
  "module": "./_esm/src/index.js",
@@ -84,9 +84,9 @@
84
84
  "pandacss-preset-radix-colors": "^0.2.0",
85
85
  "qrcode.react": "^4.1.0",
86
86
  "usehooks-ts": "^3.1.0",
87
- "@relayprotocol/relay-design-system": "^1.0.0",
87
+ "@relayprotocol/relay-kit-hooks": "2.0.8",
88
88
  "@relayprotocol/relay-sdk": "3.1.0",
89
- "@relayprotocol/relay-kit-hooks": "2.0.8"
89
+ "@relayprotocol/relay-design-system": "^1.0.0"
90
90
  },
91
91
  "keywords": [
92
92
  "eth",