@haatlabs-core/ui 0.18.0 → 0.18.2

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.
@@ -2,4 +2,4 @@
2
2
  * The plans-and-usage page (UsagePage), on the theme tokens. Scoped to `.hl-usage` so it
3
3
  * never restyles an app's own pages, whose class names it shares.
4
4
  */
5
- export declare const USAGE_CSS = "\n.hl-usage h1 { margin: 0; font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; letter-spacing: -0.02em; }\n.hl-usage h2 { margin: 0; font-size: 18px; font-weight: 700; }\n.hl-usage .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }\n.hl-usage .row.spread { justify-content: space-between; align-items: flex-end; }\n.hl-usage .muted { color: var(--hl-muted); font-size: 14px; }\n.hl-usage .mono { font-family: var(--hl-mono); font-size: 14px; }\n.hl-usage .eyebrow { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hl-muted); }\n.hl-usage .panel { background: var(--hl-surface); border: 1px solid var(--hl-border); border-radius: var(--hl-radius-card); padding: 24px; display: flex; flex-direction: column; gap: 16px; }\n.hl-usage .notice { padding: 12px 16px; border-radius: var(--hl-radius-control); background: var(--hl-amber-bg); border: 1px solid var(--hl-amber-border); color: var(--hl-amber-text); font-size: 14px; }\n.hl-usage button, .hl-usage .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }\n.hl-usage button:hover:not(:disabled) { border-color: var(--hl-accent); }\n.hl-usage button.primary { background: var(--hl-accent); border-color: var(--hl-accent); color: var(--hl-on-accent); }\n.hl-usage button.strong { border-color: var(--hl-text); }\n.hl-usage button:disabled { opacity: .55; cursor: not-allowed; }\n.hl-usage .pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--hl-faint); color: var(--hl-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }\n.hl-usage .pill.done { background: var(--hl-accent-soft); color: var(--hl-accent-text); }\n.hl-usage .pill.failed { background: var(--hl-faint); color: var(--hl-danger); }\n.hl-usage .plan-card { background: var(--hl-panel); color: var(--hl-panel-text); border-radius: var(--hl-radius-card); padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }\n.hl-usage .plan-card .eyebrow { color: var(--hl-panel-muted); }\n.hl-usage .plan-card strong { font-size: 28px; letter-spacing: -0.02em; }\n.hl-usage .plan-card p { max-width: 380px; color: var(--hl-panel-soft); font-size: 14px; }\n.hl-usage .meter { display: block; height: 8px; min-width: 160px; margin-top: 8px; background: var(--hl-faint); border-radius: 999px; overflow: hidden; }\n.hl-usage .meter > span { display: block; height: 100%; background: var(--hl-accent); border-radius: 999px; }\n.hl-usage .meter.full > span { background: var(--hl-danger); }\n.hl-usage .table-box { background: var(--hl-surface); border: 1px solid var(--hl-border); border-radius: var(--hl-radius-card); overflow-x: auto; }\n.hl-usage table { width: 100%; min-width: 640px; border-collapse: collapse; color: var(--hl-text); }\n.hl-usage th, .hl-usage td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--hl-border); vertical-align: middle; }\n.hl-usage table.compare { min-width: 780px; table-layout: fixed; }\n.hl-usage table.compare td, .hl-usage table.compare th { text-align: center; padding-left: 8px; padding-right: 8px; }\n.hl-usage table.compare tr > :first-child { width: 170px; text-align: left; padding-left: 16px; }\n.hl-usage table.compare tbody th { color: var(--hl-muted); font-weight: 500; }\n.hl-usage table.compare thead th { padding: 20px 12px 16px; font-size: 15px; font-weight: 400; vertical-align: top; }\n.hl-usage table.compare thead th > span { display: block; }\n.hl-usage table.compare thead th > .pill { display: inline-flex; margin-top: 8px; }\n.hl-usage table.compare .plan-name { font-size: 18px; font-weight: 700; }\n.hl-usage table.compare .price { margin-top: 6px; font-size: 13px; color: var(--hl-muted); }\n.hl-usage table.compare .corner { color: var(--hl-muted); font-size: 13px; vertical-align: bottom; }\n.hl-usage table.compare tbody td { font-family: var(--hl-mono); font-size: 14px; overflow-wrap: anywhere; }\n.hl-usage table.compare .current { background: var(--hl-accent-soft); }\n.hl-usage table.compare thead .current { box-shadow: inset 0 3px 0 var(--hl-accent); }\n.hl-usage table.compare tfoot td { padding: 16px 8px 20px; border-bottom: 0; vertical-align: top; }\n.hl-usage table.compare tfoot button { width: 100%; padding: 0 8px; font-size: 14px; white-space: nowrap; }\n.hl-usage table.compare tfoot button + button { margin-top: 8px; }\n";
5
+ export declare const USAGE_CSS = "\n.hl-usage h1 { margin: 0; font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; }\n.hl-usage h2 { margin: 0; font-size: 16px; font-weight: 700; }\n.hl-usage .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }\n.hl-usage .row.spread { justify-content: space-between; align-items: flex-end; }\n.hl-usage .muted { color: var(--hl-muted); font-size: 14px; }\n.hl-usage .mono { font-family: var(--hl-mono); font-size: 14px; }\n.hl-usage .eyebrow { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hl-muted); }\n.hl-usage .panel { background: var(--hl-surface); border: 1px solid var(--hl-border); border-radius: var(--hl-radius-card); padding: 20px; display: flex; flex-direction: column; gap: 14px; }\n.hl-usage .notice { padding: 12px 16px; border-radius: var(--hl-radius-control); background: var(--hl-amber-bg); border: 1px solid var(--hl-amber-border); color: var(--hl-amber-text); font-size: 14px; }\n.hl-usage button, .hl-usage .button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }\n.hl-usage button:hover:not(:disabled) { border-color: var(--hl-accent); }\n.hl-usage button.primary { background: var(--hl-accent); border-color: var(--hl-accent); color: var(--hl-on-accent); }\n.hl-usage button.strong { border-color: var(--hl-text); }\n.hl-usage button:disabled { opacity: .55; cursor: not-allowed; }\n.hl-usage .pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--hl-faint); color: var(--hl-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }\n.hl-usage .pill.done { background: var(--hl-accent-soft); color: var(--hl-accent-text); }\n.hl-usage .pill.failed { background: var(--hl-faint); color: var(--hl-danger); }\n.hl-usage .plan-card { background: var(--hl-panel); color: var(--hl-panel-text); border-radius: var(--hl-radius-card); padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }\n.hl-usage .plan-card .eyebrow { color: var(--hl-panel-muted); }\n.hl-usage .plan-card strong { font-size: 22px; letter-spacing: -0.02em; }\n.hl-usage .plan-card p { max-width: 380px; color: var(--hl-panel-soft); font-size: 14px; }\n.hl-usage .meter { display: block; height: 8px; min-width: 160px; margin-top: 8px; background: var(--hl-faint); border-radius: 999px; overflow: hidden; }\n.hl-usage .meter > span { display: block; height: 100%; background: var(--hl-accent); border-radius: 999px; }\n.hl-usage .meter.full > span { background: var(--hl-danger); }\n.hl-usage .table-box { background: var(--hl-surface); border: 1px solid var(--hl-border); border-radius: var(--hl-radius-card); overflow-x: auto; }\n.hl-usage table { width: 100%; min-width: 640px; border-collapse: collapse; color: var(--hl-text); }\n.hl-usage th, .hl-usage td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--hl-border); vertical-align: middle; }\n.hl-usage table.compare { min-width: 780px; table-layout: fixed; }\n.hl-usage table.compare td, .hl-usage table.compare th { text-align: center; padding-left: 8px; padding-right: 8px; }\n.hl-usage table.compare tr > :first-child { width: 170px; text-align: left; padding-left: 16px; }\n.hl-usage table.compare tbody th { color: var(--hl-muted); font-weight: 500; }\n.hl-usage table.compare thead th { padding: 14px 10px 12px; font-size: 14px; font-weight: 400; vertical-align: top; }\n.hl-usage table.compare thead th > span { display: block; }\n.hl-usage table.compare thead th > .pill { display: inline-flex; margin-top: 8px; }\n.hl-usage table.compare .plan-name { font-size: 16px; font-weight: 700; }\n.hl-usage table.compare .price { margin-top: 6px; font-size: 13px; color: var(--hl-muted); }\n.hl-usage table.compare .corner { color: var(--hl-muted); font-size: 13px; vertical-align: bottom; }\n.hl-usage table.compare tbody td { font-family: var(--hl-mono); font-size: 13px; overflow-wrap: anywhere; }\n.hl-usage table.compare .current { background: var(--hl-accent-soft); }\n.hl-usage table.compare thead .current { box-shadow: inset 0 3px 0 var(--hl-accent); }\n.hl-usage table.compare tfoot td { padding: 12px 8px 16px; border-bottom: 0; vertical-align: top; }\n.hl-usage table.compare tfoot button { width: 100%; padding: 0 8px; font-size: 14px; white-space: nowrap; }\n.hl-usage table.compare tfoot button + button { margin-top: 8px; }\n";
@@ -3,16 +3,16 @@
3
3
  * never restyles an app's own pages, whose class names it shares.
