@hanzo/ui 8.23.5 → 8.23.6

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/dist/gallery.html CHANGED
@@ -1,4 +1,4 @@
1
- <!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.23.5</title><style>/* @hanzo/ui — generated by scripts/gen-css.mjs. Do not edit. */
1
+ <!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.23.6</title><style>/* @hanzo/ui — generated by scripts/gen-css.mjs. Do not edit. */
2
2
  :root { --hanzo-ui-styles: 1; }
3
3
  /* Hanzo Design System — the entry point. Import THIS one file.
4
4
  *
@@ -2815,6 +2815,33 @@ a svg,
2815
2815
  with its content does not need one. */
2816
2816
  :where([data-slot='textarea'], [data-slot='composer-field']) { resize: none; }
2817
2817
 
2818
+ /* A top-level nav item.
2819
+ *
2820
+ * `navigationMenuTriggerStyle()` returned this name and nothing declared it, so
2821
+ * every trigger in the estate rendered as bare text: the lux.network nav read as
2822
+ * one run-together string — "AI Cards Ecosystem Network Resources" — because the
2823
+ * only thing separating the items was the list's 4px gap.
2824
+ *
2825
+ * A class name is a string and a string always compiles, which is why this
2826
+ * shipped. `prose.test.ts` now diffs the names the components use against the
2827
+ * names the sheets declare, so a rule cannot go missing again.
2828
+ *
2829
+ * Padding rather than a wider gap: the padding is also the hit area, and a nav
2830
+ * item wants a target bigger than its glyphs. */
2831
+ .hz-nav-menu-trigger {
2832
+ padding-inline: 0.75rem;
2833
+ padding-block: 0.5rem;
2834
+ border-radius: var(--radius, 0.5rem);
2835
+ color: var(--muted-foreground);
2836
+ transition: color 150ms, background-color 150ms;
2837
+ }
2838
+
2839
+ .hz-nav-menu-trigger:hover,
2840
+ .hz-nav-menu-trigger[data-state='open'] {
2841
+ color: var(--foreground);
2842
+ background: var(--muted);
2843
+ }
2844
+
2818
2845
  ._ovs-contain {overscroll-behavior:contain;}
2819
2846
  .t_unmounted .is_View, .t_unmounted .is_Text { transition: none !important; }
2820
2847
  .is_View { display: flex; align-items: stretch; flex-direction: column; flex-basis: auto; box-sizing: border-box; min-height: 0; min-width: 0; flex-shrink: 0; }
@@ -456,3 +456,30 @@
456
456
  a diagonal hatch drawn by the UA that matches nothing. A composer that grows
457
457
  with its content does not need one. */
458
458
  :where([data-slot='textarea'], [data-slot='composer-field']) { resize: none; }
459
+
460
+ /* A top-level nav item.
461
+ *
462
+ * `navigationMenuTriggerStyle()` returned this name and nothing declared it, so
463
+ * every trigger in the estate rendered as bare text: the lux.network nav read as
464
+ * one run-together string — "AI Cards Ecosystem Network Resources" — because the
465
+ * only thing separating the items was the list's 4px gap.
466
+ *
467
+ * A class name is a string and a string always compiles, which is why this
468
+ * shipped. `prose.test.ts` now diffs the names the components use against the
469
+ * names the sheets declare, so a rule cannot go missing again.
470
+ *
471
+ * Padding rather than a wider gap: the padding is also the hit area, and a nav
472
+ * item wants a target bigger than its glyphs. */
473
+ .hz-nav-menu-trigger {
474
+ padding-inline: 0.75rem;
475
+ padding-block: 0.5rem;
476
+ border-radius: var(--radius, 0.5rem);
477
+ color: var(--muted-foreground);
478
+ transition: color 150ms, background-color 150ms;
479
+ }
480
+
481
+ .hz-nav-menu-trigger:hover,
482
+ .hz-nav-menu-trigger[data-state='open'] {
483
+ color: var(--foreground);
484
+ background: var(--muted);
485
+ }
package/dist/styles.css CHANGED
@@ -2815,6 +2815,33 @@ a svg,
2815
2815
  with its content does not need one. */
2816
2816
  :where([data-slot='textarea'], [data-slot='composer-field']) { resize: none; }
2817
2817
 
2818
+ /* A top-level nav item.
2819
+ *
2820
+ * `navigationMenuTriggerStyle()` returned this name and nothing declared it, so
2821
+ * every trigger in the estate rendered as bare text: the lux.network nav read as
2822
+ * one run-together string — "AI Cards Ecosystem Network Resources" — because the
2823
+ * only thing separating the items was the list's 4px gap.
2824
+ *
2825
+ * A class name is a string and a string always compiles, which is why this
2826
+ * shipped. `prose.test.ts` now diffs the names the components use against the
2827
+ * names the sheets declare, so a rule cannot go missing again.
2828
+ *
2829
+ * Padding rather than a wider gap: the padding is also the hit area, and a nav
2830
+ * item wants a target bigger than its glyphs. */
2831
+ .hz-nav-menu-trigger {
2832
+ padding-inline: 0.75rem;
2833
+ padding-block: 0.5rem;
2834
+ border-radius: var(--radius, 0.5rem);
2835
+ color: var(--muted-foreground);
2836
+ transition: color 150ms, background-color 150ms;
2837
+ }
2838
+
2839
+ .hz-nav-menu-trigger:hover,
2840
+ .hz-nav-menu-trigger[data-state='open'] {
2841
+ color: var(--foreground);
2842
+ background: var(--muted);
2843
+ }
2844
+
2818
2845
  ._ovs-contain {overscroll-behavior:contain;}
2819
2846
  .t_unmounted .is_View, .t_unmounted .is_Text { transition: none !important; }
2820
2847
  .is_View { display: flex; align-items: stretch; flex-direction: column; flex-basis: auto; box-sizing: border-box; min-height: 0; min-width: 0; flex-shrink: 0; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "8.23.5",
3
+ "version": "8.23.6",
4
4
  "type": "module",
5
5
  "description": "Hanzo UI — the one canonical Hanzo component library, on @hanzo/gui + @hanzo/design. ONE substrate: every component renders through @hanzo/gui primitives, so the same import works on web, native (expo) and desktop (Tauri). Self-contained (theme.css), presentational, host-agnostic, clean-room.",
6
6
  "exports": {