{"_id":"@cuban-engineer/react-cookies-consent","_rev":"5-21ebcecb469a74e2d6803d2c46dd0616","name":"@cuban-engineer/react-cookies-consent","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.1":{"name":"@cuban-engineer/react-cookies-consent","version":"1.0.1","description":"React component for the managing the user awareness regarding cookies usage","main":"lib/index.js","module":"lib/index.es.js","jsnext:main":"lib/index.es.js","scripts":{"clean":"rimraf lib","test":"jest","test:coverage":"jest --coverage","lint":"eslint src/","lint:report":"eslint -f json -o eslint/report.json src/","build":"rollup -c","build:watch":"rollup -c -w","publish":"--access public","prepublish":"npm run clean && npm run test && npm run lint && npm run build"},"repository":{"type":"git","url":"git+https://github.com/aleph-engineering/react-cookies-consent.git"},"keywords":["react"],"author":"","license":"MIT","peerDependencies":{"prop-types":"^15.5.4","react":"^15.0.0 || ^16.0.0","react-dom":"^15.0.0 || ^16.0.0"},"dependencies":{"js-cookie":"^2.2.0"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-proposal-class-properties":"^7.1.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","enzyme":"^3.7.0","enzyme-adapter-react-16":"^1.6.0","eslint":"^5.6.1","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","husky":"^1.1.1","jest":"^23.6.0","jest-environment-jsdom":"^23.4.0","prettier":"^1.14.3","prop-types":"^15.6.2","react":"^16.5.2","react-dom":"^16.5.2","regenerator-runtime":"^0.12.1","rimraf":"^2.6.2","rollup":"^0.66.5","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-eslint":"^5.0.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-peer-deps-external":"^2.2.0","rollup-plugin-postcss":"^1.6.2"},"gitHead":"35937c3361bef427afd443612bca0e44441086af","bugs":{"url":"https://github.com/aleph-engineering/react-cookies-consent/issues"},"homepage":"https://github.com/aleph-engineering/react-cookies-consent#readme","_id":"@cuban-engineer/react-cookies-consent@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"ygpedroso","email":"partner@aleph.engineering"},"dist":{"integrity":"sha512-jbz+kAGvNJJuVGj9yn+EerpTxN0CErmqblsfzwNVslxdQ9nguo5rZ02L3tWTF5lVOqGVMRstoosPU/8Kxkzkrg==","shasum":"68bac43d054fba912e495c9a425107edb3be3da4","tarball":"https://registry.npmjs.org/@cuban-engineer/react-cookies-consent/-/react-cookies-consent-1.0.1.tgz","fileCount":11,"unpackedSize":66993,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvmnJCRA9TVsSAnZWagAAtHgP/iOOE2jBQE3S0udblK8f\nBDFmWb5SN2N1h1319WhBIhwYsCu7eysgft8SviWlu61g0A9DLboNGxKaziVW\n910XXzCqvTE3TPzU6SkR5tJTj4w3WBLV5qlIStPCtQh+ZKy25FiUb8JM5ONG\nxQJActSLMTk8FPcHwH9v3fh1T2CKJL/PeZkUVR1Mhfq+dKHVuTs9gVrnVMx0\nwyiSk3iUX4FUN93YBSRxeJOXuMJUX/0F8w0Zrz/tcmT2AQGsjWuOQn1S/Nq/\n6fvPMd/H2RT0BpUl+winLlLgpFIV1/yFxXhhDNzrh0blcIRbWELDb2SAerr3\nzGZMWySpUsHh7vDDpx4nl34raLSZ4JE0wf8E2JegbDoSAg5XHXJ8iE4EsKo7\npquyoVIN8eV7lrj5Pb4xSkTHRiDTVCfCcA4l9sag4/niEs84jTD5Gax55Hyd\noitaMXBqt+uyWL6mHJFuhzYHqKikbJTLWb8i/XKNWPsaFv3/ewzdmq7KSTE6\nPbNzzz9+DRVKh0NWD1EKScrFMoJZKPdDlbNjWZ9uXzSPTnbMY6Gb4HTu+ZdR\ny7LS84AqsJgXj5rg52+CjQ4B8zVTjHD/DhdMm8MtyNq6uWbIRxA4l03Epocs\n8I/iU3tKb0NvYUrR+T8WReoxiXO18z2UkGlMjGVb77LBXfSbClQ4xaa8cedB\nbHel\r\n=Ezjj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTFgqMIIHj+wRYZBSTopbuJyzonk+vCL6AeAmMsZb7jQIhAOErWK3aqSZP99IiOk9lbuL8uj4xlFQ1zxUbgqQ/yT0j"}]},"maintainers":[{"name":"aleph.developer","email":"aleph.developer+npm@aleph.engineering"},{"name":"jjyong","email":"jjyong666@gmail.com"},{"name":"refucktor","email":"hmvalcarcel@gmail.com"},{"name":"ygpedroso","email":"partner@aleph.engineering"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-cookies-consent_1.0.1_1539205576725_0.6943889535952192"},"_hasShrinkwrap":false},"1.0.2":{"name":"@cuban-engineer/react-cookies-consent","version":"1.0.2","description":"React component for the managing the user awareness regarding cookies usage","main":"lib/index.js","module":"lib/index.es.js","jsnext:main":"lib/index.es.js","scripts":{"clean":"rimraf lib","test":"jest","test:coverage":"jest --coverage","lint":"eslint src/","lint:report":"eslint -f json -o eslint/report.json src/","build":"rollup -c","build:watch":"rollup -c -w","publish":"--access public","prepublish":"npm run clean && npm run test && npm run lint && npm run build"},"repository":{"type":"git","url":"git+https://github.com/aleph-engineering/react-cookies-consent.git"},"keywords":["react"],"author":"","license":"MIT","peerDependencies":{"prop-types":"^15.5.4","react":"^15.0.0 || ^16.0.0","react-dom":"^15.0.0 || ^16.0.0"},"dependencies":{"js-cookie":"^2.2.0"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-proposal-class-properties":"^7.1.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","enzyme":"^3.7.0","enzyme-adapter-react-16":"^1.6.0","eslint":"^5.6.1","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","husky":"^1.1.1","jest":"^23.6.0","jest-environment-jsdom":"^23.4.0","prettier":"^1.14.3","prop-types":"^15.6.2","react":"^16.5.2","react-dom":"^16.5.2","regenerator-runtime":"^0.12.1","rimraf":"^2.6.2","rollup":"^0.66.5","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-eslint":"^5.0.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-peer-deps-external":"^2.2.0","rollup-plugin-postcss":"^1.6.2"},"gitHead":"547e5dc33e88ffe99a8b5b509b88c60291c6f585","bugs":{"url":"https://github.com/aleph-engineering/react-cookies-consent/issues"},"homepage":"https://github.com/aleph-engineering/react-cookies-consent#readme","_id":"@cuban-engineer/react-cookies-consent@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"ygpedroso","email":"partner@aleph.engineering"},"dist":{"integrity":"sha512-crTOP9MGSs7DAW/K6GT0+QMErbtt3WUatd6d1hq/j4EpRuguIk1CzaKFyL89WcTSbO/cEfoHlGbFFIiWxIV7EA==","shasum":"7d62ced46f2a24ccf584f19b516c0569d3aed148","tarball":"https://registry.npmjs.org/@cuban-engineer/react-cookies-consent/-/react-cookies-consent-1.0.2.tgz","fileCount":10,"unpackedSize":59653,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvmr0CRA9TVsSAnZWagAA2IMP/01lGTfL3SMQEFxhWSTD\nggAQF3Ni03f9gJFGvtGkBsWkmWfqjwNA6OL8foiARKd20MKwVnE+GxgOVThx\nb2/OUFRpV0mXCXgxs4+LgEFOdF04RNLyRRwomAQ0YmG5sypUuUBGmDRpXf63\n3Ll5V03S9jTbR8WbMuj0SaDPK0xm+VVOloNc6K7XGfu4rrGyeKnlXJz1Voa6\nwSSbb17dpa00YF5aIfkT2+DzB/vQsb3NEy0F2DGUaAuRHLH1qqb3KiYxDCPo\nfMLJEZdF71qau88G3NKEW57UnIqEzOYqRGa8L7wt5xSLk6O1kznJop/i3eiM\n5dPRqJ4GBoOhbHuwP0jE1lnYS/8HSciD8ILpSO6jES8u4unbNuDa3vgJDCUn\n3ESPGhgWNU7E8oaqQDGA0xiTJQ6kBhyT7zoeQ5/GXBqSrVRIbQ0OujHtng9t\nn1EqvYiquVcvJIhqxPM9JnXmuCpWQU90HSf4e98k2XKGiN1FSDGzk346hDoB\nrUF7vXZ/vySHjMy6/WrcUHq8rtGhJ0g1f5tme53d/vynR/dg/whQpW1hj5Q4\njHSb8W7g0iC6qL9rQJ6f8KdVR+e7/C+DvLtRUzr1luIBgIEZRZqhvXjAfpgS\n3uSa/oFgrP4y4wOeTPPKbheQxVuhqtjIarCoLNgSEXrAqIxvjAhk3lIufQH/\nHS4k\r\n=hq81\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBZWXXZ5W//QL50YWrJO3bJL2TVuBkHpcE7+RMOeCHFfAiBYpiFMvotS9weEsQcLwKxft0MuCbYCd4cnoxgWlIoIxw=="}]},"maintainers":[{"name":"aleph.developer","email":"aleph.developer+npm@aleph.engineering"},{"name":"jjyong","email":"jjyong666@gmail.com"},{"name":"refucktor","email":"hmvalcarcel@gmail.com"},{"name":"ygpedroso","email":"partner@aleph.engineering"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-cookies-consent_1.0.2_1539205876067_0.7140553784794612"},"_hasShrinkwrap":false},"1.0.3":{"name":"@cuban-engineer/react-cookies-consent","version":"1.0.3","description":"React component for the managing the user awareness regarding cookies usage","main":"lib/index.js","module":"lib/index.es.js","jsnext:main":"lib/index.es.js","scripts":{"clean":"rimraf lib","test":"jest","test:coverage":"jest --coverage","lint":"eslint src/","lint:report":"eslint -f json -o eslint/report.json src/","build":"rollup -c","build:watch":"rollup -c -w","publish":"--access public","prepublish":"npm run clean && npm run test && npm run lint && npm run build"},"repository":{"type":"git","url":"git+https://github.com/aleph-engineering/react-cookies-consent.git"},"keywords":["react"],"author":"","license":"MIT","peerDependencies":{"prop-types":"^15.5.4","react":"^15.0.0 || ^16.0.0","react-dom":"^15.0.0 || ^16.0.0"},"dependencies":{"js-cookie":"^2.2.0"},"devDependencies":{"@babel/core":"^7.1.2","@babel/plugin-proposal-class-properties":"^7.1.0","@babel/plugin-proposal-object-rest-spread":"^7.0.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","enzyme":"^3.7.0","enzyme-adapter-react-16":"^1.6.0","eslint":"^5.6.1","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^3.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-prettier":"^3.0.0","eslint-plugin-react":"^7.11.1","husky":"^1.1.1","jest":"^23.6.0","jest-environment-jsdom":"^23.4.0","prettier":"^1.14.3","prop-types":"^15.6.2","react":"^16.5.2","react-dom":"^16.5.2","regenerator-runtime":"^0.12.1","rimraf":"^2.6.2","rollup":"^0.66.5","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-eslint":"^5.0.0","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-peer-deps-external":"^2.2.0","rollup-plugin-postcss":"^1.6.2"},"gitHead":"59c258d826085efe5d6220491749a34ed6762d42","bugs":{"url":"https://github.com/aleph-engineering/react-cookies-consent/issues"},"homepage":"https://github.com/aleph-engineering/react-cookies-consent#readme","_id":"@cuban-engineer/react-cookies-consent@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"ygpedroso2503","email":"partner@aleph.engineering"},"dist":{"integrity":"sha512-RECiIZpV6LHHM+X5kuVKXzrrhgEJJrtw7jkxOepeyxU2gl/cqZv8ZBoDgbdx2q9kfFBzrSwFEa+TUZiDGRxjmA==","shasum":"db98a2d63085df3eb053154aaaa0b0e4bece9e2c","tarball":"https://registry.npmjs.org/@cuban-engineer/react-cookies-consent/-/react-cookies-consent-1.0.3.tgz","fileCount":10,"unpackedSize":63755,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPnX2CRA9TVsSAnZWagAAyKoP/1emlj7WQM1+pGPuJ4Qd\nEOJLvhAzvDAU2m0Vr84XFyx3H391BVpnQUmSbkeaqB0FBYhv9JEQtRBJmBw5\noZiy+Sr4hbTMh/fGMVRXm9L074CEnDWCR7CGYcQuTj9XbC1qktZDd5hxA+iJ\ndAJ+NxwxcMsMqkj4i/MB+fo0jzqTRyNawhqgU04gp5Td4FPm9V80q8C7xqsU\n6WUIxfXEHLisA46ay5nh+UxcBSm7Gf25mI7NXihElMTKKXydddtIfyhoinpt\nJ0jK5kNq5Awn2TlfShs0Gwg0T9ezfAg0sGDS6AcpdP2QgDp6xQ4eOZ/MOKrh\nFbtCbQ/xHjyJd4iBD3Mhtxgdtje0mp30D22aQrXi0+S6Cl+eG8sS9vluWsmj\nfN1OBHe5XZK8oe2Gg8vg8FstLeLRxoFaUQCDK5qWTLYhU6xGslYSZxs+BAWP\nvyxG6IDF40HT5Iz4y4yH9xGU8Kuy0h68cUWn+xLJ00Ddtqmk09IXBc2g6NQZ\n2mxYETP5NI4jLXpQl8En/lbHPyioDpdFFocz4Kwt/2kWgH7tH6NyGzvxP7VT\ncw9aBuG03TZtYpR9q+djFvSduLSY1qwyeO+L5jdEJB4uMyxodL8HzJS8s6aH\nhi6qljyjQX0AAjtiC4EntwJPB4W8sigKo2ajkZ2voz0lzAMN2mWyyvzIeuAm\ngN1I\r\n=jGzp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs8yUof+EUH0teTu4i0r4Z8jlgwB5yYYCmSAPjEGT00AIhAOnqMsXm9o2KPqwrUW6CuKFgSqsuFcItjtLFRboFHaD/"}]},"maintainers":[{"email":"aleph.developer+npm@aleph.engineering","name":"aleph.developer"},{"email":"jjyong666@gmail.com","name":"jjyong"},{"email":"hmvalcarcel@gmail.com","name":"refucktor"},{"email":"partner@aleph.engineering","name":"ygpedroso2503"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-cookies-consent_1.0.3_1547597301545_0.9654192245541158"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-10T21:06:16.632Z","1.0.1":"2018-10-10T21:06:16.998Z","modified":"2022-04-05T02:08:57.364Z","1.0.2":"2018-10-10T21:11:16.208Z","1.0.3":"2019-01-16T00:08:21.652Z"},"maintainers":[{"email":"aleph.developer+npm@aleph.engineering","name":"aleph.developer"},{"email":"jjyong666@gmail.com","name":"jjyong"},{"email":"hmvalcarcel@gmail.com","name":"refucktor"},{"email":"partner@aleph.engineering","name":"ygpedroso2503"}],"description":"React component for the managing the user awareness regarding cookies usage","homepage":"https://github.com/aleph-engineering/react-cookies-consent#readme","keywords":["react"],"repository":{"type":"git","url":"git+https://github.com/aleph-engineering/react-cookies-consent.git"},"bugs":{"url":"https://github.com/aleph-engineering/react-cookies-consent/issues"},"license":"MIT","readme":"# @cuban-engineer/react-cookies-consent\n\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)   [![code linting: eslint](https://img.shields.io/badge/lint-eslint-blue.svg)](https://github.com/eslint/eslint)  [![code quality: jest](https://img.shields.io/badge/test-jest-ff69b4.svg)](https://facebook.github.io/jest/) [![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\n\n> React component for the managing the user awareness regarding cookies usage\n\n## Install\n\n```bash\nnpm install --save @cuban-engineer/react-cookies-consent\n```\n\nor\n\n```bash\nyarn add @cuban-engineer/react-cookies-consent\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from 'react'\n\nimport CookiesConsent from '@cuban-engineer/react-cookies-consent'\n\nclass Example extends Component {\n  render () {\n    return (\n      <CookiesConsent />\n    )\n  }\n}\n```\n\n## Available props\n\n* `cookiesId` Value with which the cookie will be save in the browser: (Type: `String`, Default value: 'cookies-consent')\n* `message` Message that will be show to the user: (Type `String`, Default value: 'Cookies help us deliver our services. By using our services, you agree to our use of cookies.')\n* `buttonMessage` Text of the submit action button: (Type: `String`, Default value: 'OK')\n* `expiresIn` Time needed for the cookie to expire: (Type: `Number`, Default value: 365)\n* `link` Link for more information pages: (Type: `Object`, Default values: { url: undefined, text: undefined, target: '_blank'})\n\n## Styling\n \n By default the rendered component will be fixed at the bottom and will look like this:\n \n ![React Cookies Consent Component](https://github.com/aleph-engineering/react-cookies-consent/blob/master/react-cookies-consent.png)\n \n But the styles can be modified by overriding this `css` classes:\n 1. `.cookies-consent`: Entire Component container.\n 2. `.cookies-consent-text`: Container of the message showed to the user.\n 3. `.cookies-consent-button` Container of the Button for accepting the use of cookies.  \n 4. `.cookies-consent-link` Container of the `a` tag for the link.  \n\n## License\n\n@cuban-engineer/react-cookies-consent is [MIT-licensed](https://github.com/aleph-engineering/react-cookies-consent/blob/master/LICENSE).\n","readmeFilename":"README.md"}