4
4
  */
5
5
  export const USAGE_CSS = `
6
- .hl-usage h1 { margin: 0; font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
7
- .hl-usage h2 { margin: 0; font-size: 18px; font-weight: 700; }
6
+ .hl-usage h1 { margin: 0; font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
7
+ .hl-usage h2 { margin: 0; font-size: 16px; font-weight: 700; }
8
8
  .hl-usage .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
9
9
  .hl-usage .row.spread { justify-content: space-between; align-items: flex-end; }
10
10
  .hl-usage .muted { color: var(--hl-muted); font-size: 14px; }
11
11
  .hl-usage .mono { font-family: var(--hl-mono); font-size: 14px; }
12
12
  .hl-usage .eyebrow { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hl-muted); }
13
- .hl-usage .panel { background: var(--hl-surface); border: 1px solid var(--hl-border); border-radius: var(--hl-radius-card); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
13
+ .hl-usage .panel { background: var(--hl-surface); border: 1px solid var(--hl-border); border-radius: var(--hl-radius-card); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
14
14
  .hl-usage .notice { padding: 12px 16px; border-radius: var(--hl-radius-control); background: var(--hl-amber-bg); border: 1px solid var(--hl-amber-border); color: var(--hl-amber-text); font-size: 14px; }
15
- .hl-usage button, .hl-usage .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
15
+ .hl-usage button, .hl-usage .button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
16
16
  .hl-usage button:hover:not(:disabled) { border-color: var(--hl-accent); }
17
17
  .hl-usage button.primary { background: var(--hl-accent); border-color: var(--hl-accent); color: var(--hl-on-accent); }
18
18
  .hl-usage button.strong { border-color: var(--hl-text); }
@@ -20,30 +20,30 @@ export const USAGE_CSS = `
20
20
  .hl-usage .pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--hl-faint); color: var(--hl-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
21
21
  .hl-usage .pill.done { background: var(--hl-accent-soft); color: var(--hl-accent-text); }
22
22
  .hl-usage .pill.failed { background: var(--hl-faint); color: var(--hl-danger); }
23
- .hl-usage .plan-card { background: var(--hl-panel); color: var(--hl-panel-text); border-radius: var(--hl-radius-card); padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
23
+ .hl-usage .plan-card { background: var(--hl-panel); color: var(--hl-panel-text); border-radius: var(--hl-radius-card); padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
24
24
  .hl-usage .plan-card .eyebrow { color: var(--hl-panel-muted); }
25
- .hl-usage .plan-card strong { font-size: 28px; letter-spacing: -0.02em; }
25
+ .hl-usage .plan-card strong { font-size: 22px; letter-spacing: -0.02em; }
26
26
  .hl-usage .plan-card p { max-width: 380px; color: var(--hl-panel-soft); font-size: 14px; }
27
27
  .hl-usage .meter { display: block; height: 8px; min-width: 160px; margin-top: 8px; background: var(--hl-faint); border-radius: 999px; overflow: hidden; }
28
28
  .hl-usage .meter > span { display: block; height: 100%; background: var(--hl-accent); border-radius: 999px; }
29
29
  .hl-usage .meter.full > span { background: var(--hl-danger); }
30
30
  .hl-usage .table-box { background: var(--hl-surface); border: 1px solid var(--hl-border); border-radius: var(--hl-radius-card); overflow-x: auto; }
31
31
  .hl-usage table { width: 100%; min-width: 640px; border-collapse: collapse; color: var(--hl-text); }
32
- .hl-usage th, .hl-usage td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--hl-border); vertical-align: middle; }
32
+ .hl-usage th, .hl-usage td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--hl-border); vertical-align: middle; }
33
33
  .hl-usage table.compare { min-width: 780px; table-layout: fixed; }
