{"_id":"@flourish/custom-colors","_rev":"101-9421b33d3b511eae56b422b928c36b8c","name":"@flourish/custom-colors","dist-tags":{"next":"3.0.1-prerelease.1","latest":"3.0.1"},"versions":{"0.9.0":{"name":"@flourish/custom-colors","version":"0.9.0","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@0.9.0","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"felixmichel","email":"felix_michel@gmx.ch"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"julien1993","email":"julien1993@hotmail.ca"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"5bc09bf316b0d2aaadff7eea0874c70ac2c51b96","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-0.9.0.tgz","fileCount":5,"integrity":"sha512-EM3jpT1Rz+PMGjB9FDTMEPq6BeWWux69UKsoal7iATXy7rcEKf/RjM2tOPIU+y354Ows4gn31sR/RZrIgJ7vJQ==","signatures":[{"sig":"MEUCIQCzU8hh16ABcDgf9Htn3mzQ6TjhAQSFutTjsyUuqhS3bwIgYNQaPWd0zwbZM/W5kzTS2Vsv+ySpFFG8nBYhowtW4MU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYZg5CRA9TVsSAnZWagAAziIP/3WT2CbcXazsdXPPc1aS\nXujVzKhSEgMRSEulTcKCE9SYxzDKsi84v08T05umcO+0SbAiwlp23vkt3qXX\nwEifiJ8u7j5ewo96MXVFYnq3SAM7lBbbbeZVpqDw8Z/geZsNNNtiNGsG1Ak7\nXDoayRXhF0M4Idh208SjI9crZxdcggUlhubTP9c2FHtWf1xlqcrb015H6JoH\n1d4IompaY/CSK74zUR5uW2iaqyCTiGtv1Xq0iWhQecL5PLKzuq20iONEL3Eb\n3Y8t9DlS2fm7CUb43bNUgPpBjKmvqO3crAh8QolFLH7mJMFZTOPHbqNduJZK\n5eltuEDeAMwD7w9V4JHyBWCLG1UTRs66lMrvmn8ZAzYV4EsqIMXunBeHCEin\nzQA4f2LU4KM9cdqOBuCtgCz6qCr51zTpFItsx4XH54qoH+b3NIL9IGCYdF4k\nJ3CEaR+0cM4eCVMUTVhp8lXS++bn7PxhC6QlFNdkPiXxTR5kz8w03AO46SpM\nZMzwUp/5Xz9ACDNPXxsJgzanzz2W9CzfPFyvbsAwczJFzAgSKuiBFh7sz67k\nGuBuZBAT7LbJzJP4kSuZCl80ddbNFKcYh5sTAuOJEfvHygLm+DdOzsDPr/9Y\naKEIanqfzdDelomePNT3HSDV8lnZRGs5x6Q/nw2K51DwNuhxNdcRukzE+hmW\n4qxI\r\n=H5Hm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","gitHead":"95786a136736b6c9d98c4a90b0827ab899ed8b8e","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"daanlouter","email":"daan.louter@gmail.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"5.6.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.9.1","_hasShrinkwrap":false,"devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.0.4","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_0.9.0_1533122617201_0.9189586829884608","host":"s3://npm-registry-packages"}},"0.9.1":{"name":"@flourish/custom-colors","version":"0.9.1","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@0.9.1","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"felixmichel","email":"felix_michel@gmx.ch"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"julien1993","email":"julien1993@hotmail.ca"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"11fca6859590f8e4dd22a9654819548c38ce8964","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-0.9.1.tgz","fileCount":7,"integrity":"sha512-o4tWbhQfPkMcA6yR475/6O8kx5FkGggz6YSE96uYJdTW9XFblmnEDv1pmvN9eLt+scGtN3GEPxv2ZI/B9gwnCQ==","signatures":[{"sig":"MEYCIQDBMrx4O0ejxip8zJEggkuVYpYgebXlYg8QYNj6PR4n3AIhAI6f5RKNCBpi4iI8zrb9s4Uk9JWFOUvb74Zjh8efjP1U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYZrWCRA9TVsSAnZWagAAGOMQAJ+HhuKi2eWZsJaBhz8y\nH/yid605Ggfe/XdOsl3lfbWXzh3VdOq0FWbVf6VJF30Bj9p48fFut4YxLg9k\nqIvQlpjoTlokAIbjoeiCT0miN4ZRJ3DF63eA5RnrKJt5rVsGopJjazisF4XX\nPGwkswM/EtjmMZvoTsCJ9NGLF+u6K4202VwxLL9AbAYLHIF88jcL0NMFlz3T\nMwrBwsCigZ9yJoj/S3Kfp4ORHRuCr9j03KcWhThQhdj+gKJARE0YWuSqYq31\nw6wyojzAF67pLXxrxka+9fk28ra7L/1goXuuL85o2+21BbBWMNW++vFu/vyG\n6q6qE5qCLstD7njxluuuUDwtB61hjSem+P3ZzHCPGmqSotN2rDta/BBDhnBD\ne0jLp9cUWpyl8tAAXxCa2bLcApQ23/Nz4RbfSM8mOy+2xn1Lxguj+T8m9zA6\nKptAtodbnTtwryzPZrTCvq2w5mQpekxS3N9r2+OcT68uKdufYDDyt8tw9X9c\n8yuNNFk97Zw2PuU5Si1MfJnjN6MNOchaWgm4gAACbdBSHH3piaY+j6iy5lFP\n9EMMvc37rpjEX/1ZtI4GWwctDr7J6COaEYUFoAo7nOyZUguPygvaOFVec7RA\n0Srboto0Lq1chvpHGCMUHLhGigbFh3Oj70EDtN6DODAK3m5rWQgqoSv4cxQM\nHdWU\r\n=g7op\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","gitHead":"27cee61ee64bd380892ca16e121b0826d9b11f9a","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"daanlouter","email":"daan.louter@gmail.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"5.6.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.9.1","_hasShrinkwrap":false,"devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.0.4","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_0.9.1_1533123285975_0.15546655340204607","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@flourish/custom-colors","version":"1.0.0","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@1.0.0","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"felixmichel","email":"felix_michel@gmx.ch"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"julien1993","email":"julien1993@hotmail.ca"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"7f635106ff698d09f4ab34ddb612ed3004bba6c3","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-1.0.0.tgz","fileCount":8,"integrity":"sha512-82rW3pGjiS363Uv/ZMCbvlP5US9jX/KoJI4hWymQx3FpTHyAwSecK/WANfp3nMtm4qcQTgWrSgzgvRiFzZCDNA==","signatures":[{"sig":"MEUCIQDdTh8u80s4V0036ZPn2zZUOTpeX9uooeYWk/dwoS/legIgUL/+LnD+AYnagZ8WnbJcfTTw039OFXUb+QQMR4gKoS8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbBw6CRA9TVsSAnZWagAAyMUP/1/pi1g4AX38Q4h8gjKp\npFrbG9vEmgKZxAMDbofKD7mZdbYBYMxg/6PLmImV3j3MbvmuQEdUJPYsVzwk\n5KnBoMTrED1Dz4jesTIbxT+AOjekZg/Jh+XcfXYbGfFmIGwj24AaFZ9oGVxF\n7jOHHNGmc6GWFpG1xE3yXxX4RiyY301mwEDmGp4ytwCROptajScPMU6hYGv1\npiPnbQtN3Rvm2LNzV1/Gwp6i1HjHO2hHDkRVrXPj+MhwwhAK2RZWMkwHzKnh\n9eBlA5teVCcJcnubj9NDhND+3Hnc/Gr7/5I7zoM0oH5UZWS49GIGcWJ+Ig+d\n61XPXx/QNUKRMBWkK44xlJstkocrrdz43Aqlthb3c7blUh2V6Stp9Kk1gSTi\n0R5t8WEf1tXuq0JOvBX8UPJjEEJnN269T5htmUiXt74WppJUFntSVVy4GfX/\nS6BzrTvXusX1pN68X/41vyZu9FZyHMketdivVhiu97gPfdJMPXhR1g8ZcsUu\nXi8lSIdBPXxcj4ShACx93s21DF7vctry6MblR0+01xxjI5owhAaazqFFBr97\nJ2zzg7kDlDpCowB4xbjLFdReqhfe8sHCkrxTECFhC6UdCxnnWY1OVE0Zy9EQ\ntkU3FfGBpSxcyFWtAEImB+Ufc7qg5bnATb1yxaeW7O3afE5Zu5zPEnQyLd8R\nKCC0\r\n=5xAY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","gitHead":"2d61ee8d8fd915c5cf25f1871eb33cc80ef6d921","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"5.6.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-collection":"^1.0.4","@flourish/color-generator":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.0.4","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_1.0.0_1533811769818_0.3461151350426077","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@flourish/custom-colors","version":"1.0.1","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@1.0.1","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"felixmichel","email":"felix_michel@gmx.ch"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"julien1993","email":"julien1993@hotmail.ca"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"ab00c65d31e5ff4c0bd7dd03e1d8ad70c261a106","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-1.0.1.tgz","fileCount":8,"integrity":"sha512-HSwQKKpfjvLxkgoZl+7NHp7neowRa6PXO33ikMwXPbiYuA9gN7WC76itdOQqpWhj3f28SJWTZE5KDVoLSPLrGQ==","signatures":[{"sig":"MEUCIEjpQ+9Rz6oWVncBa35q2hCy5llSdYXOMl0irZpXW65/AiEAzV/jnYEfAxo0GS+1gSmLcA/AHazdGl32b6ZYbbhxUsA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcX2DCRA9TVsSAnZWagAA7WcP+wQmj0cVDponiii2xTIN\ny3J8ku/bUHTZhAJYROpqTT4sY8d3fO+nIIBlfdhMLvmHtQRgWcgabBXXnrJx\n+pyaIKHdM7rTmz07sMLQv99Ou2Y8IuQZeroxfxT7KZ9Y0B8YmAwtFphoursb\ncHOHJdHdR9LtYogA4LCi101zx8uV0Dxni+yxHAyPWot3GSKH4NM9bJNGec0n\nM1DKpUIddCinpwmTXNKAwUJQHTGOSvk74k53fTuMOLQLDscgiAQJMxhRFM46\np/I83tOvhliI9Svi3AEKUXejdc52OAcKd6aZKy1SU974zBZOpSBLddRzja9Z\nlbljN0qcQIw26sdKZpMsZD+wAduRqbBlBDydUY/5Np3xXbSaHmIKG/YedQy3\nM+zow722LMwAUjBcZvDjIVMbfNc72gQUPVO7ZlTOijYOe3fU4zBsTBKUqw/h\ndTAtgr9JxfHSG107RViF/o/Pd+2FQCdVyKkgrtAH3ZFpLPZqEhxSPJhEqXOP\ntanV8zcTYQefQ5wruis9CZ15ZBXCQHj5hZHmCfmoEvj80gfXv++u2jN5eSaM\nV8/6qrWaMzIv+Q8QFFxw3wh4nip+8cq14wd9TDMQh2iLl/mtWMgDigesFapP\nm2yLdEKMFuw5cNk7DhPPpFiB443WzAGiFp+raH76yVBn2fptZneQ99+IxRAD\nS3+w\r\n=AzFS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","gitHead":"9f41e9d11d39e171bebb14636effabac07defa98","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"5.6.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-collection":"^1.0.4","@flourish/color-generator":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.0.4","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_1.0.1_1534164354732_0.5937131062818737","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@flourish/custom-colors","version":"1.0.2","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@1.0.2","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"felixmichel","email":"felix_michel@gmx.ch"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"julien1993","email":"julien1993@hotmail.ca"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"6ea68b17792e1aab566d5fd6f0e7402ab5887a0b","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-1.0.2.tgz","fileCount":8,"integrity":"sha512-1uvFjtKkqDvPdEmO7+fIES3YzqcNvz/wBOpDKKIaDVv2p646FL+TsEeWFbS3LiKM4oyJXGbzawyRw+ymmvarUg==","signatures":[{"sig":"MEUCIGv4o6skeblZKE3tIhF68CrqYPBzrNCnVOpAcNeydYA5AiEAtmM2LeOmaZSoDbTGRMm1hReR6+xdwUem6N+R9bKlq+k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26954,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcqEcCRA9TVsSAnZWagAAu98P/iO74cmh2AcOSgVuApOs\nG8yzw+jlQ4kr0Usi31+16eV//TNsdi15kLV09o2gU98XAniNsVj07DF2aW/E\nMIU6RQ7H2acwLgKKLWwy4wXheV1agNtY5boZbDJMHzmZrLn7/+ZZG0rzAY6c\nXI9E9onIJHhl7TCiFFT+sRaIqoPyGwVyJ1jHy42vidgfKvdVO/gCWs5415Hm\niNKPnqg1K7Muqnc1E0iMUDJVEbP/BtmY8JBbcgbWzdlIpKODc7ROgHiQY+Sq\nVbDKqdgbjjS/5NQ1au6qRuT9pJmAYsu4EfZOUz6pjaVBpO+nwXHiGIJ0YkWL\nJe6L7Y4j/t9DLIMDLff5RvuFU7/IErQA3R5I5JwjYj8tUs03/IG2dBOwOsA2\n/djXmmSOnlKpFLl6XYb4Nusp2kgmZ7QoyE6S2qoC5+mDcnw7Q8WSNQ9lLH2H\nwbIFHwF/7Hc3avmrt/OmFprCpYfxc3afZlqYTO3J7wOrV9dWe/sxaAvicdCO\nhfYdv2s+PaCnGbi2c6MVNdKFSZHKQXbnstITF58Y9PFEC2Zn9W8BplQ0wIsq\nf5AEgtp5wIyTaJ7ShKaQP/is1MF4aS/vHYpgqiwdUNoNbVKbO7J6hz5L6NTl\nVfOWCqxvCNWOL+xFYeKNpFuSVuOr6fWyjyc2/UZPQUw2VrYCW4HaBfd5P/F1\n5le+\r\n=DSg7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","gitHead":"4b438fb62e78638c71c1c617d6605786ded773e0","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"6.3.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-collection":"^1.0.4","@flourish/color-generator":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.0.4","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_1.0.2_1534239004062_0.6697559423273072","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@flourish/custom-colors","version":"1.0.3","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@1.0.3","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"},{"name":"williamkeashock","email":"michael@flourish.studio"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"dab36eaa6df2534b70e4035360181d85c4c24a1d","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-1.0.3.tgz","fileCount":8,"integrity":"sha512-2zvSXMsuxlCsSpW33xiMhNq2+oW1CE0hem07meg/mj0XT/km5jhPiFvZCc9FLsTuRhdB1JKteqXWATyOTAZU/g==","signatures":[{"sig":"MEUCIQD5cldr1x/qS7WzM5V0OaPRiF0GAtRBggj1j7US02HyQQIgVGR3R5O/NBy0Y6LTl4r2Y5qnGOQ2gCJVBYX++XlXfR0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmUiwCRA9TVsSAnZWagAAPiEP/iSh1FEb2NMWDKAScFrH\nixzLWPOJ3SfUL0GZ4XwqCcfyedZAFMe6ozFwUhSg1JswWtqA8kuGnzx2A1Gs\n0dpzbvFVnVicYWhSR86/UmP/ywCwfOlfWn9bJyF4JhnJK9/hKb/DXr0J2xCf\ncrJ7F4mDiwIL7QPmxqTWE71z5tmHXjd5QOLZIvD6wl+8hXL90gg0NnrawvbP\nuIGDNCQU+K8Mb/3IDDweXVSaY1R46u3CNTNB+OzlANJNCVx09uREfGabaJCS\nF9StkiJ62CldT59VMpwqX2MqWxmd/mocszcK2YCXpjnGHHNdTZ95OF+dbY1N\ngvN9CK/tK2od8Pv/PRVxuBIGpcqug2UqXQSMIPDzseI80oKfz6XT6OjPJaF9\nL/9vaFVI+xc1pHh5MYpxgkKjgC/hqUN/gH844Lgkc2O5b7P8M9XvhrhBZLcO\noCvpJplhNdSRbm6AjvH1/TFn9CAVRb1WK6gpAeYof1stsxESlW5tje5CbDcv\n6rTXWzN4ucURekiS0CTkLLMVgJ5g0a4EynsisFi6rylvGelPfB9GxUIbNYWc\n6ZM8xSX0GTDAaD5D+uhnzx70OTTSkwXrUChPQpiMu/mHuOjL9d04p9AJUdP3\nWxmwnPPSGaRfHwfgJ5QC8EYaOWN5xDcfdoqwQQtDBrT0g20nSpITMrsMbRF8\nk3p8\r\n=YuAE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","gitHead":"229a6516b4cb670c0b63560c02bd298e2a45a280","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"6.4.1","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-collection":"^1.0.4","@flourish/color-generator":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.0.4","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_1.0.3_1536772271577_0.44391130632016695","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@flourish/custom-colors","version":"2.0.0","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@2.0.0","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"},{"name":"williamkeashock","email":"michael@flourish.studio"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"7db15534261ea2ee61536b8c5b578482c2510e48","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-2.0.0.tgz","fileCount":8,"integrity":"sha512-d6rWvxEL5wch1vZ32MiJnmAKVAzcrYae7ldekHRL1VI3uuwUMYQFJNj83+ki2iCtvwVQgooFneHe/xaKitelnA==","signatures":[{"sig":"MEQCIEY6eCjLSJv24+eWKtpQq0qTMn8Imxjb2C+LLxC6l9W1AiA3mUJ4kwNvaovWFinB3vUj73f7V6YDk4iHrHhfjcxrSw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn7QcCRA9TVsSAnZWagAAvrcP/0QgzhxIfvCsf09kUG03\nQubirMNPsvuHqiRkiadnl02BJ0MIvF9AAycdmmJg1rffmO6I9hSSqvRIOmSf\ny2vCPrTsMJ8G3wMAoPeEavF2TWRvL5vv45STThslgiebbbTpEIwMR1m7mExf\n9OQ31kgT3PvCJpVUK0H9MMMlQuWqHDOqvbgyR9ZAG/xjGCHdeoKx4cyykoQM\nyWnjZurOeKLe5LvU/y/2EiCQNPtdHHoalIP+ycqSNuEEAxNI77+tV2g2ngQT\nkHajlEhj9RbpeAg/1nw8RSH/r4enZ+ZBTWYxczGDty6nHtXIQqTQ/GU4t4GD\nHBxshK6SzSlwIDmf+lagKQcUYFn0SjyQFjFrm7NBop7j0oTiCmWCglZ79w1K\nO78wVX93Q/4ijQFxDLFymWpcYuu/ZEZVRE8Xex2E7mLHgXWEs3xd8+bQ8QIT\nqQKCQsvoe/nKK+u/aHzgKWvto1wu/XzDZ+l6J12syOgTC2fnnu01xwLhPaFZ\naQkQgLc9ZS4HpdBF8Vc7pFs5Y+ZxHwd6GnOEvgPRQPFK7g0tryr6O3CN8K7V\nESJDQQLF4am+0JiadWXLhBk9Eh8eRgWg84BpmaEn9yFY+PggEH1TF6Af4BCY\nMwdbuclltZPpqoqoPQF4b/F3Dt3sS8e8gCadpgdGnBMbMr8ERh+zmpMT1lWI\nS4E0\r\n=7dOJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","gitHead":"29c65c01931a2a2937a8db699a540180e7e1c8d4","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"6.4.1","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-collection":"^1.0.4","@flourish/color-generator":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.0.4","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_2.0.0_1537192988028_0.27463658984758044","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@flourish/custom-colors","version":"2.0.1","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@2.0.1","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"kiln-ci","email":"ci@kiln.it"},{"name":"mark-kiln","email":"mark@kiln.it"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"},{"name":"williamkeashock","email":"michael@flourish.studio"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"77256620ba7ec777a4f337f1fd057b9f2ccfed38","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-2.0.1.tgz","fileCount":8,"integrity":"sha512-81BqEC6nDjVIDaEzceuUZngzT3lSYqNBDm3pNlVLMFAJsUngE9uAtreUDz2PYMWXTKJcmpxj4UPBf/eKyjAzwA==","signatures":[{"sig":"MEUCIF62txvdk+vOI8E7H1qnEEfyQqyUQpbeRXLHY3d8Ek43AiEAg48Qg7ePN8lnEq/HIY7Es1/zdJ+UW4cQuzuXdNUVxb4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/YehCRA9TVsSAnZWagAAyqcP/09v29/Bo5VD3qYucuxr\nei+BLzAEd5qjLxfaOB4qsRtx1RrxdH5wR7jF9N9fMLK7NDFwqbt/GGTdFUaf\n788T8M3XNmCl/n/vr9pKvht6U6G5LOL6YIoSIlA+xPq+W9hbMUEmRoLj0MhW\nhr386altCH4wvA1Ir+YGf3EU2zShaCh5cMFouvfpD7yeEt29WIsi1ZRb9w1G\nSiiKekech3CrZPMcDUKuyYGcOB7wGo43f4NF5DY2sWu8nUZ1kQ4Y03MDCK5u\nBVjmAQ8YxGDDN2VOccr3AX4OaAKM3bQJntiPhc6TeZQYJ2hl+mOKC2fwkJ8V\n5p29SUCXpf+CnHPwDr0T0OL0cXN8pySQHKq8VSB60L86JSO6HG4javVEe3Jh\nFLNKL2FULyrV+g2FNEVhHp3m4gF/3GR2ffJmpkwoEzBSWR8CzMUgQ8+ZTFpu\ng2smd6132QakeLHG5aNMWkRNVtjq/pMnczXj90lH+0Q5NEKdb0PDPdcjtIy1\nEqeaZ5nP+unDuYcPBej/YGxSuV/nASiWnr+F+iQV6kwGKxMurA0Rt6iLV8YS\ncWeP9tLKMKKAyid/9oKXzu5nTNXnorGeCwUKcYAoyR8c8qJ0flJPO8cL0+Ua\nPZdA7GtGBt+08XY75RVTiEfv3qZ6TWSSVo0InHkFzvPgiGHnZKdq2lGP4Zui\ngmjl\r\n=REt0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","gitHead":"f3e19169011f28fc9d5a5a2c46f2d054b624840d","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"6.4.1","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-collection":"^1.0.4","@flourish/color-generator":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.3.0","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_2.0.1_1543341984547_0.3190527600107773","host":"s3://npm-registry-packages"}},"3.0.0-alpha.1":{"name":"@flourish/custom-colors","version":"3.0.0-alpha.1","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@3.0.0-alpha.1","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"kiln-ci","email":"ci@kiln.it"},{"name":"mark-kiln","email":"mark@kiln.it"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"},{"name":"williamkeashock","email":"michael@flourish.studio"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"692fe347c332b5091c781416ed1fdbdfb46d2500","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-3.0.0-alpha.1.tgz","fileCount":12,"integrity":"sha512-pnrC8q+UzhO2BvnXM6VUNfcb+IJfl/3c6wTKlV6IEBKO43dJsP2le/mvv87sgPqADx88/XVAyI5irt8IbCuBIg==","signatures":[{"sig":"MEUCIQCyV1ez2pUuxcyHZYHSGF+ors2aDtXV7AAAx04S+h3hwQIgZOvYME0hKT6ypmi/0MKnaQsU1NhoOLEzB2qNeMsnGDU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":109325,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRhLeCRA9TVsSAnZWagAAiUkP/jHDj/mG64O1fDEMFHFK\nmtC13SmaP9tI0mf2i/tRdFZhSrPgZ0jE64+z0GNXB52QcP0O3kC6ScMIYkys\n050LHrvYunhtuHrajJaTCIWwdPIsw/iMsqMDhj7ZXkCl6xD/3P82oDZ3p0nH\nX8vBJjfS4veDAFD72z3PJA/htg6JFLUnyNW2TkaRxGoEC90ma0GeOjgQwu6E\nSjM25aobB5QdDiJ4GqdIxWJr3orayEuPkN6Ou1MJXBZHIK72xCFUjdQP5WE/\nASAF375yFgeL05gt+jc5beSPjkLjvBNmmHpkam8fJDY7H1kLOJadndh2b/FA\ntuCFqOIdo7ImY4EiP+rczpStc28Xmp6CbomfhKJkbJK0rc/Mb3YwZKMuZ2/2\nTHeIrocd6eTT8UoV5nlYtkoSnCThYcv0gZmAvaq+3F2IUiRsfgfxac+duWUa\n3nEwHhuPHoozBrv1ZbCMXOfRYndXrqFlvn+xkqC7tJZ6Dj9IzOkorDSz805U\nsHdQsswQzNHcn39qUM8Qan9l78L8x/+kkME53XNw6by9ZteX7CFSyWnDqDiR\n3VRVKj6Yoin9B9Yx03Q1oi6wYRE3anK52dTLQSMX4jHTIrFLhS9g5HO7dI7g\n2D7a/IedmARR2mjT9yU7SdnZjchC3B9nkTdu27HXdR7q2cPWOzsz3WvY59KE\nrZtx\r\n=WXhn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","readme":"# Flourish custom colors\n\nAdd settings and logic to easily add custom colors to your template\n\n## Install\n\n`npm install @flourish/custom-colors`\n\n## Usage\n\nThe `settings.yml` file should be imported into your template’s `template.yml` file, like this:\n\n```yaml\n  - Colours\n  - property: color\n    import: \"@flourish/custom-colors\"\n```\n\nImport the package like `import initColors from \"@flourish/custom-colors\"`\n\n`var color = initColors(state.color, true)` creates a new function and stores it in `color`.\n\nYou only need to pass in a state to get the color function working. There is a second argument to enable normalizing strings, this value can either be `true` or you can pass in a normalize function. If the value is `true` it will lowercase all characters and remove all characters that are not a-z,0-9.\n\n`color.updateColors(labels)` updates the color palette with an array of unique labels.\n\n`color.find(label_name)` find the correct color value for `label_name` (which is a string)\n\nFor example:\n```javascript\nvar color = initColors(state.color, true);\n\nfunction updateColors() {\n\tcolor.updateColors(data.values.column_names);\n}\n\nel.attr(\"fill\", function(d) { return color.find(d.name); })\n```\n","gitHead":"37bb3f31d7837f991907dc883a0d990b6461c912","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"5.6.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-scale":"^2.1.2","d3-collection":"^1.0.4","d3-scale-chromatic":"^1.3.3","@flourish/color-generator":"^0.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.3.0","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_3.0.0-alpha.1_1548096222084_0.47109196580710755","host":"s3://npm-registry-packages"}},"3.0.0-alpha.2":{"name":"@flourish/custom-colors","version":"3.0.0-alpha.2","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@3.0.0-alpha.2","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"kiln-ci","email":"ci@kiln.it"},{"name":"mark-kiln","email":"mark@kiln.it"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"},{"name":"williamkeashock","email":"michael@flourish.studio"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"d370ecb31c9c66f52a1fc1cb6b1100a97f9072f3","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-3.0.0-alpha.2.tgz","fileCount":12,"integrity":"sha512-SMy0DgObv255KaZYFYf8ngjslTckTFFnjcFPIhpzJ5qA/Z2JzHg1OMUVop7eLhTZRE0U6sNFKoriiv7lq82weA==","signatures":[{"sig":"MEYCIQCEAWisCnF35xKvyo4Drjp9eW+iQcoPjtOF5BFtU3dZWgIhAPn3nQVqJAunW78uBRvlmxoBLHYgBk9DqgE4yeX+8Hjf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":109824,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSLVeCRA9TVsSAnZWagAAE6cP+gNlO2aiEcbNNE/zrGwD\ntPNOgAxT9zfxNdlnX+RamgP0RXyasAutmlWbupKGflEJNlk8l2mXLWsDcd9j\nkXrPKdhab7N+7WtmLFTXnEGOZAVKtReHeggov4sq7NisHIQvk0hrQruHdKP7\ntL1xm6Luvl13Wcml81Mc8UTCLv04AVIHj3KpVCnjJZhCo8BnZPBRGPpytm48\nT/8+lE0ZtW7wtDNGAQo3yz22CNZ0SftPPjO+Y5skoq0L4EYfFmO0EoM31Ovt\nuyuSDdjfJDu4Z8rg6VOyiZohepZixpto/gT70jH9nNBrouT9nyjiZmH94w/Z\nDb3Y6s0zvhgmrazxUVY80nVyj+mBwQQT4AMsI27fH1hUa/UptfjYB2JN5lZr\ncDBymfWGO5pJXcfLVujT4PBCYP3Z84O3Y9zxSl2zBe0cmANkFDR0iM6b49BS\n8JUg3dx2LJqSp5gk1l5jn6OlLg8JKA9Ubwa/pxgzC/JuIcIxvhvS57egR+ZU\nZ9DWN/GyrDJcpxyQ5K7i8pmpv3hnZpYNleCVaqGi7loONvdZTzGDXVInRriH\n0JyvGitjFb1kq1C4W9PGgv0Su0cMC3IuyCkeMbdBa+H0AsvLjIjsYf2C2BZZ\ng0jusY6XE5Q4Ojg+tWrzAGtrwFK0SICI6B4HuRCAAsDEY+sbertQ8xtyHNsE\n++Ar\r\n=ya1D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","readme":"# Flourish custom colors\n\nAdd settings and logic to easily add custom colors to your template\n\n## Install\n\n`npm install @flourish/custom-colors`\n\n## Usage\n\nThe `settings.yml` file should be imported into your template’s `template.yml` file, like this:\n\n```yaml\n  - Colours\n  - property: color\n    import: \"@flourish/custom-colors\"\n```\n\nImport the package like `import initColors from \"@flourish/custom-colors\"`\n\n`var color = initColors(state.color, true)` creates a new function and stores it in `color`.\n\nYou only need to pass in a state to get the color function working. There is a second argument to enable normalizing strings, this value can either be `true` or you can pass in a normalize function. If the value is `true` it will lowercase all characters and remove all characters that are not a-z,0-9.\n\n`color.updateColors(labels)` updates the color palette with an array of unique labels.\n\n`color.find(label_name)` find the correct color value for `label_name` (which is a string)\n\nFor example:\n```javascript\nvar color = initColors(state.color, true);\n\nfunction updateColors() {\n\tcolor.updateColors(data.values.column_names);\n}\n\nel.attr(\"fill\", function(d) { return color.find(d.name); })\n```\n","gitHead":"470decd68f0fdba2112a9515a576552e119fe665","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"5.6.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-array":"^2.0.3","d3-scale":"^2.1.2","d3-collection":"^1.0.4","d3-interpolate":"^1.3.2","d3-scale-chromatic":"^1.3.3","@flourish/color-generator":"^0.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.3.0","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_3.0.0-alpha.2_1548268893531_0.5851287860601322","host":"s3://npm-registry-packages"}},"3.0.0-alpha.3":{"name":"@flourish/custom-colors","version":"3.0.0-alpha.3","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@3.0.0-alpha.3","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"kiln-ci","email":"ci@kiln.it"},{"name":"mark-kiln","email":"mark@kiln.it"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"},{"name":"williamkeashock","email":"michael@flourish.studio"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"7b5963b5376c6720f099bbca1d94aafc626a1808","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-3.0.0-alpha.3.tgz","fileCount":12,"integrity":"sha512-0MTsT7/pQmkoG2PVr6KFDG2QbPAqGnf6mZBihGOh62BY34MriNuEyS8Dgy+3vBeR0zd/hMtanlhEJTAytTvz+A==","signatures":[{"sig":"MEUCIQCGCWP1HXb4Jg7jyi0Uil/DFM5iCh4XAbjy+9MYWLYR0AIgN3wdP4Vql3lrwgiS8PHrPw6xfUAn9TqF1pbbc3Tc1ig=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":110335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUZt2CRA9TVsSAnZWagAA0CkP+gNcn4aF8oDZ4OurZt5t\n1dhudlRTn7KFYHx+JOJ9IYkfjFS6Id7bXT3PQq5Yze/M3yaW7fyQqIB+UHS4\nmueg5FvX+5DAf2PT7S85Gyc1YlpLV6fEraJ6D7peRqmHgCNlhaN7W1YP2iMh\n22wa+Z/Np1dGj4cwyV7efV6HJsTboHGlwaqpGYdWNo3BXcjYa3wENSaSk8i4\nkAdLiUA3dHWjiNzkKJOl4PbZenLBRKLq91OTXBhXoSJKMK1DiPBo/b13HOpV\nDHWh/AaUk463ZUvluoZRUMvZVcpSJk4oKBdJI+puld54KEH+ZUWhKRCGc4Pj\n8OS6tiPpAoOP4vQOvfZFauqocRqnBP6P6vSZewCV9V9g88WoyJRG5E+GFMAp\nYIuRAkaLVKFzgOXc8QZlZtoeSKEJhU+f/5xclm3skGaTVliPzFtqjkc07Zuz\nOgc1+DWttX5gxW86LAiHcev3RG0Nx0wF0vygPJgDCIClmAZKXGv0FMgAB3Xc\nxQkz1m4wMxSUHnT2lX74YBjZdD+P/HAL6QhLFK+yzqgZdKJ0yQlxIExWnshC\nCpPEJp3UeicoWIBg7K+58QE2d1+GFq1JwnHovENfaqznFk4TsV9L/rWGljHZ\nJ1xL9L4mep8TK2tyzoVMEF/QKSJa6ja2H5u8ve5KgMqtUdGzym4hX7G4OgaV\niCmJ\r\n=H23+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","readme":"# Flourish custom colors\n\nAdd settings and logic to easily add custom colors to your template\n\n## Install\n\n`npm install @flourish/custom-colors`\n\n## Usage\n\nThe `settings.yml` file should be imported into your template’s `template.yml` file, like this:\n\n```yaml\n  - Colours\n  - property: color\n    import: \"@flourish/custom-colors\"\n```\n\nImport the package like `import initColors from \"@flourish/custom-colors\"`\n\n`var color = initColors(state.color, true)` creates a new function and stores it in `color`.\n\nYou only need to pass in a state to get the color function working. There is a second argument to enable normalizing strings, this value can either be `true` or you can pass in a normalize function. If the value is `true` it will lowercase all characters and remove all characters that are not a-z,0-9.\n\n`color.updateColors(labels)` updates the color palette with an array of unique labels.\n\n`color.find(label_name)` find the correct color value for `label_name` (which is a string)\n\nFor example:\n```javascript\nvar color = initColors(state.color, true);\n\nfunction updateColors() {\n\tcolor.updateColors(data.values.column_names);\n}\n\nel.attr(\"fill\", function(d) { return color.find(d.name); })\n```\n","gitHead":"79f7154517fc9727179b51d4908003e8fabb0887","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"5.6.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-array":"^2.0.3","d3-scale":"^2.1.2","d3-collection":"^1.0.4","d3-interpolate":"^1.3.2","d3-scale-chromatic":"^1.3.3","@flourish/color-generator":"^1.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.3.0","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_3.0.0-alpha.3_1548852085669_0.5818082053125735","host":"s3://npm-registry-packages"}},"3.0.0-alpha.4":{"name":"@flourish/custom-colors","version":"3.0.0-alpha.4","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@3.0.0-alpha.4","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"kiln-ci","email":"ci@kiln.it"},{"name":"mark-kiln","email":"mark@kiln.it"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"},{"name":"williamkeashock","email":"michael@flourish.studio"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"5940436cbeaa69f6a9c3f236acef6d66daea548a","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-3.0.0-alpha.4.tgz","fileCount":12,"integrity":"sha512-KoDAZ3iuQfr/mr93dfmr7ZviwC/WBvxKkd5SCUs1xY3JEjE8RE/tos2xHtYaOnDBIxYRi/Vfe10+Rj531KEs1g==","signatures":[{"sig":"MEUCIQCxrW/0kS6yqHdSmIX6CwlMABjCwFh58azYACXBpYF4RgIgB53edDvejCVjmmw1rv+xCaklNhb3OYqQeePpWf1VrcM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":111787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcU2IYCRA9TVsSAnZWagAAskEP/0nmFpYwoUA2+FRYWwSy\n7A7puTx6/fhSMgTbgjdMoc7p9kHryPSx90VYYOfIQdOCiiZr9ccd2/xJeowx\nwROIMaVuDBrJZLEfBmylGb8JsAkoLdLKaw9pdSr3xw2k785gQggFHGSbBNFP\n0uAg7YVTsQ91UT/NeBnkQvrb1QrbkBe22d/6jiIA+KZ+BEEKWt6hWzUJ5ET/\n6dP1LbIiLS2LwYEArz37Reakfj2sI9WJVNP05PJdq35UYa+qaLQ4dIzEVPd+\nov/zazTPFAivcLJCw1sYfkIN2f5K3S9+8emG9h+RwzdLJfSd9xHiqqzQ19J3\ndr08yA1DwSbDb5SXWggaTbBVecrE07FN0D6ls1OnOG0s2hHoxDGyQBQoa4t2\ni4S6vznjLeT2HSMdx1LZBmlQEcZTsyM+OOKniLlJerEYhc4/hvKYVKVVvij2\no4X9elJHkz0OH2bKRx9NgLMbp7/LU5B2kMYtHFKndjcG6PauFLsR2d9YxamE\nrReclXHNvTG0km8i7Cqs8MLl+n4oZFdulV7luaFu8CH2o2SHn6cDEXLpm8TU\ny7juHkVn0QqolZfvHEA/a8BpD9VaQhFBjnLF7HcPfPZp4S4JcLROe1o4qIiP\n5bp80BMC4eCbhJ7vT2bKMDKor8+QVd8ObzV5ALPe6d9FSgfpDHZlHAB7uMA1\nVChi\r\n=QRqa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","readme":"# Flourish custom colors\n\nAdd settings and logic to easily add custom colors to your template\n\n## Install\n\n`npm install @flourish/custom-colors`\n\n## Basic usage\n\nThe `settings.yml` file should be imported into your template’s `template.yml` file, like this:\n\n```yaml\n  - Colours\n  - property: color\n    import: \"@flourish/custom-colors\"\n```\n\nImport the package like `import createCustomColors from \"@flourish/custom-colors\"`\n\n`var colors = createCustomColors(state.color)` creates a new object `colors`.\n\nYou only need to pass in a state to get the color function working.\n\n## Methods\n\n`colors.getColor(value)` finds the correct color for `value`. Will just return the fallback value unless the updateColorScale method has been called at some point.\n\n`colors.fallback([value])` returns the current fallback value if `value` is undefined or (usually) sets it to `value` if it is defined and returns the `colors` object.  The `value` \"default\" (re)sets the fallback to be the default value of null. The fallback value is returned whenever the `getColor` method cannot interpret the value passed into it (for example if that value is non-numeric when in sequential or diverging mode).\n\n`colors.stringNormalizer([func])` returns the current string normalizer function if `func` is undefined or (usually) sets it to `func` if it is defined and returns the `colors` object. The `value` \"default\" (re)sets the normalizer function to a function that lowercases input and strips out whitespace. Passing in any other value that is not a function (e.g. `null`) tells the `colors` object to not perform any normalization.\n\nThe string normalizer function is only used when in categorical mode. Its purpose is to allow for insignifcant (as viewed by the developer) discrepancies (such as case and whitespacing) in spelling in input data. After calling witha value for `func`, the `updateColorScale` method should be called.\n\n`colors.updateColorScale(domain)` updates the color scale based on the `domain` array.","gitHead":"94fa6826f390715d3207416ff81649f80de4a82d","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"5.6.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-array":"^2.0.3","d3-scale":"^2.1.2","d3-collection":"^1.0.4","d3-interpolate":"^1.3.2","d3-scale-chromatic":"^1.3.3","@flourish/color-generator":"^1.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.3.0","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_3.0.0-alpha.4_1548968471458_0.09105771405287766","host":"s3://npm-registry-packages"}},"3.0.0-alpha.5":{"name":"@flourish/custom-colors","version":"3.0.0-alpha.5","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@3.0.0-alpha.5","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"kiln-ci","email":"ci@kiln.it"},{"name":"mark-kiln","email":"mark@kiln.it"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"},{"name":"williamkeashock","email":"michael@flourish.studio"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"bea638fa72d6a55e94ea7b005778f3ef33a778bd","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-3.0.0-alpha.5.tgz","fileCount":12,"integrity":"sha512-AqvFSAHjdh/+81Y8JjAqGks4X6pyQDOxZ2FS1CHvWedzsoAQL0J5Z7HBZu5GKBzIryyeLTtAnsHFd+Mh6b5niw==","signatures":[{"sig":"MEYCIQC2C4ceqJekex7pn8FYPu98MMY+cFLoEsR5quAYysuNgwIhAKl2O8DZFY6MlH8znjl3sjsjvQ5EcvJgZcwk/KcoYs5N","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVC9dCRA9TVsSAnZWagAABwAP/21bFwo/GF1fYRlXGqd7\nCfOZnZN38xAmLhah+oHpqUAICw4WPXOaOQSzK6Rna6qYZa5ZaekH3qCXUgG0\nlRz1/GZ+Ec/Iq9rrR9MRy8h2KIt6uHQgK/Q7fOZ713t1U5umn4AMRerjgzCj\ngXlWWI4hlYZDRlLQsCgAghsZ89LkQ6ESCqp2d78dYQg8NDrb9Yu9TMtYB/GK\nVKJem/E758bxfQftviOe3QIPPDTA8HkMKCj3RB1S4ZY4uQPreyfTFCj+oxZU\nQDf2XyDHOF63C2py7M2YNIvaiAbJT5R681iOzJFRD+Q8QO6cEGab7qXLJ3py\n4ubiDuZOaopKHbVhCAA/sbl7VGvyoYxudv352CYlQFXvTKJeE2KEOhKREPiJ\nOxilxlZRI5XGL3ba2HD75Ro6t6URsIpzNeclD9OOHGfKgqoccZCc1OoQsMHx\nPj0xVoWHGBMmc+bDDnE/xdIr2rI7MId8WG6pXogJc3H81F/NTB6if2E8mj0w\nbk9I7RdquaFSZECWjFEKfr6ArSr1NCzXknC2Aa3dcKuTT2yxwOvTuxIiCm2U\nKq18Nq0jPEDJwYXf852lVCokkmFR2uDOeuYwtmRL4adyZ+4fyrHZRkyh5tKq\noz2cp35QNc6AyGgRzqf+qGku6GQQMWFQaVyRGAMmrU1k66+Ef0uQ8mfkwzN2\nOCuA\r\n=kg4O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","readme":"# Flourish custom colors\n\nAdd settings and logic to easily add custom colors to your template\n\n## Install\n\n`npm install @flourish/custom-colors`\n\n## Basic usage\n\nThe `settings.yml` file should be imported into your template’s `template.yml` file, like this:\n\n```yaml\n  - Colours\n  - property: color\n    import: \"@flourish/custom-colors\"\n```\n\nImport the package like `import createCustomColors from \"@flourish/custom-colors\"`\n\n`var colors = createCustomColors(state.color)` creates a new object `colors`.\n\nYou only need to pass in a state to get the color function working.\n\n## Methods\n\n`colors.getColor(value)` finds the correct color for `value`. Will just return the fallback value unless the updateColorScale method has been called at some point.\n\n`colors.fallback([value])` returns the current fallback value if `value` is undefined or (usually) sets it to `value` if it is defined and returns the `colors` object.  The `value` \"default\" (re)sets the fallback to be the default value of null. The fallback value is returned whenever the `getColor` method cannot interpret the value passed into it (for example if that value is non-numeric when in sequential or diverging mode).\n\n`colors.stringNormalizer([func])` returns the current string normalizer function if `func` is undefined or (usually) sets it to `func` if it is defined and returns the `colors` object. The `value` \"default\" (re)sets the normalizer function to a function that lowercases input and strips out whitespace. Passing in any other value that is not a function (e.g. `null`) tells the `colors` object to not perform any normalization.\n\nThe string normalizer function is only used when in categorical mode. Its purpose is to allow for insignifcant (as viewed by the developer) discrepancies (such as case and whitespacing) in spelling in input data. After calling witha value for `func`, the `updateColorScale` method should be called.\n\n`colors.updateColorScale(domain)` updates the color scale based on the `domain` array.","gitHead":"94fa6826f390715d3207416ff81649f80de4a82d","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"5.6.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-array":"^2.0.3","d3-scale":"^2.1.2","d3-collection":"^1.0.4","d3-interpolate":"^1.3.2","d3-scale-chromatic":"^1.3.3","@flourish/color-generator":"^1.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.3.0","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_3.0.0-alpha.5_1549021021062_0.7219873148002411","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@flourish/custom-colors","version":"3.0.0","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@3.0.0","maintainers":[{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"gavrilov","email":"daniel@gavrilov.co.uk"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"kiln-ci","email":"ci@kiln.it"},{"name":"mark-kiln","email":"mark@kiln.it"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"},{"name":"williamkeashock","email":"michael@flourish.studio"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"4fa2c08716c1a49b22c040e2f43c3021ae6eae74","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-3.0.0.tgz","fileCount":12,"integrity":"sha512-EftJatVZgERSYScabyV2aKNTfHZORaZswssnLfvEYXtoUPDYqqmryq4qKb3tfZUo54E0abggv2mjWQZU8/f23A==","signatures":[{"sig":"MEQCIBazTEyJDDoKYEsHbg00Y2PCc+g/aaI3RXuAlFtiYBjTAiAjHT588LqEkquSy+SNRH13fl42qn+bcmfzG0sjyVFYWQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVDSnCRA9TVsSAnZWagAAtAoP/25zBmZsG6j2Rwnn0bwC\n3/e699jTLrUhXPB/lqBmOYrPRc5f7OfM0TEJXn/mv8esrZogSauItPceF5h7\ndM7lC/FnI0PNAKIhahlueIN7NJ+ZGFbDuJP8vQkoMeGOnYgju6HtylNkiS/N\nR2Uu8A3jfIf929uTqEcwgukKprX94SMQDre/933w5FIopUBsKkVlQj8WPpJa\nfAKAERi2PTD+3oZaHUG/EQpm8KxyPglSOzphJA0n3DCX7jtaoL9y4rLWN2nJ\nNmA4/we5/zTl9sBVoa4BeZokVNqLrWIb+k80oY/7D+Wdc2wDkmOKAH8buk+I\npHurA6gA9rqpVH9mujFvp7z4JenZ9SOXp/E0Ib6Wyl0TTZez5ScZvPyPWjHg\n2YOChdgaJ4gI9BVMOGk8a3cHkhRo8XdJmvra1ZQLmh8xZqLECb3UsPpuTMiQ\nfqPuisW7jHVMIiFit/JBKHaF5BHH6iGPhRLe4t9TKxaEjHT7a4LaO1/Y+IH5\nVuPJ9xcwTfkqg8/TemCdx3+roqQR8f6ytmySRpuuxlsJaD/foprzSqkRma6e\nn4cYQ/Qt0veAGhbrght8WPcC0FqkrLWuiMvSkxvdPF4VOnesgU487OkArFbf\n6YHYvn1YWEfw4Udn5RbCWRbsHiVhHCm+E+6uVIAMiopk9B/JgKt57jyM0xp/\n1HcG\r\n=4qvM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","gitHead":"10bb159ac7ca815ba057aa2489ed5d44c62c0c1e","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"5.6.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"8.11.1","dependencies":{"d3-array":"^2.0.3","d3-scale":"^2.1.2","d3-collection":"^1.0.4","d3-interpolate":"^1.3.2","d3-scale-chromatic":"^1.3.3","@flourish/color-generator":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.3.0","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_3.0.0_1549022374435_0.580373763875782","host":"s3://npm-registry-packages"}},"3.0.1-prerelease.1":{"name":"@flourish/custom-colors","version":"3.0.1-prerelease.1","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@3.0.1-prerelease.1","maintainers":[{"name":"animateddata","email":"hello@animateddata.co.uk"},{"name":"annaps","email":"anna@anna.ps"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"keriley","email":"katie@kiln.it"},{"name":"larsvers","email":"lars@datamake.io"},{"name":"luptilu","email":"luisabider@hotmail.com"},{"name":"mark-kiln","email":"mark@kiln.it"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"aaf5d68c99c1cd335b433472e45f5986e3c2f6f3","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-3.0.1-prerelease.1.tgz","fileCount":12,"integrity":"sha512-OoDd2JVPMrGiQWCaO9b+sUqQ3qKl19/B44+Z5wQnMV8jHzw4p1I2qVIkfYKgFYqBrvWltayhHDmfGqKAQ8/RiQ==","signatures":[{"sig":"MEQCICTiuObTbn6hs2og6mv4YJ5cpP/pBNnIIR03KXP5b8vbAiA0V0ggRO9RhhN4zYzxlOtPTlo9TG5O5Aa+eRRMtr9iww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZ9Z5CRA9TVsSAnZWagAAdQYP/3KDpBo2Acz/R2+GALMw\nG0cfdSC66mO85nVvWOnc891zRcUuOuRJUs/3zp1QQ8igbKXyDvBTjTCJ/ENv\n4oxxF1B/HhUeg/w+eaeyMJBNCB9qvNXmH2eNuAOkIFK9ERQ8rju5p8vlBbeX\nfQQZooPygg7KD6wEn56EtsS1kyeOuwWZqgrpcQd9tZF71qIZHh/XhWRj+lAF\nLlEPtRIFDCfXu+kSakeTYVgFyXDJ4wrptTqF9z33zmzUg4rtGr/bbTTsiCuL\n1JEdqN2e9xTngM9YubQMi/O94sivUw24w9NSao1fk43n010rQPTNEJyGuHnp\n3pd9wYULsYpURo3GUwuzL/gxgb5BCw/cbRlZ1yp1pkS4KkhdGTBfNsaGNK11\nq6TNfqT29ry31+HZCAn/rwb/OughUkVNbTrTmO1YxYeL3TgZXd3ERWrBX7kw\n86FoGnqThsKjnzzR2Aj+Jcnar40xeQvcCb8A8koUXWhFAG6tAElw0mQ1YdOx\n/Dih+q8vN4QuCpV58k2U4/q1JGVJ2mmJZL3o+ZGkry7DjlYYqutWfa6Tt17D\nMFqXK7w2/d8cfqE0/da14bppJjp+F0Ya8//ahoEQhcvSIhvCh/GHmZu+qzj8\nE7vnYO3XldXfef8T6o0gKNlEAwM5kxIBlVeuF0nRXL/bvycd8epx7a4t0J2R\nYlFO\r\n=epUd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","readme":"# Flourish custom colors\n\nAdd settings and logic to easily add custom colors to your template\n\n## Install\n\n`npm install @flourish/custom-colors`\n\n## Basic usage\n\nThe `settings.yml` file should be imported into your template’s `template.yml` file, like this:\n\n```yaml\n  - Colours\n  - property: color\n    import: \"@flourish/custom-colors\"\n```\n\nImport the package like `import createCustomColors from \"@flourish/custom-colors\"`\n\n`var colors = createCustomColors(state.color)` creates a new object `colors`.\n\nYou only need to pass in a state to get the color function working.\n\n## Methods\n\n`colors.getColor(value)` finds the correct color for `value`. Will just return the fallback value unless the updateColorScale method has been called at some point.\n\n`colors.fallback([value])` returns the current fallback value if `value` is undefined or (usually) sets it to `value` if it is defined and returns the `colors` object.  The `value` \"default\" (re)sets the fallback to be the default value of null. The fallback value is returned whenever the `getColor` method cannot interpret the value passed into it (for example if that value is non-numeric when in sequential or diverging mode).\n\n`colors.stringNormalizer([func])` returns the current string normalizer function if `func` is undefined or (usually) sets it to `func` if it is defined and returns the `colors` object. The `value` \"default\" (re)sets the normalizer function to a function that lowercases input and strips out whitespace. Passing in any other value that is not a function (e.g. `null`) tells the `colors` object to not perform any normalization.\n\nThe string normalizer function is only used when in categorical mode. Its purpose is to allow for insignifcant (as viewed by the developer) discrepancies (such as case and whitespacing) in spelling in input data. After calling witha value for `func`, the `updateColorScale` method should be called.\n\n`colors.updateColorScale(domain)` updates the color scale based on the `domain` array.","gitHead":"9090affd70d2016fc3dd5d8dda3b11e4dde06835","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"timbrock","email":"info@datatodisplay.com"},"repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"6.9.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"10.16.3","dependencies":{"d3-array":"^2.0.3","d3-scale":"^2.1.2","d3-collection":"^1.0.4","d3-interpolate":"^1.3.2","d3-scale-chromatic":"^1.3.3","@flourish/color-generator":"^1.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.3.0","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_3.0.1-prerelease.1_1583863417303_0.16371447273532502","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@flourish/custom-colors","version":"3.0.1","author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","_id":"@flourish/custom-colors@3.0.1","maintainers":[{"name":"animateddata","email":"hello@animateddata.co.uk"},{"name":"annaps","email":"anna@anna.ps"},{"name":"bobbysebolao","email":"bobbysebolao@gmail.com"},{"name":"daanlouter","email":"daan.louter@gmail.com"},{"name":"duncanclark","email":"duncan@kiln.digital"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"larsvers","email":"lars@datamake.io"},{"name":"luptilu","email":"luisabider@hotmail.com"},{"name":"mark-kiln","email":"mark@kiln.it"},{"name":"robinhouston","email":"robin@kiln.digital"},{"name":"timbrock","email":"info@datatodisplay.com"}],"homepage":"https://github.com/kiln/flourish-custom-colors#readme","bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"dist":{"shasum":"dcc9d68289eba5972545c7be65ac563440a0f676","tarball":"https://registry.npmjs.org/@flourish/custom-colors/-/custom-colors-3.0.1.tgz","fileCount":12,"integrity":"sha512-YaNTbRo5Sf5olVq0nRIeB4Wqg/h+5mPG8U+QalHIAAdIyIkBX7CwN8PQwEwN7X9uaIK0sgvoFPAmFpdWxeyfQA==","signatures":[{"sig":"MEUCIHmte50T/q5APDA0V0/PtsIwM+oNgcf+fbPVXzza9uImAiEAs5FxNbI5imw+/VE/xwUafzqKZkh6A78Nv5tVV31NF+g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":112423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeghvVCRA9TVsSAnZWagAA+LEP/1hCUErUUUH3+vrpe5rW\nf9KJSxIBBIhVIHlJuDQFwomEiWlTb8Fdcxn/0z61F+mKzAXXMceViu8chcrC\nMND4KvtjQf1xNyZNwwjNPy5paqdkHs5tG9iDAgeW7JORzaa3MbEZicgKn8gY\nvq5d6TTpr8hDSb6Kpl3sXwq9gSHsczsdedbWgiD62vww6zu5CIGH7QkghLum\nATV0M20i5XSyqYTGNL39+/q93AZ7kY67vyWKrXzPJSfCXBveYvBSVRoWFJy8\n5KMCuFCnahTeSHrZ9dstHr9V8b202A0whqWwBdjZHhTJTwRK8TA6QE6Z7g7M\nFtpk/T+tDwf8t8vkeJBpyd5k+qn5xwQKZbSJLqE3yvWz86AkClWcC2CkSezH\nc0imjLpi/XsW8oH2ei8wd2D3Tzq/q9mpDSOKgj7wnDKD4IOKyL21Gg1G7kGA\n4C5yOWSQM88yxTlF8R+OgPdVc0l2R9IiDOnvgHYKQPyaRFrKiWbGa+nhLpuL\neiPhSdf0dJ4/bZny0256QUSA2Hi8KkyKPD9IWa41wR0RRCmvzd6Se+qD00Yn\noXfoIAxWWPBrZRiGJKa3keyIQq38tfJez9/MTmuF1wgLaJq4PXt7KzzjLwdI\nvlsarDfWnoz8jA/+QHWuQgJZNsy91/T1WTmynLk0L2kahKIuqPACnRrf6fIt\nrKLU\r\n=1wH8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"custom-colors.js","module":"src/index.js","gitHead":"383dcaf55debed2fed1fc7894407c32c02a133ee","scripts":{"lint":"eslint src","build":"rollup -c","minify":"uglifyjs -m -o custom-colors.min.js custom-colors.js","prepare":"npm run build && npm run minify","precommit":"lint-staged"},"_npmUser":{"name":"daanlouter","email":"daan.louter@gmail.com"},"deprecated":"This project has been renamed to @flourish/colors","repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"_npmVersion":"6.9.0","description":"Adds custom color settings","directories":{},"lint-staged":{"*.js":"eslint src"},"_nodeVersion":"10.16.3","dependencies":{"d3-array":"^2.0.3","d3-scale":"^2.1.2","d3-collection":"^1.0.4","d3-interpolate":"^1.3.2","d3-scale-chromatic":"^1.3.3","@flourish/color-generator":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^0.14.3","eslint":"^4.19.1","rollup":"^0.41.1","uglify-js":"^2.7.5","lint-staged":"^7.3.0","rollup-plugin-node-resolve":"^3.3.0","@flourish/eslint-plugin-flourish":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/custom-colors_3.0.1_1585585108961_0.06837398490818569","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-08-01T11:23:37.200Z","modified":"2026-08-19T18:13:17.928Z","0.9.0":"2018-08-01T11:23:37.313Z","0.9.1":"2018-08-01T11:34:46.123Z","1.0.0":"2018-08-09T10:49:29.930Z","1.0.1":"2018-08-13T12:45:54.873Z","1.0.2":"2018-08-14T09:30:04.354Z","1.0.3":"2018-09-12T17:11:11.748Z","2.0.0":"2018-09-17T14:03:08.246Z","2.0.1":"2018-11-27T18:06:24.738Z","3.0.0-alpha.1":"2019-01-21T18:43:42.241Z","3.0.0-alpha.2":"2019-01-23T18:41:33.721Z","3.0.0-alpha.3":"2019-01-30T12:41:25.807Z","3.0.0-alpha.4":"2019-01-31T21:01:11.571Z","3.0.0-alpha.5":"2019-02-01T11:37:01.172Z","3.0.0":"2019-02-01T11:59:34.562Z","3.0.1-prerelease.1":"2020-03-10T18:03:37.448Z","3.0.1":"2020-03-30T16:18:29.080Z"},"bugs":{"url":"https://github.com/kiln/flourish-custom-colors/issues"},"author":{"name":"Kiln Enterprises Ltd"},"license":"UNLICENSED","homepage":"https://github.com/kiln/flourish-custom-colors#readme","repository":{"url":"git://github.com/kiln/flourish-custom-colors.git","type":"git"},"description":"Adds custom color settings","maintainers":[{"email":"duncan@kiln.digital","name":"duncanclark"},{"email":"daan.louter@gmail.com","name":"daanlouter"},{"email":"hello@animateddata.co.uk","name":"animateddata"},{"email":"lars@datamake.io","name":"larsvers"},{"email":"luisabider@hotmail.com","name":"luptilu"},{"email":"h.robertson@icloud.com","name":"hrobertson"},{"email":"florin@kiln.digital","name":"florin.oprina"},{"email":"ben.lloyd@canva.com","name":"b3n-canva"},{"email":"brunoriddy@canva.com","name":"bruno-riddy"},{"email":"katietanner@canva.com","name":"katietannercanva"},{"email":"josephw@canva.com","name":"jwitcombe"},{"email":"becky.rush14@yahoo.co.uk","name":"rushlet"},{"email":"winna@canva.com","name":"winna_canva"},{"email":"jonty@canva.com","name":"jontyt"},{"email":"scottb@canva.com","name":"scottb-flourish"},{"email":"gwyneth@canva.com","name":"gwyneth.bassett"},{"email":"snavad@canva.com","name":"sega-canva"},{"email":"ci@kiln.it","name":"kiln-ci"},{"email":"niamhb@canva.com","name":"niamhb"},{"email":"guy.n@canva.com","name":"guyneedhamcanva"}],"readme":"# Flourish custom colors\n\nAdd settings and logic to easily add custom colors to your template\n\n## Install\n\n`npm install @flourish/custom-colors`\n\n## Basic usage\n\nThe `settings.yml` file should be imported into your template’s `template.yml` file, like this:\n\n```yaml\n  - Colours\n  - property: color\n    import: \"@flourish/custom-colors\"\n```\n\nImport the package like `import createCustomColors from \"@flourish/custom-colors\"`\n\n`var colors = createCustomColors(state.color)` creates a new object `colors`.\n\nYou only need to pass in a state to get the color function working.\n\n## Methods\n\n`colors.getColor(value)` finds the correct color for `value`. Will just return the fallback value unless the updateColorScale method has been called at some point.\n\n`colors.fallback([value])` returns the current fallback value if `value` is undefined or (usually) sets it to `value` if it is defined and returns the `colors` object.  The `value` \"default\" (re)sets the fallback to be the default value of null. The fallback value is returned whenever the `getColor` method cannot interpret the value passed into it (for example if that value is non-numeric when in sequential or diverging mode).\n\n`colors.stringNormalizer([func])` returns the current string normalizer function if `func` is undefined or (usually) sets it to `func` if it is defined and returns the `colors` object. The `value` \"default\" (re)sets the normalizer function to a function that lowercases input and strips out whitespace. Passing in any other value that is not a function (e.g. `null`) tells the `colors` object to not perform any normalization.\n\nThe string normalizer function is only used when in categorical mode. Its purpose is to allow for insignifcant (as viewed by the developer) discrepancies (such as case and whitespacing) in spelling in input data. After calling witha value for `func`, the `updateColorScale` method should be called.\n\n`colors.updateColorScale(domain)` updates the color scale based on the `domain` array.","readmeFilename":"README.md"}