suioutkit 1.2.0 → 1.2.1
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/index.js +1 -1
- package/package.json +1 -1
- package/src/components/modal.ts +1 -1
- package/src/components/style.css +9 -9
package/dist/index.js
CHANGED
|
@@ -52741,7 +52741,7 @@ var SuiOutKitModal = class {
|
|
|
52741
52741
|
return;
|
|
52742
52742
|
}
|
|
52743
52743
|
const paymentUri = this.buildPaymentUri(this.cryptoIntent);
|
|
52744
|
-
const qrCodeUrl = await import_qrcode.default.toDataURL(paymentUri, { width:
|
|
52744
|
+
const qrCodeUrl = await import_qrcode.default.toDataURL(paymentUri, { width: 300, margin: 2 });
|
|
52745
52745
|
container.innerHTML = `
|
|
52746
52746
|
<button class="suioutkit-back" id="sok-back-btn">\u2190 Back to Sui options</button>
|
|
52747
52747
|
<div class="suioutkit-panel">
|
package/package.json
CHANGED
package/src/components/modal.ts
CHANGED
|
@@ -835,7 +835,7 @@ export class SuiOutKitModal {
|
|
|
835
835
|
}
|
|
836
836
|
|
|
837
837
|
const paymentUri = this.buildPaymentUri(this.cryptoIntent);
|
|
838
|
-
const qrCodeUrl = await QRCode.toDataURL(paymentUri, { width:
|
|
838
|
+
const qrCodeUrl = await QRCode.toDataURL(paymentUri, { width: 300, margin: 2 });
|
|
839
839
|
|
|
840
840
|
container.innerHTML = `
|
|
841
841
|
<button class="suioutkit-back" id="sok-back-btn">← Back to Sui options</button>
|
package/src/components/style.css
CHANGED
|
@@ -428,20 +428,20 @@
|
|
|
428
428
|
|
|
429
429
|
.sok-qr-frame {
|
|
430
430
|
background: #ffffff;
|
|
431
|
-
padding:
|
|
431
|
+
padding: 12px;
|
|
432
432
|
border-radius: 14px;
|
|
433
433
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
|
|
434
434
|
position: relative;
|
|
435
435
|
overflow: hidden;
|
|
436
436
|
margin-bottom: 10px;
|
|
437
|
-
width:
|
|
438
|
-
height:
|
|
437
|
+
width: 260px;
|
|
438
|
+
height: 260px;
|
|
439
439
|
box-sizing: border-box;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
.sok-qr-img {
|
|
443
|
-
width:
|
|
444
|
-
height:
|
|
443
|
+
width: 236px;
|
|
444
|
+
height: 236px;
|
|
445
445
|
display: block;
|
|
446
446
|
}
|
|
447
447
|
|
|
@@ -742,13 +742,13 @@
|
|
|
742
742
|
}
|
|
743
743
|
|
|
744
744
|
.sok-qr-frame {
|
|
745
|
-
width:
|
|
746
|
-
height:
|
|
745
|
+
width: 220px;
|
|
746
|
+
height: 220px;
|
|
747
747
|
}
|
|
748
748
|
|
|
749
749
|
.sok-qr-img {
|
|
750
|
-
width:
|
|
751
|
-
height:
|
|
750
|
+
width: 196px;
|
|
751
|
+
height: 196px;
|
|
752
752
|
}
|
|
753
753
|
|
|
754
754
|
.sok-success-details {
|