UI Elements Changelog

Subscribe to this page via RSS


1.60.1Date Time Picker: bugfix for Availability pagination when overriding the query

patch September 24, 2024
Fixes an issue where a custom override of the query which returned no slots could result in an error being raised during pagination.

1.60.0Date Time Picker: new `display_slot_navigation` config option

minor July 3, 2024
A new option on the Date Time Picker’s config display_slot_navigation. Enabling this will display ‘Previous’ and ‘Next’ day buttons underneath the list of slots. More details in the display_slot_navigation documentation here

1.59.4Availability Rules bugfix for adding included calendars

patch June 20, 2024
Fixes an issue with the AvailabilityRules where clicking to add a new Included Calendar would not open the list of calendars.

1.59.2Update internal dependencies

patch June 14, 2024
Updating Jest to 29.6.2 to address a vulnerability found in previous versions of the sub-dependencies

1.59.1Update internal dependencies

minor June 12, 2024
  • Updated internal React version from 16 to 18.
  • Updated several internal dependencies.

1.58.1AvailabilityViewer: unrestricted slot selection bugfix

patch April 23, 2024

Fixes two issues with the AvailabilityViewer when in unrestricted slot selection mode:

  • Unable to select slots which overlapped available and unavailable times
  • The selection overflowing to outside of the slots selection pane

1.58.0AvailabilityViewer: unrestricted slot selection bugfix

minor March 8, 2024
Fixes an issue with the AvailabilityViewer slot_selected notifications giving incorrect availability information when in unrestricted slot selection mode.

1.57.2DateTimePicker rendering bug fix

patch February 13, 2024
Fixes an issue with the DateTimePicker wrongly displaying first dates of the next month when the view mode is set to ‘minimal_overflow’

1.57.1AgendaViewer rendering bug fix

patch February 12, 2024
Fixes an issue with the AgendaViewer where the last day of the 7 day range was not rendering events on first load.

1.56.5AvailabilityViewer rendering bug fix

patch November 15, 2023
Fixes an issue where the rendering could be broken with a combination of a short interval and a timezone with a nonzero minutes component to the offset

1.56.4SlotPicker element validation improvment

patch October 16, 2023
Improves validation for the SlotPicker element when dealing with invalid response_format value in availability query.

1.56.3Availability Viewer bugfix

patch September 1, 2023
Fixes an issue for the Availability Viewer where data was not being re-fetched when the grid expander was clicked for free_select mode with managed_availability on.

1.56.2Availability Viewer bugfix

patch July 3, 2023
Fixes an issue for the Availability Viewer where data was not being re-fetched after making use of bounds control, when the previous initial data load came empty.

1.56.1Updating Moment Timezone dependency version

patch June 23, 2023
Bumping moment-timezone dependency to version to 0.5.43 to ensure we have the latest timezone data available.

1.56.0Availability query_slots support

minor June 22, 2023
Adds support for Availability Query’s query_slots parameter to the DateTimePicker and the SlotPicker.

1.55.1Availability Rules bugfix

patch June 15, 2023
Fixes an issue in the Availability Rules element where enabling keyboard_support was causing issues with click and drag functionality.

1.55.0Date Time Picker: `date_selected` notification

minor June 12, 2023
Adds a new date_selected notification to indicate when a user has selected a date from the calendar view.

1.54.5Date Time Picker bugfix

patch May 8, 2023
Fixes an issue where certain availability queries were returning an empty slot, causing the Date Time Picker to error.

1.54.4Date Time Picker: focused day bugfix

patch May 2, 2023
Fixes an issue where the focused day is not updated when clicking on and selecting a new day.

1.54.3Agenda View: date display bugfix

patch March 24, 2023
Fix Agenda View showing incorrect date at event detail.

1.54.2Date Time Picker: add custom variable for Confirm button text

patch March 24, 2023
Adds a new colour variable to ensure you can apply a custom colour to the Confirm button. This allows you to fully set customised colours for the button without being restricted by the same text colour as other buttons.

1.54.1Availability Viewer: notification bugfix

patch February 10, 2023
Fixes an issue where given certain queries, the Element would fire a no_slots_found notification instead of no_slots_visible.

