Skip to content

Release 0.13.0: HeroUI's date and time components, made headless - #17

Merged
zaiev merged 1 commit into
mainfrom
release-0.13.0
Nov 22, 2026
Merged

zaiev merged 1 commit into
mainfrom
release-0.13.0

Conversation

@zaiev

@zaiev zaiev commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Why

Date and time widgets were the gap applications on the stack felt most, and Kobalte has none but a time field. HeroUI's DateField, Calendar, RangeCalendar, DatePicker and DateRangePicker are React Aria's, so each is made headless first, as React Stately keeps its state and React Aria names its parts, and the ports add HeroUI's classes, composed part for part as HeroUI's are.

A field's locale is a provider's, else en-GB, never the browser's: day before month as most of the world writes a date, and the same on the server as in the browser, so an island hydrates without a mismatch.

Changes

  • Breaking: the skill, skills/solidtype, is no longer installed; the documentation for an agent is llms.txt and every page in Markdown (from Write agents/ with starlight-hypha-agents #16).
  • HeroUI's DateField, Calendar, RangeCalendar, DatePicker and DateRangePicker, each with its page of HeroUI's examples, its React comparison, and its parts in the attributes test.
  • Solidtype_headless gains Date_field (a date, a date with a time, one in a zone, or a range of them), Calendar (one date, several, or a range; anchored, hovered, dragged) and Date_picker (a field and a calendar in a popover, a time kept as a day is chosen).
  • Time_field takes its locale as Date_field does, so a picker's date and time read one clock.
  • Where React's does worse the port does better: a press on a day that cannot be chosen focuses it, a range ending before it starts is invalid at once, and the year picker covers the whole month grid.
  • A resizable virtualized table scrolls across its columns.
  • CHANGES.md names 0.13.0, and the docs install its plugin.

Verified

  • make lint and make test: 1132 vitest tests in 185 files and 40 plugin tests pass; each port's twin test compares every part against HeroUI's React component in every state.
  • Each port measured against heroui.com in Chrome: the calendars, the pickers closed and open, and the range picker's inputs match to the pixel.
  • Every date page hydrates with no console errors, scrolled through.
  • Tested locally by the owner.

Date and time widgets were the gap applications on the stack felt most,
and Kobalte has none but a time field. HeroUI's DateField, Calendar,
RangeCalendar, DatePicker and DateRangePicker are React Aria's, so each
is made headless first, as React Stately keeps its state and React Aria
names its parts, and the ports add HeroUI's classes, composed part for
part as HeroUI's are, each held to React's by a twin test.

A field's locale is a provider's, else en-GB, never the browser's: day
before month as most of the world writes a date, and the same on the
server as in the browser, so an island hydrates without a mismatch. The
time field follows it, so a picker's date and time read one clock.

Where React's does worse the port does better and says so: a press on a
day that cannot be chosen focuses it, and a range ending before it
starts is invalid at once.

A resizable virtualized table now scrolls across its columns, as found
while testing the data grid beside it.
@zaiev
zaiev merged commit a4ba0db into main Nov 22, 2026
4 checks passed
@zaiev
zaiev deleted the release-0.13.0 branch November 22, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant