asta-ui 0.8.0 → 0.9.0

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.
@@ -5,7 +5,7 @@
5
5
 
6
6
  @source "./asta.js";
7
7
 
8
- /* ---- runtime: go/ui/assets/src/core.css ---- */
8
+ /* ---- runtime/core.css ---- */
9
9
  /* Hand-written CSS for the parts Tailwind classes can't express: native dialog, toasts, menus, keyframes.
10
10
  * Motion is transform and opacity only, with the kit's one easing. */
11
11
 
@@ -110,7 +110,7 @@
110
110
  }
111
111
  }
112
112
 
113
- /* ---- runtime: go/ui/assets/src/blocks.css ---- */
113
+ /* ---- runtime/blocks.css ---- */
114
114
  /* Blocks: sign-in, onboarding, pricing, AI chat, checkout, properties and settings panels, team members.
115
115
  * Only what Tailwind classes can't express. Motion is transform and opacity only, with the kit's easing. */
116
116
 
@@ -197,7 +197,7 @@
197
197
  }
198
198
  }
199
199
 
200
- /* ---- runtime: go/ui/assets/src/data.css ---- */
200
+ /* ---- runtime/data.css ---- */
201
201
  /* Data components: tree, timeline, kanban, calendar, file card, image compare, carousel, notification center,
202
202
  * comments, motion button. Transform and opacity only, the kit easing, and nothing moves for reduced motion. */
203
203
 
@@ -332,7 +332,7 @@
332
332
  [data-asta-carousel][data-autoplay] .asta-carousel-fill { transform: none; }
333
333
  }
334
334
 
335
- /* ---- runtime: go/ui/assets/src/forms.css ---- */
335
+ /* ---- runtime/forms.css ---- */
336
336
  /* Forms group: keyframes and the few states Tailwind classes can't express. Transform and opacity only,
337
337
  * with the kit's easing. */
338
338
 
@@ -433,7 +433,7 @@
433
433
  .asta-inline-tick { animation-name: none !important; opacity: 1; }
434
434
  }
435
435
 
436
- /* ---- runtime: go/ui/assets/src/overlays.css ---- */
436
+ /* ---- runtime/overlays.css ---- */
437
437
  /* Overlays: what Tailwind can't say. Keyframes, @starting-style, ::backdrop and top-layer transitions. */
438
438
 
439
439
  /* Anchored panels in the top layer (popover, hover card, dropdown, context menu): grow from the trigger. */
@@ -551,9 +551,9 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
551
551
  @layer components {
552
552
  /* ---- css/src/core.css ---- */
553
553
  /* Core: buttons, fields, dialog, menu, tabs, badges and the other small parts.
554
- * Class lists mirror go/ui/<name>.templ. Modifiers come after the base class so they win. */
554
+ * Class lists mirror the React kit. Modifiers come after the base class so they win. */
555
555
 
556
- /* ---- Button (button.templ) ----
556
+ /* ---- Button ----
557
557
  * <button class="asta-btn asta-btn-accent asta-btn-sm"><span class="asta-btn-label">Save</span></button>
558
558
  * Variants: (solid) accent danger outline soft ghost link. Sizes: xs sm (md) lg. Also asta-btn-icon, asta-btn-pill.
559
559
  * Loading: aria-busy="true" or htmx's .htmx-request shows .asta-btn-spinner over the label. */
@@ -628,7 +628,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
628
628
  }
629
629
  }
630
630
 
631
- /* ---- Input (field.templ) ----
631
+ /* ---- Input ----
632
632
  * <label class="asta-input"><span class="asta-input-icon"><svg/></span><input class="asta-input-control" name="q"></label>
633
633
  * Sizes: asta-input-sm, asta-input-lg. States: asta-input-error, asta-input-success, or aria-invalid="true" on the
634
634
  * input. A disabled input dims the whole field. */
@@ -672,7 +672,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
672
672
  }
673
673
  }
674
674
 
675
- /* ---- Field (field.templ) ----
675
+ /* ---- Field ----
676
676
  * <div class="asta-field"><div class="asta-field-head"><label class="asta-label" for="email">Email</label></div>
677
677
  * …control… <p class="asta-hint">We never share it.</p></div>
678
678
  * asta-error replaces the hint (role="alert", optional leading svg). asta-counter sits on the right of the head. */
@@ -701,7 +701,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
701
701
  @apply text-[12.5px] leading-snug text-mute;
702
702
  }
703
703
 
704
- /* ---- Textarea (textarea.templ) ----
704
+ /* ---- Textarea ----
705
705
  * <div class="asta-textarea"><textarea class="asta-textarea-control" rows="3"></textarea></div>
706
706
  * asta-textarea-error (or aria-invalid="true"). asta-textarea-auto on the control grows with its content. */
707
707
  .asta-textarea {
@@ -721,7 +721,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
721
721
  @apply [field-sizing:content] overflow-y-auto min-h-[calc(3lh+24px)] max-h-[calc(10lh+24px)];
722
722
  }
723
723
 
724
- /* ---- Select (select.templ) ----
724
+ /* ---- Select ----
725
725
  * <div class="asta-select"><select class="asta-select-control">…</select><svg class="asta-select-icon"/></div>
726
726
  * asta-select-sm, asta-select-error (or aria-invalid="true"). An empty-value option shows as a muted placeholder. */
727
727
  .asta-select {
@@ -752,7 +752,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
752
752
  }
753
753
  }
754
754
 
755
- /* ---- Checkbox (checkbox.templ) ----
755
+ /* ---- Checkbox ----
756
756
  * <label class="asta-checkbox"><span class="asta-checkbox-box"><input type="checkbox" class="asta-checkbox-input">
757
757
  * <svg class="asta-checkbox-check"/><span class="asta-checkbox-dash"></span></span>
758
758
  * <span><span class="asta-checkbox-label">Email me</span><span class="asta-checkbox-desc">…</span></span></label>
@@ -802,7 +802,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
802
802
  @apply mt-0.5 block text-[13px] leading-snug text-mute;
803
803
  }
804
804
 
805
- /* ---- Radio group (radio.templ) ----
805
+ /* ---- Radio group ----
806
806
  * <div role="radiogroup" class="asta-radio-group"><label class="asta-radio"><span class="asta-radio-row">
807
807
  * <span class="asta-radio-dot"><input type="radio" class="asta-radio-input" name="plan"><span class="asta-radio-mark"></span></span>
808
808
  * <span class="asta-radio-label">Pro</span><span class="asta-radio-aside">$12</span></span>
@@ -857,7 +857,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
857
857
  @apply pl-7 text-[13px] leading-snug text-mute;
858
858
  }
859
859
 
860
- /* ---- Switch (switch.templ) ----
860
+ /* ---- Switch ----
861
861
  * <label class="asta-switch"><span><span class="asta-switch-label">Alerts</span><span class="asta-switch-desc">…</span></span>
862
862
  * <span class="asta-switch-track"><input type="checkbox" role="switch" class="asta-switch-input"><span class="asta-switch-thumb"></span></span></label>
863
863
  * A bare asta-switch-track works without a label. Sizes: asta-switch-sm, asta-switch-lg on the label or the track. */