1.54.0Date Time Picker: add new `month_view_mode` config option

minor February 2, 2023
A new config option on the Date Time Picker that will allow you to hide any days outside of the current month from the calendar grid view.

1.53.1Date Time Picker: keyboard navigation bugfix

patch January 31, 2023
Fixes an issue for the Date Time Picker where navigating the calendar view with a keyboard would lose focus once navigating to the next available month.

1.53.0Date Time Picker: add new `display_slot_timezone` config option

minor January 13, 2023
A new config option on the Date Time Picker that will toggle the display of the timezone abbreviations next to the time slot information on the slot buttons and the confirm screen.

1.52.5Availability Viewer bugfix

patch December 13, 2022
Fixes an issue for the Availability Viewer where certain availability queries that returned no available slots were not firing the no_slots_found notification.

1.52.4Fixes issue when the Arabic locale is determined from browser settings

patch December 6, 2022
Fixes a bug for Arabic when the locale is determined from the browser causing an issue with the date formatting.

1.52.3Translation update for Czech

patch November 21, 2022
Update Czech translation for Date Time Picker

1.52.2Fix RTL time ranges for Western Arabic numerals

patch November 4, 2022
Fixes the formatting of time ranges of RTL locales that uses Western Arabic numerals

1.52.0Arabic and Hebrew language and direction support.

minor October 13, 2022
Supports Arabic and Hebrew languages and adds RTL layout support for all UI Elements.

1.51.1Date Time Picker: timezone fix for changes in daylight saving

patch October 12, 2022
Fixes an issue where the incorrect timezone would show in the confirmation panel when a time has been selected in the future after daylight savings transition.

1.51.0Slot Picker: improved focus management for accessibility

minor September 7, 2022
Improves the focus management when a user is navigating and selecting slots using a keyboard.

1.50.1Security patch moment-timezone

patch September 2, 2022
Bumping moment-timezone dependency to version to 0.5.35 to address a vulnerability found in previous version

1.50.0Availability Rules: improved Dutch translation

minor June 21, 2022
Improved the Dutch translation for the Save Rules button.

1.49.4Date Time Picker bugfix

patch May 13, 2022
Fixes an issue where browser focus was being forced to the first time slot button on initial load of the Date Time Picker.

1.49.3Additional language support for Date Time Picker

patch May 11, 2022
Adds support to the Date Time Picker for Welsh, Czech, Brazilian Portuguese, Polish, and Turkish.

1.49.2New locale bugfix

patch February 1, 2022
Fixes an issue where passing and using a new locale translation without setting a value for all the translation keys would cause an element to error

1.49.1Update dependencies

patch January 28, 2022
Updating several dependencies

1.49.0Smaller file size

minor January 27, 2022
Improvements to the build now produce a smaller bundle.

1.48.2Availability Rules bugfix

patch January 27, 2022
Fixes an issue where loading an availability rule with a tzid that was not included in the timezone dropdown list was causing an error.

1.48.1Availability Viewer bugfix

patch January 14, 2022
Fixes an issue where a page was not being rendered correctly if the week being displayed was not part of the query_periods.

1.48.0Date Time Picker: add new `slot_button_mode` config option

minor January 12, 2022
A new config option to enable the slot buttons to show a detailed view of the times for a sequence when using a Sequenced Availability query. More info can be found in the documentation

1.47.0Date Time Picker: `sequence_title` attribute for Sequenced Availability queries

minor January 11, 2022
The Date Time Picker Element will now accept an additional string attribute of sequence_title for each individual sequence in a Sequenced Availability query.

1.46.1Availability Rules bugfix

patch January 6, 2022
Fixes an issue where the Availability Rules Element was not generating change events when the timezone of the rule was modified.

1.46.0Pagination of API calls for Date Time Picker

minor January 4, 2022
The Date Time Picker Element will now paginate API calls to optimise the loading of availability.

1.45.0Add Timezone picker to the Availability Rule Element

minor November 25, 2021
The Availability Rule Element now shows a timezone selector to let users choose the timezone that the rules describe.

1.44.1Dependency updates

patch November 25, 2021
Updating several dependencies

1.44.0Date Time Picker: `no_slots_found` callback notification

