@zonsh/ui 0.7.0 → 0.7.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/CHANGELOG.md +22 -3
- package/README.md +1 -2
- package/dist/skills/zon-ui/SKILL.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
# @zonsh/ui
|
|
2
2
|
|
|
3
|
+
## 0.7.1
|
|
4
|
+
|
|
5
|
+
Released 19 November 2026.
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- cabdd9e: Docs: the README and the skill no longer mention `zonFonts()` or the `/licht/fonts` rewrite. Both went in 0.6.0, and the fonts come with the stylesheet from `licht`.
|
|
10
|
+
|
|
3
11
|
## 0.7.0
|
|
4
12
|
|
|
13
|
+
Released 18 November 2026.
|
|
14
|
+
|
|
5
15
|
### Minor Changes
|
|
6
16
|
|
|
7
17
|
- a74f94f: Toast: a status toast (`success`, `warning`, `info`, `error`) now carries its colour as light — a 1px edge tinted toward it and a soft glow that fills the start side, top to bottom, and fades out before the text. Every toast now sits on its own ground, a step above the page (near black in dark), with the menu's drop shadow and no inset highlight, in place of `material-menu`. Default and loading toasts get the same light in the foreground ink, at half the strength. New token `--status-glow` sets the glow's strength (11% light, 18% dark).
|
|
8
18
|
|
|
9
19
|
## 0.6.1
|
|
10
20
|
|
|
11
|
-
|
|
21
|
+
Released 18 November 2026.
|
|
22
|
+
|
|
23
|
+
Nothing in `@zonsh/ui` changed. This version came out with `create-zon` 0.6.1, which shares its version number: the theme script it writes into a new app is regenerated from `@zonsh/ui`'s current source.
|
|
12
24
|
|
|
13
25
|
## 0.6.0
|
|
14
26
|
|
|
27
|
+
Released 18 November 2026.
|
|
28
|
+
|
|
15
29
|
### Minor Changes
|
|
16
30
|
|
|
17
31
|
- 856349e: `AudioPlayer` splits its surface from its arrangement: `variant` is the surface, `card`, `region` (new, square) or `plain`, and the new `layout` is the arrangement, `default`, `row` or `note`. A row and a note have no surface unless you give one. The root also writes `data-layout`.
|
|
@@ -71,7 +85,7 @@ No changes in this release.
|
|
|
71
85
|
|
|
72
86
|
The marketing guide (`marketing.md`, in the skill, at `/ui/marketing.md` and in llms.txt) is rewritten for landing pages, marketing sites, waitlists, shops and product pages: compose for the product rather than copy zon.sh's outline; five hero variants (split with a figure, product first, centred statement, editorial, with the form) and where the page's one primary goes; a library of section patterns chosen by content, trust without social proof, alternatives to the FAQ accordion and call-to-action bands; and four footer patterns — night CTA, link columns, compact and big wordmark — with code. In the night footer the legal row now sits under the horizon, at the very bottom of the page, instead of above its rim. The skill's index sends agents building those pages to the guide first, and the `Section` docs say the "01 / …" numbering is optional.
|
|
73
87
|
|
|
74
|
-
- 46f4ba5: Fonts ship with the CSS via
|
|
88
|
+
- 46f4ba5: Fonts ship with the CSS via `licht`; `zonFonts()` is gone. `@zonsh/ui` now depends on `licht`, and `@import "@zonsh/ui/styles.css"` (or `styles/core.css`) brings the Licht, Licht Sans and Licht Mono `@font-face` rules with it: the app's bundler (Vite, or Next.js with Turbopack or webpack) copies the WOFF2 files into the build and serves them from the app's own origin. No plugin, proxy or rewrite, and the faces are pinned by the lockfile instead of following zon.sh. The family names are the same, and the size-matched fallbacks stay (Licht Sans's re-measured against its new cuts).
|
|
75
89
|
|
|
76
90
|
Every cut is real now: Licht Sans from 100 to 900 and Licht Mono from 100 to 800, each upright and italic, so Tailwind's `font-thin` … `font-black` and `italic` pick a true face for them; the browser fetches only the cuts a page uses. Licht itself also comes in 100–900, but headlines stay Light by rule: the `h1`–`h4` base rule, the `display` utility, `font-heading` (which now sets `font-weight: 300` too), Prose, Response and the editor's headings set 300 with `font-synthesis: none`, and `<b>`/`<strong>` inside them keep the heading's weight, so nothing renders heavier than before. Don't put a weight utility on Licht text: it would now pick a real heavier cut.
|
|
77
91
|
|
|
@@ -354,7 +368,6 @@ No changes in this release.
|
|
|
354
368
|
|
|
355
369
|
- bfe8241: Labels keep their descenders: a button label that slides in or out clips across only, and the truncated mono line under a Graph node and the file name in the Lightbox take a normal line height, so a "g" or a "y" is no longer cut at the bottom.
|
|
356
370
|
- 6325477: Text no longer jumps when the Licht faces arrive. Each family now falls back first to a system face sized to it — "Licht Fallback" (Times New Roman), "Licht Sans Fallback" (Arial) and "Licht Mono Fallback" (Courier New), or their Liberation twins on Linux — with `size-adjust`, `ascent-override`, `descent-override` and `line-gap-override` matched to Licht's width and vertical metrics, so lines keep their length and height through the swap. `--font-heading`, `--font-body` and `--font-mono` name them after the Licht face; where none of those system faces is installed the stack goes on as before.
|
|
357
|
-
- a26fbe0: The Licht fonts now come from `licht` (the same files and `@font-face` rules as `@zonsh/fonts`, which npm marks as moved to `licht`), so installing no longer warns about a deprecated package. Nothing to change in an app: `@import "@zonsh/ui/styles.css"` brings them as before.
|
|
358
371
|
- a60b250: The MCP server is gone: `@zonsh/ui-mcp` is no longer released with the library. The Claude skill inside the package, llms.txt and each component's page as Markdown carry the same docs. The skill and the README no longer point to the server, and where they named its `theme_from_preset` tool, `themeFromPreset(code).css` from `@zonsh/ui` gives the same CSS.
|
|
359
372
|
- ea2cebb: The motion guide (`docs/motion.md`, the skill's `references/motion.md`) now describes the motion as the code has it: the duration factors in use, each kind of motion (state changes, popups, drawers and toasts, gliding indicators, heights, drag, springs, streaming text, loading, arrival, decoration) with its rule, the distances, what reduced motion does for each, what holds still on a phone, a checklist for a new part, and Do / Don't pairs. The docs site shows it at `/ui/motion`, beside the brand guide.
|
|
360
373
|
- 5c3a9b9: Motion follows its own guide (docs/motion.md) everywhere:
|
|
@@ -430,6 +443,8 @@ No changes in this release.
|
|
|
430
443
|
|
|
431
444
|
## 0.5.0
|
|
432
445
|
|
|
446
|
+
Released 10 November 2026.
|
|
447
|
+
|
|
433
448
|
### Minor Changes
|
|
434
449
|
|
|
435
450
|
- 25366e2: Motion, reworked after Emil Kowalski's skills for designers and engineers (MIT; the web ones are copied into the repository's `.claude/skills/`). The guide is `docs/motion.md`: in the zon-ui skill as `references/motion.md`, on the site as `/ui/motion.md`, and from the MCP server as the new `get_motion_guide` tool.
|
|
@@ -474,6 +489,8 @@ No changes in this release.
|
|
|
474
489
|
|
|
475
490
|
## 0.4.1
|
|
476
491
|
|
|
492
|
+
Released 10 November 2026.
|
|
493
|
+
|
|
477
494
|
### Patch Changes
|
|
478
495
|
|
|
479
496
|
- 1454b85: Switch: hovering no longer stretches the thumb; only a press does (18 to 25px, towards where it will go). The stretch is the start of the toggle, so on hover it suggested a flip that wasn't coming, and a column of switches twitched as the pointer passed.
|
|
@@ -633,6 +650,8 @@ Not published to npm: its changes were first released in 0.4.1.
|
|
|
633
650
|
|
|
634
651
|
## 0.2.0
|
|
635
652
|
|
|
653
|
+
Released 2 November 2026.
|
|
654
|
+
|
|
636
655
|
### Minor Changes
|
|
637
656
|
|
|
638
657
|
- ccc9ba8: A Button or Tag label wider than its container ends in "…". Slider thumbs stop at the track's ends (`thumbAlignment="center"` keeps the overhang). On a Mac, the Sidebar, Command, PDF viewer and Whiteboard shortcuts take ⌘ only. A table that scrolls is a tab stop. Right to left, popups follow the page's direction and toasts sit bottom left.
|
package/README.md
CHANGED
|
@@ -51,8 +51,7 @@ Licht, Licht Sans and Licht Mono come with the stylesheet: `@import "@zonsh/ui/s
|
|
|
51
51
|
brings their `@font-face` rules from [`licht`](https://www.npmjs.com/package/licht),
|
|
52
52
|
a dependency, and your bundler (Vite, Next.js, anything that runs Tailwind) copies the WOFF2 files
|
|
53
53
|
into the build. They are served from your own origin, never hotlinked, and there is nothing to set
|
|
54
|
-
up.
|
|
55
|
-
`/licht/fonts` rewrite.
|
|
54
|
+
up.
|
|
56
55
|
|
|
57
56
|
The build lists every cut of the three families, 52 WOFF2 files (about 1.4 MB; `LichtSerif-*` is
|
|
58
57
|
Licht, the headline face). That is disk, not page weight: a browser downloads only the cuts a page
|
|
@@ -7,7 +7,7 @@ description: Build interfaces with the zon design system (@zonsh/ui) — Base UI
|
|
|
7
7
|
|
|
8
8
|
The zon component library: React 19 + Base UI 1.x + Tailwind v4, styled in the
|
|
9
9
|
zon material (layered primary, raised secondary, recessed fields, hairline structure).
|
|
10
|
-
Version 0.7.
|
|
10
|
+
Version 0.7.1. 124 components.
|
|
11
11
|
|
|
12
12
|
> **Building a landing page, marketing site, waitlist, shop front or product page?** Read
|
|
13
13
|
> `references/marketing.md` first. It has the hero variants, a library of section patterns
|
|
@@ -66,7 +66,7 @@ That is the whole setup. It is the design system, on a plain `--background` page
|
|
|
66
66
|
@import "@zonsh/ui/brand.css";
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
The Licht fonts come with the stylesheet (from `licht`, a dependency): the bundler copies them into the build and serves them from your own origin. The build lists every cut (52 WOFF2 files; `LichtSerif-*` is Licht, the headline face), but a browser downloads only the cuts a page sets. No plugin, proxy or rewrite
|
|
69
|
+
The Licht fonts come with the stylesheet (from `licht`, a dependency): the bundler copies them into the build and serves them from your own origin. The build lists every cut (52 WOFF2 files; `LichtSerif-*` is Licht, the headline face), but a browser downloads only the cuts a page sets. No plugin, proxy or rewrite.
|
|
70
70
|
|
|
71
71
|
Next.js (App Router): the two imports above are all of `app/globals.css` (drop the template's styles and Geist fonts), and server components render the components directly: each is a client module already.
|
|
72
72
|
|