@@ -909,7 +909,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
909
909
  }
910
910
  }
911
911
 
912
- /* ---- Slider (slider.templ) ----
912
+ /* ---- Slider ----
913
913
  * <div class="asta-slider"><input type="range" class="asta-slider-input" min="0" max="100" value="40">
914
914
  * <div class="asta-slider-ticks" aria-hidden="true"><span class="asta-slider-tick" style="left:0%"></span>…</div></div> */
915
915
  .asta-slider {
@@ -938,7 +938,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
938
938
  @apply absolute top-0 h-1 w-1 -translate-x-1/2 rounded-full bg-[color-mix(in_srgb,var(--ink)_28%,transparent)];
939
939
  }
940
940
 
941
- /* ---- Badge (badge.templ) ----
941
+ /* ---- Badge ----
942
942
  * <span class="asta-badge asta-badge-success"><span class="asta-badge-dot"></span>Live</span>
943
943
  * Variants: (soft) solid outline. Tones: (neutral) accent success warning danger. Size: asta-badge-sm.
944
944
  * asta-badge-dot can hold <span class="asta-badge-ping"></span> for a pulse. asta-badge-remove is the × button.
@@ -1006,7 +1006,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1006
1006
  @apply inline-flex h-[18px] min-w-[18px] animate-[asta-pop_.4s_cubic-bezier(.16,1,.3,1)] items-center justify-center rounded-[5px] bg-[#e5484d] px-1 text-[10.5px] font-semibold tabular-nums leading-none text-white shadow-[0_0_0_2px_var(--paper)] motion-reduce:animate-none;
1007
1007
  }
1008
1008
 
1009
- /* ---- Dialog (dialog.templ) ----
1009
+ /* ---- Dialog ----
1010
1010
  * <button data-asta-open="invite">Invite</button>
1011
1011
  * <dialog id="invite" class="asta-dialog" aria-labelledby="invite-title">
1012
1012
  * <button type="button" class="asta-dialog-close" data-asta-close aria-label="Close"><svg/></button>
@@ -1037,7 +1037,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1037
1037
  @apply mt-6 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end;
1038
1038
  }
1039
1039
 
1040
- /* ---- Menu (menu.templ) ----
1040
+ /* ---- Menu ----
1041
1041
  * <div class="asta-menu" data-asta-menu>
1042
1042
  * <button class="asta-btn asta-btn-outline asta-menu-trigger" data-asta-menu-trigger aria-haspopup="menu" aria-expanded="false">
1043
1043
  * Actions<svg class="asta-menu-chevron"/></button>
@@ -1097,7 +1097,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1097
1097
  @apply mx-1 my-1.5 h-px bg-[color-mix(in_srgb,var(--ink)_8%,transparent)];
1098
1098
  }
1099
1099
 
1100
- /* ---- Tabs (tabs.templ) ----
1100
+ /* ---- Tabs ----
1101
1101
  * <div class="asta-tabs" data-asta-tabs><div role="tablist" class="asta-tabs-list">
1102
1102
  * <span class="asta-tabs-line" aria-hidden="true"></span><span class="asta-tabs-indicator" data-asta-tab-indicator aria-hidden="true"></span>
1103
1103
  * <button role="tab" class="asta-tab" id="t-a" aria-controls="p-a" aria-selected="true">Overview<span class="asta-tab-count">4</span></button>…</div>
@@ -1169,7 +1169,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1169
1169
  }
1170
1170
  }
1171
1171
 
1172
- /* ---- Table (table.templ) ----
1172
+ /* ---- Table ----
1173
1173
  * <div class="asta-table-wrap"><div class="asta-table-scroll"><table class="asta-table">
1174
1174
  * <thead><tr><th class="asta-th" scope="col">Name</th><th class="asta-th asta-th-right">Amount</th></tr></thead>
1175
1175
  * <tbody><tr class="asta-tr"><td class="asta-td">Astabyte</td><td class="asta-td asta-td-right">$1,200</td></tr></tbody></table></div></div>
@@ -1255,11 +1255,11 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1255
1255
 
1256
1256
  /* ---- css/src/blocks.css ---- */
1257
1257
  /* Blocks: sign-in, onboarding, pricing, AI chat, checkout, properties and settings panels, team members.
1258
- * Class lists mirror go/ui/<name>.templ. Embedded controls use the core classes (asta-btn, asta-input, asta-field,
1258
+ * Class lists mirror the React kit. Embedded controls use the core classes (asta-btn, asta-input, asta-field,
1259
1259
  * asta-select, asta-switch, asta-checkbox, asta-avatar, asta-progress). The runtime CSS keys on the data-asta-*
1260
1260
  * attributes, so keep them in the markup. Modifiers come after the base class so they win. */
1261
1261
 
1262
- /* ---- Sign-in (sign_in.templ) ----
1262
+ /* ---- Sign-in ----
1263
1263
  * <div id="sign-in" data-asta-sign-in class="asta-sign-in"><form class="asta-sign-in-form" hx-post="/sign-in" hx-target="#sign-in" hx-swap="outerHTML">
1264
1264
  * <h3 class="asta-sign-in-title">Welcome back</h3> … <button type="submit" class="asta-btn asta-sign-in-submit">…</button></form></div>
1265
1265
  * A field with an error: wrap its asta-input in <div class="asta-sign-in-shake">. */
@@ -1347,7 +1347,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1347
1347
  }
1348
1348
  }
1349
1349
 
