Releases: williamtroup/Calendar.js
Releases · williamtroup/Calendar.js
Calendar.js v2.12.1 - Fixes!
- Fixed a fault that prevented the custom trigger "events.onBeforeEventAddEdit" from being called when set (thank you @dnzzzl).
Calendar.js v2.12.0 - Disable views! CSS support for Pin-Up mode! More settings and fixes!
New Features:
- Added view disabling support! You can now turn off the "Full Day", "Full Week", "Full Year", "All Events", and "Timeline" views!
- Added CSS class support for "Pin-Up" mode!
- Added support to disable the "Jump To Date" dialog.
Settings:
- Added a new setting "jumpToDateEnabled" (defaults to true), which states if the "Jump To Date" dialog is enabled.
- Added a new setting "views.fullWeek.showDatesInDayHeaders" (defaults to true), which states if the dates should be shown in the "Full Week" day headers.
- Added a new setting "views.fullMonth.pinUpViewImageCssClasses" (defaults to []), which states the CSS classes to use for the "Pin-Up" mode instead of images (in "Full Month" view).
- Added a new setting "views.fullDay.enabled" (defaults to true), which states if the "Full Day" view is enabled.
- Added a new setting "views.fullWeek.enabled" (defaults to true), which states if the "Full Week" view is enabled.
- Added a new setting "views.fullYear.enabled" (defaults to true), which states if the "Full Year" view is enabled.
- Added a new setting "views.allEvents.enabled" (defaults to true), which states if the "All Events" view is enabled.
- Added a new setting "views.timeline.enabled" (defaults to true), which states if the "Timeline" view is enabled.
UI Improvements:
- Increased the start/end padding around the "Pin-Up" mode current day text.
Fixes:
- Fixed strange transition effects being shown for the Context Menu icons.
- Fixed an extra divider line being visible in mobile mode in all views on the title bars.
Calendar.js v2.11.0 - Fixed height support! New triggers and functions! Lots of fixes!
New Features:
- Added custom height support! You can set this on the element itself via the styles. Once set, this will force new instances of the Calendar to use that height.
Settings:
- BREAKING: Renamed the setting "events" to "data".
- BREAKING: All binding option events are now available under a new area called "events".
- Added a new setting "eventTooltipDelay" (defaults to 1000), which states the delay that should be used (in milliseconds) for the event details tooltip.
Custom Trigger Events:
- Added a new custom trigger "onViewChange", which is triggered when the current view is changed.
Public Functions:
- Added a new public function called "getCurrentView()", which will return the ID of the current view.
Timeline View:
- Added “description” timeline axis support. These can also be used for the default axis setting.
Fixes:
- Fixed a broken link for the default holiday "Valentine's Day".
- Fixed a fault that caused the "Search" dialog drop-down arrow to use a transition when changing.
- Fixed the check/radio buttons text being slightly misaligned vertically.
- Fixed a fault that caused the wrong parameters to be passed for the binding file "calendar.binding.js" function.
- Fixed a fault that caused extra spacing to be shown above the URL label in the event tooltip.
- Fixed the "Timeline" view Events and Axis labels overlapping the headers.
- Fixed a fault that caused the "Timeline" view to jump around when refreshed (after being scrolled).
Calendar.js v2.10.19 - Massive data-binding improvements!
- The "calendar.binding.js" has been re-written from scratch, allowing better configuration, error handling, and instance handling (see examples).
- The "calendar.binding.js" binding JS file now has a global scope variable called "$calendar", which will allow direct access to the instances created (see examples).
Calendar.js v2.10.18 - Exportable! Fixes! Use Strict!
- Fixed a spacing fault in the Catalan translations (thank you @Eloitor).
- Fixed a permissions fault for all the folders.
- Added new "dist" versions of Calendar.js called "calendar.export.js" and "calendar.export.min.js", which will allow the calendarJs class to be exported.
- Added "use strict" support internally.
Calendar.js v2.10.17 - Translation fixes!
- All text translations now allow empty text to be passed (which will prevent them from defaulting to the English version).
Calendar.js v2.10.16 - Fixes and improvements!
- When clicking a year or month in the drop-down in the Full Month view, the custom trigger "onSetDate" is now called.
- Updated the Catalan translations (thank you @Eloitor).
Calendar.js v2.10.15 - New import function! Renames! Minor improvements!
- Renamed the public function "exportAllEvents()" to "export()".
- Added new public function "import()”, which can be used to import events from a specific file object (for JSON and iCAL files).
- Code improvements for readability.
Calendar.js v2.10.14 - New languages, fixes, and improvements!
Translations:
- Added translation support for Frisian (fy).
- Added translation support for Sinhalese (si).
- Added translation support for Tagalog (tl).
- Added translation support for Tamil (ta).
- Added translation support for Taiwanese (zh-tw).
- Added translation support for Telugu (te).
Fixes & Improvements:
- Removed the documentation from the main Calendar.js file (at the top), as it's not needed and involves duplicate work.
- Fixed a minor formatting issue in the "package.json" file.
- Fixed some of the arrow buttons in the display showing strange transition effects when they are changed.
- Fixed the "Timeline" view axis not staying over the top of events when scrolled.
- Improved the way default function parameters are handled.
- Fixed the tabs showing a strange transition effect when opened/closed.
Calendar.js v2.10.13 - Fix!
- Fixed a fault that prevented the "onEventClick" and "onEventDoubleClick" custom triggers from firing in in the "Timeline" view.
- Removed all documentation, as it now all available on the main website.