minor November 25, 2021
The Date Time Picker will fire a no_slots_found notification when no available slots are returned from the availability query.

1.43.0Sequenced Availability support for Date Time Picker

minor November 25, 2021
Add in support for Sequenced Availability to the Date Time Picker element.

1.42.1Date Time Picker bugfixes

patch November 17, 2021
Ensure the selected_date displays available slots correctly and the no slots view displays correctly when no available slots are returned from the query at all.

1.42.0Date Time Picker: add a loading state per calendar page

minor November 10, 2021
Introduces a new loading state underneath the calendar view that will give the user indication that the current calendar view is still loading available days.

1.41.0Date Time Picker: add new `selected_date` config option

minor November 8, 2021
A new config option to enable a custom selected_date to be set. More info can be found in the documentation

1.40.2Optimised performance for the Date Time Picker

patch November 3, 2021
Refactoring the way we manage monthly state and availability

1.40.1Refactor timezone state management on Date Time Picker

patch November 1, 2021
Change the internals of how the Date Time Picker manages the state of timezones.

1.40.0External page change on Availability Viewer

minor October 20, 2021
A navigation property is included within Availability Viewer allowing a way to programmatically change pages. More info can be found in the documentation

1.39.2Date Time Picker bugfixes

patch October 13, 2021
Ensuring the timezone abbreviation displays correctly when DST changes. Includes a fix for preventing the selected day from being overridden when additional slots are still being loaded.

1.39.1Retains slot selection for Date Time Picker

patch October 8, 2021
Retains slot selection when changing timezones for Date Time Picker. For no_confirm, it will also send out a notification indicating a new slot has been selected with the new timezone.

1.39.0Add keyboard support to Availability Rules

minor September 27, 2021
A new config option to enable basic keyboard support on the Availability Rules element. Includes a fix to increase the default amount of max_results in the Date Time Picker when making a query with a response_format of slots.

1.38.1Refactor contexts within Availability Rules

patch September 22, 2021
Refactoring of the internal contexts used to manage the log notifications and internationalisation in the Availability Rules.

1.38.0Date Time Picker: reporting tzid with `slot_selected` notification

minor September 21, 2021
The tzid that is selected in the timezone dropdown will be returned as part of the slot_selected notification.

1.37.2Bugfix for Timezone offset

patch September 17, 2021
Fixes an issue where some headings had timezone offsets applied twice, making slots near midnight potentially appear under a heading for the previous day in the Date Time Picker and the Slot Picker.

1.37.1Bugfix for Date Time Picker

patch September 15, 2021
Fixes an incorrectly named CSS color variable in a backward-compatible way, and ensures the confirm screen date gets updated correctly if a new timezone is selected from the timezone dropdown.

1.37.0New notification when Availability Viewer page changes

minor September 13, 2021
Adds a new notification type, displayed_dates_changed, when the Availability Viewer page changes. This notification carries the first and last date shown.

1.36.0Options to prevent api calls on CalendarSync

minor September 10, 2021
Introduces a new optional config property called revoke_mode. More info can be found in the documentation.

1.35.4Bugfix for Date Time Picker callback log

patch September 3, 2021
Fixes an issue where the info log was not being fired if a callback was not set on the Date Time Picker.

1.35.3Refactor state management on Availability Viewer

patch August 25, 2021
Change the internals of how the Availability Viewer manages the state of selected slots.

1.35.2Bugfix for Date Time Picker no_confirm mode

patch August 23, 2021
Fixes an issue where no_confirm mode would still ask users to confirm their chosen slot

1.35.1Bugfix for Slot Picker time rendering

patch August 20, 2021
Fixes an issue from v1.35.0 where the Slot Picker time slots could render the full date instead of the time range.

1.35.0Locale Modifiers

minor August 19, 2021
A new option on the Elements for using locale modifiers. More info can be found in the documentation.

1.34.8Bugfixes for Availability Viewer

patch August 13, 2021
A fix for persisting the selected slot in no_confirm mode and preventing the element from making an invalid API call with an empty query_periods.

1.34.7Remove Calendar Sync edit options for relevant account types

