Commit c6e3a2b
feat(discovery): v0.33.0 — per-component snapshots + /create preset page
One substantial "discovery + completion" wave. Three sub-shots, one tag.
1. Per-component snapshot pipeline.
- examples/showcase/src/bin/snapshot.rs gains a `--previews` mode that
iterates every registry item, drives PreviewHost via
ui.set_preview_name(name), and writes
docs/img/snapshots/preview-<name>.png for each (64 PNGs at 900x600).
- Pure SoftwareRenderer — same proven path as the section snapshots, no
WASM flakiness. New `make snapshot-previews` target.
2. /create preset page (web/create.html).
- Pure HTML/CSS/JS, no build step. Fetches the live registry.json from
the deploy, groups items by category, lets the user pick a base color
+ toggle components, and live-builds the exact `npx slintcn init &&
npx slintcn add ...` command with copy + clear actions.
- Sticky right pane on desktop, stacked on mobile.
- Topnav `Create` link added to landing + docs.
3. Gallery + README hero refresh.
- Landing .gallery rotates 6 fresh captures (DataTable / Command /
Calendar / Sidebar / Dashboard / Hotbar).
- README hero trio swapped to DataTable / Command / Calendar so the
README reads as 2026, not v0.13.
Closes the Tooling-track parity gap (MCP + Directory + /create all shipped).
Bump 0.32.0 -> 0.33.0; `make verify` 62/62 still green.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 613108b commit c6e3a2b
75 files changed
Lines changed: 431 additions & 57 deletions
File tree
- docs
- img/snapshots
- examples/showcase
- src/bin
- registry/default
- scripts
- web
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
0 commit comments