Commit Graph

131 Commits

Author SHA1 Message Date
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
666678eade
Merge pull request #31 from amytych/patch-1
Fix misplaced dependencies
2018-12-05 08:32:27 +01:00
Arek Mytych
f587c141b0
Add React to devDependencies as well 2018-12-05 07:32:30 +01:00
Arek Mytych
720063d47b
Fix misplaced dependencies
Move `react` to `peerDependencies` and  `copy-webpack-plugin` to `devDependencies`

Closes #30
2018-12-04 17:19:42 +01:00
73271cafe1 added comicrelief to the storybook :) 2018-11-28 09:09:36 +01:00
06d41df333 version bump and build 2018-11-28 09:05:35 +01:00
1822d9ad83 prettified the typescript definition file (using prettier) 2018-11-28 09:03:48 +01:00
04c553fded
Merge pull request #29 from Saturate/master
Add TypeScript Definition
2018-11-28 09:01:50 +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
48995d9a3c
Update README.md 2018-11-02 08:32:57 +01:00
cd634efa9e version bump and build 2018-10-19 14:25:16 +02:00
55267ebfce
Merge pull request #26 from delaneymethod/feature/button-id
Added new buttonId prop
2018-10-19 14:22:35 +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
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
b3d5470d8c version bump and build 2018-07-29 22:03:48 +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
38b8d752bb version bump and build 2018-07-13 22:51:24 +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
c5a4268624 version bump and build 2018-06-21 18:43:34 +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
f8ef6ca218 correcting semver (added a feature in 1.1.13 ...oops) 2018-06-07 10:28:43 +02:00
8df1e362c8 version bump and build 2018-06-07 10:23:28 +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
869e0b1d13 version bump and build 2018-06-03 18:04:56 +02:00
0fe4c4c567 version bump and build 2018-06-03 17:54:41 +02:00
Karl Anders
cbbbd0422a Remove outdated PNGs (#12) 2018-06-03 17:44:18 +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
ecdf88a7e9 new build + editorconfig 2018-06-03 11:54:58 +02:00