v1.1.0
What's Changed
Added
- Components may ship ONLY named variant fixtures — no bare
styleguide.twigrequired. A component/page/doc directory withstyleguide.<id>.twigsiblings and no barestyleguide.twignow still surfaces as a renderable entry:has_styleguidegoestruefrom named variants alone, not just from the bare sibling or the legacystyleguide:flag, so an all-named component is no longer silently filtered out of the sidebar/palette/overview. New additivehas_default_variantfield on/api/components//api/pages//api/docs(trueonly when<id>/styleguide.twigitself exists) lets the SPA's variant grid tell "has some fixture" apart from "has the unnamed default fixture" —VariantGrid.vuenow shows its synthetic "Default" tile only whenhas_default_variantisn't explicitlyfalse, so a variants-only component's grid shows exactly its named tiles (all click-to-isolate, the first included) with no broken/empty tile pointing at the component's raw production template. Seedocs/API.md§/api/componentsandREADME.md§ File-convention variants → All named, no bare default.
Fixed
- Consumer
iframe.body_classno longer bleeds onto the foundations page.render-cell.twigapplied the consumer's site-wideiframe.body_class(and the per-entrycomponent.body_class) to<body>for every kind, includingfoundations— a package-owned page with a fixed zinc-on-white palette. A consumer with a darkiframe.body_class(e.g. a dark brand background) made the foundations page's headings/cards nearly invisible, discovered in themairateamproject after the 1.0 bump. Both classes are now skipped forkind == 'foundations'; component/page kinds are unaffected. The existing light/darkbody { background-color }safety net in<head>is untouched.
Pull Requests
- #64 — Named-only variants: bare styleguide.twig becomes optional
- #65 — fix(render): don't apply consumer iframe.body_class to the foundations page
Full Changelog: v1.0.0...v1.1.0