DayPilot Pro for JavaScript 2025.2.6484

Release date: May 15, 2025

Features

  • CSS themes are now using CSS variables for the most common values
  • New Theme Designer that generates stylesheets based on CSS variables
  • Navigator and DatePicker support a "Today" button

Improvements

  • [Scheduler] Correctly checking disabled cells when moving events spanning multiple rows in Scheduler views with custom row starts (timesheetyear view). (build 6461)
  • [Navigator] Navigator: Special day header cell added above week numbers (to allow full day header styling). (build 6462)
  • [Kanban] Kanban card bar position defined using CSS theme. (build 6462)
  • DayPilot.Http namespace added to the TypeScript definitions (includes get(), post(), put(), patch(), delete() methods). (build 6465)
  • [Kanban] DayPilot.Kanban.barWidth behavior updated: The value is now correctly applied. If the value is `null` (new default value), the width will be controlled by the CSS theme. (build 6467)
  • [Kanban] Empty swimlane headers hidden when swimlanes are not defined (Kanban). (build 6469)
  • [Bubble] The bubble arrow position adjusted to point to the source start in case that the bubble needs to be shifted left because of insufficient space. (build 6471)
  • [Calendar] Special CSS variables for all-day events (Calendar) (build 6473)
  • [Gantt] Task progress bar - default value of completeBarHeight set to null (uses the height defined by CSS theme). (build 6475)
  • [Scheduler] All time header (groups, cols, floats) alignment values (horizontal, vertical) use the same CSS variables (Scheduler). (build 6475)
  • [Gantt] All time header (groups, cols, floats) alignment values (horizontal, vertical) use the same CSS variables (Gantt Chart). (build 6475)
  • [Navigator] DayPilot.Navigator supports a "Today" button (showToday, todayHtml, todayText, todayHeight, todayPosition properties; onTodayClick event). (build 5480)
  • DayPilot.DatePicker closes automatically on window.onresize, document.onwheel events. (build 6480)
  • DayPilot.DatePicker displays a "Today" button at the bottom (build 6480)
  • DayPilot.DatePicker: Global event handlers only registered when needed; removed on close. (build 6482)

Fixes

  • DatePicker correctly uses the date property for the initial date selection if reading from the target element is not possible. (build 6464)
  • [Kanban] Active areas displayed in Kanban column headers using onBeforeColumnHeaderRender have the correct args.source value in onClick handler. (build 6468)

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.