uvarov-frontend / vanilla-calendar-pro

Vanilla Calendar is a versatile JavaScript date and time picker with TypeScript support, making it compatible with any JavaScript framework or library. It is designed to be lightweight, simple to use, and feature-rich without relying on external dependencies.
https://vanilla-calendar.pro
MIT License
445 stars 58 forks source link

Add multiple classes support for "CSSClasses" parameter. #260

Closed olegpix closed 1 month ago

olegpix commented 5 months ago

Closes #247

Hi, Thanks for the great plugin. I've added some improvements so that you can use the CSSClasses property with multiple classes. This is very useful for the headless ui approach, such as using a Tailwind CSS.

PS: Please uncomment the code inside the demo/main.ts file to test the improvements and the new added iconsSet parameter.

uvarov-frontend commented 2 months ago

Thanks for your input, I see you have added partial support for multiple css classes. I think we need to finish the work and transfer everything to data attributes.

uvarov-frontend commented 1 month ago

There are too many conflicts with the new code, I'll create a new branch from the current version, thanks for your input.