@hanzo/ui 8.23.0 → 8.23.1

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.0</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.1</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
  *
@@ -2301,6 +2301,22 @@ body {
2301
2301
  line-height: inherit;
2302
2302
  }
2303
2303
 
2304
+ /* ── An icon inside a control ─────────────────────────────────────────────
2305
+ Decoration, and it must not intercept the click that was aimed at the
2306
+ control. gui wraps a child in a `display: contents` span, which leaves the
2307
+ SVG itself as the topmost thing under the pointer — so a click on a button's
2308
+ icon landed on the `<line>` and never reached the button. Measured on a phone
2309
+ menu whose close button could not be clicked at all.
2310
+
2311
+ Not `pointer-events: none` on every svg: a chart or a map is a control in its
2312
+ own right. Only where one already sits inside something clickable. */
2313
+ button svg,
2314
+ a svg,
2315
+ [role='button'] svg,
2316
+ [data-slot='button'] svg {
2317
+ pointer-events: none;
2318
+ }
2319
+
2304
2320
  /* @hanzo/ui motion primitives — the calm, restrained animation vocabulary the
2305
2321
  Hanzo surfaces share. One place defines the easing; components apply the class.
2306
2322
  `className` forwards to the underlying DOM node on web, so the browser
package/dist/styles.css CHANGED
@@ -2301,6 +2301,22 @@ body {
2301
2301
  line-height: inherit;
2302
2302
  }
2303
2303
 
2304
+ /* ── An icon inside a control ─────────────────────────────────────────────
2305
+ Decoration, and it must not intercept the click that was aimed at the
2306
+ control. gui wraps a child in a `display: contents` span, which leaves the
2307
+ SVG itself as the topmost thing under the pointer — so a click on a button's
2308
+ icon landed on the `<line>` and never reached the button. Measured on a phone
2309
+ menu whose close button could not be clicked at all.
2310
+
2311
+ Not `pointer-events: none` on every svg: a chart or a map is a control in its
2312
+ own right. Only where one already sits inside something clickable. */
2313
+ button svg,
2314
+ a svg,
2315
+ [role='button'] svg,
2316
+ [data-slot='button'] svg {
2317
+ pointer-events: none;
2318
+ }
2319
+
2304
2320
  /* @hanzo/ui motion primitives — the calm, restrained animation vocabulary the
2305
2321
  Hanzo surfaces share. One place defines the easing; components apply the class.
2306
2322
  `className` forwards to the underlying DOM node on web, so the browser
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "8.23.0",
3
+ "version": "8.23.1",
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": {