@relayprotocol/relay-kit-ui 5.1.1 → 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.
Files changed (40) hide show
  1. package/_cjs/src/components/common/Modal.js +2 -2
  2. package/_cjs/src/components/common/Modal.js.map +1 -1
  3. package/_cjs/src/components/common/TokenSelector/ChainShortcuts.js +83 -0
  4. package/_cjs/src/components/common/TokenSelector/ChainShortcuts.js.map +1 -0
  5. package/_cjs/src/components/common/TokenSelector/MobileChainSelector.js +255 -0
  6. package/_cjs/src/components/common/TokenSelector/MobileChainSelector.js.map +1 -0
  7. package/_cjs/src/components/common/TokenSelector/TokenSelector.js +62 -27
  8. package/_cjs/src/components/common/TokenSelector/TokenSelector.js.map +1 -1
  9. package/_cjs/src/components/primitives/Dialog.js +6 -5
  10. package/_cjs/src/components/primitives/Dialog.js.map +1 -1
  11. package/_cjs/src/styles.css +51 -8
  12. package/_cjs/src/version.js +1 -1
  13. package/_cjs/tsconfig.build.tsbuildinfo +1 -1
  14. package/_esm/src/components/common/Modal.js +2 -2
  15. package/_esm/src/components/common/Modal.js.map +1 -1
  16. package/_esm/src/components/common/TokenSelector/ChainShortcuts.js +84 -0
  17. package/_esm/src/components/common/TokenSelector/ChainShortcuts.js.map +1 -0
  18. package/_esm/src/components/common/TokenSelector/MobileChainSelector.js +260 -0
  19. package/_esm/src/components/common/TokenSelector/MobileChainSelector.js.map +1 -0
  20. package/_esm/src/components/common/TokenSelector/TokenSelector.js +64 -28
  21. package/_esm/src/components/common/TokenSelector/TokenSelector.js.map +1 -1
  22. package/_esm/src/components/primitives/Dialog.js +6 -5
  23. package/_esm/src/components/primitives/Dialog.js.map +1 -1
  24. package/_esm/src/styles.css +51 -8
  25. package/_esm/src/version.js +1 -1
  26. package/_esm/tsconfig.build.tsbuildinfo +1 -1
  27. package/_types/src/components/common/Modal.d.ts +2 -1
  28. package/_types/src/components/common/Modal.d.ts.map +1 -1
  29. package/_types/src/components/common/TokenSelector/ChainShortcuts.d.ts +19 -0
  30. package/_types/src/components/common/TokenSelector/ChainShortcuts.d.ts.map +1 -0
  31. package/_types/src/components/common/TokenSelector/MobileChainSelector.d.ts +21 -0
  32. package/_types/src/components/common/TokenSelector/MobileChainSelector.d.ts.map +1 -0
  33. package/_types/src/components/common/TokenSelector/TokenSelector.d.ts.map +1 -1
  34. package/_types/src/components/primitives/Dialog.d.ts +1 -0
  35. package/_types/src/components/primitives/Dialog.d.ts.map +1 -1
  36. package/_types/src/version.d.ts +1 -1
  37. package/_types/tsconfig.build.tsbuildinfo +1 -1
  38. package/dist/panda.buildinfo.json +14 -3
  39. package/dist/styles.css +51 -8
  40. package/package.json +3 -3
@@ -414,6 +414,14 @@
414
414
  "scrollbarColor]___[value:var(--relay-colors-gray5) transparent",
415
415
  "backgroundColor]___[value:gray6]___[cond:_hover",
416
416
  "backgroundColor]___[value:gray6",
417
+ "overflowX]___[value:auto",
418
+ "paddingBlock]___[value:10px",
419
+ "height]___[value:40px",
420
+ "borderRadius]___[value:8px",
421
+ "width]___[value:20px",
422
+ "minWidth]___[value:40px",
423
+ "height]___[value:56px",
424
+ "textAlign]___[value:left",
417
425
  "marginBlock]___[value:2",
418
426
  "paddingRight]___[value:2",
419
427
  "--borderColor]___[value:colors.gray5",
@@ -439,13 +447,18 @@
439
447
  "scrollSnapAlign]___[value:start",
440
448
  "minHeight]___[value:24",
441
449
  "color]___[value:grey",
450
+ "height]___[value:min(85vh, 600px)",
451
+ "maxHeight]___[value:min(85vh, 600px)",
452
+ "maxHeight]___[value:100%",
453
+ "borderRadius]___[value:0px",
442
454
  "minWidth]___[value:660]___[cond:@media(min-width: 660px)",
443
455
  "minWidth]___[value:408]___[cond:@media(min-width: 660px)",
444
456
  "minWidth]___[value:400]___[cond:@media(min-width: 660px)",
