@arcblock/did-connect-service 4.1.53 → 4.1.54
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/_generated/asset-bytes.js +1 -1
- package/dist/_generated/asset-manifest.js +2 -2
- package/dist/_generated/login-bundle-string.d.ts +1 -1
- package/dist/_generated/login-bundle-string.d.ts.map +1 -1
- package/dist/_generated/login-bundle-string.js +1 -1
- package/dist/_generated/login-bundle-string.js.map +1 -1
- package/dist/assets/{login.941957f5.css → login.875ad8b9.css} +36 -21
- package/dist/assets/login.c242a16a.js +862 -0
- package/dist/handlers/oauth-handler.d.ts.map +1 -1
- package/dist/handlers/oauth-handler.js +27 -4
- package/dist/handlers/oauth-handler.js.map +1 -1
- package/dist/pages/oauth-callback-page.d.ts +17 -1
- package/dist/pages/oauth-callback-page.d.ts.map +1 -1
- package/dist/pages/oauth-callback-page.js +29 -9
- package/dist/pages/oauth-callback-page.js.map +1 -1
- package/package.json +3 -3
- package/dist/assets/login.f7787c55.js +0 -847
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-bundle-string.js","sourceRoot":"","sources":["../../src/_generated/login-bundle-string.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,eAAe,
|
|
1
|
+
{"version":3,"file":"login-bundle-string.js","sourceRoot":"","sources":["../../src/_generated/login-bundle-string.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,eAAe,6iuIAA6iuI,CAAC"}
|
|
@@ -700,28 +700,41 @@ h1 {
|
|
|
700
700
|
border-color: var(--border-strong);
|
|
701
701
|
}
|
|
702
702
|
.locale-trigger svg { width: 14px; height: 14px; flex-shrink: 0; }
|
|
703
|
+
/* One compact menu surface; rows are choices, not nested pill buttons. */
|
|
703
704
|
.locale-menu {
|
|
704
|
-
display: none;
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
}
|
|
710
|
-
.locale-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
}
|
|
717
|
-
.locale-check { font-size:
|
|
705
|
+
display: none; position: absolute; top: calc(100% + 6px); right: 0; z-index: 4;
|
|
706
|
+
min-width: 144px; width: max-content; max-width: min(240px,calc(100vw - 64px));
|
|
707
|
+
padding: 4px; background: var(--bg-card); border: 1px solid var(--border);
|
|
708
|
+
border-radius: 10px; box-shadow: var(--shadow-lg);
|
|
709
|
+
}
|
|
710
|
+
.locale-switcher.open .locale-menu { display: flex; flex-direction: column; }
|
|
711
|
+
.locale-menu .locale-btn {
|
|
712
|
+
width: 100%; min-height: 36px; height: auto; padding: 7px 10px; gap: 8px;
|
|
713
|
+
border: 0; border-radius: 6px; background: transparent; text-align: left;
|
|
714
|
+
font-size: 13px; line-height: 1.4; overflow-wrap: anywhere;
|
|
715
|
+
}
|
|
716
|
+
.locale-menu .locale-btn:hover, .locale-menu .locale-btn:focus-visible { background: var(--bg-hover); color: var(--text); }
|
|
717
|
+
.locale-menu .locale-btn[aria-checked="true"] { color: var(--text); font-weight: 600; }
|
|
718
|
+
.locale-check { width: 14px; flex: 0 0 14px; font-size: 12px; line-height: 1; }
|
|
719
|
+
@media (pointer: coarse) { .locale-menu .locale-btn { min-height: 44px; } }
|
|
720
|
+
.has-last-used { flex-wrap: wrap; }
|
|
721
|
+
.last-used { display: inline-block; font-size: 11px; font-weight: 400; line-height: 1.4;
|
|
722
|
+
padding: 2px 6px; border: 1px solid currentColor; border-radius: 4px; opacity: .72; white-space: nowrap; }
|
|
718
723
|
.card { position: relative; }
|
|
719
724
|
|
|
720
725
|
/* Long localized method labels remain readable on narrow screens. */
|
|
721
726
|
.methods-grid { grid-template-columns: 1fr; }
|
|
722
727
|
.method-btn { min-height: 48px; white-space: normal; }
|
|
723
728
|
.passkey-alt { min-height: 44px; font-weight: 600; }
|
|
724
|
-
.oauth-recovery { font-size: 14px; line-height: 1.5; margin: 12px 0;
|
|
729
|
+
.oauth-recovery { font-size: 14px; line-height: 1.5; margin: 12px 0; padding: 12px;
|
|
730
|
+
border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-secondary); text-align: left; }
|
|
731
|
+
.oauth-recovery p { margin: 0 0 8px; overflow-wrap: anywhere; }
|
|
732
|
+
.oauth-recovery-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
|
|
733
|
+
.oauth-recovery-actions button, .oauth-recovery-actions a { font: inherit; font-size: 13px; min-height: 44px;
|
|
734
|
+
display: inline-flex; align-items: center; padding: 4px 0; color: var(--text); border: 0; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
|
|
735
|
+
.oauth-recovery-actions[hidden], .oauth-recovery-actions [hidden] { display: none; }
|
|
736
|
+
.oauth-recovery-actions :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
|
|
737
|
+
|
|
725
738
|
@media (max-width: 480px) { .card { padding: 24px 20px; width: 100%; box-sizing: border-box; } h1 { font-size: 24px; } }
|
|
726
739
|
|
|
727
740
|
.passkey-create-entry { display: flex; justify-content: center; align-items: center; width: 100%; box-sizing: border-box; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-surface); color: var(--text); padding: 10px 14px; }
|
|
@@ -734,11 +747,7 @@ h1 {
|
|
|
734
747
|
.card-modal .locale-switcher { min-width: 0; max-width: 100%; }
|
|
735
748
|
.card-modal .locale-trigger { max-width: 100%; height: 36px; }
|
|
736
749
|
.locale-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
737
|
-
.card-modal .locale-menu {
|
|
738
|
-
width: max-content; max-width: min(260px,calc(100vw - 80px)); padding: 6px;
|
|
739
|
-
background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: var(--shadow-lg); }
|
|
740
|
-
.card-modal .locale-menu .locale-btn { min-height: 40px; height: auto; text-align: left; border-radius: 6px; }
|
|
741
|
-
.card-modal .locale-menu .locale-btn span { overflow-wrap: anywhere; }
|
|
750
|
+
.card-modal .locale-menu { left: 0; right: auto; }
|
|
742
751
|
|
|
743
752
|
.card { padding: 52px 24px 24px; box-sizing: border-box; }
|
|
744
753
|
.card-modal { width: 100%; }
|
|
@@ -747,7 +756,13 @@ h1 {
|
|
|
747
756
|
.card.card-modal, :host([data-theme="light"]) .card.card-modal { box-shadow: none; }
|
|
748
757
|
/* A translateY entrance expands an auto scroller by 4px until it finishes. */
|
|
749
758
|
.card-modal[data-view] { animation: none; }
|
|
750
|
-
|
|
759
|
+
/* Sub-step navigation shares the close button's center line in both modes. */
|
|
760
|
+
.back-btn { top: 8px; left: 24px; height: 44px; max-width: calc(100% - 160px); line-height: 1.4; text-align: left; }
|
|
761
|
+
.back-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
|
|
762
|
+
.card-modal .back-btn { position: absolute; top: 8px; left: 24px; margin: 0; }
|
|
763
|
+
.card-modal:has(.back-btn) .card-tools { left: auto; right: 64px; max-width: calc(100% - 160px); }
|
|
764
|
+
.passkey-creating > .home-link { display: none; }
|
|
765
|
+
@media (max-width:480px) { .back-btn, .card-modal .back-btn { left: 18px; } }
|
|
751
766
|
.card-modal h1 { display: block; overflow: visible; -webkit-line-clamp: unset; line-clamp: unset; line-height: 1.4; padding-block: 2px; }
|
|
752
767
|
.card-modal h1[tabindex="-1"]:focus { outline: none; }
|
|
753
768
|
.card-modal h1, .card-modal h2, .card-modal .subtitle, .card-modal .status { overflow-wrap: anywhere; }
|