@hanzo/ui 8.22.0 → 8.22.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.22.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.22.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
  *
@@ -2270,12 +2270,22 @@ body {
2270
2270
  a 52px display line and a 17px sub-head: 8px under the display line read as
2271
2271
  the byline touching it. `em` here is the heading's own size, so the ratio
2272
2272
  holds at every rung. A caller setting its own margin still wins. */
2273
- .hz-prose > h1 { margin-block-end: .34em }
2274
- .hz-prose > h2 { margin-block-end: .38em }
2275
- .hz-prose > h3 { margin-block-end: .42em }
2273
+ .hz-prose > h1 { margin-block-end: .5em }
2274
+ .hz-prose > h2 { margin-block-end: .55em }
2275
+ .hz-prose > h3 { margin-block-end: .6em }
2276
2276
  .hz-prose > h4,
2277
2277
  .hz-prose > h5,
2278
- .hz-prose > h6 { margin-block-end: .5em }
2278
+ .hz-prose > h6 { margin-block-end: .75em }
2279
+
2280
+ /* Space ABOVE a heading is larger than the space below it — that asymmetry is
2281
+ what groups a heading with the text it introduces rather than the text it
2282
+ follows. Not applied to the first child, which has nothing to separate from. */
2283
+ .hz-prose > h1:not(:first-child) { margin-block-start: 1.1em }
2284
+ .hz-prose > h2:not(:first-child) { margin-block-start: 1.2em }
2285
+ .hz-prose > h3:not(:first-child),
2286
+ .hz-prose > h4:not(:first-child),
2287
+ .hz-prose > h5:not(:first-child),
2288
+ .hz-prose > h6:not(:first-child) { margin-block-start: 1.4em }
2279
2289
 
2280
2290
  /* @hanzo/ui motion primitives — the calm, restrained animation vocabulary the
2281
2291
  Hanzo surfaces share. One place defines the easing; components apply the class.
package/dist/styles.css CHANGED
@@ -2270,12 +2270,22 @@ body {
2270
2270
  a 52px display line and a 17px sub-head: 8px under the display line read as
2271
2271
  the byline touching it. `em` here is the heading's own size, so the ratio
2272
2272
  holds at every rung. A caller setting its own margin still wins. */
2273
- .hz-prose > h1 { margin-block-end: .34em }
2274
- .hz-prose > h2 { margin-block-end: .38em }
2275
- .hz-prose > h3 { margin-block-end: .42em }
2273
+ .hz-prose > h1 { margin-block-end: .5em }
2274
+ .hz-prose > h2 { margin-block-end: .55em }
2275
+ .hz-prose > h3 { margin-block-end: .6em }
2276
2276
  .hz-prose > h4,
2277
2277
  .hz-prose > h5,
2278
- .hz-prose > h6 { margin-block-end: .5em }
2278
+ .hz-prose > h6 { margin-block-end: .75em }
2279
+
2280
+ /* Space ABOVE a heading is larger than the space below it — that asymmetry is
2281
+ what groups a heading with the text it introduces rather than the text it
2282
+ follows. Not applied to the first child, which has nothing to separate from. */
2283
+ .hz-prose > h1:not(:first-child) { margin-block-start: 1.1em }
2284
+ .hz-prose > h2:not(:first-child) { margin-block-start: 1.2em }
2285
+ .hz-prose > h3:not(:first-child),
2286
+ .hz-prose > h4:not(:first-child),
2287
+ .hz-prose > h5:not(:first-child),
2288
+ .hz-prose > h6:not(:first-child) { margin-block-start: 1.4em }
2279
2289
 
2280
2290
  /* @hanzo/ui motion primitives — the calm, restrained animation vocabulary the
2281
2291
  Hanzo surfaces share. One place defines the easing; components apply the class.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/ui",
3
- "version": "8.22.0",
3
+ "version": "8.22.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": {