1350
- /* ---- Onboarding (onboarding.templ) ----
1350
+ /* ---- Onboarding ----
1351
1351
  * <div id="onboarding" data-asta-onboarding class="asta-onboarding"><div data-asta-onboarding-list> <div class="asta-onboarding-head">…</div>
1352
1352
  * <ol class="asta-onboarding-steps"><li data-asta-onboarding-step class="asta-onboarding-step"><button data-asta-onboarding-toggle
1353
1353
  * aria-expanded="true" aria-controls="s1" class="asta-onboarding-toggle">…</button><div id="s1" role="region" class="asta-onboarding-panel">…</div></li></ol></div></div>
@@ -1463,7 +1463,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1463
1463
  }
1464
1464
  }
1465
1465
 
1466
- /* ---- Pricing (pricing.templ) ----
1466
+ /* ---- Pricing ----
1467
1467
  * <div data-asta-pricing class="asta-plans"><div role="radiogroup" class="asta-plans-period"><span data-asta-pricing-pill class="asta-plans-pill"></span>
1468
1468
  * <label class="asta-plans-option"><input type="radio" name="billing" value="monthly" checked class="sr-only">Monthly</label>…</div>
1469
1469
  * <div class="asta-plans-grid"><div class="asta-plans-card">…</div><div class="asta-plans-card asta-plans-card-featured">…</div></div></div>
@@ -1571,7 +1571,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1571
1571
  }
1572
1572
  }
1573
1573
 
1574
- /* ---- AI chat (ai_chat.templ) ----
1574
+ /* ---- AI chat ----
1575
1575
  * <div id="chat" data-asta-chat class="asta-ai-chat"> <header class="asta-ai-chat-header">…</header>
1576
1576
  * <div data-asta-chat-log role="log" class="asta-ai-chat-log"><div data-asta-chat-empty class="asta-ai-chat-empty">…</div><ol data-asta-chat-list class="asta-ai-chat-list">…</ol></div>
1577
1577
  * <form data-asta-chat-form class="asta-ai-chat-form" hx-post="/chat" hx-target="#chat-list" hx-swap="beforeend">…</form></div>
@@ -1706,7 +1706,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1706
1706
  @apply mt-2 text-center text-[11.5px] text-mute;
1707
1707
  }
1708
1708
 
1709
- /* ---- Checkout (checkout.templ) ----
1709
+ /* ---- Checkout ----
1710
1710
  * <form id="checkout" data-asta-checkout class="asta-checkout-form" hx-post="/checkout" hx-target="#checkout" hx-swap="outerHTML">
1711
1711
  * <div class="asta-checkout-main"><div class="asta-checkout-steps"><fieldset class="asta-checkout-section">…</fieldset>…</div></div>
1712
1712
  * <aside data-asta-checkout-summary class="asta-checkout-summary">…</aside></form>
@@ -1879,7 +1879,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1879
1879
  }
1880
1880
  }
1881
1881
 
1882
- /* ---- Properties panel (properties_panel.templ) ----
1882
+ /* ---- Properties panel ----
1883
1883
  * <form data-asta-props class="asta-properties" hx-post="/props" hx-trigger="change" hx-swap="none"><div class="asta-properties-header">…</div>
1884
1884
  * <div class="asta-properties-body"><details open class="asta-prop-section"><summary class="asta-prop-summary">…Layout</summary>
1885
1885
  * <div data-asta-props-body class="asta-prop-content"><div class="asta-prop-row"><span class="asta-prop-label">Size</span><div class="asta-prop-cells">
@@ -1968,7 +1968,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
1968
1968
  @apply h-full min-w-0 flex-1 bg-transparent px-2 font-mono text-[11.5px] uppercase outline-none;
1969
1969
  }
1970
1970
 
1971
- /* ---- Settings panel (settings_panel.templ) ----
1971
+ /* ---- Settings panel ----
1972
1972
  * <form data-asta-settings class="asta-settings-panel" hx-post="/settings" hx-swap="none" hx-indicator="find [data-asta-settings-save]">
1973
1973
  * <div class="asta-settings-body"><section class="asta-settings-section">…<div class="asta-settings-row">…</div></section></div>
1974
1974
  * <div data-asta-settings-bar class="asta-settings-savebar">…</div></form>
@@ -2069,7 +2069,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2069
2069
  }
2070
2070
  }
2071
2071
 
2072
- /* ---- Team members (team_members.templ) ----
2072
+ /* ---- Team members ----
2073
2073
  * <div id="team" data-asta-team class="asta-team-members"><header class="asta-team-header">…</header>
2074
2074
  * <form class="asta-team-invite" hx-post="/team/invite" hx-target="#team" hx-swap="outerHTML">…</form>
2075
2075
  * <h4 class="asta-team-heading">Members</h4><ul><li data-asta-team-row="u1" class="asta-team-member"><div class="asta-team-row">…</div></li></ul></div>
@@ -2176,12 +2176,12 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2176
2176
 
2177
2177
  /* ---- css/src/data.css ---- */
2178
2178
  /* Data: data table, tree view, timeline, kanban, event calendar, file card, image compare, carousel, notification
2179
- * center, comments, motion button. Class lists mirror go/ui/<name>.templ.
2179
+ * center, comments, motion button. Class lists mirror the React kit.
2180
2180
  * Where the runtime CSS already owns .asta-<name> (carousel, comments, kanban, timeline), the semantic root is
2181
2181
  * .asta-<name>-root and the runtime class stays next to it in the markup. Avatars use .asta-avatar, checkboxes
2182
2182
  * .asta-checkbox and tables .asta-table*, from their own groups. */
2183
2183
 
