Commit Graph

214 Commits

Author SHA1 Message Date
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
5a807f884b version bump and build 2019-05-03 12:07:12 +02:00
8aef083015
Merge pull request #40 from csoLs/master
Add flipButtons to ts definition
2019-05-03 11:53:35 +02:00
csoLs
34ac530629 Add flipButtons to ts definition 2019-05-03 10:47:55 +02:00
ce0d7e2b0c spelling.. :) 2019-04-13 22:25:17 +02:00
bd54a23369 version bump and build 2019-04-13 22:17:21 +02:00
b1ba269ed3 added buttonFlipping 2019-04-13 22:17:03 +02:00
13701e0a1d changed default colours 2019-04-13 22:09:16 +02:00
3926fff424 prettified the code 2019-04-13 21:30:58 +02:00
c82911c903
Merge pull request #38 from fannaroh/master
Decline button added and bug fix for acceptOnScroll handler
2019-04-13 21:29:31 +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
f355409b87 version bump and build 2019-03-05 15:16:03 +01:00
Varmint
abe9a06399 Provide feedback the button is clickable (#37) 2019-03-05 15:11:18 +01:00
67af0cf9f4 version bump and build 2019-02-26 14:02:14 +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
49f275b3cd version bump and build 2019-02-26 13:27:39 +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
e8d4dcab3e version bump and build 2019-01-06 11:09:01 +01:00
a4c30e6a5d added the object-assign babel transformation 2019-01-06 11:08:43 +01:00
4cc521c977 version bump and build 2018-12-05 08:34:50 +01:00