34
34
  .hl-usage table.compare td, .hl-usage table.compare th { text-align: center; padding-left: 8px; padding-right: 8px; }
35
35
  .hl-usage table.compare tr > :first-child { width: 170px; text-align: left; padding-left: 16px; }
36
36
  .hl-usage table.compare tbody th { color: var(--hl-muted); font-weight: 500; }
37
- .hl-usage table.compare thead th { padding: 20px 12px 16px; font-size: 15px; font-weight: 400; vertical-align: top; }
37
+ .hl-usage table.compare thead th { padding: 14px 10px 12px; font-size: 14px; font-weight: 400; vertical-align: top; }
38
38
  .hl-usage table.compare thead th > span { display: block; }
39
39
  .hl-usage table.compare thead th > .pill { display: inline-flex; margin-top: 8px; }
40
- .hl-usage table.compare .plan-name { font-size: 18px; font-weight: 700; }
40
+ .hl-usage table.compare .plan-name { font-size: 16px; font-weight: 700; }
41
41
  .hl-usage table.compare .price { margin-top: 6px; font-size: 13px; color: var(--hl-muted); }
42
42
  .hl-usage table.compare .corner { color: var(--hl-muted); font-size: 13px; vertical-align: bottom; }
43
- .hl-usage table.compare tbody td { font-family: var(--hl-mono); font-size: 14px; overflow-wrap: anywhere; }
43
+ .hl-usage table.compare tbody td { font-family: var(--hl-mono); font-size: 13px; overflow-wrap: anywhere; }
44
44
  .hl-usage table.compare .current { background: var(--hl-accent-soft); }
45
45
  .hl-usage table.compare thead .current { box-shadow: inset 0 3px 0 var(--hl-accent); }
46
- .hl-usage table.compare tfoot td { padding: 16px 8px 20px; border-bottom: 0; vertical-align: top; }
46
+ .hl-usage table.compare tfoot td { padding: 12px 8px 16px; border-bottom: 0; vertical-align: top; }
47
47
  .hl-usage table.compare tfoot button { width: 100%; padding: 0 8px; font-size: 14px; white-space: nowrap; }
48
48
  .hl-usage table.compare tfoot button + button { margin-top: 8px; }
