@rhinestone/deposit-modal 0.1.12 → 0.1.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.
package/dist/styles.css CHANGED
@@ -70,6 +70,9 @@
70
70
  --rs-secondary: var(--color-gray3);
71
71
  --rs-secondary-hover: var(--color-gray4);
72
72
 
73
+ --rs-shadow-dropdown:
74
+ 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
75
+
73
76
  /* Sizing */
74
77
  --rs-height-button: 42px;
75
78
  --rs-height-titlebar: 36px;
@@ -100,18 +103,34 @@
100
103
  ============================================================================= */
101
104
 
102
105
  .rs-modal[data-theme="dark"] {
103
- --color-gray1: #111111;
104
- --color-gray2: #191919;
105
- --color-gray3: #222222;
106
- --color-gray4: #2a2a2a;
107
- --color-gray5: #313131;
108
- --color-gray6: #3a3a3a;
109
- --color-gray7: #484848;
110
- --color-gray8: #606060;
106
+ --color-gray1: #050505;
107
+ --color-gray2: #0a0a0a;
108
+ --color-gray3: #131313;
109
+ --color-gray4: #1a1a1a;
110
+ --color-gray5: #232323;
111
+ --color-gray6: #2c2c2c;
112
+ --color-gray7: #3b3b3b;
113
+ --color-gray8: #525252;
111
114
  --color-gray9: #6e6e6e;
112
- --color-gray10: #7b7b7b;
113
- --color-gray11: #b4b4b4;
114
- --color-gray12: #eeeeee;
115
+ --color-gray10: #9a9a9a;
116
+ --color-gray11: #b0b0b0;
117
+ --color-gray12: #ededed;
118
+
119
+ /* Dark mode tints: translucent overlays instead of light pastels */
120
+ --color-blue3: rgba(0, 144, 255, 0.10);
121
+ --color-blue4: rgba(0, 144, 255, 0.16);
122
+ --color-blue10: #3b9eff;
123
+ --color-green3: rgba(48, 164, 108, 0.10);
124
+ --color-green4: rgba(48, 164, 108, 0.16);
125
+ --color-green10: #3cb179;
126
+ --color-red3: rgba(229, 72, 77, 0.10);
127
+ --color-red4: rgba(229, 72, 77, 0.16);
128
+ --color-red10: #f16a6e;
129
+ --color-amber3: rgba(226, 163, 54, 0.10);
130
+
131
+ --rs-shadow-dropdown:
132
+ 0 4px 20px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
133
+
115
134
  color-scheme: dark;
116
135
  }
117
136
 
@@ -1149,7 +1168,6 @@
1149
1168
  .rs-connect-wallet-row {
1150
1169
  display: flex;
1151
1170
  align-items: center;
1152
- justify-content: space-between;
1153
1171
  gap: 12px;
1154
1172
  width: 100%;
1155
1173
  padding: 10px 12px;
@@ -1178,11 +1196,67 @@
1178
1196
  border-style: dashed;
1179
1197
  }
1180
1198
 
1199
+ .rs-connect-wallet-icon {
1200
+ display: flex;
1201
+ align-items: center;
1202
+ justify-content: center;
1203
+ width: 36px;
1204
+ height: 36px;
1205
+ min-width: 36px;
1206
+ border-radius: 50%;
1207
+ background: var(--rs-surface);
1208
+ color: var(--rs-muted);
1209
+ transition:
1210
+ background-color 0.15s ease,
1211
+ color 0.15s ease;
1212
+ }
1213
+
1214
+ .rs-connect-wallet-icon svg {
1215
+ width: 18px;
1216
+ height: 18px;
1217
+ }
1218
+
1219
+ .rs-connect-wallet-icon--selected {
1220
+ background: var(--rs-primary-tint);
1221
+ color: var(--rs-primary);
1222
+ }
1223
+
1224
+ .rs-connect-wallet-icon--action {
1225
+ background: var(--rs-background-secondary);
1226
+ color: var(--rs-muted-foreground);
1227
+ }
1228
+
1229
+ .rs-connect-wallet-row:hover .rs-connect-wallet-icon--action {
1230
+ background: var(--rs-surface);
1231
+ }
1232
+
1233
+ .rs-connect-wallet-indicator {
1234
+ display: flex;
1235
+ align-items: center;
1236
+ justify-content: center;
1237
+ width: 16px;
1238
+ height: 16px;
1239
+ min-width: 16px;
1240
+ color: var(--rs-muted-foreground);
1241
+ margin-left: auto;
1242
+ transition: color 0.15s ease;
1243
+ }
1244
+
1245
+ .rs-connect-wallet-indicator svg {
1246
+ width: 14px;
1247
+ height: 14px;
1248
+ }
1249
+
1250
+ .rs-connect-wallet-row--selected .rs-connect-wallet-indicator {
1251
+ color: var(--rs-primary);
1252
+ }
1253
+
1181
1254
  .rs-connect-wallet-meta {
1182
1255
  display: flex;
1183
1256
  flex-direction: column;
1184
1257
  gap: 2px;
1185
1258
  min-width: 0;
1259
+ flex: 1;
1186
1260
  }
