Release Notes for Calendar Control v1.1.0
Version Upgrade and Security Improvements
- Updated Library: Upgraded react-big-calendar from v0.25.0 to v1.71.1.
- This brings significant performance and compatibility improvements.
- Security Audit: An npm audit was performed to ensure no potentially harmful packages exist at the time of release.
New Features
1. Configurable Working Hours
- New Properties:
calendarMinHour
and calendarMaxHour
.
- Allows developers to define the visible range of hours on the calendar (e.g., 8 AM to 5 PM).
- Hours can be dynamically updated at runtime using Power Platform properties.
- Improves usability by focusing on relevant working hours.
2. Multiple Time Slots Per Hour
- New Property:
calendarTimeSlotCount
.
- Allows splitting each hour into multiple time slots (e.g., 2, 4, or 6 slots per hour).
- Default value: 2 slots per hour.
- Enhances calendar granularity for detailed event scheduling.
3. Configurable Step Interval
- New Property:
calendarStep
.
- Defines the number of minutes between time slots on the calendar.
- Default: 30 minutes.
- Example: Setting
calendarStep
to 15 creates 4 time slots per hour.
- Provides finer control over time slot intervals for event planning.
4. Day Event Layout Algorithm
- New Property:
calendarDayLayoutAlgorithm
.
- Available Options:
overlap
(default): Allows events to overlap.
no-overlap
: Automatically resizes events to avoid overlap.
- Helps developers control how events are visually arranged on the calendar.
5. Configurable Weekend Background Color
- New Property:
calendarWeekendBackgroundColor
.
- Sets a custom background color for weekend days.
- Updated
dayPropsGetter
:
- Dynamically applies styles for:
- Today
- Weekends
- Other conditions based on user-defined properties.
6. Selectable Calendar Toggle
- New Property:
calendarSelectable
.
- Controls whether users can select calendar slots or create new events.
- Set to
"false"
to disable user selection.
- Key Use Cases:
- In Model-driven apps: Prevents new record creation.
- In Canvas apps: Allows custom Power Fx logic to handle selection.
7. Event Selection Toggle
- New Property:
eventSelectable
.
- Allows developers to disable event selection for end users.
- Prevents default actions for event clicks when disabled.
8. Configurable Event Popup for "+X More" Items
- New Property:
calendarPopup
.
- Controls whether the "+X more" link displays a popup showing truncated events.
- Set to
"false"
to disable the popup.
- Default:
"true"
.
- Enhances control over how additional events are displayed in condensed views.
9. Keyboard Navigation Enhancements
- Event Selection via Keyboard:
- Users can trigger event selection using the Enter or Space keys.
- Accessibility improvements for keyboard users.
- Prevents event selection when
eventSelectable
is set to "false"
.
Changes:
See More
- ca6f74d added unmanaged solution for calendar
This list of changes was auto generated.