v2.9.0
cookieconsent v2.9.0
Added 7
- Add new CSS variables
- Allow custom script type via the data-type attribute
- Add settings_modal.cookie_table_caption option for better accessibility
- Allow custom z-index value via the --cc-z-index CSS variable
- Allow data-cc attributes on all HTML elements
- Disable transitions if prefers-reduced-motion is enabled
- Discard unsaved settings inside settings_modal
Changed 1
- Slightly reduce padding in UI
Fixed 1
- Fix focus restoration when modals are hidden
Removed 1
- Remove old IE8 specific CSS rules
From CookieConsent
New Features
- Add new CSS variables by @aforcada in https://github.com/orestbida/cookieconsent/pull/482
- Allow custom script
typevia thedata-typeattribute 0b1d14a69b980cbb3349dc8bc10a11b921a0ae4a (ref. #487) - Add
settings_modal.cookie_table_captionoption for better a11y bdfe84e161b3e6e633e9e4968a9d7558de7460a9 e1bada31aa2f39302081039aa2c13b1a9f544961 (ref. #485) - Allow custom
z-indexvalue via the--cc-z-indexcss variable 9707cceab03ce2998da6659abe80b8c1cb18403f - Allow
data-ccattributes on all HTML elements e5ab6a0eb95ab4ef728d1b61596c1490ea40471c (ref. #502) - Disable transitions if
prefers-reduced-motionis enabled fbfd628beea3361af4030e496776e70b2c4bb849 - Discard unsaved settings inside
settings_modal4ef841d355eea315e0010ee55ee6914d91a6e916 (ref. #481)
Bug Fixes
- Fix focus restoration when modals are hidden by @orestbida 004f6a3bb62e368fb1c0b0be1c0e03e491e40d6d (ref. #475)
Misc
- Small ui tweaks: slightly reduce padding ff0c83cc2786a0470116044595399d64c72797c8 1296a6b80ecc586b25800b95fc8246acbe93236d
- Fix Readme.md example:
hide_from_botsistrueby default rather thanfalseby @MaximumP in https://github.com/orestbida/cookieconsent/pull/448 - Remove old IE8 specific css rules c350c9eb53ee888dc54f22c706a2431e522ae143
- Update all dependencies 13072d42d3bb120cfe5b4487794a4003f05faf0a
- Code refactoring/cleanup
New Contributors
- @MaximumP made their first contribution in https://github.com/orestbida/cookieconsent/pull/448
Full Changelog: https://github.com/orestbida/cookieconsent/compare/v2.8.9...v2.9.0