patch August 10, 2021
The Calendar Sync add and edit options will be hidden for account types that cannot be edited.

1.34.6Bugfix for Date Time Picker

patch August 6, 2021
Ensure the set tzid is included in the timezone dropdown options and set to the initial selected option.

1.34.5Bugfix for Date Time Picker

patch August 4, 2021
A fix for setting the initial selected day when the initial month doesn’t have any available days. It will be set to the first available day in the following month.

1.34.4Availability Viewer month label translations

patch July 26, 2021
Ensure the month label gets translated based on the locale. Includes a minor improvement to the Date Time Picker timezone dropdown to close it when clicking off the dropdown.

1.34.3Availability Viewer overlapping slots

patch July 26, 2021
Improve the slot collision when using the Availability Viewer in multi_select mode.

1.34.2Availability Viewer overlapping slots [Unpublished]

patch July 21, 2021
Unpublished due to bug reports.

1.32.0Bookable Events support for Slot Picker

minor May 28, 2021
The Slot Picker UI Element can now display Bookable Events. More info can be found in the documentation.

1.31.0Allow use of CalendarSync within an iframe

minor May 5, 2021
CalendarSync will now load authorization flows at the top level frame, which fixes use cases when nesting the Element in an iframe. Non-iframe use cases will see no change. More info in the docs.

1.30.0Allow expansion in all Availability Viewer modes

minor April 26, 2021
Adds a new config.allow_expansion option to the Availability Viewer that can enable time-expansion arrows to be shown in all modes (previously only available in free_select mode). More info in the docs.

1.29.2Stricter AV end_time validation

patch March 31, 2021
Fixes a bug where a config.end_time of 00:00 would break if the Availability Viewer was loaded with a timezone that crossed a UTC date boundary.

1.29.1Agenda View style fixes

patch March 23, 2021
Styling fixes for the attendee list in the Agenda View element.

1.29.0Auto create new Availability Rules

minor March 19, 2021
A config option to automatically create a new Availability Rule when the rule doesn’t already exist. You can find more information in the docs.

1.28.0Exposed context for all Elements

minor March 10, 2021
A context object is returned for all UI Elements. This currently includes the tzid that is being used by that element.

1.27.1Custom periods for default Availability Rule

minor March 8, 2021
A config option to set custom periods for the default availability rules. You can find more information in the docs.

1.26.1Availability Rule calendar filtering

patch March 5, 2021
Fixes a bug where deleted calendars were still appearing in the Availability Rules calendar-selector list.

1.26.0Availability Rule Not Found Notification

minor March 2, 2021
A notification fires when an availability_rule_id is not found. You can find more information in the docs.

1.25.3Bugfix

patch February 16, 2021
Fixes a bug where the callback option would be removed after multiple calls to refresh().

1.25.2Availability Viewer stability and performance

patch February 12, 2021
More thorough validation of start_time and end_time config options for Availability Viewer, and more efficient re-rendering on hover interactions.

1.25.1Bugfix

patch February 1, 2021
Fixes issue introduced in 1.25.0 where time labels were not updating correctly on grid expansion when in free_select mode.

1.25.0Extends date-range supported by Availability Viewer queries

minor January 22, 2021
Removes the 35-days limit on query_periods, allowing the Availability Viewer to show availability for multiple months.

1.24.1Validation update for Availability Viewer

patch January 15, 2021
Allowing empty query_periods arrays for Availability Viewer availability query options.

1.24.0Refresh method for all elements

minor January 7, 2021
Adds a refresh() method to every UI Element that, when called, will reload the element and re-fetch any data.

1.23.1Security fixes and dependency updates

patch January 6, 2021
Updating build-time dependencies to remove vulnerabilities and increase stability.

1.23.0AgendaViewer modes

minor December 21, 2020
Adds modes to change the way the AgendaViewer element shows events, allowing a mix of Free/Busy blocks and managed event details.

1.22.3AvailabilityViewer confirm positioning fix

patch December 1, 2020
Fixes a bug where the confirm button would appear at the top of the week on touch-only browsers.

1.22.2Bugfix

patch November 25, 2020
Fixes a bug introduced in 1.22.1 where npm prepublish script was breaking the bundle.

