Skip to content

Moonlamp 🌙

Choose a tag to compare

@theboringhumane theboringhumane released this 28 Oct 17:31
· 9 commits to master since this release

🚀 Major Upgrade Alert! 🚀

We're thrilled to announce that our trusty DateSelector component has been overhauled with a significant TypeScript makeover, and we can't wait for you to experience the goodness! 💥

Key changes:

  • TypeScript Tango: We've migrated the entire codebase to TypeScript for improved type safety and developer happiness 😊.
  • Multi-Selector Support: Now you can have multiple DateSelectors on your page without any issues 🎉.
  • Theming Superpowers: Customize colors to match your brand's style with our robust color theming system, featuring light and dark modes ✨.
  • Accessibility Awesomeness: Our component now supports keyboard navigation for users who rely on it 💻.

Other notable improvements:

  • Year Selection View Upgrade: The year selection view has been enhanced for better usability 📅.
  • Min and Max Date Constraints: You can now set constraints to ensure dates are within a valid range 🔒.
  • Destroy Method: We've added a destroy method to properly clean up instances when you're done with them 💔.

Breaking Changes Ahead! ⚠️

Note that our API has changed. When initializing the DateSelector, please pass options as an object instead of separate arguments 📝. Also, some CSS class names have been updated to follow a more consistent naming convention.

Don't worry; we've got you covered with updated documentation and code examples 👍. Update your implementations accordingly, and get ready to experience the improved performance and maintainability that comes with this new implementation 💪!