- Update install method to avoid
.use
issue. Thank you @queengooborg.
- Upgrade package to support Vue 3. Vue 2 support can be found at
v5.4.0
.
- Added
forceCookies
option. Thank you @YannikFirre.
- Adjusting iife build
- Removing the
scoped
prop from thestyle
tags to allow for proper overwrite of styles.
- Fixing scrollbar issue on Windows in Chrome and Firefox.
- Adjusted the way that events were emitted (now all snake-case). issue
- Added new way to postpone and hide the popup. issue
- Fixed Windows scrollbar issue.
- Adjusted build output - there will now be an additional
css
file that needs to be imported along with thejs
. This allows thecss
to be handled nicely by webpack or your app's build system.
- Fixed button bug on some older iPads.
- Added Codesandbox example. Updated readme.
- Added new default display option of
floating
. - Added new required
elementId
property to allow for multiple instances ofvue-cookie-accept-decline
on the same page. - Exposed a
removeCookie
method that can be used to clear the cookie the component creates. Also exposed theinit
method to allow devs to show the panel back to the user if they remove the cookie usingremoveCookie
. - Updated readme to account for these new changes.
- Added unit tests for the component.
- Decreased box-shadow opacity and adjusted border-top color.