Release date: May 19, 2025
Features
- Navigator and DatePicker support a "Today" button
- Updated CSS theme structure - defines CSS variables for the most common values (Calendar, Month, Navigator).
- New Theme Designer that generates stylesheets based on CSS variables
Improvements
- DayPilot.DatePicker.select() method added. (build 647)
- [Navigator] New DayPilot.Navigator properties and events added to TypeScript definitions: showToday, todayHtml, todayText, todayHeight, todayPosition, onTodayClick. (build 649)
- DayPilot.Http.patch() added to TypeScript definitions. (build 649)
- DayPilot.Http namespace TypeScript definitions simplified and unified with the Pro version. (build 649)
API Changes
CSS Theme Variables
- CSS themes (Calendar, Month, Scheduler, Gantt, Kanban) now use CSS variables to define common values.
- The variable names start with --dp-* (e.g. --dp-calendar-border-color) and are defined for the top-level CSS class (e.g. .calendar_default_main).
- The structure of the CSS classes doesn't change - existing themes will work with this version and new themes generated using the Theme Designer will work for old versions.
- However, the variable names might require minor changes in the upcoming releases, so watch the release notes.
NPM Packages
The NPM package version for this release is 3.34.0:
DayPilot