release 7.1.1

This commit is contained in:
Rick van Lieshout 2021-12-20 17:35:57 +01:00
parent 712adf9c5b
commit 086558f463
4 changed files with 8 additions and 4 deletions

@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [[7.1.1]](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/7.1.0)
- `customContentAttributes` and `customContainerAttributes` are now optional in the typing file as they should be
## [[7.1.0](https://github.com/Mastermindzh/react-cookie-consent/releases/tag/7.1.0)]
- Added custom attribute props for content and container

4
build/index.d.ts vendored

@ -42,8 +42,8 @@ export interface CookieConsentProps {
ariaDeclineLabel?: string;
acceptOnScroll?: boolean;
acceptOnScrollPercentage?: number;
customContentAttributes: object;
customContainerAttributes: object;
customContentAttributes?: object;
customContainerAttributes?: object;
}
export default class CookieConsent extends React.Component<CookieConsentProps, {}> {}

2
package-lock.json generated

@ -1,6 +1,6 @@
{
"name": "react-cookie-consent",
"version": "7.1.0",
"version": "7.1.1",
"lockfileVersion": 2,
"requires": true,
"packages": {

@ -4,7 +4,7 @@
"name": "Rick van Lieshout",
"email": "info@rickvanlieshout.com"
},
"version": "7.1.0",
"version": "7.1.1",
"description": "A small, simple and customizable cookie consent bar for use in React applications.",
"main": "build/index.js",
"types": "build/index.d.ts",