2184
- /* ---- Data table (data_table.templ) ----
2184
+ /* ---- Data table ----
2185
2185
  * <div id="people" class="asta-data-table" data-asta-dt hx-boost="true" hx-target="#people" hx-select="#people">
2186
2186
  * <div class="asta-data-table-toolbar"><form role="search" class="asta-data-table-search">…</form></div>
2187
2187
  * <form class="asta-data-table-rows"><div class="asta-table-wrap"><table class="asta-table">…</table></div></form>
@@ -2251,7 +2251,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2251
2251
  @apply focus-visible:ring-2 focus-visible:ring-brand/50 active:scale-90 aria-disabled:pointer-events-none aria-disabled:opacity-30 [&>svg]:h-3.5 [&>svg]:w-3.5;
2252
2252
  }
2253
2253
 
2254
- /* ---- Tree view (tree_view.templ) ----
2254
+ /* ---- Tree view ----
2255
2255
  * <ul role="tree" class="asta-tree-view" data-asta-tree data-tab="src">
2256
2256
  * <li role="treeitem" class="asta-tree-item" data-id="src" aria-level="1" aria-expanded="true" aria-selected="false" tabindex="0">
2257
2257
  * <div class="asta-tree-row" data-asta-tree-row data-open><span class="asta-tree-chevron" data-asta-tree-chevron>…</span>
@@ -2342,7 +2342,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2342
2342
  @apply flex h-8 items-center gap-2 pl-2 text-[12.5px] text-mute [&>svg]:h-3.5 [&>svg]:w-3.5 [&>svg]:animate-spin;
2343
2343
  }
2344
2344
 
2345
- /* ---- Timeline (timeline.templ) ----
2345
+ /* ---- Timeline ----
2346
2346
  * <ol class="asta-timeline asta-timeline-root" data-asta-timeline data-inview="false" aria-label="Order history">
2347
2347
  * <li class="asta-timeline-item asta-timeline-a asta-timeline-enter" style="animation-delay:0ms">
2348
2348
  * <div class="asta-timeline-rail"><span class="asta-timeline-marker"><span class="asta-timeline-dot"></span></span>
@@ -2412,7 +2412,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2412
2412
  @apply mt-0.5 text-[13px] leading-relaxed text-mute;
2413
2413
  }
2414
2414
 
2415
- /* ---- Kanban (kanban.templ) ----
2415
+ /* ---- Kanban ----
2416
2416
  * <form class="asta-kanban asta-kanban-root" data-asta-kanban hx-post="/move" hx-trigger="asta:move" hx-swap="none">
2417
2417
  * <input type="hidden" name="card" data-asta-kanban-field="card">…
2418
2418
  * <div class="asta-kanban-grid" style="--cols:3"><section class="asta-kanban-col" data-asta-kanban-col="todo">
@@ -2465,7 +2465,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2465
2465
  @apply ml-auto;
2466
2466
  }
2467
2467
 
2468
- /* ---- Event calendar (event_calendar.templ) ----
2468
+ /* ---- Event calendar ----
2469
2469
  * <div id="cal" class="asta-cal asta-event-calendar" data-asta-cal data-month="2026-11" data-today="2026-11-19" data-week="1"
2470
2470
  * data-tpl="/calendar?month=__M__&day=__D__" hx-boost="true" hx-target="#cal" hx-select="#cal" hx-swap="outerHTML show:none">
2471
2471
  * <div class="asta-event-calendar-main"><header class="asta-event-calendar-head">…</header>
@@ -2580,7 +2580,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2580
2580
  @apply mt-4 rounded-[10px] bg-paper-2 px-3 py-4 text-[13px] text-mute;
2581
2581
  }
2582
2582
 
2583
- /* ---- File card (file_card.templ) ----
2583
+ /* ---- File card ----
2584
2584
  * <div class="asta-file-card"><a href="/files/1" class="asta-file-card-open" aria-label="Open Q4 plan"></a>
2585
2585
  * <div class="asta-file-card-media"><img class="asta-file-card-thumb" src="…" alt="">
2586
2586
  * <span class="asta-file-card-corner"><button class="asta-file-card-star" data-asta-file-star aria-pressed="false">
@@ -2670,7 +2670,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2670
2670
  @apply relative z-[2] flex shrink-0 items-center gap-1;
2671
2671
  }
2672
2672
 
2673
- /* ---- Image compare (image_compare.templ) ----
2673
+ /* ---- Image compare ----
2674
2674
  * <div class="asta-compare asta-image-compare" data-asta-compare data-step="2" style="--pos:50">
2675
2675
  * <div class="asta-image-compare-layer"><img class="asta-image-compare-img" src="after.webp" alt=""></div>
2676
2676
  * <div class="asta-compare-win asta-image-compare-clip"><div class="asta-compare-pic asta-image-compare-layer"><img class="asta-image-compare-img" src="before.webp" alt=""></div></div>
@@ -2724,7 +2724,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2724
2724
  }
2725
2725
  }
2726
2726
 
2727
- /* ---- Carousel (carousel.templ) ----
2727
+ /* ---- Carousel ----
2728
2728
  * <div class="asta-carousel asta-carousel-root" data-asta-carousel data-index="0" data-autoplay="5000" role="region" aria-roledescription="carousel" tabindex="0">
2729
2729
  * <div class="asta-carousel-track asta-carousel-slides" data-asta-carousel-track aria-live="polite">
2730
2730
  * <div id="c-slide-0" class="asta-carousel-slide" data-asta-carousel-slide role="group" aria-roledescription="slide">…</div>…</div>
@@ -2778,7 +2778,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2778
2778
  @apply focus-visible:ring-2 focus-visible:ring-brand/50 active:scale-95 disabled:pointer-events-none disabled:opacity-30 [&>svg]:h-4 [&>svg]:w-4;
2779
2779
  }
2780
2780
 
2781
- /* ---- Notification center (notification_center.templ) ----
2781
+ /* ---- Notification center ----
2782
2782
  * <span class="asta-nc asta-notification-center" data-asta-nc data-label="Notifications" data-url="/notifications/read">
2783
2783
  * <button class="asta-notification-center-bell" data-asta-nc-trigger aria-haspopup="dialog" aria-expanded="false" aria-controls="nc">
2784
2784
  * <span class="asta-notification-center-bell-icon">…</span><span class="asta-notification-center-badge" data-asta-nc-badge><span data-asta-nc-count>2</span></span></button>
@@ -2894,7 +2894,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2894
2894
  @apply mt-1 text-[12.5px] text-mute;
2895
2895
  }
2896
2896
 
2897
- /* ---- Comments (comments.templ) ----
2897
+ /* ---- Comments ----
2898
2898
  * <section id="talk" class="asta-comments asta-comments-root" data-asta-comments>
2899
2899
  * <h3 class="asta-comments-title">Discussion <span class="asta-comments-total" data-asta-comments-total>3</span></h3>
2900
2900
  * <div id="talk-list" class="asta-comments-list"><div data-asta-comment-thread="c1">
@@ -2984,7 +2984,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
2984
2984
  @apply flex items-center justify-end gap-1.5 px-2 pb-2;
2985
2985
  }
2986
2986
 
2987
- /* ---- Motion button (motion_button.templ) ----
2987
+ /* ---- Motion button ----
2988
2988
  * <button class="asta-motion asta-motion-button asta-motion-button-fill" data-asta-mb="fill">
2989
2989
  * <span class="asta-mb-fill asta-motion-button-wipe" aria-hidden="true"></span><span class="asta-motion-button-label">Get started</span></button>
2990
2990
  * Variants (set the same name in data-asta-mb): roll (default) fill arrow shine beam press copy confirm.
@@ -3143,9 +3143,9 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3143
3143
 
3144
3144
  /* ---- css/src/display.css ---- */
3145
3145
  /* Display: accordion, alert, avatar, breadcrumb, card, empty state, kbd, pagination, progress, skeleton, spinner,
3146
- * stat card and tooltip. Class lists mirror go/ui/<name>.templ. Modifiers come after the base class so they win. */
3146
+ * stat card and tooltip. Class lists mirror the React kit. Modifiers come after the base class so they win. */
3147
3147
 
