Make every component and the landing page responsive (v0.3.1)
Every story and the landing page now fit from a 320px phone to a wide desktop without scrolling sideways. - Inputs in flex rows (Input, FeaturedInput, NumberInput, Combobox) shrink instead of holding their native width - Tab rows and ToggleGroup scroll within themselves on narrow screens; vertical tabs stack above their panel on phones - Positioned popups cap at Base UI's --available-width - Landing page: tablet header no longer crowds; code sample fits at 1024px - Storybook a11y panel skips page-level rules that can't apply to a story - check-stories.mjs gains --width and fails on horizontal overflow; all 423 stories pass at 320, 375, 768 and desktop widths in both modes
This commit is contained in:
1 parent
f01de83733
commit
23e67006d3
24 files changed
+136
-31
No files matched your search
@@ -7,6 +7,32 @@ All notable changes to Tansy UI are recorded here. The format follows
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.3.1] - 2026-09-28
|
||||
|
||||
Every component and the landing page now work from 320px phones to wide
|
||||
desktops without scrolling sideways.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Inputs:** Input, FeaturedInput, NumberInput and Combobox shrink to fit
|
||||
narrow containers. Inputs no longer hold their ~20-character native width
|
||||
inside flex rows.
|
||||
- **Tabs:** a row of tabs that doesn't fit scrolls sideways within itself, and
|
||||
vertical tabs stack above their panel on phones.
|
||||
- **ToggleGroup:** scrolls within itself when wider than the screen; its focus
|
||||
ring is drawn inset so scrolling can't clip it.
|
||||
- **Popups:** menus, selects, popovers and tooltips never grow past the screen
|
||||
edge (they cap at Base UI's `--available-width`).
|
||||
- **Landing page:** the header no longer crowds at tablet widths, and the code
|
||||
sample fits its card at 1024px.
|
||||
- **Storybook:** the Accessibility panel no longer counts page-level rules
|
||||
(`<main>`, `<h1>`, landmarks) that can't apply to an isolated component.
|
||||
|
||||
### Added
|
||||
|
||||
- `scripts/check-stories.mjs --width <px>` fails any story that makes the page
|
||||
scroll sideways at that width.
|
||||
|
||||
## [0.3.0] - 2026-09-28
|
||||
|
||||
A rebuild on Base UI with one consistent API, dark mode, and 28 new components.
|
||||
|
||||
Reference in new issue
Block a user