Skip to content

Update vanilla-calendar-pro to v3.2.0 in dropdowns example - #42842

Open
imjimit07 wants to merge 2 commits into
twbs:mainfrom
imjimit07:imjimit07-cautious-fiesta
Open

Update vanilla-calendar-pro to v3.2.0 in dropdowns example#42842
imjimit07 wants to merge 2 commits into
twbs:mainfrom
imjimit07:imjimit07-cautious-fiesta

Conversation

@imjimit07

@imjimit07 imjimit07 commented Aug 13, 2026

Copy link
Copy Markdown

Description

Replace custom calendar implementation with official vanilla-calendar-pro library in the dropdowns example.

Motivation & Context

Update the dropdowns example to use the official vanilla-calendar-pro v3.2.0 library instead of a custom implementation. This improves accessibility, reduces code complexity, and ensures we're using a maintained library with proper security hashes.

Type of changes

  • Refactoring (non-breaking change)

Related issues

Closes #42836

Replace custom calendar implementation with official vanilla-calendar-pro library
- Add CSS and JS resources with SHA384 integrity hashes
- Create initialization script for light and dark theme calendars
- Remove manual calendar implementation in favor of library containers
- Both light and dark themes properly initialized
@imjimit07
imjimit07 requested a review from a team as a code owner August 13, 2026 16:51
- Fix frontmatter format: extra_css now contains only string URLs
- Add CSS integrity via direct HTML link tag with crossorigin attribute
- Remove legacy calendar implementation, keep only container divs for VCP
- Preserve working extra_js configuration with integrity hashes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v6: vanilla-calendar-pro v3.2.0

1 participant