3148
- /* ---- Accordion (accordion.templ) ----
3148
+ /* ---- Accordion ----
3149
3149
  * <div class="asta-accordion"><details class="asta-accordion-item" name="faq" open>
3150
3150
  * <summary class="asta-accordion-trigger">Title<span class="asta-accordion-icon" aria-hidden="true"><span></span><span></span></span></summary>
3151
3151
  * <div class="asta-accordion-content">Answer</div></details></div>
@@ -3184,7 +3184,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3184
3184
  @apply px-4 pb-4 text-[14px] leading-relaxed text-ink-2;
3185
3185
  }
3186
3186
 
3187
- /* ---- Alert (alert.templ) ----
3187
+ /* ---- Alert ----
3188
3188
  * <div class="asta-alert asta-alert-success" role="status"><span class="asta-alert-icon"><svg…/></span>
3189
3189
  * <div class="asta-alert-body"><p class="asta-alert-title">Saved</p><div class="asta-alert-text">…</div></div>
3190
3190
  * <label class="asta-alert-dismiss"><input type="checkbox" data-asta-dismiss aria-label="Dismiss"><svg…/></label></div>
@@ -3238,7 +3238,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3238
3238
  }
3239
3239
  }
3240
3240
 
3241
- /* ---- Avatar (avatar.templ) ----
3241
+ /* ---- Avatar ----
3242
3242
  * <span class="asta-avatar asta-avatar-sm" role="img" aria-label="Ada Lovelace (online)">
3243
3243
  * <span class="asta-avatar-face asta-avatar-brand">AL<img class="asta-avatar-img" src="…" alt=""></span>
3244
3244
  * <span class="asta-avatar-status" data-status="online" aria-hidden="true"></span></span>
@@ -3323,7 +3323,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3323
3323
  }
3324
3324
  }
3325
3325
 
3326
- /* ---- Avatar group (avatar.templ AvatarGroup) ----
3326
+ /* ---- Avatar group ----
3327
3327
  * <ul class="asta-avatar-group" aria-label="5 people">
3328
3328
  * <li class="asta-avatar-group-item" style="--i:0"><span class="asta-avatar-group-face" role="img" aria-label="Ada Lovelace">
3329
3329
  * <span class="asta-avatar-face">AL</span><span class="asta-avatar-tip" aria-hidden="true">Ada Lovelace</span></span></li>
@@ -3385,7 +3385,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3385
3385
  }
3386
3386
  }
3387
3387
 
3388
- /* ---- Breadcrumb (breadcrumb.templ) ----
3388
+ /* ---- Breadcrumb ----
3389
3389
  * <nav class="asta-breadcrumb" aria-label="Breadcrumb"><ol class="asta-breadcrumb-list">
3390
3390
  * <li class="asta-breadcrumb-item"><a class="asta-breadcrumb-link" href="/"><span class="asta-breadcrumb-label">Astabyte</span></a><span class="asta-breadcrumb-sep" aria-hidden="true"><svg…/></span></li>
3391
3391
  * <li class="asta-breadcrumb-item"><span class="asta-breadcrumb-page" aria-current="page"><span class="asta-breadcrumb-label">Billing</span></span></li></ol></nav>
@@ -3444,7 +3444,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3444
3444
  }
3445
3445
  }
3446
3446
 
3447
- /* ---- Card (card.templ) ----
3447
+ /* ---- Card ----
3448
3448
  * <div class="asta-card"><div class="asta-card-header"><h3 class="asta-card-title">Plan</h3>
3449
3449
  * <p class="asta-card-description">…</p></div>…<div class="asta-card-footer">buttons</div></div> */
3450
3450
  .asta-card {
@@ -3463,7 +3463,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3463
3463
  @apply mt-5 flex flex-wrap items-center justify-end gap-2;
3464
3464
  }
3465
3465
 
3466
- /* ---- Empty state (empty_state.templ) ----
3466
+ /* ---- Empty state ----
3467
3467
  * <div class="asta-empty-state" role="status"><div class="asta-empty-state-art" aria-hidden="true">
3468
3468
  * <span class="asta-empty-state-blob"></span><svg viewBox="0 0 120 88" …><path d="…"/><path class="asta-empty-state-accent" d="…"/></svg></div>
3469
3469
  * <h3 class="asta-empty-state-title">Nothing here yet</h3><p class="asta-empty-state-description">…</p>
@@ -3513,7 +3513,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3513
3513
  }
3514
3514
  }
3515
3515
 
3516
- /* ---- Kbd (kbd.templ) ----
3516
+ /* ---- Kbd ----
3517
3517
  * <kbd class="asta-kbd">Esc</kbd> · <span class="asta-kbd-combo" aria-label="⌘ + K"><kbd class="asta-kbd">⌘</kbd><span class="asta-kbd-combo-sep" aria-hidden="true">+</span><kbd class="asta-kbd">K</kbd></span>
3518
3518
  * Sizes: sm (md) lg. data-pressed shows the key held down. */
3519
3519
  .asta-kbd {
@@ -3536,7 +3536,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3536
3536
  @apply text-[12px] text-mute;
3537
3537
  }
3538
3538
 
3539
- /* ---- Pagination (pagination.templ) ----
3539
+ /* ---- Pagination ----
3540
3540
  * <nav class="asta-pagination" aria-label="Pagination"><a class="asta-pagination-link" href="?page=4" aria-label="Previous page"><svg…/></a>
3541
3541
  * <ul class="asta-pagination-list"><li><a class="asta-pagination-link" href="?page=1">1</a></li><li class="asta-pagination-gap" aria-hidden="true">…</li>
3542
3542
  * <li><a class="asta-pagination-link" aria-current="page" href="?page=5">5</a></li></ul>…</nav>
@@ -3569,7 +3569,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3569
3569
  }
3570
3570
  }
3571
3571
 
3572
- /* ---- Progress (progress.templ) ----
3572
+ /* ---- Progress ----
3573
3573
  * <div class="asta-progress"><div class="asta-progress-header"><span class="asta-progress-label">Upload</span><span class="asta-progress-value">62%</span></div>
3574
3574
  * <div class="asta-progress-track" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="62">
3575
3575
  * <span class="asta-progress-fill" style="transform:translateX(-38%)"></span></div></div>
@@ -3599,7 +3599,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3599
3599
  }
3600
3600
  }
3601
3601
 
3602
- /* ---- Progress ring (progress.templ ProgressRing) ----
3602
+ /* ---- Progress ring ----
3603
3603
  * <span class="asta-progress-ring" role="progressbar" aria-valuenow="70" style="width:44px;height:44px">
3604
3604
  * <svg viewBox="0 0 44 44" width="44" height="44" aria-hidden="true"><circle class="asta-progress-ring-track" cx="22" cy="22" r="20.25" stroke-width="3.5"/>
3605
3605
  * <circle class="asta-progress-ring-bar" cx="22" cy="22" r="20.25" stroke-width="3.5" pathLength="100" stroke-dasharray="100 100" stroke-dashoffset="30"/></svg>
@@ -3624,7 +3624,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3624
3624
  @apply relative text-[11px] font-medium tabular-nums text-ink;
3625
3625
  }
3626
3626
 
3627
- /* ---- Skeleton (skeleton.templ) ----
3627
+ /* ---- Skeleton ----
3628
3628
  * <span class="asta-skeleton" aria-hidden="true" style="width:60%"></span> · asta-skeleton-circle (set width and height) · asta-skeleton-block
3629
3629
  * <span class="asta-skeleton-text"><span class="asta-skeleton"></span><span class="asta-skeleton"></span></span> (last line is 62%)
3630
3630
  * <div class="asta-skeleton-card" role="status" aria-label="Loading">…</div> with .asta-skeleton-row and .asta-skeleton-stack inside. */
@@ -3661,7 +3661,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3661
3661
  @apply flex flex-1 flex-col gap-2;
3662
3662
  }
3663
3663
 
3664
- /* ---- Spinner (spinner.templ) ----
3664
+ /* ---- Spinner ----
3665
3665
  * <span class="asta-spinner" role="status" aria-label="Loading"><svg viewBox="0 0 24 24" fill="none" aria-hidden="true">…</svg></span>
3666
3666
  * Variants with empty spans: asta-spinner-dots (3), asta-spinner-bars (4), asta-spinner-orbit (3). Size = font-size, colour = currentColor. */