49
49
  `;
@@ -1,2 +1,2 @@
1
1
  /** The layout pieces' look, on the theme tokens only. */
2
- export declare const LAYOUT_CSS = "\n.hl-muted { color: var(--hl-muted); font-size: 14px; }\n.hl-page-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }\n.hl-page-header h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }\n.hl-page-header p { margin: 6px 0 0; color: var(--hl-muted); }\n.hl-page-header__actions { display: flex; flex-wrap: wrap; gap: 8px; }\n.hl-card { padding: 24px; border-radius: var(--hl-radius-card); background: var(--hl-surface); border: 1px solid var(--hl-border); display: flex; flex-direction: column; gap: 12px; min-width: 0; }\n.hl-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }\n.hl-card__head h2 { margin: 0; font-size: 18px; font-weight: 700; }\n.hl-card__head a { font-weight: 700; text-decoration: none; }\n.hl-callout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 16px 20px; border-radius: 16px; background: var(--hl-amber-bg); border: 1px solid var(--hl-amber-border); color: var(--hl-amber-text); }\n.hl-callout__text { flex: 1 1 320px; display: flex; flex-direction: column; }\n.hl-callout a, .hl-callout button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border: 0; border-radius: var(--hl-radius-control); background: var(--hl-accent); color: #FFFFFF; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }\n.hl-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }\n.hl-checklist li { display: flex; gap: 12px; align-items: flex-start; }\n.hl-checklist__text { min-width: 0; flex: 1; }\n.hl-check { width: 28px; height: 28px; flex: none; box-sizing: border-box; border-radius: 999px; border: 2px solid var(--hl-border); display: grid; place-items: center; }\n.hl-check--done { border: 0; background: var(--hl-accent); color: #FFFFFF; }\n.hl-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font-weight: 700; text-decoration: none; }\n.hl-chip:hover { border-color: var(--hl-accent); }\n";
2
+ export declare const LAYOUT_CSS = "\n.hl-muted { color: var(--hl-muted); font-size: 14px; }\n.hl-page-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin-bottom: 16px; }\n.hl-page-header h1 { margin: 0; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }\n.hl-page-header p { margin: 6px 0 0; color: var(--hl-muted); }\n.hl-page-header__actions { display: flex; flex-wrap: wrap; gap: 8px; }\n.hl-card { padding: 20px; border-radius: var(--hl-radius-card); background: var(--hl-surface); border: 1px solid var(--hl-border); display: flex; flex-direction: column; gap: 12px; min-width: 0; }\n.hl-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }\n.hl-card__head h2 { margin: 0; font-size: 16px; font-weight: 700; }\n.hl-card__head a { font-weight: 700; text-decoration: none; }\n.hl-callout { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 12px 16px; border-radius: 16px; background: var(--hl-amber-bg); border: 1px solid var(--hl-amber-border); color: var(--hl-amber-text); }\n.hl-callout__text { flex: 1 1 320px; display: flex; flex-direction: column; }\n.hl-callout a, .hl-callout button { min-height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border: 0; border-radius: var(--hl-radius-control); background: var(--hl-accent); color: #FFFFFF; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }\n.hl-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }\n.hl-checklist li { display: flex; gap: 12px; align-items: flex-start; }\n.hl-checklist__text { min-width: 0; flex: 1; }\n.hl-check { width: 24px; height: 24px; flex: none; box-sizing: border-box; border-radius: 999px; border: 2px solid var(--hl-border); display: grid; place-items: center; }\n.hl-check--done { border: 0; background: var(--hl-accent); color: #FFFFFF; }\n.hl-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font-weight: 700; text-decoration: none; }\n.hl-chip:hover { border-color: var(--hl-accent); }\n";
@@ -1,23 +1,23 @@
1
1
  /** The layout pieces' look, on the theme tokens only. */
2
2
  export const LAYOUT_CSS = `
3
3
  .hl-muted { color: var(--hl-muted); font-size: 14px; }
