Commit Graph
13 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
Paweł KunaandBartek b38cd32d07 Add screenshots package and fix card-gradient minify bug (#2793)
Co-authored-by: Bartek <xbartoszdobija@gmail.com>
2026-08-07 00:48:28 +02:00
Paweł Kuna 1effe221cb Improve accessibility across layouts, components, and forms (#2799) 2026-08-05 23:40:37 +02:00
Paweł Kuna 17d2363ef2 Fix NaN transform on the jsVectorMap world map (#2800) 2026-08-05 23:34:52 +02:00
Bartosz-DoandClaude Opus 5 dbe391dc23 Fix signature pad clear button accessibility and canvas height drift (#2789)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-05 00:39:44 +02:00
codecalm f27c70ad38 Fix Prettier formatting regression and Astro type-check errors
`Render Modal as real markup` (#2742) reformatted ~140 files back to
tabs/semicolons, breaking the Prettier config added by the Astro
quality gates (#2749). Re-run prettier --write to restore it, and fix
the type errors it had been masking: HTMLElement casts and `this`
typing in ChangePasswordModalContent/ConfirmDeleteModalContent
scripts, plain-JS syntax in the inline-injected progress.astro script,
narrowed prop unions in Button/Check/Spinner, nullable icon svg casts
in Icons/Rating, and a duplicate firstLetters/invalid `placeholder`
attribute in Select.astro. Also fix shared/vitest.config.mts's stale
`astro/lib/**/*.test.ts` include glob left over from the shared source
restructure, which made `pnpm test` report zero test files.
2026-08-03 01:26:19 +02:00
Paweł Kunaandcopilot-swe-agent[bot] 575d68572f Render Modal as real markup; drain scripts via CaptureScript (#2742)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-08-03 00:55:32 +02:00
Paweł Kunaandcopilot-swe-agent[bot] 8962710163 Add quality gates: Prettier for Astro, astro check for shared, unused SCSS variable lint (#2749)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-08-03 00:47:55 +02:00
Paweł Kunaandcopilot-swe-agent[bot] 2ad46002ac Enable Astro TypeScript checks across preview, docs, and shared (#2743)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-08-01 01:58:03 +02:00
Paweł Kuna 166c63cc34 Mark demo HTML sections with BEGIN/END comments (#2741) 2026-07-31 01:10:55 +02:00
Paweł Kuna f72cb5cedf Render component scripts as real JS instead of built strings (#2731) 2026-07-31 00:23:25 +02:00
Paweł Kuna ad2ed849dd Restructure shared Astro sources and import aliases (#2737) 2026-07-30 23:58:48 +02:00