wcb/test
Ayo 1b3e251a9d
Some checks are pending
Tests / Unit (push) Waiting to run
Tests / E2E (push) Waiting to run
feat!: reflect boolean props as bare attributes
Boolean props follow the HTML presence/absence semantics.
- We stick close to standard HTML behavior: flag="false" is treated as
true in most cases. Standard bare attributes disabled and required for
form fields are interpreted as true with non-existence as false.
- The use-cases for aria-*="false" and contenteditable="false" are also
supported by typing them in the JS class as string ("true" | "false").
This "true" | "false" opt-in is types-only. At runtime it's just a
string, and strings already serialize literally and are never removed —
so the enumerated/aria path needs no runtime code.
2026-07-20 19:57:23 +02:00
..
e2e feat!: reflect boolean props as bare attributes 2026-07-20 19:57:23 +02:00
types feat: typed props 2026-07-19 18:27:52 +02:00
utils feat!: reflect boolean props as bare attributes 2026-07-20 19:57:23 +02:00
cem-plugin.test.mjs feat: new cem analyzer plugin (cem-plugin) 2026-07-19 21:06:22 +02:00
exports.test.mjs feat: smart diffing 2026-07-19 23:32:19 +02:00
html.test.mjs test: cover current behavior 2026-07-05 09:37:08 +02:00
WebComponent.test.mjs feat!: reflect boolean props as bare attributes 2026-07-20 19:57:23 +02:00