@hanzo/ui 8.22.1 → 8.23.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/dist/styles.css CHANGED
@@ -2287,6 +2287,20 @@ body {
2287
2287
  .hz-prose > h5:not(:first-child),
2288
2288
  .hz-prose > h6:not(:first-child) { margin-block-start: 1.4em }
2289
2289
 
2290
+ /* ── The line-height a converted box inherits ─────────────────────────────
2291
+ gui's Stack stamps its own leading, which is right for a native view and
2292
+ wrong for a div: a div takes its line-height from the cascade, and a box
2293
+ converted from one used to grow a few pixels per line of text.
2294
+
2295
+ Stated HERE rather than as an inline style on the element. Inline beats every
2296
+ selector, so the previous form silently defeated the app's own vocabulary — a
2297
+ `.display` class asking for 1.15 lost to it and its headings overlapped. As a
2298
+ rule it is a default: gui's own leading classes come later and win, and an
2299
+ app's sheet comes later still and wins over both, which is the right order. */
2300
+ :root .is_View {
2301
+ line-height: inherit;
2302
+ }
2303
+
2290
2304
  /* @hanzo/ui motion primitives — the calm, restrained animation vocabulary the
2291
2305
  Hanzo surfaces share. One place defines the easing; components apply the class.
2292
2306
  `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.22.1",
3
+ "version": "8.23.0",
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": {