4
- .hl-page-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
5
- .hl-page-header h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
4
+ .hl-page-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin-bottom: 16px; }
5
+ .hl-page-header h1 { margin: 0; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
6
6
  .hl-page-header p { margin: 6px 0 0; color: var(--hl-muted); }
7
7
  .hl-page-header__actions { display: flex; flex-wrap: wrap; gap: 8px; }
8
- .hl-card { padding: 24px; border-radius: var(--hl-radius-card); background: var(--hl-surface); border: 1px solid var(--hl-border); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
8
+ .hl-card { padding: 20px; border-radius: var(--hl-radius-card); background: var(--hl-surface); border: 1px solid var(--hl-border); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
9
9
  .hl-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
10
- .hl-card__head h2 { margin: 0; font-size: 18px; font-weight: 700; }
10
+ .hl-card__head h2 { margin: 0; font-size: 16px; font-weight: 700; }
11
11
  .hl-card__head a { font-weight: 700; text-decoration: none; }
12
- .hl-callout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 16px 20px; border-radius: 16px; background: var(--hl-amber-bg); border: 1px solid var(--hl-amber-border); color: var(--hl-amber-text); }
12
+ .hl-callout { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 12px 16px; border-radius: 16px; background: var(--hl-amber-bg); border: 1px solid var(--hl-amber-border); color: var(--hl-amber-text); }
13
13
  .hl-callout__text { flex: 1 1 320px; display: flex; flex-direction: column; }
14
- .hl-callout a, .hl-callout button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border: 0; border-radius: var(--hl-radius-control); background: var(--hl-accent); color: #FFFFFF; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
14
+ .hl-callout a, .hl-callout button { min-height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border: 0; border-radius: var(--hl-radius-control); background: var(--hl-accent); color: #FFFFFF; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
15
15
  .hl-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
16
16
  .hl-checklist li { display: flex; gap: 12px; align-items: flex-start; }
17
17
  .hl-checklist__text { min-width: 0; flex: 1; }
18
- .hl-check { width: 28px; height: 28px; flex: none; box-sizing: border-box; border-radius: 999px; border: 2px solid var(--hl-border); display: grid; place-items: center; }
18
+ .hl-check { width: 24px; height: 24px; flex: none; box-sizing: border-box; border-radius: 999px; border: 2px solid var(--hl-border); display: grid; place-items: center; }
19
19
  .hl-check--done { border: 0; background: var(--hl-accent); color: #FFFFFF; }
20
- .hl-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font-weight: 700; text-decoration: none; }
20
+ .hl-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font-weight: 700; text-decoration: none; }
21
21
  .hl-chip:hover { border-color: var(--hl-accent); }
22
22
  `;
23
23
  //# sourceMappingURL=layout-css.js.map
@@ -1,6 +1,6 @@
1
1
  import { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
3
- import { Link, NavLink, useLocation } from 'react-router-dom';
3
+ import { Link, useLocation } from 'react-router-dom';
4
4
  import { ThemeSwitch } from '../theme/ThemeSwitch.js';
5
5
  import { ShellSearch } from './ShellSearch.js';
6
6
  import { flattenNav, isUnder } from './nav.js';
@@ -21,12 +21,17 @@ function useNarrow() {
21
21
  }, []);
22
22
  return narrow;
23
23
  }
24
- function Items({ items, pathname }) {
25
- return (_jsx("ul", { children: items.map((item) => (_jsxs("li", { children: [_jsxs(NavLink, { to: item.to, end: true, children: [item.icon, item.label] }), item.children && isUnder(pathname, item.to) && (_jsx(Items, { items: item.children, pathname: pathname }))] }, item.to))) }));
24
+ function Items({ items, pathname, current, }) {
25
+ return (_jsx("ul", { children: items.map((item) => (_jsxs("li", { children: [_jsxs(Link, { to: item.to, "aria-current": item.to === current ? 'page' : undefined, children: [item.icon, item.label] }), item.children && isUnder(pathname, item.to) && (_jsx(Items, { items: item.children, pathname: pathname, current: current }))] }, item.to))) }));
26
26
  }
27
27
  function Nav({ groups }) {
28
28
  const { pathname } = useLocation();
29
- return (_jsx("nav", { "aria-label": "Main", className: "hl-nav", children: groups.map((group, i) => (_jsxs("div", { children: [group.label && _jsx("p", { className: "hl-nav__group", children: group.label }), _jsx(Items, { items: group.items, pathname: pathname })] }, group.label ?? `group-${String(i)}`))) }));
29
+ // The open page is the deepest one the address is under: a detail page (/lists/7) marks
30
+ // its list page, and a page that redirects deeper (/research → /research/x) stays marked.
31
+ const current = flattenNav(groups)
32
+ .filter((item) => isUnder(pathname, item.to))
33
+ .sort((a, b) => b.to.length - a.to.length)[0]?.to;
34
+ return (_jsx("nav", { "aria-label": "Main", className: "hl-nav", children: groups.map((group, i) => (_jsxs("div", { children: [group.label && _jsx("p", { className: "hl-nav__group", children: group.label }), _jsx(Items, { items: group.items, pathname: pathname, current: current })] }, group.label ?? `group-${String(i)}`))) }));
30
35
  }
31
36
  /** Who is signed in, and Sign out: a plain button, always in view. */
32
37
  function Account({ account }) {
@@ -1 +1 @@
1
- {"version":3,"file":"AppShell.js","sourceRoot":"","sources":["../../src/shell/AppShell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE1E,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAG/C,MAAM,MAAM,GAAG,oBAAoB,CAAC;AAEpC,qEAAqE;AACrE,SAAS,SAAS;IAChB,MAAM,KAAK,GAAG,GAA0B,EAAE,CACxC,OAAO,MAAM,KAAK,WAAW,IAAI,OAAO,MAAM,CAAC,UAAU,KAAK,UAAU;QACtE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,M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SAAS,EAAC,YAAY,YAAE,IAAI,GAAS,EACvD,MAAM,IAAI,QAAQ,IAAI,KAAC,UAAU,IAAC,OAAO,EAAE,SAAS,YAAG,IAAI,GAAc,EAC1E,eAAK,SAAS,EAAC,YAAY,aACzB,kBAAQ,SAAS,EAAC,WAAW,aAC1B,MAAM,IAAI,CACT,iBACE,GAAG,EAAE,UAAU,EACf,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,gBAAgB,mBACX,QAAQ,EACvB,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,qBAGzB,CACV,EACD,KAAC,WAAW,IAAC,OAAO,EAAE,OAAO,GAAI,EAChC,KAAK,CAAC,UAAU,IAAI,cAAK,SAAS,EAAC,gBAAgB,YAAE,KAAK,CAAC,UAAU,GAAO,IACtE,EAET,cAAK,EAAE,EAAC,MAAM,EAAC,SAAS,EAAC,SAAS,EAAC,QAAQ,EAAE,CAAC,CAAC,YAC5C,KAAK,CAAC,QAAQ,GACX,IACF,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -1,2 +1,2 @@
1
1
  /** The app shell's look, on the theme tokens only (see tokens.ts). */
2
- export declare const SHELL_CSS = "\n.hl-shell { min-height: 100vh; display: flex; background: var(--hl-ground); color: var(--hl-text); }\n.hl-skip { position: absolute; left: -9999px; top: 8px; z-index: 30; padding: 10px 16px; border-radius: var(--hl-radius-control); background: var(--hl-accent); color: #FFFFFF; font-weight: 700; }\n.hl-skip:focus { left: 8px; }\n.hl-sidebar { width: 264px; flex: none; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; padding: 20px 14px; background: var(--hl-sidebar); border-right: 1px solid var(--hl-border); position: sticky; top: 0; height: 100vh; overflow-y: auto; }\n.hl-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--hl-text); text-decoration: none; }\n.hl-nav { display: flex; flex-direction: column; gap: 2px; }\n.hl-nav__group { margin: 18px 12px 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hl-muted); }\n.hl-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }\n.hl-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: var(--hl-radius-control); color: var(--hl-text); text-decoration: none; font-weight: 600; }\n.hl-nav a:hover { background: var(--hl-faint); }\n.hl-nav a[aria-current=\"page\"] { background: var(--hl-accent-soft); color: var(--hl-accent-text); font-weight: 700; }\n.hl-nav ul ul a { min-height: 40px; padding-left: 42px; font-weight: 500; color: var(--hl-muted); }\n.hl-nav ul ul a[aria-current=\"page\"] { color: var(--hl-accent-text); }\n.hl-sidebar__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--hl-border); }\n.hl-theme-row { display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hl-muted); }\n.hl-theme-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--hl-faint); }\n.hl-shell .hl-theme-switch button { width: 34px; height: 30px; min-height: 30px; padding: 0; box-sizing: border-box; border: 0; border-radius: 999px; display: grid; place-items: center; background: transparent; color: var(--hl-muted); cursor: pointer; }\n.hl-shell .hl-theme-switch button:hover:not(:disabled) { background: var(--hl-surface); border-color: transparent; color: var(--hl-text); }\n.hl-shell .hl-theme-switch button[aria-pressed=\"true\"], .hl-shell .hl-theme-switch button[aria-pressed=\"true\"]:hover:not(:disabled) { background: var(--hl-accent); border-color: var(--hl-accent); color: var(--hl-on-accent); }\n.hl-account { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }\n.hl-account__who { display: flex; align-items: center; gap: 10px; padding: 4px 6px; }\n.hl-avatar { width: 36px; height: 36px; flex: none; border-radius: 999px; display: grid; place-items: center; background: var(--hl-accent); color: var(--hl-on-accent); font-weight: 700; }\n.hl-account__text { display: flex; flex-direction: column; min-width: 0; }\n.hl-account__text span { font-size: 13px; color: var(--hl-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.hl-shell button.hl-signout { min-height: 40px; padding: 0 12px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: transparent; color: var(--hl-text); font: inherit; font-weight: 600; cursor: pointer; }\n.hl-shell button.hl-signout:hover:not(:disabled) { background: var(--hl-faint); border-color: var(--hl-border); color: var(--hl-text); }\n.hl-shell button.hl-signout:disabled { background: transparent; border-color: var(--hl-border); color: var(--hl-muted); opacity: .7; cursor: default; }\n.hl-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }\n.hl-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 32px; border-bottom: 1px solid var(--hl-border); background: var(--hl-ground); position: sticky; top: 0; z-index: 10; }\n.hl-search { position: relative; flex: 1 1 280px; max-width: 520px; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-muted); box-sizing: border-box; }\n.hl-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--hl-text); font: inherit; }\n.hl-search:focus-within { border-color: var(--hl-accent); }\n.hl-search__list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; list-style: none; margin: 0; padding: 6px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: var(--hl-surface); box-shadow: 0 12px 30px rgba(0,0,0,.18); }\n.hl-search__list li { padding: 10px 12px; border-radius: 8px; color: var(--hl-text); cursor: pointer; }\n.hl-search__list li[aria-selected=\"true\"] { background: var(--hl-accent-soft); color: var(--hl-accent-text); }\n.hl-search__list .hl-search__empty { color: var(--hl-muted); cursor: default; }\n.hl-topbar__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }\n.hl-shell button.hl-menu-button { min-height: 44px; padding: 0 14px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font: inherit; font-weight: 700; cursor: pointer; }\n.hl-shell button.hl-menu-button:hover:not(:disabled) { background: var(--hl-faint); border-color: var(--hl-border); color: var(--hl-text); }\n.hl-main { padding: 32px; width: 100%; max-width: 1180px; box-sizing: border-box; }\n.hl-drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); }\n.hl-drawer { position: fixed; inset: 0 auto 0 0; z-index: 41; width: min(300px, 86vw); display: flex; flex-direction: column; gap: 6px; padding: 16px 14px; background: var(--hl-sidebar); overflow-y: auto; }\n@media (max-width: 899px) {\n .hl-topbar { padding: 12px 16px; }\n .hl-main { padding: 20px 16px; }\n}\n";
2
+ export declare const SHELL_CSS = "\n.hl-shell { min-height: 100vh; display: flex; background: var(--hl-ground); color: var(--hl-text); }\n.hl-skip { position: absolute; left: -9999px; top: 8px; z-index: 30; padding: 10px 16px; border-radius: var(--hl-radius-control); background: var(--hl-accent); color: #FFFFFF; font-weight: 700; }\n.hl-skip:focus { left: 8px; }\n.hl-sidebar { width: 240px; flex: none; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; background: var(--hl-sidebar); border-right: 1px solid var(--hl-border); position: sticky; top: 0; height: 100vh; overflow-y: auto; }\n.hl-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 14px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: var(--hl-text); text-decoration: none; }\n.hl-nav { display: flex; flex-direction: column; gap: 2px; }\n.hl-nav__group { margin: 14px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hl-muted); }\n.hl-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }\n.hl-nav a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: var(--hl-radius-control); color: var(--hl-text); text-decoration: none; font-weight: 600; }\n.hl-nav a:hover { background: var(--hl-faint); }\n.hl-nav a[aria-current=\"page\"] { background: var(--hl-accent-soft); color: var(--hl-accent-text); font-weight: 700; }\n.hl-nav ul ul a { min-height: 32px; padding-left: 36px; font-weight: 500; color: var(--hl-muted); }\n.hl-nav ul ul a[aria-current=\"page\"] { color: var(--hl-accent-text); }\n.hl-sidebar__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--hl-border); }\n.hl-theme-row { display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hl-muted); }\n.hl-theme-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--hl-faint); }\n.hl-shell .hl-theme-switch button { width: 34px; height: 30px; min-height: 30px; padding: 0; box-sizing: border-box; border: 0; border-radius: 999px; display: grid; place-items: center; background: transparent; color: var(--hl-muted); cursor: pointer; }\n.hl-shell .hl-theme-switch button:hover:not(:disabled) { background: var(--hl-surface); border-color: transparent; color: var(--hl-text); }\n.hl-shell .hl-theme-switch button[aria-pressed=\"true\"], .hl-shell .hl-theme-switch button[aria-pressed=\"true\"]:hover:not(:disabled) { background: var(--hl-accent); border-color: var(--hl-accent); color: var(--hl-on-accent); }\n.hl-account { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }\n.hl-account__who { display: flex; align-items: center; gap: 10px; padding: 4px 6px; }\n.hl-avatar { width: 30px; height: 30px; flex: none; border-radius: 999px; display: grid; place-items: center; background: var(--hl-accent); color: var(--hl-on-accent); font-weight: 700; }\n.hl-account__text { display: flex; flex-direction: column; min-width: 0; }\n.hl-account__text span { font-size: 13px; color: var(--hl-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.hl-shell button.hl-signout { min-height: 34px; padding: 0 12px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: transparent; color: var(--hl-text); font: inherit; font-weight: 600; cursor: pointer; }\n.hl-shell button.hl-signout:hover:not(:disabled) { background: var(--hl-faint); border-color: var(--hl-border); color: var(--hl-text); }\n.hl-shell button.hl-signout:disabled { background: transparent; border-color: var(--hl-border); color: var(--hl-muted); opacity: .7; cursor: default; }\n.hl-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }\n.hl-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 28px; border-bottom: 1px solid var(--hl-border); background: var(--hl-ground); position: sticky; top: 0; z-index: 10; }\n.hl-search { position: relative; flex: 1 1 280px; max-width: 520px; display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-muted); box-sizing: border-box; }\n.hl-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--hl-text); font: inherit; }\n.hl-search:focus-within { border-color: var(--hl-accent); }\n.hl-search__list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; list-style: none; margin: 0; padding: 6px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: var(--hl-surface); box-shadow: 0 12px 30px rgba(0,0,0,.18); }\n.hl-search__list li { padding: 10px 12px; border-radius: 8px; color: var(--hl-text); cursor: pointer; }\n.hl-search__list li[aria-selected=\"true\"] { background: var(--hl-accent-soft); color: var(--hl-accent-text); }\n.hl-search__list .hl-search__empty { color: var(--hl-muted); cursor: default; }\n.hl-topbar__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }\n.hl-shell button.hl-menu-button { min-height: 38px; padding: 0 14px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font: inherit; font-weight: 700; cursor: pointer; }\n.hl-shell button.hl-menu-button:hover:not(:disabled) { background: var(--hl-faint); border-color: var(--hl-border); color: var(--hl-text); }\n.hl-main { padding: 24px 28px; width: 100%; max-width: 1180px; box-sizing: border-box; }\n.hl-drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); }\n.hl-drawer { position: fixed; inset: 0 auto 0 0; z-index: 41; width: min(300px, 86vw); display: flex; flex-direction: column; gap: 6px; padding: 16px 14px; background: var(--hl-sidebar); overflow-y: auto; }\n@media (max-width: 899px) {\n .hl-topbar { padding: 12px 16px; }\n .hl-main { padding: 20px 16px; }\n}\n";
@@ -3,15 +3,15 @@ export const SHELL_CSS = `
3
3
  .hl-shell { min-height: 100vh; display: flex; background: var(--hl-ground); color: var(--hl-text); }
4
4
  .hl-skip { position: absolute; left: -9999px; top: 8px; z-index: 30; padding: 10px 16px; border-radius: var(--hl-radius-control); background: var(--hl-accent); color: #FFFFFF; font-weight: 700; }
5
5
  .hl-skip:focus { left: 8px; }
6
- .hl-sidebar { width: 264px; flex: none; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; padding: 20px 14px; background: var(--hl-sidebar); border-right: 1px solid var(--hl-border); position: sticky; top: 0; height: 100vh; overflow-y: auto; }
7
- .hl-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--hl-text); text-decoration: none; }
6
+ .hl-sidebar { width: 240px; flex: none; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; background: var(--hl-sidebar); border-right: 1px solid var(--hl-border); position: sticky; top: 0; height: 100vh; overflow-y: auto; }
7
+ .hl-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 14px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; color: var(--hl-text); text-decoration: none; }
8
8
  .hl-nav { display: flex; flex-direction: column; gap: 2px; }
