hd-wallet-ui 2.0.13 → 2.0.15
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/package.json +2 -2
- package/src/template.js +1 -1
- package/styles/main.css +21 -4
- package/styles/widget.css +21 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hd-wallet-ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.15",
|
|
4
4
|
"description": "HD Wallet modal UI — login, keys, identity, trust map, and security bond. Attach to any button in your app.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/app.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"buffer": "^6.0.3",
|
|
41
41
|
"flatbuffers": "^25.9.23",
|
|
42
42
|
"flatc-wasm": "^26.1.32",
|
|
43
|
-
"hd-wallet-wasm": "^2.0.
|
|
43
|
+
"hd-wallet-wasm": "^2.0.15",
|
|
44
44
|
"qrcode": "^1.5.3",
|
|
45
45
|
"spacedatastandards.org": "^1.93.3",
|
|
46
46
|
"vcard-cryptoperson": "^1.1.11"
|
package/src/template.js
CHANGED
|
@@ -3,7 +3,7 @@ export function getModalHTML() {
|
|
|
3
3
|
<!-- Keys Modal -->
|
|
4
4
|
<div id="keys-modal" class="modal">
|
|
5
5
|
<div class="modal-glass modal-wide">
|
|
6
|
-
<div class="modal-header account-modal-header"><div class="account-header-info"><div class="account-wallet-row"><select id="account-wallet-select" class="glass-input compact account-wallet-select" aria-label="Select wallet"></select></div><div class="account-wallet-summary"><div class="ph-portfolio-value" id="wallet-bond-value">$0.00</div><div class="ph-portfolio-label">Bond</div></div></div><button class="modal-close account-modal-close" type="button" aria-label="Close"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg></button></div>
|
|
6
|
+
<div class="modal-header account-modal-header"><div class="account-header-info"><div class="account-wallet-row"><select id="account-wallet-select" class="glass-input compact account-wallet-select" aria-label="Select wallet"></select></div><div class="account-wallet-summary"><div class="account-wallet-balance-line"><div class="ph-portfolio-value" id="wallet-bond-value">$0.00</div><div class="ph-portfolio-label">Bond</div></div></div></div><button class="modal-close account-modal-close" type="button" aria-label="Close"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg></button></div>
|
|
7
7
|
<div class="modal-tabs">
|
|
8
8
|
<button class="modal-tab active" data-modal-tab="vcard-tab-content">Identity</button>
|
|
9
9
|
<button class="modal-tab" data-modal-tab="trust-tab-content">Trust Map</button>
|
package/styles/main.css
CHANGED
|
@@ -1188,7 +1188,8 @@ body:has(.modal.active) .nav-bar {
|
|
|
1188
1188
|
.account-header-info {
|
|
1189
1189
|
display: flex;
|
|
1190
1190
|
flex-direction: column;
|
|
1191
|
-
align-items:
|
|
1191
|
+
align-items: flex-start;
|
|
1192
|
+
justify-content: center;
|
|
1192
1193
|
gap: 8px;
|
|
1193
1194
|
flex: 1 1 auto;
|
|
1194
1195
|
min-width: 0;
|
|
@@ -1196,7 +1197,7 @@ body:has(.modal.active) .nav-bar {
|
|
|
1196
1197
|
|
|
1197
1198
|
.account-modal-header {
|
|
1198
1199
|
position: relative;
|
|
1199
|
-
|
|
1200
|
+
align-items: center;
|
|
1200
1201
|
min-height: 118px;
|
|
1201
1202
|
padding-right: 56px;
|
|
1202
1203
|
}
|
|
@@ -1204,7 +1205,7 @@ body:has(.modal.active) .nav-bar {
|
|
|
1204
1205
|
.account-wallet-row {
|
|
1205
1206
|
display: flex;
|
|
1206
1207
|
align-items: center;
|
|
1207
|
-
justify-content:
|
|
1208
|
+
justify-content: flex-start;
|
|
1208
1209
|
gap: 8px;
|
|
1209
1210
|
width: auto;
|
|
1210
1211
|
min-width: 0;
|
|
@@ -1228,7 +1229,23 @@ body:has(.modal.active) .nav-bar {
|
|
|
1228
1229
|
}
|
|
1229
1230
|
|
|
1230
1231
|
.account-wallet-summary {
|
|
1231
|
-
text-align:
|
|
1232
|
+
text-align: left;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
.account-wallet-balance-line {
|
|
1236
|
+
display: flex;
|
|
1237
|
+
align-items: center;
|
|
1238
|
+
gap: 8px;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
.account-wallet-summary .ph-portfolio-value {
|
|
1242
|
+
color: #4ade80;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
.account-wallet-summary .ph-portfolio-label {
|
|
1246
|
+
font-size: 18px;
|
|
1247
|
+
color: var(--white-80);
|
|
1248
|
+
margin-top: 0;
|
|
1232
1249
|
}
|
|
1233
1250
|
|
|
1234
1251
|
@media (max-width: 600px) {
|
package/styles/widget.css
CHANGED
|
@@ -1190,7 +1190,8 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
|
|
|
1190
1190
|
#hd-wallet-ui-container .account-header-info {
|
|
1191
1191
|
display: flex;
|
|
1192
1192
|
flex-direction: column;
|
|
1193
|
-
align-items:
|
|
1193
|
+
align-items: flex-start;
|
|
1194
|
+
justify-content: center;
|
|
1194
1195
|
gap: 8px;
|
|
1195
1196
|
flex: 1 1 auto;
|
|
1196
1197
|
min-width: 0;
|
|
@@ -1198,7 +1199,7 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
|
|
|
1198
1199
|
|
|
1199
1200
|
#hd-wallet-ui-container .account-modal-header {
|
|
1200
1201
|
position: relative;
|
|
1201
|
-
|
|
1202
|
+
align-items: center;
|
|
1202
1203
|
min-height: 118px;
|
|
1203
1204
|
padding-right: 56px;
|
|
1204
1205
|
}
|
|
@@ -1206,7 +1207,7 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
|
|
|
1206
1207
|
#hd-wallet-ui-container .account-wallet-row {
|
|
1207
1208
|
display: flex;
|
|
1208
1209
|
align-items: center;
|
|
1209
|
-
justify-content:
|
|
1210
|
+
justify-content: flex-start;
|
|
1210
1211
|
gap: 8px;
|
|
1211
1212
|
width: auto;
|
|
1212
1213
|
min-width: 0;
|
|
@@ -1230,7 +1231,23 @@ body:has(#hd-wallet-ui-container .modal.active) #hd-wallet-ui-container .nav-bar
|
|
|
1230
1231
|
}
|
|
1231
1232
|
|
|
1232
1233
|
#hd-wallet-ui-container .account-wallet-summary {
|
|
1233
|
-
text-align:
|
|
1234
|
+
text-align: left;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
#hd-wallet-ui-container .account-wallet-balance-line {
|
|
1238
|
+
display: flex;
|
|
1239
|
+
align-items: center;
|
|
1240
|
+
gap: 8px;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
#hd-wallet-ui-container .account-wallet-summary .ph-portfolio-value {
|
|
1244
|
+
color: #4ade80;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
#hd-wallet-ui-container .account-wallet-summary .ph-portfolio-label {
|
|
1248
|
+
font-size: 18px;
|
|
1249
|
+
color: var(--white-80);
|
|
1250
|
+
margin-top: 0;
|
|
1234
1251
|
}
|
|
1235
1252
|
|
|
1236
1253
|
@media (max-width: 600px) {
|