Version 0.0.9 Release Notes
New Features
- Enhance useBiteConsent with Theme Support: Added theme support to the useBiteConsent hook, allowing users to specify a theme object containing color configurations. Updated implementation to utilize theme colors for the consent banner. (Commit: af9eefd)
Enhancements
-
Refactor useBiteConsent with Options: Refactored the useBiteConsent hook to accept an options object instead of individual parameters. This improves readability and flexibility for future updates. (Commit: ce5c2f4)
-
Observe Theme Mode Change or Provide Externally: Added a
ThemeProvider
responsible for observing theme mode changes. The widget can now be configured to automatically detect changes or acceptlight
ordark
mode through the mode property. (Commit: 8cc4e9e)
Maintenance
- Dependency Management: Moved framer-motion into the dependencies list, ensuring proper handling of dependencies. (Commit: b4023b8)