GLS Registry

Changelog

Notable changes to the registry components and demos.

2026-06

  • @daypicker/react v10: Migrated from react-day-picker to @daypicker/react. Updated the shadcn Calendar wrapper for v10 (month_grid class name, Spanish locale).
  • DateRangeSelector: Rebuilt as a Popover + Calendar range picker with composable inline presets and custom date selection. Calendar range limited to the last 13 months through today.
  • /demo/finances layout: Split into Análisis Financiero (KPIs + stacked chart) and Facturas (invoice table), each with an independent date filter.
  • BillingTable: Invoices keyed by emissionDate (ISO YYYY-MM-DD) instead of monthly rows. TanStack Table columnFilters + getFilteredRowModel for client-side date filtering. Spanish formatting via date-fns.
  • date-fns adoption: Date logic standardized across the app — startOfDay, endOfDay, subDays, subMonths, parseISO, isWithinInterval, and format with the es locale replace manual Date manipulation and Intl/toLocaleDateString calls.

On this page