release: WRNexusJS 0.4.0

This commit is contained in:
2026-07-27 12:42:18 +05:30
parent 8b728a3e5d
commit 30e5721e84
250 changed files with 10065 additions and 3923 deletions
@@ -85,9 +85,9 @@ test("every component has a detail page with its expected live use cases", () =>
return [...source.matchAll(/<div data-component="([^"]+)"/g)].map((match) => match[1]);
});
// Every detail page has one playground plus three standard demos. Button,
// AdvancedSelect, ComboBox, PinInput, and TogglePassword add specialized capability demos.
expect(detailMounts).toHaveLength(reference.count * 4 + 83);
// Every detail page has one playground plus three standard demos. Interactive
// components add specialized capability demos beyond that shared baseline.
expect(detailMounts).toHaveLength(reference.count * 4 + 95);
for (const component of reference.components) {
const expectedMounts =
component.mount === "Button"
@@ -96,11 +96,15 @@ test("every component has a detail page with its expected live use cases", () =>
? 42
: component.mount === "ComboBox"
? 22
: component.mount === "PinInput"
? 19
: component.mount === "TogglePassword"
? 11
: 4;
: component.mount === "InputNumber"
? 13
: component.mount === "PinInput"
? 19
: component.mount === "StrongPassword"
? 7
: component.mount === "TogglePassword"
? 11
: 4;
expect(detailMounts.filter((mount) => mount === component.mount)).toHaveLength(expectedMounts);
}
}, 15_000);