Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency vanilla-calendar-pro to v3 #1732

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vanilla-calendar-pro (source) ^2.9.10 -> ^3.0.0 age adoption passing confidence

Release Notes

uvarov-frontend/vanilla-calendar-pro (vanilla-calendar-pro)

v3.0.0: 🎉

Compare Source

vanilla-calendar-preview-v3

Important note

At the moment, the current documentation on the site is provided for v2.9.10. I'm in the process of creating new documentation for the new version, but you can use migration section #​316 or continue using v2.9.10 until I update the site documentation.

This release brings a host of improvements, making Vanilla Calendar Pro more powerful, flexible, accessible, and yet lightweight for easy integration.

Key New Features and Enhancements:

  • Full Tailwind Support: Completely removed the dependency on internal CSS classes, allowing you to specify custom classes. The styles parameter now supports multiple classes, making it easier to integrate the calendar with Tailwind or other CSS libraries.

  • Customizable Weekends: Set custom weekends for each week. Use an array to define weekends (e.g., selectedWeekends: [5, 6]) to tailor the calendar to your needs.

  • Configurable Start of the Week: Added the option to select the first day of the week (firstWeekday), making it easier to localize and adjust the calendar to regional preferences.

  • Support for Custom Themes: Now you can create and apply custom themes, enabling quick adaptation of the calendar’s appearance for specific projects. A new custom theme, slate-light, has also been added.

  • Improved Month Navigation and Date Selection: Prevent automatic month switching when selecting dates from other months. It also prevents the calendar from re-rendering when you click on a date within the displayed months.

  • Accessibility and Keyboard Navigation: Accessibility has been significantly improved, with added ARIA labels, tabindex, and full keyboard navigation using arrow keys for users with disabilities.

  • Time and Date Range Selection: The Time Picker now includes options to set maximum and minimum time limits.

  • Refactored Settings API: The settings API has been fully revamped for enhanced clarity and simplicity. A new set({ ...options }, { ...resetOptions }) method is available for updating settings without overwriting the calendar’s settings object.

  • Other Improvements and Fixes:

    • Optimized styles for the calendar grid.
    • Made weekday names clickable and added event handlers for this and week numbers.
    • Added support for tooltips on date ranges with onCreateDateRangeTooltip()

Configuration

📅 Schedule: Branch creation - "every 2 weeks on friday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate forking-renovate bot added the dependencies Pull requests that update a dependency file label Nov 8, 2024
Copy link

stackblitz bot commented Nov 8, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@ghiscoding ghiscoding closed this Nov 8, 2024
Copy link

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate-bot renovate-bot deleted the renovate/vanilla-calendar-pro-3.x branch November 8, 2024 01:21
@ghiscoding
Copy link
Owner

This is a breaking change version that requires manual changes, a branch for this change was already created for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants