Commit Graph
2 Commits
Author SHA1 Message Date
codecalm f36c278046 Fix SelectCustom build: <selectedcontent> void-tag serialization
Astro's compiler renders <selectedcontent></selectedcontent> without
its closing tag, treating it as a void element. That broke the
post-build `prettier --parser html` pass on preview/dist output
(stray </span> the parser doesn't expect). Render it through
set:html so the closing tag survives into the emitted markup.
2026-08-07 18:48:45 +02:00
codecalm e926520576 Add experimental SelectCustom component (CSS customizable select)
Zero-JS rich <select> built on the appearance: base-select API
(button + selectedcontent + custom <option> markup, dropdown-menu
tokens for the picker). Chromium-only for now — unsupported browsers
fall back to a plain, working native select since the extra markup
isn't part of the option list model there.

Wired into preview/form-elements.astro with 8 usage examples
(status dot, avatar, flag, badge, groups, primary+description,
disabled option, plain).
2026-08-07 18:27:27 +02:00