1.22.1Fixing issue with npm publishing

patch November 25, 2020
Ensures npm is always given the correct path for the source file.

1.22.0AvailabilityViewer slots_visibile notification added

minor November 24, 2020
Adds a new notification when the Availability Viewer is showing some slots.

1.21.1Better validation of query_periods

minor October 22, 2020
Fixes a bug where invalid query_periods could make the Availability Viewer and Slot Picker elements to fail to render without an error notification.

1.20.13Bug fix

patch September 30, 2020
Fixes a bug introduced by v1.20.12 that caused Availability Viewer and Slot Picker elements to fail to render.

1.20.12Stability and bug fixes for Availability Rules

patch September 30, 2020
Makes the Availability Rules state-handling more efficient.

1.20.11Bug fix

patch September 29, 2020
Ensures the Availability Rules element always respects the saved time zone of a rule. Previously would override a rule’s tzid when editing the rule on a device in a time zone different to the one on the already-saved rule.

1.20.10Stability

patch September 18, 2020
Improved slot calculation for empty Availability Rules grid.

1.20.9config.mode validation

patch September 16, 2020
Fixes a bug where the Availability Viewer was able to load when provided multiple config.mode options. Valid modes are listed in the docs

1.20.8Bug fix

patch September 8, 2020
Fixes a bug in the Availability Viewer where mode.multi_select slot labels were appearing in the incorrect order when selected in non-linear order.

1.20.7Bug fix

patch August 24, 2020
Stricter handling of tzid in the Slot Picker.

1.20.6Bug fix

patch August 20, 2020
Callbacks are retained correctly when update() method is called. Fixes a bug introduced in v1.20.3.

1.20.5Bug fixes and stability

patch August 13, 2020
Improvements to layout and free_select mode for the Availability Viewer element.

1.20.3Better option parsing on update

patch August 12, 2020
Ensures correct validation of original options when updating an existing element with new options.

1.20.2query_periods validation

patch August 6, 2020
Availability Viewer loads an empty week-grid when provided an empty (invalid) query_periods option.

1.20.1Filtering profiles

patch August 4, 2020
Hide profiles from the Availability Rules calendar-selector when the profile has no calendars to show.

1.20.0Grid expansion for Availability Rules

minor July 30, 2020
Improves the UX for expanding the time-grid of the Availability Rules element. Clicking the ‘up’ or ‘down’ arrows in the time column will expand the time shown on the grid to midnight (in each direction respectively). Replaces the cog-icon-and-dropdown pattern

1.19.0Improved calendar selection for Availability Rules

minor July 22, 2020
Enhanced styling and keyboard interaction for the calendar selector in the Availablity Rules element. Groups calendars by profile, and allows toggling of all calendars within a profile.

1.18.1Fix Slot picker title when picking times in some timezones

patch July 16, 2020
Fix an inconsistency with displaying the date during time picking. It was possible to have the slot picker show the date in UTC when in timezones at offsets greater than 10 hours from UTC. The day picker was accurate but the title on the time picker would be in UTC instead of local time.

1.18.0Expandable week grid for free_select mode

minor July 9, 2020
The Availability Viewer preview grid can now be expanded to midnight (both forwards and backwards) when in free_select mode. Full details in the config mode section of the docs.

1.17.0free_select mode for Availability Viewer

minor June 19, 2020
The Availability Viewer now has a new free_select config mode that turns the Element into a query_periods generator. Full details in the config mode section of the docs.

1.16.1query_periods

patch June 17, 2020
Adds support for query_periods alongside available_periods, in line with the updated API.

1.16.0Added support for more languages

minor June 15, 2020
The UI Elements now support JA, RU, and SV locales. More details in the documentation.

1.15.0New Availability Rules notification

minor May 29, 2020
  • A no_visible_slots notification has been added to the Availability Viewer. Full details for all notification callbacks for the Availability Rules can be found in the documentation.
  • Extra detail has been added to error notifications.

1.14.0New Availability Rules notification

minor May 27, 2020
  • A no_slots_found notification has been added to the Availability Viewer. Full details for all notification callbacks for the Availability Rules can be found in the documentation.
  • Extra detail has been added to error notifications.