3667
3667
  .asta-spinner {
@@ -3711,7 +3711,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3711
3711
  }
3712
3712
  }
3713
3713
 
3714
- /* ---- Stat card (stat_card.templ) ----
3714
+ /* ---- Stat card ----
3715
3715
  * <div class="asta-stat-card"><p class="asta-stat-card-label">Revenue</p>
3716
3716
  * <div class="asta-stat-card-row"><p class="asta-stat-card-value">$48.2k</p>
3717
3717
  * <svg class="asta-stat-card-spark" viewBox="0 0 96 32" width="96" height="32"><g><path d="…area" class="asta-stat-card-area"/><path d="…line" class="asta-stat-card-line"/></g><circle class="asta-stat-card-dot" cx="94" cy="3" r="2.25"/></svg></div>
@@ -3770,7 +3770,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3770
3770
  @apply hidden;
3771
3771
  }
3772
3772
 
3773
- /* ---- Tooltip (tooltip.templ) ----
3773
+ /* ---- Tooltip ----
3774
3774
  * <span class="asta-tooltip"><button aria-describedby="tip-copy">Copy</button>
3775
3775
  * <span class="asta-tooltip-bubble" id="tip-copy" role="tooltip">Copy link<kbd class="asta-tooltip-kbd">⌘C</kbd><span class="asta-tooltip-arrow" aria-hidden="true"></span></span></span>
3776
3776
  * Sides: (top) asta-tooltip-bottom, -left, -right. asta-tooltip-instant skips the 400ms hover delay.
@@ -3826,11 +3826,11 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3826
3826
 
3827
3827
  /* ---- css/src/forms.css ---- */
3828
3828
  /* Forms: combobox, date picker, colour picker, number, OTP, password, tags, range, rating, upload, inline edit,
3829
- * segmented control, toggle group, copy button. Class lists mirror go/ui/<name>.templ.
3829
+ * segmented control, toggle group, copy button. Class lists mirror the React kit.
3830
3830
  * asta.js finds these parts by their data-asta-* attributes, so keep those. Runtime classes named in
3831
- * go/ui/assets/src/forms.css (asta-combo-chip, asta-date-cal, asta-otp-shake, asta-pw-slash…) stay in the markup too. */
3831
+ * runtime/forms.css (asta-combo-chip, asta-date-cal, asta-otp-shake, asta-pw-slash…) stay in the markup too. */
3832
3832
 
3833
- /* ---- Combobox (combobox.templ) ----
3833
+ /* ---- Combobox ----
3834
3834
  * <div class="asta-combobox" data-asta-combo="single" data-name="framework">
3835
3835
  * <div class="asta-combobox-box" data-asta-combo-box><input class="asta-combobox-input" data-asta-combo-input role="combobox" …>
3836
3836
  * <button class="asta-combobox-toggle" data-asta-combo-toggle>…</button></div>
@@ -3906,7 +3906,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3906
3906
  }
3907
3907
  }
3908
3908
 
3909
- /* ---- Date picker (date_picker.templ) ----
3909
+ /* ---- Date picker ----
3910
3910
  * <div class="asta-date-picker" data-asta-date="single" data-placeholder="Pick a date">
3911
3911
  * <button class="asta-date-picker-trigger" data-asta-date-trigger aria-haspopup="dialog" aria-expanded="false" aria-controls="d-cal">
3912
3912
  * <svg class="asta-date-picker-icon">…</svg><span class="asta-date-picker-text asta-date-picker-placeholder" data-asta-date-text>Pick a date</span></button>
@@ -3942,7 +3942,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
3942
3942
  @apply shadow-[0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent),0_12px_32px_-8px_rgb(0_0_0/0.22),0_4px_8px_-4px_rgb(0_0_0/0.08)];
3943
3943
  }
3944
3944
 
3945
- /* ---- Colour picker (color_picker.templ) ----
3945
+ /* ---- Colour picker ----
3946
3946
  * <div class="asta-color-picker" data-asta-color data-columns="5">
3947
3947
  * <div class="asta-color-picker-swatches" role="radiogroup" style="grid-template-columns:repeat(5,28px);gap:10px">
3948
3948
  * <label class="asta-color-picker-swatch"><input type="radio" name="c" value="#2f54eb"><span class="asta-color-picker-ring"></span>
@@ -4002,7 +4002,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4002
4002
  @apply w-14 text-[12px] text-mute opacity-0 transition-opacity duration-200 data-[on]:opacity-100;
4003
4003
  }
4004
4004
 
4005
- /* ---- Number input (number_input.templ) ----
4005
+ /* ---- Number input ----
4006
4006
  * <div class="asta-number-input" data-asta-number data-min="1" data-max="20" data-step="1">
4007
4007
  * <button class="asta-number-input-step" data-asta-number-step="-1" aria-label="Decrease">…</button>
4008
4008
  * <div class="asta-number-input-view" role="spinbutton" tabindex="0" data-asta-number-view aria-valuenow="4">
@@ -4054,7 +4054,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4054
4054
  }
4055
4055
  }
4056
4056
 
4057
- /* ---- OTP input (otp_input.templ) ----
4057
+ /* ---- OTP input ----
4058
4058
  * <div class="asta-otp-input" data-asta-otp>
4059
4059
  * <div class="asta-otp-input-boxes" aria-hidden="true" data-asta-otp-boxes>
4060
4060
  * <span class="asta-otp-input-wave" data-asta-otp-wave style="--asta-otp-i:0ms"><span class="asta-otp-input-box" data-asta-otp-box></span></span>…
@@ -4089,7 +4089,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4089
4089
  @apply absolute inset-0 h-full w-full cursor-text bg-transparent text-[16px] text-transparent caret-transparent opacity-0 outline-none disabled:cursor-not-allowed;
4090
4090
  }
4091
4091
 
4092
- /* ---- Segmented control (segmented_control.templ) ----
4092
+ /* ---- Segmented control ----
4093
4093
  * <div class="asta-segmented" role="radiogroup" data-asta-segmented aria-label="View">
4094
4094
  * <label class="asta-segmented-item"><input type="radio" name="view" value="list" checked>
4095
4095
  * <span class="asta-segmented-pill" data-asta-ind></span><span class="asta-segmented-label">List</span></label>…
@@ -4125,7 +4125,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4125
4125
  }
4126
4126
  }
4127
4127
 
4128
- /* ---- Toggle group (toggle_group.templ) ----
4128
+ /* ---- Toggle group ----
4129
4129
  * <div class="asta-toggle-group" role="radiogroup" data-asta-toggle="single" aria-label="Align">
4130
4130
  * <label class="asta-toggle-group-item"><input type="radio" name="align" value="left" checked aria-label="Left">
4131
4131
  * <span class="asta-toggle-group-ind" data-asta-ind></span><span class="asta-toggle-group-icon">svg</span></label>…
@@ -4187,7 +4187,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4187
4187
  }
4188
4188
  }
4189
4189
 
4190
- /* ---- Copy button (copy_button.templ) ----
4190
+ /* ---- Copy button ----
4191
4191
  * <button class="asta-copy-button asta-copy-button-text" data-asta-copy="npm i asta-ui" data-timeout="1600" data-state="idle" data-copied="Copied">
4192
4192
  * <span class="asta-copy-button-icons" aria-hidden="true"><svg class="asta-copy-button-copy">…</svg>
4193
4193
  * <svg class="asta-copy-button-done"><path class="asta-copy-tick" pathLength="1" d="m3.5 8.5 3 3 6-7"/></svg></span>
@@ -4271,7 +4271,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4271
4271
  }
4272
4272
  }
4273
4273
 
4274
- /* ---- Password input (password_input.templ) ----
4274
+ /* ---- Password input ----
4275
4275
  * <div class="asta-password" data-asta-password data-strength="0">
4276
4276
  * <label class="asta-password-label" for="pw">Password</label>
4277
4277
  * <div class="asta-password-box"><input class="asta-password-input" id="pw" type="password" data-asta-password-input aria-describedby="pw-help">
@@ -4352,7 +4352,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4352
4352
  }
4353
4353
  }
4354
4354
 
4355
- /* ---- Tag input (tag_input.templ) ----
4355
+ /* ---- Tag input ----
4356
4356
  * <div class="asta-tag-input" data-asta-tags data-name="tags" data-max="8" data-placeholder="Add a tag">
4357
4357
  * <div class="asta-tag-input-head"><label class="asta-tag-input-label" for="tags">Tags</label><span class="asta-tag-input-count" data-asta-tags-count aria-live="polite">2/8</span></div>
4358
4358
  * <div class="asta-tag-input-box" data-asta-tags-box><ul class="asta-tag-input-list" data-asta-tags-list>
@@ -4404,7 +4404,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4404
4404
  }
4405
4405
  }
4406
4406
 
4407
- /* ---- Range slider (range_slider.templ) ----
4407
+ /* ---- Range slider ----
4408
4408
  * <div class="asta-range-slider" data-asta-range data-gap="10" data-prefix="$">
4409
4409
  * <div class="asta-range-slider-body"><div class="asta-range-slider-track" data-asta-range-track>
4410
4410
  * <span class="asta-range-slider-rail"></span>
@@ -4461,7 +4461,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4461
4461
  @apply z-10;
4462
4462
  }
4463
4463
 
4464
- /* ---- Rating (rating.templ) ----
4464
+ /* ---- Rating ----
4465
4465
  * <div class="asta-rating" role="radiogroup" aria-label="Rating" data-asta-rating data-value="3" data-clear>
4466
4466
  * <input type="radio" name="stars" value="0" aria-label="No rating">
4467
4467
  * <span class="asta-rating-star" data-asta-star data-fill="full" style="width:24px;height:24px">
@@ -4515,7 +4515,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4515
4515
  @apply absolute inset-y-0 right-0 w-1/2 cursor-pointer;
4516
4516
  }
4517
4517
 
4518
- /* ---- File upload (file_upload.templ) ----
4518
+ /* ---- File upload ----
4519
4519
  * <div class="asta-file-upload" data-asta-upload data-accept="image/*,.pdf" data-max-size="5242880" data-max-files="4">
4520
4520
  * <label class="asta-file-upload-zone" data-asta-upload-zone><span class="asta-file-upload-icon">svg</span>
4521
4521
  * <span class="asta-file-upload-text"><span class="asta-file-upload-title"><span class="asta-file-upload-idle">Drop files here or <span class="asta-file-upload-browse">browse</span></span>
@@ -4626,7 +4626,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4626
4626
  }
4627
4627
  }
4628
4628
 
4629
- /* ---- Inline edit (inline_edit.templ) ----
4629
+ /* ---- Inline edit ----
4630
4630
  * <span class="asta-inline-edit" data-asta-inline>
4631
4631
  * <button class="asta-inline-edit-view" data-asta-inline-view aria-label="Name: Astabyte. Edit"><span class="asta-inline-edit-text" data-asta-inline-text>Astabyte</span>
4632
4632
  * <svg class="asta-inline-edit-pencil">…</svg></button>
@@ -4690,11 +4690,11 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4690
4690
  /* ---- css/src/overlays.css ---- */