9
- .hl-nav__group { margin: 18px 12px 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hl-muted); }
9
+ .hl-nav__group { margin: 14px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hl-muted); }
10
10
  .hl-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
11
- .hl-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: var(--hl-radius-control); color: var(--hl-text); text-decoration: none; font-weight: 600; }
11
+ .hl-nav a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: var(--hl-radius-control); color: var(--hl-text); text-decoration: none; font-weight: 600; }
12
12
  .hl-nav a:hover { background: var(--hl-faint); }
13
13
  .hl-nav a[aria-current="page"] { background: var(--hl-accent-soft); color: var(--hl-accent-text); font-weight: 700; }
14
- .hl-nav ul ul a { min-height: 40px; padding-left: 42px; font-weight: 500; color: var(--hl-muted); }
14
+ .hl-nav ul ul a { min-height: 32px; padding-left: 36px; font-weight: 500; color: var(--hl-muted); }
15
15
  .hl-nav ul ul a[aria-current="page"] { color: var(--hl-accent-text); }
16
16
  .hl-sidebar__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--hl-border); }
17
17
  .hl-theme-row { display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hl-muted); }
@@ -21,15 +21,15 @@ export const SHELL_CSS = `
21
21
  .hl-shell .hl-theme-switch button[aria-pressed="true"], .hl-shell .hl-theme-switch button[aria-pressed="true"]:hover:not(:disabled) { background: var(--hl-accent); border-color: var(--hl-accent); color: var(--hl-on-accent); }
22
22
  .hl-account { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
23
23
  .hl-account__who { display: flex; align-items: center; gap: 10px; padding: 4px 6px; }
24
- .hl-avatar { width: 36px; height: 36px; flex: none; border-radius: 999px; display: grid; place-items: center; background: var(--hl-accent); color: var(--hl-on-accent); font-weight: 700; }
24
+ .hl-avatar { width: 30px; height: 30px; flex: none; border-radius: 999px; display: grid; place-items: center; background: var(--hl-accent); color: var(--hl-on-accent); font-weight: 700; }
25
25
  .hl-account__text { display: flex; flex-direction: column; min-width: 0; }
26
26
  .hl-account__text span { font-size: 13px; color: var(--hl-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
27
- .hl-shell button.hl-signout { min-height: 40px; padding: 0 12px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: transparent; color: var(--hl-text); font: inherit; font-weight: 600; cursor: pointer; }
27
+ .hl-shell button.hl-signout { min-height: 34px; padding: 0 12px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: transparent; color: var(--hl-text); font: inherit; font-weight: 600; cursor: pointer; }
28
28
  .hl-shell button.hl-signout:hover:not(:disabled) { background: var(--hl-faint); border-color: var(--hl-border); color: var(--hl-text); }
29
29
  .hl-shell button.hl-signout:disabled { background: transparent; border-color: var(--hl-border); color: var(--hl-muted); opacity: .7; cursor: default; }
30
30
  .hl-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
31
- .hl-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 32px; border-bottom: 1px solid var(--hl-border); background: var(--hl-ground); position: sticky; top: 0; z-index: 10; }
32
- .hl-search { position: relative; flex: 1 1 280px; max-width: 520px; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-muted); box-sizing: border-box; }
31
+ .hl-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 28px; border-bottom: 1px solid var(--hl-border); background: var(--hl-ground); position: sticky; top: 0; z-index: 10; }
32
+ .hl-search { position: relative; flex: 1 1 280px; max-width: 520px; display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-muted); box-sizing: border-box; }
33
33
  .hl-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--hl-text); font: inherit; }
34
34
  .hl-search:focus-within { border-color: var(--hl-accent); }
35
35
  .hl-search__list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; list-style: none; margin: 0; padding: 6px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: var(--hl-surface); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
@@ -37,9 +37,9 @@ export const SHELL_CSS = `
37
37
  .hl-search__list li[aria-selected="true"] { background: var(--hl-accent-soft); color: var(--hl-accent-text); }
