@relayprotocol/relay-kit-ui 7.0.7 → 7.0.8

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 (54) hide show
  1. package/_cjs/src/components/common/CustomAddressModal.js +41 -7
  2. package/_cjs/src/components/common/CustomAddressModal.js.map +1 -1
  3. package/_cjs/src/components/common/MultiWalletDropdown.js +7 -3
  4. package/_cjs/src/components/common/MultiWalletDropdown.js.map +1 -1
  5. package/_cjs/src/components/widgets/OnrampWidget/widget/OnrampWidgetRenderer.js +1 -4
  6. package/_cjs/src/components/widgets/OnrampWidget/widget/OnrampWidgetRenderer.js.map +1 -1
  7. package/_cjs/src/components/widgets/SwapWidgetRenderer.js +11 -3
  8. package/_cjs/src/components/widgets/SwapWidgetRenderer.js.map +1 -1
  9. package/_cjs/src/components/widgets/TokenWidget/widget/TokenWidgetRenderer.js +11 -3
  10. package/_cjs/src/components/widgets/TokenWidget/widget/TokenWidgetRenderer.js.map +1 -1
  11. package/_cjs/src/hooks/index.js +5 -1
  12. package/_cjs/src/hooks/index.js.map +1 -1
  13. package/_cjs/src/hooks/useDisplayName.js +53 -0
  14. package/_cjs/src/hooks/useDisplayName.js.map +1 -0
  15. package/_cjs/src/hooks/useLighterAccount.js +50 -0
  16. package/_cjs/src/hooks/useLighterAccount.js.map +1 -0
  17. package/_cjs/src/styles.css +12 -16
  18. package/_cjs/src/version.js +1 -1
  19. package/_cjs/tsconfig.build.tsbuildinfo +1 -1
  20. package/_esm/src/components/common/CustomAddressModal.js +46 -9
  21. package/_esm/src/components/common/CustomAddressModal.js.map +1 -1
  22. package/_esm/src/components/common/MultiWalletDropdown.js +7 -3
  23. package/_esm/src/components/common/MultiWalletDropdown.js.map +1 -1
  24. package/_esm/src/components/widgets/OnrampWidget/widget/OnrampWidgetRenderer.js +2 -5
  25. package/_esm/src/components/widgets/OnrampWidget/widget/OnrampWidgetRenderer.js.map +1 -1
  26. package/_esm/src/components/widgets/SwapWidgetRenderer.js +14 -4
  27. package/_esm/src/components/widgets/SwapWidgetRenderer.js.map +1 -1
  28. package/_esm/src/components/widgets/TokenWidget/widget/TokenWidgetRenderer.js +14 -4
  29. package/_esm/src/components/widgets/TokenWidget/widget/TokenWidgetRenderer.js.map +1 -1
  30. package/_esm/src/hooks/index.js +3 -1
  31. package/_esm/src/hooks/index.js.map +1 -1
  32. package/_esm/src/hooks/useDisplayName.js +62 -0
  33. package/_esm/src/hooks/useDisplayName.js.map +1 -0
  34. package/_esm/src/hooks/useLighterAccount.js +56 -0
  35. package/_esm/src/hooks/useLighterAccount.js.map +1 -0
  36. package/_esm/src/styles.css +12 -16
  37. package/_esm/src/version.js +1 -1
  38. package/_esm/tsconfig.build.tsbuildinfo +1 -1
  39. package/_types/src/components/common/CustomAddressModal.d.ts.map +1 -1
  40. package/_types/src/components/common/MultiWalletDropdown.d.ts.map +1 -1
  41. package/_types/src/components/widgets/OnrampWidget/widget/OnrampWidgetRenderer.d.ts.map +1 -1
  42. package/_types/src/components/widgets/SwapWidgetRenderer.d.ts.map +1 -1
  43. package/_types/src/components/widgets/TokenWidget/widget/TokenWidgetRenderer.d.ts.map +1 -1
  44. package/_types/src/hooks/index.d.ts +3 -1
  45. package/_types/src/hooks/index.d.ts.map +1 -1
  46. package/_types/src/hooks/useDisplayName.d.ts +14 -0
  47. package/_types/src/hooks/useDisplayName.d.ts.map +1 -0
  48. package/_types/src/hooks/useLighterAccount.d.ts +21 -0
  49. package/_types/src/hooks/useLighterAccount.d.ts.map +1 -0
  50. package/_types/src/version.d.ts +1 -1
  51. package/_types/tsconfig.build.tsbuildinfo +1 -1
  52. package/dist/panda.buildinfo.json +4 -5
  53. package/dist/styles.css +12 -16
  54. package/package.json +2 -2
@@ -30,10 +30,10 @@
30
30
  "gap]___[value:2",
31
31
  "position]___[value:relative",
32
32
  "display]___[value:inline-block",
33
- "background]___[value:amber2",
33
+ "background]___[value:green2",
34
34
  "padding]___[value:2",
35
35
  "borderRadius]___[value:8",
