{"_id":"@artus_engineering/react-gdpr-cookie-consent","_rev":"9-2c35624d2a3c6ff72cb19f7c09f27ec1","name":"@artus_engineering/react-gdpr-cookie-consent","dist-tags":{"latest":"1.0.7"},"versions":{"0.1.9":{"name":"@artus_engineering/react-gdpr-cookie-consent","version":"0.1.9","keywords":["gdpr","cookie","consent","react","privacy","compliance"],"author":{"name":"Yannic Schröer","email":"yannic@schroeer.tech"},"license":"ISC","_id":"@artus_engineering/react-gdpr-cookie-consent@0.1.9","maintainers":[{"name":"jonas-scholl","email":"jonas@artus-engineering.de"},{"name":"yannic.tebuto","email":"yannic@tebuto.de"}],"homepage":"https://github.com/artus-engineering/react-gdpr-consent-banner#readme","bugs":{"url":"https://github.com/artus-engineering/react-gdpr-consent-banner/issues"},"dist":{"shasum":"a9d2ab9f6c45b8ef18ec1616c5c4c2cd404a3959","tarball":"https://registry.npmjs.org/@artus_engineering/react-gdpr-cookie-consent/-/react-gdpr-cookie-consent-0.1.9.tgz","fileCount":10,"integrity":"sha512-/dku3uMkpX2y/YfkXKgubLUVIXGfOqig7/GcgYLx1O0QZm1cZs2fMA2ShvPpUeBH1I6ieMNxLMHRdINzq6tKZw==","signatures":[{"sig":"MEQCIBIhTnbnnC2NFR6B7+MD30zRjV7tkiTwT9lvdkV9O++bAiBFDf6Fi9x6+b0iL/zBwAwLZZaNcssLciNbBRQDfUBuxg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":292178},"jest":{"testEnvironment":"jsdom","setupFilesAfterEnv":["<rootDir>/src/setupTests.ts"]},"main":"dist/cjs/index.js","type":"module","babel":{"presets":["@babel/preset-env","@babel/preset-typescript",["@babel/preset-react",{"runtime":"automatic"}]]},"types":"dist/index.d.ts","module":"dist/esm/index.js","gitHead":"ed981b8a154d4b414b5e92740c0da87f5c4fa23e","scripts":{"dev":"concurrently \"rollup -c --watch\" \"cd example && npm run dev\"","lint":"eslint . --ext .ts,.tsx,.js,.jsx","test":"jest --watchAll=false","build":"rollup -c --bundleConfigAsCjs","format":"prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css}\"","dev:lib":"rollup -c --watch","prepare":"husky","lint:fix":"eslint . --ext .ts,.tsx,.js,.jsx --fix","test:all":"pnpm run test && pnpm run test:import","storybook":"storybook dev -p 6006","test:watch":"jest --watch","dev:example":"cd example && npm run dev","publish:dry":"node scripts/publish.js patch npmjs --dry-run","test:import":"node scripts/test-import.js","publish:npmjs":"node scripts/publish.js patch npmjs","test:coverage":"jest --coverage --watchAll=false","version:major":"node scripts/publish.js major npmjs --dry-run","version:minor":"node scripts/publish.js minor npmjs --dry-run","version:patch":"node scripts/publish.js patch npmjs --dry-run","publish:github":"node scripts/publish.js patch github","build-storybook":"storybook build","test:consent-hooks":"jest consentHooks.test.ts"},"_npmUser":{"name":"yannic.tebuto","email":"yannic@tebuto.de"},"repository":{"url":"git+https://github.com/artus-engineering/react-gdpr-consent-banner.git","type":"git"},"_npmVersion":"11.6.2","description":"A simple and customizable GDPR cookie consent component for React.","directories":{},"_nodeVersion":"25.2.1","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"30.2.0","husky":"9.1.7","tslib":"^2.8.1","eslint":"^9.18.0","rollup":"4.53.3","globals":"^16.5.0","postcss":"8.5.6","prettier":"^3.4.2","storybook":"10.1.4","@eslint/js":"^9.39.1","babel-jest":"30.2.0","typescript":"5.9.3","@types/jest":"30.0.0","@types/node":"24.10.1","tailwindcss":"4.1.17","@types/react":"19.2.7","autoprefixer":"10.4.22","concurrently":"^9.2.1","jest-get-type":"^29.6.3","diff-sequences":"^29.6.3","@storybook/react":"10.1.4","@types/react-dom":"19.2.3","@babel/preset-env":"7.28.5","@storybook/blocks":"8.6.14","@tailwindcss/vite":"^4.1.17","rollup-plugin-dts":"6.3.0","eslint-plugin-jest":"^29.2.1","@babel/preset-react":"7.28.5","eslint-plugin-react":"^7.37.3","@jest/test-sequencer":"30.2.0","@tailwindcss/postcss":"4.1.17","@testing-library/dom":"10.4.1","@rollup/plugin-terser":"0.4.4","@storybook/react-vite":"10.1.4","rollup-plugin-postcss":"4.0.2","@storybook/addon-links":"10.1.4","@testing-library/react":"16.3.0","eslint-config-prettier":"^10.1.8","eslint-plugin-jsx-a11y":"^6.10.2","jest-environment-jsdom":"30.2.0","rollup-plugin-analyzer":"4.0.0","@rollup/plugin-commonjs":"29.0.0","@babel/preset-typescript":"7.28.5","@chromatic-com/storybook":"4.1.3","@rollup/plugin-typescript":"12.3.0","@testing-library/jest-dom":"^6.9.1","@typescript-eslint/parser":"^8.18.2","eslint-plugin-react-hooks":"^7.0.1","@storybook/addon-essentials":"8.6.14","@storybook/addon-onboarding":"10.1.4","@testing-library/user-event":"^14.6.1","@storybook/addon-interactions":"8.6.14","@typescript-eslint/eslint-plugin":"^8.18.2","rollup-plugin-peer-deps-external":"2.2.4"},"peerDependencies":{"react":"^19","react-dom":"^19","@headlessui/react":"^2.2.7"},"_npmOperationalInternal":{"tmp":"tmp/react-gdpr-cookie-consent_0.1.9_1764946734939_0.1852892484796136","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated. Use @artus-engineering/react-gdpr-consent-banner instead."},"0.1.10":{"name":"@artus_engineering/react-gdpr-cookie-consent","version":"0.1.10","keywords":["gdpr","cookie","consent","react","privacy","compliance"],"author":{"name":"Yannic Schröer","email":"yannic@schroeer.tech"},"license":"ISC","_id":"@artus_engineering/react-gdpr-cookie-consent@0.1.10","maintainers":[{"name":"jonas-scholl","email":"jonas@artus-engineering.de"},{"name":"yannic.tebuto","email":"yannic@tebuto.de"}],"homepage":"https://github.com/artus-engineering/react-gdpr-consent-banner#readme","bugs":{"url":"https://github.com/artus-engineering/react-gdpr-consent-banner/issues"},"dist":{"shasum":"21732c46cc0e8fb95ae7a05b89583cbc053f5ca0","tarball":"https://registry.npmjs.org/@artus_engineering/react-gdpr-cookie-consent/-/react-gdpr-cookie-consent-0.1.10.tgz","fileCount":6,"integrity":"sha512-NWymOiDUjkhANBNftrp6qDeXnm5V5ORMh16ldAPkR97TKj5diCtEQQRmCcexLpT2rMGu7x0XHB5AAML7v7yKgQ==","signatures":[{"sig":"MEYCIQCCdgmRTUHglLYjkg67W/scvpefDHB+c2vd6ZfsuJyLuAIhAPTtiRCmPxmQdpPbs2T4uUje1JElIKUl2mskD5lGZ5KQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135655},"jest":{"testEnvironment":"jsdom","setupFilesAfterEnv":["<rootDir>/src/setupTests.ts"]},"main":"dist/cjs/index.js","type":"module","babel":{"presets":["@babel/preset-env","@babel/preset-typescript",["@babel/preset-react",{"runtime":"automatic"}]]},"types":"dist/index.d.ts","module":"dist/esm/index.js","gitHead":"ed981b8a154d4b414b5e92740c0da87f5c4fa23e","scripts":{"dev":"concurrently \"rollup -c --watch\" \"cd example && npm run dev\"","lint":"eslint . --ext .ts,.tsx,.js,.jsx","test":"jest --watchAll=false","build":"rollup -c --bundleConfigAsCjs","format":"prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css}\"","dev:lib":"rollup -c --watch","prepare":"husky","lint:fix":"eslint . --ext .ts,.tsx,.js,.jsx --fix","test:all":"pnpm run test && pnpm run test:import","storybook":"storybook dev -p 6006","test:watch":"jest --watch","dev:example":"cd example && npm run dev","publish:dry":"node scripts/publish.js patch npmjs --dry-run","test:import":"node scripts/test-import.js","publish:npmjs":"node scripts/publish.js patch npmjs","test:coverage":"jest --coverage --watchAll=false","version:major":"node scripts/publish.js major npmjs --dry-run","version:minor":"node scripts/publish.js minor npmjs --dry-run","version:patch":"node scripts/publish.js patch npmjs --dry-run","publish:github":"node scripts/publish.js patch github","build-storybook":"storybook build","test:consent-hooks":"jest consentHooks.test.ts"},"_npmUser":{"name":"yannic.tebuto","email":"yannic@tebuto.de"},"repository":{"url":"git+https://github.com/artus-engineering/react-gdpr-consent-banner.git","type":"git"},"_npmVersion":"11.6.2","description":"A simple and customizable GDPR cookie consent component for React.","directories":{},"_nodeVersion":"25.2.1","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"30.2.0","husky":"9.1.7","tslib":"^2.8.1","eslint":"^9.18.0","rollup":"4.53.3","globals":"^16.5.0","postcss":"8.5.6","prettier":"^3.4.2","storybook":"10.1.4","@eslint/js":"^9.39.1","babel-jest":"30.2.0","typescript":"5.9.3","@types/jest":"30.0.0","@types/node":"24.10.1","tailwindcss":"4.1.17","@types/react":"19.2.7","autoprefixer":"10.4.22","concurrently":"^9.2.1","jest-get-type":"^29.6.3","diff-sequences":"^29.6.3","@storybook/react":"10.1.4","@types/react-dom":"19.2.3","@babel/preset-env":"7.28.5","@storybook/blocks":"8.6.14","@tailwindcss/vite":"^4.1.17","rollup-plugin-dts":"6.3.0","eslint-plugin-jest":"^29.2.1","@babel/preset-react":"7.28.5","eslint-plugin-react":"^7.37.3","@jest/test-sequencer":"30.2.0","@tailwindcss/postcss":"4.1.17","@testing-library/dom":"10.4.1","@rollup/plugin-terser":"0.4.4","@storybook/react-vite":"10.1.4","rollup-plugin-postcss":"4.0.2","@storybook/addon-links":"10.1.4","@testing-library/react":"16.3.0","eslint-config-prettier":"^10.1.8","eslint-plugin-jsx-a11y":"^6.10.2","jest-environment-jsdom":"30.2.0","rollup-plugin-analyzer":"4.0.0","@rollup/plugin-commonjs":"29.0.0","@babel/preset-typescript":"7.28.5","@chromatic-com/storybook":"4.1.3","@rollup/plugin-typescript":"12.3.0","@testing-library/jest-dom":"^6.9.1","@typescript-eslint/parser":"^8.18.2","eslint-plugin-react-hooks":"^7.0.1","@storybook/addon-essentials":"8.6.14","@storybook/addon-onboarding":"10.1.4","@testing-library/user-event":"^14.6.1","@storybook/addon-interactions":"8.6.14","@typescript-eslint/eslint-plugin":"^8.18.2","rollup-plugin-peer-deps-external":"2.2.4"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-gdpr-cookie-consent_0.1.10_1764948295136_0.9417348329683131","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated. Use @artus-engineering/react-gdpr-consent-banner instead."},"0.1.11":{"name":"@artus_engineering/react-gdpr-cookie-consent","version":"0.1.11","keywords":["gdpr","cookie","consent","react","privacy","compliance"],"author":{"name":"Yannic Schröer","email":"yannic@schroeer.tech"},"license":"ISC","_id":"@artus_engineering/react-gdpr-cookie-consent@0.1.11","maintainers":[{"name":"jonas-scholl","email":"jonas@artus-engineering.de"},{"name":"yannic.tebuto","email":"yannic@tebuto.de"}],"homepage":"https://github.com/artus-engineering/react-gdpr-consent-banner#readme","bugs":{"url":"https://github.com/artus-engineering/react-gdpr-consent-banner/issues"},"dist":{"shasum":"ef7bc43e1f95ee0cc7afea0bdea12bc357b7cc7f","tarball":"https://registry.npmjs.org/@artus_engineering/react-gdpr-cookie-consent/-/react-gdpr-cookie-consent-0.1.11.tgz","fileCount":6,"integrity":"sha512-Bvju0wmHhjMaYK+CfjrGYXi9tyBUmv+6iRZhQh9VhZghr79iSSz8AK8E6PuMzs+ndlmc3oxBTQQDyqN2klLB9Q==","signatures":[{"sig":"MEQCIDmfXpeQeR2F1KqWOdKenfASJADjGcqzHpfJod5pKaXMAiAgT4nw0Rfjdxwcpxjx1fu2ivxY2rfI4rm6z5m/4o8d8A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":142773},"jest":{"testEnvironment":"jsdom","setupFilesAfterEnv":["<rootDir>/src/setupTests.ts"]},"main":"dist/cjs/index.js","type":"module","babel":{"presets":["@babel/preset-env","@babel/preset-typescript",["@babel/preset-react",{"runtime":"automatic"}]]},"types":"dist/index.d.ts","module":"dist/esm/index.js","gitHead":"ed981b8a154d4b414b5e92740c0da87f5c4fa23e","scripts":{"dev":"concurrently \"rollup -c --watch\" \"cd example && npm run dev\"","lint":"eslint . --ext .ts,.tsx,.js,.jsx","test":"jest --watchAll=false","build":"rollup -c --bundleConfigAsCjs","format":"prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css}\"","dev:lib":"rollup -c --watch","prepare":"husky","lint:fix":"eslint . --ext .ts,.tsx,.js,.jsx --fix","test:all":"pnpm run test && pnpm run test:import","storybook":"storybook dev -p 6006","test:watch":"jest --watch","dev:example":"cd example && npm run dev","publish:dry":"node scripts/publish.js patch npmjs --dry-run","test:import":"node scripts/test-import.js","publish:npmjs":"node scripts/publish.js patch npmjs","test:coverage":"jest --coverage --watchAll=false","version:major":"node scripts/publish.js major npmjs --dry-run","version:minor":"node scripts/publish.js minor npmjs --dry-run","version:patch":"node scripts/publish.js patch npmjs --dry-run","publish:github":"node scripts/publish.js patch github","build-storybook":"storybook build","test:consent-hooks":"jest consentHooks.test.ts"},"_npmUser":{"name":"yannic.tebuto","email":"yannic@tebuto.de"},"repository":{"url":"git+https://github.com/artus-engineering/react-gdpr-consent-banner.git","type":"git"},"_npmVersion":"11.6.2","description":"A simple and customizable GDPR cookie consent component for React.","directories":{},"_nodeVersion":"25.2.1","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"30.2.0","husky":"9.1.7","tslib":"^2.8.1","eslint":"^9.18.0","rollup":"4.53.3","globals":"^16.5.0","postcss":"8.5.6","prettier":"^3.4.2","storybook":"10.1.4","@eslint/js":"^9.39.1","babel-jest":"30.2.0","typescript":"5.9.3","@types/jest":"30.0.0","@types/node":"24.10.1","tailwindcss":"4.1.17","@types/react":"19.2.7","autoprefixer":"10.4.22","concurrently":"^9.2.1","jest-get-type":"^29.6.3","diff-sequences":"^29.6.3","@storybook/react":"10.1.4","@types/react-dom":"19.2.3","@babel/preset-env":"7.28.5","@storybook/blocks":"8.6.14","@tailwindcss/vite":"^4.1.17","rollup-plugin-dts":"6.3.0","eslint-plugin-jest":"^29.2.1","@babel/preset-react":"7.28.5","eslint-plugin-react":"^7.37.3","@jest/test-sequencer":"30.2.0","@tailwindcss/postcss":"4.1.17","@testing-library/dom":"10.4.1","@rollup/plugin-terser":"0.4.4","@storybook/react-vite":"10.1.4","rollup-plugin-postcss":"4.0.2","@storybook/addon-links":"10.1.4","@testing-library/react":"16.3.0","eslint-config-prettier":"^10.1.8","eslint-plugin-jsx-a11y":"^6.10.2","jest-environment-jsdom":"30.2.0","rollup-plugin-analyzer":"4.0.0","@rollup/plugin-commonjs":"29.0.0","@babel/preset-typescript":"7.28.5","@chromatic-com/storybook":"4.1.3","@rollup/plugin-typescript":"12.3.0","@testing-library/jest-dom":"^6.9.1","@typescript-eslint/parser":"^8.18.2","eslint-plugin-react-hooks":"^7.0.1","@storybook/addon-essentials":"8.6.14","@storybook/addon-onboarding":"10.1.4","@testing-library/user-event":"^14.6.1","@storybook/addon-interactions":"8.6.14","@typescript-eslint/eslint-plugin":"^8.18.2","rollup-plugin-peer-deps-external":"2.2.4"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-gdpr-cookie-consent_0.1.11_1764962213216_0.4889209376247241","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated. Use @artus-engineering/react-gdpr-consent-banner instead."},"0.1.12":{"name":"@artus_engineering/react-gdpr-cookie-consent","version":"0.1.12","keywords":["gdpr","cookie","consent","react","privacy","compliance"],"author":{"name":"Yannic Schröer","email":"yannic@schroeer.tech"},"license":"ISC","_id":"@artus_engineering/react-gdpr-cookie-consent@0.1.12","maintainers":[{"name":"jonas-scholl","email":"jonas@artus-engineering.de"},{"name":"yannic.tebuto","email":"yannic@tebuto.de"}],"homepage":"https://github.com/artus-engineering/react-gdpr-consent-banner#readme","bugs":{"url":"https://github.com/artus-engineering/react-gdpr-consent-banner/issues"},"dist":{"shasum":"e426f5a7f21deff9809b5396c189b487c452686e","tarball":"https://registry.npmjs.org/@artus_engineering/react-gdpr-cookie-consent/-/react-gdpr-cookie-consent-0.1.12.tgz","fileCount":6,"integrity":"sha512-2AhiYqAymOGKuRdwvJBaknL6nkbKrfngwPlnM7abJFObuvkYLwYd2nHpo12bYPL4D1bgA2x3hBUyKrPDekeVNQ==","signatures":[{"sig":"MEYCIQDYoDTBSVGgtqLV1FIVx6JUmitiqNS++iAEmEMtaTnqMwIhAK5LkdeisnMQQnE0ncKCG0nVSe5iRcgJzKCilWziAIIm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":147797},"jest":{"testEnvironment":"jsdom","setupFilesAfterEnv":["<rootDir>/src/setupTests.ts"]},"main":"dist/cjs/index.js","type":"module","babel":{"presets":["@babel/preset-env","@babel/preset-typescript",["@babel/preset-react",{"runtime":"automatic"}]]},"types":"dist/index.d.ts","module":"dist/esm/index.js","gitHead":"ad821c7d2702647127d140e3a60a2bd8c1e1da43","scripts":{"dev":"concurrently \"rollup -c --watch\" \"cd example && npm run dev\"","lint":"eslint . --ext .ts,.tsx,.js,.jsx","test":"jest --watchAll=false","build":"rollup -c --bundleConfigAsCjs","format":"prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css}\"","dev:lib":"rollup -c --watch","prepare":"husky","lint:fix":"eslint . --ext .ts,.tsx,.js,.jsx --fix","test:all":"pnpm run test && pnpm run test:import","storybook":"storybook dev -p 6006","test:watch":"jest --watch","dev:example":"cd example && npm run dev","publish:dry":"node scripts/publish.js patch npmjs --dry-run","test:import":"node scripts/test-import.js","publish:npmjs":"node scripts/publish.js patch npmjs","test:coverage":"jest --coverage --watchAll=false","version:major":"node scripts/publish.js major npmjs --dry-run","version:minor":"node scripts/publish.js minor npmjs --dry-run","version:patch":"node scripts/publish.js patch npmjs --dry-run","publish:github":"node scripts/publish.js patch github","build-storybook":"storybook build","test:consent-hooks":"jest consentHooks.test.ts"},"_npmUser":{"name":"yannic.tebuto","email":"yannic@tebuto.de"},"repository":{"url":"git+https://github.com/artus-engineering/react-gdpr-consent-banner.git","type":"git"},"_npmVersion":"11.6.2","description":"A simple and customizable GDPR cookie consent component for React.","directories":{},"_nodeVersion":"25.2.1","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"30.2.0","husky":"9.1.7","tslib":"^2.8.1","eslint":"^9.18.0","rollup":"4.53.3","globals":"^16.5.0","postcss":"8.5.6","prettier":"^3.4.2","storybook":"10.1.4","@eslint/js":"^9.39.1","babel-jest":"30.2.0","typescript":"5.9.3","@types/jest":"30.0.0","@types/node":"24.10.1","tailwindcss":"4.1.17","@types/react":"19.2.7","autoprefixer":"10.4.22","concurrently":"^9.2.1","jest-get-type":"^29.6.3","diff-sequences":"^29.6.3","@storybook/react":"10.1.4","@types/react-dom":"19.2.3","@babel/preset-env":"7.28.5","@storybook/blocks":"8.6.14","@tailwindcss/vite":"^4.1.17","rollup-plugin-dts":"6.3.0","eslint-plugin-jest":"^29.2.1","@babel/preset-react":"7.28.5","eslint-plugin-react":"^7.37.3","@jest/test-sequencer":"30.2.0","@tailwindcss/postcss":"4.1.17","@testing-library/dom":"10.4.1","@rollup/plugin-terser":"0.4.4","@storybook/react-vite":"10.1.4","rollup-plugin-postcss":"4.0.2","@storybook/addon-links":"10.1.4","@testing-library/react":"16.3.0","eslint-config-prettier":"^10.1.8","eslint-plugin-jsx-a11y":"^6.10.2","jest-environment-jsdom":"30.2.0","rollup-plugin-analyzer":"4.0.0","@rollup/plugin-commonjs":"29.0.0","@babel/preset-typescript":"7.28.5","@chromatic-com/storybook":"4.1.3","@rollup/plugin-typescript":"12.3.0","@testing-library/jest-dom":"^6.9.1","@typescript-eslint/parser":"^8.18.2","eslint-plugin-react-hooks":"^7.0.1","@storybook/addon-essentials":"8.6.14","@storybook/addon-onboarding":"10.1.4","@testing-library/user-event":"^14.6.1","@storybook/addon-interactions":"8.6.14","@typescript-eslint/eslint-plugin":"^8.18.2","rollup-plugin-peer-deps-external":"2.2.4"},"peerDependencies":{"react":">=18.0.0","react-dom":">=18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-gdpr-cookie-consent_0.1.12_1765194390608_0.1742375330831425","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated. Use @artus-engineering/react-gdpr-consent-banner instead."},"1.0.3":{"name":"@artus_engineering/react-gdpr-cookie-consent","version":"1.0.3","keywords":["gdpr","cookie","consent","react","privacy","compliance"],"author":{"name":"Artus Engineering GmbH"},"license":"ISC","_id":"@artus_engineering/react-gdpr-cookie-consent@1.0.3","maintainers":[{"name":"jonas-scholl","email":"jonas@artus-engineering.de"},{"name":"yannic.tebuto","email":"yannic@tebuto.de"}],"homepage":"https://github.com/artus-engineering/react-gdpr-consent-banner#readme","bugs":{"url":"https://github.com/artus-engineering/react-gdpr-consent-banner/issues"},"dist":{"shasum":"4a27f689d20625114a360f5a9cc3234aae1fb220","tarball":"https://registry.npmjs.org/@artus_engineering/react-gdpr-cookie-consent/-/react-gdpr-cookie-consent-1.0.3.tgz","fileCount":7,"integrity":"sha512-ukg1M69yvrGyFzZlFNaliUwQDpF7p5XOXLN9N9RW74gZlc0N5d1pKzn2MMw12dR2mmR0o5KDMPxVYIjT3GfKow==","signatures":[{"sig":"MEUCIQDqsqPajvca4yxN/jt2g+lVtygZbFUB/XSa6VF5nLM8qAIgE4epGhuBAdNkNuLxyic+ARvB1M8eJe0RzKKYKQritNw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":192103},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","_npmUser":{"name":"yannic.tebuto","email":"yannic@tebuto.de"},"repository":{"url":"git+https://github.com/artus-engineering/react-gdpr-consent-banner.git","type":"git"},"_npmVersion":"10.9.2","description":"A simple and customizable GDPR cookie consent component for React.","directories":{},"_nodeVersion":"22.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=19.0.0","react-dom":">=19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-gdpr-cookie-consent_1.0.3_1778151427774_0.47600279997037287","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated. Use @artus-engineering/react-gdpr-consent-banner instead."},"1.0.5":{"name":"@artus_engineering/react-gdpr-cookie-consent","version":"1.0.5","keywords":["gdpr","cookie","consent","react","privacy","compliance"],"author":{"name":"Artus Engineering GmbH"},"license":"PolyForm-Noncommercial-1.0.0","_id":"@artus_engineering/react-gdpr-cookie-consent@1.0.5","maintainers":[{"name":"jonas-scholl","email":"jonas@artus-engineering.de"},{"name":"yannic.tebuto","email":"yannic@tebuto.de"}],"homepage":"https://github.com/artus-engineering/react-gdpr-consent-banner#readme","bugs":{"url":"https://github.com/artus-engineering/react-gdpr-consent-banner/issues"},"dist":{"shasum":"cc664e1d61c35c371a0f01bae15d6199a31fe638","tarball":"https://registry.npmjs.org/@artus_engineering/react-gdpr-cookie-consent/-/react-gdpr-cookie-consent-1.0.5.tgz","fileCount":6,"integrity":"sha512-zRWaDpOskpZBWvJv8k4U9dsXfkTzbFBTOUtzDd7FPkm7PQI/41kxWOUFTidE502rMzAA3AFK9wMKSWv8R8qkRw==","signatures":[{"sig":"MEUCIQCaLMsYB6bLsz1mAjZbEMun2Sf1ah8qsQG9YkAY/LE9TgIgOHARNKzE6vttXl65Os8idQS0/CFR/3NYKFXDjyUJmR0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@artus_engineering%2freact-gdpr-cookie-consent@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":119293},"jest":{"watchman":false,"testEnvironment":"jsdom","coverageProvider":"v8","coverageDirectory":"coverage","coverageReporters":["text","text-summary","lcov","html"],"setupFilesAfterEnv":["<rootDir>/src/setupTests.ts"],"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/*.d.ts","!src/**/*.test.{ts,tsx}","!src/**/*.stories.{ts,tsx}","!src/setupTests.ts","!src/**/index.ts","!src/test-utils/**"],"testPathIgnorePatterns":["/node_modules/","<rootDir>/tests/","<rootDir>/dist/"]},"main":"dist/cjs/index.cjs","pnpm":{"ignoredBuiltDependencies":["esbuild","sharp","unrs-resolver"]},"type":"module","babel":{"presets":["@babel/preset-env","@babel/preset-typescript",["@babel/preset-react",{"runtime":"automatic"}]]},"types":"dist/index.d.ts","module":"dist/esm/index.js","gitHead":"26caa3571cadcdb8a33019bbc46bee4a6b2511ce","scripts":{"dev":"concurrently \"rollup -c --watch\" \"pnpm --dir example run dev\"","lint":"biome check .","test":"pnpm run test:unit && pnpm run test:import && pnpm run build-storybook && pnpm run test:visual","build":"rollup -c --bundleConfigAsCjs","format":"biome format --write .","dev:lib":"rollup -c --watch","prepare":"husky","lint:fix":"biome check --write .","storybook":"storybook dev -p 6006","test:unit":"jest --coverage --watchAll=false","dev:example":"pnpm --dir example run dev","test:import":"node tests/import/test-import.js","test:visual":"playwright test","build-storybook":"storybook build","build:wordpress":"node wordpress/react-gdpr-cookie-consent/esbuild.config.mjs","test:unit:watch":"jest --coverage --watch","test:visual:update":"playwright test --update-snapshots"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:162975f7-9dc7-47f6-b6d4-5bf73b8e032e"}},"repository":{"url":"git+https://github.com/artus-engineering/react-gdpr-consent-banner.git","type":"git"},"_npmVersion":"11.13.0","description":"A simple and customizable GDPR cookie consent component for React.","directories":{},"_nodeVersion":"24.16.0","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"_hasShrinkwrap":false,"packageManager":"pnpm@11.5.0","devDependencies":{"jest":"30.4.2","vite":"8.0.16","husky":"9.1.7","tslib":"^2.8.1","rollup":"4.61.1","esbuild":"0.28.0","postcss":"8.5.15","archiver":"^8.0.0","storybook":"10.4.2","babel-jest":"30.4.1","typescript":"6.0.3","@types/jest":"30.0.0","@types/node":"25.9.2","http-server":"14.1.1","tailwindcss":"4.3.0","@types/react":"19.2.17","autoprefixer":"10.5.0","concurrently":"^10.0.3","jest-get-type":"^29.6.3","@biomejs/biome":"2.4.16","diff-sequences":"^29.6.3","@playwright/test":"1.60.0","@storybook/react":"10.4.2","@types/react-dom":"19.2.3","@babel/preset-env":"7.29.7","@tailwindcss/vite":"4.3.0","rollup-plugin-dts":"6.4.1","@babel/preset-react":"7.29.7","@jest/test-sequencer":"30.4.1","@tailwindcss/postcss":"4.3.0","@testing-library/dom":"10.4.1","@rollup/plugin-terser":"1.0.0","@storybook/addon-docs":"10.4.2","@storybook/react-vite":"10.4.2","rollup-plugin-postcss":"4.0.2","@storybook/addon-links":"10.4.2","@testing-library/react":"16.3.2","jest-environment-jsdom":"30.4.1","rollup-plugin-analyzer":"4.0.0","@rollup/plugin-commonjs":"29.0.3","@babel/preset-typescript":"7.29.7","@chromatic-com/storybook":"5.2.1","baseline-browser-mapping":"^2.10.34","@rollup/plugin-typescript":"12.3.0","@testing-library/jest-dom":"^6.9.1","@testing-library/user-event":"^14.6.1","rollup-plugin-peer-deps-external":"2.2.4"},"peerDependencies":{"react":">=19.0.0","react-dom":">=19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-gdpr-cookie-consent_1.0.5_1780789099672_0.1191658846911261","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated. Use @artus-engineering/react-gdpr-consent-banner instead."},"1.0.6":{"name":"@artus_engineering/react-gdpr-cookie-consent","version":"1.0.6","keywords":["gdpr","cookie","consent","react","privacy","compliance"],"author":{"name":"Artus Engineering GmbH"},"license":"PolyForm-Noncommercial-1.0.0","_id":"@artus_engineering/react-gdpr-cookie-consent@1.0.6","maintainers":[{"name":"jonas-scholl","email":"jonas@artus-engineering.de"},{"name":"yannic.tebuto","email":"yannic@tebuto.de"}],"homepage":"https://github.com/artus-engineering/react-gdpr-consent-banner#readme","bugs":{"url":"https://github.com/artus-engineering/react-gdpr-consent-banner/issues"},"dist":{"shasum":"f0eb5b1375ab969a005b9e5f7343ef5533ce2860","tarball":"https://registry.npmjs.org/@artus_engineering/react-gdpr-cookie-consent/-/react-gdpr-cookie-consent-1.0.6.tgz","fileCount":6,"integrity":"sha512-Fb1xufj3F9nSJjHgmNLm3c8l1VpuHDO0jywX6UksEdO2KfYHxSlnNmBBTMNwPb5912qVE84w597m5w4Kv6ZjjA==","signatures":[{"sig":"MEQCIFy2Bgd+wCa1I/Yrf/sZQOc1w2EbFfBfRj20D7tPO8v6AiARi16ug7SZJdBkQo8VRTPfput9sfM1zO+q4VuZhKROwg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@artus_engineering%2freact-gdpr-cookie-consent@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":119492},"jest":{"watchman":false,"testEnvironment":"jsdom","coverageProvider":"v8","coverageDirectory":"coverage","coverageReporters":["text","text-summary","lcov","html"],"setupFilesAfterEnv":["<rootDir>/src/setupTests.ts"],"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/*.d.ts","!src/**/*.test.{ts,tsx}","!src/**/*.stories.{ts,tsx}","!src/setupTests.ts","!src/**/index.ts","!src/test-utils/**"],"testPathIgnorePatterns":["/node_modules/","<rootDir>/tests/","<rootDir>/dist/"]},"main":"dist/cjs/index.cjs","pnpm":{"ignoredBuiltDependencies":["esbuild","sharp","unrs-resolver"]},"type":"module","babel":{"presets":["@babel/preset-env","@babel/preset-typescript",["@babel/preset-react",{"runtime":"automatic"}]]},"types":"dist/index.d.ts","module":"dist/esm/index.js","gitHead":"18016435052d281ca8aac025f63e5911520245a2","scripts":{"dev":"concurrently \"rollup -c --watch\" \"pnpm --dir example run dev\"","lint":"biome check .","test":"pnpm run test:unit && pnpm run test:import && pnpm run build-storybook && pnpm run test:visual","build":"rollup -c --bundleConfigAsCjs","format":"biome format --write .","dev:lib":"rollup -c --watch","prepare":"husky","lint:fix":"biome check --write .","storybook":"storybook dev -p 6006","test:unit":"jest --coverage --watchAll=false","dev:example":"pnpm --dir example run dev","test:import":"node tests/import/test-import.js","test:visual":"playwright test","build-storybook":"storybook build","build:wordpress":"node wordpress/react-gdpr-cookie-consent/esbuild.config.mjs","test:unit:watch":"jest --coverage --watch","test:visual:update":"playwright test --update-snapshots"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:162975f7-9dc7-47f6-b6d4-5bf73b8e032e"}},"repository":{"url":"git+https://github.com/artus-engineering/react-gdpr-consent-banner.git","type":"git"},"_npmVersion":"11.16.0","description":"A simple and customizable GDPR cookie consent component for React.","directories":{},"_nodeVersion":"24.18.0","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"_hasShrinkwrap":false,"packageManager":"pnpm@11.5.0","devDependencies":{"jest":"30.4.2","vite":"8.2.0","husky":"9.1.7","tslib":"^2.8.1","rollup":"4.62.3","esbuild":"0.28.1","postcss":"8.5.25","archiver":"^8.0.0","storybook":"10.5.5","babel-jest":"30.4.1","typescript":"6.0.3","@types/jest":"30.0.0","@types/node":"26.1.2","http-server":"14.1.1","tailwindcss":"4.3.3","@types/react":"19.2.17","autoprefixer":"10.5.4","concurrently":"^10.0.3","jest-get-type":"^29.6.3","@biomejs/biome":"2.5.6","diff-sequences":"^29.6.3","@playwright/test":"1.62.0","@storybook/react":"10.5.5","@types/react-dom":"19.2.3","@babel/preset-env":"7.29.7","@tailwindcss/vite":"4.3.3","rollup-plugin-dts":"6.4.1","@babel/preset-react":"7.29.7","@jest/test-sequencer":"30.4.1","@tailwindcss/postcss":"4.3.3","@testing-library/dom":"10.4.1","@rollup/plugin-terser":"1.0.0","@storybook/addon-docs":"10.5.5","@storybook/react-vite":"10.5.5","rollup-plugin-postcss":"4.0.2","@storybook/addon-links":"10.5.5","@testing-library/react":"16.3.2","jest-environment-jsdom":"30.4.1","rollup-plugin-analyzer":"4.0.0","@rollup/plugin-commonjs":"29.0.3","@babel/preset-typescript":"7.29.7","@chromatic-com/storybook":"5.2.1","baseline-browser-mapping":"^2.10.34","@rollup/plugin-typescript":"12.3.0","@testing-library/jest-dom":"^7.0.0","@testing-library/user-event":"^14.6.1","rollup-plugin-peer-deps-external":"2.2.4"},"peerDependencies":{"react":">=19.0.0","react-dom":">=19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-gdpr-cookie-consent_1.0.6_1785619249886_0.17955150200546877","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated. Use @artus-engineering/react-gdpr-consent-banner instead."},"1.0.7":{"name":"@artus_engineering/react-gdpr-cookie-consent","version":"1.0.7","keywords":["gdpr","cookie","consent","react","privacy","compliance"],"author":{"name":"Artus Engineering GmbH"},"license":"PolyForm-Noncommercial-1.0.0","_id":"@artus_engineering/react-gdpr-cookie-consent@1.0.7","maintainers":[{"name":"jonas-scholl","email":"jonas@artus-engineering.de"},{"name":"yannic.tebuto","email":"yannic@tebuto.de"}],"homepage":"https://github.com/artus-engineering/react-gdpr-consent-banner#readme","bugs":{"url":"https://github.com/artus-engineering/react-gdpr-consent-banner/issues"},"dist":{"shasum":"b24eb1efecf4796424f275901e32060a99751928","tarball":"https://registry.npmjs.org/@artus_engineering/react-gdpr-cookie-consent/-/react-gdpr-cookie-consent-1.0.7.tgz","fileCount":6,"integrity":"sha512-G2Ohr4LpJdAQ2ozGnTQ3RojCYkARNtnOfKIokpV0q4zpHB1U3LKcqNn0/g1VwpzwbGihYDHl/v23kG7e/nZ/Lg==","signatures":[{"sig":"MEUCIGGDhP/uIUwULr/e+LGM9F6sE8nzPlQng31b0FvMZm/wAiEA9dxgCQTeVIB+ubWQK2ZoNrUGGt0cOPHP+/a94g0aSEc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@artus_engineering%2freact-gdpr-cookie-consent@1.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":119402},"jest":{"watchman":false,"testEnvironment":"jsdom","coverageProvider":"v8","coverageDirectory":"coverage","coverageReporters":["text","text-summary","lcov","html"],"setupFilesAfterEnv":["<rootDir>/src/setupTests.ts"],"collectCoverageFrom":["src/**/*.{ts,tsx}","!src/**/*.d.ts","!src/**/*.test.{ts,tsx}","!src/**/*.stories.{ts,tsx}","!src/setupTests.ts","!src/**/index.ts","!src/test-utils/**"],"testPathIgnorePatterns":["/node_modules/","<rootDir>/tests/","<rootDir>/dist/"]},"main":"dist/cjs/index.cjs","type":"module","babel":{"presets":["@babel/preset-env","@babel/preset-typescript",["@babel/preset-react",{"runtime":"automatic"}]]},"types":"dist/index.d.ts","module":"dist/esm/index.js","gitHead":"b8b70adeb30efb18982a503378ad990047de00fd","scripts":{"dev":"concurrently \"rollup -c --watch\" \"pnpm --dir example run dev\"","lint":"biome check .","test":"pnpm run test:unit && pnpm run test:import && pnpm run build-storybook && pnpm run test:visual","build":"rollup -c --bundleConfigAsCjs","format":"biome format --write .","dev:lib":"rollup -c --watch","prepare":"husky","lint:fix":"biome check --write .","storybook":"storybook dev -p 6006","test:unit":"jest --coverage --watchAll=false","dev:example":"pnpm --dir example run dev","test:import":"node tests/import/test-import.js","test:visual":"playwright test","biome:migrate":"biome migrate --write","build-storybook":"storybook build","build:wordpress":"node wordpress/react-gdpr-cookie-consent/esbuild.config.mjs","test:unit:watch":"jest --coverage --watch","test:visual:update":"playwright test --update-snapshots"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:162975f7-9dc7-47f6-b6d4-5bf73b8e032e"}},"repository":{"url":"git+https://github.com/artus-engineering/react-gdpr-consent-banner.git","type":"git"},"_npmVersion":"11.17.0","description":"A simple and customizable GDPR cookie consent component for React.","directories":{},"_nodeVersion":"24.19.0","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"_hasShrinkwrap":false,"packageManager":"pnpm@11.22.0","devDependencies":{"jest":"30.4.2","vite":"8.2.1","husky":"9.1.7","tslib":"^2.8.1","rollup":"4.62.4","esbuild":"0.28.2","postcss":"8.5.26","archiver":"^8.0.0","storybook":"10.5.9","babel-jest":"30.4.1","typescript":"6.0.3","@types/jest":"30.0.0","@types/node":"26.2.0","http-server":"14.1.1","tailwindcss":"4.3.3","@types/react":"19.2.18","autoprefixer":"10.5.4","concurrently":"^10.0.3","jest-get-type":"^29.6.3","@biomejs/biome":"2.5.9","diff-sequences":"^29.6.3","@playwright/test":"1.62.1","@storybook/react":"10.5.9","@types/react-dom":"19.2.4","@babel/preset-env":"7.29.7","@tailwindcss/vite":"4.3.3","rollup-plugin-dts":"6.5.1","@babel/preset-react":"7.29.7","@jest/test-sequencer":"30.4.1","@tailwindcss/postcss":"4.3.3","@testing-library/dom":"10.4.1","@rollup/plugin-terser":"1.0.0","@storybook/addon-docs":"10.5.9","@storybook/react-vite":"10.5.9","rollup-plugin-postcss":"4.0.2","@storybook/addon-links":"10.5.9","@testing-library/react":"16.3.2","jest-environment-jsdom":"30.4.1","rollup-plugin-analyzer":"4.0.0","@rollup/plugin-commonjs":"29.0.3","@babel/preset-typescript":"7.29.7","@chromatic-com/storybook":"5.3.0","baseline-browser-mapping":"^2.10.34","@rollup/plugin-typescript":"12.3.0","@testing-library/jest-dom":"^7.0.0","@testing-library/user-event":"^14.6.1","rollup-plugin-peer-deps-external":"2.2.4"},"peerDependencies":{"react":">=19.0.0","react-dom":">=19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-gdpr-cookie-consent_1.0.7_1787336565807_0.7792827946583398","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated. Use @artus-engineering/react-gdpr-consent-banner instead."}},"time":{"created":"2025-12-05T14:58:54.532Z","modified":"2026-08-24T22:40:09.393Z","0.1.9":"2025-12-05T14:58:55.102Z","0.1.10":"2025-12-05T15:24:55.303Z","0.1.11":"2025-12-05T19:16:53.374Z","0.1.12":"2025-12-08T11:46:30.765Z","1.0.3":"2026-05-07T10:57:07.950Z","1.0.5":"2026-06-06T23:38:19.813Z","1.0.6":"2026-08-01T21:20:50.038Z","1.0.7":"2026-08-21T18:22:45.946Z"},"bugs":{"url":"https://github.com/artus-engineering/react-gdpr-consent-banner/issues"},"author":{"name":"Artus Engineering GmbH"},"license":"PolyForm-Noncommercial-1.0.0","homepage":"https://github.com/artus-engineering/react-gdpr-consent-banner#readme","keywords":["gdpr","cookie","consent","react","privacy","compliance"],"repository":{"url":"git+https://github.com/artus-engineering/react-gdpr-consent-banner.git","type":"git"},"description":"A simple and customizable GDPR cookie consent component for React.","maintainers":[{"name":"jonas-scholl","email":"jonas@artus-engineering.de"},{"name":"yannic.tebuto","email":"yannic@tebuto.de"}],"readme":"<div align=\"center\">\n  <img alt=\"Artus Engineering\" src=\"assets/Artus-Engineering-Logos_artus-logo-groß-wort-und-bildmarke-zweizeilig-violet.svg\" width=\"400\" />\n</div>\n\n<p align=\"center\">\n  A <a href=\"https://react.dev\" target=\"_blank\">React</a> library for GDPR-compliant cookie consent banners with theming, consent gates, audit trails, and pre-built integration hooks.\n</p>\n\n<div align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@artus_engineering/react-gdpr-cookie-consent\"><img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/%40artus_engineering%2Freact-gdpr-cookie-consent\"></a>\n  <a href=\"https://github.com/artus-engineering/react-gdpr-consent-banner/blob/main/LICENSE\"><img alt=\"License\" src=\"https://img.shields.io/npm/l/%40artus_engineering%2Freact-gdpr-cookie-consent\"></a>\n  <a href=\"https://github.com/artus-engineering/react-gdpr-consent-banner/actions/workflows/branch.yaml\"><img alt=\"CI Status\" src=\"https://img.shields.io/github/actions/workflow/status/artus-engineering/react-gdpr-consent-banner/.github%2Fworkflows%2Fbranch.yaml?label=CI&logo=GitHub\"></a>\n  <a href=\"https://artus-engineering.github.io/react-gdpr-consent-banner/\"><img alt=\"Live demo\" src=\"https://img.shields.io/badge/demo-live-0ea5e9?logo=next.js&logoColor=white\"></a>\n</div>\n\n<hr />\n\n## Table of Contents <!-- omit in toc -->\n\n- [Features](#features)\n- [License](#license)\n- [Installation](#installation)\n- [Quick Start](#quick-start)\n- [Configuration](#configuration)\n- [Components](#components)\n- [Consent Hooks](#consent-hooks)\n- [Hooks](#hooks)\n- [WordPress Plugin](#wordpress-plugin)\n- [Development](#development)\n- [Releases](#releases)\n\n## Features\n\n- **Drop-in banner** — Add a full cookie consent UI with `CookieConsentProvider`\n- **Consent gates** — Block embedded third-party content until the matching provider is accepted\n- **Pre-built integrations** — Hooks for Google Analytics, Google Ads, Google Tag Manager, and Facebook Pixel\n- **Audit trail** — Optional server-side logging of consent changes\n- **Theming** — Customize colors and typography to match your brand\n- **i18n** — Built-in German and English copy with extensible provider descriptions\n- **Full TypeScript support** — Complete type definitions for configuration and hooks\n- **React 19 compatible** — Built for modern React applications\n\n## License\n\nThis software is licensed under the [PolyForm Noncommercial License 1.0.0](LICENSE). You may use, modify, and distribute it for **noncommercial purposes**.\n\n**Commercial use** (client projects, SaaS, paid products, and similar) requires a separate license. See [COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md).\n\n## Installation\n\n```bash\n# npm\nnpm install @artus_engineering/react-gdpr-cookie-consent\n\n# pnpm\npnpm add @artus_engineering/react-gdpr-cookie-consent\n\n# yarn\nyarn add @artus_engineering/react-gdpr-cookie-consent\n```\n\n**Requirements:** React 19.0.0 or higher\n\n## Quick Start\n\nWrap your application with `CookieConsentProvider` and configure your cookie providers:\n\n```tsx\nimport {\n  CookieConsentProvider,\n  createGoogleAnalyticsHook,\n} from \"@artus_engineering/react-gdpr-cookie-consent\";\n\nconst config = {\n  cookiePolicyLink: \"/privacy-policy\",\n  websiteName: \"My Website\",\n  domain: \"example.com\",\n  lang: \"enUS\",\n  providers: [\n    {\n      id: \"google-analytics\",\n      name: \"Google Analytics\",\n      category: \"Analytics\",\n      description: {\n        enUS: \"We use Google Analytics to understand how visitors use our site.\",\n        deDE: \"Wir verwenden Google Analytics, um zu verstehen, wie Besucher unsere Website nutzen.\",\n      },\n      dataProtectionLink: \"https://policies.google.com/privacy\",\n      serviceProvider: \"Google\",\n      cookies: [\n        {\n          name: \"_ga\",\n          duration: 2,\n          unit: \"years\",\n          purpose: {\n            enUS: \"Used to distinguish users\",\n            deDE: \"Wird verwendet, um Benutzer zu unterscheiden\",\n          },\n        },\n      ],\n    },\n  ],\n  consentHooks: createGoogleAnalyticsHook(\"G-XXXXXXXXXX\"),\n};\n\nexport function App({ children }: { children: React.ReactNode }) {\n  return (\n    <CookieConsentProvider config={config}>\n      {children}\n    </CookieConsentProvider>\n  );\n}\n```\n\nThe provider renders the consent banner automatically. Re-open it later with `useOpenCookieBanner()`.\n\n## Configuration\n\n`CookieConsentProvider` accepts a `config` object of type `CookieConsentBannerConfig`:\n\n| Option | Type | Description |\n| --- | --- | --- |\n| `providers` | `CookieProvider[]` | Cookie providers grouped by category (Essential, Functional, Analytics, Marketing) |\n| `websiteName` | `string` | Display name shown in the banner |\n| `domain` | `string` | Cookie domain for consent persistence |\n| `cookiePolicyLink` | `string` | Link to your privacy / cookie policy |\n| `lang` | `SupportedLanguage` | Banner locale (`enUS`, `deDE`, …) |\n| `theme` | `CookieConsentStyle` | Optional color overrides |\n| `consentHooks` | `ConsentHook[]` | Hooks that run on load, accept, or reject |\n| `audit` | `AuditConfig` | Optional endpoint for consent change logging |\n| `crossSubDomainConsent` | `string[]` | Share consent across subdomains |\n| `cookiesValidForDays` | `number` | Consent cookie lifetime (default: 365) |\n\nSet `includeCookieBanner={false}` on the provider if you only need context and hooks without rendering the banner.\n\n## Components\n\n| Component | Description |\n| --- | --- |\n| `CookieConsentProvider` | Root provider; manages consent state, hooks, and optional banner |\n| `CookieConsentBanner` | Standalone banner (usually rendered by the provider) |\n| `CookieConsentGate` | Blocks content until consent is granted for a given provider |\n| `CookiePolicy` | Renders a cookie policy table from configured providers |\n\n### Consent gate example\n\n```tsx\nimport {\n  CookieConsentGate,\n  useCookieProviders,\n} from \"@artus_engineering/react-gdpr-cookie-consent\";\n\nfunction PaymentSection() {\n  const providers = useCookieProviders();\n  const stripe = providers.find((p) => p.id === \"stripe\");\n  if (!stripe) return null;\n\n  return (\n    <CookieConsentGate cookieProvider={stripe}>\n      <EmbeddedCheckout />\n    </CookieConsentGate>\n  );\n}\n```\n\n## Consent Hooks\n\nPre-built hook factories wire common tools to consent events:\n\n| Factory | Category | Integrates |\n| --- | --- | --- |\n| `createGoogleAnalyticsHook` | Analytics | Google Analytics 4 |\n| `createGoogleAdsHook` | Marketing | Google Ads conversion tracking |\n| `createGoogleTagManagerHook` | Analytics / Marketing | Google Tag Manager with Consent Mode |\n| `createGranularGoogleTagManagerHook` | Analytics / Marketing | GTM with per-category consent signals |\n| `createFacebookPixelHook` | Marketing | Meta Pixel |\n| `createCustomToolHook` | Any | Custom onLoad / onAccept / onReject handlers |\n\n```tsx\nimport {\n  createGoogleTagManagerHook,\n  createFacebookPixelHook,\n} from \"@artus_engineering/react-gdpr-cookie-consent\";\n\nconst config = {\n  // …other config\n  consentHooks: [\n    ...createGoogleTagManagerHook(\"GTM-XXXXXXX\"),\n    ...createFacebookPixelHook(\"1234567890\"),\n  ],\n};\n```\n\n## Hooks\n\n| Hook | Description |\n| --- | --- |\n| `useCookieConsentContext` | Banner open state and provider context |\n| `useOpenCookieBanner` | Programmatically open the consent banner |\n| `useCookieProviders` | Access configured providers (optionally filtered) |\n| `useCookieState` | Read whether a provider/category has consent |\n| `useConfig` | Read the resolved banner configuration |\n| `useStyle` | Read the resolved theme styles |\n\n## WordPress Plugin\n\nA German-language WordPress plugin is included under `wordpress/react-gdpr-cookie-consent/`. Build a ready-to-upload zip with:\n\n```bash\npnpm run build:wordpress\n```\n\nThe artifact is written to `wordpress/react-gdpr-cookie-consent/dist/react-gdpr-cookie-consent.zip`.\n\n## Development\n\nClone the repository and install dependencies:\n\n```bash\npnpm install\npnpm run storybook    # local component docs\npnpm run dev          # library watch + Next.js example app (live demo: https://artus-engineering.github.io/react-gdpr-consent-banner/)\n```\n\nRun the full test suite before opening a pull request:\n\n```bash\npnpm run lint\npnpm run build\npnpm run test:all\npnpm run build-storybook\npnpm run test:visual\n```\n\nSee [AGENTS.md](AGENTS.md) for contributor conventions.\n\n## Releases\n\nPackages are published to [npm](https://www.npmjs.com/package/@artus_engineering/react-gdpr-cookie-consent) when a [GitHub Release](https://github.com/artus-engineering/react-gdpr-consent-banner/releases) is published.\n\n1. Ensure `main` is green.\n2. Create a GitHub Release with a semver tag, e.g. `v1.0.5`.\n3. The publish workflow runs tests, builds `dist/`, and publishes to npm via [Trusted Publishing](https://docs.npmjs.com/trusted-publishers/) (no npm token required).\n\nThe release tag (without the leading `v`) becomes the package version.\n\n---\n\nMaintained by [Artus Engineering GmbH](https://artus-engineering.de).\n","readmeFilename":"README.md"}