0.1.0
Initial release of the @takazudo/zudo-sg styleguide engine.
Released: unreleased
Initial release of @takazudo/zudo-sg, the installable styleguide engine package. Finalized by / when the first version actually ships.
Features
Package-owned catalog routes —
/,components /,components/ [slug] /,components/ preview /— injected into a host's zfb build viatokens @takazudo/, mirroringzudo- sg/ plugins/ routes @takazudo/zudo-doc's route-injection seam.zudo-sgCLI:gen-registry [--check],new-component <name> --category <c> [--nested] [--skip-barrel],gen-token-manifest [--check], all driven by a hostzudo-sg.config.mjs.Story-authoring contract (
@takazudo/):zudo- sg/ stories StoryMeta,Story,StoryControl,StoryModule,defineStory. Story categories are open, host-ordered data, not a closed type.Standalone preview stylesheet compiler (
@takazudo/) that compiles the host's token CSS withzudo- sg/ plugins/ preview- css @tailwindcss/nodeand rescopes it under:root[data-sg-preview-doc]so it coexists with the host's own global stylesheet.Generated safelist and chrome styles (
@takazudo/,zudo- sg/ safelist. css @takazudo/) so package-owned catalog UI ships its own Tailwind utilities without depending on the host's content scan.zudo- sg/ styles. css Token dashboards and the preview design-token panel, driven by a
gen-token-manifest-produced manifest.Framework scope: Preact/zfb hosts only for this release.