@celestia-island/hikari 0.55.534 → 0.55.536

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celestia-island/hikari",
3
- "version": "0.55.534",
3
+ "version": "0.55.536",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Hikari UI library, Vue 3 runtime — one design system for Vue 3 and Rust/WASM applications",
@@ -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
+
@@ -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.534 <dev>">
4
+ <meta name="hk-error-landing" content="v1 0.55.536 <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" />
@@ -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);