@relayprotocol/relay-kit-ui 4.0.13 → 4.0.14

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 (52) hide show
  1. package/_cjs/src/components/primitives/ChainIcon.js +4 -3
  2. package/_cjs/src/components/primitives/ChainIcon.js.map +1 -1
  3. package/_cjs/src/components/primitives/ChainTokenIcon.js +8 -3
  4. package/_cjs/src/components/primitives/ChainTokenIcon.js.map +1 -1
  5. package/_cjs/src/components/primitives/Pill.js +4 -0
  6. package/_cjs/src/components/primitives/Pill.js.map +1 -1
  7. package/_cjs/src/components/widgets/SwapWidget/GasTopUpSection.js +18 -11
  8. package/_cjs/src/components/widgets/SwapWidget/GasTopUpSection.js.map +1 -1
  9. package/_cjs/src/components/widgets/SwapWidget/index.js +11 -11
  10. package/_cjs/src/components/widgets/SwapWidget/index.js.map +1 -1
  11. package/_cjs/src/components/widgets/SwapWidgetRenderer.js +2 -1
  12. package/_cjs/src/components/widgets/SwapWidgetRenderer.js.map +1 -1
  13. package/_cjs/src/hooks/useGasTopUpRequired.js +5 -3
  14. package/_cjs/src/hooks/useGasTopUpRequired.js.map +1 -1
  15. package/_cjs/src/styles.css +20 -12
  16. package/_cjs/src/version.js +1 -1
  17. package/_cjs/tsconfig.build.tsbuildinfo +1 -1
  18. package/_esm/src/components/primitives/ChainIcon.js +4 -3
  19. package/_esm/src/components/primitives/ChainIcon.js.map +1 -1
  20. package/_esm/src/components/primitives/ChainTokenIcon.js +8 -3
  21. package/_esm/src/components/primitives/ChainTokenIcon.js.map +1 -1
  22. package/_esm/src/components/primitives/Pill.js +4 -0
  23. package/_esm/src/components/primitives/Pill.js.map +1 -1
  24. package/_esm/src/components/widgets/SwapWidget/GasTopUpSection.js +21 -14
  25. package/_esm/src/components/widgets/SwapWidget/GasTopUpSection.js.map +1 -1
  26. package/_esm/src/components/widgets/SwapWidget/index.js +11 -11
  27. package/_esm/src/components/widgets/SwapWidget/index.js.map +1 -1
  28. package/_esm/src/components/widgets/SwapWidgetRenderer.js +2 -1
  29. package/_esm/src/components/widgets/SwapWidgetRenderer.js.map +1 -1
  30. package/_esm/src/hooks/useGasTopUpRequired.js +5 -3
  31. package/_esm/src/hooks/useGasTopUpRequired.js.map +1 -1
  32. package/_esm/src/styles.css +20 -12
  33. package/_esm/src/version.js +1 -1
  34. package/_esm/tsconfig.build.tsbuildinfo +1 -1
  35. package/_types/src/components/primitives/ChainIcon.d.ts +1 -0
  36. package/_types/src/components/primitives/ChainIcon.d.ts.map +1 -1
  37. package/_types/src/components/primitives/ChainTokenIcon.d.ts +2 -1
  38. package/_types/src/components/primitives/ChainTokenIcon.d.ts.map +1 -1
  39. package/_types/src/components/primitives/Pill.d.ts +4 -0
  40. package/_types/src/components/primitives/Pill.d.ts.map +1 -1
  41. package/_types/src/components/widgets/SwapWidget/GasTopUpSection.d.ts +1 -0
  42. package/_types/src/components/widgets/SwapWidget/GasTopUpSection.d.ts.map +1 -1
  43. package/_types/src/components/widgets/SwapWidget/index.d.ts.map +1 -1
  44. package/_types/src/components/widgets/SwapWidgetRenderer.d.ts +1 -0
  45. package/_types/src/components/widgets/SwapWidgetRenderer.d.ts.map +1 -1
  46. package/_types/src/hooks/useGasTopUpRequired.d.ts +1 -0
  47. package/_types/src/hooks/useGasTopUpRequired.d.ts.map +1 -1
  48. package/_types/src/version.d.ts +1 -1
  49. package/_types/tsconfig.build.tsbuildinfo +1 -1
  50. package/dist/panda.buildinfo.json +5 -3
  51. package/dist/styles.css +20 -12
  52. package/package.json +1 -1
@@ -175,10 +175,10 @@
175
175
  "fontStyle]___[value:var(--relay-fonts-button-cta-font-style, normal)]___[cond:&:not(:disabled)",
176
176
  "token]___[value:32",
177
177
  "chain]___[value:16",
178
+ "borderRadius]___[value:4",
178
179
  "borderRadius]___[value:50%",
179
180
  "backgroundColor]___[value:primary4",
180
181
  "color]___[value:primary8",
181
- "borderRadius]___[value:4",
182
182
  "--borderColor]___[value:colors.modal-background",
183
183
  "backgroundColor]___[value:modal-background",
184
184
  "animation]___[value:collapsibleSlideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)]___[cond:_data_state_open",
@@ -239,6 +239,8 @@
239
239
  "background]___[value:red3",
