Add the Monolith and Cobalt Stripe templates

Standalone layouts for Canva templates 3 and 8, with the user's logo sized to the
placeholder box, a CapRule decor primitive, optional TableRows rule/heading options,
and a separate 1..45-row sweep test file.
This commit is contained in:
2026-10-04 11:25:19 +05:30
parent d82515feee
commit 3d42f383ca
28 changed files with 2795 additions and 37 deletions
@@ -0,0 +1,10 @@
import { expect, it } from "vitest";
import { describeSweep, STANDALONE_SWEEP } from "./harness.sweep";
import { TEMPLATES } from "./registry";
// Monolith and Cobalt Stripe: the same sweep as the other templates, in a second file so the two run side by side.
describeSweep((id) => STANDALONE_SWEEP.includes(id));
it("the standalone sweep names registered templates only", () => {
expect(STANDALONE_SWEEP.every((id) => Object.hasOwn(TEMPLATES, id))).toBe(true);
});