1.13.3Availability Viewer keyboard behaviour

patch May 26, 2020
Removing slots in the Availability Viewer from the tabindex, allowing for more practical navigation between week-views with a keyboard.

1.13.2Enhancements for Availability Rules notifications

patch May 5, 2020
The availability_rule_edited is now also fired whenever the selected calendars are changed in the UI.

1.13.1New Availability Rules notification type

minor April 30, 2020
Adding an availability_rule_edited notitification type to the Availability Rules UI Element. Full details for all notification callbacks for the Availability Rules can be found in the documentation.

1.12.1Availability Rules tzid support

patch April 24, 2020
Making tzid optional for AvailabilityRules (was previously “required”).

1.12.0SlotPicker tzid support

minor March 18, 2020
An explicit tzid option can now be passed to the SlotPicker, overriding the browser default.

1.11.1Dependency updates

patch March 5, 2020
Updating internal dependencies to latest versions, including some security updates.

1.11.0Enhanced notifications

minor January 31, 2020
  • Events that trigger a log (info, warn, or error) now also trigger a notification callback.
  • Slot Picker now triggers a no_slots_found notification when an availability query returns an empty result. Details in the docs.

1.10.0Customisable week start day for AvailabilityRules and AvailabilityViewer

minor January 24, 2020
Adds the new config.week_start_day initialisation option that enables custom week-start-days. Full details for this option can be found in the docs.

1.9.4Handle profile-revoke errors

patch January 14, 2020
Streamlined response handling when revoking profiles using the Calendar Sync UI Element. Fixes a bug where successful revoke-requests were triggering an element_token error and not updating the UI.

1.9.3Handle events with no name

patch January 8, 2020
Adds a sensible fallback for events created without a summary value (which would previously cause the Agenda View to crash).

1.9.2Availability Viewer optional config

patch January 7, 2020
config.start_time and config.end_time are reverted to being optional initialisation options (reverses a change to enhanced validation in v1.9.0 that made them required).

1.9.1Availability Rules bugfix

patch December 20, 2019
Fixes a bug introduced in 1.9.0 where unknown availability rule IDs were causing the Availability Rules UI Element to show an error rather than creating a new rule.

1.9.0Improved error handling

minor December 13, 2019
Adds greater detail to configuration errors, and introduces optional log-levels (controlled by the new config.logs parameter) allowing developers to choose the verbosity of the logs produced by the UI Elements.

1.8.1Date localization scoping

patch November 28, 2019
Making use of locales more tightly scoped to their context to prevent mutating moment global settings (for moment-timezone dependency).

1.7.21Time zone aware mock data

patch November 20, 2019
Fixes a bug where mock data was not being correctly rendered in certain time zones.

1.7.19Availability Rules day names

patch November 20, 2019
Fixes a bug where the day names were not being localized for the Availability Rules UI Element.

1.7.15Class names

patch November 14, 2019
Adds some additional prefixed class names to enable easier customization with CSS - for more details, see the customization documentation.

1.7.14Button attributes

patch October 24, 2019
Adds the type="button" attribute to all buttons within the elements’ markup, allowing UI Elements to be rendered inside html forms.

1.7.12Availability Viewer DST fixes

patch October 21, 2019

Improves handling of Daylight Saving Time (DST) switchover in the Availability Viewer element.

  • Correct time-labels for DST switchover week.
  • Sensible slot fallback for DST transition period (1am - 2am).
  • Query-cropping correctly adjusts to display-period for DST-switchover week.

1.7.11Availability Viewer bugfix

patch October 17, 2019
  • Fixes a bug where slot-selections a day either side of the visible period are still displayed after navigating between weeks.

1.7.10Availability Rules bugfixes

patch October 16, 2019
  • Correctly display rules that end at midnight.
  • Correctly calculates availability when rules don’t match provided duration. (e.g. rule starts at 09:15, but the element is displaying with a duration of 60 or 30.).

1.7.9Agenda View enhancements

patch October 10, 2019
  • Fixes a bug where scrollable ’events’ view was too tall on certain screen sizes (and therefore overflowing).
  • Performance enhancements.

1.7.8Bugfixes

