@celestia-island/hikari 0.55.534 → 0.55.537
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 +1 -1
- package/src/components/HkAuthCard.test.tsx +11 -0
- package/src/components/HkAuthHandoff.test.tsx +4 -2
- package/src/components/HkAuthHandoff.tsx +2 -2
- package/src/errorLandingStandalone/error-landing.html +1 -1
- package/src/i18n/locales/ar/components.json +2 -2
- package/src/i18n/locales/de/components.json +2 -2
- package/src/i18n/locales/en/components.json +2 -2
- package/src/i18n/locales/es/components.json +2 -2
- package/src/i18n/locales/fr/components.json +2 -2
- package/src/i18n/locales/ja/components.json +2 -2
- package/src/i18n/locales/ko/components.json +2 -2
- package/src/i18n/locales/pt/components.json +2 -2
- package/src/i18n/locales/ru/components.json +2 -2
- package/src/i18n/locales/zh-Hans/components.json +2 -2
- package/src/i18n/locales/zh-Hant/components.json +2 -2
- package/src/styles/admin-tokens.scss +10 -0
package/package.json
CHANGED
|
@@ -287,6 +287,16 @@ describe("HkAuthCard SCSS spacing contract", () => {
|
|
|
287
287
|
expect(scss).not.toMatch(/\.s-auth-form:has\(\+ \.s-auth-methods\)/);
|
|
288
288
|
});
|
|
289
289
|
|
|
290
|
+
it("guards a direct-child button against the container's column flex", () => {
|
|
291
|
+
// MUT:auth-form-btn-column — deleting the guard rule reddens this.
|
|
292
|
+
// 2026-12-03 ayane report: a registration card placed the HkButton
|
|
293
|
+
// directly under .s-auth-form; the container's flex-column stacked
|
|
294
|
+
// the loading ring above the label. The button keeps its OWN row.
|
|
295
|
+
const rule = /\.s-auth-form > \.hk-btn \{([^}]*)\}/.exec(scss)?.[1] ?? "";
|
|
296
|
+
expect(rule).toContain("display: inline-flex");
|
|
297
|
+
expect(rule).not.toContain("flex-direction: column");
|
|
298
|
+
});
|
|
299
|
+
|
|
290
300
|
it("keeps the form's collapsed bottom padding feeding the footer band (sibling pin)", () => {
|
|
291
301
|
// The form→footer distance is composed (8px form padding-bottom via
|
|
292
302
|
// :has + the footer's own margin); losing the collapse would swap in
|
|
@@ -314,3 +324,4 @@ describe("HkAuthCard SCSS spacing contract", () => {
|
|
|
314
324
|
expect(form!.contains(footer)).toBe(false);
|
|
315
325
|
});
|
|
316
326
|
});
|
|
327
|
+
|
|
@@ -45,8 +45,10 @@ describe("HkAuthHandoff", () => {
|
|
|
45
45
|
const c = mount(h(HkAuthHandoff, { status: "completing" }));
|
|
46
46
|
expect(c.querySelector(".hk-auth-screen-stage .s-auth-card.hk-auth-handoff-card")).not.toBeNull();
|
|
47
47
|
// MUT:handoff-title-key (wiring the wrong status key shows the wrong
|
|
48
|
-
// line on the completing screen).
|
|
49
|
-
|
|
48
|
+
// line on the completing screen). No trailing ellipsis: an in-progress
|
|
49
|
+
// screen already shows a live spinner, and the three dots read as
|
|
50
|
+
// decoration on top of it (2026-12-03 user review).
|
|
51
|
+
expect(c.querySelector(".hk-auth-handoff-title")?.textContent).toBe("Completing sign-in");
|
|
50
52
|
expect(c.querySelector(".hk-auth-handoff-description")).toBeNull();
|
|
51
53
|
expect(c.querySelector(".hk-auth-handoff-logo")).toBeNull();
|
|
52
54
|
});
|
|
@@ -36,8 +36,8 @@ const COPY_KEY: Record<HkAuthHandoffStatus, string> = {
|
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
const COPY_FALLBACK: Record<HkAuthHandoffStatus, string> = {
|
|
39
|
-
redirecting: "Redirecting to sign-in
|
|
40
|
-
completing: "Completing sign-in
|
|
39
|
+
redirecting: "Redirecting to sign-in",
|
|
40
|
+
completing: "Completing sign-in",
|
|
41
41
|
success: "Signed in",
|
|
42
42
|
failed: "Sign-in could not be completed",
|
|
43
43
|
expired: "Your session expired. Sign in to continue.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
2
|
<html lang="en">
|
|
3
3
|
<head>
|
|
4
|
-
<meta name="hk-error-landing" content="v1 0.55.
|
|
4
|
+
<meta name="hk-error-landing" content="v1 0.55.537 <dev>">
|
|
5
5
|
<meta charset="utf-8" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
7
|
<meta name="robots" content="noindex" />
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"hikari::adminHeader.toggleTheme": "تبديل السمة",
|
|
13
13
|
"hikari::adminShell.navTitle": "التنقل",
|
|
14
14
|
"hikari::alert.close": "إغلاق",
|
|
15
|
-
"hikari::authHandoff.redirecting": "جارٍ التحويل إلى تسجيل
|
|
16
|
-
"hikari::authHandoff.completing": "جارٍ إكمال تسجيل
|
|
15
|
+
"hikari::authHandoff.redirecting": "جارٍ التحويل إلى تسجيل الدخول",
|
|
16
|
+
"hikari::authHandoff.completing": "جارٍ إكمال تسجيل الدخول",
|
|
17
17
|
"hikari::authHandoff.expired": "انتهت الجلسة. سجّل الدخول للمتابعة.",
|
|
18
18
|
"hikari::authHandoff.failed": "تعذّر إكمال تسجيل الدخول",
|
|
19
19
|
"hikari::authHandoff.retry": "إعادة المحاولة",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"hikari::adminHeader.toggleTheme": "Design wechseln",
|
|
13
13
|
"hikari::adminShell.navTitle": "Navigation",
|
|
14
14
|
"hikari::alert.close": "Schließen",
|
|
15
|
-
"hikari::authHandoff.redirecting": "Weiterleitung zur Anmeldung
|
|
16
|
-
"hikari::authHandoff.completing": "Anmeldung wird abgeschlossen
|
|
15
|
+
"hikari::authHandoff.redirecting": "Weiterleitung zur Anmeldung",
|
|
16
|
+
"hikari::authHandoff.completing": "Anmeldung wird abgeschlossen",
|
|
17
17
|
"hikari::authHandoff.expired": "Sitzung abgelaufen. Bitte erneut anmelden.",
|
|
18
18
|
"hikari::authHandoff.failed": "Anmeldung konnte nicht abgeschlossen werden",
|
|
19
19
|
"hikari::authHandoff.retry": "Erneut versuchen",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"hikari::adminHeader.toggleTheme": "Toggle theme",
|
|
13
13
|
"hikari::adminShell.navTitle": "Navigation",
|
|
14
14
|
"hikari::alert.close": "Close",
|
|
15
|
-
"hikari::authHandoff.redirecting": "Redirecting to sign-in
|
|
16
|
-
"hikari::authHandoff.completing": "Completing sign-in
|
|
15
|
+
"hikari::authHandoff.redirecting": "Redirecting to sign-in",
|
|
16
|
+
"hikari::authHandoff.completing": "Completing sign-in",
|
|
17
17
|
"hikari::authHandoff.expired": "Your session expired. Sign in to continue.",
|
|
18
18
|
"hikari::authHandoff.failed": "Sign-in could not be completed",
|
|
19
19
|
"hikari::authHandoff.retry": "Try again",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"hikari::adminHeader.toggleTheme": "Cambiar tema",
|
|
13
13
|
"hikari::adminShell.navTitle": "Navegación",
|
|
14
14
|
"hikari::alert.close": "Cerrar",
|
|
15
|
-
"hikari::authHandoff.redirecting": "Redirigiendo al inicio de sesión
|
|
16
|
-
"hikari::authHandoff.completing": "Completando el inicio de sesión
|
|
15
|
+
"hikari::authHandoff.redirecting": "Redirigiendo al inicio de sesión",
|
|
16
|
+
"hikari::authHandoff.completing": "Completando el inicio de sesión",
|
|
17
17
|
"hikari::authHandoff.expired": "La sesión caducó. Inicia sesión para continuar.",
|
|
18
18
|
"hikari::authHandoff.failed": "No se pudo completar el inicio de sesión",
|
|
19
19
|
"hikari::authHandoff.retry": "Reintentar",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"hikari::adminHeader.toggleTheme": "Changer de thème",
|
|
13
13
|
"hikari::adminShell.navTitle": "Navigation",
|
|
14
14
|
"hikari::alert.close": "Fermer",
|
|
15
|
-
"hikari::authHandoff.redirecting": "Redirection vers la connexion
|
|
16
|
-
"hikari::authHandoff.completing": "Finalisation de la connexion
|
|
15
|
+
"hikari::authHandoff.redirecting": "Redirection vers la connexion",
|
|
16
|
+
"hikari::authHandoff.completing": "Finalisation de la connexion",
|
|
17
17
|
"hikari::authHandoff.expired": "Session expirée. Reconnectez-vous pour continuer.",
|
|
18
18
|
"hikari::authHandoff.failed": "La connexion n'a pas pu être finalisée",
|
|
19
19
|
"hikari::authHandoff.retry": "Réessayer",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"hikari::adminHeader.toggleTheme": "テーマ切替",
|
|
13
13
|
"hikari::adminShell.navTitle": "ナビゲーション",
|
|
14
14
|
"hikari::alert.close": "閉じる",
|
|
15
|
-
"hikari::authHandoff.redirecting": "
|
|
16
|
-
"hikari::authHandoff.completing": "
|
|
15
|
+
"hikari::authHandoff.redirecting": "ログインへリダイレクト中",
|
|
16
|
+
"hikari::authHandoff.completing": "ログインを完了しています",
|
|
17
17
|
"hikari::authHandoff.expired": "セッションの有効期限が切れました。ログインしてください。",
|
|
18
18
|
"hikari::authHandoff.failed": "ログインを完了できませんでした",
|
|
19
19
|
"hikari::authHandoff.retry": "再試行",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"hikari::adminHeader.toggleTheme": "테마 전환",
|
|
13
13
|
"hikari::adminShell.navTitle": "탐색",
|
|
14
14
|
"hikari::alert.close": "닫기",
|
|
15
|
-
"hikari::authHandoff.redirecting": "로그인으로 이동
|
|
16
|
-
"hikari::authHandoff.completing": "로그인을 완료하는
|
|
15
|
+
"hikari::authHandoff.redirecting": "로그인으로 이동 중",
|
|
16
|
+
"hikari::authHandoff.completing": "로그인을 완료하는 중",
|
|
17
17
|
"hikari::authHandoff.expired": "세션이 만료되었습니다. 다시 로그인해 주세요.",
|
|
18
18
|
"hikari::authHandoff.failed": "로그인을 완료할 수 없습니다",
|
|
19
19
|
"hikari::authHandoff.retry": "다시 시도",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"hikari::adminHeader.toggleTheme": "Alternar tema",
|
|
13
13
|
"hikari::adminShell.navTitle": "Navegação",
|
|
14
14
|
"hikari::alert.close": "Fechar",
|
|
15
|
-
"hikari::authHandoff.redirecting": "Redirecionando para o login
|
|
16
|
-
"hikari::authHandoff.completing": "Concluindo o login
|
|
15
|
+
"hikari::authHandoff.redirecting": "Redirecionando para o login",
|
|
16
|
+
"hikari::authHandoff.completing": "Concluindo o login",
|
|
17
17
|
"hikari::authHandoff.expired": "Sessão expirada. Entre para continuar.",
|
|
18
18
|
"hikari::authHandoff.failed": "Não foi possível concluir o login",
|
|
19
19
|
"hikari::authHandoff.retry": "Tentar novamente",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"hikari::adminHeader.toggleTheme": "Переключить тему",
|
|
13
13
|
"hikari::adminShell.navTitle": "Навигация",
|
|
14
14
|
"hikari::alert.close": "Закрыть",
|
|
15
|
-
"hikari::authHandoff.redirecting": "Переход к
|
|
16
|
-
"hikari::authHandoff.completing": "Завершаем
|
|
15
|
+
"hikari::authHandoff.redirecting": "Переход к входу",
|
|
16
|
+
"hikari::authHandoff.completing": "Завершаем вход",
|
|
17
17
|
"hikari::authHandoff.expired": "Сессия истекла. Войдите снова.",
|
|
18
18
|
"hikari::authHandoff.failed": "Не удалось завершить вход",
|
|
19
19
|
"hikari::authHandoff.retry": "Повторить",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"hikari::adminHeader.toggleTheme": "切换主题",
|
|
13
13
|
"hikari::adminShell.navTitle": "导航",
|
|
14
14
|
"hikari::alert.close": "关闭",
|
|
15
|
-
"hikari::authHandoff.redirecting": "
|
|
16
|
-
"hikari::authHandoff.completing": "
|
|
15
|
+
"hikari::authHandoff.redirecting": "正在跳转到登录",
|
|
16
|
+
"hikari::authHandoff.completing": "正在完成登录",
|
|
17
17
|
"hikari::authHandoff.expired": "会话已过期,请重新登录。",
|
|
18
18
|
"hikari::authHandoff.failed": "无法完成登录",
|
|
19
19
|
"hikari::authHandoff.retry": "重试",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"hikari::adminHeader.toggleTheme": "切換主題",
|
|
13
13
|
"hikari::adminShell.navTitle": "導覽",
|
|
14
14
|
"hikari::alert.close": "關閉",
|
|
15
|
-
"hikari::authHandoff.redirecting": "
|
|
16
|
-
"hikari::authHandoff.completing": "
|
|
15
|
+
"hikari::authHandoff.redirecting": "正在跳轉至登入",
|
|
16
|
+
"hikari::authHandoff.completing": "正在完成登入",
|
|
17
17
|
"hikari::authHandoff.expired": "工作階段已過期,請重新登入。",
|
|
18
18
|
"hikari::authHandoff.failed": "無法完成登入",
|
|
19
19
|
"hikari::authHandoff.retry": "重試",
|
|
@@ -1351,6 +1351,16 @@
|
|
|
1351
1351
|
gap: var(--space-16, 1rem);
|
|
1352
1352
|
}
|
|
1353
1353
|
|
|
1354
|
+
/* A BUTTON placed directly under .s-auth-form (a host building a compact
|
|
1355
|
+
* form body without the inner form element — ayane's registration card,
|
|
1356
|
+
* 2026-12-03) must keep its OWN row: the column above stacked the
|
|
1357
|
+
* loading ring above the label. Specificity (0,2,0) beats `.s-auth-form
|
|
1358
|
+
* > *` (0,1,0); `display` only — the column's gap does not apply to a
|
|
1359
|
+
* single child. */
|
|
1360
|
+
.s-auth-form > .hk-btn {
|
|
1361
|
+
display: inline-flex;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1354
1364
|
.s-auth-form .s-tabs,
|
|
1355
1365
|
.s-auth-form .hk-tabs {
|
|
1356
1366
|
margin-bottom: var(--space-12, 0.75rem);
|