1187
1261
 
1188
1262
  .rs-connect-wallet-label {
@@ -1601,6 +1675,11 @@
1601
1675
  gap: 6px;
1602
1676
  }
1603
1677
 
1678
+ .rs-flow-pill-token-icon-wrapper {
1679
+ position: relative;
1680
+ flex-shrink: 0;
1681
+ }
1682
+
1604
1683
  .rs-flow-pill-token-icon {
1605
1684
  width: 20px;
1606
1685
  height: 20px;
@@ -1623,6 +1702,29 @@
1623
1702
  object-fit: contain;
1624
1703
  }
1625
1704
 
1705
+ .rs-flow-pill-chain-badge {
1706
+ position: absolute;
1707
+ bottom: -2px;
1708
+ right: -2px;
1709
+ width: 12px;
1710
+ height: 12px;
1711
+ border-radius: 50%;
1712
+ border: 1.5px solid var(--rs-surface);
1713
+ display: flex;
1714
+ align-items: center;
1715
+ justify-content: center;
1716
+ font-size: 6px;
1717
+ font-weight: 700;
1718
+ overflow: hidden;
1719
+ }
1720
+
1721
+ .rs-flow-pill-chain-badge img {
1722
+ width: 100%;
1723
+ height: 100%;
1724
+ border-radius: 50%;
1725
+ object-fit: contain;
1726
+ }
1727
+
1626
1728
  .rs-flow-pill-token-symbol {
1627
1729
  font-size: 13px;
1628
1730
  font-weight: 500;
@@ -2058,9 +2160,7 @@
2058
2160
  background: var(--rs-background);
2059
2161
  border: 1px solid var(--rs-border);
2060
2162
  border-radius: var(--rs-radius-sm);
2061
- box-shadow:
2062
- 0 -4px 12px rgba(0, 0, 0, 0.08),
2063
- 0 -1px 3px rgba(0, 0, 0, 0.06);
2163
+ box-shadow: var(--rs-shadow-dropdown);
2064
2164
  padding: 4px;
2065
2165
  display: flex;
2066
2166
  flex-direction: column;
@@ -2192,8 +2292,7 @@
2192
2292
  display: flex;
2193
2293
  flex-direction: column;
2194
2294
  align-items: center;
2195
- gap: 16px;
2196
- padding: 8px 0;
2295
+ gap: 12px;
2197
2296
  }
2198
2297
 
2199
2298
  .rs-deposit-address-selectors {
@@ -2265,9 +2364,7 @@
2265
2364
  background: var(--rs-background);
2266
2365
  border: 1px solid var(--rs-border);
2267
2366
  border-radius: var(--rs-radius-sm);
2268
- box-shadow:
2269
- 0 4px 12px rgba(0, 0, 0, 0.08),
2270
- 0 1px 3px rgba(0, 0, 0, 0.06);
2367
+ box-shadow: var(--rs-shadow-dropdown);
2271
2368
  padding: 4px;
2272
2369
  display: flex;
2273
2370
  flex-direction: column;
@@ -2334,8 +2431,9 @@
2334
2431
 
2335
2432
  .rs-deposit-address-value {
2336
2433
  font-size: 12px;
2337
- font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
2338
- "Liberation Mono", monospace;
2434
+ font-family:
2435
+ ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
2436
+ monospace;
2339
2437
  color: var(--rs-foreground);
2340
2438
  word-break: break-all;
2341
2439
  text-align: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {