Commit Graph

45 Commits

Author SHA1 Message Date
cb93ae6387 set default SameSite attribute to "lax" 2020-10-04 09:51:53 +02:00
3471a72b1e version bump and build 2020-07-23 12:50:54 +02:00
97bb1e5be0 version bump and build 2020-06-28 11:58:17 +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
e7c2b5b39a bugfix issue#68 2020-05-26 17:16:01 +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
b3bd42adae version bump and build 2020-05-11 08:35:04 +02:00
d1a1c39ef6 buttonWrapper added, npm updates done, changelog added and formatting 2020-05-10 11:32:06 +02: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
959412c96b fixed typings, my bad! 2019-08-19 19:10:23 +02:00
844b69363e Merge branch 'master' of github.com:Mastermindzh/react-cookie-consent into develop 2019-08-12 18:41:01 +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
f3c5bfcd83 version bump and build 2019-06-27 14:26:23 +02:00
5a807f884b version bump and build 2019-05-03 12:07:12 +02:00
b1ba269ed3 added buttonFlipping 2019-04-13 22:17:03 +02:00
Fannar Orn Hermannsson
351b0e1233 Decline button added and bug fix for onAccept being triggered on scroll to accept when a cookie was already created 2019-04-05 22:25:15 +00:00
f355409b87 version bump and build 2019-03-05 15:16:03 +01:00
9baff03191 Revert "reverted PascalCase to camelCase, thanks again for the contribution @charlyx !"
This reverts commit 969da3c809.
2019-02-26 14:01:17 +01:00
969da3c809 reverted PascalCase to camelCase, thanks again for the contribution @charlyx ! 2019-02-26 13:27:13 +01:00
Charles-Henri GUERIN
ee24754fc8 Add prop ButtonComponent (#36)
*  Add prop buttonComponent

Allow users to use their own button component

* 🐛 Make it work as expected

* 📝 Add ButtonComponent to the Props table

* ✏️ Capitalize ButtonComponent in index.d.ts
2019-02-26 13:23:17 +01:00
0a5e4ea440 added the disableButtonStyles property 2019-02-04 20:38:46 +01:00
a4c30e6a5d added the object-assign babel transformation 2019-01-06 11:08:43 +01:00
06d41df333 version bump and build 2018-11-28 09:05:35 +01:00
cd634efa9e version bump and build 2018-10-19 14:25:16 +02:00
Sean Delaney
f1fdab3bb5 Added new buttonId prop
Signed-off-by: Sean Delaney <hello@delaneymethod.com>
2018-10-19 10:38:51 +01:00
e6120e4f24 version bump and build 2018-09-27 16:24:36 +02:00
df6bd5464f added extra cookie options as requested in #23 2018-07-29 22:02:34 +02:00
27833943f0 version bump and build 2018-07-28 13:24:44 +02:00
3f6c47ae6d Added the ability to accept on scroll. Fixes #21 2018-07-13 22:50:43 +02:00
ace3cf2886 version bump and build 2018-06-25 22:36:26 +02:00
Dimitris Fasoulas
97133f2c80 Auto hide (#19) 2018-06-25 22:35:16 +02:00
Dimitris Fasoulas
2d1501457b Allow location none, to disable automatic location styling. Closes gi… (#17)
Fixes #16 

Allows location property to receive string `none` which will disable automatic placement of the component.
2018-06-21 18:33:53 +02:00
d601613b5a implemented issue #15 2018-06-07 11:32:43 +02:00
55f62ee575 added an expires prop, idea inspired by aleplusplus (https://github.com/Mastermindzh/react-cookie-consent/pull/14) 2018-06-07 10:09:05 +02:00
0fe4c4c567 version bump and build 2018-06-03 17:54:41 +02:00
ecdf88a7e9 new build + editorconfig 2018-06-03 11:54:58 +02:00
26cde73055 default debug prop and new build 2018-05-31 20:00:26 +02:00
8bf481fe59 v 1.1.0 2018-05-30 14:25:35 +02:00
1ea07ba29f styling fix by Karland, small readme changes and a version update 2018-05-30 14:10:47 +02:00
249cb44461 versionbump on npm.js 2018-05-01 13:21:47 +02:00
28de87fef0 version bump, added npm version to the example and published as 1.0.6 to npm 2018-05-01 11:37:27 +02:00
1d9e1a5863 fix PR, bump version, build, publish :) 2018-05-01 11:13:21 +02:00
8734798a3d small update to include a class on the cookieconsent bar 2018-02-02 19:41:50 +01:00
281f0a2bda cookie consent bar :) 2018-02-02 19:09:23 +01:00