Commit Graph

58 Commits

Author SHA1 Message Date
ecb5f30a7c Added to add custom properties to the decline button 2022-06-18 14:29:39 +02:00
Abe Tomoaki
3c17b66191
docs(readme): update line number of link to code (#152) 2022-02-10 14:21:55 +01:00
Oskar Filipowicz
541194819b
added customButtonProps (#147) 2022-02-08 17:12:46 +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
eaaf6f8797 Added custom attribute props for content and container 2021-12-19 13:30:42 +01:00
Situ
c3ba87e62f
Update cookie value (#125)
* Chore: resetCookieConsentValue function

* Chore: VISIBLE_OPTIONS enum & render update in order to use it

* Readme review
2021-09-17 18:22:12 +02:00
239001cb19 readme update ... 2021-08-11 11:19:29 +02:00
696200262e Added the (optional) scrolling effect back in as it is declared legal in some countries now. 2021-08-11 11:14:18 +02:00
26306f7490 Added the exported function getCookieConsentValue to get the cookie value from custom code 2020-12-06 19:07:50 +01:00
Tom
7f15b25e89
fixed anchor (#98) 2020-11-20 09:52:12 +01:00
Stephan Bakkelund Valois
6a5aac9cd7
Fixed typos - changed headlines to capitalized first letter. (#94)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-14-150.eu-north-1.compute.internal>
2020-11-06 16:54:27 +01:00
Gerard Brull
d0c619542d
Remove scroll on accept (#89) 2020-11-02 19:16:58 +01:00
d99d88f5b8 readme update 2020-10-14 09:03:22 +02:00
a56e806ee2
Update README.md
Added an explanation of the legacy cookie to the readme.
2020-07-06 10:12:54 +02:00
8561858333 adding some pretty badges :) 2020-06-18 18:27:49 +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
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
d1a1c39ef6 buttonWrapper added, npm updates done, changelog added and formatting 2020-05-10 11:32:06 +02:00
4a37243ec2
Updated link to inici gatsby theme
According to #62
2020-04-05 10:38:53 +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
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
David Császár
3c1d11b509
Add Scrivito Example App to projects 2019-08-02 15:38:42 +02:00
Karl Horky
cfbd647c38
Fix name of imported variable 2019-05-06 11:24:34 +02:00
ce0d7e2b0c spelling.. :) 2019-04-13 22:25:17 +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
e7a48a8694
added another project which uses the cookiebar 2019-03-16 20:40:27 +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
73271cafe1 added comicrelief to the storybook :) 2018-11-28 09:09:36 +01:00
48995d9a3c
Update README.md 2018-11-02 08:32:57 +01:00
Sean Delaney
f1fdab3bb5 Added new buttonId prop
Signed-off-by: Sean Delaney <hello@delaneymethod.com>
2018-10-19 10:38:51 +01:00
Jo Wo
c5a2632ea3 Adding a cookieValue prop (#24)
The PR will:
* Add a new prop, `cookieValue`, to component and the README. This prop let's you defined the value of the cookie, instead of always defining the hardcoded value of `true`. This is useful when integrating cookies with other cookie consent banners which need to check the same cookie value. For example we use another consent banner along side this one (on a different sub-domain) which checks that the consent cookie is set to `allowed`. 
* Tidying up the props table spacing in the README file
* Remove a few trailing white-spaces after component names and prop definition.
2018-09-27 16:22:13 +02:00
df6bd5464f added extra cookie options as requested in #23 2018-07-29 22:02:34 +02:00
3f6c47ae6d Added the ability to accept on scroll. Fixes #21 2018-07-13 22:50:43 +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
Karl Anders
dd350edfbd Correcting the lines (#10)
Thanks again Karland!
2018-06-01 09:32:51 +02:00
Karl Anders
456d5b4fa0 Improve debugging (#9)
* Improve debugging
2018-05-31 19:51:48 +02:00
1ea07ba29f styling fix by Karland, small readme changes and a version update 2018-05-30 14:10:47 +02:00
Karl Anders
30214d5411 Improve styling with flexbox (#8)
* Improve styling
2018-05-30 14:06:00 +02:00
413ef0c595 moved the example app to its own branch and added a gh-pages 2018-05-26 20:51:39 +02:00
b40e699a93 Tidied the readme and bumped the version (I want the readme to reflect on npm.js) 2018-05-22 10:07:41 +02:00