Commit Graph

186 Commits

Author SHA1 Message Date
a7fe76056e auto tagging 2020-07-23 13:02:26 +02:00
3471a72b1e version bump and build 2020-07-23 12:50:54 +02:00
777ceb8e1a 5.1.3 2020-07-23 12:50:52 +02:00
72443a758a added link to github release and releasing will now create a git tag 2020-07-23 12:50:49 +02:00
Benedikt Bauer
5910a110ce
Add ButtonWrapperClass from v4 to type definition (#80) 2020-07-23 12:44:16 +02:00
a56e806ee2
Update README.md
Added an explanation of the legacy cookie to the readme.
2020-07-06 10:12:54 +02:00
13c6909b1a align changelog with version 2020-06-28 12:00:32 +02:00
97bb1e5be0 version bump and build 2020-06-28 11:58:17 +02:00
Bram Devries
4fa6476406
Set cookie value before handling side-effects (#76) 2020-06-28 11:26:06 +02:00
8561858333 adding some pretty badges :) 2020-06-18 18:27:49 +02:00
d502d28739 version bump and build 2020-06-18 18:14:31 +02:00
47f0e98fe4 Removed the React.Fragment and introduced a more general div. By moving the declaration in code our html code is a bit nicer as well. Fixes #74 2020-06-18 18:14:17 +02:00
6dbd794b6e version bump and build 2020-06-17 10:29:15 +02:00
Sean Teague
76ec5ba9e6
Overlay develop feature (#71)
Thanks again @Steague
2020-06-17 10:25:21 +02:00
9169c132fe updated contributor info, added a TOC and installed lint-staged 2020-06-16 21:14:22 +02:00
75ff4a09e6 added husky, prettier and changed editorconfig 2020-06-16 21:09:25 +02:00
d51ea89620 version bump and build 2020-05-26 17:16:12 +02:00
e7c2b5b39a bugfix issue#68 2020-05-26 17:16:01 +02:00
22bb46981d version bump and build 2020-05-23 22:40:09 +02:00
e2fb5f3990
Merge pull request #68 from mding5692/hot-fix/samesite-support 2020-05-23 22:38:21 +02:00
a64cbc28f9 minor bugfixes for PR https://github.com/Mastermindzh/react-cookie-consent/pull/68
- extracted code which handles setting/getting cookies.
- added correct implementation of the legacy cookie fix according to the provided url
- added cookieSecurity attribute with default value based on runtime environment
- updated README
- ran builds
2020-05-23 22:36:28 +02:00
mding5692
d7bfb5bfbd Fixes typo with component config 2020-05-19 12:06:00 -04:00
mding5692
3cf103ae3a Fixes typo with js cookie samesite props 2020-05-19 12:04:54 -04:00
mding5692
a45da474b4 Adds fallback for older incompatible browsers with samesite=none 2020-05-18 13:43:39 -04:00
mding5692
ee7ac9ed86 Adds config for samesite support 2020-05-17 12:09:53 -04:00
b3bd42adae version bump and build 2020-05-11 08:35:04 +02:00
900d724ea5 made CookieConsent the default containerClass 2020-05-11 08:34:50 +02:00
d1a1c39ef6 buttonWrapper added, npm updates done, changelog added and formatting 2020-05-10 11:32:06 +02:00
62d607d813
Merge pull request #66 from iliyanyotov/typings-styled-components
Changed ButtonComponent proptype definitions to ElementType. See https://reactjs.org/docs/typechecking-with-proptypes.html for details.
2020-05-10 10:59:30 +02:00
Iliyan Yotov
c1659cef53 Adjust the typing and the prop-type definitions related to the ButtonComponent property 2020-05-08 00:32:48 +03:00
4a37243ec2
Updated link to inici gatsby theme
According to #62
2020-04-05 10:38:53 +02:00
6328f74e78 version bump and build 2019-12-20 08:14:32 +01:00
12341c9126
Fix #56 - add acceptedByScrolling to onAccept (#57)
Fix #56 - add acceptedByScrolling to onAccept
2019-12-20 08:11:56 +01:00
Matt Knight
7cc1fc3905 Fix #56 - add acceptedByScrolling to onAccept
Checking the {acceptedByScrolling} boolean property will allow you to
determine whether the acceptance was triggered by the user scrolling
(if acceptedByScrolling=true) or explicitly clicking the Accept button
(if acceptedByScrolling=false).
2019-12-19 15:39:17 -07:00
9980d42af6 version bump and build 2019-08-22 14:20:03 +02:00
7b5e6dc66f
Merge pull request #52 from agustin107/master
Add @types/js-cookie
2019-08-22 14:18:50 +02:00
Agustin N. R. Ramirez
11b55f2f8a Add @types/js-cookie 2019-08-22 09:05:31 -03:00
7e0cb2059b version bump and build 2019-08-19 19:10:34 +02:00
959412c96b fixed typings, my bad! 2019-08-19 19:10:23 +02:00
51e0c9949c
Develop (#47)
Develop
2019-08-12 18:41:55 +02:00
844b69363e Merge branch 'master' of github.com:Mastermindzh/react-cookie-consent into develop 2019-08-12 18:41:01 +02:00
8d74d5531f version bump and build 2019-08-12 18:38:59 +02:00
1c3a54bd89 no longer setting position when location is passed.
added property "setDeclineCookie" to indicate whether a cookie has to be set on decline.

fixes #45
fixes #46
2019-08-12 18:38:25 +02:00
c174baaba6
Merge pull request #44 from dcsaszar/readme
README: Add Scrivito Example App to projects
2019-08-05 08:27:46 +02:00
David Császár
3c1d11b509
Add Scrivito Example App to projects 2019-08-02 15:38:42 +02:00
f3c5bfcd83 version bump and build 2019-06-27 14:26:23 +02:00
68a8301cd5
Merge pull request #42 from a-game/fix/acceptOnScroll-forced-in-debug
Fix: Debug mode overriding acceptOnScroll property
2019-06-27 14:24:53 +02:00
Ahmad Game
f7a98c925d When running in debug mode, the scroll liteneris always added regardless of weather the acceptOnScroll was set to true or false 2019-06-27 11:30:43 +02:00
98b401dc72
Fix name of imported variable (#41)
Fix name of imported variable
2019-05-06 15:07:19 +02:00
Karl Horky
cfbd647c38
Fix name of imported variable 2019-05-06 11:24:34 +02:00