4691
4691
  /* Overlays: drawer, popover, hover card, dropdown and context menus, command palette, navbar, sidebar,
4692
4692
  * workspace switcher, footer, announcement bar, stepper and tool dock.
4693
- * Class lists mirror go/ui/<name>.templ. asta.js drives them through data-* and aria-* attributes, and the
4693
+ * Class lists mirror the React kit. asta.js drives them through data-* and aria-* attributes, and the
4694
4694
  * runtime classes (asta-dialog, asta-drawer, asta-cmd, asta-float, asta-lift, asta-nav-sec) carry the motion,
4695
4695
  * so keep those in the markup. */
4696
4696
 
4697
- /* ---- Drawer (drawer.templ) ----
4697
+ /* ---- Drawer ----
4698
4698
  * <dialog id="filters" class="asta-dialog asta-drawer" data-side="right"> <div class="asta-drawer-inner">…</div>
4699
4699
  * <button class="asta-drawer-close" data-asta-close aria-label="Close">…</button></dialog>
4700
4700
  * Open it with <button data-asta-open="filters">. data-side: right (default) left bottom. */
@@ -4752,7 +4752,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4752
4752
  }
4753
4753
  }
4754
4754
 
4755
- /* ---- Popover (popover.templ) ----
4755
+ /* ---- Popover ----
4756
4756
  * <button popovertarget="share" aria-haspopup="dialog">Share</button>
4757
4757
  * <div id="share" popover="auto" role="dialog" data-asta-popover data-side="bottom" data-align="center"
4758
4758
  * class="asta-float asta-popover"><svg class="asta-popover-arrow" data-asta-arrow>…</svg>…</div> */
@@ -4770,7 +4770,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4770
4770
  }
4771
4771
  }
4772
4772
 
4773
- /* ---- Hover card (hover_card.templ) ----
4773
+ /* ---- Hover card ----
4774
4774
  * <a href="/sam" data-asta-hovercard-for="sam">Sam</a>
4775
4775
  * <div id="sam" popover="manual" role="dialog" aria-modal="false" data-asta-hovercard data-side="bottom"
4776
4776
  * data-align="center" class="asta-float asta-lift asta-hover-card">…</div> */
@@ -4780,7 +4780,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4780
4780
  @apply before:absolute before:inset-x-0 before:h-[var(--asta-gap,10px)] before:content-[''] data-[placed=bottom]:before:bottom-full data-[placed=top]:before:top-full;
4781
4781
  }
4782
4782
 
