All notable changes to @foomo/ui are documented here. The format follows
Keep a Changelog, and versions follow
Semantic Versioning.
- Autocomplete:
@foomo/ui/components/autocompletewraps the Base UI Autocomplete with the same trigger and popup styling as Select. - Date picker:
@foomo/ui/components/date-pickerexposesDatePicker,DateRangePickerandDatePickerTrigger, composed from Popover and Calendar after the shadcn date picker example. - Tag palette: six categorical colours,
--label-color-1…--label-color-6in the neutral theme (mapped tolabel-color-*utilities), taken over from the Manor toolbox.TagCellandTagListCelltake acolorprop ("label-1"…"label-6") that renders a tinted tag with no variant styles underneath, so callers no longer needvariant="ghost"plus a colour class. In dark mode the text is the foreground white on a 50% tint, rather than the toolbox's muted grey.TagListCell'scolorcan also be a function, to colour each tag by its value.tagColorValuesexposes the same colours as CSS values for chart fills. - Table cells:
TagCelltakes aniconthat leads its label, andStatusTagCellrenders the default status set with one:success(tick on green, e.g. "Imported"),destructive(cross on red, "Failed") andinfo(circled tick on blue, "Resolved"). The label stays the caller's word; aniconprop swaps the glyph and keeps the colour. - Badge: a
successvariant, the green counterpart todestructive, for a state that really is good ("Enabled", "Done"). Also available onTagCellandTagListCell. - Filters:
FilterMultiSelectpicks several options from one list. An empty selection means no restriction; the trigger names the first pick and counts the rest ("FancyBrand +2"). - Hooks:
@foomo/ui/hooks/use-frame-dismissexposesuseFrameDismiss, which calls its callback when a page inside an iframe loses focus, so custom popups can close on a click outside the frame.
- Table cells:
BooleanCellsets each glyph on a 24px square styled like the matching tag: outlined with no fill fortone="neutral", tinted with 10% of--successor--destructivefortone="semantic". An unknown value shows its dash with neither, in both tones. - Table cells:
IdCellrenders in the regular font with tabular figures instead of a smaller monospace, so ids read as part of the row while digit runs still line up.mononow defaults tofalseand opts back in. - Button: the
ghostvariant underlines its text, so a text-only ghost button (e.g.FilterReset, the Data Table column headers) reads as clickable. Icon-only ghost buttons are unaffected. Calendar days opt out withno-underline, since they form a date grid rather than actions. - Calendar: a selected day, and the start and end of a range, use the brand
blue (
accent-highlight) instead of the primary colour. Days inside a range keep their muted background. - Filters:
FilterDateRangepicks its period with one two-month range calendar, after the shadcn range picker, instead of separate From and To calendars. The first click sets the start, the second the end; a Clear button resets both. A period can no longer be picked as "until" with no start, though such a value is still accepted and described. A one-day period reads as a single date.tois the start of the last day, so compare againstendOfDay(to)to include it. - Date picker:
DateRangePickerhides outside days, so with two months side by side a day no longer appears in both grids. Passcalendar={{ showOutsideDays: true }}to restore them. - Filters: the
FilterDateRangefield shows its active state like the search field: a foreground-coloured border while open or focused, with no grey fill on hover or open and no focus ring. The calendar is unchanged. - Filters:
FilterDateRangeuses theCalendarDotsicon, shown in the foreground colour even while the empty placeholder is muted, so every filter icon reads the same.
- Card and InputGroup: a bordered
CardHeader/CardFooteror blockInputGroupAddonnow gets its spacing next to the border. The generated[.border-b]/[.border-t]variants never matched the prefixedfui:border-*classes. - Filters: the
FilterDateRangetrigger now has the same border as the search field and selects beside it. It inherited the outline button'sborder-current, so its border followed the text colour (muted when empty, black once a period was set). - DropdownMenu and Select: an open popup now closes when the page is embedded
in an iframe (e.g. the Storybook canvas) and the user clicks outside the
frame. A click on the embedding page never reaches the frame's document, so
the popup now closes when the frame's window loses focus instead. Top-level
pages are unaffected. When Select closes this way,
onOpenChange(false)receives no event details.
- Chart: re-exported Recharts primitives from
@foomo/ui/components/chartso consumers can keep a single Recharts instance and React context.
- Replaced Lucide with Phosphor icons throughout the component library.
- Changed
@foomo/ui/iconsto re-export Phosphor icons. - Configured generated shadcn components to use Phosphor icons.
- Removed the
lucide-reactdependency. - Removed all Lucide icon exports and the
LucideIcontype from@foomo/ui/icons. Consumers must switch to the corresponding Phosphor exports.
- Project skills for OpenCode, Claude Code, and Codex.
- Publishing and changelog guidance for maintainers.
- Expanded the README with installation, theming, Base UI composition, public modules, and 0.x migration guidance.
- DataTable with sorting, filtering, selection, pagination, column visibility, client-driven and server-driven state, and expandable rows.
- Listing filters and reusable table cell renderers.
- Semantic link and success theme tokens.
- Replaced Radix UI primitives with Base UI across all component wrappers.
- Replaced
asChildcomposition with Base UI'srenderprop. - Renamed the internal Tailwind prefix from
lib:tofui:. - Updated the default theme to Roboto Variable with a system sans-serif fallback.
- Added a dedicated dark-mode chart ramp with accessible contrast.
- Changed checkbox mixed state to the
indeterminateprop. - Required
ratioonAspectRatioand a single element child inFormControl.
- Removed the
radix-uidependency. - Removed the
decorativeprop fromSeparator.