Release govoplan-templates v0.1.22: bound rendering and improve dialog layout

This commit is contained in:
2026-09-08 01:32:53 +02:00
parent 69416faca9
commit 19cbdd303b
9 changed files with 172 additions and 42 deletions
+9
View File
@@ -0,0 +1,9 @@
import assert from "node:assert/strict";
import { readFileSync } from "node:fs";
const page = readFileSync(new URL("../src/features/templates/TemplatesPage.tsx", import.meta.url), "utf8");
const styles = readFileSync(new URL("../src/styles/templates.css", import.meta.url), "utf8");
assert.match(page, /<Dialog open=\{createOpen\}[^]*?<FormGrid columns=\{2\} collapseAt="standard">/);
assert.doesNotMatch(page, /templates-dialog-form/);
assert.doesNotMatch(styles, /templates-dialog-form/);
console.log("Templates dialog uses the shared shrinking form layout.");