4783
- /* ---- Top-layer menu panel (dropdown_menu.templ floatPanel) ----
4783
+ /* ---- Top-layer menu panel ----
4784
4784
  * Shared by dropdowns, submenus, context menus and the workspace switchers. Items are core's .asta-menu-item.
4785
4785
  * <div role="menu" popover="manual" tabindex="-1" data-asta-mpanel class="asta-float asta-dropdown-panel">…</div> */
4786
4786
  .asta-dropdown-panel {
@@ -4788,7 +4788,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4788
4788
  @apply shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--ink)_10%,transparent),0_12px_32px_-12px_rgb(0_0_0/0.28),0_4px_10px_-6px_rgb(0_0_0/0.12)];
4789
4789
  }
4790
4790
 
4791
- /* ---- Dropdown menu (dropdown_menu.templ) ----
4791
+ /* ---- Dropdown menu ----
4792
4792
  * <div class="asta-dropdown" data-asta-dropdown>
4793
4793
  * <button class="asta-btn asta-btn-outline asta-dropdown-trigger" data-asta-dropdown-trigger aria-haspopup="menu"
4794
4794
  * aria-expanded="false" aria-controls="view">View <svg class="asta-dropdown-chevron">…</svg></button>
@@ -4862,7 +4862,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4862
4862
  }
4863
4863
  }
4864
4864
  }
4865
- /* ---- Context menu (context_menu.templ) ----
4865
+ /* ---- Context menu ----
4866
4866
  * <div class="asta-context-menu" data-asta-context-menu tabindex="0">Right-click here
4867
4867
  * <div role="menu" popover="manual" tabindex="-1" data-asta-mpanel aria-orientation="vertical"
4868
4868
  * class="asta-float asta-dropdown-panel asta-context-menu-panel">…</div></div> */
@@ -4874,7 +4874,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4874
4874
  @apply [&_[role^=menuitem]]:h-8 [&_[role^=menuitem]]:rounded-lg [&_[role^=menuitem]]:text-[13px];
4875
4875
  }
4876
4876
 
4877
- /* ---- Command palette (command_palette.templ) ----
4877
+ /* ---- Command palette ----
4878
4878
  * <dialog id="cmd" class="asta-dialog asta-cmd" data-asta-command data-hotkey="k" aria-label="Command palette">
4879
4879
  * <div class="asta-cmd-inner"><div class="asta-cmd-search">… <input data-asta-command-input class="asta-cmd-input"></div>
4880
4880
  * <div class="asta-cmd-scroll" data-asta-command-scroll><div role="listbox" data-asta-command-list>
@@ -4956,7 +4956,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
4956
4956
  }
4957
4957
  }
4958
4958
 
4959
- /* ---- Navbar (navbar.templ) ----
4959
+ /* ---- Navbar ----
4960
4960
  * <header class="asta-navbar" data-asta-navbar><div class="asta-navbar-bar">brand · nav · actions · surface</div>
4961
4961
  * <div id="nav-sheet" data-asta-nav-sheet hidden class="asta-navbar-sheet">…</div></header>
4962
4962
  * asta.js sets data-open (a mega panel is open), data-scrolled and data-sheet (phone menu) on the header. */
@@ -5223,7 +5223,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
5223
5223
  @apply mt-4 flex flex-col gap-2 px-1 [&>*]:w-full;
5224
5224
  }
5225
5225
 
5226
- /* ---- Sidebar (sidebar.templ) ----
5226
+ /* ---- Sidebar ----
5227
5227
  * <aside class="asta-sidebar" data-asta-sidebar data-auto-rail aria-label="Sidebar">
5228
5228
  * <nav class="asta-sidebar-nav" data-asta-sidebar-nav>…<button class="asta-sidebar-link" data-asta-sidebar-item="inbox"
5229
5229
  * aria-current="page"><span class="asta-sidebar-icon">…</span><span class="asta-sidebar-label">Inbox</span>
@@ -5393,7 +5393,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
5393
5393
  }
5394
5394
  }
5395
5395
 
5396
- /* ---- Workspace switcher (workspace_switcher.templ) ----
5396
+ /* ---- Workspace switcher ----
5397
5397
  * <div class="asta-ws" data-asta-dropdown data-asta-ws data-match><button class="asta-ws-trigger"
5398
5398
  * data-asta-dropdown-trigger aria-haspopup="menu" aria-expanded="false">…</button>
5399
5399
  * <div role="menu" popover="manual" data-asta-mpanel class="asta-float asta-dropdown-panel asta-ws-panel">
@@ -5477,7 +5477,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
5477
5477
  @apply mt-1 pt-1;
5478
5478
  }
5479
5479
 
5480
- /* ---- Footer (footer.templ) ----
5480
+ /* ---- Footer ----
5481
5481
  * <footer class="asta-footer"><div class="asta-footer-grid"><div class="asta-footer-intro">…newsletter…</div>
5482
5482
  * <nav class="asta-footer-nav" aria-label="Footer"><div><p class="asta-footer-heading">Product</p><ul class="asta-footer-links">
5483
5483
  * <li><a class="asta-footer-link" href="/docs">Docs <span aria-hidden="true">↗</span></a></li></ul></div></nav></div>
@@ -5581,7 +5581,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
5581
5581
  }
5582
5582
  }
5583
5583
 
5584
- /* ---- Announcement bar (announcement_bar.templ) ----
5584
+ /* ---- Announcement bar ----
5585
5585
  * <div class="asta-announcement" role="region" aria-label="Announcement" data-asta-announce data-interval="5000">
5586
5586
  * <span class="asta-announcement-spacer" aria-hidden="true"></span><div class="asta-announcement-track"
5587
5587
  * data-asta-announce-track><div class="asta-announcement-slide" data-asta-announce-msg data-state="cur">
@@ -5649,7 +5649,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
5649
5649
  }
5650
5650
  }
5651
5651
 
5652
- /* ---- Stepper (stepper.templ) ----
5652
+ /* ---- Stepper ----
5653
5653
  * <div class="asta-stepper" data-asta-stepper data-step="0" data-count="3" data-first>
5654
5654
  * <ol class="asta-stepper-steps" aria-label="Progress"><li class="asta-stepper-step" data-asta-step="0"
5655
5655
  * data-state="current" aria-current="step"><button class="asta-stepper-goto" data-asta-step-goto="0" disabled>
@@ -5763,7 +5763,7 @@ details[open] > .asta-nav-sec { animation: asta-nav-rise 0.3s cubic-bezier(0.16,
5763
5763
  }
5764
5764
  }
5765
5765
 
5766
- /* ---- Tool dock (tool_dock.templ) ----
5766
+ /* ---- Tool dock ----
5767
5767
  * <div class="asta-tool-dock" role="toolbar" aria-label="Tools" data-asta-tooldock data-hotkeys>
5768
5768
  * <span class="asta-tool-dock-pill" data-asta-tooldock-pill aria-hidden="true"></span>
5769
5769
  * <span class="asta-tool-dock-tool"><button class="asta-tool-dock-btn" data-tool="move" aria-label="Move"