5 Commits

Author SHA1 Message Date
vaibhav375
0fa6f35939
fix(gallery): correct subtitle branding and drop stale style count (#583)
The gallery header said styles come from "Antigravity Kit" (one of the
supported platforms, not this project), and the page metadata hardcoded
"67 UI styles" while the CSV has 51 active / 88 total. The header
already shows a live count, so the metadata no longer repeats a number.

Refs #573 (item C1)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 05:07:39 +07:00
Daniel Antoni
902bf616a0
fix(gallery): open style cards from the keyboard and stop nested clicks (#578)
The style card was a <div onClick> with no focusable control, so keyboard
and screen reader users could not open the detail modal (#573, item D1).
The card title is now a real <button aria-haspopup="dialog">; making the
whole card a button would nest its section toggles, copy buttons, color
swatches and checklist inside it. The focus mark is an outline, which
forced-colors mode keeps.

The detail modal now behaves as a dialog for those users: it has
role="dialog", aria-modal and its title as label, moves focus to Close on
open, keeps Tab and Shift+Tab inside, and returns focus to the element
that opened it when it closes.

The card's click handler also fired for every control inside it, so
expanding "CSS Code", copying a color or ticking a checklist item opened
the detail modal too, by mouse or keyboard. Clicks that start on a control
inside the card, or that end a text selection inside it, now leave the
modal closed; any other click on the card still opens it.

The code copy button was reachable with Tab but stayed at opacity 0 unless
hovered; it now shows while focused.
2026-11-16 08:11:28 +07:00
조유경 (Cho Yugyeong)
0e8d408204
fix: keep gallery styles in asset sync (#574)
Co-authored-by: Clark Cant <127024890+clark-cant@users.noreply.github.com>
2026-11-15 23:10:35 +07:00
Viet Tran
a38d04c3d5
feat(search): overhaul relevance and curated design data
Overhaul BM25 relevance, reasoning and data-quality contracts; refresh UI styles and framework guidance; add resilient text, chip, badge and micro-interaction guidance; strengthen release, provenance and catalog refresh gates; update bilingual documentation.
2026-08-14 00:08:23 +07:00
Yong Tang
14ddef5c05
feat(gallery): add Style Detail Modal with phone UI controls preview (#155)
Click any StyleCard to open a full-screen modal showing the style applied
to 9 interactive phone UI controls (buttons, inputs, toggles, checkboxes,
radios, cards, badges, slider, nav bar) inside an iPhone mockup frame.

Co-authored-by: yongtang <jlinux@msn.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-08-01 08:29:30 +07:00