UNPKG

cookie-consent-box

Version:

A tiny, dependency-free cookie box widget that helps you to be GDPR complaint after including 8 kB of code (gzipped)

52 lines (39 loc) 1.25 kB
# Changelog ## 2.4.0 - added `cookieDomain` option - fixed font family mismatch [#11] ## 2.3.1 - added: portuguese translation (language: 'pt') ## 2.3.0 - added: italian translation (language: 'it') - added: french translation (language: 'fr') - added: option to customise notice content using `content` object - added: option to customise cookie expiration time using `expireInDays` - added: option to set href target using `linkTarget` param - tweak: hide "read more" link when `url` is not provided - tweak: remove box from the DOM after accepting it (resolves Safari iOS issue with transform recalculation on orientation change) - fixed: more robust styles to avoid conflicts with site styling ## 2.2.1 - example typo fix ## 2.2.0 - added romanian translation (language: 'ro') ## 2.1.0 - added german translation (language: 'de') ## 2.0.4 - fixed icon overlapping issue on mobile ## 2.0.1 - added `cookieKey` option - tweaked closing transition to match new design ## 2.0.0 - introduced whole new design - `brandColor` option became `backgroundColor` - added `containerWidth` option ## 1.1.0 - added responsive styles - added umd support - added `textColor` option ## 1.0.1 - Added CDN links - Fixed ES6 import ## 1.0.0 - Initial release