445
457
  "maxWidth]___[value:660]___[cond:@media(min-width: 660px)",
446
458
  "maxWidth]___[value:408]___[cond:@media(min-width: 660px)",
447
- "height]___[value:min(85vh, 600px)",
459
+ "maxWidth]___[value:100%]___[cond:sm",
448
460
  "overflowY]___[value:hidden",
461
+ "paddingBottom]___[value:1",
449
462
  "paddingTop]___[value:2",
450
463
  "paddingBlock]___[value:5",
451
464
  "maxWidth]___[value:312",
@@ -478,7 +491,6 @@
478
491
  "marginInline]___[value:auto",
479
492
  "height]___[value:32",
480
493
  "width]___[value:32",
481
- "width]___[value:20px",
482
494
  "padding]___[value:4px",
483
495
  "marginTop]___[value:4px",
484
496
  "--borderWidth]___[value:borders.widget-swap-currency-button-border-width",
@@ -577,7 +589,6 @@
577
589
  "opacity]___[value:0.15]___[cond:_before",
578
590
  "backgroundColor]___[value:primary-color]___[cond:_before",
579
591
  "zIndex]___[value:-1]___[cond:_before",
580
- "textAlign]___[value:left",
581
592
  "position]___[value:sticky",
582
593
  "height]___[value:calc(100% - 24px)",
583
594
  "scrollPaddingTop]___[value:40px",
package/dist/styles.css CHANGED
@@ -1992,6 +1992,34 @@
1992
1992
  scrollbar-color: var(--relay-colors-gray5) transparent;
1993
1993
  }
1994
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
+
1995
2023
  .relay-my_2:not(#\#):not(#\#):not(#\#):not(#\#) {
1996
2024
  margin-block: var(--relay-spacing-2);
1997
2025
  }
@@ -2060,6 +2088,18 @@
2060
2088
  height: min(85vh, 600px);
2061
2089
  }
2062
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
+
2063
2103
  .relay-py_5:not(#\#):not(#\#):not(#\#):not(#\#) {
2064
2104
  padding-block: var(--relay-spacing-5);
2065
2105
  }
@@ -2132,10 +2172,6 @@
2132
2172
  width: 32px;
2133
2173
  }
2134
2174
 
2135
- .relay-w_20px:not(#\#):not(#\#):not(#\#):not(#\#) {
2136
- width: 20px;
2137
- }
2138
-
2139
2175
  .relay-p_4px:not(#\#):not(#\#):not(#\#):not(#\#) {
2140
2176
  padding: 4px;
2141
2177
  }
@@ -2360,10 +2396,6 @@
2360
2396
  min-height: 28px;
2361
2397
  }
2362
2398
 
2363
- .relay-text-align_left:not(#\#):not(#\#):not(#\#):not(#\#) {
2364
- text-align: left;
2365
- }
2366
-
2367
2399
  .relay-pos_sticky:not(#\#):not(#\#):not(#\#):not(#\#) {
2368
2400
  position: sticky;
2369
2401
  }
@@ -2872,6 +2904,10 @@
2872
2904
  background-color: var(--relay-colors-gray6);
2873
2905
  }
2874
2906
 
2907
+ .relay-overflow-x_auto:not(#\#):not(#\#):not(#\#):not(#\#) {
2908
+ overflow-x: auto;
2909
+ }
2910
+
2875
2911
  .relay-pr_2:not(#\#):not(#\#):not(#\#):not(#\#) {
2876
2912
  padding-right: var(--relay-spacing-2);
2877
2913
  }
@@ -2892,6 +2928,10 @@
2892
2928
  overflow-y: hidden;
2893
2929
  }
2894
2930
 
2931
+ .relay-pb_1:not(#\#):not(#\#):not(#\#):not(#\#) {
2932
+ padding-bottom: var(--relay-spacing-1);
2933
+ }
2934
+
2895
2935
  .relay-pt_2:not(#\#):not(#\#):not(#\#):not(#\#) {
2896
2936
  padding-top: var(--relay-spacing-2);
2897
2937
  }
@@ -3405,6 +3445,9 @@ button:hover:not(#\#):not(#\#):not(#\#):not(#\#) .\[button\:hover_\&\]\:relay-bg
3405
3445
  }
3406
3446
  .sm\:relay-max-w_532px:not(#\#):not(#\#):not(#\#):not(#\#) {
3407
3447
  max-width: 532px;
3448
+ }
3449
+ .sm\:relay-max-w_100\%:not(#\#):not(#\#):not(#\#):not(#\#) {
3450
+ max-width: 100%;
3408
3451
  }
3409
3452
  .sm\:relay-d_block:not(#\#):not(#\#):not(#\#):not(#\#) {
3410
3453
  display: block;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relayprotocol/relay-kit-ui",
3
- "version": "5.1.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",