patch October 8, 2019
  • Fixes a bug where Availability Viewer legend would be hidden for certain browsers.
  • Improves general cross-browser consistency.

1.7.6Style updates

patch October 2, 2019
  • Fixes overflow-bug in Availability Viewer when on small screens.
  • Availability Rules columns correctly calculate width when browser is resized.
  • Dependency version updates.

1.7.4Slot Picker response count

patch September 30, 2019
Removes the need to apply a max_results value to allow more than 20 slots per response. New default limit is 200, matching the API.

1.7.0Availability Viewer unrestricted slot selection

minor September 24, 2019
Adds a new slot_selection option that allows for unrestricted selection of slots - overriding normal availability-based behavior.

1.6.1Calendar Sync enhancement

patch September 24, 2019
When the Calendar Sync element is called with the single_profile option, the avoid_linking parameter is applied to the profile authorization URL automatically.

1.6.0Translations

minor September 18, 2019
UI Elements now support localization into the following languages: Dutch, French, German, Italian, and Spanish.

1.5.1Bug fixes

patch September 11, 2019
  • Filtering deleted calendars from calendar lists.
  • Correcting position calculation for overflow slot target.

1.5.0single_profile option for Calendar Sync (and bug fixes)

minor September 6, 2019
  • single_profile option added.
  • Better handling for empty availability responses.
  • Fix for UI issue when Availability Rules are assigned to a removed profile.

1.4.1User-editable Availability Viewer window

minor September 3, 2019

Availability Viewer:

  • bounds_control option added
  • Setting a 24hr (midnight-midnight) window is now possible
  • Improved timezone handling

1.3.6Available via NPM

patch August 30, 2019
UI Elements have been published as an npm package: cronofy-elements.

1.3.5Availability Rules calendar selector

patch August 29, 2019
Makes the All label in the included calendars box consistent with the behaviour of availability rules by removing all-selected shorthand.

1.3.2Availability Viewer slot results

patch August 23, 2019
Addresses the issue of big queries hitting the 200-slots limit by increasing the number of useable slots returned to the viewer.

1.3.0Time zone option for Availability Viewer

minor August 16, 2019

An optional tzid parameter that allows the Availability Viewer to be initialised with a specific time zone. If tzid is declared, the time zone will be displayed in the footer of the Element.

Note: using this new tzid option will cause the Availability Viewer to render in a timezone that may not match the timezone of the user’s computer. Be sure to highlight this to the user.

1.2.5Week-rounding logic

patch August 14, 2019
Fixes a bug where available periods starting on a Sunday were causing the Availability Viewer to display the preceding week (with no availability) on load.

1.2.3Smarter overrun calculation handles cross-dateline days

patch July 25, 2019

Slots that ‘overrun’ the end of the visible period are found using a moment.diff() between the end of the period and the end of the slot.

This method failed to account for days that crossed the dateline. It now does.

1.2.2Slot heights

patch July 23, 2019

Slot heights were far too high for the interval: 15; duration: 30 combo.

Now, an hour will always be 60px high, and the slots will be divided accordingly.

1.2.0callback for rules

minor July 22, 2019
  • triggered on successful ‘rules saved’ response from API

1.1.2sniffing timezone for mock data

patch July 18, 2019

1.1.1Reload

patch July 18, 2019
  • More specific docs links in errors/warnings when parsing options.

  • Storing original options ‘immutably’ so we can re-parse when update() method is called.

1.1.0Time Zone Translation

minor July 4, 2019
  • time zone display in Availability Rules footer

  • translations moved into json

  • time zone translation handler

1.0.0UI Elements v1.0.0

major June 26, 2019

The release of UI Elements v1.0.0 marks an important transition from prototype to full-fledged product. We have been able to shape the Elements into a robust suite suitable for use in any application environment.

The changes from v0 to v1 are designed to enable a more flexible and customizable set of Elements, as well as providing a solid platform for future expansion. The new config option standardizes many of the more ad-hoc options from early versions, and all style-related options have been moved to the styles option. The callback format has also been amended to support multiple notification types from a single Element, paving the way for richer and deeper integrations.

Find out more in the Upgrade Guide, including the upgrade steps for those using older versions.