3e9e988e96
Fixed the return type of getCookieConsentValue in the dts file.
2021-01-27 16:34:57 +01:00
1c6f335500
release $npm_package_version
2020-12-08 18:02:10 +01:00
c656e311e6
release 6.0.0
2020-11-02 19:43:03 +01:00
Gerard Brull
d0c619542d
Remove scroll on accept ( #89 )
2020-11-02 19:16:58 +01:00
5e4e8406e6
added aria label capabilities for both buttons
2020-10-13 22:13:09 +02:00
Benedikt Bauer
5910a110ce
Add ButtonWrapperClass from v4 to type definition ( #80 )
2020-07-23 12:44:16 +02:00
Sean Teague
76ec5ba9e6
Overlay develop feature ( #71 )
...
Thanks again @Steague
2020-06-17 10:25:21 +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
mding5692
d7bfb5bfbd
Fixes typo with component config
2020-05-19 12:06:00 -04:00
mding5692
ee7ac9ed86
Adds config for samesite support
2020-05-17 12:09:53 -04: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
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
csoLs
34ac530629
Add flipButtons to ts definition
2019-05-03 10:47:55 +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
9baff03191
Revert "reverted PascalCase to camelCase, thanks again for the contribution @charlyx !"
...
This reverts commit 969da3c80986468a4bd3de6812605fdecc840ec8.
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
1822d9ad83
prettified the typescript definition file (using prettier)
2018-11-28 09:03:48 +01:00
Allan Kimmer Jensen
ef192c0e86
Fix issue pointed out in PR
...
Last commit went a little too fast it seems, this fixes:
- Spelling error
- Indentation
- Code Syntax (No interface prefix)
2018-11-27 19:50:32 +01:00
Allan Kimmer Jensen
673f4fe28f
Add TypeScript Definition
...
Add a TypeScript Definition, and "build" it with webpack to the build folder.
This will add correct typings, if you use TypeScript with React.
#27
2018-11-27 17:40:11 +01:00