Commit Graph

25 Commits

Author SHA1 Message Date
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
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
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
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
36a8fae2b9 Moving to componentdidmount
ComponentWillMount is bound to be deprecated (hence UNSAFE) in the new React version so switching to componentDidMount is a solid plan.
2018-06-03 17:44:04 +02:00
Karl Anders
66d6aaa57d Default visibility should be false (#11)
* Default visibility should be false
* .prettierrc
2018-06-03 11:47:22 +02:00
26cde73055 default debug prop and new build 2018-05-31 20:00:26 +02:00
Karl Anders
456d5b4fa0 Improve debugging (#9)
* Improve debugging
2018-05-31 19:51:48 +02:00
431419c3b4 button style fix 2018-05-30 14:22:24 +02:00
Karl Anders
30214d5411 Improve styling with flexbox (#8)
* Improve styling
2018-05-30 14:06:00 +02:00
Jay Bricksoft
cb3e504be1
final fix #1 2018-05-01 13:09:51 +02:00
Jay Bricksoft
204c85f17e
fix / revert #1
`proptypes.oneOf` was wrong: we need to use `proptypes.oneOfType`
2018-05-01 11:28:09 +02:00
1d9e1a5863 fix PR, bump version, build, publish :) 2018-05-01 11:13:21 +02:00
Jay Bricksoft
a3eb463c84
allow React-Components as buttonText #1 2018-05-01 11:02:06 +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