Commit Graph

61 Commits

Author SHA1 Message Date
e96b4fe4c0 release 7.3.1 2022-02-10 14:25:18 +01:00
57dbfbbbd5 release 7.3.0 2022-02-08 17:13:48 +01:00
91d86af611 release 7.2.1 2021-12-28 12:10:14 +01:00
2a1e52b24a
Fix the TypeScript definition of some properties ( (#144)
Co-authored-by: Souchet Céline <4921914+csouchet@users.noreply.github.com>
2021-12-20 17:49:36 +01:00
775ec9db96 release 7.1.0 2021-12-19 13:30:47 +01:00
8c86599f24 release 7.0.1 2021-12-11 11:13:55 +01:00
719bb2f496
Switch Library Type from CommonJs2 =&gt; UMD ( (#135)
Co-authored-by: Peter Krieg <pkrieg2@gmail.com>
2021-12-08 17:37:44 +01:00
9a0c974b2a release 6.4.1 2021-09-23 19:16:15 +02:00
7136086602 release 6.4.0 2021-09-17 18:25:41 +02:00
a19649bbcf release $npm_package_version 2021-08-11 11:16:03 +02:00
56de263dce release $npm_package_version 2021-02-19 10:43:49 +01:00
50216eec3c release $npm_package_version 2021-01-27 16:35:17 +01:00
1c6f335500 release $npm_package_version 2020-12-08 18:02:10 +01:00
26306f7490 Added the exported function getCookieConsentValue to get the cookie value from custom code 2020-12-06 19:07:50 +01:00
c656e311e6 release 6.0.0 2020-11-02 19:43:03 +01:00
5e4e8406e6 added aria label capabilities for both buttons 2020-10-13 22:13:09 +02:00
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