38
38
  .hl-search__list .hl-search__empty { color: var(--hl-muted); cursor: default; }
39
39
  .hl-topbar__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
40
- .hl-shell button.hl-menu-button { min-height: 44px; padding: 0 14px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font: inherit; font-weight: 700; cursor: pointer; }
40
+ .hl-shell button.hl-menu-button { min-height: 38px; padding: 0 14px; border-radius: var(--hl-radius-control); border: 1px solid var(--hl-border); background: var(--hl-surface); color: var(--hl-text); font: inherit; font-weight: 700; cursor: pointer; }
41
41
  .hl-shell button.hl-menu-button:hover:not(:disabled) { background: var(--hl-faint); border-color: var(--hl-border); color: var(--hl-text); }
42
- .hl-main { padding: 32px; width: 100%; max-width: 1180px; box-sizing: border-box; }
42
+ .hl-main { padding: 24px 28px; width: 100%; max-width: 1180px; box-sizing: border-box; }
43
43
  .hl-drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); }
44
44
  .hl-drawer { position: fixed; inset: 0 auto 0 0; z-index: 41; width: min(300px, 86vw); display: flex; flex-direction: column; gap: 6px; padding: 16px 14px; background: var(--hl-sidebar); overflow-y: auto; }
45
45
  @media (max-width: 899px) {
@@ -90,10 +90,10 @@ export function themeCss(accent) {
90
90
  const light = variables(NEUTRALS.light, a, false);
91
91
  const dark = variables(NEUTRALS.dark, a, true);
92
92
  return `
93
- :root { ${light} --hl-on-accent: #FFFFFF; --hl-panel: #0D1020; --hl-panel-text: #FFFFFF; --hl-panel-soft: #D9DDF2; --hl-panel-muted: #9AA3C7; --hl-radius-card: 18px; --hl-radius-control: 12px; --hl-font: ${FONT}; --hl-mono: ${MONO}; }
93
+ :root { ${light} --hl-on-accent: #FFFFFF; --hl-panel: #0D1020; --hl-panel-text: #FFFFFF; --hl-panel-soft: #D9DDF2; --hl-panel-muted: #9AA3C7; --hl-radius-card: 16px; --hl-radius-control: 10px; --hl-font: ${FONT}; --hl-mono: ${MONO}; }
94
94
  :root[data-theme="dark"] { ${dark} }
95
95
  @media (prefers-color-scheme: dark) { :root:not([data-theme]) { ${dark} } }
96
- body { margin: 0; background: var(--hl-ground); color: var(--hl-text); font-family: var(--hl-font); font-size: 15px; line-height: 1.5; }
96
+ body { margin: 0; background: var(--hl-ground); color: var(--hl-text); font-family: var(--hl-font); font-size: 14px; line-height: 1.5; }
97
97
  code, kbd, pre, samp { font-family: var(--hl-mono); }
98
98
  a { color: var(--hl-accent-text); }
99
99
  :focus-visible { outline: 3px solid var(--hl-accent); outline-offset: 2px; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haatlabs-core/ui",
3
- "version": "0.18.0",
3
+ "version": "0.18.2",
4
4
  "description": "React components for an app's dashboard, styled by the app.",
5
5
  "keywords": [
6
6
  "haatlabs",
@@ -67,11 +67,11 @@
67
67
  "react-router-dom": "^7.18.4",
68
68
  "@tanstack/react-query": "^5.104.1",
69
69
  "zod": "^4.6.5",
70
- "@haatlabs-core/tsconfig": "0.18.0",
71
- "@haatlabs-core/vitest-config": "0.18.0"
70
+ "@haatlabs-core/vitest-config": "0.18.2",
71
+ "@haatlabs-core/tsconfig": "0.18.2"
72
72
  },
73
73
  "dependencies": {
74
- "@haatlabs-core/auth-contracts": "0.18.0"
74
+ "@haatlabs-core/auth-contracts": "0.18.2"
75
75
  },
76
76
  "scripts": {
77
77
  "build": "rm -rf dist && tsc -p tsconfig.build.json",