Skip to content

v1.5.23

Choose a tag to compare

@github-actions github-actions released this 10 Jul 20:25

✨ Features

  • <Datepicker> — year & month drill-down, configurable first day of week, translatable chrome.
    Navigating far in time is now a couple of clicks: click the calendar's "Month Year" header to open a
    year grid (pages of 24, ‹/› jump a page), pick a year for a month grid (Jan–Dec), pick a month to
    land on that month's day calendar — all in the one popover, fully keyboard-navigable. A new
    firstDayOfWeek prop (0 Sunday … 6 Saturday) sets the grid's starting weekday, defaulting to
    Monday (override per instance). A new labels prop translates all the calendar chrome strings
    (nav buttons, year switch, dialog name, clear / open-calendar) — English by default, and since props are
    reactive they can carry t('…') from i18n. Month / weekday / year text stays locale-driven. The day view
    is unchanged for existing users.

🐛 Fixes

  • <Tabs> sliding indicator tracks the active tab under a tabTemplate (FW-15). Combining
    slidingIndicator with a custom tabTemplate used to leave the indicator the wrong size and in the
    wrong place — it collapsed to a small circle (under a pill skin) parked near the first tab, most stubbornly
    when you reversed direction across the active tab. Two causes: its geometry was read off a list of tab
    buttons captured once at mount (stale once templated bodies re-render), and it was measured synchronously
    while the newly-active button's content was still being re-rendered for the new selection. The indicator
    now always measures the live active button on the next animation frame — after its DOM + layout
    have settled — so it lands on the correct position and full width for every selection, any direction,
    any distance, and never captures a pre-render/partial box. It also re-places when the tabs set changes
    and catches genuinely-later async resizes (font/icon load). Plain (no-tabTemplate) tabs are unchanged.