fix(studio): render complete interactive gallery previews
Quality / quality (ubuntu-latest) (push) Failing after 10m12s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
Clintchiz committed 2026-10-19 17:40:50 +05:30
1 parent c765d76a06
commit 9520651330
26 files changed
+5761 -39

No files matched your search

@@ -26,6 +26,17 @@ test("three presets compile deterministically in both modes", () => {
);
}
});
test("switch track stays a pill when control corners change", () => {
for (const original of Object.values(CORE_DESIGN_SYSTEMS)) {
const system = structuredClone(original);
system.tokens["shape.control"]!.value = "0";
for (const mode of ["light", "dark"]) {
const css = compileDesignSystem(system, { mode }).recipeCss;
expect(css).toMatch(/\[data-wrn-owner="Switch"\][^{]*\{[^}]*border-radius:999px/);
}
}
});
test("contracts reject unknown components, parts, axes, states, versions and executable style values", () => {
for (const recipes of [
{ Unknown: { contractVersion: 1 } },