240
240
  "background]___[value:green3",
241
241
  "color]___[value:green12",
242
+ "background]___[value:primary3",
243
+ "color]___[value:primary12",
242
244
  "borderRadius]___[value:25",
243
245
  "animationName]___[value:pulse",
244
246
  "backgroundColor]___[value:skeleton-background",
@@ -412,6 +414,8 @@
412
414
  "maxWidth]___[value:412px !important",
413
415
  "marginBottom]___[value:8",
414
416
  "maxWidth]___[value:unset !important]___[cond:@media(max-width: 520px)",
417
+ "marginRight]___[value:2",
418
+ "marginRight]___[value:6px",
415
419
  "textDecoration]___[value:line-through",
416
420
  "border]___[value:widget-border",
417
421
  "minWidth]___[value:300",
@@ -551,7 +555,6 @@
551
555
  "scrollPaddingTop]___[value:40px",
552
556
  "paddingTop]___[value:40px",
553
557
  "paddingBottom]___[value:24px",
554
- "marginRight]___[value:2",
555
558
  "textIndent]___[value:-36px",
556
559
  "fontSize]___[value:48",
557
560
  "lineHeight]___[value:58px",
@@ -566,7 +569,6 @@
566
569
  "width]___[value:48",
567
570
  "height]___[value:52",
568
571
  "borderRadius]___[value:100%",
569
- "background]___[value:primary3",
570
572
  "bottom]___[value:-6px",
571
573
  "right]___[value:-6px",
572
574
  "border]___[value:2px solid var(--borderColor)",
package/dist/styles.css CHANGED
@@ -1478,6 +1478,10 @@
1478
1478
  chain: 16px;
1479
1479
  }
1480
1480
 
1481
+ .relay-rounded_4:not(#\#):not(#\#):not(#\#):not(#\#) {
1482
+ border-radius: 4px;
1483
+ }
1484
+
1481
1485
  .relay-rounded_50\%:not(#\#):not(#\#):not(#\#):not(#\#) {
1482
1486
  border-radius: 50%;
1483
1487
  }
@@ -1486,10 +1490,6 @@
1486
1490
  color: var(--relay-colors-primary8);
1487
1491
  }
1488
1492
 
1489
- .relay-rounded_4:not(#\#):not(#\#):not(#\#):not(#\#) {
1490
- border-radius: 4px;
1491
- }
1492
-
1493
1493
  .relay---borderColor_colors\.modal-background:not(#\#):not(#\#):not(#\#):not(#\#) {
1494
1494
  --borderColor: var(--relay-colors-modal-background);
1495
1495
  }
@@ -1590,6 +1590,14 @@
1590
1590
  color: var(--relay-colors-green12);
1591
1591
  }
1592
1592
 
1593
+ .relay-bg_primary3:not(#\#):not(#\#):not(#\#):not(#\#) {
1594
+ background: var(--relay-colors-primary3);
1595
+ }
1596
+
1597
+ .relay-text_primary12:not(#\#):not(#\#):not(#\#):not(#\#) {
1598
+ color: var(--relay-colors-primary12);
1599
+ }
1600
+
1593
1601
  .relay-rounded_25:not(#\#):not(#\#):not(#\#):not(#\#) {
1594
1602
  border-radius: 25px;
1595
1603
  }
@@ -2340,10 +2348,6 @@
2340
2348
  border-radius: 100%;
2341
2349
  }
2342
2350
 
2343
- .relay-bg_primary3:not(#\#):not(#\#):not(#\#):not(#\#) {
2344
- background: var(--relay-colors-primary3);
2345
- }
2346
-
2347
2351
  .relay-border_2px_solid_var\(--borderColor\):not(#\#):not(#\#):not(#\#):not(#\#) {
2348
2352
  border: 2px solid var(--borderColor);
2349
2353
  }
@@ -2816,6 +2820,14 @@
2816
2820
  margin-bottom: 8px;
2817
2821
  }
2818
2822
 
2823
+ .relay-mr_2:not(#\#):not(#\#):not(#\#):not(#\#) {
2824
+ margin-right: var(--relay-spacing-2);
2825
+ }
2826
+
2827
+ .relay-mr_6px:not(#\#):not(#\#):not(#\#):not(#\#) {
2828
+ margin-right: 6px;
2829
+ }
2830
+
2819
2831
  .relay-leading_36px:not(#\#):not(#\#):not(#\#):not(#\#) {
2820
2832
  line-height: 36px;
2821
2833
  }
@@ -2940,10 +2952,6 @@
2940
2952
  padding-bottom: 24px;
2941
2953
  }
2942
2954
 
2943
- .relay-mr_2:not(#\#):not(#\#):not(#\#):not(#\#) {
2944
- margin-right: var(--relay-spacing-2);
2945
- }
2946
-
2947
2955
  .relay-fs_48:not(#\#):not(#\#):not(#\#):not(#\#) {
2948
2956
  font-size: 48px;
2949
2957
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relayprotocol/relay-kit-ui",
3
- "version": "4.0.13",
3
+ "version": "4.0.14",
4
4
  "type": "module",
5
5
  "main": "./_cjs/src/index.js",
6
6
  "module": "./_esm/src/index.js",