From 9babee4076856441d69ddf4bef1a967f9979cd4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Bastian=20Winkel?= <64214261+Jersyfi@users.noreply.github.com> Date: Thu, 16 Feb 2023 00:07:08 +0100 Subject: [PATCH] README update & default values --- README.md | 2 +- package.json | 2 +- src/components/consent/consent.tsx | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f90ec4a..be6d358 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ react-cookify is essentially a set of npm packages. npm install react-cookify ``` -To view the complete documentation, please follow the link to [Cookify Docs](https://cookify.jersyfi.dev/). +To view the complete documentation, please follow the link to [Cookify Docs v2.0](https://cookify.jersyfi.dev/). ## Framework Support & Features You can view all library languages and supported features [here](https://github.com/Jersyfi/cookify#framework-support--features). diff --git a/package.json b/package.json index 90b4da9..7ac09ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-cookify", - "version": "2.0.1-beta.1", + "version": "2.0.2-beta.1", "description": "Simple, customizable open source cookie consent banner for GDPR law", "scripts": { "lint": "eslint src/**/*.{js,jsx,ts,tsx,json}", diff --git a/src/components/consent/consent.tsx b/src/components/consent/consent.tsx index a93b4c2..9b01a24 100644 --- a/src/components/consent/consent.tsx +++ b/src/components/consent/consent.tsx @@ -52,7 +52,7 @@ export const Consent: React.FC = ({ consent }) => { }, { action: 'all', - label: 'Accept all cookies', + label: 'Accept all', schema: 'strong' } ] @@ -93,17 +93,17 @@ export const Consent: React.FC = ({ consent }) => { buttons: consent?.detail?.buttons || [ { action: 'necessary', - label: 'Necessary', + label: 'Only necessary', schema: 'week' }, { action: 'accept', - label: 'Accept', + label: 'Accept selected', schema: 'week' }, { action: 'all', - label: 'All', + label: 'Accept all', schema: 'strong' } ]