- Update install method to avoid
.useissue. Thank you @queengooborg.
- Upgrade package to support Vue 3. Vue 2 support can be found at
v5.4.0.
- Added
forceCookiesoption. Thank you @YannikFirre.
- Adjusting iife build
- Removing the
scopedprop from thestyletags 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
cssfile that needs to be imported along with thejs. This allows thecssto 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
elementIdproperty to allow for multiple instances ofvue-cookie-accept-declineon the same page. - Exposed a
removeCookiemethod that can be used to clear the cookie the component creates. Also exposed theinitmethod 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.