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.
package/css/asta.js CHANGED
@@ -1,6 +1,6 @@
1
- /* Astabyte UI runtime. Generated by scripts/gen-css.ts from go/ui/assets/asta.js. Do not edit. */
2
- /* ---- src/core.js ---- */
3
- /* Astabyte UI for Go + htmx. One small script, no dependencies.
1
+ /* Astabyte UI runtime. Generated by scripts/gen-css.ts from packages/asta-ui/css/runtime. Do not edit. */
2
+ /* ---- runtime/core.js ---- */
3
+ /* Astabyte UI runtime for the HTML + CSS layer. One small script, no dependencies.
4
4
  * Everything is wired with event delegation on document, so markup swapped in by htmx works without re-init.
5
5
  * Dialog <dialog class="asta-dialog">, opened by [data-asta-open="id"], closed by [data-asta-close]
6
6
  * Toast asta.toast({ title, description, tone, duration, action: { label, href | event, detail } }),
@@ -439,10 +439,10 @@
439
439
  else boot();
440
440
  document.addEventListener("htmx:afterSettle", (e) => scan(e.detail?.elt?.parentElement || document));
441
441
 
442
- window.asta = { toast, open: (id) => open(byId(id)), close: (id) => close(byId(id)), version: "0.8.0" };
442
+ window.asta = { toast, open: (id) => open(byId(id)), close: (id) => close(byId(id)), version: "0.9.0" };
443
443
  })();
444
444
 
445
- /* ---- src/blocks.js ---- */
445
+ /* ---- runtime/blocks.js ---- */
446
446
  /* Blocks: sign-in, onboarding, AI chat, checkout, properties and settings panels, team members.
447
447
  * Event delegation on document, so blocks swapped in by htmx work without re-init.
448
448
  * Sign-in [data-asta-reveal] shows and hides the password next to it
@@ -955,8 +955,8 @@
955
955
  document.addEventListener("htmx:afterSettle", (e) => scan(e.detail?.elt?.parentElement || document));
956
956
  })();
957
957
 
958
- /* ---- src/data.js ---- */
959
- /* Data components for Astabyte UI for Go. Event delegation on document, so htmx swaps need no re-init.
958
+ /* ---- runtime/data.js ---- */
959
+ /* Data components for Astabyte UI. Event delegation on document, so htmx swaps need no re-init.
960
960
  * DataTable [data-asta-dt] with [data-asta-dt-all], [data-asta-dt-row], [data-asta-dt-clear]
961
961
  * TreeView [data-asta-tree] with [role=treeitem] and [data-asta-tree-row]; fires asta:select, asta:expand
962
962
  * Timeline [data-asta-timeline][data-inview]
@@ -1974,7 +1974,7 @@
1974
1974
  else scan(document);
1975
1975
  })();
1976
1976
 
1977
- /* ---- src/forms.js ---- */
1977
+ /* ---- runtime/forms.js ---- */
1978
1978
  /* Forms group: the behaviour behind the form controls. Event delegation on document, so markup swapped in by
1979
1979
  * htmx works without re-init. Every control keeps a real form field (native input or hidden input) up to date.
1980
1980
  * CopyButton [data-asta-copy]
@@ -3435,7 +3435,7 @@
3435
3435
  document.addEventListener("htmx:afterSettle", (e) => scan(e.detail?.elt?.parentElement || document));
3436
3436
  })();
3437
3437
 
3438
- /* ---- src/overlays.js ---- */
3438
+ /* ---- runtime/overlays.js ---- */
3439
3439
  /* Overlays: popover, hover card, dropdown and context menus, drawer drag, command palette, navbar, sidebar,
3440
3440
  * workspace switcher, footer newsletter and wordmark, announcement bar, stepper, tool dock.
3441
3441
  * Event delegation on document, so markup swapped in by htmx works. Dialog open/close comes from core (window.asta).