36
- "background]___[value:green2",
36
+ "background]___[value:amber2",
37
37
  "flexWrap]___[value:wrap",
38
38
  "color]___[value:warning",
39
39
  "height]___[value:48",
@@ -50,8 +50,8 @@
50
50
  "justifyContent]___[value:center",
51
51
  "backgroundColor]___[value:gray3",
52
52
  "color]___[value:gray8",
53
- "color]___[value:#FFA01C",
54
53
  "color]___[value:#30A46C",
54
+ "color]___[value:#FFA01C",
55
55
  "color]___[value:#9CA3AF",
56
56
  "right]___[value:2",
57
57
  "top]___[value:3",
@@ -73,8 +73,7 @@
73
73
  "--borderColor]___[value:colors.subtle-border-color",
74
74
  "border]___[value:1px solid var(--borderColor)",
75
75
  "padding]___[value:4",
76
- "paddingLeft]___[value:0 !important",
77
- "paddingRight]___[value:2 !important",
76
+ "paddingInline]___[value:2 !important",
78
77
  "alignContent]___[value:center",
79
78
  "gap]___[value:1",
80
79
  "flexShrink]___[value:1",
package/dist/styles.css CHANGED
@@ -1136,8 +1136,8 @@
1136
1136
  display: inline-block;
1137
1137
  }
1138
1138
 
1139
- .relay-bg_amber2:not(#\#):not(#\#):not(#\#):not(#\#) {
1140
- background: var(--relay-colors-amber2);
1139
+ .relay-bg_green2:not(#\#):not(#\#):not(#\#):not(#\#) {
1140
+ background: var(--relay-colors-green2);
1141
1141
  }
1142
1142
 
1143
1143
  .relay-p_2:not(#\#):not(#\#):not(#\#):not(#\#) {
@@ -1148,8 +1148,8 @@
1148
1148
  border-radius: 8px;
1149
1149
  }
1150
1150
 
1151
- .relay-bg_green2:not(#\#):not(#\#):not(#\#):not(#\#) {
1152
- background: var(--relay-colors-green2);
1151
+ .relay-bg_amber2:not(#\#):not(#\#):not(#\#):not(#\#) {
1152
+ background: var(--relay-colors-amber2);
1153
1153
  }
1154
1154
 
1155
1155
  .relay-text_warning:not(#\#):not(#\#):not(#\#):not(#\#) {
@@ -1196,14 +1196,14 @@
1196
1196
  color: var(--relay-colors-gray8);
1197
1197
  }
1198
1198
 
1199
- .relay-text_\#FFA01C:not(#\#):not(#\#):not(#\#):not(#\#) {
1200
- color: #FFA01C;
1201
- }
1202
-
1203
1199
  .relay-text_\#30A46C:not(#\#):not(#\#):not(#\#):not(#\#) {
1204
1200
  color: #30A46C;
1205
1201
  }
1206
1202
 
1203
+ .relay-text_\#FFA01C:not(#\#):not(#\#):not(#\#):not(#\#) {
1204
+ color: #FFA01C;
1205
+ }
1206
+
1207
1207
  .relay-text_\#9CA3AF:not(#\#):not(#\#):not(#\#):not(#\#) {
1208
1208
  color: #9CA3AF;
1209
1209
  }
@@ -1260,6 +1260,10 @@
1260
1260
  padding: var(--relay-spacing-4);
1261
1261
  }
1262
1262
 
1263
+ .relay-px_2\!:not(#\#) {
1264
+ padding-inline: var(--relay-spacing-2) !important;
1265
+ }
1266
+
1263
1267
  .relay-gap_1:not(#\#):not(#\#):not(#\#):not(#\#) {
1264
1268
  gap: var(--relay-spacing-1);
1265
1269
  }
@@ -2592,14 +2596,6 @@
2592
2596
  background-color: var(--relay-colors-black-a10);
2593
2597
  }
2594
2598
 
2595
- .relay-pl_0\!:not(#\#) {
2596
- padding-left: 0 !important;
2597
- }
2598
-
2599
- .relay-pr_2\!:not(#\#) {
2600
- padding-right: var(--relay-spacing-2) !important;
2601
- }
2602
-
2603
2599
  .relay-content_center:not(#\#):not(#\#):not(#\#):not(#\#) {
2604
2600
  align-content: center;
2605
2601
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relayprotocol/relay-kit-ui",
3
- "version": "7.0.7",
3
+ "version": "7.0.8",
4
4
  "type": "module",
5
5
  "main": "./_cjs/src/index.js",
6
6
  "module": "./_esm/src/index.js",
@@ -84,8 +84,8 @@
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-kit-hooks": "3.0.2",
88
87
  "@relayprotocol/relay-design-system": "^1.0.0",
88
+ "@relayprotocol/relay-kit-hooks": "3.0.2",
89
89
  "@relayprotocol/relay-sdk": "5.0.0"
90
90
  },
91
91
  "keywords": [