Minor Changes
-
ed2d9ae: feat(DST-1551): add
DateRangePickercomponentNew
<DateRangePicker>lets users enter or select a start–end date range through a single field, mirroring<DatePicker>'s API and behaviour. Two date inputs (start/end) sit in one field group with a calendar button that opens a<RangeCalendar>in a popover on desktop and a tray on small screens. Supports per-input paste (ISO/EU/US formats),granularity(inline time segments),visibleDuration(up to three months), and the usual Marigold field props (disabled,readOnly,required,error,errorMessage,description,minValue,maxValue,dateUnavailable,width,variant,size). Adds a matchingDateRangePickertheme entry totheme-rui.
Patch Changes
-
e686474: chore(DST-1503): Migrate
Checkbox,Switch, andRadiooff the deprecated react-aria-components single-element exports (Checkbox/Switch/Radio) to the*Field+*Buttoncomposition introduced inreact-aria-components@1.18.0. This removes thets(6385)deprecation warnings with no change to the public API, behavior, or visual output. -
2fc7b96: refactor(DST-1534): build the
Calendaryear dropdown on react-aria'sCalendarYearPickerThe year dropdown now consumes react-aria's
CalendarYearPickerrender-prop (mirroring how the month dropdown already usesCalendarMonthPicker), replacing the hand-rolled year list and its localizedaria-labelworkaround. This was unblocked by react-aria's June 2026 fix that makesmaxValueinclusive, so the boundary year is reachable. Unbounded calendars keep the ±20-year window and bounded ranges stay fully reachable at both ends. When only one bound is set, the open side now widens to keep that bound reachable instead of staying at a fixed ±20 years. -
508ec2c: fix(DST-1553): drop the dead
'small' | 'medium' | 'large'literals fromTabssizeThe
sizeandvariantprops onTabsresolved to nothing after the RUI theme
size variants were removed (2025-03-04).sizenow accepts a plainstring
(matchingLabelandHelpText) instead of advertising specific values that no
theme backs. The props stay in place as theme hooks, so a consumer theme can
define its ownsize/variantvariants without the misleading built-in union. -
4d44517: fix: make Select and Menu overlay appear above Drawer on small screens
On small screens,
SelectandMenurender their options in aTray(bottom sheet). TheTrayoverlay hadz-40in the theme while theDraweroverlay usesz-50, so the tray rendered behind an open drawer and was unreachable.Moved the
z-indexfrom the theme style file into theTrayModalcomponent implementation (matching the project's z-index architecture rule), and raised it toz-50. Both theDrawerandTrayportal todocument.body; at equal z-index, DOM order determines stacking. TheTrayis always mounted after theDrawer, so it correctly appears on top.- @marigold/system@17.9.0