All notable changes to react-cookify
will be documented in this file.
- Updated dependencies
- Deleted preview text in Readme
- Changed the type of TableTypesType desc by adding JSX.Element to it
- Changed the HTML Element from p to div to match the above change
- Fixed stupid mistake with wrong version number
- Fixed type CookifyOptionsType where array was given to exact strings
- Added option to change the background overlay color for the consent
- Added correct support link to
cookify.jersyfi.dev
- Fixed table settings inside consent to skip headers
Skipped the work on the core function from v1 to v2 and included the build-in consent manager.
- Prepared for v2.0.0-beta.1 and seperated into different branches
- Added uuid, created_at, updated_at & revision to
consentObject
- Modified the
CookifyConsent
components with UI changes to the detail layer - Added paused option to pause consent mananger on a specific page
- Added floating button to open the consent manager
- Added Prettier for code formatting
- Added info and detail consent
- Added button to open the consent
- Added new settings for initialization
- Splitted into core
CookifyProvider
and consentCookifyConsent
to choose between logic and own front-end or build-in front-end
- Rolled back the consent modal and all necessary components for v2.0.0
- Prepared for branch seperation
- Modified README for more user friendly content
- Modified
actionCheckbox()
that the default consent data type can't be changed if the input field has missing disabled - Fixed props types in
CookifyInput
- Added
cookifyConsent
for starting with a ready to use consent manager that is using Tailwind CSS for styling - Added Dependencies for Styling with Tailwind CSS
- Modified Rollup for matching the Tailwind CSS styling
- Renamed
options.type
tooptions.types
to match correct wording
- Modified README to match
options.store
feature - Fixed the use of
options.saveByDefault
by removing the memoryData else statement - Fixed wrong version in README
- Modified README to provide information about improved tracking
- Fixed mutation and changed the code of
action...()
functions to handleconsentObject
changes correctly - Added
useEffect()
to listen toconsentTracking
changes for saving the memory data withsetMemoryData()
and modified theaction...()
functions with removingsetMemoryData()
and leaving onlyhandleConsentTrackingChange()
- Added Web Storage API Support for the local storage
- Added
store
inoptions
Object to choose between HTML cookies and Web Storage API - Modified
getMemoryData()
andsetMemoryData()
to match thestore
inoptions
- Modified the initialization code in a useEffect function to only render it once
- Modified
actionCheckbox()
,actionAccept()
,actionAccept()
&actionNecessary()
to fix issue of #6
- Bump @rollup/plugin-typescript from 10.0.1 to 11.0.0
- Removed
changeDataState()
and directly integrated the code inactionCheckbox()
- Removed
setMemoryDataWithChange()
and directly integrated the code inactionCheckbox()
- Added script
build:watch
for development - Modified
handleConsentObjectChange()
to fix the issue of #2
- Added
@rollup/plugin-terser
to minify and compress the code in build process - Updated
peerDependencies
and deleted dependencies for build and install process - Deleted
cjs
inrollup.config.js
for the build process - Deleted
tsc
inpackage.json
for the build process - Fixed ESLint warning with react version
- Renamed the option and inline code from
cookieDefault
totypeDefault
- Added Package js-cookie with the option to customize with
options={{ jscookie: {} }}
- Added Package
eslint
for better error & warning overview - Added Package
typescript
to require modern programming - Added Workflow for publishing as package to npm
- Added README.md with feature list to see what is supported